2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 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 # Pre-4.2 versions of Zsh do 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
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x; then
174 if (eval ":") 2>/dev/null; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev/null; then
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir=.
247 for as_base in sh bash ksh sh5; do
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
255 for as_shell in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev/null <<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
277 CONFIG_SHELL=$as_shell
279 if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix*) set -o posix ;;
305 as_func_ret_success () {
308 as_func_ret_failure () {
313 if as_func_success; then
317 echo as_func_success failed.
320 if as_func_failure; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure; then
334 echo as_func_ret_failure succeeded.
337 if ( set x; as_func_ret_success y && test x = "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) || { (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x; then
362 for as_var in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no; then
371 echo This script requires a shell more modern than all the
372 echo shells that I found on your system. Please install a
373 echo modern shell, or manually run the script under such a
374 echo shell if you do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") || {
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system,
436 echo including any error possibly output before this message.
437 echo This can help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x "$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
492 ECHO_C= ECHO_N= ECHO_T=
496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
509 rm -f conf$$ conf$$.exe conf$$.file
510 if test -d conf$$.dir; then
511 rm -f conf$$.dir/conf$$.file
514 mkdir conf$$.dir 2>/dev/null
516 if (echo >conf$$.file) 2>/dev/null; then
517 if ln -s conf$$.file conf$$ 2>/dev/null; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
525 elif ln conf$$.file conf$$ 2>/dev/null; then
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
536 if mkdir -p . 2>/dev/null; then
539 test -d ./-p && rmdir ./-p
543 if test -x / >/dev/null 2>&1; then
546 if ls -dL / >/dev/null 2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 exec 7<&0 </dev/null 6>&1
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 ac_default_prefix=/usr/local
586 ac_config_libobj_dir=.
592 SHELL=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
601 ac_unique_file="src/treefuncs.h"
602 ac_subst_vars='LTLIBOBJS
640 MAINTAINER_MODE_FALSE
649 INSTALL_STRIP_PROGRAM
690 program_transform_name
702 enable_option_checking
703 enable_maintainer_mode
704 enable_dependency_tracking
706 ac_precious_vars='build_alias
722 # Initialize some variables set by options.
724 ac_init_version=false
725 ac_unrecognized_opts=
727 # The variables have the same names as the options, with
728 # dashes changed to underlines.
736 program_transform_name=s,x,x,
744 # Installation directory options.
745 # These are left unexpanded so users can "make install exec_prefix=/foo"
746 # and all the variables that are supposed to be based on exec_prefix
747 # by default will actually change.
748 # Use braces instead of parens because sh, perl, etc. also accept them.
749 # (The list follows the same order as the GNU Coding Standards.)
750 bindir='${exec_prefix}/bin'
751 sbindir='${exec_prefix}/sbin'
752 libexecdir='${exec_prefix}/libexec'
753 datarootdir='${prefix}/share'
754 datadir='${datarootdir}'
755 sysconfdir='${prefix}/etc'
756 sharedstatedir='${prefix}/com'
757 localstatedir='${prefix}/var'
758 includedir='${prefix}/include'
759 oldincludedir='/usr/include'
760 docdir='${datarootdir}/doc/${PACKAGE}'
761 infodir='${datarootdir}/info'
766 libdir='${exec_prefix}/lib'
767 localedir='${datarootdir}/locale'
768 mandir='${datarootdir}/man'
774 # If the previous option needs an argument, assign it.
775 if test -n "$ac_prev"; then
776 eval $ac_prev=\$ac_option
782 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
786 # Accept the important Cygnus configure options, so we can diagnose typos.
788 case $ac_dashdash$ac_option in
792 -bindir | --bindir | --bindi | --bind | --bin | --bi)
794 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
797 -build | --build | --buil | --bui | --bu)
798 ac_prev=build_alias ;;
799 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
800 build_alias=$ac_optarg ;;
802 -cache-file | --cache-file | --cache-fil | --cache-fi \
803 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
804 ac_prev=cache_file ;;
805 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
806 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
807 cache_file=$ac_optarg ;;
810 cache_file=config.cache ;;
812 -datadir | --datadir | --datadi | --datad)
814 -datadir=* | --datadir=* | --datadi=* | --datad=*)
815 datadir=$ac_optarg ;;
817 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
818 | --dataroo | --dataro | --datar)
819 ac_prev=datarootdir ;;
820 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
821 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
822 datarootdir=$ac_optarg ;;
824 -disable-* | --disable-*)
825 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
826 # Reject names that are not valid shell variable names.
827 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
828 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
829 { (exit 1); exit 1; }; }
830 ac_useropt_orig=$ac_useropt
831 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
832 case $ac_user_opts in
836 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
837 ac_unrecognized_sep=', ';;
839 eval enable_$ac_useropt=no ;;
841 -docdir | --docdir | --docdi | --doc | --do)
843 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
846 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
848 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
851 -enable-* | --enable-*)
852 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
853 # Reject names that are not valid shell variable names.
854 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
855 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
856 { (exit 1); exit 1; }; }
857 ac_useropt_orig=$ac_useropt
858 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
859 case $ac_user_opts in
863 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
864 ac_unrecognized_sep=', ';;
866 eval enable_$ac_useropt=\$ac_optarg ;;
868 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
869 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
870 | --exec | --exe | --ex)
871 ac_prev=exec_prefix ;;
872 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
873 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
874 | --exec=* | --exe=* | --ex=*)
875 exec_prefix=$ac_optarg ;;
877 -gas | --gas | --ga | --g)
878 # Obsolete; use --with-gas.
881 -help | --help | --hel | --he | -h)
883 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
884 ac_init_help=recursive ;;
885 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
886 ac_init_help=short ;;
888 -host | --host | --hos | --ho)
889 ac_prev=host_alias ;;
890 -host=* | --host=* | --hos=* | --ho=*)
891 host_alias=$ac_optarg ;;
893 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
895 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
897 htmldir=$ac_optarg ;;
899 -includedir | --includedir | --includedi | --included | --include \
900 | --includ | --inclu | --incl | --inc)
901 ac_prev=includedir ;;
902 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
903 | --includ=* | --inclu=* | --incl=* | --inc=*)
904 includedir=$ac_optarg ;;
906 -infodir | --infodir | --infodi | --infod | --info | --inf)
908 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
909 infodir=$ac_optarg ;;
911 -libdir | --libdir | --libdi | --libd)
913 -libdir=* | --libdir=* | --libdi=* | --libd=*)
916 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
917 | --libexe | --libex | --libe)
918 ac_prev=libexecdir ;;
919 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
920 | --libexe=* | --libex=* | --libe=*)
921 libexecdir=$ac_optarg ;;
923 -localedir | --localedir | --localedi | --localed | --locale)
925 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
926 localedir=$ac_optarg ;;
928 -localstatedir | --localstatedir | --localstatedi | --localstated \
929 | --localstate | --localstat | --localsta | --localst | --locals)
930 ac_prev=localstatedir ;;
931 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
932 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
933 localstatedir=$ac_optarg ;;
935 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
937 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
941 # Obsolete; use --without-fp.
944 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
945 | --no-cr | --no-c | -n)
948 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
949 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
952 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
953 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
954 | --oldin | --oldi | --old | --ol | --o)
955 ac_prev=oldincludedir ;;
956 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
957 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
958 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
959 oldincludedir=$ac_optarg ;;
961 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
963 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
966 -program-prefix | --program-prefix | --program-prefi | --program-pref \
967 | --program-pre | --program-pr | --program-p)
968 ac_prev=program_prefix ;;
969 -program-prefix=* | --program-prefix=* | --program-prefi=* \
970 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
971 program_prefix=$ac_optarg ;;
973 -program-suffix | --program-suffix | --program-suffi | --program-suff \
974 | --program-suf | --program-su | --program-s)
975 ac_prev=program_suffix ;;
976 -program-suffix=* | --program-suffix=* | --program-suffi=* \
977 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
978 program_suffix=$ac_optarg ;;
980 -program-transform-name | --program-transform-name \
981 | --program-transform-nam | --program-transform-na \
982 | --program-transform-n | --program-transform- \
983 | --program-transform | --program-transfor \
984 | --program-transfo | --program-transf \
985 | --program-trans | --program-tran \
986 | --progr-tra | --program-tr | --program-t)
987 ac_prev=program_transform_name ;;
988 -program-transform-name=* | --program-transform-name=* \
989 | --program-transform-nam=* | --program-transform-na=* \
990 | --program-transform-n=* | --program-transform-=* \
991 | --program-transform=* | --program-transfor=* \
992 | --program-transfo=* | --program-transf=* \
993 | --program-trans=* | --program-tran=* \
994 | --progr-tra=* | --program-tr=* | --program-t=*)
995 program_transform_name=$ac_optarg ;;
997 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
999 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1000 pdfdir=$ac_optarg ;;
1002 -psdir | --psdir | --psdi | --psd | --ps)
1004 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1007 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1008 | -silent | --silent | --silen | --sile | --sil)
1011 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1013 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1015 sbindir=$ac_optarg ;;
1017 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1018 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1019 | --sharedst | --shareds | --shared | --share | --shar \
1021 ac_prev=sharedstatedir ;;
1022 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1023 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1024 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1026 sharedstatedir=$ac_optarg ;;
1028 -site | --site | --sit)
1030 -site=* | --site=* | --sit=*)
1033 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1035 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1036 srcdir=$ac_optarg ;;
1038 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1039 | --syscon | --sysco | --sysc | --sys | --sy)
1040 ac_prev=sysconfdir ;;
1041 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1042 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1043 sysconfdir=$ac_optarg ;;
1045 -target | --target | --targe | --targ | --tar | --ta | --t)
1046 ac_prev=target_alias ;;
1047 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1048 target_alias=$ac_optarg ;;
1050 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1053 -version | --version | --versio | --versi | --vers | -V)
1054 ac_init_version=: ;;
1057 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1058 # Reject names that are not valid shell variable names.
1059 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1060 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1061 { (exit 1); exit 1; }; }
1062 ac_useropt_orig=$ac_useropt
1063 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064 case $ac_user_opts in
1068 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1069 ac_unrecognized_sep=', ';;
1071 eval with_$ac_useropt=\$ac_optarg ;;
1073 -without-* | --without-*)
1074 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1075 # Reject names that are not valid shell variable names.
1076 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1077 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1078 { (exit 1); exit 1; }; }
1079 ac_useropt_orig=$ac_useropt
1080 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081 case $ac_user_opts in
1085 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1086 ac_unrecognized_sep=', ';;
1088 eval with_$ac_useropt=no ;;
1091 # Obsolete; use --with-x.
1094 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1095 | --x-incl | --x-inc | --x-in | --x-i)
1096 ac_prev=x_includes ;;
1097 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1098 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1099 x_includes=$ac_optarg ;;
1101 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1102 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1103 ac_prev=x_libraries ;;
1104 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1105 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1106 x_libraries=$ac_optarg ;;
1108 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1109 Try \`$0 --help' for more information." >&2
1110 { (exit 1); exit 1; }; }
1114 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1115 # Reject names that are not valid shell variable names.
1116 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1117 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1118 { (exit 1); exit 1; }; }
1119 eval $ac_envvar=\$ac_optarg
1120 export $ac_envvar ;;
1123 # FIXME: should be removed in autoconf 3.0.
1124 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1125 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1126 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1127 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1133 if test -n "$ac_prev"; then
1134 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1135 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1136 { (exit 1); exit 1; }; }
1139 if test -n "$ac_unrecognized_opts"; then
1140 case $enable_option_checking in
1142 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1143 { (exit 1); exit 1; }; } ;;
1144 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1148 # Check all directory arguments for consistency.
1149 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1150 datadir sysconfdir sharedstatedir localstatedir includedir \
1151 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1152 libdir localedir mandir
1154 eval ac_val=\$$ac_var
1155 # Remove trailing slashes.
1158 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1159 eval $ac_var=\$ac_val;;
1161 # Be sure to have absolute directory names.
1163 [\\/$]* | ?:[\\/]* ) continue;;
1164 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1166 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1167 { (exit 1); exit 1; }; }
1170 # There might be people who depend on the old broken behavior: `$host'
1171 # used to hold the argument of --host etc.
1172 # FIXME: To remove some day.
1175 target=$target_alias
1177 # FIXME: To remove some day.
1178 if test "x$host_alias" != x; then
1179 if test "x$build_alias" = x; then
1180 cross_compiling=maybe
1181 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1182 If a cross compiler is detected then cross compile mode will be used." >&2
1183 elif test "x$build_alias" != "x$host_alias"; then
1189 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1191 test "$silent" = yes && exec 6>/dev/null
1194 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1195 ac_ls_di=`ls -di .` &&
1196 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1197 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1198 { (exit 1); exit 1; }; }
1199 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1200 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1201 { (exit 1); exit 1; }; }
1204 # Find the source files, if location was not specified.
1205 if test -z "$srcdir"; then
1206 ac_srcdir_defaulted=yes
1207 # Try the directory containing this script, then the parent directory.
1208 ac_confdir=`$as_dirname -- "$as_myself" ||
1209 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1210 X"$as_myself" : 'X\(//\)[^/]' \| \
1211 X"$as_myself" : 'X\(//\)$' \| \
1212 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1213 $as_echo X"$as_myself" |
1214 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1232 if test ! -r "$srcdir/$ac_unique_file"; then
1236 ac_srcdir_defaulted=no
1238 if test ! -r "$srcdir/$ac_unique_file"; then
1239 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1240 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1241 { (exit 1); exit 1; }; }
1243 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1245 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1246 { (exit 1); exit 1; }; }
1248 # When building in place, set srcdir=.
1249 if test "$ac_abs_confdir" = "$ac_pwd"; then
1252 # Remove unnecessary trailing slashes from srcdir.
1253 # Double slashes in file names in object file debugging info
1254 # mess up M-x gdb in Emacs.
1256 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1258 for ac_var in $ac_precious_vars; do
1259 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1260 eval ac_env_${ac_var}_value=\$${ac_var}
1261 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1262 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1266 # Report the --help message.
1268 if test "$ac_init_help" = "long"; then
1269 # Omit some internal or obsolete options to make the list less imposing.
1270 # This message is too long to be a string in the A/UX 3.1 sh.
1272 \`configure' configures this package to adapt to many kinds of systems.
1274 Usage: $0 [OPTION]... [VAR=VALUE]...
1276 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1277 VAR=VALUE. See below for descriptions of some of the useful variables.
1279 Defaults for the options are specified in brackets.
1282 -h, --help display this help and exit
1283 --help=short display options specific to this package
1284 --help=recursive display the short help of all the included packages
1285 -V, --version display version information and exit
1286 -q, --quiet, --silent do not print \`checking...' messages
1287 --cache-file=FILE cache test results in FILE [disabled]
1288 -C, --config-cache alias for \`--cache-file=config.cache'
1289 -n, --no-create do not create output files
1290 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1292 Installation directories:
1293 --prefix=PREFIX install architecture-independent files in PREFIX
1294 [$ac_default_prefix]
1295 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1298 By default, \`make install' will install all the files in
1299 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1300 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1301 for instance \`--prefix=\$HOME'.
1303 For better control, use the options below.
1305 Fine tuning of the installation directories:
1306 --bindir=DIR user executables [EPREFIX/bin]
1307 --sbindir=DIR system admin executables [EPREFIX/sbin]
1308 --libexecdir=DIR program executables [EPREFIX/libexec]
1309 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1310 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1311 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1312 --libdir=DIR object code libraries [EPREFIX/lib]
1313 --includedir=DIR C header files [PREFIX/include]
1314 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1315 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1316 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1317 --infodir=DIR info documentation [DATAROOTDIR/info]
1318 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1319 --mandir=DIR man documentation [DATAROOTDIR/man]
1320 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1321 --htmldir=DIR html documentation [DOCDIR]
1322 --dvidir=DIR dvi documentation [DOCDIR]
1323 --pdfdir=DIR pdf documentation [DOCDIR]
1324 --psdir=DIR ps documentation [DOCDIR]
1330 --program-prefix=PREFIX prepend PREFIX to installed program names
1331 --program-suffix=SUFFIX append SUFFIX to installed program names
1332 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1336 if test -n "$ac_init_help"; then
1341 --disable-option-checking ignore unrecognized --enable/--with options
1342 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1343 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1344 --enable-maintainer-mode enable make rules and dependencies not useful
1345 (and sometimes confusing) to the casual installer
1346 --disable-dependency-tracking speeds up one-time build
1347 --enable-dependency-tracking do not reject slow dependency extractors
1349 Some influential environment variables:
1350 CC C compiler command
1351 CFLAGS C compiler flags
1352 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1353 nonstandard directory <lib dir>
1354 LIBS libraries to pass to the linker, e.g. -l<library>
1355 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1356 you have headers in a nonstandard directory <include dir>
1358 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1359 the first program found out of: `bison -y', `byacc', `yacc'.
1360 YFLAGS The list of arguments that will be passed by default to $YACC.
1361 This script will default YFLAGS to the empty string to avoid a
1362 default value of `-d' given by some make applications.
1363 PKG_CONFIG path to pkg-config utility
1364 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1365 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1367 Use these variables to override the choices made by `configure' or to help
1368 it to find libraries and programs with nonstandard names/locations.
1374 if test "$ac_init_help" = "recursive"; then
1375 # If there are subdirs, report their specific --help.
1376 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1377 test -d "$ac_dir" ||
1378 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1383 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1385 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1386 # A ".." for each directory in $ac_dir_suffix.
1387 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1388 case $ac_top_builddir_sub in
1389 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1390 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1393 ac_abs_top_builddir=$ac_pwd
1394 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1395 # for backward compatibility:
1396 ac_top_builddir=$ac_top_build_prefix
1399 .) # We are building in place.
1401 ac_top_srcdir=$ac_top_builddir_sub
1402 ac_abs_top_srcdir=$ac_pwd ;;
1403 [\\/]* | ?:[\\/]* ) # Absolute name.
1404 ac_srcdir=$srcdir$ac_dir_suffix;
1405 ac_top_srcdir=$srcdir
1406 ac_abs_top_srcdir=$srcdir ;;
1408 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1409 ac_top_srcdir=$ac_top_build_prefix$srcdir
1410 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1412 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1414 cd "$ac_dir" || { ac_status=$?; continue; }
1415 # Check for guested configure.
1416 if test -f "$ac_srcdir/configure.gnu"; then
1418 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1419 elif test -f "$ac_srcdir/configure"; then
1421 $SHELL "$ac_srcdir/configure" --help=recursive
1423 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1425 cd "$ac_pwd" || { ac_status=$?; break; }
1429 test -n "$ac_init_help" && exit $ac_status
1430 if $ac_init_version; then
1433 generated by GNU Autoconf 2.63
1435 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1436 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1437 This configure script is free software; the Free Software Foundation
1438 gives unlimited permission to copy, distribute and modify it.
1442 cat >config.log <<_ACEOF
1443 This file contains any messages produced by compilers while
1444 running configure, to aid debugging if configure makes a mistake.
1446 It was created by $as_me, which was
1447 generated by GNU Autoconf 2.63. Invocation command line was
1459 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1460 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1461 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1462 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1463 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1465 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1466 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1468 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1469 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1470 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1471 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1472 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1473 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1474 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1482 test -z "$as_dir" && as_dir=.
1483 $as_echo "PATH: $as_dir"
1499 # Keep a trace of the command line.
1500 # Strip out --no-create and --no-recursion so they do not pile up.
1501 # Strip out --silent because we don't want to record it for future runs.
1502 # Also quote any args containing shell meta-characters.
1503 # Make two passes to allow for proper duplicate-argument suppression.
1507 ac_must_keep_next=false
1513 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1514 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1515 | -silent | --silent | --silen | --sile | --sil)
1518 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1521 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1523 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1524 if test $ac_must_keep_next = true; then
1525 ac_must_keep_next=false # Got value, back to normal.
1528 *=* | --config-cache | -C | -disable-* | --disable-* \
1529 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1530 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1531 | -with-* | --with-* | -without-* | --without-* | --x)
1532 case "$ac_configure_args0 " in
1533 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1536 -* ) ac_must_keep_next=true ;;
1539 ac_configure_args="$ac_configure_args '$ac_arg'"
1544 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1545 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1547 # When interrupted or exit'd, cleanup temporary files, and complete
1548 # config.log. We remove comments because anyway the quotes in there
1549 # would cause problems or look ugly.
1550 # WARNING: Use '\'' to represent an apostrophe within the trap.
1551 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1552 trap 'exit_status=$?
1553 # Save into config.log some information that might help in debugging.
1558 ## ---------------- ##
1559 ## Cache variables. ##
1560 ## ---------------- ##
1563 # The following way of writing the cache mishandles newlines in values,
1565 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1566 eval ac_val=\$$ac_var
1570 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1571 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1574 _ | IFS | as_nl) ;; #(
1575 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1576 *) $as_unset $ac_var ;;
1581 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1582 *${as_nl}ac_space=\ *)
1584 "s/'\''/'\''\\\\'\'''\''/g;
1585 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1588 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1596 ## ----------------- ##
1597 ## Output variables. ##
1598 ## ----------------- ##
1601 for ac_var in $ac_subst_vars
1603 eval ac_val=\$$ac_var
1605 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1607 $as_echo "$ac_var='\''$ac_val'\''"
1611 if test -n "$ac_subst_files"; then
1613 ## ------------------- ##
1614 ## File substitutions. ##
1615 ## ------------------- ##
1618 for ac_var in $ac_subst_files
1620 eval ac_val=\$$ac_var
1622 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1624 $as_echo "$ac_var='\''$ac_val'\''"
1629 if test -s confdefs.h; then
1639 test "$ac_signal" != 0 &&
1640 $as_echo "$as_me: caught signal $ac_signal"
1641 $as_echo "$as_me: exit $exit_status"
1643 rm -f core *.core core.conftest.* &&
1644 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1647 for ac_signal in 1 2 13 15; do
1648 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1652 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1653 rm -f -r conftest* confdefs.h
1655 # Predefined preprocessor variables.
1657 cat >>confdefs.h <<_ACEOF
1658 #define PACKAGE_NAME "$PACKAGE_NAME"
1662 cat >>confdefs.h <<_ACEOF
1663 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1667 cat >>confdefs.h <<_ACEOF
1668 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1672 cat >>confdefs.h <<_ACEOF
1673 #define PACKAGE_STRING "$PACKAGE_STRING"
1677 cat >>confdefs.h <<_ACEOF
1678 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1682 # Let the site file select an alternate cache file if it wants to.
1683 # Prefer an explicitly selected file to automatically selected ones.
1686 if test -n "$CONFIG_SITE"; then
1687 ac_site_file1=$CONFIG_SITE
1688 elif test "x$prefix" != xNONE; then
1689 ac_site_file1=$prefix/share/config.site
1690 ac_site_file2=$prefix/etc/config.site
1692 ac_site_file1=$ac_default_prefix/share/config.site
1693 ac_site_file2=$ac_default_prefix/etc/config.site
1695 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1697 test "x$ac_site_file" = xNONE && continue
1698 if test -r "$ac_site_file"; then
1699 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1700 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1701 sed 's/^/| /' "$ac_site_file" >&5
1706 if test -r "$cache_file"; then
1707 # Some versions of bash will fail to source /dev/null (special
1708 # files actually), so we avoid doing that.
1709 if test -f "$cache_file"; then
1710 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1711 $as_echo "$as_me: loading cache $cache_file" >&6;}
1713 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1714 *) . "./$cache_file";;
1718 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1719 $as_echo "$as_me: creating cache $cache_file" >&6;}
1723 # Check that the precious variables saved in the cache have kept the same
1725 ac_cache_corrupted=false
1726 for ac_var in $ac_precious_vars; do
1727 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1728 eval ac_new_set=\$ac_env_${ac_var}_set
1729 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1730 eval ac_new_val=\$ac_env_${ac_var}_value
1731 case $ac_old_set,$ac_new_set in
1733 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1734 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1735 ac_cache_corrupted=: ;;
1737 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1738 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1739 ac_cache_corrupted=: ;;
1742 if test "x$ac_old_val" != "x$ac_new_val"; then
1743 # differences in whitespace do not lead to failure.
1744 ac_old_val_w=`echo x $ac_old_val`
1745 ac_new_val_w=`echo x $ac_new_val`
1746 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1747 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1748 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1749 ac_cache_corrupted=:
1751 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1752 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1753 eval $ac_var=\$ac_old_val
1755 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1756 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1757 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1758 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1761 # Pass precious variables to config.status.
1762 if test "$ac_new_set" = set; then
1764 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1765 *) ac_arg=$ac_var=$ac_new_val ;;
1767 case " $ac_configure_args " in
1768 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1769 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1773 if $ac_cache_corrupted; then
1774 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1775 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1776 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1777 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1778 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1779 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1780 { (exit 1); exit 1; }; }
1800 ac_cpp='$CPP $CPPFLAGS'
1801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1806 ac_config_headers="$ac_config_headers config.h"
1808 am__api_version="1.9"
1810 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1811 if test -f "$ac_dir/install-sh"; then
1813 ac_install_sh="$ac_aux_dir/install-sh -c"
1815 elif test -f "$ac_dir/install.sh"; then
1817 ac_install_sh="$ac_aux_dir/install.sh -c"
1819 elif test -f "$ac_dir/shtool"; then
1821 ac_install_sh="$ac_aux_dir/shtool install -c"
1825 if test -z "$ac_aux_dir"; then
1826 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1827 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1828 { (exit 1); exit 1; }; }
1831 # These three variables are undocumented and unsupported,
1832 # and are intended to be withdrawn in a future Autoconf release.
1833 # They can cause serious problems if a builder's source tree is in a directory
1834 # whose full name contains unusual characters.
1835 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1836 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1837 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1840 # Find a good install program. We prefer a C program (faster),
1841 # so one script is as good as another. But avoid the broken or
1842 # incompatible versions:
1843 # SysV /etc/install, /usr/sbin/install
1844 # SunOS /usr/etc/install
1845 # IRIX /sbin/install
1847 # AmigaOS /C/install, which installs bootblocks on floppy discs
1848 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1849 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1850 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1851 # OS/2's system install, which has a completely different semantic
1852 # ./install, which can be erroneously created by make from ./install.sh.
1853 # Reject install programs that cannot install multiple files.
1854 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1855 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1856 if test -z "$INSTALL"; then
1857 if test "${ac_cv_path_install+set}" = set; then
1858 $as_echo_n "(cached) " >&6
1860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1864 test -z "$as_dir" && as_dir=.
1865 # Account for people who put trailing slashes in PATH elements.
1867 ./ | .// | /cC/* | \
1868 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1869 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1872 # OSF1 and SCO ODT 3.0 have their own names for install.
1873 # Don't use installbsd from OSF since it installs stuff as root
1875 for ac_prog in ginstall scoinst install; do
1876 for ac_exec_ext in '' $ac_executable_extensions; do
1877 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1878 if test $ac_prog = install &&
1879 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1880 # AIX install. It has an incompatible calling convention.
1882 elif test $ac_prog = install &&
1883 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1884 # program-specific install script used by HP pwplus--don't use.
1887 rm -rf conftest.one conftest.two conftest.dir
1888 echo one > conftest.one
1889 echo two > conftest.two
1891 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1892 test -s conftest.one && test -s conftest.two &&
1893 test -s conftest.dir/conftest.one &&
1894 test -s conftest.dir/conftest.two
1896 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1909 rm -rf conftest.one conftest.two conftest.dir
1912 if test "${ac_cv_path_install+set}" = set; then
1913 INSTALL=$ac_cv_path_install
1915 # As a last resort, use the slow shell script. Don't cache a
1916 # value for INSTALL within a source directory, because that will
1917 # break other packages using the cache if that directory is
1918 # removed, or if the value is a relative name.
1919 INSTALL=$ac_install_sh
1922 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1923 $as_echo "$INSTALL" >&6; }
1925 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1926 # It thinks the first close brace ends the variable substitution.
1927 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1929 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1931 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1933 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1934 $as_echo_n "checking whether build environment is sane... " >&6; }
1937 echo timestamp > conftest.file
1938 # Do `set' in a subshell so we don't clobber the current shell's
1939 # arguments. Must try -L first in case configure is actually a
1940 # symlink; some systems play weird games with the mod time of symlinks
1941 # (eg FreeBSD returns the mod time of the symlink's containing
1944 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1945 if test "$*" = "X"; then
1947 set X `ls -t $srcdir/configure conftest.file`
1950 if test "$*" != "X $srcdir/configure conftest.file" \
1951 && test "$*" != "X conftest.file $srcdir/configure"; then
1953 # If neither matched, then we have a broken ls. This can happen
1954 # if, for instance, CONFIG_SHELL is bash and it inherits a
1955 # broken ls alias from the environment. This has actually
1956 # happened. Such a system could not be considered "sane".
1957 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1958 alias in your environment" >&5
1959 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1960 alias in your environment" >&2;}
1961 { (exit 1); exit 1; }; }
1964 test "$2" = conftest.file
1970 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1971 Check your system clock" >&5
1972 $as_echo "$as_me: error: newly created file is older than distributed files!
1973 Check your system clock" >&2;}
1974 { (exit 1); exit 1; }; }
1976 { $as_echo "$as_me:$LINENO: result: yes" >&5
1977 $as_echo "yes" >&6; }
1978 test "$program_prefix" != NONE &&
1979 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1980 # Use a double $ so make ignores it.
1981 test "$program_suffix" != NONE &&
1982 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1983 # Double any \ or $.
1984 # By default was `s,x,x', remove it if useless.
1985 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1986 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1988 # expand $ac_aux_dir to an absolute path
1989 am_aux_dir=`cd $ac_aux_dir && pwd`
1991 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1992 # Use eval to expand $SHELL
1993 if eval "$MISSING --run true"; then
1994 am_missing_run="$MISSING --run "
1997 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1998 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2001 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2002 # We used to keeping the `.' as first argument, in order to
2003 # allow $(mkdir_p) to be used without argument. As in
2004 # $(mkdir_p) $(somedir)
2005 # where $(somedir) is conditionally defined. However this is wrong
2007 # 1. if the package is installed by a user who cannot write `.'
2008 # make install will fail,
2009 # 2. the above comment should most certainly read
2010 # $(mkdir_p) $(DESTDIR)$(somedir)
2011 # so it does not work when $(somedir) is undefined and
2012 # $(DESTDIR) is not.
2013 # To support the latter case, we have to write
2014 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2015 # so the `.' trick is pointless.
2016 mkdir_p='mkdir -p --'
2018 # On NextStep and OpenStep, the `mkdir' command does not
2019 # recognize any option. It will interpret all options as
2020 # directories to create, and then abort because `.' already
2022 for d in ./-p ./--version;
2024 test -d $d && rmdir $d
2026 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2027 if test -f "$ac_aux_dir/mkinstalldirs"; then
2028 mkdir_p='$(mkinstalldirs)'
2030 mkdir_p='$(install_sh) -d'
2034 for ac_prog in gawk mawk nawk awk
2036 # Extract the first word of "$ac_prog", so it can be a program name with args.
2037 set dummy $ac_prog; ac_word=$2
2038 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2039 $as_echo_n "checking for $ac_word... " >&6; }
2040 if test "${ac_cv_prog_AWK+set}" = set; then
2041 $as_echo_n "(cached) " >&6
2043 if test -n "$AWK"; then
2044 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2050 test -z "$as_dir" && as_dir=.
2051 for ac_exec_ext in '' $ac_executable_extensions; do
2052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2053 ac_cv_prog_AWK="$ac_prog"
2054 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2064 if test -n "$AWK"; then
2065 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2066 $as_echo "$AWK" >&6; }
2068 { $as_echo "$as_me:$LINENO: result: no" >&5
2069 $as_echo "no" >&6; }
2073 test -n "$AWK" && break
2076 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2077 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2079 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2080 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2081 $as_echo_n "(cached) " >&6
2083 cat >conftest.make <<\_ACEOF
2086 @echo '@@@%%%=$(MAKE)=@@@%%%'
2088 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2089 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2091 eval ac_cv_prog_make_${ac_make}_set=yes;;
2093 eval ac_cv_prog_make_${ac_make}_set=no;;
2097 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2098 { $as_echo "$as_me:$LINENO: result: yes" >&5
2099 $as_echo "yes" >&6; }
2102 { $as_echo "$as_me:$LINENO: result: no" >&5
2103 $as_echo "no" >&6; }
2104 SET_MAKE="MAKE=${MAKE-make}"
2107 rm -rf .tst 2>/dev/null
2108 mkdir .tst 2>/dev/null
2109 if test -d .tst; then
2114 rmdir .tst 2>/dev/null
2116 # test to see if srcdir already configured
2117 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2118 test -f $srcdir/config.status; then
2119 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2120 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2121 { (exit 1); exit 1; }; }
2124 # test whether we have cygpath
2125 if test -z "$CYGPATH_W"; then
2126 if (cygpath --version) >/dev/null 2>/dev/null; then
2127 CYGPATH_W='cygpath -w'
2134 # Define the identity of the package.
2139 cat >>confdefs.h <<_ACEOF
2140 #define PACKAGE "$PACKAGE"
2144 cat >>confdefs.h <<_ACEOF
2145 #define VERSION "$VERSION"
2148 # Some tools Automake needs.
2150 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2153 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2156 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2159 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2162 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2164 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2166 # Installed binaries are usually stripped using `strip' when the user
2167 # run `make install-strip'. However `strip' might not be the right
2168 # tool to use in cross-compilation environments, therefore Automake
2169 # will honor the `STRIP' environment variable to overrule this program.
2170 if test "$cross_compiling" != no; then
2171 if test -n "$ac_tool_prefix"; then
2172 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2173 set dummy ${ac_tool_prefix}strip; ac_word=$2
2174 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2175 $as_echo_n "checking for $ac_word... " >&6; }
2176 if test "${ac_cv_prog_STRIP+set}" = set; then
2177 $as_echo_n "(cached) " >&6
2179 if test -n "$STRIP"; then
2180 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2186 test -z "$as_dir" && as_dir=.
2187 for ac_exec_ext in '' $ac_executable_extensions; do
2188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2189 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2190 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2199 STRIP=$ac_cv_prog_STRIP
2200 if test -n "$STRIP"; then
2201 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2202 $as_echo "$STRIP" >&6; }
2204 { $as_echo "$as_me:$LINENO: result: no" >&5
2205 $as_echo "no" >&6; }
2210 if test -z "$ac_cv_prog_STRIP"; then
2212 # Extract the first word of "strip", so it can be a program name with args.
2213 set dummy strip; ac_word=$2
2214 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2215 $as_echo_n "checking for $ac_word... " >&6; }
2216 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2217 $as_echo_n "(cached) " >&6
2219 if test -n "$ac_ct_STRIP"; then
2220 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2226 test -z "$as_dir" && as_dir=.
2227 for ac_exec_ext in '' $ac_executable_extensions; do
2228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2229 ac_cv_prog_ac_ct_STRIP="strip"
2230 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2239 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2240 if test -n "$ac_ct_STRIP"; then
2241 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2242 $as_echo "$ac_ct_STRIP" >&6; }
2244 { $as_echo "$as_me:$LINENO: result: no" >&5
2245 $as_echo "no" >&6; }
2248 if test "x$ac_ct_STRIP" = x; then
2251 case $cross_compiling:$ac_tool_warned in
2253 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2254 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2255 ac_tool_warned=yes ;;
2260 STRIP="$ac_cv_prog_STRIP"
2264 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2266 # We need awk for the "check" target. The system "awk" is bad on
2268 # Always define AMTAR for backward compatibility.
2270 AMTAR=${AMTAR-"${am_missing_run}tar"}
2272 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2278 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2279 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2280 # Check whether --enable-maintainer-mode was given.
2281 if test "${enable_maintainer_mode+set}" = set; then
2282 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2284 USE_MAINTAINER_MODE=no
2287 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2288 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2291 if test $USE_MAINTAINER_MODE = yes; then
2292 MAINTAINER_MODE_TRUE=
2293 MAINTAINER_MODE_FALSE='#'
2295 MAINTAINER_MODE_TRUE='#'
2296 MAINTAINER_MODE_FALSE=
2299 MAINT=$MAINTAINER_MODE_TRUE
2308 if test -f ../NOINST_GOB; then
2317 if test -f ../NOINST_GOB ; then
2318 { $as_echo "$as_me:$LINENO: result: *** NOT Going to install GOB ***" >&5
2319 $as_echo "*** NOT Going to install GOB ***" >&6; }
2320 SUBDIRS="src examples"
2324 SUBDIRS="src examples doc"
2332 DEPDIR="${am__leading_dot}deps"
2334 ac_config_commands="$ac_config_commands depfiles"
2337 am_make=${MAKE-make}
2338 cat > confinc << 'END'
2343 # If we don't find an include directive, just comment out the code.
2344 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2345 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2349 # First try GNU make style include.
2350 echo "include confinc" > confmf
2351 # We grep out `Entering directory' and `Leaving directory'
2352 # messages which can occur if `w' ends up in MAKEFLAGS.
2353 # In particular we don't look at `^make:' because GNU make might
2354 # be invoked under some other name (usually "gmake"), in which
2355 # case it prints its new name instead of `make'.
2356 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2361 # Now try BSD make style include.
2362 if test "$am__include" = "#"; then
2363 echo '.include "confinc"' > confmf
2364 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2365 am__include=.include
2372 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2373 $as_echo "$_am_result" >&6; }
2374 rm -f confinc confmf
2376 # Check whether --enable-dependency-tracking was given.
2377 if test "${enable_dependency_tracking+set}" = set; then
2378 enableval=$enable_dependency_tracking;
2381 if test "x$enable_dependency_tracking" != xno; then
2382 am_depcomp="$ac_aux_dir/depcomp"
2387 if test "x$enable_dependency_tracking" != xno; then
2398 ac_cpp='$CPP $CPPFLAGS'
2399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2402 if test -n "$ac_tool_prefix"; then
2403 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2404 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2405 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2406 $as_echo_n "checking for $ac_word... " >&6; }
2407 if test "${ac_cv_prog_CC+set}" = set; then
2408 $as_echo_n "(cached) " >&6
2410 if test -n "$CC"; then
2411 ac_cv_prog_CC="$CC" # Let the user override the test.
2413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2417 test -z "$as_dir" && as_dir=.
2418 for ac_exec_ext in '' $ac_executable_extensions; do
2419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2420 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2421 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2431 if test -n "$CC"; then
2432 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2433 $as_echo "$CC" >&6; }
2435 { $as_echo "$as_me:$LINENO: result: no" >&5
2436 $as_echo "no" >&6; }
2441 if test -z "$ac_cv_prog_CC"; then
2443 # Extract the first word of "gcc", so it can be a program name with args.
2444 set dummy gcc; ac_word=$2
2445 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2446 $as_echo_n "checking for $ac_word... " >&6; }
2447 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2448 $as_echo_n "(cached) " >&6
2450 if test -n "$ac_ct_CC"; then
2451 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2457 test -z "$as_dir" && as_dir=.
2458 for ac_exec_ext in '' $ac_executable_extensions; do
2459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2460 ac_cv_prog_ac_ct_CC="gcc"
2461 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2470 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2471 if test -n "$ac_ct_CC"; then
2472 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2473 $as_echo "$ac_ct_CC" >&6; }
2475 { $as_echo "$as_me:$LINENO: result: no" >&5
2476 $as_echo "no" >&6; }
2479 if test "x$ac_ct_CC" = x; then
2482 case $cross_compiling:$ac_tool_warned in
2484 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2486 ac_tool_warned=yes ;;
2494 if test -z "$CC"; then
2495 if test -n "$ac_tool_prefix"; then
2496 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2497 set dummy ${ac_tool_prefix}cc; ac_word=$2
2498 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2499 $as_echo_n "checking for $ac_word... " >&6; }
2500 if test "${ac_cv_prog_CC+set}" = set; then
2501 $as_echo_n "(cached) " >&6
2503 if test -n "$CC"; then
2504 ac_cv_prog_CC="$CC" # Let the user override the test.
2506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2510 test -z "$as_dir" && as_dir=.
2511 for ac_exec_ext in '' $ac_executable_extensions; do
2512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2513 ac_cv_prog_CC="${ac_tool_prefix}cc"
2514 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2524 if test -n "$CC"; then
2525 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2526 $as_echo "$CC" >&6; }
2528 { $as_echo "$as_me:$LINENO: result: no" >&5
2529 $as_echo "no" >&6; }
2535 if test -z "$CC"; then
2536 # Extract the first word of "cc", so it can be a program name with args.
2537 set dummy cc; ac_word=$2
2538 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2539 $as_echo_n "checking for $ac_word... " >&6; }
2540 if test "${ac_cv_prog_CC+set}" = set; then
2541 $as_echo_n "(cached) " >&6
2543 if test -n "$CC"; then
2544 ac_cv_prog_CC="$CC" # Let the user override the test.
2547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2551 test -z "$as_dir" && as_dir=.
2552 for ac_exec_ext in '' $ac_executable_extensions; do
2553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2554 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2555 ac_prog_rejected=yes
2559 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2566 if test $ac_prog_rejected = yes; then
2567 # We found a bogon in the path, so make sure we never use it.
2568 set dummy $ac_cv_prog_CC
2570 if test $# != 0; then
2571 # We chose a different compiler from the bogus one.
2572 # However, it has the same basename, so the bogon will be chosen
2573 # first if we set CC to just the basename; use the full file name.
2575 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2581 if test -n "$CC"; then
2582 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2583 $as_echo "$CC" >&6; }
2585 { $as_echo "$as_me:$LINENO: result: no" >&5
2586 $as_echo "no" >&6; }
2591 if test -z "$CC"; then
2592 if test -n "$ac_tool_prefix"; then
2593 for ac_prog in cl.exe
2595 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2596 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2597 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2598 $as_echo_n "checking for $ac_word... " >&6; }
2599 if test "${ac_cv_prog_CC+set}" = set; then
2600 $as_echo_n "(cached) " >&6
2602 if test -n "$CC"; then
2603 ac_cv_prog_CC="$CC" # Let the user override the test.
2605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2609 test -z "$as_dir" && as_dir=.
2610 for ac_exec_ext in '' $ac_executable_extensions; do
2611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2612 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2613 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2623 if test -n "$CC"; then
2624 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2625 $as_echo "$CC" >&6; }
2627 { $as_echo "$as_me:$LINENO: result: no" >&5
2628 $as_echo "no" >&6; }
2632 test -n "$CC" && break
2635 if test -z "$CC"; then
2637 for ac_prog in cl.exe
2639 # Extract the first word of "$ac_prog", so it can be a program name with args.
2640 set dummy $ac_prog; ac_word=$2
2641 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2642 $as_echo_n "checking for $ac_word... " >&6; }
2643 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2644 $as_echo_n "(cached) " >&6
2646 if test -n "$ac_ct_CC"; then
2647 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2653 test -z "$as_dir" && as_dir=.
2654 for ac_exec_ext in '' $ac_executable_extensions; do
2655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2656 ac_cv_prog_ac_ct_CC="$ac_prog"
2657 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2666 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2667 if test -n "$ac_ct_CC"; then
2668 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2669 $as_echo "$ac_ct_CC" >&6; }
2671 { $as_echo "$as_me:$LINENO: result: no" >&5
2672 $as_echo "no" >&6; }
2676 test -n "$ac_ct_CC" && break
2679 if test "x$ac_ct_CC" = x; then
2682 case $cross_compiling:$ac_tool_warned in
2684 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2686 ac_tool_warned=yes ;;
2695 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2697 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2698 See \`config.log' for more details." >&5
2699 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2700 See \`config.log' for more details." >&2;}
2701 { (exit 1); exit 1; }; }; }
2703 # Provide some information about the compiler.
2704 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2707 { (ac_try="$ac_compiler --version >&5"
2709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2710 *) ac_try_echo=$ac_try;;
2712 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2713 $as_echo "$ac_try_echo") >&5
2714 (eval "$ac_compiler --version >&5") 2>&5
2716 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2717 (exit $ac_status); }
2718 { (ac_try="$ac_compiler -v >&5"
2720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2721 *) ac_try_echo=$ac_try;;
2723 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2724 $as_echo "$ac_try_echo") >&5
2725 (eval "$ac_compiler -v >&5") 2>&5
2727 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); }
2729 { (ac_try="$ac_compiler -V >&5"
2731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2734 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2735 $as_echo "$ac_try_echo") >&5
2736 (eval "$ac_compiler -V >&5") 2>&5
2738 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739 (exit $ac_status); }
2741 cat >conftest.$ac_ext <<_ACEOF
2744 cat confdefs.h >>conftest.$ac_ext
2745 cat >>conftest.$ac_ext <<_ACEOF
2746 /* end confdefs.h. */
2756 ac_clean_files_save=$ac_clean_files
2757 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2758 # Try to create an executable without -o first, disregard a.out.
2759 # It will help us diagnose broken compilers, and finding out an intuition
2761 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2762 $as_echo_n "checking for C compiler default output file name... " >&6; }
2763 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2765 # The possible output files:
2766 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2769 for ac_file in $ac_files
2772 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2773 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2778 if { (ac_try="$ac_link_default"
2780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2781 *) ac_try_echo=$ac_try;;
2783 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2784 $as_echo "$ac_try_echo") >&5
2785 (eval "$ac_link_default") 2>&5
2787 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }; then
2789 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2790 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2791 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2792 # so that the user can short-circuit this test for compilers unknown to
2794 for ac_file in $ac_files ''
2796 test -f "$ac_file" || continue
2798 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2801 # We found the default executable, but exeext='' is most
2805 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2807 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2809 # We set ac_cv_exeext here because the later test for it is not
2810 # safe: cross compilers may not add the suffix if given an `-o'
2811 # argument, so we may need to know it at that point already.
2812 # Even if this section looks crufty: it has the advantage of
2819 test "$ac_cv_exeext" = no && ac_cv_exeext=
2825 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2826 $as_echo "$ac_file" >&6; }
2827 if test -z "$ac_file"; then
2828 $as_echo "$as_me: failed program was:" >&5
2829 sed 's/^/| /' conftest.$ac_ext >&5
2831 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2833 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2834 See \`config.log' for more details." >&5
2835 $as_echo "$as_me: error: C compiler cannot create executables
2836 See \`config.log' for more details." >&2;}
2837 { (exit 77); exit 77; }; }; }
2840 ac_exeext=$ac_cv_exeext
2842 # Check that the compiler produces executables we can run. If not, either
2843 # the compiler is broken, or we cross compile.
2844 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2845 $as_echo_n "checking whether the C compiler works... " >&6; }
2846 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2847 # If not cross compiling, check that we can run a simple program.
2848 if test "$cross_compiling" != yes; then
2849 if { ac_try='./$ac_file'
2850 { (case "(($ac_try" in
2851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2852 *) ac_try_echo=$ac_try;;
2854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2855 $as_echo "$ac_try_echo") >&5
2856 (eval "$ac_try") 2>&5
2858 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859 (exit $ac_status); }; }; then
2862 if test "$cross_compiling" = maybe; then
2865 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2866 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2867 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2868 If you meant to cross compile, use \`--host'.
2869 See \`config.log' for more details." >&5
2870 $as_echo "$as_me: error: cannot run C compiled programs.
2871 If you meant to cross compile, use \`--host'.
2872 See \`config.log' for more details." >&2;}
2873 { (exit 1); exit 1; }; }; }
2877 { $as_echo "$as_me:$LINENO: result: yes" >&5
2878 $as_echo "yes" >&6; }
2880 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2881 ac_clean_files=$ac_clean_files_save
2882 # Check that the compiler produces executables we can run. If not, either
2883 # the compiler is broken, or we cross compile.
2884 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2885 $as_echo_n "checking whether we are cross compiling... " >&6; }
2886 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2887 $as_echo "$cross_compiling" >&6; }
2889 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2890 $as_echo_n "checking for suffix of executables... " >&6; }
2891 if { (ac_try="$ac_link"
2893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2894 *) ac_try_echo=$ac_try;;
2896 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2897 $as_echo "$ac_try_echo") >&5
2898 (eval "$ac_link") 2>&5
2900 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); }; then
2902 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2903 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2904 # work properly (i.e., refer to `conftest.exe'), while it won't with
2906 for ac_file in conftest.exe conftest conftest.*; do
2907 test -f "$ac_file" || continue
2909 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2910 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2916 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2917 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2918 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2919 See \`config.log' for more details." >&5
2920 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2921 See \`config.log' for more details." >&2;}
2922 { (exit 1); exit 1; }; }; }
2925 rm -f conftest$ac_cv_exeext
2926 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2927 $as_echo "$ac_cv_exeext" >&6; }
2929 rm -f conftest.$ac_ext
2930 EXEEXT=$ac_cv_exeext
2932 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2933 $as_echo_n "checking for suffix of object files... " >&6; }
2934 if test "${ac_cv_objext+set}" = set; then
2935 $as_echo_n "(cached) " >&6
2937 cat >conftest.$ac_ext <<_ACEOF
2940 cat confdefs.h >>conftest.$ac_ext
2941 cat >>conftest.$ac_ext <<_ACEOF
2942 /* end confdefs.h. */
2952 rm -f conftest.o conftest.obj
2953 if { (ac_try="$ac_compile"
2955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956 *) ac_try_echo=$ac_try;;
2958 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2959 $as_echo "$ac_try_echo") >&5
2960 (eval "$ac_compile") 2>&5
2962 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 (exit $ac_status); }; then
2964 for ac_file in conftest.o conftest.obj conftest.*; do
2965 test -f "$ac_file" || continue;
2967 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2968 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2973 $as_echo "$as_me: failed program was:" >&5
2974 sed 's/^/| /' conftest.$ac_ext >&5
2976 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2978 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2979 See \`config.log' for more details." >&5
2980 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2981 See \`config.log' for more details." >&2;}
2982 { (exit 1); exit 1; }; }; }
2985 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2987 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2988 $as_echo "$ac_cv_objext" >&6; }
2989 OBJEXT=$ac_cv_objext
2991 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2992 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2993 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2994 $as_echo_n "(cached) " >&6
2996 cat >conftest.$ac_ext <<_ACEOF
2999 cat confdefs.h >>conftest.$ac_ext
3000 cat >>conftest.$ac_ext <<_ACEOF
3001 /* end confdefs.h. */
3014 rm -f conftest.$ac_objext
3015 if { (ac_try="$ac_compile"
3017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3018 *) ac_try_echo=$ac_try;;
3020 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3021 $as_echo "$ac_try_echo") >&5
3022 (eval "$ac_compile") 2>conftest.er1
3024 grep -v '^ *+' conftest.er1 >conftest.err
3026 cat conftest.err >&5
3027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028 (exit $ac_status); } && {
3029 test -z "$ac_c_werror_flag" ||
3030 test ! -s conftest.err
3031 } && test -s conftest.$ac_objext; then
3034 $as_echo "$as_me: failed program was:" >&5
3035 sed 's/^/| /' conftest.$ac_ext >&5
3040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3041 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3044 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3045 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3046 if test $ac_compiler_gnu = yes; then
3051 ac_test_CFLAGS=${CFLAGS+set}
3052 ac_save_CFLAGS=$CFLAGS
3053 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3054 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3055 if test "${ac_cv_prog_cc_g+set}" = set; then
3056 $as_echo_n "(cached) " >&6
3058 ac_save_c_werror_flag=$ac_c_werror_flag
3059 ac_c_werror_flag=yes
3062 cat >conftest.$ac_ext <<_ACEOF
3065 cat confdefs.h >>conftest.$ac_ext
3066 cat >>conftest.$ac_ext <<_ACEOF
3067 /* end confdefs.h. */
3077 rm -f conftest.$ac_objext
3078 if { (ac_try="$ac_compile"
3080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081 *) ac_try_echo=$ac_try;;
3083 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3084 $as_echo "$ac_try_echo") >&5
3085 (eval "$ac_compile") 2>conftest.er1
3087 grep -v '^ *+' conftest.er1 >conftest.err
3089 cat conftest.err >&5
3090 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091 (exit $ac_status); } && {
3092 test -z "$ac_c_werror_flag" ||
3093 test ! -s conftest.err
3094 } && test -s conftest.$ac_objext; then
3097 $as_echo "$as_me: failed program was:" >&5
3098 sed 's/^/| /' conftest.$ac_ext >&5
3101 cat >conftest.$ac_ext <<_ACEOF
3104 cat confdefs.h >>conftest.$ac_ext
3105 cat >>conftest.$ac_ext <<_ACEOF
3106 /* end confdefs.h. */
3116 rm -f conftest.$ac_objext
3117 if { (ac_try="$ac_compile"
3119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3120 *) ac_try_echo=$ac_try;;
3122 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3123 $as_echo "$ac_try_echo") >&5
3124 (eval "$ac_compile") 2>conftest.er1
3126 grep -v '^ *+' conftest.er1 >conftest.err
3128 cat conftest.err >&5
3129 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130 (exit $ac_status); } && {
3131 test -z "$ac_c_werror_flag" ||
3132 test ! -s conftest.err
3133 } && test -s conftest.$ac_objext; then
3136 $as_echo "$as_me: failed program was:" >&5
3137 sed 's/^/| /' conftest.$ac_ext >&5
3139 ac_c_werror_flag=$ac_save_c_werror_flag
3141 cat >conftest.$ac_ext <<_ACEOF
3144 cat confdefs.h >>conftest.$ac_ext
3145 cat >>conftest.$ac_ext <<_ACEOF
3146 /* end confdefs.h. */
3156 rm -f conftest.$ac_objext
3157 if { (ac_try="$ac_compile"
3159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3163 $as_echo "$ac_try_echo") >&5
3164 (eval "$ac_compile") 2>conftest.er1
3166 grep -v '^ *+' conftest.er1 >conftest.err
3168 cat conftest.err >&5
3169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); } && {
3171 test -z "$ac_c_werror_flag" ||
3172 test ! -s conftest.err
3173 } && test -s conftest.$ac_objext; then
3176 $as_echo "$as_me: failed program was:" >&5
3177 sed 's/^/| /' conftest.$ac_ext >&5
3182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3189 ac_c_werror_flag=$ac_save_c_werror_flag
3191 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3192 $as_echo "$ac_cv_prog_cc_g" >&6; }
3193 if test "$ac_test_CFLAGS" = set; then
3194 CFLAGS=$ac_save_CFLAGS
3195 elif test $ac_cv_prog_cc_g = yes; then
3196 if test "$GCC" = yes; then
3202 if test "$GCC" = yes; then
3208 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3209 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3210 if test "${ac_cv_prog_cc_c89+set}" = set; then
3211 $as_echo_n "(cached) " >&6
3213 ac_cv_prog_cc_c89=no
3215 cat >conftest.$ac_ext <<_ACEOF
3218 cat confdefs.h >>conftest.$ac_ext
3219 cat >>conftest.$ac_ext <<_ACEOF
3220 /* end confdefs.h. */
3223 #include <sys/types.h>
3224 #include <sys/stat.h>
3225 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3226 struct buf { int x; };
3227 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3228 static char *e (p, i)
3234 static char *f (char * (*g) (char **, int), char **p, ...)
3239 s = g (p, va_arg (v,int));
3244 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3245 function prototypes and stuff, but not '\xHH' hex character constants.
3246 These don't provoke an error unfortunately, instead are silently treated
3247 as 'x'. The following induces an error, until -std is added to get
3248 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3249 array size at least. It's necessary to write '\x00'==0 to get something
3250 that's true only with -std. */
3251 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3253 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3254 inside strings and character constants. */
3256 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3258 int test (int i, double x);
3259 struct s1 {int (*f) (int a);};
3260 struct s2 {int (*f) (double a);};
3261 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3267 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3272 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3273 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3275 CC="$ac_save_CC $ac_arg"
3276 rm -f conftest.$ac_objext
3277 if { (ac_try="$ac_compile"
3279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3280 *) ac_try_echo=$ac_try;;
3282 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3283 $as_echo "$ac_try_echo") >&5
3284 (eval "$ac_compile") 2>conftest.er1
3286 grep -v '^ *+' conftest.er1 >conftest.err
3288 cat conftest.err >&5
3289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3290 (exit $ac_status); } && {
3291 test -z "$ac_c_werror_flag" ||
3292 test ! -s conftest.err
3293 } && test -s conftest.$ac_objext; then
3294 ac_cv_prog_cc_c89=$ac_arg
3296 $as_echo "$as_me: failed program was:" >&5
3297 sed 's/^/| /' conftest.$ac_ext >&5
3302 rm -f core conftest.err conftest.$ac_objext
3303 test "x$ac_cv_prog_cc_c89" != "xno" && break
3305 rm -f conftest.$ac_ext
3310 case "x$ac_cv_prog_cc_c89" in
3312 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3313 $as_echo "none needed" >&6; } ;;
3315 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3316 $as_echo "unsupported" >&6; } ;;
3318 CC="$CC $ac_cv_prog_cc_c89"
3319 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3320 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3325 ac_cpp='$CPP $CPPFLAGS'
3326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3330 depcc="$CC" am_compiler_list=
3332 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3333 $as_echo_n "checking dependency style of $depcc... " >&6; }
3334 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3335 $as_echo_n "(cached) " >&6
3337 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3338 # We make a subdir and do the tests there. Otherwise we can end up
3339 # making bogus files that we don't know about and never remove. For
3340 # instance it was reported that on HP-UX the gcc test will end up
3341 # making a dummy file named `D' -- because `-MD' means `put the output
3344 # Copy depcomp to subdir because otherwise we won't find it if we're
3345 # using a relative directory.
3346 cp "$am_depcomp" conftest.dir
3348 # We will build objects and dependencies in a subdirectory because
3349 # it helps to detect inapplicable dependency modes. For instance
3350 # both Tru64's cc and ICC support -MD to output dependencies as a
3351 # side effect of compilation, but ICC will put the dependencies in
3352 # the current directory while Tru64 will put them in the object
3356 am_cv_CC_dependencies_compiler_type=none
3357 if test "$am_compiler_list" = ""; then
3358 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3360 for depmode in $am_compiler_list; do
3361 # Setup a source with many dependencies, because some compilers
3362 # like to wrap large dependency lists on column 80 (with \), and
3363 # we should not choose a depcomp mode which is confused by this.
3365 # We need to recreate these files for each test, as the compiler may
3366 # overwrite some of them when testing with obscure command lines.
3367 # This happens at least with the AIX C compiler.
3369 for i in 1 2 3 4 5 6; do
3370 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3371 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3372 # Solaris 8's {/usr,}/bin/sh.
3373 touch sub/conftst$i.h
3375 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3379 # after this tag, mechanisms are not by side-effect, so they'll
3380 # only be used when explicitly requested
3381 if test "x$enable_dependency_tracking" = xyes; then
3389 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3390 # mode. It turns out that the SunPro C++ compiler does not properly
3391 # handle `-M -o', and we need to detect this.
3392 if depmode=$depmode \
3393 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3394 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3395 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3396 >/dev/null 2>conftest.err &&
3397 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3398 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3399 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3400 # icc doesn't choke on unknown options, it will just issue warnings
3401 # or remarks (even with -Werror). So we grep stderr for any message
3402 # that says an option was ignored or not supported.
3403 # When given -MP, icc 7.0 and 7.1 complain thusly:
3404 # icc: Command line warning: ignoring option '-M'; no argument required
3405 # The diagnosis changed in icc 8.0:
3406 # icc: Command line remark: option '-MP' not supported
3407 if (grep 'ignoring option' conftest.err ||
3408 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3409 am_cv_CC_dependencies_compiler_type=$depmode
3418 am_cv_CC_dependencies_compiler_type=none
3422 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3423 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3424 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3429 test "x$enable_dependency_tracking" != xno \
3430 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3432 am__fastdepCC_FALSE='#'
3434 am__fastdepCC_TRUE='#'
3435 am__fastdepCC_FALSE=
3440 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
3441 $as_echo_n "checking for library containing strerror... " >&6; }
3442 if test "${ac_cv_search_strerror+set}" = set; then
3443 $as_echo_n "(cached) " >&6
3445 ac_func_search_save_LIBS=$LIBS
3446 cat >conftest.$ac_ext <<_ACEOF
3449 cat confdefs.h >>conftest.$ac_ext
3450 cat >>conftest.$ac_ext <<_ACEOF
3451 /* end confdefs.h. */
3453 /* Override any GCC internal prototype to avoid an error.
3454 Use char because int might match the return type of a GCC
3455 builtin and then its argument prototype would still apply. */
3468 for ac_lib in '' cposix; do
3469 if test -z "$ac_lib"; then
3470 ac_res="none required"
3473 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3475 rm -f conftest.$ac_objext conftest$ac_exeext
3476 if { (ac_try="$ac_link"
3478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3479 *) ac_try_echo=$ac_try;;
3481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3482 $as_echo "$ac_try_echo") >&5
3483 (eval "$ac_link") 2>conftest.er1
3485 grep -v '^ *+' conftest.er1 >conftest.err
3487 cat conftest.err >&5
3488 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3489 (exit $ac_status); } && {
3490 test -z "$ac_c_werror_flag" ||
3491 test ! -s conftest.err
3492 } && test -s conftest$ac_exeext && {
3493 test "$cross_compiling" = yes ||
3494 $as_test_x conftest$ac_exeext
3496 ac_cv_search_strerror=$ac_res
3498 $as_echo "$as_me: failed program was:" >&5
3499 sed 's/^/| /' conftest.$ac_ext >&5
3504 rm -rf conftest.dSYM
3505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3507 if test "${ac_cv_search_strerror+set}" = set; then
3511 if test "${ac_cv_search_strerror+set}" = set; then
3514 ac_cv_search_strerror=no
3517 LIBS=$ac_func_search_save_LIBS
3519 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3520 $as_echo "$ac_cv_search_strerror" >&6; }
3521 ac_res=$ac_cv_search_strerror
3522 if test "$ac_res" != no; then
3523 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3528 ac_cpp='$CPP $CPPFLAGS'
3529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3532 if test -n "$ac_tool_prefix"; then
3533 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3534 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3535 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3536 $as_echo_n "checking for $ac_word... " >&6; }
3537 if test "${ac_cv_prog_CC+set}" = set; then
3538 $as_echo_n "(cached) " >&6
3540 if test -n "$CC"; then
3541 ac_cv_prog_CC="$CC" # Let the user override the test.
3543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3547 test -z "$as_dir" && as_dir=.
3548 for ac_exec_ext in '' $ac_executable_extensions; do
3549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3550 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3551 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3561 if test -n "$CC"; then
3562 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3563 $as_echo "$CC" >&6; }
3565 { $as_echo "$as_me:$LINENO: result: no" >&5
3566 $as_echo "no" >&6; }
3571 if test -z "$ac_cv_prog_CC"; then
3573 # Extract the first word of "gcc", so it can be a program name with args.
3574 set dummy gcc; ac_word=$2
3575 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3576 $as_echo_n "checking for $ac_word... " >&6; }
3577 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3578 $as_echo_n "(cached) " >&6
3580 if test -n "$ac_ct_CC"; then
3581 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3587 test -z "$as_dir" && as_dir=.
3588 for ac_exec_ext in '' $ac_executable_extensions; do
3589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3590 ac_cv_prog_ac_ct_CC="gcc"
3591 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3600 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3601 if test -n "$ac_ct_CC"; then
3602 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3603 $as_echo "$ac_ct_CC" >&6; }
3605 { $as_echo "$as_me:$LINENO: result: no" >&5
3606 $as_echo "no" >&6; }
3609 if test "x$ac_ct_CC" = x; then
3612 case $cross_compiling:$ac_tool_warned in
3614 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3616 ac_tool_warned=yes ;;
3624 if test -z "$CC"; then
3625 if test -n "$ac_tool_prefix"; then
3626 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3627 set dummy ${ac_tool_prefix}cc; ac_word=$2
3628 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3629 $as_echo_n "checking for $ac_word... " >&6; }
3630 if test "${ac_cv_prog_CC+set}" = set; then
3631 $as_echo_n "(cached) " >&6
3633 if test -n "$CC"; then
3634 ac_cv_prog_CC="$CC" # Let the user override the test.
3636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3640 test -z "$as_dir" && as_dir=.
3641 for ac_exec_ext in '' $ac_executable_extensions; do
3642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3643 ac_cv_prog_CC="${ac_tool_prefix}cc"
3644 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3654 if test -n "$CC"; then
3655 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3656 $as_echo "$CC" >&6; }
3658 { $as_echo "$as_me:$LINENO: result: no" >&5
3659 $as_echo "no" >&6; }
3665 if test -z "$CC"; then
3666 # Extract the first word of "cc", so it can be a program name with args.
3667 set dummy cc; ac_word=$2
3668 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3669 $as_echo_n "checking for $ac_word... " >&6; }
3670 if test "${ac_cv_prog_CC+set}" = set; then
3671 $as_echo_n "(cached) " >&6
3673 if test -n "$CC"; then
3674 ac_cv_prog_CC="$CC" # Let the user override the test.
3677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3681 test -z "$as_dir" && as_dir=.
3682 for ac_exec_ext in '' $ac_executable_extensions; do
3683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3684 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3685 ac_prog_rejected=yes
3689 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3696 if test $ac_prog_rejected = yes; then
3697 # We found a bogon in the path, so make sure we never use it.
3698 set dummy $ac_cv_prog_CC
3700 if test $# != 0; then
3701 # We chose a different compiler from the bogus one.
3702 # However, it has the same basename, so the bogon will be chosen
3703 # first if we set CC to just the basename; use the full file name.
3705 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3711 if test -n "$CC"; then
3712 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3713 $as_echo "$CC" >&6; }
3715 { $as_echo "$as_me:$LINENO: result: no" >&5
3716 $as_echo "no" >&6; }
3721 if test -z "$CC"; then
3722 if test -n "$ac_tool_prefix"; then
3723 for ac_prog in cl.exe
3725 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3726 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3727 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3728 $as_echo_n "checking for $ac_word... " >&6; }
3729 if test "${ac_cv_prog_CC+set}" = set; then
3730 $as_echo_n "(cached) " >&6
3732 if test -n "$CC"; then
3733 ac_cv_prog_CC="$CC" # Let the user override the test.
3735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3739 test -z "$as_dir" && as_dir=.
3740 for ac_exec_ext in '' $ac_executable_extensions; do
3741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3742 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3743 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3753 if test -n "$CC"; then
3754 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3755 $as_echo "$CC" >&6; }
3757 { $as_echo "$as_me:$LINENO: result: no" >&5
3758 $as_echo "no" >&6; }
3762 test -n "$CC" && break
3765 if test -z "$CC"; then
3767 for ac_prog in cl.exe
3769 # Extract the first word of "$ac_prog", so it can be a program name with args.
3770 set dummy $ac_prog; ac_word=$2
3771 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3772 $as_echo_n "checking for $ac_word... " >&6; }
3773 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3774 $as_echo_n "(cached) " >&6
3776 if test -n "$ac_ct_CC"; then
3777 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3783 test -z "$as_dir" && as_dir=.
3784 for ac_exec_ext in '' $ac_executable_extensions; do
3785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3786 ac_cv_prog_ac_ct_CC="$ac_prog"
3787 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3796 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3797 if test -n "$ac_ct_CC"; then
3798 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3799 $as_echo "$ac_ct_CC" >&6; }
3801 { $as_echo "$as_me:$LINENO: result: no" >&5
3802 $as_echo "no" >&6; }
3806 test -n "$ac_ct_CC" && break
3809 if test "x$ac_ct_CC" = x; then
3812 case $cross_compiling:$ac_tool_warned in
3814 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3816 ac_tool_warned=yes ;;
3825 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3827 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3828 See \`config.log' for more details." >&5
3829 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3830 See \`config.log' for more details." >&2;}
3831 { (exit 1); exit 1; }; }; }
3833 # Provide some information about the compiler.
3834 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3837 { (ac_try="$ac_compiler --version >&5"
3839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3840 *) ac_try_echo=$ac_try;;
3842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3843 $as_echo "$ac_try_echo") >&5
3844 (eval "$ac_compiler --version >&5") 2>&5
3846 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3847 (exit $ac_status); }
3848 { (ac_try="$ac_compiler -v >&5"
3850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3851 *) ac_try_echo=$ac_try;;
3853 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3854 $as_echo "$ac_try_echo") >&5
3855 (eval "$ac_compiler -v >&5") 2>&5
3857 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); }
3859 { (ac_try="$ac_compiler -V >&5"
3861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862 *) ac_try_echo=$ac_try;;
3864 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3865 $as_echo "$ac_try_echo") >&5
3866 (eval "$ac_compiler -V >&5") 2>&5
3868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); }
3871 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3872 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3873 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3874 $as_echo_n "(cached) " >&6
3876 cat >conftest.$ac_ext <<_ACEOF
3879 cat confdefs.h >>conftest.$ac_ext
3880 cat >>conftest.$ac_ext <<_ACEOF
3881 /* end confdefs.h. */
3894 rm -f conftest.$ac_objext
3895 if { (ac_try="$ac_compile"
3897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3898 *) ac_try_echo=$ac_try;;
3900 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3901 $as_echo "$ac_try_echo") >&5
3902 (eval "$ac_compile") 2>conftest.er1
3904 grep -v '^ *+' conftest.er1 >conftest.err
3906 cat conftest.err >&5
3907 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); } && {
3909 test -z "$ac_c_werror_flag" ||
3910 test ! -s conftest.err
3911 } && test -s conftest.$ac_objext; then
3914 $as_echo "$as_me: failed program was:" >&5
3915 sed 's/^/| /' conftest.$ac_ext >&5
3920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3921 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3924 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3925 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3926 if test $ac_compiler_gnu = yes; then
3931 ac_test_CFLAGS=${CFLAGS+set}
3932 ac_save_CFLAGS=$CFLAGS
3933 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3934 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3935 if test "${ac_cv_prog_cc_g+set}" = set; then
3936 $as_echo_n "(cached) " >&6
3938 ac_save_c_werror_flag=$ac_c_werror_flag
3939 ac_c_werror_flag=yes
3942 cat >conftest.$ac_ext <<_ACEOF
3945 cat confdefs.h >>conftest.$ac_ext
3946 cat >>conftest.$ac_ext <<_ACEOF
3947 /* end confdefs.h. */
3957 rm -f conftest.$ac_objext
3958 if { (ac_try="$ac_compile"
3960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3961 *) ac_try_echo=$ac_try;;
3963 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3964 $as_echo "$ac_try_echo") >&5
3965 (eval "$ac_compile") 2>conftest.er1
3967 grep -v '^ *+' conftest.er1 >conftest.err
3969 cat conftest.err >&5
3970 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); } && {
3972 test -z "$ac_c_werror_flag" ||
3973 test ! -s conftest.err
3974 } && test -s conftest.$ac_objext; then
3977 $as_echo "$as_me: failed program was:" >&5
3978 sed 's/^/| /' conftest.$ac_ext >&5
3981 cat >conftest.$ac_ext <<_ACEOF
3984 cat confdefs.h >>conftest.$ac_ext
3985 cat >>conftest.$ac_ext <<_ACEOF
3986 /* end confdefs.h. */
3996 rm -f conftest.$ac_objext
3997 if { (ac_try="$ac_compile"
3999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4000 *) ac_try_echo=$ac_try;;
4002 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4003 $as_echo "$ac_try_echo") >&5
4004 (eval "$ac_compile") 2>conftest.er1
4006 grep -v '^ *+' conftest.er1 >conftest.err
4008 cat conftest.err >&5
4009 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); } && {
4011 test -z "$ac_c_werror_flag" ||
4012 test ! -s conftest.err
4013 } && test -s conftest.$ac_objext; then
4016 $as_echo "$as_me: failed program was:" >&5
4017 sed 's/^/| /' conftest.$ac_ext >&5
4019 ac_c_werror_flag=$ac_save_c_werror_flag
4021 cat >conftest.$ac_ext <<_ACEOF
4024 cat confdefs.h >>conftest.$ac_ext
4025 cat >>conftest.$ac_ext <<_ACEOF
4026 /* end confdefs.h. */
4036 rm -f conftest.$ac_objext
4037 if { (ac_try="$ac_compile"
4039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040 *) ac_try_echo=$ac_try;;
4042 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4043 $as_echo "$ac_try_echo") >&5
4044 (eval "$ac_compile") 2>conftest.er1
4046 grep -v '^ *+' conftest.er1 >conftest.err
4048 cat conftest.err >&5
4049 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); } && {
4051 test -z "$ac_c_werror_flag" ||
4052 test ! -s conftest.err
4053 } && test -s conftest.$ac_objext; then
4056 $as_echo "$as_me: failed program was:" >&5
4057 sed 's/^/| /' conftest.$ac_ext >&5
4062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4069 ac_c_werror_flag=$ac_save_c_werror_flag
4071 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4072 $as_echo "$ac_cv_prog_cc_g" >&6; }
4073 if test "$ac_test_CFLAGS" = set; then
4074 CFLAGS=$ac_save_CFLAGS
4075 elif test $ac_cv_prog_cc_g = yes; then
4076 if test "$GCC" = yes; then
4082 if test "$GCC" = yes; then
4088 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4089 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4090 if test "${ac_cv_prog_cc_c89+set}" = set; then
4091 $as_echo_n "(cached) " >&6
4093 ac_cv_prog_cc_c89=no
4095 cat >conftest.$ac_ext <<_ACEOF
4098 cat confdefs.h >>conftest.$ac_ext
4099 cat >>conftest.$ac_ext <<_ACEOF
4100 /* end confdefs.h. */
4103 #include <sys/types.h>
4104 #include <sys/stat.h>
4105 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4106 struct buf { int x; };
4107 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4108 static char *e (p, i)
4114 static char *f (char * (*g) (char **, int), char **p, ...)
4119 s = g (p, va_arg (v,int));
4124 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4125 function prototypes and stuff, but not '\xHH' hex character constants.
4126 These don't provoke an error unfortunately, instead are silently treated
4127 as 'x'. The following induces an error, until -std is added to get
4128 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4129 array size at least. It's necessary to write '\x00'==0 to get something
4130 that's true only with -std. */
4131 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4133 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4134 inside strings and character constants. */
4136 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4138 int test (int i, double x);
4139 struct s1 {int (*f) (int a);};
4140 struct s2 {int (*f) (double a);};
4141 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4147 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4152 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4153 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4155 CC="$ac_save_CC $ac_arg"
4156 rm -f conftest.$ac_objext
4157 if { (ac_try="$ac_compile"
4159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4160 *) ac_try_echo=$ac_try;;
4162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4163 $as_echo "$ac_try_echo") >&5
4164 (eval "$ac_compile") 2>conftest.er1
4166 grep -v '^ *+' conftest.er1 >conftest.err
4168 cat conftest.err >&5
4169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 (exit $ac_status); } && {
4171 test -z "$ac_c_werror_flag" ||
4172 test ! -s conftest.err
4173 } && test -s conftest.$ac_objext; then
4174 ac_cv_prog_cc_c89=$ac_arg
4176 $as_echo "$as_me: failed program was:" >&5
4177 sed 's/^/| /' conftest.$ac_ext >&5
4182 rm -f core conftest.err conftest.$ac_objext
4183 test "x$ac_cv_prog_cc_c89" != "xno" && break
4185 rm -f conftest.$ac_ext
4190 case "x$ac_cv_prog_cc_c89" in
4192 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4193 $as_echo "none needed" >&6; } ;;
4195 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4196 $as_echo "unsupported" >&6; } ;;
4198 CC="$CC $ac_cv_prog_cc_c89"
4199 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4200 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
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
4210 depcc="$CC" am_compiler_list=
4212 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4213 $as_echo_n "checking dependency style of $depcc... " >&6; }
4214 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4215 $as_echo_n "(cached) " >&6
4217 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4218 # We make a subdir and do the tests there. Otherwise we can end up
4219 # making bogus files that we don't know about and never remove. For
4220 # instance it was reported that on HP-UX the gcc test will end up
4221 # making a dummy file named `D' -- because `-MD' means `put the output
4224 # Copy depcomp to subdir because otherwise we won't find it if we're
4225 # using a relative directory.
4226 cp "$am_depcomp" conftest.dir
4228 # We will build objects and dependencies in a subdirectory because
4229 # it helps to detect inapplicable dependency modes. For instance
4230 # both Tru64's cc and ICC support -MD to output dependencies as a
4231 # side effect of compilation, but ICC will put the dependencies in
4232 # the current directory while Tru64 will put them in the object
4236 am_cv_CC_dependencies_compiler_type=none
4237 if test "$am_compiler_list" = ""; then
4238 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4240 for depmode in $am_compiler_list; do
4241 # Setup a source with many dependencies, because some compilers
4242 # like to wrap large dependency lists on column 80 (with \), and
4243 # we should not choose a depcomp mode which is confused by this.
4245 # We need to recreate these files for each test, as the compiler may
4246 # overwrite some of them when testing with obscure command lines.
4247 # This happens at least with the AIX C compiler.
4249 for i in 1 2 3 4 5 6; do
4250 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4251 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4252 # Solaris 8's {/usr,}/bin/sh.
4253 touch sub/conftst$i.h
4255 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4259 # after this tag, mechanisms are not by side-effect, so they'll
4260 # only be used when explicitly requested
4261 if test "x$enable_dependency_tracking" = xyes; then
4269 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4270 # mode. It turns out that the SunPro C++ compiler does not properly
4271 # handle `-M -o', and we need to detect this.
4272 if depmode=$depmode \
4273 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4274 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4275 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4276 >/dev/null 2>conftest.err &&
4277 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4278 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4279 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4280 # icc doesn't choke on unknown options, it will just issue warnings
4281 # or remarks (even with -Werror). So we grep stderr for any message
4282 # that says an option was ignored or not supported.
4283 # When given -MP, icc 7.0 and 7.1 complain thusly:
4284 # icc: Command line warning: ignoring option '-M'; no argument required
4285 # The diagnosis changed in icc 8.0:
4286 # icc: Command line remark: option '-MP' not supported
4287 if (grep 'ignoring option' conftest.err ||
4288 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4289 am_cv_CC_dependencies_compiler_type=$depmode
4298 am_cv_CC_dependencies_compiler_type=none
4302 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4303 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4304 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4309 test "x$enable_dependency_tracking" != xno \
4310 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4312 am__fastdepCC_FALSE='#'
4314 am__fastdepCC_TRUE='#'
4315 am__fastdepCC_FALSE=
4320 ac_cpp='$CPP $CPPFLAGS'
4321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4324 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4325 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4326 # On Suns, sometimes $CPP names a directory.
4327 if test -n "$CPP" && test -d "$CPP"; then
4330 if test -z "$CPP"; then
4331 if test "${ac_cv_prog_CPP+set}" = set; then
4332 $as_echo_n "(cached) " >&6
4334 # Double quotes because CPP needs to be expanded
4335 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4338 for ac_c_preproc_warn_flag in '' yes
4340 # Use a header file that comes with gcc, so configuring glibc
4341 # with a fresh cross-compiler works.
4342 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4343 # <limits.h> exists even on freestanding compilers.
4344 # On the NeXT, cc -E runs the code through the compiler's parser,
4345 # not just through cpp. "Syntax error" is here to catch this case.
4346 cat >conftest.$ac_ext <<_ACEOF
4349 cat confdefs.h >>conftest.$ac_ext
4350 cat >>conftest.$ac_ext <<_ACEOF
4351 /* end confdefs.h. */
4353 # include <limits.h>
4355 # include <assert.h>
4359 if { (ac_try="$ac_cpp conftest.$ac_ext"
4361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4362 *) ac_try_echo=$ac_try;;
4364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4365 $as_echo "$ac_try_echo") >&5
4366 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4368 grep -v '^ *+' conftest.er1 >conftest.err
4370 cat conftest.err >&5
4371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372 (exit $ac_status); } >/dev/null && {
4373 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4374 test ! -s conftest.err
4378 $as_echo "$as_me: failed program was:" >&5
4379 sed 's/^/| /' conftest.$ac_ext >&5
4381 # Broken: fails on valid input.
4385 rm -f conftest.err conftest.$ac_ext
4387 # OK, works on sane cases. Now check whether nonexistent headers
4388 # can be detected and how.
4389 cat >conftest.$ac_ext <<_ACEOF
4392 cat confdefs.h >>conftest.$ac_ext
4393 cat >>conftest.$ac_ext <<_ACEOF
4394 /* end confdefs.h. */
4395 #include <ac_nonexistent.h>
4397 if { (ac_try="$ac_cpp conftest.$ac_ext"
4399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4400 *) ac_try_echo=$ac_try;;
4402 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4403 $as_echo "$ac_try_echo") >&5
4404 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4406 grep -v '^ *+' conftest.er1 >conftest.err
4408 cat conftest.err >&5
4409 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410 (exit $ac_status); } >/dev/null && {
4411 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4412 test ! -s conftest.err
4414 # Broken: success on invalid input.
4417 $as_echo "$as_me: failed program was:" >&5
4418 sed 's/^/| /' conftest.$ac_ext >&5
4420 # Passes both tests.
4425 rm -f conftest.err conftest.$ac_ext
4428 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4429 rm -f conftest.err conftest.$ac_ext
4430 if $ac_preproc_ok; then
4442 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4443 $as_echo "$CPP" >&6; }
4445 for ac_c_preproc_warn_flag in '' yes
4447 # Use a header file that comes with gcc, so configuring glibc
4448 # with a fresh cross-compiler works.
4449 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4450 # <limits.h> exists even on freestanding compilers.
4451 # On the NeXT, cc -E runs the code through the compiler's parser,
4452 # not just through cpp. "Syntax error" is here to catch this case.
4453 cat >conftest.$ac_ext <<_ACEOF
4456 cat confdefs.h >>conftest.$ac_ext
4457 cat >>conftest.$ac_ext <<_ACEOF
4458 /* end confdefs.h. */
4460 # include <limits.h>
4462 # include <assert.h>
4466 if { (ac_try="$ac_cpp conftest.$ac_ext"
4468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4469 *) ac_try_echo=$ac_try;;
4471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4472 $as_echo "$ac_try_echo") >&5
4473 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4475 grep -v '^ *+' conftest.er1 >conftest.err
4477 cat conftest.err >&5
4478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4479 (exit $ac_status); } >/dev/null && {
4480 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4481 test ! -s conftest.err
4485 $as_echo "$as_me: failed program was:" >&5
4486 sed 's/^/| /' conftest.$ac_ext >&5
4488 # Broken: fails on valid input.
4492 rm -f conftest.err conftest.$ac_ext
4494 # OK, works on sane cases. Now check whether nonexistent headers
4495 # can be detected and how.
4496 cat >conftest.$ac_ext <<_ACEOF
4499 cat confdefs.h >>conftest.$ac_ext
4500 cat >>conftest.$ac_ext <<_ACEOF
4501 /* end confdefs.h. */
4502 #include <ac_nonexistent.h>
4504 if { (ac_try="$ac_cpp conftest.$ac_ext"
4506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4507 *) ac_try_echo=$ac_try;;
4509 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4510 $as_echo "$ac_try_echo") >&5
4511 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4513 grep -v '^ *+' conftest.er1 >conftest.err
4515 cat conftest.err >&5
4516 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4517 (exit $ac_status); } >/dev/null && {
4518 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4519 test ! -s conftest.err
4521 # Broken: success on invalid input.
4524 $as_echo "$as_me: failed program was:" >&5
4525 sed 's/^/| /' conftest.$ac_ext >&5
4527 # Passes both tests.
4532 rm -f conftest.err conftest.$ac_ext
4535 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4536 rm -f conftest.err conftest.$ac_ext
4537 if $ac_preproc_ok; then
4540 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4542 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4543 See \`config.log' for more details." >&5
4544 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4545 See \`config.log' for more details." >&2;}
4546 { (exit 1); exit 1; }; }; }
4550 ac_cpp='$CPP $CPPFLAGS'
4551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4556 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4557 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4558 if test "${ac_cv_path_GREP+set}" = set; then
4559 $as_echo_n "(cached) " >&6
4561 if test -z "$GREP"; then
4562 ac_path_GREP_found=false
4563 # Loop through the user's path and test for each of PROGNAME-LIST
4564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4565 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4568 test -z "$as_dir" && as_dir=.
4569 for ac_prog in grep ggrep; do
4570 for ac_exec_ext in '' $ac_executable_extensions; do
4571 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4572 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4573 # Check for GNU ac_path_GREP and select it if it is found.
4574 # Check for GNU $ac_path_GREP
4575 case `"$ac_path_GREP" --version 2>&1` in
4577 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4580 $as_echo_n 0123456789 >"conftest.in"
4583 cat "conftest.in" "conftest.in" >"conftest.tmp"
4584 mv "conftest.tmp" "conftest.in"
4585 cp "conftest.in" "conftest.nl"
4586 $as_echo 'GREP' >> "conftest.nl"
4587 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4588 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4589 ac_count=`expr $ac_count + 1`
4590 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4591 # Best one so far, save it but keep looking for a better one
4592 ac_cv_path_GREP="$ac_path_GREP"
4593 ac_path_GREP_max=$ac_count
4595 # 10*(2^10) chars as input seems more than enough
4596 test $ac_count -gt 10 && break
4598 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4601 $ac_path_GREP_found && break 3
4606 if test -z "$ac_cv_path_GREP"; then
4607 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4608 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4609 { (exit 1); exit 1; }; }
4612 ac_cv_path_GREP=$GREP
4616 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4617 $as_echo "$ac_cv_path_GREP" >&6; }
4618 GREP="$ac_cv_path_GREP"
4621 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4622 $as_echo_n "checking for egrep... " >&6; }
4623 if test "${ac_cv_path_EGREP+set}" = set; then
4624 $as_echo_n "(cached) " >&6
4626 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4627 then ac_cv_path_EGREP="$GREP -E"
4629 if test -z "$EGREP"; then
4630 ac_path_EGREP_found=false
4631 # Loop through the user's path and test for each of PROGNAME-LIST
4632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4633 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4636 test -z "$as_dir" && as_dir=.
4637 for ac_prog in egrep; do
4638 for ac_exec_ext in '' $ac_executable_extensions; do
4639 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4640 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4641 # Check for GNU ac_path_EGREP and select it if it is found.
4642 # Check for GNU $ac_path_EGREP
4643 case `"$ac_path_EGREP" --version 2>&1` in
4645 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4648 $as_echo_n 0123456789 >"conftest.in"
4651 cat "conftest.in" "conftest.in" >"conftest.tmp"
4652 mv "conftest.tmp" "conftest.in"
4653 cp "conftest.in" "conftest.nl"
4654 $as_echo 'EGREP' >> "conftest.nl"
4655 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4656 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4657 ac_count=`expr $ac_count + 1`
4658 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4659 # Best one so far, save it but keep looking for a better one
4660 ac_cv_path_EGREP="$ac_path_EGREP"
4661 ac_path_EGREP_max=$ac_count
4663 # 10*(2^10) chars as input seems more than enough
4664 test $ac_count -gt 10 && break
4666 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4669 $ac_path_EGREP_found && break 3
4674 if test -z "$ac_cv_path_EGREP"; then
4675 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4676 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4677 { (exit 1); exit 1; }; }
4680 ac_cv_path_EGREP=$EGREP
4685 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4686 $as_echo "$ac_cv_path_EGREP" >&6; }
4687 EGREP="$ac_cv_path_EGREP"
4690 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4691 $as_echo_n "checking for ANSI C header files... " >&6; }
4692 if test "${ac_cv_header_stdc+set}" = set; then
4693 $as_echo_n "(cached) " >&6
4695 cat >conftest.$ac_ext <<_ACEOF
4698 cat confdefs.h >>conftest.$ac_ext
4699 cat >>conftest.$ac_ext <<_ACEOF
4700 /* end confdefs.h. */
4714 rm -f conftest.$ac_objext
4715 if { (ac_try="$ac_compile"
4717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4718 *) ac_try_echo=$ac_try;;
4720 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4721 $as_echo "$ac_try_echo") >&5
4722 (eval "$ac_compile") 2>conftest.er1
4724 grep -v '^ *+' conftest.er1 >conftest.err
4726 cat conftest.err >&5
4727 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728 (exit $ac_status); } && {
4729 test -z "$ac_c_werror_flag" ||
4730 test ! -s conftest.err
4731 } && test -s conftest.$ac_objext; then
4732 ac_cv_header_stdc=yes
4734 $as_echo "$as_me: failed program was:" >&5
4735 sed 's/^/| /' conftest.$ac_ext >&5
4737 ac_cv_header_stdc=no
4740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4742 if test $ac_cv_header_stdc = yes; then
4743 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4744 cat >conftest.$ac_ext <<_ACEOF
4747 cat confdefs.h >>conftest.$ac_ext
4748 cat >>conftest.$ac_ext <<_ACEOF
4749 /* end confdefs.h. */
4753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4754 $EGREP "memchr" >/dev/null 2>&1; then
4757 ac_cv_header_stdc=no
4763 if test $ac_cv_header_stdc = yes; then
4764 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4765 cat >conftest.$ac_ext <<_ACEOF
4768 cat confdefs.h >>conftest.$ac_ext
4769 cat >>conftest.$ac_ext <<_ACEOF
4770 /* end confdefs.h. */
4774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4775 $EGREP "free" >/dev/null 2>&1; then
4778 ac_cv_header_stdc=no
4784 if test $ac_cv_header_stdc = yes; then
4785 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4786 if test "$cross_compiling" = yes; then
4789 cat >conftest.$ac_ext <<_ACEOF
4792 cat confdefs.h >>conftest.$ac_ext
4793 cat >>conftest.$ac_ext <<_ACEOF
4794 /* end confdefs.h. */
4797 #if ((' ' & 0x0FF) == 0x020)
4798 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4799 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4801 # define ISLOWER(c) \
4802 (('a' <= (c) && (c) <= 'i') \
4803 || ('j' <= (c) && (c) <= 'r') \
4804 || ('s' <= (c) && (c) <= 'z'))
4805 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4808 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4813 for (i = 0; i < 256; i++)
4814 if (XOR (islower (i), ISLOWER (i))
4815 || toupper (i) != TOUPPER (i))
4820 rm -f conftest$ac_exeext
4821 if { (ac_try="$ac_link"
4823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4824 *) ac_try_echo=$ac_try;;
4826 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4827 $as_echo "$ac_try_echo") >&5
4828 (eval "$ac_link") 2>&5
4830 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4832 { (case "(($ac_try" in
4833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4834 *) ac_try_echo=$ac_try;;
4836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4837 $as_echo "$ac_try_echo") >&5
4838 (eval "$ac_try") 2>&5
4840 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841 (exit $ac_status); }; }; then
4844 $as_echo "$as_me: program exited with status $ac_status" >&5
4845 $as_echo "$as_me: failed program was:" >&5
4846 sed 's/^/| /' conftest.$ac_ext >&5
4849 ac_cv_header_stdc=no
4851 rm -rf conftest.dSYM
4852 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4858 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4859 $as_echo "$ac_cv_header_stdc" >&6; }
4860 if test $ac_cv_header_stdc = yes; then
4862 cat >>confdefs.h <<\_ACEOF
4863 #define STDC_HEADERS 1
4868 for ac_prog in 'bison -y' byacc
4870 # Extract the first word of "$ac_prog", so it can be a program name with args.
4871 set dummy $ac_prog; ac_word=$2
4872 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4873 $as_echo_n "checking for $ac_word... " >&6; }
4874 if test "${ac_cv_prog_YACC+set}" = set; then
4875 $as_echo_n "(cached) " >&6
4877 if test -n "$YACC"; then
4878 ac_cv_prog_YACC="$YACC" # Let the user override the test.
4880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4884 test -z "$as_dir" && as_dir=.
4885 for ac_exec_ext in '' $ac_executable_extensions; do
4886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4887 ac_cv_prog_YACC="$ac_prog"
4888 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4897 YACC=$ac_cv_prog_YACC
4898 if test -n "$YACC"; then
4899 { $as_echo "$as_me:$LINENO: result: $YACC" >&5
4900 $as_echo "$YACC" >&6; }
4902 { $as_echo "$as_me:$LINENO: result: no" >&5
4903 $as_echo "no" >&6; }
4907 test -n "$YACC" && break
4909 test -n "$YACC" || YACC="yacc"
4911 for ac_prog in flex lex
4913 # Extract the first word of "$ac_prog", so it can be a program name with args.
4914 set dummy $ac_prog; ac_word=$2
4915 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4916 $as_echo_n "checking for $ac_word... " >&6; }
4917 if test "${ac_cv_prog_LEX+set}" = set; then
4918 $as_echo_n "(cached) " >&6
4920 if test -n "$LEX"; then
4921 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4927 test -z "$as_dir" && as_dir=.
4928 for ac_exec_ext in '' $ac_executable_extensions; do
4929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4930 ac_cv_prog_LEX="$ac_prog"
4931 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4941 if test -n "$LEX"; then
4942 { $as_echo "$as_me:$LINENO: result: $LEX" >&5
4943 $as_echo "$LEX" >&6; }
4945 { $as_echo "$as_me:$LINENO: result: no" >&5
4946 $as_echo "no" >&6; }
4950 test -n "$LEX" && break
4952 test -n "$LEX" || LEX=":"
4954 if test "x$LEX" != "x:"; then
4955 cat >conftest.l <<_ACEOF
4961 e { yyless (input () != 0); }
4962 f { unput (yytext[0]); }
4963 . { BEGIN INITIAL; }
4965 #ifdef YYTEXT_POINTER
4966 extern char *yytext;
4971 return ! yylex () + ! yywrap ();
4974 { (ac_try="$LEX conftest.l"
4976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4977 *) ac_try_echo=$ac_try;;
4979 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4980 $as_echo "$ac_try_echo") >&5
4981 (eval "$LEX conftest.l") 2>&5
4983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984 (exit $ac_status); }
4985 { $as_echo "$as_me:$LINENO: checking lex output file root" >&5
4986 $as_echo_n "checking lex output file root... " >&6; }
4987 if test "${ac_cv_prog_lex_root+set}" = set; then
4988 $as_echo_n "(cached) " >&6
4991 if test -f lex.yy.c; then
4992 ac_cv_prog_lex_root=lex.yy
4993 elif test -f lexyy.c; then
4994 ac_cv_prog_lex_root=lexyy
4996 { { $as_echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4997 $as_echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4998 { (exit 1); exit 1; }; }
5001 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5002 $as_echo "$ac_cv_prog_lex_root" >&6; }
5003 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5005 if test -z "${LEXLIB+set}"; then
5006 { $as_echo "$as_me:$LINENO: checking lex library" >&5
5007 $as_echo_n "checking lex library... " >&6; }
5008 if test "${ac_cv_lib_lex+set}" = set; then
5009 $as_echo_n "(cached) " >&6
5013 ac_cv_lib_lex='none needed'
5014 for ac_lib in '' -lfl -ll; do
5015 LIBS="$ac_lib $ac_save_LIBS"
5016 cat >conftest.$ac_ext <<_ACEOF
5017 `cat $LEX_OUTPUT_ROOT.c`
5019 rm -f conftest.$ac_objext conftest$ac_exeext
5020 if { (ac_try="$ac_link"
5022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5023 *) ac_try_echo=$ac_try;;
5025 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5026 $as_echo "$ac_try_echo") >&5
5027 (eval "$ac_link") 2>conftest.er1
5029 grep -v '^ *+' conftest.er1 >conftest.err
5031 cat conftest.err >&5
5032 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5033 (exit $ac_status); } && {
5034 test -z "$ac_c_werror_flag" ||
5035 test ! -s conftest.err
5036 } && test -s conftest$ac_exeext && {
5037 test "$cross_compiling" = yes ||
5038 $as_test_x conftest$ac_exeext
5040 ac_cv_lib_lex=$ac_lib
5042 $as_echo "$as_me: failed program was:" >&5
5043 sed 's/^/| /' conftest.$ac_ext >&5
5048 rm -rf conftest.dSYM
5049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5050 conftest$ac_exeext conftest.$ac_ext
5051 test "$ac_cv_lib_lex" != 'none needed' && break
5056 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
5057 $as_echo "$ac_cv_lib_lex" >&6; }
5058 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
5062 { $as_echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5063 $as_echo_n "checking whether yytext is a pointer... " >&6; }
5064 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5065 $as_echo_n "(cached) " >&6
5067 # POSIX says lex can declare yytext either as a pointer or an array; the
5068 # default is implementation-dependent. Figure out which it is, since
5069 # not all implementations provide the %pointer and %array declarations.
5070 ac_cv_prog_lex_yytext_pointer=no
5072 LIBS="$LEXLIB $ac_save_LIBS"
5073 cat >conftest.$ac_ext <<_ACEOF
5074 #define YYTEXT_POINTER 1
5075 `cat $LEX_OUTPUT_ROOT.c`
5077 rm -f conftest.$ac_objext conftest$ac_exeext
5078 if { (ac_try="$ac_link"
5080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5081 *) ac_try_echo=$ac_try;;
5083 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5084 $as_echo "$ac_try_echo") >&5
5085 (eval "$ac_link") 2>conftest.er1
5087 grep -v '^ *+' conftest.er1 >conftest.err
5089 cat conftest.err >&5
5090 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5091 (exit $ac_status); } && {
5092 test -z "$ac_c_werror_flag" ||
5093 test ! -s conftest.err
5094 } && test -s conftest$ac_exeext && {
5095 test "$cross_compiling" = yes ||
5096 $as_test_x conftest$ac_exeext
5098 ac_cv_prog_lex_yytext_pointer=yes
5100 $as_echo "$as_me: failed program was:" >&5
5101 sed 's/^/| /' conftest.$ac_ext >&5
5106 rm -rf conftest.dSYM
5107 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5108 conftest$ac_exeext conftest.$ac_ext
5112 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5113 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
5114 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5116 cat >>confdefs.h <<\_ACEOF
5117 #define YYTEXT_POINTER 1
5121 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5124 if test "$LEX" = :; then
5125 LEX=${am_missing_run}flex
5127 # Find a good install program. We prefer a C program (faster),
5128 # so one script is as good as another. But avoid the broken or
5129 # incompatible versions:
5130 # SysV /etc/install, /usr/sbin/install
5131 # SunOS /usr/etc/install
5132 # IRIX /sbin/install
5134 # AmigaOS /C/install, which installs bootblocks on floppy discs
5135 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5136 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5137 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5138 # OS/2's system install, which has a completely different semantic
5139 # ./install, which can be erroneously created by make from ./install.sh.
5140 # Reject install programs that cannot install multiple files.
5141 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5142 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5143 if test -z "$INSTALL"; then
5144 if test "${ac_cv_path_install+set}" = set; then
5145 $as_echo_n "(cached) " >&6
5147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5151 test -z "$as_dir" && as_dir=.
5152 # Account for people who put trailing slashes in PATH elements.
5154 ./ | .// | /cC/* | \
5155 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5156 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5159 # OSF1 and SCO ODT 3.0 have their own names for install.
5160 # Don't use installbsd from OSF since it installs stuff as root
5162 for ac_prog in ginstall scoinst install; do
5163 for ac_exec_ext in '' $ac_executable_extensions; do
5164 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5165 if test $ac_prog = install &&
5166 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5167 # AIX install. It has an incompatible calling convention.
5169 elif test $ac_prog = install &&
5170 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5171 # program-specific install script used by HP pwplus--don't use.
5174 rm -rf conftest.one conftest.two conftest.dir
5175 echo one > conftest.one
5176 echo two > conftest.two
5178 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5179 test -s conftest.one && test -s conftest.two &&
5180 test -s conftest.dir/conftest.one &&
5181 test -s conftest.dir/conftest.two
5183 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5196 rm -rf conftest.one conftest.two conftest.dir
5199 if test "${ac_cv_path_install+set}" = set; then
5200 INSTALL=$ac_cv_path_install
5202 # As a last resort, use the slow shell script. Don't cache a
5203 # value for INSTALL within a source directory, because that will
5204 # break other packages using the cache if that directory is
5205 # removed, or if the value is a relative name.
5206 INSTALL=$ac_install_sh
5209 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
5210 $as_echo "$INSTALL" >&6; }
5212 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5213 # It thinks the first close brace ends the variable substitution.
5214 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5216 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5218 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5221 ac_cpp='$CPP $CPPFLAGS'
5222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5225 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5226 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5227 # On Suns, sometimes $CPP names a directory.
5228 if test -n "$CPP" && test -d "$CPP"; then
5231 if test -z "$CPP"; then
5232 if test "${ac_cv_prog_CPP+set}" = set; then
5233 $as_echo_n "(cached) " >&6
5235 # Double quotes because CPP needs to be expanded
5236 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5239 for ac_c_preproc_warn_flag in '' yes
5241 # Use a header file that comes with gcc, so configuring glibc
5242 # with a fresh cross-compiler works.
5243 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5244 # <limits.h> exists even on freestanding compilers.
5245 # On the NeXT, cc -E runs the code through the compiler's parser,
5246 # not just through cpp. "Syntax error" is here to catch this case.
5247 cat >conftest.$ac_ext <<_ACEOF
5250 cat confdefs.h >>conftest.$ac_ext
5251 cat >>conftest.$ac_ext <<_ACEOF
5252 /* end confdefs.h. */
5254 # include <limits.h>
5256 # include <assert.h>
5260 if { (ac_try="$ac_cpp conftest.$ac_ext"
5262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5263 *) ac_try_echo=$ac_try;;
5265 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5266 $as_echo "$ac_try_echo") >&5
5267 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5269 grep -v '^ *+' conftest.er1 >conftest.err
5271 cat conftest.err >&5
5272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273 (exit $ac_status); } >/dev/null && {
5274 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5275 test ! -s conftest.err
5279 $as_echo "$as_me: failed program was:" >&5
5280 sed 's/^/| /' conftest.$ac_ext >&5
5282 # Broken: fails on valid input.
5286 rm -f conftest.err conftest.$ac_ext
5288 # OK, works on sane cases. Now check whether nonexistent headers
5289 # can be detected and how.
5290 cat >conftest.$ac_ext <<_ACEOF
5293 cat confdefs.h >>conftest.$ac_ext
5294 cat >>conftest.$ac_ext <<_ACEOF
5295 /* end confdefs.h. */
5296 #include <ac_nonexistent.h>
5298 if { (ac_try="$ac_cpp conftest.$ac_ext"
5300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5301 *) ac_try_echo=$ac_try;;
5303 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5304 $as_echo "$ac_try_echo") >&5
5305 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5307 grep -v '^ *+' conftest.er1 >conftest.err
5309 cat conftest.err >&5
5310 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311 (exit $ac_status); } >/dev/null && {
5312 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5313 test ! -s conftest.err
5315 # Broken: success on invalid input.
5318 $as_echo "$as_me: failed program was:" >&5
5319 sed 's/^/| /' conftest.$ac_ext >&5
5321 # Passes both tests.
5326 rm -f conftest.err conftest.$ac_ext
5329 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5330 rm -f conftest.err conftest.$ac_ext
5331 if $ac_preproc_ok; then
5343 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
5344 $as_echo "$CPP" >&6; }
5346 for ac_c_preproc_warn_flag in '' yes
5348 # Use a header file that comes with gcc, so configuring glibc
5349 # with a fresh cross-compiler works.
5350 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5351 # <limits.h> exists even on freestanding compilers.
5352 # On the NeXT, cc -E runs the code through the compiler's parser,
5353 # not just through cpp. "Syntax error" is here to catch this case.
5354 cat >conftest.$ac_ext <<_ACEOF
5357 cat confdefs.h >>conftest.$ac_ext
5358 cat >>conftest.$ac_ext <<_ACEOF
5359 /* end confdefs.h. */
5361 # include <limits.h>
5363 # include <assert.h>
5367 if { (ac_try="$ac_cpp conftest.$ac_ext"
5369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5370 *) ac_try_echo=$ac_try;;
5372 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5373 $as_echo "$ac_try_echo") >&5
5374 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5376 grep -v '^ *+' conftest.er1 >conftest.err
5378 cat conftest.err >&5
5379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); } >/dev/null && {
5381 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5382 test ! -s conftest.err
5386 $as_echo "$as_me: failed program was:" >&5
5387 sed 's/^/| /' conftest.$ac_ext >&5
5389 # Broken: fails on valid input.
5393 rm -f conftest.err conftest.$ac_ext
5395 # OK, works on sane cases. Now check whether nonexistent headers
5396 # can be detected and how.
5397 cat >conftest.$ac_ext <<_ACEOF
5400 cat confdefs.h >>conftest.$ac_ext
5401 cat >>conftest.$ac_ext <<_ACEOF
5402 /* end confdefs.h. */
5403 #include <ac_nonexistent.h>
5405 if { (ac_try="$ac_cpp conftest.$ac_ext"
5407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5408 *) ac_try_echo=$ac_try;;
5410 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5411 $as_echo "$ac_try_echo") >&5
5412 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5414 grep -v '^ *+' conftest.er1 >conftest.err
5416 cat conftest.err >&5
5417 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5418 (exit $ac_status); } >/dev/null && {
5419 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5420 test ! -s conftest.err
5422 # Broken: success on invalid input.
5425 $as_echo "$as_me: failed program was:" >&5
5426 sed 's/^/| /' conftest.$ac_ext >&5
5428 # Passes both tests.
5433 rm -f conftest.err conftest.$ac_ext
5436 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5437 rm -f conftest.err conftest.$ac_ext
5438 if $ac_preproc_ok; then
5441 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5443 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5444 See \`config.log' for more details." >&5
5445 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5446 See \`config.log' for more details." >&2;}
5447 { (exit 1); exit 1; }; }; }
5451 ac_cpp='$CPP $CPPFLAGS'
5452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5456 # Extract the first word of "rm", so it can be a program name with args.
5457 set dummy rm; ac_word=$2
5458 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5459 $as_echo_n "checking for $ac_word... " >&6; }
5460 if test "${ac_cv_path_RM+set}" = set; then
5461 $as_echo_n "(cached) " >&6
5465 ac_cv_path_RM="$RM" # Let the user override the test with a path.
5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5472 test -z "$as_dir" && as_dir=.
5473 for ac_exec_ext in '' $ac_executable_extensions; do
5474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5475 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
5476 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5483 test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
5488 if test -n "$RM"; then
5489 { $as_echo "$as_me:$LINENO: result: $RM" >&5
5490 $as_echo "$RM" >&6; }
5492 { $as_echo "$as_me:$LINENO: result: no" >&5
5493 $as_echo "no" >&6; }
5497 # Extract the first word of "mv", so it can be a program name with args.
5498 set dummy mv; ac_word=$2
5499 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5500 $as_echo_n "checking for $ac_word... " >&6; }
5501 if test "${ac_cv_path_MV+set}" = set; then
5502 $as_echo_n "(cached) " >&6
5506 ac_cv_path_MV="$MV" # Let the user override the test with a path.
5509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5513 test -z "$as_dir" && as_dir=.
5514 for ac_exec_ext in '' $ac_executable_extensions; do
5515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5516 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
5517 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5524 test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
5529 if test -n "$MV"; then
5530 { $as_echo "$as_me:$LINENO: result: $MV" >&5
5531 $as_echo "$MV" >&6; }
5533 { $as_echo "$as_me:$LINENO: result: no" >&5
5534 $as_echo "no" >&6; }
5538 # Extract the first word of "tar", so it can be a program name with args.
5539 set dummy tar; ac_word=$2
5540 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5541 $as_echo_n "checking for $ac_word... " >&6; }
5542 if test "${ac_cv_path_TAR+set}" = set; then
5543 $as_echo_n "(cached) " >&6
5547 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
5550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5554 test -z "$as_dir" && as_dir=.
5555 for ac_exec_ext in '' $ac_executable_extensions; do
5556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5557 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
5558 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5565 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
5570 if test -n "$TAR"; then
5571 { $as_echo "$as_me:$LINENO: result: $TAR" >&5
5572 $as_echo "$TAR" >&6; }
5574 { $as_echo "$as_me:$LINENO: result: no" >&5
5575 $as_echo "no" >&6; }
5581 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5582 if test -n "$ac_tool_prefix"; then
5583 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5584 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5585 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5586 $as_echo_n "checking for $ac_word... " >&6; }
5587 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5588 $as_echo_n "(cached) " >&6
5592 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5599 test -z "$as_dir" && as_dir=.
5600 for ac_exec_ext in '' $ac_executable_extensions; do
5601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5602 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5603 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5613 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5614 if test -n "$PKG_CONFIG"; then
5615 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5616 $as_echo "$PKG_CONFIG" >&6; }
5618 { $as_echo "$as_me:$LINENO: result: no" >&5
5619 $as_echo "no" >&6; }
5624 if test -z "$ac_cv_path_PKG_CONFIG"; then
5625 ac_pt_PKG_CONFIG=$PKG_CONFIG
5626 # Extract the first word of "pkg-config", so it can be a program name with args.
5627 set dummy pkg-config; ac_word=$2
5628 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5629 $as_echo_n "checking for $ac_word... " >&6; }
5630 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
5631 $as_echo_n "(cached) " >&6
5633 case $ac_pt_PKG_CONFIG in
5635 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5642 test -z "$as_dir" && as_dir=.
5643 for ac_exec_ext in '' $ac_executable_extensions; do
5644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5645 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5646 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5656 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5657 if test -n "$ac_pt_PKG_CONFIG"; then
5658 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5659 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5661 { $as_echo "$as_me:$LINENO: result: no" >&5
5662 $as_echo "no" >&6; }
5665 if test "x$ac_pt_PKG_CONFIG" = x; then
5668 case $cross_compiling:$ac_tool_warned in
5670 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5671 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5672 ac_tool_warned=yes ;;
5674 PKG_CONFIG=$ac_pt_PKG_CONFIG
5677 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5681 if test -n "$PKG_CONFIG"; then
5682 _pkg_min_version=0.9.0
5683 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5684 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5685 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5686 { $as_echo "$as_me:$LINENO: result: yes" >&5
5687 $as_echo "yes" >&6; }
5689 { $as_echo "$as_me:$LINENO: result: no" >&5
5690 $as_echo "no" >&6; }
5697 { $as_echo "$as_me:$LINENO: checking for GLIB" >&5
5698 $as_echo_n "checking for GLIB... " >&6; }
5700 if test -n "$PKG_CONFIG"; then
5701 if test -n "$GLIB_CFLAGS"; then
5702 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
5704 if test -n "$PKG_CONFIG" && \
5705 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED\"") >&5
5706 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED") 2>&5
5708 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5709 (exit $ac_status); }; then
5710 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
5718 if test -n "$PKG_CONFIG"; then
5719 if test -n "$GLIB_LIBS"; then
5720 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
5722 if test -n "$PKG_CONFIG" && \
5723 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED\"") >&5
5724 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED") 2>&5
5726 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5727 (exit $ac_status); }; then
5728 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
5739 if test $pkg_failed = yes; then
5741 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5742 _pkg_short_errors_supported=yes
5744 _pkg_short_errors_supported=no
5746 if test $_pkg_short_errors_supported = yes; then
5747 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED"`
5749 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED"`
5751 # Put the nasty error message in config.log where it belongs
5752 echo "$GLIB_PKG_ERRORS" >&5
5754 { { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED) were not met:
5758 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5759 installed software in a non-standard prefix.
5761 Alternatively, you may set the environment variables GLIB_CFLAGS
5762 and GLIB_LIBS to avoid the need to call pkg-config.
5763 See the pkg-config man page for more details.
5765 $as_echo "$as_me: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED) were not met:
5769 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5770 installed software in a non-standard prefix.
5772 Alternatively, you may set the environment variables GLIB_CFLAGS
5773 and GLIB_LIBS to avoid the need to call pkg-config.
5774 See the pkg-config man page for more details.
5776 { (exit 1); exit 1; }; }
5777 elif test $pkg_failed = untried; then
5778 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5779 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5780 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5781 is in your PATH or set the PKG_CONFIG environment variable to the full
5784 Alternatively, you may set the environment variables GLIB_CFLAGS
5785 and GLIB_LIBS to avoid the need to call pkg-config.
5786 See the pkg-config man page for more details.
5788 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5789 See \`config.log' for more details." >&5
5790 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5791 is in your PATH or set the PKG_CONFIG environment variable to the full
5794 Alternatively, you may set the environment variables GLIB_CFLAGS
5795 and GLIB_LIBS to avoid the need to call pkg-config.
5796 See the pkg-config man page for more details.
5798 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5799 See \`config.log' for more details." >&2;}
5800 { (exit 1); exit 1; }; }; }
5802 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
5803 GLIB_LIBS=$pkg_cv_GLIB_LIBS
5804 { $as_echo "$as_me:$LINENO: result: yes" >&5
5805 $as_echo "yes" >&6; }
5818 ac_config_files="$ac_config_files gob2.spec Makefile src/Makefile doc/Makefile examples/Makefile doc/gob2.1"
5820 cat >confcache <<\_ACEOF
5821 # This file is a shell script that caches the results of configure
5822 # tests run on this system so they can be shared between configure
5823 # scripts and configure runs, see configure's option --config-cache.
5824 # It is not useful on other systems. If it contains results you don't
5825 # want to keep, you may remove or edit it.
5827 # config.status only pays attention to the cache file if you give it
5828 # the --recheck option to rerun configure.
5830 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5831 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5836 # The following way of writing the cache mishandles newlines in values,
5837 # but we know of no workaround that is simple, portable, and efficient.
5838 # So, we kill variables containing newlines.
5839 # Ultrix sh set writes to stderr and can't be redirected directly,
5840 # and sets the high bit in the cache file unless we assign to the vars.
5842 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5843 eval ac_val=\$$ac_var
5847 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5848 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5851 _ | IFS | as_nl) ;; #(
5852 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5853 *) $as_unset $ac_var ;;
5859 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5860 *${as_nl}ac_space=\ *)
5861 # `set' does not quote correctly, so add quotes (double-quote
5862 # substitution turns \\\\ into \\, and sed turns \\ into \).
5865 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5868 # `set' quotes correctly as required by POSIX, so do not add quotes.
5869 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5878 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5880 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5882 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5883 if test -w "$cache_file"; then
5884 test "x$cache_file" != "x/dev/null" &&
5885 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5886 $as_echo "$as_me: updating cache $cache_file" >&6;}
5887 cat confcache >$cache_file
5889 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5890 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5895 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5896 # Let make expand exec_prefix.
5897 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5899 DEFS=-DHAVE_CONFIG_H
5903 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5904 # 1. Remove the extension, and $U if already installed.
5905 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5906 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5907 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5908 # will be set to the directory where LIBOBJS objects are built.
5909 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5910 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5914 LTLIBOBJS=$ac_ltlibobjs
5917 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5918 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5919 Usually this means the macro was only invoked conditionally." >&5
5920 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5921 Usually this means the macro was only invoked conditionally." >&2;}
5922 { (exit 1); exit 1; }; }
5924 if test -z "${NOINSTGOB_TRUE}" && test -z "${NOINSTGOB_FALSE}"; then
5925 { { $as_echo "$as_me:$LINENO: error: conditional \"NOINSTGOB\" was never defined.
5926 Usually this means the macro was only invoked conditionally." >&5
5927 $as_echo "$as_me: error: conditional \"NOINSTGOB\" was never defined.
5928 Usually this means the macro was only invoked conditionally." >&2;}
5929 { (exit 1); exit 1; }; }
5931 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5932 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5933 Usually this means the macro was only invoked conditionally." >&5
5934 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5935 Usually this means the macro was only invoked conditionally." >&2;}
5936 { (exit 1); exit 1; }; }
5938 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5939 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5940 Usually this means the macro was only invoked conditionally." >&5
5941 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5942 Usually this means the macro was only invoked conditionally." >&2;}
5943 { (exit 1); exit 1; }; }
5945 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5946 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5947 Usually this means the macro was only invoked conditionally." >&5
5948 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5949 Usually this means the macro was only invoked conditionally." >&2;}
5950 { (exit 1); exit 1; }; }
5953 : ${CONFIG_STATUS=./config.status}
5955 ac_clean_files_save=$ac_clean_files
5956 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5957 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5958 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5959 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5961 # Generated by $as_me.
5962 # Run this file to recreate the current configuration.
5963 # Compiler output produced by configure, useful for debugging
5964 # configure, is in config.log if it exists.
5969 SHELL=\${CONFIG_SHELL-$SHELL}
5972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5973 ## --------------------- ##
5974 ## M4sh Initialization. ##
5975 ## --------------------- ##
5977 # Be more Bourne compatible
5978 DUALCASE=1; export DUALCASE # for MKS sh
5979 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5982 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5983 # is contrary to our usage. Disable this feature.
5984 alias -g '${1+"$@"}'='"$@"'
5985 setopt NO_GLOB_SUBST
5987 case `(set -o) 2>/dev/null` in
5988 *posix*) set -o posix ;;
5997 # Avoid depending upon Character Ranges.
5998 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5999 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6000 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6001 as_cr_digits='0123456789'
6002 as_cr_alnum=$as_cr_Letters$as_cr_digits
6007 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6008 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6009 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6010 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6011 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6012 as_echo='printf %s\n'
6013 as_echo_n='printf %s'
6015 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6016 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6017 as_echo_n='/usr/ucb/echo -n'
6019 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6020 as_echo_n_body='eval
6024 expr "X$arg" : "X\\(.*\\)$as_nl";
6025 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6027 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6029 export as_echo_n_body
6030 as_echo_n='sh -c $as_echo_n_body as_echo'
6033 as_echo='sh -c $as_echo_body as_echo'
6036 # The user is always right.
6037 if test "${PATH_SEPARATOR+set}" != set; then
6039 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6040 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6045 # Support unset when possible.
6046 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6054 # We need space, tab and new line, in precisely that order. Quoting is
6055 # there to prevent editors from complaining about space-tab.
6056 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6057 # splitting by setting IFS to empty value.)
6060 # Find who we are. Look in the path if we contain no directory separator.
6062 *[\\/]* ) as_myself=$0 ;;
6063 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6067 test -z "$as_dir" && as_dir=.
6068 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6074 # We did not find ourselves, most probably we were run as `sh COMMAND'
6075 # in which case we are not to be found in the path.
6076 if test "x$as_myself" = x; then
6079 if test ! -f "$as_myself"; then
6080 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6081 { (exit 1); exit 1; }
6084 # Work around bugs in pre-3.0 UWIN ksh.
6085 for as_var in ENV MAIL MAILPATH
6086 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6098 # Required to use basename.
6099 if expr a : '\(a\)' >/dev/null 2>&1 &&
6100 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6106 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6107 as_basename=basename
6113 # Name of the executable.
6114 as_me=`$as_basename -- "$0" ||
6115 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6116 X"$0" : 'X\(//\)$' \| \
6117 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6119 sed '/^.*\/\([^/][^/]*\)\/*$/{
6140 test "x$as_lineno_1" != "x$as_lineno_2" &&
6141 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6143 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6144 # uniformly replaced by the line number. The first 'sed' inserts a
6145 # line-number line after each line using $LINENO; the second 'sed'
6146 # does the real work. The second script uses 'N' to pair each
6147 # line-number line with the line containing $LINENO, and appends
6148 # trailing '-' during substitution so that $LINENO is not a special
6150 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6151 # scripts with optimization help from Paolo Bonzini. Blame Lee
6152 # E. McMahon (1931-1989) for sed's syntax. :-)
6164 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6168 chmod +x "$as_me.lineno" ||
6169 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6170 { (exit 1); exit 1; }; }
6172 # Don't try to exec as it changes $[0], causing all sort of problems
6173 # (the dirname of $[0] is not the place where we might find the
6174 # original and so on. Autoconf is especially sensitive to this).
6176 # Exit status is that of the last command.
6181 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6187 ECHO_C= ECHO_N= ECHO_T=
6190 case `echo 'x\c'` in
6191 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6197 if expr a : '\(a\)' >/dev/null 2>&1 &&
6198 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6204 rm -f conf$$ conf$$.exe conf$$.file
6205 if test -d conf$$.dir; then
6206 rm -f conf$$.dir/conf$$.file
6209 mkdir conf$$.dir 2>/dev/null
6211 if (echo >conf$$.file) 2>/dev/null; then
6212 if ln -s conf$$.file conf$$ 2>/dev/null; then
6214 # ... but there are two gotchas:
6215 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6216 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6217 # In both cases, we have to default to `cp -p'.
6218 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6220 elif ln conf$$.file conf$$ 2>/dev/null; then
6228 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6229 rmdir conf$$.dir 2>/dev/null
6231 if mkdir -p . 2>/dev/null; then
6234 test -d ./-p && rmdir ./-p
6238 if test -x / >/dev/null 2>&1; then
6241 if ls -dL / >/dev/null 2>&1; then
6248 if test -d "$1"; then
6254 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6255 ???[sx]*):;;*)false;;esac;fi
6259 as_executable_p=$as_test_x
6261 # Sed expression to map a string onto a valid CPP name.
6262 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6264 # Sed expression to map a string onto a valid variable name.
6265 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6270 # Save the log message, to keep $[0] and so on meaningful, and to
6271 # report actual input values of CONFIG_FILES etc. instead of their
6272 # values after options handling.
6274 This file was extended by $as_me, which was
6275 generated by GNU Autoconf 2.63. Invocation command line was
6277 CONFIG_FILES = $CONFIG_FILES
6278 CONFIG_HEADERS = $CONFIG_HEADERS
6279 CONFIG_LINKS = $CONFIG_LINKS
6280 CONFIG_COMMANDS = $CONFIG_COMMANDS
6283 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6288 case $ac_config_files in *"
6289 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6292 case $ac_config_headers in *"
6293 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6298 # Files that config.status was made for.
6299 config_files="$ac_config_files"
6300 config_headers="$ac_config_headers"
6301 config_commands="$ac_config_commands"
6305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6307 \`$as_me' instantiates files from templates according to the
6308 current configuration.
6310 Usage: $0 [OPTION]... [FILE]...
6312 -h, --help print this help, then exit
6313 -V, --version print version number and configuration settings, then exit
6314 -q, --quiet, --silent
6315 do not print progress messages
6316 -d, --debug don't remove temporary files
6317 --recheck update $as_me by reconfiguring in the same conditions
6318 --file=FILE[:TEMPLATE]
6319 instantiate the configuration file FILE
6320 --header=FILE[:TEMPLATE]
6321 instantiate the configuration header FILE
6323 Configuration files:
6326 Configuration headers:
6329 Configuration commands:
6332 Report bugs to <bug-autoconf@gnu.org>."
6335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6338 configured by $0, generated by GNU Autoconf 2.63,
6339 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6341 Copyright (C) 2008 Free Software Foundation, Inc.
6342 This config.status script is free software; the Free Software Foundation
6343 gives unlimited permission to copy, distribute and modify it."
6349 test -n "\$AWK" || AWK=awk
6352 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6353 # The default lists apply if the user does not specify any file.
6359 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6360 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6371 # Handling of the options.
6372 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6374 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6375 $as_echo "$ac_cs_version"; exit ;;
6376 --debug | --debu | --deb | --de | --d | -d )
6378 --file | --fil | --fi | --f )
6381 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6383 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
6384 ac_need_defaults=false;;
6385 --header | --heade | --head | --hea )
6388 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6390 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
6391 ac_need_defaults=false;;
6393 # Conflict between --help and --header
6394 { $as_echo "$as_me: error: ambiguous option: $1
6395 Try \`$0 --help' for more information." >&2
6396 { (exit 1); exit 1; }; };;
6397 --help | --hel | -h )
6398 $as_echo "$ac_cs_usage"; exit ;;
6399 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6400 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6404 -*) { $as_echo "$as_me: error: unrecognized option: $1
6405 Try \`$0 --help' for more information." >&2
6406 { (exit 1); exit 1; }; } ;;
6408 *) ac_config_targets="$ac_config_targets $1"
6409 ac_need_defaults=false ;;
6415 ac_configure_extra_args=
6417 if $ac_cs_silent; then
6419 ac_configure_extra_args="$ac_configure_extra_args --silent"
6423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6424 if \$ac_cs_recheck; then
6425 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6427 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6428 CONFIG_SHELL='$SHELL'
6434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6438 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6439 ## Running $as_me. ##
6445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6449 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6455 # Handling of arguments.
6456 for ac_config_target in $ac_config_targets
6458 case $ac_config_target in
6459 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6460 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6461 "gob2.spec") CONFIG_FILES="$CONFIG_FILES gob2.spec" ;;
6462 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6463 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6464 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
6465 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
6466 "doc/gob2.1") CONFIG_FILES="$CONFIG_FILES doc/gob2.1" ;;
6468 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6469 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6470 { (exit 1); exit 1; }; };;
6475 # If the user did not use the arguments to specify the items to instantiate,
6476 # then the envvar interface is used. Set only those that are not.
6477 # We use the long form for the default assignment because of an extremely
6478 # bizarre bug on SunOS 4.1.3.
6479 if $ac_need_defaults; then
6480 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6481 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6482 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6485 # Have a temporary directory for convenience. Make it in the build tree
6486 # simply because there is no reason against having it here, and in addition,
6487 # creating and moving files from /tmp can sometimes cause problems.
6488 # Hook for its removal unless debugging.
6489 # Note that there is a small window in which the directory will not be cleaned:
6490 # after its creation but before its name has been assigned to `$tmp'.
6494 trap 'exit_status=$?
6495 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6497 trap '{ (exit 1); exit 1; }' 1 2 13 15
6499 # Create a (secure) tmp directory for tmp files.
6502 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6503 test -n "$tmp" && test -d "$tmp"
6506 tmp=./conf$$-$RANDOM
6507 (umask 077 && mkdir "$tmp")
6510 $as_echo "$as_me: cannot create a temporary directory in ." >&2
6511 { (exit 1); exit 1; }
6514 # Set up the scripts for CONFIG_FILES section.
6515 # No need to generate them if there are no CONFIG_FILES.
6516 # This happens for instance with `./config.status config.h'.
6517 if test -n "$CONFIG_FILES"; then
6521 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6522 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6528 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6533 echo "cat >conf$$subs.awk <<_ACEOF" &&
6534 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6537 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6538 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6539 { (exit 1); exit 1; }; }
6540 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6542 for ac_last_try in false false false false false :; do
6543 . ./conf$$subs.sh ||
6544 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6545 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6546 { (exit 1); exit 1; }; }
6548 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6549 if test $ac_delim_n = $ac_delim_num; then
6551 elif $ac_last_try; then
6552 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6553 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6554 { (exit 1); exit 1; }; }
6556 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6562 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6566 s/^/S["/; s/!.*/"]=/
6576 s/\(.\{148\}\).*/\1/
6578 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6583 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6590 s/\(.\{148\}\).*/\1/
6592 s/["\\]/\\&/g; s/^/"/; s/$/"/
6596 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6601 ' <conf$$subs.awk | sed '
6606 ' >>$CONFIG_STATUS || ac_write_fail=1
6607 rm -f conf$$subs.awk
6608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6610 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6611 for (key in S) S_is_set[key] = 1
6617 nfields = split(line, field, "@")
6619 len = length(field[1])
6620 for (i = 2; i < nfields; i++) {
6622 keylen = length(key)
6623 if (S_is_set[key]) {
6625 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6626 len += length(value) + length(field[++i])
6637 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6638 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6639 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6642 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6643 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6644 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
6645 { (exit 1); exit 1; }; }
6648 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6649 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6650 # trailing colons and then remove the whole line if VPATH becomes empty
6651 # (actually we leave an empty line to preserve line numbers).
6652 if test "x$srcdir" = x.; then
6653 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6657 s/^\([^=]*=[ ]*\):*/\1/
6663 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6664 fi # test -n "$CONFIG_FILES"
6666 # Set up the scripts for CONFIG_HEADERS section.
6667 # No need to generate them if there are no CONFIG_HEADERS.
6668 # This happens for instance with `./config.status Makefile'.
6669 if test -n "$CONFIG_HEADERS"; then
6670 cat >"$tmp/defines.awk" <<\_ACAWK ||
6674 # Transform confdefs.h into an awk script `defines.awk', embedded as
6675 # here-document in config.status, that substitutes the proper values into
6676 # config.h.in to produce config.h.
6678 # Create a delimiter string that does not exist in confdefs.h, to ease
6679 # handling of long lines.
6681 for ac_last_try in false false :; do
6682 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6683 if test -z "$ac_t"; then
6685 elif $ac_last_try; then
6686 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
6687 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
6688 { (exit 1); exit 1; }; }
6690 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6694 # For the awk script, D is an array of macro values keyed by name,
6695 # likewise P contains macro parameters if any. Preserve backslash
6696 # newline sequences.
6698 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6700 s/.\{148\}/&'"$ac_delim"'/g
6703 s/^[ ]*#[ ]*define[ ][ ]*/ /
6710 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6712 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6716 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6717 D["\1"]=" \3\\\\\\n"\\/p
6719 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6724 s/.\{148\}/&'"$ac_delim"'/g
6729 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6732 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6734 ' <confdefs.h | sed '
6735 s/'"$ac_delim"'/"\\\
6736 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6739 for (key in D) D_is_set[key] = 1
6742 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6744 split(line, arg, " ")
6745 if (arg[1] == "#") {
6749 defundef = substr(arg[1], 2)
6752 split(mac1, mac2, "(") #)
6754 prefix = substr(line, 1, index(line, defundef) - 1)
6755 if (D_is_set[macro]) {
6756 # Preserve the white space surrounding the "#".
6757 print prefix "define", macro P[macro] D[macro]
6760 # Replace #undef with comments. This is necessary, for example,
6761 # in the case of _POSIX_SOURCE, which is predefined and required
6762 # on some systems where configure will not decide to define it.
6763 if (defundef == "undef") {
6764 print "/*", prefix defundef, macro, "*/"
6772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6773 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6774 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6775 { (exit 1); exit 1; }; }
6776 fi # test -n "$CONFIG_HEADERS"
6779 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6784 :[FHLC]) ac_mode=$ac_tag; continue;;
6786 case $ac_mode$ac_tag in
6788 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6789 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6790 { (exit 1); exit 1; }; };;
6791 :[FH]-) ac_tag=-:-;;
6792 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6809 -) ac_f="$tmp/stdin";;
6810 *) # Look for the file first in the build tree, then in the source tree
6811 # (if the path is not absolute). The absolute path cannot be DOS-style,
6812 # because $ac_f cannot contain `:'.
6816 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6818 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6819 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6820 { (exit 1); exit 1; }; };;
6822 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6823 ac_file_inputs="$ac_file_inputs '$ac_f'"
6826 # Let's still pretend it is `configure' which instantiates (i.e., don't
6827 # use $as_me), people would be surprised to read:
6828 # /* config.h. Generated by config.status. */
6829 configure_input='Generated from '`
6830 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6832 if test x"$ac_file" != x-; then
6833 configure_input="$ac_file. $configure_input"
6834 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6835 $as_echo "$as_me: creating $ac_file" >&6;}
6837 # Neutralize special characters interpreted by sed in replacement strings.
6838 case $configure_input in #(
6839 *\&* | *\|* | *\\* )
6840 ac_sed_conf_input=`$as_echo "$configure_input" |
6841 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6842 *) ac_sed_conf_input=$configure_input;;
6846 *:-:* | *:-) cat >"$tmp/stdin" \
6847 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6848 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6849 { (exit 1); exit 1; }; } ;;
6854 ac_dir=`$as_dirname -- "$ac_file" ||
6855 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6856 X"$ac_file" : 'X\(//\)[^/]' \| \
6857 X"$ac_file" : 'X\(//\)$' \| \
6858 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6859 $as_echo X"$ac_file" |
6860 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6879 -*) as_dir=./$as_dir;;
6881 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6885 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6886 *) as_qdir=$as_dir;;
6888 as_dirs="'$as_qdir' $as_dirs"
6889 as_dir=`$as_dirname -- "$as_dir" ||
6890 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6891 X"$as_dir" : 'X\(//\)[^/]' \| \
6892 X"$as_dir" : 'X\(//\)$' \| \
6893 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6894 $as_echo X"$as_dir" |
6895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6912 test -d "$as_dir" && break
6914 test -z "$as_dirs" || eval "mkdir $as_dirs"
6915 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6916 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6917 { (exit 1); exit 1; }; }; }
6921 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6923 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6924 # A ".." for each directory in $ac_dir_suffix.
6925 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6926 case $ac_top_builddir_sub in
6927 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6928 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6931 ac_abs_top_builddir=$ac_pwd
6932 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6933 # for backward compatibility:
6934 ac_top_builddir=$ac_top_build_prefix
6937 .) # We are building in place.
6939 ac_top_srcdir=$ac_top_builddir_sub
6940 ac_abs_top_srcdir=$ac_pwd ;;
6941 [\\/]* | ?:[\\/]* ) # Absolute name.
6942 ac_srcdir=$srcdir$ac_dir_suffix;
6943 ac_top_srcdir=$srcdir
6944 ac_abs_top_srcdir=$srcdir ;;
6946 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6947 ac_top_srcdir=$ac_top_build_prefix$srcdir
6948 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6950 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6960 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6961 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6966 # If the template does not know about datarootdir, expand it.
6967 # FIXME: This hack should be removed a few years after 2.60.
6968 ac_datarootdir_hack=; ac_datarootdir_seen=
6981 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6982 *datarootdir*) ac_datarootdir_seen=yes;;
6983 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6984 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6985 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6988 ac_datarootdir_hack='
6989 s&@datadir@&$datadir&g
6990 s&@docdir@&$docdir&g
6991 s&@infodir@&$infodir&g
6992 s&@localedir@&$localedir&g
6993 s&@mandir@&$mandir&g
6994 s&\\\${datarootdir}&$datarootdir&g' ;;
6998 # Neutralize VPATH when `$srcdir' = `.'.
6999 # Shell code in configure.ac might set extrasub.
7000 # FIXME: do we really want to maintain this feature?
7001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7002 ac_sed_extra="$ac_vpsub
7005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7007 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7008 s|@configure_input@|$ac_sed_conf_input|;t t
7009 s&@top_builddir@&$ac_top_builddir_sub&;t t
7010 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7011 s&@srcdir@&$ac_srcdir&;t t
7012 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7013 s&@top_srcdir@&$ac_top_srcdir&;t t
7014 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7015 s&@builddir@&$ac_builddir&;t t
7016 s&@abs_builddir@&$ac_abs_builddir&;t t
7017 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7018 s&@INSTALL@&$ac_INSTALL&;t t
7019 $ac_datarootdir_hack
7021 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
7022 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7023 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7024 { (exit 1); exit 1; }; }
7026 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7027 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7028 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7029 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7030 which seems to be undefined. Please make sure it is defined." >&5
7031 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7032 which seems to be undefined. Please make sure it is defined." >&2;}
7036 -) cat "$tmp/out" && rm -f "$tmp/out";;
7037 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
7039 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7040 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7041 { (exit 1); exit 1; }; }
7047 if test x"$ac_file" != x-; then
7049 $as_echo "/* $configure_input */" \
7050 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
7051 } >"$tmp/config.h" \
7052 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7053 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7054 { (exit 1); exit 1; }; }
7055 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
7056 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7057 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7060 mv "$tmp/config.h" "$ac_file" \
7061 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7062 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7063 { (exit 1); exit 1; }; }
7066 $as_echo "/* $configure_input */" \
7067 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
7068 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
7069 $as_echo "$as_me: error: could not create -" >&2;}
7070 { (exit 1); exit 1; }; }
7072 # Compute "$ac_file"'s index in $config_headers.
7074 for _am_header in $config_headers :; do
7076 "$ac_file" | "$ac_file":* )
7079 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7082 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
7083 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7084 X"$ac_file" : 'X\(//\)[^/]' \| \
7085 X"$ac_file" : 'X\(//\)$' \| \
7086 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7087 $as_echo X"$ac_file" |
7088 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7104 s/.*/./; q'`/stamp-h$_am_stamp_count
7107 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
7108 $as_echo "$as_me: executing $ac_file commands" >&6;}
7113 case $ac_file$ac_mode in
7114 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7115 # Strip MF so we end up with the name of the file.
7116 mf=`echo "$mf" | sed -e 's/:.*$//'`
7117 # Check whether this is an Automake generated Makefile or not.
7118 # We used to match only the files named `Makefile.in', but
7119 # some people rename them; so instead we look at the file content.
7120 # Grep'ing the first line is not enough: some people post-process
7121 # each Makefile.in and add a new line on top of each file to say so.
7122 # So let's grep whole file.
7123 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7124 dirpart=`$as_dirname -- "$mf" ||
7125 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7126 X"$mf" : 'X\(//\)[^/]' \| \
7127 X"$mf" : 'X\(//\)$' \| \
7128 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7130 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7150 # Extract the definition of DEPDIR, am__include, and am__quote
7151 # from the Makefile without running `make'.
7152 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7153 test -z "$DEPDIR" && continue
7154 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7155 test -z "am__include" && continue
7156 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7157 # When using ansi2knr, U may be empty or an underscore; expand it
7158 U=`sed -n 's/^U = //p' < "$mf"`
7159 # Find all dependency output files, they are included files with
7160 # $(DEPDIR) in their names. We invoke sed twice because it is the
7161 # simplest approach to changing $(DEPDIR) to its actual value in the
7163 for file in `sed -n "
7164 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7165 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7166 # Make sure the directory exists.
7167 test -f "$dirpart/$file" && continue
7168 fdir=`$as_dirname -- "$file" ||
7169 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7170 X"$file" : 'X\(//\)[^/]' \| \
7171 X"$file" : 'X\(//\)$' \| \
7172 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7191 { as_dir=$dirpart/$fdir
7193 -*) as_dir=./$as_dir;;
7195 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7199 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7200 *) as_qdir=$as_dir;;
7202 as_dirs="'$as_qdir' $as_dirs"
7203 as_dir=`$as_dirname -- "$as_dir" ||
7204 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7205 X"$as_dir" : 'X\(//\)[^/]' \| \
7206 X"$as_dir" : 'X\(//\)$' \| \
7207 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7208 $as_echo X"$as_dir" |
7209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7226 test -d "$as_dir" && break
7228 test -z "$as_dirs" || eval "mkdir $as_dirs"
7229 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7230 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7231 { (exit 1); exit 1; }; }; }
7232 # echo "creating $dirpart/$file"
7233 echo '# dummy' > "$dirpart/$file"
7242 { (exit 0); exit 0; }
7244 chmod +x $CONFIG_STATUS
7245 ac_clean_files=$ac_clean_files_save
7247 test $ac_write_fail = 0 ||
7248 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
7249 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
7250 { (exit 1); exit 1; }; }
7253 # configure is writing to config.log, and then calls config.status.
7254 # config.status does its own redirection, appending to config.log.
7255 # Unfortunately, on DOS this fails, as config.log is still kept open
7256 # by configure, so config.status won't be able to write to it; its
7257 # output is simply discarded. So we exec the FD to /dev/null,
7258 # effectively closing config.log, so it can be properly (re)opened and
7259 # appended to by config.status. When coming back to configure, we
7260 # need to make the FD available again.
7261 if test "$no_create" != yes; then
7263 ac_config_status_args=
7264 test "$silent" = yes &&
7265 ac_config_status_args="$ac_config_status_args --quiet"
7267 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7269 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7270 # would make configure fail if this is the last instruction.
7271 $ac_cs_success || { (exit 1); exit 1; }
7273 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7274 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7275 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}