2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for lcr 1.6.
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.6'
600 PACKAGE_STRING='lcr 1.6'
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='LTLIBOBJS
646 ENABLE_ASTERISK_CHANNEL_DRIVER_FALSE
647 ENABLE_ASTERISK_CHANNEL_DRIVER_TRUE
670 INSTALL_STRIP_PROGRAM
721 program_transform_name
733 enable_option_checking
734 enable_dependency_tracking
739 ac_precious_vars='build_alias
753 # Initialize some variables set by options.
755 ac_init_version=false
756 ac_unrecognized_opts=
758 # The variables have the same names as the options, with
759 # dashes changed to underlines.
767 program_transform_name=s,x,x,
775 # Installation directory options.
776 # These are left unexpanded so users can "make install exec_prefix=/foo"
777 # and all the variables that are supposed to be based on exec_prefix
778 # by default will actually change.
779 # Use braces instead of parens because sh, perl, etc. also accept them.
780 # (The list follows the same order as the GNU Coding Standards.)
781 bindir='${exec_prefix}/bin'
782 sbindir='${exec_prefix}/sbin'
783 libexecdir='${exec_prefix}/libexec'
784 datarootdir='${prefix}/share'
785 datadir='${datarootdir}'
786 sysconfdir='${prefix}/etc'
787 sharedstatedir='${prefix}/com'
788 localstatedir='${prefix}/var'
789 includedir='${prefix}/include'
790 oldincludedir='/usr/include'
791 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
792 infodir='${datarootdir}/info'
797 libdir='${exec_prefix}/lib'
798 localedir='${datarootdir}/locale'
799 mandir='${datarootdir}/man'
805 # If the previous option needs an argument, assign it.
806 if test -n "$ac_prev"; then
807 eval $ac_prev=\$ac_option
813 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
817 # Accept the important Cygnus configure options, so we can diagnose typos.
819 case $ac_dashdash$ac_option in
823 -bindir | --bindir | --bindi | --bind | --bin | --bi)
825 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
828 -build | --build | --buil | --bui | --bu)
829 ac_prev=build_alias ;;
830 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
831 build_alias=$ac_optarg ;;
833 -cache-file | --cache-file | --cache-fil | --cache-fi \
834 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
835 ac_prev=cache_file ;;
836 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
837 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
838 cache_file=$ac_optarg ;;
841 cache_file=config.cache ;;
843 -datadir | --datadir | --datadi | --datad)
845 -datadir=* | --datadir=* | --datadi=* | --datad=*)
846 datadir=$ac_optarg ;;
848 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
849 | --dataroo | --dataro | --datar)
850 ac_prev=datarootdir ;;
851 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
852 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
853 datarootdir=$ac_optarg ;;
855 -disable-* | --disable-*)
856 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
857 # Reject names that are not valid shell variable names.
858 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
859 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
860 { (exit 1); exit 1; }; }
861 ac_useropt_orig=$ac_useropt
862 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
863 case $ac_user_opts in
867 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
868 ac_unrecognized_sep=', ';;
870 eval enable_$ac_useropt=no ;;
872 -docdir | --docdir | --docdi | --doc | --do)
874 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
877 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
879 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
882 -enable-* | --enable-*)
883 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
884 # Reject names that are not valid shell variable names.
885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
886 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
887 { (exit 1); exit 1; }; }
888 ac_useropt_orig=$ac_useropt
889 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
890 case $ac_user_opts in
894 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
895 ac_unrecognized_sep=', ';;
897 eval enable_$ac_useropt=\$ac_optarg ;;
899 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
900 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
901 | --exec | --exe | --ex)
902 ac_prev=exec_prefix ;;
903 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
904 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
905 | --exec=* | --exe=* | --ex=*)
906 exec_prefix=$ac_optarg ;;
908 -gas | --gas | --ga | --g)
909 # Obsolete; use --with-gas.
912 -help | --help | --hel | --he | -h)
914 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
915 ac_init_help=recursive ;;
916 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
917 ac_init_help=short ;;
919 -host | --host | --hos | --ho)
920 ac_prev=host_alias ;;
921 -host=* | --host=* | --hos=* | --ho=*)
922 host_alias=$ac_optarg ;;
924 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
926 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
928 htmldir=$ac_optarg ;;
930 -includedir | --includedir | --includedi | --included | --include \
931 | --includ | --inclu | --incl | --inc)
932 ac_prev=includedir ;;
933 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
934 | --includ=* | --inclu=* | --incl=* | --inc=*)
935 includedir=$ac_optarg ;;
937 -infodir | --infodir | --infodi | --infod | --info | --inf)
939 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
940 infodir=$ac_optarg ;;
942 -libdir | --libdir | --libdi | --libd)
944 -libdir=* | --libdir=* | --libdi=* | --libd=*)
947 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
948 | --libexe | --libex | --libe)
949 ac_prev=libexecdir ;;
950 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
951 | --libexe=* | --libex=* | --libe=*)
952 libexecdir=$ac_optarg ;;
954 -localedir | --localedir | --localedi | --localed | --locale)
956 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
957 localedir=$ac_optarg ;;
959 -localstatedir | --localstatedir | --localstatedi | --localstated \
960 | --localstate | --localstat | --localsta | --localst | --locals)
961 ac_prev=localstatedir ;;
962 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
963 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
964 localstatedir=$ac_optarg ;;
966 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
968 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
972 # Obsolete; use --without-fp.
975 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
976 | --no-cr | --no-c | -n)
979 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
980 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
983 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
984 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
985 | --oldin | --oldi | --old | --ol | --o)
986 ac_prev=oldincludedir ;;
987 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
988 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
989 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
990 oldincludedir=$ac_optarg ;;
992 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
994 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
997 -program-prefix | --program-prefix | --program-prefi | --program-pref \
998 | --program-pre | --program-pr | --program-p)
999 ac_prev=program_prefix ;;
1000 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1001 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1002 program_prefix=$ac_optarg ;;
1004 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1005 | --program-suf | --program-su | --program-s)
1006 ac_prev=program_suffix ;;
1007 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1008 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1009 program_suffix=$ac_optarg ;;
1011 -program-transform-name | --program-transform-name \
1012 | --program-transform-nam | --program-transform-na \
1013 | --program-transform-n | --program-transform- \
1014 | --program-transform | --program-transfor \
1015 | --program-transfo | --program-transf \
1016 | --program-trans | --program-tran \
1017 | --progr-tra | --program-tr | --program-t)
1018 ac_prev=program_transform_name ;;
1019 -program-transform-name=* | --program-transform-name=* \
1020 | --program-transform-nam=* | --program-transform-na=* \
1021 | --program-transform-n=* | --program-transform-=* \
1022 | --program-transform=* | --program-transfor=* \
1023 | --program-transfo=* | --program-transf=* \
1024 | --program-trans=* | --program-tran=* \
1025 | --progr-tra=* | --program-tr=* | --program-t=*)
1026 program_transform_name=$ac_optarg ;;
1028 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1030 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1031 pdfdir=$ac_optarg ;;
1033 -psdir | --psdir | --psdi | --psd | --ps)
1035 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1038 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1039 | -silent | --silent | --silen | --sile | --sil)
1042 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1044 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1046 sbindir=$ac_optarg ;;
1048 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1049 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1050 | --sharedst | --shareds | --shared | --share | --shar \
1052 ac_prev=sharedstatedir ;;
1053 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1054 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1055 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1057 sharedstatedir=$ac_optarg ;;
1059 -site | --site | --sit)
1061 -site=* | --site=* | --sit=*)
1064 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1066 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1067 srcdir=$ac_optarg ;;
1069 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1070 | --syscon | --sysco | --sysc | --sys | --sy)
1071 ac_prev=sysconfdir ;;
1072 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1073 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1074 sysconfdir=$ac_optarg ;;
1076 -target | --target | --targe | --targ | --tar | --ta | --t)
1077 ac_prev=target_alias ;;
1078 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1079 target_alias=$ac_optarg ;;
1081 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1084 -version | --version | --versio | --versi | --vers | -V)
1085 ac_init_version=: ;;
1088 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1089 # Reject names that are not valid shell variable names.
1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1091 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1092 { (exit 1); exit 1; }; }
1093 ac_useropt_orig=$ac_useropt
1094 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1095 case $ac_user_opts in
1099 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1100 ac_unrecognized_sep=', ';;
1102 eval with_$ac_useropt=\$ac_optarg ;;
1104 -without-* | --without-*)
1105 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1106 # Reject names that are not valid shell variable names.
1107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1108 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1109 { (exit 1); exit 1; }; }
1110 ac_useropt_orig=$ac_useropt
1111 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1112 case $ac_user_opts in
1116 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1117 ac_unrecognized_sep=', ';;
1119 eval with_$ac_useropt=no ;;
1122 # Obsolete; use --with-x.
1125 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1126 | --x-incl | --x-inc | --x-in | --x-i)
1127 ac_prev=x_includes ;;
1128 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1129 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1130 x_includes=$ac_optarg ;;
1132 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1133 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1134 ac_prev=x_libraries ;;
1135 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1136 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1137 x_libraries=$ac_optarg ;;
1139 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1140 Try \`$0 --help' for more information." >&2
1141 { (exit 1); exit 1; }; }
1145 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1146 # Reject names that are not valid shell variable names.
1147 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1148 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1149 { (exit 1); exit 1; }; }
1150 eval $ac_envvar=\$ac_optarg
1151 export $ac_envvar ;;
1154 # FIXME: should be removed in autoconf 3.0.
1155 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1156 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1157 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1158 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1164 if test -n "$ac_prev"; then
1165 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1166 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1167 { (exit 1); exit 1; }; }
1170 if test -n "$ac_unrecognized_opts"; then
1171 case $enable_option_checking in
1173 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1174 { (exit 1); exit 1; }; } ;;
1175 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1179 # Check all directory arguments for consistency.
1180 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1181 datadir sysconfdir sharedstatedir localstatedir includedir \
1182 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1183 libdir localedir mandir
1185 eval ac_val=\$$ac_var
1186 # Remove trailing slashes.
1189 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1190 eval $ac_var=\$ac_val;;
1192 # Be sure to have absolute directory names.
1194 [\\/$]* | ?:[\\/]* ) continue;;
1195 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1197 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1198 { (exit 1); exit 1; }; }
1201 # There might be people who depend on the old broken behavior: `$host'
1202 # used to hold the argument of --host etc.
1203 # FIXME: To remove some day.
1206 target=$target_alias
1208 # FIXME: To remove some day.
1209 if test "x$host_alias" != x; then
1210 if test "x$build_alias" = x; then
1211 cross_compiling=maybe
1212 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1213 If a cross compiler is detected then cross compile mode will be used." >&2
1214 elif test "x$build_alias" != "x$host_alias"; then
1220 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1222 test "$silent" = yes && exec 6>/dev/null
1225 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1226 ac_ls_di=`ls -di .` &&
1227 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1228 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1229 { (exit 1); exit 1; }; }
1230 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1231 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1232 { (exit 1); exit 1; }; }
1235 # Find the source files, if location was not specified.
1236 if test -z "$srcdir"; then
1237 ac_srcdir_defaulted=yes
1238 # Try the directory containing this script, then the parent directory.
1239 ac_confdir=`$as_dirname -- "$as_myself" ||
1240 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1241 X"$as_myself" : 'X\(//\)[^/]' \| \
1242 X"$as_myself" : 'X\(//\)$' \| \
1243 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1244 $as_echo X"$as_myself" |
1245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1263 if test ! -r "$srcdir/$ac_unique_file"; then
1267 ac_srcdir_defaulted=no
1269 if test ! -r "$srcdir/$ac_unique_file"; then
1270 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1271 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1272 { (exit 1); exit 1; }; }
1274 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1276 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1277 { (exit 1); exit 1; }; }
1279 # When building in place, set srcdir=.
1280 if test "$ac_abs_confdir" = "$ac_pwd"; then
1283 # Remove unnecessary trailing slashes from srcdir.
1284 # Double slashes in file names in object file debugging info
1285 # mess up M-x gdb in Emacs.
1287 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1289 for ac_var in $ac_precious_vars; do
1290 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1291 eval ac_env_${ac_var}_value=\$${ac_var}
1292 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1293 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1297 # Report the --help message.
1299 if test "$ac_init_help" = "long"; then
1300 # Omit some internal or obsolete options to make the list less imposing.
1301 # This message is too long to be a string in the A/UX 3.1 sh.
1303 \`configure' configures lcr 1.6 to adapt to many kinds of systems.
1305 Usage: $0 [OPTION]... [VAR=VALUE]...
1307 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1308 VAR=VALUE. See below for descriptions of some of the useful variables.
1310 Defaults for the options are specified in brackets.
1313 -h, --help display this help and exit
1314 --help=short display options specific to this package
1315 --help=recursive display the short help of all the included packages
1316 -V, --version display version information and exit
1317 -q, --quiet, --silent do not print \`checking...' messages
1318 --cache-file=FILE cache test results in FILE [disabled]
1319 -C, --config-cache alias for \`--cache-file=config.cache'
1320 -n, --no-create do not create output files
1321 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1323 Installation directories:
1324 --prefix=PREFIX install architecture-independent files in PREFIX
1325 [$ac_default_prefix]
1326 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1329 By default, \`make install' will install all the files in
1330 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1331 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1332 for instance \`--prefix=\$HOME'.
1334 For better control, use the options below.
1336 Fine tuning of the installation directories:
1337 --bindir=DIR user executables [EPREFIX/bin]
1338 --sbindir=DIR system admin executables [EPREFIX/sbin]
1339 --libexecdir=DIR program executables [EPREFIX/libexec]
1340 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1341 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1342 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1343 --libdir=DIR object code libraries [EPREFIX/lib]
1344 --includedir=DIR C header files [PREFIX/include]
1345 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1346 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1347 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1348 --infodir=DIR info documentation [DATAROOTDIR/info]
1349 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1350 --mandir=DIR man documentation [DATAROOTDIR/man]
1351 --docdir=DIR documentation root [DATAROOTDIR/doc/lcr]
1352 --htmldir=DIR html documentation [DOCDIR]
1353 --dvidir=DIR dvi documentation [DOCDIR]
1354 --pdfdir=DIR pdf documentation [DOCDIR]
1355 --psdir=DIR ps documentation [DOCDIR]
1361 --program-prefix=PREFIX prepend PREFIX to installed program names
1362 --program-suffix=SUFFIX append SUFFIX to installed program names
1363 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1367 if test -n "$ac_init_help"; then
1368 case $ac_init_help in
1369 short | recursive ) echo "Configuration of lcr 1.6:";;
1374 --disable-option-checking ignore unrecognized --enable/--with options
1375 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1376 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1377 --disable-dependency-tracking speeds up one-time build
1378 --enable-dependency-tracking do not reject slow dependency extractors
1381 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1382 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1383 --with-asterisk compile with built-in Asterisk channel driver
1386 --with-ssl compile with ssl support (libcrypto) [default=check]
1388 --with-gsm compile with OpenBSC support [default=no]
1391 Some influential environment variables:
1392 CC C compiler command
1393 CFLAGS C compiler flags
1394 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1395 nonstandard directory <lib dir>
1396 LIBS libraries to pass to the linker, e.g. -l<library>
1397 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1398 you have headers in a nonstandard directory <include dir>
1400 CXX C++ compiler command
1401 CXXFLAGS C++ compiler flags
1403 Use these variables to override the choices made by `configure' or to help
1404 it to find libraries and programs with nonstandard names/locations.
1406 Report bugs to <andreas@eversberg.eu>.
1411 if test "$ac_init_help" = "recursive"; then
1412 # If there are subdirs, report their specific --help.
1413 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1414 test -d "$ac_dir" ||
1415 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1420 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1422 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1423 # A ".." for each directory in $ac_dir_suffix.
1424 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1425 case $ac_top_builddir_sub in
1426 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1427 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1430 ac_abs_top_builddir=$ac_pwd
1431 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1432 # for backward compatibility:
1433 ac_top_builddir=$ac_top_build_prefix
1436 .) # We are building in place.
1438 ac_top_srcdir=$ac_top_builddir_sub
1439 ac_abs_top_srcdir=$ac_pwd ;;
1440 [\\/]* | ?:[\\/]* ) # Absolute name.
1441 ac_srcdir=$srcdir$ac_dir_suffix;
1442 ac_top_srcdir=$srcdir
1443 ac_abs_top_srcdir=$srcdir ;;
1445 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1446 ac_top_srcdir=$ac_top_build_prefix$srcdir
1447 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1449 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1451 cd "$ac_dir" || { ac_status=$?; continue; }
1452 # Check for guested configure.
1453 if test -f "$ac_srcdir/configure.gnu"; then
1455 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1456 elif test -f "$ac_srcdir/configure"; then
1458 $SHELL "$ac_srcdir/configure" --help=recursive
1460 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1462 cd "$ac_pwd" || { ac_status=$?; break; }
1466 test -n "$ac_init_help" && exit $ac_status
1467 if $ac_init_version; then
1470 generated by GNU Autoconf 2.63
1472 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1473 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1474 This configure script is free software; the Free Software Foundation
1475 gives unlimited permission to copy, distribute and modify it.
1479 cat >config.log <<_ACEOF
1480 This file contains any messages produced by compilers while
1481 running configure, to aid debugging if configure makes a mistake.
1483 It was created by lcr $as_me 1.6, which was
1484 generated by GNU Autoconf 2.63. Invocation command line was
1496 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1497 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1498 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1499 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1500 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1502 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1503 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1505 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1506 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1507 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1508 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1509 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1510 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1511 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1519 test -z "$as_dir" && as_dir=.
1520 $as_echo "PATH: $as_dir"
1536 # Keep a trace of the command line.
1537 # Strip out --no-create and --no-recursion so they do not pile up.
1538 # Strip out --silent because we don't want to record it for future runs.
1539 # Also quote any args containing shell meta-characters.
1540 # Make two passes to allow for proper duplicate-argument suppression.
1544 ac_must_keep_next=false
1550 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1551 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1552 | -silent | --silent | --silen | --sile | --sil)
1555 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1558 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1560 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1561 if test $ac_must_keep_next = true; then
1562 ac_must_keep_next=false # Got value, back to normal.
1565 *=* | --config-cache | -C | -disable-* | --disable-* \
1566 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1567 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1568 | -with-* | --with-* | -without-* | --without-* | --x)
1569 case "$ac_configure_args0 " in
1570 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1573 -* ) ac_must_keep_next=true ;;
1576 ac_configure_args="$ac_configure_args '$ac_arg'"
1581 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1582 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1584 # When interrupted or exit'd, cleanup temporary files, and complete
1585 # config.log. We remove comments because anyway the quotes in there
1586 # would cause problems or look ugly.
1587 # WARNING: Use '\'' to represent an apostrophe within the trap.
1588 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1589 trap 'exit_status=$?
1590 # Save into config.log some information that might help in debugging.
1595 ## ---------------- ##
1596 ## Cache variables. ##
1597 ## ---------------- ##
1600 # The following way of writing the cache mishandles newlines in values,
1602 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1603 eval ac_val=\$$ac_var
1607 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1608 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1611 _ | IFS | as_nl) ;; #(
1612 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1613 *) $as_unset $ac_var ;;
1618 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1619 *${as_nl}ac_space=\ *)
1621 "s/'\''/'\''\\\\'\'''\''/g;
1622 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1625 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1633 ## ----------------- ##
1634 ## Output variables. ##
1635 ## ----------------- ##
1638 for ac_var in $ac_subst_vars
1640 eval ac_val=\$$ac_var
1642 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1644 $as_echo "$ac_var='\''$ac_val'\''"
1648 if test -n "$ac_subst_files"; then
1650 ## ------------------- ##
1651 ## File substitutions. ##
1652 ## ------------------- ##
1655 for ac_var in $ac_subst_files
1657 eval ac_val=\$$ac_var
1659 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1661 $as_echo "$ac_var='\''$ac_val'\''"
1666 if test -s confdefs.h; then
1676 test "$ac_signal" != 0 &&
1677 $as_echo "$as_me: caught signal $ac_signal"
1678 $as_echo "$as_me: exit $exit_status"
1680 rm -f core *.core core.conftest.* &&
1681 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1684 for ac_signal in 1 2 13 15; do
1685 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1689 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1690 rm -f -r conftest* confdefs.h
1692 # Predefined preprocessor variables.
1694 cat >>confdefs.h <<_ACEOF
1695 #define PACKAGE_NAME "$PACKAGE_NAME"
1699 cat >>confdefs.h <<_ACEOF
1700 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1704 cat >>confdefs.h <<_ACEOF
1705 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1709 cat >>confdefs.h <<_ACEOF
1710 #define PACKAGE_STRING "$PACKAGE_STRING"
1714 cat >>confdefs.h <<_ACEOF
1715 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1719 # Let the site file select an alternate cache file if it wants to.
1720 # Prefer an explicitly selected file to automatically selected ones.
1723 if test -n "$CONFIG_SITE"; then
1724 ac_site_file1=$CONFIG_SITE
1725 elif test "x$prefix" != xNONE; then
1726 ac_site_file1=$prefix/share/config.site
1727 ac_site_file2=$prefix/etc/config.site
1729 ac_site_file1=$ac_default_prefix/share/config.site
1730 ac_site_file2=$ac_default_prefix/etc/config.site
1732 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1734 test "x$ac_site_file" = xNONE && continue
1735 if test -r "$ac_site_file"; then
1736 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1737 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1738 sed 's/^/| /' "$ac_site_file" >&5
1743 if test -r "$cache_file"; then
1744 # Some versions of bash will fail to source /dev/null (special
1745 # files actually), so we avoid doing that.
1746 if test -f "$cache_file"; then
1747 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1748 $as_echo "$as_me: loading cache $cache_file" >&6;}
1750 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1751 *) . "./$cache_file";;
1755 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1756 $as_echo "$as_me: creating cache $cache_file" >&6;}
1760 # Check that the precious variables saved in the cache have kept the same
1762 ac_cache_corrupted=false
1763 for ac_var in $ac_precious_vars; do
1764 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1765 eval ac_new_set=\$ac_env_${ac_var}_set
1766 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1767 eval ac_new_val=\$ac_env_${ac_var}_value
1768 case $ac_old_set,$ac_new_set in
1770 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1771 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1772 ac_cache_corrupted=: ;;
1774 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1775 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1776 ac_cache_corrupted=: ;;
1779 if test "x$ac_old_val" != "x$ac_new_val"; then
1780 # differences in whitespace do not lead to failure.
1781 ac_old_val_w=`echo x $ac_old_val`
1782 ac_new_val_w=`echo x $ac_new_val`
1783 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1784 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1785 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1786 ac_cache_corrupted=:
1788 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1789 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1790 eval $ac_var=\$ac_old_val
1792 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1793 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1794 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1795 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1798 # Pass precious variables to config.status.
1799 if test "$ac_new_set" = set; then
1801 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1802 *) ac_arg=$ac_var=$ac_new_val ;;
1804 case " $ac_configure_args " in
1805 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1806 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1810 if $ac_cache_corrupted; then
1811 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1813 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1814 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1815 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1816 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1817 { (exit 1); exit 1; }; }
1845 ac_cpp='$CPP $CPPFLAGS'
1846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1853 ac_config_headers="$ac_config_headers config.h"
1856 # fix warnings from autoconf + automake
1858 ac_cpp='$CPP $CPPFLAGS'
1859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1862 if test -n "$ac_tool_prefix"; then
1863 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1864 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1865 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1866 $as_echo_n "checking for $ac_word... " >&6; }
1867 if test "${ac_cv_prog_CC+set}" = set; then
1868 $as_echo_n "(cached) " >&6
1870 if test -n "$CC"; then
1871 ac_cv_prog_CC="$CC" # Let the user override the test.
1873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1877 test -z "$as_dir" && as_dir=.
1878 for ac_exec_ext in '' $ac_executable_extensions; do
1879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1880 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1881 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1891 if test -n "$CC"; then
1892 { $as_echo "$as_me:$LINENO: result: $CC" >&5
1893 $as_echo "$CC" >&6; }
1895 { $as_echo "$as_me:$LINENO: result: no" >&5
1896 $as_echo "no" >&6; }
1901 if test -z "$ac_cv_prog_CC"; then
1903 # Extract the first word of "gcc", so it can be a program name with args.
1904 set dummy gcc; ac_word=$2
1905 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1906 $as_echo_n "checking for $ac_word... " >&6; }
1907 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1908 $as_echo_n "(cached) " >&6
1910 if test -n "$ac_ct_CC"; then
1911 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1917 test -z "$as_dir" && as_dir=.
1918 for ac_exec_ext in '' $ac_executable_extensions; do
1919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1920 ac_cv_prog_ac_ct_CC="gcc"
1921 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1930 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1931 if test -n "$ac_ct_CC"; then
1932 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1933 $as_echo "$ac_ct_CC" >&6; }
1935 { $as_echo "$as_me:$LINENO: result: no" >&5
1936 $as_echo "no" >&6; }
1939 if test "x$ac_ct_CC" = x; then
1942 case $cross_compiling:$ac_tool_warned in
1944 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
1945 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1946 ac_tool_warned=yes ;;
1954 if test -z "$CC"; then
1955 if test -n "$ac_tool_prefix"; then
1956 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1957 set dummy ${ac_tool_prefix}cc; ac_word=$2
1958 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1959 $as_echo_n "checking for $ac_word... " >&6; }
1960 if test "${ac_cv_prog_CC+set}" = set; then
1961 $as_echo_n "(cached) " >&6
1963 if test -n "$CC"; then
1964 ac_cv_prog_CC="$CC" # Let the user override the test.
1966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1970 test -z "$as_dir" && as_dir=.
1971 for ac_exec_ext in '' $ac_executable_extensions; do
1972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1973 ac_cv_prog_CC="${ac_tool_prefix}cc"
1974 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1984 if test -n "$CC"; then
1985 { $as_echo "$as_me:$LINENO: result: $CC" >&5
1986 $as_echo "$CC" >&6; }
1988 { $as_echo "$as_me:$LINENO: result: no" >&5
1989 $as_echo "no" >&6; }
1995 if test -z "$CC"; then
1996 # Extract the first word of "cc", so it can be a program name with args.
1997 set dummy cc; ac_word=$2
1998 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1999 $as_echo_n "checking for $ac_word... " >&6; }
2000 if test "${ac_cv_prog_CC+set}" = set; then
2001 $as_echo_n "(cached) " >&6
2003 if test -n "$CC"; then
2004 ac_cv_prog_CC="$CC" # Let the user override the test.
2007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2011 test -z "$as_dir" && as_dir=.
2012 for ac_exec_ext in '' $ac_executable_extensions; do
2013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2014 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2015 ac_prog_rejected=yes
2019 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2026 if test $ac_prog_rejected = yes; then
2027 # We found a bogon in the path, so make sure we never use it.
2028 set dummy $ac_cv_prog_CC
2030 if test $# != 0; then
2031 # We chose a different compiler from the bogus one.
2032 # However, it has the same basename, so the bogon will be chosen
2033 # first if we set CC to just the basename; use the full file name.
2035 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2041 if test -n "$CC"; then
2042 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2043 $as_echo "$CC" >&6; }
2045 { $as_echo "$as_me:$LINENO: result: no" >&5
2046 $as_echo "no" >&6; }
2051 if test -z "$CC"; then
2052 if test -n "$ac_tool_prefix"; then
2053 for ac_prog in cl.exe
2055 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2056 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2057 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2058 $as_echo_n "checking for $ac_word... " >&6; }
2059 if test "${ac_cv_prog_CC+set}" = set; then
2060 $as_echo_n "(cached) " >&6
2062 if test -n "$CC"; then
2063 ac_cv_prog_CC="$CC" # Let the user override the test.
2065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2069 test -z "$as_dir" && as_dir=.
2070 for ac_exec_ext in '' $ac_executable_extensions; do
2071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2072 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2073 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2083 if test -n "$CC"; then
2084 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2085 $as_echo "$CC" >&6; }
2087 { $as_echo "$as_me:$LINENO: result: no" >&5
2088 $as_echo "no" >&6; }
2092 test -n "$CC" && break
2095 if test -z "$CC"; then
2097 for ac_prog in cl.exe
2099 # Extract the first word of "$ac_prog", so it can be a program name with args.
2100 set dummy $ac_prog; ac_word=$2
2101 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2102 $as_echo_n "checking for $ac_word... " >&6; }
2103 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2104 $as_echo_n "(cached) " >&6
2106 if test -n "$ac_ct_CC"; then
2107 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2113 test -z "$as_dir" && as_dir=.
2114 for ac_exec_ext in '' $ac_executable_extensions; do
2115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2116 ac_cv_prog_ac_ct_CC="$ac_prog"
2117 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2126 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2127 if test -n "$ac_ct_CC"; then
2128 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2129 $as_echo "$ac_ct_CC" >&6; }
2131 { $as_echo "$as_me:$LINENO: result: no" >&5
2132 $as_echo "no" >&6; }
2136 test -n "$ac_ct_CC" && break
2139 if test "x$ac_ct_CC" = x; then
2142 case $cross_compiling:$ac_tool_warned in
2144 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2145 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2146 ac_tool_warned=yes ;;
2155 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2157 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2158 See \`config.log' for more details." >&5
2159 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2160 See \`config.log' for more details." >&2;}
2161 { (exit 1); exit 1; }; }; }
2163 # Provide some information about the compiler.
2164 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2167 { (ac_try="$ac_compiler --version >&5"
2169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2170 *) ac_try_echo=$ac_try;;
2172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2173 $as_echo "$ac_try_echo") >&5
2174 (eval "$ac_compiler --version >&5") 2>&5
2176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2177 (exit $ac_status); }
2178 { (ac_try="$ac_compiler -v >&5"
2180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2181 *) ac_try_echo=$ac_try;;
2183 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2184 $as_echo "$ac_try_echo") >&5
2185 (eval "$ac_compiler -v >&5") 2>&5
2187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188 (exit $ac_status); }
2189 { (ac_try="$ac_compiler -V >&5"
2191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2192 *) ac_try_echo=$ac_try;;
2194 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2195 $as_echo "$ac_try_echo") >&5
2196 (eval "$ac_compiler -V >&5") 2>&5
2198 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2199 (exit $ac_status); }
2201 cat >conftest.$ac_ext <<_ACEOF
2204 cat confdefs.h >>conftest.$ac_ext
2205 cat >>conftest.$ac_ext <<_ACEOF
2206 /* end confdefs.h. */
2216 ac_clean_files_save=$ac_clean_files
2217 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2218 # Try to create an executable without -o first, disregard a.out.
2219 # It will help us diagnose broken compilers, and finding out an intuition
2221 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2222 $as_echo_n "checking for C compiler default output file name... " >&6; }
2223 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2225 # The possible output files:
2226 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2229 for ac_file in $ac_files
2232 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2233 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2238 if { (ac_try="$ac_link_default"
2240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2241 *) ac_try_echo=$ac_try;;
2243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2244 $as_echo "$ac_try_echo") >&5
2245 (eval "$ac_link_default") 2>&5
2247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2248 (exit $ac_status); }; then
2249 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2250 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2251 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2252 # so that the user can short-circuit this test for compilers unknown to
2254 for ac_file in $ac_files ''
2256 test -f "$ac_file" || continue
2258 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2261 # We found the default executable, but exeext='' is most
2265 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2267 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2269 # We set ac_cv_exeext here because the later test for it is not
2270 # safe: cross compilers may not add the suffix if given an `-o'
2271 # argument, so we may need to know it at that point already.
2272 # Even if this section looks crufty: it has the advantage of
2279 test "$ac_cv_exeext" = no && ac_cv_exeext=
2285 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2286 $as_echo "$ac_file" >&6; }
2287 if test -z "$ac_file"; then
2288 $as_echo "$as_me: failed program was:" >&5
2289 sed 's/^/| /' conftest.$ac_ext >&5
2291 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2293 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2294 See \`config.log' for more details." >&5
2295 $as_echo "$as_me: error: C compiler cannot create executables
2296 See \`config.log' for more details." >&2;}
2297 { (exit 77); exit 77; }; }; }
2300 ac_exeext=$ac_cv_exeext
2302 # Check that the compiler produces executables we can run. If not, either
2303 # the compiler is broken, or we cross compile.
2304 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2305 $as_echo_n "checking whether the C compiler works... " >&6; }
2306 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2307 # If not cross compiling, check that we can run a simple program.
2308 if test "$cross_compiling" != yes; then
2309 if { ac_try='./$ac_file'
2310 { (case "(($ac_try" in
2311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2312 *) ac_try_echo=$ac_try;;
2314 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2315 $as_echo "$ac_try_echo") >&5
2316 (eval "$ac_try") 2>&5
2318 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319 (exit $ac_status); }; }; then
2322 if test "$cross_compiling" = maybe; then
2325 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2327 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2328 If you meant to cross compile, use \`--host'.
2329 See \`config.log' for more details." >&5
2330 $as_echo "$as_me: error: cannot run C compiled programs.
2331 If you meant to cross compile, use \`--host'.
2332 See \`config.log' for more details." >&2;}
2333 { (exit 1); exit 1; }; }; }
2337 { $as_echo "$as_me:$LINENO: result: yes" >&5
2338 $as_echo "yes" >&6; }
2340 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2341 ac_clean_files=$ac_clean_files_save
2342 # Check that the compiler produces executables we can run. If not, either
2343 # the compiler is broken, or we cross compile.
2344 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2345 $as_echo_n "checking whether we are cross compiling... " >&6; }
2346 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2347 $as_echo "$cross_compiling" >&6; }
2349 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2350 $as_echo_n "checking for suffix of executables... " >&6; }
2351 if { (ac_try="$ac_link"
2353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2354 *) ac_try_echo=$ac_try;;
2356 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2357 $as_echo "$ac_try_echo") >&5
2358 (eval "$ac_link") 2>&5
2360 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361 (exit $ac_status); }; then
2362 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2363 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2364 # work properly (i.e., refer to `conftest.exe'), while it won't with
2366 for ac_file in conftest.exe conftest conftest.*; do
2367 test -f "$ac_file" || continue
2369 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2370 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2376 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2377 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2378 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2379 See \`config.log' for more details." >&5
2380 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2381 See \`config.log' for more details." >&2;}
2382 { (exit 1); exit 1; }; }; }
2385 rm -f conftest$ac_cv_exeext
2386 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2387 $as_echo "$ac_cv_exeext" >&6; }
2389 rm -f conftest.$ac_ext
2390 EXEEXT=$ac_cv_exeext
2392 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2393 $as_echo_n "checking for suffix of object files... " >&6; }
2394 if test "${ac_cv_objext+set}" = set; then
2395 $as_echo_n "(cached) " >&6
2397 cat >conftest.$ac_ext <<_ACEOF
2400 cat confdefs.h >>conftest.$ac_ext
2401 cat >>conftest.$ac_ext <<_ACEOF
2402 /* end confdefs.h. */
2412 rm -f conftest.o conftest.obj
2413 if { (ac_try="$ac_compile"
2415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2416 *) ac_try_echo=$ac_try;;
2418 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2419 $as_echo "$ac_try_echo") >&5
2420 (eval "$ac_compile") 2>&5
2422 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); }; then
2424 for ac_file in conftest.o conftest.obj conftest.*; do
2425 test -f "$ac_file" || continue;
2427 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2428 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2433 $as_echo "$as_me: failed program was:" >&5
2434 sed 's/^/| /' conftest.$ac_ext >&5
2436 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2437 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2438 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2439 See \`config.log' for more details." >&5
2440 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2441 See \`config.log' for more details." >&2;}
2442 { (exit 1); exit 1; }; }; }
2445 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2447 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2448 $as_echo "$ac_cv_objext" >&6; }
2449 OBJEXT=$ac_cv_objext
2451 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2452 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2453 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2454 $as_echo_n "(cached) " >&6
2456 cat >conftest.$ac_ext <<_ACEOF
2459 cat confdefs.h >>conftest.$ac_ext
2460 cat >>conftest.$ac_ext <<_ACEOF
2461 /* end confdefs.h. */
2474 rm -f conftest.$ac_objext
2475 if { (ac_try="$ac_compile"
2477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2478 *) ac_try_echo=$ac_try;;
2480 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2481 $as_echo "$ac_try_echo") >&5
2482 (eval "$ac_compile") 2>conftest.er1
2484 grep -v '^ *+' conftest.er1 >conftest.err
2486 cat conftest.err >&5
2487 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); } && {
2489 test -z "$ac_c_werror_flag" ||
2490 test ! -s conftest.err
2491 } && test -s conftest.$ac_objext; then
2494 $as_echo "$as_me: failed program was:" >&5
2495 sed 's/^/| /' conftest.$ac_ext >&5
2500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2501 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2504 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2505 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2506 if test $ac_compiler_gnu = yes; then
2511 ac_test_CFLAGS=${CFLAGS+set}
2512 ac_save_CFLAGS=$CFLAGS
2513 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2514 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2515 if test "${ac_cv_prog_cc_g+set}" = set; then
2516 $as_echo_n "(cached) " >&6
2518 ac_save_c_werror_flag=$ac_c_werror_flag
2519 ac_c_werror_flag=yes
2522 cat >conftest.$ac_ext <<_ACEOF
2525 cat confdefs.h >>conftest.$ac_ext
2526 cat >>conftest.$ac_ext <<_ACEOF
2527 /* end confdefs.h. */
2537 rm -f conftest.$ac_objext
2538 if { (ac_try="$ac_compile"
2540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2541 *) ac_try_echo=$ac_try;;
2543 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2544 $as_echo "$ac_try_echo") >&5
2545 (eval "$ac_compile") 2>conftest.er1
2547 grep -v '^ *+' conftest.er1 >conftest.err
2549 cat conftest.err >&5
2550 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551 (exit $ac_status); } && {
2552 test -z "$ac_c_werror_flag" ||
2553 test ! -s conftest.err
2554 } && test -s conftest.$ac_objext; then
2557 $as_echo "$as_me: failed program was:" >&5
2558 sed 's/^/| /' conftest.$ac_ext >&5
2561 cat >conftest.$ac_ext <<_ACEOF
2564 cat confdefs.h >>conftest.$ac_ext
2565 cat >>conftest.$ac_ext <<_ACEOF
2566 /* end confdefs.h. */
2576 rm -f conftest.$ac_objext
2577 if { (ac_try="$ac_compile"
2579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2580 *) ac_try_echo=$ac_try;;
2582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2583 $as_echo "$ac_try_echo") >&5
2584 (eval "$ac_compile") 2>conftest.er1
2586 grep -v '^ *+' conftest.er1 >conftest.err
2588 cat conftest.err >&5
2589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); } && {
2591 test -z "$ac_c_werror_flag" ||
2592 test ! -s conftest.err
2593 } && test -s conftest.$ac_objext; then
2596 $as_echo "$as_me: failed program was:" >&5
2597 sed 's/^/| /' conftest.$ac_ext >&5
2599 ac_c_werror_flag=$ac_save_c_werror_flag
2601 cat >conftest.$ac_ext <<_ACEOF
2604 cat confdefs.h >>conftest.$ac_ext
2605 cat >>conftest.$ac_ext <<_ACEOF
2606 /* end confdefs.h. */
2616 rm -f conftest.$ac_objext
2617 if { (ac_try="$ac_compile"
2619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2620 *) ac_try_echo=$ac_try;;
2622 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2623 $as_echo "$ac_try_echo") >&5
2624 (eval "$ac_compile") 2>conftest.er1
2626 grep -v '^ *+' conftest.er1 >conftest.err
2628 cat conftest.err >&5
2629 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); } && {
2631 test -z "$ac_c_werror_flag" ||
2632 test ! -s conftest.err
2633 } && test -s conftest.$ac_objext; then
2636 $as_echo "$as_me: failed program was:" >&5
2637 sed 's/^/| /' conftest.$ac_ext >&5
2642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2649 ac_c_werror_flag=$ac_save_c_werror_flag
2651 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2652 $as_echo "$ac_cv_prog_cc_g" >&6; }
2653 if test "$ac_test_CFLAGS" = set; then
2654 CFLAGS=$ac_save_CFLAGS
2655 elif test $ac_cv_prog_cc_g = yes; then
2656 if test "$GCC" = yes; then
2662 if test "$GCC" = yes; then
2668 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2669 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2670 if test "${ac_cv_prog_cc_c89+set}" = set; then
2671 $as_echo_n "(cached) " >&6
2673 ac_cv_prog_cc_c89=no
2675 cat >conftest.$ac_ext <<_ACEOF
2678 cat confdefs.h >>conftest.$ac_ext
2679 cat >>conftest.$ac_ext <<_ACEOF
2680 /* end confdefs.h. */
2683 #include <sys/types.h>
2684 #include <sys/stat.h>
2685 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2686 struct buf { int x; };
2687 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2688 static char *e (p, i)
2694 static char *f (char * (*g) (char **, int), char **p, ...)
2699 s = g (p, va_arg (v,int));
2704 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2705 function prototypes and stuff, but not '\xHH' hex character constants.
2706 These don't provoke an error unfortunately, instead are silently treated
2707 as 'x'. The following induces an error, until -std is added to get
2708 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2709 array size at least. It's necessary to write '\x00'==0 to get something
2710 that's true only with -std. */
2711 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2713 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2714 inside strings and character constants. */
2716 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2718 int test (int i, double x);
2719 struct s1 {int (*f) (int a);};
2720 struct s2 {int (*f) (double a);};
2721 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2727 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2732 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2733 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2735 CC="$ac_save_CC $ac_arg"
2736 rm -f conftest.$ac_objext
2737 if { (ac_try="$ac_compile"
2739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2740 *) ac_try_echo=$ac_try;;
2742 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2743 $as_echo "$ac_try_echo") >&5
2744 (eval "$ac_compile") 2>conftest.er1
2746 grep -v '^ *+' conftest.er1 >conftest.err
2748 cat conftest.err >&5
2749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750 (exit $ac_status); } && {
2751 test -z "$ac_c_werror_flag" ||
2752 test ! -s conftest.err
2753 } && test -s conftest.$ac_objext; then
2754 ac_cv_prog_cc_c89=$ac_arg
2756 $as_echo "$as_me: failed program was:" >&5
2757 sed 's/^/| /' conftest.$ac_ext >&5
2762 rm -f core conftest.err conftest.$ac_objext
2763 test "x$ac_cv_prog_cc_c89" != "xno" && break
2765 rm -f conftest.$ac_ext
2770 case "x$ac_cv_prog_cc_c89" in
2772 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2773 $as_echo "none needed" >&6; } ;;
2775 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2776 $as_echo "unsupported" >&6; } ;;
2778 CC="$CC $ac_cv_prog_cc_c89"
2779 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2780 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2785 ac_cpp='$CPP $CPPFLAGS'
2786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2792 ac_cpp='$CPP $CPPFLAGS'
2793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2796 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2797 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2798 # On Suns, sometimes $CPP names a directory.
2799 if test -n "$CPP" && test -d "$CPP"; then
2802 if test -z "$CPP"; then
2803 if test "${ac_cv_prog_CPP+set}" = set; then
2804 $as_echo_n "(cached) " >&6
2806 # Double quotes because CPP needs to be expanded
2807 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2810 for ac_c_preproc_warn_flag in '' yes
2812 # Use a header file that comes with gcc, so configuring glibc
2813 # with a fresh cross-compiler works.
2814 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2815 # <limits.h> exists even on freestanding compilers.
2816 # On the NeXT, cc -E runs the code through the compiler's parser,
2817 # not just through cpp. "Syntax error" is here to catch this case.
2818 cat >conftest.$ac_ext <<_ACEOF
2821 cat confdefs.h >>conftest.$ac_ext
2822 cat >>conftest.$ac_ext <<_ACEOF
2823 /* end confdefs.h. */
2825 # include <limits.h>
2827 # include <assert.h>
2831 if { (ac_try="$ac_cpp conftest.$ac_ext"
2833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2834 *) ac_try_echo=$ac_try;;
2836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2837 $as_echo "$ac_try_echo") >&5
2838 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2840 grep -v '^ *+' conftest.er1 >conftest.err
2842 cat conftest.err >&5
2843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); } >/dev/null && {
2845 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2846 test ! -s conftest.err
2850 $as_echo "$as_me: failed program was:" >&5
2851 sed 's/^/| /' conftest.$ac_ext >&5
2853 # Broken: fails on valid input.
2857 rm -f conftest.err conftest.$ac_ext
2859 # OK, works on sane cases. Now check whether nonexistent headers
2860 # can be detected and how.
2861 cat >conftest.$ac_ext <<_ACEOF
2864 cat confdefs.h >>conftest.$ac_ext
2865 cat >>conftest.$ac_ext <<_ACEOF
2866 /* end confdefs.h. */
2867 #include <ac_nonexistent.h>
2869 if { (ac_try="$ac_cpp conftest.$ac_ext"
2871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2872 *) ac_try_echo=$ac_try;;
2874 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2875 $as_echo "$ac_try_echo") >&5
2876 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2878 grep -v '^ *+' conftest.er1 >conftest.err
2880 cat conftest.err >&5
2881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); } >/dev/null && {
2883 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2884 test ! -s conftest.err
2886 # Broken: success on invalid input.
2889 $as_echo "$as_me: failed program was:" >&5
2890 sed 's/^/| /' conftest.$ac_ext >&5
2892 # Passes both tests.
2897 rm -f conftest.err conftest.$ac_ext
2900 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2901 rm -f conftest.err conftest.$ac_ext
2902 if $ac_preproc_ok; then
2914 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
2915 $as_echo "$CPP" >&6; }
2917 for ac_c_preproc_warn_flag in '' yes
2919 # Use a header file that comes with gcc, so configuring glibc
2920 # with a fresh cross-compiler works.
2921 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2922 # <limits.h> exists even on freestanding compilers.
2923 # On the NeXT, cc -E runs the code through the compiler's parser,
2924 # not just through cpp. "Syntax error" is here to catch this case.
2925 cat >conftest.$ac_ext <<_ACEOF
2928 cat confdefs.h >>conftest.$ac_ext
2929 cat >>conftest.$ac_ext <<_ACEOF
2930 /* end confdefs.h. */
2932 # include <limits.h>
2934 # include <assert.h>
2938 if { (ac_try="$ac_cpp conftest.$ac_ext"
2940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2941 *) ac_try_echo=$ac_try;;
2943 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2944 $as_echo "$ac_try_echo") >&5
2945 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2947 grep -v '^ *+' conftest.er1 >conftest.err
2949 cat conftest.err >&5
2950 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); } >/dev/null && {
2952 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2953 test ! -s conftest.err
2957 $as_echo "$as_me: failed program was:" >&5
2958 sed 's/^/| /' conftest.$ac_ext >&5
2960 # Broken: fails on valid input.
2964 rm -f conftest.err conftest.$ac_ext
2966 # OK, works on sane cases. Now check whether nonexistent headers
2967 # can be detected and how.
2968 cat >conftest.$ac_ext <<_ACEOF
2971 cat confdefs.h >>conftest.$ac_ext
2972 cat >>conftest.$ac_ext <<_ACEOF
2973 /* end confdefs.h. */
2974 #include <ac_nonexistent.h>
2976 if { (ac_try="$ac_cpp conftest.$ac_ext"
2978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2979 *) ac_try_echo=$ac_try;;
2981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2982 $as_echo "$ac_try_echo") >&5
2983 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2985 grep -v '^ *+' conftest.er1 >conftest.err
2987 cat conftest.err >&5
2988 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); } >/dev/null && {
2990 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2991 test ! -s conftest.err
2993 # Broken: success on invalid input.
2996 $as_echo "$as_me: failed program was:" >&5
2997 sed 's/^/| /' conftest.$ac_ext >&5
2999 # Passes both tests.
3004 rm -f conftest.err conftest.$ac_ext
3007 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3008 rm -f conftest.err conftest.$ac_ext
3009 if $ac_preproc_ok; then
3012 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3014 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3015 See \`config.log' for more details." >&5
3016 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3017 See \`config.log' for more details." >&2;}
3018 { (exit 1); exit 1; }; }; }
3022 ac_cpp='$CPP $CPPFLAGS'
3023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3028 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3029 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3030 if test "${ac_cv_path_GREP+set}" = set; then
3031 $as_echo_n "(cached) " >&6
3033 if test -z "$GREP"; then
3034 ac_path_GREP_found=false
3035 # Loop through the user's path and test for each of PROGNAME-LIST
3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3037 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3040 test -z "$as_dir" && as_dir=.
3041 for ac_prog in grep ggrep; do
3042 for ac_exec_ext in '' $ac_executable_extensions; do
3043 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3044 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3045 # Check for GNU ac_path_GREP and select it if it is found.
3046 # Check for GNU $ac_path_GREP
3047 case `"$ac_path_GREP" --version 2>&1` in
3049 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3052 $as_echo_n 0123456789 >"conftest.in"
3055 cat "conftest.in" "conftest.in" >"conftest.tmp"
3056 mv "conftest.tmp" "conftest.in"
3057 cp "conftest.in" "conftest.nl"
3058 $as_echo 'GREP' >> "conftest.nl"
3059 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3060 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3061 ac_count=`expr $ac_count + 1`
3062 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3063 # Best one so far, save it but keep looking for a better one
3064 ac_cv_path_GREP="$ac_path_GREP"
3065 ac_path_GREP_max=$ac_count
3067 # 10*(2^10) chars as input seems more than enough
3068 test $ac_count -gt 10 && break
3070 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3073 $ac_path_GREP_found && break 3
3078 if test -z "$ac_cv_path_GREP"; then
3079 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3080 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3081 { (exit 1); exit 1; }; }
3084 ac_cv_path_GREP=$GREP
3088 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3089 $as_echo "$ac_cv_path_GREP" >&6; }
3090 GREP="$ac_cv_path_GREP"
3093 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3094 $as_echo_n "checking for egrep... " >&6; }
3095 if test "${ac_cv_path_EGREP+set}" = set; then
3096 $as_echo_n "(cached) " >&6
3098 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3099 then ac_cv_path_EGREP="$GREP -E"
3101 if test -z "$EGREP"; then
3102 ac_path_EGREP_found=false
3103 # Loop through the user's path and test for each of PROGNAME-LIST
3104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3105 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3108 test -z "$as_dir" && as_dir=.
3109 for ac_prog in egrep; do
3110 for ac_exec_ext in '' $ac_executable_extensions; do
3111 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3112 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3113 # Check for GNU ac_path_EGREP and select it if it is found.
3114 # Check for GNU $ac_path_EGREP
3115 case `"$ac_path_EGREP" --version 2>&1` in
3117 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3120 $as_echo_n 0123456789 >"conftest.in"
3123 cat "conftest.in" "conftest.in" >"conftest.tmp"
3124 mv "conftest.tmp" "conftest.in"
3125 cp "conftest.in" "conftest.nl"
3126 $as_echo 'EGREP' >> "conftest.nl"
3127 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3128 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3129 ac_count=`expr $ac_count + 1`
3130 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3131 # Best one so far, save it but keep looking for a better one
3132 ac_cv_path_EGREP="$ac_path_EGREP"
3133 ac_path_EGREP_max=$ac_count
3135 # 10*(2^10) chars as input seems more than enough
3136 test $ac_count -gt 10 && break
3138 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3141 $ac_path_EGREP_found && break 3
3146 if test -z "$ac_cv_path_EGREP"; then
3147 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3148 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3149 { (exit 1); exit 1; }; }
3152 ac_cv_path_EGREP=$EGREP
3157 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3158 $as_echo "$ac_cv_path_EGREP" >&6; }
3159 EGREP="$ac_cv_path_EGREP"
3162 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3163 $as_echo_n "checking for ANSI C header files... " >&6; }
3164 if test "${ac_cv_header_stdc+set}" = set; then
3165 $as_echo_n "(cached) " >&6
3167 cat >conftest.$ac_ext <<_ACEOF
3170 cat confdefs.h >>conftest.$ac_ext
3171 cat >>conftest.$ac_ext <<_ACEOF
3172 /* end confdefs.h. */
3186 rm -f conftest.$ac_objext
3187 if { (ac_try="$ac_compile"
3189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3190 *) ac_try_echo=$ac_try;;
3192 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3193 $as_echo "$ac_try_echo") >&5
3194 (eval "$ac_compile") 2>conftest.er1
3196 grep -v '^ *+' conftest.er1 >conftest.err
3198 cat conftest.err >&5
3199 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200 (exit $ac_status); } && {
3201 test -z "$ac_c_werror_flag" ||
3202 test ! -s conftest.err
3203 } && test -s conftest.$ac_objext; then
3204 ac_cv_header_stdc=yes
3206 $as_echo "$as_me: failed program was:" >&5
3207 sed 's/^/| /' conftest.$ac_ext >&5
3209 ac_cv_header_stdc=no
3212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3214 if test $ac_cv_header_stdc = yes; then
3215 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3216 cat >conftest.$ac_ext <<_ACEOF
3219 cat confdefs.h >>conftest.$ac_ext
3220 cat >>conftest.$ac_ext <<_ACEOF
3221 /* end confdefs.h. */
3225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3226 $EGREP "memchr" >/dev/null 2>&1; then
3229 ac_cv_header_stdc=no
3235 if test $ac_cv_header_stdc = yes; then
3236 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3237 cat >conftest.$ac_ext <<_ACEOF
3240 cat confdefs.h >>conftest.$ac_ext
3241 cat >>conftest.$ac_ext <<_ACEOF
3242 /* end confdefs.h. */
3246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3247 $EGREP "free" >/dev/null 2>&1; then
3250 ac_cv_header_stdc=no
3256 if test $ac_cv_header_stdc = yes; then
3257 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3258 if test "$cross_compiling" = yes; then
3261 cat >conftest.$ac_ext <<_ACEOF
3264 cat confdefs.h >>conftest.$ac_ext
3265 cat >>conftest.$ac_ext <<_ACEOF
3266 /* end confdefs.h. */
3269 #if ((' ' & 0x0FF) == 0x020)
3270 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3271 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3273 # define ISLOWER(c) \
3274 (('a' <= (c) && (c) <= 'i') \
3275 || ('j' <= (c) && (c) <= 'r') \
3276 || ('s' <= (c) && (c) <= 'z'))
3277 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3280 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3285 for (i = 0; i < 256; i++)
3286 if (XOR (islower (i), ISLOWER (i))
3287 || toupper (i) != TOUPPER (i))
3292 rm -f conftest$ac_exeext
3293 if { (ac_try="$ac_link"
3295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296 *) ac_try_echo=$ac_try;;
3298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3299 $as_echo "$ac_try_echo") >&5
3300 (eval "$ac_link") 2>&5
3302 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3304 { (case "(($ac_try" in
3305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3306 *) ac_try_echo=$ac_try;;
3308 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3309 $as_echo "$ac_try_echo") >&5
3310 (eval "$ac_try") 2>&5
3312 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3313 (exit $ac_status); }; }; then
3316 $as_echo "$as_me: program exited with status $ac_status" >&5
3317 $as_echo "$as_me: failed program was:" >&5
3318 sed 's/^/| /' conftest.$ac_ext >&5
3321 ac_cv_header_stdc=no
3323 rm -rf conftest.dSYM
3324 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3330 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3331 $as_echo "$ac_cv_header_stdc" >&6; }
3332 if test $ac_cv_header_stdc = yes; then
3334 cat >>confdefs.h <<\_ACEOF
3335 #define STDC_HEADERS 1
3340 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3350 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3351 inttypes.h stdint.h unistd.h
3353 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3354 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3355 $as_echo_n "checking for $ac_header... " >&6; }
3356 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3357 $as_echo_n "(cached) " >&6
3359 cat >conftest.$ac_ext <<_ACEOF
3362 cat confdefs.h >>conftest.$ac_ext
3363 cat >>conftest.$ac_ext <<_ACEOF
3364 /* end confdefs.h. */
3365 $ac_includes_default
3367 #include <$ac_header>
3369 rm -f conftest.$ac_objext
3370 if { (ac_try="$ac_compile"
3372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3373 *) ac_try_echo=$ac_try;;
3375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3376 $as_echo "$ac_try_echo") >&5
3377 (eval "$ac_compile") 2>conftest.er1
3379 grep -v '^ *+' conftest.er1 >conftest.err
3381 cat conftest.err >&5
3382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); } && {
3384 test -z "$ac_c_werror_flag" ||
3385 test ! -s conftest.err
3386 } && test -s conftest.$ac_objext; then
3387 eval "$as_ac_Header=yes"
3389 $as_echo "$as_me: failed program was:" >&5
3390 sed 's/^/| /' conftest.$ac_ext >&5
3392 eval "$as_ac_Header=no"
3395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3397 ac_res=`eval 'as_val=${'$as_ac_Header'}
3398 $as_echo "$as_val"'`
3399 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3400 $as_echo "$ac_res" >&6; }
3401 as_val=`eval 'as_val=${'$as_ac_Header'}
3402 $as_echo "$as_val"'`
3403 if test "x$as_val" = x""yes; then
3404 cat >>confdefs.h <<_ACEOF
3405 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3414 if test "${ac_cv_header_minix_config_h+set}" = set; then
3415 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
3416 $as_echo_n "checking for minix/config.h... " >&6; }
3417 if test "${ac_cv_header_minix_config_h+set}" = set; then
3418 $as_echo_n "(cached) " >&6
3420 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3421 $as_echo "$ac_cv_header_minix_config_h" >&6; }
3423 # Is the header compilable?
3424 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3425 $as_echo_n "checking minix/config.h usability... " >&6; }
3426 cat >conftest.$ac_ext <<_ACEOF
3429 cat confdefs.h >>conftest.$ac_ext
3430 cat >>conftest.$ac_ext <<_ACEOF
3431 /* end confdefs.h. */
3432 $ac_includes_default
3433 #include <minix/config.h>
3435 rm -f conftest.$ac_objext
3436 if { (ac_try="$ac_compile"
3438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3439 *) ac_try_echo=$ac_try;;
3441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3442 $as_echo "$ac_try_echo") >&5
3443 (eval "$ac_compile") 2>conftest.er1
3445 grep -v '^ *+' conftest.er1 >conftest.err
3447 cat conftest.err >&5
3448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); } && {
3450 test -z "$ac_c_werror_flag" ||
3451 test ! -s conftest.err
3452 } && test -s conftest.$ac_objext; then
3453 ac_header_compiler=yes
3455 $as_echo "$as_me: failed program was:" >&5
3456 sed 's/^/| /' conftest.$ac_ext >&5
3458 ac_header_compiler=no
3461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3462 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3463 $as_echo "$ac_header_compiler" >&6; }
3465 # Is the header present?
3466 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3467 $as_echo_n "checking minix/config.h presence... " >&6; }
3468 cat >conftest.$ac_ext <<_ACEOF
3471 cat confdefs.h >>conftest.$ac_ext
3472 cat >>conftest.$ac_ext <<_ACEOF
3473 /* end confdefs.h. */
3474 #include <minix/config.h>
3476 if { (ac_try="$ac_cpp conftest.$ac_ext"
3478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3479 *) ac_try_echo=$ac_try;;
3481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3482 $as_echo "$ac_try_echo") >&5
3483 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3485 grep -v '^ *+' conftest.er1 >conftest.err
3487 cat conftest.err >&5
3488 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3489 (exit $ac_status); } >/dev/null && {
3490 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3491 test ! -s conftest.err
3493 ac_header_preproc=yes
3495 $as_echo "$as_me: failed program was:" >&5
3496 sed 's/^/| /' conftest.$ac_ext >&5
3498 ac_header_preproc=no
3501 rm -f conftest.err conftest.$ac_ext
3502 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3503 $as_echo "$ac_header_preproc" >&6; }
3505 # So? What about this header?
3506 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3508 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3509 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3510 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3511 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3512 ac_header_preproc=yes
3515 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3516 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3517 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3518 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3519 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3520 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3521 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3522 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3523 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3524 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3525 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3526 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3528 ## ----------------------------------- ##
3529 ## Report this to andreas@eversberg.eu ##
3530 ## ----------------------------------- ##
3532 ) | sed "s/^/$as_me: WARNING: /" >&2
3535 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
3536 $as_echo_n "checking for minix/config.h... " >&6; }
3537 if test "${ac_cv_header_minix_config_h+set}" = set; then
3538 $as_echo_n "(cached) " >&6
3540 ac_cv_header_minix_config_h=$ac_header_preproc
3542 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3543 $as_echo "$ac_cv_header_minix_config_h" >&6; }
3546 if test "x$ac_cv_header_minix_config_h" = x""yes; then
3553 if test "$MINIX" = yes; then
3555 cat >>confdefs.h <<\_ACEOF
3556 #define _POSIX_SOURCE 1
3560 cat >>confdefs.h <<\_ACEOF
3561 #define _POSIX_1_SOURCE 2
3565 cat >>confdefs.h <<\_ACEOF
3573 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3574 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3575 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3576 $as_echo_n "(cached) " >&6
3578 cat >conftest.$ac_ext <<_ACEOF
3581 cat confdefs.h >>conftest.$ac_ext
3582 cat >>conftest.$ac_ext <<_ACEOF
3583 /* end confdefs.h. */
3585 # define __EXTENSIONS__ 1
3586 $ac_includes_default
3595 rm -f conftest.$ac_objext
3596 if { (ac_try="$ac_compile"
3598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3599 *) ac_try_echo=$ac_try;;
3601 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3602 $as_echo "$ac_try_echo") >&5
3603 (eval "$ac_compile") 2>conftest.er1
3605 grep -v '^ *+' conftest.er1 >conftest.err
3607 cat conftest.err >&5
3608 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3609 (exit $ac_status); } && {
3610 test -z "$ac_c_werror_flag" ||
3611 test ! -s conftest.err
3612 } && test -s conftest.$ac_objext; then
3613 ac_cv_safe_to_define___extensions__=yes
3615 $as_echo "$as_me: failed program was:" >&5
3616 sed 's/^/| /' conftest.$ac_ext >&5
3618 ac_cv_safe_to_define___extensions__=no
3621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3623 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
3624 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3625 test $ac_cv_safe_to_define___extensions__ = yes &&
3626 cat >>confdefs.h <<\_ACEOF
3627 #define __EXTENSIONS__ 1
3630 cat >>confdefs.h <<\_ACEOF
3631 #define _ALL_SOURCE 1
3634 cat >>confdefs.h <<\_ACEOF
3635 #define _GNU_SOURCE 1
3638 cat >>confdefs.h <<\_ACEOF
3639 #define _POSIX_PTHREAD_SEMANTICS 1
3642 cat >>confdefs.h <<\_ACEOF
3643 #define _TANDEM_SOURCE 1
3647 # AC_USE_SYSTEM_EXTENSIONS
3648 am__api_version="1.9"
3650 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3651 if test -f "$ac_dir/install-sh"; then
3653 ac_install_sh="$ac_aux_dir/install-sh -c"
3655 elif test -f "$ac_dir/install.sh"; then
3657 ac_install_sh="$ac_aux_dir/install.sh -c"
3659 elif test -f "$ac_dir/shtool"; then
3661 ac_install_sh="$ac_aux_dir/shtool install -c"
3665 if test -z "$ac_aux_dir"; then
3666 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
3667 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
3668 { (exit 1); exit 1; }; }
3671 # These three variables are undocumented and unsupported,
3672 # and are intended to be withdrawn in a future Autoconf release.
3673 # They can cause serious problems if a builder's source tree is in a directory
3674 # whose full name contains unusual characters.
3675 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3676 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3677 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3680 # Find a good install program. We prefer a C program (faster),
3681 # so one script is as good as another. But avoid the broken or
3682 # incompatible versions:
3683 # SysV /etc/install, /usr/sbin/install
3684 # SunOS /usr/etc/install
3685 # IRIX /sbin/install
3687 # AmigaOS /C/install, which installs bootblocks on floppy discs
3688 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3689 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3690 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3691 # OS/2's system install, which has a completely different semantic
3692 # ./install, which can be erroneously created by make from ./install.sh.
3693 # Reject install programs that cannot install multiple files.
3694 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3695 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3696 if test -z "$INSTALL"; then
3697 if test "${ac_cv_path_install+set}" = set; then
3698 $as_echo_n "(cached) " >&6
3700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3704 test -z "$as_dir" && as_dir=.
3705 # Account for people who put trailing slashes in PATH elements.
3707 ./ | .// | /cC/* | \
3708 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3709 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3712 # OSF1 and SCO ODT 3.0 have their own names for install.
3713 # Don't use installbsd from OSF since it installs stuff as root
3715 for ac_prog in ginstall scoinst install; do
3716 for ac_exec_ext in '' $ac_executable_extensions; do
3717 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3718 if test $ac_prog = install &&
3719 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3720 # AIX install. It has an incompatible calling convention.
3722 elif test $ac_prog = install &&
3723 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3724 # program-specific install script used by HP pwplus--don't use.
3727 rm -rf conftest.one conftest.two conftest.dir
3728 echo one > conftest.one
3729 echo two > conftest.two
3731 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3732 test -s conftest.one && test -s conftest.two &&
3733 test -s conftest.dir/conftest.one &&
3734 test -s conftest.dir/conftest.two
3736 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3749 rm -rf conftest.one conftest.two conftest.dir
3752 if test "${ac_cv_path_install+set}" = set; then
3753 INSTALL=$ac_cv_path_install
3755 # As a last resort, use the slow shell script. Don't cache a
3756 # value for INSTALL within a source directory, because that will
3757 # break other packages using the cache if that directory is
3758 # removed, or if the value is a relative name.
3759 INSTALL=$ac_install_sh
3762 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3763 $as_echo "$INSTALL" >&6; }
3765 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3766 # It thinks the first close brace ends the variable substitution.
3767 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3769 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3771 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3773 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3774 $as_echo_n "checking whether build environment is sane... " >&6; }
3777 echo timestamp > conftest.file
3778 # Do `set' in a subshell so we don't clobber the current shell's
3779 # arguments. Must try -L first in case configure is actually a
3780 # symlink; some systems play weird games with the mod time of symlinks
3781 # (eg FreeBSD returns the mod time of the symlink's containing
3784 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3785 if test "$*" = "X"; then
3787 set X `ls -t $srcdir/configure conftest.file`
3790 if test "$*" != "X $srcdir/configure conftest.file" \
3791 && test "$*" != "X conftest.file $srcdir/configure"; then
3793 # If neither matched, then we have a broken ls. This can happen
3794 # if, for instance, CONFIG_SHELL is bash and it inherits a
3795 # broken ls alias from the environment. This has actually
3796 # happened. Such a system could not be considered "sane".
3797 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3798 alias in your environment" >&5
3799 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3800 alias in your environment" >&2;}
3801 { (exit 1); exit 1; }; }
3804 test "$2" = conftest.file
3810 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3811 Check your system clock" >&5
3812 $as_echo "$as_me: error: newly created file is older than distributed files!
3813 Check your system clock" >&2;}
3814 { (exit 1); exit 1; }; }
3816 { $as_echo "$as_me:$LINENO: result: yes" >&5
3817 $as_echo "yes" >&6; }
3818 test "$program_prefix" != NONE &&
3819 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3820 # Use a double $ so make ignores it.
3821 test "$program_suffix" != NONE &&
3822 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3823 # Double any \ or $.
3824 # By default was `s,x,x', remove it if useless.
3825 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3826 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3828 # expand $ac_aux_dir to an absolute path
3829 am_aux_dir=`cd $ac_aux_dir && pwd`
3831 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
3832 # Use eval to expand $SHELL
3833 if eval "$MISSING --run true"; then
3834 am_missing_run="$MISSING --run "
3837 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3838 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3841 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
3842 # We used to keeping the `.' as first argument, in order to
3843 # allow $(mkdir_p) to be used without argument. As in
3844 # $(mkdir_p) $(somedir)
3845 # where $(somedir) is conditionally defined. However this is wrong
3847 # 1. if the package is installed by a user who cannot write `.'
3848 # make install will fail,
3849 # 2. the above comment should most certainly read
3850 # $(mkdir_p) $(DESTDIR)$(somedir)
3851 # so it does not work when $(somedir) is undefined and
3852 # $(DESTDIR) is not.
3853 # To support the latter case, we have to write
3854 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3855 # so the `.' trick is pointless.
3856 mkdir_p='mkdir -p --'
3858 # On NextStep and OpenStep, the `mkdir' command does not
3859 # recognize any option. It will interpret all options as
3860 # directories to create, and then abort because `.' already
3862 for d in ./-p ./--version;
3864 test -d $d && rmdir $d
3866 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3867 if test -f "$ac_aux_dir/mkinstalldirs"; then
3868 mkdir_p='$(mkinstalldirs)'
3870 mkdir_p='$(install_sh) -d'
3874 for ac_prog in gawk mawk nawk awk
3876 # Extract the first word of "$ac_prog", so it can be a program name with args.
3877 set dummy $ac_prog; ac_word=$2
3878 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3879 $as_echo_n "checking for $ac_word... " >&6; }
3880 if test "${ac_cv_prog_AWK+set}" = set; then
3881 $as_echo_n "(cached) " >&6
3883 if test -n "$AWK"; then
3884 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3890 test -z "$as_dir" && as_dir=.
3891 for ac_exec_ext in '' $ac_executable_extensions; do
3892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3893 ac_cv_prog_AWK="$ac_prog"
3894 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3904 if test -n "$AWK"; then
3905 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
3906 $as_echo "$AWK" >&6; }
3908 { $as_echo "$as_me:$LINENO: result: no" >&5
3909 $as_echo "no" >&6; }
3913 test -n "$AWK" && break
3916 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3917 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3919 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3920 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3921 $as_echo_n "(cached) " >&6
3923 cat >conftest.make <<\_ACEOF
3926 @echo '@@@%%%=$(MAKE)=@@@%%%'
3928 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3929 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3931 eval ac_cv_prog_make_${ac_make}_set=yes;;
3933 eval ac_cv_prog_make_${ac_make}_set=no;;
3937 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3938 { $as_echo "$as_me:$LINENO: result: yes" >&5
3939 $as_echo "yes" >&6; }
3942 { $as_echo "$as_me:$LINENO: result: no" >&5
3943 $as_echo "no" >&6; }
3944 SET_MAKE="MAKE=${MAKE-make}"
3947 rm -rf .tst 2>/dev/null
3948 mkdir .tst 2>/dev/null
3949 if test -d .tst; then
3954 rmdir .tst 2>/dev/null
3956 DEPDIR="${am__leading_dot}deps"
3958 ac_config_commands="$ac_config_commands depfiles"
3961 am_make=${MAKE-make}
3962 cat > confinc << 'END'
3967 # If we don't find an include directive, just comment out the code.
3968 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3969 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3973 # First try GNU make style include.
3974 echo "include confinc" > confmf
3975 # We grep out `Entering directory' and `Leaving directory'
3976 # messages which can occur if `w' ends up in MAKEFLAGS.
3977 # In particular we don't look at `^make:' because GNU make might
3978 # be invoked under some other name (usually "gmake"), in which
3979 # case it prints its new name instead of `make'.
3980 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3985 # Now try BSD make style include.
3986 if test "$am__include" = "#"; then
3987 echo '.include "confinc"' > confmf
3988 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3989 am__include=.include
3996 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3997 $as_echo "$_am_result" >&6; }
3998 rm -f confinc confmf
4000 # Check whether --enable-dependency-tracking was given.
4001 if test "${enable_dependency_tracking+set}" = set; then
4002 enableval=$enable_dependency_tracking;
4005 if test "x$enable_dependency_tracking" != xno; then
4006 am_depcomp="$ac_aux_dir/depcomp"
4011 if test "x$enable_dependency_tracking" != xno; then
4021 # test to see if srcdir already configured
4022 if test "`cd $srcdir && pwd`" != "`pwd`" &&
4023 test -f $srcdir/config.status; then
4024 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
4025 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
4026 { (exit 1); exit 1; }; }
4029 # test whether we have cygpath
4030 if test -z "$CYGPATH_W"; then
4031 if (cygpath --version) >/dev/null 2>/dev/null; then
4032 CYGPATH_W='cygpath -w'
4039 # Define the identity of the package.
4044 cat >>confdefs.h <<_ACEOF
4045 #define PACKAGE "$PACKAGE"
4049 cat >>confdefs.h <<_ACEOF
4050 #define VERSION "$VERSION"
4053 # Some tools Automake needs.
4055 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}