2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for lcr 1.7.
5 # Report bugs to <andreas@eversberg.eu>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 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 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir=.
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
279 CONFIG_SHELL=$as_shell
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
307 as_func_ret_success () {
310 as_func_ret_failure () {
315 if as_func_success; then
319 echo as_func_success failed.
322 if as_func_failure; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure; then
336 echo as_func_ret_failure succeeded.
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) || { (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
494 ECHO_C= ECHO_N= ECHO_T=
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
516 mkdir conf$$.dir 2>/dev/null
518 if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 elif ln conf$$.file conf$$ 2>/dev/null; then
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
538 if mkdir -p . 2>/dev/null; then
541 test -d ./-p && rmdir ./-p
545 if test -x / >/dev/null 2>&1; then
548 if ls -dL / >/dev/null 2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
576 exec 7<&0 </dev/null 6>&1
579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580 # so uname gets run too.
581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
586 ac_default_prefix=/usr/local
588 ac_config_libobj_dir=.
594 SHELL=${CONFIG_SHELL-/bin/sh}
596 # Identity of this package.
598 PACKAGE_TARNAME='lcr'
599 PACKAGE_VERSION='1.7'
600 PACKAGE_STRING='lcr 1.7'
601 PACKAGE_BUGREPORT='andreas@eversberg.eu'
603 ac_unique_file="main.c"
604 # Factoring default headers for most tests.
605 ac_includes_default="\
607 #ifdef HAVE_SYS_TYPES_H
608 # include <sys/types.h>
610 #ifdef HAVE_SYS_STAT_H
611 # include <sys/stat.h>
617 # ifdef HAVE_STDLIB_H
622 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
627 #ifdef HAVE_STRINGS_H
628 # include <strings.h>
630 #ifdef HAVE_INTTYPES_H
631 # include <inttypes.h>
640 ac_subst_vars='am__EXEEXT_FALSE
650 ENABLE_ASTERISK_CHANNEL_DRIVER_FALSE
651 ENABLE_ASTERISK_CHANNEL_DRIVER_TRUE
675 INSTALL_STRIP_PROGRAM
727 program_transform_name
739 enable_option_checking
740 enable_dependency_tracking
746 ac_precious_vars='build_alias
760 # Initialize some variables set by options.
762 ac_init_version=false
763 ac_unrecognized_opts=
765 # The variables have the same names as the options, with
766 # dashes changed to underlines.
774 program_transform_name=s,x,x,
782 # Installation directory options.
783 # These are left unexpanded so users can "make install exec_prefix=/foo"
784 # and all the variables that are supposed to be based on exec_prefix
785 # by default will actually change.
786 # Use braces instead of parens because sh, perl, etc. also accept them.
787 # (The list follows the same order as the GNU Coding Standards.)
788 bindir='${exec_prefix}/bin'
789 sbindir='${exec_prefix}/sbin'
790 libexecdir='${exec_prefix}/libexec'
791 datarootdir='${prefix}/share'
792 datadir='${datarootdir}'
793 sysconfdir='${prefix}/etc'
794 sharedstatedir='${prefix}/com'
795 localstatedir='${prefix}/var'
796 includedir='${prefix}/include'
797 oldincludedir='/usr/include'
798 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
799 infodir='${datarootdir}/info'
804 libdir='${exec_prefix}/lib'
805 localedir='${datarootdir}/locale'
806 mandir='${datarootdir}/man'
812 # If the previous option needs an argument, assign it.
813 if test -n "$ac_prev"; then
814 eval $ac_prev=\$ac_option
820 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
824 # Accept the important Cygnus configure options, so we can diagnose typos.
826 case $ac_dashdash$ac_option in
830 -bindir | --bindir | --bindi | --bind | --bin | --bi)
832 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
835 -build | --build | --buil | --bui | --bu)
836 ac_prev=build_alias ;;
837 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
838 build_alias=$ac_optarg ;;
840 -cache-file | --cache-file | --cache-fil | --cache-fi \
841 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
842 ac_prev=cache_file ;;
843 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
844 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
845 cache_file=$ac_optarg ;;
848 cache_file=config.cache ;;
850 -datadir | --datadir | --datadi | --datad)
852 -datadir=* | --datadir=* | --datadi=* | --datad=*)
853 datadir=$ac_optarg ;;
855 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
856 | --dataroo | --dataro | --datar)
857 ac_prev=datarootdir ;;
858 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
859 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
860 datarootdir=$ac_optarg ;;
862 -disable-* | --disable-*)
863 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
864 # Reject names that are not valid shell variable names.
865 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
866 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
867 { (exit 1); exit 1; }; }
868 ac_useropt_orig=$ac_useropt
869 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
870 case $ac_user_opts in
874 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
875 ac_unrecognized_sep=', ';;
877 eval enable_$ac_useropt=no ;;
879 -docdir | --docdir | --docdi | --doc | --do)
881 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
884 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
886 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
889 -enable-* | --enable-*)
890 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
891 # Reject names that are not valid shell variable names.
892 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
893 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
894 { (exit 1); exit 1; }; }
895 ac_useropt_orig=$ac_useropt
896 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
897 case $ac_user_opts in
901 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
902 ac_unrecognized_sep=', ';;
904 eval enable_$ac_useropt=\$ac_optarg ;;
906 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
907 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
908 | --exec | --exe | --ex)
909 ac_prev=exec_prefix ;;
910 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
911 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
912 | --exec=* | --exe=* | --ex=*)
913 exec_prefix=$ac_optarg ;;
915 -gas | --gas | --ga | --g)
916 # Obsolete; use --with-gas.
919 -help | --help | --hel | --he | -h)
921 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
922 ac_init_help=recursive ;;
923 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
924 ac_init_help=short ;;
926 -host | --host | --hos | --ho)
927 ac_prev=host_alias ;;
928 -host=* | --host=* | --hos=* | --ho=*)
929 host_alias=$ac_optarg ;;
931 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
933 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
935 htmldir=$ac_optarg ;;
937 -includedir | --includedir | --includedi | --included | --include \
938 | --includ | --inclu | --incl | --inc)
939 ac_prev=includedir ;;
940 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
941 | --includ=* | --inclu=* | --incl=* | --inc=*)
942 includedir=$ac_optarg ;;
944 -infodir | --infodir | --infodi | --infod | --info | --inf)
946 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
947 infodir=$ac_optarg ;;
949 -libdir | --libdir | --libdi | --libd)
951 -libdir=* | --libdir=* | --libdi=* | --libd=*)
954 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
955 | --libexe | --libex | --libe)
956 ac_prev=libexecdir ;;
957 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
958 | --libexe=* | --libex=* | --libe=*)
959 libexecdir=$ac_optarg ;;
961 -localedir | --localedir | --localedi | --localed | --locale)
963 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
964 localedir=$ac_optarg ;;
966 -localstatedir | --localstatedir | --localstatedi | --localstated \
967 | --localstate | --localstat | --localsta | --localst | --locals)
968 ac_prev=localstatedir ;;
969 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
970 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
971 localstatedir=$ac_optarg ;;
973 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
975 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
979 # Obsolete; use --without-fp.
982 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
983 | --no-cr | --no-c | -n)
986 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
987 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
990 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
991 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
992 | --oldin | --oldi | --old | --ol | --o)
993 ac_prev=oldincludedir ;;
994 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
995 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
996 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
997 oldincludedir=$ac_optarg ;;
999 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1001 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1002 prefix=$ac_optarg ;;
1004 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1005 | --program-pre | --program-pr | --program-p)
1006 ac_prev=program_prefix ;;
1007 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1008 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1009 program_prefix=$ac_optarg ;;
1011 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1012 | --program-suf | --program-su | --program-s)
1013 ac_prev=program_suffix ;;
1014 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1015 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1016 program_suffix=$ac_optarg ;;
1018 -program-transform-name | --program-transform-name \
1019 | --program-transform-nam | --program-transform-na \
1020 | --program-transform-n | --program-transform- \
1021 | --program-transform | --program-transfor \
1022 | --program-transfo | --program-transf \
1023 | --program-trans | --program-tran \
1024 | --progr-tra | --program-tr | --program-t)
1025 ac_prev=program_transform_name ;;
1026 -program-transform-name=* | --program-transform-name=* \
1027 | --program-transform-nam=* | --program-transform-na=* \
1028 | --program-transform-n=* | --program-transform-=* \
1029 | --program-transform=* | --program-transfor=* \
1030 | --program-transfo=* | --program-transf=* \
1031 | --program-trans=* | --program-tran=* \
1032 | --progr-tra=* | --program-tr=* | --program-t=*)
1033 program_transform_name=$ac_optarg ;;
1035 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1037 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1038 pdfdir=$ac_optarg ;;
1040 -psdir | --psdir | --psdi | --psd | --ps)
1042 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1045 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1046 | -silent | --silent | --silen | --sile | --sil)
1049 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1051 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1053 sbindir=$ac_optarg ;;
1055 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1056 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1057 | --sharedst | --shareds | --shared | --share | --shar \
1059 ac_prev=sharedstatedir ;;
1060 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1061 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1062 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1064 sharedstatedir=$ac_optarg ;;
1066 -site | --site | --sit)
1068 -site=* | --site=* | --sit=*)
1071 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1073 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1074 srcdir=$ac_optarg ;;
1076 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1077 | --syscon | --sysco | --sysc | --sys | --sy)
1078 ac_prev=sysconfdir ;;
1079 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1080 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1081 sysconfdir=$ac_optarg ;;
1083 -target | --target | --targe | --targ | --tar | --ta | --t)
1084 ac_prev=target_alias ;;
1085 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1086 target_alias=$ac_optarg ;;
1088 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1091 -version | --version | --versio | --versi | --vers | -V)
1092 ac_init_version=: ;;
1095 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1096 # Reject names that are not valid shell variable names.
1097 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1098 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1099 { (exit 1); exit 1; }; }
1100 ac_useropt_orig=$ac_useropt
1101 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1106 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1107 ac_unrecognized_sep=', ';;
1109 eval with_$ac_useropt=\$ac_optarg ;;
1111 -without-* | --without-*)
1112 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1115 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1116 { (exit 1); exit 1; }; }
1117 ac_useropt_orig=$ac_useropt
1118 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119 case $ac_user_opts in
1123 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1124 ac_unrecognized_sep=', ';;
1126 eval with_$ac_useropt=no ;;
1129 # Obsolete; use --with-x.
1132 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1133 | --x-incl | --x-inc | --x-in | --x-i)
1134 ac_prev=x_includes ;;
1135 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1136 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1137 x_includes=$ac_optarg ;;
1139 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1140 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1141 ac_prev=x_libraries ;;
1142 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1143 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1144 x_libraries=$ac_optarg ;;
1146 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1147 Try \`$0 --help' for more information." >&2
1148 { (exit 1); exit 1; }; }
1152 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1155 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1156 { (exit 1); exit 1; }; }
1157 eval $ac_envvar=\$ac_optarg
1158 export $ac_envvar ;;
1161 # FIXME: should be removed in autoconf 3.0.
1162 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1163 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1164 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1165 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1171 if test -n "$ac_prev"; then
1172 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1173 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1174 { (exit 1); exit 1; }; }
1177 if test -n "$ac_unrecognized_opts"; then
1178 case $enable_option_checking in
1180 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1181 { (exit 1); exit 1; }; } ;;
1182 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1186 # Check all directory arguments for consistency.
1187 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1188 datadir sysconfdir sharedstatedir localstatedir includedir \
1189 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1190 libdir localedir mandir
1192 eval ac_val=\$$ac_var
1193 # Remove trailing slashes.
1196 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1197 eval $ac_var=\$ac_val;;
1199 # Be sure to have absolute directory names.
1201 [\\/$]* | ?:[\\/]* ) continue;;
1202 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1204 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1205 { (exit 1); exit 1; }; }
1208 # There might be people who depend on the old broken behavior: `$host'
1209 # used to hold the argument of --host etc.
1210 # FIXME: To remove some day.
1213 target=$target_alias
1215 # FIXME: To remove some day.
1216 if test "x$host_alias" != x; then
1217 if test "x$build_alias" = x; then
1218 cross_compiling=maybe
1219 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1220 If a cross compiler is detected then cross compile mode will be used." >&2
1221 elif test "x$build_alias" != "x$host_alias"; then
1227 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1229 test "$silent" = yes && exec 6>/dev/null
1232 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1233 ac_ls_di=`ls -di .` &&
1234 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1235 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1236 { (exit 1); exit 1; }; }
1237 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1238 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1239 { (exit 1); exit 1; }; }
1242 # Find the source files, if location was not specified.
1243 if test -z "$srcdir"; then
1244 ac_srcdir_defaulted=yes
1245 # Try the directory containing this script, then the parent directory.
1246 ac_confdir=`$as_dirname -- "$as_myself" ||
1247 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1248 X"$as_myself" : 'X\(//\)[^/]' \| \
1249 X"$as_myself" : 'X\(//\)$' \| \
1250 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1251 $as_echo X"$as_myself" |
1252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1270 if test ! -r "$srcdir/$ac_unique_file"; then
1274 ac_srcdir_defaulted=no
1276 if test ! -r "$srcdir/$ac_unique_file"; then
1277 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1278 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1279 { (exit 1); exit 1; }; }
1281 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1283 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1284 { (exit 1); exit 1; }; }
1286 # When building in place, set srcdir=.
1287 if test "$ac_abs_confdir" = "$ac_pwd"; then
1290 # Remove unnecessary trailing slashes from srcdir.
1291 # Double slashes in file names in object file debugging info
1292 # mess up M-x gdb in Emacs.
1294 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1296 for ac_var in $ac_precious_vars; do
1297 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1298 eval ac_env_${ac_var}_value=\$${ac_var}
1299 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1300 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1304 # Report the --help message.
1306 if test "$ac_init_help" = "long"; then
1307 # Omit some internal or obsolete options to make the list less imposing.
1308 # This message is too long to be a string in the A/UX 3.1 sh.
1310 \`configure' configures lcr 1.7 to adapt to many kinds of systems.
1312 Usage: $0 [OPTION]... [VAR=VALUE]...
1314 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1315 VAR=VALUE. See below for descriptions of some of the useful variables.
1317 Defaults for the options are specified in brackets.
1320 -h, --help display this help and exit
1321 --help=short display options specific to this package
1322 --help=recursive display the short help of all the included packages
1323 -V, --version display version information and exit
1324 -q, --quiet, --silent do not print \`checking...' messages
1325 --cache-file=FILE cache test results in FILE [disabled]
1326 -C, --config-cache alias for \`--cache-file=config.cache'
1327 -n, --no-create do not create output files
1328 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1330 Installation directories:
1331 --prefix=PREFIX install architecture-independent files in PREFIX
1332 [$ac_default_prefix]
1333 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1336 By default, \`make install' will install all the files in
1337 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1338 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1339 for instance \`--prefix=\$HOME'.
1341 For better control, use the options below.
1343 Fine tuning of the installation directories:
1344 --bindir=DIR user executables [EPREFIX/bin]
1345 --sbindir=DIR system admin executables [EPREFIX/sbin]
1346 --libexecdir=DIR program executables [EPREFIX/libexec]
1347 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1348 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1349 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1350 --libdir=DIR object code libraries [EPREFIX/lib]
1351 --includedir=DIR C header files [PREFIX/include]
1352 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1353 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1354 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1355 --infodir=DIR info documentation [DATAROOTDIR/info]
1356 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1357 --mandir=DIR man documentation [DATAROOTDIR/man]
1358 --docdir=DIR documentation root [DATAROOTDIR/doc/lcr]
1359 --htmldir=DIR html documentation [DOCDIR]
1360 --dvidir=DIR dvi documentation [DOCDIR]
1361 --pdfdir=DIR pdf documentation [DOCDIR]
1362 --psdir=DIR ps documentation [DOCDIR]
1368 --program-prefix=PREFIX prepend PREFIX to installed program names
1369 --program-suffix=SUFFIX append SUFFIX to installed program names
1370 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1374 if test -n "$ac_init_help"; then
1375 case $ac_init_help in
1376 short | recursive ) echo "Configuration of lcr 1.7:";;
1381 --disable-option-checking ignore unrecognized --enable/--with options
1382 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1383 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1384 --disable-dependency-tracking speeds up one-time build
1385 --enable-dependency-tracking do not reject slow dependency extractors
1388 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1389 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1390 --with-asterisk compile with built-in Asterisk channel driver
1393 --with-ssl compile with ssl support (libcrypto) [default=check]
1395 --with-gsm compile with OpenBSC support [default=check]
1397 --with-ss5 compile with CCITT No. 5 support [default=no]
1400 Some influential environment variables:
1401 CC C compiler command
1402 CFLAGS C compiler flags
1403 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1404 nonstandard directory <lib dir>
1405 LIBS libraries to pass to the linker, e.g. -l<library>
1406 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1407 you have headers in a nonstandard directory <include dir>
1409 CXX C++ compiler command
1410 CXXFLAGS C++ compiler flags
1412 Use these variables to override the choices made by `configure' or to help
1413 it to find libraries and programs with nonstandard names/locations.
1415 Report bugs to <andreas@eversberg.eu>.
1420 if test "$ac_init_help" = "recursive"; then
1421 # If there are subdirs, report their specific --help.
1422 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1423 test -d "$ac_dir" ||
1424 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1429 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1431 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1432 # A ".." for each directory in $ac_dir_suffix.
1433 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1434 case $ac_top_builddir_sub in
1435 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1436 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1439 ac_abs_top_builddir=$ac_pwd
1440 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1441 # for backward compatibility:
1442 ac_top_builddir=$ac_top_build_prefix
1445 .) # We are building in place.
1447 ac_top_srcdir=$ac_top_builddir_sub
1448 ac_abs_top_srcdir=$ac_pwd ;;
1449 [\\/]* | ?:[\\/]* ) # Absolute name.
1450 ac_srcdir=$srcdir$ac_dir_suffix;
1451 ac_top_srcdir=$srcdir
1452 ac_abs_top_srcdir=$srcdir ;;
1454 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1455 ac_top_srcdir=$ac_top_build_prefix$srcdir
1456 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1458 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1460 cd "$ac_dir" || { ac_status=$?; continue; }
1461 # Check for guested configure.
1462 if test -f "$ac_srcdir/configure.gnu"; then
1464 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1465 elif test -f "$ac_srcdir/configure"; then
1467 $SHELL "$ac_srcdir/configure" --help=recursive
1469 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1471 cd "$ac_pwd" || { ac_status=$?; break; }
1475 test -n "$ac_init_help" && exit $ac_status
1476 if $ac_init_version; then
1479 generated by GNU Autoconf 2.63
1481 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1482 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1483 This configure script is free software; the Free Software Foundation
1484 gives unlimited permission to copy, distribute and modify it.
1488 cat >config.log <<_ACEOF
1489 This file contains any messages produced by compilers while
1490 running configure, to aid debugging if configure makes a mistake.
1492 It was created by lcr $as_me 1.7, which was
1493 generated by GNU Autoconf 2.63. Invocation command line was
1505 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1506 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1507 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1508 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1509 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1511 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1512 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1514 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1515 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1516 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1517 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1518 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1519 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1520 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1528 test -z "$as_dir" && as_dir=.
1529 $as_echo "PATH: $as_dir"
1545 # Keep a trace of the command line.
1546 # Strip out --no-create and --no-recursion so they do not pile up.
1547 # Strip out --silent because we don't want to record it for future runs.
1548 # Also quote any args containing shell meta-characters.
1549 # Make two passes to allow for proper duplicate-argument suppression.
1553 ac_must_keep_next=false
1559 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1560 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1561 | -silent | --silent | --silen | --sile | --sil)
1564 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1567 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1569 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1570 if test $ac_must_keep_next = true; then
1571 ac_must_keep_next=false # Got value, back to normal.
1574 *=* | --config-cache | -C | -disable-* | --disable-* \
1575 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1576 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1577 | -with-* | --with-* | -without-* | --without-* | --x)
1578 case "$ac_configure_args0 " in
1579 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1582 -* ) ac_must_keep_next=true ;;
1585 ac_configure_args="$ac_configure_args '$ac_arg'"
1590 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1591 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1593 # When interrupted or exit'd, cleanup temporary files, and complete
1594 # config.log. We remove comments because anyway the quotes in there
1595 # would cause problems or look ugly.
1596 # WARNING: Use '\'' to represent an apostrophe within the trap.
1597 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1598 trap 'exit_status=$?
1599 # Save into config.log some information that might help in debugging.
1604 ## ---------------- ##
1605 ## Cache variables. ##
1606 ## ---------------- ##
1609 # The following way of writing the cache mishandles newlines in values,
1611 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1612 eval ac_val=\$$ac_var
1616 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1617 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1620 _ | IFS | as_nl) ;; #(
1621 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1622 *) $as_unset $ac_var ;;
1627 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1628 *${as_nl}ac_space=\ *)
1630 "s/'\''/'\''\\\\'\'''\''/g;
1631 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1634 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1642 ## ----------------- ##
1643 ## Output variables. ##
1644 ## ----------------- ##
1647 for ac_var in $ac_subst_vars
1649 eval ac_val=\$$ac_var
1651 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1653 $as_echo "$ac_var='\''$ac_val'\''"
1657 if test -n "$ac_subst_files"; then
1659 ## ------------------- ##
1660 ## File substitutions. ##
1661 ## ------------------- ##
1664 for ac_var in $ac_subst_files
1666 eval ac_val=\$$ac_var
1668 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1670 $as_echo "$ac_var='\''$ac_val'\''"
1675 if test -s confdefs.h; then
1685 test "$ac_signal" != 0 &&
1686 $as_echo "$as_me: caught signal $ac_signal"
1687 $as_echo "$as_me: exit $exit_status"
1689 rm -f core *.core core.conftest.* &&
1690 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1693 for ac_signal in 1 2 13 15; do
1694 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1698 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1699 rm -f -r conftest* confdefs.h
1701 # Predefined preprocessor variables.
1703 cat >>confdefs.h <<_ACEOF
1704 #define PACKAGE_NAME "$PACKAGE_NAME"
1708 cat >>confdefs.h <<_ACEOF
1709 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1713 cat >>confdefs.h <<_ACEOF
1714 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1718 cat >>confdefs.h <<_ACEOF
1719 #define PACKAGE_STRING "$PACKAGE_STRING"
1723 cat >>confdefs.h <<_ACEOF
1724 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1728 # Let the site file select an alternate cache file if it wants to.
1729 # Prefer an explicitly selected file to automatically selected ones.
1732 if test -n "$CONFIG_SITE"; then
1733 ac_site_file1=$CONFIG_SITE
1734 elif test "x$prefix" != xNONE; then
1735 ac_site_file1=$prefix/share/config.site
1736 ac_site_file2=$prefix/etc/config.site
1738 ac_site_file1=$ac_default_prefix/share/config.site
1739 ac_site_file2=$ac_default_prefix/etc/config.site
1741 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1743 test "x$ac_site_file" = xNONE && continue
1744 if test -r "$ac_site_file"; then
1745 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1746 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1747 sed 's/^/| /' "$ac_site_file" >&5
1752 if test -r "$cache_file"; then
1753 # Some versions of bash will fail to source /dev/null (special
1754 # files actually), so we avoid doing that.
1755 if test -f "$cache_file"; then
1756 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1757 $as_echo "$as_me: loading cache $cache_file" >&6;}
1759 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1760 *) . "./$cache_file";;
1764 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1765 $as_echo "$as_me: creating cache $cache_file" >&6;}
1769 # Check that the precious variables saved in the cache have kept the same
1771 ac_cache_corrupted=false
1772 for ac_var in $ac_precious_vars; do
1773 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1774 eval ac_new_set=\$ac_env_${ac_var}_set
1775 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1776 eval ac_new_val=\$ac_env_${ac_var}_value
1777 case $ac_old_set,$ac_new_set in
1779 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1780 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1781 ac_cache_corrupted=: ;;
1783 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1784 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1785 ac_cache_corrupted=: ;;
1788 if test "x$ac_old_val" != "x$ac_new_val"; then
1789 # differences in whitespace do not lead to failure.
1790 ac_old_val_w=`echo x $ac_old_val`
1791 ac_new_val_w=`echo x $ac_new_val`
1792 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1793 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1794 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1795 ac_cache_corrupted=:
1797 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1798 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1799 eval $ac_var=\$ac_old_val
1801 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1802 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1803 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1804 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1807 # Pass precious variables to config.status.
1808 if test "$ac_new_set" = set; then
1810 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1811 *) ac_arg=$ac_var=$ac_new_val ;;
1813 case " $ac_configure_args " in
1814 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1815 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1819 if $ac_cache_corrupted; then
1820 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1822 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1823 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1824 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1825 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1826 { (exit 1); exit 1; }; }
1854 ac_cpp='$CPP $CPPFLAGS'
1855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1862 ac_config_headers="$ac_config_headers config.h"
1865 # fix warnings from autoconf + automake
1867 ac_cpp='$CPP $CPPFLAGS'
1868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1871 if test -n "$ac_tool_prefix"; then
1872 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1873 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1874 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1875 $as_echo_n "checking for $ac_word... " >&6; }
1876 if test "${ac_cv_prog_CC+set}" = set; then
1877 $as_echo_n "(cached) " >&6
1879 if test -n "$CC"; then
1880 ac_cv_prog_CC="$CC" # Let the user override the test.
1882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1886 test -z "$as_dir" && as_dir=.
1887 for ac_exec_ext in '' $ac_executable_extensions; do
1888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1889 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1890 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1900 if test -n "$CC"; then
1901 { $as_echo "$as_me:$LINENO: result: $CC" >&5
1902 $as_echo "$CC" >&6; }
1904 { $as_echo "$as_me:$LINENO: result: no" >&5
1905 $as_echo "no" >&6; }
1910 if test -z "$ac_cv_prog_CC"; then
1912 # Extract the first word of "gcc", so it can be a program name with args.
1913 set dummy gcc; ac_word=$2
1914 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1915 $as_echo_n "checking for $ac_word... " >&6; }
1916 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1917 $as_echo_n "(cached) " >&6
1919 if test -n "$ac_ct_CC"; then
1920 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1926 test -z "$as_dir" && as_dir=.
1927 for ac_exec_ext in '' $ac_executable_extensions; do
1928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1929 ac_cv_prog_ac_ct_CC="gcc"
1930 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1939 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1940 if test -n "$ac_ct_CC"; then
1941 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1942 $as_echo "$ac_ct_CC" >&6; }
1944 { $as_echo "$as_me:$LINENO: result: no" >&5
1945 $as_echo "no" >&6; }
1948 if test "x$ac_ct_CC" = x; then
1951 case $cross_compiling:$ac_tool_warned in
1953 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
1954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1955 ac_tool_warned=yes ;;
1963 if test -z "$CC"; then
1964 if test -n "$ac_tool_prefix"; then
1965 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1966 set dummy ${ac_tool_prefix}cc; ac_word=$2
1967 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1968 $as_echo_n "checking for $ac_word... " >&6; }
1969 if test "${ac_cv_prog_CC+set}" = set; then
1970 $as_echo_n "(cached) " >&6
1972 if test -n "$CC"; then
1973 ac_cv_prog_CC="$CC" # Let the user override the test.
1975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1979 test -z "$as_dir" && as_dir=.
1980 for ac_exec_ext in '' $ac_executable_extensions; do
1981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1982 ac_cv_prog_CC="${ac_tool_prefix}cc"
1983 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1993 if test -n "$CC"; then
1994 { $as_echo "$as_me:$LINENO: result: $CC" >&5
1995 $as_echo "$CC" >&6; }
1997 { $as_echo "$as_me:$LINENO: result: no" >&5
1998 $as_echo "no" >&6; }
2004 if test -z "$CC"; then
2005 # Extract the first word of "cc", so it can be a program name with args.
2006 set dummy cc; ac_word=$2
2007 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2008 $as_echo_n "checking for $ac_word... " >&6; }
2009 if test "${ac_cv_prog_CC+set}" = set; then
2010 $as_echo_n "(cached) " >&6
2012 if test -n "$CC"; then
2013 ac_cv_prog_CC="$CC" # Let the user override the test.
2016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2020 test -z "$as_dir" && as_dir=.
2021 for ac_exec_ext in '' $ac_executable_extensions; do
2022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2023 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2024 ac_prog_rejected=yes
2028 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2035 if test $ac_prog_rejected = yes; then
2036 # We found a bogon in the path, so make sure we never use it.
2037 set dummy $ac_cv_prog_CC
2039 if test $# != 0; then
2040 # We chose a different compiler from the bogus one.
2041 # However, it has the same basename, so the bogon will be chosen
2042 # first if we set CC to just the basename; use the full file name.
2044 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2050 if test -n "$CC"; then
2051 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2052 $as_echo "$CC" >&6; }
2054 { $as_echo "$as_me:$LINENO: result: no" >&5
2055 $as_echo "no" >&6; }
2060 if test -z "$CC"; then
2061 if test -n "$ac_tool_prefix"; then
2062 for ac_prog in cl.exe
2064 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2065 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2066 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2067 $as_echo_n "checking for $ac_word... " >&6; }
2068 if test "${ac_cv_prog_CC+set}" = set; then
2069 $as_echo_n "(cached) " >&6
2071 if test -n "$CC"; then
2072 ac_cv_prog_CC="$CC" # Let the user override the test.
2074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2078 test -z "$as_dir" && as_dir=.
2079 for ac_exec_ext in '' $ac_executable_extensions; do
2080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2081 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2082 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2092 if test -n "$CC"; then
2093 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2094 $as_echo "$CC" >&6; }
2096 { $as_echo "$as_me:$LINENO: result: no" >&5
2097 $as_echo "no" >&6; }
2101 test -n "$CC" && break
2104 if test -z "$CC"; then
2106 for ac_prog in cl.exe
2108 # Extract the first word of "$ac_prog", so it can be a program name with args.
2109 set dummy $ac_prog; ac_word=$2
2110 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2111 $as_echo_n "checking for $ac_word... " >&6; }
2112 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2113 $as_echo_n "(cached) " >&6
2115 if test -n "$ac_ct_CC"; then
2116 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2122 test -z "$as_dir" && as_dir=.
2123 for ac_exec_ext in '' $ac_executable_extensions; do
2124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2125 ac_cv_prog_ac_ct_CC="$ac_prog"
2126 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2135 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2136 if test -n "$ac_ct_CC"; then
2137 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2138 $as_echo "$ac_ct_CC" >&6; }
2140 { $as_echo "$as_me:$LINENO: result: no" >&5
2141 $as_echo "no" >&6; }
2145 test -n "$ac_ct_CC" && break
2148 if test "x$ac_ct_CC" = x; then
2151 case $cross_compiling:$ac_tool_warned in
2153 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2155 ac_tool_warned=yes ;;
2164 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2166 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2167 See \`config.log' for more details." >&5
2168 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2169 See \`config.log' for more details." >&2;}
2170 { (exit 1); exit 1; }; }; }
2172 # Provide some information about the compiler.
2173 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2176 { (ac_try="$ac_compiler --version >&5"
2178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2179 *) ac_try_echo=$ac_try;;
2181 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2182 $as_echo "$ac_try_echo") >&5
2183 (eval "$ac_compiler --version >&5") 2>&5
2185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186 (exit $ac_status); }
2187 { (ac_try="$ac_compiler -v >&5"
2189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2190 *) ac_try_echo=$ac_try;;
2192 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2193 $as_echo "$ac_try_echo") >&5
2194 (eval "$ac_compiler -v >&5") 2>&5
2196 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2197 (exit $ac_status); }
2198 { (ac_try="$ac_compiler -V >&5"
2200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2201 *) ac_try_echo=$ac_try;;
2203 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2204 $as_echo "$ac_try_echo") >&5
2205 (eval "$ac_compiler -V >&5") 2>&5
2207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208 (exit $ac_status); }
2210 cat >conftest.$ac_ext <<_ACEOF
2213 cat confdefs.h >>conftest.$ac_ext
2214 cat >>conftest.$ac_ext <<_ACEOF
2215 /* end confdefs.h. */
2225 ac_clean_files_save=$ac_clean_files
2226 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2227 # Try to create an executable without -o first, disregard a.out.
2228 # It will help us diagnose broken compilers, and finding out an intuition
2230 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2231 $as_echo_n "checking for C compiler default output file name... " >&6; }
2232 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2234 # The possible output files:
2235 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2238 for ac_file in $ac_files
2241 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2242 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2247 if { (ac_try="$ac_link_default"
2249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2250 *) ac_try_echo=$ac_try;;
2252 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2253 $as_echo "$ac_try_echo") >&5
2254 (eval "$ac_link_default") 2>&5
2256 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2257 (exit $ac_status); }; then
2258 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2259 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2260 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2261 # so that the user can short-circuit this test for compilers unknown to
2263 for ac_file in $ac_files ''
2265 test -f "$ac_file" || continue
2267 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2270 # We found the default executable, but exeext='' is most
2274 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2276 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2278 # We set ac_cv_exeext here because the later test for it is not
2279 # safe: cross compilers may not add the suffix if given an `-o'
2280 # argument, so we may need to know it at that point already.
2281 # Even if this section looks crufty: it has the advantage of
2288 test "$ac_cv_exeext" = no && ac_cv_exeext=
2294 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2295 $as_echo "$ac_file" >&6; }
2296 if test -z "$ac_file"; then
2297 $as_echo "$as_me: failed program was:" >&5
2298 sed 's/^/| /' conftest.$ac_ext >&5
2300 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2302 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2303 See \`config.log' for more details." >&5
2304 $as_echo "$as_me: error: C compiler cannot create executables
2305 See \`config.log' for more details." >&2;}
2306 { (exit 77); exit 77; }; }; }
2309 ac_exeext=$ac_cv_exeext
2311 # Check that the compiler produces executables we can run. If not, either
2312 # the compiler is broken, or we cross compile.
2313 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2314 $as_echo_n "checking whether the C compiler works... " >&6; }
2315 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2316 # If not cross compiling, check that we can run a simple program.
2317 if test "$cross_compiling" != yes; then
2318 if { ac_try='./$ac_file'
2319 { (case "(($ac_try" in
2320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2321 *) ac_try_echo=$ac_try;;
2323 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2324 $as_echo "$ac_try_echo") >&5
2325 (eval "$ac_try") 2>&5
2327 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); }; }; then
2331 if test "$cross_compiling" = maybe; then
2334 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2335 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2336 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2337 If you meant to cross compile, use \`--host'.
2338 See \`config.log' for more details." >&5
2339 $as_echo "$as_me: error: cannot run C compiled programs.
2340 If you meant to cross compile, use \`--host'.
2341 See \`config.log' for more details." >&2;}
2342 { (exit 1); exit 1; }; }; }
2346 { $as_echo "$as_me:$LINENO: result: yes" >&5
2347 $as_echo "yes" >&6; }
2349 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2350 ac_clean_files=$ac_clean_files_save
2351 # Check that the compiler produces executables we can run. If not, either
2352 # the compiler is broken, or we cross compile.
2353 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2354 $as_echo_n "checking whether we are cross compiling... " >&6; }
2355 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2356 $as_echo "$cross_compiling" >&6; }
2358 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2359 $as_echo_n "checking for suffix of executables... " >&6; }
2360 if { (ac_try="$ac_link"
2362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2363 *) ac_try_echo=$ac_try;;
2365 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2366 $as_echo "$ac_try_echo") >&5
2367 (eval "$ac_link") 2>&5
2369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370 (exit $ac_status); }; then
2371 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2372 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2373 # work properly (i.e., refer to `conftest.exe'), while it won't with
2375 for ac_file in conftest.exe conftest conftest.*; do
2376 test -f "$ac_file" || continue
2378 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2379 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2385 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2387 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2388 See \`config.log' for more details." >&5
2389 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2390 See \`config.log' for more details." >&2;}
2391 { (exit 1); exit 1; }; }; }
2394 rm -f conftest$ac_cv_exeext
2395 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2396 $as_echo "$ac_cv_exeext" >&6; }
2398 rm -f conftest.$ac_ext
2399 EXEEXT=$ac_cv_exeext
2401 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2402 $as_echo_n "checking for suffix of object files... " >&6; }
2403 if test "${ac_cv_objext+set}" = set; then
2404 $as_echo_n "(cached) " >&6
2406 cat >conftest.$ac_ext <<_ACEOF
2409 cat confdefs.h >>conftest.$ac_ext
2410 cat >>conftest.$ac_ext <<_ACEOF
2411 /* end confdefs.h. */
2421 rm -f conftest.o conftest.obj
2422 if { (ac_try="$ac_compile"
2424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2425 *) ac_try_echo=$ac_try;;
2427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2428 $as_echo "$ac_try_echo") >&5
2429 (eval "$ac_compile") 2>&5
2431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432 (exit $ac_status); }; then
2433 for ac_file in conftest.o conftest.obj conftest.*; do
2434 test -f "$ac_file" || continue;
2436 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2437 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2442 $as_echo "$as_me: failed program was:" >&5
2443 sed 's/^/| /' conftest.$ac_ext >&5
2445 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2447 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2448 See \`config.log' for more details." >&5
2449 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2450 See \`config.log' for more details." >&2;}
2451 { (exit 1); exit 1; }; }; }
2454 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2456 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2457 $as_echo "$ac_cv_objext" >&6; }
2458 OBJEXT=$ac_cv_objext
2460 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2461 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2462 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2463 $as_echo_n "(cached) " >&6
2465 cat >conftest.$ac_ext <<_ACEOF
2468 cat confdefs.h >>conftest.$ac_ext
2469 cat >>conftest.$ac_ext <<_ACEOF
2470 /* end confdefs.h. */
2483 rm -f conftest.$ac_objext
2484 if { (ac_try="$ac_compile"
2486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2487 *) ac_try_echo=$ac_try;;
2489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2490 $as_echo "$ac_try_echo") >&5
2491 (eval "$ac_compile") 2>conftest.er1
2493 grep -v '^ *+' conftest.er1 >conftest.err
2495 cat conftest.err >&5
2496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 (exit $ac_status); } && {
2498 test -z "$ac_c_werror_flag" ||
2499 test ! -s conftest.err
2500 } && test -s conftest.$ac_objext; then
2503 $as_echo "$as_me: failed program was:" >&5
2504 sed 's/^/| /' conftest.$ac_ext >&5
2509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2510 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2513 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2514 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2515 if test $ac_compiler_gnu = yes; then
2520 ac_test_CFLAGS=${CFLAGS+set}
2521 ac_save_CFLAGS=$CFLAGS
2522 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2523 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2524 if test "${ac_cv_prog_cc_g+set}" = set; then
2525 $as_echo_n "(cached) " >&6
2527 ac_save_c_werror_flag=$ac_c_werror_flag
2528 ac_c_werror_flag=yes
2531 cat >conftest.$ac_ext <<_ACEOF
2534 cat confdefs.h >>conftest.$ac_ext
2535 cat >>conftest.$ac_ext <<_ACEOF
2536 /* end confdefs.h. */
2546 rm -f conftest.$ac_objext
2547 if { (ac_try="$ac_compile"
2549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2550 *) ac_try_echo=$ac_try;;
2552 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2553 $as_echo "$ac_try_echo") >&5
2554 (eval "$ac_compile") 2>conftest.er1
2556 grep -v '^ *+' conftest.er1 >conftest.err
2558 cat conftest.err >&5
2559 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560 (exit $ac_status); } && {
2561 test -z "$ac_c_werror_flag" ||
2562 test ! -s conftest.err
2563 } && test -s conftest.$ac_objext; then
2566 $as_echo "$as_me: failed program was:" >&5
2567 sed 's/^/| /' conftest.$ac_ext >&5
2570 cat >conftest.$ac_ext <<_ACEOF
2573 cat confdefs.h >>conftest.$ac_ext
2574 cat >>conftest.$ac_ext <<_ACEOF
2575 /* end confdefs.h. */
2585 rm -f conftest.$ac_objext
2586 if { (ac_try="$ac_compile"
2588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2589 *) ac_try_echo=$ac_try;;
2591 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2592 $as_echo "$ac_try_echo") >&5
2593 (eval "$ac_compile") 2>conftest.er1
2595 grep -v '^ *+' conftest.er1 >conftest.err
2597 cat conftest.err >&5
2598 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); } && {
2600 test -z "$ac_c_werror_flag" ||
2601 test ! -s conftest.err
2602 } && test -s conftest.$ac_objext; then
2605 $as_echo "$as_me: failed program was:" >&5
2606 sed 's/^/| /' conftest.$ac_ext >&5
2608 ac_c_werror_flag=$ac_save_c_werror_flag
2610 cat >conftest.$ac_ext <<_ACEOF
2613 cat confdefs.h >>conftest.$ac_ext
2614 cat >>conftest.$ac_ext <<_ACEOF
2615 /* end confdefs.h. */
2625 rm -f conftest.$ac_objext
2626 if { (ac_try="$ac_compile"
2628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2629 *) ac_try_echo=$ac_try;;
2631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2632 $as_echo "$ac_try_echo") >&5
2633 (eval "$ac_compile") 2>conftest.er1
2635 grep -v '^ *+' conftest.er1 >conftest.err
2637 cat conftest.err >&5
2638 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); } && {
2640 test -z "$ac_c_werror_flag" ||
2641 test ! -s conftest.err
2642 } && test -s conftest.$ac_objext; then
2645 $as_echo "$as_me: failed program was:" >&5
2646 sed 's/^/| /' conftest.$ac_ext >&5
2651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2658 ac_c_werror_flag=$ac_save_c_werror_flag
2660 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2661 $as_echo "$ac_cv_prog_cc_g" >&6; }
2662 if test "$ac_test_CFLAGS" = set; then
2663 CFLAGS=$ac_save_CFLAGS
2664 elif test $ac_cv_prog_cc_g = yes; then
2665 if test "$GCC" = yes; then
2671 if test "$GCC" = yes; then
2677 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2678 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2679 if test "${ac_cv_prog_cc_c89+set}" = set; then
2680 $as_echo_n "(cached) " >&6
2682 ac_cv_prog_cc_c89=no
2684 cat >conftest.$ac_ext <<_ACEOF
2687 cat confdefs.h >>conftest.$ac_ext
2688 cat >>conftest.$ac_ext <<_ACEOF
2689 /* end confdefs.h. */
2692 #include <sys/types.h>
2693 #include <sys/stat.h>
2694 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2695 struct buf { int x; };
2696 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2697 static char *e (p, i)
2703 static char *f (char * (*g) (char **, int), char **p, ...)
2708 s = g (p, va_arg (v,int));
2713 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2714 function prototypes and stuff, but not '\xHH' hex character constants.
2715 These don't provoke an error unfortunately, instead are silently treated
2716 as 'x'. The following induces an error, until -std is added to get
2717 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2718 array size at least. It's necessary to write '\x00'==0 to get something
2719 that's true only with -std. */
2720 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2722 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2723 inside strings and character constants. */
2725 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2727 int test (int i, double x);
2728 struct s1 {int (*f) (int a);};
2729 struct s2 {int (*f) (double a);};
2730 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2736 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2741 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2742 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2744 CC="$ac_save_CC $ac_arg"
2745 rm -f conftest.$ac_objext
2746 if { (ac_try="$ac_compile"
2748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2749 *) ac_try_echo=$ac_try;;
2751 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2752 $as_echo "$ac_try_echo") >&5
2753 (eval "$ac_compile") 2>conftest.er1
2755 grep -v '^ *+' conftest.er1 >conftest.err
2757 cat conftest.err >&5
2758 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); } && {
2760 test -z "$ac_c_werror_flag" ||
2761 test ! -s conftest.err
2762 } && test -s conftest.$ac_objext; then
2763 ac_cv_prog_cc_c89=$ac_arg
2765 $as_echo "$as_me: failed program was:" >&5
2766 sed 's/^/| /' conftest.$ac_ext >&5
2771 rm -f core conftest.err conftest.$ac_objext
2772 test "x$ac_cv_prog_cc_c89" != "xno" && break
2774 rm -f conftest.$ac_ext
2779 case "x$ac_cv_prog_cc_c89" in
2781 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2782 $as_echo "none needed" >&6; } ;;
2784 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2785 $as_echo "unsupported" >&6; } ;;
2787 CC="$CC $ac_cv_prog_cc_c89"
2788 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2789 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2794 ac_cpp='$CPP $CPPFLAGS'
2795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2801 ac_cpp='$CPP $CPPFLAGS'
2802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2805 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2806 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2807 # On Suns, sometimes $CPP names a directory.
2808 if test -n "$CPP" && test -d "$CPP"; then
2811 if test -z "$CPP"; then
2812 if test "${ac_cv_prog_CPP+set}" = set; then
2813 $as_echo_n "(cached) " >&6
2815 # Double quotes because CPP needs to be expanded
2816 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2819 for ac_c_preproc_warn_flag in '' yes
2821 # Use a header file that comes with gcc, so configuring glibc
2822 # with a fresh cross-compiler works.
2823 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2824 # <limits.h> exists even on freestanding compilers.
2825 # On the NeXT, cc -E runs the code through the compiler's parser,
2826 # not just through cpp. "Syntax error" is here to catch this case.
2827 cat >conftest.$ac_ext <<_ACEOF
2830 cat confdefs.h >>conftest.$ac_ext
2831 cat >>conftest.$ac_ext <<_ACEOF
2832 /* end confdefs.h. */
2834 # include <limits.h>
2836 # include <assert.h>
2840 if { (ac_try="$ac_cpp conftest.$ac_ext"
2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2846 $as_echo "$ac_try_echo") >&5
2847 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2849 grep -v '^ *+' conftest.er1 >conftest.err
2851 cat conftest.err >&5
2852 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); } >/dev/null && {
2854 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2855 test ! -s conftest.err
2859 $as_echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.$ac_ext >&5
2862 # Broken: fails on valid input.
2866 rm -f conftest.err conftest.$ac_ext
2868 # OK, works on sane cases. Now check whether nonexistent headers
2869 # can be detected and how.
2870 cat >conftest.$ac_ext <<_ACEOF
2873 cat confdefs.h >>conftest.$ac_ext
2874 cat >>conftest.$ac_ext <<_ACEOF
2875 /* end confdefs.h. */
2876 #include <ac_nonexistent.h>
2878 if { (ac_try="$ac_cpp conftest.$ac_ext"
2880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2881 *) ac_try_echo=$ac_try;;
2883 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2884 $as_echo "$ac_try_echo") >&5
2885 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2887 grep -v '^ *+' conftest.er1 >conftest.err
2889 cat conftest.err >&5
2890 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891 (exit $ac_status); } >/dev/null && {
2892 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2893 test ! -s conftest.err
2895 # Broken: success on invalid input.
2898 $as_echo "$as_me: failed program was:" >&5
2899 sed 's/^/| /' conftest.$ac_ext >&5
2901 # Passes both tests.
2906 rm -f conftest.err conftest.$ac_ext
2909 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2910 rm -f conftest.err conftest.$ac_ext
2911 if $ac_preproc_ok; then
2923 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
2924 $as_echo "$CPP" >&6; }
2926 for ac_c_preproc_warn_flag in '' yes
2928 # Use a header file that comes with gcc, so configuring glibc
2929 # with a fresh cross-compiler works.
2930 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2931 # <limits.h> exists even on freestanding compilers.
2932 # On the NeXT, cc -E runs the code through the compiler's parser,
2933 # not just through cpp. "Syntax error" is here to catch this case.
2934 cat >conftest.$ac_ext <<_ACEOF
2937 cat confdefs.h >>conftest.$ac_ext
2938 cat >>conftest.$ac_ext <<_ACEOF
2939 /* end confdefs.h. */
2941 # include <limits.h>
2943 # include <assert.h>
2947 if { (ac_try="$ac_cpp conftest.$ac_ext"
2949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2950 *) ac_try_echo=$ac_try;;
2952 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2953 $as_echo "$ac_try_echo") >&5
2954 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2956 grep -v '^ *+' conftest.er1 >conftest.err
2958 cat conftest.err >&5
2959 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960 (exit $ac_status); } >/dev/null && {
2961 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2962 test ! -s conftest.err
2966 $as_echo "$as_me: failed program was:" >&5
2967 sed 's/^/| /' conftest.$ac_ext >&5
2969 # Broken: fails on valid input.
2973 rm -f conftest.err conftest.$ac_ext
2975 # OK, works on sane cases. Now check whether nonexistent headers
2976 # can be detected and how.
2977 cat >conftest.$ac_ext <<_ACEOF
2980 cat confdefs.h >>conftest.$ac_ext
2981 cat >>conftest.$ac_ext <<_ACEOF
2982 /* end confdefs.h. */
2983 #include <ac_nonexistent.h>
2985 if { (ac_try="$ac_cpp conftest.$ac_ext"
2987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2988 *) ac_try_echo=$ac_try;;
2990 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2991 $as_echo "$ac_try_echo") >&5
2992 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2994 grep -v '^ *+' conftest.er1 >conftest.err
2996 cat conftest.err >&5
2997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998 (exit $ac_status); } >/dev/null && {
2999 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3000 test ! -s conftest.err
3002 # Broken: success on invalid input.
3005 $as_echo "$as_me: failed program was:" >&5
3006 sed 's/^/| /' conftest.$ac_ext >&5
3008 # Passes both tests.
3013 rm -f conftest.err conftest.$ac_ext
3016 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3017 rm -f conftest.err conftest.$ac_ext
3018 if $ac_preproc_ok; then
3021 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3023 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3024 See \`config.log' for more details." >&5
3025 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3026 See \`config.log' for more details." >&2;}
3027 { (exit 1); exit 1; }; }; }
3031 ac_cpp='$CPP $CPPFLAGS'
3032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3037 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3038 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3039 if test "${ac_cv_path_GREP+set}" = set; then
3040 $as_echo_n "(cached) " >&6
3042 if test -z "$GREP"; then
3043 ac_path_GREP_found=false
3044 # Loop through the user's path and test for each of PROGNAME-LIST
3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3046 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3049 test -z "$as_dir" && as_dir=.
3050 for ac_prog in grep ggrep; do
3051 for ac_exec_ext in '' $ac_executable_extensions; do
3052 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3053 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3054 # Check for GNU ac_path_GREP and select it if it is found.
3055 # Check for GNU $ac_path_GREP
3056 case `"$ac_path_GREP" --version 2>&1` in
3058 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3061 $as_echo_n 0123456789 >"conftest.in"
3064 cat "conftest.in" "conftest.in" >"conftest.tmp"
3065 mv "conftest.tmp" "conftest.in"
3066 cp "conftest.in" "conftest.nl"
3067 $as_echo 'GREP' >> "conftest.nl"
3068 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3069 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3070 ac_count=`expr $ac_count + 1`
3071 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3072 # Best one so far, save it but keep looking for a better one
3073 ac_cv_path_GREP="$ac_path_GREP"
3074 ac_path_GREP_max=$ac_count
3076 # 10*(2^10) chars as input seems more than enough
3077 test $ac_count -gt 10 && break
3079 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3082 $ac_path_GREP_found && break 3
3087 if test -z "$ac_cv_path_GREP"; then
3088 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3089 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3090 { (exit 1); exit 1; }; }
3093 ac_cv_path_GREP=$GREP
3097 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3098 $as_echo "$ac_cv_path_GREP" >&6; }
3099 GREP="$ac_cv_path_GREP"
3102 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3103 $as_echo_n "checking for egrep... " >&6; }
3104 if test "${ac_cv_path_EGREP+set}" = set; then
3105 $as_echo_n "(cached) " >&6
3107 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3108 then ac_cv_path_EGREP="$GREP -E"
3110 if test -z "$EGREP"; then
3111 ac_path_EGREP_found=false
3112 # Loop through the user's path and test for each of PROGNAME-LIST
3113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3114 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3117 test -z "$as_dir" && as_dir=.
3118 for ac_prog in egrep; do
3119 for ac_exec_ext in '' $ac_executable_extensions; do
3120 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3121 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3122 # Check for GNU ac_path_EGREP and select it if it is found.
3123 # Check for GNU $ac_path_EGREP
3124 case `"$ac_path_EGREP" --version 2>&1` in
3126 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3129 $as_echo_n 0123456789 >"conftest.in"
3132 cat "conftest.in" "conftest.in" >"conftest.tmp"
3133 mv "conftest.tmp" "conftest.in"
3134 cp "conftest.in" "conftest.nl"
3135 $as_echo 'EGREP' >> "conftest.nl"
3136 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3137 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3138 ac_count=`expr $ac_count + 1`
3139 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3140 # Best one so far, save it but keep looking for a better one
3141 ac_cv_path_EGREP="$ac_path_EGREP"
3142 ac_path_EGREP_max=$ac_count
3144 # 10*(2^10) chars as input seems more than enough
3145 test $ac_count -gt 10 && break
3147 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3150 $ac_path_EGREP_found && break 3
3155 if test -z "$ac_cv_path_EGREP"; then
3156 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3157 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3158 { (exit 1); exit 1; }; }
3161 ac_cv_path_EGREP=$EGREP
3166 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3167 $as_echo "$ac_cv_path_EGREP" >&6; }
3168 EGREP="$ac_cv_path_EGREP"
3171 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3172 $as_echo_n "checking for ANSI C header files... " >&6; }
3173 if test "${ac_cv_header_stdc+set}" = set; then
3174 $as_echo_n "(cached) " >&6
3176 cat >conftest.$ac_ext <<_ACEOF
3179 cat confdefs.h >>conftest.$ac_ext
3180 cat >>conftest.$ac_ext <<_ACEOF
3181 /* end confdefs.h. */
3195 rm -f conftest.$ac_objext
3196 if { (ac_try="$ac_compile"
3198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3199 *) ac_try_echo=$ac_try;;
3201 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3202 $as_echo "$ac_try_echo") >&5
3203 (eval "$ac_compile") 2>conftest.er1
3205 grep -v '^ *+' conftest.er1 >conftest.err
3207 cat conftest.err >&5
3208 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209 (exit $ac_status); } && {
3210 test -z "$ac_c_werror_flag" ||
3211 test ! -s conftest.err
3212 } && test -s conftest.$ac_objext; then
3213 ac_cv_header_stdc=yes
3215 $as_echo "$as_me: failed program was:" >&5
3216 sed 's/^/| /' conftest.$ac_ext >&5
3218 ac_cv_header_stdc=no
3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3223 if test $ac_cv_header_stdc = yes; then
3224 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3225 cat >conftest.$ac_ext <<_ACEOF
3228 cat confdefs.h >>conftest.$ac_ext
3229 cat >>conftest.$ac_ext <<_ACEOF
3230 /* end confdefs.h. */
3234 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3235 $EGREP "memchr" >/dev/null 2>&1; then
3238 ac_cv_header_stdc=no
3244 if test $ac_cv_header_stdc = yes; then
3245 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3246 cat >conftest.$ac_ext <<_ACEOF
3249 cat confdefs.h >>conftest.$ac_ext
3250 cat >>conftest.$ac_ext <<_ACEOF
3251 /* end confdefs.h. */
3255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3256 $EGREP "free" >/dev/null 2>&1; then
3259 ac_cv_header_stdc=no
3265 if test $ac_cv_header_stdc = yes; then
3266 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3267 if test "$cross_compiling" = yes; then
3270 cat >conftest.$ac_ext <<_ACEOF
3273 cat confdefs.h >>conftest.$ac_ext
3274 cat >>conftest.$ac_ext <<_ACEOF
3275 /* end confdefs.h. */
3278 #if ((' ' & 0x0FF) == 0x020)
3279 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3280 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3282 # define ISLOWER(c) \
3283 (('a' <= (c) && (c) <= 'i') \
3284 || ('j' <= (c) && (c) <= 'r') \
3285 || ('s' <= (c) && (c) <= 'z'))
3286 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3289 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3294 for (i = 0; i < 256; i++)
3295 if (XOR (islower (i), ISLOWER (i))
3296 || toupper (i) != TOUPPER (i))
3301 rm -f conftest$ac_exeext
3302 if { (ac_try="$ac_link"
3304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3305 *) ac_try_echo=$ac_try;;
3307 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3308 $as_echo "$ac_try_echo") >&5
3309 (eval "$ac_link") 2>&5
3311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3313 { (case "(($ac_try" in
3314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3315 *) ac_try_echo=$ac_try;;
3317 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3318 $as_echo "$ac_try_echo") >&5
3319 (eval "$ac_try") 2>&5
3321 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322 (exit $ac_status); }; }; then
3325 $as_echo "$as_me: program exited with status $ac_status" >&5
3326 $as_echo "$as_me: failed program was:" >&5
3327 sed 's/^/| /' conftest.$ac_ext >&5
3330 ac_cv_header_stdc=no
3332 rm -rf conftest.dSYM
3333 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3339 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3340 $as_echo "$ac_cv_header_stdc" >&6; }
3341 if test $ac_cv_header_stdc = yes; then
3343 cat >>confdefs.h <<\_ACEOF
3344 #define STDC_HEADERS 1
3349 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3359 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3360 inttypes.h stdint.h unistd.h
3362 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3363 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3364 $as_echo_n "checking for $ac_header... " >&6; }
3365 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3366 $as_echo_n "(cached) " >&6
3368 cat >conftest.$ac_ext <<_ACEOF
3371 cat confdefs.h >>conftest.$ac_ext
3372 cat >>conftest.$ac_ext <<_ACEOF
3373 /* end confdefs.h. */
3374 $ac_includes_default
3376 #include <$ac_header>
3378 rm -f conftest.$ac_objext
3379 if { (ac_try="$ac_compile"
3381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3382 *) ac_try_echo=$ac_try;;
3384 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3385 $as_echo "$ac_try_echo") >&5
3386 (eval "$ac_compile") 2>conftest.er1
3388 grep -v '^ *+' conftest.er1 >conftest.err
3390 cat conftest.err >&5
3391 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3392 (exit $ac_status); } && {
3393 test -z "$ac_c_werror_flag" ||
3394 test ! -s conftest.err
3395 } && test -s conftest.$ac_objext; then
3396 eval "$as_ac_Header=yes"
3398 $as_echo "$as_me: failed program was:" >&5
3399 sed 's/^/| /' conftest.$ac_ext >&5
3401 eval "$as_ac_Header=no"
3404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3406 ac_res=`eval 'as_val=${'$as_ac_Header'}
3407 $as_echo "$as_val"'`
3408 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3409 $as_echo "$ac_res" >&6; }
3410 as_val=`eval 'as_val=${'$as_ac_Header'}
3411 $as_echo "$as_val"'`
3412 if test "x$as_val" = x""yes; then
3413 cat >>confdefs.h <<_ACEOF
3414 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3423 if test "${ac_cv_header_minix_config_h+set}" = set; then
3424 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
3425 $as_echo_n "checking for minix/config.h... " >&6; }
3426 if test "${ac_cv_header_minix_config_h+set}" = set; then
3427 $as_echo_n "(cached) " >&6
3429 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3430 $as_echo "$ac_cv_header_minix_config_h" >&6; }
3432 # Is the header compilable?
3433 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3434 $as_echo_n "checking minix/config.h usability... " >&6; }
3435 cat >conftest.$ac_ext <<_ACEOF
3438 cat confdefs.h >>conftest.$ac_ext
3439 cat >>conftest.$ac_ext <<_ACEOF
3440 /* end confdefs.h. */
3441 $ac_includes_default
3442 #include <minix/config.h>
3444 rm -f conftest.$ac_objext
3445 if { (ac_try="$ac_compile"
3447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3448 *) ac_try_echo=$ac_try;;
3450 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3451 $as_echo "$ac_try_echo") >&5
3452 (eval "$ac_compile") 2>conftest.er1
3454 grep -v '^ *+' conftest.er1 >conftest.err
3456 cat conftest.err >&5
3457 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458 (exit $ac_status); } && {
3459 test -z "$ac_c_werror_flag" ||
3460 test ! -s conftest.err
3461 } && test -s conftest.$ac_objext; then
3462 ac_header_compiler=yes
3464 $as_echo "$as_me: failed program was:" >&5
3465 sed 's/^/| /' conftest.$ac_ext >&5
3467 ac_header_compiler=no
3470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3471 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3472 $as_echo "$ac_header_compiler" >&6; }
3474 # Is the header present?
3475 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3476 $as_echo_n "checking minix/config.h presence... " >&6; }
3477 cat >conftest.$ac_ext <<_ACEOF
3480 cat confdefs.h >>conftest.$ac_ext
3481 cat >>conftest.$ac_ext <<_ACEOF
3482 /* end confdefs.h. */
3483 #include <minix/config.h>
3485 if { (ac_try="$ac_cpp conftest.$ac_ext"
3487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3488 *) ac_try_echo=$ac_try;;
3490 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3491 $as_echo "$ac_try_echo") >&5
3492 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3494 grep -v '^ *+' conftest.er1 >conftest.err
3496 cat conftest.err >&5
3497 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); } >/dev/null && {
3499 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3500 test ! -s conftest.err
3502 ac_header_preproc=yes
3504 $as_echo "$as_me: failed program was:" >&5
3505 sed 's/^/| /' conftest.$ac_ext >&5
3507 ac_header_preproc=no
3510 rm -f conftest.err conftest.$ac_ext
3511 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3512 $as_echo "$ac_header_preproc" >&6; }
3514 # So? What about this header?
3515 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3517 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3518 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3519 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3520 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3521 ac_header_preproc=yes
3524 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3525 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3526 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3527 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3528 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3529 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3530 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3531 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3532 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3533 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3534 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3535 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3537 ## ----------------------------------- ##
3538 ## Report this to andreas@eversberg.eu ##
3539 ## ----------------------------------- ##
3541 ) | sed "s/^/$as_me: WARNING: /" >&2
3544 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
3545 $as_echo_n "checking for minix/config.h... " >&6; }
3546 if test "${ac_cv_header_minix_config_h+set}" = set; then
3547 $as_echo_n "(cached) " >&6
3549 ac_cv_header_minix_config_h=$ac_header_preproc
3551 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3552 $as_echo "$ac_cv_header_minix_config_h" >&6; }
3555 if test "x$ac_cv_header_minix_config_h" = x""yes; then
3562 if test "$MINIX" = yes; then
3564 cat >>confdefs.h <<\_ACEOF
3565 #define _POSIX_SOURCE 1
3569 cat >>confdefs.h <<\_ACEOF
3570 #define _POSIX_1_SOURCE 2
3574 cat >>confdefs.h <<\_ACEOF
3582 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3583 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3584 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3585 $as_echo_n "(cached) " >&6
3587 cat >conftest.$ac_ext <<_ACEOF
3590 cat confdefs.h >>conftest.$ac_ext
3591 cat >>conftest.$ac_ext <<_ACEOF
3592 /* end confdefs.h. */
3594 # define __EXTENSIONS__ 1
3595 $ac_includes_default
3604 rm -f conftest.$ac_objext
3605 if { (ac_try="$ac_compile"
3607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3608 *) ac_try_echo=$ac_try;;
3610 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3611 $as_echo "$ac_try_echo") >&5
3612 (eval "$ac_compile") 2>conftest.er1
3614 grep -v '^ *+' conftest.er1 >conftest.err
3616 cat conftest.err >&5
3617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 (exit $ac_status); } && {
3619 test -z "$ac_c_werror_flag" ||
3620 test ! -s conftest.err
3621 } && test -s conftest.$ac_objext; then
3622 ac_cv_safe_to_define___extensions__=yes
3624 $as_echo "$as_me: failed program was:" >&5
3625 sed 's/^/| /' conftest.$ac_ext >&5
3627 ac_cv_safe_to_define___extensions__=no
3630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3632 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
3633 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3634 test $ac_cv_safe_to_define___extensions__ = yes &&
3635 cat >>confdefs.h <<\_ACEOF
3636 #define __EXTENSIONS__ 1
3639 cat >>confdefs.h <<\_ACEOF
3640 #define _ALL_SOURCE 1
3643 cat >>confdefs.h <<\_ACEOF
3644 #define _GNU_SOURCE 1
3647 cat >>confdefs.h <<\_ACEOF
3648 #define _POSIX_PTHREAD_SEMANTICS 1
3651 cat >>confdefs.h <<\_ACEOF
3652 #define _TANDEM_SOURCE 1
3656 # AC_USE_SYSTEM_EXTENSIONS
3657 am__api_version='1.11'
3660 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3661 if test -f "$ac_dir/install-sh"; then
3663 ac_install_sh="$ac_aux_dir/install-sh -c"
3665 elif test -f "$ac_dir/install.sh"; then
3667 ac_install_sh="$ac_aux_dir/install.sh -c"
3669 elif test -f "$ac_dir/shtool"; then
3671 ac_install_sh="$ac_aux_dir/shtool install -c"
3675 if test -z "$ac_aux_dir"; then
3676 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
3677 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
3678 { (exit 1); exit 1; }; }
3681 # These three variables are undocumented and unsupported,
3682 # and are intended to be withdrawn in a future Autoconf release.
3683 # They can cause serious problems if a builder's source tree is in a directory
3684 # whose full name contains unusual characters.
3685 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3686 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3687 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3690 # Find a good install program. We prefer a C program (faster),
3691 # so one script is as good as another. But avoid the broken or
3692 # incompatible versions:
3693 # SysV /etc/install, /usr/sbin/install
3694 # SunOS /usr/etc/install
3695 # IRIX /sbin/install
3697 # AmigaOS /C/install, which installs bootblocks on floppy discs
3698 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3699 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3700 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3701 # OS/2's system install, which has a completely different semantic
3702 # ./install, which can be erroneously created by make from ./install.sh.
3703 # Reject install programs that cannot install multiple files.
3704 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3705 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3706 if test -z "$INSTALL"; then
3707 if test "${ac_cv_path_install+set}" = set; then
3708 $as_echo_n "(cached) " >&6
3710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3714 test -z "$as_dir" && as_dir=.
3715 # Account for people who put trailing slashes in PATH elements.
3717 ./ | .// | /cC/* | \
3718 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3719 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3722 # OSF1 and SCO ODT 3.0 have their own names for install.
3723 # Don't use installbsd from OSF since it installs stuff as root
3725 for ac_prog in ginstall scoinst install; do
3726 for ac_exec_ext in '' $ac_executable_extensions; do
3727 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3728 if test $ac_prog = install &&
3729 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3730 # AIX install. It has an incompatible calling convention.
3732 elif test $ac_prog = install &&
3733 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3734 # program-specific install script used by HP pwplus--don't use.
3737 rm -rf conftest.one conftest.two conftest.dir
3738 echo one > conftest.one
3739 echo two > conftest.two
3741 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3742 test -s conftest.one && test -s conftest.two &&
3743 test -s conftest.dir/conftest.one &&
3744 test -s conftest.dir/conftest.two
3746 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3759 rm -rf conftest.one conftest.two conftest.dir
3762 if test "${ac_cv_path_install+set}" = set; then
3763 INSTALL=$ac_cv_path_install
3765 # As a last resort, use the slow shell script. Don't cache a
3766 # value for INSTALL within a source directory, because that will
3767 # break other packages using the cache if that directory is
3768 # removed, or if the value is a relative name.
3769 INSTALL=$ac_install_sh
3772 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3773 $as_echo "$INSTALL" >&6; }
3775 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3776 # It thinks the first close brace ends the variable substitution.
3777 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3779 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3781 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3783 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3784 $as_echo_n "checking whether build environment is sane... " >&6; }
3787 echo timestamp > conftest.file
3788 # Reject unsafe characters in $srcdir or the absolute working directory
3789 # name. Accept space and tab only in the latter.
3793 *[\\\"\#\$\&\'\`$am_lf]*)
3794 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
3795 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
3796 { (exit 1); exit 1; }; };;
3799 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3800 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
3801 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
3802 { (exit 1); exit 1; }; };;
3805 # Do `set' in a subshell so we don't clobber the current shell's
3806 # arguments. Must try -L first in case configure is actually a
3807 # symlink; some systems play weird games with the mod time of symlinks
3808 # (eg FreeBSD returns the mod time of the symlink's containing
3811 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3812 if test "$*" = "X"; then
3814 set X `ls -t "$srcdir/configure" conftest.file`
3817 if test "$*" != "X $srcdir/configure conftest.file" \
3818 && test "$*" != "X conftest.file $srcdir/configure"; then
3820 # If neither matched, then we have a broken ls. This can happen
3821 # if, for instance, CONFIG_SHELL is bash and it inherits a
3822 # broken ls alias from the environment. This has actually
3823 # happened. Such a system could not be considered "sane".
3824 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3825 alias in your environment" >&5
3826 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3827 alias in your environment" >&2;}
3828 { (exit 1); exit 1; }; }
3831 test "$2" = conftest.file
3837 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3838 Check your system clock" >&5
3839 $as_echo "$as_me: error: newly created file is older than distributed files!
3840 Check your system clock" >&2;}
3841 { (exit 1); exit 1; }; }
3843 { $as_echo "$as_me:$LINENO: result: yes" >&5
3844 $as_echo "yes" >&6; }
3845 test "$program_prefix" != NONE &&
3846 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3847 # Use a double $ so make ignores it.
3848 test "$program_suffix" != NONE &&
3849 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3850 # Double any \ or $.
3851 # By default was `s,x,x', remove it if useless.
3852 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3853 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3855 # expand $ac_aux_dir to an absolute path
3856 am_aux_dir=`cd $ac_aux_dir && pwd`
3858 if test x"${MISSING+set}" != xset; then
3861 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3863 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3866 # Use eval to expand $SHELL
3867 if eval "$MISSING --run true"; then
3868 am_missing_run="$MISSING --run "
3871 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3872 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3875 if test x"${install_sh}" != xset; then
3878 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3880 install_sh="\${SHELL} $am_aux_dir/install-sh"
3884 # Installed binaries are usually stripped using `strip' when the user
3885 # run `make install-strip'. However `strip' might not be the right
3886 # tool to use in cross-compilation environments, therefore Automake
3887 # will honor the `STRIP' environment variable to overrule this program.
3888 if test "$cross_compiling" != no; then
3889 if test -n "$ac_tool_prefix"; then
3890 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3891 set dummy ${ac_tool_prefix}strip; ac_word=$2
3892 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3893 $as_echo_n "checking for $ac_word... " >&6; }
3894 if test "${ac_cv_prog_STRIP+set}" = set; then
3895 $as_echo_n "(cached) " >&6
3897 if test -n "$STRIP"; then
3898 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3904 test -z "$as_dir" && as_dir=.
3905 for ac_exec_ext in '' $ac_executable_extensions; do
3906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3907 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3908 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3917 STRIP=$ac_cv_prog_STRIP
3918 if test -n "$STRIP"; then
3919 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
3920 $as_echo "$STRIP" >&6; }
3922 { $as_echo "$as_me:$LINENO: result: no" >&5
3923 $as_echo "no" >&6; }
3928 if test -z "$ac_cv_prog_STRIP"; then
3930 # Extract the first word of "strip", so it can be a program name with args.
3931 set dummy strip; ac_word=$2
3932 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3933 $as_echo_n "checking for $ac_word... " >&6; }
3934 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3935 $as_echo_n "(cached) " >&6
3937 if test -n "$ac_ct_STRIP"; then
3938 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3944 test -z "$as_dir" && as_dir=.
3945 for ac_exec_ext in '' $ac_executable_extensions; do
3946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3947 ac_cv_prog_ac_ct_STRIP="strip"
3948 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3957 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3958 if test -n "$ac_ct_STRIP"; then
3959 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3960 $as_echo "$ac_ct_STRIP" >&6; }
3962 { $as_echo "$as_me:$LINENO: result: no" >&5
3963 $as_echo "no" >&6; }
3966 if test "x$ac_ct_STRIP" = x; then
3969 case $cross_compiling:$ac_tool_warned in
3971 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3973 ac_tool_warned=yes ;;
3978 STRIP="$ac_cv_prog_STRIP"
3982 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3984 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3985 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3986 if test -z "$MKDIR_P"; then
3987 if test "${ac_cv_path_mkdir+set}" = set; then
3988 $as_echo_n "(cached) " >&6
3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3991 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3994 test -z "$as_dir" && as_dir=.
3995 for ac_prog in mkdir gmkdir; do
3996 for ac_exec_ext in '' $ac_executable_extensions; do
3997 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3998 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3999 'mkdir (GNU coreutils) '* | \
4000 'mkdir (coreutils) '* | \
4001 'mkdir (fileutils) '4.1*)
4002 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4012 if test "${ac_cv_path_mkdir+set}" = set; then
4013 MKDIR_P="$ac_cv_path_mkdir -p"
4015 # As a last resort, use the slow shell script. Don't cache a
4016 # value for MKDIR_P within a source directory, because that will
4017 # break other packages using the cache if that directory is
4018 # removed, or if the value is a relative name.
4019 test -d ./--version && rmdir ./--version
4020 MKDIR_P="$ac_install_sh -d"
4023 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
4024 $as_echo "$MKDIR_P" >&6; }
4028 [\\/$]* | ?:[\\/]*) ;;
4029 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4032 for ac_prog in gawk mawk nawk awk
4034 # Extract the first word of "$ac_prog", so it can be a program name with args.
4035 set dummy $ac_prog; ac_word=$2
4036 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4037 $as_echo_n "checking for $ac_word... " >&6; }
4038 if test "${ac_cv_prog_AWK+set}" = set; then
4039 $as_echo_n "(cached) " >&6
4041 if test -n "$AWK"; then
4042 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4048 test -z "$as_dir" && as_dir=.
4049 for ac_exec_ext in '' $ac_executable_extensions; do
4050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4051 ac_cv_prog_AWK="$ac_prog"
4052 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" &