2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for main.c 0.0.1.
5 # Report bugs to <BUG-REPORT-ADDRESS>.
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.
597 PACKAGE_NAME='main.c'
598 PACKAGE_TARNAME='main-c'
599 PACKAGE_VERSION='0.0.1'
600 PACKAGE_STRING='main.c 0.0.1'
601 PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
603 # Factoring default headers for most tests.
604 ac_includes_default="\
606 #ifdef HAVE_SYS_TYPES_H
607 # include <sys/types.h>
609 #ifdef HAVE_SYS_STAT_H
610 # include <sys/stat.h>
616 # ifdef HAVE_STDLIB_H
621 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
626 #ifdef HAVE_STRINGS_H
627 # include <strings.h>
629 #ifdef HAVE_INTTYPES_H
630 # include <inttypes.h>
639 ac_subst_vars='LTLIBOBJS
674 INSTALL_STRIP_PROGRAM
716 program_transform_name
728 enable_option_checking
729 enable_dependency_tracking
731 ac_precious_vars='build_alias
745 # Initialize some variables set by options.
747 ac_init_version=false
748 ac_unrecognized_opts=
750 # The variables have the same names as the options, with
751 # dashes changed to underlines.
759 program_transform_name=s,x,x,
767 # Installation directory options.
768 # These are left unexpanded so users can "make install exec_prefix=/foo"
769 # and all the variables that are supposed to be based on exec_prefix
770 # by default will actually change.
771 # Use braces instead of parens because sh, perl, etc. also accept them.
772 # (The list follows the same order as the GNU Coding Standards.)
773 bindir='${exec_prefix}/bin'
774 sbindir='${exec_prefix}/sbin'
775 libexecdir='${exec_prefix}/libexec'
776 datarootdir='${prefix}/share'
777 datadir='${datarootdir}'
778 sysconfdir='${prefix}/etc'
779 sharedstatedir='${prefix}/com'
780 localstatedir='${prefix}/var'
781 includedir='${prefix}/include'
782 oldincludedir='/usr/include'
783 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
784 infodir='${datarootdir}/info'
789 libdir='${exec_prefix}/lib'
790 localedir='${datarootdir}/locale'
791 mandir='${datarootdir}/man'
797 # If the previous option needs an argument, assign it.
798 if test -n "$ac_prev"; then
799 eval $ac_prev=\$ac_option
805 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
809 # Accept the important Cygnus configure options, so we can diagnose typos.
811 case $ac_dashdash$ac_option in
815 -bindir | --bindir | --bindi | --bind | --bin | --bi)
817 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
820 -build | --build | --buil | --bui | --bu)
821 ac_prev=build_alias ;;
822 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
823 build_alias=$ac_optarg ;;
825 -cache-file | --cache-file | --cache-fil | --cache-fi \
826 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
827 ac_prev=cache_file ;;
828 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
829 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
830 cache_file=$ac_optarg ;;
833 cache_file=config.cache ;;
835 -datadir | --datadir | --datadi | --datad)
837 -datadir=* | --datadir=* | --datadi=* | --datad=*)
838 datadir=$ac_optarg ;;
840 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
841 | --dataroo | --dataro | --datar)
842 ac_prev=datarootdir ;;
843 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
844 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
845 datarootdir=$ac_optarg ;;
847 -disable-* | --disable-*)
848 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
849 # Reject names that are not valid shell variable names.
850 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
851 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
852 { (exit 1); exit 1; }; }
853 ac_useropt_orig=$ac_useropt
854 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
855 case $ac_user_opts in
859 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
860 ac_unrecognized_sep=', ';;
862 eval enable_$ac_useropt=no ;;
864 -docdir | --docdir | --docdi | --doc | --do)
866 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
869 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
871 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
874 -enable-* | --enable-*)
875 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
876 # Reject names that are not valid shell variable names.
877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
878 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
879 { (exit 1); exit 1; }; }
880 ac_useropt_orig=$ac_useropt
881 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
882 case $ac_user_opts in
886 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
887 ac_unrecognized_sep=', ';;
889 eval enable_$ac_useropt=\$ac_optarg ;;
891 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
892 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
893 | --exec | --exe | --ex)
894 ac_prev=exec_prefix ;;
895 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
896 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
897 | --exec=* | --exe=* | --ex=*)
898 exec_prefix=$ac_optarg ;;
900 -gas | --gas | --ga | --g)
901 # Obsolete; use --with-gas.
904 -help | --help | --hel | --he | -h)
906 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
907 ac_init_help=recursive ;;
908 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
909 ac_init_help=short ;;
911 -host | --host | --hos | --ho)
912 ac_prev=host_alias ;;
913 -host=* | --host=* | --hos=* | --ho=*)
914 host_alias=$ac_optarg ;;
916 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
918 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
920 htmldir=$ac_optarg ;;
922 -includedir | --includedir | --includedi | --included | --include \
923 | --includ | --inclu | --incl | --inc)
924 ac_prev=includedir ;;
925 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
926 | --includ=* | --inclu=* | --incl=* | --inc=*)
927 includedir=$ac_optarg ;;
929 -infodir | --infodir | --infodi | --infod | --info | --inf)
931 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
932 infodir=$ac_optarg ;;
934 -libdir | --libdir | --libdi | --libd)
936 -libdir=* | --libdir=* | --libdi=* | --libd=*)
939 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
940 | --libexe | --libex | --libe)
941 ac_prev=libexecdir ;;
942 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
943 | --libexe=* | --libex=* | --libe=*)
944 libexecdir=$ac_optarg ;;
946 -localedir | --localedir | --localedi | --localed | --locale)
948 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
949 localedir=$ac_optarg ;;
951 -localstatedir | --localstatedir | --localstatedi | --localstated \
952 | --localstate | --localstat | --localsta | --localst | --locals)
953 ac_prev=localstatedir ;;
954 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
955 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
956 localstatedir=$ac_optarg ;;
958 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
960 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
964 # Obsolete; use --without-fp.
967 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
968 | --no-cr | --no-c | -n)
971 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
972 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
975 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
976 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
977 | --oldin | --oldi | --old | --ol | --o)
978 ac_prev=oldincludedir ;;
979 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
980 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
981 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
982 oldincludedir=$ac_optarg ;;
984 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
986 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
989 -program-prefix | --program-prefix | --program-prefi | --program-pref \
990 | --program-pre | --program-pr | --program-p)
991 ac_prev=program_prefix ;;
992 -program-prefix=* | --program-prefix=* | --program-prefi=* \
993 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
994 program_prefix=$ac_optarg ;;
996 -program-suffix | --program-suffix | --program-suffi | --program-suff \
997 | --program-suf | --program-su | --program-s)
998 ac_prev=program_suffix ;;
999 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1000 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1001 program_suffix=$ac_optarg ;;
1003 -program-transform-name | --program-transform-name \
1004 | --program-transform-nam | --program-transform-na \
1005 | --program-transform-n | --program-transform- \
1006 | --program-transform | --program-transfor \
1007 | --program-transfo | --program-transf \
1008 | --program-trans | --program-tran \
1009 | --progr-tra | --program-tr | --program-t)
1010 ac_prev=program_transform_name ;;
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 program_transform_name=$ac_optarg ;;
1020 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1022 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1023 pdfdir=$ac_optarg ;;
1025 -psdir | --psdir | --psdi | --psd | --ps)
1027 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1030 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1031 | -silent | --silent | --silen | --sile | --sil)
1034 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1036 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1038 sbindir=$ac_optarg ;;
1040 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1041 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1042 | --sharedst | --shareds | --shared | --share | --shar \
1044 ac_prev=sharedstatedir ;;
1045 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1046 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1047 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1049 sharedstatedir=$ac_optarg ;;
1051 -site | --site | --sit)
1053 -site=* | --site=* | --sit=*)
1056 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1058 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1059 srcdir=$ac_optarg ;;
1061 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1062 | --syscon | --sysco | --sysc | --sys | --sy)
1063 ac_prev=sysconfdir ;;
1064 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1065 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1066 sysconfdir=$ac_optarg ;;
1068 -target | --target | --targe | --targ | --tar | --ta | --t)
1069 ac_prev=target_alias ;;
1070 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1071 target_alias=$ac_optarg ;;
1073 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1076 -version | --version | --versio | --versi | --vers | -V)
1077 ac_init_version=: ;;
1080 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1081 # Reject names that are not valid shell variable names.
1082 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1083 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1084 { (exit 1); exit 1; }; }
1085 ac_useropt_orig=$ac_useropt
1086 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1087 case $ac_user_opts in
1091 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1092 ac_unrecognized_sep=', ';;
1094 eval with_$ac_useropt=\$ac_optarg ;;
1096 -without-* | --without-*)
1097 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1100 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1101 { (exit 1); exit 1; }; }
1102 ac_useropt_orig=$ac_useropt
1103 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1104 case $ac_user_opts in
1108 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1109 ac_unrecognized_sep=', ';;
1111 eval with_$ac_useropt=no ;;
1114 # Obsolete; use --with-x.
1117 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1118 | --x-incl | --x-inc | --x-in | --x-i)
1119 ac_prev=x_includes ;;
1120 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1121 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1122 x_includes=$ac_optarg ;;
1124 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1125 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1126 ac_prev=x_libraries ;;
1127 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1128 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1129 x_libraries=$ac_optarg ;;
1131 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1132 Try \`$0 --help' for more information." >&2
1133 { (exit 1); exit 1; }; }
1137 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1138 # Reject names that are not valid shell variable names.
1139 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1140 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1141 { (exit 1); exit 1; }; }
1142 eval $ac_envvar=\$ac_optarg
1143 export $ac_envvar ;;
1146 # FIXME: should be removed in autoconf 3.0.
1147 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1148 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1149 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1150 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1156 if test -n "$ac_prev"; then
1157 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1158 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1159 { (exit 1); exit 1; }; }
1162 if test -n "$ac_unrecognized_opts"; then
1163 case $enable_option_checking in
1165 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1166 { (exit 1); exit 1; }; } ;;
1167 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1171 # Check all directory arguments for consistency.
1172 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1173 datadir sysconfdir sharedstatedir localstatedir includedir \
1174 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1175 libdir localedir mandir
1177 eval ac_val=\$$ac_var
1178 # Remove trailing slashes.
1181 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1182 eval $ac_var=\$ac_val;;
1184 # Be sure to have absolute directory names.
1186 [\\/$]* | ?:[\\/]* ) continue;;
1187 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1189 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1190 { (exit 1); exit 1; }; }
1193 # There might be people who depend on the old broken behavior: `$host'
1194 # used to hold the argument of --host etc.
1195 # FIXME: To remove some day.
1198 target=$target_alias
1200 # FIXME: To remove some day.
1201 if test "x$host_alias" != x; then
1202 if test "x$build_alias" = x; then
1203 cross_compiling=maybe
1204 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1205 If a cross compiler is detected then cross compile mode will be used." >&2
1206 elif test "x$build_alias" != "x$host_alias"; then
1212 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1214 test "$silent" = yes && exec 6>/dev/null
1217 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1218 ac_ls_di=`ls -di .` &&
1219 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1220 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1221 { (exit 1); exit 1; }; }
1222 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1223 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1224 { (exit 1); exit 1; }; }
1227 # Find the source files, if location was not specified.
1228 if test -z "$srcdir"; then
1229 ac_srcdir_defaulted=yes
1230 # Try the directory containing this script, then the parent directory.
1231 ac_confdir=`$as_dirname -- "$as_myself" ||
1232 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1233 X"$as_myself" : 'X\(//\)[^/]' \| \
1234 X"$as_myself" : 'X\(//\)$' \| \
1235 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1236 $as_echo X"$as_myself" |
1237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1255 if test ! -r "$srcdir/$ac_unique_file"; then
1259 ac_srcdir_defaulted=no
1261 if test ! -r "$srcdir/$ac_unique_file"; then
1262 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1263 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1264 { (exit 1); exit 1; }; }
1266 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1268 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1269 { (exit 1); exit 1; }; }
1271 # When building in place, set srcdir=.
1272 if test "$ac_abs_confdir" = "$ac_pwd"; then
1275 # Remove unnecessary trailing slashes from srcdir.
1276 # Double slashes in file names in object file debugging info
1277 # mess up M-x gdb in Emacs.
1279 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1281 for ac_var in $ac_precious_vars; do
1282 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1283 eval ac_env_${ac_var}_value=\$${ac_var}
1284 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1285 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1289 # Report the --help message.
1291 if test "$ac_init_help" = "long"; then
1292 # Omit some internal or obsolete options to make the list less imposing.
1293 # This message is too long to be a string in the A/UX 3.1 sh.
1295 \`configure' configures main.c 0.0.1 to adapt to many kinds of systems.
1297 Usage: $0 [OPTION]... [VAR=VALUE]...
1299 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1300 VAR=VALUE. See below for descriptions of some of the useful variables.
1302 Defaults for the options are specified in brackets.
1305 -h, --help display this help and exit
1306 --help=short display options specific to this package
1307 --help=recursive display the short help of all the included packages
1308 -V, --version display version information and exit
1309 -q, --quiet, --silent do not print \`checking...' messages
1310 --cache-file=FILE cache test results in FILE [disabled]
1311 -C, --config-cache alias for \`--cache-file=config.cache'
1312 -n, --no-create do not create output files
1313 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1315 Installation directories:
1316 --prefix=PREFIX install architecture-independent files in PREFIX
1317 [$ac_default_prefix]
1318 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1321 By default, \`make install' will install all the files in
1322 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1323 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1324 for instance \`--prefix=\$HOME'.
1326 For better control, use the options below.
1328 Fine tuning of the installation directories:
1329 --bindir=DIR user executables [EPREFIX/bin]
1330 --sbindir=DIR system admin executables [EPREFIX/sbin]
1331 --libexecdir=DIR program executables [EPREFIX/libexec]
1332 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1333 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1334 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1335 --libdir=DIR object code libraries [EPREFIX/lib]
1336 --includedir=DIR C header files [PREFIX/include]
1337 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1338 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1339 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1340 --infodir=DIR info documentation [DATAROOTDIR/info]
1341 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1342 --mandir=DIR man documentation [DATAROOTDIR/man]
1343 --docdir=DIR documentation root [DATAROOTDIR/doc/main-c]
1344 --htmldir=DIR html documentation [DOCDIR]
1345 --dvidir=DIR dvi documentation [DOCDIR]
1346 --pdfdir=DIR pdf documentation [DOCDIR]
1347 --psdir=DIR ps documentation [DOCDIR]
1353 --program-prefix=PREFIX prepend PREFIX to installed program names
1354 --program-suffix=SUFFIX append SUFFIX to installed program names
1355 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1359 if test -n "$ac_init_help"; then
1360 case $ac_init_help in
1361 short | recursive ) echo "Configuration of main.c 0.0.1:";;
1366 --disable-option-checking ignore unrecognized --enable/--with options
1367 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1368 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1369 --disable-dependency-tracking speeds up one-time build
1370 --enable-dependency-tracking do not reject slow dependency extractors
1372 Some influential environment variables:
1373 CXX C++ compiler command
1374 CXXFLAGS C++ compiler flags
1375 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1376 nonstandard directory <lib dir>
1377 LIBS libraries to pass to the linker, e.g. -l<library>
1378 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1379 you have headers in a nonstandard directory <include dir>
1380 CC C compiler command
1381 CFLAGS C compiler flags
1384 Use these variables to override the choices made by `configure' or to help
1385 it to find libraries and programs with nonstandard names/locations.
1387 Report bugs to <BUG-REPORT-ADDRESS>.
1392 if test "$ac_init_help" = "recursive"; then
1393 # If there are subdirs, report their specific --help.
1394 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1395 test -d "$ac_dir" ||
1396 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1401 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1403 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1404 # A ".." for each directory in $ac_dir_suffix.
1405 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1406 case $ac_top_builddir_sub in
1407 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1408 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1411 ac_abs_top_builddir=$ac_pwd
1412 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1413 # for backward compatibility:
1414 ac_top_builddir=$ac_top_build_prefix
1417 .) # We are building in place.
1419 ac_top_srcdir=$ac_top_builddir_sub
1420 ac_abs_top_srcdir=$ac_pwd ;;
1421 [\\/]* | ?:[\\/]* ) # Absolute name.
1422 ac_srcdir=$srcdir$ac_dir_suffix;
1423 ac_top_srcdir=$srcdir
1424 ac_abs_top_srcdir=$srcdir ;;
1426 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1427 ac_top_srcdir=$ac_top_build_prefix$srcdir
1428 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1430 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1432 cd "$ac_dir" || { ac_status=$?; continue; }
1433 # Check for guested configure.
1434 if test -f "$ac_srcdir/configure.gnu"; then
1436 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1437 elif test -f "$ac_srcdir/configure"; then
1439 $SHELL "$ac_srcdir/configure" --help=recursive
1441 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1443 cd "$ac_pwd" || { ac_status=$?; break; }
1447 test -n "$ac_init_help" && exit $ac_status
1448 if $ac_init_version; then
1450 main.c configure 0.0.1
1451 generated by GNU Autoconf 2.63
1453 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1454 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1455 This configure script is free software; the Free Software Foundation
1456 gives unlimited permission to copy, distribute and modify it.
1460 cat >config.log <<_ACEOF
1461 This file contains any messages produced by compilers while
1462 running configure, to aid debugging if configure makes a mistake.
1464 It was created by main.c $as_me 0.0.1, which was
1465 generated by GNU Autoconf 2.63. Invocation command line was
1477 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1478 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1479 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1480 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1481 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1483 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1484 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1486 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1487 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1488 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1489 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1490 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1491 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1492 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1500 test -z "$as_dir" && as_dir=.
1501 $as_echo "PATH: $as_dir"
1517 # Keep a trace of the command line.
1518 # Strip out --no-create and --no-recursion so they do not pile up.
1519 # Strip out --silent because we don't want to record it for future runs.
1520 # Also quote any args containing shell meta-characters.
1521 # Make two passes to allow for proper duplicate-argument suppression.
1525 ac_must_keep_next=false
1531 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1532 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1533 | -silent | --silent | --silen | --sile | --sil)
1536 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1539 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1541 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1542 if test $ac_must_keep_next = true; then
1543 ac_must_keep_next=false # Got value, back to normal.
1546 *=* | --config-cache | -C | -disable-* | --disable-* \
1547 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1548 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1549 | -with-* | --with-* | -without-* | --without-* | --x)
1550 case "$ac_configure_args0 " in
1551 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1554 -* ) ac_must_keep_next=true ;;
1557 ac_configure_args="$ac_configure_args '$ac_arg'"
1562 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1563 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1565 # When interrupted or exit'd, cleanup temporary files, and complete
1566 # config.log. We remove comments because anyway the quotes in there
1567 # would cause problems or look ugly.
1568 # WARNING: Use '\'' to represent an apostrophe within the trap.
1569 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1570 trap 'exit_status=$?
1571 # Save into config.log some information that might help in debugging.
1576 ## ---------------- ##
1577 ## Cache variables. ##
1578 ## ---------------- ##
1581 # The following way of writing the cache mishandles newlines in values,
1583 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1584 eval ac_val=\$$ac_var
1588 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1589 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1592 _ | IFS | as_nl) ;; #(
1593 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1594 *) $as_unset $ac_var ;;
1599 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1600 *${as_nl}ac_space=\ *)
1602 "s/'\''/'\''\\\\'\'''\''/g;
1603 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1606 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1614 ## ----------------- ##
1615 ## Output variables. ##
1616 ## ----------------- ##
1619 for ac_var in $ac_subst_vars
1621 eval ac_val=\$$ac_var
1623 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1625 $as_echo "$ac_var='\''$ac_val'\''"
1629 if test -n "$ac_subst_files"; then
1631 ## ------------------- ##
1632 ## File substitutions. ##
1633 ## ------------------- ##
1636 for ac_var in $ac_subst_files
1638 eval ac_val=\$$ac_var
1640 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1642 $as_echo "$ac_var='\''$ac_val'\''"
1647 if test -s confdefs.h; then
1657 test "$ac_signal" != 0 &&
1658 $as_echo "$as_me: caught signal $ac_signal"
1659 $as_echo "$as_me: exit $exit_status"
1661 rm -f core *.core core.conftest.* &&
1662 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1665 for ac_signal in 1 2 13 15; do
1666 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1670 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1671 rm -f -r conftest* confdefs.h
1673 # Predefined preprocessor variables.
1675 cat >>confdefs.h <<_ACEOF
1676 #define PACKAGE_NAME "$PACKAGE_NAME"
1680 cat >>confdefs.h <<_ACEOF
1681 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1690 cat >>confdefs.h <<_ACEOF
1691 #define PACKAGE_STRING "$PACKAGE_STRING"
1695 cat >>confdefs.h <<_ACEOF
1696 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1700 # Let the site file select an alternate cache file if it wants to.
1701 # Prefer an explicitly selected file to automatically selected ones.
1704 if test -n "$CONFIG_SITE"; then
1705 ac_site_file1=$CONFIG_SITE
1706 elif test "x$prefix" != xNONE; then
1707 ac_site_file1=$prefix/share/config.site
1708 ac_site_file2=$prefix/etc/config.site
1710 ac_site_file1=$ac_default_prefix/share/config.site
1711 ac_site_file2=$ac_default_prefix/etc/config.site
1713 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1715 test "x$ac_site_file" = xNONE && continue
1716 if test -r "$ac_site_file"; then
1717 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1718 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1719 sed 's/^/| /' "$ac_site_file" >&5
1724 if test -r "$cache_file"; then
1725 # Some versions of bash will fail to source /dev/null (special
1726 # files actually), so we avoid doing that.
1727 if test -f "$cache_file"; then
1728 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1729 $as_echo "$as_me: loading cache $cache_file" >&6;}
1731 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1732 *) . "./$cache_file";;
1736 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1737 $as_echo "$as_me: creating cache $cache_file" >&6;}
1741 # Check that the precious variables saved in the cache have kept the same
1743 ac_cache_corrupted=false
1744 for ac_var in $ac_precious_vars; do
1745 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1746 eval ac_new_set=\$ac_env_${ac_var}_set
1747 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1748 eval ac_new_val=\$ac_env_${ac_var}_value
1749 case $ac_old_set,$ac_new_set in
1751 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1752 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1753 ac_cache_corrupted=: ;;
1755 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1756 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1757 ac_cache_corrupted=: ;;
1760 if test "x$ac_old_val" != "x$ac_new_val"; then
1761 # differences in whitespace do not lead to failure.
1762 ac_old_val_w=`echo x $ac_old_val`
1763 ac_new_val_w=`echo x $ac_new_val`
1764 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1765 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1766 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1767 ac_cache_corrupted=:
1769 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1770 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1771 eval $ac_var=\$ac_old_val
1773 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1774 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1775 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1776 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1779 # Pass precious variables to config.status.
1780 if test "$ac_new_set" = set; then
1782 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1783 *) ac_arg=$ac_var=$ac_new_val ;;
1785 case " $ac_configure_args " in
1786 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1787 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1791 if $ac_cache_corrupted; then
1792 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1794 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1795 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1796 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1797 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1798 { (exit 1); exit 1; }; }
1826 ac_cpp='$CPP $CPPFLAGS'
1827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1832 am__api_version='1.10'
1835 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1836 if test -f "$ac_dir/install-sh"; then
1838 ac_install_sh="$ac_aux_dir/install-sh -c"
1840 elif test -f "$ac_dir/install.sh"; then
1842 ac_install_sh="$ac_aux_dir/install.sh -c"
1844 elif test -f "$ac_dir/shtool"; then
1846 ac_install_sh="$ac_aux_dir/shtool install -c"
1850 if test -z "$ac_aux_dir"; then
1851 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1852 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1853 { (exit 1); exit 1; }; }
1856 # These three variables are undocumented and unsupported,
1857 # and are intended to be withdrawn in a future Autoconf release.
1858 # They can cause serious problems if a builder's source tree is in a directory
1859 # whose full name contains unusual characters.
1860 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1861 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1862 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1865 # Find a good install program. We prefer a C program (faster),
1866 # so one script is as good as another. But avoid the broken or
1867 # incompatible versions:
1868 # SysV /etc/install, /usr/sbin/install
1869 # SunOS /usr/etc/install
1870 # IRIX /sbin/install
1872 # AmigaOS /C/install, which installs bootblocks on floppy discs
1873 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1874 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1875 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1876 # OS/2's system install, which has a completely different semantic
1877 # ./install, which can be erroneously created by make from ./install.sh.
1878 # Reject install programs that cannot install multiple files.
1879 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1880 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1881 if test -z "$INSTALL"; then
1882 if test "${ac_cv_path_install+set}" = set; then
1883 $as_echo_n "(cached) " >&6
1885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1889 test -z "$as_dir" && as_dir=.
1890 # Account for people who put trailing slashes in PATH elements.
1892 ./ | .// | /cC/* | \
1893 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1894 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1897 # OSF1 and SCO ODT 3.0 have their own names for install.
1898 # Don't use installbsd from OSF since it installs stuff as root
1900 for ac_prog in ginstall scoinst install; do
1901 for ac_exec_ext in '' $ac_executable_extensions; do
1902 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1903 if test $ac_prog = install &&
1904 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1905 # AIX install. It has an incompatible calling convention.
1907 elif test $ac_prog = install &&
1908 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1909 # program-specific install script used by HP pwplus--don't use.
1912 rm -rf conftest.one conftest.two conftest.dir
1913 echo one > conftest.one
1914 echo two > conftest.two
1916 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1917 test -s conftest.one && test -s conftest.two &&
1918 test -s conftest.dir/conftest.one &&
1919 test -s conftest.dir/conftest.two
1921 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1934 rm -rf conftest.one conftest.two conftest.dir
1937 if test "${ac_cv_path_install+set}" = set; then
1938 INSTALL=$ac_cv_path_install
1940 # As a last resort, use the slow shell script. Don't cache a
1941 # value for INSTALL within a source directory, because that will
1942 # break other packages using the cache if that directory is
1943 # removed, or if the value is a relative name.
1944 INSTALL=$ac_install_sh
1947 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1948 $as_echo "$INSTALL" >&6; }
1950 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1951 # It thinks the first close brace ends the variable substitution.
1952 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1954 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1956 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1958 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1959 $as_echo_n "checking whether build environment is sane... " >&6; }
1962 echo timestamp > conftest.file
1963 # Do `set' in a subshell so we don't clobber the current shell's
1964 # arguments. Must try -L first in case configure is actually a
1965 # symlink; some systems play weird games with the mod time of symlinks
1966 # (eg FreeBSD returns the mod time of the symlink's containing
1969 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1970 if test "$*" = "X"; then
1972 set X `ls -t $srcdir/configure conftest.file`
1975 if test "$*" != "X $srcdir/configure conftest.file" \
1976 && test "$*" != "X conftest.file $srcdir/configure"; then
1978 # If neither matched, then we have a broken ls. This can happen
1979 # if, for instance, CONFIG_SHELL is bash and it inherits a
1980 # broken ls alias from the environment. This has actually
1981 # happened. Such a system could not be considered "sane".
1982 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1983 alias in your environment" >&5
1984 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1985 alias in your environment" >&2;}
1986 { (exit 1); exit 1; }; }
1989 test "$2" = conftest.file
1995 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1996 Check your system clock" >&5
1997 $as_echo "$as_me: error: newly created file is older than distributed files!
1998 Check your system clock" >&2;}
1999 { (exit 1); exit 1; }; }
2001 { $as_echo "$as_me:$LINENO: result: yes" >&5
2002 $as_echo "yes" >&6; }
2003 test "$program_prefix" != NONE &&
2004 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2005 # Use a double $ so make ignores it.
2006 test "$program_suffix" != NONE &&
2007 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2008 # Double any \ or $.
2009 # By default was `s,x,x', remove it if useless.
2010 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2011 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2013 # expand $ac_aux_dir to an absolute path
2014 am_aux_dir=`cd $ac_aux_dir && pwd`
2016 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2017 # Use eval to expand $SHELL
2018 if eval "$MISSING --run true"; then
2019 am_missing_run="$MISSING --run "
2022 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2023 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2026 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2027 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2028 if test -z "$MKDIR_P"; then
2029 if test "${ac_cv_path_mkdir+set}" = set; then
2030 $as_echo_n "(cached) " >&6
2032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2033 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2036 test -z "$as_dir" && as_dir=.
2037 for ac_prog in mkdir gmkdir; do
2038 for ac_exec_ext in '' $ac_executable_extensions; do
2039 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2040 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2041 'mkdir (GNU coreutils) '* | \
2042 'mkdir (coreutils) '* | \
2043 'mkdir (fileutils) '4.1*)
2044 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2054 if test "${ac_cv_path_mkdir+set}" = set; then
2055 MKDIR_P="$ac_cv_path_mkdir -p"
2057 # As a last resort, use the slow shell script. Don't cache a
2058 # value for MKDIR_P within a source directory, because that will
2059 # break other packages using the cache if that directory is
2060 # removed, or if the value is a relative name.
2061 test -d ./--version && rmdir ./--version
2062 MKDIR_P="$ac_install_sh -d"
2065 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2066 $as_echo "$MKDIR_P" >&6; }
2070 [\\/$]* | ?:[\\/]*) ;;
2071 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2074 for ac_prog in gawk mawk nawk awk
2076 # Extract the first word of "$ac_prog", so it can be a program name with args.
2077 set dummy $ac_prog; ac_word=$2
2078 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2079 $as_echo_n "checking for $ac_word... " >&6; }
2080 if test "${ac_cv_prog_AWK+set}" = set; then
2081 $as_echo_n "(cached) " >&6
2083 if test -n "$AWK"; then
2084 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2090 test -z "$as_dir" && as_dir=.
2091 for ac_exec_ext in '' $ac_executable_extensions; do
2092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2093 ac_cv_prog_AWK="$ac_prog"
2094 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2104 if test -n "$AWK"; then
2105 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2106 $as_echo "$AWK" >&6; }
2108 { $as_echo "$as_me:$LINENO: result: no" >&5
2109 $as_echo "no" >&6; }
2113 test -n "$AWK" && break
2116 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2117 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2119 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2120 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2121 $as_echo_n "(cached) " >&6
2123 cat >conftest.make <<\_ACEOF
2126 @echo '@@@%%%=$(MAKE)=@@@%%%'
2128 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2129 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2131 eval ac_cv_prog_make_${ac_make}_set=yes;;
2133 eval ac_cv_prog_make_${ac_make}_set=no;;
2137 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2138 { $as_echo "$as_me:$LINENO: result: yes" >&5
2139 $as_echo "yes" >&6; }
2142 { $as_echo "$as_me:$LINENO: result: no" >&5
2143 $as_echo "no" >&6; }
2144 SET_MAKE="MAKE=${MAKE-make}"
2147 rm -rf .tst 2>/dev/null
2148 mkdir .tst 2>/dev/null
2149 if test -d .tst; then
2154 rmdir .tst 2>/dev/null
2156 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2157 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2158 # is not polluted with repeated "-I."
2159 am__isrc=' -I$(srcdir)'
2160 # test to see if srcdir already configured
2161 if test -f $srcdir/config.status; then
2162 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2163 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2164 { (exit 1); exit 1; }; }
2168 # test whether we have cygpath
2169 if test -z "$CYGPATH_W"; then
2170 if (cygpath --version) >/dev/null 2>/dev/null; then
2171 CYGPATH_W='cygpath -w'
2178 # Define the identity of the package.
2183 # Some tools Automake needs.
2185 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2188 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2191 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2194 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2197 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2199 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2201 # Installed binaries are usually stripped using `strip' when the user
2202 # run `make install-strip'. However `strip' might not be the right
2203 # tool to use in cross-compilation environments, therefore Automake
2204 # will honor the `STRIP' environment variable to overrule this program.
2205 if test "$cross_compiling" != no; then
2206 if test -n "$ac_tool_prefix"; then
2207 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2208 set dummy ${ac_tool_prefix}strip; ac_word=$2
2209 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2210 $as_echo_n "checking for $ac_word... " >&6; }
2211 if test "${ac_cv_prog_STRIP+set}" = set; then
2212 $as_echo_n "(cached) " >&6
2214 if test -n "$STRIP"; then
2215 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2221 test -z "$as_dir" && as_dir=.
2222 for ac_exec_ext in '' $ac_executable_extensions; do
2223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2224 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2225 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2234 STRIP=$ac_cv_prog_STRIP
2235 if test -n "$STRIP"; then
2236 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2237 $as_echo "$STRIP" >&6; }
2239 { $as_echo "$as_me:$LINENO: result: no" >&5
2240 $as_echo "no" >&6; }
2245 if test -z "$ac_cv_prog_STRIP"; then
2247 # Extract the first word of "strip", so it can be a program name with args.
2248 set dummy strip; ac_word=$2
2249 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2250 $as_echo_n "checking for $ac_word... " >&6; }
2251 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2252 $as_echo_n "(cached) " >&6
2254 if test -n "$ac_ct_STRIP"; then
2255 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2261 test -z "$as_dir" && as_dir=.
2262 for ac_exec_ext in '' $ac_executable_extensions; do
2263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2264 ac_cv_prog_ac_ct_STRIP="strip"
2265 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2275 if test -n "$ac_ct_STRIP"; then
2276 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2277 $as_echo "$ac_ct_STRIP" >&6; }
2279 { $as_echo "$as_me:$LINENO: result: no" >&5
2280 $as_echo "no" >&6; }
2283 if test "x$ac_ct_STRIP" = x; then
2286 case $cross_compiling:$ac_tool_warned in
2288 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2290 ac_tool_warned=yes ;;
2295 STRIP="$ac_cv_prog_STRIP"
2299 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2301 # We need awk for the "check" target. The system "awk" is bad on
2303 # Always define AMTAR for backward compatibility.
2305 AMTAR=${AMTAR-"${am_missing_run}tar"}
2307 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2314 # Checks for programs.
2316 ac_cpp='$CXXCPP $CPPFLAGS'
2317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2320 if test -z "$CXX"; then
2321 if test -n "$CCC"; then
2324 if test -n "$ac_tool_prefix"; then
2325 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2327 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2328 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2329 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2330 $as_echo_n "checking for $ac_word... " >&6; }
2331 if test "${ac_cv_prog_CXX+set}" = set; then
2332 $as_echo_n "(cached) " >&6
2334 if test -n "$CXX"; then
2335 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2341 test -z "$as_dir" && as_dir=.
2342 for ac_exec_ext in '' $ac_executable_extensions; do
2343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2344 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2345 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2355 if test -n "$CXX"; then
2356 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
2357 $as_echo "$CXX" >&6; }
2359 { $as_echo "$as_me:$LINENO: result: no" >&5
2360 $as_echo "no" >&6; }
2364 test -n "$CXX" && break
2367 if test -z "$CXX"; then
2369 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2371 # Extract the first word of "$ac_prog", so it can be a program name with args.
2372 set dummy $ac_prog; ac_word=$2
2373 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2374 $as_echo_n "checking for $ac_word... " >&6; }
2375 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2376 $as_echo_n "(cached) " >&6
2378 if test -n "$ac_ct_CXX"; then
2379 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2385 test -z "$as_dir" && as_dir=.
2386 for ac_exec_ext in '' $ac_executable_extensions; do
2387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2388 ac_cv_prog_ac_ct_CXX="$ac_prog"
2389 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2398 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2399 if test -n "$ac_ct_CXX"; then
2400 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2401 $as_echo "$ac_ct_CXX" >&6; }
2403 { $as_echo "$as_me:$LINENO: result: no" >&5
2404 $as_echo "no" >&6; }
2408 test -n "$ac_ct_CXX" && break
2411 if test "x$ac_ct_CXX" = x; then
2414 case $cross_compiling:$ac_tool_warned in
2416 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2418 ac_tool_warned=yes ;;
2426 # Provide some information about the compiler.
2427 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2430 { (ac_try="$ac_compiler --version >&5"
2432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2433 *) ac_try_echo=$ac_try;;
2435 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2436 $as_echo "$ac_try_echo") >&5
2437 (eval "$ac_compiler --version >&5") 2>&5
2439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440 (exit $ac_status); }
2441 { (ac_try="$ac_compiler -v >&5"
2443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2444 *) ac_try_echo=$ac_try;;
2446 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2447 $as_echo "$ac_try_echo") >&5
2448 (eval "$ac_compiler -v >&5") 2>&5
2450 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451 (exit $ac_status); }
2452 { (ac_try="$ac_compiler -V >&5"
2454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2455 *) ac_try_echo=$ac_try;;
2457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2458 $as_echo "$ac_try_echo") >&5
2459 (eval "$ac_compiler -V >&5") 2>&5
2461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); }
2464 cat >conftest.$ac_ext <<_ACEOF
2467 cat confdefs.h >>conftest.$ac_ext
2468 cat >>conftest.$ac_ext <<_ACEOF
2469 /* end confdefs.h. */
2479 ac_clean_files_save=$ac_clean_files
2480 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2481 # Try to create an executable without -o first, disregard a.out.
2482 # It will help us diagnose broken compilers, and finding out an intuition
2484 { $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2485 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2486 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2488 # The possible output files:
2489 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2492 for ac_file in $ac_files
2495 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2496 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2501 if { (ac_try="$ac_link_default"
2503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2504 *) ac_try_echo=$ac_try;;
2506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2507 $as_echo "$ac_try_echo") >&5
2508 (eval "$ac_link_default") 2>&5
2510 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511 (exit $ac_status); }; then
2512 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2513 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2514 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2515 # so that the user can short-circuit this test for compilers unknown to
2517 for ac_file in $ac_files ''
2519 test -f "$ac_file" || continue
2521 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2524 # We found the default executable, but exeext='' is most
2528 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2530 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2532 # We set ac_cv_exeext here because the later test for it is not
2533 # safe: cross compilers may not add the suffix if given an `-o'
2534 # argument, so we may need to know it at that point already.
2535 # Even if this section looks crufty: it has the advantage of
2542 test "$ac_cv_exeext" = no && ac_cv_exeext=
2548 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2549 $as_echo "$ac_file" >&6; }
2550 if test -z "$ac_file"; then
2551 $as_echo "$as_me: failed program was:" >&5
2552 sed 's/^/| /' conftest.$ac_ext >&5
2554 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2556 { { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2557 See \`config.log' for more details." >&5
2558 $as_echo "$as_me: error: C++ compiler cannot create executables
2559 See \`config.log' for more details." >&2;}
2560 { (exit 77); exit 77; }; }; }
2563 ac_exeext=$ac_cv_exeext
2565 # Check that the compiler produces executables we can run. If not, either
2566 # the compiler is broken, or we cross compile.
2567 { $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2568 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2569 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2570 # If not cross compiling, check that we can run a simple program.
2571 if test "$cross_compiling" != yes; then
2572 if { ac_try='./$ac_file'
2573 { (case "(($ac_try" in
2574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2575 *) ac_try_echo=$ac_try;;
2577 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2578 $as_echo "$ac_try_echo") >&5
2579 (eval "$ac_try") 2>&5
2581 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2582 (exit $ac_status); }; }; then
2585 if test "$cross_compiling" = maybe; then
2588 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2590 { { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2591 If you meant to cross compile, use \`--host'.
2592 See \`config.log' for more details." >&5
2593 $as_echo "$as_me: error: cannot run C++ compiled programs.
2594 If you meant to cross compile, use \`--host'.
2595 See \`config.log' for more details." >&2;}
2596 { (exit 1); exit 1; }; }; }
2600 { $as_echo "$as_me:$LINENO: result: yes" >&5
2601 $as_echo "yes" >&6; }
2603 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2604 ac_clean_files=$ac_clean_files_save
2605 # Check that the compiler produces executables we can run. If not, either
2606 # the compiler is broken, or we cross compile.
2607 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2608 $as_echo_n "checking whether we are cross compiling... " >&6; }
2609 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2610 $as_echo "$cross_compiling" >&6; }
2612 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2613 $as_echo_n "checking for suffix of executables... " >&6; }
2614 if { (ac_try="$ac_link"
2616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2620 $as_echo "$ac_try_echo") >&5
2621 (eval "$ac_link") 2>&5
2623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); }; then
2625 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2626 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2627 # work properly (i.e., refer to `conftest.exe'), while it won't with
2629 for ac_file in conftest.exe conftest conftest.*; do
2630 test -f "$ac_file" || continue
2632 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2633 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2639 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2641 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2642 See \`config.log' for more details." >&5
2643 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2644 See \`config.log' for more details." >&2;}
2645 { (exit 1); exit 1; }; }; }
2648 rm -f conftest$ac_cv_exeext
2649 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2650 $as_echo "$ac_cv_exeext" >&6; }
2652 rm -f conftest.$ac_ext
2653 EXEEXT=$ac_cv_exeext
2655 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2656 $as_echo_n "checking for suffix of object files... " >&6; }
2657 if test "${ac_cv_objext+set}" = set; then
2658 $as_echo_n "(cached) " >&6
2660 cat >conftest.$ac_ext <<_ACEOF
2663 cat confdefs.h >>conftest.$ac_ext
2664 cat >>conftest.$ac_ext <<_ACEOF
2665 /* end confdefs.h. */
2675 rm -f conftest.o conftest.obj
2676 if { (ac_try="$ac_compile"
2678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2679 *) ac_try_echo=$ac_try;;
2681 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2682 $as_echo "$ac_try_echo") >&5
2683 (eval "$ac_compile") 2>&5
2685 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686 (exit $ac_status); }; then
2687 for ac_file in conftest.o conftest.obj conftest.*; do
2688 test -f "$ac_file" || continue;
2690 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2691 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2696 $as_echo "$as_me: failed program was:" >&5
2697 sed 's/^/| /' conftest.$ac_ext >&5
2699 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2701 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2702 See \`config.log' for more details." >&5
2703 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2704 See \`config.log' for more details." >&2;}
2705 { (exit 1); exit 1; }; }; }
2708 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2710 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2711 $as_echo "$ac_cv_objext" >&6; }
2712 OBJEXT=$ac_cv_objext
2714 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2715 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2716 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2717 $as_echo_n "(cached) " >&6
2719 cat >conftest.$ac_ext <<_ACEOF
2722 cat confdefs.h >>conftest.$ac_ext
2723 cat >>conftest.$ac_ext <<_ACEOF
2724 /* end confdefs.h. */
2737 rm -f conftest.$ac_objext
2738 if { (ac_try="$ac_compile"
2740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2741 *) ac_try_echo=$ac_try;;
2743 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2744 $as_echo "$ac_try_echo") >&5
2745 (eval "$ac_compile") 2>conftest.er1
2747 grep -v '^ *+' conftest.er1 >conftest.err
2749 cat conftest.err >&5
2750 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); } && {
2752 test -z "$ac_cxx_werror_flag" ||
2753 test ! -s conftest.err
2754 } && test -s conftest.$ac_objext; then
2757 $as_echo "$as_me: failed program was:" >&5
2758 sed 's/^/| /' conftest.$ac_ext >&5
2763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2764 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2767 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2768 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2769 if test $ac_compiler_gnu = yes; then
2774 ac_test_CXXFLAGS=${CXXFLAGS+set}
2775 ac_save_CXXFLAGS=$CXXFLAGS
2776 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2777 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2778 if test "${ac_cv_prog_cxx_g+set}" = set; then
2779 $as_echo_n "(cached) " >&6
2781 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2782 ac_cxx_werror_flag=yes
2785 cat >conftest.$ac_ext <<_ACEOF
2788 cat confdefs.h >>conftest.$ac_ext
2789 cat >>conftest.$ac_ext <<_ACEOF
2790 /* end confdefs.h. */
2800 rm -f conftest.$ac_objext
2801 if { (ac_try="$ac_compile"
2803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2804 *) ac_try_echo=$ac_try;;
2806 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2807 $as_echo "$ac_try_echo") >&5
2808 (eval "$ac_compile") 2>conftest.er1
2810 grep -v '^ *+' conftest.er1 >conftest.err
2812 cat conftest.err >&5
2813 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 (exit $ac_status); } && {
2815 test -z "$ac_cxx_werror_flag" ||
2816 test ! -s conftest.err
2817 } && test -s conftest.$ac_objext; then
2818 ac_cv_prog_cxx_g=yes
2820 $as_echo "$as_me: failed program was:" >&5
2821 sed 's/^/| /' conftest.$ac_ext >&5
2824 cat >conftest.$ac_ext <<_ACEOF
2827 cat confdefs.h >>conftest.$ac_ext
2828 cat >>conftest.$ac_ext <<_ACEOF
2829 /* end confdefs.h. */
2839 rm -f conftest.$ac_objext
2840 if { (ac_try="$ac_compile"
2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2846 $as_echo "$ac_try_echo") >&5
2847 (eval "$ac_compile") 2>conftest.er1
2849 grep -v '^ *+' conftest.er1 >conftest.err
2851 cat conftest.err >&5
2852 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); } && {
2854 test -z "$ac_cxx_werror_flag" ||
2855 test ! -s conftest.err
2856 } && test -s conftest.$ac_objext; then
2859 $as_echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.$ac_ext >&5
2862 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2864 cat >conftest.$ac_ext <<_ACEOF
2867 cat confdefs.h >>conftest.$ac_ext
2868 cat >>conftest.$ac_ext <<_ACEOF
2869 /* end confdefs.h. */
2879 rm -f conftest.$ac_objext
2880 if { (ac_try="$ac_compile"
2882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2883 *) ac_try_echo=$ac_try;;
2885 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2886 $as_echo "$ac_try_echo") >&5
2887 (eval "$ac_compile") 2>conftest.er1
2889 grep -v '^ *+' conftest.er1 >conftest.err
2891 cat conftest.err >&5
2892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); } && {
2894 test -z "$ac_cxx_werror_flag" ||
2895 test ! -s conftest.err
2896 } && test -s conftest.$ac_objext; then
2897 ac_cv_prog_cxx_g=yes
2899 $as_echo "$as_me: failed program was:" >&5
2900 sed 's/^/| /' conftest.$ac_ext >&5
2905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2912 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2914 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2915 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2916 if test "$ac_test_CXXFLAGS" = set; then
2917 CXXFLAGS=$ac_save_CXXFLAGS
2918 elif test $ac_cv_prog_cxx_g = yes; then
2919 if test "$GXX" = yes; then
2925 if test "$GXX" = yes; then
2932 ac_cpp='$CPP $CPPFLAGS'
2933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2936 DEPDIR="${am__leading_dot}deps"
2938 ac_config_commands="$ac_config_commands depfiles"
2941 am_make=${MAKE-make}
2942 cat > confinc << 'END'
2947 # If we don't find an include directive, just comment out the code.
2948 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2949 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2953 # First try GNU make style include.
2954 echo "include confinc" > confmf
2955 # We grep out `Entering directory' and `Leaving directory'
2956 # messages which can occur if `w' ends up in MAKEFLAGS.
2957 # In particular we don't look at `^make:' because GNU make might
2958 # be invoked under some other name (usually "gmake"), in which
2959 # case it prints its new name instead of `make'.
2960 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2965 # Now try BSD make style include.
2966 if test "$am__include" = "#"; then
2967 echo '.include "confinc"' > confmf
2968 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2969 am__include=.include
2976 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2977 $as_echo "$_am_result" >&6; }
2978 rm -f confinc confmf
2980 # Check whether --enable-dependency-tracking was given.
2981 if test "${enable_dependency_tracking+set}" = set; then
2982 enableval=$enable_dependency_tracking;
2985 if test "x$enable_dependency_tracking" != xno; then
2986 am_depcomp="$ac_aux_dir/depcomp"
2989 if test "x$enable_dependency_tracking" != xno; then
2999 depcc="$CXX" am_compiler_list=
3001 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3002 $as_echo_n "checking dependency style of $depcc... " >&6; }
3003 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3004 $as_echo_n "(cached) " >&6
3006 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3007 # We make a subdir and do the tests there. Otherwise we can end up
3008 # making bogus files that we don't know about and never remove. For
3009 # instance it was reported that on HP-UX the gcc test will end up
3010 # making a dummy file named `D' -- because `-MD' means `put the output
3013 # Copy depcomp to subdir because otherwise we won't find it if we're
3014 # using a relative directory.
3015 cp "$am_depcomp" conftest.dir
3017 # We will build objects and dependencies in a subdirectory because
3018 # it helps to detect inapplicable dependency modes. For instance
3019 # both Tru64's cc and ICC support -MD to output dependencies as a
3020 # side effect of compilation, but ICC will put the dependencies in
3021 # the current directory while Tru64 will put them in the object
3025 am_cv_CXX_dependencies_compiler_type=none
3026 if test "$am_compiler_list" = ""; then
3027 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3029 for depmode in $am_compiler_list; do
3030 # Setup a source with many dependencies, because some compilers
3031 # like to wrap large dependency lists on column 80 (with \), and
3032 # we should not choose a depcomp mode which is confused by this.
3034 # We need to recreate these files for each test, as the compiler may
3035 # overwrite some of them when testing with obscure command lines.
3036 # This happens at least with the AIX C compiler.
3038 for i in 1 2 3 4 5 6; do
3039 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3040 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3041 # Solaris 8's {/usr,}/bin/sh.
3042 touch sub/conftst$i.h
3044 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3048 # after this tag, mechanisms are not by side-effect, so they'll
3049 # only be used when explicitly requested
3050 if test "x$enable_dependency_tracking" = xyes; then
3058 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3059 # mode. It turns out that the SunPro C++ compiler does not properly
3060 # handle `-M -o', and we need to detect this.
3061 if depmode=$depmode \
3062 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3063 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3064 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3065 >/dev/null 2>conftest.err &&
3066 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3067 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3068 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3069 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3070 # icc doesn't choke on unknown options, it will just issue warnings
3071 # or remarks (even with -Werror). So we grep stderr for any message
3072 # that says an option was ignored or not supported.
3073 # When given -MP, icc 7.0 and 7.1 complain thusly:
3074 # icc: Command line warning: ignoring option '-M'; no argument required
3075 # The diagnosis changed in icc 8.0:
3076 # icc: Command line remark: option '-MP' not supported
3077 if (grep 'ignoring option' conftest.err ||
3078 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3079 am_cv_CXX_dependencies_compiler_type=$depmode
3088 am_cv_CXX_dependencies_compiler_type=none
3092 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3093 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3094 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3097 test "x$enable_dependency_tracking" != xno \
3098 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3099 am__fastdepCXX_TRUE=
3100 am__fastdepCXX_FALSE='#'
3102 am__fastdepCXX_TRUE='#'
3103 am__fastdepCXX_FALSE=
3108 ac_cpp='$CPP $CPPFLAGS'
3109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3112 if test -n "$ac_tool_prefix"; then
3113 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3114 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3115 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3116 $as_echo_n "checking for $ac_word... " >&6; }
3117 if test "${ac_cv_prog_CC+set}" = set; then
3118 $as_echo_n "(cached) " >&6
3120 if test -n "$CC"; then
3121 ac_cv_prog_CC="$CC" # Let the user override the test.
3123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3127 test -z "$as_dir" && as_dir=.
3128 for ac_exec_ext in '' $ac_executable_extensions; do
3129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3130 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3131 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3141 if test -n "$CC"; then
3142 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3143 $as_echo "$CC" >&6; }
3145 { $as_echo "$as_me:$LINENO: result: no" >&5
3146 $as_echo "no" >&6; }
3151 if test -z "$ac_cv_prog_CC"; then
3153 # Extract the first word of "gcc", so it can be a program name with args.
3154 set dummy gcc; ac_word=$2
3155 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3156 $as_echo_n "checking for $ac_word... " >&6; }
3157 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3158 $as_echo_n "(cached) " >&6
3160 if test -n "$ac_ct_CC"; then
3161 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3167 test -z "$as_dir" && as_dir=.
3168 for ac_exec_ext in '' $ac_executable_extensions; do
3169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3170 ac_cv_prog_ac_ct_CC="gcc"
3171 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3180 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3181 if test -n "$ac_ct_CC"; then
3182 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3183 $as_echo "$ac_ct_CC" >&6; }
3185 { $as_echo "$as_me:$LINENO: result: no" >&5
3186 $as_echo "no" >&6; }
3189 if test "x$ac_ct_CC" = x; then
3192 case $cross_compiling:$ac_tool_warned in
3194 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3196 ac_tool_warned=yes ;;
3204 if test -z "$CC"; then
3205 if test -n "$ac_tool_prefix"; then
3206 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3207 set dummy ${ac_tool_prefix}cc; ac_word=$2
3208 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3209 $as_echo_n "checking for $ac_word... " >&6; }
3210 if test "${ac_cv_prog_CC+set}" = set; then
3211 $as_echo_n "(cached) " >&6
3213 if test -n "$CC"; then
3214 ac_cv_prog_CC="$CC" # Let the user override the test.
3216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3220 test -z "$as_dir" && as_dir=.
3221 for ac_exec_ext in '' $ac_executable_extensions; do
3222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3223 ac_cv_prog_CC="${ac_tool_prefix}cc"
3224 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3234 if test -n "$CC"; then
3235 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3236 $as_echo "$CC" >&6; }
3238 { $as_echo "$as_me:$LINENO: result: no" >&5
3239 $as_echo "no" >&6; }
3245 if test -z "$CC"; then
3246 # Extract the first word of "cc", so it can be a program name with args.
3247 set dummy cc; ac_word=$2
3248 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3249 $as_echo_n "checking for $ac_word... " >&6; }
3250 if test "${ac_cv_prog_CC+set}" = set; then
3251 $as_echo_n "(cached) " >&6
3253 if test -n "$CC"; then
3254 ac_cv_prog_CC="$CC" # Let the user override the test.
3257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3261 test -z "$as_dir" && as_dir=.
3262 for ac_exec_ext in '' $ac_executable_extensions; do
3263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3264 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3265 ac_prog_rejected=yes
3269 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3276 if test $ac_prog_rejected = yes; then
3277 # We found a bogon in the path, so make sure we never use it.
3278 set dummy $ac_cv_prog_CC
3280 if test $# != 0; then
3281 # We chose a different compiler from the bogus one.
3282 # However, it has the same basename, so the bogon will be chosen
3283 # first if we set CC to just the basename; use the full file name.
3285 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3291 if test -n "$CC"; then
3292 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3293 $as_echo "$CC" >&6; }
3295 { $as_echo "$as_me:$LINENO: result: no" >&5
3296 $as_echo "no" >&6; }
3301 if test -z "$CC"; then
3302 if test -n "$ac_tool_prefix"; then
3303 for ac_prog in cl.exe
3305 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3306 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3307 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3308 $as_echo_n "checking for $ac_word... " >&6; }
3309 if test "${ac_cv_prog_CC+set}" = set; then
3310 $as_echo_n "(cached) " >&6
3312 if test -n "$CC"; then
3313 ac_cv_prog_CC="$CC" # Let the user override the test.
3315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3319 test -z "$as_dir" && as_dir=.
3320 for ac_exec_ext in '' $ac_executable_extensions; do
3321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3322 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3323 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3333 if test -n "$CC"; then
3334 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3335 $as_echo "$CC" >&6; }
3337 { $as_echo "$as_me:$LINENO: result: no" >&5
3338 $as_echo "no" >&6; }
3342 test -n "$CC" && break
3345 if test -z "$CC"; then
3347 for ac_prog in cl.exe
3349 # Extract the first word of "$ac_prog", so it can be a program name with args.
3350 set dummy $ac_prog; ac_word=$2
3351 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3352 $as_echo_n "checking for $ac_word... " >&6; }
3353 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3354 $as_echo_n "(cached) " >&6
3356 if test -n "$ac_ct_CC"; then
3357 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3363 test -z "$as_dir" && as_dir=.
3364 for ac_exec_ext in '' $ac_executable_extensions; do
3365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3366 ac_cv_prog_ac_ct_CC="$ac_prog"
3367 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3376 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3377 if test -n "$ac_ct_CC"; then
3378 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3379 $as_echo "$ac_ct_CC" >&6; }
3381 { $as_echo "$as_me:$LINENO: result: no" >&5
3382 $as_echo "no" >&6; }
3386 test -n "$ac_ct_CC" && break
3389 if test "x$ac_ct_CC" = x; then
3392 case $cross_compiling:$ac_tool_warned in
3394 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3396 ac_tool_warned=yes ;;
3405 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3407 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3408 See \`config.log' for more details." >&5
3409 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3410 See \`config.log' for more details." >&2;}
3411 { (exit 1); exit 1; }; }; }
3413 # Provide some information about the compiler.
3414 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3417 { (ac_try="$ac_compiler --version >&5"
3419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3420 *) ac_try_echo=$ac_try;;
3422 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3423 $as_echo "$ac_try_echo") >&5
3424 (eval "$ac_compiler --version >&5") 2>&5
3426 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); }
3428 { (ac_try="$ac_compiler -v >&5"
3430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3431 *) ac_try_echo=$ac_try;;
3433 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3434 $as_echo "$ac_try_echo") >&5
3435 (eval "$ac_compiler -v >&5") 2>&5
3437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438 (exit $ac_status); }
3439 { (ac_try="$ac_compiler -V >&5"
3441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3442 *) ac_try_echo=$ac_try;;
3444 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3445 $as_echo "$ac_try_echo") >&5
3446 (eval "$ac_compiler -V >&5") 2>&5
3448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); }
3451 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3452 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3453 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3454 $as_echo_n "(cached) " >&6
3456 cat >conftest.$ac_ext <<_ACEOF
3459 cat confdefs.h >>conftest.$ac_ext
3460 cat >>conftest.$ac_ext <<_ACEOF
3461 /* end confdefs.h. */
3474 rm -f conftest.$ac_objext
3475 if { (ac_try="$ac_compile"
3477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3478 *) ac_try_echo=$ac_try;;
3480 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3481 $as_echo "$ac_try_echo") >&5
3482 (eval "$ac_compile") 2>conftest.er1
3484 grep -v '^ *+' conftest.er1 >conftest.err
3486 cat conftest.err >&5
3487 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); } && {
3489 test -z "$ac_c_werror_flag" ||
3490 test ! -s conftest.err
3491 } && test -s conftest.$ac_objext; then
3494 $as_echo "$as_me: failed program was:" >&5
3495 sed 's/^/| /' conftest.$ac_ext >&5
3500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3501 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3504 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3505 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3506 if test $ac_compiler_gnu = yes; then
3511 ac_test_CFLAGS=${CFLAGS+set}
3512 ac_save_CFLAGS=$CFLAGS
3513 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3514 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3515 if test "${ac_cv_prog_cc_g+set}" = set; then
3516 $as_echo_n "(cached) " >&6
3518 ac_save_c_werror_flag=$ac_c_werror_flag
3519 ac_c_werror_flag=yes
3522 cat >conftest.$ac_ext <<_ACEOF
3525 cat confdefs.h >>conftest.$ac_ext
3526 cat >>conftest.$ac_ext <<_ACEOF
3527 /* end confdefs.h. */
3537 rm -f conftest.$ac_objext
3538 if { (ac_try="$ac_compile"
3540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3541 *) ac_try_echo=$ac_try;;
3543 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3544 $as_echo "$ac_try_echo") >&5
3545 (eval "$ac_compile") 2>conftest.er1
3547 grep -v '^ *+' conftest.er1 >conftest.err
3549 cat conftest.err >&5
3550 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551 (exit $ac_status); } && {
3552 test -z "$ac_c_werror_flag" ||
3553 test ! -s conftest.err
3554 } && test -s conftest.$ac_objext; then
3557 $as_echo "$as_me: failed program was:" >&5
3558 sed 's/^/| /' conftest.$ac_ext >&5
3561 cat >conftest.$ac_ext <<_ACEOF
3564 cat confdefs.h >>conftest.$ac_ext
3565 cat >>conftest.$ac_ext <<_ACEOF
3566 /* end confdefs.h. */
3576 rm -f conftest.$ac_objext
3577 if { (ac_try="$ac_compile"
3579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3580 *) ac_try_echo=$ac_try;;
3582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3583 $as_echo "$ac_try_echo") >&5
3584 (eval "$ac_compile") 2>conftest.er1
3586 grep -v '^ *+' conftest.er1 >conftest.err
3588 cat conftest.err >&5
3589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 (exit $ac_status); } && {
3591 test -z "$ac_c_werror_flag" ||
3592 test ! -s conftest.err
3593 } && test -s conftest.$ac_objext; then
3596 $as_echo "$as_me: failed program was:" >&5
3597 sed 's/^/| /' conftest.$ac_ext >&5
3599 ac_c_werror_flag=$ac_save_c_werror_flag
3601 cat >conftest.$ac_ext <<_ACEOF
3604 cat confdefs.h >>conftest.$ac_ext
3605 cat >>conftest.$ac_ext <<_ACEOF
3606 /* end confdefs.h. */
3616 rm -f conftest.$ac_objext
3617 if { (ac_try="$ac_compile"
3619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3620 *) ac_try_echo=$ac_try;;
3622 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3623 $as_echo "$ac_try_echo") >&5
3624 (eval "$ac_compile") 2>conftest.er1
3626 grep -v '^ *+' conftest.er1 >conftest.err
3628 cat conftest.err >&5
3629 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 (exit $ac_status); } && {
3631 test -z "$ac_c_werror_flag" ||
3632 test ! -s conftest.err
3633 } && test -s conftest.$ac_objext; then
3636 $as_echo "$as_me: failed program was:" >&5
3637 sed 's/^/| /' conftest.$ac_ext >&5
3642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3649 ac_c_werror_flag=$ac_save_c_werror_flag
3651 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3652 $as_echo "$ac_cv_prog_cc_g" >&6; }
3653 if test "$ac_test_CFLAGS" = set; then
3654 CFLAGS=$ac_save_CFLAGS
3655 elif test $ac_cv_prog_cc_g = yes; then
3656 if test "$GCC" = yes; then
3662 if test "$GCC" = yes; then
3668 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3669 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3670 if test "${ac_cv_prog_cc_c89+set}" = set; then
3671 $as_echo_n "(cached) " >&6
3673 ac_cv_prog_cc_c89=no
3675 cat >conftest.$ac_ext <<_ACEOF
3678 cat confdefs.h >>conftest.$ac_ext
3679 cat >>conftest.$ac_ext <<_ACEOF
3680 /* end confdefs.h. */
3683 #include <sys/types.h>
3684 #include <sys/stat.h>
3685 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3686 struct buf { int x; };
3687 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3688 static char *e (p, i)
3694 static char *f (char * (*g) (char **, int), char **p, ...)
3699 s = g (p, va_arg (v,int));
3704 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3705 function prototypes and stuff, but not '\xHH' hex character constants.
3706 These don't provoke an error unfortunately, instead are silently treated
3707 as 'x'. The following induces an error, until -std is added to get
3708 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3709 array size at least. It's necessary to write '\x00'==0 to get something
3710 that's true only with -std. */
3711 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3713 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3714 inside strings and character constants. */
3716 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3718 int test (int i, double x);
3719 struct s1 {int (*f) (int a);};
3720 struct s2 {int (*f) (double a);};
3721 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3727 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3732 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3733 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3735 CC="$ac_save_CC $ac_arg"
3736 rm -f conftest.$ac_objext
3737 if { (ac_try="$ac_compile"
3739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3740 *) ac_try_echo=$ac_try;;
3742 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3743 $as_echo "$ac_try_echo") >&5
3744 (eval "$ac_compile") 2>conftest.er1
3746 grep -v '^ *+' conftest.er1 >conftest.err
3748 cat conftest.err >&5
3749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3750 (exit $ac_status); } && {
3751 test -z "$ac_c_werror_flag" ||
3752 test ! -s conftest.err
3753 } && test -s conftest.$ac_objext; then
3754 ac_cv_prog_cc_c89=$ac_arg
3756 $as_echo "$as_me: failed program was:" >&5
3757 sed 's/^/| /' conftest.$ac_ext >&5
3762 rm -f core conftest.err conftest.$ac_objext
3763 test "x$ac_cv_prog_cc_c89" != "xno" && break
3765 rm -f conftest.$ac_ext
3770 case "x$ac_cv_prog_cc_c89" in
3772 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3773 $as_echo "none needed" >&6; } ;;
3775 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3776 $as_echo "unsupported" >&6; } ;;
3778 CC="$CC $ac_cv_prog_cc_c89"
3779 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3780 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3785 ac_cpp='$CPP $CPPFLAGS'
3786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3790 depcc="$CC" am_compiler_list=
3792 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3793 $as_echo_n "checking dependency style of $depcc... " >&6; }
3794 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3795 $as_echo_n "(cached) " >&6
3797 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3798 # We make a subdir and do the tests there. Otherwise we can end up
3799 # making bogus files that we don't know about and never remove. For
3800 # instance it was reported that on HP-UX the gcc test will end up
3801 # making a dummy file named `D' -- because `-MD' means `put the output
3804 # Copy depcomp to subdir because otherwise we won't find it if we're
3805 # using a relative directory.
3806 cp "$am_depcomp" conftest.dir
3808 # We will build objects and dependencies in a subdirectory because
3809 # it helps to detect inapplicable dependency modes. For instance
3810 # both Tru64's cc and ICC support -MD to output dependencies as a
3811 # side effect of compilation, but ICC will put the dependencies in
3812 # the current directory while Tru64 will put them in the object
3816 am_cv_CC_dependencies_compiler_type=none
3817 if test "$am_compiler_list" = ""; then
3818 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3820 for depmode in $am_compiler_list; do
3821 # Setup a source with many dependencies, because some compilers
3822 # like to wrap large dependency lists on column 80 (with \), and
3823 # we should not choose a depcomp mode which is confused by this.
3825 # We need to recreate these files for each test, as the compiler may
3826 # overwrite some of them when testing with obscure command lines.
3827 # This happens at least with the AIX C compiler.
3829 for i in 1 2 3 4 5 6; do
3830 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3831 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3832 # Solaris 8's {/usr,}/bin/sh.
3833 touch sub/conftst$i.h
3835 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3839 # after this tag, mechanisms are not by side-effect, so they'll
3840 # only be used when explicitly requested
3841 if test "x$enable_dependency_tracking" = xyes; then
3849 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3850 # mode. It turns out that the SunPro C++ compiler does not properly
3851 # handle `-M -o', and we need to detect this.
3852 if depmode=$depmode \
3853 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3854 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3855 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3856 >/dev/null 2>conftest.err &&
3857 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3858 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3859 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3860 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3861 # icc doesn't choke on unknown options, it will just issue warnings
3862 # or remarks (even with -Werror). So we grep stderr for any message
3863 # that says an option was ignored or not supported.
3864 # When given -MP, icc 7.0 and 7.1 complain thusly:
3865 # icc: Command line warning: ignoring option '-M'; no argument required
3866 # The diagnosis changed in icc 8.0:
3867 # icc: Command line remark: option '-MP' not supported
3868 if (grep 'ignoring option' conftest.err ||
3869 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3870 am_cv_CC_dependencies_compiler_type=$depmode
3879 am_cv_CC_dependencies_compiler_type=none
3883 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3884 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3885 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3888 test "x$enable_dependency_tracking" != xno \
3889 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3891 am__fastdepCC_FALSE='#'
3893 am__fastdepCC_TRUE='#'
3894 am__fastdepCC_FALSE=
3899 # Checks for libraries.
3901 # Checks for header files.
3904 ac_cpp='$CPP $CPPFLAGS'
3905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3908 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3909 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3910 # On Suns, sometimes $CPP names a directory.
3911 if test -n "$CPP" && test -d "$CPP"; then
3914 if test -z "$CPP"; then
3915 if test "${ac_cv_prog_CPP+set}" = set; then
3916 $as_echo_n "(cached) " >&6
3918 # Double quotes because CPP needs to be expanded
3919 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3922 for ac_c_preproc_warn_flag in '' yes
3924 # Use a header file that comes with gcc, so configuring glibc
3925 # with a fresh cross-compiler works.
3926 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3927 # <limits.h> exists even on freestanding compilers.
3928 # On the NeXT, cc -E runs the code through the compiler's parser,
3929 # not just through cpp. "Syntax error" is here to catch this case.
3930 cat >conftest.$ac_ext <<_ACEOF
3933 cat confdefs.h >>conftest.$ac_ext
3934 cat >>conftest.$ac_ext <<_ACEOF
3935 /* end confdefs.h. */
3937 # include <limits.h>
3939 # include <assert.h>
3943 if { (ac_try="$ac_cpp conftest.$ac_ext"
3945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3946 *) ac_try_echo=$ac_try;;
3948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3949 $as_echo "$ac_try_echo") >&5
3950 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3952 grep -v '^ *+' conftest.er1 >conftest.err
3954 cat conftest.err >&5
3955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956 (exit $ac_status); } >/dev/null && {
3957 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3958 test ! -s conftest.err
3962 $as_echo "$as_me: failed program was:" >&5
3963 sed 's/^/| /' conftest.$ac_ext >&5
3965 # Broken: fails on valid input.
3969 rm -f conftest.err conftest.$ac_ext
3971 # OK, works on sane cases. Now check whether nonexistent headers
3972 # can be detected and how.
3973 cat >conftest.$ac_ext <<_ACEOF
3976 cat confdefs.h >>conftest.$ac_ext
3977 cat >>conftest.$ac_ext <<_ACEOF
3978 /* end confdefs.h. */
3979 #include <ac_nonexistent.h>
3981 if { (ac_try="$ac_cpp conftest.$ac_ext"
3983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3984 *) ac_try_echo=$ac_try;;
3986 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3987 $as_echo "$ac_try_echo") >&5
3988 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3990 grep -v '^ *+' conftest.er1 >conftest.err
3992 cat conftest.err >&5
3993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3994 (exit $ac_status); } >/dev/null && {
3995 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3996 test ! -s conftest.err
3998 # Broken: success on invalid input.
4001 $as_echo "$as_me: failed program was:" >&5
4002 sed 's/^/| /' conftest.$ac_ext >&5
4004 # Passes both tests.
4009 rm -f conftest.err conftest.$ac_ext
4012 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4013 rm -f conftest.err conftest.$ac_ext
4014 if $ac_preproc_ok; then
4026 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4027 $as_echo "$CPP" >&6; }
4029 for ac_c_preproc_warn_flag in '' yes
4031 # Use a header file that comes with gcc, so configuring glibc
4032 # with a fresh cross-compiler works.
4033 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4034 # <limits.h> exists even on freestanding compilers.
4035 # On the NeXT, cc -E runs the code through the compiler's parser,
4036 # not just through cpp. "Syntax error" is here to catch this case.
4037 cat >conftest.$ac_ext <<_ACEOF
4040 cat confdefs.h >>conftest.$ac_ext
4041 cat >>conftest.$ac_ext <<_ACEOF
4042 /* end confdefs.h. */
4044 # include <limits.h>
4046 # include <assert.h>
4050 if { (ac_try="$ac_cpp conftest.$ac_ext"
4052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4053 *) ac_try_echo=$ac_try;;
4055 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4056 $as_echo "$ac_try_echo") >&5
4057 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4059 grep -v '^ *+' conftest.er1 >conftest.err
4061 cat conftest.err >&5
4062 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 (exit $ac_status); } >/dev/null && {
4064 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4065 test ! -s conftest.err
4069 $as_echo "$as_me: failed program was:" >&5
4070 sed 's/^/| /' conftest.$ac_ext >&5
4072 # Broken: fails on valid input.
4076 rm -f conftest.err conftest.$ac_ext
4078 # OK, works on sane cases. Now check whether nonexistent headers
4079 # can be detected and how.
4080 cat >conftest.$ac_ext <<_ACEOF
4083 cat confdefs.h >>conftest.$ac_ext
4084 cat >>conftest.$ac_ext <<_ACEOF
4085 /* end confdefs.h. */
4086 #include <ac_nonexistent.h>
4088 if { (ac_try="$ac_cpp conftest.$ac_ext"
4090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4091 *) ac_try_echo=$ac_try;;
4093 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4094 $as_echo "$ac_try_echo") >&5
4095 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4097 grep -v '^ *+' conftest.er1 >conftest.err
4099 cat conftest.err >&5
4100 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); } >/dev/null && {
4102 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4103 test ! -s conftest.err
4105 # Broken: success on invalid input.
4108 $as_echo "$as_me: failed program was:" >&5
4109 sed 's/^/| /' conftest.$ac_ext >&5
4111 # Passes both tests.
4116 rm -f conftest.err conftest.$ac_ext
4119 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4120 rm -f conftest.err conftest.$ac_ext
4121 if $ac_preproc_ok; then
4124 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4126 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4127 See \`config.log' for more details." >&5
4128 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4129 See \`config.log' for more details." >&2;}
4130 { (exit 1); exit 1; }; }; }
4134 ac_cpp='$CPP $CPPFLAGS'
4135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4140 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4141 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4142 if test "${ac_cv_path_GREP+set}" = set; then
4143 $as_echo_n "(cached) " >&6
4145 if test -z "$GREP"; then
4146 ac_path_GREP_found=false
4147 # Loop through the user's path and test for each of PROGNAME-LIST
4148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4149 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4152 test -z "$as_dir" && as_dir=.
4153 for ac_prog in grep ggrep; do
4154 for ac_exec_ext in '' $ac_executable_extensions; do
4155 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4156 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4157 # Check for GNU ac_path_GREP and select it if it is found.
4158 # Check for GNU $ac_path_GREP
4159 case `"$ac_path_GREP" --version 2>&1` in
4161 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4164 $as_echo_n 0123456789 >"conftest.in"
4167 cat "conftest.in" "conftest.in" >"conftest.tmp"
4168 mv "conftest.tmp" "conftest.in"
4169 cp "conftest.in" "conftest.nl"
4170 $as_echo 'GREP' >> "conftest.nl"
4171 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4172 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4173 ac_count=`expr $ac_count + 1`
4174 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4175 # Best one so far, save it but keep looking for a better one
4176 ac_cv_path_GREP="$ac_path_GREP"
4177 ac_path_GREP_max=$ac_count
4179 # 10*(2^10) chars as input seems more than enough
4180 test $ac_count -gt 10 && break
4182 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4185 $ac_path_GREP_found && break 3
4190 if test -z "$ac_cv_path_GREP"; then
4191 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4192 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4193 { (exit 1); exit 1; }; }
4196 ac_cv_path_GREP=$GREP
4200 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4201 $as_echo "$ac_cv_path_GREP" >&6; }
4202 GREP="$ac_cv_path_GREP"
4205 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4206 $as_echo_n "checking for egrep... " >&6; }
4207 if test "${ac_cv_path_EGREP+set}" = set; then
4208 $as_echo_n "(cached) " >&6
4210 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4211 then ac_cv_path_EGREP="$GREP -E"
4213 if test -z "$EGREP"; then
4214 ac_path_EGREP_found=false
4215 # Loop through the user's path and test for each of PROGNAME-LIST
4216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4217 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4220 test -z "$as_dir" && as_dir=.
4221 for ac_prog in egrep; do
4222 for ac_exec_ext in '' $ac_executable_extensions; do
4223 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4224 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4225 # Check for GNU ac_path_EGREP and select it if it is found.
4226 # Check for GNU $ac_path_EGREP
4227 case `"$ac_path_EGREP" --version 2>&1` in
4229 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4232 $as_echo_n 0123456789 >"conftest.in"
4235 cat "conftest.in" "conftest.in" >"conftest.tmp"
4236 mv "conftest.tmp" "conftest.in"
4237 cp "conftest.in" "conftest.nl"
4238 $as_echo 'EGREP' >> "conftest.nl"
4239 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4240 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4241 ac_count=`expr $ac_count + 1`
4242 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4243 # Best one so far, save it but keep looking for a better one
4244 ac_cv_path_EGREP="$ac_path_EGREP"
4245 ac_path_EGREP_max=$ac_count
4247 # 10*(2^10) chars as input seems more than enough
4248 test $ac_count -gt 10 && break
4250 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4253 $ac_path_EGREP_found && break 3
4258 if test -z "$ac_cv_path_EGREP"; then
4259 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4260 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4261 { (exit 1); exit 1; }; }
4264 ac_cv_path_EGREP=$EGREP
4269 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4270 $as_echo "$ac_cv_path_EGREP" >&6; }
4271 EGREP="$ac_cv_path_EGREP"
4274 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4275 $as_echo_n "checking for ANSI C header files... " >&6; }
4276 if test "${ac_cv_header_stdc+set}" = set; then
4277 $as_echo_n "(cached) " >&6
4279 cat >conftest.$ac_ext <<_ACEOF
4282 cat confdefs.h >>conftest.$ac_ext
4283 cat >>conftest.$ac_ext <<_ACEOF
4284 /* end confdefs.h. */
4298 rm -f conftest.$ac_objext
4299 if { (ac_try="$ac_compile"
4301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4302 *) ac_try_echo=$ac_try;;
4304 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4305 $as_echo "$ac_try_echo") >&5
4306 (eval "$ac_compile") 2>conftest.er1
4308 grep -v '^ *+' conftest.er1 >conftest.err
4310 cat conftest.err >&5
4311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312 (exit $ac_status); } && {
4313 test -z "$ac_c_werror_flag" ||
4314 test ! -s conftest.err
4315 } && test -s conftest.$ac_objext; then
4316 ac_cv_header_stdc=yes
4318 $as_echo "$as_me: failed program was:" >&5
4319 sed 's/^/| /' conftest.$ac_ext >&5
4321 ac_cv_header_stdc=no
4324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4326 if test $ac_cv_header_stdc = yes; then
4327 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4328 cat >conftest.$ac_ext <<_ACEOF
4331 cat confdefs.h >>conftest.$ac_ext
4332 cat >>conftest.$ac_ext <<_ACEOF
4333 /* end confdefs.h. */
4337 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4338 $EGREP "memchr" >/dev/null 2>&1; then
4341 ac_cv_header_stdc=no
4347 if test $ac_cv_header_stdc = yes; then
4348 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4349 cat >conftest.$ac_ext <<_ACEOF
4352 cat confdefs.h >>conftest.$ac_ext
4353 cat >>conftest.$ac_ext <<_ACEOF
4354 /* end confdefs.h. */
4358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4359 $EGREP "free" >/dev/null 2>&1; then
4362 ac_cv_header_stdc=no
4368 if test $ac_cv_header_stdc = yes; then
4369 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4370 if test "$cross_compiling" = yes; then
4373 cat >conftest.$ac_ext <<_ACEOF
4376 cat confdefs.h >>conftest.$ac_ext
4377 cat >>conftest.$ac_ext <<_ACEOF
4378 /* end confdefs.h. */
4381 #if ((' ' & 0x0FF) == 0x020)
4382 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4383 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4385 # define ISLOWER(c) \
4386 (('a' <= (c) && (c) <= 'i') \
4387 || ('j' <= (c) && (c) <= 'r') \
4388 || ('s' <= (c) && (c) <= 'z'))
4389 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4392 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4397 for (i = 0; i < 256; i++)
4398 if (XOR (islower (i), ISLOWER (i))
4399 || toupper (i) != TOUPPER (i))
4404 rm -f conftest$ac_exeext
4405 if { (ac_try="$ac_link"
4407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4408 *) ac_try_echo=$ac_try;;
4410 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4411 $as_echo "$ac_try_echo") >&5
4412 (eval "$ac_link") 2>&5
4414 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4415 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4416 { (case "(($ac_try" in
4417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4418 *) ac_try_echo=$ac_try;;
4420 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4421 $as_echo "$ac_try_echo") >&5
4422 (eval "$ac_try") 2>&5
4424 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425 (exit $ac_status); }; }; then
4428 $as_echo "$as_me: program exited with status $ac_status" >&5
4429 $as_echo "$as_me: failed program was:" >&5
4430 sed 's/^/| /' conftest.$ac_ext >&5
4433 ac_cv_header_stdc=no
4435 rm -rf conftest.dSYM
4436 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4442 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4443 $as_echo "$ac_cv_header_stdc" >&6; }
4444 if test $ac_cv_header_stdc = yes; then
4446 cat >>confdefs.h <<\_ACEOF
4447 #define STDC_HEADERS 1
4452 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4462 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4463 inttypes.h stdint.h unistd.h
4465 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4466 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4467 $as_echo_n "checking for $ac_header... " >&6; }
4468 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4469 $as_echo_n "(cached) " >&6
4471 cat >conftest.$ac_ext <<_ACEOF
4474 cat confdefs.h >>conftest.$ac_ext
4475 cat >>conftest.$ac_ext <<_ACEOF
4476 /* end confdefs.h. */
4477 $ac_includes_default
4479 #include <$ac_header>
4481 rm -f conftest.$ac_objext
4482 if { (ac_try="$ac_compile"
4484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4485 *) ac_try_echo=$ac_try;;
4487 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4488 $as_echo "$ac_try_echo") >&5
4489 (eval "$ac_compile") 2>conftest.er1
4491 grep -v '^ *+' conftest.er1 >conftest.err
4493 cat conftest.err >&5
4494 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4495 (exit $ac_status); } && {
4496 test -z "$ac_c_werror_flag" ||
4497 test ! -s conftest.err
4498 } && test -s conftest.$ac_objext; then
4499 eval "$as_ac_Header=yes"
4501 $as_echo "$as_me: failed program was:" >&5
4502 sed 's/^/| /' conftest.$ac_ext >&5
4504 eval "$as_ac_Header=no"
4507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4509 ac_res=`eval 'as_val=${'$as_ac_Header'}
4510 $as_echo "$as_val"'`
4511 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4512 $as_echo "$ac_res" >&6; }
4513 as_val=`eval 'as_val=${'$as_ac_Header'}
4514 $as_echo "$as_val"'`
4515 if test "x$as_val" = x""yes; then
4516 cat >>confdefs.h <<_ACEOF
4517 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4527 for ac_header in stdlib.h string.h
4529 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4530 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4531 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4532 $as_echo_n "checking for $ac_header... " >&6; }
4533 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4534 $as_echo_n "(cached) " >&6
4536 ac_res=`eval 'as_val=${'$as_ac_Header'}
4537 $as_echo "$as_val"'`
4538 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4539 $as_echo "$ac_res" >&6; }
4541 # Is the header compilable?
4542 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4543 $as_echo_n "checking $ac_header usability... " >&6; }
4544 cat >conftest.$ac_ext <<_ACEOF
4547 cat confdefs.h >>conftest.$ac_ext
4548 cat >>conftest.$ac_ext <<_ACEOF
4549 /* end confdefs.h. */
4550 $ac_includes_default
4551 #include <$ac_header>
4553 rm -f conftest.$ac_objext
4554 if { (ac_try="$ac_compile"
4556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4557 *) ac_try_echo=$ac_try;;
4559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4560 $as_echo "$ac_try_echo") >&5
4561 (eval "$ac_compile") 2>conftest.er1
4563 grep -v '^ *+' conftest.er1 >conftest.err
4565 cat conftest.err >&5
4566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567 (exit $ac_status); } && {
4568 test -z "$ac_c_werror_flag" ||
4569 test ! -s conftest.err
4570 } && test -s conftest.$ac_objext; then
4571 ac_header_compiler=yes
4573 $as_echo "$as_me: failed program was:" >&5
4574 sed 's/^/| /' conftest.$ac_ext >&5
4576 ac_header_compiler=no
4579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4580 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4581 $as_echo "$ac_header_compiler" >&6; }
4583 # Is the header present?
4584 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4585 $as_echo_n "checking $ac_header presence... " >&6; }
4586 cat >conftest.$ac_ext <<_ACEOF
4589 cat confdefs.h >>conftest.$ac_ext
4590 cat >>conftest.$ac_ext <<_ACEOF
4591 /* end confdefs.h. */
4592 #include <$ac_header>
4594 if { (ac_try="$ac_cpp conftest.$ac_ext"
4596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4597 *) ac_try_echo=$ac_try;;
4599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4600 $as_echo "$ac_try_echo") >&5
4601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4603 grep -v '^ *+' conftest.er1 >conftest.err
4605 cat conftest.err >&5
4606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); } >/dev/null && {
4608 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4609 test ! -s conftest.err
4611 ac_header_preproc=yes
4613 $as_echo "$as_me: failed program was:" >&5
4614 sed 's/^/| /' conftest.$ac_ext >&5
4616 ac_header_preproc=no
4619 rm -f conftest.err conftest.$ac_ext
4620 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4621 $as_echo "$ac_header_preproc" >&6; }
4623 # So? What about this header?
4624 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4626 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4627 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4628 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4629 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4630 ac_header_preproc=yes
4633 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4634 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4635 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4636 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4637 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4638 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4639 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4640 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4641 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4642 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4643 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4644 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4646 ## --------------------------------- ##
4647 ## Report this to BUG-REPORT-ADDRESS ##
4648 ## --------------------------------- ##
4650 ) | sed "s/^/$as_me: WARNING: /" >&2
4653 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4654 $as_echo_n "checking for $ac_header... " >&6; }
4655 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4656 $as_echo_n "(cached) " >&6
4658 eval "$as_ac_Header=\$ac_header_preproc"
4660 ac_res=`eval 'as_val=${'$as_ac_Header'}
4661 $as_echo "$as_val"'`
4662 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4663 $as_echo "$ac_res" >&6; }
4666 as_val=`eval 'as_val=${'$as_ac_Header'}
4667 $as_echo "$as_val"'`
4668 if test "x$as_val" = x""yes; then
4669 cat >>confdefs.h <<_ACEOF
4670 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4678 # Checks for typedefs, structures, and compiler characteristics.
4679 { $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
4680 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4681 if test "${ac_cv_header_stdbool_h+set}" = set; then
4682 $as_echo_n "(cached) " >&6
4684 cat >conftest.$ac_ext <<_ACEOF
4687 cat confdefs.h >>conftest.$ac_ext
4688 cat >>conftest.$ac_ext <<_ACEOF
4689 /* end confdefs.h. */
4691 #include <stdbool.h>
4693 "error: bool is not defined"
4696 "error: false is not defined"
4699 "error: false is not 0"
4702 "error: true is not defined"
4705 "error: true is not 1"
4707 #ifndef __bool_true_false_are_defined
4708 "error: __bool_true_false_are_defined is not defined"
4711 struct s { _Bool s: 1; _Bool t; } s;
4713 char a[true == 1 ? 1 : -1];
4714 char b[false == 0 ? 1 : -1];
4715 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4716 char d[(bool) 0.5 == true ? 1 : -1];
4718 char f[(_Bool) 0.0 == false ? 1 : -1];
4720 char h[sizeof (_Bool)];
4722 enum { j = false, k = true, l = false * true, m = true * 256 };
4723 /* The following fails for
4724 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4726 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4727 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4728 # if defined __xlc__ || defined __GNUC__
4729 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
4730 reported by James Lemley on 2005-10-05; see
4731 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
4732 This test is not quite right, since xlc is allowed to
4733 reject this program, as the initializer for xlcbug is
4734 not one of the forms that C requires support for.
4735 However, doing the test right would require a runtime
4736 test, and that would make cross-compilation harder.
4737 Let us hope that IBM fixes the xlc bug, and also adds
4738 support for this kind of constant expression. In the
4739 meantime, this test will reject xlc, which is OK, since
4740 our stdbool.h substitute should suffice. We also test
4741 this with GCC, where it should work, to detect more
4742 quickly whether someone messes up the test in the
4744 char digs[] = "0123456789";
4745 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
4747 /* Catch a bug in an HP-UX C compiler. See
4748 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4749 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4760 /* Refer to every declared value, to avoid compiler optimizations. */
4761 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4762 + !m + !n + !o + !p + !q + !pq);
4768 rm -f conftest.$ac_objext
4769 if { (ac_try="$ac_compile"
4771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4772 *) ac_try_echo=$ac_try;;
4774 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4775 $as_echo "$ac_try_echo") >&5
4776 (eval "$ac_compile") 2>conftest.er1
4778 grep -v '^ *+' conftest.er1 >conftest.err
4780 cat conftest.err >&5
4781 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4782 (exit $ac_status); } && {
4783 test -z "$ac_c_werror_flag" ||
4784 test ! -s conftest.err
4785 } && test -s conftest.$ac_objext; then
4786 ac_cv_header_stdbool_h=yes
4788 $as_echo "$as_me: failed program was:" >&5
4789 sed 's/^/| /' conftest.$ac_ext >&5
4791 ac_cv_header_stdbool_h=no
4794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4796 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
4797 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4798 { $as_echo "$as_me:$LINENO: checking for _Bool" >&5
4799 $as_echo_n "checking for _Bool... " >&6; }
4800 if test "${ac_cv_type__Bool+set}" = set; then
4801 $as_echo_n "(cached) " >&6
4804 cat >conftest.$ac_ext <<_ACEOF
4807 cat confdefs.h >>conftest.$ac_ext
4808 cat >>conftest.$ac_ext <<_ACEOF
4809 /* end confdefs.h. */
4810 $ac_includes_default
4820 rm -f conftest.$ac_objext
4821 if { (ac_try="$ac_compile"
4823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4824 *) ac_try_echo=$ac_try;;
4826 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4827 $as_echo "$ac_try_echo") >&5
4828 (eval "$ac_compile") 2>conftest.er1
4830 grep -v '^ *+' conftest.er1 >conftest.err
4832 cat conftest.err >&5
4833 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4834 (exit $ac_status); } && {
4835 test -z "$ac_c_werror_flag" ||
4836 test ! -s conftest.err
4837 } && test -s conftest.$ac_objext; then
4838 cat >conftest.$ac_ext <<_ACEOF
4841 cat confdefs.h >>conftest.$ac_ext
4842 cat >>conftest.$ac_ext <<_ACEOF
4843 /* end confdefs.h. */
4844 $ac_includes_default
4848 if (sizeof ((_Bool)))
4854 rm -f conftest.$ac_objext
4855 if { (ac_try="$ac_compile"
4857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4858 *) ac_try_echo=$ac_try;;
4860 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4861 $as_echo "$ac_try_echo") >&5
4862 (eval "$ac_compile") 2>conftest.er1
4864 grep -v '^ *+' conftest.er1 >conftest.err
4866 cat conftest.err >&5
4867 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868 (exit $ac_status); } && {
4869 test -z "$ac_c_werror_flag" ||
4870 test ! -s conftest.err
4871 } && test -s conftest.$ac_objext; then
4874 $as_echo "$as_me: failed program was:" >&5
4875 sed 's/^/| /' conftest.$ac_ext >&5
4877 ac_cv_type__Bool=yes
4880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4882 $as_echo "$as_me: failed program was:" >&5
4883 sed 's/^/| /' conftest.$ac_ext >&5
4888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4890 { $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
4891 $as_echo "$ac_cv_type__Bool" >&6; }
4892 if test "x$ac_cv_type__Bool" = x""yes; then
4894 cat >>confdefs.h <<_ACEOF
4895 #define HAVE__BOOL 1
4901 if test $ac_cv_header_stdbool_h = yes; then
4903 cat >>confdefs.h <<\_ACEOF
4904 #define HAVE_STDBOOL_H 1
4909 { $as_echo "$as_me:$LINENO: checking for inline" >&5
4910 $as_echo_n "checking for inline... " >&6; }
4911 if test "${ac_cv_c_inline+set}" = set; then
4912 $as_echo_n "(cached) " >&6
4915 for ac_kw in inline __inline__ __inline; do
4916 cat >conftest.$ac_ext <<_ACEOF
4919 cat confdefs.h >>conftest.$ac_ext
4920 cat >>conftest.$ac_ext <<_ACEOF
4921 /* end confdefs.h. */
4924 static $ac_kw foo_t static_foo () {return 0; }
4925 $ac_kw foo_t foo () {return 0; }
4929 rm -f conftest.$ac_objext
4930 if { (ac_try="$ac_compile"
4932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4933 *) ac_try_echo=$ac_try;;
4935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4936 $as_echo "$ac_try_echo") >&5
4937 (eval "$ac_compile") 2>conftest.er1
4939 grep -v '^ *+' conftest.er1 >conftest.err
4941 cat conftest.err >&5
4942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); } && {
4944 test -z "$ac_c_werror_flag" ||
4945 test ! -s conftest.err
4946 } && test -s conftest.$ac_objext; then
4947 ac_cv_c_inline=$ac_kw
4949 $as_echo "$as_me: failed program was:" >&5
4950 sed 's/^/| /' conftest.$ac_ext >&5
4955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4956 test "$ac_cv_c_inline" != no && break
4960 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4961 $as_echo "$ac_cv_c_inline" >&6; }
4964 case $ac_cv_c_inline in
4967 case $ac_cv_c_inline in
4969 *) ac_val=$ac_cv_c_inline;;
4971 cat >>confdefs.h <<_ACEOF
4973 #define inline $ac_val
4980 # Checks for library functions.
4981 ac_config_headers="$ac_config_headers config.h"
4983 ac_config_files="$ac_config_files Makefile"
4985 cat >confcache <<\_ACEOF
4986 # This file is a shell script that caches the results of configure
4987 # tests run on this system so they can be shared between configure
4988 # scripts and configure runs, see configure's option --config-cache.
4989 # It is not useful on other systems. If it contains results you don't
4990 # want to keep, you may remove or edit it.
4992 # config.status only pays attention to the cache file if you give it
4993 # the --recheck option to rerun configure.
4995 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4996 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5001 # The following way of writing the cache mishandles newlines in values,
5002 # but we know of no workaround that is simple, portable, and efficient.
5003 # So, we kill variables containing newlines.
5004 # Ultrix sh set writes to stderr and can't be redirected directly,
5005 # and sets the high bit in the cache file unless we assign to the vars.
5007 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5008 eval ac_val=\$$ac_var
5012 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5013 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5016 _ | IFS | as_nl) ;; #(
5017 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5018 *) $as_unset $ac_var ;;
5024 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5025 *${as_nl}ac_space=\ *)
5026 # `set' does not quote correctly, so add quotes (double-quote
5027 # substitution turns \\\\ into \\, and sed turns \\ into \).
5030 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5033 # `set' quotes correctly as required by POSIX, so do not add quotes.
5034 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5043 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5045 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5047 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5048 if test -w "$cache_file"; then
5049 test "x$cache_file" != "x/dev/null" &&
5050 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5051 $as_echo "$as_me: updating cache $cache_file" >&6;}
5052 cat confcache >$cache_file
5054 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5055 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5060 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5061 # Let make expand exec_prefix.
5062 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5064 DEFS=-DHAVE_CONFIG_H
5068 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5069 # 1. Remove the extension, and $U if already installed.
5070 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5071 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5072 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5073 # will be set to the directory where LIBOBJS objects are built.
5074 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5075 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5079 LTLIBOBJS=$ac_ltlibobjs
5082 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5083 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5084 Usually this means the macro was only invoked conditionally." >&5
5085 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5086 Usually this means the macro was only invoked conditionally." >&2;}
5087 { (exit 1); exit 1; }; }
5089 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5090 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5091 Usually this means the macro was only invoked conditionally." >&5
5092 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5093 Usually this means the macro was only invoked conditionally." >&2;}
5094 { (exit 1); exit 1; }; }
5096 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5097 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5098 Usually this means the macro was only invoked conditionally." >&5
5099 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5100 Usually this means the macro was only invoked conditionally." >&2;}
5101 { (exit 1); exit 1; }; }
5104 : ${CONFIG_STATUS=./config.status}
5106 ac_clean_files_save=$ac_clean_files
5107 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5108 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5109 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5110 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5112 # Generated by $as_me.
5113 # Run this file to recreate the current configuration.
5114 # Compiler output produced by configure, useful for debugging
5115 # configure, is in config.log if it exists.
5120 SHELL=\${CONFIG_SHELL-$SHELL}
5123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5124 ## --------------------- ##
5125 ## M4sh Initialization. ##
5126 ## --------------------- ##
5128 # Be more Bourne compatible
5129 DUALCASE=1; export DUALCASE # for MKS sh
5130 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5133 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5134 # is contrary to our usage. Disable this feature.
5135 alias -g '${1+"$@"}'='"$@"'
5136 setopt NO_GLOB_SUBST
5138 case `(set -o) 2>/dev/null` in
5139 *posix*) set -o posix ;;
5148 # Avoid depending upon Character Ranges.
5149 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5150 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5151 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5152 as_cr_digits='0123456789'
5153 as_cr_alnum=$as_cr_Letters$as_cr_digits
5158 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5159 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5160 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5161 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5162 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5163 as_echo='printf %s\n'
5164 as_echo_n='printf %s'
5166 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5167 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5168 as_echo_n='/usr/ucb/echo -n'
5170 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5171 as_echo_n_body='eval
5175 expr "X$arg" : "X\\(.*\\)$as_nl";
5176 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5178 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5180 export as_echo_n_body
5181 as_echo_n='sh -c $as_echo_n_body as_echo'
5184 as_echo='sh -c $as_echo_body as_echo'
5187 # The user is always right.
5188 if test "${PATH_SEPARATOR+set}" != set; then
5190 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5191 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5196 # Support unset when possible.
5197 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5205 # We need space, tab and new line, in precisely that order. Quoting is
5206 # there to prevent editors from complaining about space-tab.
5207 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5208 # splitting by setting IFS to empty value.)
5211 # Find who we are. Look in the path if we contain no directory separator.
5213 *[\\/]* ) as_myself=$0 ;;
5214 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5218 test -z "$as_dir" && as_dir=.
5219 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5225 # We did not find ourselves, most probably we were run as `sh COMMAND'
5226 # in which case we are not to be found in the path.
5227 if test "x$as_myself" = x; then
5230 if test ! -f "$as_myself"; then
5231 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5232 { (exit 1); exit 1; }
5235 # Work around bugs in pre-3.0 UWIN ksh.
5236 for as_var in ENV MAIL MAILPATH
5237 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5249 # Required to use basename.
5250 if expr a : '\(a\)' >/dev/null 2>&1 &&
5251 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5257 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5258 as_basename=basename
5264 # Name of the executable.
5265 as_me=`$as_basename -- "$0" ||
5266 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5267 X"$0" : 'X\(//\)$' \| \
5268 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5270 sed '/^.*\/\([^/][^/]*\)\/*$/{
5291 test "x$as_lineno_1" != "x$as_lineno_2" &&
5292 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5294 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5295 # uniformly replaced by the line number. The first 'sed' inserts a
5296 # line-number line after each line using $LINENO; the second 'sed'
5297 # does the real work. The second script uses 'N' to pair each
5298 # line-number line with the line containing $LINENO, and appends
5299 # trailing '-' during substitution so that $LINENO is not a special
5301 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5302 # scripts with optimization help from Paolo Bonzini. Blame Lee
5303 # E. McMahon (1931-1989) for sed's syntax. :-)
5315 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5319 chmod +x "$as_me.lineno" ||
5320 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5321 { (exit 1); exit 1; }; }
5323 # Don't try to exec as it changes $[0], causing all sort of problems
5324 # (the dirname of $[0] is not the place where we might find the
5325 # original and so on. Autoconf is especially sensitive to this).
5327 # Exit status is that of the last command.
5332 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5338 ECHO_C= ECHO_N= ECHO_T=
5341 case `echo 'x\c'` in
5342 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5348 if expr a : '\(a\)' >/dev/null 2>&1 &&
5349 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5355 rm -f conf$$ conf$$.exe conf$$.file
5356 if test -d conf$$.dir; then
5357 rm -f conf$$.dir/conf$$.file
5360 mkdir conf$$.dir 2>/dev/null
5362 if (echo >conf$$.file) 2>/dev/null; then
5363 if ln -s conf$$.file conf$$ 2>/dev/null; then
5365 # ... but there are two gotchas:
5366 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5367 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5368 # In both cases, we have to default to `cp -p'.
5369 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5371 elif ln conf$$.file conf$$ 2>/dev/null; then
5379 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5380 rmdir conf$$.dir 2>/dev/null
5382 if mkdir -p . 2>/dev/null; then
5385 test -d ./-p && rmdir ./-p
5389 if test -x / >/dev/null 2>&1; then
5392 if ls -dL / >/dev/null 2>&1; then
5399 if test -d "$1"; then
5405 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5406 ???[sx]*):;;*)false;;esac;fi
5410 as_executable_p=$as_test_x
5412 # Sed expression to map a string onto a valid CPP name.
5413 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5415 # Sed expression to map a string onto a valid variable name.
5416 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5421 # Save the log message, to keep $[0] and so on meaningful, and to
5422 # report actual input values of CONFIG_FILES etc. instead of their
5423 # values after options handling.
5425 This file was extended by main.c $as_me 0.0.1, which was
5426 generated by GNU Autoconf 2.63. Invocation command line was
5428 CONFIG_FILES = $CONFIG_FILES
5429 CONFIG_HEADERS = $CONFIG_HEADERS
5430 CONFIG_LINKS = $CONFIG_LINKS
5431 CONFIG_COMMANDS = $CONFIG_COMMANDS
5434 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5439 case $ac_config_files in *"
5440 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5443 case $ac_config_headers in *"
5444 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5448 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5449 # Files that config.status was made for.
5450 config_files="$ac_config_files"
5451 config_headers="$ac_config_headers"
5452 config_commands="$ac_config_commands"
5456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5458 \`$as_me' instantiates files from templates according to the
5459 current configuration.
5461 Usage: $0 [OPTION]... [FILE]...
5463 -h, --help print this help, then exit
5464 -V, --version print version number and configuration settings, then exit
5465 -q, --quiet, --silent
5466 do not print progress messages
5467 -d, --debug don't remove temporary files
5468 --recheck update $as_me by reconfiguring in the same conditions
5469 --file=FILE[:TEMPLATE]
5470 instantiate the configuration file FILE
5471 --header=FILE[:TEMPLATE]
5472 instantiate the configuration header FILE
5474 Configuration files:
5477 Configuration headers:
5480 Configuration commands:
5483 Report bugs to <bug-autoconf@gnu.org>."
5486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5488 main.c config.status 0.0.1
5489 configured by $0, generated by GNU Autoconf 2.63,
5490 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5492 Copyright (C) 2008 Free Software Foundation, Inc.
5493 This config.status script is free software; the Free Software Foundation
5494 gives unlimited permission to copy, distribute and modify it."
5501 test -n "\$AWK" || AWK=awk
5504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5505 # The default lists apply if the user does not specify any file.
5511 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5512 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5523 # Handling of the options.
5524 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5526 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5527 $as_echo "$ac_cs_version"; exit ;;
5528 --debug | --debu | --deb | --de | --d | -d )
5530 --file | --fil | --fi | --f )
5533 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5535 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5536 ac_need_defaults=false;;
5537 --header | --heade | --head | --hea )
5540 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5542 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
5543 ac_need_defaults=false;;
5545 # Conflict between --help and --header
5546 { $as_echo "$as_me: error: ambiguous option: $1
5547 Try \`$0 --help' for more information." >&2
5548 { (exit 1); exit 1; }; };;
5549 --help | --hel | -h )
5550 $as_echo "$ac_cs_usage"; exit ;;
5551 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5552 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5556 -*) { $as_echo "$as_me: error: unrecognized option: $1
5557 Try \`$0 --help' for more information." >&2
5558 { (exit 1); exit 1; }; } ;;
5560 *) ac_config_targets="$ac_config_targets $1"
5561 ac_need_defaults=false ;;
5567 ac_configure_extra_args=
5569 if $ac_cs_silent; then
5571 ac_configure_extra_args="$ac_configure_extra_args --silent"
5575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5576 if \$ac_cs_recheck; then
5577 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5579 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5580 CONFIG_SHELL='$SHELL'
5586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5590 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5591 ## Running $as_me. ##
5597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5601 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5607 # Handling of arguments.
5608 for ac_config_target in $ac_config_targets
5610 case $ac_config_target in
5611 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5612 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5613 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5615 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5616 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5617 { (exit 1); exit 1; }; };;
5622 # If the user did not use the arguments to specify the items to instantiate,
5623 # then the envvar interface is used. Set only those that are not.
5624 # We use the long form for the default assignment because of an extremely
5625 # bizarre bug on SunOS 4.1.3.
5626 if $ac_need_defaults; then
5627 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5628 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5629 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5632 # Have a temporary directory for convenience. Make it in the build tree
5633 # simply because there is no reason against having it here, and in addition,
5634 # creating and moving files from /tmp can sometimes cause problems.
5635 # Hook for its removal unless debugging.
5636 # Note that there is a small window in which the directory will not be cleaned:
5637 # after its creation but before its name has been assigned to `$tmp'.
5641 trap 'exit_status=$?
5642 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5644 trap '{ (exit 1); exit 1; }' 1 2 13 15
5646 # Create a (secure) tmp directory for tmp files.
5649 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5650 test -n "$tmp" && test -d "$tmp"
5653 tmp=./conf$$-$RANDOM
5654 (umask 077 && mkdir "$tmp")
5657 $as_echo "$as_me: cannot create a temporary directory in ." >&2
5658 { (exit 1); exit 1; }
5661 # Set up the scripts for CONFIG_FILES section.
5662 # No need to generate them if there are no CONFIG_FILES.
5663 # This happens for instance with `./config.status config.h'.
5664 if test -n "$CONFIG_FILES"; then
5668 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5669 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5675 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5680 echo "cat >conf$$subs.awk <<_ACEOF" &&
5681 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5684 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5685 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5686 { (exit 1); exit 1; }; }
5687 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5689 for ac_last_try in false false false false false :; do
5690 . ./conf$$subs.sh ||
5691 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5692 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5693 { (exit 1); exit 1; }; }
5695 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5696 if test $ac_delim_n = $ac_delim_num; then
5698 elif $ac_last_try; then
5699 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5700 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5701 { (exit 1); exit 1; }; }
5703 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5708 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5709 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5713 s/^/S["/; s/!.*/"]=/
5723 s/\(.\{148\}\).*/\1/
5725 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5730 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5737 s/\(.\{148\}\).*/\1/
5739 s/["\\]/\\&/g; s/^/"/; s/$/"/
5743 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5748 ' <conf$$subs.awk | sed '
5753 ' >>$CONFIG_STATUS || ac_write_fail=1
5754 rm -f conf$$subs.awk
5755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5757 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5758 for (key in S) S_is_set[key] = 1
5764 nfields = split(line, field, "@")
5766 len = length(field[1])
5767 for (i = 2; i < nfields; i++) {
5769 keylen = length(key)
5770 if (S_is_set[key]) {
5772 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5773 len += length(value) + length(field[++i])
5784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5785 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5786 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5789 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5790 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
5791 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
5792 { (exit 1); exit 1; }; }
5795 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5796 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5797 # trailing colons and then remove the whole line if VPATH becomes empty
5798 # (actually we leave an empty line to preserve line numbers).
5799 if test "x$srcdir" = x.; then
5800 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5804 s/^\([^=]*=[ ]*\):*/\1/
5810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5811 fi # test -n "$CONFIG_FILES"
5813 # Set up the scripts for CONFIG_HEADERS section.
5814 # No need to generate them if there are no CONFIG_HEADERS.
5815 # This happens for instance with `./config.status Makefile'.
5816 if test -n "$CONFIG_HEADERS"; then
5817 cat >"$tmp/defines.awk" <<\_ACAWK ||
5821 # Transform confdefs.h into an awk script `defines.awk', embedded as
5822 # here-document in config.status, that substitutes the proper values into
5823 # config.h.in to produce config.h.
5825 # Create a delimiter string that does not exist in confdefs.h, to ease
5826 # handling of long lines.
5828 for ac_last_try in false false :; do
5829 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5830 if test -z "$ac_t"; then
5832 elif $ac_last_try; then
5833 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
5834 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
5835 { (exit 1); exit 1; }; }
5837 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5841 # For the awk script, D is an array of macro values keyed by name,
5842 # likewise P contains macro parameters if any. Preserve backslash
5843 # newline sequences.
5845 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5847 s/.\{148\}/&'"$ac_delim"'/g
5850 s/^[ ]*#[ ]*define[ ][ ]*/ /
5857 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5859 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5863 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5864 D["\1"]=" \3\\\\\\n"\\/p
5866 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5871 s/.\{148\}/&'"$ac_delim"'/g
5876 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5879 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5881 ' <confdefs.h | sed '
5882 s/'"$ac_delim"'/"\\\
5883 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5886 for (key in D) D_is_set[key] = 1
5889 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5891 split(line, arg, " ")
5892 if (arg[1] == "#") {
5896 defundef = substr(arg[1], 2)
5899 split(mac1, mac2, "(") #)
5901 prefix = substr(line, 1, index(line, defundef) - 1)
5902 if (D_is_set[macro]) {
5903 # Preserve the white space surrounding the "#".
5904 print prefix "define", macro P[macro] D[macro]
5907 # Replace #undef with comments. This is necessary, for example,
5908 # in the case of _POSIX_SOURCE, which is predefined and required
5909 # on some systems where configure will not decide to define it.
5910 if (defundef == "undef") {
5911 print "/*", prefix defundef, macro, "*/"
5919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5920 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
5921 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
5922 { (exit 1); exit 1; }; }
5923 fi # test -n "$CONFIG_HEADERS"
5926 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5931 :[FHLC]) ac_mode=$ac_tag; continue;;
5933 case $ac_mode$ac_tag in
5935 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
5936 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
5937 { (exit 1); exit 1; }; };;
5938 :[FH]-) ac_tag=-:-;;
5939 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5956 -) ac_f="$tmp/stdin";;
5957 *) # Look for the file first in the build tree, then in the source tree
5958 # (if the path is not absolute). The absolute path cannot be DOS-style,
5959 # because $ac_f cannot contain `:'.
5963 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5965 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5966 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5967 { (exit 1); exit 1; }; };;
5969 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5970 ac_file_inputs="$ac_file_inputs '$ac_f'"
5973 # Let's still pretend it is `configure' which instantiates (i.e., don't
5974 # use $as_me), people would be surprised to read:
5975 # /* config.h. Generated by config.status. */
5976 configure_input='Generated from '`
5977 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5979 if test x"$ac_file" != x-; then
5980 configure_input="$ac_file. $configure_input"
5981 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
5982 $as_echo "$as_me: creating $ac_file" >&6;}
5984 # Neutralize special characters interpreted by sed in replacement strings.
5985 case $configure_input in #(
5986 *\&* | *\|* | *\\* )
5987 ac_sed_conf_input=`$as_echo "$configure_input" |
5988 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5989 *) ac_sed_conf_input=$configure_input;;
5993 *:-:* | *:-) cat >"$tmp/stdin" \
5994 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5995 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5996 { (exit 1); exit 1; }; } ;;
6001 ac_dir=`$as_dirname -- "$ac_file" ||
6002 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6003 X"$ac_file" : 'X\(//\)[^/]' \| \
6004 X"$ac_file" : 'X\(//\)$' \| \
6005 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6006 $as_echo X"$ac_file" |
6007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6026 -*) as_dir=./$as_dir;;
6028 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6032 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6033 *) as_qdir=$as_dir;;
6035 as_dirs="'$as_qdir' $as_dirs"
6036 as_dir=`$as_dirname -- "$as_dir" ||
6037 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6038 X"$as_dir" : 'X\(//\)[^/]' \| \
6039 X"$as_dir" : 'X\(//\)$' \| \
6040 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6041 $as_echo X"$as_dir" |
6042 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6059 test -d "$as_dir" && break
6061 test -z "$as_dirs" || eval "mkdir $as_dirs"
6062 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6063 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6064 { (exit 1); exit 1; }; }; }
6068 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6070 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6071 # A ".." for each directory in $ac_dir_suffix.
6072 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6073 case $ac_top_builddir_sub in
6074 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6075 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6078 ac_abs_top_builddir=$ac_pwd
6079 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6080 # for backward compatibility:
6081 ac_top_builddir=$ac_top_build_prefix
6084 .) # We are building in place.
6086 ac_top_srcdir=$ac_top_builddir_sub
6087 ac_abs_top_srcdir=$ac_pwd ;;
6088 [\\/]* | ?:[\\/]* ) # Absolute name.
6089 ac_srcdir=$srcdir$ac_dir_suffix;
6090 ac_top_srcdir=$srcdir
6091 ac_abs_top_srcdir=$srcdir ;;
6093 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6094 ac_top_srcdir=$ac_top_build_prefix$srcdir
6095 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6097 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6107 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6108 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6112 [\\/$]* | ?:[\\/]* ) ;;
6113 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6117 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6118 # If the template does not know about datarootdir, expand it.
6119 # FIXME: This hack should be removed a few years after 2.60.
6120 ac_datarootdir_hack=; ac_datarootdir_seen=
6133 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6134 *datarootdir*) ac_datarootdir_seen=yes;;
6135 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6136 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6137 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6140 ac_datarootdir_hack='
6141 s&@datadir@&$datadir&g
6142 s&@docdir@&$docdir&g
6143 s&@infodir@&$infodir&g
6144 s&@localedir@&$localedir&g
6145 s&@mandir@&$mandir&g
6146 s&\\\${datarootdir}&$datarootdir&g' ;;
6150 # Neutralize VPATH when `$srcdir' = `.'.
6151 # Shell code in configure.ac might set extrasub.
6152 # FIXME: do we really want to maintain this feature?
6153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6154 ac_sed_extra="$ac_vpsub
6157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6159 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6160 s|@configure_input@|$ac_sed_conf_input|;t t
6161 s&@top_builddir@&$ac_top_builddir_sub&;t t
6162 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6163 s&@srcdir@&$ac_srcdir&;t t
6164 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6165 s&@top_srcdir@&$ac_top_srcdir&;t t
6166 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6167 s&@builddir@&$ac_builddir&;t t
6168 s&@abs_builddir@&$ac_abs_builddir&;t t
6169 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6170 s&@INSTALL@&$ac_INSTALL&;t t
6171 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6172 $ac_datarootdir_hack
6174 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6175 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6176 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6177 { (exit 1); exit 1; }; }
6179 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6180 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6181 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6182 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6183 which seems to be undefined. Please make sure it is defined." >&5
6184 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6185 which seems to be undefined. Please make sure it is defined." >&2;}
6189 -) cat "$tmp/out" && rm -f "$tmp/out";;
6190 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6192 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6193 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6194 { (exit 1); exit 1; }; }
6200 if test x"$ac_file" != x-; then
6202 $as_echo "/* $configure_input */" \
6203 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6204 } >"$tmp/config.h" \
6205 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6206 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6207 { (exit 1); exit 1; }; }
6208 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6209 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6210 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6213 mv "$tmp/config.h" "$ac_file" \
6214 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6215 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6216 { (exit 1); exit 1; }; }
6219 $as_echo "/* $configure_input */" \
6220 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6221 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6222 $as_echo "$as_me: error: could not create -" >&2;}
6223 { (exit 1); exit 1; }; }
6225 # Compute "$ac_file"'s index in $config_headers.
6228 for _am_header in $config_headers :; do
6230 $_am_arg | $_am_arg:* )
6233 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6236 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6237 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6238 X"$_am_arg" : 'X\(//\)[^/]' \| \
6239 X"$_am_arg" : 'X\(//\)$' \| \
6240 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6241 $as_echo X"$_am_arg" |
6242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6258 s/.*/./; q'`/stamp-h$_am_stamp_count
6261 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6262 $as_echo "$as_me: executing $ac_file commands" >&6;}
6267 case $ac_file$ac_mode in
6268 "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
6269 # are listed without --file. Let's play safe and only enable the eval
6270 # if we detect the quoting.
6271 case $CONFIG_FILES in
6272 *\'*) eval set x "$CONFIG_FILES" ;;
6273 *) set x $CONFIG_FILES ;;
6278 # Strip MF so we end up with the name of the file.
6279 mf=`echo "$mf" | sed -e 's/:.*$//'`
6280 # Check whether this is an Automake generated Makefile or not.
6281 # We used to match only the files named `Makefile.in', but
6282 # some people rename them; so instead we look at the file content.
6283 # Grep'ing the first line is not enough: some people post-process
6284 # each Makefile.in and add a new line on top of each file to say so.
6285 # Grep'ing the whole file is not good either: AIX grep has a line
6286 # limit of 2048, but all sed's we know have understand at least 4000.
6287 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6288 dirpart=`$as_dirname -- "$mf" ||
6289 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6290 X"$mf" : 'X\(//\)[^/]' \| \
6291 X"$mf" : 'X\(//\)$' \| \
6292 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6294 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6314 # Extract the definition of DEPDIR, am__include, and am__quote
6315 # from the Makefile without running `make'.
6316 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6317 test -z "$DEPDIR" && continue
6318 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6319 test -z "am__include" && continue
6320 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6321 # When using ansi2knr, U may be empty or an underscore; expand it
6322 U=`sed -n 's/^U = //p' < "$mf"`
6323 # Find all dependency output files, they are included files with
6324 # $(DEPDIR) in their names. We invoke sed twice because it is the
6325 # simplest approach to changing $(DEPDIR) to its actual value in the
6327 for file in `sed -n "
6328 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6329 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6330 # Make sure the directory exists.
6331 test -f "$dirpart/$file" && continue
6332 fdir=`$as_dirname -- "$file" ||
6333 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6334 X"$file" : 'X\(//\)[^/]' \| \
6335 X"$file" : 'X\(//\)$' \| \
6336 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6355 { as_dir=$dirpart/$fdir
6357 -*) as_dir=./$as_dir;;
6359 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6363 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6364 *) as_qdir=$as_dir;;
6366 as_dirs="'$as_qdir' $as_dirs"
6367 as_dir=`$as_dirname -- "$as_dir" ||
6368 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6369 X"$as_dir" : 'X\(//\)[^/]' \| \
6370 X"$as_dir" : 'X\(//\)$' \| \
6371 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6372 $as_echo X"$as_dir" |
6373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6390 test -d "$as_dir" && break
6392 test -z "$as_dirs" || eval "mkdir $as_dirs"
6393 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6394 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6395 { (exit 1); exit 1; }; }; }
6396 # echo "creating $dirpart/$file"
6397 echo '# dummy' > "$dirpart/$file"
6406 { (exit 0); exit 0; }
6408 chmod +x $CONFIG_STATUS
6409 ac_clean_files=$ac_clean_files_save
6411 test $ac_write_fail = 0 ||
6412 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6413 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6414 { (exit 1); exit 1; }; }
6417 # configure is writing to config.log, and then calls config.status.
6418 # config.status does its own redirection, appending to config.log.
6419 # Unfortunately, on DOS this fails, as config.log is still kept open
6420 # by configure, so config.status won't be able to write to it; its
6421 # output is simply discarded. So we exec the FD to /dev/null,
6422 # effectively closing config.log, so it can be properly (re)opened and
6423 # appended to by config.status. When coming back to configure, we
6424 # need to make the FD available again.
6425 if test "$no_create" != yes; then
6427 ac_config_status_args=
6428 test "$silent" = yes &&
6429 ac_config_status_args="$ac_config_status_args --quiet"
6431 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6433 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6434 # would make configure fail if this is the last instruction.
6435 $ac_cs_success || { (exit 1); exit 1; }
6437 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6438 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6439 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}