2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
22 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
24 BIN_SH=xpg4; export BIN_SH # for Tru64
25 DUALCASE=1; export DUALCASE # for MKS sh
29 # Avoid depending upon Character Ranges.
30 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33 as_cr_digits='0123456789'
34 as_cr_alnum=$as_cr_Letters$as_cr_digits
36 # The user is always right.
37 if test "${PATH_SEPARATOR+set}" != set; then
38 echo "#! /bin/sh" >conf$$.sh
39 echo "exit 0" >>conf$$.sh
41 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 # Support unset when possible.
50 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 # We need space, tab and new line, in precisely that order. Quoting is
59 # there to prevent editors from complaining about space-tab.
60 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
61 # splitting by setting IFS to empty value.)
66 # Find who we are. Look in the path if we contain no directory separator.
68 *[\\/]* ) as_myself=$0 ;;
69 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73 test -z "$as_dir" && as_dir=.
74 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
80 # We did not find ourselves, most probably we were run as `sh COMMAND'
81 # in which case we are not to be found in the path.
82 if test "x$as_myself" = x; then
85 if test ! -f "$as_myself"; then
86 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
90 # Work around bugs in pre-3.0 UWIN ksh.
91 for as_var in ENV MAIL MAILPATH
92 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
101 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
104 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
105 eval $as_var=C; export $as_var
107 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111 # Required to use basename.
112 if expr a : '\(a\)' >/dev/null 2>&1 &&
113 test "X`expr 00001 : '.*\(...\)'`" = X001; then
119 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 # Name of the executable.
127 as_me=`$as_basename -- "$0" ||
128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
129 X"$0" : 'X\(//\)$' \| \
130 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
132 sed '/^.*\/\([^/][^/]*\)\/*$/{
150 if test "x$CONFIG_SHELL" = x; then
151 if (eval ":") 2>/dev/null; then
157 if test $as_have_required = yes && (eval ":
167 as_func_ret_success () {
170 as_func_ret_failure () {
175 if as_func_success; then
179 echo as_func_success failed.
182 if as_func_failure; then
184 echo as_func_failure succeeded.
187 if as_func_ret_success; then
191 echo as_func_ret_success failed.
194 if as_func_ret_failure; then
196 echo as_func_ret_failure succeeded.
199 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 echo positional parameters were not saved.
206 test \$exitcode = 0) || { (exit 1); exit 1; }
211 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
212 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
213 ") 2> /dev/null; then
217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir=.
224 for as_base in sh bash ksh sh5; do
225 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 for as_shell in $as_candidate_shells $SHELL; do
233 # Try only shells that exist, to save several forks.
234 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
235 { ("$as_shell") 2> /dev/null <<\_ASEOF
236 # Be Bourne compatible
237 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
241 # is contrary to our usage. Disable this feature.
242 alias -g '${1+"$@"}'='"$@"'
245 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
247 BIN_SH=xpg4; export BIN_SH # for Tru64
248 DUALCASE=1; export DUALCASE # for MKS sh
253 CONFIG_SHELL=$as_shell
255 if { "$as_shell" 2> /dev/null <<\_ASEOF
256 # Be Bourne compatible
257 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
261 # is contrary to our usage. Disable this feature.
262 alias -g '${1+"$@"}'='"$@"'
265 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
267 BIN_SH=xpg4; export BIN_SH # for Tru64
268 DUALCASE=1; export DUALCASE # for MKS sh
280 as_func_ret_success () {
283 as_func_ret_failure () {
288 if as_func_success; then
292 echo as_func_success failed.
295 if as_func_failure; then
297 echo as_func_failure succeeded.
300 if as_func_ret_success; then
304 echo as_func_ret_success failed.
307 if as_func_ret_failure; then
309 echo as_func_ret_failure succeeded.
312 if ( set x; as_func_ret_success y && test x = "$1" ); then
316 echo positional parameters were not saved.
319 test $exitcode = 0) || { (exit 1); exit 1; }
324 test "x$as_lineno_1" != "x$as_lineno_2" &&
325 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
336 if test "x$CONFIG_SHELL" != x; then
337 for as_var in BASH_ENV ENV
338 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
341 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
345 if test $as_have_required = no; then
346 echo This script requires a shell more modern than all the
347 echo shells that I found on your system. Please install a
348 echo modern shell, or manually run the script under such a
349 echo shell if you do have one.
350 { (exit 1); exit 1; }
360 (eval "as_func_return () {
369 as_func_ret_success () {
372 as_func_ret_failure () {
377 if as_func_success; then
381 echo as_func_success failed.
384 if as_func_failure; then
386 echo as_func_failure succeeded.
389 if as_func_ret_success; then
393 echo as_func_ret_success failed.
396 if as_func_ret_failure; then
398 echo as_func_ret_failure succeeded.
401 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405 echo positional parameters were not saved.
408 test \$exitcode = 0") || {
409 echo No shell found that supports shell functions.
410 echo Please tell autoconf@gnu.org about your system,
411 echo including any error possibly output before this
419 test "x$as_lineno_1" != "x$as_lineno_2" &&
420 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
422 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
423 # uniformly replaced by the line number. The first 'sed' inserts a
424 # line-number line after each line using $LINENO; the second 'sed'
425 # does the real work. The second script uses 'N' to pair each
426 # line-number line with the line containing $LINENO, and appends
427 # trailing '-' during substitution so that $LINENO is not a special
429 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
430 # scripts with optimization help from Paolo Bonzini. Blame Lee
431 # E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x "$as_me.lineno" ||
448 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
449 { (exit 1); exit 1; }; }
451 # Don't try to exec as it changes $[0], causing all sort of problems
452 # (the dirname of $[0] is not the place where we might find the
453 # original and so on. Autoconf is especially sensitive to this).
455 # Exit status is that of the last command.
460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
466 ECHO_C= ECHO_N= ECHO_T=
470 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 if expr a : '\(a\)' >/dev/null 2>&1 &&
478 test "X`expr 00001 : '.*\(...\)'`" = X001; then
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
508 if mkdir -p . 2>/dev/null; then
511 test -d ./-p && rmdir ./-p
515 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
516 # systems may use methods other than mode bits to determine executability.
517 cat >conf$$.file <<_ASEOF
522 if test -x conf$$.file >/dev/null 2>&1; then
523 as_executable_p="test -x"
529 # Sed expression to map a string onto a valid CPP name.
530 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532 # Sed expression to map a string onto a valid variable name.
533 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 exec 7<&0 </dev/null 6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix=/usr/local
549 ac_config_libobj_dir=.
555 SHELL=${CONFIG_SHELL-/bin/sh}
557 # Identity of this package.
564 ac_unique_file="src/ctsim.cpp"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
569 # include <sys/types.h>
572 # include <sys/stat.h>
583 # if !STDC_HEADERS && HAVE_MEMORY_H
589 # include <strings.h>
592 # include <inttypes.h>
610 program_transform_name
639 MAINTAINER_MODE_FALSE
655 INSTALL_STRIP_PROGRAM
694 INCLUDED_GETOPT_LONG_TRUE
695 INCLUDED_GETOPT_LONG_FALSE
733 ac_precious_vars='build_alias
747 # Initialize some variables set by options.
749 ac_init_version=false
750 # The variables have the same names as the options, with
751 # dashes changed to underlines.
759 program_transform_name=s,x,x,
767 # Installation directory options.
768 # These are left unexpanded so users can "make install exec_prefix=/foo"
769 # and all the variables that are supposed to be based on exec_prefix
770 # by default will actually change.
771 # Use braces instead of parens because sh, perl, etc. also accept them.
772 # (The list follows the same order as the GNU Coding Standards.)
773 bindir='${exec_prefix}/bin'
774 sbindir='${exec_prefix}/sbin'
775 libexecdir='${exec_prefix}/libexec'
776 datarootdir='${prefix}/share'
777 datadir='${datarootdir}'
778 sysconfdir='${prefix}/etc'
779 sharedstatedir='${prefix}/com'
780 localstatedir='${prefix}/var'
781 includedir='${prefix}/include'
782 oldincludedir='/usr/include'
783 docdir='${datarootdir}/doc/${PACKAGE}'
784 infodir='${datarootdir}/info'
789 libdir='${exec_prefix}/lib'
790 localedir='${datarootdir}/locale'
791 mandir='${datarootdir}/man'
797 # If the previous option needs an argument, assign it.
798 if test -n "$ac_prev"; then
799 eval $ac_prev=\$ac_option
805 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
809 # Accept the important Cygnus configure options, so we can diagnose typos.
811 case $ac_dashdash$ac_option in
815 -bindir | --bindir | --bindi | --bind | --bin | --bi)
817 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
820 -build | --build | --buil | --bui | --bu)
821 ac_prev=build_alias ;;
822 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
823 build_alias=$ac_optarg ;;
825 -cache-file | --cache-file | --cache-fil | --cache-fi \
826 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
827 ac_prev=cache_file ;;
828 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
829 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
830 cache_file=$ac_optarg ;;
833 cache_file=config.cache ;;
835 -datadir | --datadir | --datadi | --datad)
837 -datadir=* | --datadir=* | --datadi=* | --datad=*)
838 datadir=$ac_optarg ;;
840 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
841 | --dataroo | --dataro | --datar)
842 ac_prev=datarootdir ;;
843 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
844 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
845 datarootdir=$ac_optarg ;;
847 -disable-* | --disable-*)
848 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
849 # Reject names that are not valid shell variable names.
850 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
851 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
852 { (exit 1); exit 1; }; }
853 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
854 eval enable_$ac_feature=no ;;
856 -docdir | --docdir | --docdi | --doc | --do)
858 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
861 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
863 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
866 -enable-* | --enable-*)
867 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
868 # Reject names that are not valid shell variable names.
869 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
870 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
871 { (exit 1); exit 1; }; }
872 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
873 eval enable_$ac_feature=\$ac_optarg ;;
875 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
876 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
877 | --exec | --exe | --ex)
878 ac_prev=exec_prefix ;;
879 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
880 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
881 | --exec=* | --exe=* | --ex=*)
882 exec_prefix=$ac_optarg ;;
884 -gas | --gas | --ga | --g)
885 # Obsolete; use --with-gas.
888 -help | --help | --hel | --he | -h)
890 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
891 ac_init_help=recursive ;;
892 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
893 ac_init_help=short ;;
895 -host | --host | --hos | --ho)
896 ac_prev=host_alias ;;
897 -host=* | --host=* | --hos=* | --ho=*)
898 host_alias=$ac_optarg ;;
900 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
902 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
904 htmldir=$ac_optarg ;;
906 -includedir | --includedir | --includedi | --included | --include \
907 | --includ | --inclu | --incl | --inc)
908 ac_prev=includedir ;;
909 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
910 | --includ=* | --inclu=* | --incl=* | --inc=*)
911 includedir=$ac_optarg ;;
913 -infodir | --infodir | --infodi | --infod | --info | --inf)
915 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
916 infodir=$ac_optarg ;;
918 -libdir | --libdir | --libdi | --libd)
920 -libdir=* | --libdir=* | --libdi=* | --libd=*)
923 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
924 | --libexe | --libex | --libe)
925 ac_prev=libexecdir ;;
926 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
927 | --libexe=* | --libex=* | --libe=*)
928 libexecdir=$ac_optarg ;;
930 -localedir | --localedir | --localedi | --localed | --locale)
932 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
933 localedir=$ac_optarg ;;
935 -localstatedir | --localstatedir | --localstatedi | --localstated \
936 | --localstate | --localstat | --localsta | --localst | --locals)
937 ac_prev=localstatedir ;;
938 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
939 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
940 localstatedir=$ac_optarg ;;
942 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
944 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
948 # Obsolete; use --without-fp.
951 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
952 | --no-cr | --no-c | -n)
955 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
956 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
959 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
960 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
961 | --oldin | --oldi | --old | --ol | --o)
962 ac_prev=oldincludedir ;;
963 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
964 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
965 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
966 oldincludedir=$ac_optarg ;;
968 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
970 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
973 -program-prefix | --program-prefix | --program-prefi | --program-pref \
974 | --program-pre | --program-pr | --program-p)
975 ac_prev=program_prefix ;;
976 -program-prefix=* | --program-prefix=* | --program-prefi=* \
977 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
978 program_prefix=$ac_optarg ;;
980 -program-suffix | --program-suffix | --program-suffi | --program-suff \
981 | --program-suf | --program-su | --program-s)
982 ac_prev=program_suffix ;;
983 -program-suffix=* | --program-suffix=* | --program-suffi=* \
984 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
985 program_suffix=$ac_optarg ;;
987 -program-transform-name | --program-transform-name \
988 | --program-transform-nam | --program-transform-na \
989 | --program-transform-n | --program-transform- \
990 | --program-transform | --program-transfor \
991 | --program-transfo | --program-transf \
992 | --program-trans | --program-tran \
993 | --progr-tra | --program-tr | --program-t)
994 ac_prev=program_transform_name ;;
995 -program-transform-name=* | --program-transform-name=* \
996 | --program-transform-nam=* | --program-transform-na=* \
997 | --program-transform-n=* | --program-transform-=* \
998 | --program-transform=* | --program-transfor=* \
999 | --program-transfo=* | --program-transf=* \
1000 | --program-trans=* | --program-tran=* \
1001 | --progr-tra=* | --program-tr=* | --program-t=*)
1002 program_transform_name=$ac_optarg ;;
1004 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1006 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1007 pdfdir=$ac_optarg ;;
1009 -psdir | --psdir | --psdi | --psd | --ps)
1011 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1014 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1015 | -silent | --silent | --silen | --sile | --sil)
1018 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1020 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1022 sbindir=$ac_optarg ;;
1024 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1025 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1026 | --sharedst | --shareds | --shared | --share | --shar \
1028 ac_prev=sharedstatedir ;;
1029 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1030 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1031 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1033 sharedstatedir=$ac_optarg ;;
1035 -site | --site | --sit)
1037 -site=* | --site=* | --sit=*)
1040 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1042 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1043 srcdir=$ac_optarg ;;
1045 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1046 | --syscon | --sysco | --sysc | --sys | --sy)
1047 ac_prev=sysconfdir ;;
1048 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1049 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1050 sysconfdir=$ac_optarg ;;
1052 -target | --target | --targe | --targ | --tar | --ta | --t)
1053 ac_prev=target_alias ;;
1054 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1055 target_alias=$ac_optarg ;;
1057 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1060 -version | --version | --versio | --versi | --vers | -V)
1061 ac_init_version=: ;;
1064 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1065 # Reject names that are not valid shell variable names.
1066 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1067 { echo "$as_me: error: invalid package name: $ac_package" >&2
1068 { (exit 1); exit 1; }; }
1069 ac_package=`echo $ac_package| sed 's/-/_/g'`
1070 eval with_$ac_package=\$ac_optarg ;;
1072 -without-* | --without-*)
1073 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1074 # Reject names that are not valid shell variable names.
1075 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1076 { echo "$as_me: error: invalid package name: $ac_package" >&2
1077 { (exit 1); exit 1; }; }
1078 ac_package=`echo $ac_package | sed 's/-/_/g'`
1079 eval with_$ac_package=no ;;
1082 # Obsolete; use --with-x.
1085 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1086 | --x-incl | --x-inc | --x-in | --x-i)
1087 ac_prev=x_includes ;;
1088 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1089 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1090 x_includes=$ac_optarg ;;
1092 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1093 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1094 ac_prev=x_libraries ;;
1095 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1096 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1097 x_libraries=$ac_optarg ;;
1099 -*) { echo "$as_me: error: unrecognized option: $ac_option
1100 Try \`$0 --help' for more information." >&2
1101 { (exit 1); exit 1; }; }
1105 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1106 # Reject names that are not valid shell variable names.
1107 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1108 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1109 { (exit 1); exit 1; }; }
1110 eval $ac_envvar=\$ac_optarg
1111 export $ac_envvar ;;
1114 # FIXME: should be removed in autoconf 3.0.
1115 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1116 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1117 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1118 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1124 if test -n "$ac_prev"; then
1125 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1126 { echo "$as_me: error: missing argument to $ac_option" >&2
1127 { (exit 1); exit 1; }; }
1130 # Be sure to have absolute directory names.
1131 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1132 datadir sysconfdir sharedstatedir localstatedir includedir \
1133 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1134 libdir localedir mandir
1136 eval ac_val=\$$ac_var
1138 [\\/$]* | ?:[\\/]* ) continue;;
1139 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1141 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1142 { (exit 1); exit 1; }; }
1145 # There might be people who depend on the old broken behavior: `$host'
1146 # used to hold the argument of --host etc.
1147 # FIXME: To remove some day.
1150 target=$target_alias
1152 # FIXME: To remove some day.
1153 if test "x$host_alias" != x; then
1154 if test "x$build_alias" = x; then
1155 cross_compiling=maybe
1156 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1157 If a cross compiler is detected then cross compile mode will be used." >&2
1158 elif test "x$build_alias" != "x$host_alias"; then
1164 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1166 test "$silent" = yes && exec 6>/dev/null
1169 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1170 ac_ls_di=`ls -di .` &&
1171 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1172 { echo "$as_me: error: Working directory cannot be determined" >&2
1173 { (exit 1); exit 1; }; }
1174 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1175 { echo "$as_me: error: pwd does not report name of working directory" >&2
1176 { (exit 1); exit 1; }; }
1179 # Find the source files, if location was not specified.
1180 if test -z "$srcdir"; then
1181 ac_srcdir_defaulted=yes
1182 # Try the directory containing this script, then the parent directory.
1183 ac_confdir=`$as_dirname -- "$0" ||
1184 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1185 X"$0" : 'X\(//\)[^/]' \| \
1186 X"$0" : 'X\(//\)$' \| \
1187 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1207 if test ! -r "$srcdir/$ac_unique_file"; then
1211 ac_srcdir_defaulted=no
1213 if test ! -r "$srcdir/$ac_unique_file"; then
1214 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1215 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1216 { (exit 1); exit 1; }; }
1218 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1220 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1221 { (exit 1); exit 1; }; }
1223 # When building in place, set srcdir=.
1224 if test "$ac_abs_confdir" = "$ac_pwd"; then
1227 # Remove unnecessary trailing slashes from srcdir.
1228 # Double slashes in file names in object file debugging info
1229 # mess up M-x gdb in Emacs.
1231 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1233 for ac_var in $ac_precious_vars; do
1234 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1235 eval ac_env_${ac_var}_value=\$${ac_var}
1236 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1237 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1241 # Report the --help message.
1243 if test "$ac_init_help" = "long"; then
1244 # Omit some internal or obsolete options to make the list less imposing.
1245 # This message is too long to be a string in the A/UX 3.1 sh.
1247 \`configure' configures this package to adapt to many kinds of systems.
1249 Usage: $0 [OPTION]... [VAR=VALUE]...
1251 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1252 VAR=VALUE. See below for descriptions of some of the useful variables.
1254 Defaults for the options are specified in brackets.
1257 -h, --help display this help and exit
1258 --help=short display options specific to this package
1259 --help=recursive display the short help of all the included packages
1260 -V, --version display version information and exit
1261 -q, --quiet, --silent do not print \`checking...' messages
1262 --cache-file=FILE cache test results in FILE [disabled]
1263 -C, --config-cache alias for \`--cache-file=config.cache'
1264 -n, --no-create do not create output files
1265 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1267 Installation directories:
1268 --prefix=PREFIX install architecture-independent files in PREFIX
1269 [$ac_default_prefix]
1270 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1273 By default, \`make install' will install all the files in
1274 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1275 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1276 for instance \`--prefix=\$HOME'.
1278 For better control, use the options below.
1280 Fine tuning of the installation directories:
1281 --bindir=DIR user executables [EPREFIX/bin]
1282 --sbindir=DIR system admin executables [EPREFIX/sbin]
1283 --libexecdir=DIR program executables [EPREFIX/libexec]
1284 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1285 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1286 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1287 --libdir=DIR object code libraries [EPREFIX/lib]
1288 --includedir=DIR C header files [PREFIX/include]
1289 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1290 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1291 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1292 --infodir=DIR info documentation [DATAROOTDIR/info]
1293 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1294 --mandir=DIR man documentation [DATAROOTDIR/man]
1295 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1296 --htmldir=DIR html documentation [DOCDIR]
1297 --dvidir=DIR dvi documentation [DOCDIR]
1298 --pdfdir=DIR pdf documentation [DOCDIR]
1299 --psdir=DIR ps documentation [DOCDIR]
1305 --program-prefix=PREFIX prepend PREFIX to installed program names
1306 --program-suffix=SUFFIX append SUFFIX to installed program names
1307 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1310 --x-includes=DIR X include files are in DIR
1311 --x-libraries=DIR X library files are in DIR
1314 --build=BUILD configure for building on BUILD [guessed]
1315 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1319 if test -n "$ac_init_help"; then
1324 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1325 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1326 --enable-maintainer-mode enable make rules and dependencies not useful
1327 (and sometimes confusing) to the casual installer
1328 --disable-dependency-tracking Speeds up one-time builds
1329 --enable-dependency-tracking Do not reject slow dependency extractors
1330 --enable-debug Turn on debugging
1331 --enable-verbose-warnings
1332 Enable verbose compiler warnings.
1334 Enable static executables.
1335 --enable-dmalloc Use dmalloc memory allocation
1336 --enable-efence Use ElectricFence memory allocation
1339 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1340 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1341 --with-lam=PATH Set path of LAM MPI
1342 --with-ctn=PATH Set path of CTN DICOM library
1343 --with-mcpu=CPU Set name of CPU for gcc -mcpu
1344 --with-cgibin-dir=PATH Set path of CGI binaries directory
1345 --with-cgibin-url=PATH Set URL path of CGI binaries
1346 --with-webdata-dir=PATH Set path of webdata
1347 --with-webdata-url=PATH Set URL path of webdata
1348 --with-html-dir=PATH Set directory of html files
1349 --with-x use the X Window System
1351 Some influential environment variables:
1352 CC C compiler command
1353 CFLAGS C compiler flags
1354 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1355 nonstandard directory <lib dir>
1356 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1357 you have headers in a nonstandard directory <include dir>
1358 CXX C++ compiler command
1359 CXXFLAGS C++ compiler flags
1361 XMKMF Path to xmkmf, Makefile generator for X Window System
1363 Use these variables to override the choices made by `configure' or to help
1364 it to find libraries and programs with nonstandard names/locations.
1370 if test "$ac_init_help" = "recursive"; then
1371 # If there are subdirs, report their specific --help.
1372 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1373 test -d "$ac_dir" || continue
1377 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1379 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1380 # A ".." for each directory in $ac_dir_suffix.
1381 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1382 case $ac_top_builddir_sub in
1383 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1384 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1387 ac_abs_top_builddir=$ac_pwd
1388 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1389 # for backward compatibility:
1390 ac_top_builddir=$ac_top_build_prefix
1393 .) # We are building in place.
1395 ac_top_srcdir=$ac_top_builddir_sub
1396 ac_abs_top_srcdir=$ac_pwd ;;
1397 [\\/]* | ?:[\\/]* ) # Absolute name.
1398 ac_srcdir=$srcdir$ac_dir_suffix;
1399 ac_top_srcdir=$srcdir
1400 ac_abs_top_srcdir=$srcdir ;;
1402 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1403 ac_top_srcdir=$ac_top_build_prefix$srcdir
1404 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1406 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1408 cd "$ac_dir" || { ac_status=$?; continue; }
1409 # Check for guested configure.
1410 if test -f "$ac_srcdir/configure.gnu"; then
1412 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1413 elif test -f "$ac_srcdir/configure"; then
1415 $SHELL "$ac_srcdir/configure" --help=recursive
1417 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1419 cd "$ac_pwd" || { ac_status=$?; break; }
1423 test -n "$ac_init_help" && exit $ac_status
1424 if $ac_init_version; then
1427 generated by GNU Autoconf 2.60
1429 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1430 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1431 This configure script is free software; the Free Software Foundation
1432 gives unlimited permission to copy, distribute and modify it.
1436 cat >config.log <<_ACEOF
1437 This file contains any messages produced by compilers while
1438 running configure, to aid debugging if configure makes a mistake.
1440 It was created by $as_me, which was
1441 generated by GNU Autoconf 2.60. Invocation command line was
1453 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1454 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1455 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1456 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1457 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1459 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1460 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1462 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1463 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1464 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1465 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1466 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1467 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1468 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1476 test -z "$as_dir" && as_dir=.
1477 echo "PATH: $as_dir"
1493 # Keep a trace of the command line.
1494 # Strip out --no-create and --no-recursion so they do not pile up.
1495 # Strip out --silent because we don't want to record it for future runs.
1496 # Also quote any args containing shell meta-characters.
1497 # Make two passes to allow for proper duplicate-argument suppression.
1501 ac_must_keep_next=false
1507 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1508 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1509 | -silent | --silent | --silen | --sile | --sil)
1512 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1515 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1517 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1518 if test $ac_must_keep_next = true; then
1519 ac_must_keep_next=false # Got value, back to normal.
1522 *=* | --config-cache | -C | -disable-* | --disable-* \
1523 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1524 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1525 | -with-* | --with-* | -without-* | --without-* | --x)
1526 case "$ac_configure_args0 " in
1527 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1530 -* ) ac_must_keep_next=true ;;
1533 ac_configure_args="$ac_configure_args '$ac_arg'"
1538 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1539 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1541 # When interrupted or exit'd, cleanup temporary files, and complete
1542 # config.log. We remove comments because anyway the quotes in there
1543 # would cause problems or look ugly.
1544 # WARNING: Use '\'' to represent an apostrophe within the trap.
1545 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1546 trap 'exit_status=$?
1547 # Save into config.log some information that might help in debugging.
1552 ## ---------------- ##
1553 ## Cache variables. ##
1554 ## ---------------- ##
1557 # The following way of writing the cache mishandles newlines in values,
1559 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1560 eval ac_val=\$$ac_var
1564 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1565 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1568 _ | IFS | as_nl) ;; #(
1569 *) $as_unset $ac_var ;;
1574 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1575 *${as_nl}ac_space=\ *)
1577 "s/'\''/'\''\\\\'\'''\''/g;
1578 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1581 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1589 ## ----------------- ##
1590 ## Output variables. ##
1591 ## ----------------- ##
1594 for ac_var in $ac_subst_vars
1596 eval ac_val=\$$ac_var
1598 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1600 echo "$ac_var='\''$ac_val'\''"
1604 if test -n "$ac_subst_files"; then
1606 ## ------------------- ##
1607 ## File substitutions. ##
1608 ## ------------------- ##
1611 for ac_var in $ac_subst_files
1613 eval ac_val=\$$ac_var
1615 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1617 echo "$ac_var='\''$ac_val'\''"
1622 if test -s confdefs.h; then
1632 test "$ac_signal" != 0 &&
1633 echo "$as_me: caught signal $ac_signal"
1634 echo "$as_me: exit $exit_status"
1636 rm -f core *.core core.conftest.* &&
1637 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1640 for ac_signal in 1 2 13 15; do
1641 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1645 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1646 rm -f -r conftest* confdefs.h
1648 # Predefined preprocessor variables.
1650 cat >>confdefs.h <<_ACEOF
1651 #define PACKAGE_NAME "$PACKAGE_NAME"
1655 cat >>confdefs.h <<_ACEOF
1656 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1660 cat >>confdefs.h <<_ACEOF
1661 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1665 cat >>confdefs.h <<_ACEOF
1666 #define PACKAGE_STRING "$PACKAGE_STRING"
1670 cat >>confdefs.h <<_ACEOF
1671 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1675 # Let the site file select an alternate cache file if it wants to.
1676 # Prefer explicitly selected file to automatically selected ones.
1677 if test -n "$CONFIG_SITE"; then
1678 set x "$CONFIG_SITE"
1679 elif test "x$prefix" != xNONE; then
1680 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1682 set x "$ac_default_prefix/share/config.site" \
1683 "$ac_default_prefix/etc/config.site"
1688 if test -r "$ac_site_file"; then
1689 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1690 echo "$as_me: loading site script $ac_site_file" >&6;}
1691 sed 's/^/| /' "$ac_site_file" >&5
1696 if test -r "$cache_file"; then
1697 # Some versions of bash will fail to source /dev/null (special
1698 # files actually), so we avoid doing that.
1699 if test -f "$cache_file"; then
1700 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1701 echo "$as_me: loading cache $cache_file" >&6;}
1703 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1704 *) . "./$cache_file";;
1708 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1709 echo "$as_me: creating cache $cache_file" >&6;}
1713 # Check that the precious variables saved in the cache have kept the same
1715 ac_cache_corrupted=false
1716 for ac_var in $ac_precious_vars; do
1717 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1718 eval ac_new_set=\$ac_env_${ac_var}_set
1719 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1720 eval ac_new_val=\$ac_env_${ac_var}_value
1721 case $ac_old_set,$ac_new_set in
1723 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1724 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1725 ac_cache_corrupted=: ;;
1727 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1728 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1729 ac_cache_corrupted=: ;;
1732 if test "x$ac_old_val" != "x$ac_new_val"; then
1733 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1734 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1735 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1736 echo "$as_me: former value: $ac_old_val" >&2;}
1737 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1738 echo "$as_me: current value: $ac_new_val" >&2;}
1739 ac_cache_corrupted=:
1742 # Pass precious variables to config.status.
1743 if test "$ac_new_set" = set; then
1745 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1746 *) ac_arg=$ac_var=$ac_new_val ;;
1748 case " $ac_configure_args " in
1749 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1750 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1754 if $ac_cache_corrupted; then
1755 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1756 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1757 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1758 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1759 { (exit 1); exit 1; }; }
1779 ac_cpp='$CPP $CPPFLAGS'
1780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1786 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1787 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
1788 # Check whether --enable-maintainer-mode was given.
1789 if test "${enable_maintainer_mode+set}" = set; then
1790 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1792 USE_MAINTAINER_MODE=no
1795 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1796 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
1799 if test $USE_MAINTAINER_MODE = yes; then
1800 MAINTAINER_MODE_TRUE=
1801 MAINTAINER_MODE_FALSE='#'
1803 MAINTAINER_MODE_TRUE='#'
1804 MAINTAINER_MODE_FALSE=
1807 MAINT=$MAINTAINER_MODE_TRUE
1810 am__api_version="1.7"
1812 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1813 if test -f "$ac_dir/install-sh"; then
1815 ac_install_sh="$ac_aux_dir/install-sh -c"
1817 elif test -f "$ac_dir/install.sh"; then
1819 ac_install_sh="$ac_aux_dir/install.sh -c"
1821 elif test -f "$ac_dir/shtool"; then
1823 ac_install_sh="$ac_aux_dir/shtool install -c"
1827 if test -z "$ac_aux_dir"; then
1828 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1829 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1830 { (exit 1); exit 1; }; }
1833 # These three variables are undocumented and unsupported,
1834 # and are intended to be withdrawn in a future Autoconf release.
1835 # They can cause serious problems if a builder's source tree is in a directory
1836 # whose full name contains unusual characters.
1837 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1838 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1839 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1842 # Find a good install program. We prefer a C program (faster),
1843 # so one script is as good as another. But avoid the broken or
1844 # incompatible versions:
1845 # SysV /etc/install, /usr/sbin/install
1846 # SunOS /usr/etc/install
1847 # IRIX /sbin/install
1849 # AmigaOS /C/install, which installs bootblocks on floppy discs
1850 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1851 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1852 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1853 # OS/2's system install, which has a completely different semantic
1854 # ./install, which can be erroneously created by make from ./install.sh.
1855 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1856 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1857 if test -z "$INSTALL"; then
1858 if test "${ac_cv_path_install+set}" = set; then
1859 echo $ECHO_N "(cached) $ECHO_C" >&6
1861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1865 test -z "$as_dir" && as_dir=.
1866 # Account for people who put trailing slashes in PATH elements.
1868 ./ | .// | /cC/* | \
1869 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1870 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1873 # OSF1 and SCO ODT 3.0 have their own names for install.
1874 # Don't use installbsd from OSF since it installs stuff as root
1876 for ac_prog in ginstall scoinst install; do
1877 for ac_exec_ext in '' $ac_executable_extensions; do
1878 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1879 if test $ac_prog = install &&
1880 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1881 # AIX install. It has an incompatible calling convention.
1883 elif test $ac_prog = install &&
1884 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1885 # program-specific install script used by HP pwplus--don't use.
1888 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1901 if test "${ac_cv_path_install+set}" = set; then
1902 INSTALL=$ac_cv_path_install
1904 # As a last resort, use the slow shell script. Don't cache a
1905 # value for INSTALL within a source directory, because that will
1906 # break other packages using the cache if that directory is
1907 # removed, or if the value is a relative name.
1908 INSTALL=$ac_install_sh
1911 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1912 echo "${ECHO_T}$INSTALL" >&6; }
1914 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1915 # It thinks the first close brace ends the variable substitution.
1916 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1918 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1920 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1922 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1923 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1926 echo timestamp > conftest.file
1927 # Do `set' in a subshell so we don't clobber the current shell's
1928 # arguments. Must try -L first in case configure is actually a
1929 # symlink; some systems play weird games with the mod time of symlinks
1930 # (eg FreeBSD returns the mod time of the symlink's containing
1933 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1934 if test "$*" = "X"; then
1936 set X `ls -t $srcdir/configure conftest.file`
1939 if test "$*" != "X $srcdir/configure conftest.file" \
1940 && test "$*" != "X conftest.file $srcdir/configure"; then
1942 # If neither matched, then we have a broken ls. This can happen
1943 # if, for instance, CONFIG_SHELL is bash and it inherits a
1944 # broken ls alias from the environment. This has actually
1945 # happened. Such a system could not be considered "sane".
1946 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1947 alias in your environment" >&5
1948 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1949 alias in your environment" >&2;}
1950 { (exit 1); exit 1; }; }
1953 test "$2" = conftest.file
1959 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1960 Check your system clock" >&5
1961 echo "$as_me: error: newly created file is older than distributed files!
1962 Check your system clock" >&2;}
1963 { (exit 1); exit 1; }; }
1965 { echo "$as_me:$LINENO: result: yes" >&5
1966 echo "${ECHO_T}yes" >&6; }
1967 test "$program_prefix" != NONE &&
1968 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1969 # Use a double $ so make ignores it.
1970 test "$program_suffix" != NONE &&
1971 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1972 # Double any \ or $. echo might interpret backslashes.
1973 # By default was `s,x,x', remove it if useless.
1974 cat <<\_ACEOF >conftest.sed
1975 s/[\\$]/&&/g;s/;s,x,x,$//
1977 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1981 # expand $ac_aux_dir to an absolute path
1982 am_aux_dir=`cd $ac_aux_dir && pwd`
1984 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1985 # Use eval to expand $SHELL
1986 if eval "$MISSING --run true"; then
1987 am_missing_run="$MISSING --run "
1990 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1991 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1994 for ac_prog in gawk mawk nawk awk
1996 # Extract the first word of "$ac_prog", so it can be a program name with args.
1997 set dummy $ac_prog; ac_word=$2
1998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2000 if test "${ac_cv_prog_AWK+set}" = set; then
2001 echo $ECHO_N "(cached) $ECHO_C" >&6
2003 if test -n "$AWK"; then
2004 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2010 test -z "$as_dir" && as_dir=.
2011 for ac_exec_ext in '' $ac_executable_extensions; do
2012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2013 ac_cv_prog_AWK="$ac_prog"
2014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2024 if test -n "$AWK"; then
2025 { echo "$as_me:$LINENO: result: $AWK" >&5
2026 echo "${ECHO_T}$AWK" >&6; }
2028 { echo "$as_me:$LINENO: result: no" >&5
2029 echo "${ECHO_T}no" >&6; }
2033 test -n "$AWK" && break
2036 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2037 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2038 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2039 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2040 echo $ECHO_N "(cached) $ECHO_C" >&6
2042 cat >conftest.make <<\_ACEOF
2045 @echo '@@@%%%=$(MAKE)=@@@%%%'
2047 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2048 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2050 eval ac_cv_prog_make_${ac_make}_set=yes;;
2052 eval ac_cv_prog_make_${ac_make}_set=no;;
2056 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2057 { echo "$as_me:$LINENO: result: yes" >&5
2058 echo "${ECHO_T}yes" >&6; }
2061 { echo "$as_me:$LINENO: result: no" >&5
2062 echo "${ECHO_T}no" >&6; }
2063 SET_MAKE="MAKE=${MAKE-make}"
2066 rm -rf .tst 2>/dev/null
2067 mkdir .tst 2>/dev/null
2068 if test -d .tst; then
2073 rmdir .tst 2>/dev/null
2075 # test to see if srcdir already configured
2076 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2077 test -f $srcdir/config.status; then
2078 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2079 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2080 { (exit 1); exit 1; }; }
2083 # test whether we have cygpath
2084 if test -z "$CYGPATH_W"; then
2085 if (cygpath --version) >/dev/null 2>/dev/null; then
2086 CYGPATH_W='cygpath -w'
2093 # Define the identity of the package.
2098 cat >>confdefs.h <<_ACEOF
2099 #define PACKAGE "$PACKAGE"
2103 cat >>confdefs.h <<_ACEOF
2104 #define VERSION "$VERSION"
2107 # Some tools Automake needs.
2109 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2112 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2115 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2118 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2121 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2124 AMTAR=${AMTAR-"${am_missing_run}tar"}
2126 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2128 # Installed binaries are usually stripped using `strip' when the user
2129 # run `make install-strip'. However `strip' might not be the right
2130 # tool to use in cross-compilation environments, therefore Automake
2131 # will honor the `STRIP' environment variable to overrule this program.
2132 if test "$cross_compiling" != no; then
2133 if test -n "$ac_tool_prefix"; then
2134 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2135 set dummy ${ac_tool_prefix}strip; ac_word=$2
2136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2138 if test "${ac_cv_prog_STRIP+set}" = set; then
2139 echo $ECHO_N "(cached) $ECHO_C" >&6
2141 if test -n "$STRIP"; then
2142 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2148 test -z "$as_dir" && as_dir=.
2149 for ac_exec_ext in '' $ac_executable_extensions; do
2150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2151 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 STRIP=$ac_cv_prog_STRIP
2162 if test -n "$STRIP"; then
2163 { echo "$as_me:$LINENO: result: $STRIP" >&5
2164 echo "${ECHO_T}$STRIP" >&6; }
2166 { echo "$as_me:$LINENO: result: no" >&5
2167 echo "${ECHO_T}no" >&6; }
2172 if test -z "$ac_cv_prog_STRIP"; then
2174 # Extract the first word of "strip", so it can be a program name with args.
2175 set dummy strip; ac_word=$2
2176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2178 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2179 echo $ECHO_N "(cached) $ECHO_C" >&6
2181 if test -n "$ac_ct_STRIP"; then
2182 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2188 test -z "$as_dir" && as_dir=.
2189 for ac_exec_ext in '' $ac_executable_extensions; do
2190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2191 ac_cv_prog_ac_ct_STRIP="strip"
2192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2201 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2202 if test -n "$ac_ct_STRIP"; then
2203 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2204 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2206 { echo "$as_me:$LINENO: result: no" >&5
2207 echo "${ECHO_T}no" >&6; }
2210 if test "x$ac_ct_STRIP" = x; then
2213 case $cross_compiling:$ac_tool_warned in
2215 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2216 whose name does not start with the host triplet. If you think this
2217 configuration is useful to you, please write to autoconf@gnu.org." >&5
2218 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2219 whose name does not start with the host triplet. If you think this
2220 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2221 ac_tool_warned=yes ;;
2226 STRIP="$ac_cv_prog_STRIP"
2230 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2232 # We need awk for the "check" target. The system "awk" is bad on
2237 ac_config_headers="$ac_config_headers config.h"
2240 for ac_prog in gawk mawk nawk awk
2242 # Extract the first word of "$ac_prog", so it can be a program name with args.
2243 set dummy $ac_prog; ac_word=$2
2244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2246 if test "${ac_cv_prog_AWK+set}" = set; then
2247 echo $ECHO_N "(cached) $ECHO_C" >&6
2249 if test -n "$AWK"; then
2250 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2256 test -z "$as_dir" && as_dir=.
2257 for ac_exec_ext in '' $ac_executable_extensions; do
2258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2259 ac_cv_prog_AWK="$ac_prog"
2260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2270 if test -n "$AWK"; then
2271 { echo "$as_me:$LINENO: result: $AWK" >&5
2272 echo "${ECHO_T}$AWK" >&6; }
2274 { echo "$as_me:$LINENO: result: no" >&5
2275 echo "${ECHO_T}no" >&6; }
2279 test -n "$AWK" && break
2282 # Find a good install program. We prefer a C program (faster),
2283 # so one script is as good as another. But avoid the broken or
2284 # incompatible versions:
2285 # SysV /etc/install, /usr/sbin/install
2286 # SunOS /usr/etc/install
2287 # IRIX /sbin/install
2289 # AmigaOS /C/install, which installs bootblocks on floppy discs
2290 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2291 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2292 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2293 # OS/2's system install, which has a completely different semantic
2294 # ./install, which can be erroneously created by make from ./install.sh.
2295 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2296 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2297 if test -z "$INSTALL"; then
2298 if test "${ac_cv_path_install+set}" = set; then
2299 echo $ECHO_N "(cached) $ECHO_C" >&6
2301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2305 test -z "$as_dir" && as_dir=.
2306 # Account for people who put trailing slashes in PATH elements.
2308 ./ | .// | /cC/* | \
2309 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2310 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2313 # OSF1 and SCO ODT 3.0 have their own names for install.
2314 # Don't use installbsd from OSF since it installs stuff as root
2316 for ac_prog in ginstall scoinst install; do
2317 for ac_exec_ext in '' $ac_executable_extensions; do
2318 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
2319 if test $ac_prog = install &&
2320 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2321 # AIX install. It has an incompatible calling convention.
2323 elif test $ac_prog = install &&
2324 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2325 # program-specific install script used by HP pwplus--don't use.
2328 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2341 if test "${ac_cv_path_install+set}" = set; then
2342 INSTALL=$ac_cv_path_install
2344 # As a last resort, use the slow shell script. Don't cache a
2345 # value for INSTALL within a source directory, because that will
2346 # break other packages using the cache if that directory is
2347 # removed, or if the value is a relative name.
2348 INSTALL=$ac_install_sh
2351 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2352 echo "${ECHO_T}$INSTALL" >&6; }
2354 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2355 # It thinks the first close brace ends the variable substitution.
2356 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2358 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2360 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2362 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2363 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2364 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2365 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2366 echo $ECHO_N "(cached) $ECHO_C" >&6
2368 cat >conftest.make <<\_ACEOF
2371 @echo '@@@%%%=$(MAKE)=@@@%%%'
2373 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2374 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2376 eval ac_cv_prog_make_${ac_make}_set=yes;;
2378 eval ac_cv_prog_make_${ac_make}_set=no;;
2382 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2383 { echo "$as_me:$LINENO: result: yes" >&5
2384 echo "${ECHO_T}yes" >&6; }
2387 { echo "$as_me:$LINENO: result: no" >&5
2388 echo "${ECHO_T}no" >&6; }
2389 SET_MAKE="MAKE=${MAKE-make}"
2392 if test -n "$ac_tool_prefix"; then
2393 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2394 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2397 if test "${ac_cv_prog_RANLIB+set}" = set; then
2398 echo $ECHO_N "(cached) $ECHO_C" >&6
2400 if test -n "$RANLIB"; then
2401 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2407 test -z "$as_dir" && as_dir=.
2408 for ac_exec_ext in '' $ac_executable_extensions; do
2409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2410 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2420 RANLIB=$ac_cv_prog_RANLIB
2421 if test -n "$RANLIB"; then
2422 { echo "$as_me:$LINENO: result: $RANLIB" >&5
2423 echo "${ECHO_T}$RANLIB" >&6; }
2425 { echo "$as_me:$LINENO: result: no" >&5
2426 echo "${ECHO_T}no" >&6; }
2431 if test -z "$ac_cv_prog_RANLIB"; then
2432 ac_ct_RANLIB=$RANLIB
2433 # Extract the first word of "ranlib", so it can be a program name with args.
2434 set dummy ranlib; ac_word=$2
2435 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2437 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2438 echo $ECHO_N "(cached) $ECHO_C" >&6
2440 if test -n "$ac_ct_RANLIB"; then
2441 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2447 test -z "$as_dir" && as_dir=.
2448 for ac_exec_ext in '' $ac_executable_extensions; do
2449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2450 ac_cv_prog_ac_ct_RANLIB="ranlib"
2451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2460 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2461 if test -n "$ac_ct_RANLIB"; then
2462 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2463 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2465 { echo "$as_me:$LINENO: result: no" >&5
2466 echo "${ECHO_T}no" >&6; }
2469 if test "x$ac_ct_RANLIB" = x; then
2472 case $cross_compiling:$ac_tool_warned in
2474 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2475 whose name does not start with the host triplet. If you think this
2476 configuration is useful to you, please write to autoconf@gnu.org." >&5
2477 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2478 whose name does not start with the host triplet. If you think this
2479 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2480 ac_tool_warned=yes ;;
2482 RANLIB=$ac_ct_RANLIB
2485 RANLIB="$ac_cv_prog_RANLIB"
2490 ac_cpp='$CPP $CPPFLAGS'
2491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2494 if test -n "$ac_tool_prefix"; then
2495 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2496 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2497 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2499 if test "${ac_cv_prog_CC+set}" = set; then
2500 echo $ECHO_N "(cached) $ECHO_C" >&6
2502 if test -n "$CC"; then
2503 ac_cv_prog_CC="$CC" # Let the user override the test.
2505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2509 test -z "$as_dir" && as_dir=.
2510 for ac_exec_ext in '' $ac_executable_extensions; do
2511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2512 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2523 if test -n "$CC"; then
2524 { echo "$as_me:$LINENO: result: $CC" >&5
2525 echo "${ECHO_T}$CC" >&6; }
2527 { echo "$as_me:$LINENO: result: no" >&5
2528 echo "${ECHO_T}no" >&6; }
2533 if test -z "$ac_cv_prog_CC"; then
2535 # Extract the first word of "gcc", so it can be a program name with args.
2536 set dummy gcc; ac_word=$2
2537 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2539 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2540 echo $ECHO_N "(cached) $ECHO_C" >&6
2542 if test -n "$ac_ct_CC"; then
2543 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2549 test -z "$as_dir" && as_dir=.
2550 for ac_exec_ext in '' $ac_executable_extensions; do
2551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2552 ac_cv_prog_ac_ct_CC="gcc"
2553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2562 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2563 if test -n "$ac_ct_CC"; then
2564 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2565 echo "${ECHO_T}$ac_ct_CC" >&6; }
2567 { echo "$as_me:$LINENO: result: no" >&5
2568 echo "${ECHO_T}no" >&6; }
2571 if test "x$ac_ct_CC" = x; then
2574 case $cross_compiling:$ac_tool_warned in
2576 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2577 whose name does not start with the host triplet. If you think this
2578 configuration is useful to you, please write to autoconf@gnu.org." >&5
2579 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2580 whose name does not start with the host triplet. If you think this
2581 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2582 ac_tool_warned=yes ;;
2590 if test -z "$CC"; then
2591 if test -n "$ac_tool_prefix"; then
2592 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2593 set dummy ${ac_tool_prefix}cc; ac_word=$2
2594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2596 if test "${ac_cv_prog_CC+set}" = set; then
2597 echo $ECHO_N "(cached) $ECHO_C" >&6
2599 if test -n "$CC"; then
2600 ac_cv_prog_CC="$CC" # Let the user override the test.
2602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2606 test -z "$as_dir" && as_dir=.
2607 for ac_exec_ext in '' $ac_executable_extensions; do
2608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2609 ac_cv_prog_CC="${ac_tool_prefix}cc"
2610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2620 if test -n "$CC"; then
2621 { echo "$as_me:$LINENO: result: $CC" >&5
2622 echo "${ECHO_T}$CC" >&6; }
2624 { echo "$as_me:$LINENO: result: no" >&5
2625 echo "${ECHO_T}no" >&6; }
2631 if test -z "$CC"; then
2632 # Extract the first word of "cc", so it can be a program name with args.
2633 set dummy cc; ac_word=$2
2634 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2636 if test "${ac_cv_prog_CC+set}" = set; then
2637 echo $ECHO_N "(cached) $ECHO_C" >&6
2639 if test -n "$CC"; then
2640 ac_cv_prog_CC="$CC" # Let the user override the test.
2643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2647 test -z "$as_dir" && as_dir=.
2648 for ac_exec_ext in '' $ac_executable_extensions; do
2649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2650 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2651 ac_prog_rejected=yes
2655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2662 if test $ac_prog_rejected = yes; then
2663 # We found a bogon in the path, so make sure we never use it.
2664 set dummy $ac_cv_prog_CC
2666 if test $# != 0; then
2667 # We chose a different compiler from the bogus one.
2668 # However, it has the same basename, so the bogon will be chosen
2669 # first if we set CC to just the basename; use the full file name.
2671 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2677 if test -n "$CC"; then
2678 { echo "$as_me:$LINENO: result: $CC" >&5
2679 echo "${ECHO_T}$CC" >&6; }
2681 { echo "$as_me:$LINENO: result: no" >&5
2682 echo "${ECHO_T}no" >&6; }
2687 if test -z "$CC"; then
2688 if test -n "$ac_tool_prefix"; then
2689 for ac_prog in cl.exe
2691 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2692 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2695 if test "${ac_cv_prog_CC+set}" = set; then
2696 echo $ECHO_N "(cached) $ECHO_C" >&6
2698 if test -n "$CC"; then
2699 ac_cv_prog_CC="$CC" # Let the user override the test.
2701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705 test -z "$as_dir" && as_dir=.
2706 for ac_exec_ext in '' $ac_executable_extensions; do
2707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2708 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2719 if test -n "$CC"; then
2720 { echo "$as_me:$LINENO: result: $CC" >&5
2721 echo "${ECHO_T}$CC" >&6; }
2723 { echo "$as_me:$LINENO: result: no" >&5
2724 echo "${ECHO_T}no" >&6; }
2728 test -n "$CC" && break
2731 if test -z "$CC"; then
2733 for ac_prog in cl.exe
2735 # Extract the first word of "$ac_prog", so it can be a program name with args.
2736 set dummy $ac_prog; ac_word=$2
2737 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2739 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2740 echo $ECHO_N "(cached) $ECHO_C" >&6
2742 if test -n "$ac_ct_CC"; then
2743 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749 test -z "$as_dir" && as_dir=.
2750 for ac_exec_ext in '' $ac_executable_extensions; do
2751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2752 ac_cv_prog_ac_ct_CC="$ac_prog"
2753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2762 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2763 if test -n "$ac_ct_CC"; then
2764 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2765 echo "${ECHO_T}$ac_ct_CC" >&6; }
2767 { echo "$as_me:$LINENO: result: no" >&5
2768 echo "${ECHO_T}no" >&6; }
2772 test -n "$ac_ct_CC" && break
2775 if test "x$ac_ct_CC" = x; then
2778 case $cross_compiling:$ac_tool_warned in
2780 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2781 whose name does not start with the host triplet. If you think this
2782 configuration is useful to you, please write to autoconf@gnu.org." >&5
2783 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2784 whose name does not start with the host triplet. If you think this
2785 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2786 ac_tool_warned=yes ;;
2795 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2796 See \`config.log' for more details." >&5
2797 echo "$as_me: error: no acceptable C compiler found in \$PATH
2798 See \`config.log' for more details." >&2;}
2799 { (exit 1); exit 1; }; }
2801 # Provide some information about the compiler.
2802 echo "$as_me:$LINENO: checking for C compiler version" >&5
2803 ac_compiler=`set X $ac_compile; echo $2`
2804 { (ac_try="$ac_compiler --version >&5"
2806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2810 (eval "$ac_compiler --version >&5") 2>&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); }
2814 { (ac_try="$ac_compiler -v >&5"
2816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2817 *) ac_try_echo=$ac_try;;
2819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2820 (eval "$ac_compiler -v >&5") 2>&5
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); }
2824 { (ac_try="$ac_compiler -V >&5"
2826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2827 *) ac_try_echo=$ac_try;;
2829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2830 (eval "$ac_compiler -V >&5") 2>&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); }
2835 cat >conftest.$ac_ext <<_ACEOF
2838 cat confdefs.h >>conftest.$ac_ext
2839 cat >>conftest.$ac_ext <<_ACEOF
2840 /* end confdefs.h. */
2850 ac_clean_files_save=$ac_clean_files
2851 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2852 # Try to create an executable without -o first, disregard a.out.
2853 # It will help us diagnose broken compilers, and finding out an intuition
2855 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2856 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2857 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2859 # List of possible output files, starting from the most likely.
2860 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2861 # only as a last resort. b.out is created by i960 compilers.
2862 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2864 # The IRIX 6 linker writes into existing files which may not be
2865 # executable, retaining their permissions. Remove them first so a
2866 # subsequent execution test works.
2868 for ac_file in $ac_files
2871 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2872 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2877 if { (ac_try="$ac_link_default"
2879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2880 *) ac_try_echo=$ac_try;;
2882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2883 (eval "$ac_link_default") 2>&5
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); }; then
2887 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2888 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2889 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2890 # so that the user can short-circuit this test for compilers unknown to
2892 for ac_file in $ac_files
2894 test -f "$ac_file" || continue
2896 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2899 # We found the default executable, but exeext='' is most
2903 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2905 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2907 # We set ac_cv_exeext here because the later test for it is not
2908 # safe: cross compilers may not add the suffix if given an `-o'
2909 # argument, so we may need to know it at that point already.
2910 # Even if this section looks crufty: it has the advantage of
2917 test "$ac_cv_exeext" = no && ac_cv_exeext=
2920 echo "$as_me: failed program was:" >&5
2921 sed 's/^/| /' conftest.$ac_ext >&5
2923 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2924 See \`config.log' for more details." >&5
2925 echo "$as_me: error: C compiler cannot create executables
2926 See \`config.log' for more details." >&2;}
2927 { (exit 77); exit 77; }; }
2930 ac_exeext=$ac_cv_exeext
2931 { echo "$as_me:$LINENO: result: $ac_file" >&5
2932 echo "${ECHO_T}$ac_file" >&6; }
2934 # Check that the compiler produces executables we can run. If not, either
2935 # the compiler is broken, or we cross compile.
2936 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2937 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2938 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2939 # If not cross compiling, check that we can run a simple program.
2940 if test "$cross_compiling" != yes; then
2941 if { ac_try='./$ac_file'
2942 { (case "(($ac_try" in
2943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2944 *) ac_try_echo=$ac_try;;
2946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2947 (eval "$ac_try") 2>&5
2949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2950 (exit $ac_status); }; }; then
2953 if test "$cross_compiling" = maybe; then
2956 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2957 If you meant to cross compile, use \`--host'.
2958 See \`config.log' for more details." >&5
2959 echo "$as_me: error: cannot run C compiled programs.
2960 If you meant to cross compile, use \`--host'.
2961 See \`config.log' for more details." >&2;}
2962 { (exit 1); exit 1; }; }
2966 { echo "$as_me:$LINENO: result: yes" >&5
2967 echo "${ECHO_T}yes" >&6; }
2969 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2970 ac_clean_files=$ac_clean_files_save
2971 # Check that the compiler produces executables we can run. If not, either
2972 # the compiler is broken, or we cross compile.
2973 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2974 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2975 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2976 echo "${ECHO_T}$cross_compiling" >&6; }
2978 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2979 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2980 if { (ac_try="$ac_link"
2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2986 (eval "$ac_link") 2>&5
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); }; then
2990 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2991 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2992 # work properly (i.e., refer to `conftest.exe'), while it won't with
2994 for ac_file in conftest.exe conftest conftest.*; do
2995 test -f "$ac_file" || continue
2997 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2998 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3004 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3005 See \`config.log' for more details." >&5
3006 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3007 See \`config.log' for more details." >&2;}
3008 { (exit 1); exit 1; }; }
3011 rm -f conftest$ac_cv_exeext
3012 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3013 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3015 rm -f conftest.$ac_ext
3016 EXEEXT=$ac_cv_exeext
3018 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3019 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3020 if test "${ac_cv_objext+set}" = set; then
3021 echo $ECHO_N "(cached) $ECHO_C" >&6
3023 cat >conftest.$ac_ext <<_ACEOF
3026 cat confdefs.h >>conftest.$ac_ext
3027 cat >>conftest.$ac_ext <<_ACEOF
3028 /* end confdefs.h. */
3038 rm -f conftest.o conftest.obj
3039 if { (ac_try="$ac_compile"
3041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3042 *) ac_try_echo=$ac_try;;
3044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3045 (eval "$ac_compile") 2>&5
3047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3048 (exit $ac_status); }; then
3049 for ac_file in conftest.o conftest.obj conftest.*; do
3050 test -f "$ac_file" || continue;
3052 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3053 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3058 echo "$as_me: failed program was:" >&5
3059 sed 's/^/| /' conftest.$ac_ext >&5
3061 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3062 See \`config.log' for more details." >&5
3063 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3064 See \`config.log' for more details." >&2;}
3065 { (exit 1); exit 1; }; }
3068 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3070 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3071 echo "${ECHO_T}$ac_cv_objext" >&6; }
3072 OBJEXT=$ac_cv_objext
3074 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3075 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3076 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3077 echo $ECHO_N "(cached) $ECHO_C" >&6
3079 cat >conftest.$ac_ext <<_ACEOF
3082 cat confdefs.h >>conftest.$ac_ext
3083 cat >>conftest.$ac_ext <<_ACEOF
3084 /* end confdefs.h. */
3097 rm -f conftest.$ac_objext
3098 if { (ac_try="$ac_compile"
3100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101 *) ac_try_echo=$ac_try;;
3103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3104 (eval "$ac_compile") 2>conftest.er1
3106 grep -v '^ *+' conftest.er1 >conftest.err
3108 cat conftest.err >&5
3109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3110 (exit $ac_status); } &&
3111 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3112 { (case "(($ac_try" in
3113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3114 *) ac_try_echo=$ac_try;;
3116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3117 (eval "$ac_try") 2>&5
3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120 (exit $ac_status); }; } &&
3121 { ac_try='test -s conftest.$ac_objext'
3122 { (case "(($ac_try" in
3123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3124 *) ac_try_echo=$ac_try;;
3126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3127 (eval "$ac_try") 2>&5
3129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130 (exit $ac_status); }; }; then
3133 echo "$as_me: failed program was:" >&5
3134 sed 's/^/| /' conftest.$ac_ext >&5
3139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3140 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3143 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3144 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3145 GCC=`test $ac_compiler_gnu = yes && echo yes`
3146 ac_test_CFLAGS=${CFLAGS+set}
3147 ac_save_CFLAGS=$CFLAGS
3148 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3149 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3150 if test "${ac_cv_prog_cc_g+set}" = set; then
3151 echo $ECHO_N "(cached) $ECHO_C" >&6
3153 ac_save_c_werror_flag=$ac_c_werror_flag
3154 ac_c_werror_flag=yes
3157 cat >conftest.$ac_ext <<_ACEOF
3160 cat confdefs.h >>conftest.$ac_ext
3161 cat >>conftest.$ac_ext <<_ACEOF
3162 /* end confdefs.h. */
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 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3187 { (case "(($ac_try" in
3188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3189 *) ac_try_echo=$ac_try;;
3191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3192 (eval "$ac_try") 2>&5
3194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3195 (exit $ac_status); }; } &&
3196 { ac_try='test -s conftest.$ac_objext'
3197 { (case "(($ac_try" in
3198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3199 *) ac_try_echo=$ac_try;;
3201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3202 (eval "$ac_try") 2>&5
3204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205 (exit $ac_status); }; }; then
3208 echo "$as_me: failed program was:" >&5
3209 sed 's/^/| /' conftest.$ac_ext >&5
3212 cat >conftest.$ac_ext <<_ACEOF
3215 cat confdefs.h >>conftest.$ac_ext
3216 cat >>conftest.$ac_ext <<_ACEOF
3217 /* end confdefs.h. */
3227 rm -f conftest.$ac_objext
3228 if { (ac_try="$ac_compile"
3230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3231 *) ac_try_echo=$ac_try;;
3233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3234 (eval "$ac_compile") 2>conftest.er1
3236 grep -v '^ *+' conftest.er1 >conftest.err
3238 cat conftest.err >&5
3239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3240 (exit $ac_status); } &&
3241 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3242 { (case "(($ac_try" in
3243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3244 *) ac_try_echo=$ac_try;;
3246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3247 (eval "$ac_try") 2>&5
3249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250 (exit $ac_status); }; } &&
3251 { ac_try='test -s conftest.$ac_objext'
3252 { (case "(($ac_try" in
3253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3254 *) ac_try_echo=$ac_try;;
3256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3257 (eval "$ac_try") 2>&5
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); }; }; then
3263 echo "$as_me: failed program was:" >&5
3264 sed 's/^/| /' conftest.$ac_ext >&5
3266 ac_c_werror_flag=$ac_save_c_werror_flag
3268 cat >conftest.$ac_ext <<_ACEOF
3271 cat confdefs.h >>conftest.$ac_ext
3272 cat >>conftest.$ac_ext <<_ACEOF
3273 /* end confdefs.h. */
3283 rm -f conftest.$ac_objext
3284 if { (ac_try="$ac_compile"
3286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3287 *) ac_try_echo=$ac_try;;
3289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3290 (eval "$ac_compile") 2>conftest.er1
3292 grep -v '^ *+' conftest.er1 >conftest.err
3294 cat conftest.err >&5
3295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296 (exit $ac_status); } &&
3297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3298 { (case "(($ac_try" in
3299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3300 *) ac_try_echo=$ac_try;;
3302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3303 (eval "$ac_try") 2>&5
3305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306 (exit $ac_status); }; } &&
3307 { ac_try='test -s conftest.$ac_objext'
3308 { (case "(($ac_try" in
3309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3310 *) ac_try_echo=$ac_try;;
3312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3313 (eval "$ac_try") 2>&5
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); }; }; then
3319 echo "$as_me: failed program was:" >&5
3320 sed 's/^/| /' conftest.$ac_ext >&5
3325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3332 ac_c_werror_flag=$ac_save_c_werror_flag
3334 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3335 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3336 if test "$ac_test_CFLAGS" = set; then
3337 CFLAGS=$ac_save_CFLAGS
3338 elif test $ac_cv_prog_cc_g = yes; then
3339 if test "$GCC" = yes; then
3345 if test "$GCC" = yes; then
3351 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3352 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3353 if test "${ac_cv_prog_cc_c89+set}" = set; then
3354 echo $ECHO_N "(cached) $ECHO_C" >&6
3356 ac_cv_prog_cc_c89=no
3358 cat >conftest.$ac_ext <<_ACEOF
3361 cat confdefs.h >>conftest.$ac_ext
3362 cat >>conftest.$ac_ext <<_ACEOF
3363 /* end confdefs.h. */
3366 #include <sys/types.h>
3367 #include <sys/stat.h>
3368 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3369 struct buf { int x; };
3370 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3371 static char *e (p, i)
3377 static char *f (char * (*g) (char **, int), char **p, ...)
3382 s = g (p, va_arg (v,int));
3387 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3388 function prototypes and stuff, but not '\xHH' hex character constants.
3389 These don't provoke an error unfortunately, instead are silently treated
3390 as 'x'. The following induces an error, until -std is added to get
3391 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3392 array size at least. It's necessary to write '\x00'==0 to get something
3393 that's true only with -std. */
3394 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3396 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3397 inside strings and character constants. */
3399 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3401 int test (int i, double x);
3402 struct s1 {int (*f) (int a);};
3403 struct s2 {int (*f) (double a);};
3404 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3410 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3415 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3416 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3418 CC="$ac_save_CC $ac_arg"
3419 rm -f conftest.$ac_objext
3420 if { (ac_try="$ac_compile"
3422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3423 *) ac_try_echo=$ac_try;;
3425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3426 (eval "$ac_compile") 2>conftest.er1
3428 grep -v '^ *+' conftest.er1 >conftest.err
3430 cat conftest.err >&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } &&
3433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3434 { (case "(($ac_try" in
3435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3436 *) ac_try_echo=$ac_try;;
3438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3439 (eval "$ac_try") 2>&5
3441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3442 (exit $ac_status); }; } &&
3443 { ac_try='test -s conftest.$ac_objext'
3444 { (case "(($ac_try" in
3445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3446 *) ac_try_echo=$ac_try;;
3448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3449 (eval "$ac_try") 2>&5
3451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3452 (exit $ac_status); }; }; then
3453 ac_cv_prog_cc_c89=$ac_arg
3455 echo "$as_me: failed program was:" >&5
3456 sed 's/^/| /' conftest.$ac_ext >&5
3461 rm -f core conftest.err conftest.$ac_objext
3462 test "x$ac_cv_prog_cc_c89" != "xno" && break
3464 rm -f conftest.$ac_ext
3469 case "x$ac_cv_prog_cc_c89" in
3471 { echo "$as_me:$LINENO: result: none needed" >&5
3472 echo "${ECHO_T}none needed" >&6; } ;;
3474 { echo "$as_me:$LINENO: result: unsupported" >&5
3475 echo "${ECHO_T}unsupported" >&6; } ;;
3477 CC="$CC $ac_cv_prog_cc_c89"
3478 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3479 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3484 ac_cpp='$CPP $CPPFLAGS'
3485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3488 DEPDIR="${am__leading_dot}deps"
3490 ac_config_commands="$ac_config_commands depfiles"
3493 am_make=${MAKE-make}
3494 cat > confinc << 'END'
3499 # If we don't find an include directive, just comment out the code.
3500 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3501 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3505 # First try GNU make style include.
3506 echo "include confinc" > confmf
3507 # We grep out `Entering directory' and `Leaving directory'
3508 # messages which can occur if `w' ends up in MAKEFLAGS.
3509 # In particular we don't look at `^make:' because GNU make might
3510 # be invoked under some other name (usually "gmake"), in which
3511 # case it prints its new name instead of `make'.
3512 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3517 # Now try BSD make style include.
3518 if test "$am__include" = "#"; then
3519 echo '.include "confinc"' > confmf
3520 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3521 am__include=.include
3528 { echo "$as_me:$LINENO: result: $_am_result" >&5
3529 echo "${ECHO_T}$_am_result" >&6; }
3530 rm -f confinc confmf
3532 # Check whether --enable-dependency-tracking was given.
3533 if test "${enable_dependency_tracking+set}" = set; then
3534 enableval=$enable_dependency_tracking;
3537 if test "x$enable_dependency_tracking" != xno; then
3538 am_depcomp="$ac_aux_dir/depcomp"
3543 if test "x$enable_dependency_tracking" != xno; then
3554 depcc="$CC" am_compiler_list=
3556 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3557 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3558 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3559 echo $ECHO_N "(cached) $ECHO_C" >&6
3561 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3562 # We make a subdir and do the tests there. Otherwise we can end up
3563 # making bogus files that we don't know about and never remove. For
3564 # instance it was reported that on HP-UX the gcc test will end up
3565 # making a dummy file named `D' -- because `-MD' means `put the output
3568 # Copy depcomp to subdir because otherwise we won't find it if we're
3569 # using a relative directory.
3570 cp "$am_depcomp" conftest.dir
3572 # We will build objects and dependencies in a subdirectory because
3573 # it helps to detect inapplicable dependency modes. For instance
3574 # both Tru64's cc and ICC support -MD to output dependencies as a
3575 # side effect of compilation, but ICC will put the dependencies in
3576 # the current directory while Tru64 will put them in the object
3580 am_cv_CC_dependencies_compiler_type=none
3581 if test "$am_compiler_list" = ""; then
3582 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3584 for depmode in $am_compiler_list; do
3585 # Setup a source with many dependencies, because some compilers
3586 # like to wrap large dependency lists on column 80 (with \), and
3587 # we should not choose a depcomp mode which is confused by this.
3589 # We need to recreate these files for each test, as the compiler may
3590 # overwrite some of them when testing with obscure command lines.
3591 # This happens at least with the AIX C compiler.
3593 for i in 1 2 3 4 5 6; do
3594 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3597 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3601 # after this tag, mechanisms are not by side-effect, so they'll
3602 # only be used when explicitly requested
3603 if test "x$enable_dependency_tracking" = xyes; then
3611 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3612 # mode. It turns out that the SunPro C++ compiler does not properly
3613 # handle `-M -o', and we need to detect this.
3614 if depmode=$depmode \
3615 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3616 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3617 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3618 >/dev/null 2>conftest.err &&
3619 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3620 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3621 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3622 # icc doesn't choke on unknown options, it will just issue warnings
3623 # (even with -Werror). So we grep stderr for any message
3624 # that says an option was ignored.
3625 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3626 am_cv_CC_dependencies_compiler_type=$depmode
3635 am_cv_CC_dependencies_compiler_type=none
3639 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3640 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3641 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3646 test "x$enable_dependency_tracking" != xno \
3647 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3649 am__fastdepCC_FALSE='#'
3651 am__fastdepCC_TRUE='#'
3652 am__fastdepCC_FALSE=
3657 ac_cpp='$CXXCPP $CPPFLAGS'
3658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3661 if test -z "$CXX"; then
3662 if test -n "$CCC"; then
3665 if test -n "$ac_tool_prefix"; then
3666 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3668 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3669 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3672 if test "${ac_cv_prog_CXX+set}" = set; then
3673 echo $ECHO_N "(cached) $ECHO_C" >&6
3675 if test -n "$CXX"; then
3676 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682 test -z "$as_dir" && as_dir=.
3683 for ac_exec_ext in '' $ac_executable_extensions; do
3684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3685 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3696 if test -n "$CXX"; then
3697 { echo "$as_me:$LINENO: result: $CXX" >&5
3698 echo "${ECHO_T}$CXX" >&6; }
3700 { echo "$as_me:$LINENO: result: no" >&5
3701 echo "${ECHO_T}no" >&6; }
3705 test -n "$CXX" && break
3708 if test -z "$CXX"; then
3710 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3712 # Extract the first word of "$ac_prog", so it can be a program name with args.
3713 set dummy $ac_prog; ac_word=$2
3714 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3716 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3717 echo $ECHO_N "(cached) $ECHO_C" >&6
3719 if test -n "$ac_ct_CXX"; then
3720 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3726 test -z "$as_dir" && as_dir=.
3727 for ac_exec_ext in '' $ac_executable_extensions; do
3728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3729 ac_cv_prog_ac_ct_CXX="$ac_prog"
3730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3739 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3740 if test -n "$ac_ct_CXX"; then
3741 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3742 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3744 { echo "$as_me:$LINENO: result: no" >&5
3745 echo "${ECHO_T}no" >&6; }
3749 test -n "$ac_ct_CXX" && break
3752 if test "x$ac_ct_CXX" = x; then
3755 case $cross_compiling:$ac_tool_warned in
3757 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3758 whose name does not start with the host triplet. If you think this
3759 configuration is useful to you, please write to autoconf@gnu.org." >&5
3760 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3761 whose name does not start with the host triplet. If you think this
3762 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3763 ac_tool_warned=yes ;;
3771 # Provide some information about the compiler.
3772 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3773 ac_compiler=`set X $ac_compile; echo $2`
3774 { (ac_try="$ac_compiler --version >&5"
3776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3777 *) ac_try_echo=$ac_try;;
3779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3780 (eval "$ac_compiler --version >&5") 2>&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); }
3784 { (ac_try="$ac_compiler -v >&5"
3786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3787 *) ac_try_echo=$ac_try;;
3789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3790 (eval "$ac_compiler -v >&5") 2>&5
3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 (exit $ac_status); }
3794 { (ac_try="$ac_compiler -V >&5"
3796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3797 *) ac_try_echo=$ac_try;;
3799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3800 (eval "$ac_compiler -V >&5") 2>&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); }
3805 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3806 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3807 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3808 echo $ECHO_N "(cached) $ECHO_C" >&6
3810 cat >conftest.$ac_ext <<_ACEOF
3813 cat confdefs.h >>conftest.$ac_ext
3814 cat >>conftest.$ac_ext <<_ACEOF
3815 /* end confdefs.h. */
3828 rm -f conftest.$ac_objext
3829 if { (ac_try="$ac_compile"
3831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3832 *) ac_try_echo=$ac_try;;
3834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3835 (eval "$ac_compile") 2>conftest.er1
3837 grep -v '^ *+' conftest.er1 >conftest.err
3839 cat conftest.err >&5
3840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3841 (exit $ac_status); } &&
3842 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3843 { (case "(($ac_try" in
3844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3845 *) ac_try_echo=$ac_try;;
3847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3848 (eval "$ac_try") 2>&5
3850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3851 (exit $ac_status); }; } &&
3852 { ac_try='test -s conftest.$ac_objext'
3853 { (case "(($ac_try" in
3854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3855 *) ac_try_echo=$ac_try;;
3857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3858 (eval "$ac_try") 2>&5
3860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861 (exit $ac_status); }; }; then
3864 echo "$as_me: failed program was:" >&5
3865 sed 's/^/| /' conftest.$ac_ext >&5
3870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3871 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3874 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3875 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3876 GXX=`test $ac_compiler_gnu = yes && echo yes`
3877 ac_test_CXXFLAGS=${CXXFLAGS+set}
3878 ac_save_CXXFLAGS=$CXXFLAGS
3879 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3880 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3881 if test "${ac_cv_prog_cxx_g+set}" = set; then
3882 echo $ECHO_N "(cached) $ECHO_C" >&6
3884 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3885 ac_cxx_werror_flag=yes
3888 cat >conftest.$ac_ext <<_ACEOF
3891 cat confdefs.h >>conftest.$ac_ext
3892 cat >>conftest.$ac_ext <<_ACEOF
3893 /* end confdefs.h. */
3903 rm -f conftest.$ac_objext
3904 if { (ac_try="$ac_compile"
3906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3907 *) ac_try_echo=$ac_try;;
3909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3910 (eval "$ac_compile") 2>conftest.er1
3912 grep -v '^ *+' conftest.er1 >conftest.err
3914 cat conftest.err >&5
3915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3916 (exit $ac_status); } &&
3917 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3918 { (case "(($ac_try" in
3919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3920 *) ac_try_echo=$ac_try;;
3922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3923 (eval "$ac_try") 2>&5
3925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926 (exit $ac_status); }; } &&
3927 { ac_try='test -s conftest.$ac_objext'
3928 { (case "(($ac_try" in
3929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3930 *) ac_try_echo=$ac_try;;
3932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3933 (eval "$ac_try") 2>&5
3935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3936 (exit $ac_status); }; }; then
3937 ac_cv_prog_cxx_g=yes
3939 echo "$as_me: failed program was:" >&5
3940 sed 's/^/| /' conftest.$ac_ext >&5
3943 cat >conftest.$ac_ext <<_ACEOF
3946 cat confdefs.h >>conftest.$ac_ext
3947 cat >>conftest.$ac_ext <<_ACEOF
3948 /* end confdefs.h. */
3958 rm -f conftest.$ac_objext
3959 if { (ac_try="$ac_compile"
3961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3962 *) ac_try_echo=$ac_try;;
3964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3965 (eval "$ac_compile") 2>conftest.er1
3967 grep -v '^ *+' conftest.er1 >conftest.err
3969 cat conftest.err >&5
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); } &&
3972 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3973 { (case "(($ac_try" in
3974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3975 *) ac_try_echo=$ac_try;;
3977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3978 (eval "$ac_try") 2>&5
3980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981 (exit $ac_status); }; } &&
3982 { ac_try='test -s conftest.$ac_objext'
3983 { (case "(($ac_try" in
3984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3985 *) ac_try_echo=$ac_try;;
3987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3988 (eval "$ac_try") 2>&5
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); }; }; then
3994 echo "$as_me: failed program was:" >&5
3995 sed 's/^/| /' conftest.$ac_ext >&5
3997 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3999 cat >conftest.$ac_ext <<_ACEOF
4002 cat confdefs.h >>conftest.$ac_ext
4003 cat >>conftest.$ac_ext <<_ACEOF
4004 /* end confdefs.h. */
4014 rm -f conftest.$ac_objext
4015 if { (ac_try="$ac_compile"
4017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4018 *) ac_try_echo=$ac_try;;
4020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4021 (eval "$ac_compile") 2>conftest.er1
4023 grep -v '^ *+' conftest.er1 >conftest.err
4025 cat conftest.err >&5
4026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4027 (exit $ac_status); } &&
4028 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4029 { (case "(($ac_try" in
4030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4031 *) ac_try_echo=$ac_try;;
4033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4034 (eval "$ac_try") 2>&5
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); }; } &&
4038 { ac_try='test -s conftest.$ac_objext'
4039 { (case "(($ac_try" in
4040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4041 *) ac_try_echo=$ac_try;;
4043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4044 (eval "$ac_try") 2>&5
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); }; }; then
4048 ac_cv_prog_cxx_g=yes
4050 echo "$as_me: failed program was:" >&5
4051 sed 's/^/| /' conftest.$ac_ext >&5
4056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4063 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4065 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4066 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4067 if test "$ac_test_CXXFLAGS" = set; then
4068 CXXFLAGS=$ac_save_CXXFLAGS
4069 elif test $ac_cv_prog_cxx_g = yes; then
4070 if test "$GXX" = yes; then
4076 if test "$GXX" = yes; then
4083 ac_cpp='$CPP $CPPFLAGS'
4084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4088 depcc="$CXX" am_compiler_list=
4090 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4091 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4092 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4093 echo $ECHO_N "(cached) $ECHO_C" >&6
4095 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4096 # We make a subdir and do the tests there. Otherwise we can end up
4097 # making bogus files that we don't know about and never remove. For
4098 # instance it was reported that on HP-UX the gcc test will end up
4099 # making a dummy file named `D' -- because `-MD' means `put the output
4102 # Copy depcomp to subdir because otherwise we won't find it if we're
4103 # using a relative directory.
4104 cp "$am_depcomp" conftest.dir
4106 # We will build objects and dependencies in a subdirectory because
4107 # it helps to detect inapplicable dependency modes. For instance
4108 # both Tru64's cc and ICC support -MD to output dependencies as a
4109 # side effect of compilation, but ICC will put the dependencies in
4110 # the current directory while Tru64 will put them in the object
4114 am_cv_CXX_dependencies_compiler_type=none
4115 if test "$am_compiler_list" = ""; then
4116 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4118 for depmode in $am_compiler_list; do
4119 # Setup a source with many dependencies, because some compilers
4120 # like to wrap large dependency lists on column 80 (with \), and
4121 # we should not choose a depcomp mode which is confused by this.
4123 # We need to recreate these files for each test, as the compiler may
4124 # overwrite some of them when testing with obscure command lines.
4125 # This happens at least with the AIX C compiler.
4127 for i in 1 2 3 4 5 6; do
4128 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4131 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4135 # after this tag, mechanisms are not by side-effect, so they'll
4136 # only be used when explicitly requested
4137 if test "x$enable_dependency_tracking" = xyes; then
4145 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4146 # mode. It turns out that the SunPro C++ compiler does not properly
4147 # handle `-M -o', and we need to detect this.
4148 if depmode=$depmode \
4149 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4150 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4151 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4152 >/dev/null 2>conftest.err &&
4153 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4154 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4155 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4156 # icc doesn't choke on unknown options, it will just issue warnings
4157 # (even with -Werror). So we grep stderr for any message
4158 # that says an option was ignored.
4159 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
4160 am_cv_CXX_dependencies_compiler_type=$depmode
4169 am_cv_CXX_dependencies_compiler_type=none
4173 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4174 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4175 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4180 test "x$enable_dependency_tracking" != xno \
4181 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4182 am__fastdepCXX_TRUE=
4183 am__fastdepCXX_FALSE='#'
4185 am__fastdepCXX_TRUE='#'
4186 am__fastdepCXX_FALSE=
4192 ac_cpp='$CPP $CPPFLAGS'
4193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4196 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4197 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4198 # On Suns, sometimes $CPP names a directory.
4199 if test -n "$CPP" && test -d "$CPP"; then
4202 if test -z "$CPP"; then
4203 if test "${ac_cv_prog_CPP+set}" = set; then
4204 echo $ECHO_N "(cached) $ECHO_C" >&6
4206 # Double quotes because CPP needs to be expanded
4207 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4210 for ac_c_preproc_warn_flag in '' yes
4212 # Use a header file that comes with gcc, so configuring glibc
4213 # with a fresh cross-compiler works.
4214 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4215 # <limits.h> exists even on freestanding compilers.
4216 # On the NeXT, cc -E runs the code through the compiler's parser,
4217 # not just through cpp. "Syntax error" is here to catch this case.
4218 cat >conftest.$ac_ext <<_ACEOF
4221 cat confdefs.h >>conftest.$ac_ext
4222 cat >>conftest.$ac_ext <<_ACEOF
4223 /* end confdefs.h. */
4225 # include <limits.h>
4227 # include <assert.h>
4231 if { (ac_try="$ac_cpp conftest.$ac_ext"
4233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4234 *) ac_try_echo=$ac_try;;
4236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4237 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4239 grep -v '^ *+' conftest.er1 >conftest.err
4241 cat conftest.err >&5
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); } >/dev/null; then
4244 if test -s conftest.err; then
4245 ac_cpp_err=$ac_c_preproc_warn_flag
4246 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4253 if test -z "$ac_cpp_err"; then
4256 echo "$as_me: failed program was:" >&5
4257 sed 's/^/| /' conftest.$ac_ext >&5
4259 # Broken: fails on valid input.
4263 rm -f conftest.err conftest.$ac_ext
4265 # OK, works on sane cases. Now check whether nonexistent headers
4266 # can be detected and how.
4267 cat >conftest.$ac_ext <<_ACEOF
4270 cat confdefs.h >>conftest.$ac_ext
4271 cat >>conftest.$ac_ext <<_ACEOF
4272 /* end confdefs.h. */
4273 #include <ac_nonexistent.h>
4275 if { (ac_try="$ac_cpp conftest.$ac_ext"
4277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4278 *) ac_try_echo=$ac_try;;
4280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4281 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4283 grep -v '^ *+' conftest.er1 >conftest.err
4285 cat conftest.err >&5
4286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4287 (exit $ac_status); } >/dev/null; then
4288 if test -s conftest.err; then
4289 ac_cpp_err=$ac_c_preproc_warn_flag
4290 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4297 if test -z "$ac_cpp_err"; then
4298 # Broken: success on invalid input.
4301 echo "$as_me: failed program was:" >&5
4302 sed 's/^/| /' conftest.$ac_ext >&5
4304 # Passes both tests.
4309 rm -f conftest.err conftest.$ac_ext
4312 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4313 rm -f conftest.err conftest.$ac_ext
4314 if $ac_preproc_ok; then
4326 { echo "$as_me:$LINENO: result: $CPP" >&5
4327 echo "${ECHO_T}$CPP" >&6; }
4329 for ac_c_preproc_warn_flag in '' yes
4331 # Use a header file that comes with gcc, so configuring glibc
4332 # with a fresh cross-compiler works.
4333 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4334 # <limits.h> exists even on freestanding compilers.
4335 # On the NeXT, cc -E runs the code through the compiler's parser,
4336 # not just through cpp. "Syntax error" is here to catch this case.
4337 cat >conftest.$ac_ext <<_ACEOF
4340 cat confdefs.h >>conftest.$ac_ext
4341 cat >>conftest.$ac_ext <<_ACEOF
4342 /* end confdefs.h. */
4344 # include <limits.h>
4346 # include <assert.h>
4350 if { (ac_try="$ac_cpp conftest.$ac_ext"
4352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4353 *) ac_try_echo=$ac_try;;
4355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4356 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4358 grep -v '^ *+' conftest.er1 >conftest.err
4360 cat conftest.err >&5
4361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362 (exit $ac_status); } >/dev/null; then
4363 if test -s conftest.err; then
4364 ac_cpp_err=$ac_c_preproc_warn_flag
4365 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4372 if test -z "$ac_cpp_err"; then
4375 echo "$as_me: failed program was:" >&5
4376 sed 's/^/| /' conftest.$ac_ext >&5
4378 # Broken: fails on valid input.
4382 rm -f conftest.err conftest.$ac_ext
4384 # OK, works on sane cases. Now check whether nonexistent headers
4385 # can be detected and how.
4386 cat >conftest.$ac_ext <<_ACEOF
4389 cat confdefs.h >>conftest.$ac_ext
4390 cat >>conftest.$ac_ext <<_ACEOF
4391 /* end confdefs.h. */
4392 #include <ac_nonexistent.h>
4394 if { (ac_try="$ac_cpp conftest.$ac_ext"
4396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4397 *) ac_try_echo=$ac_try;;
4399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4400 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4402 grep -v '^ *+' conftest.er1 >conftest.err
4404 cat conftest.err >&5
4405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4406 (exit $ac_status); } >/dev/null; then
4407 if test -s conftest.err; then
4408 ac_cpp_err=$ac_c_preproc_warn_flag
4409 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4416 if test -z "$ac_cpp_err"; then
4417 # Broken: success on invalid input.
4420 echo "$as_me: failed program was:" >&5
4421 sed 's/^/| /' conftest.$ac_ext >&5
4423 # Passes both tests.
4428 rm -f conftest.err conftest.$ac_ext
4431 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4432 rm -f conftest.err conftest.$ac_ext
4433 if $ac_preproc_ok; then
4436 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4437 See \`config.log' for more details." >&5
4438 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4439 See \`config.log' for more details." >&2;}
4440 { (exit 1); exit 1; }; }
4444 ac_cpp='$CPP $CPPFLAGS'
4445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4450 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4451 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4452 if test "${ac_cv_path_GREP+set}" = set; then
4453 echo $ECHO_N "(cached) $ECHO_C" >&6
4455 # Extract the first word of "grep ggrep" to use in msg output
4456 if test -z "$GREP"; then
4457 set dummy grep ggrep; ac_prog_name=$2
4458 if test "${ac_cv_path_GREP+set}" = set; then
4459 echo $ECHO_N "(cached) $ECHO_C" >&6
4461 ac_path_GREP_found=false
4462 # Loop through the user's path and test for each of PROGNAME-LIST
4463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4464 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4467 test -z "$as_dir" && as_dir=.
4468 for ac_prog in grep ggrep; do
4469 for ac_exec_ext in '' $ac_executable_extensions; do
4470 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4471 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
4472 # Check for GNU ac_path_GREP and select it if it is found.
4473 # Check for GNU $ac_path_GREP
4474 case `"$ac_path_GREP" --version 2>&1` in
4476 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4479 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4482 cat "conftest.in" "conftest.in" >"conftest.tmp"
4483 mv "conftest.tmp" "conftest.in"
4484 cp "conftest.in" "conftest.nl"
4485 echo 'GREP' >> "conftest.nl"
4486 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4487 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4488 ac_count=`expr $ac_count + 1`
4489 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4490 # Best one so far, save it but keep looking for a better one
4491 ac_cv_path_GREP="$ac_path_GREP"
4492 ac_path_GREP_max=$ac_count
4494 # 10*(2^10) chars as input seems more than enough
4495 test $ac_count -gt 10 && break
4497 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4501 $ac_path_GREP_found && break 3
4511 GREP="$ac_cv_path_GREP"
4512 if test -z "$GREP"; then
4513 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4514 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4515 { (exit 1); exit 1; }; }
4519 ac_cv_path_GREP=$GREP
4524 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4525 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4526 GREP="$ac_cv_path_GREP"
4529 { echo "$as_me:$LINENO: checking for egrep" >&5
4530 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4531 if test "${ac_cv_path_EGREP+set}" = set; then
4532 echo $ECHO_N "(cached) $ECHO_C" >&6
4534 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4535 then ac_cv_path_EGREP="$GREP -E"
4537 # Extract the first word of "egrep" to use in msg output
4538 if test -z "$EGREP"; then
4539 set dummy egrep; ac_prog_name=$2
4540 if test "${ac_cv_path_EGREP+set}" = set; then
4541 echo $ECHO_N "(cached) $ECHO_C" >&6
4543 ac_path_EGREP_found=false
4544 # Loop through the user's path and test for each of PROGNAME-LIST
4545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4546 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4549 test -z "$as_dir" && as_dir=.
4550 for ac_prog in egrep; do
4551 for ac_exec_ext in '' $ac_executable_extensions; do
4552 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4553 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
4554 # Check for GNU ac_path_EGREP and select it if it is found.
4555 # Check for GNU $ac_path_EGREP
4556 case `"$ac_path_EGREP" --version 2>&1` in
4558 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4561 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4564 cat "conftest.in" "conftest.in" >"conftest.tmp"
4565 mv "conftest.tmp" "conftest.in"
4566 cp "conftest.in" "conftest.nl"
4567 echo 'EGREP' >> "conftest.nl"
4568 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4569 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4570 ac_count=`expr $ac_count + 1`
4571 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4572 # Best one so far, save it but keep looking for a better one
4573 ac_cv_path_EGREP="$ac_path_EGREP"
4574 ac_path_EGREP_max=$ac_count
4576 # 10*(2^10) chars as input seems more than enough
4577 test $ac_count -gt 10 && break
4579 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4583 $ac_path_EGREP_found && break 3
4593 EGREP="$ac_cv_path_EGREP"
4594 if test -z "$EGREP"; then
4595 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4596 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4597 { (exit 1); exit 1; }; }
4601 ac_cv_path_EGREP=$EGREP
4607 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4608 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4609 EGREP="$ac_cv_path_EGREP"
4612 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4613 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4614 if test "${ac_cv_header_stdc+set}" = set; then
4615 echo $ECHO_N "(cached) $ECHO_C" >&6
4617 cat >conftest.$ac_ext <<_ACEOF
4620 cat confdefs.h >>conftest.$ac_ext
4621 cat >>conftest.$ac_ext <<_ACEOF
4622 /* end confdefs.h. */
4636 rm -f conftest.$ac_objext
4637 if { (ac_try="$ac_compile"
4639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4640 *) ac_try_echo=$ac_try;;
4642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4643 (eval "$ac_compile") 2>conftest.er1
4645 grep -v '^ *+' conftest.er1 >conftest.err
4647 cat conftest.err >&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); } &&
4650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4651 { (case "(($ac_try" in
4652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4653 *) ac_try_echo=$ac_try;;
4655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4656 (eval "$ac_try") 2>&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); }; } &&
4660 { ac_try='test -s conftest.$ac_objext'
4661 { (case "(($ac_try" in
4662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4663 *) ac_try_echo=$ac_try;;
4665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4666 (eval "$ac_try") 2>&5
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); }; }; then
4670 ac_cv_header_stdc=yes
4672 echo "$as_me: failed program was:" >&5
4673 sed 's/^/| /' conftest.$ac_ext >&5
4675 ac_cv_header_stdc=no
4678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4680 if test $ac_cv_header_stdc = yes; then
4681 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4682 cat >conftest.$ac_ext <<_ACEOF
4685 cat confdefs.h >>conftest.$ac_ext
4686 cat >>conftest.$ac_ext <<_ACEOF
4687 /* end confdefs.h. */
4691 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4692 $EGREP "memchr" >/dev/null 2>&1; then
4695 ac_cv_header_stdc=no
4701 if test $ac_cv_header_stdc = yes; then
4702 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4703 cat >conftest.$ac_ext <<_ACEOF
4706 cat confdefs.h >>conftest.$ac_ext
4707 cat >>conftest.$ac_ext <<_ACEOF
4708 /* end confdefs.h. */
4712 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4713 $EGREP "free" >/dev/null 2>&1; then
4716 ac_cv_header_stdc=no
4722 if test $ac_cv_header_stdc = yes; then
4723 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4724 if test "$cross_compiling" = yes; then
4727 cat >conftest.$ac_ext <<_ACEOF
4730 cat confdefs.h >>conftest.$ac_ext
4731 cat >>conftest.$ac_ext <<_ACEOF
4732 /* end confdefs.h. */
4735 #if ((' ' & 0x0FF) == 0x020)
4736 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4737 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4739 # define ISLOWER(c) \
4740 (('a' <= (c) && (c) <= 'i') \
4741 || ('j' <= (c) && (c) <= 'r') \
4742 || ('s' <= (c) && (c) <= 'z'))
4743 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4746 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4751 for (i = 0; i < 256; i++)
4752 if (XOR (islower (i), ISLOWER (i))
4753 || toupper (i) != TOUPPER (i))
4758 rm -f conftest$ac_exeext
4759 if { (ac_try="$ac_link"
4761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4762 *) ac_try_echo=$ac_try;;
4764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4765 (eval "$ac_link") 2>&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4769 { (case "(($ac_try" in
4770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4771 *) ac_try_echo=$ac_try;;
4773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4774 (eval "$ac_try") 2>&5
4776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4777 (exit $ac_status); }; }; then
4780 echo "$as_me: program exited with status $ac_status" >&5
4781 echo "$as_me: failed program was:" >&5
4782 sed 's/^/| /' conftest.$ac_ext >&5
4785 ac_cv_header_stdc=no
4787 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4793 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4794 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4795 if test $ac_cv_header_stdc = yes; then
4797 cat >>confdefs.h <<\_ACEOF
4798 #define STDC_HEADERS 1
4803 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4813 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4814 inttypes.h stdint.h unistd.h
4816 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4817 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4819 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4820 echo $ECHO_N "(cached) $ECHO_C" >&6
4822 cat >conftest.$ac_ext <<_ACEOF
4825 cat confdefs.h >>conftest.$ac_ext
4826 cat >>conftest.$ac_ext <<_ACEOF
4827 /* end confdefs.h. */
4828 $ac_includes_default
4830 #include <$ac_header>
4832 rm -f conftest.$ac_objext
4833 if { (ac_try="$ac_compile"
4835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4836 *) ac_try_echo=$ac_try;;
4838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4839 (eval "$ac_compile") 2>conftest.er1
4841 grep -v '^ *+' conftest.er1 >conftest.err
4843 cat conftest.err >&5
4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845 (exit $ac_status); } &&
4846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4847 { (case "(($ac_try" in
4848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4849 *) ac_try_echo=$ac_try;;
4851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4852 (eval "$ac_try") 2>&5
4854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4855 (exit $ac_status); }; } &&
4856 { ac_try='test -s conftest.$ac_objext'
4857 { (case "(($ac_try" in
4858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4859 *) ac_try_echo=$ac_try;;
4861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4862 (eval "$ac_try") 2>&5
4864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4865 (exit $ac_status); }; }; then
4866 eval "$as_ac_Header=yes"
4868 echo "$as_me: failed program was:" >&5
4869 sed 's/^/| /' conftest.$ac_ext >&5
4871 eval "$as_ac_Header=no"
4874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4876 ac_res=`eval echo '${'$as_ac_Header'}'`
4877 { echo "$as_me:$LINENO: result: $ac_res" >&5
4878 echo "${ECHO_T}$ac_res" >&6; }
4879 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4880 cat >>confdefs.h <<_ACEOF
4881 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4889 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4890 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4891 if test "${ac_cv_c_bigendian+set}" = set; then
4892 echo $ECHO_N "(cached) $ECHO_C" >&6
4894 # See if sys/param.h defines the BYTE_ORDER macro.
4895 cat >conftest.$ac_ext <<_ACEOF
4898 cat confdefs.h >>conftest.$ac_ext
4899 cat >>conftest.$ac_ext <<_ACEOF
4900 /* end confdefs.h. */
4901 #include <sys/types.h>
4902 #include <sys/param.h>
4907 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4915 rm -f conftest.$ac_objext
4916 if { (ac_try="$ac_compile"
4918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4919 *) ac_try_echo=$ac_try;;
4921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4922 (eval "$ac_compile") 2>conftest.er1
4924 grep -v '^ *+' conftest.er1 >conftest.err
4926 cat conftest.err >&5
4927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4928 (exit $ac_status); } &&
4929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4930 { (case "(($ac_try" in
4931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4932 *) ac_try_echo=$ac_try;;
4934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4935 (eval "$ac_try") 2>&5
4937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938 (exit $ac_status); }; } &&
4939 { ac_try='test -s conftest.$ac_objext'
4940 { (case "(($ac_try" in
4941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4942 *) ac_try_echo=$ac_try;;
4944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4945 (eval "$ac_try") 2>&5
4947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948 (exit $ac_status); }; }; then
4949 # It does; now see whether it defined to BIG_ENDIAN or not.
4950 cat >conftest.$ac_ext <<_ACEOF
4953 cat confdefs.h >>conftest.$ac_ext
4954 cat >>conftest.$ac_ext <<_ACEOF
4955 /* end confdefs.h. */
4956 #include <sys/types.h>
4957 #include <sys/param.h>
4962 #if BYTE_ORDER != BIG_ENDIAN
4970 rm -f conftest.$ac_objext
4971 if { (ac_try="$ac_compile"
4973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4974 *) ac_try_echo=$ac_try;;
4976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4977 (eval "$ac_compile") 2>conftest.er1
4979 grep -v '^ *+' conftest.er1 >conftest.err
4981 cat conftest.err >&5
4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983 (exit $ac_status); } &&
4984 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4985 { (case "(($ac_try" in
4986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4987 *) ac_try_echo=$ac_try;;
4989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4990 (eval "$ac_try") 2>&5
4992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993 (exit $ac_status); }; } &&
4994 { ac_try='test -s conftest.$ac_objext'
4995 { (case "(($ac_try" in
4996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4997 *) ac_try_echo=$ac_try;;
4999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5000 (eval "$ac_try") 2>&5
5002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5003 (exit $ac_status); }; }; then
5004 ac_cv_c_bigendian=yes
5006 echo "$as_me: failed program was:" >&5
5007 sed 's/^/| /' conftest.$ac_ext >&5
5009 ac_cv_c_bigendian=no
5012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5014 echo "$as_me: failed program was:" >&5
5015 sed 's/^/| /' conftest.$ac_ext >&5
5017 # It does not; compile a test program.
5018 if test "$cross_compiling" = yes; then
5019 # try to guess the endianness by grepping values into an object file
5020 ac_cv_c_bigendian=unknown
5021 cat >conftest.$ac_ext <<_ACEOF
5024 cat confdefs.h >>conftest.$ac_ext
5025 cat >>conftest.$ac_ext <<_ACEOF
5026 /* end confdefs.h. */
5027 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5028 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5029 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
5030 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5031 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5032 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
5036 _ascii (); _ebcdic ();
5041 rm -f conftest.$ac_objext
5042 if { (ac_try="$ac_compile"
5044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5045 *) ac_try_echo=$ac_try;;
5047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5048 (eval "$ac_compile") 2>conftest.er1
5050 grep -v '^ *+' conftest.er1 >conftest.err
5052 cat conftest.err >&5
5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); } &&
5055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5056 { (case "(($ac_try" in
5057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5058 *) ac_try_echo=$ac_try;;
5060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5061 (eval "$ac_try") 2>&5
5063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064 (exit $ac_status); }; } &&
5065 { ac_try='test -s conftest.$ac_objext'
5066 { (case "(($ac_try" in
5067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5068 *) ac_try_echo=$ac_try;;
5070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5071 (eval "$ac_try") 2>&5
5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5074 (exit $ac_status); }; }; then
5075 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
5076 ac_cv_c_bigendian=yes
5078 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5079 if test "$ac_cv_c_bigendian" = unknown; then
5080 ac_cv_c_bigendian=no
5082 # finding both strings is unlikely to happen, but who knows?
5083 ac_cv_c_bigendian=unknown
5087 echo "$as_me: failed program was:" >&5
5088 sed 's/^/| /' conftest.$ac_ext >&5
5093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5095 cat >conftest.$ac_ext <<_ACEOF
5098 cat confdefs.h >>conftest.$ac_ext
5099 cat >>conftest.$ac_ext <<_ACEOF
5100 /* end confdefs.h. */
5101 $ac_includes_default
5106 /* Are we little or big endian? From Harbison&Steele. */
5110 char c[sizeof (long int)];
5113 return u.c[sizeof (long int) - 1] == 1;
5119 rm -f conftest$ac_exeext
5120 if { (ac_try="$ac_link"
5122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5123 *) ac_try_echo=$ac_try;;
5125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5126 (eval "$ac_link") 2>&5
5128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5129 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5130 { (case "(($ac_try" in
5131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5132 *) ac_try_echo=$ac_try;;
5134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5135 (eval "$ac_try") 2>&5
5137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5138 (exit $ac_status); }; }; then
5139 ac_cv_c_bigendian=no
5141 echo "$as_me: program exited with status $ac_status" >&5
5142 echo "$as_me: failed program was:" >&5
5143 sed 's/^/| /' conftest.$ac_ext >&5
5146 ac_cv_c_bigendian=yes
5148 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5156 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5157 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
5158 case $ac_cv_c_bigendian in
5161 cat >>confdefs.h <<\_ACEOF
5162 #define WORDS_BIGENDIAN 1
5168 { { echo "$as_me:$LINENO: error: unknown endianness
5169 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5170 echo "$as_me: error: unknown endianness
5171 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5172 { (exit 1); exit 1; }; } ;;
5176 # Extract the first word of "wxgtk-2.4-config", so it can be a program name with args.
5177 set dummy wxgtk-2.4-config; ac_word=$2
5178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5180 if test "${ac_cv_path_wxconfig+set}" = set; then
5181 echo $ECHO_N "(cached) $ECHO_C" >&6
5185 ac_cv_path_wxconfig="$wxconfig" # Let the user override the test with a path.
5188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5192 test -z "$as_dir" && as_dir=.
5193 for ac_exec_ext in '' $ac_executable_extensions; do
5194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5195 ac_cv_path_wxconfig="$as_dir/$ac_word$ac_exec_ext"
5196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5206 wxconfig=$ac_cv_path_wxconfig
5207 if test -n "$wxconfig"; then
5208 { echo "$as_me:$LINENO: result: $wxconfig" >&5
5209 echo "${ECHO_T}$wxconfig" >&6; }
5211 { echo "$as_me:$LINENO: result: no" >&5
5212 echo "${ECHO_T}no" >&6; }
5216 if ! "$wxconfig" ; then
5217 # Extract the first word of "wx-config", so it can be a program name with args.
5218 set dummy wx-config; ac_word=$2
5219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5221 if test "${ac_cv_path_wxconfig+set}" = set; then
5222 echo $ECHO_N "(cached) $ECHO_C" >&6
5226 ac_cv_path_wxconfig="$wxconfig" # Let the user override the test with a path.
5229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5233 test -z "$as_dir" && as_dir=.
5234 for ac_exec_ext in '' $ac_executable_extensions; do
5235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5236 ac_cv_path_wxconfig="$as_dir/$ac_word$ac_exec_ext"
5237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5247 wxconfig=$ac_cv_path_wxconfig
5248 if test -n "$wxconfig"; then
5249 { echo "$as_me:$LINENO: result: $wxconfig" >&5
5250 echo "${ECHO_T}$wxconfig" >&6; }
5252 { echo "$as_me:$LINENO: result: no" >&5
5253 echo "${ECHO_T}no" >&6; }
5259 # Make sure we can run config.sub.
5260 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5261 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5262 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5263 { (exit 1); exit 1; }; }
5265 { echo "$as_me:$LINENO: checking build system type" >&5
5266 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
5267 if test "${ac_cv_build+set}" = set; then
5268 echo $ECHO_N "(cached) $ECHO_C" >&6
5270 ac_build_alias=$build_alias
5271 test "x$ac_build_alias" = x &&
5272 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5273 test "x$ac_build_alias" = x &&
5274 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5275 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5276 { (exit 1); exit 1; }; }
5277 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5278 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5279 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5280 { (exit 1); exit 1; }; }
5283 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5284 echo "${ECHO_T}$ac_cv_build" >&6; }
5285 case $ac_cv_build in
5287 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5288 echo "$as_me: error: invalid value of canonical build" >&2;}
5289 { (exit 1); exit 1; }; };;
5292 ac_save_IFS=$IFS; IFS='-'
5298 # Remember, the first character of IFS is used to create $*,
5299 # except with old shells:
5302 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5305 { echo "$as_me:$LINENO: checking host system type" >&5
5306 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
5307 if test "${ac_cv_host+set}" = set; then
5308 echo $ECHO_N "(cached) $ECHO_C" >&6
5310 if test "x$host_alias" = x; then
5311 ac_cv_host=$ac_cv_build
5313 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5314 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5315 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5316 { (exit 1); exit 1; }; }
5320 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5321 echo "${ECHO_T}$ac_cv_host" >&6; }
5324 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5325 echo "$as_me: error: invalid value of canonical host" >&2;}
5326 { (exit 1); exit 1; }; };;
5329 ac_save_IFS=$IFS; IFS='-'
5335 # Remember, the first character of IFS is used to create $*,
5336 # except with old shells:
5339 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5342 { echo "$as_me:$LINENO: checking for inline" >&5
5343 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
5344 if test "${ac_cv_c_inline+set}" = set; then
5345 echo $ECHO_N "(cached) $ECHO_C" >&6
5348 for ac_kw in inline __inline__ __inline; do
5349 cat >conftest.$ac_ext <<_ACEOF
5352 cat confdefs.h >>conftest.$ac_ext
5353 cat >>conftest.$ac_ext <<_ACEOF
5354 /* end confdefs.h. */
5357 static $ac_kw foo_t static_foo () {return 0; }
5358 $ac_kw foo_t foo () {return 0; }
5362 rm -f conftest.$ac_objext
5363 if { (ac_try="$ac_compile"
5365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5366 *) ac_try_echo=$ac_try;;
5368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5369 (eval "$ac_compile") 2>conftest.er1
5371 grep -v '^ *+' conftest.er1 >conftest.err
5373 cat conftest.err >&5
5374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5375 (exit $ac_status); } &&
5376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5377 { (case "(($ac_try" in
5378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5379 *) ac_try_echo=$ac_try;;
5381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5382 (eval "$ac_try") 2>&5
5384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5385 (exit $ac_status); }; } &&
5386 { ac_try='test -s conftest.$ac_objext'
5387 { (case "(($ac_try" in
5388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5389 *) ac_try_echo=$ac_try;;
5391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5392 (eval "$ac_try") 2>&5
5394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5395 (exit $ac_status); }; }; then
5396 ac_cv_c_inline=$ac_kw
5398 echo "$as_me: failed program was:" >&5
5399 sed 's/^/| /' conftest.$ac_ext >&5
5404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5405 test "$ac_cv_c_inline" != no && break
5409 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5410 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
5413 case $ac_cv_c_inline in
5416 case $ac_cv_c_inline in
5418 *) ac_val=$ac_cv_c_inline;;
5420 cat >>confdefs.h <<_ACEOF
5422 #define inline $ac_val
5428 { echo "$as_me:$LINENO: checking for short" >&5
5429 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
5430 if test "${ac_cv_type_short+set}" = set; then
5431 echo $ECHO_N "(cached) $ECHO_C" >&6
5433 cat >conftest.$ac_ext <<_ACEOF
5436 cat confdefs.h >>conftest.$ac_ext
5437 cat >>conftest.$ac_ext <<_ACEOF
5438 /* end confdefs.h. */
5439 $ac_includes_default
5440 typedef short ac__type_new_;
5444 if ((ac__type_new_ *) 0)
5446 if (sizeof (ac__type_new_))
5452 rm -f conftest.$ac_objext
5453 if { (ac_try="$ac_compile"
5455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5456 *) ac_try_echo=$ac_try;;
5458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5459 (eval "$ac_compile") 2>conftest.er1
5461 grep -v '^ *+' conftest.er1 >conftest.err
5463 cat conftest.err >&5
5464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5465 (exit $ac_status); } &&
5466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5467 { (case "(($ac_try" in
5468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5469 *) ac_try_echo=$ac_try;;
5471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5472 (eval "$ac_try") 2>&5
5474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475 (exit $ac_status); }; } &&
5476 { ac_try='test -s conftest.$ac_objext'
5477 { (case "(($ac_try" in
5478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5479 *) ac_try_echo=$ac_try;;
5481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5482 (eval "$ac_try") 2>&5
5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5485 (exit $ac_status); }; }; then
5486 ac_cv_type_short=yes
5488 echo "$as_me: failed program was:" >&5
5489 sed 's/^/| /' conftest.$ac_ext >&5
5494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5496 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
5497 echo "${ECHO_T}$ac_cv_type_short" >&6; }
5499 { echo "$as_me:$LINENO: checking size of short" >&5
5500 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
5501 if test "${ac_cv_sizeof_short+set}" = set; then
5502 echo $ECHO_N "(cached) $ECHO_C" >&6
5504 if test "$ac_cv_type_short" = yes; then
5505 # The cast to long int works around a bug in the HP C Compiler
5506 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5507 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5508 # This bug is HP SR number 8606223364.
5509 if test "$cross_compiling" = yes; then
5510 # Depending upon the size, compute the lo and hi bounds.
5511 cat >conftest.$ac_ext <<_ACEOF
5514 cat confdefs.h >>conftest.$ac_ext
5515 cat >>conftest.$ac_ext <<_ACEOF
5516 /* end confdefs.h. */
5517 $ac_includes_default
5518 typedef short ac__type_sizeof_;
5522 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5529 rm -f conftest.$ac_objext
5530 if { (ac_try="$ac_compile"
5532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5533 *) ac_try_echo=$ac_try;;
5535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5536 (eval "$ac_compile") 2>conftest.er1
5538 grep -v '^ *+' conftest.er1 >conftest.err
5540 cat conftest.err >&5
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); } &&
5543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5544 { (case "(($ac_try" in
5545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5546 *) ac_try_echo=$ac_try;;
5548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5549 (eval "$ac_try") 2>&5
5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552 (exit $ac_status); }; } &&
5553 { ac_try='test -s conftest.$ac_objext'
5554 { (case "(($ac_try" in
5555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5556 *) ac_try_echo=$ac_try;;
5558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5559 (eval "$ac_try") 2>&5
5561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5562 (exit $ac_status); }; }; then
5565 cat >conftest.$ac_ext <<_ACEOF
5568 cat confdefs.h >>conftest.$ac_ext
5569 cat >>conftest.$ac_ext <<_ACEOF
5570 /* end confdefs.h. */
5571 $ac_includes_default
5572 typedef short ac__type_sizeof_;
5576 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5583 rm -f conftest.$ac_objext
5584 if { (ac_try="$ac_compile"
5586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5587 *) ac_try_echo=$ac_try;;
5589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5590 (eval "$ac_compile") 2>conftest.er1
5592 grep -v '^ *+' conftest.er1 >conftest.err
5594 cat conftest.err >&5
5595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5596 (exit $ac_status); } &&
5597 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5598 { (case "(($ac_try" in
5599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5600 *) ac_try_echo=$ac_try;;
5602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5603 (eval "$ac_try") 2>&5
5605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606 (exit $ac_status); }; } &&
5607 { ac_try='test -s conftest.$ac_objext'
5608 { (case "(($ac_try" in
5609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5610 *) ac_try_echo=$ac_try;;
5612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5613 (eval "$ac_try") 2>&5
5615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5616 (exit $ac_status); }; }; then
5617 ac_hi=$ac_mid; break
5619 echo "$as_me: failed program was:" >&5
5620 sed 's/^/| /' conftest.$ac_ext >&5
5622 ac_lo=`expr $ac_mid + 1`
5623 if test $ac_lo -le $ac_mid; then
5627 ac_mid=`expr 2 '*' $ac_mid + 1`
5630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5633 echo "$as_me: failed program was:" >&5
5634 sed 's/^/| /' conftest.$ac_ext >&5
5636 cat >conftest.$ac_ext <<_ACEOF
5639 cat confdefs.h >>conftest.$ac_ext
5640 cat >>conftest.$ac_ext <<_ACEOF
5641 /* end confdefs.h. */
5642 $ac_includes_default
5643 typedef short ac__type_sizeof_;
5647 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5654 rm -f conftest.$ac_objext
5655 if { (ac_try="$ac_compile"
5657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5658 *) ac_try_echo=$ac_try;;
5660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5661 (eval "$ac_compile") 2>conftest.er1
5663 grep -v '^ *+' conftest.er1 >conftest.err
5665 cat conftest.err >&5
5666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667 (exit $ac_status); } &&
5668 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5669 { (case "(($ac_try" in
5670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5671 *) ac_try_echo=$ac_try;;
5673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5674 (eval "$ac_try") 2>&5
5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677 (exit $ac_status); }; } &&
5678 { ac_try='test -s conftest.$ac_objext'
5679 { (case "(($ac_try" in
5680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5681 *) ac_try_echo=$ac_try;;
5683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5684 (eval "$ac_try") 2>&5
5686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5687 (exit $ac_status); }; }; then
5690 cat >conftest.$ac_ext <<_ACEOF
5693 cat confdefs.h >>conftest.$ac_ext
5694 cat >>conftest.$ac_ext <<_ACEOF
5695 /* end confdefs.h. */
5696 $ac_includes_default
5697 typedef short ac__type_sizeof_;
5701 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5708 rm -f conftest.$ac_objext
5709 if { (ac_try="$ac_compile"
5711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5712 *) ac_try_echo=$ac_try;;
5714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5715 (eval "$ac_compile") 2>conftest.er1
5717 grep -v '^ *+' conftest.er1 >conftest.err
5719 cat conftest.err >&5
5720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5721 (exit $ac_status); } &&
5722 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5723 { (case "(($ac_try" in
5724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5725 *) ac_try_echo=$ac_try;;
5727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5728 (eval "$ac_try") 2>&5
5730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5731 (exit $ac_status); }; } &&
5732 { ac_try='test -s conftest.$ac_objext'
5733 { (case "(($ac_try" in
5734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5735 *) ac_try_echo=$ac_try;;
5737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5738 (eval "$ac_try") 2>&5
5740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741 (exit $ac_status); }; }; then
5742 ac_lo=$ac_mid; break
5744 echo "$as_me: failed program was:" >&5
5745 sed 's/^/| /' conftest.$ac_ext >&5
5747 ac_hi=`expr '(' $ac_mid ')' - 1`
5748 if test $ac_mid -le $ac_hi; then
5752 ac_mid=`expr 2 '*' $ac_mid`
5755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5758 echo "$as_me: failed program was:" >&5
5759 sed 's/^/| /' conftest.$ac_ext >&5
5764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5768 # Binary search between lo and hi bounds.
5769 while test "x$ac_lo" != "x$ac_hi"; do
5770 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5771 cat >conftest.$ac_ext <<_ACEOF
5774 cat confdefs.h >>conftest.$ac_ext
5775 cat >>conftest.$ac_ext <<_ACEOF
5776 /* end confdefs.h. */
5777 $ac_includes_default
5778 typedef short ac__type_sizeof_;
5782 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5789 rm -f conftest.$ac_objext
5790 if { (ac_try="$ac_compile"
5792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5793 *) ac_try_echo=$ac_try;;
5795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5796 (eval "$ac_compile") 2>conftest.er1
5798 grep -v '^ *+' conftest.er1 >conftest.err
5800 cat conftest.err >&5
5801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5802 (exit $ac_status); } &&
5803 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5804 { (case "(($ac_try" in
5805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5806 *) ac_try_echo=$ac_try;;
5808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5809 (eval "$ac_try") 2>&5
5811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812 (exit $ac_status); }; } &&
5813 { ac_try='test -s conftest.$ac_objext'
5814 { (case "(($ac_try" in
5815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5816 *) ac_try_echo=$ac_try;;
5818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5819 (eval "$ac_try") 2>&5
5821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5822 (exit $ac_status); }; }; then
5825 echo "$as_me: failed program was:" >&5
5826 sed 's/^/| /' conftest.$ac_ext >&5
5828 ac_lo=`expr '(' $ac_mid ')' + 1`
5831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5834 ?*) ac_cv_sizeof_short=$ac_lo;;
5835 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
5836 See \`config.log' for more details." >&5
5837 echo "$as_me: error: cannot compute sizeof (short)
5838 See \`config.log' for more details." >&2;}
5839 { (exit 77); exit 77; }; } ;;
5842 cat >conftest.$ac_ext <<_ACEOF
5845 cat confdefs.h >>conftest.$ac_ext
5846 cat >>conftest.$ac_ext <<_ACEOF
5847 /* end confdefs.h. */
5848 $ac_includes_default
5849 typedef short ac__type_sizeof_;
5850 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5851 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5858 FILE *f = fopen ("conftest.val", "w");
5861 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5863 long int i = longval ();
5864 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5866 fprintf (f, "%ld\n", i);
5870 unsigned long int i = ulongval ();
5871 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5873 fprintf (f, "%lu\n", i);
5875 return ferror (f) || fclose (f) != 0;
5881 rm -f conftest$ac_exeext
5882 if { (ac_try="$ac_link"
5884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5885 *) ac_try_echo=$ac_try;;
5887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5888 (eval "$ac_link") 2>&5
5890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5891 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5892 { (case "(($ac_try" in
5893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5894 *) ac_try_echo=$ac_try;;
5896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5897 (eval "$ac_try") 2>&5
5899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5900 (exit $ac_status); }; }; then
5901 ac_cv_sizeof_short=`cat conftest.val`
5903 echo "$as_me: program exited with status $ac_status" >&5
5904 echo "$as_me: failed program was:" >&5
5905 sed 's/^/| /' conftest.$ac_ext >&5
5908 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
5909 See \`config.log' for more details." >&5
5910 echo "$as_me: error: cannot compute sizeof (short)
5911 See \`config.log' for more details." >&2;}
5912 { (exit 77); exit 77; }; }
5914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5918 ac_cv_sizeof_short=0
5921 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
5922 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
5923 cat >>confdefs.h <<_ACEOF
5924 #define SIZEOF_SHORT $ac_cv_sizeof_short
5928 { echo "$as_me:$LINENO: checking for int" >&5
5929 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
5930 if test "${ac_cv_type_int+set}" = set; then
5931 echo $ECHO_N "(cached) $ECHO_C" >&6
5933 cat >conftest.$ac_ext <<_ACEOF
5936 cat confdefs.h >>conftest.$ac_ext
5937 cat >>conftest.$ac_ext <<_ACEOF
5938 /* end confdefs.h. */
5939 $ac_includes_default
5940 typedef int ac__type_new_;
5944 if ((ac__type_new_ *) 0)
5946 if (sizeof (ac__type_new_))
5952 rm -f conftest.$ac_objext
5953 if { (ac_try="$ac_compile"
5955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5956 *) ac_try_echo=$ac_try;;
5958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5959 (eval "$ac_compile") 2>conftest.er1
5961 grep -v '^ *+' conftest.er1 >conftest.err
5963 cat conftest.err >&5
5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 (exit $ac_status); } &&
5966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5967 { (case "(($ac_try" in
5968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5969 *) ac_try_echo=$ac_try;;
5971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5972 (eval "$ac_try") 2>&5
5974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5975 (exit $ac_status); }; } &&
5976 { ac_try='test -s conftest.$ac_objext'
5977 { (case "(($ac_try" in
5978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5979 *) ac_try_echo=$ac_try;;
5981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5982 (eval "$ac_try") 2>&5
5984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5985 (exit $ac_status); }; }; then
5988 echo "$as_me: failed program was:" >&5
5989 sed 's/^/| /' conftest.$ac_ext >&5
5994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5996 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
5997 echo "${ECHO_T}$ac_cv_type_int" >&6; }
5999 { echo "$as_me:$LINENO: checking size of int" >&5
6000 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
6001 if test "${ac_cv_sizeof_int+set}" = set; then
6002 echo $ECHO_N "(cached) $ECHO_C" >&6
6004 if test "$ac_cv_type_int" = yes; then
6005 # The cast to long int works around a bug in the HP C Compiler
6006 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6007 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6008 # This bug is HP SR number 8606223364.
6009 if test "$cross_compiling" = yes; then
6010 # Depending upon the size, compute the lo and hi bounds.
6011 cat >conftest.$ac_ext <<_ACEOF
6014 cat confdefs.h >>conftest.$ac_ext
6015 cat >>conftest.$ac_ext <<_ACEOF
6016 /* end confdefs.h. */
6017 $ac_includes_default
6018 typedef int ac__type_sizeof_;
6022 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6029 rm -f conftest.$ac_objext
6030 if { (ac_try="$ac_compile"
6032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6033 *) ac_try_echo=$ac_try;;
6035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6036 (eval "$ac_compile") 2>conftest.er1
6038 grep -v '^ *+' conftest.er1 >conftest.err
6040 cat conftest.err >&5
6041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6042 (exit $ac_status); } &&
6043 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6044 { (case "(($ac_try" in
6045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6046 *) ac_try_echo=$ac_try;;
6048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6049 (eval "$ac_try") 2>&5
6051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6052 (exit $ac_status); }; } &&
6053 { ac_try='test -s conftest.$ac_objext'
6054 { (case "(($ac_try" in
6055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6056 *) ac_try_echo=$ac_try;;
6058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6059 (eval "$ac_try") 2>&5
6061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6062 (exit $ac_status); }; }; then
6065 cat >conftest.$ac_ext <<_ACEOF
6068 cat confdefs.h >>conftest.$ac_ext
6069 cat >>conftest.$ac_ext <<_ACEOF
6070 /* end confdefs.h. */
6071 $ac_includes_default
6072 typedef int ac__type_sizeof_;
6076 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6083 rm -f conftest.$ac_objext
6084 if { (ac_try="$ac_compile"
6086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6087 *) ac_try_echo=$ac_try;;
6089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6090 (eval "$ac_compile") 2>conftest.er1
6092 grep -v '^ *+' conftest.er1 >conftest.err
6094 cat conftest.err >&5
6095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6096 (exit $ac_status); } &&
6097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6098 { (case "(($ac_try" in
6099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6100 *) ac_try_echo=$ac_try;;
6102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6103 (eval "$ac_try") 2>&5
6105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6106 (exit $ac_status); }; } &&
6107 { ac_try='test -s conftest.$ac_objext'
6108 { (case "(($ac_try" in
6109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6110 *) ac_try_echo=$ac_try;;
6112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6113 (eval "$ac_try") 2>&5
6115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116 (exit $ac_status); }; }; then
6117 ac_hi=$ac_mid; break
6119 echo "$as_me: failed program was:" >&5
6120 sed 's/^/| /' conftest.$ac_ext >&5
6122 ac_lo=`expr $ac_mid + 1`
6123 if test $ac_lo -le $ac_mid; then
6127 ac_mid=`expr 2 '*' $ac_mid + 1`
6130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6133 echo "$as_me: failed program was:" >&5
6134 sed 's/^/| /' conftest.$ac_ext >&5
6136 cat >conftest.$ac_ext <<_ACEOF
6139 cat confdefs.h >>conftest.$ac_ext
6140 cat >>conftest.$ac_ext <<_ACEOF
6141 /* end confdefs.h. */
6142 $ac_includes_default
6143 typedef int ac__type_sizeof_;
6147 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6154 rm -f conftest.$ac_objext
6155 if { (ac_try="$ac_compile"
6157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6158 *) ac_try_echo=$ac_try;;
6160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6161 (eval "$ac_compile") 2>conftest.er1
6163 grep -v '^ *+' conftest.er1 >conftest.err
6165 cat conftest.err >&5
6166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167 (exit $ac_status); } &&
6168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6169 { (case "(($ac_try" in
6170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6171 *) ac_try_echo=$ac_try;;
6173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6174 (eval "$ac_try") 2>&5
6176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177 (exit $ac_status); }; } &&
6178 { ac_try='test -s conftest.$ac_objext'
6179 { (case "(($ac_try" in
6180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6181 *) ac_try_echo=$ac_try;;
6183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6184 (eval "$ac_try") 2>&5
6186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6187 (exit $ac_status); }; }; then
6190 cat >conftest.$ac_ext <<_ACEOF
6193 cat confdefs.h >>conftest.$ac_ext
6194 cat >>conftest.$ac_ext <<_ACEOF
6195 /* end confdefs.h. */
6196 $ac_includes_default
6197 typedef int ac__type_sizeof_;
6201 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
6208 rm -f conftest.$ac_objext
6209 if { (ac_try="$ac_compile"
6211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6212 *) ac_try_echo=$ac_try;;
6214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6215 (eval "$ac_compile") 2>conftest.er1
6217 grep -v '^ *+' conftest.er1 >conftest.err
6219 cat conftest.err >&5
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); } &&
6222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6223 { (case "(($ac_try" in
6224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6225 *) ac_try_echo=$ac_try;;
6227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6228 (eval "$ac_try") 2>&5
6230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6231 (exit $ac_status); }; } &&
6232 { ac_try='test -s conftest.$ac_objext'
6233 { (case "(($ac_try" in
6234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6235 *) ac_try_echo=$ac_try;;
6237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6238 (eval "$ac_try") 2>&5
6240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6241 (exit $ac_status); }; }; then
6242 ac_lo=$ac_mid; break
6244 echo "$as_me: failed program was:" >&5
6245 sed 's/^/| /' conftest.$ac_ext >&5
6247 ac_hi=`expr '(' $ac_mid ')' - 1`
6248 if test $ac_mid -le $ac_hi; then
6252 ac_mid=`expr 2 '*' $ac_mid`
6255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6258 echo "$as_me: failed program was:" >&5
6259 sed 's/^/| /' conftest.$ac_ext >&5
6264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6268 # Binary search between lo and hi bounds.
6269 while test "x$ac_lo" != "x$ac_hi"; do
6270 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6271 cat >conftest.$ac_ext <<_ACEOF
6274 cat confdefs.h >>conftest.$ac_ext
6275 cat >>conftest.$ac_ext <<_ACEOF
6276 /* end confdefs.h. */
6277 $ac_includes_default
6278 typedef int ac__type_sizeof_;
6282 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6289 rm -f conftest.$ac_objext
6290 if { (ac_try="$ac_compile"
6292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6293 *) ac_try_echo=$ac_try;;
6295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6296 (eval "$ac_compile") 2>conftest.er1
6298 grep -v '^ *+' conftest.er1 >conftest.err
6300 cat conftest.err >&5
6301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6302 (exit $ac_status); } &&
6303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6304 { (case "(($ac_try" in
6305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6306 *) ac_try_echo=$ac_try;;
6308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6309 (eval "$ac_try") 2>&5
6311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312 (exit $ac_status); }; } &&
6313 { ac_try='test -s conftest.$ac_objext'
6314 { (case "(($ac_try" in
6315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6316 *) ac_try_echo=$ac_try;;
6318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6319 (eval "$ac_try") 2>&5
6321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6322 (exit $ac_status); }; }; then
6325 echo "$as_me: failed program was:" >&5
6326 sed 's/^/| /' conftest.$ac_ext >&5
6328 ac_lo=`expr '(' $ac_mid ')' + 1`
6331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6334 ?*) ac_cv_sizeof_int=$ac_lo;;
6335 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
6336 See \`config.log' for more details." >&5
6337 echo "$as_me: error: cannot compute sizeof (int)
6338 See \`config.log' for more details." >&2;}
6339 { (exit 77); exit 77; }; } ;;
6342 cat >conftest.$ac_ext <<_ACEOF
6345 cat confdefs.h >>conftest.$ac_ext
6346 cat >>conftest.$ac_ext <<_ACEOF
6347 /* end confdefs.h. */
6348 $ac_includes_default
6349 typedef int ac__type_sizeof_;
6350 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6351 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
6358 FILE *f = fopen ("conftest.val", "w");
6361 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
6363 long int i = longval ();
6364 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6366 fprintf (f, "%ld\n", i);
6370 unsigned long int i = ulongval ();
6371 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6373 fprintf (f, "%lu\n", i);
6375 return ferror (f) || fclose (f) != 0;
6381 rm -f conftest$ac_exeext
6382 if { (ac_try="$ac_link"
6384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6385 *) ac_try_echo=$ac_try;;
6387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6388 (eval "$ac_link") 2>&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6392 { (case "(($ac_try" in
6393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6394 *) ac_try_echo=$ac_try;;
6396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6397 (eval "$ac_try") 2>&5
6399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400 (exit $ac_status); }; }; then
6401 ac_cv_sizeof_int=`cat conftest.val`
6403 echo "$as_me: program exited with status $ac_status" >&5
6404 echo "$as_me: failed program was:" >&5
6405 sed 's/^/| /' conftest.$ac_ext >&5
6408 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
6409 See \`config.log' for more details." >&5
6410 echo "$as_me: error: cannot compute sizeof (int)
6411 See \`config.log' for more details." >&2;}
6412 { (exit 77); exit 77; }; }
6414 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6421 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
6422 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
6423 cat >>confdefs.h <<_ACEOF
6424 #define SIZEOF_INT $ac_cv_sizeof_int
6428 { echo "$as_me:$LINENO: checking for long" >&5
6429 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
6430 if test "${ac_cv_type_long+set}" = set; then
6431 echo $ECHO_N "(cached) $ECHO_C" >&6
6433 cat >conftest.$ac_ext <<_ACEOF
6436 cat confdefs.h >>conftest.$ac_ext
6437 cat >>conftest.$ac_ext <<_ACEOF
6438 /* end confdefs.h. */
6439 $ac_includes_default
6440 typedef long ac__type_new_;
6444 if ((ac__type_new_ *) 0)
6446 if (sizeof (ac__type_new_))
6452 rm -f conftest.$ac_objext
6453 if { (ac_try="$ac_compile"
6455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6456 *) ac_try_echo=$ac_try;;
6458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6459 (eval "$ac_compile") 2>conftest.er1
6461 grep -v '^ *+' conftest.er1 >conftest.err
6463 cat conftest.err >&5
6464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465 (exit $ac_status); } &&
6466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6467 { (case "(($ac_try" in
6468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6469 *) ac_try_echo=$ac_try;;
6471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6472 (eval "$ac_try") 2>&5
6474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6475 (exit $ac_status); }; } &&
6476 { ac_try='test -s conftest.$ac_objext'
6477 { (case "(($ac_try" in
6478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6479 *) ac_try_echo=$ac_try;;
6481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6482 (eval "$ac_try") 2>&5
6484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6485 (exit $ac_status); }; }; then
6488 echo "$as_me: failed program was:" >&5
6489 sed 's/^/| /' conftest.$ac_ext >&5
6494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6496 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
6497 echo "${ECHO_T}$ac_cv_type_long" >&6; }
6499 { echo "$as_me:$LINENO: checking size of long" >&5
6500 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
6501 if test "${ac_cv_sizeof_long+set}" = set; then
6502 echo $ECHO_N "(cached) $ECHO_C" >&6
6504 if test "$ac_cv_type_long" = yes; then
6505 # The cast to long int works around a bug in the HP C Compiler
6506 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6507 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6508 # This bug is HP SR number 8606223364.
6509 if test "$cross_compiling" = yes; then
6510 # Depending upon the size, compute the lo and hi bounds.
6511 cat >conftest.$ac_ext <<_ACEOF
6514 cat confdefs.h >>conftest.$ac_ext
6515 cat >>conftest.$ac_ext <<_ACEOF
6516 /* end confdefs.h. */
6517 $ac_includes_default
6518 typedef long ac__type_sizeof_;
6522 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6529 rm -f conftest.$ac_objext
6530 if { (ac_try="$ac_compile"
6532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6533 *) ac_try_echo=$ac_try;;
6535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6536 (eval "$ac_compile") 2>conftest.er1
6538 grep -v '^ *+' conftest.er1 >conftest.err
6540 cat conftest.err >&5
6541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6542 (exit $ac_status); } &&
6543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6544 { (case "(($ac_try" in
6545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6546 *) ac_try_echo=$ac_try;;
6548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6549 (eval "$ac_try") 2>&5
6551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6552 (exit $ac_status); }; } &&
6553 { ac_try='test -s conftest.$ac_objext'
6554 { (case "(($ac_try" in
6555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6556 *) ac_try_echo=$ac_try;;
6558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6559 (eval "$ac_try") 2>&5
6561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6562 (exit $ac_status); }; }; then
6565 cat >conftest.$ac_ext <<_ACEOF
6568 cat confdefs.h >>conftest.$ac_ext
6569 cat >>conftest.$ac_ext <<_ACEOF
6570 /* end confdefs.h. */
6571 $ac_includes_default
6572 typedef long ac__type_sizeof_;
6576 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6583 rm -f conftest.$ac_objext
6584 if { (ac_try="$ac_compile"
6586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6587 *) ac_try_echo=$ac_try;;
6589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6590 (eval "$ac_compile") 2>conftest.er1
6592 grep -v '^ *+' conftest.er1 >conftest.err
6594 cat conftest.err >&5
6595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6596 (exit $ac_status); } &&
6597 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6598 { (case "(($ac_try" in
6599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6600 *) ac_try_echo=$ac_try;;
6602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6603 (eval "$ac_try") 2>&5
6605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606 (exit $ac_status); }; } &&
6607 { ac_try='test -s conftest.$ac_objext'
6608 { (case "(($ac_try" in
6609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6610 *) ac_try_echo=$ac_try;;
6612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6613 (eval "$ac_try") 2>&5
6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616 (exit $ac_status); }; }; then
6617 ac_hi=$ac_mid; break
6619 echo "$as_me: failed program was:" >&5
6620 sed 's/^/| /' conftest.$ac_ext >&5
6622 ac_lo=`expr $ac_mid + 1`
6623 if test $ac_lo -le $ac_mid; then
6627 ac_mid=`expr 2 '*' $ac_mid + 1`
6630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6633 echo "$as_me: failed program was:" >&5
6634 sed 's/^/| /' conftest.$ac_ext >&5
6636 cat >conftest.$ac_ext <<_ACEOF
6639 cat confdefs.h >>conftest.$ac_ext
6640 cat >>conftest.$ac_ext <<_ACEOF
6641 /* end confdefs.h. */
6642 $ac_includes_default
6643 typedef long ac__type_sizeof_;
6647 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6654 rm -f conftest.$ac_objext
6655 if { (ac_try="$ac_compile"
6657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6658 *) ac_try_echo=$ac_try;;
6660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6661 (eval "$ac_compile") 2>conftest.er1
6663 grep -v '^ *+' conftest.er1 >conftest.err
6665 cat conftest.err >&5
6666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6667 (exit $ac_status); } &&
6668 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6669 { (case "(($ac_try" in
6670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6671 *) ac_try_echo=$ac_try;;
6673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6674 (eval "$ac_try") 2>&5
6676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6677 (exit $ac_status); }; } &&
6678 { ac_try='test -s conftest.$ac_objext'
6679 { (case "(($ac_try" in
6680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6681 *) ac_try_echo=$ac_try;;
6683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6684 (eval "$ac_try") 2>&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); }; }; then
6690 cat >conftest.$ac_ext <<_ACEOF
6693 cat confdefs.h >>conftest.$ac_ext
6694 cat >>conftest.$ac_ext <<_ACEOF
6695 /* end confdefs.h. */
6696 $ac_includes_default
6697 typedef long ac__type_sizeof_;
6701 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
6708 rm -f conftest.$ac_objext
6709 if { (ac_try="$ac_compile"
6711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6712 *) ac_try_echo=$ac_try;;
6714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6715 (eval "$ac_compile") 2>conftest.er1
6717 grep -v '^ *+' conftest.er1 >conftest.err
6719 cat conftest.err >&5
6720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6721 (exit $ac_status); } &&
6722 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6723 { (case "(($ac_try" in
6724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6725 *) ac_try_echo=$ac_try;;
6727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6728 (eval "$ac_try") 2>&5
6730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6731 (exit $ac_status); }; } &&
6732 { ac_try='test -s conftest.$ac_objext'
6733 { (case "(($ac_try" in
6734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6735 *) ac_try_echo=$ac_try;;
6737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6738 (eval "$ac_try") 2>&5
6740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6741 (exit $ac_status); }; }; then
6742 ac_lo=$ac_mid; break
6744 echo "$as_me: failed program was:" >&5
6745 sed 's/^/| /' conftest.$ac_ext >&5
6747 ac_hi=`expr '(' $ac_mid ')' - 1`
6748 if test $ac_mid -le $ac_hi; then
6752 ac_mid=`expr 2 '*' $ac_mid`
6755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6758 echo "$as_me: failed program was:" >&5
6759 sed 's/^/| /' conftest.$ac_ext >&5
6764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6768 # Binary search between lo and hi bounds.
6769 while test "x$ac_lo" != "x$ac_hi"; do
6770 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6771 cat >conftest.$ac_ext <<_ACEOF
6774 cat confdefs.h >>conftest.$ac_ext
6775 cat >>conftest.$ac_ext <<_ACEOF
6776 /* end confdefs.h. */
6777 $ac_includes_default
6778 typedef long ac__type_sizeof_;
6782 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6789 rm -f conftest.$ac_objext
6790 if { (ac_try="$ac_compile"
6792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6793 *) ac_try_echo=$ac_try;;
6795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6796 (eval "$ac_compile") 2>conftest.er1
6798 grep -v '^ *+' conftest.er1 >conftest.err
6800 cat conftest.err >&5
6801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6802 (exit $ac_status); } &&
6803 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6804 { (case "(($ac_try" in
6805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6806 *) ac_try_echo=$ac_try;;
6808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6809 (eval "$ac_try") 2>&5
6811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6812 (exit $ac_status); }; } &&
6813 { ac_try='test -s conftest.$ac_objext'
6814 { (case "(($ac_try" in
6815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6816 *) ac_try_echo=$ac_try;;
6818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6819 (eval "$ac_try") 2>&5
6821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6822 (exit $ac_status); }; }; then
6825 echo "$as_me: failed program was:" >&5
6826 sed 's/^/| /' conftest.$ac_ext >&5
6828 ac_lo=`expr '(' $ac_mid ')' + 1`
6831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6834 ?*) ac_cv_sizeof_long=$ac_lo;;
6835 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
6836 See \`config.log' for more details." >&5
6837 echo "$as_me: error: cannot compute sizeof (long)
6838 See \`config.log' for more details." >&2;}
6839 { (exit 77); exit 77; }; } ;;
6842 cat >conftest.$ac_ext <<_ACEOF
6845 cat confdefs.h >>conftest.$ac_ext
6846 cat >>conftest.$ac_ext <<_ACEOF
6847 /* end confdefs.h. */
6848 $ac_includes_default
6849 typedef long ac__type_sizeof_;
6850 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6851 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
6858 FILE *f = fopen ("conftest.val", "w");
6861 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
6863 long int i = longval ();
6864 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6866 fprintf (f, "%ld\n", i);
6870 unsigned long int i = ulongval ();
6871 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6873 fprintf (f, "%lu\n", i);
6875 return ferror (f) || fclose (f) != 0;
6881 rm -f conftest$ac_exeext
6882 if { (ac_try="$ac_link"
6884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6885 *) ac_try_echo=$ac_try;;
6887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6888 (eval "$ac_link") 2>&5
6890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6891 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6892 { (case "(($ac_try" in
6893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6894 *) ac_try_echo=$ac_try;;
6896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6897 (eval "$ac_try") 2>&5
6899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6900 (exit $ac_status); }; }; then
6901 ac_cv_sizeof_long=`cat conftest.val`
6903 echo "$as_me: program exited with status $ac_status" >&5
6904 echo "$as_me: failed program was:" >&5
6905 sed 's/^/| /' conftest.$ac_ext >&5
6908 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
6909 See \`config.log' for more details." >&5
6910 echo "$as_me: error: cannot compute sizeof (long)
6911 See \`config.log' for more details." >&2;}
6912 { (exit 77); exit 77; }; }
6914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6921 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
6922 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
6923 cat >>confdefs.h <<_ACEOF
6924 #define SIZEOF_LONG $ac_cv_sizeof_long
6928 { echo "$as_me:$LINENO: checking for float" >&5
6929 echo $ECHO_N "checking for float... $ECHO_C" >&6; }
6930 if test "${ac_cv_type_float+set}" = set; then
6931 echo $ECHO_N "(cached) $ECHO_C" >&6
6933 cat >conftest.$ac_ext <<_ACEOF
6936 cat confdefs.h >>conftest.$ac_ext
6937 cat >>conftest.$ac_ext <<_ACEOF
6938 /* end confdefs.h. */
6939 $ac_includes_default
6940 typedef float ac__type_new_;
6944 if ((ac__type_new_ *) 0)
6946 if (sizeof (ac__type_new_))
6952 rm -f conftest.$ac_objext
6953 if { (ac_try="$ac_compile"
6955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6956 *) ac_try_echo=$ac_try;;
6958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6959 (eval "$ac_compile") 2>conftest.er1
6961 grep -v '^ *+' conftest.er1 >conftest.err
6963 cat conftest.err >&5
6964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6965 (exit $ac_status); } &&
6966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6967 { (case "(($ac_try" in
6968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6969 *) ac_try_echo=$ac_try;;
6971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6972 (eval "$ac_try") 2>&5
6974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6975 (exit $ac_status); }; } &&
6976 { ac_try='test -s conftest.$ac_objext'
6977 { (case "(($ac_try" in
6978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6979 *) ac_try_echo=$ac_try;;
6981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6982 (eval "$ac_try") 2>&5
6984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985 (exit $ac_status); }; }; then
6986 ac_cv_type_float=yes
6988 echo "$as_me: failed program was:" >&5
6989 sed 's/^/| /' conftest.$ac_ext >&5
6994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6996 { echo "$as_me:$LINENO: result: $ac_cv_type_float" >&5
6997 echo "${ECHO_T}$ac_cv_type_float" >&6; }
6999 { echo "$as_me:$LINENO: checking size of float" >&5
7000 echo $ECHO_N "checking size of float... $ECHO_C" >&6; }
7001 if test "${ac_cv_sizeof_float+set}" = set; then
7002 echo $ECHO_N "(cached) $ECHO_C" >&6
7004 if test "$ac_cv_type_float" = yes; then
7005 # The cast to long int works around a bug in the HP C Compiler
7006 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7007 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7008 # This bug is HP SR number 8606223364.
7009 if test "$cross_compiling" = yes; then
7010 # Depending upon the size, compute the lo and hi bounds.
7011 cat >conftest.$ac_ext <<_ACEOF
7014 cat confdefs.h >>conftest.$ac_ext
7015 cat >>conftest.$ac_ext <<_ACEOF
7016 /* end confdefs.h. */
7017 $ac_includes_default
7018 typedef float ac__type_sizeof_;
7022 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
7029 rm -f conftest.$ac_objext
7030 if { (ac_try="$ac_compile"
7032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7033 *) ac_try_echo=$ac_try;;
7035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7036 (eval "$ac_compile") 2>conftest.er1
7038 grep -v '^ *+' conftest.er1 >conftest.err
7040 cat conftest.err >&5
7041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7042 (exit $ac_status); } &&
7043 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7044 { (case "(($ac_try" in
7045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7046 *) ac_try_echo=$ac_try;;
7048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7049 (eval "$ac_try") 2>&5
7051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7052 (exit $ac_status); }; } &&
7053 { ac_try='test -s conftest.$ac_objext'
7054 { (case "(($ac_try" in
7055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7056 *) ac_try_echo=$ac_try;;
7058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7059 (eval "$ac_try") 2>&5
7061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062 (exit $ac_status); }; }; then
7065 cat >conftest.$ac_ext <<_ACEOF
7068 cat confdefs.h >>conftest.$ac_ext
7069 cat >>conftest.$ac_ext <<_ACEOF
7070 /* end confdefs.h. */
7071 $ac_includes_default
7072 typedef float ac__type_sizeof_;
7076 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7083 rm -f conftest.$ac_objext
7084 if { (ac_try="$ac_compile"
7086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7087 *) ac_try_echo=$ac_try;;
7089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7090 (eval "$ac_compile") 2>conftest.er1
7092 grep -v '^ *+' conftest.er1 >conftest.err
7094 cat conftest.err >&5
7095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7096 (exit $ac_status); } &&
7097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7098 { (case "(($ac_try" in
7099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7100 *) ac_try_echo=$ac_try;;
7102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7103 (eval "$ac_try") 2>&5
7105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7106 (exit $ac_status); }; } &&
7107 { ac_try='test -s conftest.$ac_objext'
7108 { (case "(($ac_try" in
7109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7110 *) ac_try_echo=$ac_try;;
7112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7113 (eval "$ac_try") 2>&5
7115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7116 (exit $ac_status); }; }; then
7117 ac_hi=$ac_mid; break
7119 echo "$as_me: failed program was:" >&5
7120 sed 's/^/| /' conftest.$ac_ext >&5
7122 ac_lo=`expr $ac_mid + 1`
7123 if test $ac_lo -le $ac_mid; then
7127 ac_mid=`expr 2 '*' $ac_mid + 1`
7130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7133 echo "$as_me: failed program was:" >&5
7134 sed 's/^/| /' conftest.$ac_ext >&5
7136 cat >conftest.$ac_ext <<_ACEOF
7139 cat confdefs.h >>conftest.$ac_ext
7140 cat >>conftest.$ac_ext <<_ACEOF
7141 /* end confdefs.h. */
7142 $ac_includes_default
7143 typedef float ac__type_sizeof_;
7147 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
7154 rm -f conftest.$ac_objext
7155 if { (ac_try="$ac_compile"
7157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7158 *) ac_try_echo=$ac_try;;
7160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7161 (eval "$ac_compile") 2>conftest.er1
7163 grep -v '^ *+' conftest.er1 >conftest.err
7165 cat conftest.err >&5
7166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7167 (exit $ac_status); } &&
7168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7169 { (case "(($ac_try" in
7170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7171 *) ac_try_echo=$ac_try;;
7173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7174 (eval "$ac_try") 2>&5
7176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7177 (exit $ac_status); }; } &&
7178 { ac_try='test -s conftest.$ac_objext'
7179 { (case "(($ac_try" in
7180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7181 *) ac_try_echo=$ac_try;;
7183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7184 (eval "$ac_try") 2>&5
7186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7187 (exit $ac_status); }; }; then
7190 cat >conftest.$ac_ext <<_ACEOF
7193 cat confdefs.h >>conftest.$ac_ext
7194 cat >>conftest.$ac_ext <<_ACEOF
7195 /* end confdefs.h. */
7196 $ac_includes_default
7197 typedef float ac__type_sizeof_;
7201 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
7208 rm -f conftest.$ac_objext
7209 if { (ac_try="$ac_compile"
7211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7212 *) ac_try_echo=$ac_try;;
7214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7215 (eval "$ac_compile") 2>conftest.er1
7217 grep -v '^ *+' conftest.er1 >conftest.err
7219 cat conftest.err >&5
7220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7221 (exit $ac_status); } &&
7222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7223 { (case "(($ac_try" in
7224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7225 *) ac_try_echo=$ac_try;;
7227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7228 (eval "$ac_try") 2>&5
7230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7231 (exit $ac_status); }; } &&
7232 { ac_try='test -s conftest.$ac_objext'
7233 { (case "(($ac_try" in
7234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7235 *) ac_try_echo=$ac_try;;
7237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7238 (eval "$ac_try") 2>&5
7240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7241 (exit $ac_status); }; }; then
7242 ac_lo=$ac_mid; break
7244 echo "$as_me: failed program was:" >&5
7245 sed 's/^/| /' conftest.$ac_ext >&5
7247 ac_hi=`expr '(' $ac_mid ')' - 1`
7248 if test $ac_mid -le $ac_hi; then
7252 ac_mid=`expr 2 '*' $ac_mid`
7255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7258 echo "$as_me: failed program was:" >&5
7259 sed 's/^/| /' conftest.$ac_ext >&5
7264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7268 # Binary search between lo and hi bounds.
7269 while test "x$ac_lo" != "x$ac_hi"; do
7270 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7271 cat >conftest.$ac_ext <<_ACEOF
7274 cat confdefs.h >>conftest.$ac_ext
7275 cat >>conftest.$ac_ext <<_ACEOF
7276 /* end confdefs.h. */
7277 $ac_includes_default
7278 typedef float ac__type_sizeof_;
7282 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7289 rm -f conftest.$ac_objext
7290 if { (ac_try="$ac_compile"
7292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7293 *) ac_try_echo=$ac_try;;
7295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7296 (eval "$ac_compile") 2>conftest.er1
7298 grep -v '^ *+' conftest.er1 >conftest.err
7300 cat conftest.err >&5
7301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7302 (exit $ac_status); } &&
7303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7304 { (case "(($ac_try" in
7305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7306 *) ac_try_echo=$ac_try;;
7308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7309 (eval "$ac_try") 2>&5
7311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7312 (exit $ac_status); }; } &&
7313 { ac_try='test -s conftest.$ac_objext'
7314 { (case "(($ac_try" in
7315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7316 *) ac_try_echo=$ac_try;;
7318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7319 (eval "$ac_try") 2>&5
7321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7322 (exit $ac_status); }; }; then
7325 echo "$as_me: failed program was:" >&5
7326 sed 's/^/| /' conftest.$ac_ext >&5
7328 ac_lo=`expr '(' $ac_mid ')' + 1`
7331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7334 ?*) ac_cv_sizeof_float=$ac_lo;;
7335 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (float)
7336 See \`config.log' for more details." >&5
7337 echo "$as_me: error: cannot compute sizeof (float)
7338 See \`config.log' for more details." >&2;}
7339 { (exit 77); exit 77; }; } ;;
7342 cat >conftest.$ac_ext <<_ACEOF
7345 cat confdefs.h >>conftest.$ac_ext
7346 cat >>conftest.$ac_ext <<_ACEOF
7347 /* end confdefs.h. */
7348 $ac_includes_default
7349 typedef float ac__type_sizeof_;
7350 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
7351 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
7358 FILE *f = fopen ("conftest.val", "w");
7361 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
7363 long int i = longval ();
7364 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7366 fprintf (f, "%ld\n", i);
7370 unsigned long int i = ulongval ();
7371 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7373 fprintf (f, "%lu\n", i);
7375 return ferror (f) || fclose (f) != 0;
7381 rm -f conftest$ac_exeext
7382 if { (ac_try="$ac_link"
7384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7385 *) ac_try_echo=$ac_try;;
7387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7388 (eval "$ac_link") 2>&5
7390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7391 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7392 { (case "(($ac_try" in
7393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7394 *) ac_try_echo=$ac_try;;
7396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7397 (eval "$ac_try") 2>&5
7399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7400 (exit $ac_status); }; }; then
7401 ac_cv_sizeof_float=`cat conftest.val`
7403 echo "$as_me: program exited with status $ac_status" >&5
7404 echo "$as_me: failed program was:" >&5
7405 sed 's/^/| /' conftest.$ac_ext >&5
7408 { { echo "$as_me:$LINENO: error: cannot compute sizeof (float)
7409 See \`config.log' for more details." >&5
7410 echo "$as_me: error: cannot compute sizeof (float)
7411 See \`config.log' for more details." >&2;}
7412 { (exit 77); exit 77; }; }
7414 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7418 ac_cv_sizeof_float=0
7421 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5
7422 echo "${ECHO_T}$ac_cv_sizeof_float" >&6; }
7423 cat >>confdefs.h <<_ACEOF
7424 #define SIZEOF_FLOAT $ac_cv_sizeof_float
7428 { echo "$as_me:$LINENO: checking for double" >&5
7429 echo $ECHO_N "checking for double... $ECHO_C" >&6; }
7430 if test "${ac_cv_type_double+set}" = set; then
7431 echo $ECHO_N "(cached) $ECHO_C" >&6
7433 cat >conftest.$ac_ext <<_ACEOF
7436 cat confdefs.h >>conftest.$ac_ext
7437 cat >>conftest.$ac_ext <<_ACEOF
7438 /* end confdefs.h. */
7439 $ac_includes_default
7440 typedef double ac__type_new_;
7444 if ((ac__type_new_ *) 0)
7446 if (sizeof (ac__type_new_))
7452 rm -f conftest.$ac_objext
7453 if { (ac_try="$ac_compile"
7455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7456 *) ac_try_echo=$ac_try;;
7458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7459 (eval "$ac_compile") 2>conftest.er1
7461 grep -v '^ *+' conftest.er1 >conftest.err
7463 cat conftest.err >&5
7464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465 (exit $ac_status); } &&
7466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7467 { (case "(($ac_try" in
7468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7469 *) ac_try_echo=$ac_try;;
7471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7472 (eval "$ac_try") 2>&5
7474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 (exit $ac_status); }; } &&
7476 { ac_try='test -s conftest.$ac_objext'
7477 { (case "(($ac_try" in
7478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7479 *) ac_try_echo=$ac_try;;
7481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7482 (eval "$ac_try") 2>&5
7484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7485 (exit $ac_status); }; }; then
7486 ac_cv_type_double=yes
7488 echo "$as_me: failed program was:" >&5
7489 sed 's/^/| /' conftest.$ac_ext >&5
7491 ac_cv_type_double=no
7494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7496 { echo "$as_me:$LINENO: result: $ac_cv_type_double" >&5
7497 echo "${ECHO_T}$ac_cv_type_double" >&6; }
7499 { echo "$as_me:$LINENO: checking size of double" >&5
7500 echo $ECHO_N "checking size of double... $ECHO_C" >&6; }
7501 if test "${ac_cv_sizeof_double+set}" = set; then
7502 echo $ECHO_N "(cached) $ECHO_C" >&6
7504 if test "$ac_cv_type_double" = yes; then
7505 # The cast to long int works around a bug in the HP C Compiler
7506 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7507 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7508 # This bug is HP SR number 8606223364.
7509 if test "$cross_compiling" = yes; then
7510 # Depending upon the size, compute the lo and hi bounds.
7511 cat >conftest.$ac_ext <<_ACEOF
7514 cat confdefs.h >>conftest.$ac_ext
7515 cat >>conftest.$ac_ext <<_ACEOF
7516 /* end confdefs.h. */
7517 $ac_includes_default
7518 typedef double ac__type_sizeof_;
7522 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
7529 rm -f conftest.$ac_objext
7530 if { (ac_try="$ac_compile"
7532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7533 *) ac_try_echo=$ac_try;;
7535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7536 (eval "$ac_compile") 2>conftest.er1
7538 grep -v '^ *+' conftest.er1 >conftest.err
7540 cat conftest.err >&5
7541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7542 (exit $ac_status); } &&
7543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7544 { (case "(($ac_try" in
7545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7546 *) ac_try_echo=$ac_try;;
7548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7549 (eval "$ac_try") 2>&5
7551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7552 (exit $ac_status); }; } &&
7553 { ac_try='test -s conftest.$ac_objext'
7554 { (case "(($ac_try" in
7555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7556 *) ac_try_echo=$ac_try;;
7558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7559 (eval "$ac_try") 2>&5
7561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7562 (exit $ac_status); }; }; then
7565 cat >conftest.$ac_ext <<_ACEOF
7568 cat confdefs.h >>conftest.$ac_ext
7569 cat >>conftest.$ac_ext <<_ACEOF
7570 /* end confdefs.h. */
7571 $ac_includes_default
7572 typedef double ac__type_sizeof_;
7576 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7583 rm -f conftest.$ac_objext
7584 if { (ac_try="$ac_compile"
7586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7587 *) ac_try_echo=$ac_try;;
7589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7590 (eval "$ac_compile") 2>conftest.er1
7592 grep -v '^ *+' conftest.er1 >conftest.err
7594 cat conftest.err >&5
7595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596 (exit $ac_status); } &&
7597 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7598 { (case "(($ac_try" in
7599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7600 *) ac_try_echo=$ac_try;;
7602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7603 (eval "$ac_try") 2>&5
7605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7606 (exit $ac_status); }; } &&
7607 { ac_try='test -s conftest.$ac_objext'
7608 { (case "(($ac_try" in
7609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7610 *) ac_try_echo=$ac_try;;
7612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7613 (eval "$ac_try") 2>&5
7615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7616 (exit $ac_status); }; }; then
7617 ac_hi=$ac_mid; break
7619 echo "$as_me: failed program was:" >&5
7620 sed 's/^/| /' conftest.$ac_ext >&5
7622 ac_lo=`expr $ac_mid + 1`
7623 if test $ac_lo -le $ac_mid; then
7627 ac_mid=`expr 2 '*' $ac_mid + 1`
7630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7633 echo "$as_me: failed program was:" >&5
7634 sed 's/^/| /' conftest.$ac_ext >&5
7636 cat >conftest.$ac_ext <<_ACEOF
7639 cat confdefs.h >>conftest.$ac_ext
7640 cat >>conftest.$ac_ext <<_ACEOF
7641 /* end confdefs.h. */
7642 $ac_includes_default
7643 typedef double ac__type_sizeof_;
7647 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
7654 rm -f conftest.$ac_objext
7655 if { (ac_try="$ac_compile"
7657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7658 *) ac_try_echo=$ac_try;;
7660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7661 (eval "$ac_compile") 2>conftest.er1
7663 grep -v '^ *+' conftest.er1 >conftest.err
7665 cat conftest.err >&5
7666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7667 (exit $ac_status); } &&
7668 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7669 { (case "(($ac_try" in
7670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7671 *) ac_try_echo=$ac_try;;
7673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7674 (eval "$ac_try") 2>&5
7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677 (exit $ac_status); }; } &&
7678 { ac_try='test -s conftest.$ac_objext'
7679 { (case "(($ac_try" in
7680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7681 *) ac_try_echo=$ac_try;;
7683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7684 (eval "$ac_try") 2>&5
7686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7687 (exit $ac_status); }; }; then
7690 cat >conftest.$ac_ext <<_ACEOF
7693 cat confdefs.h >>conftest.$ac_ext
7694 cat >>conftest.$ac_ext <<_ACEOF
7695 /* end confdefs.h. */
7696 $ac_includes_default
7697 typedef double ac__type_sizeof_;
7701 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
7708 rm -f conftest.$ac_objext
7709 if { (ac_try="$ac_compile"
7711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7712 *) ac_try_echo=$ac_try;;
7714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7715 (eval "$ac_compile") 2>conftest.er1
7717 grep -v '^ *+' conftest.er1 >conftest.err
7719 cat conftest.err >&5
7720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7721 (exit $ac_status); } &&
7722 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7723 { (case "(($ac_try" in
7724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7725 *) ac_try_echo=$ac_try;;
7727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7728 (eval "$ac_try") 2>&5
7730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7731 (exit $ac_status); }; } &&
7732 { ac_try='test -s conftest.$ac_objext'
7733 { (case "(($ac_try" in
7734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7735 *) ac_try_echo=$ac_try;;
7737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7738 (eval "$ac_try") 2>&5
7740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7741 (exit $ac_status); }; }; then
7742 ac_lo=$ac_mid; break
7744 echo "$as_me: failed program was:" >&5
7745 sed 's/^/| /' conftest.$ac_ext >&5
7747 ac_hi=`expr '(' $ac_mid ')' - 1`
7748 if test $ac_mid -le $ac_hi; then
7752 ac_mid=`expr 2 '*' $ac_mid`
7755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7758 echo "$as_me: failed program was:" >&5
7759 sed 's/^/| /' conftest.$ac_ext >&5
7764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7768 # Binary search between lo and hi bounds.
7769 while test "x$ac_lo" != "x$ac_hi"; do
7770 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7771 cat >conftest.$ac_ext <<_ACEOF
7774 cat confdefs.h >>conftest.$ac_ext
7775 cat >>conftest.$ac_ext <<_ACEOF
7776 /* end confdefs.h. */
7777 $ac_includes_default
7778 typedef double ac__type_sizeof_;
7782 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7789 rm -f conftest.$ac_objext
7790 if { (ac_try="$ac_compile"
7792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7793 *) ac_try_echo=$ac_try;;
7795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7796 (eval "$ac_compile") 2>conftest.er1
7798 grep -v '^ *+' conftest.er1 >conftest.err
7800 cat conftest.err >&5
7801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7802 (exit $ac_status); } &&
7803 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7804 { (case "(($ac_try" in
7805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7806 *) ac_try_echo=$ac_try;;
7808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7809 (eval "$ac_try") 2>&5
7811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812 (exit $ac_status); }; } &&
7813 { ac_try='test -s conftest.$ac_objext'
7814 { (case "(($ac_try" in
7815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7816 *) ac_try_echo=$ac_try;;
7818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7819 (eval "$ac_try") 2>&5
7821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7822 (exit $ac_status); }; }; then
7825 echo "$as_me: failed program was:" >&5
7826 sed 's/^/| /' conftest.$ac_ext >&5
7828 ac_lo=`expr '(' $ac_mid ')' + 1`
7831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7834 ?*) ac_cv_sizeof_double=$ac_lo;;
7835 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (double)
7836 See \`config.log' for more details." >&5
7837 echo "$as_me: error: cannot compute sizeof (double)
7838 See \`config.log' for more details." >&2;}
7839 { (exit 77); exit 77; }; } ;;
7842 cat >conftest.$ac_ext <<_ACEOF
7845 cat confdefs.h >>conftest.$ac_ext
7846 cat >>conftest.$ac_ext <<_ACEOF
7847 /* end confdefs.h. */
7848 $ac_includes_default
7849 typedef double ac__type_sizeof_;
7850 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
7851 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
7858 FILE *f = fopen ("conftest.val", "w");
7861 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
7863 long int i = longval ();
7864 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7866 fprintf (f, "%ld\n", i);
7870 unsigned long int i = ulongval ();
7871 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7873 fprintf (f, "%lu\n", i);
7875 return ferror (f) || fclose (f) != 0;
7881 rm -f conftest$ac_exeext
7882 if { (ac_try="$ac_link"
7884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7885 *) ac_try_echo=$ac_try;;
7887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7888 (eval "$ac_link") 2>&5
7890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7891 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7892 { (case "(($ac_try" in
7893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7894 *) ac_try_echo=$ac_try;;
7896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7897 (eval "$ac_try") 2>&5
7899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7900 (exit $ac_status); }; }; then
7901 ac_cv_sizeof_double=`cat conftest.val`
7903 echo "$as_me: program exited with status $ac_status" >&5
7904 echo "$as_me: failed program was:" >&5
7905 sed 's/^/| /' conftest.$ac_ext >&5
7908 { { echo "$as_me:$LINENO: error: cannot compute sizeof (double)
7909 See \`config.log' for more details." >&5
7910 echo "$as_me: error: cannot compute sizeof (double)
7911 See \`config.log' for more details." >&2;}
7912 { (exit 77); exit 77; }; }
7914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7918 ac_cv_sizeof_double=0
7921 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_double" >&5
7922 echo "${ECHO_T}$ac_cv_sizeof_double" >&6; }
7923 cat >>confdefs.h <<_ACEOF
7924 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
7930 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
7931 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
7932 if test "${ac_cv_lib_z_deflate+set}" = set; then
7933 echo $ECHO_N "(cached) $ECHO_C" >&6
7935 ac_check_lib_save_LIBS=$LIBS
7937 cat >conftest.$ac_ext <<_ACEOF
7940 cat confdefs.h >>conftest.$ac_ext
7941 cat >>conftest.$ac_ext <<_ACEOF
7942 /* end confdefs.h. */
7944 /* Override any GCC internal prototype to avoid an error.
7945 Use char because int might match the return type of a GCC
7946 builtin and then its argument prototype would still apply. */
7959 rm -f conftest.$ac_objext conftest$ac_exeext
7960 if { (ac_try="$ac_link"
7962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7963 *) ac_try_echo=$ac_try;;
7965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7966 (eval "$ac_link") 2>conftest.er1
7968 grep -v '^ *+' conftest.er1 >conftest.err
7970 cat conftest.err >&5
7971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7972 (exit $ac_status); } &&
7973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7974 { (case "(($ac_try" in
7975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7976 *) ac_try_echo=$ac_try;;
7978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7979 (eval "$ac_try") 2>&5
7981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7982 (exit $ac_status); }; } &&
7983 { ac_try='test -s conftest$ac_exeext'
7984 { (case "(($ac_try" in
7985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7986 *) ac_try_echo=$ac_try;;
7988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7989 (eval "$ac_try") 2>&5
7991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7992 (exit $ac_status); }; }; then
7993 ac_cv_lib_z_deflate=yes
7995 echo "$as_me: failed program was:" >&5
7996 sed 's/^/| /' conftest.$ac_ext >&5
7998 ac_cv_lib_z_deflate=no
8001 rm -f core conftest.err conftest.$ac_objext \
8002 conftest$ac_exeext conftest.$ac_ext
8003 LIBS=$ac_check_lib_save_LIBS
8005 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
8006 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
8007 if test $ac_cv_lib_z_deflate = yes; then
8010 zlib="false" ; { echo "$as_me:$LINENO: WARNING: zlib missing. Will need zlib for PNG support" >&5
8011 echo "$as_me: WARNING: zlib missing. Will need zlib for PNG support" >&2;}
8015 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
8016 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
8017 if test "${ac_cv_lib_m_sin+set}" = set; then
8018 echo $ECHO_N "(cached) $ECHO_C" >&6
8020 ac_check_lib_save_LIBS=$LIBS
8022 cat >conftest.$ac_ext <<_ACEOF
8025 cat confdefs.h >>conftest.$ac_ext
8026 cat >>conftest.$ac_ext <<_ACEOF
8027 /* end confdefs.h. */
8029 /* Override any GCC internal prototype to avoid an error.
8030 Use char because int might match the return type of a GCC
8031 builtin and then its argument prototype would still apply. */
8044 rm -f conftest.$ac_objext conftest$ac_exeext
8045 if { (ac_try="$ac_link"
8047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8048 *) ac_try_echo=$ac_try;;
8050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8051 (eval "$ac_link") 2>conftest.er1
8053 grep -v '^ *+' conftest.er1 >conftest.err
8055 cat conftest.err >&5
8056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8057 (exit $ac_status); } &&
8058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8059 { (case "(($ac_try" in
8060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8061 *) ac_try_echo=$ac_try;;
8063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8064 (eval "$ac_try") 2>&5
8066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8067 (exit $ac_status); }; } &&
8068 { ac_try='test -s conftest$ac_exeext'
8069 { (case "(($ac_try" in
8070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8071 *) ac_try_echo=$ac_try;;
8073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8074 (eval "$ac_try") 2>&5
8076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8077 (exit $ac_status); }; }; then
8080 echo "$as_me: failed program was:" >&5
8081 sed 's/^/| /' conftest.$ac_ext >&5
8086 rm -f core conftest.err conftest.$ac_objext \
8087 conftest$ac_exeext conftest.$ac_ext
8088 LIBS=$ac_check_lib_save_LIBS
8090 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8091 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
8092 if test $ac_cv_lib_m_sin = yes; then
8093 cat >>confdefs.h <<_ACEOF
8101 { echo "$as_me:$LINENO: checking for main in -lcurses" >&5
8102 echo $ECHO_N "checking for main in -lcurses... $ECHO_C" >&6; }
8103 if test "${ac_cv_lib_curses_main+set}" = set; then
8104 echo $ECHO_N "(cached) $ECHO_C" >&6
8106 ac_check_lib_save_LIBS=$LIBS
8107 LIBS="-lcurses $LIBS"
8108 cat >conftest.$ac_ext <<_ACEOF
8111 cat confdefs.h >>conftest.$ac_ext
8112 cat >>conftest.$ac_ext <<_ACEOF
8113 /* end confdefs.h. */
8124 rm -f conftest.$ac_objext conftest$ac_exeext
8125 if { (ac_try="$ac_link"
8127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8128 *) ac_try_echo=$ac_try;;
8130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8131 (eval "$ac_link") 2>conftest.er1
8133 grep -v '^ *+' conftest.er1 >conftest.err
8135 cat conftest.err >&5
8136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8137 (exit $ac_status); } &&
8138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8139 { (case "(($ac_try" in
8140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8141 *) ac_try_echo=$ac_try;;
8143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8144 (eval "$ac_try") 2>&5
8146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8147 (exit $ac_status); }; } &&
8148 { ac_try='test -s conftest$ac_exeext'
8149 { (case "(($ac_try" in
8150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8151 *) ac_try_echo=$ac_try;;
8153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8154 (eval "$ac_try") 2>&5
8156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8157 (exit $ac_status); }; }; then
8158 ac_cv_lib_curses_main=yes
8160 echo "$as_me: failed program was:" >&5
8161 sed 's/^/| /' conftest.$ac_ext >&5
8163 ac_cv_lib_curses_main=no
8166 rm -f core conftest.err conftest.$ac_objext \
8167 conftest$ac_exeext conftest.$ac_ext
8168 LIBS=$ac_check_lib_save_LIBS
8170 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_main" >&5
8171 echo "${ECHO_T}$ac_cv_lib_curses_main" >&6; }
8172 if test $ac_cv_lib_curses_main = yes; then
8178 { echo "$as_me:$LINENO: checking for main in -lncurses" >&5
8179 echo $ECHO_N "checking for main in -lncurses... $ECHO_C" >&6; }
8180 if test "${ac_cv_lib_ncurses_main+set}" = set; then
8181 echo $ECHO_N "(cached) $ECHO_C" >&6
8183 ac_check_lib_save_LIBS=$LIBS
8184 LIBS="-lncurses $LIBS"
8185 cat >conftest.$ac_ext <<_ACEOF
8188 cat confdefs.h >>conftest.$ac_ext
8189 cat >>conftest.$ac_ext <<_ACEOF
8190 /* end confdefs.h. */
8201 rm -f conftest.$ac_objext conftest$ac_exeext
8202 if { (ac_try="$ac_link"
8204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8205 *) ac_try_echo=$ac_try;;
8207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8208 (eval "$ac_link") 2>conftest.er1
8210 grep -v '^ *+' conftest.er1 >conftest.err
8212 cat conftest.err >&5
8213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8214 (exit $ac_status); } &&
8215 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8216 { (case "(($ac_try" in
8217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8218 *) ac_try_echo=$ac_try;;
8220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8221 (eval "$ac_try") 2>&5
8223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8224 (exit $ac_status); }; } &&
8225 { ac_try='test -s conftest$ac_exeext'
8226 { (case "(($ac_try" in
8227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8228 *) ac_try_echo=$ac_try;;
8230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8231 (eval "$ac_try") 2>&5
8233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8234 (exit $ac_status); }; }; then
8235 ac_cv_lib_ncurses_main=yes
8237 echo "$as_me: failed program was:" >&5
8238 sed 's/^/| /' conftest.$ac_ext >&5
8240 ac_cv_lib_ncurses_main=no
8243 rm -f core conftest.err conftest.$ac_objext \
8244 conftest$ac_exeext conftest.$ac_ext
8245 LIBS=$ac_check_lib_save_LIBS
8247 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_main" >&5
8248 echo "${ECHO_T}$ac_cv_lib_ncurses_main" >&6; }
8249 if test $ac_cv_lib_ncurses_main = yes; then
8255 { echo "$as_me:$LINENO: checking for main in -lreadline" >&5
8256 echo $ECHO_N "checking for main in -lreadline... $ECHO_C" >&6; }
8257 if test "${ac_cv_lib_readline_main+set}" = set; then
8258 echo $ECHO_N "(cached) $ECHO_C" >&6
8260 ac_check_lib_save_LIBS=$LIBS
8261 LIBS="-lreadline -lcurses $LIBS"
8262 cat >conftest.$ac_ext <<_ACEOF
8265 cat confdefs.h >>conftest.$ac_ext
8266 cat >>conftest.$ac_ext <<_ACEOF
8267 /* end confdefs.h. */
8278 rm -f conftest.$ac_objext conftest$ac_exeext
8279 if { (ac_try="$ac_link"
8281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8282 *) ac_try_echo=$ac_try;;
8284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8285 (eval "$ac_link") 2>conftest.er1
8287 grep -v '^ *+' conftest.er1 >conftest.err
8289 cat conftest.err >&5
8290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8291 (exit $ac_status); } &&
8292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8293 { (case "(($ac_try" in
8294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8295 *) ac_try_echo=$ac_try;;
8297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8298 (eval "$ac_try") 2>&5
8300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8301 (exit $ac_status); }; } &&
8302 { ac_try='test -s conftest$ac_exeext'
8303 { (case "(($ac_try" in
8304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8305 *) ac_try_echo=$ac_try;;
8307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8308 (eval "$ac_try") 2>&5
8310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8311 (exit $ac_status); }; }; then
8312 ac_cv_lib_readline_main=yes
8314 echo "$as_me: failed program was:" >&5
8315 sed 's/^/| /' conftest.$ac_ext >&5
8317 ac_cv_lib_readline_main=no
8320 rm -f core conftest.err conftest.$ac_objext \
8321 conftest$ac_exeext conftest.$ac_ext
8322 LIBS=$ac_check_lib_save_LIBS
8324 { echo "$as_me:$LINENO: result: $ac_cv_lib_readline_main" >&5
8325 echo "${ECHO_T}$ac_cv_lib_readline_main" >&6; }
8326 if test $ac_cv_lib_readline_main = yes; then
8329 cat >>confdefs.h <<\_ACEOF
8330 #define HAVE_READLINE 1
8338 { echo "$as_me:$LINENO: checking for main in -lwx_gtk-2.4" >&5
8339 echo $ECHO_N "checking for main in -lwx_gtk-2.4... $ECHO_C" >&6; }
8340 if test "${ac_cv_lib_wx_gtk_2_4_main+set}" = set; then
8341 echo $ECHO_N "(cached) $ECHO_C" >&6
8343 ac_check_lib_save_LIBS=$LIBS
8344 LIBS="-lwx_gtk-2.4 -L/usr/lib64 -L/usr/lib `gtk-config --libs` `glib-config --libs glib gmodule gthread` $LIBS"
8345 cat >conftest.$ac_ext <<_ACEOF
8348 cat confdefs.h >>conftest.$ac_ext
8349 cat >>conftest.$ac_ext <<_ACEOF
8350 /* end confdefs.h. */
8361 rm -f conftest.$ac_objext conftest$ac_exeext
8362 if { (ac_try="$ac_link"
8364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8365 *) ac_try_echo=$ac_try;;
8367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8368 (eval "$ac_link") 2>conftest.er1
8370 grep -v '^ *+' conftest.er1 >conftest.err
8372 cat conftest.err >&5
8373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8374 (exit $ac_status); } &&
8375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8376 { (case "(($ac_try" in
8377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8378 *) ac_try_echo=$ac_try;;
8380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8381 (eval "$ac_try") 2>&5
8383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8384 (exit $ac_status); }; } &&
8385 { ac_try='test -s conftest$ac_exeext'
8386 { (case "(($ac_try" in
8387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8388 *) ac_try_echo=$ac_try;;
8390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8391 (eval "$ac_try") 2>&5
8393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8394 (exit $ac_status); }; }; then
8395 ac_cv_lib_wx_gtk_2_4_main=yes
8397 echo "$as_me: failed program was:" >&5
8398 sed 's/^/| /' conftest.$ac_ext >&5
8400 ac_cv_lib_wx_gtk_2_4_main=no
8403 rm -f core conftest.err conftest.$ac_objext \
8404 conftest$ac_exeext conftest.$ac_ext
8405 LIBS=$ac_check_lib_save_LIBS
8407 { echo "$as_me:$LINENO: result: $ac_cv_lib_wx_gtk_2_4_main" >&5
8408 echo "${ECHO_T}$ac_cv_lib_wx_gtk_2_4_main" >&6; }
8409 if test $ac_cv_lib_wx_gtk_2_4_main = yes; then
8410 wxwin=true; wx_gtk=true;
8411 cat >>confdefs.h <<\_ACEOF
8412 #define HAVE_WXWINDOWS 1
8417 { echo "$as_me:$LINENO: checking for main in -lwx_mac-2.4" >&5
8418 echo $ECHO_N "checking for main in -lwx_mac-2.4... $ECHO_C" >&6; }
8419 if test "${ac_cv_lib_wx_mac_2_4_main+set}" = set; then
8420 echo $ECHO_N "(cached) $ECHO_C" >&6
8422 ac_check_lib_save_LIBS=$LIBS
8423 LIBS="-lwx_mac-2.4 $LIBS"
8424 cat >conftest.$ac_ext <<_ACEOF
8427 cat confdefs.h >>conftest.$ac_ext
8428 cat >>conftest.$ac_ext <<_ACEOF
8429 /* end confdefs.h. */
8440 rm -f conftest.$ac_objext conftest$ac_exeext
8441 if { (ac_try="$ac_link"
8443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8444 *) ac_try_echo=$ac_try;;
8446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8447 (eval "$ac_link") 2>conftest.er1
8449 grep -v '^ *+' conftest.er1 >conftest.err
8451 cat conftest.err >&5
8452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453 (exit $ac_status); } &&
8454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8455 { (case "(($ac_try" in
8456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8457 *) ac_try_echo=$ac_try;;
8459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8460 (eval "$ac_try") 2>&5
8462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8463 (exit $ac_status); }; } &&
8464 { ac_try='test -s conftest$ac_exeext'
8465 { (case "(($ac_try" in
8466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8467 *) ac_try_echo=$ac_try;;
8469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8470 (eval "$ac_try") 2>&5
8472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473 (exit $ac_status); }; }; then
8474 ac_cv_lib_wx_mac_2_4_main=yes
8476 echo "$as_me: failed program was:" >&5
8477 sed 's/^/| /' conftest.$ac_ext >&5
8479 ac_cv_lib_wx_mac_2_4_main=no
8482 rm -f core conftest.err conftest.$ac_objext \
8483 conftest$ac_exeext conftest.$ac_ext
8484 LIBS=$ac_check_lib_save_LIBS
8486 { echo "$as_me:$LINENO: result: $ac_cv_lib_wx_mac_2_4_main" >&5
8487 echo "${ECHO_T}$ac_cv_lib_wx_mac_2_4_main" >&6; }
8488 if test $ac_cv_lib_wx_mac_2_4_main = yes; then
8489 wxwin=true; wx_mac=true;
8490 cat >>confdefs.h <<\_ACEOF
8491 #define HAVE_WXWINDOWS 1
8496 { echo "$as_me:$LINENO: checking for fftw_malloc in -lfftw3" >&5
8497 echo $ECHO_N "checking for fftw_malloc in -lfftw3... $ECHO_C" >&6; }
8498 if test "${ac_cv_lib_fftw3_fftw_malloc+set}" = set; then
8499 echo $ECHO_N "(cached) $ECHO_C" >&6
8501 ac_check_lib_save_LIBS=$LIBS
8502 LIBS="-lfftw3 -L/usr/lib64 -L/usr/lib $LIBS"
8503 cat >conftest.$ac_ext <<_ACEOF
8506 cat confdefs.h >>conftest.$ac_ext
8507 cat >>conftest.$ac_ext <<_ACEOF
8508 /* end confdefs.h. */
8510 /* Override any GCC internal prototype to avoid an error.
8511 Use char because int might match the return type of a GCC
8512 builtin and then its argument prototype would still apply. */
8516 char fftw_malloc ();
8520 return fftw_malloc ();
8525 rm -f conftest.$ac_objext conftest$ac_exeext
8526 if { (ac_try="$ac_link"
8528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8529 *) ac_try_echo=$ac_try;;
8531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8532 (eval "$ac_link") 2>conftest.er1
8534 grep -v '^ *+' conftest.er1 >conftest.err
8536 cat conftest.err >&5
8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); } &&
8539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8540 { (case "(($ac_try" in
8541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8542 *) ac_try_echo=$ac_try;;
8544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8545 (eval "$ac_try") 2>&5
8547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8548 (exit $ac_status); }; } &&
8549 { ac_try='test -s conftest$ac_exeext'
8550 { (case "(($ac_try" in
8551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8552 *) ac_try_echo=$ac_try;;
8554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8555 (eval "$ac_try") 2>&5
8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); }; }; then
8559 ac_cv_lib_fftw3_fftw_malloc=yes
8561 echo "$as_me: failed program was:" >&5
8562 sed 's/^/| /' conftest.$ac_ext >&5
8564 ac_cv_lib_fftw3_fftw_malloc=no
8567 rm -f core conftest.err conftest.$ac_objext \
8568 conftest$ac_exeext conftest.$ac_ext
8569 LIBS=$ac_check_lib_save_LIBS
8571 { echo "$as_me:$LINENO: result: $ac_cv_lib_fftw3_fftw_malloc" >&5
8572 echo "${ECHO_T}$ac_cv_lib_fftw3_fftw_malloc" >&6; }
8573 if test $ac_cv_lib_fftw3_fftw_malloc = yes; then
8575 cat >>confdefs.h <<\_ACEOF
8583 { echo "$as_me:$LINENO: checking for main in -lGL" >&5
8584 echo $ECHO_N "checking for main in -lGL... $ECHO_C" >&6; }
8585 if test "${ac_cv_lib_GL_main+set}" = set; then
8586 echo $ECHO_N "(cached) $ECHO_C" >&6
8588 ac_check_lib_save_LIBS=$LIBS
8589 LIBS="-lGL -L/usr/X11R6/lib -L/usr/X11R6/lib64 $LIBS"
8590 cat >conftest.$ac_ext <<_ACEOF
8593 cat confdefs.h >>conftest.$ac_ext
8594 cat >>conftest.$ac_ext <<_ACEOF
8595 /* end confdefs.h. */
8606 rm -f conftest.$ac_objext conftest$ac_exeext
8607 if { (ac_try="$ac_link"
8609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8610 *) ac_try_echo=$ac_try;;
8612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8613 (eval "$ac_link") 2>conftest.er1
8615 grep -v '^ *+' conftest.er1 >conftest.err
8617 cat conftest.err >&5
8618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619 (exit $ac_status); } &&
8620 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8621 { (case "(($ac_try" in
8622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8623 *) ac_try_echo=$ac_try;;
8625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8626 (eval "$ac_try") 2>&5
8628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8629 (exit $ac_status); }; } &&
8630 { ac_try='test -s conftest$ac_exeext'
8631 { (case "(($ac_try" in
8632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8633 *) ac_try_echo=$ac_try;;
8635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8636 (eval "$ac_try") 2>&5
8638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8639 (exit $ac_status); }; }; then
8640 ac_cv_lib_GL_main=yes
8642 echo "$as_me: failed program was:" >&5
8643 sed 's/^/| /' conftest.$ac_ext >&5
8645 ac_cv_lib_GL_main=no
8648 rm -f core conftest.err conftest.$ac_objext \
8649 conftest$ac_exeext conftest.$ac_ext
8650 LIBS=$ac_check_lib_save_LIBS
8652 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_main" >&5
8653 echo "${ECHO_T}$ac_cv_lib_GL_main" >&6; }
8654 if test $ac_cv_lib_GL_main = yes; then
8660 { echo "$as_me:$LINENO: checking for main in -lpthread" >&5
8661 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6; }
8662 if test "${ac_cv_lib_pthread_main+set}" = set; then
8663 echo $ECHO_N "(cached) $ECHO_C" >&6
8665 ac_check_lib_save_LIBS=$LIBS
8666 LIBS="-lpthread $LIBS"
8667 cat >conftest.$ac_ext <<_ACEOF
8670 cat confdefs.h >>conftest.$ac_ext
8671 cat >>conftest.$ac_ext <<_ACEOF
8672 /* end confdefs.h. */
8683 rm -f conftest.$ac_objext conftest$ac_exeext
8684 if { (ac_try="$ac_link"
8686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8687 *) ac_try_echo=$ac_try;;
8689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8690 (eval "$ac_link") 2>conftest.er1
8692 grep -v '^ *+' conftest.er1 >conftest.err
8694 cat conftest.err >&5
8695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8696 (exit $ac_status); } &&
8697 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8698 { (case "(($ac_try" in
8699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8700 *) ac_try_echo=$ac_try;;
8702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8703 (eval "$ac_try") 2>&5
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); }; } &&
8707 { ac_try='test -s conftest$ac_exeext'
8708 { (case "(($ac_try" in
8709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8710 *) ac_try_echo=$ac_try;;
8712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8713 (eval "$ac_try") 2>&5
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); }; }; then
8717 ac_cv_lib_pthread_main=yes
8719 echo "$as_me: failed program was:" >&5
8720 sed 's/^/| /' conftest.$ac_ext >&5
8722 ac_cv_lib_pthread_main=no
8725 rm -f core conftest.err conftest.$ac_objext \
8726 conftest$ac_exeext conftest.$ac_ext
8727 LIBS=$ac_check_lib_save_LIBS
8729 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
8730 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6; }
8731 if test $ac_cv_lib_pthread_main = yes; then
8738 if test "$zlib" = "true" ; then
8739 { echo "$as_me:$LINENO: checking for main in -lpng" >&5
8740 echo $ECHO_N "checking for main in -lpng... $ECHO_C" >&6; }
8741 if test "${ac_cv_lib_png_main+set}" = set; then
8742 echo $ECHO_N "(cached) $ECHO_C" >&6
8744 ac_check_lib_save_LIBS=$LIBS
8745 LIBS="-lpng -lz -lm $LIBS"
8746 cat >conftest.$ac_ext <<_ACEOF
8749 cat confdefs.h >>conftest.$ac_ext
8750 cat >>conftest.$ac_ext <<_ACEOF
8751 /* end confdefs.h. */
8762 rm -f conftest.$ac_objext conftest$ac_exeext
8763 if { (ac_try="$ac_link"
8765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8766 *) ac_try_echo=$ac_try;;
8768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8769 (eval "$ac_link") 2>conftest.er1
8771 grep -v '^ *+' conftest.er1 >conftest.err
8773 cat conftest.err >&5
8774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8775 (exit $ac_status); } &&
8776 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8777 { (case "(($ac_try" in
8778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8779 *) ac_try_echo=$ac_try;;
8781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8782 (eval "$ac_try") 2>&5
8784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8785 (exit $ac_status); }; } &&
8786 { ac_try='test -s conftest$ac_exeext'
8787 { (case "(($ac_try" in
8788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8789 *) ac_try_echo=$ac_try;;
8791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8792 (eval "$ac_try") 2>&5
8794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795 (exit $ac_status); }; }; then
8796 ac_cv_lib_png_main=yes
8798 echo "$as_me: failed program was:" >&5
8799 sed 's/^/| /' conftest.$ac_ext >&5
8801 ac_cv_lib_png_main=no
8804 rm -f core conftest.err conftest.$ac_objext \
8805 conftest$ac_exeext conftest.$ac_ext
8806 LIBS=$ac_check_lib_save_LIBS
8808 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_main" >&5
8809 echo "${ECHO_T}$ac_cv_lib_png_main" >&6; }
8810 if test $ac_cv_lib_png_main = yes; then
8812 cat >>confdefs.h <<\_ACEOF
8822 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8823 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
8824 if test "${ac_cv_header_stdc+set}" = set; then
8825 echo $ECHO_N "(cached) $ECHO_C" >&6
8827 cat >conftest.$ac_ext <<_ACEOF
8830 cat confdefs.h >>conftest.$ac_ext
8831 cat >>conftest.$ac_ext <<_ACEOF
8832 /* end confdefs.h. */
8846 rm -f conftest.$ac_objext
8847 if { (ac_try="$ac_compile"
8849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8850 *) ac_try_echo=$ac_try;;
8852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8853 (eval "$ac_compile") 2>conftest.er1
8855 grep -v '^ *+' conftest.er1 >conftest.err
8857 cat conftest.err >&5
8858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8859 (exit $ac_status); } &&
8860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8861 { (case "(($ac_try" in
8862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8863 *) ac_try_echo=$ac_try;;
8865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8866 (eval "$ac_try") 2>&5
8868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8869 (exit $ac_status); }; } &&
8870 { ac_try='test -s conftest.$ac_objext'
8871 { (case "(($ac_try" in
8872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8873 *) ac_try_echo=$ac_try;;
8875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8876 (eval "$ac_try") 2>&5
8878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8879 (exit $ac_status); }; }; then
8880 ac_cv_header_stdc=yes
8882 echo "$as_me: failed program was:" >&5
8883 sed 's/^/| /' conftest.$ac_ext >&5
8885 ac_cv_header_stdc=no
8888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8890 if test $ac_cv_header_stdc = yes; then
8891 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8892 cat >conftest.$ac_ext <<_ACEOF
8895 cat confdefs.h >>conftest.$ac_ext
8896 cat >>conftest.$ac_ext <<_ACEOF
8897 /* end confdefs.h. */
8901 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8902 $EGREP "memchr" >/dev/null 2>&1; then
8905 ac_cv_header_stdc=no
8911 if test $ac_cv_header_stdc = yes; then
8912 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8913 cat >conftest.$ac_ext <<_ACEOF
8916 cat confdefs.h >>conftest.$ac_ext
8917 cat >>conftest.$ac_ext <<_ACEOF
8918 /* end confdefs.h. */
8922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8923 $EGREP "free" >/dev/null 2>&1; then
8926 ac_cv_header_stdc=no
8932 if test $ac_cv_header_stdc = yes; then
8933 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8934 if test "$cross_compiling" = yes; then
8937 cat >conftest.$ac_ext <<_ACEOF
8940 cat confdefs.h >>conftest.$ac_ext
8941 cat >>conftest.$ac_ext <<_ACEOF
8942 /* end confdefs.h. */
8945 #if ((' ' & 0x0FF) == 0x020)
8946 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8947 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8949 # define ISLOWER(c) \
8950 (('a' <= (c) && (c) <= 'i') \
8951 || ('j' <= (c) && (c) <= 'r') \
8952 || ('s' <= (c) && (c) <= 'z'))
8953 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8956 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8961 for (i = 0; i < 256; i++)
8962 if (XOR (islower (i), ISLOWER (i))
8963 || toupper (i) != TOUPPER (i))
8968 rm -f conftest$ac_exeext
8969 if { (ac_try="$ac_link"
8971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8972 *) ac_try_echo=$ac_try;;
8974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8975 (eval "$ac_link") 2>&5
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8979 { (case "(($ac_try" in
8980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8981 *) ac_try_echo=$ac_try;;
8983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8984 (eval "$ac_try") 2>&5
8986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8987 (exit $ac_status); }; }; then
8990 echo "$as_me: program exited with status $ac_status" >&5
8991 echo "$as_me: failed program was:" >&5
8992 sed 's/^/| /' conftest.$ac_ext >&5
8995 ac_cv_header_stdc=no
8997 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9003 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9004 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
9005 if test $ac_cv_header_stdc = yes; then
9007 cat >>confdefs.h <<\_ACEOF
9008 #define STDC_HEADERS 1
9037 for ac_header in fcntl.h unistd.h getopt.h sys/fcntl.h setjmp.h stdarg.h stddef.h sys/types.h sys/stat.h string.h ctype.h math.h stdio.h netinet/in.h inttypes.h sys/param.h stdint.h stdlib.h assert.h sys/time.h sys/resource.h sys/time.h readline.h readline/readline.h
9039 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9040 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9041 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9043 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9044 echo $ECHO_N "(cached) $ECHO_C" >&6
9046 ac_res=`eval echo '${'$as_ac_Header'}'`
9047 { echo "$as_me:$LINENO: result: $ac_res" >&5
9048 echo "${ECHO_T}$ac_res" >&6; }
9050 # Is the header compilable?
9051 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9052 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9053 cat >conftest.$ac_ext <<_ACEOF
9056 cat confdefs.h >>conftest.$ac_ext
9057 cat >>conftest.$ac_ext <<_ACEOF
9058 /* end confdefs.h. */
9059 $ac_includes_default
9060 #include <$ac_header>
9062 rm -f conftest.$ac_objext
9063 if { (ac_try="$ac_compile"
9065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9066 *) ac_try_echo=$ac_try;;
9068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9069 (eval "$ac_compile") 2>conftest.er1
9071 grep -v '^ *+' conftest.er1 >conftest.err
9073 cat conftest.err >&5
9074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9075 (exit $ac_status); } &&
9076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9077 { (case "(($ac_try" in
9078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9079 *) ac_try_echo=$ac_try;;
9081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9082 (eval "$ac_try") 2>&5
9084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9085 (exit $ac_status); }; } &&
9086 { ac_try='test -s conftest.$ac_objext'
9087 { (case "(($ac_try" in
9088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9089 *) ac_try_echo=$ac_try;;
9091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9092 (eval "$ac_try") 2>&5
9094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9095 (exit $ac_status); }; }; then
9096 ac_header_compiler=yes
9098 echo "$as_me: failed program was:" >&5
9099 sed 's/^/| /' conftest.$ac_ext >&5
9101 ac_header_compiler=no
9104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9105 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9106 echo "${ECHO_T}$ac_header_compiler" >&6; }
9108 # Is the header present?
9109 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9110 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9111 cat >conftest.$ac_ext <<_ACEOF
9114 cat confdefs.h >>conftest.$ac_ext
9115 cat >>conftest.$ac_ext <<_ACEOF
9116 /* end confdefs.h. */
9117 #include <$ac_header>
9119 if { (ac_try="$ac_cpp conftest.$ac_ext"
9121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9122 *) ac_try_echo=$ac_try;;
9124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9125 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9127 grep -v '^ *+' conftest.er1 >conftest.err
9129 cat conftest.err >&5
9130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131 (exit $ac_status); } >/dev/null; then
9132 if test -s conftest.err; then
9133 ac_cpp_err=$ac_c_preproc_warn_flag
9134 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9141 if test -z "$ac_cpp_err"; then
9142 ac_header_preproc=yes
9144 echo "$as_me: failed program was:" >&5
9145 sed 's/^/| /' conftest.$ac_ext >&5
9147 ac_header_preproc=no
9150 rm -f conftest.err conftest.$ac_ext
9151 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9152 echo "${ECHO_T}$ac_header_preproc" >&6; }
9154 # So? What about this header?
9155 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9157 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9158 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9159 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9160 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9161 ac_header_preproc=yes
9164 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9165 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9166 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9167 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9168 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9169 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9170 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9171 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9172 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9173 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9174 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9175 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9179 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9181 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9182 echo $ECHO_N "(cached) $ECHO_C" >&6
9184 eval "$as_ac_Header=\$ac_header_preproc"
9186 ac_res=`eval echo '${'$as_ac_Header'}'`
9187 { echo "$as_me:$LINENO: result: $ac_res" >&5
9188 echo "${ECHO_T}$ac_res" >&6; }
9191 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9192 cat >>confdefs.h <<_ACEOF
9193 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9201 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
9202 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
9203 if test "${ac_cv_c_const+set}" = set; then
9204 echo $ECHO_N "(cached) $ECHO_C" >&6
9206 cat >conftest.$ac_ext <<_ACEOF
9209 cat confdefs.h >>conftest.$ac_ext
9210 cat >>conftest.$ac_ext <<_ACEOF
9211 /* end confdefs.h. */
9216 /* FIXME: Include the comments suggested by Paul. */
9218 /* Ultrix mips cc rejects this. */
9219 typedef int charset[2];
9221 /* SunOS 4.1.1 cc rejects this. */
9222 char const *const *ccp;
9224 /* NEC SVR4.0.2 mips cc rejects this. */
9225 struct point {int x, y;};
9226 static struct point const zero = {0,0};
9227 /* AIX XL C 1.02.0.0 rejects this.
9228 It does not let you subtract one const X* pointer from another in
9229 an arm of an if-expression whose if-part is not a constant
9231 const char *g = "string";
9232 ccp = &g + (g ? g-g : 0);
9233 /* HPUX 7.0 cc rejects these. */
9236 ccp = (char const *const *) p;
9237 { /* SCO 3.2v4 cc rejects this. */
9239 char const *s = 0 ? (char *) 0 : (char const *) 0;
9244 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9246 const int *foo = &x[0];
9249 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9250 typedef const int *iptr;
9254 { /* AIX XL C 1.02.0.0 rejects this saying
9255 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9256 struct s { int j; const int *ap[3]; };
9257 struct s *b; b->j = 5;
9259 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9263 return !x[0] && !zero.x;
9270 rm -f conftest.$ac_objext
9271 if { (ac_try="$ac_compile"
9273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9274 *) ac_try_echo=$ac_try;;
9276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9277 (eval "$ac_compile") 2>conftest.er1
9279 grep -v '^ *+' conftest.er1 >conftest.err
9281 cat conftest.err >&5
9282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9283 (exit $ac_status); } &&
9284 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9285 { (case "(($ac_try" in
9286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9287 *) ac_try_echo=$ac_try;;
9289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9290 (eval "$ac_try") 2>&5
9292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9293 (exit $ac_status); }; } &&
9294 { ac_try='test -s conftest.$ac_objext'
9295 { (case "(($ac_try" in
9296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9297 *) ac_try_echo=$ac_try;;
9299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9300 (eval "$ac_try") 2>&5
9302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9303 (exit $ac_status); }; }; then
9306 echo "$as_me: failed program was:" >&5
9307 sed 's/^/| /' conftest.$ac_ext >&5
9312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9314 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
9315 echo "${ECHO_T}$ac_cv_c_const" >&6; }
9316 if test $ac_cv_c_const = no; then
9318 cat >>confdefs.h <<\_ACEOF
9324 { echo "$as_me:$LINENO: checking for off_t" >&5
9325 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
9326 if test "${ac_cv_type_off_t+set}" = set; then
9327 echo $ECHO_N "(cached) $ECHO_C" >&6
9329 cat >conftest.$ac_ext <<_ACEOF
9332 cat confdefs.h >>conftest.$ac_ext
9333 cat >>conftest.$ac_ext <<_ACEOF
9334 /* end confdefs.h. */
9335 $ac_includes_default
9336 typedef off_t ac__type_new_;
9340 if ((ac__type_new_ *) 0)
9342 if (sizeof (ac__type_new_))
9348 rm -f conftest.$ac_objext
9349 if { (ac_try="$ac_compile"
9351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9352 *) ac_try_echo=$ac_try;;
9354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9355 (eval "$ac_compile") 2>conftest.er1
9357 grep -v '^ *+' conftest.er1 >conftest.err
9359 cat conftest.err >&5
9360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9361 (exit $ac_status); } &&
9362 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9363 { (case "(($ac_try" in
9364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9365 *) ac_try_echo=$ac_try;;
9367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9368 (eval "$ac_try") 2>&5
9370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9371 (exit $ac_status); }; } &&
9372 { ac_try='test -s conftest.$ac_objext'
9373 { (case "(($ac_try" in
9374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9375 *) ac_try_echo=$ac_try;;
9377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9378 (eval "$ac_try") 2>&5
9380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9381 (exit $ac_status); }; }; then
9382 ac_cv_type_off_t=yes
9384 echo "$as_me: failed program was:" >&5
9385 sed 's/^/| /' conftest.$ac_ext >&5
9390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9392 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
9393 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
9394 if test $ac_cv_type_off_t = yes; then
9398 cat >>confdefs.h <<_ACEOF
9399 #define off_t long int
9404 { echo "$as_me:$LINENO: checking for size_t" >&5
9405 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
9406 if test "${ac_cv_type_size_t+set}" = set; then
9407 echo $ECHO_N "(cached) $ECHO_C" >&6
9409 cat >conftest.$ac_ext <<_ACEOF
9412 cat confdefs.h >>conftest.$ac_ext
9413 cat >>conftest.$ac_ext <<_ACEOF
9414 /* end confdefs.h. */
9415 $ac_includes_default
9416 typedef size_t ac__type_new_;
9420 if ((ac__type_new_ *) 0)
9422 if (sizeof (ac__type_new_))
9428 rm -f conftest.$ac_objext
9429 if { (ac_try="$ac_compile"
9431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9432 *) ac_try_echo=$ac_try;;
9434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9435 (eval "$ac_compile") 2>conftest.er1
9437 grep -v '^ *+' conftest.er1 >conftest.err
9439 cat conftest.err >&5
9440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9441 (exit $ac_status); } &&
9442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9443 { (case "(($ac_try" in
9444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9445 *) ac_try_echo=$ac_try;;
9447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9448 (eval "$ac_try") 2>&5
9450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9451 (exit $ac_status); }; } &&
9452 { ac_try='test -s conftest.$ac_objext'
9453 { (case "(($ac_try" in
9454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9455 *) ac_try_echo=$ac_try;;
9457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9458 (eval "$ac_try") 2>&5
9460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9461 (exit $ac_status); }; }; then
9462 ac_cv_type_size_t=yes
9464 echo "$as_me: failed program was:" >&5
9465 sed 's/^/| /' conftest.$ac_ext >&5
9467 ac_cv_type_size_t=no
9470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9472 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
9473 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
9474 if test $ac_cv_type_size_t = yes; then
9478 cat >>confdefs.h <<_ACEOF
9479 #define size_t unsigned int
9484 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
9485 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
9486 if test "${ac_cv_struct_tm+set}" = set; then
9487 echo $ECHO_N "(cached) $ECHO_C" >&6
9489 cat >conftest.$ac_ext <<_ACEOF
9492 cat confdefs.h >>conftest.$ac_ext
9493 cat >>conftest.$ac_ext <<_ACEOF
9494 /* end confdefs.h. */
9495 #include <sys/types.h>
9501 struct tm *tp; tp->tm_sec;
9506 rm -f conftest.$ac_objext
9507 if { (ac_try="$ac_compile"
9509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9510 *) ac_try_echo=$ac_try;;
9512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9513 (eval "$ac_compile") 2>conftest.er1
9515 grep -v '^ *+' conftest.er1 >conftest.err
9517 cat conftest.err >&5
9518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9519 (exit $ac_status); } &&
9520 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9521 { (case "(($ac_try" in
9522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9523 *) ac_try_echo=$ac_try;;
9525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9526 (eval "$ac_try") 2>&5
9528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9529 (exit $ac_status); }; } &&
9530 { ac_try='test -s conftest.$ac_objext'
9531 { (case "(($ac_try" in
9532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9533 *) ac_try_echo=$ac_try;;
9535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9536 (eval "$ac_try") 2>&5
9538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9539 (exit $ac_status); }; }; then
9540 ac_cv_struct_tm=time.h
9542 echo "$as_me: failed program was:" >&5
9543 sed 's/^/| /' conftest.$ac_ext >&5
9545 ac_cv_struct_tm=sys/time.h
9548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9550 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
9551 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
9552 if test $ac_cv_struct_tm = sys/time.h; then
9554 cat >>confdefs.h <<\_ACEOF
9555 #define TM_IN_SYS_TIME 1
9562 for ac_func in vprintf
9564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9565 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9567 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9568 echo $ECHO_N "(cached) $ECHO_C" >&6
9570 cat >conftest.$ac_ext <<_ACEOF
9573 cat confdefs.h >>conftest.$ac_ext
9574 cat >>conftest.$ac_ext <<_ACEOF
9575 /* end confdefs.h. */
9576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9578 #define $ac_func innocuous_$ac_func
9580 /* System header to define __stub macros and hopefully few prototypes,
9581 which can conflict with char $ac_func (); below.
9582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9583 <limits.h> exists even on freestanding compilers. */
9586 # include <limits.h>
9588 # include <assert.h>
9593 /* Override any GCC internal prototype to avoid an error.
9594 Use char because int might match the return type of a GCC
9595 builtin and then its argument prototype would still apply. */
9600 /* The GNU C library defines this for functions which it implements
9601 to always fail with ENOSYS. Some functions are actually named
9602 something starting with __ and the normal name is an alias. */
9603 #if defined __stub_$ac_func || defined __stub___$ac_func
9615 rm -f conftest.$ac_objext conftest$ac_exeext
9616 if { (ac_try="$ac_link"
9618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9619 *) ac_try_echo=$ac_try;;
9621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9622 (eval "$ac_link") 2>conftest.er1
9624 grep -v '^ *+' conftest.er1 >conftest.err
9626 cat conftest.err >&5
9627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9628 (exit $ac_status); } &&
9629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9630 { (case "(($ac_try" in
9631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9632 *) ac_try_echo=$ac_try;;
9634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9635 (eval "$ac_try") 2>&5
9637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638 (exit $ac_status); }; } &&
9639 { ac_try='test -s conftest$ac_exeext'
9640 { (case "(($ac_try" in
9641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9642 *) ac_try_echo=$ac_try;;
9644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9645 (eval "$ac_try") 2>&5
9647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9648 (exit $ac_status); }; }; then
9649 eval "$as_ac_var=yes"
9651 echo "$as_me: failed program was:" >&5
9652 sed 's/^/| /' conftest.$ac_ext >&5
9654 eval "$as_ac_var=no"
9657 rm -f core conftest.err conftest.$ac_objext \
9658 conftest$ac_exeext conftest.$ac_ext
9660 ac_res=`eval echo '${'$as_ac_var'}'`
9661 { echo "$as_me:$LINENO: result: $ac_res" >&5
9662 echo "${ECHO_T}$ac_res" >&6; }
9663 if test `eval echo '${'$as_ac_var'}'` = yes; then
9664 cat >>confdefs.h <<_ACEOF
9665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9668 { echo "$as_me:$LINENO: checking for _doprnt" >&5
9669 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
9670 if test "${ac_cv_func__doprnt+set}" = set; then
9671 echo $ECHO_N "(cached) $ECHO_C" >&6
9673 cat >conftest.$ac_ext <<_ACEOF
9676 cat confdefs.h >>conftest.$ac_ext
9677 cat >>conftest.$ac_ext <<_ACEOF
9678 /* end confdefs.h. */
9679 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
9680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9681 #define _doprnt innocuous__doprnt
9683 /* System header to define __stub macros and hopefully few prototypes,
9684 which can conflict with char _doprnt (); below.
9685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9686 <limits.h> exists even on freestanding compilers. */
9689 # include <limits.h>
9691 # include <assert.h>
9696 /* Override any GCC internal prototype to avoid an error.
9697 Use char because int might match the return type of a GCC
9698 builtin and then its argument prototype would still apply. */
9703 /* The GNU C library defines this for functions which it implements
9704 to always fail with ENOSYS. Some functions are actually named
9705 something starting with __ and the normal name is an alias. */
9706 #if defined __stub__doprnt || defined __stub____doprnt
9718 rm -f conftest.$ac_objext conftest$ac_exeext
9719 if { (ac_try="$ac_link"
9721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9722 *) ac_try_echo=$ac_try;;
9724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9725 (eval "$ac_link") 2>conftest.er1
9727 grep -v '^ *+' conftest.er1 >conftest.err
9729 cat conftest.err >&5
9730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9731 (exit $ac_status); } &&
9732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9733 { (case "(($ac_try" in
9734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9735 *) ac_try_echo=$ac_try;;
9737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9738 (eval "$ac_try") 2>&5
9740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9741 (exit $ac_status); }; } &&
9742 { ac_try='test -s conftest$ac_exeext'
9743 { (case "(($ac_try" in
9744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9745 *) ac_try_echo=$ac_try;;
9747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9748 (eval "$ac_try") 2>&5
9750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9751 (exit $ac_status); }; }; then
9752 ac_cv_func__doprnt=yes
9754 echo "$as_me: failed program was:" >&5
9755 sed 's/^/| /' conftest.$ac_ext >&5
9757 ac_cv_func__doprnt=no
9760 rm -f core conftest.err conftest.$ac_objext \
9761 conftest$ac_exeext conftest.$ac_ext
9763 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
9764 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
9765 if test $ac_cv_func__doprnt = yes; then
9767 cat >>confdefs.h <<\_ACEOF
9768 #define HAVE_DOPRNT 1
9790 for ac_func in strtod strtol snprintf htonl usleep vsprintf vsnprintf basename setjmp setpriority time gettimeofday getenv
9792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9793 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9795 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9796 echo $ECHO_N "(cached) $ECHO_C" >&6
9798 cat >conftest.$ac_ext <<_ACEOF
9801 cat confdefs.h >>conftest.$ac_ext
9802 cat >>conftest.$ac_ext <<_ACEOF
9803 /* end confdefs.h. */
9804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9806 #define $ac_func innocuous_$ac_func
9808 /* System header to define __stub macros and hopefully few prototypes,
9809 which can conflict with char $ac_func (); below.
9810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9811 <limits.h> exists even on freestanding compilers. */
9814 # include <limits.h>
9816 # include <assert.h>
9821 /* Override any GCC internal prototype to avoid an error.
9822 Use char because int might match the return type of a GCC
9823 builtin and then its argument prototype would still apply. */
9828 /* The GNU C library defines this for functions which it implements
9829 to always fail with ENOSYS. Some functions are actually named
9830 something starting with __ and the normal name is an alias. */
9831 #if defined __stub_$ac_func || defined __stub___$ac_func
9843 rm -f conftest.$ac_objext conftest$ac_exeext
9844 if { (ac_try="$ac_link"
9846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9847 *) ac_try_echo=$ac_try;;
9849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9850 (eval "$ac_link") 2>conftest.er1
9852 grep -v '^ *+' conftest.er1 >conftest.err
9854 cat conftest.err >&5
9855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9856 (exit $ac_status); } &&
9857 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9858 { (case "(($ac_try" in
9859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9860 *) ac_try_echo=$ac_try;;
9862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9863 (eval "$ac_try") 2>&5
9865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9866 (exit $ac_status); }; } &&
9867 { ac_try='test -s conftest$ac_exeext'
9868 { (case "(($ac_try" in
9869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9870 *) ac_try_echo=$ac_try;;
9872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9873 (eval "$ac_try") 2>&5
9875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9876 (exit $ac_status); }; }; then
9877 eval "$as_ac_var=yes"
9879 echo "$as_me: failed program was:" >&5
9880 sed 's/^/| /' conftest.$ac_ext >&5
9882 eval "$as_ac_var=no"
9885 rm -f core conftest.err conftest.$ac_objext \
9886 conftest$ac_exeext conftest.$ac_ext
9888 ac_res=`eval echo '${'$as_ac_var'}'`
9889 { echo "$as_me:$LINENO: result: $ac_res" >&5
9890 echo "${ECHO_T}$ac_res" >&6; }
9891 if test `eval echo '${'$as_ac_var'}'` = yes; then
9892 cat >>confdefs.h <<_ACEOF
9893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9899 { echo "$as_me:$LINENO: checking for basename" >&5
9900 echo $ECHO_N "checking for basename... $ECHO_C" >&6; }
9901 if test "${ac_cv_func_basename+set}" = set; then
9902 echo $ECHO_N "(cached) $ECHO_C" >&6
9904 cat >conftest.$ac_ext <<_ACEOF
9907 cat confdefs.h >>conftest.$ac_ext
9908 cat >>conftest.$ac_ext <<_ACEOF
9909 /* end confdefs.h. */
9910 /* Define basename to an innocuous variant, in case <limits.h> declares basename.
9911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9912 #define basename innocuous_basename
9914 /* System header to define __stub macros and hopefully few prototypes,
9915 which can conflict with char basename (); below.
9916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9917 <limits.h> exists even on freestanding compilers. */
9920 # include <limits.h>
9922 # include <assert.h>
9927 /* Override any GCC internal prototype to avoid an error.
9928 Use char because int might match the return type of a GCC
9929 builtin and then its argument prototype would still apply. */
9934 /* The GNU C library defines this for functions which it implements
9935 to always fail with ENOSYS. Some functions are actually named
9936 something starting with __ and the normal name is an alias. */
9937 #if defined __stub_basename || defined __stub___basename
9949 rm -f conftest.$ac_objext conftest$ac_exeext
9950 if { (ac_try="$ac_link"
9952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9953 *) ac_try_echo=$ac_try;;
9955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9956 (eval "$ac_link") 2>conftest.er1
9958 grep -v '^ *+' conftest.er1 >conftest.err
9960 cat conftest.err >&5
9961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9962 (exit $ac_status); } &&
9963 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9964 { (case "(($ac_try" in
9965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9966 *) ac_try_echo=$ac_try;;
9968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9969 (eval "$ac_try") 2>&5
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); }; } &&
9973 { ac_try='test -s conftest$ac_exeext'
9974 { (case "(($ac_try" in
9975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9976 *) ac_try_echo=$ac_try;;
9978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9979 (eval "$ac_try") 2>&5
9981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9982 (exit $ac_status); }; }; then
9983 ac_cv_func_basename=yes
9985 echo "$as_me: failed program was:" >&5
9986 sed 's/^/| /' conftest.$ac_ext >&5
9988 ac_cv_func_basename=no
9991 rm -f core conftest.err conftest.$ac_objext \
9992 conftest$ac_exeext conftest.$ac_ext
9994 { echo "$as_me:$LINENO: result: $ac_cv_func_basename" >&5
9995 echo "${ECHO_T}$ac_cv_func_basename" >&6; }
9997 { echo "$as_me:$LINENO: checking for setjmp" >&5
9998 echo $ECHO_N "checking for setjmp... $ECHO_C" >&6; }
9999 if test "${ac_cv_func_setjmp+set}" = set; then
10000 echo $ECHO_N "(cached) $ECHO_C" >&6
10002 cat >conftest.$ac_ext <<_ACEOF
10005 cat confdefs.h >>conftest.$ac_ext
10006 cat >>conftest.$ac_ext <<_ACEOF
10007 /* end confdefs.h. */
10008 /* Define setjmp to an innocuous variant, in case <limits.h> declares setjmp.
10009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10010 #define setjmp innocuous_setjmp
10012 /* System header to define __stub macros and hopefully few prototypes,
10013 which can conflict with char setjmp (); below.
10014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10015 <limits.h> exists even on freestanding compilers. */
10018 # include <limits.h>
10020 # include <assert.h>
10025 /* Override any GCC internal prototype to avoid an error.
10026 Use char because int might match the return type of a GCC
10027 builtin and then its argument prototype would still apply. */
10032 /* The GNU C library defines this for functions which it implements
10033 to always fail with ENOSYS. Some functions are actually named
10034 something starting with __ and the normal name is an alias. */
10035 #if defined __stub_setjmp || defined __stub___setjmp
10047 rm -f conftest.$ac_objext conftest$ac_exeext
10048 if { (ac_try="$ac_link"
10049 case "(($ac_try" in
10050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10051 *) ac_try_echo=$ac_try;;
10053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10054 (eval "$ac_link") 2>conftest.er1
10056 grep -v '^ *+' conftest.er1 >conftest.err
10058 cat conftest.err >&5
10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060 (exit $ac_status); } &&
10061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10062 { (case "(($ac_try" in
10063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10064 *) ac_try_echo=$ac_try;;
10066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10067 (eval "$ac_try") 2>&5
10069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10070 (exit $ac_status); }; } &&
10071 { ac_try='test -s conftest$ac_exeext'
10072 { (case "(($ac_try" in
10073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10074 *) ac_try_echo=$ac_try;;
10076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10077 (eval "$ac_try") 2>&5
10079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10080 (exit $ac_status); }; }; then
10081 ac_cv_func_setjmp=yes
10083 echo "$as_me: failed program was:" >&5
10084 sed 's/^/| /' conftest.$ac_ext >&5
10086 ac_cv_func_setjmp=no
10089 rm -f core conftest.err conftest.$ac_objext \
10090 conftest$ac_exeext conftest.$ac_ext
10092 { echo "$as_me:$LINENO: result: $ac_cv_func_setjmp" >&5
10093 echo "${ECHO_T}$ac_cv_func_setjmp" >&6; }
10095 { echo "$as_me:$LINENO: checking for setpriority" >&5
10096 echo $ECHO_N "checking for setpriority... $ECHO_C" >&6; }
10097 if test "${ac_cv_func_setpriority+set}" = set; then
10098 echo $ECHO_N "(cached) $ECHO_C" >&6
10100 cat >conftest.$ac_ext <<_ACEOF
10103 cat confdefs.h >>conftest.$ac_ext
10104 cat >>conftest.$ac_ext <<_ACEOF
10105 /* end confdefs.h. */
10106 /* Define setpriority to an innocuous variant, in case <limits.h> declares setpriority.
10107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10108 #define setpriority innocuous_setpriority
10110 /* System header to define __stub macros and hopefully few prototypes,
10111 which can conflict with char setpriority (); below.
10112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10113 <limits.h> exists even on freestanding compilers. */
10116 # include <limits.h>
10118 # include <assert.h>
10123 /* Override any GCC internal prototype to avoid an error.
10124 Use char because int might match the return type of a GCC
10125 builtin and then its argument prototype would still apply. */
10129 char setpriority ();
10130 /* The GNU C library defines this for functions which it implements
10131 to always fail with ENOSYS. Some functions are actually named
10132 something starting with __ and the normal name is an alias. */
10133 #if defined __stub_setpriority || defined __stub___setpriority
10140 return setpriority ();
10145 rm -f conftest.$ac_objext conftest$ac_exeext
10146 if { (ac_try="$ac_link"
10147 case "(($ac_try" in
10148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10149 *) ac_try_echo=$ac_try;;
10151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10152 (eval "$ac_link") 2>conftest.er1
10154 grep -v '^ *+' conftest.er1 >conftest.err
10156 cat conftest.err >&5
10157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10158 (exit $ac_status); } &&
10159 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10160 { (case "(($ac_try" in
10161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10162 *) ac_try_echo=$ac_try;;
10164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10165 (eval "$ac_try") 2>&5
10167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10168 (exit $ac_status); }; } &&
10169 { ac_try='test -s conftest$ac_exeext'
10170 { (case "(($ac_try" in
10171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10172 *) ac_try_echo=$ac_try;;
10174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10175 (eval "$ac_try") 2>&5
10177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10178 (exit $ac_status); }; }; then
10179 ac_cv_func_setpriority=yes
10181 echo "$as_me: failed program was:" >&5
10182 sed 's/^/| /' conftest.$ac_ext >&5
10184 ac_cv_func_setpriority=no
10187 rm -f core conftest.err conftest.$ac_objext \
10188 conftest$ac_exeext conftest.$ac_ext
10190 { echo "$as_me:$LINENO: result: $ac_cv_func_setpriority" >&5
10191 echo "${ECHO_T}$ac_cv_func_setpriority" >&6; }
10193 { echo "$as_me:$LINENO: checking for time" >&5
10194 echo $ECHO_N "checking for time... $ECHO_C" >&6; }
10195 if test "${ac_cv_func_time+set}" = set; then
10196 echo $ECHO_N "(cached) $ECHO_C" >&6
10198 cat >conftest.$ac_ext <<_ACEOF
10201 cat confdefs.h >>conftest.$ac_ext
10202 cat >>conftest.$ac_ext <<_ACEOF
10203 /* end confdefs.h. */
10204 /* Define time to an innocuous variant, in case <limits.h> declares time.
10205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10206 #define time innocuous_time
10208 /* System header to define __stub macros and hopefully few prototypes,
10209 which can conflict with char time (); below.
10210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10211 <limits.h> exists even on freestanding compilers. */
10214 # include <limits.h>
10216 # include <assert.h>
10221 /* Override any GCC internal prototype to avoid an error.
10222 Use char because int might match the return type of a GCC
10223 builtin and then its argument prototype would still apply. */
10228 /* The GNU C library defines this for functions which it implements
10229 to always fail with ENOSYS. Some functions are actually named
10230 something starting with __ and the normal name is an alias. */
10231 #if defined __stub_time || defined __stub___time
10243 rm -f conftest.$ac_objext conftest$ac_exeext
10244 if { (ac_try="$ac_link"
10245 case "(($ac_try" in
10246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10247 *) ac_try_echo=$ac_try;;
10249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10250 (eval "$ac_link") 2>conftest.er1
10252 grep -v '^ *+' conftest.er1 >conftest.err
10254 cat conftest.err >&5
10255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10256 (exit $ac_status); } &&
10257 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10258 { (case "(($ac_try" in
10259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10260 *) ac_try_echo=$ac_try;;
10262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10263 (eval "$ac_try") 2>&5
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); }; } &&
10267 { ac_try='test -s conftest$ac_exeext'
10268 { (case "(($ac_try" in
10269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10270 *) ac_try_echo=$ac_try;;
10272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10273 (eval "$ac_try") 2>&5
10275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10276 (exit $ac_status); }; }; then
10277 ac_cv_func_time=yes
10279 echo "$as_me: failed program was:" >&5
10280 sed 's/^/| /' conftest.$ac_ext >&5
10285 rm -f core conftest.err conftest.$ac_objext \
10286 conftest$ac_exeext conftest.$ac_ext
10288 { echo "$as_me:$LINENO: result: $ac_cv_func_time" >&5
10289 echo "${ECHO_T}$ac_cv_func_time" >&6; }
10291 { echo "$as_me:$LINENO: checking for gettimeofday" >&5
10292 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6; }
10293 if test "${ac_cv_func_gettimeofday+set}" = set; then
10294 echo $ECHO_N "(cached) $ECHO_C" >&6
10296 cat >conftest.$ac_ext <<_ACEOF
10299 cat confdefs.h >>conftest.$ac_ext
10300 cat >>conftest.$ac_ext <<_ACEOF
10301 /* end confdefs.h. */
10302 /* Define gettimeofday to an innocuous variant, in case <limits.h> declares gettimeofday.
10303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10304 #define gettimeofday innocuous_gettimeofday
10306 /* System header to define __stub macros and hopefully few prototypes,
10307 which can conflict with char gettimeofday (); below.
10308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10309 <limits.h> exists even on freestanding compilers. */
10312 # include <limits.h>
10314 # include <assert.h>
10317 #undef gettimeofday
10319 /* Override any GCC internal prototype to avoid an error.
10320 Use char because int might match the return type of a GCC
10321 builtin and then its argument prototype would still apply. */
10325 char gettimeofday ();
10326 /* The GNU C library defines this for functions which it implements
10327 to always fail with ENOSYS. Some functions are actually named
10328 something starting with __ and the normal name is an alias. */
10329 #if defined __stub_gettimeofday || defined __stub___gettimeofday
10336 return gettimeofday ();
10341 rm -f conftest.$ac_objext conftest$ac_exeext
10342 if { (ac_try="$ac_link"
10343 case "(($ac_try" in
10344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10345 *) ac_try_echo=$ac_try;;
10347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10348 (eval "$ac_link") 2>conftest.er1
10350 grep -v '^ *+' conftest.er1 >conftest.err
10352 cat conftest.err >&5
10353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10354 (exit $ac_status); } &&
10355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10356 { (case "(($ac_try" in
10357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10358 *) ac_try_echo=$ac_try;;
10360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10361 (eval "$ac_try") 2>&5
10363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364 (exit $ac_status); }; } &&
10365 { ac_try='test -s conftest$ac_exeext'
10366 { (case "(($ac_try" in
10367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10368 *) ac_try_echo=$ac_try;;
10370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10371 (eval "$ac_try") 2>&5
10373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10374 (exit $ac_status); }; }; then
10375 ac_cv_func_gettimeofday=yes
10377 echo "$as_me: failed program was:" >&5
10378 sed 's/^/| /' conftest.$ac_ext >&5
10380 ac_cv_func_gettimeofday=no
10383 rm -f core conftest.err conftest.$ac_objext \
10384 conftest$ac_exeext conftest.$ac_ext
10386 { echo "$as_me:$LINENO: result: $ac_cv_func_gettimeofday" >&5
10387 echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6; }
10389 { echo "$as_me:$LINENO: checking for getopt" >&5
10390 echo $ECHO_N "checking for getopt... $ECHO_C" >&6; }
10391 if test "${ac_cv_func_getopt+set}" = set; then
10392 echo $ECHO_N "(cached) $ECHO_C" >&6
10394 cat >conftest.$ac_ext <<_ACEOF
10397 cat confdefs.h >>conftest.$ac_ext
10398 cat >>conftest.$ac_ext <<_ACEOF
10399 /* end confdefs.h. */
10400 /* Define getopt to an innocuous variant, in case <limits.h> declares getopt.
10401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10402 #define getopt innocuous_getopt
10404 /* System header to define __stub macros and hopefully few prototypes,
10405 which can conflict with char getopt (); below.
10406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10407 <limits.h> exists even on freestanding compilers. */
10410 # include <limits.h>
10412 # include <assert.h>
10417 /* Override any GCC internal prototype to avoid an error.
10418 Use char because int might match the return type of a GCC
10419 builtin and then its argument prototype would still apply. */
10424 /* The GNU C library defines this for functions which it implements
10425 to always fail with ENOSYS. Some functions are actually named
10426 something starting with __ and the normal name is an alias. */
10427 #if defined __stub_getopt || defined __stub___getopt
10439 rm -f conftest.$ac_objext conftest$ac_exeext
10440 if { (ac_try="$ac_link"
10441 case "(($ac_try" in
10442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10443 *) ac_try_echo=$ac_try;;
10445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10446 (eval "$ac_link") 2>conftest.er1
10448 grep -v '^ *+' conftest.er1 >conftest.err
10450 cat conftest.err >&5
10451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10452 (exit $ac_status); } &&
10453 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10454 { (case "(($ac_try" in
10455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10456 *) ac_try_echo=$ac_try;;
10458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10459 (eval "$ac_try") 2>&5
10461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10462 (exit $ac_status); }; } &&
10463 { ac_try='test -s conftest$ac_exeext'
10464 { (case "(($ac_try" in
10465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10466 *) ac_try_echo=$ac_try;;
10468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10469 (eval "$ac_try") 2>&5
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 (exit $ac_status); }; }; then
10473 ac_cv_func_getopt=yes
10475 echo "$as_me: failed program was:" >&5
10476 sed 's/^/| /' conftest.$ac_ext >&5
10478 ac_cv_func_getopt=no
10481 rm -f core conftest.err conftest.$ac_objext \
10482 conftest$ac_exeext conftest.$ac_ext
10484 { echo "$as_me:$LINENO: result: $ac_cv_func_getopt" >&5
10485 echo "${ECHO_T}$ac_cv_func_getopt" >&6; }
10486 if test $ac_cv_func_getopt = yes; then
10493 if test "${OSTYPE}" = "cygwin" ; then
10496 { echo "$as_me:$LINENO: checking for getopt_long" >&5
10497 echo $ECHO_N "checking for getopt_long... $ECHO_C" >&6; }
10498 if test "${ac_cv_func_getopt_long+set}" = set; then
10499 echo $ECHO_N "(cached) $ECHO_C" >&6
10501 cat >conftest.$ac_ext <<_ACEOF
10504 cat confdefs.h >>conftest.$ac_ext
10505 cat >>conftest.$ac_ext <<_ACEOF
10506 /* end confdefs.h. */
10507 /* Define getopt_long to an innocuous variant, in case <limits.h> declares getopt_long.
10508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10509 #define getopt_long innocuous_getopt_long
10511 /* System header to define __stub macros and hopefully few prototypes,
10512 which can conflict with char getopt_long (); below.
10513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10514 <limits.h> exists even on freestanding compilers. */
10517 # include <limits.h>
10519 # include <assert.h>
10524 /* Override any GCC internal prototype to avoid an error.
10525 Use char because int might match the return type of a GCC
10526 builtin and then its argument prototype would still apply. */
10530 char getopt_long ();
10531 /* The GNU C library defines this for functions which it implements
10532 to always fail with ENOSYS. Some functions are actually named
10533 something starting with __ and the normal name is an alias. */
10534 #if defined __stub_getopt_long || defined __stub___getopt_long
10541 return getopt_long ();
10546 rm -f conftest.$ac_objext conftest$ac_exeext
10547 if { (ac_try="$ac_link"
10548 case "(($ac_try" in
10549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10550 *) ac_try_echo=$ac_try;;
10552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10553 (eval "$ac_link") 2>conftest.er1
10555 grep -v '^ *+' conftest.er1 >conftest.err
10557 cat conftest.err >&5
10558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10559 (exit $ac_status); } &&
10560 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10561 { (case "(($ac_try" in
10562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10563 *) ac_try_echo=$ac_try;;
10565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10566 (eval "$ac_try") 2>&5
10568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10569 (exit $ac_status); }; } &&
10570 { ac_try='test -s conftest$ac_exeext'
10571 { (case "(($ac_try" in
10572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10573 *) ac_try_echo=$ac_try;;
10575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10576 (eval "$ac_try") 2>&5
10578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10579 (exit $ac_status); }; }; then
10580 ac_cv_func_getopt_long=yes
10582 echo "$as_me: failed program was:" >&5
10583 sed 's/^/| /' conftest.$ac_ext >&5
10585 ac_cv_func_getopt_long=no
10588 rm -f core conftest.err conftest.$ac_objext \
10589 conftest$ac_exeext conftest.$ac_ext
10591 { echo "$as_me:$LINENO: result: $ac_cv_func_getopt_long" >&5
10592 echo "${ECHO_T}$ac_cv_func_getopt_long" >&6; }
10593 if test $ac_cv_func_getopt_long = yes; then
10601 if test "${getopt_long}" = "false" ; then
10602 my_includes="$my_includes -I../getopt"
10604 cat >>confdefs.h <<\_ACEOF
10605 #define HAVE_GETOPT_LONG 1
10608 ctlibs_base="$ctlibs_base -lgetopt"
10609 LDFLAGS="$LDFLAGS -L../getopt"
10614 if test "$GETOPTLONG"="1"; then
10615 INCLUDED_GETOPT_LONG_TRUE=
10616 INCLUDED_GETOPT_LONG_FALSE='#'
10618 INCLUDED_GETOPT_LONG_TRUE='#'
10619 INCLUDED_GETOPT_LONG_FALSE=
10623 if test "${readline}" = "true" ; then
10624 ctlibs_base="$ctlibs_base -lreadline"
10625 if test "${ncurses}" = "true"; then
10626 ctlibs_base="$ctlibs_base -lncurses"
10627 elif test "${curses}" = "true"; then
10628 ctlibs_base="$ctlibs_base -lcurses"
10632 { echo "$as_me:$LINENO: checking debug" >&5
10633 echo $ECHO_N "checking debug... $ECHO_C" >&6; }
10634 # Check whether --enable-debug was given.
10635 if test "${enable_debug+set}" = set; then
10636 enableval=$enable_debug; case "${enableval}" in
10638 { echo "$as_me:$LINENO: result: yes" >&5
10639 echo "${ECHO_T}yes" >&6; }
10642 { echo "$as_me:$LINENO: result: no" >&5
10643 echo "${ECHO_T}no" >&6; }
10645 *) { echo "$as_me:$LINENO: result: bad value ${enableval} for --enable-debug" >&5
10646 echo "${ECHO_T}bad value ${enableval} for --enable-debug" >&6; }
10650 debug=false; { echo "$as_me:$LINENO: result: no" >&5
10651 echo "${ECHO_T}no" >&6; }
10656 if test "$debug" = "true"; then
10665 if test "$datadir" != "" ; then
10666 CPPFLAGS="$CPPFLAGS -DDATADIR=\"\\\"$datadir\\\"\""
10669 if test "$debug" = "true" ; then
10670 CFLAGS="$CFLAGS -g -DDEBUG"
10672 cat >>confdefs.h <<\_ACEOF
10677 CFLAGS="$CFLAGS -O2 -DNDEBUG -fomit-frame-pointer"
10679 cat >>confdefs.h <<\_ACEOF
10685 if test "${pthread}" = "true" ; then
10687 cat >>confdefs.h <<\_ACEOF
10688 #define HAVE_WXTHREADS 1
10693 { echo "$as_me:$LINENO: checking sstream" >&5
10694 echo $ECHO_N "checking sstream... $ECHO_C" >&6; }
10695 if test -f /usr/include/sstream || test -f /usr/include/g++/sstream ||
10696 test -f /usr/include/g++-2/sstream || test -f /usr/include/g++-3/sstream ||
10697 test -f /usr/include/gcc/darwin/3.1/g++-v3/sstream ; then
10699 cat >>confdefs.h <<\_ACEOF
10700 #define HAVE_SSTREAM 1
10703 { echo "$as_me:$LINENO: result: yes" >&5
10704 echo "${ECHO_T}yes" >&6; }
10706 { echo "$as_me:$LINENO: result: no" >&5
10707 echo "${ECHO_T}no" >&6; }
10711 CFLAGS="$CFLAGS -Wall"
10712 { echo "$as_me:$LINENO: checking whether to enable verbose warnings" >&5
10713 echo $ECHO_N "checking whether to enable verbose warnings... $ECHO_C" >&6; }
10714 # Check whether --enable-verbose-warnings was given.
10715 if test "${enable_verbose_warnings+set}" = set; then
10716 enableval=$enable_verbose_warnings; case "$enableval" in
10718 { echo "$as_me:$LINENO: result: yes" >&5
10719 echo "${ECHO_T}yes" >&6; }
10720 CFLAGS="$CFLAGS -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wstrict-prototypes -pedantic -Wredundant-decls"
10723 { echo "$as_me:$LINENO: result: no" >&5
10724 echo "${ECHO_T}no" >&6; }
10728 { echo "$as_me:$LINENO: result: no" >&5
10729 echo "${ECHO_T}no" >&6; }
10734 { echo "$as_me:$LINENO: checking static executables" >&5
10735 echo $ECHO_N "checking static executables... $ECHO_C" >&6; }
10736 # Check whether --enable-static was given.
10737 if test "${enable_static+set}" = set; then
10738 enableval=$enable_static; case "$enableval" in
10740 { echo "$as_me:$LINENO: result: yes" >&5
10741 echo "${ECHO_T}yes" >&6; }
10742 CFLAGS="$CFLAGS --static"
10745 { echo "$as_me:$LINENO: result: no" >&5
10746 echo "${ECHO_T}no" >&6; }
10750 { echo "$as_me:$LINENO: result: no" >&5
10751 echo "${ECHO_T}no" >&6; }
10757 # Check whether --with-lam was given.
10758 if test "${with_lam+set}" = set; then
10759 withval=$with_lam; if test "$withval" != "no" ; then
10766 if test "$withval" != "no" ; then
10767 if test "$prefix" != "NONE" ; then
10768 trylamdir="$trylamdir $prefix"
10771 { echo "$as_me:$LINENO: checking for LAM MPI installation" >&5
10772 echo $ECHO_N "checking for LAM MPI installation... $ECHO_C" >&6; }
10773 for testlamdir in "." $trylamdir /usr/local /usr/local/lam /usr /usr/lam /opt /opt/lam ; do
10774 if test -x "$testlamdir/bin/hcp" ; then
10775 if test "$testlamdir" != "/usr"; then
10776 LDFLAGS="$LDFLAGS -L$testlamdir/lib"
10777 CFLAGS="$CFLAGS -I$testlamdir/include"
10779 CFLAGS="$CFLAGS -I$testlamdir/include/mpi2c++"
10780 lamdir="$testlamdir"
10787 { echo "$as_me:$LINENO: result: $lamdir" >&5
10788 echo "${ECHO_T}$lamdir" >&6; }
10790 { echo "$as_me:$LINENO: result: no" >&5
10791 echo "${ECHO_T}no" >&6; }
10796 # Check whether --with-ctn was given.
10797 if test "${with_ctn+set}" = set; then
10798 withval=$with_ctn; if test "$withval" != "no" ; then
10805 if test "$withval" == "no" -o "$withval" == "NONE" ; then
10806 { echo "$as_me:$LINENO: checking for CTN DICOM installation" >&5
10807 echo $ECHO_N "checking for CTN DICOM installation... $ECHO_C" >&6; }
10808 { echo "$as_me:$LINENO: result: disabled" >&5
10809 echo "${ECHO_T}disabled" >&6; }
10811 { echo "$as_me:$LINENO: checking for CTN DICOM installation" >&5
10812 echo $ECHO_N "checking for CTN DICOM installation... $ECHO_C" >&6; }
10813 for testctndir in $tryctndir/lib /usr/local/lib /usr/local/ctn/lib /usr/lib /usr/ctn/lib /usr/lib/ctn /opt/ctn/lib ; do
10814 if test -f "$testctndir/libctn.a" ; then
10815 LDFLAGS="$LDFLAGS -L$testctndir"
10820 for testctndir in $tryctndir/include /usr/local/include /usr/local/ctn/include /usr/include /usr/include/ctn /usr/ctn/include /opt/ctn/include ; do
10821 if test -f "$testctndir/ctn_os.h" ; then
10822 CFLAGS="$CFLAGS -I$testctndir"
10827 if test "$ctnlib" == "true" -a "$ctninclude" == "true" ; then
10830 cat >>confdefs.h <<\_ACEOF
10831 #define HAVE_CTN_DICOM 1
10834 { echo "$as_me:$LINENO: result: yes" >&5
10835 echo "${ECHO_T}yes" >&6; }
10837 { echo "$as_me:$LINENO: result: no" >&5
10838 echo "${ECHO_T}no" >&6; }
10842 { echo "$as_me:$LINENO: checking for CPU specification" >&5
10843 echo $ECHO_N "checking for CPU specification... $ECHO_C" >&6; }
10845 # Check whether --with-mcpu was given.
10846 if test "${with_mcpu+set}" = set; then
10847 withval=$with_mcpu;
10851 if test "$withval" == "no" -o "$withval" == "yes" -o "$withval" == ""; then
10852 { echo "$as_me:$LINENO: result: no" >&5
10853 echo "${ECHO_T}no" >&6; }
10855 { echo "$as_me:$LINENO: result: $withval" >&5
10856 echo "${ECHO_T}$withval" >&6; }
10857 CFLAGS="$CFLAGS -mcpu=$withval"
10860 { echo "$as_me:$LINENO: checking for web access" >&5
10861 echo $ECHO_N "checking for web access... $ECHO_C" >&6; }
10863 # Check whether --with-cgibin-dir was given.
10864 if test "${with_cgibin_dir+set}" = set; then
10865 withval=$with_cgibin_dir; cgibindir=$withval ;
10870 # Check whether --with-cgibin-url was given.
10871 if test "${with_cgibin_url+set}" = set; then
10872 withval=$with_cgibin_url; cgibinurl=$withval ;
10877 # Check whether --with-webdata-dir was given.
10878 if test "${with_webdata_dir+set}" = set; then
10879 withval=$with_webdata_dir; webdatadir=$withval ;
10884 # Check whether --with-webdata-url was given.
10885 if test "${with_webdata_url+set}" = set; then
10886 withval=$with_webdata_url; webdataurl=$withval ;
10891 # Check whether --with-html-dir was given.
10892 if test "${with_html_dir+set}" = set; then
10893 withval=$with_html_dir; htmldir=$withval ;
10897 if test -n "$cgibindir" -o -n "$cgibinurl" ; then
10898 cgiprograms="ctsim.cgi ctsim.conf"
10902 if test -n "$htmldir" ; then
10903 htmldata=simulate.html
10908 if test -n "$htmldir"; then
10917 if test -n "$cgibindir" -o -n "$cgibinurl" -o -n "$webdatadir" -o -n "$webdataurl" -o -n "$htmldir" ; then
10920 { echo "$as_me:$LINENO: result: yes" >&5
10921 echo "${ECHO_T}yes" >&6; }
10922 if test -z "$cgibindir" ; then
10923 { { echo "$as_me:$LINENO: error: --with-cgibin-dir not set for web access" >&5
10924 echo "$as_me: error: --with-cgibin-dir not set for web access" >&2;}
10925 { (exit 1); exit 1; }; }
10926 elif test -z "$cgibinurl" ; then
10927 { { echo "$as_me:$LINENO: error: --with-cgibin-url not set for web access" >&5
10928 echo "$as_me: error: --with-cgibin-url not set for web access" >&2;}
10929 { (exit 1); exit 1; }; }
10930 elif test -z "$webdatadir" ; then
10931 { { echo "$as_me:$LINENO: error: --with-webdata-dir not set for web access" >&5
10932 echo "$as_me: error: --with-webdata-dir not set for web access" >&2;}
10933 { (exit 1); exit 1; }; }
10934 elif test -z "$webdataurl" ; then
10935 { { echo "$as_me:$LINENO: error: --with-webdata-url not set for web access" >&5
10936 echo "$as_me: error: --with-webdata-url not set for web access" >&2;}
10937 { (exit 1); exit 1; }; }
10938 elif test -z "$htmldir" ; then
10939 { { echo "$as_me:$LINENO: error: --with-html-dir not set for web access" >&5
10940 echo "$as_me: error: --with-html-dir not set for web access" >&2;}
10941 { (exit 1); exit 1; }; }
10944 { echo "$as_me:$LINENO: result: no" >&5
10945 echo "${ECHO_T}no" >&6; }
10950 if test -n "$lamdir"; then
10959 { echo "$as_me:$LINENO: checking for X" >&5
10960 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
10963 # Check whether --with-x was given.
10964 if test "${with_x+set}" = set; then
10968 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10969 if test "x$with_x" = xno; then
10970 # The user explicitly disabled X.
10973 case $x_includes,$x_libraries in #(
10974 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
10975 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
10976 { (exit 1); exit 1; }; };; #(
10977 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
10978 echo $ECHO_N "(cached) $ECHO_C" >&6
10980 # One or both of the vars are not set, and there is no cached value.
10981 ac_x_includes=no ac_x_libraries=no
10982 rm -f -r conftest.dir
10983 if mkdir conftest.dir; then
10985 cat >Imakefile <<'_ACEOF'
10987 @echo incroot='${INCROOT}'
10989 @echo usrlibdir='${USRLIBDIR}'
10991 @echo libdir='${LIBDIR}'
10993 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10994 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10995 for ac_var in incroot usrlibdir libdir; do
10996 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10998 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10999 for ac_extension in a so sl; do
11000 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11001 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11002 ac_im_usrlibdir=$ac_im_libdir; break
11005 # Screen out bogus values from the imake configuration. They are
11006 # bogus both because they are the default anyway, and because
11007 # using them would break gcc on systems where it needs fixed includes.
11008 case $ac_im_incroot in
11009 /usr/include) ac_x_includes= ;;
11010 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
11012 case $ac_im_usrlibdir in
11013 /usr/lib | /lib) ;;
11014 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
11018 rm -f -r conftest.dir
11021 # Standard set of common directories for X headers.
11022 # Check X11 before X11Rn because it is often a symlink to the current release.
11034 /usr/local/X11/include
11035 /usr/local/X11R6/include
11036 /usr/local/X11R5/include
11037 /usr/local/X11R4/include
11039 /usr/local/include/X11
11040 /usr/local/include/X11R6
11041 /usr/local/include/X11R5
11042 /usr/local/include/X11R4
11046 /usr/XFree86/include/X11
11050 /usr/unsupported/include
11051 /usr/athena/include
11052 /usr/local/x11r5/include
11053 /usr/lpp/Xamples/include
11055 /usr/openwin/include
11056 /usr/openwin/share/include'
11058 if test "$ac_x_includes" = no; then
11059 # Guess where to find include files, by looking for Xlib.h.
11060 # First, try using that file with no special directory specified.
11061 cat >conftest.$ac_ext <<_ACEOF
11064 cat confdefs.h >>conftest.$ac_ext
11065 cat >>conftest.$ac_ext <<_ACEOF
11066 /* end confdefs.h. */
11067 #include <X11/Xlib.h>
11069 if { (ac_try="$ac_cpp conftest.$ac_ext"
11070 case "(($ac_try" in
11071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11072 *) ac_try_echo=$ac_try;;
11074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11075 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11077 grep -v '^ *+' conftest.er1 >conftest.err
11079 cat conftest.err >&5
11080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081 (exit $ac_status); } >/dev/null; then
11082 if test -s conftest.err; then
11083 ac_cpp_err=$ac_c_preproc_warn_flag
11084 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11091 if test -z "$ac_cpp_err"; then
11092 # We can compile using X headers with no special include directory.
11095 echo "$as_me: failed program was:" >&5
11096 sed 's/^/| /' conftest.$ac_ext >&5
11098 for ac_dir in $ac_x_header_dirs; do
11099 if test -r "$ac_dir/X11/Xlib.h"; then
11100 ac_x_includes=$ac_dir
11106 rm -f conftest.err conftest.$ac_ext
11107 fi # $ac_x_includes = no
11109 if test "$ac_x_libraries" = no; then
11110 # Check for the libraries.
11111 # See if we find them without any special options.
11112 # Don't add to $LIBS permanently.
11115 cat >conftest.$ac_ext <<_ACEOF
11118 cat confdefs.h >>conftest.$ac_ext
11119 cat >>conftest.$ac_ext <<_ACEOF
11120 /* end confdefs.h. */
11121 #include <X11/Xlib.h>
11130 rm -f conftest.$ac_objext conftest$ac_exeext
11131 if { (ac_try="$ac_link"
11132 case "(($ac_try" in
11133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11134 *) ac_try_echo=$ac_try;;
11136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11137 (eval "$ac_link") 2>conftest.er1
11139 grep -v '^ *+' conftest.er1 >conftest.err
11141 cat conftest.err >&5
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); } &&
11144 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11145 { (case "(($ac_try" in
11146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11147 *) ac_try_echo=$ac_try;;
11149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11150 (eval "$ac_try") 2>&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); }; } &&
11154 { ac_try='test -s conftest$ac_exeext'
11155 { (case "(($ac_try" in
11156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11157 *) ac_try_echo=$ac_try;;
11159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11160 (eval "$ac_try") 2>&5
11162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11163 (exit $ac_status); }; }; then
11165 # We can link X programs with no special library path.
11168 echo "$as_me: failed program was:" >&5
11169 sed 's/^/| /' conftest.$ac_ext >&5
11172 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11174 # Don't even attempt the hair of trying to link an X program!
11175 for ac_extension in a so sl; do
11176 if test -r "$ac_dir/libXt.$ac_extension"; then
11177 ac_x_libraries=$ac_dir
11184 rm -f core conftest.err conftest.$ac_objext \
11185 conftest$ac_exeext conftest.$ac_ext
11186 fi # $ac_x_libraries = no
11188 case $ac_x_includes,$ac_x_libraries in #(
11189 no,* | *,no | *\'*)
11190 # Didn't find X, or a directory has "'" in its name.
11191 ac_cv_have_x="have_x=no";; #(
11193 # Record where we found X for the cache.
11194 ac_cv_have_x="have_x=yes\
11195 ac_x_includes='$ac_x_includes'\
11196 ac_x_libraries='$ac_x_libraries'"
11202 eval "$ac_cv_have_x"
11205 if test "$have_x" != yes; then
11206 { echo "$as_me:$LINENO: result: $have_x" >&5
11207 echo "${ECHO_T}$have_x" >&6; }
11210 # If each of the values was on the command line, it overrides each guess.
11211 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11212 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11213 # Update the cache value to reflect the command line values.
11214 ac_cv_have_x="have_x=yes\
11215 ac_x_includes='$x_includes'\
11216 ac_x_libraries='$x_libraries'"
11217 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
11218 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
11221 if test "$no_x" = yes; then
11222 # Not all programs may use this symbol, but it does not hurt to define it.
11224 cat >>confdefs.h <<\_ACEOF
11225 #define X_DISPLAY_MISSING 1
11228 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11230 if test -n "$x_includes"; then
11231 X_CFLAGS="$X_CFLAGS -I$x_includes"
11234 # It would also be nice to do this for all -L options, not just this one.
11235 if test -n "$x_libraries"; then
11236 X_LIBS="$X_LIBS -L$x_libraries"
11237 # For Solaris; some versions of Sun CC require a space after -R and
11238 # others require no space. Words are not sufficient . . . .
11239 case `(uname -sr) 2>/dev/null` in
11241 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
11242 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
11243 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11244 cat >conftest.$ac_ext <<_ACEOF
11247 cat confdefs.h >>conftest.$ac_ext
11248 cat >>conftest.$ac_ext <<_ACEOF
11249 /* end confdefs.h. */
11259 rm -f conftest.$ac_objext conftest$ac_exeext
11260 if { (ac_try="$ac_link"
11261 case "(($ac_try" in
11262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11263 *) ac_try_echo=$ac_try;;
11265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11266 (eval "$ac_link") 2>conftest.er1
11268 grep -v '^ *+' conftest.er1 >conftest.err
11270 cat conftest.err >&5
11271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11272 (exit $ac_status); } &&
11273 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11274 { (case "(($ac_try" in
11275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11276 *) ac_try_echo=$ac_try;;
11278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11279 (eval "$ac_try") 2>&5
11281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11282 (exit $ac_status); }; } &&
11283 { ac_try='test -s conftest$ac_exeext'
11284 { (case "(($ac_try" in
11285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11286 *) ac_try_echo=$ac_try;;
11288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11289 (eval "$ac_try") 2>&5
11291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11292 (exit $ac_status); }; }; then
11295 echo "$as_me: failed program was:" >&5
11296 sed 's/^/| /' conftest.$ac_ext >&5
11301 rm -f core conftest.err conftest.$ac_objext \
11302 conftest$ac_exeext conftest.$ac_ext
11303 if test $ac_R_nospace = yes; then
11304 { echo "$as_me:$LINENO: result: no" >&5
11305 echo "${ECHO_T}no" >&6; }
11306 X_LIBS="$X_LIBS -R$x_libraries"
11308 LIBS="$ac_xsave_LIBS -R $x_libraries"
11309 cat >conftest.$ac_ext <<_ACEOF
11312 cat confdefs.h >>conftest.$ac_ext
11313 cat >>conftest.$ac_ext <<_ACEOF
11314 /* end confdefs.h. */
11324 rm -f conftest.$ac_objext conftest$ac_exeext
11325 if { (ac_try="$ac_link"
11326 case "(($ac_try" in
11327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11328 *) ac_try_echo=$ac_try;;
11330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11331 (eval "$ac_link") 2>conftest.er1
11333 grep -v '^ *+' conftest.er1 >conftest.err
11335 cat conftest.err >&5
11336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11337 (exit $ac_status); } &&
11338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11339 { (case "(($ac_try" in
11340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11341 *) ac_try_echo=$ac_try;;
11343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11344 (eval "$ac_try") 2>&5
11346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11347 (exit $ac_status); }; } &&
11348 { ac_try='test -s conftest$ac_exeext'
11349 { (case "(($ac_try" in
11350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11351 *) ac_try_echo=$ac_try;;
11353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11354 (eval "$ac_try") 2>&5
11356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11357 (exit $ac_status); }; }; then
11360 echo "$as_me: failed program was:" >&5
11361 sed 's/^/| /' conftest.$ac_ext >&5
11366 rm -f core conftest.err conftest.$ac_objext \
11367 conftest$ac_exeext conftest.$ac_ext
11368 if test $ac_R_space = yes; then
11369 { echo "$as_me:$LINENO: result: yes" >&5
11370 echo "${ECHO_T}yes" >&6; }
11371 X_LIBS="$X_LIBS -R $x_libraries"
11373 { echo "$as_me:$LINENO: result: neither works" >&5
11374 echo "${ECHO_T}neither works" >&6; }
11377 LIBS=$ac_xsave_LIBS
11381 # Check for system-dependent libraries X programs must link with.
11382 # Do this before checking for the system-independent R6 libraries
11383 # (-lICE), since we may need -lsocket or whatever for X linking.
11385 if test "$ISC" = yes; then
11386 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11388 # Martyn Johnson says this is needed for Ultrix, if the X
11389 # libraries were built with DECnet support. And Karl Berry says
11390 # the Alpha needs dnet_stub (dnet does not exist).
11391 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11392 cat >conftest.$ac_ext <<_ACEOF
11395 cat confdefs.h >>conftest.$ac_ext
11396 cat >>conftest.$ac_ext <<_ACEOF
11397 /* end confdefs.h. */
11399 /* Override any GCC internal prototype to avoid an error.
11400 Use char because int might match the return type of a GCC
11401 builtin and then its argument prototype would still apply. */
11405 char XOpenDisplay ();
11409 return XOpenDisplay ();
11414 rm -f conftest.$ac_objext conftest$ac_exeext
11415 if { (ac_try="$ac_link"
11416 case "(($ac_try" in
11417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11418 *) ac_try_echo=$ac_try;;
11420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11421 (eval "$ac_link") 2>conftest.er1
11423 grep -v '^ *+' conftest.er1 >conftest.err
11425 cat conftest.err >&5
11426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11427 (exit $ac_status); } &&
11428 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11429 { (case "(($ac_try" in
11430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11431 *) ac_try_echo=$ac_try;;
11433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11434 (eval "$ac_try") 2>&5
11436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11437 (exit $ac_status); }; } &&
11438 { ac_try='test -s conftest$ac_exeext'
11439 { (case "(($ac_try" in
11440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11441 *) ac_try_echo=$ac_try;;
11443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11444 (eval "$ac_try") 2>&5
11446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11447 (exit $ac_status); }; }; then
11450 echo "$as_me: failed program was:" >&5
11451 sed 's/^/| /' conftest.$ac_ext >&5
11453 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
11454 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
11455 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
11456 echo $ECHO_N "(cached) $ECHO_C" >&6
11458 ac_check_lib_save_LIBS=$LIBS
11459 LIBS="-ldnet $LIBS"
11460 cat >conftest.$ac_ext <<_ACEOF
11463 cat confdefs.h >>conftest.$ac_ext
11464 cat >>conftest.$ac_ext <<_ACEOF
11465 /* end confdefs.h. */
11467 /* Override any GCC internal prototype to avoid an error.
11468 Use char because int might match the return type of a GCC
11469 builtin and then its argument prototype would still apply. */
11477 return dnet_ntoa ();
11482 rm -f conftest.$ac_objext conftest$ac_exeext
11483 if { (ac_try="$ac_link"
11484 case "(($ac_try" in
11485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11486 *) ac_try_echo=$ac_try;;
11488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11489 (eval "$ac_link") 2>conftest.er1
11491 grep -v '^ *+' conftest.er1 >conftest.err
11493 cat conftest.err >&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); } &&
11496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11497 { (case "(($ac_try" in
11498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11499 *) ac_try_echo=$ac_try;;
11501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11502 (eval "$ac_try") 2>&5
11504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11505 (exit $ac_status); }; } &&
11506 { ac_try='test -s conftest$ac_exeext'
11507 { (case "(($ac_try" in
11508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11509 *) ac_try_echo=$ac_try;;
11511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11512 (eval "$ac_try") 2>&5
11514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11515 (exit $ac_status); }; }; then
11516 ac_cv_lib_dnet_dnet_ntoa=yes
11518 echo "$as_me: failed program was:" >&5
11519 sed 's/^/| /' conftest.$ac_ext >&5
11521 ac_cv_lib_dnet_dnet_ntoa=no
11524 rm -f core conftest.err conftest.$ac_objext \
11525 conftest$ac_exeext conftest.$ac_ext
11526 LIBS=$ac_check_lib_save_LIBS
11528 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11529 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11530 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
11531 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11534 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11535 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
11536 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
11537 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
11538 echo $ECHO_N "(cached) $ECHO_C" >&6
11540 ac_check_lib_save_LIBS=$LIBS
11541 LIBS="-ldnet_stub $LIBS"
11542 cat >conftest.$ac_ext <<_ACEOF
11545 cat confdefs.h >>conftest.$ac_ext
11546 cat >>conftest.$ac_ext <<_ACEOF
11547 /* end confdefs.h. */
11549 /* Override any GCC internal prototype to avoid an error.
11550 Use char because int might match the return type of a GCC
11551 builtin and then its argument prototype would still apply. */
11559 return dnet_ntoa ();
11564 rm -f conftest.$ac_objext conftest$ac_exeext
11565 if { (ac_try="$ac_link"
11566 case "(($ac_try" in
11567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11568 *) ac_try_echo=$ac_try;;
11570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11571 (eval "$ac_link") 2>conftest.er1
11573 grep -v '^ *+' conftest.er1 >conftest.err
11575 cat conftest.err >&5
11576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11577 (exit $ac_status); } &&
11578 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11579 { (case "(($ac_try" in
11580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11581 *) ac_try_echo=$ac_try;;
11583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11584 (eval "$ac_try") 2>&5
11586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11587 (exit $ac_status); }; } &&
11588 { ac_try='test -s conftest$ac_exeext'
11589 { (case "(($ac_try" in
11590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11591 *) ac_try_echo=$ac_try;;
11593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11594 (eval "$ac_try") 2>&5
11596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11597 (exit $ac_status); }; }; then
11598 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11600 echo "$as_me: failed program was:" >&5
11601 sed 's/^/| /' conftest.$ac_ext >&5
11603 ac_cv_lib_dnet_stub_dnet_ntoa=no
11606 rm -f core conftest.err conftest.$ac_objext \
11607 conftest$ac_exeext conftest.$ac_ext
11608 LIBS=$ac_check_lib_save_LIBS
11610 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11611 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11612 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
11613 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11619 rm -f core conftest.err conftest.$ac_objext \
11620 conftest$ac_exeext conftest.$ac_ext
11621 LIBS="$ac_xsave_LIBS"
11623 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11624 # to get the SysV transport functions.
11625 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11627 # The nsl library prevents programs from opening the X display
11628 # on Irix 5.2, according to T.E. Dickey.
11629 # The functions gethostbyname, getservbyname, and inet_addr are
11630 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11631 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
11632 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
11633 if test "${ac_cv_func_gethostbyname+set}" = set; then
11634 echo $ECHO_N "(cached) $ECHO_C" >&6
11636 cat >conftest.$ac_ext <<_ACEOF
11639 cat confdefs.h >>conftest.$ac_ext
11640 cat >>conftest.$ac_ext <<_ACEOF
11641 /* end confdefs.h. */
11642 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
11643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11644 #define gethostbyname innocuous_gethostbyname
11646 /* System header to define __stub macros and hopefully few prototypes,
11647 which can conflict with char gethostbyname (); below.
11648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11649 <limits.h> exists even on freestanding compilers. */
11652 # include <limits.h>
11654 # include <assert.h>
11657 #undef gethostbyname
11659 /* Override any GCC internal prototype to avoid an error.
11660 Use char because int might match the return type of a GCC
11661 builtin and then its argument prototype would still apply. */
11665 char gethostbyname ();
11666 /* The GNU C library defines this for functions which it implements
11667 to always fail with ENOSYS. Some functions are actually named
11668 something starting with __ and the normal name is an alias. */
11669 #if defined __stub_gethostbyname || defined __stub___gethostbyname
11676 return gethostbyname ();
11681 rm -f conftest.$ac_objext conftest$ac_exeext
11682 if { (ac_try="$ac_link"
11683 case "(($ac_try" in
11684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11685 *) ac_try_echo=$ac_try;;
11687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11688 (eval "$ac_link") 2>conftest.er1
11690 grep -v '^ *+' conftest.er1 >conftest.err
11692 cat conftest.err >&5
11693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11694 (exit $ac_status); } &&
11695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11696 { (case "(($ac_try" in
11697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11698 *) ac_try_echo=$ac_try;;
11700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11701 (eval "$ac_try") 2>&5
11703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11704 (exit $ac_status); }; } &&
11705 { ac_try='test -s conftest$ac_exeext'
11706 { (case "(($ac_try" in
11707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11708 *) ac_try_echo=$ac_try;;
11710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11711 (eval "$ac_try") 2>&5
11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11714 (exit $ac_status); }; }; then
11715 ac_cv_func_gethostbyname=yes
11717 echo "$as_me: failed program was:" >&5
11718 sed 's/^/| /' conftest.$ac_ext >&5
11720 ac_cv_func_gethostbyname=no
11723 rm -f core conftest.err conftest.$ac_objext \
11724 conftest$ac_exeext conftest.$ac_ext
11726 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
11727 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
11729 if test $ac_cv_func_gethostbyname = no; then
11730 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
11731 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
11732 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
11733 echo $ECHO_N "(cached) $ECHO_C" >&6
11735 ac_check_lib_save_LIBS=$LIBS
11737 cat >conftest.$ac_ext <<_ACEOF
11740 cat confdefs.h >>conftest.$ac_ext
11741 cat >>conftest.$ac_ext <<_ACEOF
11742 /* end confdefs.h. */
11744 /* Override any GCC internal prototype to avoid an error.
11745 Use char because int might match the return type of a GCC
11746 builtin and then its argument prototype would still apply. */
11750 char gethostbyname ();
11754 return gethostbyname ();
11759 rm -f conftest.$ac_objext conftest$ac_exeext
11760 if { (ac_try="$ac_link"
11761 case "(($ac_try" in
11762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11763 *) ac_try_echo=$ac_try;;
11765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11766 (eval "$ac_link") 2>conftest.er1
11768 grep -v '^ *+' conftest.er1 >conftest.err
11770 cat conftest.err >&5
11771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11772 (exit $ac_status); } &&
11773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11774 { (case "(($ac_try" in
11775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11776 *) ac_try_echo=$ac_try;;
11778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11779 (eval "$ac_try") 2>&5
11781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); }; } &&
11783 { ac_try='test -s conftest$ac_exeext'
11784 { (case "(($ac_try" in
11785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11786 *) ac_try_echo=$ac_try;;
11788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11789 (eval "$ac_try") 2>&5
11791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11792 (exit $ac_status); }; }; then
11793 ac_cv_lib_nsl_gethostbyname=yes
11795 echo "$as_me: failed program was:" >&5
11796 sed 's/^/| /' conftest.$ac_ext >&5
11798 ac_cv_lib_nsl_gethostbyname=no
11801 rm -f core conftest.err conftest.$ac_objext \
11802 conftest$ac_exeext conftest.$ac_ext
11803 LIBS=$ac_check_lib_save_LIBS
11805 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
11806 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
11807 if test $ac_cv_lib_nsl_gethostbyname = yes; then
11808 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11811 if test $ac_cv_lib_nsl_gethostbyname = no; then
11812 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
11813 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
11814 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
11815 echo $ECHO_N "(cached) $ECHO_C" >&6
11817 ac_check_lib_save_LIBS=$LIBS
11819 cat >conftest.$ac_ext <<_ACEOF
11822 cat confdefs.h >>conftest.$ac_ext
11823 cat >>conftest.$ac_ext <<_ACEOF
11824 /* end confdefs.h. */
11826 /* Override any GCC internal prototype to avoid an error.
11827 Use char because int might match the return type of a GCC
11828 builtin and then its argument prototype would still apply. */
11832 char gethostbyname ();
11836 return gethostbyname ();
11841 rm -f conftest.$ac_objext conftest$ac_exeext
11842 if { (ac_try="$ac_link"
11843 case "(($ac_try" in
11844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11845 *) ac_try_echo=$ac_try;;
11847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11848 (eval "$ac_link") 2>conftest.er1
11850 grep -v '^ *+' conftest.er1 >conftest.err
11852 cat conftest.err >&5
11853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11854 (exit $ac_status); } &&
11855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11856 { (case "(($ac_try" in
11857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11858 *) ac_try_echo=$ac_try;;
11860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11861 (eval "$ac_try") 2>&5
11863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864 (exit $ac_status); }; } &&
11865 { ac_try='test -s conftest$ac_exeext'
11866 { (case "(($ac_try" in
11867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11868 *) ac_try_echo=$ac_try;;
11870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11871 (eval "$ac_try") 2>&5
11873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11874 (exit $ac_status); }; }; then
11875 ac_cv_lib_bsd_gethostbyname=yes
11877 echo "$as_me: failed program was:" >&5
11878 sed 's/^/| /' conftest.$ac_ext >&5
11880 ac_cv_lib_bsd_gethostbyname=no
11883 rm -f core conftest.err conftest.$ac_objext \
11884 conftest$ac_exeext conftest.$ac_ext
11885 LIBS=$ac_check_lib_save_LIBS
11887 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
11888 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
11889 if test $ac_cv_lib_bsd_gethostbyname = yes; then
11890 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11896 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11897 # socket/setsockopt and other routines are undefined under SCO ODT
11898 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11899 # on later versions), says Simon Leinen: it contains gethostby*
11900 # variants that don't use the name server (or something). -lsocket
11901 # must be given before -lnsl if both are needed. We assume that
11902 # if connect needs -lnsl, so does gethostbyname.
11903 { echo "$as_me:$LINENO: checking for connect" >&5
11904 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
11905 if test "${ac_cv_func_connect+set}" = set; then
11906 echo $ECHO_N "(cached) $ECHO_C" >&6
11908 cat >conftest.$ac_ext <<_ACEOF
11911 cat confdefs.h >>conftest.$ac_ext
11912 cat >>conftest.$ac_ext <<_ACEOF
11913 /* end confdefs.h. */
11914 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
11915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11916 #define connect innocuous_connect
11918 /* System header to define __stub macros and hopefully few prototypes,
11919 which can conflict with char connect (); below.
11920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11921 <limits.h> exists even on freestanding compilers. */
11924 # include <limits.h>
11926 # include <assert.h>
11931 /* Override any GCC internal prototype to avoid an error.
11932 Use char because int might match the return type of a GCC
11933 builtin and then its argument prototype would still apply. */
11938 /* The GNU C library defines this for functions which it implements
11939 to always fail with ENOSYS. Some functions are actually named
11940 something starting with __ and the normal name is an alias. */
11941 #if defined __stub_connect || defined __stub___connect
11953 rm -f conftest.$ac_objext conftest$ac_exeext
11954 if { (ac_try="$ac_link"
11955 case "(($ac_try" in
11956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11957 *) ac_try_echo=$ac_try;;
11959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11960 (eval "$ac_link") 2>conftest.er1
11962 grep -v '^ *+' conftest.er1 >conftest.err
11964 cat conftest.err >&5
11965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11966 (exit $ac_status); } &&
11967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11968 { (case "(($ac_try" in
11969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11970 *) ac_try_echo=$ac_try;;
11972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11973 (eval "$ac_try") 2>&5
11975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976 (exit $ac_status); }; } &&
11977 { ac_try='test -s conftest$ac_exeext'
11978 { (case "(($ac_try" in
11979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11980 *) ac_try_echo=$ac_try;;
11982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11983 (eval "$ac_try") 2>&5
11985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11986 (exit $ac_status); }; }; then
11987 ac_cv_func_connect=yes
11989 echo "$as_me: failed program was:" >&5
11990 sed 's/^/| /' conftest.$ac_ext >&5
11992 ac_cv_func_connect=no
11995 rm -f core conftest.err conftest.$ac_objext \
11996 conftest$ac_exeext conftest.$ac_ext
11998 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
11999 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
12001 if test $ac_cv_func_connect = no; then
12002 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
12003 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
12004 if test "${ac_cv_lib_socket_connect+set}" = set; then
12005 echo $ECHO_N "(cached) $ECHO_C" >&6
12007 ac_check_lib_save_LIBS=$LIBS
12008 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
12009 cat >conftest.$ac_ext <<_ACEOF
12012 cat confdefs.h >>conftest.$ac_ext
12013 cat >>conftest.$ac_ext <<_ACEOF
12014 /* end confdefs.h. */
12016 /* Override any GCC internal prototype to avoid an error.
12017 Use char because int might match the return type of a GCC
12018 builtin and then its argument prototype would still apply. */
12031 rm -f conftest.$ac_objext conftest$ac_exeext
12032 if { (ac_try="$ac_link"
12033 case "(($ac_try" in
12034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12035 *) ac_try_echo=$ac_try;;
12037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12038 (eval "$ac_link") 2>conftest.er1
12040 grep -v '^ *+' conftest.er1 >conftest.err
12042 cat conftest.err >&5
12043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12044 (exit $ac_status); } &&
12045 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12046 { (case "(($ac_try" in
12047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12048 *) ac_try_echo=$ac_try;;
12050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12051 (eval "$ac_try") 2>&5
12053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12054 (exit $ac_status); }; } &&
12055 { ac_try='test -s conftest$ac_exeext'
12056 { (case "(($ac_try" in
12057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12058 *) ac_try_echo=$ac_try;;
12060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12061 (eval "$ac_try") 2>&5
12063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12064 (exit $ac_status); }; }; then
12065 ac_cv_lib_socket_connect=yes
12067 echo "$as_me: failed program was:" >&5
12068 sed 's/^/| /' conftest.$ac_ext >&5
12070 ac_cv_lib_socket_connect=no
12073 rm -f core conftest.err conftest.$ac_objext \
12074 conftest$ac_exeext conftest.$ac_ext
12075 LIBS=$ac_check_lib_save_LIBS
12077 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
12078 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
12079 if test $ac_cv_lib_socket_connect = yes; then
12080 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
12085 # Guillermo Gomez says -lposix is necessary on A/UX.
12086 { echo "$as_me:$LINENO: checking for remove" >&5
12087 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
12088 if test "${ac_cv_func_remove+set}" = set; then
12089 echo $ECHO_N "(cached) $ECHO_C" >&6
12091 cat >conftest.$ac_ext <<_ACEOF
12094 cat confdefs.h >>conftest.$ac_ext
12095 cat >>conftest.$ac_ext <<_ACEOF
12096 /* end confdefs.h. */
12097 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
12098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12099 #define remove innocuous_remove
12101 /* System header to define __stub macros and hopefully few prototypes,
12102 which can conflict with char remove (); below.
12103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12104 <limits.h> exists even on freestanding compilers. */
12107 # include <limits.h>
12109 # include <assert.h>
12114 /* Override any GCC internal prototype to avoid an error.
12115 Use char because int might match the return type of a GCC
12116 builtin and then its argument prototype would still apply. */
12121 /* The GNU C library defines this for functions which it implements
12122 to always fail with ENOSYS. Some functions are actually named
12123 something starting with __ and the normal name is an alias. */
12124 #if defined __stub_remove || defined __stub___remove
12136 rm -f conftest.$ac_objext conftest$ac_exeext
12137 if { (ac_try="$ac_link"
12138 case "(($ac_try" in
12139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12140 *) ac_try_echo=$ac_try;;
12142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12143 (eval "$ac_link") 2>conftest.er1
12145 grep -v '^ *+' conftest.er1 >conftest.err
12147 cat conftest.err >&5
12148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12149 (exit $ac_status); } &&
12150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12151 { (case "(($ac_try" in
12152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12153 *) ac_try_echo=$ac_try;;
12155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12156 (eval "$ac_try") 2>&5
12158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159 (exit $ac_status); }; } &&
12160 { ac_try='test -s conftest$ac_exeext'
12161 { (case "(($ac_try" in
12162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12163 *) ac_try_echo=$ac_try;;
12165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12166 (eval "$ac_try") 2>&5
12168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169 (exit $ac_status); }; }; then
12170 ac_cv_func_remove=yes
12172 echo "$as_me: failed program was:" >&5
12173 sed 's/^/| /' conftest.$ac_ext >&5
12175 ac_cv_func_remove=no
12178 rm -f core conftest.err conftest.$ac_objext \
12179 conftest$ac_exeext conftest.$ac_ext
12181 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
12182 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
12184 if test $ac_cv_func_remove = no; then
12185 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
12186 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
12187 if test "${ac_cv_lib_posix_remove+set}" = set; then
12188 echo $ECHO_N "(cached) $ECHO_C" >&6
12190 ac_check_lib_save_LIBS=$LIBS
12191 LIBS="-lposix $LIBS"
12192 cat >conftest.$ac_ext <<_ACEOF
12195 cat confdefs.h >>conftest.$ac_ext
12196 cat >>conftest.$ac_ext <<_ACEOF
12197 /* end confdefs.h. */
12199 /* Override any GCC internal prototype to avoid an error.
12200 Use char because int might match the return type of a GCC
12201 builtin and then its argument prototype would still apply. */
12214 rm -f conftest.$ac_objext conftest$ac_exeext
12215 if { (ac_try="$ac_link"
12216 case "(($ac_try" in
12217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12218 *) ac_try_echo=$ac_try;;
12220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12221 (eval "$ac_link") 2>conftest.er1
12223 grep -v '^ *+' conftest.er1 >conftest.err
12225 cat conftest.err >&5
12226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12227 (exit $ac_status); } &&
12228 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12229 { (case "(($ac_try" in
12230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12231 *) ac_try_echo=$ac_try;;
12233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12234 (eval "$ac_try") 2>&5
12236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237 (exit $ac_status); }; } &&
12238 { ac_try='test -s conftest$ac_exeext'
12239 { (case "(($ac_try" in
12240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12241 *) ac_try_echo=$ac_try;;
12243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12244 (eval "$ac_try") 2>&5
12246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); }; }; then
12248 ac_cv_lib_posix_remove=yes
12250 echo "$as_me: failed program was:" >&5
12251 sed 's/^/| /' conftest.$ac_ext >&5
12253 ac_cv_lib_posix_remove=no
12256 rm -f core conftest.err conftest.$ac_objext \
12257 conftest$ac_exeext conftest.$ac_ext
12258 LIBS=$ac_check_lib_save_LIBS
12260 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
12261 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
12262 if test $ac_cv_lib_posix_remove = yes; then
12263 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
12268 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12269 { echo "$as_me:$LINENO: checking for shmat" >&5
12270 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
12271 if test "${ac_cv_func_shmat+set}" = set; then
12272 echo $ECHO_N "(cached) $ECHO_C" >&6
12274 cat >conftest.$ac_ext <<_ACEOF
12277 cat confdefs.h >>conftest.$ac_ext
12278 cat >>conftest.$ac_ext <<_ACEOF
12279 /* end confdefs.h. */
12280 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
12281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12282 #define shmat innocuous_shmat
12284 /* System header to define __stub macros and hopefully few prototypes,
12285 which can conflict with char shmat (); below.
12286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12287 <limits.h> exists even on freestanding compilers. */
12290 # include <limits.h>
12292 # include <assert.h>
12297 /* Override any GCC internal prototype to avoid an error.
12298 Use char because int might match the return type of a GCC
12299 builtin and then its argument prototype would still apply. */
12304 /* The GNU C library defines this for functions which it implements
12305 to always fail with ENOSYS. Some functions are actually named
12306 something starting with __ and the normal name is an alias. */
12307 #if defined __stub_shmat || defined __stub___shmat
12319 rm -f conftest.$ac_objext conftest$ac_exeext
12320 if { (ac_try="$ac_link"
12321 case "(($ac_try" in
12322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12323 *) ac_try_echo=$ac_try;;
12325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12326 (eval "$ac_link") 2>conftest.er1
12328 grep -v '^ *+' conftest.er1 >conftest.err
12330 cat conftest.err >&5
12331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12332 (exit $ac_status); } &&
12333 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12334 { (case "(($ac_try" in
12335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12336 *) ac_try_echo=$ac_try;;
12338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12339 (eval "$ac_try") 2>&5
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 (exit $ac_status); }; } &&
12343 { ac_try='test -s conftest$ac_exeext'
12344 { (case "(($ac_try" in
12345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12346 *) ac_try_echo=$ac_try;;
12348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12349 (eval "$ac_try") 2>&5
12351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12352 (exit $ac_status); }; }; then
12353 ac_cv_func_shmat=yes
12355 echo "$as_me: failed program was:" >&5
12356 sed 's/^/| /' conftest.$ac_ext >&5
12358 ac_cv_func_shmat=no
12361 rm -f core conftest.err conftest.$ac_objext \
12362 conftest$ac_exeext conftest.$ac_ext
12364 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
12365 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
12367 if test $ac_cv_func_shmat = no; then
12368 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
12369 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
12370 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
12371 echo $ECHO_N "(cached) $ECHO_C" >&6
12373 ac_check_lib_save_LIBS=$LIBS
12375 cat >conftest.$ac_ext <<_ACEOF
12378 cat confdefs.h >>conftest.$ac_ext
12379 cat >>conftest.$ac_ext <<_ACEOF
12380 /* end confdefs.h. */
12382 /* Override any GCC internal prototype to avoid an error.
12383 Use char because int might match the return type of a GCC
12384 builtin and then its argument prototype would still apply. */
12397 rm -f conftest.$ac_objext conftest$ac_exeext
12398 if { (ac_try="$ac_link"
12399 case "(($ac_try" in
12400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12401 *) ac_try_echo=$ac_try;;
12403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12404 (eval "$ac_link") 2>conftest.er1
12406 grep -v '^ *+' conftest.er1 >conftest.err
12408 cat conftest.err >&5
12409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12410 (exit $ac_status); } &&
12411 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12412 { (case "(($ac_try" in
12413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12414 *) ac_try_echo=$ac_try;;
12416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12417 (eval "$ac_try") 2>&5
12419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12420 (exit $ac_status); }; } &&
12421 { ac_try='test -s conftest$ac_exeext'
12422 { (case "(($ac_try" in
12423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12424 *) ac_try_echo=$ac_try;;
12426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12427 (eval "$ac_try") 2>&5
12429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12430 (exit $ac_status); }; }; then
12431 ac_cv_lib_ipc_shmat=yes
12433 echo "$as_me: failed program was:" >&5
12434 sed 's/^/| /' conftest.$ac_ext >&5
12436 ac_cv_lib_ipc_shmat=no
12439 rm -f core conftest.err conftest.$ac_objext \
12440 conftest$ac_exeext conftest.$ac_ext
12441 LIBS=$ac_check_lib_save_LIBS
12443 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
12444 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
12445 if test $ac_cv_lib_ipc_shmat = yes; then
12446 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
12452 # Check for libraries that X11R6 Xt/Xaw programs need.
12453 ac_save_LDFLAGS=$LDFLAGS
12454 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
12455 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12456 # check for ICE first), but we must link in the order -lSM -lICE or
12457 # we get undefined symbols. So assume we have SM if we have ICE.
12458 # These have to be linked with before -lX11, unlike the other
12459 # libraries we check for below, so use a different variable.
12460 # John Interrante, Karl Berry
12461 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
12462 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
12463 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
12464 echo $ECHO_N "(cached) $ECHO_C" >&6
12466 ac_check_lib_save_LIBS=$LIBS
12467 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
12468 cat >conftest.$ac_ext <<_ACEOF
12471 cat confdefs.h >>conftest.$ac_ext
12472 cat >>conftest.$ac_ext <<_ACEOF
12473 /* end confdefs.h. */
12475 /* Override any GCC internal prototype to avoid an error.
12476 Use char because int might match the return type of a GCC
12477 builtin and then its argument prototype would still apply. */
12481 char IceConnectionNumber ();
12485 return IceConnectionNumber ();
12490 rm -f conftest.$ac_objext conftest$ac_exeext
12491 if { (ac_try="$ac_link"
12492 case "(($ac_try" in
12493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12494 *) ac_try_echo=$ac_try;;
12496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12497 (eval "$ac_link") 2>conftest.er1
12499 grep -v '^ *+' conftest.er1 >conftest.err
12501 cat conftest.err >&5
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); } &&
12504 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12505 { (case "(($ac_try" in
12506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12507 *) ac_try_echo=$ac_try;;
12509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12510 (eval "$ac_try") 2>&5
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); }; } &&
12514 { ac_try='test -s conftest$ac_exeext'
12515 { (case "(($ac_try" in
12516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12517 *) ac_try_echo=$ac_try;;
12519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12520 (eval "$ac_try") 2>&5
12522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523 (exit $ac_status); }; }; then
12524 ac_cv_lib_ICE_IceConnectionNumber=yes
12526 echo "$as_me: failed program was:" >&5
12527 sed 's/^/| /' conftest.$ac_ext >&5
12529 ac_cv_lib_ICE_IceConnectionNumber=no
12532 rm -f core conftest.err conftest.$ac_objext \
12533 conftest$ac_exeext conftest.$ac_ext
12534 LIBS=$ac_check_lib_save_LIBS
12536 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
12537 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
12538 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
12539 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
12542 LDFLAGS=$ac_save_LDFLAGS
12555 if test "x$with_x" = "xno"; then
12564 my_includes="$my_includes -I../include -I.. -I/usr/local/include"
12567 LDFLAGS="$LDFLAGS -L/usr/local/lib"
12569 { echo "$as_me:$LINENO: checking for X" >&5
12570 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
12571 if test "$with_x" != "no" && test "$wxwin" = "true"; then
12573 cat >>confdefs.h <<\_ACEOF
12577 LDFLAGS="$LDFLAGS -L../libctgraphics -L/usr/X11R6/lib -L/usr/X11R6/lib64"
12578 my_includes="$my_includes -I/usr/X11R6/include"
12579 ctlib_graphics="$ctlibs_base -lctgraphics"
12580 { echo "$as_me:$LINENO: result: yes" >&5
12581 echo "${ECHO_T}yes" >&6; }
12582 ctlib_graphics="$ctlib_graphics $X_BASIC_LIBS $X_TOOLKIT_LIBS"
12583 if test "$libgl" = "true" ; then
12584 # Removed "-lglut" for Mac OS X compilation
12585 ctlib_graphics="$ctlib_graphics -lGL -lGLU"
12586 if test "$wxwin" = "true" ; then
12587 if "$wx_gtk" ; then
12588 ctlib_graphics="$ctlib_graphics `wx-config --libs` -lwx_gtk_gl-2.4 `gtk-config --libs` `glib-config --libs glib gmodule gthread`"
12589 elif "$wx_mac" ; then
12590 ctlib_graphics="$ctlib_graphics -lwx_mac_gl-2.4"
12594 if test "$wxwin" = "true" ; then
12596 cat >>confdefs.h <<\_ACEOF
12602 { echo "$as_me:$LINENO: result: no" >&5
12603 echo "${ECHO_T}no" >&6; }
12608 if test "$wxwin" = "true"; then
12617 if test "$png" = "true" ; then
12618 ctlibs_tools="$ctlibs_tools -lpng"
12620 if test "$zlib" = "true" ; then
12621 ctlibs_tools="$ctlibs_tools -lz"
12623 if test "$fftw" = "true" ; then
12624 ctlibs_tools="$ctlibs_tools -lfftw3"
12626 if test "$ctn" = "true"; then
12627 ctlibs_tools="$ctlibs_tools -lctn"
12630 { echo "$as_me:$LINENO: checking for main in -ldmallocxx" >&5
12631 echo $ECHO_N "checking for main in -ldmallocxx... $ECHO_C" >&6; }
12632 if test "${ac_cv_lib_dmallocxx_main+set}" = set; then
12633 echo $ECHO_N "(cached) $ECHO_C" >&6
12635 ac_check_lib_save_LIBS=$LIBS
12636 LIBS="-ldmallocxx $LIBS"
12637 cat >conftest.$ac_ext <<_ACEOF
12640 cat confdefs.h >>conftest.$ac_ext
12641 cat >>conftest.$ac_ext <<_ACEOF
12642 /* end confdefs.h. */
12653 rm -f conftest.$ac_objext conftest$ac_exeext
12654 if { (ac_try="$ac_link"
12655 case "(($ac_try" in
12656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12657 *) ac_try_echo=$ac_try;;
12659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12660 (eval "$ac_link") 2>conftest.er1
12662 grep -v '^ *+' conftest.er1 >conftest.err
12664 cat conftest.err >&5
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); } &&
12667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12668 { (case "(($ac_try" in
12669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12670 *) ac_try_echo=$ac_try;;
12672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12673 (eval "$ac_try") 2>&5
12675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12676 (exit $ac_status); }; } &&
12677 { ac_try='test -s conftest$ac_exeext'
12678 { (case "(($ac_try" in
12679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12680 *) ac_try_echo=$ac_try;;
12682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12683 (eval "$ac_try") 2>&5
12685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12686 (exit $ac_status); }; }; then
12687 ac_cv_lib_dmallocxx_main=yes
12689 echo "$as_me: failed program was:" >&5
12690 sed 's/^/| /' conftest.$ac_ext >&5
12692 ac_cv_lib_dmallocxx_main=no
12695 rm -f core conftest.err conftest.$ac_objext \
12696 conftest$ac_exeext conftest.$ac_ext
12697 LIBS=$ac_check_lib_save_LIBS
12699 { echo "$as_me:$LINENO: result: $ac_cv_lib_dmallocxx_main" >&5
12700 echo "${ECHO_T}$ac_cv_lib_dmallocxx_main" >&6; }
12701 if test $ac_cv_lib_dmallocxx_main = yes; then
12707 { echo "$as_me:$LINENO: checking for enable-dmalloc" >&5
12708 echo $ECHO_N "checking for enable-dmalloc... $ECHO_C" >&6; }
12709 # Check whether --enable-dmalloc was given.
12710 if test "${enable_dmalloc+set}" = set; then
12711 enableval=$enable_dmalloc; case "${enableval}" in
12712 yes) usedmalloc=true
12713 { echo "$as_me:$LINENO: result: yes" >&5
12714 echo "${ECHO_T}yes" >&6; }
12716 no) usedmalloc=false
12717 { echo "$as_me:$LINENO: result: no" >&5
12718 echo "${ECHO_T}no" >&6; }
12720 *) { echo "$as_me:$LINENO: result: bad value ${enableval} for --enable-dmalloc" >&5
12721 echo "${ECHO_T}bad value ${enableval} for --enable-dmalloc" >&6; }
12725 usedmalloc=false; { echo "$as_me:$LINENO: result: no" >&5
12726 echo "${ECHO_T}no" >&6; }
12730 if test "$dmallocxx" = "true" -a "$usedmalloc" = "true" ; then
12731 ctlibs_tools="$ctlibs_tools -ldmallocxx"
12733 cat >>confdefs.h <<\_ACEOF
12734 #define HAVE_DMALLOC 1
12737 { echo "$as_me:$LINENO: result: Using dmalloc" >&5
12738 echo "${ECHO_T}Using dmalloc" >&6; }
12741 { echo "$as_me:$LINENO: checking for main in -lefence" >&5
12742 echo $ECHO_N "checking for main in -lefence... $ECHO_C" >&6; }
12743 if test "${ac_cv_lib_efence_main+set}" = set; then
12744 echo $ECHO_N "(cached) $ECHO_C" >&6
12746 ac_check_lib_save_LIBS=$LIBS
12747 LIBS="-lefence $LIBS"
12748 cat >conftest.$ac_ext <<_ACEOF
12751 cat confdefs.h >>conftest.$ac_ext
12752 cat >>conftest.$ac_ext <<_ACEOF
12753 /* end confdefs.h. */
12764 rm -f conftest.$ac_objext conftest$ac_exeext
12765 if { (ac_try="$ac_link"
12766 case "(($ac_try" in
12767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12768 *) ac_try_echo=$ac_try;;
12770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12771 (eval "$ac_link") 2>conftest.er1
12773 grep -v '^ *+' conftest.er1 >conftest.err
12775 cat conftest.err >&5
12776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12777 (exit $ac_status); } &&
12778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12779 { (case "(($ac_try" in
12780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12781 *) ac_try_echo=$ac_try;;
12783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12784 (eval "$ac_try") 2>&5
12786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12787 (exit $ac_status); }; } &&
12788 { ac_try='test -s conftest$ac_exeext'
12789 { (case "(($ac_try" in
12790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12791 *) ac_try_echo=$ac_try;;
12793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12794 (eval "$ac_try") 2>&5
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); }; }; then
12798 ac_cv_lib_efence_main=yes
12800 echo "$as_me: failed program was:" >&5
12801 sed 's/^/| /' conftest.$ac_ext >&5
12803 ac_cv_lib_efence_main=no
12806 rm -f core conftest.err conftest.$ac_objext \
12807 conftest$ac_exeext conftest.$ac_ext
12808 LIBS=$ac_check_lib_save_LIBS
12810 { echo "$as_me:$LINENO: result: $ac_cv_lib_efence_main" >&5
12811 echo "${ECHO_T}$ac_cv_lib_efence_main" >&6; }
12812 if test $ac_cv_lib_efence_main = yes; then
12818 { echo "$as_me:$LINENO: checking for enable-efence" >&5
12819 echo $ECHO_N "checking for enable-efence... $ECHO_C" >&6; }
12820 # Check whether --enable-efence was given.
12821 if test "${enable_efence+set}" = set; then
12822 enableval=$enable_efence; case "${enableval}" in
12823 yes) useefence=true
12824 { echo "$as_me:$LINENO: result: yes" >&5
12825 echo "${ECHO_T}yes" >&6; }
12827 no) useefence=false
12828 { echo "$as_me:$LINENO: result: no" >&5
12829 echo "${ECHO_T}no" >&6; }
12831 *) { echo "$as_me:$LINENO: result: bad value ${enableval} for --enable-efence" >&5
12832 echo "${ECHO_T}bad value ${enableval} for --enable-efence" >&6; }
12836 useefence=false; { echo "$as_me:$LINENO: result: no" >&5
12837 echo "${ECHO_T}no" >&6; }
12841 if test "$efence" = "true" -a "$useefence" = "true" ; then
12842 ctlibs_tools="$ctlibs_tools -lefence"
12844 cat >>confdefs.h <<\_ACEOF
12845 #define HAVE_EFENCE 1
12848 { echo "$as_me:$LINENO: result: Using efence" >&5
12849 echo "${ECHO_T}Using efence" >&6; }
12852 if test "$wxwin" = "true" ; then
12853 if "$wx_gtk" = "true" || "$wx_mac" == "true" ; then
12854 wxcflags=`$wxconfig --cflags`
12855 wxlibs=`$wxconfig --libs`
12857 wxcflags="-D__WXMSW__ -D__WIN32__ -D__GNUWIN32__"
12858 wxlibs="-lwx -lglui -ljpeg -lxpm -lzlib -ltiff"
12860 CFLAGS="$CFLAGS -I../include $wxcflags"
12861 ctlib_graphics="$ctlib_graphics $wxlibs"
12867 if test "$wxwin"="true"; then
12868 HAVE_WXWINDOWS_TRUE=
12869 HAVE_WXWINDOWS_FALSE='#'
12871 HAVE_WXWINDOWS_TRUE='#'
12872 HAVE_WXWINDOWS_FALSE=
12876 LDFLAGS="$LDFLAGS -L../libctsupport -L../libctsim"
12877 ctlibs="$ctlibs_base -lctsim $ctlib_graphics -lctsupport $ctlibs_tools"
12880 if test -n "$lamdir" ; then
12881 lamprograms="ctsimtext-lam"
12889 ac_config_files="$ac_config_files Makefile libctgraphics/Makefile libctsupport/Makefile libctsim/Makefile man/Makefile cgi-bin/ctsim.cgi cgi-bin/Makefile html/simulate.html html/Makefile include/Makefile getopt/Makefile tools/sample-ctsim.sh cgi-bin/ctsim.conf tools/Makefile src/Makefile helical/Makefile helical/sample-helical.sh"
12892 cat >confcache <<\_ACEOF
12893 # This file is a shell script that caches the results of configure
12894 # tests run on this system so they can be shared between configure
12895 # scripts and configure runs, see configure's option --config-cache.
12896 # It is not useful on other systems. If it contains results you don't
12897 # want to keep, you may remove or edit it.
12899 # config.status only pays attention to the cache file if you give it
12900 # the --recheck option to rerun configure.
12902 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12903 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12904 # following values.
12908 # The following way of writing the cache mishandles newlines in values,
12909 # but we know of no workaround that is simple, portable, and efficient.
12910 # So, we kill variables containing newlines.
12911 # Ultrix sh set writes to stderr and can't be redirected directly,
12912 # and sets the high bit in the cache file unless we assign to the vars.
12914 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12915 eval ac_val=\$$ac_var
12919 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12920 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12923 _ | IFS | as_nl) ;; #(
12924 *) $as_unset $ac_var ;;
12930 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12931 *${as_nl}ac_space=\ *)
12932 # `set' does not quote correctly, so add quotes (double-quote
12933 # substitution turns \\\\ into \\, and sed turns \\ into \).
12936 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12939 # `set' quotes correctly as required by POSIX, so do not add quotes.
12940 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12949 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12951 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12953 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12954 if test -w "$cache_file"; then
12955 test "x$cache_file" != "x/dev/null" &&
12956 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12957 echo "$as_me: updating cache $cache_file" >&6;}
12958 cat confcache >$cache_file
12960 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12961 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12966 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12967 # Let make expand exec_prefix.
12968 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12970 DEFS=-DHAVE_CONFIG_H
12974 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12975 # 1. Remove the extension, and $U if already installed.
12976 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12977 ac_i=`echo "$ac_i" | sed "$ac_script"`
12978 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12979 # will be set to the directory where LIBOBJS objects are built.
12980 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12981 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12983 LIBOBJS=$ac_libobjs
12985 LTLIBOBJS=$ac_ltlibobjs
12988 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12989 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12990 Usually this means the macro was only invoked conditionally." >&5
12991 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12992 Usually this means the macro was only invoked conditionally." >&2;}
12993 { (exit 1); exit 1; }; }
12995 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12996 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12997 Usually this means the macro was only invoked conditionally." >&5
12998 echo "$as_me: error: conditional \"AMDEP\" was never defined.
12999 Usually this means the macro was only invoked conditionally." >&2;}
13000 { (exit 1); exit 1; }; }
13002 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13003 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13004 Usually this means the macro was only invoked conditionally." >&5
13005 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13006 Usually this means the macro was only invoked conditionally." >&2;}
13007 { (exit 1); exit 1; }; }
13009 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
13010 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
13011 Usually this means the macro was only invoked conditionally." >&5
13012 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
13013 Usually this means the macro was only invoked conditionally." >&2;}
13014 { (exit 1); exit 1; }; }
13016 if test -z "${INCLUDED_GETOPT_LONG_TRUE}" && test -z "${INCLUDED_GETOPT_LONG_FALSE}"; then
13017 { { echo "$as_me:$LINENO: error: conditional \"INCLUDED_GETOPT_LONG\" was never defined.
13018 Usually this means the macro was only invoked conditionally." >&5
13019 echo "$as_me: error: conditional \"INCLUDED_GETOPT_LONG\" was never defined.
13020 Usually this means the macro was only invoked conditionally." >&2;}
13021 { (exit 1); exit 1; }; }
13023 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
13024 { { echo "$as_me:$LINENO: error: conditional \"DEBUG\" was never defined.
13025 Usually this means the macro was only invoked conditionally." >&5
13026 echo "$as_me: error: conditional \"DEBUG\" was never defined.
13027 Usually this means the macro was only invoked conditionally." >&2;}
13028 { (exit 1); exit 1; }; }
13030 if test -z "${USE_HTML_TRUE}" && test -z "${USE_HTML_FALSE}"; then
13031 { { echo "$as_me:$LINENO: error: conditional \"USE_HTML\" was never defined.
13032 Usually this means the macro was only invoked conditionally." >&5
13033 echo "$as_me: error: conditional \"USE_HTML\" was never defined.
13034 Usually this means the macro was only invoked conditionally." >&2;}
13035 { (exit 1); exit 1; }; }
13037 if test -z "${USE_LAM_TRUE}" && test -z "${USE_LAM_FALSE}"; then
13038 { { echo "$as_me:$LINENO: error: conditional \"USE_LAM\" was never defined.
13039 Usually this means the macro was only invoked conditionally." >&5
13040 echo "$as_me: error: conditional \"USE_LAM\" was never defined.
13041 Usually this means the macro was only invoked conditionally." >&2;}
13042 { (exit 1); exit 1; }; }
13044 if test -z "${NO_X_TRUE}" && test -z "${NO_X_FALSE}"; then
13045 { { echo "$as_me:$LINENO: error: conditional \"NO_X\" was never defined.
13046 Usually this means the macro was only invoked conditionally." >&5
13047 echo "$as_me: error: conditional \"NO_X\" was never defined.
13048 Usually this means the macro was only invoked conditionally." >&2;}
13049 { (exit 1); exit 1; }; }
13051 if test -z "${HAVE_SGP_TRUE}" && test -z "${HAVE_SGP_FALSE}"; then
13052 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SGP\" was never defined.
13053 Usually this means the macro was only invoked conditionally." >&5
13054 echo "$as_me: error: conditional \"HAVE_SGP\" was never defined.
13055 Usually this means the macro was only invoked conditionally." >&2;}
13056 { (exit 1); exit 1; }; }
13058 if test -z "${HAVE_WXWINDOWS_TRUE}" && test -z "${HAVE_WXWINDOWS_FALSE}"; then
13059 { { echo "$as_me:$LINENO: error: conditional \"HAVE_WXWINDOWS\" was never defined.
13060 Usually this means the macro was only invoked conditionally." >&5
13061 echo "$as_me: error: conditional \"HAVE_WXWINDOWS\" was never defined.
13062 Usually this means the macro was only invoked conditionally." >&2;}
13063 { (exit 1); exit 1; }; }
13066 : ${CONFIG_STATUS=./config.status}
13067 ac_clean_files_save=$ac_clean_files
13068 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13069 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13070 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13071 cat >$CONFIG_STATUS <<_ACEOF
13073 # Generated by $as_me.
13074 # Run this file to recreate the current configuration.
13075 # Compiler output produced by configure, useful for debugging
13076 # configure, is in config.log if it exists.
13079 ac_cs_recheck=false
13081 SHELL=\${CONFIG_SHELL-$SHELL}
13084 cat >>$CONFIG_STATUS <<\_ACEOF
13085 ## --------------------- ##
13086 ## M4sh Initialization. ##
13087 ## --------------------- ##
13089 # Be Bourne compatible
13090 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13093 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13094 # is contrary to our usage. Disable this feature.
13095 alias -g '${1+"$@"}'='"$@"'
13096 setopt NO_GLOB_SUBST
13098 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
13100 BIN_SH=xpg4; export BIN_SH # for Tru64
13101 DUALCASE=1; export DUALCASE # for MKS sh
13105 # Avoid depending upon Character Ranges.
13106 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13107 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13108 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13109 as_cr_digits='0123456789'
13110 as_cr_alnum=$as_cr_Letters$as_cr_digits
13112 # The user is always right.
13113 if test "${PATH_SEPARATOR+set}" != set; then
13114 echo "#! /bin/sh" >conf$$.sh
13115 echo "exit 0" >>conf$$.sh
13117 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13125 # Support unset when possible.
13126 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13134 # We need space, tab and new line, in precisely that order. Quoting is
13135 # there to prevent editors from complaining about space-tab.
13136 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13137 # splitting by setting IFS to empty value.)
13142 # Find who we are. Look in the path if we contain no directory separator.
13144 *[\\/]* ) as_myself=$0 ;;
13145 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13146 for as_dir in $PATH
13149 test -z "$as_dir" && as_dir=.
13150 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13156 # We did not find ourselves, most probably we were run as `sh COMMAND'
13157 # in which case we are not to be found in the path.
13158 if test "x$as_myself" = x; then
13161 if test ! -f "$as_myself"; then
13162 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13163 { (exit 1); exit 1; }
13166 # Work around bugs in pre-3.0 UWIN ksh.
13167 for as_var in ENV MAIL MAILPATH
13168 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13176 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13177 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13178 LC_TELEPHONE LC_TIME
13180 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13181 eval $as_var=C; export $as_var
13183 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13187 # Required to use basename.
13188 if expr a : '\(a\)' >/dev/null 2>&1 &&
13189 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13195 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13196 as_basename=basename
13202 # Name of the executable.
13203 as_me=`$as_basename -- "$0" ||
13204 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13205 X"$0" : 'X\(//\)$' \| \
13206 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13208 sed '/^.*\/\([^/][^/]*\)\/*$/{
13227 as_lineno_1=$LINENO
13228 as_lineno_2=$LINENO
13229 test "x$as_lineno_1" != "x$as_lineno_2" &&
13230 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13232 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13233 # uniformly replaced by the line number. The first 'sed' inserts a
13234 # line-number line after each line using $LINENO; the second 'sed'
13235 # does the real work. The second script uses 'N' to pair each
13236 # line-number line with the line containing $LINENO, and appends
13237 # trailing '-' during substitution so that $LINENO is not a special
13238 # case at line end.
13239 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13240 # scripts with optimization help from Paolo Bonzini. Blame Lee
13241 # E. McMahon (1931-1989) for sed's syntax. :-)
13253 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13256 ' >$as_me.lineno &&
13257 chmod +x "$as_me.lineno" ||
13258 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13259 { (exit 1); exit 1; }; }
13261 # Don't try to exec as it changes $[0], causing all sort of problems
13262 # (the dirname of $[0] is not the place where we might find the
13263 # original and so on. Autoconf is especially sensitive to this).
13264 . "./$as_me.lineno"
13265 # Exit status is that of the last command.
13270 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13276 ECHO_C= ECHO_N= ECHO_T=
13277 case `echo -n x` in
13279 case `echo 'x\c'` in
13280 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13287 if expr a : '\(a\)' >/dev/null 2>&1 &&
13288 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13294 rm -f conf$$ conf$$.exe conf$$.file
13295 if test -d conf$$.dir; then
13296 rm -f conf$$.dir/conf$$.file
13302 if ln -s conf$$.file conf$$ 2>/dev/null; then
13304 # ... but there are two gotchas:
13305 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13306 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13307 # In both cases, we have to default to `cp -p'.
13308 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13310 elif ln conf$$.file conf$$ 2>/dev/null; then
13315 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13316 rmdir conf$$.dir 2>/dev/null
13318 if mkdir -p . 2>/dev/null; then
13321 test -d ./-p && rmdir ./-p
13325 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
13326 # systems may use methods other than mode bits to determine executability.
13327 cat >conf$$.file <<_ASEOF
13331 chmod +x conf$$.file
13332 if test -x conf$$.file >/dev/null 2>&1; then
13333 as_executable_p="test -x"
13339 # Sed expression to map a string onto a valid CPP name.
13340 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13342 # Sed expression to map a string onto a valid variable name.
13343 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13348 # Save the log message, to keep $[0] and so on meaningful, and to
13349 # report actual input values of CONFIG_FILES etc. instead of their
13350 # values after options handling.
13352 This file was extended by $as_me, which was
13353 generated by GNU Autoconf 2.60. Invocation command line was
13355 CONFIG_FILES = $CONFIG_FILES
13356 CONFIG_HEADERS = $CONFIG_HEADERS
13357 CONFIG_LINKS = $CONFIG_LINKS
13358 CONFIG_COMMANDS = $CONFIG_COMMANDS
13361 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13366 cat >>$CONFIG_STATUS <<_ACEOF
13367 # Files that config.status was made for.
13368 config_files="$ac_config_files"
13369 config_headers="$ac_config_headers"
13370 config_commands="$ac_config_commands"
13374 cat >>$CONFIG_STATUS <<\_ACEOF
13376 \`$as_me' instantiates files from templates according to the
13377 current configuration.
13379 Usage: $0 [OPTIONS] [FILE]...
13381 -h, --help print this help, then exit
13382 -V, --version print version number, then exit
13383 -q, --quiet do not print progress messages
13384 -d, --debug don't remove temporary files
13385 --recheck update $as_me by reconfiguring in the same conditions
13386 --file=FILE[:TEMPLATE]
13387 instantiate the configuration file FILE
13388 --header=FILE[:TEMPLATE]
13389 instantiate the configuration header FILE
13391 Configuration files:
13394 Configuration headers:
13397 Configuration commands:
13400 Report bugs to <bug-autoconf@gnu.org>."
13403 cat >>$CONFIG_STATUS <<_ACEOF
13406 configured by $0, generated by GNU Autoconf 2.60,
13407 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13409 Copyright (C) 2006 Free Software Foundation, Inc.
13410 This config.status script is free software; the Free Software Foundation
13411 gives unlimited permission to copy, distribute and modify it."
13418 cat >>$CONFIG_STATUS <<\_ACEOF
13419 # If no file are specified by the user, then we need to provide default
13420 # value. By we need to know if files were specified by the user.
13426 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13427 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13438 # Handling of the options.
13439 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13441 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13442 echo "$ac_cs_version"; exit ;;
13443 --debug | --debu | --deb | --de | --d | -d )
13445 --file | --fil | --fi | --f )
13447 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
13448 ac_need_defaults=false;;
13449 --header | --heade | --head | --hea )
13451 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
13452 ac_need_defaults=false;;
13454 # Conflict between --help and --header
13455 { echo "$as_me: error: ambiguous option: $1
13456 Try \`$0 --help' for more information." >&2
13457 { (exit 1); exit 1; }; };;
13458 --help | --hel | -h )
13459 echo "$ac_cs_usage"; exit ;;
13460 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13461 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13464 # This is an error.
13465 -*) { echo "$as_me: error: unrecognized option: $1
13466 Try \`$0 --help' for more information." >&2
13467 { (exit 1); exit 1; }; } ;;
13469 *) ac_config_targets="$ac_config_targets $1"
13470 ac_need_defaults=false ;;
13476 ac_configure_extra_args=
13478 if $ac_cs_silent; then
13480 ac_configure_extra_args="$ac_configure_extra_args --silent"
13484 cat >>$CONFIG_STATUS <<_ACEOF
13485 if \$ac_cs_recheck; then
13486 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13487 CONFIG_SHELL=$SHELL
13488 export CONFIG_SHELL
13489 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13493 cat >>$CONFIG_STATUS <<\_ACEOF
13497 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13498 ## Running $as_me. ##
13504 cat >>$CONFIG_STATUS <<_ACEOF
13508 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13512 cat >>$CONFIG_STATUS <<\_ACEOF
13514 # Handling of arguments.
13515 for ac_config_target in $ac_config_targets
13517 case $ac_config_target in
13518 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13519 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13520 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13521 "libctgraphics/Makefile") CONFIG_FILES="$CONFIG_FILES libctgraphics/Makefile" ;;
13522 "libctsupport/Makefile") CONFIG_FILES="$CONFIG_FILES libctsupport/Makefile" ;;
13523 "libctsim/Makefile") CONFIG_FILES="$CONFIG_FILES libctsim/Makefile" ;;
13524 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
13525 "cgi-bin/ctsim.cgi") CONFIG_FILES="$CONFIG_FILES cgi-bin/ctsim.cgi" ;;
13526 "cgi-bin/Makefile") CONFIG_FILES="$CONFIG_FILES cgi-bin/Makefile" ;;
13527 "html/simulate.html") CONFIG_FILES="$CONFIG_FILES html/simulate.html" ;;
13528 "html/Makefile") CONFIG_FILES="$CONFIG_FILES html/Makefile" ;;
13529 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
13530 "getopt/Makefile") CONFIG_FILES="$CONFIG_FILES getopt/Makefile" ;;
13531 "tools/sample-ctsim.sh") CONFIG_FILES="$CONFIG_FILES tools/sample-ctsim.sh" ;;
13532 "cgi-bin/ctsim.conf") CONFIG_FILES="$CONFIG_FILES cgi-bin/ctsim.conf" ;;
13533 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
13534 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13535 "helical/Makefile") CONFIG_FILES="$CONFIG_FILES helical/Makefile" ;;
13536 "helical/sample-helical.sh") CONFIG_FILES="$CONFIG_FILES helical/sample-helical.sh" ;;
13538 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13539 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13540 { (exit 1); exit 1; }; };;
13545 # If the user did not use the arguments to specify the items to instantiate,
13546 # then the envvar interface is used. Set only those that are not.
13547 # We use the long form for the default assignment because of an extremely
13548 # bizarre bug on SunOS 4.1.3.
13549 if $ac_need_defaults; then
13550 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13551 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13552 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13555 # Have a temporary directory for convenience. Make it in the build tree
13556 # simply because there is no reason against having it here, and in addition,
13557 # creating and moving files from /tmp can sometimes cause problems.
13558 # Hook for its removal unless debugging.
13559 # Note that there is a small window in which the directory will not be cleaned:
13560 # after its creation but before its name has been assigned to `$tmp'.
13564 trap 'exit_status=$?
13565 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13567 trap '{ (exit 1); exit 1; }' 1 2 13 15
13569 # Create a (secure) tmp directory for tmp files.
13572 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13573 test -n "$tmp" && test -d "$tmp"
13576 tmp=./conf$$-$RANDOM
13577 (umask 077 && mkdir "$tmp")
13580 echo "$me: cannot create a temporary directory in ." >&2
13581 { (exit 1); exit 1; }
13585 # Set up the sed scripts for CONFIG_FILES section.
13588 # No need to generate the scripts if there are no CONFIG_FILES.
13589 # This happens for instance when ./config.status config.h
13590 if test -n "$CONFIG_FILES"; then
13597 for ac_last_try in false false false false false :; do
13598 cat >conf$$subs.sed <<_ACEOF
13599 SHELL!$SHELL$ac_delim
13600 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13601 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13602 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13603 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13604 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13605 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13606 exec_prefix!$exec_prefix$ac_delim
13607 prefix!$prefix$ac_delim
13608 program_transform_name!$program_transform_name$ac_delim
13609 bindir!$bindir$ac_delim
13610 sbindir!$sbindir$ac_delim
13611 libexecdir!$libexecdir$ac_delim
13612 datarootdir!$datarootdir$ac_delim
13613 datadir!$datadir$ac_delim
13614 sysconfdir!$sysconfdir$ac_delim
13615 sharedstatedir!$sharedstatedir$ac_delim
13616 localstatedir!$localstatedir$ac_delim
13617 includedir!$includedir$ac_delim
13618 oldincludedir!$oldincludedir$ac_delim
13619 docdir!$docdir$ac_delim
13620 infodir!$infodir$ac_delim
13621 htmldir!$htmldir$ac_delim
13622 dvidir!$dvidir$ac_delim
13623 pdfdir!$pdfdir$ac_delim
13624 psdir!$psdir$ac_delim
13625 libdir!$libdir$ac_delim
13626 localedir!$localedir$ac_delim
13627 mandir!$mandir$ac_delim
13628 DEFS!$DEFS$ac_delim
13629 ECHO_C!$ECHO_C$ac_delim
13630 ECHO_N!$ECHO_N$ac_delim
13631 ECHO_T!$ECHO_T$ac_delim
13632 LIBS!$LIBS$ac_delim
13633 build_alias!$build_alias$ac_delim
13634 host_alias!$host_alias$ac_delim
13635 target_alias!$target_alias$ac_delim
13636 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
13637 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
13638 MAINT!$MAINT$ac_delim
13639 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
13640 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
13641 INSTALL_DATA!$INSTALL_DATA$ac_delim
13642 CYGPATH_W!$CYGPATH_W$ac_delim
13643 PACKAGE!$PACKAGE$ac_delim
13644 VERSION!$VERSION$ac_delim
13645 ACLOCAL!$ACLOCAL$ac_delim
13646 AUTOCONF!$AUTOCONF$ac_delim
13647 AUTOMAKE!$AUTOMAKE$ac_delim
13648 AUTOHEADER!$AUTOHEADER$ac_delim
13649 MAKEINFO!$MAKEINFO$ac_delim
13650 AMTAR!$AMTAR$ac_delim
13651 install_sh!$install_sh$ac_delim
13652 STRIP!$STRIP$ac_delim
13653 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
13655 SET_MAKE!$SET_MAKE$ac_delim
13656 am__leading_dot!$am__leading_dot$ac_delim
13657 RANLIB!$RANLIB$ac_delim
13659 CFLAGS!$CFLAGS$ac_delim
13660 LDFLAGS!$LDFLAGS$ac_delim
13661 CPPFLAGS!$CPPFLAGS$ac_delim
13662 ac_ct_CC!$ac_ct_CC$ac_delim
13663 EXEEXT!$EXEEXT$ac_delim
13664 OBJEXT!$OBJEXT$ac_delim
13665 DEPDIR!$DEPDIR$ac_delim
13666 am__include!$am__include$ac_delim
13667 am__quote!$am__quote$ac_delim
13668 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
13669 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
13670 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
13671 CCDEPMODE!$CCDEPMODE$ac_delim
13672 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
13673 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
13675 CXXFLAGS!$CXXFLAGS$ac_delim
13676 ac_ct_CXX!$ac_ct_CXX$ac_delim
13677 CXXDEPMODE!$CXXDEPMODE$ac_delim
13678 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
13679 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
13681 GREP!$GREP$ac_delim
13682 EGREP!$EGREP$ac_delim
13683 wxconfig!$wxconfig$ac_delim
13684 build!$build$ac_delim
13685 build_cpu!$build_cpu$ac_delim
13686 build_vendor!$build_vendor$ac_delim
13687 build_os!$build_os$ac_delim
13688 host!$host$ac_delim
13689 host_cpu!$host_cpu$ac_delim
13690 host_vendor!$host_vendor$ac_delim
13691 host_os!$host_os$ac_delim
13692 INCLUDED_GETOPT_LONG_TRUE!$INCLUDED_GETOPT_LONG_TRUE$ac_delim
13693 INCLUDED_GETOPT_LONG_FALSE!$INCLUDED_GETOPT_LONG_FALSE$ac_delim
13694 DEBUG_TRUE!$DEBUG_TRUE$ac_delim
13695 DEBUG_FALSE!$DEBUG_FALSE$ac_delim
13698 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13700 elif $ac_last_try; then
13701 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13702 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13703 { (exit 1); exit 1; }; }
13705 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13709 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13710 if test -n "$ac_eof"; then
13711 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
13712 ac_eof=`expr $ac_eof + 1`
13715 cat >>$CONFIG_STATUS <<_ACEOF
13716 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13717 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13720 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13721 s/^/s,@/; s/!/@,|#_!!_#|/
13724 s/'"$ac_delim"'$/,g/; t
13726 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13727 ' >>$CONFIG_STATUS <conf$$subs.sed
13728 rm -f conf$$subs.sed
13729 cat >>$CONFIG_STATUS <<_ACEOF
13735 for ac_last_try in false false false false false :; do
13736 cat >conf$$subs.sed <<_ACEOF
13737 lamdir!$lamdir$ac_delim
13738 mpienable!$mpienable$ac_delim
13739 cgibindir!$cgibindir$ac_delim
13740 cgibinurl!$cgibinurl$ac_delim
13741 webdatadir!$webdatadir$ac_delim
13742 webdataurl!$webdataurl$ac_delim
13743 cgiprograms!$cgiprograms$ac_delim
13744 htmldata!$htmldata$ac_delim
13745 USE_HTML_TRUE!$USE_HTML_TRUE$ac_delim
13746 USE_HTML_FALSE!$USE_HTML_FALSE$ac_delim
13747 webenabled!$webenabled$ac_delim
13748 USE_LAM_TRUE!$USE_LAM_TRUE$ac_delim
13749 USE_LAM_FALSE!$USE_LAM_FALSE$ac_delim
13750 XMKMF!$XMKMF$ac_delim
13751 X_CFLAGS!$X_CFLAGS$ac_delim
13752 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
13753 X_LIBS!$X_LIBS$ac_delim
13754 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
13755 X_TOOLKIT_LIBS!$X_TOOLKIT_LIBS$ac_delim
13756 X_BASIC_LIBS!$X_BASIC_LIBS$ac_delim
13757 NO_X_TRUE!$NO_X_TRUE$ac_delim
13758 NO_X_FALSE!$NO_X_FALSE$ac_delim
13759 my_includes!$my_includes$ac_delim
13760 HAVE_SGP_TRUE!$HAVE_SGP_TRUE$ac_delim
13761 HAVE_SGP_FALSE!$HAVE_SGP_FALSE$ac_delim
13762 wxcflags!$wxcflags$ac_delim
13763 wxlibs!$wxlibs$ac_delim
13764 HAVE_WXWINDOWS_TRUE!$HAVE_WXWINDOWS_TRUE$ac_delim
13765 HAVE_WXWINDOWS_FALSE!$HAVE_WXWINDOWS_FALSE$ac_delim
13766 ctlibs!$ctlibs$ac_delim
13767 lamprograms!$lamprograms$ac_delim
13768 lamdefs!$lamdefs$ac_delim
13769 LIBOBJS!$LIBOBJS$ac_delim
13770 LTLIBOBJS!$LTLIBOBJS$ac_delim
13773 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 34; then
13775 elif $ac_last_try; then
13776 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13777 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13778 { (exit 1); exit 1; }; }
13780 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13784 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13785 if test -n "$ac_eof"; then
13786 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
13787 ac_eof=`expr $ac_eof + 1`
13790 cat >>$CONFIG_STATUS <<_ACEOF
13791 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
13792 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13795 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13796 s/^/s,@/; s/!/@,|#_!!_#|/
13799 s/'"$ac_delim"'$/,g/; t
13801 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13802 ' >>$CONFIG_STATUS <conf$$subs.sed
13803 rm -f conf$$subs.sed
13804 cat >>$CONFIG_STATUS <<_ACEOF
13811 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13812 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13813 # trailing colons and then remove the whole line if VPATH becomes empty
13814 # (actually we leave an empty line to preserve line numbers).
13815 if test "x$srcdir" = x.; then
13816 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13817 s/:*\$(srcdir):*/:/
13818 s/:*\${srcdir}:*/:/
13820 s/^\([^=]*=[ ]*\):*/\1/
13826 cat >>$CONFIG_STATUS <<\_ACEOF
13827 fi # test -n "$CONFIG_FILES"
13830 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
13833 :[FHLC]) ac_mode=$ac_tag; continue;;
13835 case $ac_mode$ac_tag in
13837 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13838 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13839 { (exit 1); exit 1; }; };;
13840 :[FH]-) ac_tag=-:-;;
13841 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13858 -) ac_f="$tmp/stdin";;
13859 *) # Look for the file first in the build tree, then in the source tree
13860 # (if the path is not absolute). The absolute path cannot be DOS-style,
13861 # because $ac_f cannot contain `:'.
13865 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13867 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13868 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13869 { (exit 1); exit 1; }; };;
13871 ac_file_inputs="$ac_file_inputs $ac_f"
13874 # Let's still pretend it is `configure' which instantiates (i.e., don't
13875 # use $as_me), people would be surprised to read:
13876 # /* config.h. Generated by config.status. */
13877 configure_input="Generated from "`IFS=:
13878 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
13879 if test x"$ac_file" != x-; then
13880 configure_input="$ac_file. $configure_input"
13881 { echo "$as_me:$LINENO: creating $ac_file" >&5
13882 echo "$as_me: creating $ac_file" >&6;}
13886 *:-:* | *:-) cat >"$tmp/stdin";;
13891 ac_dir=`$as_dirname -- "$ac_file" ||
13892 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13893 X"$ac_file" : 'X\(//\)[^/]' \| \
13894 X"$ac_file" : 'X\(//\)$' \| \
13895 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13901 /^X\(\/\/\)[^/].*/{
13916 -*) as_dir=./$as_dir;;
13918 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13922 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13923 *) as_qdir=$as_dir;;
13925 as_dirs="'$as_qdir' $as_dirs"
13926 as_dir=`$as_dirname -- "$as_dir" ||
13927 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13928 X"$as_dir" : 'X\(//\)[^/]' \| \
13929 X"$as_dir" : 'X\(//\)$' \| \
13930 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13932 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13936 /^X\(\/\/\)[^/].*/{
13949 test -d "$as_dir" && break
13951 test -z "$as_dirs" || eval "mkdir $as_dirs"
13952 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13953 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13954 { (exit 1); exit 1; }; }; }
13958 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13960 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13961 # A ".." for each directory in $ac_dir_suffix.
13962 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13963 case $ac_top_builddir_sub in
13964 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13965 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13968 ac_abs_top_builddir=$ac_pwd
13969 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13970 # for backward compatibility:
13971 ac_top_builddir=$ac_top_build_prefix
13974 .) # We are building in place.
13976 ac_top_srcdir=$ac_top_builddir_sub
13977 ac_abs_top_srcdir=$ac_pwd ;;
13978 [\\/]* | ?:[\\/]* ) # Absolute name.
13979 ac_srcdir=$srcdir$ac_dir_suffix;
13980 ac_top_srcdir=$srcdir
13981 ac_abs_top_srcdir=$srcdir ;;
13982 *) # Relative name.
13983 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13984 ac_top_srcdir=$ac_top_build_prefix$srcdir
13985 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13987 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13997 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13998 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14002 cat >>$CONFIG_STATUS <<\_ACEOF
14003 # If the template does not know about datarootdir, expand it.
14004 # FIXME: This hack should be removed a few years after 2.60.
14005 ac_datarootdir_hack=; ac_datarootdir_seen=
14007 case `sed -n '/datarootdir/ {
14016 ' $ac_file_inputs` in
14017 *datarootdir*) ac_datarootdir_seen=yes;;
14018 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14019 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14020 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14022 cat >>$CONFIG_STATUS <<_ACEOF
14023 ac_datarootdir_hack='
14024 s&@datadir@&$datadir&g
14025 s&@docdir@&$docdir&g
14026 s&@infodir@&$infodir&g
14027 s&@localedir@&$localedir&g
14028 s&@mandir@&$mandir&g
14029 s&\\\${datarootdir}&$datarootdir&g' ;;
14033 # Neutralize VPATH when `$srcdir' = `.'.
14034 # Shell code in configure.ac might set extrasub.
14035 # FIXME: do we really want to maintain this feature?
14036 cat >>$CONFIG_STATUS <<_ACEOF
14040 cat >>$CONFIG_STATUS <<\_ACEOF
14042 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14043 s&@configure_input@&$configure_input&;t t
14044 s&@top_builddir@&$ac_top_builddir_sub&;t t
14045 s&@srcdir@&$ac_srcdir&;t t
14046 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14047 s&@top_srcdir@&$ac_top_srcdir&;t t
14048 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14049 s&@builddir@&$ac_builddir&;t t
14050 s&@abs_builddir@&$ac_abs_builddir&;t t
14051 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14052 s&@INSTALL@&$ac_INSTALL&;t t
14053 $ac_datarootdir_hack
14054 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
14056 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14057 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14058 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14059 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14060 which seems to be undefined. Please make sure it is defined." >&5
14061 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14062 which seems to be undefined. Please make sure it is defined." >&2;}
14066 -) cat "$tmp/out"; rm -f "$tmp/out";;
14067 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
14076 # Transform confdefs.h into a sed script `conftest.defines', that
14077 # substitutes the proper values into config.h.in to produce config.h.
14078 rm -f conftest.defines conftest.tail
14079 # First, append a space to every undef/define line, to ease matching.
14080 echo 's/$/ /' >conftest.defines
14081 # Then, protect against being on the right side of a sed subst, or in
14082 # an unquoted here document, in config.status. If some macros were
14083 # called several times there might be several #defines for the same
14084 # symbol, which is useless. But do not sort them, since the last
14085 # AC_DEFINE must be honored.
14086 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14087 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
14088 # NAME is the cpp macro being defined, VALUE is the value it is being given.
14089 # PARAMS is the parameter list in the macro definition--in most cases, it's
14090 # just an empty string.
14091 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
14092 ac_dB='\\)[ (].*,\\1define\\2'
14100 s/^[ ]*#[ ]*define[ ][ ]*//
14105 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
14106 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
14107 ' >>conftest.defines
14109 # Remove the space that was appended to ease matching.
14110 # Then replace #undef with comments. This is necessary, for
14111 # example, in the case of _POSIX_SOURCE, which is predefined and required
14112 # on some systems where configure will not decide to define it.
14113 # (The regexp can be short, since the line contains either #define or #undef.)
14115 s,^[ #]*u.*,/* & */,' >>conftest.defines
14117 # Break up conftest.defines:
14118 ac_max_sed_lines=50
14120 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
14121 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
14122 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
14124 ac_in='$ac_file_inputs'
14125 ac_out='"$tmp/out1"'
14126 ac_nxt='"$tmp/out2"'
14130 # Write a here document:
14131 cat >>$CONFIG_STATUS <<_ACEOF
14132 # First, check the format of the line:
14133 cat >"\$tmp/defines.sed" <<\\CEOF
14134 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
14135 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
14139 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
14141 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
14142 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
14143 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
14144 grep . conftest.tail >/dev/null || break
14145 rm -f conftest.defines
14146 mv conftest.tail conftest.defines
14148 rm -f conftest.defines conftest.tail
14150 echo "ac_result=$ac_in" >>$CONFIG_STATUS
14151 cat >>$CONFIG_STATUS <<\_ACEOF
14152 if test x"$ac_file" != x-; then
14153 echo "/* $configure_input */" >"$tmp/config.h"
14154 cat "$ac_result" >>"$tmp/config.h"
14155 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
14156 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14157 echo "$as_me: $ac_file is unchanged" >&6;}
14160 mv "$tmp/config.h" $ac_file
14163 echo "/* $configure_input */"
14167 # Compute $ac_file's index in $config_headers.
14169 for _am_header in $config_headers :; do
14170 case $_am_header in
14171 $ac_file | $ac_file:* )
14174 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14177 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
14178 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14179 X$ac_file : 'X\(//\)[^/]' \| \
14180 X$ac_file : 'X\(//\)$' \| \
14181 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
14183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14187 /^X\(\/\/\)[^/].*/{
14199 s/.*/./; q'`/stamp-h$_am_stamp_count
14202 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
14203 echo "$as_me: executing $ac_file commands" >&6;}
14208 case $ac_file$ac_mode in
14209 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
14210 # Strip MF so we end up with the name of the file.
14211 mf=`echo "$mf" | sed -e 's/:.*$//'`
14212 # Check whether this is an Automake generated Makefile or not.
14213 # We used to match only the files named `Makefile.in', but
14214 # some people rename them; so instead we look at the file content.
14215 # Grep'ing the first line is not enough: some people post-process
14216 # each Makefile.in and add a new line on top of each file to say so.
14217 # So let's grep whole file.
14218 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
14219 dirpart=`$as_dirname -- "$mf" ||
14220 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14221 X"$mf" : 'X\(//\)[^/]' \| \
14222 X"$mf" : 'X\(//\)$' \| \
14223 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14229 /^X\(\/\/\)[^/].*/{
14245 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
14246 # Extract the definition of DEP_FILES from the Makefile without
14248 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
14249 test -z "$DEPDIR" && continue
14250 # When using ansi2knr, U may be empty or an underscore; expand it
14251 U=`sed -n -e '/^U = / s///p' < "$mf"`
14252 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
14253 # We invoke sed twice because it is the simplest approach to
14254 # changing $(DEPDIR) to its actual value in the expansion.
14255 for file in `sed -n -e '
14256 /^DEP_FILES = .*\\\\$/ {
14265 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
14266 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14267 # Make sure the directory exists.
14268 test -f "$dirpart/$file" && continue
14269 fdir=`$as_dirname -- "$file" ||
14270 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14271 X"$file" : 'X\(//\)[^/]' \| \
14272 X"$file" : 'X\(//\)$' \| \
14273 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14279 /^X\(\/\/\)[^/].*/{
14292 { as_dir=$dirpart/$fdir
14294 -*) as_dir=./$as_dir;;
14296 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14300 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14301 *) as_qdir=$as_dir;;
14303 as_dirs="'$as_qdir' $as_dirs"
14304 as_dir=`$as_dirname -- "$as_dir" ||
14305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14306 X"$as_dir" : 'X\(//\)[^/]' \| \
14307 X"$as_dir" : 'X\(//\)$' \| \
14308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14314 /^X\(\/\/\)[^/].*/{
14327 test -d "$as_dir" && break
14329 test -z "$as_dirs" || eval "mkdir $as_dirs"
14330 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14331 echo "$as_me: error: cannot create directory $as_dir" >&2;}
14332 { (exit 1); exit 1; }; }; }
14333 # echo "creating $dirpart/$file"
14334 echo '# dummy' > "$dirpart/$file"
14343 { (exit 0); exit 0; }
14345 chmod +x $CONFIG_STATUS
14346 ac_clean_files=$ac_clean_files_save
14349 # configure is writing to config.log, and then calls config.status.
14350 # config.status does its own redirection, appending to config.log.
14351 # Unfortunately, on DOS this fails, as config.log is still kept open
14352 # by configure, so config.status won't be able to write to it; its
14353 # output is simply discarded. So we exec the FD to /dev/null,
14354 # effectively closing config.log, so it can be properly (re)opened and
14355 # appended to by config.status. When coming back to configure, we
14356 # need to make the FD available again.
14357 if test "$no_create" != yes; then
14359 ac_config_status_args=
14360 test "$silent" = yes &&
14361 ac_config_status_args="$ac_config_status_args --quiet"
14363 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14365 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14366 # would make configure fail if this is the last instruction.
14367 $ac_cs_success || { (exit 1); exit 1; }