Adding debian version 0.2.2+svn20080909-3.
[debian/lxnm.git] / configure
CommitLineData
10dfde12
DB
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
cf660ffe 3# Generated by GNU Autoconf 2.61 for lxnm 0.2.2.
10dfde12
DB
4#
5# Report bugs to <http://lxde.org/>.
6#
7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization. ##
13## --------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42# The user is always right.
43if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
51 fi
52 rm -f conf$$.sh
53fi
54
55# Support unset when possible.
56if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58else
59 as_unset=false
60fi
61
62
63# IFS
64# We need space, tab and new line, in precisely that order. Quoting is
65# there to prevent editors from complaining about space-tab.
66# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67# splitting by setting IFS to empty value.)
68as_nl='
69'
70IFS=" "" $as_nl"
71
72# Find who we are. Look in the path if we contain no directory separator.
73case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76for as_dir in $PATH
77do
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81done
82IFS=$as_save_IFS
83
84 ;;
85esac
86# We did not find ourselves, most probably we were run as `sh COMMAND'
87# in which case we are not to be found in the path.
88if test "x$as_myself" = x; then
89 as_myself=$0
90fi
91if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
94fi
95
96# Work around bugs in pre-3.0 UWIN ksh.
97for as_var in ENV MAIL MAILPATH
98do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99done
100PS1='$ '
101PS2='> '
102PS4='+ '
103
104# NLS nuisances.
105for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
109do
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114 fi
115done
116
117# Required to use basename.
118if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121else
122 as_expr=false
123fi
124
125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127else
128 as_basename=false
129fi
130
131
132# Name of the executable.
133as_me=`$as_basename -- "$0" ||
134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
140 q
141 }
142 /^X\/\(\/\/\)$/{
143 s//\1/
144 q
145 }
146 /^X\/\(\/\).*/{
147 s//\1/
148 q
149 }
150 s/.*/./; q'`
151
152# CDPATH.
153$as_unset CDPATH
154
155
156if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159else
160 as_have_required=no
161fi
162
163 if test $as_have_required = yes && (eval ":
164(as_func_return () {
165 (exit \$1)
166}
167as_func_success () {
168 as_func_return 0
169}
170as_func_failure () {
171 as_func_return 1
172}
173as_func_ret_success () {
174 return 0
175}
176as_func_ret_failure () {
177 return 1
178}
179
180exitcode=0
181if as_func_success; then
182 :
183else
184 exitcode=1
185 echo as_func_success failed.
186fi
187
188if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
191fi
192
193if as_func_ret_success; then
194 :
195else
196 exitcode=1
197 echo as_func_ret_success failed.
198fi
199
200if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
203fi
204
205if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206 :
207else
208 exitcode=1
209 echo positional parameters were not saved.
210fi
211
212test \$exitcode = 0) || { (exit 1); exit 1; }
213
214(
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219") 2> /dev/null; then
220 :
221else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225do
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
229 /*)
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234done
235IFS=$as_save_IFS
236
237
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252esac
253
254fi
255
256
257:
258_ASEOF
259}; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273esac
274
275fi
276
277
278:
279(as_func_return () {
280 (exit $1)
281}
282as_func_success () {
283 as_func_return 0
284}
285as_func_failure () {
286 as_func_return 1
287}
288as_func_ret_success () {
289 return 0
290}
291as_func_ret_failure () {
292 return 1
293}
294
295exitcode=0
296if as_func_success; then
297 :
298else
299 exitcode=1
300 echo as_func_success failed.
301fi
302
303if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
306fi
307
308if as_func_ret_success; then
309 :
310else
311 exitcode=1
312 echo as_func_ret_success failed.
313fi
314
315if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
318fi
319
320if ( set x; as_func_ret_success y && test x = "$1" ); then
321 :
322else
323 exitcode=1
324 echo positional parameters were not saved.
325fi
326
327test $exitcode = 0) || { (exit 1); exit 1; }
328
329(
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335_ASEOF
336}; then
337 break
338fi
339
340fi
341
342 done
343
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350fi
351
352
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
359fi
360
361
362fi
363
364fi
365
366
367
368(eval "as_func_return () {
369 (exit \$1)
370}
371as_func_success () {
372 as_func_return 0
373}
374as_func_failure () {
375 as_func_return 1
376}
377as_func_ret_success () {
378 return 0
379}
380as_func_ret_failure () {
381 return 1
382}
383
384exitcode=0
385if as_func_success; then
386 :
387else
388 exitcode=1
389 echo as_func_success failed.
390fi
391
392if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
395fi
396
397if as_func_ret_success; then
398 :
399else
400 exitcode=1
401 echo as_func_ret_success failed.
402fi
403
404if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
407fi
408
409if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410 :
411else
412 exitcode=1
413 echo positional parameters were not saved.
414fi
415
416test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
421}
422
423
424
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
441 p
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
447 b
448 :lineno
449 N
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
458
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
465}
466
467
468if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470else
471 as_dirname=false
472fi
473
474ECHO_C= ECHO_N= ECHO_T=
475case `echo -n x` in
476-n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
481*)
482 ECHO_N='-n';;
483esac
484
485if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488else
489 as_expr=false
490fi
491
492rm -f conf$$ conf$$.exe conf$$.file
493if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
498fi
499echo >conf$$.file
500if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510else
511 as_ln_s='cp -p'
512fi
513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514rmdir conf$$.dir 2>/dev/null
515
516if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
521fi
522
523if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
530 fi
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
542 '
543fi
544as_executable_p=$as_test_x
545
546# Sed expression to map a string onto a valid CPP name.
547as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
549# Sed expression to map a string onto a valid variable name.
550as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554
555# Check that we are running under the correct shell.
556SHELL=${CONFIG_SHELL-/bin/sh}
557
558case X$ECHO in
559X*--fallback-echo)
560 # Remove one level of quotation (which was required for Make).
561 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
562 ;;
563esac
564
565echo=${ECHO-echo}
566if test "X$1" = X--no-reexec; then
567 # Discard the --no-reexec flag, and continue.
568 shift
569elif test "X$1" = X--fallback-echo; then
570 # Avoid inline document here, it may be left over
571 :
572elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573 # Yippee, $echo works!
574 :
575else
576 # Restart under the correct shell.
577 exec $SHELL "$0" --no-reexec ${1+"$@"}
578fi
579
580if test "X$1" = X--fallback-echo; then
581 # used as fallback echo
582 shift
583 cat <<EOF
584$*
585EOF
586 exit 0
587fi
588
589# The HP-UX ksh and POSIX shell print the target directory to stdout
590# if CDPATH is set.
591(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
592
593if test -z "$ECHO"; then
594if test "X${echo_test_string+set}" != Xset; then
595# find a string as large as possible, as long as the shell can cope with it
596 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598 if (echo_test_string=`eval $cmd`) 2>/dev/null &&
599 echo_test_string=`eval $cmd` &&
600 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
601 then
602 break
603 fi
604 done
605fi
606
607if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
610 :
611else
612 # The Solaris, AIX, and Digital Unix default echo programs unquote
613 # backslashes. This makes it impossible to quote backslashes using
614 # echo "$something" | sed 's/\\/\\\\/g'
615 #
616 # So, first we look for a working echo in the user's PATH.
617
618 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
619 for dir in $PATH /usr/ucb; do
620 IFS="$lt_save_ifs"
621 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
622 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624 test "X$echo_testing_string" = "X$echo_test_string"; then
625 echo="$dir/echo"
626 break
627 fi
628 done
629 IFS="$lt_save_ifs"
630
631 if test "X$echo" = Xecho; then
632 # We didn't find a better echo, so look for alternatives.
633 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 # This shell has a builtin print -r that does the trick.
637 echo='print -r'
638 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
639 test "X$CONFIG_SHELL" != X/bin/ksh; then
640 # If we have ksh, try running configure again with it.
641 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
642 export ORIGINAL_CONFIG_SHELL
643 CONFIG_SHELL=/bin/ksh
644 export CONFIG_SHELL
645 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
646 else
647 # Try using printf.
648 echo='printf %s\n'
649 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
651 test "X$echo_testing_string" = "X$echo_test_string"; then
652 # Cool, printf works
653 :
654 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655 test "X$echo_testing_string" = 'X\t' &&
656 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
659 export CONFIG_SHELL
660 SHELL="$CONFIG_SHELL"
661 export SHELL
662 echo="$CONFIG_SHELL $0 --fallback-echo"
663 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664 test "X$echo_testing_string" = 'X\t' &&
665 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666 test "X$echo_testing_string" = "X$echo_test_string"; then
667 echo="$CONFIG_SHELL $0 --fallback-echo"
668 else
669 # maybe with a smaller string...
670 prev=:
671
672 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
674 then
675 break
676 fi
677 prev="$cmd"
678 done
679
680 if test "$prev" != 'sed 50q "$0"'; then
681 echo_test_string=`eval $prev`
682 export echo_test_string
683 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
684 else
685 # Oops. We lost completely, so just stick with echo.
686 echo=echo
687 fi
688 fi
689 fi
690 fi
691fi
692fi
693
694# Copy echo and quote the copy suitably for passing to libtool from
695# the Makefile, instead of quoting the original, which is used later.
696ECHO=$echo
697if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
699fi
700
701
702
703
704tagnames=${tagnames+${tagnames},}CXX
705
706tagnames=${tagnames+${tagnames},}F77
707
708exec 7<&0 </dev/null 6>&1
709
710# Name of the host.
711# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
712# so uname gets run too.
713ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
714
715#
716# Initializations.
717#
718ac_default_prefix=/usr/local
719ac_clean_files=
720ac_config_libobj_dir=.
721LIBOBJS=
722cross_compiling=no
723subdirs=
724MFLAGS=
725MAKEFLAGS=
726SHELL=${CONFIG_SHELL-/bin/sh}
727
728# Identity of this package.
729PACKAGE_NAME='lxnm'
730PACKAGE_TARNAME='lxnm'
cf660ffe
DB
731PACKAGE_VERSION='0.2.2'
732PACKAGE_STRING='lxnm 0.2.2'
10dfde12
DB
733PACKAGE_BUGREPORT='http://lxde.org/'
734
735# Factoring default headers for most tests.
736ac_includes_default="\
737#include <stdio.h>
738#ifdef HAVE_SYS_TYPES_H
739# include <sys/types.h>
740#endif
741#ifdef HAVE_SYS_STAT_H
742# include <sys/stat.h>
743#endif
744#ifdef STDC_HEADERS
745# include <stdlib.h>
746# include <stddef.h>
747#else
748# ifdef HAVE_STDLIB_H
749# include <stdlib.h>
750# endif
751#endif
752#ifdef HAVE_STRING_H
753# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
754# include <memory.h>
755# endif
756# include <string.h>
757#endif
758#ifdef HAVE_STRINGS_H
759# include <strings.h>
760#endif
761#ifdef HAVE_INTTYPES_H
762# include <inttypes.h>
763#endif
764#ifdef HAVE_STDINT_H
765# include <stdint.h>
766#endif
767#ifdef HAVE_UNISTD_H
768# include <unistd.h>
769#endif"
770
771ac_subst_vars='SHELL
772PATH_SEPARATOR
773PACKAGE_NAME
774PACKAGE_TARNAME
775PACKAGE_VERSION
776PACKAGE_STRING
777PACKAGE_BUGREPORT
778exec_prefix
779prefix
780program_transform_name
781bindir
782sbindir
783libexecdir
784datarootdir
785datadir
786sysconfdir
787sharedstatedir
788localstatedir
789includedir
790oldincludedir
791docdir
792infodir
793htmldir
794dvidir
795pdfdir
796psdir
797libdir
798localedir
799mandir
800DEFS
801ECHO_C
802ECHO_N
803ECHO_T
804LIBS
805build_alias
806host_alias
807target_alias
808INSTALL_PROGRAM
809INSTALL_SCRIPT
810INSTALL_DATA
811am__isrc
812CYGPATH_W
813PACKAGE
814VERSION
815ACLOCAL
816AUTOCONF
817AUTOMAKE
818AUTOHEADER
819MAKEINFO
820install_sh
821STRIP
822INSTALL_STRIP_PROGRAM
823mkdir_p
824AWK
825SET_MAKE
826am__leading_dot
827AMTAR
828am__tar
829am__untar
830MAINTAINER_MODE_TRUE
831MAINTAINER_MODE_FALSE
832MAINT
833CC
834CFLAGS
835LDFLAGS
836CPPFLAGS
837ac_ct_CC
838EXEEXT
839OBJEXT
840DEPDIR
841am__include
842am__quote
843AMDEP_TRUE
844AMDEP_FALSE
845AMDEPBACKSLASH
846CCDEPMODE
847am__fastdepCC_TRUE
848am__fastdepCC_FALSE
849LN_S
850build
851build_cpu
852build_vendor
853build_os
854host
855host_cpu
856host_vendor
857host_os
858SED
859GREP
860EGREP
861ECHO
862AR
863RANLIB
cf660ffe
DB
864DSYMUTIL
865NMEDIT
10dfde12
DB
866CPP
867CXX
868CXXFLAGS
869ac_ct_CXX
870CXXDEPMODE
871am__fastdepCXX_TRUE
872am__fastdepCXX_FALSE
873CXXCPP
874F77
875FFLAGS
876ac_ct_F77
877LIBTOOL
878PKG_CONFIG
879PACKAGE_CFLAGS
880PACKAGE_LIBS
881LIBOBJS
882LTLIBOBJS'
883ac_subst_files=''
884 ac_precious_vars='build_alias
885host_alias
886target_alias
887CC
888CFLAGS
889LDFLAGS
890LIBS
891CPPFLAGS
892CPP
893CXX
894CXXFLAGS
895CCC
896CXXCPP
897F77
898FFLAGS
899PKG_CONFIG
900PACKAGE_CFLAGS
901PACKAGE_LIBS'
902
903
904# Initialize some variables set by options.
905ac_init_help=
906ac_init_version=false
907# The variables have the same names as the options, with
908# dashes changed to underlines.
909cache_file=/dev/null
910exec_prefix=NONE
911no_create=
912no_recursion=
913prefix=NONE
914program_prefix=NONE
915program_suffix=NONE
916program_transform_name=s,x,x,
917silent=
918site=
919srcdir=
920verbose=
921x_includes=NONE
922x_libraries=NONE
923
924# Installation directory options.
925# These are left unexpanded so users can "make install exec_prefix=/foo"
926# and all the variables that are supposed to be based on exec_prefix
927# by default will actually change.
928# Use braces instead of parens because sh, perl, etc. also accept them.
929# (The list follows the same order as the GNU Coding Standards.)
930bindir='${exec_prefix}/bin'
931sbindir='${exec_prefix}/sbin'
932libexecdir='${exec_prefix}/libexec'
933datarootdir='${prefix}/share'
934datadir='${datarootdir}'
935sysconfdir='${prefix}/etc'
936sharedstatedir='${prefix}/com'
937localstatedir='${prefix}/var'
938includedir='${prefix}/include'
939oldincludedir='/usr/include'
940docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
941infodir='${datarootdir}/info'
942htmldir='${docdir}'
943dvidir='${docdir}'
944pdfdir='${docdir}'
945psdir='${docdir}'
946libdir='${exec_prefix}/lib'
947localedir='${datarootdir}/locale'
948mandir='${datarootdir}/man'
949
950ac_prev=
951ac_dashdash=
952for ac_option
953do
954 # If the previous option needs an argument, assign it.
955 if test -n "$ac_prev"; then
956 eval $ac_prev=\$ac_option
957 ac_prev=
958 continue
959 fi
960
961 case $ac_option in
962 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
963 *) ac_optarg=yes ;;
964 esac
965
966 # Accept the important Cygnus configure options, so we can diagnose typos.
967
968 case $ac_dashdash$ac_option in
969 --)
970 ac_dashdash=yes ;;
971
972 -bindir | --bindir | --bindi | --bind | --bin | --bi)
973 ac_prev=bindir ;;
974 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
975 bindir=$ac_optarg ;;
976
977 -build | --build | --buil | --bui | --bu)
978 ac_prev=build_alias ;;
979 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
980 build_alias=$ac_optarg ;;
981
982 -cache-file | --cache-file | --cache-fil | --cache-fi \
983 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
984 ac_prev=cache_file ;;
985 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
986 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
987 cache_file=$ac_optarg ;;
988
989 --config-cache | -C)
990 cache_file=config.cache ;;
991
992 -datadir | --datadir | --datadi | --datad)
993 ac_prev=datadir ;;
994 -datadir=* | --datadir=* | --datadi=* | --datad=*)
995 datadir=$ac_optarg ;;
996
997 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
998 | --dataroo | --dataro | --datar)
999 ac_prev=datarootdir ;;
1000 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1001 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1002 datarootdir=$ac_optarg ;;
1003
1004 -disable-* | --disable-*)
1005 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1006 # Reject names that are not valid shell variable names.
1007 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1008 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1009 { (exit 1); exit 1; }; }
1010 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1011 eval enable_$ac_feature=no ;;
1012
1013 -docdir | --docdir | --docdi | --doc | --do)
1014 ac_prev=docdir ;;
1015 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1016 docdir=$ac_optarg ;;
1017
1018 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1019 ac_prev=dvidir ;;
1020 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1021 dvidir=$ac_optarg ;;
1022
1023 -enable-* | --enable-*)
1024 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1027 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1028 { (exit 1); exit 1; }; }
1029 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1030 eval enable_$ac_feature=\$ac_optarg ;;
1031
1032 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1033 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1034 | --exec | --exe | --ex)
1035 ac_prev=exec_prefix ;;
1036 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1037 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1038 | --exec=* | --exe=* | --ex=*)
1039 exec_prefix=$ac_optarg ;;
1040
1041 -gas | --gas | --ga | --g)
1042 # Obsolete; use --with-gas.
1043 with_gas=yes ;;
1044
1045 -help | --help | --hel | --he | -h)
1046 ac_init_help=long ;;
1047 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1048 ac_init_help=recursive ;;
1049 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1050 ac_init_help=short ;;
1051
1052 -host | --host | --hos | --ho)
1053 ac_prev=host_alias ;;
1054 -host=* | --host=* | --hos=* | --ho=*)
1055 host_alias=$ac_optarg ;;
1056
1057 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1058 ac_prev=htmldir ;;
1059 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1060 | --ht=*)
1061 htmldir=$ac_optarg ;;
1062
1063 -includedir | --includedir | --includedi | --included | --include \
1064 | --includ | --inclu | --incl | --inc)
1065 ac_prev=includedir ;;
1066 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1067 | --includ=* | --inclu=* | --incl=* | --inc=*)
1068 includedir=$ac_optarg ;;
1069
1070 -infodir | --infodir | --infodi | --infod | --info | --inf)
1071 ac_prev=infodir ;;
1072 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1073 infodir=$ac_optarg ;;
1074
1075 -libdir | --libdir | --libdi | --libd)
1076 ac_prev=libdir ;;
1077 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1078 libdir=$ac_optarg ;;
1079
1080 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1081 | --libexe | --libex | --libe)
1082 ac_prev=libexecdir ;;
1083 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1084 | --libexe=* | --libex=* | --libe=*)
1085 libexecdir=$ac_optarg ;;
1086
1087 -localedir | --localedir | --localedi | --localed | --locale)
1088 ac_prev=localedir ;;
1089 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1090 localedir=$ac_optarg ;;
1091
1092 -localstatedir | --localstatedir | --localstatedi | --localstated \
1093 | --localstate | --localstat | --localsta | --localst | --locals)
1094 ac_prev=localstatedir ;;
1095 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1096 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1097 localstatedir=$ac_optarg ;;
1098
1099 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1100 ac_prev=mandir ;;
1101 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1102 mandir=$ac_optarg ;;
1103
1104 -nfp | --nfp | --nf)
1105 # Obsolete; use --without-fp.
1106 with_fp=no ;;
1107
1108 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1109 | --no-cr | --no-c | -n)
1110 no_create=yes ;;
1111
1112 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1113 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1114 no_recursion=yes ;;
1115
1116 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1117 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1118 | --oldin | --oldi | --old | --ol | --o)
1119 ac_prev=oldincludedir ;;
1120 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1121 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1122 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1123 oldincludedir=$ac_optarg ;;
1124
1125 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1126 ac_prev=prefix ;;
1127 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1128 prefix=$ac_optarg ;;
1129
1130 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1131 | --program-pre | --program-pr | --program-p)
1132 ac_prev=program_prefix ;;
1133 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1134 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1135 program_prefix=$ac_optarg ;;
1136
1137 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1138 | --program-suf | --program-su | --program-s)
1139 ac_prev=program_suffix ;;
1140 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1141 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1142 program_suffix=$ac_optarg ;;
1143
1144 -program-transform-name | --program-transform-name \
1145 | --program-transform-nam | --program-transform-na \
1146 | --program-transform-n | --program-transform- \
1147 | --program-transform | --program-transfor \
1148 | --program-transfo | --program-transf \
1149 | --program-trans | --program-tran \
1150 | --progr-tra | --program-tr | --program-t)
1151 ac_prev=program_transform_name ;;
1152 -program-transform-name=* | --program-transform-name=* \
1153 | --program-transform-nam=* | --program-transform-na=* \
1154 | --program-transform-n=* | --program-transform-=* \
1155 | --program-transform=* | --program-transfor=* \
1156 | --program-transfo=* | --program-transf=* \
1157 | --program-trans=* | --program-tran=* \
1158 | --progr-tra=* | --program-tr=* | --program-t=*)
1159 program_transform_name=$ac_optarg ;;
1160
1161 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1162 ac_prev=pdfdir ;;
1163 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1164 pdfdir=$ac_optarg ;;
1165
1166 -psdir | --psdir | --psdi | --psd | --ps)
1167 ac_prev=psdir ;;
1168 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1169 psdir=$ac_optarg ;;
1170
1171 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1172 | -silent | --silent | --silen | --sile | --sil)
1173 silent=yes ;;
1174
1175 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1176 ac_prev=sbindir ;;
1177 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1178 | --sbi=* | --sb=*)
1179 sbindir=$ac_optarg ;;
1180
1181 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1182 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1183 | --sharedst | --shareds | --shared | --share | --shar \
1184 | --sha | --sh)
1185 ac_prev=sharedstatedir ;;
1186 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1187 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1188 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1189 | --sha=* | --sh=*)
1190 sharedstatedir=$ac_optarg ;;
1191
1192 -site | --site | --sit)
1193 ac_prev=site ;;
1194 -site=* | --site=* | --sit=*)
1195 site=$ac_optarg ;;
1196
1197 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1198 ac_prev=srcdir ;;
1199 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1200 srcdir=$ac_optarg ;;
1201
1202 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1203 | --syscon | --sysco | --sysc | --sys | --sy)
1204 ac_prev=sysconfdir ;;
1205 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1206 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1207 sysconfdir=$ac_optarg ;;
1208
1209 -target | --target | --targe | --targ | --tar | --ta | --t)
1210 ac_prev=target_alias ;;
1211 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1212 target_alias=$ac_optarg ;;
1213
1214 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1215 verbose=yes ;;
1216
1217 -version | --version | --versio | --versi | --vers | -V)
1218 ac_init_version=: ;;
1219
1220 -with-* | --with-*)
1221 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222 # Reject names that are not valid shell variable names.
1223 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1224 { echo "$as_me: error: invalid package name: $ac_package" >&2
1225 { (exit 1); exit 1; }; }
1226 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1227 eval with_$ac_package=\$ac_optarg ;;
1228
1229 -without-* | --without-*)
1230 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1231 # Reject names that are not valid shell variable names.
1232 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1233 { echo "$as_me: error: invalid package name: $ac_package" >&2
1234 { (exit 1); exit 1; }; }
1235 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1236 eval with_$ac_package=no ;;
1237
1238 --x)
1239 # Obsolete; use --with-x.
1240 with_x=yes ;;
1241
1242 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1243 | --x-incl | --x-inc | --x-in | --x-i)
1244 ac_prev=x_includes ;;
1245 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1246 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1247 x_includes=$ac_optarg ;;
1248
1249 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1250 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1251 ac_prev=x_libraries ;;
1252 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1253 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1254 x_libraries=$ac_optarg ;;
1255
1256 -*) { echo "$as_me: error: unrecognized option: $ac_option
1257Try \`$0 --help' for more information." >&2
1258 { (exit 1); exit 1; }; }
1259 ;;
1260
1261 *=*)
1262 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1263 # Reject names that are not valid shell variable names.
1264 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1265 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1266 { (exit 1); exit 1; }; }
1267 eval $ac_envvar=\$ac_optarg
1268 export $ac_envvar ;;
1269
1270 *)
1271 # FIXME: should be removed in autoconf 3.0.
1272 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1273 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1274 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1275 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1276 ;;
1277
1278 esac
1279done
1280
1281if test -n "$ac_prev"; then
1282 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1283 { echo "$as_me: error: missing argument to $ac_option" >&2
1284 { (exit 1); exit 1; }; }
1285fi
1286
1287# Be sure to have absolute directory names.
1288for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1289 datadir sysconfdir sharedstatedir localstatedir includedir \
1290 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1291 libdir localedir mandir
1292do
1293 eval ac_val=\$$ac_var
1294 case $ac_val in
1295 [\\/$]* | ?:[\\/]* ) continue;;
1296 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1297 esac
1298 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1299 { (exit 1); exit 1; }; }
1300done
1301
1302# There might be people who depend on the old broken behavior: `$host'
1303# used to hold the argument of --host etc.
1304# FIXME: To remove some day.
1305build=$build_alias
1306host=$host_alias
1307target=$target_alias
1308
1309# FIXME: To remove some day.
1310if test "x$host_alias" != x; then
1311 if test "x$build_alias" = x; then
1312 cross_compiling=maybe
1313 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1314 If a cross compiler is detected then cross compile mode will be used." >&2
1315 elif test "x$build_alias" != "x$host_alias"; then
1316 cross_compiling=yes
1317 fi
1318fi
1319
1320ac_tool_prefix=
1321test -n "$host_alias" && ac_tool_prefix=$host_alias-
1322
1323test "$silent" = yes && exec 6>/dev/null
1324
1325
1326ac_pwd=`pwd` && test -n "$ac_pwd" &&
1327ac_ls_di=`ls -di .` &&
1328ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1329 { echo "$as_me: error: Working directory cannot be determined" >&2
1330 { (exit 1); exit 1; }; }
1331test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1332 { echo "$as_me: error: pwd does not report name of working directory" >&2
1333 { (exit 1); exit 1; }; }
1334
1335
1336# Find the source files, if location was not specified.
1337if test -z "$srcdir"; then
1338 ac_srcdir_defaulted=yes
1339 # Try the directory containing this script, then the parent directory.
1340 ac_confdir=`$as_dirname -- "$0" ||
1341$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1342 X"$0" : 'X\(//\)[^/]' \| \
1343 X"$0" : 'X\(//\)$' \| \
1344 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1345echo X"$0" |
1346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1347 s//\1/
1348 q
1349 }
1350 /^X\(\/\/\)[^/].*/{
1351 s//\1/
1352 q
1353 }
1354 /^X\(\/\/\)$/{
1355 s//\1/
1356 q
1357 }
1358 /^X\(\/\).*/{
1359 s//\1/
1360 q
1361 }
1362 s/.*/./; q'`
1363 srcdir=$ac_confdir
1364 if test ! -r "$srcdir/$ac_unique_file"; then
1365 srcdir=..
1366 fi
1367else
1368 ac_srcdir_defaulted=no
1369fi
1370if test ! -r "$srcdir/$ac_unique_file"; then
1371 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1372 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1373 { (exit 1); exit 1; }; }
1374fi
1375ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1376ac_abs_confdir=`(
1377 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1378 { (exit 1); exit 1; }; }
1379 pwd)`
1380# When building in place, set srcdir=.
1381if test "$ac_abs_confdir" = "$ac_pwd"; then
1382 srcdir=.
1383fi
1384# Remove unnecessary trailing slashes from srcdir.
1385# Double slashes in file names in object file debugging info
1386# mess up M-x gdb in Emacs.
1387case $srcdir in
1388*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1389esac
1390for ac_var in $ac_precious_vars; do
1391 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1392 eval ac_env_${ac_var}_value=\$${ac_var}
1393 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1394 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1395done
1396
1397#
1398# Report the --help message.
1399#
1400if test "$ac_init_help" = "long"; then
1401 # Omit some internal or obsolete options to make the list less imposing.
1402 # This message is too long to be a string in the A/UX 3.1 sh.
1403 cat <<_ACEOF
cf660ffe 1404\`configure' configures lxnm 0.2.2 to adapt to many kinds of systems.
10dfde12
DB
1405
1406Usage: $0 [OPTION]... [VAR=VALUE]...
1407
1408To assign environment variables (e.g., CC, CFLAGS...), specify them as
1409VAR=VALUE. See below for descriptions of some of the useful variables.
1410
1411Defaults for the options are specified in brackets.
1412
1413Configuration:
1414 -h, --help display this help and exit
1415 --help=short display options specific to this package
1416 --help=recursive display the short help of all the included packages
1417 -V, --version display version information and exit
1418 -q, --quiet, --silent do not print \`checking...' messages
1419 --cache-file=FILE cache test results in FILE [disabled]
1420 -C, --config-cache alias for \`--cache-file=config.cache'
1421 -n, --no-create do not create output files
1422 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1423
1424Installation directories:
1425 --prefix=PREFIX install architecture-independent files in PREFIX
1426 [$ac_default_prefix]
1427 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1428 [PREFIX]
1429
1430By default, \`make install' will install all the files in
1431\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1432an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1433for instance \`--prefix=\$HOME'.
1434
1435For better control, use the options below.
1436
1437Fine tuning of the installation directories:
1438 --bindir=DIR user executables [EPREFIX/bin]
1439 --sbindir=DIR system admin executables [EPREFIX/sbin]
1440 --libexecdir=DIR program executables [EPREFIX/libexec]
1441 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1442 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1443 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1444 --libdir=DIR object code libraries [EPREFIX/lib]
1445 --includedir=DIR C header files [PREFIX/include]
1446 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1447 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1448 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1449 --infodir=DIR info documentation [DATAROOTDIR/info]
1450 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1451 --mandir=DIR man documentation [DATAROOTDIR/man]
1452 --docdir=DIR documentation root [DATAROOTDIR/doc/lxnm]
1453 --htmldir=DIR html documentation [DOCDIR]
1454 --dvidir=DIR dvi documentation [DOCDIR]
1455 --pdfdir=DIR pdf documentation [DOCDIR]
1456 --psdir=DIR ps documentation [DOCDIR]
1457_ACEOF
1458
1459 cat <<\_ACEOF
1460
1461Program names:
1462 --program-prefix=PREFIX prepend PREFIX to installed program names
1463 --program-suffix=SUFFIX append SUFFIX to installed program names
1464 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1465
1466System types:
1467 --build=BUILD configure for building on BUILD [guessed]
1468 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1469_ACEOF
1470fi
1471
1472if test -n "$ac_init_help"; then
1473 case $ac_init_help in
cf660ffe 1474 short | recursive ) echo "Configuration of lxnm 0.2.2:";;
10dfde12
DB
1475 esac
1476 cat <<\_ACEOF
1477
1478Optional Features:
1479 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1480 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1481 --enable-maintainer-mode enable make rules and dependencies not useful
1482 (and sometimes confusing) to the casual installer
1483 --enable-static[=PKGS] build static libraries [default=no]
1484 --disable-dependency-tracking speeds up one-time build
1485 --enable-dependency-tracking do not reject slow dependency extractors
1486 --enable-shared[=PKGS] build shared libraries [default=yes]
1487 --enable-fast-install[=PKGS]
1488 optimize for fast installation [default=yes]
1489 --disable-libtool-lock avoid locking (might break parallel builds)
1490
1491Optional Packages:
1492 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1493 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1494 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1495 --with-pic try to use only PIC/non-PIC objects [default=use
1496 both]
1497 --with-tags[=TAGS] include additional configurations [automatic]
1498
1499Some influential environment variables:
1500 CC C compiler command
1501 CFLAGS C compiler flags
1502 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1503 nonstandard directory <lib dir>
1504 LIBS libraries to pass to the linker, e.g. -l<library>
1505 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1506 you have headers in a nonstandard directory <include dir>
1507 CPP C preprocessor
1508 CXX C++ compiler command
1509 CXXFLAGS C++ compiler flags
1510 CXXCPP C++ preprocessor
1511 F77 Fortran 77 compiler command
1512 FFLAGS Fortran 77 compiler flags
1513 PKG_CONFIG path to pkg-config utility
1514 PACKAGE_CFLAGS
1515 C compiler flags for PACKAGE, overriding pkg-config
1516 PACKAGE_LIBS
1517 linker flags for PACKAGE, overriding pkg-config
1518
1519Use these variables to override the choices made by `configure' or to help
1520it to find libraries and programs with nonstandard names/locations.
1521
1522Report bugs to <http://lxde.org/>.
1523_ACEOF
1524ac_status=$?
1525fi
1526
1527if test "$ac_init_help" = "recursive"; then
1528 # If there are subdirs, report their specific --help.
1529 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1530 test -d "$ac_dir" || continue
1531 ac_builddir=.
1532
1533case "$ac_dir" in
1534.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1535*)
1536 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1537 # A ".." for each directory in $ac_dir_suffix.
1538 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1539 case $ac_top_builddir_sub in
1540 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1541 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1542 esac ;;
1543esac
1544ac_abs_top_builddir=$ac_pwd
1545ac_abs_builddir=$ac_pwd$ac_dir_suffix
1546# for backward compatibility:
1547ac_top_builddir=$ac_top_build_prefix
1548
1549case $srcdir in
1550 .) # We are building in place.
1551 ac_srcdir=.
1552 ac_top_srcdir=$ac_top_builddir_sub
1553 ac_abs_top_srcdir=$ac_pwd ;;
1554 [\\/]* | ?:[\\/]* ) # Absolute name.
1555 ac_srcdir=$srcdir$ac_dir_suffix;
1556 ac_top_srcdir=$srcdir
1557 ac_abs_top_srcdir=$srcdir ;;
1558 *) # Relative name.
1559 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1560 ac_top_srcdir=$ac_top_build_prefix$srcdir
1561 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1562esac
1563ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1564
1565 cd "$ac_dir" || { ac_status=$?; continue; }
1566 # Check for guested configure.
1567 if test -f "$ac_srcdir/configure.gnu"; then
1568 echo &&
1569 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1570 elif test -f "$ac_srcdir/configure"; then
1571 echo &&
1572 $SHELL "$ac_srcdir/configure" --help=recursive
1573 else
1574 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1575 fi || ac_status=$?
1576 cd "$ac_pwd" || { ac_status=$?; break; }
1577 done
1578fi
1579
1580test -n "$ac_init_help" && exit $ac_status
1581if $ac_init_version; then
1582 cat <<\_ACEOF
cf660ffe 1583lxnm configure 0.2.2
10dfde12
DB
1584generated by GNU Autoconf 2.61
1585
1586Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
15872002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1588This configure script is free software; the Free Software Foundation
1589gives unlimited permission to copy, distribute and modify it.
1590_ACEOF
1591 exit
1592fi
1593cat >config.log <<_ACEOF
1594This file contains any messages produced by compilers while
1595running configure, to aid debugging if configure makes a mistake.
1596
cf660ffe 1597It was created by lxnm $as_me 0.2.2, which was
10dfde12
DB
1598generated by GNU Autoconf 2.61. Invocation command line was
1599
1600 $ $0 $@
1601
1602_ACEOF
1603exec 5>>config.log
1604{
1605cat <<_ASUNAME
1606## --------- ##
1607## Platform. ##
1608## --------- ##
1609
1610hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1611uname -m = `(uname -m) 2>/dev/null || echo unknown`
1612uname -r = `(uname -r) 2>/dev/null || echo unknown`
1613uname -s = `(uname -s) 2>/dev/null || echo unknown`
1614uname -v = `(uname -v) 2>/dev/null || echo unknown`
1615
1616/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1617/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1618
1619/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1620/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1621/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1622/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1623/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1624/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1625/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1626
1627_ASUNAME
1628
1629as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1630for as_dir in $PATH
1631do
1632 IFS=$as_save_IFS
1633 test -z "$as_dir" && as_dir=.
1634 echo "PATH: $as_dir"
1635done
1636IFS=$as_save_IFS
1637
1638} >&5
1639
1640cat >&5 <<_ACEOF
1641
1642
1643## ----------- ##
1644## Core tests. ##
1645## ----------- ##
1646
1647_ACEOF
1648
1649
1650# Keep a trace of the command line.
1651# Strip out --no-create and --no-recursion so they do not pile up.
1652# Strip out --silent because we don't want to record it for future runs.
1653# Also quote any args containing shell meta-characters.
1654# Make two passes to allow for proper duplicate-argument suppression.
1655ac_configure_args=
1656ac_configure_args0=
1657ac_configure_args1=
1658ac_must_keep_next=false
1659for ac_pass in 1 2
1660do
1661 for ac_arg
1662 do
1663 case $ac_arg in
1664 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1665 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1666 | -silent | --silent | --silen | --sile | --sil)
1667 continue ;;
1668 *\'*)
1669 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1670 esac
1671 case $ac_pass in
1672 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1673 2)
1674 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1675 if test $ac_must_keep_next = true; then
1676 ac_must_keep_next=false # Got value, back to normal.
1677 else
1678 case $ac_arg in
1679 *=* | --config-cache | -C | -disable-* | --disable-* \
1680 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1681 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1682 | -with-* | --with-* | -without-* | --without-* | --x)
1683 case "$ac_configure_args0 " in
1684 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1685 esac
1686 ;;
1687 -* ) ac_must_keep_next=true ;;
1688 esac
1689 fi
1690 ac_configure_args="$ac_configure_args '$ac_arg'"
1691 ;;
1692 esac
1693 done
1694done
1695$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1696$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1697
1698# When interrupted or exit'd, cleanup temporary files, and complete
1699# config.log. We remove comments because anyway the quotes in there
1700# would cause problems or look ugly.
1701# WARNING: Use '\'' to represent an apostrophe within the trap.
1702# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1703trap 'exit_status=$?
1704 # Save into config.log some information that might help in debugging.
1705 {
1706 echo
1707
1708 cat <<\_ASBOX
1709## ---------------- ##
1710## Cache variables. ##
1711## ---------------- ##
1712_ASBOX
1713 echo
1714 # The following way of writing the cache mishandles newlines in values,
1715(
1716 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1717 eval ac_val=\$$ac_var
1718 case $ac_val in #(
1719 *${as_nl}*)
1720 case $ac_var in #(
1721 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1722echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1723 esac
1724 case $ac_var in #(
1725 _ | IFS | as_nl) ;; #(
1726 *) $as_unset $ac_var ;;
1727 esac ;;
1728 esac
1729 done
1730 (set) 2>&1 |
1731 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1732 *${as_nl}ac_space=\ *)
1733 sed -n \
1734 "s/'\''/'\''\\\\'\'''\''/g;
1735 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1736 ;; #(
1737 *)
1738 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1739 ;;
1740 esac |
1741 sort
1742)
1743 echo
1744
1745 cat <<\_ASBOX
1746## ----------------- ##
1747## Output variables. ##
1748## ----------------- ##
1749_ASBOX
1750 echo
1751 for ac_var in $ac_subst_vars
1752 do
1753 eval ac_val=\$$ac_var
1754 case $ac_val in
1755 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1756 esac
1757 echo "$ac_var='\''$ac_val'\''"
1758 done | sort
1759 echo
1760
1761 if test -n "$ac_subst_files"; then
1762 cat <<\_ASBOX
1763## ------------------- ##
1764## File substitutions. ##
1765## ------------------- ##
1766_ASBOX
1767 echo
1768 for ac_var in $ac_subst_files
1769 do
1770 eval ac_val=\$$ac_var
1771 case $ac_val in
1772 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1773 esac
1774 echo "$ac_var='\''$ac_val'\''"
1775 done | sort
1776 echo
1777 fi
1778
1779 if test -s confdefs.h; then
1780 cat <<\_ASBOX
1781## ----------- ##
1782## confdefs.h. ##
1783## ----------- ##
1784_ASBOX
1785 echo
1786 cat confdefs.h
1787 echo
1788 fi
1789 test "$ac_signal" != 0 &&
1790 echo "$as_me: caught signal $ac_signal"
1791 echo "$as_me: exit $exit_status"
1792 } >&5
1793 rm -f core *.core core.conftest.* &&
1794 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1795 exit $exit_status
1796' 0
1797for ac_signal in 1 2 13 15; do
1798 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1799done
1800ac_signal=0
1801
1802# confdefs.h avoids OS command line length limits that DEFS can exceed.
1803rm -f -r conftest* confdefs.h
1804
1805# Predefined preprocessor variables.
1806
1807cat >>confdefs.h <<_ACEOF
1808#define PACKAGE_NAME "$PACKAGE_NAME"
1809_ACEOF
1810
1811
1812cat >>confdefs.h <<_ACEOF
1813#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1814_ACEOF
1815
1816
1817cat >>confdefs.h <<_ACEOF
1818#define PACKAGE_VERSION "$PACKAGE_VERSION"
1819_ACEOF
1820
1821
1822cat >>confdefs.h <<_ACEOF
1823#define PACKAGE_STRING "$PACKAGE_STRING"
1824_ACEOF
1825
1826
1827cat >>confdefs.h <<_ACEOF
1828#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1829_ACEOF
1830
1831
1832# Let the site file select an alternate cache file if it wants to.
1833# Prefer explicitly selected file to automatically selected ones.
1834if test -n "$CONFIG_SITE"; then
1835 set x "$CONFIG_SITE"
1836elif test "x$prefix" != xNONE; then
1837 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1838else
1839 set x "$ac_default_prefix/share/config.site" \
1840 "$ac_default_prefix/etc/config.site"
1841fi
1842shift
1843for ac_site_file
1844do
1845 if test -r "$ac_site_file"; then
1846 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1847echo "$as_me: loading site script $ac_site_file" >&6;}
1848 sed 's/^/| /' "$ac_site_file" >&5
1849 . "$ac_site_file"
1850 fi
1851done
1852
1853if test -r "$cache_file"; then
1854 # Some versions of bash will fail to source /dev/null (special
1855 # files actually), so we avoid doing that.
1856 if test -f "$cache_file"; then
1857 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1858echo "$as_me: loading cache $cache_file" >&6;}
1859 case $cache_file in
1860 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1861 *) . "./$cache_file";;
1862 esac
1863 fi
1864else
1865 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1866echo "$as_me: creating cache $cache_file" >&6;}
1867 >$cache_file
1868fi
1869
1870# Check that the precious variables saved in the cache have kept the same
1871# value.
1872ac_cache_corrupted=false
1873for ac_var in $ac_precious_vars; do
1874 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1875 eval ac_new_set=\$ac_env_${ac_var}_set
1876 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1877 eval ac_new_val=\$ac_env_${ac_var}_value
1878 case $ac_old_set,$ac_new_set in
1879 set,)
1880 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1881echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1882 ac_cache_corrupted=: ;;
1883 ,set)
1884 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1885echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1886 ac_cache_corrupted=: ;;
1887 ,);;
1888 *)
1889 if test "x$ac_old_val" != "x$ac_new_val"; then
1890 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1891echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1892 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1893echo "$as_me: former value: $ac_old_val" >&2;}
1894 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1895echo "$as_me: current value: $ac_new_val" >&2;}
1896 ac_cache_corrupted=:
1897 fi;;
1898 esac
1899 # Pass precious variables to config.status.
1900 if test "$ac_new_set" = set; then
1901 case $ac_new_val in
1902 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1903 *) ac_arg=$ac_var=$ac_new_val ;;
1904 esac
1905 case " $ac_configure_args " in
1906 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1907 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1908 esac
1909 fi
1910done
1911if $ac_cache_corrupted; then
1912 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1913echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1914 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1915echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1916 { (exit 1); exit 1; }; }
1917fi
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943ac_ext=c
1944ac_cpp='$CPP $CPPFLAGS'
1945ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1946ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1947ac_compiler_gnu=$ac_cv_c_compiler_gnu
1948
1949
1950am__api_version='1.10'
1951
1952ac_aux_dir=
1953for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1954 if test -f "$ac_dir/install-sh"; then
1955 ac_aux_dir=$ac_dir
1956 ac_install_sh="$ac_aux_dir/install-sh -c"
1957 break
1958 elif test -f "$ac_dir/install.sh"; then
1959 ac_aux_dir=$ac_dir
1960 ac_install_sh="$ac_aux_dir/install.sh -c"
1961 break
1962 elif test -f "$ac_dir/shtool"; then
1963 ac_aux_dir=$ac_dir
1964 ac_install_sh="$ac_aux_dir/shtool install -c"
1965 break
1966 fi
1967done
1968if test -z "$ac_aux_dir"; then
1969 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1970echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1971 { (exit 1); exit 1; }; }
1972fi
1973
1974# These three variables are undocumented and unsupported,
1975# and are intended to be withdrawn in a future Autoconf release.
1976# They can cause serious problems if a builder's source tree is in a directory
1977# whose full name contains unusual characters.
1978ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1979ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1980ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1981
1982
1983# Find a good install program. We prefer a C program (faster),
1984# so one script is as good as another. But avoid the broken or
1985# incompatible versions:
1986# SysV /etc/install, /usr/sbin/install
1987# SunOS /usr/etc/install
1988# IRIX /sbin/install
1989# AIX /bin/install
1990# AmigaOS /C/install, which installs bootblocks on floppy discs
1991# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1992# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1993# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1994# OS/2's system install, which has a completely different semantic
1995# ./install, which can be erroneously created by make from ./install.sh.
1996{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1997echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1998if test -z "$INSTALL"; then
1999if test "${ac_cv_path_install+set}" = set; then
2000 echo $ECHO_N "(cached) $ECHO_C" >&6
2001else
2002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2003for as_dir in $PATH
2004do
2005 IFS=$as_save_IFS
2006 test -z "$as_dir" && as_dir=.
2007 # Account for people who put trailing slashes in PATH elements.
2008case $as_dir/ in
2009 ./ | .// | /cC/* | \
2010 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2011 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2012 /usr/ucb/* ) ;;
2013 *)
2014 # OSF1 and SCO ODT 3.0 have their own names for install.
2015 # Don't use installbsd from OSF since it installs stuff as root
2016 # by default.
2017 for ac_prog in ginstall scoinst install; do
2018 for ac_exec_ext in '' $ac_executable_extensions; do
2019 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2020 if test $ac_prog = install &&
2021 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2022 # AIX install. It has an incompatible calling convention.
2023 :
2024 elif test $ac_prog = install &&
2025 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2026 # program-specific install script used by HP pwplus--don't use.
2027 :
2028 else
2029 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2030 break 3
2031 fi
2032 fi
2033 done
2034 done
2035 ;;
2036esac
2037done
2038IFS=$as_save_IFS
2039
2040
2041fi
2042 if test "${ac_cv_path_install+set}" = set; then
2043 INSTALL=$ac_cv_path_install
2044 else
2045 # As a last resort, use the slow shell script. Don't cache a
2046 # value for INSTALL within a source directory, because that will
2047 # break other packages using the cache if that directory is
2048 # removed, or if the value is a relative name.
2049 INSTALL=$ac_install_sh
2050 fi
2051fi
2052{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2053echo "${ECHO_T}$INSTALL" >&6; }
2054
2055# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2056# It thinks the first close brace ends the variable substitution.
2057test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2058
2059test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2060
2061test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2062
2063{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2064echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2065# Just in case
2066sleep 1
2067echo timestamp > conftest.file
2068# Do `set' in a subshell so we don't clobber the current shell's
2069# arguments. Must try -L first in case configure is actually a
2070# symlink; some systems play weird games with the mod time of symlinks
2071# (eg FreeBSD returns the mod time of the symlink's containing
2072# directory).
2073if (
2074 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2075 if test "$*" = "X"; then
2076 # -L didn't work.
2077 set X `ls -t $srcdir/configure conftest.file`
2078 fi
2079 rm -f conftest.file
2080 if test "$*" != "X $srcdir/configure conftest.file" \
2081 && test "$*" != "X conftest.file $srcdir/configure"; then
2082
2083 # If neither matched, then we have a broken ls. This can happen
2084 # if, for instance, CONFIG_SHELL is bash and it inherits a
2085 # broken ls alias from the environment. This has actually
2086 # happened. Such a system could not be considered "sane".
2087 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2088alias in your environment" >&5
2089echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2090alias in your environment" >&2;}
2091 { (exit 1); exit 1; }; }
2092 fi
2093
2094 test "$2" = conftest.file
2095 )
2096then
2097 # Ok.
2098 :
2099else
2100 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2101Check your system clock" >&5
2102echo "$as_me: error: newly created file is older than distributed files!
2103Check your system clock" >&2;}
2104 { (exit 1); exit 1; }; }
2105fi
2106{ echo "$as_me:$LINENO: result: yes" >&5
2107echo "${ECHO_T}yes" >&6; }
2108test "$program_prefix" != NONE &&
2109 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2110# Use a double $ so make ignores it.
2111test "$program_suffix" != NONE &&
2112 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2113# Double any \ or $. echo might interpret backslashes.
2114# By default was `s,x,x', remove it if useless.
2115cat <<\_ACEOF >conftest.sed
2116s/[\\$]/&&/g;s/;s,x,x,$//
2117_ACEOF
2118program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2119rm -f conftest.sed
2120
2121# expand $ac_aux_dir to an absolute path
2122am_aux_dir=`cd $ac_aux_dir && pwd`
2123
2124test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2125# Use eval to expand $SHELL
2126if eval "$MISSING --run true"; then
2127 am_missing_run="$MISSING --run "
2128else
2129 am_missing_run=
2130 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2131echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2132fi
2133
2134{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2135echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2136if test -z "$MKDIR_P"; then
2137 if test "${ac_cv_path_mkdir+set}" = set; then
2138 echo $ECHO_N "(cached) $ECHO_C" >&6
2139else
2140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2141for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2142do
2143 IFS=$as_save_IFS
2144 test -z "$as_dir" && as_dir=.
2145 for ac_prog in mkdir gmkdir; do
2146 for ac_exec_ext in '' $ac_executable_extensions; do
2147 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2148 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2149 'mkdir (GNU coreutils) '* | \
2150 'mkdir (coreutils) '* | \
2151 'mkdir (fileutils) '4.1*)
2152 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2153 break 3;;
2154 esac
2155 done
2156 done
2157done
2158IFS=$as_save_IFS
2159
2160fi
2161
2162 if test "${ac_cv_path_mkdir+set}" = set; then
2163 MKDIR_P="$ac_cv_path_mkdir -p"
2164 else
2165 # As a last resort, use the slow shell script. Don't cache a
2166 # value for MKDIR_P within a source directory, because that will
2167 # break other packages using the cache if that directory is
2168 # removed, or if the value is a relative name.
2169 test -d ./--version && rmdir ./--version
2170 MKDIR_P="$ac_install_sh -d"
2171 fi
2172fi
2173{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2174echo "${ECHO_T}$MKDIR_P" >&6; }
2175
2176mkdir_p="$MKDIR_P"
2177case $mkdir_p in
2178 [\\/$]* | ?:[\\/]*) ;;
2179 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2180esac
2181
2182for ac_prog in gawk mawk nawk awk
2183do
2184 # Extract the first word of "$ac_prog", so it can be a program name with args.
2185set dummy $ac_prog; ac_word=$2
2186{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2187echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2188if test "${ac_cv_prog_AWK+set}" = set; then
2189 echo $ECHO_N "(cached) $ECHO_C" >&6
2190else
2191 if test -n "$AWK"; then
2192 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2193else
2194as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195for as_dir in $PATH
2196do
2197 IFS=$as_save_IFS
2198 test -z "$as_dir" && as_dir=.
2199 for ac_exec_ext in '' $ac_executable_extensions; do
2200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2201 ac_cv_prog_AWK="$ac_prog"
2202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2203 break 2
2204 fi
2205done
2206done
2207IFS=$as_save_IFS
2208
2209fi
2210fi
2211AWK=$ac_cv_prog_AWK
2212if test -n "$AWK"; then
2213 { echo "$as_me:$LINENO: result: $AWK" >&5
2214echo "${ECHO_T}$AWK" >&6; }
2215else
2216 { echo "$as_me:$LINENO: result: no" >&5
2217echo "${ECHO_T}no" >&6; }
2218fi
2219
2220
2221 test -n "$AWK" && break
2222done
2223
2224{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2225echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2226set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2227if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2228 echo $ECHO_N "(cached) $ECHO_C" >&6
2229else
2230 cat >conftest.make <<\_ACEOF
2231SHELL = /bin/sh
2232all:
2233 @echo '@@@%%%=$(MAKE)=@@@%%%'
2234_ACEOF
2235# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2236case `${MAKE-make} -f conftest.make 2>/dev/null` in
2237 *@@@%%%=?*=@@@%%%*)
2238 eval ac_cv_prog_make_${ac_make}_set=yes;;
2239 *)
2240 eval ac_cv_prog_make_${ac_make}_set=no;;
2241esac
2242rm -f conftest.make
2243fi
2244if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2245 { echo "$as_me:$LINENO: result: yes" >&5
2246echo "${ECHO_T}yes" >&6; }
2247 SET_MAKE=
2248else
2249 { echo "$as_me:$LINENO: result: no" >&5
2250echo "${ECHO_T}no" >&6; }
2251 SET_MAKE="MAKE=${MAKE-make}"
2252fi
2253
2254rm -rf .tst 2>/dev/null
2255mkdir .tst 2>/dev/null
2256if test -d .tst; then
2257 am__leading_dot=.
2258else
2259 am__leading_dot=_
2260fi
2261rmdir .tst 2>/dev/null
2262
2263if test "`cd $srcdir && pwd`" != "`pwd`"; then
2264 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2265 # is not polluted with repeated "-I."
2266 am__isrc=' -I$(srcdir)'
2267 # test to see if srcdir already configured
2268 if test -f $srcdir/config.status; then
2269 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2270echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2271 { (exit 1); exit 1; }; }
2272 fi
2273fi
2274
2275# test whether we have cygpath
2276if test -z "$CYGPATH_W"; then
2277 if (cygpath --version) >/dev/null 2>/dev/null; then
2278 CYGPATH_W='cygpath -w'
2279 else
2280 CYGPATH_W=echo
2281 fi
2282fi
2283
2284
2285# Define the identity of the package.
2286 PACKAGE='lxnm'
cf660ffe 2287 VERSION='0.2.2'
10dfde12
DB
2288
2289
2290cat >>confdefs.h <<_ACEOF
2291#define PACKAGE "$PACKAGE"
2292_ACEOF
2293
2294
2295cat >>confdefs.h <<_ACEOF
2296#define VERSION "$VERSION"
2297_ACEOF
2298
2299# Some tools Automake needs.
2300
2301ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2302
2303
2304AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2305
2306
2307AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2308
2309
2310AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2311
2312
2313MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2314
2315install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2316
2317# Installed binaries are usually stripped using `strip' when the user
2318# run `make install-strip'. However `strip' might not be the right
2319# tool to use in cross-compilation environments, therefore Automake
2320# will honor the `STRIP' environment variable to overrule this program.
2321if test "$cross_compiling" != no; then
2322 if test -n "$ac_tool_prefix"; then
2323 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2324set dummy ${ac_tool_prefix}strip; ac_word=$2
2325{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2326echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2327if test "${ac_cv_prog_STRIP+set}" = set; then
2328 echo $ECHO_N "(cached) $ECHO_C" >&6
2329else
2330 if test -n "$STRIP"; then
2331 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2332else
2333as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2334for as_dir in $PATH
2335do
2336 IFS=$as_save_IFS
2337 test -z "$as_dir" && as_dir=.
2338 for ac_exec_ext in '' $ac_executable_extensions; do
2339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2340 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2342 break 2
2343 fi
2344done
2345done
2346IFS=$as_save_IFS
2347
2348fi
2349fi
2350STRIP=$ac_cv_prog_STRIP
2351if test -n "$STRIP"; then
2352 { echo "$as_me:$LINENO: result: $STRIP" >&5
2353echo "${ECHO_T}$STRIP" >&6; }
2354else
2355 { echo "$as_me:$LINENO: result: no" >&5
2356echo "${ECHO_T}no" >&6; }
2357fi
2358
2359
2360fi
2361if test -z "$ac_cv_prog_STRIP"; then
2362 ac_ct_STRIP=$STRIP
2363 # Extract the first word of "strip", so it can be a program name with args.
2364set dummy strip; ac_word=$2
2365{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2366echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2367if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2368 echo $ECHO_N "(cached) $ECHO_C" >&6
2369else
2370 if test -n "$ac_ct_STRIP"; then
2371 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2372else
2373as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2374for as_dir in $PATH
2375do
2376 IFS=$as_save_IFS
2377 test -z "$as_dir" && as_dir=.
2378 for ac_exec_ext in '' $ac_executable_extensions; do
2379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2380 ac_cv_prog_ac_ct_STRIP="strip"
2381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2382 break 2
2383 fi
2384done
2385done
2386IFS=$as_save_IFS
2387
2388fi
2389fi
2390ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2391if test -n "$ac_ct_STRIP"; then
2392 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2393echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2394else
2395 { echo "$as_me:$LINENO: result: no" >&5
2396echo "${ECHO_T}no" >&6; }
2397fi
2398
2399 if test "x$ac_ct_STRIP" = x; then
2400 STRIP=":"
2401 else
2402 case $cross_compiling:$ac_tool_warned in
2403yes:)
2404{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2405whose name does not start with the host triplet. If you think this
2406configuration is useful to you, please write to autoconf@gnu.org." >&5
2407echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2408whose name does not start with the host triplet. If you think this
2409configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2410ac_tool_warned=yes ;;
2411esac
2412 STRIP=$ac_ct_STRIP
2413 fi
2414else
2415 STRIP="$ac_cv_prog_STRIP"
2416fi
2417
2418fi
2419INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2420
2421# We need awk for the "check" target. The system "awk" is bad on
2422# some platforms.
2423# Always define AMTAR for backward compatibility.
2424
2425AMTAR=${AMTAR-"${am_missing_run}tar"}
2426
2427am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2428
2429
2430
2431
2432
2433{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2434echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2435 # Check whether --enable-maintainer-mode was given.
2436if test "${enable_maintainer_mode+set}" = set; then
2437 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2438else
2439 USE_MAINTAINER_MODE=no
2440fi
2441
2442 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2443echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2444 if test $USE_MAINTAINER_MODE = yes; then
2445 MAINTAINER_MODE_TRUE=
2446 MAINTAINER_MODE_FALSE='#'
2447else
2448 MAINTAINER_MODE_TRUE='#'
2449 MAINTAINER_MODE_FALSE=
2450fi
2451
2452 MAINT=$MAINTAINER_MODE_TRUE
2453
2454
2455ac_config_headers="$ac_config_headers config.h"
2456
2457
2458# Force to dynamic
2459# Check whether --enable-static was given.
2460if test "${enable_static+set}" = set; then
2461 enableval=$enable_static; p=${PACKAGE-default}
2462 case $enableval in
2463 yes) enable_static=yes ;;
2464 no) enable_static=no ;;
2465 *)
2466 enable_static=no
2467 # Look at the argument we got. We use all the common list separators.
2468 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2469 for pkg in $enableval; do
2470 IFS="$lt_save_ifs"
2471 if test "X$pkg" = "X$p"; then
2472 enable_static=yes
2473 fi
2474 done
2475 IFS="$lt_save_ifs"
2476 ;;
2477 esac
2478else
2479 enable_static=no
2480fi
2481
2482
2483
2484
2485# Checks for programs.
2486ac_ext=c
2487ac_cpp='$CPP $CPPFLAGS'
2488ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2489ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2490ac_compiler_gnu=$ac_cv_c_compiler_gnu
2491if test -n "$ac_tool_prefix"; then
2492 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2493set dummy ${ac_tool_prefix}gcc; ac_word=$2
2494{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2495echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2496if test "${ac_cv_prog_CC+set}" = set; then
2497 echo $ECHO_N "(cached) $ECHO_C" >&6
2498else
2499 if test -n "$CC"; then
2500 ac_cv_prog_CC="$CC" # Let the user override the test.
2501else
2502as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2503for as_dir in $PATH
2504do
2505 IFS=$as_save_IFS
2506 test -z "$as_dir" && as_dir=.
2507 for ac_exec_ext in '' $ac_executable_extensions; do
2508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2509 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2511 break 2
2512 fi
2513done
2514done
2515IFS=$as_save_IFS
2516
2517fi
2518fi
2519CC=$ac_cv_prog_CC
2520if test -n "$CC"; then
2521 { echo "$as_me:$LINENO: result: $CC" >&5
2522echo "${ECHO_T}$CC" >&6; }
2523else
2524 { echo "$as_me:$LINENO: result: no" >&5
2525echo "${ECHO_T}no" >&6; }
2526fi
2527
2528
2529fi
2530if test -z "$ac_cv_prog_CC"; then
2531 ac_ct_CC=$CC
2532 # Extract the first word of "gcc", so it can be a program name with args.
2533set dummy gcc; ac_word=$2
2534{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2535echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2536if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2537 echo $ECHO_N "(cached) $ECHO_C" >&6
2538else
2539 if test -n "$ac_ct_CC"; then
2540 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2541else
2542as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2543for as_dir in $PATH
2544do
2545 IFS=$as_save_IFS
2546 test -z "$as_dir" && as_dir=.
2547 for ac_exec_ext in '' $ac_executable_extensions; do
2548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2549 ac_cv_prog_ac_ct_CC="gcc"
2550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2551 break 2
2552 fi
2553done
2554done
2555IFS=$as_save_IFS
2556
2557fi
2558fi
2559ac_ct_CC=$ac_cv_prog_ac_ct_CC
2560if test -n "$ac_ct_CC"; then
2561 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2562echo "${ECHO_T}$ac_ct_CC" >&6; }
2563else
2564 { echo "$as_me:$LINENO: result: no" >&5
2565echo "${ECHO_T}no" >&6; }
2566fi
2567
2568 if test "x$ac_ct_CC" = x; then
2569 CC=""
2570 else
2571 case $cross_compiling:$ac_tool_warned in
2572yes:)
2573{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2574whose name does not start with the host triplet. If you think this
2575configuration is useful to you, please write to autoconf@gnu.org." >&5
2576echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2577whose name does not start with the host triplet. If you think this
2578configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2579ac_tool_warned=yes ;;
2580esac
2581 CC=$ac_ct_CC
2582 fi
2583else
2584 CC="$ac_cv_prog_CC"
2585fi
2586
2587if test -z "$CC"; then
2588 if test -n "$ac_tool_prefix"; then
2589 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2590set dummy ${ac_tool_prefix}cc; ac_word=$2
2591{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2592echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2593if test "${ac_cv_prog_CC+set}" = set; then
2594 echo $ECHO_N "(cached) $ECHO_C" >&6
2595else
2596 if test -n "$CC"; then
2597 ac_cv_prog_CC="$CC" # Let the user override the test.
2598else
2599as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2600for as_dir in $PATH
2601do
2602 IFS=$as_save_IFS
2603 test -z "$as_dir" && as_dir=.
2604 for ac_exec_ext in '' $ac_executable_extensions; do
2605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2606 ac_cv_prog_CC="${ac_tool_prefix}cc"
2607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2608 break 2
2609 fi
2610done
2611done
2612IFS=$as_save_IFS
2613
2614fi
2615fi
2616CC=$ac_cv_prog_CC
2617if test -n "$CC"; then
2618 { echo "$as_me:$LINENO: result: $CC" >&5
2619echo "${ECHO_T}$CC" >&6; }
2620else
2621 { echo "$as_me:$LINENO: result: no" >&5
2622echo "${ECHO_T}no" >&6; }
2623fi
2624
2625
2626 fi
2627fi
2628if test -z "$CC"; then
2629 # Extract the first word of "cc", so it can be a program name with args.
2630set dummy cc; ac_word=$2
2631{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2632echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2633if test "${ac_cv_prog_CC+set}" = set; then
2634 echo $ECHO_N "(cached) $ECHO_C" >&6
2635else
2636 if test -n "$CC"; then
2637 ac_cv_prog_CC="$CC" # Let the user override the test.
2638else
2639 ac_prog_rejected=no
2640as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2641for as_dir in $PATH
2642do
2643 IFS=$as_save_IFS
2644 test -z "$as_dir" && as_dir=.
2645 for ac_exec_ext in '' $ac_executable_extensions; do
2646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2647 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2648 ac_prog_rejected=yes
2649 continue
2650 fi
2651 ac_cv_prog_CC="cc"
2652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2653 break 2
2654 fi
2655done
2656done
2657IFS=$as_save_IFS
2658
2659if test $ac_prog_rejected = yes; then
2660 # We found a bogon in the path, so make sure we never use it.
2661 set dummy $ac_cv_prog_CC
2662 shift
2663 if test $# != 0; then
2664 # We chose a different compiler from the bogus one.
2665 # However, it has the same basename, so the bogon will be chosen
2666 # first if we set CC to just the basename; use the full file name.
2667 shift
2668 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2669 fi
2670fi
2671fi
2672fi
2673CC=$ac_cv_prog_CC
2674if test -n "$CC"; then
2675 { echo "$as_me:$LINENO: result: $CC" >&5
2676echo "${ECHO_T}$CC" >&6; }
2677else
2678 { echo "$as_me:$LINENO: result: no" >&5
2679echo "${ECHO_T}no" >&6; }
2680fi
2681
2682
2683fi
2684if test -z "$CC"; then
2685 if test -n "$ac_tool_prefix"; then
2686 for ac_prog in cl.exe
2687 do
2688 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2689set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2690{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2691echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2692if test "${ac_cv_prog_CC+set}" = set; then
2693 echo $ECHO_N "(cached) $ECHO_C" >&6
2694else
2695 if test -n "$CC"; then
2696 ac_cv_prog_CC="$CC" # Let the user override the test.
2697else
2698as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2699for as_dir in $PATH
2700do
2701 IFS=$as_save_IFS
2702 test -z "$as_dir" && as_dir=.
2703 for ac_exec_ext in '' $ac_executable_extensions; do
2704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2705 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2707 break 2
2708 fi
2709done
2710done
2711IFS=$as_save_IFS
2712
2713fi
2714fi
2715CC=$ac_cv_prog_CC
2716if test -n "$CC"; then
2717 { echo "$as_me:$LINENO: result: $CC" >&5
2718echo "${ECHO_T}$CC" >&6; }
2719else
2720 { echo "$as_me:$LINENO: result: no" >&5
2721echo "${ECHO_T}no" >&6; }
2722fi
2723
2724
2725 test -n "$CC" && break
2726 done
2727fi
2728if test -z "$CC"; then
2729 ac_ct_CC=$CC
2730 for ac_prog in cl.exe
2731do
2732 # Extract the first word of "$ac_prog", so it can be a program name with args.
2733set dummy $ac_prog; ac_word=$2
2734{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2735echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2736if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2737 echo $ECHO_N "(cached) $ECHO_C" >&6
2738else
2739 if test -n "$ac_ct_CC"; then
2740 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2741else
2742as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2743for as_dir in $PATH
2744do
2745 IFS=$as_save_IFS
2746 test -z "$as_dir" && as_dir=.
2747 for ac_exec_ext in '' $ac_executable_extensions; do
2748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2749 ac_cv_prog_ac_ct_CC="$ac_prog"
2750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2751 break 2
2752 fi
2753done
2754done
2755IFS=$as_save_IFS
2756
2757fi
2758fi
2759ac_ct_CC=$ac_cv_prog_ac_ct_CC
2760if test -n "$ac_ct_CC"; then
2761 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2762echo "${ECHO_T}$ac_ct_CC" >&6; }
2763else
2764 { echo "$as_me:$LINENO: result: no" >&5
2765echo "${ECHO_T}no" >&6; }
2766fi
2767
2768
2769 test -n "$ac_ct_CC" && break
2770done
2771
2772 if test "x$ac_ct_CC" = x; then
2773 CC=""
2774 else
2775 case $cross_compiling:$ac_tool_warned in
2776yes:)
2777{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2778whose name does not start with the host triplet. If you think this
2779configuration is useful to you, please write to autoconf@gnu.org." >&5
2780echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2781whose name does not start with the host triplet. If you think this
2782configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2783ac_tool_warned=yes ;;
2784esac
2785 CC=$ac_ct_CC
2786 fi
2787fi
2788
2789fi
2790
2791
2792test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2793See \`config.log' for more details." >&5
2794echo "$as_me: error: no acceptable C compiler found in \$PATH
2795See \`config.log' for more details." >&2;}
2796 { (exit 1); exit 1; }; }
2797
2798# Provide some information about the compiler.
2799echo "$as_me:$LINENO: checking for C compiler version" >&5
2800ac_compiler=`set X $ac_compile; echo $2`
2801{ (ac_try="$ac_compiler --version >&5"
2802case "(($ac_try" in
2803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2804 *) ac_try_echo=$ac_try;;
2805esac
2806eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2807 (eval "$ac_compiler --version >&5") 2>&5
2808 ac_status=$?
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }
2811{ (ac_try="$ac_compiler -v >&5"
2812case "(($ac_try" in
2813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2814 *) ac_try_echo=$ac_try;;
2815esac
2816eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2817 (eval "$ac_compiler -v >&5") 2>&5
2818 ac_status=$?
2819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 (exit $ac_status); }
2821{ (ac_try="$ac_compiler -V >&5"
2822case "(($ac_try" in
2823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2824 *) ac_try_echo=$ac_try;;
2825esac
2826eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2827 (eval "$ac_compiler -V >&5") 2>&5
2828 ac_status=$?
2829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830 (exit $ac_status); }
2831
2832cat >conftest.$ac_ext <<_ACEOF
2833/* confdefs.h. */
2834_ACEOF
2835cat confdefs.h >>conftest.$ac_ext
2836cat >>conftest.$ac_ext <<_ACEOF
2837/* end confdefs.h. */
2838
2839int
2840main ()
2841{
2842
2843 ;
2844 return 0;
2845}
2846_ACEOF
2847ac_clean_files_save=$ac_clean_files
2848ac_clean_files="$ac_clean_files a.out a.exe b.out"
2849# Try to create an executable without -o first, disregard a.out.
2850# It will help us diagnose broken compilers, and finding out an intuition
2851# of exeext.
2852{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2853echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2854ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2855#
2856# List of possible output files, starting from the most likely.
2857# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2858# only as a last resort. b.out is created by i960 compilers.
2859ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2860#
2861# The IRIX 6 linker writes into existing files which may not be
2862# executable, retaining their permissions. Remove them first so a
2863# subsequent execution test works.
2864ac_rmfiles=
2865for ac_file in $ac_files
2866do
2867 case $ac_file in
2868 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2869 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2870 esac
2871done
2872rm -f $ac_rmfiles
2873
2874if { (ac_try="$ac_link_default"
2875case "(($ac_try" in
2876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2877 *) ac_try_echo=$ac_try;;
2878esac
2879eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2880 (eval "$ac_link_default") 2>&5
2881 ac_status=$?
2882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883 (exit $ac_status); }; then
2884 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2885# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2886# in a Makefile. We should not override ac_cv_exeext if it was cached,
2887# so that the user can short-circuit this test for compilers unknown to
2888# Autoconf.
2889for ac_file in $ac_files ''
2890do
2891 test -f "$ac_file" || continue
2892 case $ac_file in
2893 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2894 ;;
2895 [ab].out )
2896 # We found the default executable, but exeext='' is most
2897 # certainly right.
2898 break;;
2899 *.* )
2900 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2901 then :; else
2902 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2903 fi
2904 # We set ac_cv_exeext here because the later test for it is not
2905 # safe: cross compilers may not add the suffix if given an `-o'
2906 # argument, so we may need to know it at that point already.
2907 # Even if this section looks crufty: it has the advantage of
2908 # actually working.
2909 break;;
2910 * )
2911 break;;
2912 esac
2913done
2914test "$ac_cv_exeext" = no && ac_cv_exeext=
2915
2916else
2917 ac_file=''
2918fi
2919
2920{ echo "$as_me:$LINENO: result: $ac_file" >&5
2921echo "${ECHO_T}$ac_file" >&6; }
2922if test -z "$ac_file"; then
2923 echo "$as_me: failed program was:" >&5
2924sed 's/^/| /' conftest.$ac_ext >&5
2925
2926{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2927See \`config.log' for more details." >&5
2928echo "$as_me: error: C compiler cannot create executables
2929See \`config.log' for more details." >&2;}
2930 { (exit 77); exit 77; }; }
2931fi
2932
2933ac_exeext=$ac_cv_exeext
2934
2935# Check that the compiler produces executables we can run. If not, either
2936# the compiler is broken, or we cross compile.
2937{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2938echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2939# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2940# If not cross compiling, check that we can run a simple program.
2941if test "$cross_compiling" != yes; then
2942 if { ac_try='./$ac_file'
2943 { (case "(($ac_try" in
2944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2945 *) ac_try_echo=$ac_try;;
2946esac
2947eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2948 (eval "$ac_try") 2>&5
2949 ac_status=$?
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); }; }; then
2952 cross_compiling=no
2953 else
2954 if test "$cross_compiling" = maybe; then
2955 cross_compiling=yes
2956 else
2957 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2958If you meant to cross compile, use \`--host'.
2959See \`config.log' for more details." >&5
2960echo "$as_me: error: cannot run C compiled programs.
2961If you meant to cross compile, use \`--host'.
2962See \`config.log' for more details." >&2;}
2963 { (exit 1); exit 1; }; }
2964 fi
2965 fi
2966fi
2967{ echo "$as_me:$LINENO: result: yes" >&5
2968echo "${ECHO_T}yes" >&6; }
2969
2970rm -f a.out a.exe conftest$ac_cv_exeext b.out
2971ac_clean_files=$ac_clean_files_save
2972# Check that the compiler produces executables we can run. If not, either
2973# the compiler is broken, or we cross compile.
2974{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2975echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2976{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2977echo "${ECHO_T}$cross_compiling" >&6; }
2978
2979{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2980echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2981if { (ac_try="$ac_link"
2982case "(($ac_try" in
2983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2984 *) ac_try_echo=$ac_try;;
2985esac
2986eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2987 (eval "$ac_link") 2>&5
2988 ac_status=$?
2989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990 (exit $ac_status); }; then
2991 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2992# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2993# work properly (i.e., refer to `conftest.exe'), while it won't with
2994# `rm'.
2995for ac_file in conftest.exe conftest conftest.*; do
2996 test -f "$ac_file" || continue
2997 case $ac_file in
2998 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2999 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3000 break;;
3001 * ) break;;
3002 esac
3003done
3004else
3005 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3006See \`config.log' for more details." >&5
3007echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3008See \`config.log' for more details." >&2;}
3009 { (exit 1); exit 1; }; }
3010fi
3011
3012rm -f conftest$ac_cv_exeext
3013{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3014echo "${ECHO_T}$ac_cv_exeext" >&6; }
3015
3016rm -f conftest.$ac_ext
3017EXEEXT=$ac_cv_exeext
3018ac_exeext=$EXEEXT
3019{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3020echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3021if test "${ac_cv_objext+set}" = set; then
3022 echo $ECHO_N "(cached) $ECHO_C" >&6
3023else
3024 cat >conftest.$ac_ext <<_ACEOF
3025/* confdefs.h. */
3026_ACEOF
3027cat confdefs.h >>conftest.$ac_ext
3028cat >>conftest.$ac_ext <<_ACEOF
3029/* end confdefs.h. */
3030
3031int
3032main ()
3033{
3034
3035 ;
3036 return 0;
3037}
3038_ACEOF
3039rm -f conftest.o conftest.obj
3040if { (ac_try="$ac_compile"
3041case "(($ac_try" in
3042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3043 *) ac_try_echo=$ac_try;;
3044esac
3045eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3046 (eval "$ac_compile") 2>&5
3047 ac_status=$?
3048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049 (exit $ac_status); }; then
3050 for ac_file in conftest.o conftest.obj conftest.*; do
3051 test -f "$ac_file" || continue;
3052 case $ac_file in
3053 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3054 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3055 break;;
3056 esac
3057done
3058else
3059 echo "$as_me: failed program was:" >&5
3060sed 's/^/| /' conftest.$ac_ext >&5
3061
3062{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3063See \`config.log' for more details." >&5
3064echo "$as_me: error: cannot compute suffix of object files: cannot compile
3065See \`config.log' for more details." >&2;}
3066 { (exit 1); exit 1; }; }
3067fi
3068
3069rm -f conftest.$ac_cv_objext conftest.$ac_ext
3070fi
3071{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3072echo "${ECHO_T}$ac_cv_objext" >&6; }
3073OBJEXT=$ac_cv_objext
3074ac_objext=$OBJEXT
3075{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3076echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3077if test "${ac_cv_c_compiler_gnu+set}" = set; then
3078 echo $ECHO_N "(cached) $ECHO_C" >&6
3079else
3080 cat >conftest.$ac_ext <<_ACEOF
3081/* confdefs.h. */
3082_ACEOF
3083cat confdefs.h >>conftest.$ac_ext
3084cat >>conftest.$ac_ext <<_ACEOF
3085/* end confdefs.h. */
3086
3087int
3088main ()
3089{
3090#ifndef __GNUC__
3091 choke me
3092#endif
3093
3094 ;
3095 return 0;
3096}
3097_ACEOF
3098rm -f conftest.$ac_objext
3099if { (ac_try="$ac_compile"
3100case "(($ac_try" in
3101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3102 *) ac_try_echo=$ac_try;;
3103esac
3104eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3105 (eval "$ac_compile") 2>conftest.er1
3106 ac_status=$?
3107 grep -v '^ *+' conftest.er1 >conftest.err
3108 rm -f conftest.er1
3109 cat conftest.err >&5
3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 (exit $ac_status); } && {
3112 test -z "$ac_c_werror_flag" ||
3113 test ! -s conftest.err
3114 } && test -s conftest.$ac_objext; then
3115 ac_compiler_gnu=yes
3116else
3117 echo "$as_me: failed program was:" >&5
3118sed 's/^/| /' conftest.$ac_ext >&5
3119
3120 ac_compiler_gnu=no
3121fi
3122
3123rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3124ac_cv_c_compiler_gnu=$ac_compiler_gnu
3125
3126fi
3127{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3128echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3129GCC=`test $ac_compiler_gnu = yes && echo yes`
3130ac_test_CFLAGS=${CFLAGS+set}
3131ac_save_CFLAGS=$CFLAGS
3132{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3133echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3134if test "${ac_cv_prog_cc_g+set}" = set; then
3135 echo $ECHO_N "(cached) $ECHO_C" >&6
3136else
3137 ac_save_c_werror_flag=$ac_c_werror_flag
3138 ac_c_werror_flag=yes
3139 ac_cv_prog_cc_g=no
3140 CFLAGS="-g"
3141 cat >conftest.$ac_ext <<_ACEOF
3142/* confdefs.h. */
3143_ACEOF
3144cat confdefs.h >>conftest.$ac_ext
3145cat >>conftest.$ac_ext <<_ACEOF
3146/* end confdefs.h. */
3147
3148int
3149main ()
3150{
3151
3152 ;
3153 return 0;
3154}
3155_ACEOF
3156rm -f conftest.$ac_objext
3157if { (ac_try="$ac_compile"
3158case "(($ac_try" in
3159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3161esac
3162eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3163 (eval "$ac_compile") 2>conftest.er1
3164 ac_status=$?
3165 grep -v '^ *+' conftest.er1 >conftest.err
3166 rm -f conftest.er1
3167 cat conftest.err >&5
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); } && {
3170 test -z "$ac_c_werror_flag" ||
3171 test ! -s conftest.err
3172 } && test -s conftest.$ac_objext; then
3173 ac_cv_prog_cc_g=yes
3174else
3175 echo "$as_me: failed program was:" >&5
3176sed 's/^/| /' conftest.$ac_ext >&5
3177
3178 CFLAGS=""
3179 cat >conftest.$ac_ext <<_ACEOF
3180/* confdefs.h. */
3181_ACEOF
3182cat confdefs.h >>conftest.$ac_ext
3183cat >>conftest.$ac_ext <<_ACEOF
3184/* end confdefs.h. */
3185
3186int
3187main ()
3188{
3189
3190 ;
3191 return 0;
3192}
3193_ACEOF
3194rm -f conftest.$ac_objext
3195if { (ac_try="$ac_compile"
3196case "(($ac_try" in
3197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3198 *) ac_try_echo=$ac_try;;
3199esac
3200eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3201 (eval "$ac_compile") 2>conftest.er1
3202 ac_status=$?
3203 grep -v '^ *+' conftest.er1 >conftest.err
3204 rm -f conftest.er1
3205 cat conftest.err >&5
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); } && {
3208 test -z "$ac_c_werror_flag" ||
3209 test ! -s conftest.err
3210 } && test -s conftest.$ac_objext; then
3211 :
3212else
3213 echo "$as_me: failed program was:" >&5
3214sed 's/^/| /' conftest.$ac_ext >&5
3215
3216 ac_c_werror_flag=$ac_save_c_werror_flag
3217 CFLAGS="-g"
3218 cat >conftest.$ac_ext <<_ACEOF
3219/* confdefs.h. */
3220_ACEOF
3221cat confdefs.h >>conftest.$ac_ext
3222cat >>conftest.$ac_ext <<_ACEOF
3223/* end confdefs.h. */
3224
3225int
3226main ()
3227{
3228
3229 ;
3230 return 0;
3231}
3232_ACEOF
3233rm -f conftest.$ac_objext
3234if { (ac_try="$ac_compile"
3235case "(($ac_try" in
3236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3237 *) ac_try_echo=$ac_try;;
3238esac
3239eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3240 (eval "$ac_compile") 2>conftest.er1
3241 ac_status=$?
3242 grep -v '^ *+' conftest.er1 >conftest.err
3243 rm -f conftest.er1
3244 cat conftest.err >&5
3245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246 (exit $ac_status); } && {
3247 test -z "$ac_c_werror_flag" ||
3248 test ! -s conftest.err
3249 } && test -s conftest.$ac_objext; then
3250 ac_cv_prog_cc_g=yes
3251else
3252 echo "$as_me: failed program was:" >&5
3253sed 's/^/| /' conftest.$ac_ext >&5
3254
3255
3256fi
3257
3258rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3259fi
3260
3261rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3262fi
3263
3264rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3265 ac_c_werror_flag=$ac_save_c_werror_flag
3266fi
3267{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3268echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3269if test "$ac_test_CFLAGS" = set; then
3270 CFLAGS=$ac_save_CFLAGS
3271elif test $ac_cv_prog_cc_g = yes; then
3272 if test "$GCC" = yes; then
3273 CFLAGS="-g -O2"
3274 else
3275 CFLAGS="-g"
3276 fi
3277else
3278 if test "$GCC" = yes; then
3279 CFLAGS="-O2"
3280 else
3281 CFLAGS=
3282 fi
3283fi
3284{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3285echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3286if test "${ac_cv_prog_cc_c89+set}" = set; then
3287 echo $ECHO_N "(cached) $ECHO_C" >&6
3288else
3289 ac_cv_prog_cc_c89=no
3290ac_save_CC=$CC
3291cat >conftest.$ac_ext <<_ACEOF
3292/* confdefs.h. */
3293_ACEOF
3294cat confdefs.h >>conftest.$ac_ext
3295cat >>conftest.$ac_ext <<_ACEOF
3296/* end confdefs.h. */
3297#include <stdarg.h>
3298#include <stdio.h>
3299#include <sys/types.h>
3300#include <sys/stat.h>
3301/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3302struct buf { int x; };
3303FILE * (*rcsopen) (struct buf *, struct stat *, int);
3304static char *e (p, i)
3305 char **p;
3306 int i;
3307{
3308 return p[i];
3309}
3310static char *f (char * (*g) (char **, int), char **p, ...)
3311{
3312 char *s;
3313 va_list v;
3314 va_start (v,p);
3315 s = g (p, va_arg (v,int));
3316 va_end (v);
3317 return s;
3318}
3319
3320/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3321 function prototypes and stuff, but not '\xHH' hex character constants.
3322 These don't provoke an error unfortunately, instead are silently treated
3323 as 'x'. The following induces an error, until -std is added to get
3324 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3325 array size at least. It's necessary to write '\x00'==0 to get something
3326 that's true only with -std. */
3327int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3328
3329/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3330 inside strings and character constants. */
3331#define FOO(x) 'x'
3332int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3333
3334int test (int i, double x);
3335struct s1 {int (*f) (int a);};
3336struct s2 {int (*f) (double a);};
3337int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3338int argc;
3339char **argv;
3340int
3341main ()
3342{
3343return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3344 ;
3345 return 0;
3346}
3347_ACEOF
3348for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3349 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3350do
3351 CC="$ac_save_CC $ac_arg"
3352 rm -f conftest.$ac_objext
3353if { (ac_try="$ac_compile"
3354case "(($ac_try" in
3355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3356 *) ac_try_echo=$ac_try;;
3357esac
3358eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3359 (eval "$ac_compile") 2>conftest.er1
3360 ac_status=$?
3361 grep -v '^ *+' conftest.er1 >conftest.err
3362 rm -f conftest.er1
3363 cat conftest.err >&5
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); } && {
3366 test -z "$ac_c_werror_flag" ||
3367 test ! -s conftest.err
3368 } && test -s conftest.$ac_objext; then
3369 ac_cv_prog_cc_c89=$ac_arg
3370else
3371 echo "$as_me: failed program was:" >&5
3372sed 's/^/| /' conftest.$ac_ext >&5
3373
3374
3375fi
3376
3377rm -f core conftest.err conftest.$ac_objext
3378 test "x$ac_cv_prog_cc_c89" != "xno" && break
3379done
3380rm -f conftest.$ac_ext
3381CC=$ac_save_CC
3382
3383fi
3384# AC_CACHE_VAL
3385case "x$ac_cv_prog_cc_c89" in
3386 x)
3387 { echo "$as_me:$LINENO: result: none needed" >&5
3388echo "${ECHO_T}none needed" >&6; } ;;
3389 xno)
3390 { echo "$as_me:$LINENO: result: unsupported" >&5
3391echo "${ECHO_T}unsupported" >&6; } ;;
3392 *)
3393 CC="$CC $ac_cv_prog_cc_c89"
3394 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3395echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3396esac
3397
3398
3399ac_ext=c
3400ac_cpp='$CPP $CPPFLAGS'
3401ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3402ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3403ac_compiler_gnu=$ac_cv_c_compiler_gnu
3404DEPDIR="${am__leading_dot}deps"
3405
3406ac_config_commands="$ac_config_commands depfiles"
3407
3408
3409am_make=${MAKE-make}
3410cat > confinc << 'END'
3411am__doit:
3412 @echo done
3413.PHONY: am__doit
3414END
3415# If we don't find an include directive, just comment out the code.
3416{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3417echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3418am__include="#"
3419am__quote=
3420_am_result=none
3421# First try GNU make style include.
3422echo "include confinc" > confmf
3423# We grep out `Entering directory' and `Leaving directory'
3424# messages which can occur if `w' ends up in MAKEFLAGS.
3425# In particular we don't look at `^make:' because GNU make might
3426# be invoked under some other name (usually "gmake"), in which
3427# case it prints its new name instead of `make'.
3428if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3429 am__include=include
3430 am__quote=
3431 _am_result=GNU
3432fi
3433# Now try BSD make style include.
3434if test "$am__include" = "#"; then
3435 echo '.include "confinc"' > confmf
3436 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3437 am__include=.include
3438 am__quote="\""
3439 _am_result=BSD
3440 fi
3441fi
3442
3443
3444{ echo "$as_me:$LINENO: result: $_am_result" >&5
3445echo "${ECHO_T}$_am_result" >&6; }
3446rm -f confinc confmf
3447
3448# Check whether --enable-dependency-tracking was given.
3449if test "${enable_dependency_tracking+set}" = set; then
3450 enableval=$enable_dependency_tracking;
3451fi
3452
3453if test "x$enable_dependency_tracking" != xno; then
3454 am_depcomp="$ac_aux_dir/depcomp"
3455 AMDEPBACKSLASH='\'
3456fi
3457 if test "x$enable_dependency_tracking" != xno; then
3458 AMDEP_TRUE=
3459 AMDEP_FALSE='#'
3460else
3461 AMDEP_TRUE='#'
3462 AMDEP_FALSE=
3463fi
3464
3465
3466
3467depcc="$CC" am_compiler_list=
3468
3469{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3470echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3471if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3472 echo $ECHO_N "(cached) $ECHO_C" >&6
3473else
3474 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3475 # We make a subdir and do the tests there. Otherwise we can end up
3476 # making bogus files that we don't know about and never remove. For
3477 # instance it was reported that on HP-UX the gcc test will end up
3478 # making a dummy file named `D' -- because `-MD' means `put the output
3479 # in D'.
3480 mkdir conftest.dir
3481 # Copy depcomp to subdir because otherwise we won't find it if we're
3482 # using a relative directory.
3483 cp "$am_depcomp" conftest.dir
3484 cd conftest.dir
3485 # We will build objects and dependencies in a subdirectory because
3486 # it helps to detect inapplicable dependency modes. For instance
3487 # both Tru64's cc and ICC support -MD to output dependencies as a
3488 # side effect of compilation, but ICC will put the dependencies in
3489 # the current directory while Tru64 will put them in the object
3490 # directory.
3491 mkdir sub
3492
3493 am_cv_CC_dependencies_compiler_type=none
3494 if test "$am_compiler_list" = ""; then
3495 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3496 fi
3497 for depmode in $am_compiler_list; do
3498 # Setup a source with many dependencies, because some compilers
3499 # like to wrap large dependency lists on column 80 (with \), and
3500 # we should not choose a depcomp mode which is confused by this.
3501 #
3502 # We need to recreate these files for each test, as the compiler may
3503 # overwrite some of them when testing with obscure command lines.
3504 # This happens at least with the AIX C compiler.
3505 : > sub/conftest.c
3506 for i in 1 2 3 4 5 6; do
3507 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3508 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3509 # Solaris 8's {/usr,}/bin/sh.
3510 touch sub/conftst$i.h
3511 done
3512 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3513
3514 case $depmode in
3515 nosideeffect)
3516 # after this tag, mechanisms are not by side-effect, so they'll
3517 # only be used when explicitly requested
3518 if test "x$enable_dependency_tracking" = xyes; then
3519 continue
3520 else
3521 break
3522 fi
3523 ;;
3524 none) break ;;
3525 esac
3526 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3527 # mode. It turns out that the SunPro C++ compiler does not properly
3528 # handle `-M -o', and we need to detect this.
3529 if depmode=$depmode \
3530 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3531 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3532 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3533 >/dev/null 2>conftest.err &&
3534 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3535 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3536 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3537 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3538 # icc doesn't choke on unknown options, it will just issue warnings
3539 # or remarks (even with -Werror). So we grep stderr for any message
3540 # that says an option was ignored or not supported.
3541 # When given -MP, icc 7.0 and 7.1 complain thusly:
3542 # icc: Command line warning: ignoring option '-M'; no argument required
3543 # The diagnosis changed in icc 8.0:
3544 # icc: Command line remark: option '-MP' not supported
3545 if (grep 'ignoring option' conftest.err ||
3546 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3547 am_cv_CC_dependencies_compiler_type=$depmode
3548 break
3549 fi
3550 fi
3551 done
3552
3553 cd ..
3554 rm -rf conftest.dir
3555else
3556 am_cv_CC_dependencies_compiler_type=none
3557fi
3558
3559fi
3560{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3561echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3562CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3563
3564 if
3565 test "x$enable_dependency_tracking" != xno \
3566 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3567 am__fastdepCC_TRUE=
3568 am__fastdepCC_FALSE='#'
3569else
3570 am__fastdepCC_TRUE='#'
3571 am__fastdepCC_FALSE=
3572fi
3573
3574
3575# Find a good install program. We prefer a C program (faster),
3576# so one script is as good as another. But avoid the broken or
3577# incompatible versions:
3578# SysV /etc/install, /usr/sbin/install
3579# SunOS /usr/etc/install
3580# IRIX /sbin/install
3581# AIX /bin/install
3582# AmigaOS /C/install, which installs bootblocks on floppy discs
3583# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3584# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3585# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3586# OS/2's system install, which has a completely different semantic
3587# ./install, which can be erroneously created by make from ./install.sh.
3588{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3589echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3590if test -z "$INSTALL"; then
3591if test "${ac_cv_path_install+set}" = set; then
3592 echo $ECHO_N "(cached) $ECHO_C" >&6
3593else
3594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3595for as_dir in $PATH
3596do
3597 IFS=$as_save_IFS
3598 test -z "$as_dir" && as_dir=.
3599 # Account for people who put trailing slashes in PATH elements.
3600case $as_dir/ in
3601 ./ | .// | /cC/* | \
3602 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3603 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3604 /usr/ucb/* ) ;;
3605 *)
3606 # OSF1 and SCO ODT 3.0 have their own names for install.
3607 # Don't use installbsd from OSF since it installs stuff as root
3608 # by default.
3609 for ac_prog in ginstall scoinst install; do
3610 for ac_exec_ext in '' $ac_executable_extensions; do
3611 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3612 if test $ac_prog = install &&
3613 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3614 # AIX install. It has an incompatible calling convention.
3615 :
3616 elif test $ac_prog = install &&
3617 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3618 # program-specific install script used by HP pwplus--don't use.
3619 :
3620 else
3621 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3622 break 3
3623 fi
3624 fi
3625 done
3626 done
3627 ;;
3628esac
3629done
3630IFS=$as_save_IFS
3631
3632
3633fi
3634 if test "${ac_cv_path_install+set}" = set; then
3635 INSTALL=$ac_cv_path_install
3636 else
3637 # As a last resort, use the slow shell script. Don't cache a
3638 # value for INSTALL within a source directory, because that will
3639 # break other packages using the cache if that directory is
3640 # removed, or if the value is a relative name.
3641 INSTALL=$ac_install_sh
3642 fi
3643fi
3644{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3645echo "${ECHO_T}$INSTALL" >&6; }
3646
3647# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3648# It thinks the first close brace ends the variable substitution.
3649test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3650
3651test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3652
3653test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3654
3655{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
3656echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3657LN_S=$as_ln_s
3658if test "$LN_S" = "ln -s"; then
3659 { echo "$as_me:$LINENO: result: yes" >&5
3660echo "${ECHO_T}yes" >&6; }
3661else
3662 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3663echo "${ECHO_T}no, using $LN_S" >&6; }
3664fi
3665
3666# Check whether --enable-shared was given.
3667if test "${enable_shared+set}" = set; then
3668 enableval=$enable_shared; p=${PACKAGE-default}
3669 case $enableval in
3670 yes) enable_shared=yes ;;
3671 no) enable_shared=no ;;
3672 *)
3673 enable_shared=no
3674 # Look at the argument we got. We use all the common list separators.
3675 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3676 for pkg in $enableval; do
3677 IFS="$lt_save_ifs"
3678 if test "X$pkg" = "X$p"; then
3679 enable_shared=yes
3680 fi
3681 done
3682 IFS="$lt_save_ifs"
3683 ;;
3684 esac
3685else
3686 enable_shared=yes
3687fi
3688
3689
3690# Check whether --enable-fast-install was given.
3691if test "${enable_fast_install+set}" = set; then
3692 enableval=$enable_fast_install; p=${PACKAGE-default}
3693 case $enableval in
3694 yes) enable_fast_install=yes ;;
3695 no) enable_fast_install=no ;;
3696 *)
3697 enable_fast_install=no
3698 # Look at the argument we got. We use all the common list separators.
3699 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3700 for pkg in $enableval; do
3701 IFS="$lt_save_ifs"
3702 if test "X$pkg" = "X$p"; then
3703 enable_fast_install=yes
3704 fi
3705 done
3706 IFS="$lt_save_ifs"
3707 ;;
3708 esac
3709else
3710 enable_fast_install=yes
3711fi
3712
3713
3714# Make sure we can run config.sub.
3715$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3716 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3717echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3718 { (exit 1); exit 1; }; }
3719
3720{ echo "$as_me:$LINENO: checking build system type" >&5
3721echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3722if test "${ac_cv_build+set}" = set; then
3723 echo $ECHO_N "(cached) $ECHO_C" >&6
3724else
3725 ac_build_alias=$build_alias
3726test "x$ac_build_alias" = x &&
3727 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3728test "x$ac_build_alias" = x &&
3729 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3730echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3731 { (exit 1); exit 1; }; }
3732ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3733 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3734echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3735 { (exit 1); exit 1; }; }
3736
3737fi
3738{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3739echo "${ECHO_T}$ac_cv_build" >&6; }
3740case $ac_cv_build in
3741*-*-*) ;;
3742*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3743echo "$as_me: error: invalid value of canonical build" >&2;}
3744 { (exit 1); exit 1; }; };;
3745esac
3746build=$ac_cv_build
3747ac_save_IFS=$IFS; IFS='-'
3748set x $ac_cv_build
3749shift
3750build_cpu=$1
3751build_vendor=$2
3752shift; shift
3753# Remember, the first character of IFS is used to create $*,
3754# except with old shells:
3755build_os=$*
3756IFS=$ac_save_IFS
3757case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3758
3759
3760{ echo "$as_me:$LINENO: checking host system type" >&5
3761echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3762if test "${ac_cv_host+set}" = set; then
3763 echo $ECHO_N "(cached) $ECHO_C" >&6
3764else
3765 if test "x$host_alias" = x; then
3766 ac_cv_host=$ac_cv_build
3767else
3768 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3769 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3770echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3771 { (exit 1); exit 1; }; }
3772fi
3773
3774fi
3775{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3776echo "${ECHO_T}$ac_cv_host" >&6; }
3777case $ac_cv_host in
3778*-*-*) ;;
3779*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3780echo "$as_me: error: invalid value of canonical host" >&2;}
3781 { (exit 1); exit 1; }; };;
3782esac
3783host=$ac_cv_host
3784ac_save_IFS=$IFS; IFS='-'
3785set x $ac_cv_host
3786shift
3787host_cpu=$1
3788host_vendor=$2
3789shift; shift
3790# Remember, the first character of IFS is used to create $*,
3791# except with old shells:
3792host_os=$*
3793IFS=$ac_save_IFS
3794case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3795
3796
3797{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3798echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3799if test "${lt_cv_path_SED+set}" = set; then
3800 echo $ECHO_N "(cached) $ECHO_C" >&6
3801else
3802 # Loop through the user's path and test for sed and gsed.
3803# Then use that list of sed's as ones to test for truncation.
3804as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3805for as_dir in $PATH
3806do
3807 IFS=$as_save_IFS
3808 test -z "$as_dir" && as_dir=.
3809 for lt_ac_prog in sed gsed; do
3810 for ac_exec_ext in '' $ac_executable_extensions; do
3811 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3812 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3813 fi
3814 done
3815 done
3816done
3817IFS=$as_save_IFS
3818lt_ac_max=0
3819lt_ac_count=0
3820# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3821# along with /bin/sed that truncates output.
3822for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3823 test ! -f $lt_ac_sed && continue
3824 cat /dev/null > conftest.in
3825 lt_ac_count=0
3826 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3827 # Check for GNU sed and select it if it is found.
3828 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3829 lt_cv_path_SED=$lt_ac_sed
3830 break
3831 fi
3832 while true; do
3833 cat conftest.in conftest.in >conftest.tmp
3834 mv conftest.tmp conftest.in
3835 cp conftest.in conftest.nl
3836 echo >>conftest.nl
3837 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3838 cmp -s conftest.out conftest.nl || break
3839 # 10000 chars as input seems more than enough
3840 test $lt_ac_count -gt 10 && break
3841 lt_ac_count=`expr $lt_ac_count + 1`
3842 if test $lt_ac_count -gt $lt_ac_max; then
3843 lt_ac_max=$lt_ac_count
3844 lt_cv_path_SED=$lt_ac_sed
3845 fi
3846 done
3847done
3848
3849fi
3850
3851SED=$lt_cv_path_SED
3852
3853{ echo "$as_me:$LINENO: result: $SED" >&5
3854echo "${ECHO_T}$SED" >&6; }
3855
3856{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3857echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3858if test "${ac_cv_path_GREP+set}" = set; then
3859 echo $ECHO_N "(cached) $ECHO_C" >&6
3860else
3861 # Extract the first word of "grep ggrep" to use in msg output
3862if test -z "$GREP"; then
3863set dummy grep ggrep; ac_prog_name=$2
3864if test "${ac_cv_path_GREP+set}" = set; then
3865 echo $ECHO_N "(cached) $ECHO_C" >&6
3866else
3867 ac_path_GREP_found=false
3868# Loop through the user's path and test for each of PROGNAME-LIST
3869as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3870for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3871do
3872 IFS=$as_save_IFS
3873 test -z "$as_dir" && as_dir=.
3874 for ac_prog in grep ggrep; do
3875 for ac_exec_ext in '' $ac_executable_extensions; do
3876 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3877 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3878 # Check for GNU ac_path_GREP and select it if it is found.
3879 # Check for GNU $ac_path_GREP
3880case `"$ac_path_GREP" --version 2>&1` in
3881*GNU*)
3882 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3883*)
3884 ac_count=0
3885 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3886 while :
3887 do
3888 cat "conftest.in" "conftest.in" >"conftest.tmp"
3889 mv "conftest.tmp" "conftest.in"
3890 cp "conftest.in" "conftest.nl"
3891 echo 'GREP' >> "conftest.nl"
3892 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3893 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3894 ac_count=`expr $ac_count + 1`
3895 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3896 # Best one so far, save it but keep looking for a better one
3897 ac_cv_path_GREP="$ac_path_GREP"
3898 ac_path_GREP_max=$ac_count
3899 fi
3900 # 10*(2^10) chars as input seems more than enough
3901 test $ac_count -gt 10 && break
3902 done
3903 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3904esac
3905
3906
3907 $ac_path_GREP_found && break 3
3908 done
3909done
3910
3911done
3912IFS=$as_save_IFS
3913
3914
3915fi
3916
3917GREP="$ac_cv_path_GREP"
3918if test -z "$GREP"; then
3919 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3920echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3921 { (exit 1); exit 1; }; }
3922fi
3923
3924else
3925 ac_cv_path_GREP=$GREP
3926fi
3927
3928
3929fi
3930{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3931echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3932 GREP="$ac_cv_path_GREP"
3933
3934
3935{ echo "$as_me:$LINENO: checking for egrep" >&5
3936echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3937if test "${ac_cv_path_EGREP+set}" = set; then
3938 echo $ECHO_N "(cached) $ECHO_C" >&6
3939else
3940 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3941 then ac_cv_path_EGREP="$GREP -E"
3942 else
3943 # Extract the first word of "egrep" to use in msg output
3944if test -z "$EGREP"; then
3945set dummy egrep; ac_prog_name=$2
3946if test "${ac_cv_path_EGREP+set}" = set; then
3947 echo $ECHO_N "(cached) $ECHO_C" >&6
3948else
3949 ac_path_EGREP_found=false
3950# Loop through the user's path and test for each of PROGNAME-LIST
3951as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3952for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3953do
3954 IFS=$as_save_IFS
3955 test -z "$as_dir" && as_dir=.
3956 for ac_prog in egrep; do
3957 for ac_exec_ext in '' $ac_executable_extensions; do
3958 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3959 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3960 # Check for GNU ac_path_EGREP and select it if it is found.
3961 # Check for GNU $ac_path_EGREP