2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.61 for FULL-PACKAGE-NAME VERSION.
5 @%:@ Report bugs to <BUG-REPORT-ADDRESS>.
7 @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 @%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 @%:@ This configure script is free software; the Free Software Foundation
10 @%:@ gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix=/usr/local
566 ac_config_libobj_dir=.
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='FULL-PACKAGE-NAME'
576 PACKAGE_TARNAME='full-package-name'
577 PACKAGE_VERSION='VERSION'
578 PACKAGE_STRING='FULL-PACKAGE-NAME VERSION'
579 PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
581 ac_unique_file="config.h.in"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
669 INSTALL_STRIP_PROGRAM
700 ac_precious_vars='build_alias
711 # Initialize some variables set by options.
713 ac_init_version=false
714 # The variables have the same names as the options, with
715 # dashes changed to underlines.
723 program_transform_name=s,x,x,
731 # Installation directory options.
732 # These are left unexpanded so users can "make install exec_prefix=/foo"
733 # and all the variables that are supposed to be based on exec_prefix
734 # by default will actually change.
735 # Use braces instead of parens because sh, perl, etc. also accept them.
736 # (The list follows the same order as the GNU Coding Standards.)
737 bindir='${exec_prefix}/bin'
738 sbindir='${exec_prefix}/sbin'
739 libexecdir='${exec_prefix}/libexec'
740 datarootdir='${prefix}/share'
741 datadir='${datarootdir}'
742 sysconfdir='${prefix}/etc'
743 sharedstatedir='${prefix}/com'
744 localstatedir='${prefix}/var'
745 includedir='${prefix}/include'
746 oldincludedir='/usr/include'
747 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
748 infodir='${datarootdir}/info'
753 libdir='${exec_prefix}/lib'
754 localedir='${datarootdir}/locale'
755 mandir='${datarootdir}/man'
761 # If the previous option needs an argument, assign it.
762 if test -n "$ac_prev"; then
763 eval $ac_prev=\$ac_option
769 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
773 # Accept the important Cygnus configure options, so we can diagnose typos.
775 case $ac_dashdash$ac_option in
779 -bindir | --bindir | --bindi | --bind | --bin | --bi)
781 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
784 -build | --build | --buil | --bui | --bu)
785 ac_prev=build_alias ;;
786 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
787 build_alias=$ac_optarg ;;
789 -cache-file | --cache-file | --cache-fil | --cache-fi \
790 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
791 ac_prev=cache_file ;;
792 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
793 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
794 cache_file=$ac_optarg ;;
797 cache_file=config.cache ;;
799 -datadir | --datadir | --datadi | --datad)
801 -datadir=* | --datadir=* | --datadi=* | --datad=*)
802 datadir=$ac_optarg ;;
804 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
805 | --dataroo | --dataro | --datar)
806 ac_prev=datarootdir ;;
807 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
808 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
809 datarootdir=$ac_optarg ;;
811 -disable-* | --disable-*)
812 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
813 # Reject names that are not valid shell variable names.
814 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
815 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
816 { (exit 1); exit 1; }; }
817 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
818 eval enable_$ac_feature=no ;;
820 -docdir | --docdir | --docdi | --doc | --do)
822 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
825 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
827 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
830 -enable-* | --enable-*)
831 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
832 # Reject names that are not valid shell variable names.
833 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
834 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
835 { (exit 1); exit 1; }; }
836 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
837 eval enable_$ac_feature=\$ac_optarg ;;
839 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
840 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
841 | --exec | --exe | --ex)
842 ac_prev=exec_prefix ;;
843 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
844 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
845 | --exec=* | --exe=* | --ex=*)
846 exec_prefix=$ac_optarg ;;
848 -gas | --gas | --ga | --g)
849 # Obsolete; use --with-gas.
852 -help | --help | --hel | --he | -h)
854 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
855 ac_init_help=recursive ;;
856 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
857 ac_init_help=short ;;
859 -host | --host | --hos | --ho)
860 ac_prev=host_alias ;;
861 -host=* | --host=* | --hos=* | --ho=*)
862 host_alias=$ac_optarg ;;
864 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
866 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
868 htmldir=$ac_optarg ;;
870 -includedir | --includedir | --includedi | --included | --include \
871 | --includ | --inclu | --incl | --inc)
872 ac_prev=includedir ;;
873 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
874 | --includ=* | --inclu=* | --incl=* | --inc=*)
875 includedir=$ac_optarg ;;
877 -infodir | --infodir | --infodi | --infod | --info | --inf)
879 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
880 infodir=$ac_optarg ;;
882 -libdir | --libdir | --libdi | --libd)
884 -libdir=* | --libdir=* | --libdi=* | --libd=*)
887 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
888 | --libexe | --libex | --libe)
889 ac_prev=libexecdir ;;
890 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
891 | --libexe=* | --libex=* | --libe=*)
892 libexecdir=$ac_optarg ;;
894 -localedir | --localedir | --localedi | --localed | --locale)
896 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
897 localedir=$ac_optarg ;;
899 -localstatedir | --localstatedir | --localstatedi | --localstated \
900 | --localstate | --localstat | --localsta | --localst | --locals)
901 ac_prev=localstatedir ;;
902 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
903 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
904 localstatedir=$ac_optarg ;;
906 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
908 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
912 # Obsolete; use --without-fp.
915 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
916 | --no-cr | --no-c | -n)
919 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
920 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
923 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
924 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
925 | --oldin | --oldi | --old | --ol | --o)
926 ac_prev=oldincludedir ;;
927 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
928 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
929 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
930 oldincludedir=$ac_optarg ;;
932 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
934 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
937 -program-prefix | --program-prefix | --program-prefi | --program-pref \
938 | --program-pre | --program-pr | --program-p)
939 ac_prev=program_prefix ;;
940 -program-prefix=* | --program-prefix=* | --program-prefi=* \
941 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
942 program_prefix=$ac_optarg ;;
944 -program-suffix | --program-suffix | --program-suffi | --program-suff \
945 | --program-suf | --program-su | --program-s)
946 ac_prev=program_suffix ;;
947 -program-suffix=* | --program-suffix=* | --program-suffi=* \
948 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
949 program_suffix=$ac_optarg ;;
951 -program-transform-name | --program-transform-name \
952 | --program-transform-nam | --program-transform-na \
953 | --program-transform-n | --program-transform- \
954 | --program-transform | --program-transfor \
955 | --program-transfo | --program-transf \
956 | --program-trans | --program-tran \
957 | --progr-tra | --program-tr | --program-t)
958 ac_prev=program_transform_name ;;
959 -program-transform-name=* | --program-transform-name=* \
960 | --program-transform-nam=* | --program-transform-na=* \
961 | --program-transform-n=* | --program-transform-=* \
962 | --program-transform=* | --program-transfor=* \
963 | --program-transfo=* | --program-transf=* \
964 | --program-trans=* | --program-tran=* \
965 | --progr-tra=* | --program-tr=* | --program-t=*)
966 program_transform_name=$ac_optarg ;;
968 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
970 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
973 -psdir | --psdir | --psdi | --psd | --ps)
975 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
978 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
979 | -silent | --silent | --silen | --sile | --sil)
982 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
984 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
986 sbindir=$ac_optarg ;;
988 -sharedstatedir | --sharedstatedir | --sharedstatedi \
989 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
990 | --sharedst | --shareds | --shared | --share | --shar \
992 ac_prev=sharedstatedir ;;
993 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
994 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
995 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
997 sharedstatedir=$ac_optarg ;;
999 -site | --site | --sit)
1001 -site=* | --site=* | --sit=*)
1004 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1006 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1007 srcdir=$ac_optarg ;;
1009 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1010 | --syscon | --sysco | --sysc | --sys | --sy)
1011 ac_prev=sysconfdir ;;
1012 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1013 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1014 sysconfdir=$ac_optarg ;;
1016 -target | --target | --targe | --targ | --tar | --ta | --t)
1017 ac_prev=target_alias ;;
1018 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1019 target_alias=$ac_optarg ;;
1021 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1024 -version | --version | --versio | --versi | --vers | -V)
1025 ac_init_version=: ;;
1028 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1029 # Reject names that are not valid shell variable names.
1030 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1031 { echo "$as_me: error: invalid package name: $ac_package" >&2
1032 { (exit 1); exit 1; }; }
1033 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1034 eval with_$ac_package=\$ac_optarg ;;
1036 -without-* | --without-*)
1037 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1038 # Reject names that are not valid shell variable names.
1039 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1040 { echo "$as_me: error: invalid package name: $ac_package" >&2
1041 { (exit 1); exit 1; }; }
1042 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1043 eval with_$ac_package=no ;;
1046 # Obsolete; use --with-x.
1049 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1050 | --x-incl | --x-inc | --x-in | --x-i)
1051 ac_prev=x_includes ;;
1052 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1053 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1054 x_includes=$ac_optarg ;;
1056 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1057 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1058 ac_prev=x_libraries ;;
1059 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1060 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1061 x_libraries=$ac_optarg ;;
1063 -*) { echo "$as_me: error: unrecognized option: $ac_option
1064 Try \`$0 --help' for more information." >&2
1065 { (exit 1); exit 1; }; }
1069 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1070 # Reject names that are not valid shell variable names.
1071 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1072 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1073 { (exit 1); exit 1; }; }
1074 eval $ac_envvar=\$ac_optarg
1075 export $ac_envvar ;;
1078 # FIXME: should be removed in autoconf 3.0.
1079 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1080 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1081 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1082 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1088 if test -n "$ac_prev"; then
1089 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1090 { echo "$as_me: error: missing argument to $ac_option" >&2
1091 { (exit 1); exit 1; }; }
1094 # Be sure to have absolute directory names.
1095 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1096 datadir sysconfdir sharedstatedir localstatedir includedir \
1097 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1098 libdir localedir mandir
1100 eval ac_val=\$$ac_var
1102 [\\/$]* | ?:[\\/]* ) continue;;
1103 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1105 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1106 { (exit 1); exit 1; }; }
1109 # There might be people who depend on the old broken behavior: `$host'
1110 # used to hold the argument of --host etc.
1111 # FIXME: To remove some day.
1114 target=$target_alias
1116 # FIXME: To remove some day.
1117 if test "x$host_alias" != x; then
1118 if test "x$build_alias" = x; then
1119 cross_compiling=maybe
1120 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1121 If a cross compiler is detected then cross compile mode will be used." >&2
1122 elif test "x$build_alias" != "x$host_alias"; then
1128 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1130 test "$silent" = yes && exec 6>/dev/null
1133 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1134 ac_ls_di=`ls -di .` &&
1135 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1136 { echo "$as_me: error: Working directory cannot be determined" >&2
1137 { (exit 1); exit 1; }; }
1138 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1139 { echo "$as_me: error: pwd does not report name of working directory" >&2
1140 { (exit 1); exit 1; }; }
1143 # Find the source files, if location was not specified.
1144 if test -z "$srcdir"; then
1145 ac_srcdir_defaulted=yes
1146 # Try the directory containing this script, then the parent directory.
1147 ac_confdir=`$as_dirname -- "$0" ||
1148 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1149 X"$0" : 'X\(//\)[^/]' \| \
1150 X"$0" : 'X\(//\)$' \| \
1151 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1171 if test ! -r "$srcdir/$ac_unique_file"; then
1175 ac_srcdir_defaulted=no
1177 if test ! -r "$srcdir/$ac_unique_file"; then
1178 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1179 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1180 { (exit 1); exit 1; }; }
1182 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1184 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1185 { (exit 1); exit 1; }; }
1187 # When building in place, set srcdir=.
1188 if test "$ac_abs_confdir" = "$ac_pwd"; then
1191 # Remove unnecessary trailing slashes from srcdir.
1192 # Double slashes in file names in object file debugging info
1193 # mess up M-x gdb in Emacs.
1195 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1197 for ac_var in $ac_precious_vars; do
1198 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1199 eval ac_env_${ac_var}_value=\$${ac_var}
1200 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1201 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1205 # Report the --help message.
1207 if test "$ac_init_help" = "long"; then
1208 # Omit some internal or obsolete options to make the list less imposing.
1209 # This message is too long to be a string in the A/UX 3.1 sh.
1211 \`configure' configures FULL-PACKAGE-NAME VERSION to adapt to many kinds of systems.
1213 Usage: $0 [OPTION]... [VAR=VALUE]...
1215 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1216 VAR=VALUE. See below for descriptions of some of the useful variables.
1218 Defaults for the options are specified in brackets.
1221 -h, --help display this help and exit
1222 --help=short display options specific to this package
1223 --help=recursive display the short help of all the included packages
1224 -V, --version display version information and exit
1225 -q, --quiet, --silent do not print \`checking...' messages
1226 --cache-file=FILE cache test results in FILE [disabled]
1227 -C, --config-cache alias for \`--cache-file=config.cache'
1228 -n, --no-create do not create output files
1229 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1231 Installation directories:
1232 --prefix=PREFIX install architecture-independent files in PREFIX
1233 [$ac_default_prefix]
1234 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1237 By default, \`make install' will install all the files in
1238 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1239 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1240 for instance \`--prefix=\$HOME'.
1242 For better control, use the options below.
1244 Fine tuning of the installation directories:
1245 --bindir=DIR user executables [EPREFIX/bin]
1246 --sbindir=DIR system admin executables [EPREFIX/sbin]
1247 --libexecdir=DIR program executables [EPREFIX/libexec]
1248 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1249 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1250 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1251 --libdir=DIR object code libraries [EPREFIX/lib]
1252 --includedir=DIR C header files [PREFIX/include]
1253 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1254 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1255 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1256 --infodir=DIR info documentation [DATAROOTDIR/info]
1257 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1258 --mandir=DIR man documentation [DATAROOTDIR/man]
1259 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/full-package-name@:>@
1260 --htmldir=DIR html documentation [DOCDIR]
1261 --dvidir=DIR dvi documentation [DOCDIR]
1262 --pdfdir=DIR pdf documentation [DOCDIR]
1263 --psdir=DIR ps documentation [DOCDIR]
1269 --program-prefix=PREFIX prepend PREFIX to installed program names
1270 --program-suffix=SUFFIX append SUFFIX to installed program names
1271 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1275 if test -n "$ac_init_help"; then
1276 case $ac_init_help in
1277 short | recursive ) echo "Configuration of FULL-PACKAGE-NAME VERSION:";;
1282 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1283 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1284 --disable-dependency-tracking speeds up one-time build
1285 --enable-dependency-tracking do not reject slow dependency extractors
1287 Some influential environment variables:
1288 CC C compiler command
1289 CFLAGS C compiler flags
1290 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1291 nonstandard directory <lib dir>
1292 LIBS libraries to pass to the linker, e.g. -l<library>
1293 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1294 you have headers in a nonstandard directory <include dir>
1297 Use these variables to override the choices made by `configure' or to help
1298 it to find libraries and programs with nonstandard names/locations.
1300 Report bugs to <BUG-REPORT-ADDRESS>.
1305 if test "$ac_init_help" = "recursive"; then
1306 # If there are subdirs, report their specific --help.
1307 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1308 test -d "$ac_dir" || continue
1312 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1314 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1315 # A ".." for each directory in $ac_dir_suffix.
1316 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1317 case $ac_top_builddir_sub in
1318 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1319 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1322 ac_abs_top_builddir=$ac_pwd
1323 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1324 # for backward compatibility:
1325 ac_top_builddir=$ac_top_build_prefix
1328 .) # We are building in place.
1330 ac_top_srcdir=$ac_top_builddir_sub
1331 ac_abs_top_srcdir=$ac_pwd ;;
1332 [\\/]* | ?:[\\/]* ) # Absolute name.
1333 ac_srcdir=$srcdir$ac_dir_suffix;
1334 ac_top_srcdir=$srcdir
1335 ac_abs_top_srcdir=$srcdir ;;
1337 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1338 ac_top_srcdir=$ac_top_build_prefix$srcdir
1339 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1341 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1343 cd "$ac_dir" || { ac_status=$?; continue; }
1344 # Check for guested configure.
1345 if test -f "$ac_srcdir/configure.gnu"; then
1347 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1348 elif test -f "$ac_srcdir/configure"; then
1350 $SHELL "$ac_srcdir/configure" --help=recursive
1352 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1354 cd "$ac_pwd" || { ac_status=$?; break; }
1358 test -n "$ac_init_help" && exit $ac_status
1359 if $ac_init_version; then
1361 FULL-PACKAGE-NAME configure VERSION
1362 generated by GNU Autoconf 2.61
1364 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1365 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1366 This configure script is free software; the Free Software Foundation
1367 gives unlimited permission to copy, distribute and modify it.
1371 cat >config.log <<_ACEOF
1372 This file contains any messages produced by compilers while
1373 running configure, to aid debugging if configure makes a mistake.
1375 It was created by FULL-PACKAGE-NAME $as_me VERSION, which was
1376 generated by GNU Autoconf 2.61. Invocation command line was
1384 @%:@@%:@ --------- @%:@@%:@
1385 @%:@@%:@ Platform. @%:@@%:@
1386 @%:@@%:@ --------- @%:@@%:@
1388 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1389 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1390 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1391 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1392 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1394 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1395 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1397 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1398 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1399 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1400 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1401 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1402 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1403 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1411 test -z "$as_dir" && as_dir=.
1412 echo "PATH: $as_dir"
1421 @%:@@%:@ ----------- @%:@@%:@
1422 @%:@@%:@ Core tests. @%:@@%:@
1423 @%:@@%:@ ----------- @%:@@%:@
1428 # Keep a trace of the command line.
1429 # Strip out --no-create and --no-recursion so they do not pile up.
1430 # Strip out --silent because we don't want to record it for future runs.
1431 # Also quote any args containing shell meta-characters.
1432 # Make two passes to allow for proper duplicate-argument suppression.
1436 ac_must_keep_next=false
1442 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1443 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1444 | -silent | --silent | --silen | --sile | --sil)
1447 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1450 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1452 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1453 if test $ac_must_keep_next = true; then
1454 ac_must_keep_next=false # Got value, back to normal.
1457 *=* | --config-cache | -C | -disable-* | --disable-* \
1458 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1459 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1460 | -with-* | --with-* | -without-* | --without-* | --x)
1461 case "$ac_configure_args0 " in
1462 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1465 -* ) ac_must_keep_next=true ;;
1468 ac_configure_args="$ac_configure_args '$ac_arg'"
1473 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1474 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1476 # When interrupted or exit'd, cleanup temporary files, and complete
1477 # config.log. We remove comments because anyway the quotes in there
1478 # would cause problems or look ugly.
1479 # WARNING: Use '\'' to represent an apostrophe within the trap.
1480 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1481 trap 'exit_status=$?
1482 # Save into config.log some information that might help in debugging.
1487 @%:@@%:@ ---------------- @%:@@%:@
1488 @%:@@%:@ Cache variables. @%:@@%:@
1489 @%:@@%:@ ---------------- @%:@@%:@
1492 # The following way of writing the cache mishandles newlines in values,
1494 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1495 eval ac_val=\$$ac_var
1499 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1500 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1503 _ | IFS | as_nl) ;; #(
1504 *) $as_unset $ac_var ;;
1509 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1510 *${as_nl}ac_space=\ *)
1512 "s/'\''/'\''\\\\'\'''\''/g;
1513 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1516 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1524 @%:@@%:@ ----------------- @%:@@%:@
1525 @%:@@%:@ Output variables. @%:@@%:@
1526 @%:@@%:@ ----------------- @%:@@%:@
1529 for ac_var in $ac_subst_vars
1531 eval ac_val=\$$ac_var
1533 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1535 echo "$ac_var='\''$ac_val'\''"
1539 if test -n "$ac_subst_files"; then
1541 @%:@@%:@ ------------------- @%:@@%:@
1542 @%:@@%:@ File substitutions. @%:@@%:@
1543 @%:@@%:@ ------------------- @%:@@%:@
1546 for ac_var in $ac_subst_files
1548 eval ac_val=\$$ac_var
1550 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1552 echo "$ac_var='\''$ac_val'\''"
1557 if test -s confdefs.h; then
1559 @%:@@%:@ ----------- @%:@@%:@
1560 @%:@@%:@ confdefs.h. @%:@@%:@
1561 @%:@@%:@ ----------- @%:@@%:@
1567 test "$ac_signal" != 0 &&
1568 echo "$as_me: caught signal $ac_signal"
1569 echo "$as_me: exit $exit_status"
1571 rm -f core *.core core.conftest.* &&
1572 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1575 for ac_signal in 1 2 13 15; do
1576 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1580 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1581 rm -f -r conftest* confdefs.h
1583 # Predefined preprocessor variables.
1585 cat >>confdefs.h <<_ACEOF
1586 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
1590 cat >>confdefs.h <<_ACEOF
1591 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1595 cat >>confdefs.h <<_ACEOF
1596 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1600 cat >>confdefs.h <<_ACEOF
1601 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
1605 cat >>confdefs.h <<_ACEOF
1606 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1610 # Let the site file select an alternate cache file if it wants to.
1611 # Prefer explicitly selected file to automatically selected ones.
1612 if test -n "$CONFIG_SITE"; then
1613 set x "$CONFIG_SITE"
1614 elif test "x$prefix" != xNONE; then
1615 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1617 set x "$ac_default_prefix/share/config.site" \
1618 "$ac_default_prefix/etc/config.site"
1623 if test -r "$ac_site_file"; then
1624 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1625 echo "$as_me: loading site script $ac_site_file" >&6;}
1626 sed 's/^/| /' "$ac_site_file" >&5
1631 if test -r "$cache_file"; then
1632 # Some versions of bash will fail to source /dev/null (special
1633 # files actually), so we avoid doing that.
1634 if test -f "$cache_file"; then
1635 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1636 echo "$as_me: loading cache $cache_file" >&6;}
1638 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1639 *) . "./$cache_file";;
1643 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1644 echo "$as_me: creating cache $cache_file" >&6;}
1648 # Check that the precious variables saved in the cache have kept the same
1650 ac_cache_corrupted=false
1651 for ac_var in $ac_precious_vars; do
1652 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1653 eval ac_new_set=\$ac_env_${ac_var}_set
1654 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1655 eval ac_new_val=\$ac_env_${ac_var}_value
1656 case $ac_old_set,$ac_new_set in
1658 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1659 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1660 ac_cache_corrupted=: ;;
1662 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1663 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1664 ac_cache_corrupted=: ;;
1667 if test "x$ac_old_val" != "x$ac_new_val"; then
1668 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1669 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1670 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1671 echo "$as_me: former value: $ac_old_val" >&2;}
1672 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1673 echo "$as_me: current value: $ac_new_val" >&2;}
1674 ac_cache_corrupted=:
1677 # Pass precious variables to config.status.
1678 if test "$ac_new_set" = set; then
1680 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1681 *) ac_arg=$ac_var=$ac_new_val ;;
1683 case " $ac_configure_args " in
1684 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1685 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1689 if $ac_cache_corrupted; then
1690 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1691 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1692 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1693 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1694 { (exit 1); exit 1; }; }
1722 ac_cpp='$CPP $CPPFLAGS'
1723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1729 #AC_CONFIG_HEADER([config.h])
1730 #AC_CONFIG_SRCDIR([src/test.c])
1731 ac_config_headers="$ac_config_headers config.h"
1734 am__api_version='1.10'
1737 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1738 if test -f "$ac_dir/install-sh"; then
1740 ac_install_sh="$ac_aux_dir/install-sh -c"
1742 elif test -f "$ac_dir/install.sh"; then
1744 ac_install_sh="$ac_aux_dir/install.sh -c"
1746 elif test -f "$ac_dir/shtool"; then
1748 ac_install_sh="$ac_aux_dir/shtool install -c"
1752 if test -z "$ac_aux_dir"; then
1753 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1754 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1755 { (exit 1); exit 1; }; }
1758 # These three variables are undocumented and unsupported,
1759 # and are intended to be withdrawn in a future Autoconf release.
1760 # They can cause serious problems if a builder's source tree is in a directory
1761 # whose full name contains unusual characters.
1762 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1763 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1764 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1767 # Find a good install program. We prefer a C program (faster),
1768 # so one script is as good as another. But avoid the broken or
1769 # incompatible versions:
1770 # SysV /etc/install, /usr/sbin/install
1771 # SunOS /usr/etc/install
1772 # IRIX /sbin/install
1774 # AmigaOS /C/install, which installs bootblocks on floppy discs
1775 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1776 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1777 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1778 # OS/2's system install, which has a completely different semantic
1779 # ./install, which can be erroneously created by make from ./install.sh.
1780 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1781 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1782 if test -z "$INSTALL"; then
1783 if test "${ac_cv_path_install+set}" = set; then
1784 echo $ECHO_N "(cached) $ECHO_C" >&6
1786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1790 test -z "$as_dir" && as_dir=.
1791 # Account for people who put trailing slashes in PATH elements.
1793 ./ | .// | /cC/* | \
1794 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1795 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1798 # OSF1 and SCO ODT 3.0 have their own names for install.
1799 # Don't use installbsd from OSF since it installs stuff as root
1801 for ac_prog in ginstall scoinst install; do
1802 for ac_exec_ext in '' $ac_executable_extensions; do
1803 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1804 if test $ac_prog = install &&
1805 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1806 # AIX install. It has an incompatible calling convention.
1808 elif test $ac_prog = install &&
1809 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1810 # program-specific install script used by HP pwplus--don't use.
1813 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1826 if test "${ac_cv_path_install+set}" = set; then
1827 INSTALL=$ac_cv_path_install
1829 # As a last resort, use the slow shell script. Don't cache a
1830 # value for INSTALL within a source directory, because that will
1831 # break other packages using the cache if that directory is
1832 # removed, or if the value is a relative name.
1833 INSTALL=$ac_install_sh
1836 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1837 echo "${ECHO_T}$INSTALL" >&6; }
1839 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1840 # It thinks the first close brace ends the variable substitution.
1841 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1843 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1845 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1847 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1848 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1851 echo timestamp > conftest.file
1852 # Do `set' in a subshell so we don't clobber the current shell's
1853 # arguments. Must try -L first in case configure is actually a
1854 # symlink; some systems play weird games with the mod time of symlinks
1855 # (eg FreeBSD returns the mod time of the symlink's containing
1858 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1859 if test "$*" = "X"; then
1861 set X `ls -t $srcdir/configure conftest.file`
1864 if test "$*" != "X $srcdir/configure conftest.file" \
1865 && test "$*" != "X conftest.file $srcdir/configure"; then
1867 # If neither matched, then we have a broken ls. This can happen
1868 # if, for instance, CONFIG_SHELL is bash and it inherits a
1869 # broken ls alias from the environment. This has actually
1870 # happened. Such a system could not be considered "sane".
1871 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1872 alias in your environment" >&5
1873 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1874 alias in your environment" >&2;}
1875 { (exit 1); exit 1; }; }
1878 test "$2" = conftest.file
1884 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1885 Check your system clock" >&5
1886 echo "$as_me: error: newly created file is older than distributed files!
1887 Check your system clock" >&2;}
1888 { (exit 1); exit 1; }; }
1890 { echo "$as_me:$LINENO: result: yes" >&5
1891 echo "${ECHO_T}yes" >&6; }
1892 test "$program_prefix" != NONE &&
1893 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1894 # Use a double $ so make ignores it.
1895 test "$program_suffix" != NONE &&
1896 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1897 # Double any \ or $. echo might interpret backslashes.
1898 # By default was `s,x,x', remove it if useless.
1899 cat <<\_ACEOF >conftest.sed
1900 s/[\\$]/&&/g;s/;s,x,x,$//
1902 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1905 # expand $ac_aux_dir to an absolute path
1906 am_aux_dir=`cd $ac_aux_dir && pwd`
1908 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1909 # Use eval to expand $SHELL
1910 if eval "$MISSING --run true"; then
1911 am_missing_run="$MISSING --run "
1914 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1915 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1918 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1919 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1920 if test -z "$MKDIR_P"; then
1921 if test "${ac_cv_path_mkdir+set}" = set; then
1922 echo $ECHO_N "(cached) $ECHO_C" >&6
1924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1925 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1928 test -z "$as_dir" && as_dir=.
1929 for ac_prog in mkdir gmkdir; do
1930 for ac_exec_ext in '' $ac_executable_extensions; do
1931 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1932 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1933 'mkdir (GNU coreutils) '* | \
1934 'mkdir (coreutils) '* | \
1935 'mkdir (fileutils) '4.1*)
1936 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1946 if test "${ac_cv_path_mkdir+set}" = set; then
1947 MKDIR_P="$ac_cv_path_mkdir -p"
1949 # As a last resort, use the slow shell script. Don't cache a
1950 # value for MKDIR_P within a source directory, because that will
1951 # break other packages using the cache if that directory is
1952 # removed, or if the value is a relative name.
1953 test -d ./--version && rmdir ./--version
1954 MKDIR_P="$ac_install_sh -d"
1957 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1958 echo "${ECHO_T}$MKDIR_P" >&6; }
1962 [\\/$]* | ?:[\\/]*) ;;
1963 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1966 for ac_prog in gawk mawk nawk awk
1968 # Extract the first word of "$ac_prog", so it can be a program name with args.
1969 set dummy $ac_prog; ac_word=$2
1970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1972 if test "${ac_cv_prog_AWK+set}" = set; then
1973 echo $ECHO_N "(cached) $ECHO_C" >&6
1975 if test -n "$AWK"; then
1976 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1982 test -z "$as_dir" && as_dir=.
1983 for ac_exec_ext in '' $ac_executable_extensions; do
1984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1985 ac_cv_prog_AWK="$ac_prog"
1986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1996 if test -n "$AWK"; then
1997 { echo "$as_me:$LINENO: result: $AWK" >&5
1998 echo "${ECHO_T}$AWK" >&6; }
2000 { echo "$as_me:$LINENO: result: no" >&5
2001 echo "${ECHO_T}no" >&6; }
2005 test -n "$AWK" && break
2008 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2009 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2010 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2011 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2012 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 cat >conftest.make <<\_ACEOF
2017 @echo '@@@%%%=$(MAKE)=@@@%%%'
2019 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2020 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2022 eval ac_cv_prog_make_${ac_make}_set=yes;;
2024 eval ac_cv_prog_make_${ac_make}_set=no;;
2028 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2029 { echo "$as_me:$LINENO: result: yes" >&5
2030 echo "${ECHO_T}yes" >&6; }
2033 { echo "$as_me:$LINENO: result: no" >&5
2034 echo "${ECHO_T}no" >&6; }
2035 SET_MAKE="MAKE=${MAKE-make}"
2038 rm -rf .tst 2>/dev/null
2039 mkdir .tst 2>/dev/null
2040 if test -d .tst; then
2045 rmdir .tst 2>/dev/null
2047 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2048 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2049 # is not polluted with repeated "-I."
2050 am__isrc=' -I$(srcdir)'
2051 # test to see if srcdir already configured
2052 if test -f $srcdir/config.status; then
2053 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2054 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2055 { (exit 1); exit 1; }; }
2059 # test whether we have cygpath
2060 if test -z "$CYGPATH_W"; then
2061 if (cygpath --version) >/dev/null 2>/dev/null; then
2062 CYGPATH_W='cygpath -w'
2069 # Define the identity of the package.
2074 # Some tools Automake needs.
2076 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2079 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2082 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2085 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2088 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2090 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2092 # Installed binaries are usually stripped using `strip' when the user
2093 # run `make install-strip'. However `strip' might not be the right
2094 # tool to use in cross-compilation environments, therefore Automake
2095 # will honor the `STRIP' environment variable to overrule this program.
2096 if test "$cross_compiling" != no; then
2097 if test -n "$ac_tool_prefix"; then
2098 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2099 set dummy ${ac_tool_prefix}strip; ac_word=$2
2100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2102 if test "${ac_cv_prog_STRIP+set}" = set; then
2103 echo $ECHO_N "(cached) $ECHO_C" >&6
2105 if test -n "$STRIP"; then
2106 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2112 test -z "$as_dir" && as_dir=.
2113 for ac_exec_ext in '' $ac_executable_extensions; do
2114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2115 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2125 STRIP=$ac_cv_prog_STRIP
2126 if test -n "$STRIP"; then
2127 { echo "$as_me:$LINENO: result: $STRIP" >&5
2128 echo "${ECHO_T}$STRIP" >&6; }
2130 { echo "$as_me:$LINENO: result: no" >&5
2131 echo "${ECHO_T}no" >&6; }
2136 if test -z "$ac_cv_prog_STRIP"; then
2138 # Extract the first word of "strip", so it can be a program name with args.
2139 set dummy strip; ac_word=$2
2140 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2142 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2143 echo $ECHO_N "(cached) $ECHO_C" >&6
2145 if test -n "$ac_ct_STRIP"; then
2146 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 test -z "$as_dir" && as_dir=.
2153 for ac_exec_ext in '' $ac_executable_extensions; do
2154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2155 ac_cv_prog_ac_ct_STRIP="strip"
2156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2165 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2166 if test -n "$ac_ct_STRIP"; then
2167 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2168 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2170 { echo "$as_me:$LINENO: result: no" >&5
2171 echo "${ECHO_T}no" >&6; }
2174 if test "x$ac_ct_STRIP" = x; then
2177 case $cross_compiling:$ac_tool_warned in
2179 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2180 whose name does not start with the host triplet. If you think this
2181 configuration is useful to you, please write to autoconf@gnu.org." >&5
2182 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2183 whose name does not start with the host triplet. If you think this
2184 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2185 ac_tool_warned=yes ;;
2190 STRIP="$ac_cv_prog_STRIP"
2194 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2196 # We need awk for the "check" target. The system "awk" is bad on
2198 # Always define AMTAR for backward compatibility.
2200 AMTAR=${AMTAR-"${am_missing_run}tar"}
2202 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2209 # Checks for programs.
2210 if test -n "$ac_tool_prefix"; then
2211 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2212 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2215 if test "${ac_cv_prog_RANLIB+set}" = set; then
2216 echo $ECHO_N "(cached) $ECHO_C" >&6
2218 if test -n "$RANLIB"; then
2219 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2225 test -z "$as_dir" && as_dir=.
2226 for ac_exec_ext in '' $ac_executable_extensions; do
2227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2228 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2238 RANLIB=$ac_cv_prog_RANLIB
2239 if test -n "$RANLIB"; then
2240 { echo "$as_me:$LINENO: result: $RANLIB" >&5
2241 echo "${ECHO_T}$RANLIB" >&6; }
2243 { echo "$as_me:$LINENO: result: no" >&5
2244 echo "${ECHO_T}no" >&6; }
2249 if test -z "$ac_cv_prog_RANLIB"; then
2250 ac_ct_RANLIB=$RANLIB
2251 # Extract the first word of "ranlib", so it can be a program name with args.
2252 set dummy ranlib; ac_word=$2
2253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2255 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2256 echo $ECHO_N "(cached) $ECHO_C" >&6
2258 if test -n "$ac_ct_RANLIB"; then
2259 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2265 test -z "$as_dir" && as_dir=.
2266 for ac_exec_ext in '' $ac_executable_extensions; do
2267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2268 ac_cv_prog_ac_ct_RANLIB="ranlib"
2269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2278 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2279 if test -n "$ac_ct_RANLIB"; then
2280 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2281 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2283 { echo "$as_me:$LINENO: result: no" >&5
2284 echo "${ECHO_T}no" >&6; }
2287 if test "x$ac_ct_RANLIB" = x; then
2290 case $cross_compiling:$ac_tool_warned in
2292 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2293 whose name does not start with the host triplet. If you think this
2294 configuration is useful to you, please write to autoconf@gnu.org." >&5
2295 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2296 whose name does not start with the host triplet. If you think this
2297 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2298 ac_tool_warned=yes ;;
2300 RANLIB=$ac_ct_RANLIB
2303 RANLIB="$ac_cv_prog_RANLIB"
2307 ac_cpp='$CPP $CPPFLAGS'
2308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2311 if test -n "$ac_tool_prefix"; then
2312 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2313 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2316 if test "${ac_cv_prog_CC+set}" = set; then
2317 echo $ECHO_N "(cached) $ECHO_C" >&6
2319 if test -n "$CC"; then
2320 ac_cv_prog_CC="$CC" # Let the user override the test.
2322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2326 test -z "$as_dir" && as_dir=.
2327 for ac_exec_ext in '' $ac_executable_extensions; do
2328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2329 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2340 if test -n "$CC"; then
2341 { echo "$as_me:$LINENO: result: $CC" >&5
2342 echo "${ECHO_T}$CC" >&6; }
2344 { echo "$as_me:$LINENO: result: no" >&5
2345 echo "${ECHO_T}no" >&6; }
2350 if test -z "$ac_cv_prog_CC"; then
2352 # Extract the first word of "gcc", so it can be a program name with args.
2353 set dummy gcc; ac_word=$2
2354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2356 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2357 echo $ECHO_N "(cached) $ECHO_C" >&6
2359 if test -n "$ac_ct_CC"; then
2360 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2366 test -z "$as_dir" && as_dir=.
2367 for ac_exec_ext in '' $ac_executable_extensions; do
2368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2369 ac_cv_prog_ac_ct_CC="gcc"
2370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2379 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2380 if test -n "$ac_ct_CC"; then
2381 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2382 echo "${ECHO_T}$ac_ct_CC" >&6; }
2384 { echo "$as_me:$LINENO: result: no" >&5
2385 echo "${ECHO_T}no" >&6; }
2388 if test "x$ac_ct_CC" = x; then
2391 case $cross_compiling:$ac_tool_warned in
2393 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2394 whose name does not start with the host triplet. If you think this
2395 configuration is useful to you, please write to autoconf@gnu.org." >&5
2396 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2397 whose name does not start with the host triplet. If you think this
2398 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2399 ac_tool_warned=yes ;;
2407 if test -z "$CC"; then
2408 if test -n "$ac_tool_prefix"; then
2409 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2410 set dummy ${ac_tool_prefix}cc; ac_word=$2
2411 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2413 if test "${ac_cv_prog_CC+set}" = set; then
2414 echo $ECHO_N "(cached) $ECHO_C" >&6
2416 if test -n "$CC"; then
2417 ac_cv_prog_CC="$CC" # Let the user override the test.
2419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2423 test -z "$as_dir" && as_dir=.
2424 for ac_exec_ext in '' $ac_executable_extensions; do
2425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2426 ac_cv_prog_CC="${ac_tool_prefix}cc"
2427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2437 if test -n "$CC"; then
2438 { echo "$as_me:$LINENO: result: $CC" >&5
2439 echo "${ECHO_T}$CC" >&6; }
2441 { echo "$as_me:$LINENO: result: no" >&5
2442 echo "${ECHO_T}no" >&6; }
2448 if test -z "$CC"; then
2449 # Extract the first word of "cc", so it can be a program name with args.
2450 set dummy cc; ac_word=$2
2451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2453 if test "${ac_cv_prog_CC+set}" = set; then
2454 echo $ECHO_N "(cached) $ECHO_C" >&6
2456 if test -n "$CC"; then
2457 ac_cv_prog_CC="$CC" # Let the user override the test.
2460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2464 test -z "$as_dir" && as_dir=.
2465 for ac_exec_ext in '' $ac_executable_extensions; do
2466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2467 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2468 ac_prog_rejected=yes
2472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2479 if test $ac_prog_rejected = yes; then
2480 # We found a bogon in the path, so make sure we never use it.
2481 set dummy $ac_cv_prog_CC
2483 if test $@%:@ != 0; then
2484 # We chose a different compiler from the bogus one.
2485 # However, it has the same basename, so the bogon will be chosen
2486 # first if we set CC to just the basename; use the full file name.
2488 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2494 if test -n "$CC"; then
2495 { echo "$as_me:$LINENO: result: $CC" >&5
2496 echo "${ECHO_T}$CC" >&6; }
2498 { echo "$as_me:$LINENO: result: no" >&5
2499 echo "${ECHO_T}no" >&6; }
2504 if test -z "$CC"; then
2505 if test -n "$ac_tool_prefix"; then
2506 for ac_prog in cl.exe
2508 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2509 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2510 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2512 if test "${ac_cv_prog_CC+set}" = set; then
2513 echo $ECHO_N "(cached) $ECHO_C" >&6
2515 if test -n "$CC"; then
2516 ac_cv_prog_CC="$CC" # Let the user override the test.
2518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2522 test -z "$as_dir" && as_dir=.
2523 for ac_exec_ext in '' $ac_executable_extensions; do
2524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2525 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2536 if test -n "$CC"; then
2537 { echo "$as_me:$LINENO: result: $CC" >&5
2538 echo "${ECHO_T}$CC" >&6; }
2540 { echo "$as_me:$LINENO: result: no" >&5
2541 echo "${ECHO_T}no" >&6; }
2545 test -n "$CC" && break
2548 if test -z "$CC"; then
2550 for ac_prog in cl.exe
2552 # Extract the first word of "$ac_prog", so it can be a program name with args.
2553 set dummy $ac_prog; ac_word=$2
2554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2556 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2557 echo $ECHO_N "(cached) $ECHO_C" >&6
2559 if test -n "$ac_ct_CC"; then
2560 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2566 test -z "$as_dir" && as_dir=.
2567 for ac_exec_ext in '' $ac_executable_extensions; do
2568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2569 ac_cv_prog_ac_ct_CC="$ac_prog"
2570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2579 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2580 if test -n "$ac_ct_CC"; then
2581 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2582 echo "${ECHO_T}$ac_ct_CC" >&6; }
2584 { echo "$as_me:$LINENO: result: no" >&5
2585 echo "${ECHO_T}no" >&6; }
2589 test -n "$ac_ct_CC" && break
2592 if test "x$ac_ct_CC" = x; then
2595 case $cross_compiling:$ac_tool_warned in
2597 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2598 whose name does not start with the host triplet. If you think this
2599 configuration is useful to you, please write to autoconf@gnu.org." >&5
2600 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2601 whose name does not start with the host triplet. If you think this
2602 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2603 ac_tool_warned=yes ;;
2612 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2613 See \`config.log' for more details." >&5
2614 echo "$as_me: error: no acceptable C compiler found in \$PATH
2615 See \`config.log' for more details." >&2;}
2616 { (exit 1); exit 1; }; }
2618 # Provide some information about the compiler.
2619 echo "$as_me:$LINENO: checking for C compiler version" >&5
2620 ac_compiler=`set X $ac_compile; echo $2`
2621 { (ac_try="$ac_compiler --version >&5"
2623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2624 *) ac_try_echo=$ac_try;;
2626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2627 (eval "$ac_compiler --version >&5") 2>&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }
2631 { (ac_try="$ac_compiler -v >&5"
2633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2634 *) ac_try_echo=$ac_try;;
2636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2637 (eval "$ac_compiler -v >&5") 2>&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }
2641 { (ac_try="$ac_compiler -V >&5"
2643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2644 *) ac_try_echo=$ac_try;;
2646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2647 (eval "$ac_compiler -V >&5") 2>&5
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); }
2652 cat >conftest.$ac_ext <<_ACEOF
2655 cat confdefs.h >>conftest.$ac_ext
2656 cat >>conftest.$ac_ext <<_ACEOF
2657 /* end confdefs.h. */
2667 ac_clean_files_save=$ac_clean_files
2668 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2669 # Try to create an executable without -o first, disregard a.out.
2670 # It will help us diagnose broken compilers, and finding out an intuition
2672 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2673 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2674 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2676 # List of possible output files, starting from the most likely.
2677 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2678 # only as a last resort. b.out is created by i960 compilers.
2679 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2681 # The IRIX 6 linker writes into existing files which may not be
2682 # executable, retaining their permissions. Remove them first so a
2683 # subsequent execution test works.
2685 for ac_file in $ac_files
2688 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2689 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2694 if { (ac_try="$ac_link_default"
2696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2697 *) ac_try_echo=$ac_try;;
2699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2700 (eval "$ac_link_default") 2>&5
2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703 (exit $ac_status); }; then
2704 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2705 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2706 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2707 # so that the user can short-circuit this test for compilers unknown to
2709 for ac_file in $ac_files ''
2711 test -f "$ac_file" || continue
2713 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2716 # We found the default executable, but exeext='' is most
2720 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2722 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2724 # We set ac_cv_exeext here because the later test for it is not
2725 # safe: cross compilers may not add the suffix if given an `-o'
2726 # argument, so we may need to know it at that point already.
2727 # Even if this section looks crufty: it has the advantage of
2734 test "$ac_cv_exeext" = no && ac_cv_exeext=
2740 { echo "$as_me:$LINENO: result: $ac_file" >&5
2741 echo "${ECHO_T}$ac_file" >&6; }
2742 if test -z "$ac_file"; then
2743 echo "$as_me: failed program was:" >&5
2744 sed 's/^/| /' conftest.$ac_ext >&5
2746 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2747 See \`config.log' for more details." >&5
2748 echo "$as_me: error: C compiler cannot create executables
2749 See \`config.log' for more details." >&2;}
2750 { (exit 77); exit 77; }; }
2753 ac_exeext=$ac_cv_exeext
2755 # Check that the compiler produces executables we can run. If not, either
2756 # the compiler is broken, or we cross compile.
2757 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2758 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2759 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2760 # If not cross compiling, check that we can run a simple program.
2761 if test "$cross_compiling" != yes; then
2762 if { ac_try='./$ac_file'
2763 { (case "(($ac_try" in
2764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2765 *) ac_try_echo=$ac_try;;
2767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2768 (eval "$ac_try") 2>&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }; }; then
2774 if test "$cross_compiling" = maybe; then
2777 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2778 If you meant to cross compile, use \`--host'.
2779 See \`config.log' for more details." >&5
2780 echo "$as_me: error: cannot run C compiled programs.
2781 If you meant to cross compile, use \`--host'.
2782 See \`config.log' for more details." >&2;}
2783 { (exit 1); exit 1; }; }
2787 { echo "$as_me:$LINENO: result: yes" >&5
2788 echo "${ECHO_T}yes" >&6; }
2790 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2791 ac_clean_files=$ac_clean_files_save
2792 # Check that the compiler produces executables we can run. If not, either
2793 # the compiler is broken, or we cross compile.
2794 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2795 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2796 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2797 echo "${ECHO_T}$cross_compiling" >&6; }
2799 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2800 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2801 if { (ac_try="$ac_link"
2803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2804 *) ac_try_echo=$ac_try;;
2806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2807 (eval "$ac_link") 2>&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }; then
2811 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2812 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2813 # work properly (i.e., refer to `conftest.exe'), while it won't with
2815 for ac_file in conftest.exe conftest conftest.*; do
2816 test -f "$ac_file" || continue
2818 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2819 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2825 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2826 See \`config.log' for more details." >&5
2827 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2828 See \`config.log' for more details." >&2;}
2829 { (exit 1); exit 1; }; }
2832 rm -f conftest$ac_cv_exeext
2833 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2834 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2836 rm -f conftest.$ac_ext
2837 EXEEXT=$ac_cv_exeext
2839 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2840 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2841 if test "${ac_cv_objext+set}" = set; then
2842 echo $ECHO_N "(cached) $ECHO_C" >&6
2844 cat >conftest.$ac_ext <<_ACEOF
2847 cat confdefs.h >>conftest.$ac_ext
2848 cat >>conftest.$ac_ext <<_ACEOF
2849 /* end confdefs.h. */
2859 rm -f conftest.o conftest.obj
2860 if { (ac_try="$ac_compile"
2862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2863 *) ac_try_echo=$ac_try;;
2865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2866 (eval "$ac_compile") 2>&5
2868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869 (exit $ac_status); }; then
2870 for ac_file in conftest.o conftest.obj conftest.*; do
2871 test -f "$ac_file" || continue;
2873 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2874 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2879 echo "$as_me: failed program was:" >&5
2880 sed 's/^/| /' conftest.$ac_ext >&5
2882 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2883 See \`config.log' for more details." >&5
2884 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2885 See \`config.log' for more details." >&2;}
2886 { (exit 1); exit 1; }; }
2889 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2891 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2892 echo "${ECHO_T}$ac_cv_objext" >&6; }
2893 OBJEXT=$ac_cv_objext
2895 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2896 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2897 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2898 echo $ECHO_N "(cached) $ECHO_C" >&6
2900 cat >conftest.$ac_ext <<_ACEOF
2903 cat confdefs.h >>conftest.$ac_ext
2904 cat >>conftest.$ac_ext <<_ACEOF
2905 /* end confdefs.h. */
2918 rm -f conftest.$ac_objext
2919 if { (ac_try="$ac_compile"
2921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2922 *) ac_try_echo=$ac_try;;
2924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2925 (eval "$ac_compile") 2>conftest.er1
2927 grep -v '^ *+' conftest.er1 >conftest.err
2929 cat conftest.err >&5
2930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931 (exit $ac_status); } && {
2932 test -z "$ac_c_werror_flag" ||
2933 test ! -s conftest.err
2934 } && test -s conftest.$ac_objext; then
2937 echo "$as_me: failed program was:" >&5
2938 sed 's/^/| /' conftest.$ac_ext >&5
2943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2944 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2947 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2948 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2949 GCC=`test $ac_compiler_gnu = yes && echo yes`
2950 ac_test_CFLAGS=${CFLAGS+set}
2951 ac_save_CFLAGS=$CFLAGS
2952 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2953 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2954 if test "${ac_cv_prog_cc_g+set}" = set; then
2955 echo $ECHO_N "(cached) $ECHO_C" >&6
2957 ac_save_c_werror_flag=$ac_c_werror_flag
2958 ac_c_werror_flag=yes
2961 cat >conftest.$ac_ext <<_ACEOF
2964 cat confdefs.h >>conftest.$ac_ext
2965 cat >>conftest.$ac_ext <<_ACEOF
2966 /* end confdefs.h. */
2976 rm -f conftest.$ac_objext
2977 if { (ac_try="$ac_compile"
2979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2980 *) ac_try_echo=$ac_try;;
2982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2983 (eval "$ac_compile") 2>conftest.er1
2985 grep -v '^ *+' conftest.er1 >conftest.err
2987 cat conftest.err >&5
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); } && {
2990 test -z "$ac_c_werror_flag" ||
2991 test ! -s conftest.err
2992 } && test -s conftest.$ac_objext; then
2995 echo "$as_me: failed program was:" >&5
2996 sed 's/^/| /' conftest.$ac_ext >&5
2999 cat >conftest.$ac_ext <<_ACEOF
3002 cat confdefs.h >>conftest.$ac_ext
3003 cat >>conftest.$ac_ext <<_ACEOF
3004 /* 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3021 (eval "$ac_compile") 2>conftest.er1
3023 grep -v '^ *+' conftest.er1 >conftest.err
3025 cat conftest.err >&5
3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027 (exit $ac_status); } && {
3028 test -z "$ac_c_werror_flag" ||
3029 test ! -s conftest.err
3030 } && test -s conftest.$ac_objext; then
3033 echo "$as_me: failed program was:" >&5
3034 sed 's/^/| /' conftest.$ac_ext >&5
3036 ac_c_werror_flag=$ac_save_c_werror_flag
3038 cat >conftest.$ac_ext <<_ACEOF
3041 cat confdefs.h >>conftest.$ac_ext
3042 cat >>conftest.$ac_ext <<_ACEOF
3043 /* end confdefs.h. */
3053 rm -f conftest.$ac_objext
3054 if { (ac_try="$ac_compile"
3056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3057 *) ac_try_echo=$ac_try;;
3059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3060 (eval "$ac_compile") 2>conftest.er1
3062 grep -v '^ *+' conftest.er1 >conftest.err
3064 cat conftest.err >&5
3065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066 (exit $ac_status); } && {
3067 test -z "$ac_c_werror_flag" ||
3068 test ! -s conftest.err
3069 } && test -s conftest.$ac_objext; then
3072 echo "$as_me: failed program was:" >&5
3073 sed 's/^/| /' conftest.$ac_ext >&5
3078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3085 ac_c_werror_flag=$ac_save_c_werror_flag
3087 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3088 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3089 if test "$ac_test_CFLAGS" = set; then
3090 CFLAGS=$ac_save_CFLAGS
3091 elif test $ac_cv_prog_cc_g = yes; then
3092 if test "$GCC" = yes; then
3098 if test "$GCC" = yes; then
3104 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3105 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3106 if test "${ac_cv_prog_cc_c89+set}" = set; then
3107 echo $ECHO_N "(cached) $ECHO_C" >&6
3109 ac_cv_prog_cc_c89=no
3111 cat >conftest.$ac_ext <<_ACEOF
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3119 #include <sys/types.h>
3120 #include <sys/stat.h>
3121 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3122 struct buf { int x; };
3123 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3124 static char *e (p, i)
3130 static char *f (char * (*g) (char **, int), char **p, ...)
3135 s = g (p, va_arg (v,int));
3140 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3141 function prototypes and stuff, but not '\xHH' hex character constants.
3142 These don't provoke an error unfortunately, instead are silently treated
3143 as 'x'. The following induces an error, until -std is added to get
3144 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3145 array size at least. It's necessary to write '\x00'==0 to get something
3146 that's true only with -std. */
3147 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3149 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3150 inside strings and character constants. */
3152 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3154 int test (int i, double x);
3155 struct s1 {int (*f) (int a);};
3156 struct s2 {int (*f) (double a);};
3157 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3163 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3168 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3169 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3171 CC="$ac_save_CC $ac_arg"
3172 rm -f conftest.$ac_objext
3173 if { (ac_try="$ac_compile"
3175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3176 *) ac_try_echo=$ac_try;;
3178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3179 (eval "$ac_compile") 2>conftest.er1
3181 grep -v '^ *+' conftest.er1 >conftest.err
3183 cat conftest.err >&5
3184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185 (exit $ac_status); } && {
3186 test -z "$ac_c_werror_flag" ||
3187 test ! -s conftest.err
3188 } && test -s conftest.$ac_objext; then
3189 ac_cv_prog_cc_c89=$ac_arg
3191 echo "$as_me: failed program was:" >&5
3192 sed 's/^/| /' conftest.$ac_ext >&5
3197 rm -f core conftest.err conftest.$ac_objext
3198 test "x$ac_cv_prog_cc_c89" != "xno" && break
3200 rm -f conftest.$ac_ext
3205 case "x$ac_cv_prog_cc_c89" in
3207 { echo "$as_me:$LINENO: result: none needed" >&5
3208 echo "${ECHO_T}none needed" >&6; } ;;
3210 { echo "$as_me:$LINENO: result: unsupported" >&5
3211 echo "${ECHO_T}unsupported" >&6; } ;;
3213 CC="$CC $ac_cv_prog_cc_c89"
3214 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3215 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3220 ac_cpp='$CPP $CPPFLAGS'
3221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3224 DEPDIR="${am__leading_dot}deps"
3226 ac_config_commands="$ac_config_commands depfiles"
3229 am_make=${MAKE-make}
3230 cat > confinc << 'END'
3235 # If we don't find an include directive, just comment out the code.
3236 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3237 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3241 # First try GNU make style include.
3242 echo "include confinc" > confmf
3243 # We grep out `Entering directory' and `Leaving directory'
3244 # messages which can occur if `w' ends up in MAKEFLAGS.
3245 # In particular we don't look at `^make:' because GNU make might
3246 # be invoked under some other name (usually "gmake"), in which
3247 # case it prints its new name instead of `make'.
3248 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3253 # Now try BSD make style include.
3254 if test "$am__include" = "#"; then
3255 echo '.include "confinc"' > confmf
3256 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3257 am__include=.include
3264 { echo "$as_me:$LINENO: result: $_am_result" >&5
3265 echo "${ECHO_T}$_am_result" >&6; }
3266 rm -f confinc confmf
3268 # Check whether --enable-dependency-tracking was given.
3269 if test "${enable_dependency_tracking+set}" = set; then
3270 enableval=$enable_dependency_tracking;
3273 if test "x$enable_dependency_tracking" != xno; then
3274 am_depcomp="$ac_aux_dir/depcomp"
3277 if test "x$enable_dependency_tracking" != xno; then
3287 depcc="$CC" am_compiler_list=
3289 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3290 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3291 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3292 echo $ECHO_N "(cached) $ECHO_C" >&6
3294 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3295 # We make a subdir and do the tests there. Otherwise we can end up
3296 # making bogus files that we don't know about and never remove. For
3297 # instance it was reported that on HP-UX the gcc test will end up
3298 # making a dummy file named `D' -- because `-MD' means `put the output
3301 # Copy depcomp to subdir because otherwise we won't find it if we're
3302 # using a relative directory.
3303 cp "$am_depcomp" conftest.dir
3305 # We will build objects and dependencies in a subdirectory because
3306 # it helps to detect inapplicable dependency modes. For instance
3307 # both Tru64's cc and ICC support -MD to output dependencies as a
3308 # side effect of compilation, but ICC will put the dependencies in
3309 # the current directory while Tru64 will put them in the object
3313 am_cv_CC_dependencies_compiler_type=none
3314 if test "$am_compiler_list" = ""; then
3315 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3317 for depmode in $am_compiler_list; do
3318 # Setup a source with many dependencies, because some compilers
3319 # like to wrap large dependency lists on column 80 (with \), and
3320 # we should not choose a depcomp mode which is confused by this.
3322 # We need to recreate these files for each test, as the compiler may
3323 # overwrite some of them when testing with obscure command lines.
3324 # This happens at least with the AIX C compiler.
3326 for i in 1 2 3 4 5 6; do
3327 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3328 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3329 # Solaris 8's {/usr,}/bin/sh.
3330 touch sub/conftst$i.h
3332 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3336 # after this tag, mechanisms are not by side-effect, so they'll
3337 # only be used when explicitly requested
3338 if test "x$enable_dependency_tracking" = xyes; then
3346 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3347 # mode. It turns out that the SunPro C++ compiler does not properly
3348 # handle `-M -o', and we need to detect this.
3349 if depmode=$depmode \
3350 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3351 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3352 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3353 >/dev/null 2>conftest.err &&
3354 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3355 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3356 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3357 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3358 # icc doesn't choke on unknown options, it will just issue warnings
3359 # or remarks (even with -Werror). So we grep stderr for any message
3360 # that says an option was ignored or not supported.
3361 # When given -MP, icc 7.0 and 7.1 complain thusly:
3362 # icc: Command line warning: ignoring option '-M'; no argument required
3363 # The diagnosis changed in icc 8.0:
3364 # icc: Command line remark: option '-MP' not supported
3365 if (grep 'ignoring option' conftest.err ||
3366 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3367 am_cv_CC_dependencies_compiler_type=$depmode
3376 am_cv_CC_dependencies_compiler_type=none
3380 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3381 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3382 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3385 test "x$enable_dependency_tracking" != xno \
3386 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3388 am__fastdepCC_FALSE='#'
3390 am__fastdepCC_TRUE='#'
3391 am__fastdepCC_FALSE=
3396 # Checks for libraries.
3399 { echo "$as_me:$LINENO: checking for main in -lm" >&5
3400 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
3401 if test "${ac_cv_lib_m_main+set}" = set; then
3402 echo $ECHO_N "(cached) $ECHO_C" >&6
3404 ac_check_lib_save_LIBS=$LIBS
3406 cat >conftest.$ac_ext <<_ACEOF
3409 cat confdefs.h >>conftest.$ac_ext
3410 cat >>conftest.$ac_ext <<_ACEOF
3411 /* end confdefs.h. */
3422 rm -f conftest.$ac_objext conftest$ac_exeext
3423 if { (ac_try="$ac_link"
3425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426 *) ac_try_echo=$ac_try;;
3428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3429 (eval "$ac_link") 2>conftest.er1
3431 grep -v '^ *+' conftest.er1 >conftest.err
3433 cat conftest.err >&5
3434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3435 (exit $ac_status); } && {
3436 test -z "$ac_c_werror_flag" ||
3437 test ! -s conftest.err
3438 } && test -s conftest$ac_exeext &&
3439 $as_test_x conftest$ac_exeext; then
3440 ac_cv_lib_m_main=yes
3442 echo "$as_me: failed program was:" >&5
3443 sed 's/^/| /' conftest.$ac_ext >&5
3448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3449 conftest$ac_exeext conftest.$ac_ext
3450 LIBS=$ac_check_lib_save_LIBS
3452 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
3453 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
3454 if test $ac_cv_lib_m_main = yes; then
3455 cat >>confdefs.h <<_ACEOF
3456 @%:@define HAVE_LIBM 1
3464 { echo "$as_me:$LINENO: checking for main in -lgslcblas" >&5
3465 echo $ECHO_N "checking for main in -lgslcblas... $ECHO_C" >&6; }
3466 if test "${ac_cv_lib_gslcblas_main+set}" = set; then
3467 echo $ECHO_N "(cached) $ECHO_C" >&6
3469 ac_check_lib_save_LIBS=$LIBS
3470 LIBS="-lgslcblas $LIBS"
3471 cat >conftest.$ac_ext <<_ACEOF
3474 cat confdefs.h >>conftest.$ac_ext
3475 cat >>conftest.$ac_ext <<_ACEOF
3476 /* end confdefs.h. */
3487 rm -f conftest.$ac_objext conftest$ac_exeext
3488 if { (ac_try="$ac_link"
3490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3491 *) ac_try_echo=$ac_try;;
3493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3494 (eval "$ac_link") 2>conftest.er1
3496 grep -v '^ *+' conftest.er1 >conftest.err
3498 cat conftest.err >&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); } && {
3501 test -z "$ac_c_werror_flag" ||
3502 test ! -s conftest.err
3503 } && test -s conftest$ac_exeext &&
3504 $as_test_x conftest$ac_exeext; then
3505 ac_cv_lib_gslcblas_main=yes
3507 echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.$ac_ext >&5
3510 ac_cv_lib_gslcblas_main=no
3513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3514 conftest$ac_exeext conftest.$ac_ext
3515 LIBS=$ac_check_lib_save_LIBS
3517 { echo "$as_me:$LINENO: result: $ac_cv_lib_gslcblas_main" >&5
3518 echo "${ECHO_T}$ac_cv_lib_gslcblas_main" >&6; }
3519 if test $ac_cv_lib_gslcblas_main = yes; then
3520 cat >>confdefs.h <<_ACEOF
3521 @%:@define HAVE_LIBGSLCBLAS 1
3524 LIBS="-lgslcblas $LIBS"
3527 { { echo "$as_me:$LINENO: error: \"FATAL: cannot find gslblas.\"" >&5
3528 echo "$as_me: error: \"FATAL: cannot find gslblas.\"" >&2;}
3529 { (exit 1); exit 1; }; }
3533 { echo "$as_me:$LINENO: checking for main in -lgsl" >&5
3534 echo $ECHO_N "checking for main in -lgsl... $ECHO_C" >&6; }
3535 if test "${ac_cv_lib_gsl_main+set}" = set; then
3536 echo $ECHO_N "(cached) $ECHO_C" >&6
3538 ac_check_lib_save_LIBS=$LIBS
3540 cat >conftest.$ac_ext <<_ACEOF
3543 cat confdefs.h >>conftest.$ac_ext
3544 cat >>conftest.$ac_ext <<_ACEOF
3545 /* end confdefs.h. */
3556 rm -f conftest.$ac_objext conftest$ac_exeext
3557 if { (ac_try="$ac_link"
3559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3560 *) ac_try_echo=$ac_try;;
3562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3563 (eval "$ac_link") 2>conftest.er1
3565 grep -v '^ *+' conftest.er1 >conftest.err
3567 cat conftest.err >&5
3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569 (exit $ac_status); } && {
3570 test -z "$ac_c_werror_flag" ||
3571 test ! -s conftest.err
3572 } && test -s conftest$ac_exeext &&
3573 $as_test_x conftest$ac_exeext; then
3574 ac_cv_lib_gsl_main=yes
3576 echo "$as_me: failed program was:" >&5
3577 sed 's/^/| /' conftest.$ac_ext >&5
3579 ac_cv_lib_gsl_main=no
3582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3583 conftest$ac_exeext conftest.$ac_ext
3584 LIBS=$ac_check_lib_save_LIBS
3586 { echo "$as_me:$LINENO: result: $ac_cv_lib_gsl_main" >&5
3587 echo "${ECHO_T}$ac_cv_lib_gsl_main" >&6; }
3588 if test $ac_cv_lib_gsl_main = yes; then
3589 cat >>confdefs.h <<_ACEOF
3590 @%:@define HAVE_LIBGSL 1
3596 { { echo "$as_me:$LINENO: error: \"FATAL: cannot find gsl.\"" >&5
3597 echo "$as_me: error: \"FATAL: cannot find gsl.\"" >&2;}
3598 { (exit 1); exit 1; }; }
3602 # Checks for header files.
3604 ac_cpp='$CPP $CPPFLAGS'
3605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3608 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3609 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3610 # On Suns, sometimes $CPP names a directory.
3611 if test -n "$CPP" && test -d "$CPP"; then
3614 if test -z "$CPP"; then
3615 if test "${ac_cv_prog_CPP+set}" = set; then
3616 echo $ECHO_N "(cached) $ECHO_C" >&6
3618 # Double quotes because CPP needs to be expanded
3619 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3622 for ac_c_preproc_warn_flag in '' yes
3624 # Use a header file that comes with gcc, so configuring glibc
3625 # with a fresh cross-compiler works.
3626 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3627 # <limits.h> exists even on freestanding compilers.
3628 # On the NeXT, cc -E runs the code through the compiler's parser,
3629 # not just through cpp. "Syntax error" is here to catch this case.
3630 cat >conftest.$ac_ext <<_ACEOF
3633 cat confdefs.h >>conftest.$ac_ext
3634 cat >>conftest.$ac_ext <<_ACEOF
3635 /* end confdefs.h. */
3637 @%:@ include <limits.h>
3639 @%:@ include <assert.h>
3643 if { (ac_try="$ac_cpp conftest.$ac_ext"
3645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3646 *) ac_try_echo=$ac_try;;
3648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3649 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3651 grep -v '^ *+' conftest.er1 >conftest.err
3653 cat conftest.err >&5
3654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3655 (exit $ac_status); } >/dev/null && {
3656 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3657 test ! -s conftest.err
3661 echo "$as_me: failed program was:" >&5
3662 sed 's/^/| /' conftest.$ac_ext >&5
3664 # Broken: fails on valid input.
3668 rm -f conftest.err conftest.$ac_ext
3670 # OK, works on sane cases. Now check whether nonexistent headers
3671 # can be detected and how.
3672 cat >conftest.$ac_ext <<_ACEOF
3675 cat confdefs.h >>conftest.$ac_ext
3676 cat >>conftest.$ac_ext <<_ACEOF
3677 /* end confdefs.h. */
3678 @%:@include <ac_nonexistent.h>
3680 if { (ac_try="$ac_cpp conftest.$ac_ext"
3682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3683 *) ac_try_echo=$ac_try;;
3685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3686 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3688 grep -v '^ *+' conftest.er1 >conftest.err
3690 cat conftest.err >&5
3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692 (exit $ac_status); } >/dev/null && {
3693 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3694 test ! -s conftest.err
3696 # Broken: success on invalid input.
3699 echo "$as_me: failed program was:" >&5
3700 sed 's/^/| /' conftest.$ac_ext >&5
3702 # Passes both tests.
3707 rm -f conftest.err conftest.$ac_ext
3710 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3711 rm -f conftest.err conftest.$ac_ext
3712 if $ac_preproc_ok; then
3724 { echo "$as_me:$LINENO: result: $CPP" >&5
3725 echo "${ECHO_T}$CPP" >&6; }
3727 for ac_c_preproc_warn_flag in '' yes
3729 # Use a header file that comes with gcc, so configuring glibc
3730 # with a fresh cross-compiler works.
3731 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3732 # <limits.h> exists even on freestanding compilers.
3733 # On the NeXT, cc -E runs the code through the compiler's parser,
3734 # not just through cpp. "Syntax error" is here to catch this case.
3735 cat >conftest.$ac_ext <<_ACEOF
3738 cat confdefs.h >>conftest.$ac_ext
3739 cat >>conftest.$ac_ext <<_ACEOF
3740 /* end confdefs.h. */
3742 @%:@ include <limits.h>
3744 @%:@ include <assert.h>
3748 if { (ac_try="$ac_cpp conftest.$ac_ext"
3750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3751 *) ac_try_echo=$ac_try;;
3753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3754 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3756 grep -v '^ *+' conftest.er1 >conftest.err
3758 cat conftest.err >&5
3759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3760 (exit $ac_status); } >/dev/null && {
3761 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3762 test ! -s conftest.err
3766 echo "$as_me: failed program was:" >&5
3767 sed 's/^/| /' conftest.$ac_ext >&5
3769 # Broken: fails on valid input.
3773 rm -f conftest.err conftest.$ac_ext
3775 # OK, works on sane cases. Now check whether nonexistent headers
3776 # can be detected and how.
3777 cat >conftest.$ac_ext <<_ACEOF
3780 cat confdefs.h >>conftest.$ac_ext
3781 cat >>conftest.$ac_ext <<_ACEOF
3782 /* end confdefs.h. */
3783 @%:@include <ac_nonexistent.h>
3785 if { (ac_try="$ac_cpp conftest.$ac_ext"
3787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3788 *) ac_try_echo=$ac_try;;
3790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3791 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3793 grep -v '^ *+' conftest.er1 >conftest.err
3795 cat conftest.err >&5
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797 (exit $ac_status); } >/dev/null && {
3798 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3799 test ! -s conftest.err
3801 # Broken: success on invalid input.
3804 echo "$as_me: failed program was:" >&5
3805 sed 's/^/| /' conftest.$ac_ext >&5
3807 # Passes both tests.
3812 rm -f conftest.err conftest.$ac_ext
3815 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3816 rm -f conftest.err conftest.$ac_ext
3817 if $ac_preproc_ok; then
3820 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3821 See \`config.log' for more details." >&5
3822 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3823 See \`config.log' for more details." >&2;}
3824 { (exit 1); exit 1; }; }
3828 ac_cpp='$CPP $CPPFLAGS'
3829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3834 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3835 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3836 if test "${ac_cv_path_GREP+set}" = set; then
3837 echo $ECHO_N "(cached) $ECHO_C" >&6
3839 # Extract the first word of "grep ggrep" to use in msg output
3840 if test -z "$GREP"; then
3841 set dummy grep ggrep; ac_prog_name=$2
3842 if test "${ac_cv_path_GREP+set}" = set; then
3843 echo $ECHO_N "(cached) $ECHO_C" >&6
3845 ac_path_GREP_found=false
3846 # Loop through the user's path and test for each of PROGNAME-LIST
3847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3848 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3851 test -z "$as_dir" && as_dir=.
3852 for ac_prog in grep ggrep; do
3853 for ac_exec_ext in '' $ac_executable_extensions; do
3854 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3855 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3856 # Check for GNU ac_path_GREP and select it if it is found.
3857 # Check for GNU $ac_path_GREP
3858 case `"$ac_path_GREP" --version 2>&1` in
3860 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3863 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3866 cat "conftest.in" "conftest.in" >"conftest.tmp"
3867 mv "conftest.tmp" "conftest.in"
3868 cp "conftest.in" "conftest.nl"
3869 echo 'GREP' >> "conftest.nl"
3870 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3871 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3872 ac_count=`expr $ac_count + 1`
3873 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3874 # Best one so far, save it but keep looking for a better one
3875 ac_cv_path_GREP="$ac_path_GREP"
3876 ac_path_GREP_max=$ac_count
3878 # 10*(2^10) chars as input seems more than enough
3879 test $ac_count -gt 10 && break
3881 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3885 $ac_path_GREP_found && break 3
3895 GREP="$ac_cv_path_GREP"
3896 if test -z "$GREP"; then
3897 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3898 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3899 { (exit 1); exit 1; }; }
3903 ac_cv_path_GREP=$GREP
3908 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3909 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3910 GREP="$ac_cv_path_GREP"
3913 { echo "$as_me:$LINENO: checking for egrep" >&5
3914 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3915 if test "${ac_cv_path_EGREP+set}" = set; then
3916 echo $ECHO_N "(cached) $ECHO_C" >&6
3918 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3919 then ac_cv_path_EGREP="$GREP -E"
3921 # Extract the first word of "egrep" to use in msg output
3922 if test -z "$EGREP"; then
3923 set dummy egrep; ac_prog_name=$2
3924 if test "${ac_cv_path_EGREP+set}" = set; then
3925 echo $ECHO_N "(cached) $ECHO_C" >&6
3927 ac_path_EGREP_found=false
3928 # Loop through the user's path and test for each of PROGNAME-LIST
3929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3930 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3933 test -z "$as_dir" && as_dir=.
3934 for ac_prog in egrep; do
3935 for ac_exec_ext in '' $ac_executable_extensions; do
3936 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3937 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3938 # Check for GNU ac_path_EGREP and select it if it is found.
3939 # Check for GNU $ac_path_EGREP
3940 case `"$ac_path_EGREP" --version 2>&1` in
3942 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3945 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3948 cat "conftest.in" "conftest.in" >"conftest.tmp"
3949 mv "conftest.tmp" "conftest.in"
3950 cp "conftest.in" "conftest.nl"
3951 echo 'EGREP' >> "conftest.nl"
3952 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3953 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3954 ac_count=`expr $ac_count + 1`
3955 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3956 # Best one so far, save it but keep looking for a better one
3957 ac_cv_path_EGREP="$ac_path_EGREP"
3958 ac_path_EGREP_max=$ac_count
3960 # 10*(2^10) chars as input seems more than enough
3961 test $ac_count -gt 10 && break
3963 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3967 $ac_path_EGREP_found && break 3
3977 EGREP="$ac_cv_path_EGREP"
3978 if test -z "$EGREP"; then
3979 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3980 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3981 { (exit 1); exit 1; }; }
3985 ac_cv_path_EGREP=$EGREP
3991 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3992 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3993 EGREP="$ac_cv_path_EGREP"
3996 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3997 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3998 if test "${ac_cv_header_stdc+set}" = set; then
3999 echo $ECHO_N "(cached) $ECHO_C" >&6
4001 cat >conftest.$ac_ext <<_ACEOF
4004 cat confdefs.h >>conftest.$ac_ext
4005 cat >>conftest.$ac_ext <<_ACEOF
4006 /* end confdefs.h. */
4020 rm -f conftest.$ac_objext
4021 if { (ac_try="$ac_compile"
4023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4024 *) ac_try_echo=$ac_try;;
4026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4027 (eval "$ac_compile") 2>conftest.er1
4029 grep -v '^ *+' conftest.er1 >conftest.err
4031 cat conftest.err >&5
4032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4033 (exit $ac_status); } && {
4034 test -z "$ac_c_werror_flag" ||
4035 test ! -s conftest.err
4036 } && test -s conftest.$ac_objext; then
4037 ac_cv_header_stdc=yes
4039 echo "$as_me: failed program was:" >&5
4040 sed 's/^/| /' conftest.$ac_ext >&5
4042 ac_cv_header_stdc=no
4045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4047 if test $ac_cv_header_stdc = yes; then
4048 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4049 cat >conftest.$ac_ext <<_ACEOF
4052 cat confdefs.h >>conftest.$ac_ext
4053 cat >>conftest.$ac_ext <<_ACEOF
4054 /* end confdefs.h. */
4058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4059 $EGREP "memchr" >/dev/null 2>&1; then
4062 ac_cv_header_stdc=no
4068 if test $ac_cv_header_stdc = yes; then
4069 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4070 cat >conftest.$ac_ext <<_ACEOF
4073 cat confdefs.h >>conftest.$ac_ext
4074 cat >>conftest.$ac_ext <<_ACEOF
4075 /* end confdefs.h. */
4079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4080 $EGREP "free" >/dev/null 2>&1; then
4083 ac_cv_header_stdc=no
4089 if test $ac_cv_header_stdc = yes; then
4090 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4091 if test "$cross_compiling" = yes; then
4094 cat >conftest.$ac_ext <<_ACEOF
4097 cat confdefs.h >>conftest.$ac_ext
4098 cat >>conftest.$ac_ext <<_ACEOF
4099 /* end confdefs.h. */
4102 #if ((' ' & 0x0FF) == 0x020)
4103 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4104 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4106 # define ISLOWER(c) \
4107 (('a' <= (c) && (c) <= 'i') \
4108 || ('j' <= (c) && (c) <= 'r') \
4109 || ('s' <= (c) && (c) <= 'z'))
4110 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4113 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4118 for (i = 0; i < 256; i++)
4119 if (XOR (islower (i), ISLOWER (i))
4120 || toupper (i) != TOUPPER (i))
4125 rm -f conftest$ac_exeext
4126 if { (ac_try="$ac_link"
4128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4129 *) ac_try_echo=$ac_try;;
4131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4132 (eval "$ac_link") 2>&5
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4136 { (case "(($ac_try" in
4137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4138 *) ac_try_echo=$ac_try;;
4140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4141 (eval "$ac_try") 2>&5
4143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4144 (exit $ac_status); }; }; then
4147 echo "$as_me: program exited with status $ac_status" >&5
4148 echo "$as_me: failed program was:" >&5
4149 sed 's/^/| /' conftest.$ac_ext >&5
4152 ac_cv_header_stdc=no
4154 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4160 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4161 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4162 if test $ac_cv_header_stdc = yes; then
4164 cat >>confdefs.h <<\_ACEOF
4165 @%:@define STDC_HEADERS 1
4170 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4180 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4181 inttypes.h stdint.h unistd.h
4183 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4184 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4185 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4186 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4187 echo $ECHO_N "(cached) $ECHO_C" >&6
4189 cat >conftest.$ac_ext <<_ACEOF
4192 cat confdefs.h >>conftest.$ac_ext
4193 cat >>conftest.$ac_ext <<_ACEOF
4194 /* end confdefs.h. */
4195 $ac_includes_default
4197 @%:@include <$ac_header>
4199 rm -f conftest.$ac_objext
4200 if { (ac_try="$ac_compile"
4202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4203 *) ac_try_echo=$ac_try;;
4205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4206 (eval "$ac_compile") 2>conftest.er1
4208 grep -v '^ *+' conftest.er1 >conftest.err
4210 cat conftest.err >&5
4211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4212 (exit $ac_status); } && {
4213 test -z "$ac_c_werror_flag" ||
4214 test ! -s conftest.err
4215 } && test -s conftest.$ac_objext; then
4216 eval "$as_ac_Header=yes"
4218 echo "$as_me: failed program was:" >&5
4219 sed 's/^/| /' conftest.$ac_ext >&5
4221 eval "$as_ac_Header=no"
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226 ac_res=`eval echo '${'$as_ac_Header'}'`
4227 { echo "$as_me:$LINENO: result: $ac_res" >&5
4228 echo "${ECHO_T}$ac_res" >&6; }
4229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4230 cat >>confdefs.h <<_ACEOF
4231 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4243 for ac_header in limits.h stdlib.h string.h sys/time.h
4245 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4246 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4247 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4249 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4250 echo $ECHO_N "(cached) $ECHO_C" >&6
4252 ac_res=`eval echo '${'$as_ac_Header'}'`
4253 { echo "$as_me:$LINENO: result: $ac_res" >&5
4254 echo "${ECHO_T}$ac_res" >&6; }
4256 # Is the header compilable?
4257 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4258 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4259 cat >conftest.$ac_ext <<_ACEOF
4262 cat confdefs.h >>conftest.$ac_ext
4263 cat >>conftest.$ac_ext <<_ACEOF
4264 /* end confdefs.h. */
4265 $ac_includes_default
4266 @%:@include <$ac_header>
4268 rm -f conftest.$ac_objext
4269 if { (ac_try="$ac_compile"
4271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4272 *) ac_try_echo=$ac_try;;
4274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4275 (eval "$ac_compile") 2>conftest.er1
4277 grep -v '^ *+' conftest.er1 >conftest.err
4279 cat conftest.err >&5
4280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4281 (exit $ac_status); } && {
4282 test -z "$ac_c_werror_flag" ||
4283 test ! -s conftest.err
4284 } && test -s conftest.$ac_objext; then
4285 ac_header_compiler=yes
4287 echo "$as_me: failed program was:" >&5
4288 sed 's/^/| /' conftest.$ac_ext >&5
4290 ac_header_compiler=no
4293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4294 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4295 echo "${ECHO_T}$ac_header_compiler" >&6; }
4297 # Is the header present?
4298 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4299 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4300 cat >conftest.$ac_ext <<_ACEOF
4303 cat confdefs.h >>conftest.$ac_ext
4304 cat >>conftest.$ac_ext <<_ACEOF
4305 /* end confdefs.h. */
4306 @%:@include <$ac_header>
4308 if { (ac_try="$ac_cpp conftest.$ac_ext"
4310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4311 *) ac_try_echo=$ac_try;;
4313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4314 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4316 grep -v '^ *+' conftest.er1 >conftest.err
4318 cat conftest.err >&5
4319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4320 (exit $ac_status); } >/dev/null && {
4321 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4322 test ! -s conftest.err
4324 ac_header_preproc=yes
4326 echo "$as_me: failed program was:" >&5
4327 sed 's/^/| /' conftest.$ac_ext >&5
4329 ac_header_preproc=no
4332 rm -f conftest.err conftest.$ac_ext
4333 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4334 echo "${ECHO_T}$ac_header_preproc" >&6; }
4336 # So? What about this header?
4337 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4339 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4340 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4341 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4342 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4343 ac_header_preproc=yes
4346 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4347 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4348 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4349 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4350 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4351 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4352 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4353 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4354 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4355 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4356 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4357 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4359 @%:@@%:@ --------------------------------- @%:@@%:@
4360 @%:@@%:@ Report this to BUG-REPORT-ADDRESS @%:@@%:@
4361 @%:@@%:@ --------------------------------- @%:@@%:@
4363 ) | sed "s/^/$as_me: WARNING: /" >&2
4366 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4368 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4369 echo $ECHO_N "(cached) $ECHO_C" >&6
4371 eval "$as_ac_Header=\$ac_header_preproc"
4373 ac_res=`eval echo '${'$as_ac_Header'}'`
4374 { echo "$as_me:$LINENO: result: $ac_res" >&5
4375 echo "${ECHO_T}$ac_res" >&6; }
4378 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4379 cat >>confdefs.h <<_ACEOF
4380 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4388 # Checks for typedefs, structures, and compiler characteristics.
4389 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4390 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
4391 if test "${ac_cv_c_const+set}" = set; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4394 cat >conftest.$ac_ext <<_ACEOF
4397 cat confdefs.h >>conftest.$ac_ext
4398 cat >>conftest.$ac_ext <<_ACEOF
4399 /* end confdefs.h. */
4404 /* FIXME: Include the comments suggested by Paul. */
4406 /* Ultrix mips cc rejects this. */
4407 typedef int charset[2];
4409 /* SunOS 4.1.1 cc rejects this. */
4410 char const *const *pcpcc;
4412 /* NEC SVR4.0.2 mips cc rejects this. */
4413 struct point {int x, y;};
4414 static struct point const zero = {0,0};
4415 /* AIX XL C 1.02.0.0 rejects this.
4416 It does not let you subtract one const X* pointer from another in
4417 an arm of an if-expression whose if-part is not a constant
4419 const char *g = "string";
4420 pcpcc = &g + (g ? g-g : 0);
4421 /* HPUX 7.0 cc rejects these. */
4423 ppc = (char**) pcpcc;
4424 pcpcc = (char const *const *) ppc;
4425 { /* SCO 3.2v4 cc rejects this. */
4427 char const *s = 0 ? (char *) 0 : (char const *) 0;
4432 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4434 const int *foo = &x[0];
4437 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4438 typedef const int *iptr;
4442 { /* AIX XL C 1.02.0.0 rejects this saying
4443 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4444 struct s { int j; const int *ap[3]; };
4445 struct s *b; b->j = 5;
4447 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4451 return !cs[0] && !zero.x;
4458 rm -f conftest.$ac_objext
4459 if { (ac_try="$ac_compile"
4461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4462 *) ac_try_echo=$ac_try;;
4464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4465 (eval "$ac_compile") 2>conftest.er1
4467 grep -v '^ *+' conftest.er1 >conftest.err
4469 cat conftest.err >&5
4470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471 (exit $ac_status); } && {
4472 test -z "$ac_c_werror_flag" ||
4473 test ! -s conftest.err
4474 } && test -s conftest.$ac_objext; then
4477 echo "$as_me: failed program was:" >&5
4478 sed 's/^/| /' conftest.$ac_ext >&5
4483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4485 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4486 echo "${ECHO_T}$ac_cv_c_const" >&6; }
4487 if test $ac_cv_c_const = no; then
4489 cat >>confdefs.h <<\_ACEOF
4495 { echo "$as_me:$LINENO: checking for size_t" >&5
4496 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
4497 if test "${ac_cv_type_size_t+set}" = set; then
4498 echo $ECHO_N "(cached) $ECHO_C" >&6
4500 cat >conftest.$ac_ext <<_ACEOF
4503 cat confdefs.h >>conftest.$ac_ext
4504 cat >>conftest.$ac_ext <<_ACEOF
4505 /* end confdefs.h. */
4506 $ac_includes_default
4507 typedef size_t ac__type_new_;
4511 if ((ac__type_new_ *) 0)
4513 if (sizeof (ac__type_new_))
4519 rm -f conftest.$ac_objext
4520 if { (ac_try="$ac_compile"
4522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4523 *) ac_try_echo=$ac_try;;
4525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4526 (eval "$ac_compile") 2>conftest.er1
4528 grep -v '^ *+' conftest.er1 >conftest.err
4530 cat conftest.err >&5
4531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4532 (exit $ac_status); } && {
4533 test -z "$ac_c_werror_flag" ||
4534 test ! -s conftest.err
4535 } && test -s conftest.$ac_objext; then
4536 ac_cv_type_size_t=yes
4538 echo "$as_me: failed program was:" >&5
4539 sed 's/^/| /' conftest.$ac_ext >&5
4541 ac_cv_type_size_t=no
4544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4546 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4547 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
4548 if test $ac_cv_type_size_t = yes; then
4552 cat >>confdefs.h <<_ACEOF
4553 @%:@define size_t unsigned int
4558 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4559 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
4560 if test "${ac_cv_header_time+set}" = set; then
4561 echo $ECHO_N "(cached) $ECHO_C" >&6
4563 cat >conftest.$ac_ext <<_ACEOF
4566 cat confdefs.h >>conftest.$ac_ext
4567 cat >>conftest.$ac_ext <<_ACEOF
4568 /* end confdefs.h. */
4569 #include <sys/types.h>
4570 #include <sys/time.h>
4576 if ((struct tm *) 0)
4582 rm -f conftest.$ac_objext
4583 if { (ac_try="$ac_compile"
4585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4586 *) ac_try_echo=$ac_try;;
4588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4589 (eval "$ac_compile") 2>conftest.er1
4591 grep -v '^ *+' conftest.er1 >conftest.err
4593 cat conftest.err >&5
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); } && {
4596 test -z "$ac_c_werror_flag" ||
4597 test ! -s conftest.err
4598 } && test -s conftest.$ac_objext; then
4599 ac_cv_header_time=yes
4601 echo "$as_me: failed program was:" >&5
4602 sed 's/^/| /' conftest.$ac_ext >&5
4604 ac_cv_header_time=no
4607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4609 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4610 echo "${ECHO_T}$ac_cv_header_time" >&6; }
4611 if test $ac_cv_header_time = yes; then
4613 cat >>confdefs.h <<\_ACEOF
4614 @%:@define TIME_WITH_SYS_TIME 1
4619 adl_FUNC_GETOPT_LONG
4621 # Checks for library functions.
4623 for ac_header in stdlib.h
4625 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4626 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4627 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4629 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4630 echo $ECHO_N "(cached) $ECHO_C" >&6
4632 ac_res=`eval echo '${'$as_ac_Header'}'`
4633 { echo "$as_me:$LINENO: result: $ac_res" >&5
4634 echo "${ECHO_T}$ac_res" >&6; }
4636 # Is the header compilable?
4637 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4638 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4639 cat >conftest.$ac_ext <<_ACEOF
4642 cat confdefs.h >>conftest.$ac_ext
4643 cat >>conftest.$ac_ext <<_ACEOF
4644 /* end confdefs.h. */
4645 $ac_includes_default
4646 @%:@include <$ac_header>
4648 rm -f conftest.$ac_objext
4649 if { (ac_try="$ac_compile"
4651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4652 *) ac_try_echo=$ac_try;;
4654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4655 (eval "$ac_compile") 2>conftest.er1
4657 grep -v '^ *+' conftest.er1 >conftest.err
4659 cat conftest.err >&5
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); } && {
4662 test -z "$ac_c_werror_flag" ||
4663 test ! -s conftest.err
4664 } && test -s conftest.$ac_objext; then
4665 ac_header_compiler=yes
4667 echo "$as_me: failed program was:" >&5
4668 sed 's/^/| /' conftest.$ac_ext >&5
4670 ac_header_compiler=no
4673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4674 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4675 echo "${ECHO_T}$ac_header_compiler" >&6; }
4677 # Is the header present?
4678 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4679 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4680 cat >conftest.$ac_ext <<_ACEOF
4683 cat confdefs.h >>conftest.$ac_ext
4684 cat >>conftest.$ac_ext <<_ACEOF
4685 /* end confdefs.h. */
4686 @%:@include <$ac_header>
4688 if { (ac_try="$ac_cpp conftest.$ac_ext"
4690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4691 *) ac_try_echo=$ac_try;;
4693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4694 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4696 grep -v '^ *+' conftest.er1 >conftest.err
4698 cat conftest.err >&5
4699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4700 (exit $ac_status); } >/dev/null && {
4701 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4702 test ! -s conftest.err
4704 ac_header_preproc=yes
4706 echo "$as_me: failed program was:" >&5
4707 sed 's/^/| /' conftest.$ac_ext >&5
4709 ac_header_preproc=no
4712 rm -f conftest.err conftest.$ac_ext
4713 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4714 echo "${ECHO_T}$ac_header_preproc" >&6; }
4716 # So? What about this header?
4717 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4719 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4720 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4722 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4723 ac_header_preproc=yes
4726 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4727 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4728 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4729 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4730 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4731 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4732 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4733 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4735 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4736 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4737 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4739 @%:@@%:@ --------------------------------- @%:@@%:@
4740 @%:@@%:@ Report this to BUG-REPORT-ADDRESS @%:@@%:@
4741 @%:@@%:@ --------------------------------- @%:@@%:@
4743 ) | sed "s/^/$as_me: WARNING: /" >&2
4746 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4748 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4749 echo $ECHO_N "(cached) $ECHO_C" >&6
4751 eval "$as_ac_Header=\$ac_header_preproc"
4753 ac_res=`eval echo '${'$as_ac_Header'}'`
4754 { echo "$as_me:$LINENO: result: $ac_res" >&5
4755 echo "${ECHO_T}$ac_res" >&6; }
4758 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4759 cat >>confdefs.h <<_ACEOF
4760 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4767 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
4768 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
4769 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
4770 echo $ECHO_N "(cached) $ECHO_C" >&6
4772 if test "$cross_compiling" = yes; then
4773 ac_cv_func_malloc_0_nonnull=no
4775 cat >conftest.$ac_ext <<_ACEOF
4778 cat confdefs.h >>conftest.$ac_ext
4779 cat >>conftest.$ac_ext <<_ACEOF
4780 /* end confdefs.h. */
4781 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4782 # include <stdlib.h>
4790 return ! malloc (0);
4795 rm -f conftest$ac_exeext
4796 if { (ac_try="$ac_link"
4798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4799 *) ac_try_echo=$ac_try;;
4801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4802 (eval "$ac_link") 2>&5
4804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4805 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4806 { (case "(($ac_try" in
4807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4808 *) ac_try_echo=$ac_try;;
4810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4811 (eval "$ac_try") 2>&5
4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814 (exit $ac_status); }; }; then
4815 ac_cv_func_malloc_0_nonnull=yes
4817 echo "$as_me: program exited with status $ac_status" >&5
4818 echo "$as_me: failed program was:" >&5
4819 sed 's/^/| /' conftest.$ac_ext >&5
4822 ac_cv_func_malloc_0_nonnull=no
4824 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4829 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
4830 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
4831 if test $ac_cv_func_malloc_0_nonnull = yes; then
4833 cat >>confdefs.h <<\_ACEOF
4834 @%:@define HAVE_MALLOC 1
4838 cat >>confdefs.h <<\_ACEOF
4839 @%:@define HAVE_MALLOC 0
4842 case " $LIB@&t@OBJS " in
4843 *" malloc.$ac_objext "* ) ;;
4844 *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext"
4849 cat >>confdefs.h <<\_ACEOF
4850 @%:@define malloc rpl_malloc
4858 for ac_func in memset
4860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4861 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4863 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4864 echo $ECHO_N "(cached) $ECHO_C" >&6
4866 cat >conftest.$ac_ext <<_ACEOF
4869 cat confdefs.h >>conftest.$ac_ext
4870 cat >>conftest.$ac_ext <<_ACEOF
4871 /* end confdefs.h. */
4872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4874 #define $ac_func innocuous_$ac_func
4876 /* System header to define __stub macros and hopefully few prototypes,
4877 which can conflict with char $ac_func (); below.
4878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4879 <limits.h> exists even on freestanding compilers. */
4882 # include <limits.h>
4884 # include <assert.h>
4889 /* Override any GCC internal prototype to avoid an error.
4890 Use char because int might match the return type of a GCC
4891 builtin and then its argument prototype would still apply. */
4896 /* The GNU C library defines this for functions which it implements
4897 to always fail with ENOSYS. Some functions are actually named
4898 something starting with __ and the normal name is an alias. */
4899 #if defined __stub_$ac_func || defined __stub___$ac_func
4911 rm -f conftest.$ac_objext conftest$ac_exeext
4912 if { (ac_try="$ac_link"
4914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4915 *) ac_try_echo=$ac_try;;
4917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4918 (eval "$ac_link") 2>conftest.er1
4920 grep -v '^ *+' conftest.er1 >conftest.err
4922 cat conftest.err >&5
4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 (exit $ac_status); } && {
4925 test -z "$ac_c_werror_flag" ||
4926 test ! -s conftest.err
4927 } && test -s conftest$ac_exeext &&
4928 $as_test_x conftest$ac_exeext; then
4929 eval "$as_ac_var=yes"
4931 echo "$as_me: failed program was:" >&5
4932 sed 's/^/| /' conftest.$ac_ext >&5
4934 eval "$as_ac_var=no"
4937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4938 conftest$ac_exeext conftest.$ac_ext
4940 ac_res=`eval echo '${'$as_ac_var'}'`
4941 { echo "$as_me:$LINENO: result: $ac_res" >&5
4942 echo "${ECHO_T}$ac_res" >&6; }
4943 if test `eval echo '${'$as_ac_var'}'` = yes; then
4944 cat >>confdefs.h <<_ACEOF
4945 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4953 ac_config_files="$ac_config_files Makefile dimension/Makefile dlacluster/Makefile src/Makefile test/Makefile lib/Makefile"
4955 cat >confcache <<\_ACEOF
4956 # This file is a shell script that caches the results of configure
4957 # tests run on this system so they can be shared between configure
4958 # scripts and configure runs, see configure's option --config-cache.
4959 # It is not useful on other systems. If it contains results you don't
4960 # want to keep, you may remove or edit it.
4962 # config.status only pays attention to the cache file if you give it
4963 # the --recheck option to rerun configure.
4965 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4966 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4971 # The following way of writing the cache mishandles newlines in values,
4972 # but we know of no workaround that is simple, portable, and efficient.
4973 # So, we kill variables containing newlines.
4974 # Ultrix sh set writes to stderr and can't be redirected directly,
4975 # and sets the high bit in the cache file unless we assign to the vars.
4977 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4978 eval ac_val=\$$ac_var
4982 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4983 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4986 _ | IFS | as_nl) ;; #(
4987 *) $as_unset $ac_var ;;
4993 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4994 *${as_nl}ac_space=\ *)
4995 # `set' does not quote correctly, so add quotes (double-quote
4996 # substitution turns \\\\ into \\, and sed turns \\ into \).
4999 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5002 # `set' quotes correctly as required by POSIX, so do not add quotes.
5003 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5012 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5014 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5016 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5017 if test -w "$cache_file"; then
5018 test "x$cache_file" != "x/dev/null" &&
5019 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5020 echo "$as_me: updating cache $cache_file" >&6;}
5021 cat confcache >$cache_file
5023 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5024 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5029 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5030 # Let make expand exec_prefix.
5031 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5033 DEFS=-DHAVE_CONFIG_H
5037 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
5038 # 1. Remove the extension, and $U if already installed.
5039 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5040 ac_i=`echo "$ac_i" | sed "$ac_script"`
5041 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5042 # will be set to the directory where LIBOBJS objects are built.
5043 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5044 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5046 LIB@&t@OBJS=$ac_libobjs
5048 LTLIBOBJS=$ac_ltlibobjs
5051 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5052 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5053 Usually this means the macro was only invoked conditionally." >&5
5054 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5055 Usually this means the macro was only invoked conditionally." >&2;}
5056 { (exit 1); exit 1; }; }
5058 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5059 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5060 Usually this means the macro was only invoked conditionally." >&5
5061 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5062 Usually this means the macro was only invoked conditionally." >&2;}
5063 { (exit 1); exit 1; }; }
5066 : ${CONFIG_STATUS=./config.status}
5067 ac_clean_files_save=$ac_clean_files
5068 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5069 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5070 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5071 cat >$CONFIG_STATUS <<_ACEOF
5073 # Generated by $as_me.
5074 # Run this file to recreate the current configuration.
5075 # Compiler output produced by configure, useful for debugging
5076 # configure, is in config.log if it exists.
5081 SHELL=\${CONFIG_SHELL-$SHELL}
5084 cat >>$CONFIG_STATUS <<\_ACEOF
5085 ## --------------------- ##
5086 ## M4sh Initialization. ##
5087 ## --------------------- ##
5089 # Be more Bourne compatible
5090 DUALCASE=1; export DUALCASE # for MKS sh
5091 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5094 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5095 # is contrary to our usage. Disable this feature.
5096 alias -g '${1+"$@"}'='"$@"'
5097 setopt NO_GLOB_SUBST
5099 case `(set -o) 2>/dev/null` in
5100 *posix*) set -o posix ;;
5109 # Avoid depending upon Character Ranges.
5110 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5111 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5112 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5113 as_cr_digits='0123456789'
5114 as_cr_alnum=$as_cr_Letters$as_cr_digits
5116 # The user is always right.
5117 if test "${PATH_SEPARATOR+set}" != set; then
5118 echo "#! /bin/sh" >conf$$.sh
5119 echo "exit 0" >>conf$$.sh
5121 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5129 # Support unset when possible.
5130 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5138 # We need space, tab and new line, in precisely that order. Quoting is
5139 # there to prevent editors from complaining about space-tab.
5140 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5141 # splitting by setting IFS to empty value.)
5146 # Find who we are. Look in the path if we contain no directory separator.
5148 *[\\/]* ) as_myself=$0 ;;
5149 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5153 test -z "$as_dir" && as_dir=.
5154 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5160 # We did not find ourselves, most probably we were run as `sh COMMAND'
5161 # in which case we are not to be found in the path.
5162 if test "x$as_myself" = x; then
5165 if test ! -f "$as_myself"; then
5166 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5167 { (exit 1); exit 1; }
5170 # Work around bugs in pre-3.0 UWIN ksh.
5171 for as_var in ENV MAIL MAILPATH
5172 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5180 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5181 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5182 LC_TELEPHONE LC_TIME
5184 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5185 eval $as_var=C; export $as_var
5187 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5191 # Required to use basename.
5192 if expr a : '\(a\)' >/dev/null 2>&1 &&
5193 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5199 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5200 as_basename=basename
5206 # Name of the executable.
5207 as_me=`$as_basename -- "$0" ||
5208 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5209 X"$0" : 'X\(//\)$' \| \
5210 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5212 sed '/^.*\/\([^/][^/]*\)\/*$/{
5233 test "x$as_lineno_1" != "x$as_lineno_2" &&
5234 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5236 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5237 # uniformly replaced by the line number. The first 'sed' inserts a
5238 # line-number line after each line using $LINENO; the second 'sed'
5239 # does the real work. The second script uses 'N' to pair each
5240 # line-number line with the line containing $LINENO, and appends
5241 # trailing '-' during substitution so that $LINENO is not a special
5243 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5244 # scripts with optimization help from Paolo Bonzini. Blame Lee
5245 # E. McMahon (1931-1989) for sed's syntax. :-)
5257 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5261 chmod +x "$as_me.lineno" ||
5262 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5263 { (exit 1); exit 1; }; }
5265 # Don't try to exec as it changes $[0], causing all sort of problems
5266 # (the dirname of $[0] is not the place where we might find the
5267 # original and so on. Autoconf is especially sensitive to this).
5269 # Exit status is that of the last command.
5274 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5280 ECHO_C= ECHO_N= ECHO_T=
5283 case `echo 'x\c'` in
5284 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5291 if expr a : '\(a\)' >/dev/null 2>&1 &&
5292 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5298 rm -f conf$$ conf$$.exe conf$$.file
5299 if test -d conf$$.dir; then
5300 rm -f conf$$.dir/conf$$.file
5306 if ln -s conf$$.file conf$$ 2>/dev/null; then
5308 # ... but there are two gotchas:
5309 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5310 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5311 # In both cases, we have to default to `cp -p'.
5312 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5314 elif ln conf$$.file conf$$ 2>/dev/null; then
5319 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5320 rmdir conf$$.dir 2>/dev/null
5322 if mkdir -p . 2>/dev/null; then
5325 test -d ./-p && rmdir ./-p
5329 if test -x / >/dev/null 2>&1; then
5332 if ls -dL / >/dev/null 2>&1; then
5339 if test -d "$1"; then
5345 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5346 ???[sx]*):;;*)false;;esac;fi
5350 as_executable_p=$as_test_x
5352 # Sed expression to map a string onto a valid CPP name.
5353 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5355 # Sed expression to map a string onto a valid variable name.
5356 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5361 # Save the log message, to keep $[0] and so on meaningful, and to
5362 # report actual input values of CONFIG_FILES etc. instead of their
5363 # values after options handling.
5365 This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was
5366 generated by GNU Autoconf 2.61. Invocation command line was
5368 CONFIG_FILES = $CONFIG_FILES
5369 CONFIG_HEADERS = $CONFIG_HEADERS
5370 CONFIG_LINKS = $CONFIG_LINKS
5371 CONFIG_COMMANDS = $CONFIG_COMMANDS
5374 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5379 cat >>$CONFIG_STATUS <<_ACEOF
5380 # Files that config.status was made for.
5381 config_files="$ac_config_files"
5382 config_headers="$ac_config_headers"
5383 config_commands="$ac_config_commands"
5387 cat >>$CONFIG_STATUS <<\_ACEOF
5389 \`$as_me' instantiates files from templates according to the
5390 current configuration.
5392 Usage: $0 [OPTIONS] [FILE]...
5394 -h, --help print this help, then exit
5395 -V, --version print version number and configuration settings, then exit
5396 -q, --quiet do not print progress messages
5397 -d, --debug don't remove temporary files
5398 --recheck update $as_me by reconfiguring in the same conditions
5399 --file=FILE[:TEMPLATE]
5400 instantiate the configuration file FILE
5401 --header=FILE[:TEMPLATE]
5402 instantiate the configuration header FILE
5404 Configuration files:
5407 Configuration headers:
5410 Configuration commands:
5413 Report bugs to <bug-autoconf@gnu.org>."
5416 cat >>$CONFIG_STATUS <<_ACEOF
5418 FULL-PACKAGE-NAME config.status VERSION
5419 configured by $0, generated by GNU Autoconf 2.61,
5420 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5422 Copyright (C) 2006 Free Software Foundation, Inc.
5423 This config.status script is free software; the Free Software Foundation
5424 gives unlimited permission to copy, distribute and modify it."
5432 cat >>$CONFIG_STATUS <<\_ACEOF
5433 # If no file are specified by the user, then we need to provide default
5434 # value. By we need to know if files were specified by the user.
5440 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5441 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5452 # Handling of the options.
5453 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5455 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5456 echo "$ac_cs_version"; exit ;;
5457 --debug | --debu | --deb | --de | --d | -d )
5459 --file | --fil | --fi | --f )
5461 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5462 ac_need_defaults=false;;
5463 --header | --heade | --head | --hea )
5465 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5466 ac_need_defaults=false;;
5468 # Conflict between --help and --header
5469 { echo "$as_me: error: ambiguous option: $1
5470 Try \`$0 --help' for more information." >&2
5471 { (exit 1); exit 1; }; };;
5472 --help | --hel | -h )
5473 echo "$ac_cs_usage"; exit ;;
5474 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5475 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5479 -*) { echo "$as_me: error: unrecognized option: $1
5480 Try \`$0 --help' for more information." >&2
5481 { (exit 1); exit 1; }; } ;;
5483 *) ac_config_targets="$ac_config_targets $1"
5484 ac_need_defaults=false ;;
5490 ac_configure_extra_args=
5492 if $ac_cs_silent; then
5494 ac_configure_extra_args="$ac_configure_extra_args --silent"
5498 cat >>$CONFIG_STATUS <<_ACEOF
5499 if \$ac_cs_recheck; then
5500 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5503 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5507 cat >>$CONFIG_STATUS <<\_ACEOF
5511 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
5512 @%:@@%:@ Running $as_me. @%:@@%:@
5518 cat >>$CONFIG_STATUS <<_ACEOF
5522 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5526 cat >>$CONFIG_STATUS <<\_ACEOF
5528 # Handling of arguments.
5529 for ac_config_target in $ac_config_targets
5531 case $ac_config_target in
5532 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5533 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5534 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5535 "dimension/Makefile") CONFIG_FILES="$CONFIG_FILES dimension/Makefile" ;;
5536 "dlacluster/Makefile") CONFIG_FILES="$CONFIG_FILES dlacluster/Makefile" ;;
5537 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5538 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
5539 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
5541 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5542 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5543 { (exit 1); exit 1; }; };;
5548 # If the user did not use the arguments to specify the items to instantiate,
5549 # then the envvar interface is used. Set only those that are not.
5550 # We use the long form for the default assignment because of an extremely
5551 # bizarre bug on SunOS 4.1.3.
5552 if $ac_need_defaults; then
5553 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5554 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5555 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5558 # Have a temporary directory for convenience. Make it in the build tree
5559 # simply because there is no reason against having it here, and in addition,
5560 # creating and moving files from /tmp can sometimes cause problems.
5561 # Hook for its removal unless debugging.
5562 # Note that there is a small window in which the directory will not be cleaned:
5563 # after its creation but before its name has been assigned to `$tmp'.
5567 trap 'exit_status=$?
5568 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5570 trap '{ (exit 1); exit 1; }' 1 2 13 15
5572 # Create a (secure) tmp directory for tmp files.
5575 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5576 test -n "$tmp" && test -d "$tmp"
5579 tmp=./conf$$-$RANDOM
5580 (umask 077 && mkdir "$tmp")
5583 echo "$me: cannot create a temporary directory in ." >&2
5584 { (exit 1); exit 1; }
5588 # Set up the sed scripts for CONFIG_FILES section.
5591 # No need to generate the scripts if there are no CONFIG_FILES.
5592 # This happens for instance when ./config.status config.h
5593 if test -n "$CONFIG_FILES"; then
5600 for ac_last_try in false false false false false :; do
5601 cat >conf$$subs.sed <<_ACEOF
5602 SHELL!$SHELL$ac_delim
5603 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5604 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5605 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5606 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5607 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5608 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5609 exec_prefix!$exec_prefix$ac_delim
5610 prefix!$prefix$ac_delim
5611 program_transform_name!$program_transform_name$ac_delim
5612 bindir!$bindir$ac_delim
5613 sbindir!$sbindir$ac_delim
5614 libexecdir!$libexecdir$ac_delim
5615 datarootdir!$datarootdir$ac_delim
5616 datadir!$datadir$ac_delim
5617 sysconfdir!$sysconfdir$ac_delim
5618 sharedstatedir!$sharedstatedir$ac_delim
5619 localstatedir!$localstatedir$ac_delim
5620 includedir!$includedir$ac_delim
5621 oldincludedir!$oldincludedir$ac_delim
5622 docdir!$docdir$ac_delim
5623 infodir!$infodir$ac_delim
5624 htmldir!$htmldir$ac_delim
5625 dvidir!$dvidir$ac_delim
5626 pdfdir!$pdfdir$ac_delim
5627 psdir!$psdir$ac_delim
5628 libdir!$libdir$ac_delim
5629 localedir!$localedir$ac_delim
5630 mandir!$mandir$ac_delim
5632 ECHO_C!$ECHO_C$ac_delim
5633 ECHO_N!$ECHO_N$ac_delim
5634 ECHO_T!$ECHO_T$ac_delim
5636 build_alias!$build_alias$ac_delim
5637 host_alias!$host_alias$ac_delim
5638 target_alias!$target_alias$ac_delim
5639 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5640 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5641 INSTALL_DATA!$INSTALL_DATA$ac_delim
5642 am__isrc!$am__isrc$ac_delim
5643 CYGPATH_W!$CYGPATH_W$ac_delim
5644 PACKAGE!$PACKAGE$ac_delim
5645 VERSION!$VERSION$ac_delim
5646 ACLOCAL!$ACLOCAL$ac_delim
5647 AUTOCONF!$AUTOCONF$ac_delim
5648 AUTOMAKE!$AUTOMAKE$ac_delim
5649 AUTOHEADER!$AUTOHEADER$ac_delim
5650 MAKEINFO!$MAKEINFO$ac_delim
5651 install_sh!$install_sh$ac_delim
5652 STRIP!$STRIP$ac_delim
5653 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5654 mkdir_p!$mkdir_p$ac_delim
5656 SET_MAKE!$SET_MAKE$ac_delim
5657 am__leading_dot!$am__leading_dot$ac_delim
5658 AMTAR!$AMTAR$ac_delim
5659 am__tar!$am__tar$ac_delim
5660 am__untar!$am__untar$ac_delim
5661 RANLIB!$RANLIB$ac_delim
5663 CFLAGS!$CFLAGS$ac_delim
5664 LDFLAGS!$LDFLAGS$ac_delim
5665 CPPFLAGS!$CPPFLAGS$ac_delim
5666 ac_ct_CC!$ac_ct_CC$ac_delim
5667 EXEEXT!$EXEEXT$ac_delim
5668 OBJEXT!$OBJEXT$ac_delim
5669 DEPDIR!$DEPDIR$ac_delim
5670 am__include!$am__include$ac_delim
5671 am__quote!$am__quote$ac_delim
5672 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5673 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5674 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5675 CCDEPMODE!$CCDEPMODE$ac_delim
5676 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5677 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5680 EGREP!$EGREP$ac_delim
5681 LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
5682 LTLIBOBJS!$LTLIBOBJS$ac_delim
5685 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 81; then
5687 elif $ac_last_try; then
5688 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5689 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5690 { (exit 1); exit 1; }; }
5692 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5696 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5697 if test -n "$ac_eof"; then
5698 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5699 ac_eof=`expr $ac_eof + 1`
5702 cat >>$CONFIG_STATUS <<_ACEOF
5703 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5704 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5707 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5708 s/^/s,@/; s/!/@,|#_!!_#|/
5711 s/'"$ac_delim"'$/,g/; t
5713 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5714 ' >>$CONFIG_STATUS <conf$$subs.sed
5715 rm -f conf$$subs.sed
5716 cat >>$CONFIG_STATUS <<_ACEOF
5723 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5724 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5725 # trailing colons and then remove the whole line if VPATH becomes empty
5726 # (actually we leave an empty line to preserve line numbers).
5727 if test "x$srcdir" = x.; then
5728 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5732 s/^\([^=]*=[ ]*\):*/\1/
5738 cat >>$CONFIG_STATUS <<\_ACEOF
5739 fi # test -n "$CONFIG_FILES"
5742 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
5745 :[FHLC]) ac_mode=$ac_tag; continue;;
5747 case $ac_mode$ac_tag in
5749 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5750 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5751 { (exit 1); exit 1; }; };;
5752 :[FH]-) ac_tag=-:-;;
5753 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5770 -) ac_f="$tmp/stdin";;
5771 *) # Look for the file first in the build tree, then in the source tree
5772 # (if the path is not absolute). The absolute path cannot be DOS-style,
5773 # because $ac_f cannot contain `:'.
5777 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5779 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5780 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5781 { (exit 1); exit 1; }; };;
5783 ac_file_inputs="$ac_file_inputs $ac_f"
5786 # Let's still pretend it is `configure' which instantiates (i.e., don't
5787 # use $as_me), people would be surprised to read:
5788 # /* config.h. Generated by config.status. */
5789 configure_input="Generated from "`IFS=:
5790 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5791 if test x"$ac_file" != x-; then
5792 configure_input="$ac_file. $configure_input"
5793 { echo "$as_me:$LINENO: creating $ac_file" >&5
5794 echo "$as_me: creating $ac_file" >&6;}
5798 *:-:* | *:-) cat >"$tmp/stdin";;
5803 ac_dir=`$as_dirname -- "$ac_file" ||
5804 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5805 X"$ac_file" : 'X\(//\)[^/]' \| \
5806 X"$ac_file" : 'X\(//\)$' \| \
5807 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5828 -*) as_dir=./$as_dir;;
5830 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5834 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5835 *) as_qdir=$as_dir;;
5837 as_dirs="'$as_qdir' $as_dirs"
5838 as_dir=`$as_dirname -- "$as_dir" ||
5839 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5840 X"$as_dir" : 'X\(//\)[^/]' \| \
5841 X"$as_dir" : 'X\(//\)$' \| \
5842 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5844 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5861 test -d "$as_dir" && break
5863 test -z "$as_dirs" || eval "mkdir $as_dirs"
5864 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5865 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5866 { (exit 1); exit 1; }; }; }
5870 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5872 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5873 # A ".." for each directory in $ac_dir_suffix.
5874 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5875 case $ac_top_builddir_sub in
5876 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5877 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5880 ac_abs_top_builddir=$ac_pwd
5881 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5882 # for backward compatibility:
5883 ac_top_builddir=$ac_top_build_prefix
5886 .) # We are building in place.
5888 ac_top_srcdir=$ac_top_builddir_sub
5889 ac_abs_top_srcdir=$ac_pwd ;;
5890 [\\/]* | ?:[\\/]* ) # Absolute name.
5891 ac_srcdir=$srcdir$ac_dir_suffix;
5892 ac_top_srcdir=$srcdir
5893 ac_abs_top_srcdir=$srcdir ;;
5895 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5896 ac_top_srcdir=$ac_top_build_prefix$srcdir
5897 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5899 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5909 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5910 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5914 [\\/$]* | ?:[\\/]* ) ;;
5915 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5919 cat >>$CONFIG_STATUS <<\_ACEOF
5920 # If the template does not know about datarootdir, expand it.
5921 # FIXME: This hack should be removed a few years after 2.60.
5922 ac_datarootdir_hack=; ac_datarootdir_seen=
5924 case `sed -n '/datarootdir/ {
5933 ' $ac_file_inputs` in
5934 *datarootdir*) ac_datarootdir_seen=yes;;
5935 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5936 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5937 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5939 cat >>$CONFIG_STATUS <<_ACEOF
5940 ac_datarootdir_hack='
5941 s&@datadir@&$datadir&g
5942 s&@docdir@&$docdir&g
5943 s&@infodir@&$infodir&g
5944 s&@localedir@&$localedir&g
5945 s&@mandir@&$mandir&g
5946 s&\\\${datarootdir}&$datarootdir&g' ;;
5950 # Neutralize VPATH when `$srcdir' = `.'.
5951 # Shell code in configure.ac might set extrasub.
5952 # FIXME: do we really want to maintain this feature?
5953 cat >>$CONFIG_STATUS <<_ACEOF
5957 cat >>$CONFIG_STATUS <<\_ACEOF
5959 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5960 s&@configure_input@&$configure_input&;t t
5961 s&@top_builddir@&$ac_top_builddir_sub&;t t
5962 s&@srcdir@&$ac_srcdir&;t t
5963 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5964 s&@top_srcdir@&$ac_top_srcdir&;t t
5965 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5966 s&@builddir@&$ac_builddir&;t t
5967 s&@abs_builddir@&$ac_abs_builddir&;t t
5968 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5969 s&@INSTALL@&$ac_INSTALL&;t t
5970 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5971 $ac_datarootdir_hack
5972 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
5974 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5975 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5976 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5977 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5978 which seems to be undefined. Please make sure it is defined." >&5
5979 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5980 which seems to be undefined. Please make sure it is defined." >&2;}
5984 -) cat "$tmp/out"; rm -f "$tmp/out";;
5985 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5994 # Transform confdefs.h into a sed script `conftest.defines', that
5995 # substitutes the proper values into config.h.in to produce config.h.
5996 rm -f conftest.defines conftest.tail
5997 # First, append a space to every undef/define line, to ease matching.
5998 echo 's/$/ /' >conftest.defines
5999 # Then, protect against being on the right side of a sed subst, or in
6000 # an unquoted here document, in config.status. If some macros were
6001 # called several times there might be several #defines for the same
6002 # symbol, which is useless. But do not sort them, since the last
6003 # AC_DEFINE must be honored.
6004 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6005 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
6006 # NAME is the cpp macro being defined, VALUE is the value it is being given.
6007 # PARAMS is the parameter list in the macro definition--in most cases, it's
6008 # just an empty string.
6009 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
6010 ac_dB='\\)[ (].*,\\1define\\2'
6018 s/^[ ]*#[ ]*define[ ][ ]*//
6023 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6024 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6025 ' >>conftest.defines
6027 # Remove the space that was appended to ease matching.
6028 # Then replace #undef with comments. This is necessary, for
6029 # example, in the case of _POSIX_SOURCE, which is predefined and required
6030 # on some systems where configure will not decide to define it.
6031 # (The regexp can be short, since the line contains either #define or #undef.)
6033 s,^[ #]*u.*,/* & */,' >>conftest.defines
6035 # Break up conftest.defines:
6038 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6039 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6040 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6042 ac_in='$ac_file_inputs'
6043 ac_out='"$tmp/out1"'
6044 ac_nxt='"$tmp/out2"'
6048 # Write a here document:
6049 cat >>$CONFIG_STATUS <<_ACEOF
6050 # First, check the format of the line:
6051 cat >"\$tmp/defines.sed" <<\\CEOF
6052 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
6053 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
6057 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
6059 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6060 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
6061 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
6062 grep . conftest.tail >/dev/null || break
6063 rm -f conftest.defines
6064 mv conftest.tail conftest.defines
6066 rm -f conftest.defines conftest.tail
6068 echo "ac_result=$ac_in" >>$CONFIG_STATUS
6069 cat >>$CONFIG_STATUS <<\_ACEOF
6070 if test x"$ac_file" != x-; then
6071 echo "/* $configure_input */" >"$tmp/config.h"
6072 cat "$ac_result" >>"$tmp/config.h"
6073 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
6074 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6075 echo "$as_me: $ac_file is unchanged" >&6;}
6078 mv "$tmp/config.h" $ac_file
6081 echo "/* $configure_input */"
6085 # Compute $ac_file's index in $config_headers.
6087 for _am_header in $config_headers :; do
6089 $ac_file | $ac_file:* )
6092 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6095 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
6096 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6097 X$ac_file : 'X\(//\)[^/]' \| \
6098 X$ac_file : 'X\(//\)$' \| \
6099 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
6101 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6117 s/.*/./; q'`/stamp-h$_am_stamp_count
6120 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
6121 echo "$as_me: executing $ac_file commands" >&6;}
6126 case $ac_file$ac_mode in
6127 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6128 # Strip MF so we end up with the name of the file.
6129 mf=`echo "$mf" | sed -e 's/:.*$//'`
6130 # Check whether this is an Automake generated Makefile or not.
6131 # We used to match only the files named `Makefile.in', but
6132 # some people rename them; so instead we look at the file content.
6133 # Grep'ing the first line is not enough: some people post-process
6134 # each Makefile.in and add a new line on top of each file to say so.
6135 # Grep'ing the whole file is not good either: AIX grep has a line
6136 # limit of 2048, but all sed's we know have understand at least 4000.
6137 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
6138 dirpart=`$as_dirname -- "$mf" ||
6139 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6140 X"$mf" : 'X\(//\)[^/]' \| \
6141 X"$mf" : 'X\(//\)$' \| \
6142 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6144 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6164 # Extract the definition of DEPDIR, am__include, and am__quote
6165 # from the Makefile without running `make'.
6166 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6167 test -z "$DEPDIR" && continue
6168 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6169 test -z "am__include" && continue
6170 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6171 # When using ansi2knr, U may be empty or an underscore; expand it
6172 U=`sed -n 's/^U = //p' < "$mf"`
6173 # Find all dependency output files, they are included files with
6174 # $(DEPDIR) in their names. We invoke sed twice because it is the
6175 # simplest approach to changing $(DEPDIR) to its actual value in the
6177 for file in `sed -n "
6178 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6179 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6180 # Make sure the directory exists.
6181 test -f "$dirpart/$file" && continue
6182 fdir=`$as_dirname -- "$file" ||
6183 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6184 X"$file" : 'X\(//\)[^/]' \| \
6185 X"$file" : 'X\(//\)$' \| \
6186 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6205 { as_dir=$dirpart/$fdir
6207 -*) as_dir=./$as_dir;;
6209 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6213 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6214 *) as_qdir=$as_dir;;
6216 as_dirs="'$as_qdir' $as_dirs"
6217 as_dir=`$as_dirname -- "$as_dir" ||
6218 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6219 X"$as_dir" : 'X\(//\)[^/]' \| \
6220 X"$as_dir" : 'X\(//\)$' \| \
6221 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6240 test -d "$as_dir" && break
6242 test -z "$as_dirs" || eval "mkdir $as_dirs"
6243 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6244 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6245 { (exit 1); exit 1; }; }; }
6246 # echo "creating $dirpart/$file"
6247 echo '# dummy' > "$dirpart/$file"
6256 { (exit 0); exit 0; }
6258 chmod +x $CONFIG_STATUS
6259 ac_clean_files=$ac_clean_files_save
6262 # configure is writing to config.log, and then calls config.status.
6263 # config.status does its own redirection, appending to config.log.
6264 # Unfortunately, on DOS this fails, as config.log is still kept open
6265 # by configure, so config.status won't be able to write to it; its
6266 # output is simply discarded. So we exec the FD to /dev/null,
6267 # effectively closing config.log, so it can be properly (re)opened and
6268 # appended to by config.status. When coming back to configure, we
6269 # need to make the FD available again.
6270 if test "$no_create" != yes; then
6272 ac_config_status_args=
6273 test "$silent" = yes &&
6274 ac_config_status_args="$ac_config_status_args --quiet"
6276 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6278 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6279 # would make configure fail if this is the last instruction.
6280 $ac_cs_success || { (exit 1); exit 1; }