2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs 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 ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file="src/treefuncs.h"
589 program_transform_name
631 INSTALL_STRIP_PROGRAM
640 MAINTAINER_MODE_FALSE
680 ac_precious_vars='build_alias
696 # Initialize some variables set by options.
698 ac_init_version=false
699 # The variables have the same names as the options, with
700 # dashes changed to underlines.
708 program_transform_name=s,x,x,
716 # Installation directory options.
717 # These are left unexpanded so users can "make install exec_prefix=/foo"
718 # and all the variables that are supposed to be based on exec_prefix
719 # by default will actually change.
720 # Use braces instead of parens because sh, perl, etc. also accept them.
721 # (The list follows the same order as the GNU Coding Standards.)
722 bindir='${exec_prefix}/bin'
723 sbindir='${exec_prefix}/sbin'
724 libexecdir='${exec_prefix}/libexec'
725 datarootdir='${prefix}/share'
726 datadir='${datarootdir}'
727 sysconfdir='${prefix}/etc'
728 sharedstatedir='${prefix}/com'
729 localstatedir='${prefix}/var'
730 includedir='${prefix}/include'
731 oldincludedir='/usr/include'
732 docdir='${datarootdir}/doc/${PACKAGE}'
733 infodir='${datarootdir}/info'
738 libdir='${exec_prefix}/lib'
739 localedir='${datarootdir}/locale'
740 mandir='${datarootdir}/man'
746 # If the previous option needs an argument, assign it.
747 if test -n "$ac_prev"; then
748 eval $ac_prev=\$ac_option
754 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
758 # Accept the important Cygnus configure options, so we can diagnose typos.
760 case $ac_dashdash$ac_option in
764 -bindir | --bindir | --bindi | --bind | --bin | --bi)
766 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
769 -build | --build | --buil | --bui | --bu)
770 ac_prev=build_alias ;;
771 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
772 build_alias=$ac_optarg ;;
774 -cache-file | --cache-file | --cache-fil | --cache-fi \
775 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
776 ac_prev=cache_file ;;
777 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
778 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
779 cache_file=$ac_optarg ;;
782 cache_file=config.cache ;;
784 -datadir | --datadir | --datadi | --datad)
786 -datadir=* | --datadir=* | --datadi=* | --datad=*)
787 datadir=$ac_optarg ;;
789 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
790 | --dataroo | --dataro | --datar)
791 ac_prev=datarootdir ;;
792 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
793 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
794 datarootdir=$ac_optarg ;;
796 -disable-* | --disable-*)
797 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
798 # Reject names that are not valid shell variable names.
799 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
800 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
801 { (exit 1); exit 1; }; }
802 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
803 eval enable_$ac_feature=no ;;
805 -docdir | --docdir | --docdi | --doc | --do)
807 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
810 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
812 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
815 -enable-* | --enable-*)
816 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
817 # Reject names that are not valid shell variable names.
818 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
819 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
820 { (exit 1); exit 1; }; }
821 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
822 eval enable_$ac_feature=\$ac_optarg ;;
824 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
825 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
826 | --exec | --exe | --ex)
827 ac_prev=exec_prefix ;;
828 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
829 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
830 | --exec=* | --exe=* | --ex=*)
831 exec_prefix=$ac_optarg ;;
833 -gas | --gas | --ga | --g)
834 # Obsolete; use --with-gas.
837 -help | --help | --hel | --he | -h)
839 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
840 ac_init_help=recursive ;;
841 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
842 ac_init_help=short ;;
844 -host | --host | --hos | --ho)
845 ac_prev=host_alias ;;
846 -host=* | --host=* | --hos=* | --ho=*)
847 host_alias=$ac_optarg ;;
849 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
851 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
853 htmldir=$ac_optarg ;;
855 -includedir | --includedir | --includedi | --included | --include \
856 | --includ | --inclu | --incl | --inc)
857 ac_prev=includedir ;;
858 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
859 | --includ=* | --inclu=* | --incl=* | --inc=*)
860 includedir=$ac_optarg ;;
862 -infodir | --infodir | --infodi | --infod | --info | --inf)
864 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
865 infodir=$ac_optarg ;;
867 -libdir | --libdir | --libdi | --libd)
869 -libdir=* | --libdir=* | --libdi=* | --libd=*)
872 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
873 | --libexe | --libex | --libe)
874 ac_prev=libexecdir ;;
875 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
876 | --libexe=* | --libex=* | --libe=*)
877 libexecdir=$ac_optarg ;;
879 -localedir | --localedir | --localedi | --localed | --locale)
881 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
882 localedir=$ac_optarg ;;
884 -localstatedir | --localstatedir | --localstatedi | --localstated \
885 | --localstate | --localstat | --localsta | --localst | --locals)
886 ac_prev=localstatedir ;;
887 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
888 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
889 localstatedir=$ac_optarg ;;
891 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
893 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
897 # Obsolete; use --without-fp.
900 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
901 | --no-cr | --no-c | -n)
904 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
905 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
908 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
909 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
910 | --oldin | --oldi | --old | --ol | --o)
911 ac_prev=oldincludedir ;;
912 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
913 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
914 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
915 oldincludedir=$ac_optarg ;;
917 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
919 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
922 -program-prefix | --program-prefix | --program-prefi | --program-pref \
923 | --program-pre | --program-pr | --program-p)
924 ac_prev=program_prefix ;;
925 -program-prefix=* | --program-prefix=* | --program-prefi=* \
926 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
927 program_prefix=$ac_optarg ;;
929 -program-suffix | --program-suffix | --program-suffi | --program-suff \
930 | --program-suf | --program-su | --program-s)
931 ac_prev=program_suffix ;;
932 -program-suffix=* | --program-suffix=* | --program-suffi=* \
933 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
934 program_suffix=$ac_optarg ;;
936 -program-transform-name | --program-transform-name \
937 | --program-transform-nam | --program-transform-na \
938 | --program-transform-n | --program-transform- \
939 | --program-transform | --program-transfor \
940 | --program-transfo | --program-transf \
941 | --program-trans | --program-tran \
942 | --progr-tra | --program-tr | --program-t)
943 ac_prev=program_transform_name ;;
944 -program-transform-name=* | --program-transform-name=* \
945 | --program-transform-nam=* | --program-transform-na=* \
946 | --program-transform-n=* | --program-transform-=* \
947 | --program-transform=* | --program-transfor=* \
948 | --program-transfo=* | --program-transf=* \
949 | --program-trans=* | --program-tran=* \
950 | --progr-tra=* | --program-tr=* | --program-t=*)
951 program_transform_name=$ac_optarg ;;
953 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
955 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
958 -psdir | --psdir | --psdi | --psd | --ps)
960 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
963 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
964 | -silent | --silent | --silen | --sile | --sil)
967 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
969 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
971 sbindir=$ac_optarg ;;
973 -sharedstatedir | --sharedstatedir | --sharedstatedi \
974 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
975 | --sharedst | --shareds | --shared | --share | --shar \
977 ac_prev=sharedstatedir ;;
978 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
979 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
980 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
982 sharedstatedir=$ac_optarg ;;
984 -site | --site | --sit)
986 -site=* | --site=* | --sit=*)
989 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
991 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
994 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
995 | --syscon | --sysco | --sysc | --sys | --sy)
996 ac_prev=sysconfdir ;;
997 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
998 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
999 sysconfdir=$ac_optarg ;;
1001 -target | --target | --targe | --targ | --tar | --ta | --t)
1002 ac_prev=target_alias ;;
1003 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1004 target_alias=$ac_optarg ;;
1006 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1009 -version | --version | --versio | --versi | --vers | -V)
1010 ac_init_version=: ;;
1013 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1014 # Reject names that are not valid shell variable names.
1015 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1016 { echo "$as_me: error: invalid package name: $ac_package" >&2
1017 { (exit 1); exit 1; }; }
1018 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1019 eval with_$ac_package=\$ac_optarg ;;
1021 -without-* | --without-*)
1022 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1023 # Reject names that are not valid shell variable names.
1024 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1025 { echo "$as_me: error: invalid package name: $ac_package" >&2
1026 { (exit 1); exit 1; }; }
1027 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1028 eval with_$ac_package=no ;;
1031 # Obsolete; use --with-x.
1034 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1035 | --x-incl | --x-inc | --x-in | --x-i)
1036 ac_prev=x_includes ;;
1037 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1038 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1039 x_includes=$ac_optarg ;;
1041 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1042 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1043 ac_prev=x_libraries ;;
1044 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1045 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1046 x_libraries=$ac_optarg ;;
1048 -*) { echo "$as_me: error: unrecognized option: $ac_option
1049 Try \`$0 --help' for more information." >&2
1050 { (exit 1); exit 1; }; }
1054 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1055 # Reject names that are not valid shell variable names.
1056 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1057 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1058 { (exit 1); exit 1; }; }
1059 eval $ac_envvar=\$ac_optarg
1060 export $ac_envvar ;;
1063 # FIXME: should be removed in autoconf 3.0.
1064 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1065 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1066 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1067 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1073 if test -n "$ac_prev"; then
1074 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1075 { echo "$as_me: error: missing argument to $ac_option" >&2
1076 { (exit 1); exit 1; }; }
1079 # Be sure to have absolute directory names.
1080 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1081 datadir sysconfdir sharedstatedir localstatedir includedir \
1082 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1083 libdir localedir mandir
1085 eval ac_val=\$$ac_var
1087 [\\/$]* | ?:[\\/]* ) continue;;
1088 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1090 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1091 { (exit 1); exit 1; }; }
1094 # There might be people who depend on the old broken behavior: `$host'
1095 # used to hold the argument of --host etc.
1096 # FIXME: To remove some day.
1099 target=$target_alias
1101 # FIXME: To remove some day.
1102 if test "x$host_alias" != x; then
1103 if test "x$build_alias" = x; then
1104 cross_compiling=maybe
1105 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1106 If a cross compiler is detected then cross compile mode will be used." >&2
1107 elif test "x$build_alias" != "x$host_alias"; then
1113 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1115 test "$silent" = yes && exec 6>/dev/null
1118 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1119 ac_ls_di=`ls -di .` &&
1120 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1121 { echo "$as_me: error: Working directory cannot be determined" >&2
1122 { (exit 1); exit 1; }; }
1123 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1124 { echo "$as_me: error: pwd does not report name of working directory" >&2
1125 { (exit 1); exit 1; }; }
1128 # Find the source files, if location was not specified.
1129 if test -z "$srcdir"; then
1130 ac_srcdir_defaulted=yes
1131 # Try the directory containing this script, then the parent directory.
1132 ac_confdir=`$as_dirname -- "$0" ||
1133 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1134 X"$0" : 'X\(//\)[^/]' \| \
1135 X"$0" : 'X\(//\)$' \| \
1136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1156 if test ! -r "$srcdir/$ac_unique_file"; then
1160 ac_srcdir_defaulted=no
1162 if test ! -r "$srcdir/$ac_unique_file"; then
1163 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1164 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1165 { (exit 1); exit 1; }; }
1167 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1169 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1170 { (exit 1); exit 1; }; }
1172 # When building in place, set srcdir=.
1173 if test "$ac_abs_confdir" = "$ac_pwd"; then
1176 # Remove unnecessary trailing slashes from srcdir.
1177 # Double slashes in file names in object file debugging info
1178 # mess up M-x gdb in Emacs.
1180 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1182 for ac_var in $ac_precious_vars; do
1183 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1184 eval ac_env_${ac_var}_value=\$${ac_var}
1185 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1186 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1190 # Report the --help message.
1192 if test "$ac_init_help" = "long"; then
1193 # Omit some internal or obsolete options to make the list less imposing.
1194 # This message is too long to be a string in the A/UX 3.1 sh.
1196 \`configure' configures this package to adapt to many kinds of systems.
1198 Usage: $0 [OPTION]... [VAR=VALUE]...
1200 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1201 VAR=VALUE. See below for descriptions of some of the useful variables.
1203 Defaults for the options are specified in brackets.
1206 -h, --help display this help and exit
1207 --help=short display options specific to this package
1208 --help=recursive display the short help of all the included packages
1209 -V, --version display version information and exit
1210 -q, --quiet, --silent do not print \`checking...' messages
1211 --cache-file=FILE cache test results in FILE [disabled]
1212 -C, --config-cache alias for \`--cache-file=config.cache'
1213 -n, --no-create do not create output files
1214 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1216 Installation directories:
1217 --prefix=PREFIX install architecture-independent files in PREFIX
1218 [$ac_default_prefix]
1219 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1222 By default, \`make install' will install all the files in
1223 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1224 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1225 for instance \`--prefix=\$HOME'.
1227 For better control, use the options below.
1229 Fine tuning of the installation directories:
1230 --bindir=DIR user executables [EPREFIX/bin]
1231 --sbindir=DIR system admin executables [EPREFIX/sbin]
1232 --libexecdir=DIR program executables [EPREFIX/libexec]
1233 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1234 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1235 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1236 --libdir=DIR object code libraries [EPREFIX/lib]
1237 --includedir=DIR C header files [PREFIX/include]
1238 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1239 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1240 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1241 --infodir=DIR info documentation [DATAROOTDIR/info]
1242 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1243 --mandir=DIR man documentation [DATAROOTDIR/man]
1244 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1245 --htmldir=DIR html documentation [DOCDIR]
1246 --dvidir=DIR dvi documentation [DOCDIR]
1247 --pdfdir=DIR pdf documentation [DOCDIR]
1248 --psdir=DIR ps documentation [DOCDIR]
1254 --program-prefix=PREFIX prepend PREFIX to installed program names
1255 --program-suffix=SUFFIX append SUFFIX to installed program names
1256 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1260 if test -n "$ac_init_help"; then
1265 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1266 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1267 --enable-maintainer-mode enable make rules and dependencies not useful
1268 (and sometimes confusing) to the casual installer
1269 --disable-dependency-tracking speeds up one-time build
1270 --enable-dependency-tracking do not reject slow dependency extractors
1272 Some influential environment variables:
1273 CC C compiler command
1274 CFLAGS C compiler flags
1275 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1276 nonstandard directory <lib dir>
1277 LIBS libraries to pass to the linker, e.g. -l<library>
1278 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1279 you have headers in a nonstandard directory <include dir>
1281 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1282 the first program found out of: `bison -y', `byacc', `yacc'.
1283 YFLAGS The list of arguments that will be passed by default to $YACC.
1284 This script will default YFLAGS to the empty string to avoid a
1285 default value of `-d' given by some make applications.
1286 PKG_CONFIG path to pkg-config utility
1287 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1288 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1290 Use these variables to override the choices made by `configure' or to help
1291 it to find libraries and programs with nonstandard names/locations.
1297 if test "$ac_init_help" = "recursive"; then
1298 # If there are subdirs, report their specific --help.
1299 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1300 test -d "$ac_dir" || continue
1304 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1306 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1307 # A ".." for each directory in $ac_dir_suffix.
1308 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1309 case $ac_top_builddir_sub in
1310 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1311 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1314 ac_abs_top_builddir=$ac_pwd
1315 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1316 # for backward compatibility:
1317 ac_top_builddir=$ac_top_build_prefix
1320 .) # We are building in place.
1322 ac_top_srcdir=$ac_top_builddir_sub
1323 ac_abs_top_srcdir=$ac_pwd ;;
1324 [\\/]* | ?:[\\/]* ) # Absolute name.
1325 ac_srcdir=$srcdir$ac_dir_suffix;
1326 ac_top_srcdir=$srcdir
1327 ac_abs_top_srcdir=$srcdir ;;
1329 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1330 ac_top_srcdir=$ac_top_build_prefix$srcdir
1331 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1333 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1335 cd "$ac_dir" || { ac_status=$?; continue; }
1336 # Check for guested configure.
1337 if test -f "$ac_srcdir/configure.gnu"; then
1339 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1340 elif test -f "$ac_srcdir/configure"; then
1342 $SHELL "$ac_srcdir/configure" --help=recursive
1344 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1346 cd "$ac_pwd" || { ac_status=$?; break; }
1350 test -n "$ac_init_help" && exit $ac_status
1351 if $ac_init_version; then
1354 generated by GNU Autoconf 2.61
1356 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1357 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1358 This configure script is free software; the Free Software Foundation
1359 gives unlimited permission to copy, distribute and modify it.
1363 cat >config.log <<_ACEOF
1364 This file contains any messages produced by compilers while
1365 running configure, to aid debugging if configure makes a mistake.
1367 It was created by $as_me, which was
1368 generated by GNU Autoconf 2.61. Invocation command line was
1380 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1381 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1382 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1383 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1384 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1386 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1387 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1389 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1390 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1391 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1392 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1393 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1394 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1395 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1403 test -z "$as_dir" && as_dir=.
1404 echo "PATH: $as_dir"
1420 # Keep a trace of the command line.
1421 # Strip out --no-create and --no-recursion so they do not pile up.
1422 # Strip out --silent because we don't want to record it for future runs.
1423 # Also quote any args containing shell meta-characters.
1424 # Make two passes to allow for proper duplicate-argument suppression.
1428 ac_must_keep_next=false
1434 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1435 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1436 | -silent | --silent | --silen | --sile | --sil)
1439 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1442 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1444 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1445 if test $ac_must_keep_next = true; then
1446 ac_must_keep_next=false # Got value, back to normal.
1449 *=* | --config-cache | -C | -disable-* | --disable-* \
1450 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1451 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1452 | -with-* | --with-* | -without-* | --without-* | --x)
1453 case "$ac_configure_args0 " in
1454 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1457 -* ) ac_must_keep_next=true ;;
1460 ac_configure_args="$ac_configure_args '$ac_arg'"
1465 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1466 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1468 # When interrupted or exit'd, cleanup temporary files, and complete
1469 # config.log. We remove comments because anyway the quotes in there
1470 # would cause problems or look ugly.
1471 # WARNING: Use '\'' to represent an apostrophe within the trap.
1472 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1473 trap 'exit_status=$?
1474 # Save into config.log some information that might help in debugging.
1479 ## ---------------- ##
1480 ## Cache variables. ##
1481 ## ---------------- ##
1484 # The following way of writing the cache mishandles newlines in values,
1486 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1487 eval ac_val=\$$ac_var
1491 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1492 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1495 _ | IFS | as_nl) ;; #(
1496 *) $as_unset $ac_var ;;
1501 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1502 *${as_nl}ac_space=\ *)
1504 "s/'\''/'\''\\\\'\'''\''/g;
1505 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1508 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1516 ## ----------------- ##
1517 ## Output variables. ##
1518 ## ----------------- ##
1521 for ac_var in $ac_subst_vars
1523 eval ac_val=\$$ac_var
1525 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1527 echo "$ac_var='\''$ac_val'\''"
1531 if test -n "$ac_subst_files"; then
1533 ## ------------------- ##
1534 ## File substitutions. ##
1535 ## ------------------- ##
1538 for ac_var in $ac_subst_files
1540 eval ac_val=\$$ac_var
1542 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1544 echo "$ac_var='\''$ac_val'\''"
1549 if test -s confdefs.h; then
1559 test "$ac_signal" != 0 &&
1560 echo "$as_me: caught signal $ac_signal"
1561 echo "$as_me: exit $exit_status"
1563 rm -f core *.core core.conftest.* &&
1564 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1567 for ac_signal in 1 2 13 15; do
1568 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1572 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1573 rm -f -r conftest* confdefs.h
1575 # Predefined preprocessor variables.
1577 cat >>confdefs.h <<_ACEOF
1578 #define PACKAGE_NAME "$PACKAGE_NAME"
1582 cat >>confdefs.h <<_ACEOF
1583 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1587 cat >>confdefs.h <<_ACEOF
1588 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1592 cat >>confdefs.h <<_ACEOF
1593 #define PACKAGE_STRING "$PACKAGE_STRING"
1597 cat >>confdefs.h <<_ACEOF
1598 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1602 # Let the site file select an alternate cache file if it wants to.
1603 # Prefer explicitly selected file to automatically selected ones.
1604 if test -n "$CONFIG_SITE"; then
1605 set x "$CONFIG_SITE"
1606 elif test "x$prefix" != xNONE; then
1607 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1609 set x "$ac_default_prefix/share/config.site" \
1610 "$ac_default_prefix/etc/config.site"
1615 if test -r "$ac_site_file"; then
1616 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1617 echo "$as_me: loading site script $ac_site_file" >&6;}
1618 sed 's/^/| /' "$ac_site_file" >&5
1623 if test -r "$cache_file"; then
1624 # Some versions of bash will fail to source /dev/null (special
1625 # files actually), so we avoid doing that.
1626 if test -f "$cache_file"; then
1627 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1628 echo "$as_me: loading cache $cache_file" >&6;}
1630 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1631 *) . "./$cache_file";;
1635 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1636 echo "$as_me: creating cache $cache_file" >&6;}
1640 # Check that the precious variables saved in the cache have kept the same
1642 ac_cache_corrupted=false
1643 for ac_var in $ac_precious_vars; do
1644 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1645 eval ac_new_set=\$ac_env_${ac_var}_set
1646 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1647 eval ac_new_val=\$ac_env_${ac_var}_value
1648 case $ac_old_set,$ac_new_set in
1650 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1651 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1652 ac_cache_corrupted=: ;;
1654 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1655 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1656 ac_cache_corrupted=: ;;
1659 if test "x$ac_old_val" != "x$ac_new_val"; then
1660 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1661 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1662 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1663 echo "$as_me: former value: $ac_old_val" >&2;}
1664 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1665 echo "$as_me: current value: $ac_new_val" >&2;}
1666 ac_cache_corrupted=:
1669 # Pass precious variables to config.status.
1670 if test "$ac_new_set" = set; then
1672 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1673 *) ac_arg=$ac_var=$ac_new_val ;;
1675 case " $ac_configure_args " in
1676 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1677 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1681 if $ac_cache_corrupted; then
1682 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1683 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1684 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1685 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1686 { (exit 1); exit 1; }; }
1706 ac_cpp='$CPP $CPPFLAGS'
1707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1712 ac_config_headers="$ac_config_headers config.h"
1714 am__api_version='1.10'
1717 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1718 if test -f "$ac_dir/install-sh"; then
1720 ac_install_sh="$ac_aux_dir/install-sh -c"
1722 elif test -f "$ac_dir/install.sh"; then
1724 ac_install_sh="$ac_aux_dir/install.sh -c"
1726 elif test -f "$ac_dir/shtool"; then
1728 ac_install_sh="$ac_aux_dir/shtool install -c"
1732 if test -z "$ac_aux_dir"; then
1733 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1734 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1735 { (exit 1); exit 1; }; }
1738 # These three variables are undocumented and unsupported,
1739 # and are intended to be withdrawn in a future Autoconf release.
1740 # They can cause serious problems if a builder's source tree is in a directory
1741 # whose full name contains unusual characters.
1742 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1743 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1744 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1747 # Find a good install program. We prefer a C program (faster),
1748 # so one script is as good as another. But avoid the broken or
1749 # incompatible versions:
1750 # SysV /etc/install, /usr/sbin/install
1751 # SunOS /usr/etc/install
1752 # IRIX /sbin/install
1754 # AmigaOS /C/install, which installs bootblocks on floppy discs
1755 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1756 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1757 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1758 # OS/2's system install, which has a completely different semantic
1759 # ./install, which can be erroneously created by make from ./install.sh.
1760 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1761 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1762 if test -z "$INSTALL"; then
1763 if test "${ac_cv_path_install+set}" = set; then
1764 echo $ECHO_N "(cached) $ECHO_C" >&6
1766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1770 test -z "$as_dir" && as_dir=.
1771 # Account for people who put trailing slashes in PATH elements.
1773 ./ | .// | /cC/* | \
1774 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1775 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1778 # OSF1 and SCO ODT 3.0 have their own names for install.
1779 # Don't use installbsd from OSF since it installs stuff as root
1781 for ac_prog in ginstall scoinst install; do
1782 for ac_exec_ext in '' $ac_executable_extensions; do
1783 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1784 if test $ac_prog = install &&
1785 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1786 # AIX install. It has an incompatible calling convention.
1788 elif test $ac_prog = install &&
1789 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1790 # program-specific install script used by HP pwplus--don't use.
1793 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1806 if test "${ac_cv_path_install+set}" = set; then
1807 INSTALL=$ac_cv_path_install
1809 # As a last resort, use the slow shell script. Don't cache a
1810 # value for INSTALL within a source directory, because that will
1811 # break other packages using the cache if that directory is
1812 # removed, or if the value is a relative name.
1813 INSTALL=$ac_install_sh
1816 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1817 echo "${ECHO_T}$INSTALL" >&6; }
1819 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1820 # It thinks the first close brace ends the variable substitution.
1821 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1823 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1825 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1827 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1828 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1831 echo timestamp > conftest.file
1832 # Do `set' in a subshell so we don't clobber the current shell's
1833 # arguments. Must try -L first in case configure is actually a
1834 # symlink; some systems play weird games with the mod time of symlinks
1835 # (eg FreeBSD returns the mod time of the symlink's containing
1838 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1839 if test "$*" = "X"; then
1841 set X `ls -t $srcdir/configure conftest.file`
1844 if test "$*" != "X $srcdir/configure conftest.file" \
1845 && test "$*" != "X conftest.file $srcdir/configure"; then
1847 # If neither matched, then we have a broken ls. This can happen
1848 # if, for instance, CONFIG_SHELL is bash and it inherits a
1849 # broken ls alias from the environment. This has actually
1850 # happened. Such a system could not be considered "sane".
1851 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1852 alias in your environment" >&5
1853 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1854 alias in your environment" >&2;}
1855 { (exit 1); exit 1; }; }
1858 test "$2" = conftest.file
1864 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1865 Check your system clock" >&5
1866 echo "$as_me: error: newly created file is older than distributed files!
1867 Check your system clock" >&2;}
1868 { (exit 1); exit 1; }; }
1870 { echo "$as_me:$LINENO: result: yes" >&5
1871 echo "${ECHO_T}yes" >&6; }
1872 test "$program_prefix" != NONE &&
1873 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1874 # Use a double $ so make ignores it.
1875 test "$program_suffix" != NONE &&
1876 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1877 # Double any \ or $. echo might interpret backslashes.
1878 # By default was `s,x,x', remove it if useless.
1879 cat <<\_ACEOF >conftest.sed
1880 s/[\\$]/&&/g;s/;s,x,x,$//
1882 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1885 # expand $ac_aux_dir to an absolute path
1886 am_aux_dir=`cd $ac_aux_dir && pwd`
1888 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1889 # Use eval to expand $SHELL
1890 if eval "$MISSING --run true"; then
1891 am_missing_run="$MISSING --run "
1894 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1895 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1898 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1899 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1900 if test -z "$MKDIR_P"; then
1901 if test "${ac_cv_path_mkdir+set}" = set; then
1902 echo $ECHO_N "(cached) $ECHO_C" >&6
1904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1905 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1908 test -z "$as_dir" && as_dir=.
1909 for ac_prog in mkdir gmkdir; do
1910 for ac_exec_ext in '' $ac_executable_extensions; do
1911 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1912 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1913 'mkdir (GNU coreutils) '* | \
1914 'mkdir (coreutils) '* | \
1915 'mkdir (fileutils) '4.1*)
1916 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1926 if test "${ac_cv_path_mkdir+set}" = set; then
1927 MKDIR_P="$ac_cv_path_mkdir -p"
1929 # As a last resort, use the slow shell script. Don't cache a
1930 # value for MKDIR_P within a source directory, because that will
1931 # break other packages using the cache if that directory is
1932 # removed, or if the value is a relative name.
1933 test -d ./--version && rmdir ./--version
1934 MKDIR_P="$ac_install_sh -d"
1937 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1938 echo "${ECHO_T}$MKDIR_P" >&6; }
1942 [\\/$]* | ?:[\\/]*) ;;
1943 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1946 for ac_prog in gawk mawk nawk awk
1948 # Extract the first word of "$ac_prog", so it can be a program name with args.
1949 set dummy $ac_prog; ac_word=$2
1950 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1952 if test "${ac_cv_prog_AWK+set}" = set; then
1953 echo $ECHO_N "(cached) $ECHO_C" >&6
1955 if test -n "$AWK"; then
1956 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1962 test -z "$as_dir" && as_dir=.
1963 for ac_exec_ext in '' $ac_executable_extensions; do
1964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1965 ac_cv_prog_AWK="$ac_prog"
1966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1976 if test -n "$AWK"; then
1977 { echo "$as_me:$LINENO: result: $AWK" >&5
1978 echo "${ECHO_T}$AWK" >&6; }
1980 { echo "$as_me:$LINENO: result: no" >&5
1981 echo "${ECHO_T}no" >&6; }
1985 test -n "$AWK" && break
1988 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1989 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1990 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1991 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1992 echo $ECHO_N "(cached) $ECHO_C" >&6
1994 cat >conftest.make <<\_ACEOF
1997 @echo '@@@%%%=$(MAKE)=@@@%%%'
1999 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2000 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2002 eval ac_cv_prog_make_${ac_make}_set=yes;;
2004 eval ac_cv_prog_make_${ac_make}_set=no;;
2008 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2009 { echo "$as_me:$LINENO: result: yes" >&5
2010 echo "${ECHO_T}yes" >&6; }
2013 { echo "$as_me:$LINENO: result: no" >&5
2014 echo "${ECHO_T}no" >&6; }
2015 SET_MAKE="MAKE=${MAKE-make}"
2018 rm -rf .tst 2>/dev/null
2019 mkdir .tst 2>/dev/null
2020 if test -d .tst; then
2025 rmdir .tst 2>/dev/null
2027 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2028 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2029 # is not polluted with repeated "-I."
2030 am__isrc=' -I$(srcdir)'
2031 # test to see if srcdir already configured
2032 if test -f $srcdir/config.status; then
2033 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2034 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2035 { (exit 1); exit 1; }; }
2039 # test whether we have cygpath
2040 if test -z "$CYGPATH_W"; then
2041 if (cygpath --version) >/dev/null 2>/dev/null; then
2042 CYGPATH_W='cygpath -w'
2049 # Define the identity of the package.
2054 cat >>confdefs.h <<_ACEOF
2055 #define PACKAGE "$PACKAGE"
2059 cat >>confdefs.h <<_ACEOF
2060 #define VERSION "$VERSION"
2063 # Some tools Automake needs.
2065 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2068 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2071 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2074 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2077 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2079 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2081 # Installed binaries are usually stripped using `strip' when the user
2082 # run `make install-strip'. However `strip' might not be the right
2083 # tool to use in cross-compilation environments, therefore Automake
2084 # will honor the `STRIP' environment variable to overrule this program.
2085 if test "$cross_compiling" != no; then
2086 if test -n "$ac_tool_prefix"; then
2087 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2088 set dummy ${ac_tool_prefix}strip; ac_word=$2
2089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2091 if test "${ac_cv_prog_STRIP+set}" = set; then
2092 echo $ECHO_N "(cached) $ECHO_C" >&6
2094 if test -n "$STRIP"; then
2095 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2101 test -z "$as_dir" && as_dir=.
2102 for ac_exec_ext in '' $ac_executable_extensions; do
2103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2104 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2114 STRIP=$ac_cv_prog_STRIP
2115 if test -n "$STRIP"; then
2116 { echo "$as_me:$LINENO: result: $STRIP" >&5
2117 echo "${ECHO_T}$STRIP" >&6; }
2119 { echo "$as_me:$LINENO: result: no" >&5
2120 echo "${ECHO_T}no" >&6; }
2125 if test -z "$ac_cv_prog_STRIP"; then
2127 # Extract the first word of "strip", so it can be a program name with args.
2128 set dummy strip; ac_word=$2
2129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2131 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2132 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 if test -n "$ac_ct_STRIP"; then
2135 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2141 test -z "$as_dir" && as_dir=.
2142 for ac_exec_ext in '' $ac_executable_extensions; do
2143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2144 ac_cv_prog_ac_ct_STRIP="strip"
2145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2154 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2155 if test -n "$ac_ct_STRIP"; then
2156 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2157 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2159 { echo "$as_me:$LINENO: result: no" >&5
2160 echo "${ECHO_T}no" >&6; }
2163 if test "x$ac_ct_STRIP" = x; then
2166 case $cross_compiling:$ac_tool_warned in
2168 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2169 whose name does not start with the host triplet. If you think this
2170 configuration is useful to you, please write to autoconf@gnu.org." >&5
2171 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2172 whose name does not start with the host triplet. If you think this
2173 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2174 ac_tool_warned=yes ;;
2179 STRIP="$ac_cv_prog_STRIP"
2183 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2185 # We need awk for the "check" target. The system "awk" is bad on
2187 # Always define AMTAR for backward compatibility.
2189 AMTAR=${AMTAR-"${am_missing_run}tar"}
2191 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2197 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2198 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2199 # Check whether --enable-maintainer-mode was given.
2200 if test "${enable_maintainer_mode+set}" = set; then
2201 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2203 USE_MAINTAINER_MODE=no
2206 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2207 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2208 if test $USE_MAINTAINER_MODE = yes; then
2209 MAINTAINER_MODE_TRUE=
2210 MAINTAINER_MODE_FALSE='#'
2212 MAINTAINER_MODE_TRUE='#'
2213 MAINTAINER_MODE_FALSE=
2216 MAINT=$MAINTAINER_MODE_TRUE
2223 if test -f ../NOINST_GOB; then
2232 if test -f ../NOINST_GOB ; then
2233 { echo "$as_me:$LINENO: result: *** NOT Going to install GOB ***" >&5
2234 echo "${ECHO_T}*** NOT Going to install GOB ***" >&6; }
2235 SUBDIRS="src examples"
2239 SUBDIRS="src examples doc"
2247 DEPDIR="${am__leading_dot}deps"
2249 ac_config_commands="$ac_config_commands depfiles"
2252 am_make=${MAKE-make}
2253 cat > confinc << 'END'
2258 # If we don't find an include directive, just comment out the code.
2259 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2260 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2264 # First try GNU make style include.
2265 echo "include confinc" > confmf
2266 # We grep out `Entering directory' and `Leaving directory'
2267 # messages which can occur if `w' ends up in MAKEFLAGS.
2268 # In particular we don't look at `^make:' because GNU make might
2269 # be invoked under some other name (usually "gmake"), in which
2270 # case it prints its new name instead of `make'.
2271 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2276 # Now try BSD make style include.
2277 if test "$am__include" = "#"; then
2278 echo '.include "confinc"' > confmf
2279 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2280 am__include=.include
2287 { echo "$as_me:$LINENO: result: $_am_result" >&5
2288 echo "${ECHO_T}$_am_result" >&6; }
2289 rm -f confinc confmf
2291 # Check whether --enable-dependency-tracking was given.
2292 if test "${enable_dependency_tracking+set}" = set; then
2293 enableval=$enable_dependency_tracking;
2296 if test "x$enable_dependency_tracking" != xno; then
2297 am_depcomp="$ac_aux_dir/depcomp"
2300 if test "x$enable_dependency_tracking" != xno; then
2310 ac_cpp='$CPP $CPPFLAGS'
2311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2314 if test -n "$ac_tool_prefix"; then
2315 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2316 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2317 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2319 if test "${ac_cv_prog_CC+set}" = set; then
2320 echo $ECHO_N "(cached) $ECHO_C" >&6
2322 if test -n "$CC"; then
2323 ac_cv_prog_CC="$CC" # Let the user override the test.
2325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2329 test -z "$as_dir" && as_dir=.
2330 for ac_exec_ext in '' $ac_executable_extensions; do
2331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2332 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2343 if test -n "$CC"; then
2344 { echo "$as_me:$LINENO: result: $CC" >&5
2345 echo "${ECHO_T}$CC" >&6; }
2347 { echo "$as_me:$LINENO: result: no" >&5
2348 echo "${ECHO_T}no" >&6; }
2353 if test -z "$ac_cv_prog_CC"; then
2355 # Extract the first word of "gcc", so it can be a program name with args.
2356 set dummy gcc; ac_word=$2
2357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2359 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2360 echo $ECHO_N "(cached) $ECHO_C" >&6
2362 if test -n "$ac_ct_CC"; then
2363 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2369 test -z "$as_dir" && as_dir=.
2370 for ac_exec_ext in '' $ac_executable_extensions; do
2371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2372 ac_cv_prog_ac_ct_CC="gcc"
2373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2382 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2383 if test -n "$ac_ct_CC"; then
2384 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2385 echo "${ECHO_T}$ac_ct_CC" >&6; }
2387 { echo "$as_me:$LINENO: result: no" >&5
2388 echo "${ECHO_T}no" >&6; }
2391 if test "x$ac_ct_CC" = x; then
2394 case $cross_compiling:$ac_tool_warned in
2396 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2397 whose name does not start with the host triplet. If you think this
2398 configuration is useful to you, please write to autoconf@gnu.org." >&5
2399 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2400 whose name does not start with the host triplet. If you think this
2401 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2402 ac_tool_warned=yes ;;
2410 if test -z "$CC"; then
2411 if test -n "$ac_tool_prefix"; then
2412 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2413 set dummy ${ac_tool_prefix}cc; ac_word=$2
2414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2416 if test "${ac_cv_prog_CC+set}" = set; then
2417 echo $ECHO_N "(cached) $ECHO_C" >&6
2419 if test -n "$CC"; then
2420 ac_cv_prog_CC="$CC" # Let the user override the test.
2422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2426 test -z "$as_dir" && as_dir=.
2427 for ac_exec_ext in '' $ac_executable_extensions; do
2428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2429 ac_cv_prog_CC="${ac_tool_prefix}cc"
2430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2440 if test -n "$CC"; then
2441 { echo "$as_me:$LINENO: result: $CC" >&5
2442 echo "${ECHO_T}$CC" >&6; }
2444 { echo "$as_me:$LINENO: result: no" >&5
2445 echo "${ECHO_T}no" >&6; }
2451 if test -z "$CC"; then
2452 # Extract the first word of "cc", so it can be a program name with args.
2453 set dummy cc; ac_word=$2
2454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2456 if test "${ac_cv_prog_CC+set}" = set; then
2457 echo $ECHO_N "(cached) $ECHO_C" >&6
2459 if test -n "$CC"; then
2460 ac_cv_prog_CC="$CC" # Let the user override the test.
2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2467 test -z "$as_dir" && as_dir=.
2468 for ac_exec_ext in '' $ac_executable_extensions; do
2469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2470 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2471 ac_prog_rejected=yes
2475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2482 if test $ac_prog_rejected = yes; then
2483 # We found a bogon in the path, so make sure we never use it.
2484 set dummy $ac_cv_prog_CC
2486 if test $# != 0; then
2487 # We chose a different compiler from the bogus one.
2488 # However, it has the same basename, so the bogon will be chosen
2489 # first if we set CC to just the basename; use the full file name.
2491 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2497 if test -n "$CC"; then
2498 { echo "$as_me:$LINENO: result: $CC" >&5
2499 echo "${ECHO_T}$CC" >&6; }
2501 { echo "$as_me:$LINENO: result: no" >&5
2502 echo "${ECHO_T}no" >&6; }
2507 if test -z "$CC"; then
2508 if test -n "$ac_tool_prefix"; then
2509 for ac_prog in cl.exe
2511 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2512 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2515 if test "${ac_cv_prog_CC+set}" = set; then
2516 echo $ECHO_N "(cached) $ECHO_C" >&6
2518 if test -n "$CC"; then
2519 ac_cv_prog_CC="$CC" # Let the user override the test.
2521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2525 test -z "$as_dir" && as_dir=.
2526 for ac_exec_ext in '' $ac_executable_extensions; do
2527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2528 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2539 if test -n "$CC"; then
2540 { echo "$as_me:$LINENO: result: $CC" >&5
2541 echo "${ECHO_T}$CC" >&6; }
2543 { echo "$as_me:$LINENO: result: no" >&5
2544 echo "${ECHO_T}no" >&6; }
2548 test -n "$CC" && break
2551 if test -z "$CC"; then
2553 for ac_prog in cl.exe
2555 # Extract the first word of "$ac_prog", so it can be a program name with args.
2556 set dummy $ac_prog; ac_word=$2
2557 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2559 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2560 echo $ECHO_N "(cached) $ECHO_C" >&6
2562 if test -n "$ac_ct_CC"; then
2563 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2569 test -z "$as_dir" && as_dir=.
2570 for ac_exec_ext in '' $ac_executable_extensions; do
2571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2572 ac_cv_prog_ac_ct_CC="$ac_prog"
2573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2582 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2583 if test -n "$ac_ct_CC"; then
2584 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2585 echo "${ECHO_T}$ac_ct_CC" >&6; }
2587 { echo "$as_me:$LINENO: result: no" >&5
2588 echo "${ECHO_T}no" >&6; }
2592 test -n "$ac_ct_CC" && break
2595 if test "x$ac_ct_CC" = x; then
2598 case $cross_compiling:$ac_tool_warned in
2600 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2601 whose name does not start with the host triplet. If you think this
2602 configuration is useful to you, please write to autoconf@gnu.org." >&5
2603 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2604 whose name does not start with the host triplet. If you think this
2605 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2606 ac_tool_warned=yes ;;
2615 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2616 See \`config.log' for more details." >&5
2617 echo "$as_me: error: no acceptable C compiler found in \$PATH
2618 See \`config.log' for more details." >&2;}
2619 { (exit 1); exit 1; }; }
2621 # Provide some information about the compiler.
2622 echo "$as_me:$LINENO: checking for C compiler version" >&5
2623 ac_compiler=`set X $ac_compile; echo $2`
2624 { (ac_try="$ac_compiler --version >&5"
2626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2627 *) ac_try_echo=$ac_try;;
2629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2630 (eval "$ac_compiler --version >&5") 2>&5
2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633 (exit $ac_status); }
2634 { (ac_try="$ac_compiler -v >&5"
2636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2637 *) ac_try_echo=$ac_try;;
2639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2640 (eval "$ac_compiler -v >&5") 2>&5
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); }
2644 { (ac_try="$ac_compiler -V >&5"
2646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2647 *) ac_try_echo=$ac_try;;
2649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2650 (eval "$ac_compiler -V >&5") 2>&5
2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653 (exit $ac_status); }
2655 cat >conftest.$ac_ext <<_ACEOF
2658 cat confdefs.h >>conftest.$ac_ext
2659 cat >>conftest.$ac_ext <<_ACEOF
2660 /* end confdefs.h. */
2670 ac_clean_files_save=$ac_clean_files
2671 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2672 # Try to create an executable without -o first, disregard a.out.
2673 # It will help us diagnose broken compilers, and finding out an intuition
2675 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2676 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2677 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2679 # List of possible output files, starting from the most likely.
2680 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2681 # only as a last resort. b.out is created by i960 compilers.
2682 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2684 # The IRIX 6 linker writes into existing files which may not be
2685 # executable, retaining their permissions. Remove them first so a
2686 # subsequent execution test works.
2688 for ac_file in $ac_files
2691 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2692 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2697 if { (ac_try="$ac_link_default"
2699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2700 *) ac_try_echo=$ac_try;;
2702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2703 (eval "$ac_link_default") 2>&5
2705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706 (exit $ac_status); }; then
2707 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2708 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2709 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2710 # so that the user can short-circuit this test for compilers unknown to
2712 for ac_file in $ac_files ''
2714 test -f "$ac_file" || continue
2716 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2719 # We found the default executable, but exeext='' is most
2723 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2725 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2727 # We set ac_cv_exeext here because the later test for it is not
2728 # safe: cross compilers may not add the suffix if given an `-o'
2729 # argument, so we may need to know it at that point already.
2730 # Even if this section looks crufty: it has the advantage of
2737 test "$ac_cv_exeext" = no && ac_cv_exeext=
2743 { echo "$as_me:$LINENO: result: $ac_file" >&5
2744 echo "${ECHO_T}$ac_file" >&6; }
2745 if test -z "$ac_file"; then
2746 echo "$as_me: failed program was:" >&5
2747 sed 's/^/| /' conftest.$ac_ext >&5
2749 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2750 See \`config.log' for more details." >&5
2751 echo "$as_me: error: C compiler cannot create executables
2752 See \`config.log' for more details." >&2;}
2753 { (exit 77); exit 77; }; }
2756 ac_exeext=$ac_cv_exeext
2758 # Check that the compiler produces executables we can run. If not, either
2759 # the compiler is broken, or we cross compile.
2760 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2761 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2762 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2763 # If not cross compiling, check that we can run a simple program.
2764 if test "$cross_compiling" != yes; then
2765 if { ac_try='./$ac_file'
2766 { (case "(($ac_try" in
2767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768 *) ac_try_echo=$ac_try;;
2770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2771 (eval "$ac_try") 2>&5
2773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); }; }; then
2777 if test "$cross_compiling" = maybe; then
2780 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2781 If you meant to cross compile, use \`--host'.
2782 See \`config.log' for more details." >&5
2783 echo "$as_me: error: cannot run C compiled programs.
2784 If you meant to cross compile, use \`--host'.
2785 See \`config.log' for more details." >&2;}
2786 { (exit 1); exit 1; }; }
2790 { echo "$as_me:$LINENO: result: yes" >&5
2791 echo "${ECHO_T}yes" >&6; }
2793 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2794 ac_clean_files=$ac_clean_files_save
2795 # Check that the compiler produces executables we can run. If not, either
2796 # the compiler is broken, or we cross compile.
2797 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2798 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2799 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2800 echo "${ECHO_T}$cross_compiling" >&6; }
2802 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2803 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2804 if { (ac_try="$ac_link"
2806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2810 (eval "$ac_link") 2>&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); }; then
2814 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2815 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2816 # work properly (i.e., refer to `conftest.exe'), while it won't with
2818 for ac_file in conftest.exe conftest conftest.*; do
2819 test -f "$ac_file" || continue
2821 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2822 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2828 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2829 See \`config.log' for more details." >&5
2830 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2831 See \`config.log' for more details." >&2;}
2832 { (exit 1); exit 1; }; }
2835 rm -f conftest$ac_cv_exeext
2836 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2837 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2839 rm -f conftest.$ac_ext
2840 EXEEXT=$ac_cv_exeext
2842 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2843 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2844 if test "${ac_cv_objext+set}" = set; then
2845 echo $ECHO_N "(cached) $ECHO_C" >&6
2847 cat >conftest.$ac_ext <<_ACEOF
2850 cat confdefs.h >>conftest.$ac_ext
2851 cat >>conftest.$ac_ext <<_ACEOF
2852 /* end confdefs.h. */
2862 rm -f conftest.o conftest.obj
2863 if { (ac_try="$ac_compile"
2865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2866 *) ac_try_echo=$ac_try;;
2868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2869 (eval "$ac_compile") 2>&5
2871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); }; then
2873 for ac_file in conftest.o conftest.obj conftest.*; do
2874 test -f "$ac_file" || continue;
2876 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2877 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2882 echo "$as_me: failed program was:" >&5
2883 sed 's/^/| /' conftest.$ac_ext >&5
2885 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2886 See \`config.log' for more details." >&5
2887 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2888 See \`config.log' for more details." >&2;}
2889 { (exit 1); exit 1; }; }
2892 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2894 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2895 echo "${ECHO_T}$ac_cv_objext" >&6; }
2896 OBJEXT=$ac_cv_objext
2898 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2899 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2900 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2901 echo $ECHO_N "(cached) $ECHO_C" >&6
2903 cat >conftest.$ac_ext <<_ACEOF
2906 cat confdefs.h >>conftest.$ac_ext
2907 cat >>conftest.$ac_ext <<_ACEOF
2908 /* end confdefs.h. */
2921 rm -f conftest.$ac_objext
2922 if { (ac_try="$ac_compile"
2924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2925 *) ac_try_echo=$ac_try;;
2927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2928 (eval "$ac_compile") 2>conftest.er1
2930 grep -v '^ *+' conftest.er1 >conftest.err
2932 cat conftest.err >&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); } && {
2935 test -z "$ac_c_werror_flag" ||
2936 test ! -s conftest.err
2937 } && test -s conftest.$ac_objext; then
2940 echo "$as_me: failed program was:" >&5
2941 sed 's/^/| /' conftest.$ac_ext >&5
2946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2947 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2950 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2951 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2952 GCC=`test $ac_compiler_gnu = yes && echo yes`
2953 ac_test_CFLAGS=${CFLAGS+set}
2954 ac_save_CFLAGS=$CFLAGS
2955 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2956 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2957 if test "${ac_cv_prog_cc_g+set}" = set; then
2958 echo $ECHO_N "(cached) $ECHO_C" >&6
2960 ac_save_c_werror_flag=$ac_c_werror_flag
2961 ac_c_werror_flag=yes
2964 cat >conftest.$ac_ext <<_ACEOF
2967 cat confdefs.h >>conftest.$ac_ext
2968 cat >>conftest.$ac_ext <<_ACEOF
2969 /* end confdefs.h. */
2979 rm -f conftest.$ac_objext
2980 if { (ac_try="$ac_compile"
2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2986 (eval "$ac_compile") 2>conftest.er1
2988 grep -v '^ *+' conftest.er1 >conftest.err
2990 cat conftest.err >&5
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); } && {
2993 test -z "$ac_c_werror_flag" ||
2994 test ! -s conftest.err
2995 } && test -s conftest.$ac_objext; then
2998 echo "$as_me: failed program was:" >&5
2999 sed 's/^/| /' conftest.$ac_ext >&5
3002 cat >conftest.$ac_ext <<_ACEOF
3005 cat confdefs.h >>conftest.$ac_ext
3006 cat >>conftest.$ac_ext <<_ACEOF
3007 /* end confdefs.h. */
3017 rm -f conftest.$ac_objext
3018 if { (ac_try="$ac_compile"
3020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3021 *) ac_try_echo=$ac_try;;
3023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3024 (eval "$ac_compile") 2>conftest.er1
3026 grep -v '^ *+' conftest.er1 >conftest.err
3028 cat conftest.err >&5
3029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030 (exit $ac_status); } && {
3031 test -z "$ac_c_werror_flag" ||
3032 test ! -s conftest.err
3033 } && test -s conftest.$ac_objext; then
3036 echo "$as_me: failed program was:" >&5
3037 sed 's/^/| /' conftest.$ac_ext >&5
3039 ac_c_werror_flag=$ac_save_c_werror_flag
3041 cat >conftest.$ac_ext <<_ACEOF
3044 cat confdefs.h >>conftest.$ac_ext
3045 cat >>conftest.$ac_ext <<_ACEOF
3046 /* end confdefs.h. */
3056 rm -f conftest.$ac_objext
3057 if { (ac_try="$ac_compile"
3059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3060 *) ac_try_echo=$ac_try;;
3062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3063 (eval "$ac_compile") 2>conftest.er1
3065 grep -v '^ *+' conftest.er1 >conftest.err
3067 cat conftest.err >&5
3068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069 (exit $ac_status); } && {
3070 test -z "$ac_c_werror_flag" ||
3071 test ! -s conftest.err
3072 } && test -s conftest.$ac_objext; then
3075 echo "$as_me: failed program was:" >&5
3076 sed 's/^/| /' conftest.$ac_ext >&5
3081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3088 ac_c_werror_flag=$ac_save_c_werror_flag
3090 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3091 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3092 if test "$ac_test_CFLAGS" = set; then
3093 CFLAGS=$ac_save_CFLAGS
3094 elif test $ac_cv_prog_cc_g = yes; then
3095 if test "$GCC" = yes; then
3101 if test "$GCC" = yes; then
3107 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3108 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3109 if test "${ac_cv_prog_cc_c89+set}" = set; then
3110 echo $ECHO_N "(cached) $ECHO_C" >&6
3112 ac_cv_prog_cc_c89=no
3114 cat >conftest.$ac_ext <<_ACEOF
3117 cat confdefs.h >>conftest.$ac_ext
3118 cat >>conftest.$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3122 #include <sys/types.h>
3123 #include <sys/stat.h>
3124 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3125 struct buf { int x; };
3126 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3127 static char *e (p, i)
3133 static char *f (char * (*g) (char **, int), char **p, ...)
3138 s = g (p, va_arg (v,int));
3143 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3144 function prototypes and stuff, but not '\xHH' hex character constants.
3145 These don't provoke an error unfortunately, instead are silently treated
3146 as 'x'. The following induces an error, until -std is added to get
3147 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3148 array size at least. It's necessary to write '\x00'==0 to get something
3149 that's true only with -std. */
3150 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3152 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3153 inside strings and character constants. */
3155 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3157 int test (int i, double x);
3158 struct s1 {int (*f) (int a);};
3159 struct s2 {int (*f) (double a);};
3160 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3166 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3171 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3172 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3174 CC="$ac_save_CC $ac_arg"
3175 rm -f conftest.$ac_objext
3176 if { (ac_try="$ac_compile"
3178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3179 *) ac_try_echo=$ac_try;;
3181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3182 (eval "$ac_compile") 2>conftest.er1
3184 grep -v '^ *+' conftest.er1 >conftest.err
3186 cat conftest.err >&5
3187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188 (exit $ac_status); } && {
3189 test -z "$ac_c_werror_flag" ||
3190 test ! -s conftest.err
3191 } && test -s conftest.$ac_objext; then
3192 ac_cv_prog_cc_c89=$ac_arg
3194 echo "$as_me: failed program was:" >&5
3195 sed 's/^/| /' conftest.$ac_ext >&5
3200 rm -f core conftest.err conftest.$ac_objext
3201 test "x$ac_cv_prog_cc_c89" != "xno" && break
3203 rm -f conftest.$ac_ext
3208 case "x$ac_cv_prog_cc_c89" in
3210 { echo "$as_me:$LINENO: result: none needed" >&5
3211 echo "${ECHO_T}none needed" >&6; } ;;
3213 { echo "$as_me:$LINENO: result: unsupported" >&5
3214 echo "${ECHO_T}unsupported" >&6; } ;;
3216 CC="$CC $ac_cv_prog_cc_c89"
3217 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3218 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3223 ac_cpp='$CPP $CPPFLAGS'
3224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3228 depcc="$CC" am_compiler_list=
3230 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3231 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3232 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3233 echo $ECHO_N "(cached) $ECHO_C" >&6
3235 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3236 # We make a subdir and do the tests there. Otherwise we can end up
3237 # making bogus files that we don't know about and never remove. For
3238 # instance it was reported that on HP-UX the gcc test will end up
3239 # making a dummy file named `D' -- because `-MD' means `put the output
3242 # Copy depcomp to subdir because otherwise we won't find it if we're
3243 # using a relative directory.
3244 cp "$am_depcomp" conftest.dir
3246 # We will build objects and dependencies in a subdirectory because
3247 # it helps to detect inapplicable dependency modes. For instance
3248 # both Tru64's cc and ICC support -MD to output dependencies as a
3249 # side effect of compilation, but ICC will put the dependencies in
3250 # the current directory while Tru64 will put them in the object
3254 am_cv_CC_dependencies_compiler_type=none
3255 if test "$am_compiler_list" = ""; then
3256 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3258 for depmode in $am_compiler_list; do
3259 # Setup a source with many dependencies, because some compilers
3260 # like to wrap large dependency lists on column 80 (with \), and
3261 # we should not choose a depcomp mode which is confused by this.
3263 # We need to recreate these files for each test, as the compiler may
3264 # overwrite some of them when testing with obscure command lines.
3265 # This happens at least with the AIX C compiler.
3267 for i in 1 2 3 4 5 6; do
3268 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3269 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3270 # Solaris 8's {/usr,}/bin/sh.
3271 touch sub/conftst$i.h
3273 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3277 # after this tag, mechanisms are not by side-effect, so they'll
3278 # only be used when explicitly requested
3279 if test "x$enable_dependency_tracking" = xyes; then
3287 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3288 # mode. It turns out that the SunPro C++ compiler does not properly
3289 # handle `-M -o', and we need to detect this.
3290 if depmode=$depmode \
3291 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3292 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3293 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3294 >/dev/null 2>conftest.err &&
3295 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3296 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3297 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3298 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3299 # icc doesn't choke on unknown options, it will just issue warnings
3300 # or remarks (even with -Werror). So we grep stderr for any message
3301 # that says an option was ignored or not supported.
3302 # When given -MP, icc 7.0 and 7.1 complain thusly:
3303 # icc: Command line warning: ignoring option '-M'; no argument required
3304 # The diagnosis changed in icc 8.0:
3305 # icc: Command line remark: option '-MP' not supported
3306 if (grep 'ignoring option' conftest.err ||
3307 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3308 am_cv_CC_dependencies_compiler_type=$depmode
3317 am_cv_CC_dependencies_compiler_type=none
3321 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3322 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3323 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3326 test "x$enable_dependency_tracking" != xno \
3327 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3329 am__fastdepCC_FALSE='#'
3331 am__fastdepCC_TRUE='#'
3332 am__fastdepCC_FALSE=
3337 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
3338 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3339 if test "${ac_cv_search_strerror+set}" = set; then
3340 echo $ECHO_N "(cached) $ECHO_C" >&6
3342 ac_func_search_save_LIBS=$LIBS
3343 cat >conftest.$ac_ext <<_ACEOF
3346 cat confdefs.h >>conftest.$ac_ext
3347 cat >>conftest.$ac_ext <<_ACEOF
3348 /* end confdefs.h. */
3350 /* Override any GCC internal prototype to avoid an error.
3351 Use char because int might match the return type of a GCC
3352 builtin and then its argument prototype would still apply. */
3365 for ac_lib in '' cposix; do
3366 if test -z "$ac_lib"; then
3367 ac_res="none required"
3370 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3372 rm -f conftest.$ac_objext conftest$ac_exeext
3373 if { (ac_try="$ac_link"
3375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3376 *) ac_try_echo=$ac_try;;
3378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3379 (eval "$ac_link") 2>conftest.er1
3381 grep -v '^ *+' conftest.er1 >conftest.err
3383 cat conftest.err >&5
3384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385 (exit $ac_status); } && {
3386 test -z "$ac_c_werror_flag" ||
3387 test ! -s conftest.err
3388 } && test -s conftest$ac_exeext &&
3389 $as_test_x conftest$ac_exeext; then
3390 ac_cv_search_strerror=$ac_res
3392 echo "$as_me: failed program was:" >&5
3393 sed 's/^/| /' conftest.$ac_ext >&5
3398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3400 if test "${ac_cv_search_strerror+set}" = set; then
3404 if test "${ac_cv_search_strerror+set}" = set; then
3407 ac_cv_search_strerror=no
3410 LIBS=$ac_func_search_save_LIBS
3412 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3413 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3414 ac_res=$ac_cv_search_strerror
3415 if test "$ac_res" != no; then
3416 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3421 ac_cpp='$CPP $CPPFLAGS'
3422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3425 if test -n "$ac_tool_prefix"; then
3426 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3427 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3430 if test "${ac_cv_prog_CC+set}" = set; then
3431 echo $ECHO_N "(cached) $ECHO_C" >&6
3433 if test -n "$CC"; then
3434 ac_cv_prog_CC="$CC" # Let the user override the test.
3436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3440 test -z "$as_dir" && as_dir=.
3441 for ac_exec_ext in '' $ac_executable_extensions; do
3442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3443 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3454 if test -n "$CC"; then
3455 { echo "$as_me:$LINENO: result: $CC" >&5
3456 echo "${ECHO_T}$CC" >&6; }
3458 { echo "$as_me:$LINENO: result: no" >&5
3459 echo "${ECHO_T}no" >&6; }
3464 if test -z "$ac_cv_prog_CC"; then
3466 # Extract the first word of "gcc", so it can be a program name with args.
3467 set dummy gcc; ac_word=$2
3468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3470 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3471 echo $ECHO_N "(cached) $ECHO_C" >&6
3473 if test -n "$ac_ct_CC"; then
3474 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3480 test -z "$as_dir" && as_dir=.
3481 for ac_exec_ext in '' $ac_executable_extensions; do
3482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3483 ac_cv_prog_ac_ct_CC="gcc"
3484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3493 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3494 if test -n "$ac_ct_CC"; then
3495 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3496 echo "${ECHO_T}$ac_ct_CC" >&6; }
3498 { echo "$as_me:$LINENO: result: no" >&5
3499 echo "${ECHO_T}no" >&6; }
3502 if test "x$ac_ct_CC" = x; then
3505 case $cross_compiling:$ac_tool_warned in
3507 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3508 whose name does not start with the host triplet. If you think this
3509 configuration is useful to you, please write to autoconf@gnu.org." >&5
3510 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3511 whose name does not start with the host triplet. If you think this
3512 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3513 ac_tool_warned=yes ;;
3521 if test -z "$CC"; then
3522 if test -n "$ac_tool_prefix"; then
3523 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3524 set dummy ${ac_tool_prefix}cc; ac_word=$2
3525 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3527 if test "${ac_cv_prog_CC+set}" = set; then
3528 echo $ECHO_N "(cached) $ECHO_C" >&6
3530 if test -n "$CC"; then
3531 ac_cv_prog_CC="$CC" # Let the user override the test.
3533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3537 test -z "$as_dir" && as_dir=.
3538 for ac_exec_ext in '' $ac_executable_extensions; do
3539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3540 ac_cv_prog_CC="${ac_tool_prefix}cc"
3541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3551 if test -n "$CC"; then
3552 { echo "$as_me:$LINENO: result: $CC" >&5
3553 echo "${ECHO_T}$CC" >&6; }
3555 { echo "$as_me:$LINENO: result: no" >&5
3556 echo "${ECHO_T}no" >&6; }
3562 if test -z "$CC"; then
3563 # Extract the first word of "cc", so it can be a program name with args.
3564 set dummy cc; ac_word=$2
3565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3567 if test "${ac_cv_prog_CC+set}" = set; then
3568 echo $ECHO_N "(cached) $ECHO_C" >&6
3570 if test -n "$CC"; then
3571 ac_cv_prog_CC="$CC" # Let the user override the test.
3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3578 test -z "$as_dir" && as_dir=.
3579 for ac_exec_ext in '' $ac_executable_extensions; do
3580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3581 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3582 ac_prog_rejected=yes
3586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3593 if test $ac_prog_rejected = yes; then
3594 # We found a bogon in the path, so make sure we never use it.
3595 set dummy $ac_cv_prog_CC
3597 if test $# != 0; then
3598 # We chose a different compiler from the bogus one.
3599 # However, it has the same basename, so the bogon will be chosen
3600 # first if we set CC to just the basename; use the full file name.
3602 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3608 if test -n "$CC"; then
3609 { echo "$as_me:$LINENO: result: $CC" >&5
3610 echo "${ECHO_T}$CC" >&6; }
3612 { echo "$as_me:$LINENO: result: no" >&5
3613 echo "${ECHO_T}no" >&6; }
3618 if test -z "$CC"; then
3619 if test -n "$ac_tool_prefix"; then
3620 for ac_prog in cl.exe
3622 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3623 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3626 if test "${ac_cv_prog_CC+set}" = set; then
3627 echo $ECHO_N "(cached) $ECHO_C" >&6
3629 if test -n "$CC"; then
3630 ac_cv_prog_CC="$CC" # Let the user override the test.
3632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3636 test -z "$as_dir" && as_dir=.
3637 for ac_exec_ext in '' $ac_executable_extensions; do
3638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3639 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3650 if test -n "$CC"; then
3651 { echo "$as_me:$LINENO: result: $CC" >&5
3652 echo "${ECHO_T}$CC" >&6; }
3654 { echo "$as_me:$LINENO: result: no" >&5
3655 echo "${ECHO_T}no" >&6; }
3659 test -n "$CC" && break
3662 if test -z "$CC"; then
3664 for ac_prog in cl.exe
3666 # Extract the first word of "$ac_prog", so it can be a program name with args.
3667 set dummy $ac_prog; ac_word=$2
3668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3670 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3671 echo $ECHO_N "(cached) $ECHO_C" >&6
3673 if test -n "$ac_ct_CC"; then
3674 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3680 test -z "$as_dir" && as_dir=.
3681 for ac_exec_ext in '' $ac_executable_extensions; do
3682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3683 ac_cv_prog_ac_ct_CC="$ac_prog"
3684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3693 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3694 if test -n "$ac_ct_CC"; then
3695 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3696 echo "${ECHO_T}$ac_ct_CC" >&6; }
3698 { echo "$as_me:$LINENO: result: no" >&5
3699 echo "${ECHO_T}no" >&6; }
3703 test -n "$ac_ct_CC" && break
3706 if test "x$ac_ct_CC" = x; then
3709 case $cross_compiling:$ac_tool_warned in
3711 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3712 whose name does not start with the host triplet. If you think this
3713 configuration is useful to you, please write to autoconf@gnu.org." >&5
3714 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3715 whose name does not start with the host triplet. If you think this
3716 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3717 ac_tool_warned=yes ;;
3726 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3727 See \`config.log' for more details." >&5
3728 echo "$as_me: error: no acceptable C compiler found in \$PATH
3729 See \`config.log' for more details." >&2;}
3730 { (exit 1); exit 1; }; }
3732 # Provide some information about the compiler.
3733 echo "$as_me:$LINENO: checking for C compiler version" >&5
3734 ac_compiler=`set X $ac_compile; echo $2`
3735 { (ac_try="$ac_compiler --version >&5"
3737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3738 *) ac_try_echo=$ac_try;;
3740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3741 (eval "$ac_compiler --version >&5") 2>&5
3743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744 (exit $ac_status); }
3745 { (ac_try="$ac_compiler -v >&5"
3747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3748 *) ac_try_echo=$ac_try;;
3750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3751 (eval "$ac_compiler -v >&5") 2>&5
3753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754 (exit $ac_status); }
3755 { (ac_try="$ac_compiler -V >&5"
3757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3758 *) ac_try_echo=$ac_try;;
3760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3761 (eval "$ac_compiler -V >&5") 2>&5
3763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764 (exit $ac_status); }
3766 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3767 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3768 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3769 echo $ECHO_N "(cached) $ECHO_C" >&6
3771 cat >conftest.$ac_ext <<_ACEOF
3774 cat confdefs.h >>conftest.$ac_ext
3775 cat >>conftest.$ac_ext <<_ACEOF
3776 /* end confdefs.h. */
3789 rm -f conftest.$ac_objext
3790 if { (ac_try="$ac_compile"
3792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3793 *) ac_try_echo=$ac_try;;
3795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3796 (eval "$ac_compile") 2>conftest.er1
3798 grep -v '^ *+' conftest.er1 >conftest.err
3800 cat conftest.err >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); } && {
3803 test -z "$ac_c_werror_flag" ||
3804 test ! -s conftest.err
3805 } && test -s conftest.$ac_objext; then
3808 echo "$as_me: failed program was:" >&5
3809 sed 's/^/| /' conftest.$ac_ext >&5
3814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3815 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3818 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3819 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3820 GCC=`test $ac_compiler_gnu = yes && echo yes`
3821 ac_test_CFLAGS=${CFLAGS+set}
3822 ac_save_CFLAGS=$CFLAGS
3823 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3824 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3825 if test "${ac_cv_prog_cc_g+set}" = set; then
3826 echo $ECHO_N "(cached) $ECHO_C" >&6
3828 ac_save_c_werror_flag=$ac_c_werror_flag
3829 ac_c_werror_flag=yes
3832 cat >conftest.$ac_ext <<_ACEOF
3835 cat confdefs.h >>conftest.$ac_ext
3836 cat >>conftest.$ac_ext <<_ACEOF
3837 /* end confdefs.h. */
3847 rm -f conftest.$ac_objext
3848 if { (ac_try="$ac_compile"
3850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3851 *) ac_try_echo=$ac_try;;
3853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3854 (eval "$ac_compile") 2>conftest.er1
3856 grep -v '^ *+' conftest.er1 >conftest.err
3858 cat conftest.err >&5
3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 (exit $ac_status); } && {
3861 test -z "$ac_c_werror_flag" ||
3862 test ! -s conftest.err
3863 } && test -s conftest.$ac_objext; then
3866 echo "$as_me: failed program was:" >&5
3867 sed 's/^/| /' conftest.$ac_ext >&5
3870 cat >conftest.$ac_ext <<_ACEOF
3873 cat confdefs.h >>conftest.$ac_ext
3874 cat >>conftest.$ac_ext <<_ACEOF
3875 /* end confdefs.h. */
3885 rm -f conftest.$ac_objext
3886 if { (ac_try="$ac_compile"
3888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3889 *) ac_try_echo=$ac_try;;
3891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3892 (eval "$ac_compile") 2>conftest.er1
3894 grep -v '^ *+' conftest.er1 >conftest.err
3896 cat conftest.err >&5
3897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898 (exit $ac_status); } && {
3899 test -z "$ac_c_werror_flag" ||
3900 test ! -s conftest.err
3901 } && test -s conftest.$ac_objext; then
3904 echo "$as_me: failed program was:" >&5
3905 sed 's/^/| /' conftest.$ac_ext >&5
3907 ac_c_werror_flag=$ac_save_c_werror_flag
3909 cat >conftest.$ac_ext <<_ACEOF
3912 cat confdefs.h >>conftest.$ac_ext
3913 cat >>conftest.$ac_ext <<_ACEOF
3914 /* end confdefs.h. */
3924 rm -f conftest.$ac_objext
3925 if { (ac_try="$ac_compile"
3927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3928 *) ac_try_echo=$ac_try;;
3930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3931 (eval "$ac_compile") 2>conftest.er1
3933 grep -v '^ *+' conftest.er1 >conftest.err
3935 cat conftest.err >&5
3936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937 (exit $ac_status); } && {
3938 test -z "$ac_c_werror_flag" ||
3939 test ! -s conftest.err
3940 } && test -s conftest.$ac_objext; then
3943 echo "$as_me: failed program was:" >&5
3944 sed 's/^/| /' conftest.$ac_ext >&5
3949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3956 ac_c_werror_flag=$ac_save_c_werror_flag
3958 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3959 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3960 if test "$ac_test_CFLAGS" = set; then
3961 CFLAGS=$ac_save_CFLAGS
3962 elif test $ac_cv_prog_cc_g = yes; then
3963 if test "$GCC" = yes; then
3969 if test "$GCC" = yes; then
3975 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3976 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3977 if test "${ac_cv_prog_cc_c89+set}" = set; then
3978 echo $ECHO_N "(cached) $ECHO_C" >&6
3980 ac_cv_prog_cc_c89=no
3982 cat >conftest.$ac_ext <<_ACEOF
3985 cat confdefs.h >>conftest.$ac_ext
3986 cat >>conftest.$ac_ext <<_ACEOF
3987 /* end confdefs.h. */
3990 #include <sys/types.h>
3991 #include <sys/stat.h>
3992 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3993 struct buf { int x; };
3994 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3995 static char *e (p, i)
4001 static char *f (char * (*g) (char **, int), char **p, ...)
4006 s = g (p, va_arg (v,int));
4011 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4012 function prototypes and stuff, but not '\xHH' hex character constants.
4013 These don't provoke an error unfortunately, instead are silently treated
4014 as 'x'. The following induces an error, until -std is added to get
4015 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4016 array size at least. It's necessary to write '\x00'==0 to get something
4017 that's true only with -std. */
4018 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4020 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4021 inside strings and character constants. */
4023 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4025 int test (int i, double x);
4026 struct s1 {int (*f) (int a);};
4027 struct s2 {int (*f) (double a);};
4028 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4034 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4039 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4040 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4042 CC="$ac_save_CC $ac_arg"
4043 rm -f conftest.$ac_objext
4044 if { (ac_try="$ac_compile"
4046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4047 *) ac_try_echo=$ac_try;;
4049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4050 (eval "$ac_compile") 2>conftest.er1
4052 grep -v '^ *+' conftest.er1 >conftest.err
4054 cat conftest.err >&5
4055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4056 (exit $ac_status); } && {
4057 test -z "$ac_c_werror_flag" ||
4058 test ! -s conftest.err
4059 } && test -s conftest.$ac_objext; then
4060 ac_cv_prog_cc_c89=$ac_arg
4062 echo "$as_me: failed program was:" >&5
4063 sed 's/^/| /' conftest.$ac_ext >&5
4068 rm -f core conftest.err conftest.$ac_objext
4069 test "x$ac_cv_prog_cc_c89" != "xno" && break
4071 rm -f conftest.$ac_ext
4076 case "x$ac_cv_prog_cc_c89" in
4078 { echo "$as_me:$LINENO: result: none needed" >&5
4079 echo "${ECHO_T}none needed" >&6; } ;;
4081 { echo "$as_me:$LINENO: result: unsupported" >&5
4082 echo "${ECHO_T}unsupported" >&6; } ;;
4084 CC="$CC $ac_cv_prog_cc_c89"
4085 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4086 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4091 ac_cpp='$CPP $CPPFLAGS'
4092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4096 depcc="$CC" am_compiler_list=
4098 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4099 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4100 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4101 echo $ECHO_N "(cached) $ECHO_C" >&6
4103 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4104 # We make a subdir and do the tests there. Otherwise we can end up
4105 # making bogus files that we don't know about and never remove. For
4106 # instance it was reported that on HP-UX the gcc test will end up
4107 # making a dummy file named `D' -- because `-MD' means `put the output
4110 # Copy depcomp to subdir because otherwise we won't find it if we're
4111 # using a relative directory.
4112 cp "$am_depcomp" conftest.dir
4114 # We will build objects and dependencies in a subdirectory because
4115 # it helps to detect inapplicable dependency modes. For instance
4116 # both Tru64's cc and ICC support -MD to output dependencies as a
4117 # side effect of compilation, but ICC will put the dependencies in
4118 # the current directory while Tru64 will put them in the object
4122 am_cv_CC_dependencies_compiler_type=none
4123 if test "$am_compiler_list" = ""; then
4124 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4126 for depmode in $am_compiler_list; do
4127 # Setup a source with many dependencies, because some compilers
4128 # like to wrap large dependency lists on column 80 (with \), and
4129 # we should not choose a depcomp mode which is confused by this.
4131 # We need to recreate these files for each test, as the compiler may
4132 # overwrite some of them when testing with obscure command lines.
4133 # This happens at least with the AIX C compiler.
4135 for i in 1 2 3 4 5 6; do
4136 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4137 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4138 # Solaris 8's {/usr,}/bin/sh.
4139 touch sub/conftst$i.h
4141 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4145 # after this tag, mechanisms are not by side-effect, so they'll
4146 # only be used when explicitly requested
4147 if test "x$enable_dependency_tracking" = xyes; then
4155 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4156 # mode. It turns out that the SunPro C++ compiler does not properly
4157 # handle `-M -o', and we need to detect this.
4158 if depmode=$depmode \
4159 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4160 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4161 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4162 >/dev/null 2>conftest.err &&
4163 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4164 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4165 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4166 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4167 # icc doesn't choke on unknown options, it will just issue warnings
4168 # or remarks (even with -Werror). So we grep stderr for any message
4169 # that says an option was ignored or not supported.
4170 # When given -MP, icc 7.0 and 7.1 complain thusly:
4171 # icc: Command line warning: ignoring option '-M'; no argument required
4172 # The diagnosis changed in icc 8.0:
4173 # icc: Command line remark: option '-MP' not supported
4174 if (grep 'ignoring option' conftest.err ||
4175 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4176 am_cv_CC_dependencies_compiler_type=$depmode
4185 am_cv_CC_dependencies_compiler_type=none
4189 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4190 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4191 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4194 test "x$enable_dependency_tracking" != xno \
4195 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4197 am__fastdepCC_FALSE='#'
4199 am__fastdepCC_TRUE='#'
4200 am__fastdepCC_FALSE=
4205 ac_cpp='$CPP $CPPFLAGS'
4206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4209 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4210 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4211 # On Suns, sometimes $CPP names a directory.
4212 if test -n "$CPP" && test -d "$CPP"; then
4215 if test -z "$CPP"; then
4216 if test "${ac_cv_prog_CPP+set}" = set; then
4217 echo $ECHO_N "(cached) $ECHO_C" >&6
4219 # Double quotes because CPP needs to be expanded
4220 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4223 for ac_c_preproc_warn_flag in '' yes
4225 # Use a header file that comes with gcc, so configuring glibc
4226 # with a fresh cross-compiler works.
4227 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4228 # <limits.h> exists even on freestanding compilers.
4229 # On the NeXT, cc -E runs the code through the compiler's parser,
4230 # not just through cpp. "Syntax error" is here to catch this case.
4231 cat >conftest.$ac_ext <<_ACEOF
4234 cat confdefs.h >>conftest.$ac_ext
4235 cat >>conftest.$ac_ext <<_ACEOF
4236 /* end confdefs.h. */
4238 # include <limits.h>
4240 # include <assert.h>
4244 if { (ac_try="$ac_cpp conftest.$ac_ext"
4246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4247 *) ac_try_echo=$ac_try;;
4249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4250 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4252 grep -v '^ *+' conftest.er1 >conftest.err
4254 cat conftest.err >&5
4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 (exit $ac_status); } >/dev/null && {
4257 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4258 test ! -s conftest.err
4262 echo "$as_me: failed program was:" >&5
4263 sed 's/^/| /' conftest.$ac_ext >&5
4265 # Broken: fails on valid input.
4269 rm -f conftest.err conftest.$ac_ext
4271 # OK, works on sane cases. Now check whether nonexistent headers
4272 # can be detected and how.
4273 cat >conftest.$ac_ext <<_ACEOF
4276 cat confdefs.h >>conftest.$ac_ext
4277 cat >>conftest.$ac_ext <<_ACEOF
4278 /* end confdefs.h. */
4279 #include <ac_nonexistent.h>
4281 if { (ac_try="$ac_cpp conftest.$ac_ext"
4283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4284 *) ac_try_echo=$ac_try;;
4286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4287 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4289 grep -v '^ *+' conftest.er1 >conftest.err
4291 cat conftest.err >&5
4292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4293 (exit $ac_status); } >/dev/null && {
4294 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4295 test ! -s conftest.err
4297 # Broken: success on invalid input.
4300 echo "$as_me: failed program was:" >&5
4301 sed 's/^/| /' conftest.$ac_ext >&5
4303 # Passes both tests.
4308 rm -f conftest.err conftest.$ac_ext
4311 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4312 rm -f conftest.err conftest.$ac_ext
4313 if $ac_preproc_ok; then
4325 { echo "$as_me:$LINENO: result: $CPP" >&5
4326 echo "${ECHO_T}$CPP" >&6; }
4328 for ac_c_preproc_warn_flag in '' yes
4330 # Use a header file that comes with gcc, so configuring glibc
4331 # with a fresh cross-compiler works.
4332 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4333 # <limits.h> exists even on freestanding compilers.
4334 # On the NeXT, cc -E runs the code through the compiler's parser,
4335 # not just through cpp. "Syntax error" is here to catch this case.
4336 cat >conftest.$ac_ext <<_ACEOF
4339 cat confdefs.h >>conftest.$ac_ext
4340 cat >>conftest.$ac_ext <<_ACEOF
4341 /* end confdefs.h. */
4343 # include <limits.h>
4345 # include <assert.h>
4349 if { (ac_try="$ac_cpp conftest.$ac_ext"
4351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4352 *) ac_try_echo=$ac_try;;
4354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4355 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4357 grep -v '^ *+' conftest.er1 >conftest.err
4359 cat conftest.err >&5
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); } >/dev/null && {
4362 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4363 test ! -s conftest.err
4367 echo "$as_me: failed program was:" >&5
4368 sed 's/^/| /' conftest.$ac_ext >&5
4370 # Broken: fails on valid input.
4374 rm -f conftest.err conftest.$ac_ext
4376 # OK, works on sane cases. Now check whether nonexistent headers
4377 # can be detected and how.
4378 cat >conftest.$ac_ext <<_ACEOF
4381 cat confdefs.h >>conftest.$ac_ext
4382 cat >>conftest.$ac_ext <<_ACEOF
4383 /* end confdefs.h. */
4384 #include <ac_nonexistent.h>
4386 if { (ac_try="$ac_cpp conftest.$ac_ext"
4388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4389 *) ac_try_echo=$ac_try;;
4391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4392 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4394 grep -v '^ *+' conftest.er1 >conftest.err
4396 cat conftest.err >&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); } >/dev/null && {
4399 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4400 test ! -s conftest.err
4402 # Broken: success on invalid input.
4405 echo "$as_me: failed program was:" >&5
4406 sed 's/^/| /' conftest.$ac_ext >&5
4408 # Passes both tests.
4413 rm -f conftest.err conftest.$ac_ext
4416 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4417 rm -f conftest.err conftest.$ac_ext
4418 if $ac_preproc_ok; then
4421 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4422 See \`config.log' for more details." >&5
4423 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4424 See \`config.log' for more details." >&2;}
4425 { (exit 1); exit 1; }; }
4429 ac_cpp='$CPP $CPPFLAGS'
4430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4435 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4436 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4437 if test "${ac_cv_path_GREP+set}" = set; then
4438 echo $ECHO_N "(cached) $ECHO_C" >&6
4440 # Extract the first word of "grep ggrep" to use in msg output
4441 if test -z "$GREP"; then
4442 set dummy grep ggrep; ac_prog_name=$2
4443 if test "${ac_cv_path_GREP+set}" = set; then
4444 echo $ECHO_N "(cached) $ECHO_C" >&6
4446 ac_path_GREP_found=false
4447 # Loop through the user's path and test for each of PROGNAME-LIST
4448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4449 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4452 test -z "$as_dir" && as_dir=.
4453 for ac_prog in grep ggrep; do
4454 for ac_exec_ext in '' $ac_executable_extensions; do
4455 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4456 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4457 # Check for GNU ac_path_GREP and select it if it is found.
4458 # Check for GNU $ac_path_GREP
4459 case `"$ac_path_GREP" --version 2>&1` in
4461 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4464 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4467 cat "conftest.in" "conftest.in" >"conftest.tmp"
4468 mv "conftest.tmp" "conftest.in"
4469 cp "conftest.in" "conftest.nl"
4470 echo 'GREP' >> "conftest.nl"
4471 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4472 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4473 ac_count=`expr $ac_count + 1`
4474 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4475 # Best one so far, save it but keep looking for a better one
4476 ac_cv_path_GREP="$ac_path_GREP"
4477 ac_path_GREP_max=$ac_count
4479 # 10*(2^10) chars as input seems more than enough
4480 test $ac_count -gt 10 && break
4482 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4486 $ac_path_GREP_found && break 3
4496 GREP="$ac_cv_path_GREP"
4497 if test -z "$GREP"; then
4498 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4499 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4500 { (exit 1); exit 1; }; }
4504 ac_cv_path_GREP=$GREP
4509 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4510 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4511 GREP="$ac_cv_path_GREP"
4514 { echo "$as_me:$LINENO: checking for egrep" >&5
4515 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4516 if test "${ac_cv_path_EGREP+set}" = set; then
4517 echo $ECHO_N "(cached) $ECHO_C" >&6
4519 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4520 then ac_cv_path_EGREP="$GREP -E"
4522 # Extract the first word of "egrep" to use in msg output
4523 if test -z "$EGREP"; then
4524 set dummy egrep; ac_prog_name=$2
4525 if test "${ac_cv_path_EGREP+set}" = set; then
4526 echo $ECHO_N "(cached) $ECHO_C" >&6
4528 ac_path_EGREP_found=false
4529 # Loop through the user's path and test for each of PROGNAME-LIST
4530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4531 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4534 test -z "$as_dir" && as_dir=.
4535 for ac_prog in egrep; do
4536 for ac_exec_ext in '' $ac_executable_extensions; do
4537 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4538 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4539 # Check for GNU ac_path_EGREP and select it if it is found.
4540 # Check for GNU $ac_path_EGREP
4541 case `"$ac_path_EGREP" --version 2>&1` in
4543 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4546 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4549 cat "conftest.in" "conftest.in" >"conftest.tmp"
4550 mv "conftest.tmp" "conftest.in"
4551 cp "conftest.in" "conftest.nl"
4552 echo 'EGREP' >> "conftest.nl"
4553 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4554 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4555 ac_count=`expr $ac_count + 1`
4556 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4557 # Best one so far, save it but keep looking for a better one
4558 ac_cv_path_EGREP="$ac_path_EGREP"
4559 ac_path_EGREP_max=$ac_count
4561 # 10*(2^10) chars as input seems more than enough
4562 test $ac_count -gt 10 && break
4564 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4568 $ac_path_EGREP_found && break 3
4578 EGREP="$ac_cv_path_EGREP"
4579 if test -z "$EGREP"; then
4580 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4581 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4582 { (exit 1); exit 1; }; }
4586 ac_cv_path_EGREP=$EGREP
4592 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4593 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4594 EGREP="$ac_cv_path_EGREP"
4597 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4598 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4599 if test "${ac_cv_header_stdc+set}" = set; then
4600 echo $ECHO_N "(cached) $ECHO_C" >&6
4602 cat >conftest.$ac_ext <<_ACEOF
4605 cat confdefs.h >>conftest.$ac_ext
4606 cat >>conftest.$ac_ext <<_ACEOF
4607 /* end confdefs.h. */
4621 rm -f conftest.$ac_objext
4622 if { (ac_try="$ac_compile"
4624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4625 *) ac_try_echo=$ac_try;;
4627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4628 (eval "$ac_compile") 2>conftest.er1
4630 grep -v '^ *+' conftest.er1 >conftest.err
4632 cat conftest.err >&5
4633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634 (exit $ac_status); } && {
4635 test -z "$ac_c_werror_flag" ||
4636 test ! -s conftest.err
4637 } && test -s conftest.$ac_objext; then
4638 ac_cv_header_stdc=yes
4640 echo "$as_me: failed program was:" >&5
4641 sed 's/^/| /' conftest.$ac_ext >&5
4643 ac_cv_header_stdc=no
4646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4648 if test $ac_cv_header_stdc = yes; then
4649 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4650 cat >conftest.$ac_ext <<_ACEOF
4653 cat confdefs.h >>conftest.$ac_ext
4654 cat >>conftest.$ac_ext <<_ACEOF
4655 /* end confdefs.h. */
4659 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4660 $EGREP "memchr" >/dev/null 2>&1; then
4663 ac_cv_header_stdc=no
4669 if test $ac_cv_header_stdc = yes; then
4670 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4671 cat >conftest.$ac_ext <<_ACEOF
4674 cat confdefs.h >>conftest.$ac_ext
4675 cat >>conftest.$ac_ext <<_ACEOF
4676 /* end confdefs.h. */
4680 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4681 $EGREP "free" >/dev/null 2>&1; then
4684 ac_cv_header_stdc=no
4690 if test $ac_cv_header_stdc = yes; then
4691 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4692 if test "$cross_compiling" = yes; then
4695 cat >conftest.$ac_ext <<_ACEOF
4698 cat confdefs.h >>conftest.$ac_ext
4699 cat >>conftest.$ac_ext <<_ACEOF
4700 /* end confdefs.h. */
4703 #if ((' ' & 0x0FF) == 0x020)
4704 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4705 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4707 # define ISLOWER(c) \
4708 (('a' <= (c) && (c) <= 'i') \
4709 || ('j' <= (c) && (c) <= 'r') \
4710 || ('s' <= (c) && (c) <= 'z'))
4711 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4714 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4719 for (i = 0; i < 256; i++)
4720 if (XOR (islower (i), ISLOWER (i))
4721 || toupper (i) != TOUPPER (i))
4726 rm -f conftest$ac_exeext
4727 if { (ac_try="$ac_link"
4729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4730 *) ac_try_echo=$ac_try;;
4732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4733 (eval "$ac_link") 2>&5
4735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4737 { (case "(($ac_try" in
4738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4739 *) ac_try_echo=$ac_try;;
4741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4742 (eval "$ac_try") 2>&5
4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745 (exit $ac_status); }; }; then
4748 echo "$as_me: program exited with status $ac_status" >&5
4749 echo "$as_me: failed program was:" >&5
4750 sed 's/^/| /' conftest.$ac_ext >&5
4753 ac_cv_header_stdc=no
4755 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4761 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4762 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4763 if test $ac_cv_header_stdc = yes; then
4765 cat >>confdefs.h <<\_ACEOF
4766 #define STDC_HEADERS 1
4771 for ac_prog in 'bison -y' byacc
4773 # Extract the first word of "$ac_prog", so it can be a program name with args.
4774 set dummy $ac_prog; ac_word=$2
4775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4777 if test "${ac_cv_prog_YACC+set}" = set; then
4778 echo $ECHO_N "(cached) $ECHO_C" >&6
4780 if test -n "$YACC"; then
4781 ac_cv_prog_YACC="$YACC" # Let the user override the test.
4783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4787 test -z "$as_dir" && as_dir=.
4788 for ac_exec_ext in '' $ac_executable_extensions; do
4789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4790 ac_cv_prog_YACC="$ac_prog"
4791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4800 YACC=$ac_cv_prog_YACC
4801 if test -n "$YACC"; then
4802 { echo "$as_me:$LINENO: result: $YACC" >&5
4803 echo "${ECHO_T}$YACC" >&6; }
4805 { echo "$as_me:$LINENO: result: no" >&5
4806 echo "${ECHO_T}no" >&6; }
4810 test -n "$YACC" && break
4812 test -n "$YACC" || YACC="yacc"
4814 for ac_prog in flex lex
4816 # Extract the first word of "$ac_prog", so it can be a program name with args.
4817 set dummy $ac_prog; ac_word=$2
4818 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4820 if test "${ac_cv_prog_LEX+set}" = set; then
4821 echo $ECHO_N "(cached) $ECHO_C" >&6
4823 if test -n "$LEX"; then
4824 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4830 test -z "$as_dir" && as_dir=.
4831 for ac_exec_ext in '' $ac_executable_extensions; do
4832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4833 ac_cv_prog_LEX="$ac_prog"
4834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4844 if test -n "$LEX"; then
4845 { echo "$as_me:$LINENO: result: $LEX" >&5
4846 echo "${ECHO_T}$LEX" >&6; }
4848 { echo "$as_me:$LINENO: result: no" >&5
4849 echo "${ECHO_T}no" >&6; }
4853 test -n "$LEX" && break
4855 test -n "$LEX" || LEX=":"
4857 if test "x$LEX" != "x:"; then
4858 cat >conftest.l <<_ACEOF
4864 e { yyless (input () != 0); }
4865 f { unput (yytext[0]); }
4866 . { BEGIN INITIAL; }
4868 #ifdef YYTEXT_POINTER
4869 extern char *yytext;
4874 return ! yylex () + ! yywrap ();
4877 { (ac_try="$LEX conftest.l"
4879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4880 *) ac_try_echo=$ac_try;;
4882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4883 (eval "$LEX conftest.l") 2>&5
4885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886 (exit $ac_status); }
4887 { echo "$as_me:$LINENO: checking lex output file root" >&5
4888 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
4889 if test "${ac_cv_prog_lex_root+set}" = set; then
4890 echo $ECHO_N "(cached) $ECHO_C" >&6
4893 if test -f lex.yy.c; then
4894 ac_cv_prog_lex_root=lex.yy
4895 elif test -f lexyy.c; then
4896 ac_cv_prog_lex_root=lexyy
4898 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4899 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4900 { (exit 1); exit 1; }; }
4903 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4904 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
4905 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4907 if test -z "${LEXLIB+set}"; then
4908 { echo "$as_me:$LINENO: checking lex library" >&5
4909 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
4910 if test "${ac_cv_lib_lex+set}" = set; then
4911 echo $ECHO_N "(cached) $ECHO_C" >&6
4915 ac_cv_lib_lex='none needed'
4916 for ac_lib in '' -lfl -ll; do
4917 LIBS="$ac_lib $ac_save_LIBS"
4918 cat >conftest.$ac_ext <<_ACEOF
4919 `cat $LEX_OUTPUT_ROOT.c`
4921 rm -f conftest.$ac_objext conftest$ac_exeext
4922 if { (ac_try="$ac_link"
4924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4925 *) ac_try_echo=$ac_try;;
4927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4928 (eval "$ac_link") 2>conftest.er1
4930 grep -v '^ *+' conftest.er1 >conftest.err
4932 cat conftest.err >&5
4933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934 (exit $ac_status); } && {
4935 test -z "$ac_c_werror_flag" ||
4936 test ! -s conftest.err
4937 } && test -s conftest$ac_exeext &&
4938 $as_test_x conftest$ac_exeext; then
4939 ac_cv_lib_lex=$ac_lib
4941 echo "$as_me: failed program was:" >&5
4942 sed 's/^/| /' conftest.$ac_ext >&5
4947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4948 conftest$ac_exeext conftest.$ac_ext
4949 test "$ac_cv_lib_lex" != 'none needed' && break
4954 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
4955 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
4956 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
4960 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4961 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
4962 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4963 echo $ECHO_N "(cached) $ECHO_C" >&6
4965 # POSIX says lex can declare yytext either as a pointer or an array; the
4966 # default is implementation-dependent. Figure out which it is, since
4967 # not all implementations provide the %pointer and %array declarations.
4968 ac_cv_prog_lex_yytext_pointer=no
4970 LIBS="$LEXLIB $ac_save_LIBS"
4971 cat >conftest.$ac_ext <<_ACEOF
4972 #define YYTEXT_POINTER 1
4973 `cat $LEX_OUTPUT_ROOT.c`
4975 rm -f conftest.$ac_objext conftest$ac_exeext
4976 if { (ac_try="$ac_link"
4978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4979 *) ac_try_echo=$ac_try;;
4981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4982 (eval "$ac_link") 2>conftest.er1
4984 grep -v '^ *+' conftest.er1 >conftest.err
4986 cat conftest.err >&5
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); } && {
4989 test -z "$ac_c_werror_flag" ||
4990 test ! -s conftest.err
4991 } && test -s conftest$ac_exeext &&
4992 $as_test_x conftest$ac_exeext; then
4993 ac_cv_prog_lex_yytext_pointer=yes
4995 echo "$as_me: failed program was:" >&5
4996 sed 's/^/| /' conftest.$ac_ext >&5
5001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5002 conftest$ac_exeext conftest.$ac_ext
5006 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5007 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5008 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5010 cat >>confdefs.h <<\_ACEOF
5011 #define YYTEXT_POINTER 1
5015 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5018 if test "$LEX" = :; then
5019 LEX=${am_missing_run}flex
5021 # Find a good install program. We prefer a C program (faster),
5022 # so one script is as good as another. But avoid the broken or
5023 # incompatible versions:
5024 # SysV /etc/install, /usr/sbin/install
5025 # SunOS /usr/etc/install
5026 # IRIX /sbin/install
5028 # AmigaOS /C/install, which installs bootblocks on floppy discs
5029 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5030 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5031 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5032 # OS/2's system install, which has a completely different semantic
5033 # ./install, which can be erroneously created by make from ./install.sh.
5034 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5035 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5036 if test -z "$INSTALL"; then
5037 if test "${ac_cv_path_install+set}" = set; then
5038 echo $ECHO_N "(cached) $ECHO_C" >&6
5040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5044 test -z "$as_dir" && as_dir=.
5045 # Account for people who put trailing slashes in PATH elements.
5047 ./ | .// | /cC/* | \
5048 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5049 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5052 # OSF1 and SCO ODT 3.0 have their own names for install.
5053 # Don't use installbsd from OSF since it installs stuff as root
5055 for ac_prog in ginstall scoinst install; do
5056 for ac_exec_ext in '' $ac_executable_extensions; do
5057 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5058 if test $ac_prog = install &&
5059 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5060 # AIX install. It has an incompatible calling convention.
5062 elif test $ac_prog = install &&
5063 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5064 # program-specific install script used by HP pwplus--don't use.
5067 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5080 if test "${ac_cv_path_install+set}" = set; then
5081 INSTALL=$ac_cv_path_install
5083 # As a last resort, use the slow shell script. Don't cache a
5084 # value for INSTALL within a source directory, because that will
5085 # break other packages using the cache if that directory is
5086 # removed, or if the value is a relative name.
5087 INSTALL=$ac_install_sh
5090 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5091 echo "${ECHO_T}$INSTALL" >&6; }
5093 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5094 # It thinks the first close brace ends the variable substitution.
5095 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5097 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5099 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5102 ac_cpp='$CPP $CPPFLAGS'
5103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5106 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5107 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5108 # On Suns, sometimes $CPP names a directory.
5109 if test -n "$CPP" && test -d "$CPP"; then
5112 if test -z "$CPP"; then
5113 if test "${ac_cv_prog_CPP+set}" = set; then
5114 echo $ECHO_N "(cached) $ECHO_C" >&6
5116 # Double quotes because CPP needs to be expanded
5117 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5120 for ac_c_preproc_warn_flag in '' yes
5122 # Use a header file that comes with gcc, so configuring glibc
5123 # with a fresh cross-compiler works.
5124 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5125 # <limits.h> exists even on freestanding compilers.
5126 # On the NeXT, cc -E runs the code through the compiler's parser,
5127 # not just through cpp. "Syntax error" is here to catch this case.
5128 cat >conftest.$ac_ext <<_ACEOF
5131 cat confdefs.h >>conftest.$ac_ext
5132 cat >>conftest.$ac_ext <<_ACEOF
5133 /* end confdefs.h. */
5135 # include <limits.h>
5137 # include <assert.h>
5141 if { (ac_try="$ac_cpp conftest.$ac_ext"
5143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5144 *) ac_try_echo=$ac_try;;
5146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5147 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5149 grep -v '^ *+' conftest.er1 >conftest.err
5151 cat conftest.err >&5
5152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5153 (exit $ac_status); } >/dev/null && {
5154 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5155 test ! -s conftest.err
5159 echo "$as_me: failed program was:" >&5
5160 sed 's/^/| /' conftest.$ac_ext >&5
5162 # Broken: fails on valid input.
5166 rm -f conftest.err conftest.$ac_ext
5168 # OK, works on sane cases. Now check whether nonexistent headers
5169 # can be detected and how.
5170 cat >conftest.$ac_ext <<_ACEOF
5173 cat confdefs.h >>conftest.$ac_ext
5174 cat >>conftest.$ac_ext <<_ACEOF
5175 /* end confdefs.h. */
5176 #include <ac_nonexistent.h>
5178 if { (ac_try="$ac_cpp conftest.$ac_ext"
5180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5181 *) ac_try_echo=$ac_try;;
5183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5184 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5186 grep -v '^ *+' conftest.er1 >conftest.err
5188 cat conftest.err >&5
5189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5190 (exit $ac_status); } >/dev/null && {
5191 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5192 test ! -s conftest.err
5194 # Broken: success on invalid input.
5197 echo "$as_me: failed program was:" >&5
5198 sed 's/^/| /' conftest.$ac_ext >&5
5200 # Passes both tests.
5205 rm -f conftest.err conftest.$ac_ext
5208 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5209 rm -f conftest.err conftest.$ac_ext
5210 if $ac_preproc_ok; then
5222 { echo "$as_me:$LINENO: result: $CPP" >&5
5223 echo "${ECHO_T}$CPP" >&6; }
5225 for ac_c_preproc_warn_flag in '' yes
5227 # Use a header file that comes with gcc, so configuring glibc
5228 # with a fresh cross-compiler works.
5229 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5230 # <limits.h> exists even on freestanding compilers.
5231 # On the NeXT, cc -E runs the code through the compiler's parser,
5232 # not just through cpp. "Syntax error" is here to catch this case.
5233 cat >conftest.$ac_ext <<_ACEOF
5236 cat confdefs.h >>conftest.$ac_ext
5237 cat >>conftest.$ac_ext <<_ACEOF
5238 /* end confdefs.h. */
5240 # include <limits.h>
5242 # include <assert.h>
5246 if { (ac_try="$ac_cpp conftest.$ac_ext"
5248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5249 *) ac_try_echo=$ac_try;;
5251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5252 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5254 grep -v '^ *+' conftest.er1 >conftest.err
5256 cat conftest.err >&5
5257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5258 (exit $ac_status); } >/dev/null && {
5259 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5260 test ! -s conftest.err
5264 echo "$as_me: failed program was:" >&5
5265 sed 's/^/| /' conftest.$ac_ext >&5
5267 # Broken: fails on valid input.
5271 rm -f conftest.err conftest.$ac_ext
5273 # OK, works on sane cases. Now check whether nonexistent headers
5274 # can be detected and how.
5275 cat >conftest.$ac_ext <<_ACEOF
5278 cat confdefs.h >>conftest.$ac_ext
5279 cat >>conftest.$ac_ext <<_ACEOF
5280 /* end confdefs.h. */
5281 #include <ac_nonexistent.h>
5283 if { (ac_try="$ac_cpp conftest.$ac_ext"
5285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5286 *) ac_try_echo=$ac_try;;
5288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5289 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5291 grep -v '^ *+' conftest.er1 >conftest.err
5293 cat conftest.err >&5
5294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5295 (exit $ac_status); } >/dev/null && {
5296 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5297 test ! -s conftest.err
5299 # Broken: success on invalid input.
5302 echo "$as_me: failed program was:" >&5
5303 sed 's/^/| /' conftest.$ac_ext >&5
5305 # Passes both tests.
5310 rm -f conftest.err conftest.$ac_ext
5313 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5314 rm -f conftest.err conftest.$ac_ext
5315 if $ac_preproc_ok; then
5318 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5319 See \`config.log' for more details." >&5
5320 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5321 See \`config.log' for more details." >&2;}
5322 { (exit 1); exit 1; }; }
5326 ac_cpp='$CPP $CPPFLAGS'
5327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5331 # Extract the first word of "rm", so it can be a program name with args.
5332 set dummy rm; ac_word=$2
5333 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5335 if test "${ac_cv_path_RM+set}" = set; then
5336 echo $ECHO_N "(cached) $ECHO_C" >&6
5340 ac_cv_path_RM="$RM" # Let the user override the test with a path.
5343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5347 test -z "$as_dir" && as_dir=.
5348 for ac_exec_ext in '' $ac_executable_extensions; do
5349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5350 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
5351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5358 test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
5363 if test -n "$RM"; then
5364 { echo "$as_me:$LINENO: result: $RM" >&5
5365 echo "${ECHO_T}$RM" >&6; }
5367 { echo "$as_me:$LINENO: result: no" >&5
5368 echo "${ECHO_T}no" >&6; }
5372 # Extract the first word of "mv", so it can be a program name with args.
5373 set dummy mv; ac_word=$2
5374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5376 if test "${ac_cv_path_MV+set}" = set; then
5377 echo $ECHO_N "(cached) $ECHO_C" >&6
5381 ac_cv_path_MV="$MV" # Let the user override the test with a path.
5384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388 test -z "$as_dir" && as_dir=.
5389 for ac_exec_ext in '' $ac_executable_extensions; do
5390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5391 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
5392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5399 test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
5404 if test -n "$MV"; then
5405 { echo "$as_me:$LINENO: result: $MV" >&5
5406 echo "${ECHO_T}$MV" >&6; }
5408 { echo "$as_me:$LINENO: result: no" >&5
5409 echo "${ECHO_T}no" >&6; }
5413 # Extract the first word of "tar", so it can be a program name with args.
5414 set dummy tar; ac_word=$2
5415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5417 if test "${ac_cv_path_TAR+set}" = set; then
5418 echo $ECHO_N "(cached) $ECHO_C" >&6
5422 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
5425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5429 test -z "$as_dir" && as_dir=.
5430 for ac_exec_ext in '' $ac_executable_extensions; do
5431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5432 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
5433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5440 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
5445 if test -n "$TAR"; then
5446 { echo "$as_me:$LINENO: result: $TAR" >&5
5447 echo "${ECHO_T}$TAR" >&6; }
5449 { echo "$as_me:$LINENO: result: no" >&5
5450 echo "${ECHO_T}no" >&6; }
5456 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5457 if test -n "$ac_tool_prefix"; then
5458 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5459 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5460 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5462 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5463 echo $ECHO_N "(cached) $ECHO_C" >&6
5467 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5474 test -z "$as_dir" && as_dir=.
5475 for ac_exec_ext in '' $ac_executable_extensions; do
5476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5477 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5488 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5489 if test -n "$PKG_CONFIG"; then
5490 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5491 echo "${ECHO_T}$PKG_CONFIG" >&6; }
5493 { echo "$as_me:$LINENO: result: no" >&5
5494 echo "${ECHO_T}no" >&6; }
5499 if test -z "$ac_cv_path_PKG_CONFIG"; then
5500 ac_pt_PKG_CONFIG=$PKG_CONFIG
5501 # Extract the first word of "pkg-config", so it can be a program name with args.
5502 set dummy pkg-config; ac_word=$2
5503 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5505 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
5506 echo $ECHO_N "(cached) $ECHO_C" >&6
5508 case $ac_pt_PKG_CONFIG in
5510 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5517 test -z "$as_dir" && as_dir=.
5518 for ac_exec_ext in '' $ac_executable_extensions; do
5519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5520 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5531 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5532 if test -n "$ac_pt_PKG_CONFIG"; then
5533 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5534 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
5536 { echo "$as_me:$LINENO: result: no" >&5
5537 echo "${ECHO_T}no" >&6; }
5540 if test "x$ac_pt_PKG_CONFIG" = x; then
5543 case $cross_compiling:$ac_tool_warned in
5545 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5546 whose name does not start with the host triplet. If you think this
5547 configuration is useful to you, please write to autoconf@gnu.org." >&5
5548 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5549 whose name does not start with the host triplet. If you think this
5550 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5551 ac_tool_warned=yes ;;
5553 PKG_CONFIG=$ac_pt_PKG_CONFIG
5556 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5560 if test -n "$PKG_CONFIG"; then
5561 _pkg_min_version=0.9.0
5562 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5563 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
5564 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5565 { echo "$as_me:$LINENO: result: yes" >&5
5566 echo "${ECHO_T}yes" >&6; }
5568 { echo "$as_me:$LINENO: result: no" >&5
5569 echo "${ECHO_T}no" >&6; }
5576 { echo "$as_me:$LINENO: checking for GLIB" >&5
5577 echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; }
5579 if test -n "$PKG_CONFIG"; then
5580 if test -n "$GLIB_CFLAGS"; then
5581 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
5583 if test -n "$PKG_CONFIG" && \
5584 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED\"") >&5
5585 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED") 2>&5
5587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5588 (exit $ac_status); }; then
5589 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
5597 if test -n "$PKG_CONFIG"; then
5598 if test -n "$GLIB_LIBS"; then
5599 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
5601 if test -n "$PKG_CONFIG" && \
5602 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED\"") >&5
5603 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED") 2>&5
5605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606 (exit $ac_status); }; then
5607 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
5618 if test $pkg_failed = yes; then
5620 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5621 _pkg_short_errors_supported=yes
5623 _pkg_short_errors_supported=no
5625 if test $_pkg_short_errors_supported = yes; then
5626 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED"`
5628 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED"`
5630 # Put the nasty error message in config.log where it belongs
5631 echo "$GLIB_PKG_ERRORS" >&5
5633 { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED) were not met:
5637 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5638 installed software in a non-standard prefix.
5640 Alternatively, you may set the environment variables GLIB_CFLAGS
5641 and GLIB_LIBS to avoid the need to call pkg-config.
5642 See the pkg-config man page for more details.
5644 echo "$as_me: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED) were not met:
5648 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5649 installed software in a non-standard prefix.
5651 Alternatively, you may set the environment variables GLIB_CFLAGS
5652 and GLIB_LIBS to avoid the need to call pkg-config.
5653 See the pkg-config man page for more details.
5655 { (exit 1); exit 1; }; }
5656 elif test $pkg_failed = untried; then
5657 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5658 is in your PATH or set the PKG_CONFIG environment variable to the full
5661 Alternatively, you may set the environment variables GLIB_CFLAGS
5662 and GLIB_LIBS to avoid the need to call pkg-config.
5663 See the pkg-config man page for more details.
5665 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5666 See \`config.log' for more details." >&5
5667 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5668 is in your PATH or set the PKG_CONFIG environment variable to the full
5671 Alternatively, you may set the environment variables GLIB_CFLAGS
5672 and GLIB_LIBS to avoid the need to call pkg-config.
5673 See the pkg-config man page for more details.
5675 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5676 See \`config.log' for more details." >&2;}
5677 { (exit 1); exit 1; }; }
5679 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
5680 GLIB_LIBS=$pkg_cv_GLIB_LIBS
5681 { echo "$as_me:$LINENO: result: yes" >&5
5682 echo "${ECHO_T}yes" >&6; }
5695 ac_config_files="$ac_config_files gob2.spec Makefile src/Makefile doc/Makefile examples/Makefile doc/gob2.1"
5697 cat >confcache <<\_ACEOF
5698 # This file is a shell script that caches the results of configure
5699 # tests run on this system so they can be shared between configure
5700 # scripts and configure runs, see configure's option --config-cache.
5701 # It is not useful on other systems. If it contains results you don't
5702 # want to keep, you may remove or edit it.
5704 # config.status only pays attention to the cache file if you give it
5705 # the --recheck option to rerun configure.
5707 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5708 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5713 # The following way of writing the cache mishandles newlines in values,
5714 # but we know of no workaround that is simple, portable, and efficient.
5715 # So, we kill variables containing newlines.
5716 # Ultrix sh set writes to stderr and can't be redirected directly,
5717 # and sets the high bit in the cache file unless we assign to the vars.
5719 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5720 eval ac_val=\$$ac_var
5724 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5725 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5728 _ | IFS | as_nl) ;; #(
5729 *) $as_unset $ac_var ;;
5735 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5736 *${as_nl}ac_space=\ *)
5737 # `set' does not quote correctly, so add quotes (double-quote
5738 # substitution turns \\\\ into \\, and sed turns \\ into \).
5741 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5744 # `set' quotes correctly as required by POSIX, so do not add quotes.
5745 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5754 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5756 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5758 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5759 if test -w "$cache_file"; then
5760 test "x$cache_file" != "x/dev/null" &&
5761 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5762 echo "$as_me: updating cache $cache_file" >&6;}
5763 cat confcache >$cache_file
5765 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5766 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5771 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5772 # Let make expand exec_prefix.
5773 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5775 DEFS=-DHAVE_CONFIG_H
5779 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5780 # 1. Remove the extension, and $U if already installed.
5781 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5782 ac_i=`echo "$ac_i" | sed "$ac_script"`
5783 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5784 # will be set to the directory where LIBOBJS objects are built.
5785 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5786 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5790 LTLIBOBJS=$ac_ltlibobjs
5793 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5794 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5795 Usually this means the macro was only invoked conditionally." >&5
5796 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5797 Usually this means the macro was only invoked conditionally." >&2;}
5798 { (exit 1); exit 1; }; }
5800 if test -z "${NOINSTGOB_TRUE}" && test -z "${NOINSTGOB_FALSE}"; then
5801 { { echo "$as_me:$LINENO: error: conditional \"NOINSTGOB\" was never defined.
5802 Usually this means the macro was only invoked conditionally." >&5
5803 echo "$as_me: error: conditional \"NOINSTGOB\" was never defined.
5804 Usually this means the macro was only invoked conditionally." >&2;}
5805 { (exit 1); exit 1; }; }
5807 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5808 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5809 Usually this means the macro was only invoked conditionally." >&5
5810 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5811 Usually this means the macro was only invoked conditionally." >&2;}
5812 { (exit 1); exit 1; }; }
5814 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5815 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5816 Usually this means the macro was only invoked conditionally." >&5
5817 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5818 Usually this means the macro was only invoked conditionally." >&2;}
5819 { (exit 1); exit 1; }; }
5821 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5822 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5823 Usually this means the macro was only invoked conditionally." >&5
5824 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5825 Usually this means the macro was only invoked conditionally." >&2;}
5826 { (exit 1); exit 1; }; }
5829 : ${CONFIG_STATUS=./config.status}
5830 ac_clean_files_save=$ac_clean_files
5831 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5832 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5833 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5834 cat >$CONFIG_STATUS <<_ACEOF
5836 # Generated by $as_me.
5837 # Run this file to recreate the current configuration.
5838 # Compiler output produced by configure, useful for debugging
5839 # configure, is in config.log if it exists.
5844 SHELL=\${CONFIG_SHELL-$SHELL}
5847 cat >>$CONFIG_STATUS <<\_ACEOF
5848 ## --------------------- ##
5849 ## M4sh Initialization. ##
5850 ## --------------------- ##
5852 # Be more Bourne compatible
5853 DUALCASE=1; export DUALCASE # for MKS sh
5854 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5857 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5858 # is contrary to our usage. Disable this feature.
5859 alias -g '${1+"$@"}'='"$@"'
5860 setopt NO_GLOB_SUBST
5862 case `(set -o) 2>/dev/null` in
5863 *posix*) set -o posix ;;
5872 # Avoid depending upon Character Ranges.
5873 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5874 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5875 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5876 as_cr_digits='0123456789'
5877 as_cr_alnum=$as_cr_Letters$as_cr_digits
5879 # The user is always right.
5880 if test "${PATH_SEPARATOR+set}" != set; then
5881 echo "#! /bin/sh" >conf$$.sh
5882 echo "exit 0" >>conf$$.sh
5884 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5892 # Support unset when possible.
5893 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5901 # We need space, tab and new line, in precisely that order. Quoting is
5902 # there to prevent editors from complaining about space-tab.
5903 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5904 # splitting by setting IFS to empty value.)
5909 # Find who we are. Look in the path if we contain no directory separator.
5911 *[\\/]* ) as_myself=$0 ;;
5912 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5916 test -z "$as_dir" && as_dir=.
5917 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5923 # We did not find ourselves, most probably we were run as `sh COMMAND'
5924 # in which case we are not to be found in the path.
5925 if test "x$as_myself" = x; then
5928 if test ! -f "$as_myself"; then
5929 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5930 { (exit 1); exit 1; }
5933 # Work around bugs in pre-3.0 UWIN ksh.
5934 for as_var in ENV MAIL MAILPATH
5935 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5943 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5944 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5945 LC_TELEPHONE LC_TIME
5947 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5948 eval $as_var=C; export $as_var
5950 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5954 # Required to use basename.
5955 if expr a : '\(a\)' >/dev/null 2>&1 &&
5956 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5962 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5963 as_basename=basename
5969 # Name of the executable.
5970 as_me=`$as_basename -- "$0" ||
5971 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5972 X"$0" : 'X\(//\)$' \| \
5973 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5975 sed '/^.*\/\([^/][^/]*\)\/*$/{
5996 test "x$as_lineno_1" != "x$as_lineno_2" &&
5997 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5999 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6000 # uniformly replaced by the line number. The first 'sed' inserts a
6001 # line-number line after each line using $LINENO; the second 'sed'
6002 # does the real work. The second script uses 'N' to pair each
6003 # line-number line with the line containing $LINENO, and appends
6004 # trailing '-' during substitution so that $LINENO is not a special
6006 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6007 # scripts with optimization help from Paolo Bonzini. Blame Lee
6008 # E. McMahon (1931-1989) for sed's syntax. :-)
6020 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6024 chmod +x "$as_me.lineno" ||
6025 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6026 { (exit 1); exit 1; }; }
6028 # Don't try to exec as it changes $[0], causing all sort of problems
6029 # (the dirname of $[0] is not the place where we might find the
6030 # original and so on. Autoconf is especially sensitive to this).
6032 # Exit status is that of the last command.
6037 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6043 ECHO_C= ECHO_N= ECHO_T=
6046 case `echo 'x\c'` in
6047 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6054 if expr a : '\(a\)' >/dev/null 2>&1 &&
6055 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6061 rm -f conf$$ conf$$.exe conf$$.file
6062 if test -d conf$$.dir; then
6063 rm -f conf$$.dir/conf$$.file
6069 if ln -s conf$$.file conf$$ 2>/dev/null; then
6071 # ... but there are two gotchas:
6072 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6073 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6074 # In both cases, we have to default to `cp -p'.
6075 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6077 elif ln conf$$.file conf$$ 2>/dev/null; then
6082 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6083 rmdir conf$$.dir 2>/dev/null
6085 if mkdir -p . 2>/dev/null; then
6088 test -d ./-p && rmdir ./-p
6092 if test -x / >/dev/null 2>&1; then
6095 if ls -dL / >/dev/null 2>&1; then
6102 if test -d "$1"; then
6108 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6109 ???[sx]*):;;*)false;;esac;fi
6113 as_executable_p=$as_test_x
6115 # Sed expression to map a string onto a valid CPP name.
6116 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6118 # Sed expression to map a string onto a valid variable name.
6119 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6124 # Save the log message, to keep $[0] and so on meaningful, and to
6125 # report actual input values of CONFIG_FILES etc. instead of their
6126 # values after options handling.
6128 This file was extended by $as_me, which was
6129 generated by GNU Autoconf 2.61. Invocation command line was
6131 CONFIG_FILES = $CONFIG_FILES
6132 CONFIG_HEADERS = $CONFIG_HEADERS
6133 CONFIG_LINKS = $CONFIG_LINKS
6134 CONFIG_COMMANDS = $CONFIG_COMMANDS
6137 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6142 cat >>$CONFIG_STATUS <<_ACEOF
6143 # Files that config.status was made for.
6144 config_files="$ac_config_files"
6145 config_headers="$ac_config_headers"
6146 config_commands="$ac_config_commands"
6150 cat >>$CONFIG_STATUS <<\_ACEOF
6152 \`$as_me' instantiates files from templates according to the
6153 current configuration.
6155 Usage: $0 [OPTIONS] [FILE]...
6157 -h, --help print this help, then exit
6158 -V, --version print version number and configuration settings, then exit
6159 -q, --quiet do not print progress messages
6160 -d, --debug don't remove temporary files
6161 --recheck update $as_me by reconfiguring in the same conditions
6162 --file=FILE[:TEMPLATE]
6163 instantiate the configuration file FILE
6164 --header=FILE[:TEMPLATE]
6165 instantiate the configuration header FILE
6167 Configuration files:
6170 Configuration headers:
6173 Configuration commands:
6176 Report bugs to <bug-autoconf@gnu.org>."
6179 cat >>$CONFIG_STATUS <<_ACEOF
6182 configured by $0, generated by GNU Autoconf 2.61,
6183 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6185 Copyright (C) 2006 Free Software Foundation, Inc.
6186 This config.status script is free software; the Free Software Foundation
6187 gives unlimited permission to copy, distribute and modify it."
6195 cat >>$CONFIG_STATUS <<\_ACEOF
6196 # If no file are specified by the user, then we need to provide default
6197 # value. By we need to know if files were specified by the user.
6203 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6204 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6215 # Handling of the options.
6216 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6218 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6219 echo "$ac_cs_version"; exit ;;
6220 --debug | --debu | --deb | --de | --d | -d )
6222 --file | --fil | --fi | --f )
6224 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6225 ac_need_defaults=false;;
6226 --header | --heade | --head | --hea )
6228 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6229 ac_need_defaults=false;;
6231 # Conflict between --help and --header
6232 { echo "$as_me: error: ambiguous option: $1
6233 Try \`$0 --help' for more information." >&2
6234 { (exit 1); exit 1; }; };;
6235 --help | --hel | -h )
6236 echo "$ac_cs_usage"; exit ;;
6237 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6238 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6242 -*) { echo "$as_me: error: unrecognized option: $1
6243 Try \`$0 --help' for more information." >&2
6244 { (exit 1); exit 1; }; } ;;
6246 *) ac_config_targets="$ac_config_targets $1"
6247 ac_need_defaults=false ;;
6253 ac_configure_extra_args=
6255 if $ac_cs_silent; then
6257 ac_configure_extra_args="$ac_configure_extra_args --silent"
6261 cat >>$CONFIG_STATUS <<_ACEOF
6262 if \$ac_cs_recheck; then
6263 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6266 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6270 cat >>$CONFIG_STATUS <<\_ACEOF
6274 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6275 ## Running $as_me. ##
6281 cat >>$CONFIG_STATUS <<_ACEOF
6285 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6289 cat >>$CONFIG_STATUS <<\_ACEOF
6291 # Handling of arguments.
6292 for ac_config_target in $ac_config_targets
6294 case $ac_config_target in
6295 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6296 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6297 "gob2.spec") CONFIG_FILES="$CONFIG_FILES gob2.spec" ;;
6298 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6299 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6300 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
6301 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
6302 "doc/gob2.1") CONFIG_FILES="$CONFIG_FILES doc/gob2.1" ;;
6304 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6305 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6306 { (exit 1); exit 1; }; };;
6311 # If the user did not use the arguments to specify the items to instantiate,
6312 # then the envvar interface is used. Set only those that are not.
6313 # We use the long form for the default assignment because of an extremely
6314 # bizarre bug on SunOS 4.1.3.
6315 if $ac_need_defaults; then
6316 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6317 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6318 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6321 # Have a temporary directory for convenience. Make it in the build tree
6322 # simply because there is no reason against having it here, and in addition,
6323 # creating and moving files from /tmp can sometimes cause problems.
6324 # Hook for its removal unless debugging.
6325 # Note that there is a small window in which the directory will not be cleaned:
6326 # after its creation but before its name has been assigned to `$tmp'.
6330 trap 'exit_status=$?
6331 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6333 trap '{ (exit 1); exit 1; }' 1 2 13 15
6335 # Create a (secure) tmp directory for tmp files.
6338 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6339 test -n "$tmp" && test -d "$tmp"
6342 tmp=./conf$$-$RANDOM
6343 (umask 077 && mkdir "$tmp")
6346 echo "$me: cannot create a temporary directory in ." >&2
6347 { (exit 1); exit 1; }
6351 # Set up the sed scripts for CONFIG_FILES section.
6354 # No need to generate the scripts if there are no CONFIG_FILES.
6355 # This happens for instance when ./config.status config.h
6356 if test -n "$CONFIG_FILES"; then
6363 for ac_last_try in false false false false false :; do
6364 cat >conf$$subs.sed <<_ACEOF
6365 SHELL!$SHELL$ac_delim
6366 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6367 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6368 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6369 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6370 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6371 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6372 exec_prefix!$exec_prefix$ac_delim
6373 prefix!$prefix$ac_delim
6374 program_transform_name!$program_transform_name$ac_delim
6375 bindir!$bindir$ac_delim
6376 sbindir!$sbindir$ac_delim
6377 libexecdir!$libexecdir$ac_delim
6378 datarootdir!$datarootdir$ac_delim
6379 datadir!$datadir$ac_delim
6380 sysconfdir!$sysconfdir$ac_delim
6381 sharedstatedir!$sharedstatedir$ac_delim
6382 localstatedir!$localstatedir$ac_delim
6383 includedir!$includedir$ac_delim
6384 oldincludedir!$oldincludedir$ac_delim
6385 docdir!$docdir$ac_delim
6386 infodir!$infodir$ac_delim
6387 htmldir!$htmldir$ac_delim
6388 dvidir!$dvidir$ac_delim
6389 pdfdir!$pdfdir$ac_delim
6390 psdir!$psdir$ac_delim
6391 libdir!$libdir$ac_delim
6392 localedir!$localedir$ac_delim
6393 mandir!$mandir$ac_delim
6395 ECHO_C!$ECHO_C$ac_delim
6396 ECHO_N!$ECHO_N$ac_delim
6397 ECHO_T!$ECHO_T$ac_delim
6399 build_alias!$build_alias$ac_delim
6400 host_alias!$host_alias$ac_delim
6401 target_alias!$target_alias$ac_delim
6402 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
6403 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
6404 INSTALL_DATA!$INSTALL_DATA$ac_delim
6405 am__isrc!$am__isrc$ac_delim
6406 CYGPATH_W!$CYGPATH_W$ac_delim
6407 PACKAGE!$PACKAGE$ac_delim
6408 VERSION!$VERSION$ac_delim
6409 ACLOCAL!$ACLOCAL$ac_delim
6410 AUTOCONF!$AUTOCONF$ac_delim
6411 AUTOMAKE!$AUTOMAKE$ac_delim
6412 AUTOHEADER!$AUTOHEADER$ac_delim
6413 MAKEINFO!$MAKEINFO$ac_delim
6414 install_sh!$install_sh$ac_delim
6415 STRIP!$STRIP$ac_delim
6416 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
6417 mkdir_p!$mkdir_p$ac_delim
6419 SET_MAKE!$SET_MAKE$ac_delim
6420 am__leading_dot!$am__leading_dot$ac_delim
6421 AMTAR!$AMTAR$ac_delim
6422 am__tar!$am__tar$ac_delim
6423 am__untar!$am__untar$ac_delim
6424 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
6425 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
6426 MAINT!$MAINT$ac_delim
6427 NOINSTGOB_TRUE!$NOINSTGOB_TRUE$ac_delim
6428 NOINSTGOB_FALSE!$NOINSTGOB_FALSE$ac_delim
6429 SUBDIRS!$SUBDIRS$ac_delim
6430 INSTGOB!$INSTGOB$ac_delim
6431 NOINSTGOB!$NOINSTGOB$ac_delim
6433 CFLAGS!$CFLAGS$ac_delim
6434 LDFLAGS!$LDFLAGS$ac_delim
6435 CPPFLAGS!$CPPFLAGS$ac_delim
6436 ac_ct_CC!$ac_ct_CC$ac_delim
6437 EXEEXT!$EXEEXT$ac_delim
6438 OBJEXT!$OBJEXT$ac_delim
6439 DEPDIR!$DEPDIR$ac_delim
6440 am__include!$am__include$ac_delim
6441 am__quote!$am__quote$ac_delim
6442 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
6443 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
6444 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
6445 CCDEPMODE!$CCDEPMODE$ac_delim
6446 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
6447 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
6450 EGREP!$EGREP$ac_delim
6452 YFLAGS!$YFLAGS$ac_delim
6454 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
6455 LEXLIB!$LEXLIB$ac_delim
6459 PKG_CONFIG!$PKG_CONFIG$ac_delim
6460 GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
6461 GLIB_LIBS!$GLIB_LIBS$ac_delim
6464 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
6466 elif $ac_last_try; then
6467 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6468 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6469 { (exit 1); exit 1; }; }
6471 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6475 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6476 if test -n "$ac_eof"; then
6477 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6478 ac_eof=`expr $ac_eof + 1`
6481 cat >>$CONFIG_STATUS <<_ACEOF
6482 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6483 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6486 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6487 s/^/s,@/; s/!/@,|#_!!_#|/
6490 s/'"$ac_delim"'$/,g/; t
6492 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6493 ' >>$CONFIG_STATUS <conf$$subs.sed
6494 rm -f conf$$subs.sed
6495 cat >>$CONFIG_STATUS <<_ACEOF
6501 for ac_last_try in false false false false false :; do
6502 cat >conf$$subs.sed <<_ACEOF
6503 LIBOBJS!$LIBOBJS$ac_delim
6504 LTLIBOBJS!$LTLIBOBJS$ac_delim
6507 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 2; then
6509 elif $ac_last_try; then
6510 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6511 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6512 { (exit 1); exit 1; }; }
6514 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6518 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6519 if test -n "$ac_eof"; then
6520 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6521 ac_eof=`expr $ac_eof + 1`
6524 cat >>$CONFIG_STATUS <<_ACEOF
6525 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
6526 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6529 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6530 s/^/s,@/; s/!/@,|#_!!_#|/
6533 s/'"$ac_delim"'$/,g/; t
6535 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6536 ' >>$CONFIG_STATUS <conf$$subs.sed
6537 rm -f conf$$subs.sed
6538 cat >>$CONFIG_STATUS <<_ACEOF
6545 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6546 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6547 # trailing colons and then remove the whole line if VPATH becomes empty
6548 # (actually we leave an empty line to preserve line numbers).
6549 if test "x$srcdir" = x.; then
6550 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6554 s/^\([^=]*=[ ]*\):*/\1/
6560 cat >>$CONFIG_STATUS <<\_ACEOF
6561 fi # test -n "$CONFIG_FILES"
6564 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
6567 :[FHLC]) ac_mode=$ac_tag; continue;;
6569 case $ac_mode$ac_tag in
6571 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6572 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6573 { (exit 1); exit 1; }; };;
6574 :[FH]-) ac_tag=-:-;;
6575 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6592 -) ac_f="$tmp/stdin";;
6593 *) # Look for the file first in the build tree, then in the source tree
6594 # (if the path is not absolute). The absolute path cannot be DOS-style,
6595 # because $ac_f cannot contain `:'.
6599 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6601 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6602 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6603 { (exit 1); exit 1; }; };;
6605 ac_file_inputs="$ac_file_inputs $ac_f"
6608 # Let's still pretend it is `configure' which instantiates (i.e., don't
6609 # use $as_me), people would be surprised to read:
6610 # /* config.h. Generated by config.status. */
6611 configure_input="Generated from "`IFS=:
6612 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6613 if test x"$ac_file" != x-; then
6614 configure_input="$ac_file. $configure_input"
6615 { echo "$as_me:$LINENO: creating $ac_file" >&5
6616 echo "$as_me: creating $ac_file" >&6;}
6620 *:-:* | *:-) cat >"$tmp/stdin";;
6625 ac_dir=`$as_dirname -- "$ac_file" ||
6626 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6627 X"$ac_file" : 'X\(//\)[^/]' \| \
6628 X"$ac_file" : 'X\(//\)$' \| \
6629 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6650 -*) as_dir=./$as_dir;;
6652 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6656 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6657 *) as_qdir=$as_dir;;
6659 as_dirs="'$as_qdir' $as_dirs"
6660 as_dir=`$as_dirname -- "$as_dir" ||
6661 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6662 X"$as_dir" : 'X\(//\)[^/]' \| \
6663 X"$as_dir" : 'X\(//\)$' \| \
6664 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6666 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6683 test -d "$as_dir" && break
6685 test -z "$as_dirs" || eval "mkdir $as_dirs"
6686 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6687 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6688 { (exit 1); exit 1; }; }; }
6692 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6694 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6695 # A ".." for each directory in $ac_dir_suffix.
6696 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6697 case $ac_top_builddir_sub in
6698 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6699 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6702 ac_abs_top_builddir=$ac_pwd
6703 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6704 # for backward compatibility:
6705 ac_top_builddir=$ac_top_build_prefix
6708 .) # We are building in place.
6710 ac_top_srcdir=$ac_top_builddir_sub
6711 ac_abs_top_srcdir=$ac_pwd ;;
6712 [\\/]* | ?:[\\/]* ) # Absolute name.
6713 ac_srcdir=$srcdir$ac_dir_suffix;
6714 ac_top_srcdir=$srcdir
6715 ac_abs_top_srcdir=$srcdir ;;
6717 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6718 ac_top_srcdir=$ac_top_build_prefix$srcdir
6719 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6721 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6731 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6732 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6736 [\\/$]* | ?:[\\/]* ) ;;
6737 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6741 cat >>$CONFIG_STATUS <<\_ACEOF
6742 # If the template does not know about datarootdir, expand it.
6743 # FIXME: This hack should be removed a few years after 2.60.
6744 ac_datarootdir_hack=; ac_datarootdir_seen=
6746 case `sed -n '/datarootdir/ {
6755 ' $ac_file_inputs` in
6756 *datarootdir*) ac_datarootdir_seen=yes;;
6757 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6758 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6759 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6761 cat >>$CONFIG_STATUS <<_ACEOF
6762 ac_datarootdir_hack='
6763 s&@datadir@&$datadir&g
6764 s&@docdir@&$docdir&g
6765 s&@infodir@&$infodir&g
6766 s&@localedir@&$localedir&g
6767 s&@mandir@&$mandir&g
6768 s&\\\${datarootdir}&$datarootdir&g' ;;
6772 # Neutralize VPATH when `$srcdir' = `.'.
6773 # Shell code in configure.ac might set extrasub.
6774 # FIXME: do we really want to maintain this feature?
6775 cat >>$CONFIG_STATUS <<_ACEOF
6779 cat >>$CONFIG_STATUS <<\_ACEOF
6781 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6782 s&@configure_input@&$configure_input&;t t
6783 s&@top_builddir@&$ac_top_builddir_sub&;t t
6784 s&@srcdir@&$ac_srcdir&;t t
6785 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6786 s&@top_srcdir@&$ac_top_srcdir&;t t
6787 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6788 s&@builddir@&$ac_builddir&;t t
6789 s&@abs_builddir@&$ac_abs_builddir&;t t
6790 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6791 s&@INSTALL@&$ac_INSTALL&;t t
6792 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6793 $ac_datarootdir_hack
6794 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
6796 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6797 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6798 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6799 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6800 which seems to be undefined. Please make sure it is defined." >&5
6801 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6802 which seems to be undefined. Please make sure it is defined." >&2;}
6806 -) cat "$tmp/out"; rm -f "$tmp/out";;
6807 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6816 # Transform confdefs.h into a sed script `conftest.defines', that
6817 # substitutes the proper values into config.h.in to produce config.h.
6818 rm -f conftest.defines conftest.tail
6819 # First, append a space to every undef/define line, to ease matching.
6820 echo 's/$/ /' >conftest.defines
6821 # Then, protect against being on the right side of a sed subst, or in
6822 # an unquoted here document, in config.status. If some macros were
6823 # called several times there might be several #defines for the same
6824 # symbol, which is useless. But do not sort them, since the last
6825 # AC_DEFINE must be honored.
6826 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6827 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
6828 # NAME is the cpp macro being defined, VALUE is the value it is being given.
6829 # PARAMS is the parameter list in the macro definition--in most cases, it's
6830 # just an empty string.
6831 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
6832 ac_dB='\\)[ (].*,\\1define\\2'
6840 s/^[ ]*#[ ]*define[ ][ ]*//
6845 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6846 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6847 ' >>conftest.defines
6849 # Remove the space that was appended to ease matching.
6850 # Then replace #undef with comments. This is necessary, for
6851 # example, in the case of _POSIX_SOURCE, which is predefined and required
6852 # on some systems where configure will not decide to define it.
6853 # (The regexp can be short, since the line contains either #define or #undef.)
6855 s,^[ #]*u.*,/* & */,' >>conftest.defines
6857 # Break up conftest.defines:
6860 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6861 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6862 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6864 ac_in='$ac_file_inputs'
6865 ac_out='"$tmp/out1"'
6866 ac_nxt='"$tmp/out2"'
6870 # Write a here document:
6871 cat >>$CONFIG_STATUS <<_ACEOF
6872 # First, check the format of the line:
6873 cat >"\$tmp/defines.sed" <<\\CEOF
6874 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
6875 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
6879 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
6881 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6882 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
6883 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
6884 grep . conftest.tail >/dev/null || break
6885 rm -f conftest.defines
6886 mv conftest.tail conftest.defines
6888 rm -f conftest.defines conftest.tail
6890 echo "ac_result=$ac_in" >>$CONFIG_STATUS
6891 cat >>$CONFIG_STATUS <<\_ACEOF
6892 if test x"$ac_file" != x-; then
6893 echo "/* $configure_input */" >"$tmp/config.h"
6894 cat "$ac_result" >>"$tmp/config.h"
6895 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
6896 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6897 echo "$as_me: $ac_file is unchanged" >&6;}
6900 mv "$tmp/config.h" $ac_file
6903 echo "/* $configure_input */"
6907 # Compute $ac_file's index in $config_headers.
6909 for _am_header in $config_headers :; do
6911 $ac_file | $ac_file:* )
6914 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6917 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
6918 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6919 X$ac_file : 'X\(//\)[^/]' \| \
6920 X$ac_file : 'X\(//\)$' \| \
6921 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
6923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6939 s/.*/./; q'`/stamp-h$_am_stamp_count
6942 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
6943 echo "$as_me: executing $ac_file commands" >&6;}
6948 case $ac_file$ac_mode in
6949 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6950 # Strip MF so we end up with the name of the file.
6951 mf=`echo "$mf" | sed -e 's/:.*$//'`
6952 # Check whether this is an Automake generated Makefile or not.
6953 # We used to match only the files named `Makefile.in', but
6954 # some people rename them; so instead we look at the file content.
6955 # Grep'ing the first line is not enough: some people post-process
6956 # each Makefile.in and add a new line on top of each file to say so.
6957 # Grep'ing the whole file is not good either: AIX grep has a line
6958 # limit of 2048, but all sed's we know have understand at least 4000.
6959 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
6960 dirpart=`$as_dirname -- "$mf" ||
6961 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6962 X"$mf" : 'X\(//\)[^/]' \| \
6963 X"$mf" : 'X\(//\)$' \| \
6964 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6966 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6986 # Extract the definition of DEPDIR, am__include, and am__quote
6987 # from the Makefile without running `make'.
6988 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6989 test -z "$DEPDIR" && continue
6990 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6991 test -z "am__include" && continue
6992 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6993 # When using ansi2knr, U may be empty or an underscore; expand it
6994 U=`sed -n 's/^U = //p' < "$mf"`
6995 # Find all dependency output files, they are included files with
6996 # $(DEPDIR) in their names. We invoke sed twice because it is the
6997 # simplest approach to changing $(DEPDIR) to its actual value in the
6999 for file in `sed -n "
7000 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7001 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7002 # Make sure the directory exists.
7003 test -f "$dirpart/$file" && continue
7004 fdir=`$as_dirname -- "$file" ||
7005 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7006 X"$file" : 'X\(//\)[^/]' \| \
7007 X"$file" : 'X\(//\)$' \| \
7008 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7010 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7027 { as_dir=$dirpart/$fdir
7029 -*) as_dir=./$as_dir;;
7031 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7035 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7036 *) as_qdir=$as_dir;;
7038 as_dirs="'$as_qdir' $as_dirs"
7039 as_dir=`$as_dirname -- "$as_dir" ||
7040 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7041 X"$as_dir" : 'X\(//\)[^/]' \| \
7042 X"$as_dir" : 'X\(//\)$' \| \
7043 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7045 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7062 test -d "$as_dir" && break
7064 test -z "$as_dirs" || eval "mkdir $as_dirs"
7065 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7066 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7067 { (exit 1); exit 1; }; }; }
7068 # echo "creating $dirpart/$file"
7069 echo '# dummy' > "$dirpart/$file"
7078 { (exit 0); exit 0; }
7080 chmod +x $CONFIG_STATUS
7081 ac_clean_files=$ac_clean_files_save
7084 # configure is writing to config.log, and then calls config.status.
7085 # config.status does its own redirection, appending to config.log.
7086 # Unfortunately, on DOS this fails, as config.log is still kept open
7087 # by configure, so config.status won't be able to write to it; its
7088 # output is simply discarded. So we exec the FD to /dev/null,
7089 # effectively closing config.log, so it can be properly (re)opened and
7090 # appended to by config.status. When coming back to configure, we
7091 # need to make the FD available again.
7092 if test "$no_create" != yes; then
7094 ac_config_status_args=
7095 test "$silent" = yes &&
7096 ac_config_status_args="$ac_config_status_args --quiet"
7098 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7100 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7101 # would make configure fail if this is the last instruction.
7102 $ac_cs_success || { (exit 1); exit 1; }