2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60a.
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="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_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.60a
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.60a. 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=
2923 { echo "$as_me:$LINENO: result: $ac_file" >&5
2924 echo "${ECHO_T}$ac_file" >&6; }
2925 if test -z "$ac_file"; then
2926 echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2929 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2930 See \`config.log' for more details." >&5
2931 echo "$as_me: error: C compiler cannot create executables
2932 See \`config.log' for more details." >&2;}
2933 { (exit 77); exit 77; }; }
2936 ac_exeext=$ac_cv_exeext
2938 # Check that the compiler produces executables we can run. If not, either
2939 # the compiler is broken, or we cross compile.
2940 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2941 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2942 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2943 # If not cross compiling, check that we can run a simple program.
2944 if test "$cross_compiling" != yes; then
2945 if { ac_try='./$ac_file'
2946 { (case "(($ac_try" in
2947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2948 *) ac_try_echo=$ac_try;;
2950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2951 (eval "$ac_try") 2>&5
2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954 (exit $ac_status); }; }; then
2957 if test "$cross_compiling" = maybe; then
2960 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2961 If you meant to cross compile, use \`--host'.
2962 See \`config.log' for more details." >&5
2963 echo "$as_me: error: cannot run C compiled programs.
2964 If you meant to cross compile, use \`--host'.
2965 See \`config.log' for more details." >&2;}
2966 { (exit 1); exit 1; }; }
2970 { echo "$as_me:$LINENO: result: yes" >&5
2971 echo "${ECHO_T}yes" >&6; }
2973 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2974 ac_clean_files=$ac_clean_files_save
2975 # Check that the compiler produces executables we can run. If not, either
2976 # the compiler is broken, or we cross compile.
2977 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2978 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2979 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2980 echo "${ECHO_T}$cross_compiling" >&6; }
2982 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2983 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2984 if { (ac_try="$ac_link"
2986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2987 *) ac_try_echo=$ac_try;;
2989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2990 (eval "$ac_link") 2>&5
2992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); }; then
2994 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2995 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2996 # work properly (i.e., refer to `conftest.exe'), while it won't with
2998 for ac_file in conftest.exe conftest conftest.*; do
2999 test -f "$ac_file" || continue
3001 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3002 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3008 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3009 See \`config.log' for more details." >&5
3010 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3011 See \`config.log' for more details." >&2;}
3012 { (exit 1); exit 1; }; }
3015 rm -f conftest$ac_cv_exeext
3016 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3017 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3019 rm -f conftest.$ac_ext
3020 EXEEXT=$ac_cv_exeext
3022 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3023 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3024 if test "${ac_cv_objext+set}" = set; then
3025 echo $ECHO_N "(cached) $ECHO_C" >&6
3027 cat >conftest.$ac_ext <<_ACEOF
3030 cat confdefs.h >>conftest.$ac_ext
3031 cat >>conftest.$ac_ext <<_ACEOF
3032 /* end confdefs.h. */
3042 rm -f conftest.o conftest.obj
3043 if { (ac_try="$ac_compile"
3045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3046 *) ac_try_echo=$ac_try;;
3048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3049 (eval "$ac_compile") 2>&5
3051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3052 (exit $ac_status); }; then
3053 for ac_file in conftest.o conftest.obj conftest.*; do
3054 test -f "$ac_file" || continue;
3056 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3057 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3062 echo "$as_me: failed program was:" >&5
3063 sed 's/^/| /' conftest.$ac_ext >&5
3065 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3066 See \`config.log' for more details." >&5
3067 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3068 See \`config.log' for more details." >&2;}
3069 { (exit 1); exit 1; }; }
3072 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3074 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3075 echo "${ECHO_T}$ac_cv_objext" >&6; }
3076 OBJEXT=$ac_cv_objext
3078 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3079 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3080 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3081 echo $ECHO_N "(cached) $ECHO_C" >&6
3083 cat >conftest.$ac_ext <<_ACEOF
3086 cat confdefs.h >>conftest.$ac_ext
3087 cat >>conftest.$ac_ext <<_ACEOF
3088 /* end confdefs.h. */
3101 rm -f conftest.$ac_objext
3102 if { (ac_try="$ac_compile"
3104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3105 *) ac_try_echo=$ac_try;;
3107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3108 (eval "$ac_compile") 2>conftest.er1
3110 grep -v '^ *+' conftest.er1 >conftest.err
3112 cat conftest.err >&5
3113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); } &&
3115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3116 { (case "(($ac_try" in
3117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3118 *) ac_try_echo=$ac_try;;
3120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3121 (eval "$ac_try") 2>&5
3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); }; } &&
3125 { ac_try='test -s conftest.$ac_objext'
3126 { (case "(($ac_try" in
3127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3128 *) ac_try_echo=$ac_try;;
3130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3131 (eval "$ac_try") 2>&5
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); }; }; then
3137 echo "$as_me: failed program was:" >&5
3138 sed 's/^/| /' conftest.$ac_ext >&5
3143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3144 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3147 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3148 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3149 GCC=`test $ac_compiler_gnu = yes && echo yes`
3150 ac_test_CFLAGS=${CFLAGS+set}
3151 ac_save_CFLAGS=$CFLAGS
3152 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3153 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3154 if test "${ac_cv_prog_cc_g+set}" = set; then
3155 echo $ECHO_N "(cached) $ECHO_C" >&6
3157 ac_save_c_werror_flag=$ac_c_werror_flag
3158 ac_c_werror_flag=yes
3161 cat >conftest.$ac_ext <<_ACEOF
3164 cat confdefs.h >>conftest.$ac_ext
3165 cat >>conftest.$ac_ext <<_ACEOF
3166 /* end confdefs.h. */
3176 rm -f conftest.$ac_objext
3177 if { (ac_try="$ac_compile"
3179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3180 *) ac_try_echo=$ac_try;;
3182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3183 (eval "$ac_compile") 2>conftest.er1
3185 grep -v '^ *+' conftest.er1 >conftest.err
3187 cat conftest.err >&5
3188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189 (exit $ac_status); } &&
3190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3191 { (case "(($ac_try" in
3192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3193 *) ac_try_echo=$ac_try;;
3195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3196 (eval "$ac_try") 2>&5
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); }; } &&
3200 { ac_try='test -s conftest.$ac_objext'
3201 { (case "(($ac_try" in
3202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3203 *) ac_try_echo=$ac_try;;
3205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3206 (eval "$ac_try") 2>&5
3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209 (exit $ac_status); }; }; then
3212 echo "$as_me: failed program was:" >&5
3213 sed 's/^/| /' conftest.$ac_ext >&5
3216 cat >conftest.$ac_ext <<_ACEOF
3219 cat confdefs.h >>conftest.$ac_ext
3220 cat >>conftest.$ac_ext <<_ACEOF
3221 /* end confdefs.h. */
3231 rm -f conftest.$ac_objext
3232 if { (ac_try="$ac_compile"
3234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3235 *) ac_try_echo=$ac_try;;
3237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3238 (eval "$ac_compile") 2>conftest.er1
3240 grep -v '^ *+' conftest.er1 >conftest.err
3242 cat conftest.err >&5
3243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3244 (exit $ac_status); } &&
3245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3246 { (case "(($ac_try" in
3247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3248 *) ac_try_echo=$ac_try;;
3250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3251 (eval "$ac_try") 2>&5
3253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254 (exit $ac_status); }; } &&
3255 { ac_try='test -s conftest.$ac_objext'
3256 { (case "(($ac_try" in
3257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3258 *) ac_try_echo=$ac_try;;
3260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3261 (eval "$ac_try") 2>&5
3263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3264 (exit $ac_status); }; }; then
3267 echo "$as_me: failed program was:" >&5
3268 sed 's/^/| /' conftest.$ac_ext >&5
3270 ac_c_werror_flag=$ac_save_c_werror_flag
3272 cat >conftest.$ac_ext <<_ACEOF
3275 cat confdefs.h >>conftest.$ac_ext
3276 cat >>conftest.$ac_ext <<_ACEOF
3277 /* end confdefs.h. */
3287 rm -f conftest.$ac_objext
3288 if { (ac_try="$ac_compile"
3290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3291 *) ac_try_echo=$ac_try;;
3293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3294 (eval "$ac_compile") 2>conftest.er1
3296 grep -v '^ *+' conftest.er1 >conftest.err
3298 cat conftest.err >&5
3299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300 (exit $ac_status); } &&
3301 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3302 { (case "(($ac_try" in
3303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3304 *) ac_try_echo=$ac_try;;
3306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3307 (eval "$ac_try") 2>&5
3309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310 (exit $ac_status); }; } &&
3311 { ac_try='test -s conftest.$ac_objext'
3312 { (case "(($ac_try" in
3313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3314 *) ac_try_echo=$ac_try;;
3316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3317 (eval "$ac_try") 2>&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); }; }; then
3323 echo "$as_me: failed program was:" >&5
3324 sed 's/^/| /' conftest.$ac_ext >&5
3329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3336 ac_c_werror_flag=$ac_save_c_werror_flag
3338 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3339 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3340 if test "$ac_test_CFLAGS" = set; then
3341 CFLAGS=$ac_save_CFLAGS
3342 elif test $ac_cv_prog_cc_g = yes; then
3343 if test "$GCC" = yes; then
3349 if test "$GCC" = yes; then
3355 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3356 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3357 if test "${ac_cv_prog_cc_c89+set}" = set; then
3358 echo $ECHO_N "(cached) $ECHO_C" >&6
3360 ac_cv_prog_cc_c89=no
3362 cat >conftest.$ac_ext <<_ACEOF
3365 cat confdefs.h >>conftest.$ac_ext
3366 cat >>conftest.$ac_ext <<_ACEOF
3367 /* end confdefs.h. */
3370 #include <sys/types.h>
3371 #include <sys/stat.h>
3372 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3373 struct buf { int x; };
3374 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3375 static char *e (p, i)
3381 static char *f (char * (*g) (char **, int), char **p, ...)
3386 s = g (p, va_arg (v,int));
3391 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3392 function prototypes and stuff, but not '\xHH' hex character constants.
3393 These don't provoke an error unfortunately, instead are silently treated
3394 as 'x'. The following induces an error, until -std is added to get
3395 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3396 array size at least. It's necessary to write '\x00'==0 to get something
3397 that's true only with -std. */
3398 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3400 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3401 inside strings and character constants. */
3403 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3405 int test (int i, double x);
3406 struct s1 {int (*f) (int a);};
3407 struct s2 {int (*f) (double a);};
3408 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3414 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3419 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3420 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3422 CC="$ac_save_CC $ac_arg"
3423 rm -f conftest.$ac_objext
3424 if { (ac_try="$ac_compile"
3426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3427 *) ac_try_echo=$ac_try;;
3429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3430 (eval "$ac_compile") 2>conftest.er1
3432 grep -v '^ *+' conftest.er1 >conftest.err
3434 cat conftest.err >&5
3435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3436 (exit $ac_status); } &&
3437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3438 { (case "(($ac_try" in
3439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3440 *) ac_try_echo=$ac_try;;
3442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3443 (eval "$ac_try") 2>&5
3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446 (exit $ac_status); }; } &&
3447 { ac_try='test -s conftest.$ac_objext'
3448 { (case "(($ac_try" in
3449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3450 *) ac_try_echo=$ac_try;;
3452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3453 (eval "$ac_try") 2>&5
3455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456 (exit $ac_status); }; }; then
3457 ac_cv_prog_cc_c89=$ac_arg
3459 echo "$as_me: failed program was:" >&5
3460 sed 's/^/| /' conftest.$ac_ext >&5
3465 rm -f core conftest.err conftest.$ac_objext
3466 test "x$ac_cv_prog_cc_c89" != "xno" && break
3468 rm -f conftest.$ac_ext
3473 case "x$ac_cv_prog_cc_c89" in
3475 { echo "$as_me:$LINENO: result: none needed" >&5
3476 echo "${ECHO_T}none needed" >&6; } ;;
3478 { echo "$as_me:$LINENO: result: unsupported" >&5
3479 echo "${ECHO_T}unsupported" >&6; } ;;
3481 CC="$CC $ac_cv_prog_cc_c89"
3482 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3483 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3488 ac_cpp='$CPP $CPPFLAGS'
3489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3492 DEPDIR="${am__leading_dot}deps"
3494 ac_config_commands="$ac_config_commands depfiles"
3497 am_make=${MAKE-make}
3498 cat > confinc << 'END'
3503 # If we don't find an include directive, just comment out the code.
3504 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3505 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3509 # First try GNU make style include.
3510 echo "include confinc" > confmf
3511 # We grep out `Entering directory' and `Leaving directory'
3512 # messages which can occur if `w' ends up in MAKEFLAGS.
3513 # In particular we don't look at `^make:' because GNU make might
3514 # be invoked under some other name (usually "gmake"), in which
3515 # case it prints its new name instead of `make'.
3516 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3521 # Now try BSD make style include.
3522 if test "$am__include" = "#"; then
3523 echo '.include "confinc"' > confmf
3524 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3525 am__include=.include
3532 { echo "$as_me:$LINENO: result: $_am_result" >&5
3533 echo "${ECHO_T}$_am_result" >&6; }
3534 rm -f confinc confmf
3536 # Check whether --enable-dependency-tracking was given.
3537 if test "${enable_dependency_tracking+set}" = set; then
3538 enableval=$enable_dependency_tracking;
3541 if test "x$enable_dependency_tracking" != xno; then
3542 am_depcomp="$ac_aux_dir/depcomp"
3547 if test "x$enable_dependency_tracking" != xno; then
3558 depcc="$CC" am_compiler_list=
3560 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3561 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3562 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3563 echo $ECHO_N "(cached) $ECHO_C" >&6
3565 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3566 # We make a subdir and do the tests there. Otherwise we can end up
3567 # making bogus files that we don't know about and never remove. For
3568 # instance it was reported that on HP-UX the gcc test will end up
3569 # making a dummy file named `D' -- because `-MD' means `put the output
3572 # Copy depcomp to subdir because otherwise we won't find it if we're
3573 # using a relative directory.
3574 cp "$am_depcomp" conftest.dir
3576 # We will build objects and dependencies in a subdirectory because
3577 # it helps to detect inapplicable dependency modes. For instance
3578 # both Tru64's cc and ICC support -MD to output dependencies as a
3579 # side effect of compilation, but ICC will put the dependencies in
3580 # the current directory while Tru64 will put them in the object
3584 am_cv_CC_dependencies_compiler_type=none
3585 if test "$am_compiler_list" = ""; then
3586 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3588 for depmode in $am_compiler_list; do
3589 # Setup a source with many dependencies, because some compilers
3590 # like to wrap large dependency lists on column 80 (with \), and
3591 # we should not choose a depcomp mode which is confused by this.
3593 # We need to recreate these files for each test, as the compiler may
3594 # overwrite some of them when testing with obscure command lines.
3595 # This happens at least with the AIX C compiler.
3597 for i in 1 2 3 4 5 6; do
3598 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3601 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3605 # after this tag, mechanisms are not by side-effect, so they'll
3606 # only be used when explicitly requested
3607 if test "x$enable_dependency_tracking" = xyes; then
3615 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3616 # mode. It turns out that the SunPro C++ compiler does not properly
3617 # handle `-M -o', and we need to detect this.
3618 if depmode=$depmode \
3619 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3620 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3621 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3622 >/dev/null 2>conftest.err &&
3623 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3624 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3625 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3626 # icc doesn't choke on unknown options, it will just issue warnings
3627 # (even with -Werror). So we grep stderr for any message
3628 # that says an option was ignored.
3629 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3630 am_cv_CC_dependencies_compiler_type=$depmode
3639 am_cv_CC_dependencies_compiler_type=none
3643 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3644 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3645 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3650 test "x$enable_dependency_tracking" != xno \
3651 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3653 am__fastdepCC_FALSE='#'
3655 am__fastdepCC_TRUE='#'
3656 am__fastdepCC_FALSE=
3661 ac_cpp='$CXXCPP $CPPFLAGS'
3662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3665 if test -z "$CXX"; then
3666 if test -n "$CCC"; then
3669 if test -n "$ac_tool_prefix"; then
3670 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3672 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3673 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3674 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3676 if test "${ac_cv_prog_CXX+set}" = set; then
3677 echo $ECHO_N "(cached) $ECHO_C" >&6
3679 if test -n "$CXX"; then
3680 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3686 test -z "$as_dir" && as_dir=.
3687 for ac_exec_ext in '' $ac_executable_extensions; do
3688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3689 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3700 if test -n "$CXX"; then
3701 { echo "$as_me:$LINENO: result: $CXX" >&5
3702 echo "${ECHO_T}$CXX" >&6; }
3704 { echo "$as_me:$LINENO: result: no" >&5
3705 echo "${ECHO_T}no" >&6; }
3709 test -n "$CXX" && break
3712 if test -z "$CXX"; then
3714 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3716 # Extract the first word of "$ac_prog", so it can be a program name with args.
3717 set dummy $ac_prog; ac_word=$2
3718 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3720 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3721 echo $ECHO_N "(cached) $ECHO_C" >&6
3723 if test -n "$ac_ct_CXX"; then
3724 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3730 test -z "$as_dir" && as_dir=.
3731 for ac_exec_ext in '' $ac_executable_extensions; do
3732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3733 ac_cv_prog_ac_ct_CXX="$ac_prog"
3734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3743 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3744 if test -n "$ac_ct_CXX"; then
3745 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3746 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3748 { echo "$as_me:$LINENO: result: no" >&5
3749 echo "${ECHO_T}no" >&6; }
3753 test -n "$ac_ct_CXX" && break
3756 if test "x$ac_ct_CXX" = x; then
3759 case $cross_compiling:$ac_tool_warned in
3761 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3762 whose name does not start with the host triplet. If you think this
3763 configuration is useful to you, please write to autoconf@gnu.org." >&5
3764 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3765 whose name does not start with the host triplet. If you think this
3766 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3767 ac_tool_warned=yes ;;
3775 # Provide some information about the compiler.
3776 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3777 ac_compiler=`set X $ac_compile; echo $2`
3778 { (ac_try="$ac_compiler --version >&5"
3780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3781 *) ac_try_echo=$ac_try;;
3783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3784 (eval "$ac_compiler --version >&5") 2>&5
3786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3787 (exit $ac_status); }
3788 { (ac_try="$ac_compiler -v >&5"
3790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3791 *) ac_try_echo=$ac_try;;
3793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3794 (eval "$ac_compiler -v >&5") 2>&5
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797 (exit $ac_status); }
3798 { (ac_try="$ac_compiler -V >&5"
3800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3801 *) ac_try_echo=$ac_try;;
3803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3804 (eval "$ac_compiler -V >&5") 2>&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); }
3809 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3810 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3811 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3812 echo $ECHO_N "(cached) $ECHO_C" >&6
3814 cat >conftest.$ac_ext <<_ACEOF
3817 cat confdefs.h >>conftest.$ac_ext
3818 cat >>conftest.$ac_ext <<_ACEOF
3819 /* end confdefs.h. */
3832 rm -f conftest.$ac_objext
3833 if { (ac_try="$ac_compile"
3835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3836 *) ac_try_echo=$ac_try;;
3838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3839 (eval "$ac_compile") 2>conftest.er1
3841 grep -v '^ *+' conftest.er1 >conftest.err
3843 cat conftest.err >&5
3844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3845 (exit $ac_status); } &&
3846 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3847 { (case "(($ac_try" in
3848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3849 *) ac_try_echo=$ac_try;;
3851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3852 (eval "$ac_try") 2>&5
3854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3855 (exit $ac_status); }; } &&
3856 { ac_try='test -s conftest.$ac_objext'
3857 { (case "(($ac_try" in
3858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3859 *) ac_try_echo=$ac_try;;
3861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3862 (eval "$ac_try") 2>&5
3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865 (exit $ac_status); }; }; then
3868 echo "$as_me: failed program was:" >&5
3869 sed 's/^/| /' conftest.$ac_ext >&5
3874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3875 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3878 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3879 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3880 GXX=`test $ac_compiler_gnu = yes && echo yes`
3881 ac_test_CXXFLAGS=${CXXFLAGS+set}
3882 ac_save_CXXFLAGS=$CXXFLAGS
3883 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3884 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3885 if test "${ac_cv_prog_cxx_g+set}" = set; then
3886 echo $ECHO_N "(cached) $ECHO_C" >&6
3888 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3889 ac_cxx_werror_flag=yes
3892 cat >conftest.$ac_ext <<_ACEOF
3895 cat confdefs.h >>conftest.$ac_ext
3896 cat >>conftest.$ac_ext <<_ACEOF
3897 /* end confdefs.h. */
3907 rm -f conftest.$ac_objext
3908 if { (ac_try="$ac_compile"
3910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3911 *) ac_try_echo=$ac_try;;
3913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3914 (eval "$ac_compile") 2>conftest.er1
3916 grep -v '^ *+' conftest.er1 >conftest.err
3918 cat conftest.err >&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); } &&
3921 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3922 { (case "(($ac_try" in
3923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3924 *) ac_try_echo=$ac_try;;
3926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3927 (eval "$ac_try") 2>&5
3929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3930 (exit $ac_status); }; } &&
3931 { ac_try='test -s conftest.$ac_objext'
3932 { (case "(($ac_try" in
3933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3934 *) ac_try_echo=$ac_try;;
3936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3937 (eval "$ac_try") 2>&5
3939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3940 (exit $ac_status); }; }; then
3941 ac_cv_prog_cxx_g=yes
3943 echo "$as_me: failed program was:" >&5
3944 sed 's/^/| /' conftest.$ac_ext >&5
3947 cat >conftest.$ac_ext <<_ACEOF
3950 cat confdefs.h >>conftest.$ac_ext
3951 cat >>conftest.$ac_ext <<_ACEOF
3952 /* end confdefs.h. */
3962 rm -f conftest.$ac_objext
3963 if { (ac_try="$ac_compile"
3965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3966 *) ac_try_echo=$ac_try;;
3968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3969 (eval "$ac_compile") 2>conftest.er1
3971 grep -v '^ *+' conftest.er1 >conftest.err
3973 cat conftest.err >&5
3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975 (exit $ac_status); } &&
3976 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3977 { (case "(($ac_try" in
3978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3979 *) ac_try_echo=$ac_try;;
3981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3982 (eval "$ac_try") 2>&5
3984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3985 (exit $ac_status); }; } &&
3986 { ac_try='test -s conftest.$ac_objext'
3987 { (case "(($ac_try" in
3988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3989 *) ac_try_echo=$ac_try;;
3991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3992 (eval "$ac_try") 2>&5
3994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3995 (exit $ac_status); }; }; then
3998 echo "$as_me: failed program was:" >&5
3999 sed 's/^/| /' conftest.$ac_ext >&5
4001 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4003 cat >conftest.$ac_ext <<_ACEOF
4006 cat confdefs.h >>conftest.$ac_ext
4007 cat >>conftest.$ac_ext <<_ACEOF
4008 /* end confdefs.h. */
4018 rm -f conftest.$ac_objext
4019 if { (ac_try="$ac_compile"
4021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4022 *) ac_try_echo=$ac_try;;
4024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4025 (eval "$ac_compile") 2>conftest.er1
4027 grep -v '^ *+' conftest.er1 >conftest.err
4029 cat conftest.err >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); } &&
4032 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4033 { (case "(($ac_try" in
4034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035 *) ac_try_echo=$ac_try;;
4037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4038 (eval "$ac_try") 2>&5
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); }; } &&
4042 { ac_try='test -s conftest.$ac_objext'
4043 { (case "(($ac_try" in
4044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4045 *) ac_try_echo=$ac_try;;
4047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4048 (eval "$ac_try") 2>&5
4050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051 (exit $ac_status); }; }; then
4052 ac_cv_prog_cxx_g=yes
4054 echo "$as_me: failed program was:" >&5
4055 sed 's/^/| /' conftest.$ac_ext >&5
4060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4067 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4069 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4070 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4071 if test "$ac_test_CXXFLAGS" = set; then
4072 CXXFLAGS=$ac_save_CXXFLAGS
4073 elif test $ac_cv_prog_cxx_g = yes; then
4074 if test "$GXX" = yes; then
4080 if test "$GXX" = yes; then
4087 ac_cpp='$CPP $CPPFLAGS'
4088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4092 depcc="$CXX" am_compiler_list=
4094 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4095 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4096 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4097 echo $ECHO_N "(cached) $ECHO_C" >&6
4099 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4100 # We make a subdir and do the tests there. Otherwise we can end up
4101 # making bogus files that we don't know about and never remove. For
4102 # instance it was reported that on HP-UX the gcc test will end up
4103 # making a dummy file named `D' -- because `-MD' means `put the output
4106 # Copy depcomp to subdir because otherwise we won't find it if we're
4107 # using a relative directory.
4108 cp "$am_depcomp" conftest.dir
4110 # We will build objects and dependencies in a subdirectory because
4111 # it helps to detect inapplicable dependency modes. For instance
4112 # both Tru64's cc and ICC support -MD to output dependencies as a
4113 # side effect of compilation, but ICC will put the dependencies in
4114 # the current directory while Tru64 will put them in the object
4118 am_cv_CXX_dependencies_compiler_type=none
4119 if test "$am_compiler_list" = ""; then
4120 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4122 for depmode in $am_compiler_list; do
4123 # Setup a source with many dependencies, because some compilers
4124 # like to wrap large dependency lists on column 80 (with \), and
4125 # we should not choose a depcomp mode which is confused by this.
4127 # We need to recreate these files for each test, as the compiler may
4128 # overwrite some of them when testing with obscure command lines.
4129 # This happens at least with the AIX C compiler.
4131 for i in 1 2 3 4 5 6; do
4132 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4135 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4139 # after this tag, mechanisms are not by side-effect, so they'll
4140 # only be used when explicitly requested
4141 if test "x$enable_dependency_tracking" = xyes; then
4149 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4150 # mode. It turns out that the SunPro C++ compiler does not properly
4151 # handle `-M -o', and we need to detect this.
4152 if depmode=$depmode \
4153 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4154 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4155 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4156 >/dev/null 2>conftest.err &&
4157 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4158 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4159 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4160 # icc doesn't choke on unknown options, it will just issue warnings
4161 # (even with -Werror). So we grep stderr for any message
4162 # that says an option was ignored.
4163 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
4164 am_cv_CXX_dependencies_compiler_type=$depmode
4173 am_cv_CXX_dependencies_compiler_type=none
4177 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4178 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4179 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4184 test "x$enable_dependency_tracking" != xno \
4185 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4186 am__fastdepCXX_TRUE=
4187 am__fastdepCXX_FALSE='#'
4189 am__fastdepCXX_TRUE='#'
4190 am__fastdepCXX_FALSE=
4196 ac_cpp='$CPP $CPPFLAGS'
4197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4200 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4201 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4202 # On Suns, sometimes $CPP names a directory.
4203 if test -n "$CPP" && test -d "$CPP"; then
4206 if test -z "$CPP"; then
4207 if test "${ac_cv_prog_CPP+set}" = set; then
4208 echo $ECHO_N "(cached) $ECHO_C" >&6
4210 # Double quotes because CPP needs to be expanded
4211 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4214 for ac_c_preproc_warn_flag in '' yes
4216 # Use a header file that comes with gcc, so configuring glibc
4217 # with a fresh cross-compiler works.
4218 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4219 # <limits.h> exists even on freestanding compilers.
4220 # On the NeXT, cc -E runs the code through the compiler's parser,
4221 # not just through cpp. "Syntax error" is here to catch this case.
4222 cat >conftest.$ac_ext <<_ACEOF
4225 cat confdefs.h >>conftest.$ac_ext
4226 cat >>conftest.$ac_ext <<_ACEOF
4227 /* end confdefs.h. */
4229 # include <limits.h>
4231 # include <assert.h>
4235 if { (ac_try="$ac_cpp conftest.$ac_ext"
4237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4238 *) ac_try_echo=$ac_try;;
4240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4241 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4243 grep -v '^ *+' conftest.er1 >conftest.err
4245 cat conftest.err >&5
4246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4247 (exit $ac_status); } >/dev/null; then
4248 if test -s conftest.err; then
4249 ac_cpp_err=$ac_c_preproc_warn_flag
4250 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4257 if test -z "$ac_cpp_err"; then
4260 echo "$as_me: failed program was:" >&5
4261 sed 's/^/| /' conftest.$ac_ext >&5
4263 # Broken: fails on valid input.
4267 rm -f conftest.err conftest.$ac_ext
4269 # OK, works on sane cases. Now check whether nonexistent headers
4270 # can be detected and how.
4271 cat >conftest.$ac_ext <<_ACEOF
4274 cat confdefs.h >>conftest.$ac_ext
4275 cat >>conftest.$ac_ext <<_ACEOF
4276 /* end confdefs.h. */
4277 #include <ac_nonexistent.h>
4279 if { (ac_try="$ac_cpp conftest.$ac_ext"
4281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4282 *) ac_try_echo=$ac_try;;
4284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4285 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4287 grep -v '^ *+' conftest.er1 >conftest.err
4289 cat conftest.err >&5
4290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291 (exit $ac_status); } >/dev/null; then
4292 if test -s conftest.err; then
4293 ac_cpp_err=$ac_c_preproc_warn_flag
4294 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4301 if test -z "$ac_cpp_err"; then
4302 # Broken: success on invalid input.
4305 echo "$as_me: failed program was:" >&5
4306 sed 's/^/| /' conftest.$ac_ext >&5
4308 # Passes both tests.
4313 rm -f conftest.err conftest.$ac_ext
4316 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4317 rm -f conftest.err conftest.$ac_ext
4318 if $ac_preproc_ok; then
4330 { echo "$as_me:$LINENO: result: $CPP" >&5
4331 echo "${ECHO_T}$CPP" >&6; }
4333 for ac_c_preproc_warn_flag in '' yes
4335 # Use a header file that comes with gcc, so configuring glibc
4336 # with a fresh cross-compiler works.
4337 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4338 # <limits.h> exists even on freestanding compilers.
4339 # On the NeXT, cc -E runs the code through the compiler's parser,
4340 # not just through cpp. "Syntax error" is here to catch this case.
4341 cat >conftest.$ac_ext <<_ACEOF
4344 cat confdefs.h >>conftest.$ac_ext
4345 cat >>conftest.$ac_ext <<_ACEOF
4346 /* end confdefs.h. */
4348 # include <limits.h>
4350 # include <assert.h>
4354 if { (ac_try="$ac_cpp conftest.$ac_ext"
4356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4357 *) ac_try_echo=$ac_try;;
4359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4360 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4362 grep -v '^ *+' conftest.er1 >conftest.err
4364 cat conftest.err >&5
4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366 (exit $ac_status); } >/dev/null; then
4367 if test -s conftest.err; then
4368 ac_cpp_err=$ac_c_preproc_warn_flag
4369 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4376 if test -z "$ac_cpp_err"; then
4379 echo "$as_me: failed program was:" >&5
4380 sed 's/^/| /' conftest.$ac_ext >&5
4382 # Broken: fails on valid input.
4386 rm -f conftest.err conftest.$ac_ext
4388 # OK, works on sane cases. Now check whether nonexistent headers
4389 # can be detected and how.
4390 cat >conftest.$ac_ext <<_ACEOF
4393 cat confdefs.h >>conftest.$ac_ext
4394 cat >>conftest.$ac_ext <<_ACEOF
4395 /* end confdefs.h. */
4396 #include <ac_nonexistent.h>
4398 if { (ac_try="$ac_cpp conftest.$ac_ext"
4400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4401 *) ac_try_echo=$ac_try;;
4403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4404 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4406 grep -v '^ *+' conftest.er1 >conftest.err
4408 cat conftest.err >&5
4409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410 (exit $ac_status); } >/dev/null; then
4411 if test -s conftest.err; then
4412 ac_cpp_err=$ac_c_preproc_warn_flag
4413 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4420 if test -z "$ac_cpp_err"; then
4421 # Broken: success on invalid input.
4424 echo "$as_me: failed program was:" >&5
4425 sed 's/^/| /' conftest.$ac_ext >&5
4427 # Passes both tests.
4432 rm -f conftest.err conftest.$ac_ext
4435 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4436 rm -f conftest.err conftest.$ac_ext
4437 if $ac_preproc_ok; then
4440 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4441 See \`config.log' for more details." >&5
4442 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4443 See \`config.log' for more details." >&2;}
4444 { (exit 1); exit 1; }; }
4448 ac_cpp='$CPP $CPPFLAGS'
4449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4454 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4455 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4456 if test "${ac_cv_path_GREP+set}" = set; then
4457 echo $ECHO_N "(cached) $ECHO_C" >&6
4459 # Extract the first word of "grep ggrep" to use in msg output
4460 if test -z "$GREP"; then
4461 set dummy grep ggrep; ac_prog_name=$2
4462 if test "${ac_cv_path_GREP+set}" = set; then
4463 echo $ECHO_N "(cached) $ECHO_C" >&6
4465 ac_path_GREP_found=false
4466 # Loop through the user's path and test for each of PROGNAME-LIST
4467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4468 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4471 test -z "$as_dir" && as_dir=.
4472 for ac_prog in grep ggrep; do
4473 for ac_exec_ext in '' $ac_executable_extensions; do
4474 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4475 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
4476 # Check for GNU ac_path_GREP and select it if it is found.
4477 # Check for GNU $ac_path_GREP
4478 case `"$ac_path_GREP" --version 2>&1` in
4480 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4483 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4486 cat "conftest.in" "conftest.in" >"conftest.tmp"
4487 mv "conftest.tmp" "conftest.in"
4488 cp "conftest.in" "conftest.nl"
4489 echo 'GREP' >> "conftest.nl"
4490 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4491 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4492 ac_count=`expr $ac_count + 1`
4493 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4494 # Best one so far, save it but keep looking for a better one
4495 ac_cv_path_GREP="$ac_path_GREP"
4496 ac_path_GREP_max=$ac_count
4498 # 10*(2^10) chars as input seems more than enough
4499 test $ac_count -gt 10 && break
4501 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4505 $ac_path_GREP_found && break 3
4515 GREP="$ac_cv_path_GREP"
4516 if test -z "$GREP"; then
4517 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4518 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4519 { (exit 1); exit 1; }; }
4523 ac_cv_path_GREP=$GREP
4528 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4529 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4530 GREP="$ac_cv_path_GREP"
4533 { echo "$as_me:$LINENO: checking for egrep" >&5
4534 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4535 if test "${ac_cv_path_EGREP+set}" = set; then
4536 echo $ECHO_N "(cached) $ECHO_C" >&6
4538 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4539 then ac_cv_path_EGREP="$GREP -E"
4541 # Extract the first word of "egrep" to use in msg output
4542 if test -z "$EGREP"; then
4543 set dummy egrep; ac_prog_name=$2
4544 if test "${ac_cv_path_EGREP+set}" = set; then
4545 echo $ECHO_N "(cached) $ECHO_C" >&6
4547 ac_path_EGREP_found=false
4548 # Loop through the user's path and test for each of PROGNAME-LIST
4549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4550 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4553 test -z "$as_dir" && as_dir=.
4554 for ac_prog in egrep; do
4555 for ac_exec_ext in '' $ac_executable_extensions; do
4556 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4557 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
4558 # Check for GNU ac_path_EGREP and select it if it is found.
4559 # Check for GNU $ac_path_EGREP
4560 case `"$ac_path_EGREP" --version 2>&1` in
4562 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4565 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4568 cat "conftest.in" "conftest.in" >"conftest.tmp"
4569 mv "conftest.tmp" "conftest.in"
4570 cp "conftest.in" "conftest.nl"
4571 echo 'EGREP' >> "conftest.nl"
4572 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4573 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4574 ac_count=`expr $ac_count + 1`
4575 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4576 # Best one so far, save it but keep looking for a better one
4577 ac_cv_path_EGREP="$ac_path_EGREP"
4578 ac_path_EGREP_max=$ac_count
4580 # 10*(2^10) chars as input seems more than enough
4581 test $ac_count -gt 10 && break
4583 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4587 $ac_path_EGREP_found && break 3
4597 EGREP="$ac_cv_path_EGREP"
4598 if test -z "$EGREP"; then
4599 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4600 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4601 { (exit 1); exit 1; }; }
4605 ac_cv_path_EGREP=$EGREP
4611 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4612 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4613 EGREP="$ac_cv_path_EGREP"
4616 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4617 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4618 if test "${ac_cv_header_stdc+set}" = set; then
4619 echo $ECHO_N "(cached) $ECHO_C" >&6
4621 cat >conftest.$ac_ext <<_ACEOF
4624 cat confdefs.h >>conftest.$ac_ext
4625 cat >>conftest.$ac_ext <<_ACEOF
4626 /* end confdefs.h. */
4640 rm -f conftest.$ac_objext
4641 if { (ac_try="$ac_compile"
4643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4644 *) ac_try_echo=$ac_try;;
4646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4647 (eval "$ac_compile") 2>conftest.er1
4649 grep -v '^ *+' conftest.er1 >conftest.err
4651 cat conftest.err >&5
4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 (exit $ac_status); } &&
4654 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4655 { (case "(($ac_try" in
4656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4657 *) ac_try_echo=$ac_try;;
4659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4660 (eval "$ac_try") 2>&5
4662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); }; } &&
4664 { ac_try='test -s conftest.$ac_objext'
4665 { (case "(($ac_try" in
4666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4667 *) ac_try_echo=$ac_try;;
4669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4670 (eval "$ac_try") 2>&5
4672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673 (exit $ac_status); }; }; then
4674 ac_cv_header_stdc=yes
4676 echo "$as_me: failed program was:" >&5
4677 sed 's/^/| /' conftest.$ac_ext >&5
4679 ac_cv_header_stdc=no
4682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4684 if test $ac_cv_header_stdc = yes; then
4685 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4686 cat >conftest.$ac_ext <<_ACEOF
4689 cat confdefs.h >>conftest.$ac_ext
4690 cat >>conftest.$ac_ext <<_ACEOF
4691 /* end confdefs.h. */
4695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4696 $EGREP "memchr" >/dev/null 2>&1; then
4699 ac_cv_header_stdc=no
4705 if test $ac_cv_header_stdc = yes; then
4706 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4707 cat >conftest.$ac_ext <<_ACEOF
4710 cat confdefs.h >>conftest.$ac_ext
4711 cat >>conftest.$ac_ext <<_ACEOF
4712 /* end confdefs.h. */
4716 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4717 $EGREP "free" >/dev/null 2>&1; then
4720 ac_cv_header_stdc=no
4726 if test $ac_cv_header_stdc = yes; then
4727 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4728 if test "$cross_compiling" = yes; then
4731 cat >conftest.$ac_ext <<_ACEOF
4734 cat confdefs.h >>conftest.$ac_ext
4735 cat >>conftest.$ac_ext <<_ACEOF
4736 /* end confdefs.h. */
4739 #if ((' ' & 0x0FF) == 0x020)
4740 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4741 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4743 # define ISLOWER(c) \
4744 (('a' <= (c) && (c) <= 'i') \
4745 || ('j' <= (c) && (c) <= 'r') \
4746 || ('s' <= (c) && (c) <= 'z'))
4747 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4750 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4755 for (i = 0; i < 256; i++)
4756 if (XOR (islower (i), ISLOWER (i))
4757 || toupper (i) != TOUPPER (i))
4762 rm -f conftest$ac_exeext
4763 if { (ac_try="$ac_link"
4765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4766 *) ac_try_echo=$ac_try;;
4768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4769 (eval "$ac_link") 2>&5
4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4773 { (case "(($ac_try" in
4774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4775 *) ac_try_echo=$ac_try;;
4777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4778 (eval "$ac_try") 2>&5
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); }; }; then
4784 echo "$as_me: program exited with status $ac_status" >&5
4785 echo "$as_me: failed program was:" >&5
4786 sed 's/^/| /' conftest.$ac_ext >&5
4789 ac_cv_header_stdc=no
4791 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4797 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4798 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4799 if test $ac_cv_header_stdc = yes; then
4801 cat >>confdefs.h <<\_ACEOF
4802 #define STDC_HEADERS 1
4807 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4817 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4818 inttypes.h stdint.h unistd.h
4820 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4821 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4823 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4824 echo $ECHO_N "(cached) $ECHO_C" >&6
4826 cat >conftest.$ac_ext <<_ACEOF
4829 cat confdefs.h >>conftest.$ac_ext
4830 cat >>conftest.$ac_ext <<_ACEOF
4831 /* end confdefs.h. */
4832 $ac_includes_default
4834 #include <$ac_header>
4836 rm -f conftest.$ac_objext
4837 if { (ac_try="$ac_compile"
4839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4840 *) ac_try_echo=$ac_try;;
4842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4843 (eval "$ac_compile") 2>conftest.er1
4845 grep -v '^ *+' conftest.er1 >conftest.err
4847 cat conftest.err >&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); } &&
4850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4851 { (case "(($ac_try" in
4852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4853 *) ac_try_echo=$ac_try;;
4855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4856 (eval "$ac_try") 2>&5
4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859 (exit $ac_status); }; } &&
4860 { ac_try='test -s conftest.$ac_objext'
4861 { (case "(($ac_try" in
4862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4863 *) ac_try_echo=$ac_try;;
4865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4866 (eval "$ac_try") 2>&5
4868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4869 (exit $ac_status); }; }; then
4870 eval "$as_ac_Header=yes"
4872 echo "$as_me: failed program was:" >&5
4873 sed 's/^/| /' conftest.$ac_ext >&5
4875 eval "$as_ac_Header=no"
4878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4880 ac_res=`eval echo '${'$as_ac_Header'}'`
4881 { echo "$as_me:$LINENO: result: $ac_res" >&5
4882 echo "${ECHO_T}$ac_res" >&6; }
4883 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4884 cat >>confdefs.h <<_ACEOF
4885 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4893 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4894 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4895 if test "${ac_cv_c_bigendian+set}" = set; then
4896 echo $ECHO_N "(cached) $ECHO_C" >&6
4898 # See if sys/param.h defines the BYTE_ORDER macro.
4899 cat >conftest.$ac_ext <<_ACEOF
4902 cat confdefs.h >>conftest.$ac_ext
4903 cat >>conftest.$ac_ext <<_ACEOF
4904 /* end confdefs.h. */
4905 #include <sys/types.h>
4906 #include <sys/param.h>
4911 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
4912 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
4920 rm -f conftest.$ac_objext
4921 if { (ac_try="$ac_compile"
4923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4924 *) ac_try_echo=$ac_try;;
4926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4927 (eval "$ac_compile") 2>conftest.er1
4929 grep -v '^ *+' conftest.er1 >conftest.err
4931 cat conftest.err >&5
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); } &&
4934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4935 { (case "(($ac_try" in
4936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4937 *) ac_try_echo=$ac_try;;
4939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4940 (eval "$ac_try") 2>&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); }; } &&
4944 { ac_try='test -s conftest.$ac_objext'
4945 { (case "(($ac_try" in
4946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4947 *) ac_try_echo=$ac_try;;
4949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4950 (eval "$ac_try") 2>&5
4952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4953 (exit $ac_status); }; }; then
4954 # It does; now see whether it defined to BIG_ENDIAN or not.
4955 cat >conftest.$ac_ext <<_ACEOF
4958 cat confdefs.h >>conftest.$ac_ext
4959 cat >>conftest.$ac_ext <<_ACEOF
4960 /* end confdefs.h. */
4961 #include <sys/types.h>
4962 #include <sys/param.h>
4967 #if BYTE_ORDER != BIG_ENDIAN
4975 rm -f conftest.$ac_objext
4976 if { (ac_try="$ac_compile"
4978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4979 *) ac_try_echo=$ac_try;;
4981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4982 (eval "$ac_compile") 2>conftest.er1
4984 grep -v '^ *+' conftest.er1 >conftest.err
4986 cat conftest.err >&5
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); } &&
4989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4990 { (case "(($ac_try" in
4991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4992 *) ac_try_echo=$ac_try;;
4994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4995 (eval "$ac_try") 2>&5
4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998 (exit $ac_status); }; } &&
4999 { ac_try='test -s conftest.$ac_objext'
5000 { (case "(($ac_try" in
5001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5002 *) ac_try_echo=$ac_try;;
5004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5005 (eval "$ac_try") 2>&5
5007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5008 (exit $ac_status); }; }; then
5009 ac_cv_c_bigendian=yes
5011 echo "$as_me: failed program was:" >&5
5012 sed 's/^/| /' conftest.$ac_ext >&5
5014 ac_cv_c_bigendian=no
5017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5019 echo "$as_me: failed program was:" >&5
5020 sed 's/^/| /' conftest.$ac_ext >&5
5022 # It does not; compile a test program.
5023 if test "$cross_compiling" = yes; then
5024 # try to guess the endianness by grepping values into an object file
5025 ac_cv_c_bigendian=unknown
5026 cat >conftest.$ac_ext <<_ACEOF
5029 cat confdefs.h >>conftest.$ac_ext
5030 cat >>conftest.$ac_ext <<_ACEOF
5031 /* end confdefs.h. */
5032 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5033 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5034 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
5035 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5036 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5037 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
5041 _ascii (); _ebcdic ();
5046 rm -f conftest.$ac_objext
5047 if { (ac_try="$ac_compile"
5049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5050 *) ac_try_echo=$ac_try;;
5052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5053 (eval "$ac_compile") 2>conftest.er1
5055 grep -v '^ *+' conftest.er1 >conftest.err
5057 cat conftest.err >&5
5058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); } &&
5060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5061 { (case "(($ac_try" in
5062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5063 *) ac_try_echo=$ac_try;;
5065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5066 (eval "$ac_try") 2>&5
5068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5069 (exit $ac_status); }; } &&
5070 { ac_try='test -s conftest.$ac_objext'
5071 { (case "(($ac_try" in
5072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5073 *) ac_try_echo=$ac_try;;
5075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5076 (eval "$ac_try") 2>&5
5078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5079 (exit $ac_status); }; }; then
5080 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
5081 ac_cv_c_bigendian=yes
5083 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5084 if test "$ac_cv_c_bigendian" = unknown; then
5085 ac_cv_c_bigendian=no
5087 # finding both strings is unlikely to happen, but who knows?
5088 ac_cv_c_bigendian=unknown
5092 echo "$as_me: failed program was:" >&5
5093 sed 's/^/| /' conftest.$ac_ext >&5
5098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5100 cat >conftest.$ac_ext <<_ACEOF
5103 cat confdefs.h >>conftest.$ac_ext
5104 cat >>conftest.$ac_ext <<_ACEOF
5105 /* end confdefs.h. */
5106 $ac_includes_default
5111 /* Are we little or big endian? From Harbison&Steele. */
5115 char c[sizeof (long int)];
5118 return u.c[sizeof (long int) - 1] == 1;
5124 rm -f conftest$ac_exeext
5125 if { (ac_try="$ac_link"
5127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5128 *) ac_try_echo=$ac_try;;
5130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5131 (eval "$ac_link") 2>&5
5133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5134 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5135 { (case "(($ac_try" in
5136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5137 *) ac_try_echo=$ac_try;;
5139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5140 (eval "$ac_try") 2>&5
5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5143 (exit $ac_status); }; }; then
5144 ac_cv_c_bigendian=no
5146 echo "$as_me: program exited with status $ac_status" >&5
5147 echo "$as_me: failed program was:" >&5
5148 sed 's/^/| /' conftest.$ac_ext >&5
5151 ac_cv_c_bigendian=yes
5153 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5161 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5162 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
5163 case $ac_cv_c_bigendian in
5166 cat >>confdefs.h <<\_ACEOF
5167 #define WORDS_BIGENDIAN 1
5173 { { echo "$as_me:$LINENO: error: unknown endianness
5174 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5175 echo "$as_me: error: unknown endianness
5176 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5177 { (exit 1); exit 1; }; } ;;
5181 # Extract the first word of "wxgtk-2.4-config", so it can be a program name with args.
5182 set dummy wxgtk-2.4-config; ac_word=$2
5183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5185 if test "${ac_cv_path_wxconfig+set}" = set; then
5186 echo $ECHO_N "(cached) $ECHO_C" >&6
5190 ac_cv_path_wxconfig="$wxconfig" # Let the user override the test with a path.
5193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5197 test -z "$as_dir" && as_dir=.
5198 for ac_exec_ext in '' $ac_executable_extensions; do
5199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5200 ac_cv_path_wxconfig="$as_dir/$ac_word$ac_exec_ext"
5201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5211 wxconfig=$ac_cv_path_wxconfig
5212 if test -n "$wxconfig"; then
5213 { echo "$as_me:$LINENO: result: $wxconfig" >&5
5214 echo "${ECHO_T}$wxconfig" >&6; }
5216 { echo "$as_me:$LINENO: result: no" >&5
5217 echo "${ECHO_T}no" >&6; }
5221 if ! "$wxconfig" ; then
5222 # Extract the first word of "wx-config", so it can be a program name with args.
5223 set dummy wx-config; ac_word=$2
5224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5226 if test "${ac_cv_path_wxconfig+set}" = set; then
5227 echo $ECHO_N "(cached) $ECHO_C" >&6
5231 ac_cv_path_wxconfig="$wxconfig" # Let the user override the test with a path.
5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238 test -z "$as_dir" && as_dir=.
5239 for ac_exec_ext in '' $ac_executable_extensions; do
5240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5241 ac_cv_path_wxconfig="$as_dir/$ac_word$ac_exec_ext"
5242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5252 wxconfig=$ac_cv_path_wxconfig
5253 if test -n "$wxconfig"; then
5254 { echo "$as_me:$LINENO: result: $wxconfig" >&5
5255 echo "${ECHO_T}$wxconfig" >&6; }
5257 { echo "$as_me:$LINENO: result: no" >&5
5258 echo "${ECHO_T}no" >&6; }
5264 # Make sure we can run config.sub.
5265 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5266 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5267 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5268 { (exit 1); exit 1; }; }
5270 { echo "$as_me:$LINENO: checking build system type" >&5
5271 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
5272 if test "${ac_cv_build+set}" = set; then
5273 echo $ECHO_N "(cached) $ECHO_C" >&6
5275 ac_build_alias=$build_alias
5276 test "x$ac_build_alias" = x &&
5277 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5278 test "x$ac_build_alias" = x &&
5279 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5280 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5281 { (exit 1); exit 1; }; }
5282 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5283 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5284 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5285 { (exit 1); exit 1; }; }
5288 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5289 echo "${ECHO_T}$ac_cv_build" >&6; }
5290 case $ac_cv_build in
5292 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5293 echo "$as_me: error: invalid value of canonical build" >&2;}
5294 { (exit 1); exit 1; }; };;
5297 ac_save_IFS=$IFS; IFS='-'
5303 # Remember, the first character of IFS is used to create $*,
5304 # except with old shells:
5307 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5310 { echo "$as_me:$LINENO: checking host system type" >&5
5311 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
5312 if test "${ac_cv_host+set}" = set; then
5313 echo $ECHO_N "(cached) $ECHO_C" >&6
5315 if test "x$host_alias" = x; then
5316 ac_cv_host=$ac_cv_build
5318 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5319 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5320 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5321 { (exit 1); exit 1; }; }
5325 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5326 echo "${ECHO_T}$ac_cv_host" >&6; }
5329 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5330 echo "$as_me: error: invalid value of canonical host" >&2;}
5331 { (exit 1); exit 1; }; };;
5334 ac_save_IFS=$IFS; IFS='-'
5340 # Remember, the first character of IFS is used to create $*,
5341 # except with old shells:
5344 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5347 { echo "$as_me:$LINENO: checking for inline" >&5
5348 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
5349 if test "${ac_cv_c_inline+set}" = set; then
5350 echo $ECHO_N "(cached) $ECHO_C" >&6
5353 for ac_kw in inline __inline__ __inline; do
5354 cat >conftest.$ac_ext <<_ACEOF
5357 cat confdefs.h >>conftest.$ac_ext
5358 cat >>conftest.$ac_ext <<_ACEOF
5359 /* end confdefs.h. */
5362 static $ac_kw foo_t static_foo () {return 0; }
5363 $ac_kw foo_t foo () {return 0; }
5367 rm -f conftest.$ac_objext
5368 if { (ac_try="$ac_compile"
5370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5371 *) ac_try_echo=$ac_try;;
5373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5374 (eval "$ac_compile") 2>conftest.er1
5376 grep -v '^ *+' conftest.er1 >conftest.err
5378 cat conftest.err >&5
5379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); } &&
5381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5382 { (case "(($ac_try" in
5383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5384 *) ac_try_echo=$ac_try;;
5386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5387 (eval "$ac_try") 2>&5
5389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5390 (exit $ac_status); }; } &&
5391 { ac_try='test -s conftest.$ac_objext'
5392 { (case "(($ac_try" in
5393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5394 *) ac_try_echo=$ac_try;;
5396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5397 (eval "$ac_try") 2>&5
5399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5400 (exit $ac_status); }; }; then
5401 ac_cv_c_inline=$ac_kw
5403 echo "$as_me: failed program was:" >&5
5404 sed 's/^/| /' conftest.$ac_ext >&5
5409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5410 test "$ac_cv_c_inline" != no && break
5414 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5415 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
5418 case $ac_cv_c_inline in
5421 case $ac_cv_c_inline in
5423 *) ac_val=$ac_cv_c_inline;;
5425 cat >>confdefs.h <<_ACEOF
5427 #define inline $ac_val
5433 { echo "$as_me:$LINENO: checking for short" >&5
5434 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
5435 if test "${ac_cv_type_short+set}" = set; then
5436 echo $ECHO_N "(cached) $ECHO_C" >&6
5438 cat >conftest.$ac_ext <<_ACEOF
5441 cat confdefs.h >>conftest.$ac_ext
5442 cat >>conftest.$ac_ext <<_ACEOF
5443 /* end confdefs.h. */
5444 $ac_includes_default
5445 typedef short ac__type_new_;
5449 if ((ac__type_new_ *) 0)
5451 if (sizeof (ac__type_new_))
5457 rm -f conftest.$ac_objext
5458 if { (ac_try="$ac_compile"
5460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5461 *) ac_try_echo=$ac_try;;
5463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5464 (eval "$ac_compile") 2>conftest.er1
5466 grep -v '^ *+' conftest.er1 >conftest.err
5468 cat conftest.err >&5
5469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5470 (exit $ac_status); } &&
5471 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5472 { (case "(($ac_try" in
5473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5474 *) ac_try_echo=$ac_try;;
5476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5477 (eval "$ac_try") 2>&5
5479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5480 (exit $ac_status); }; } &&
5481 { ac_try='test -s conftest.$ac_objext'
5482 { (case "(($ac_try" in
5483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5484 *) ac_try_echo=$ac_try;;
5486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5487 (eval "$ac_try") 2>&5
5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490 (exit $ac_status); }; }; then
5491 ac_cv_type_short=yes
5493 echo "$as_me: failed program was:" >&5
5494 sed 's/^/| /' conftest.$ac_ext >&5
5499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5501 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
5502 echo "${ECHO_T}$ac_cv_type_short" >&6; }
5504 # The cast to long int works around a bug in the HP C Compiler
5505 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5506 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5507 # This bug is HP SR number 8606223364.
5508 { echo "$as_me:$LINENO: checking size of short" >&5
5509 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
5510 if test "${ac_cv_sizeof_short+set}" = set; then
5511 echo $ECHO_N "(cached) $ECHO_C" >&6
5513 if test "$cross_compiling" = yes; then
5514 # Depending upon the size, compute the lo and hi bounds.
5515 cat >conftest.$ac_ext <<_ACEOF
5518 cat confdefs.h >>conftest.$ac_ext
5519 cat >>conftest.$ac_ext <<_ACEOF
5520 /* end confdefs.h. */
5521 $ac_includes_default
5522 typedef short ac__type_sizeof_;
5527 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5534 rm -f conftest.$ac_objext
5535 if { (ac_try="$ac_compile"
5537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5538 *) ac_try_echo=$ac_try;;
5540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5541 (eval "$ac_compile") 2>conftest.er1
5543 grep -v '^ *+' conftest.er1 >conftest.err
5545 cat conftest.err >&5
5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547 (exit $ac_status); } &&
5548 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5549 { (case "(($ac_try" in
5550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5551 *) ac_try_echo=$ac_try;;
5553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5554 (eval "$ac_try") 2>&5
5556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5557 (exit $ac_status); }; } &&
5558 { ac_try='test -s conftest.$ac_objext'
5559 { (case "(($ac_try" in
5560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5561 *) ac_try_echo=$ac_try;;
5563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5564 (eval "$ac_try") 2>&5
5566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567 (exit $ac_status); }; }; then
5570 cat >conftest.$ac_ext <<_ACEOF
5573 cat confdefs.h >>conftest.$ac_ext
5574 cat >>conftest.$ac_ext <<_ACEOF
5575 /* end confdefs.h. */
5576 $ac_includes_default
5577 typedef short ac__type_sizeof_;
5582 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5589 rm -f conftest.$ac_objext
5590 if { (ac_try="$ac_compile"
5592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5593 *) ac_try_echo=$ac_try;;
5595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5596 (eval "$ac_compile") 2>conftest.er1
5598 grep -v '^ *+' conftest.er1 >conftest.err
5600 cat conftest.err >&5
5601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5602 (exit $ac_status); } &&
5603 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5604 { (case "(($ac_try" in
5605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5606 *) ac_try_echo=$ac_try;;
5608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5609 (eval "$ac_try") 2>&5
5611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 (exit $ac_status); }; } &&
5613 { ac_try='test -s conftest.$ac_objext'
5614 { (case "(($ac_try" in
5615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5616 *) ac_try_echo=$ac_try;;
5618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5619 (eval "$ac_try") 2>&5
5621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 (exit $ac_status); }; }; then
5623 ac_hi=$ac_mid; break
5625 echo "$as_me: failed program was:" >&5
5626 sed 's/^/| /' conftest.$ac_ext >&5
5628 ac_lo=`expr $ac_mid + 1`
5629 if test $ac_lo -le $ac_mid; then
5633 ac_mid=`expr 2 '*' $ac_mid + 1`
5636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5639 echo "$as_me: failed program was:" >&5
5640 sed 's/^/| /' conftest.$ac_ext >&5
5642 cat >conftest.$ac_ext <<_ACEOF
5645 cat confdefs.h >>conftest.$ac_ext
5646 cat >>conftest.$ac_ext <<_ACEOF
5647 /* end confdefs.h. */
5648 $ac_includes_default
5649 typedef short ac__type_sizeof_;
5654 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5661 rm -f conftest.$ac_objext
5662 if { (ac_try="$ac_compile"
5664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5665 *) ac_try_echo=$ac_try;;
5667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5668 (eval "$ac_compile") 2>conftest.er1
5670 grep -v '^ *+' conftest.er1 >conftest.err
5672 cat conftest.err >&5
5673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5674 (exit $ac_status); } &&
5675 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5676 { (case "(($ac_try" in
5677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5678 *) ac_try_echo=$ac_try;;
5680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5681 (eval "$ac_try") 2>&5
5683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684 (exit $ac_status); }; } &&
5685 { ac_try='test -s conftest.$ac_objext'
5686 { (case "(($ac_try" in
5687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5688 *) ac_try_echo=$ac_try;;
5690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5691 (eval "$ac_try") 2>&5
5693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694 (exit $ac_status); }; }; then
5697 cat >conftest.$ac_ext <<_ACEOF
5700 cat confdefs.h >>conftest.$ac_ext
5701 cat >>conftest.$ac_ext <<_ACEOF
5702 /* end confdefs.h. */
5703 $ac_includes_default
5704 typedef short ac__type_sizeof_;
5709 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5716 rm -f conftest.$ac_objext
5717 if { (ac_try="$ac_compile"
5719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5720 *) ac_try_echo=$ac_try;;
5722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5723 (eval "$ac_compile") 2>conftest.er1
5725 grep -v '^ *+' conftest.er1 >conftest.err
5727 cat conftest.err >&5
5728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5729 (exit $ac_status); } &&
5730 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5731 { (case "(($ac_try" in
5732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5733 *) ac_try_echo=$ac_try;;
5735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5736 (eval "$ac_try") 2>&5
5738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 (exit $ac_status); }; } &&
5740 { ac_try='test -s conftest.$ac_objext'
5741 { (case "(($ac_try" in
5742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5743 *) ac_try_echo=$ac_try;;
5745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5746 (eval "$ac_try") 2>&5
5748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749 (exit $ac_status); }; }; then
5750 ac_lo=$ac_mid; break
5752 echo "$as_me: failed program was:" >&5
5753 sed 's/^/| /' conftest.$ac_ext >&5
5755 ac_hi=`expr '(' $ac_mid ')' - 1`
5756 if test $ac_mid -le $ac_hi; then
5760 ac_mid=`expr 2 '*' $ac_mid`
5763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5766 echo "$as_me: failed program was:" >&5
5767 sed 's/^/| /' conftest.$ac_ext >&5
5772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5776 # Binary search between lo and hi bounds.
5777 while test "x$ac_lo" != "x$ac_hi"; do
5778 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5779 cat >conftest.$ac_ext <<_ACEOF
5782 cat confdefs.h >>conftest.$ac_ext
5783 cat >>conftest.$ac_ext <<_ACEOF
5784 /* end confdefs.h. */
5785 $ac_includes_default
5786 typedef short ac__type_sizeof_;
5791 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5798 rm -f conftest.$ac_objext
5799 if { (ac_try="$ac_compile"
5801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5802 *) ac_try_echo=$ac_try;;
5804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5805 (eval "$ac_compile") 2>conftest.er1
5807 grep -v '^ *+' conftest.er1 >conftest.err
5809 cat conftest.err >&5
5810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5811 (exit $ac_status); } &&
5812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5813 { (case "(($ac_try" in
5814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5815 *) ac_try_echo=$ac_try;;
5817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5818 (eval "$ac_try") 2>&5
5820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5821 (exit $ac_status); }; } &&
5822 { ac_try='test -s conftest.$ac_objext'
5823 { (case "(($ac_try" in
5824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5825 *) ac_try_echo=$ac_try;;
5827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5828 (eval "$ac_try") 2>&5
5830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5831 (exit $ac_status); }; }; then
5834 echo "$as_me: failed program was:" >&5
5835 sed 's/^/| /' conftest.$ac_ext >&5
5837 ac_lo=`expr '(' $ac_mid ')' + 1`
5840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5843 ?*) ac_cv_sizeof_short=$ac_lo;;
5844 '') if test "$ac_cv_type_short" = yes; then
5845 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
5846 See \`config.log' for more details." >&5
5847 echo "$as_me: error: cannot compute sizeof (short)
5848 See \`config.log' for more details." >&2;}
5849 { (exit 77); exit 77; }; }
5851 ac_cv_sizeof_short=0
5855 cat >conftest.$ac_ext <<_ACEOF
5858 cat confdefs.h >>conftest.$ac_ext
5859 cat >>conftest.$ac_ext <<_ACEOF
5860 /* end confdefs.h. */
5861 $ac_includes_default
5862 typedef short ac__type_sizeof_;
5864 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5865 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5872 FILE *f = fopen ("conftest.val", "w");
5875 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5877 long int i = longval ();
5878 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5880 fprintf (f, "%ld\n", i);
5884 unsigned long int i = ulongval ();
5885 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5887 fprintf (f, "%lu\n", i);
5889 return ferror (f) || fclose (f) != 0;
5895 rm -f conftest$ac_exeext
5896 if { (ac_try="$ac_link"
5898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5899 *) ac_try_echo=$ac_try;;
5901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5902 (eval "$ac_link") 2>&5
5904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5906 { (case "(($ac_try" in
5907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5908 *) ac_try_echo=$ac_try;;
5910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5911 (eval "$ac_try") 2>&5
5913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5914 (exit $ac_status); }; }; then
5915 ac_cv_sizeof_short=`cat conftest.val`
5917 echo "$as_me: program exited with status $ac_status" >&5
5918 echo "$as_me: failed program was:" >&5
5919 sed 's/^/| /' conftest.$ac_ext >&5
5922 if test "$ac_cv_type_short" = yes; then
5923 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
5924 See \`config.log' for more details." >&5
5925 echo "$as_me: error: cannot compute sizeof (short)
5926 See \`config.log' for more details." >&2;}
5927 { (exit 77); exit 77; }; }
5929 ac_cv_sizeof_short=0
5932 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5936 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
5937 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
5941 cat >>confdefs.h <<_ACEOF
5942 #define SIZEOF_SHORT $ac_cv_sizeof_short
5946 { echo "$as_me:$LINENO: checking for int" >&5
5947 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
5948 if test "${ac_cv_type_int+set}" = set; then
5949 echo $ECHO_N "(cached) $ECHO_C" >&6
5951 cat >conftest.$ac_ext <<_ACEOF
5954 cat confdefs.h >>conftest.$ac_ext
5955 cat >>conftest.$ac_ext <<_ACEOF
5956 /* end confdefs.h. */
5957 $ac_includes_default
5958 typedef int ac__type_new_;
5962 if ((ac__type_new_ *) 0)
5964 if (sizeof (ac__type_new_))
5970 rm -f conftest.$ac_objext
5971 if { (ac_try="$ac_compile"
5973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5974 *) ac_try_echo=$ac_try;;
5976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5977 (eval "$ac_compile") 2>conftest.er1
5979 grep -v '^ *+' conftest.er1 >conftest.err
5981 cat conftest.err >&5
5982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5983 (exit $ac_status); } &&
5984 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5985 { (case "(($ac_try" in
5986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5987 *) ac_try_echo=$ac_try;;
5989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5990 (eval "$ac_try") 2>&5
5992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5993 (exit $ac_status); }; } &&
5994 { ac_try='test -s conftest.$ac_objext'
5995 { (case "(($ac_try" in
5996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5997 *) ac_try_echo=$ac_try;;
5999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6000 (eval "$ac_try") 2>&5
6002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003 (exit $ac_status); }; }; then
6006 echo "$as_me: failed program was:" >&5
6007 sed 's/^/| /' conftest.$ac_ext >&5
6012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6014 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
6015 echo "${ECHO_T}$ac_cv_type_int" >&6; }
6017 # The cast to long int works around a bug in the HP C Compiler
6018 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6019 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6020 # This bug is HP SR number 8606223364.
6021 { echo "$as_me:$LINENO: checking size of int" >&5
6022 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
6023 if test "${ac_cv_sizeof_int+set}" = set; then
6024 echo $ECHO_N "(cached) $ECHO_C" >&6
6026 if test "$cross_compiling" = yes; then
6027 # Depending upon the size, compute the lo and hi bounds.
6028 cat >conftest.$ac_ext <<_ACEOF
6031 cat confdefs.h >>conftest.$ac_ext
6032 cat >>conftest.$ac_ext <<_ACEOF
6033 /* end confdefs.h. */
6034 $ac_includes_default
6035 typedef int ac__type_sizeof_;
6040 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6047 rm -f conftest.$ac_objext
6048 if { (ac_try="$ac_compile"
6050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6051 *) ac_try_echo=$ac_try;;
6053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6054 (eval "$ac_compile") 2>conftest.er1
6056 grep -v '^ *+' conftest.er1 >conftest.err
6058 cat conftest.err >&5
6059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6060 (exit $ac_status); } &&
6061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6062 { (case "(($ac_try" in
6063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6064 *) ac_try_echo=$ac_try;;
6066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6067 (eval "$ac_try") 2>&5
6069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6070 (exit $ac_status); }; } &&
6071 { ac_try='test -s conftest.$ac_objext'
6072 { (case "(($ac_try" in
6073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6074 *) ac_try_echo=$ac_try;;
6076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6077 (eval "$ac_try") 2>&5
6079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6080 (exit $ac_status); }; }; then
6083 cat >conftest.$ac_ext <<_ACEOF
6086 cat confdefs.h >>conftest.$ac_ext
6087 cat >>conftest.$ac_ext <<_ACEOF
6088 /* end confdefs.h. */
6089 $ac_includes_default
6090 typedef int ac__type_sizeof_;
6095 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6102 rm -f conftest.$ac_objext
6103 if { (ac_try="$ac_compile"
6105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6106 *) ac_try_echo=$ac_try;;
6108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6109 (eval "$ac_compile") 2>conftest.er1
6111 grep -v '^ *+' conftest.er1 >conftest.err
6113 cat conftest.err >&5
6114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115 (exit $ac_status); } &&
6116 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6117 { (case "(($ac_try" in
6118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6119 *) ac_try_echo=$ac_try;;
6121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6122 (eval "$ac_try") 2>&5
6124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6125 (exit $ac_status); }; } &&
6126 { ac_try='test -s conftest.$ac_objext'
6127 { (case "(($ac_try" in
6128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6129 *) ac_try_echo=$ac_try;;
6131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6132 (eval "$ac_try") 2>&5
6134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6135 (exit $ac_status); }; }; then
6136 ac_hi=$ac_mid; break
6138 echo "$as_me: failed program was:" >&5
6139 sed 's/^/| /' conftest.$ac_ext >&5
6141 ac_lo=`expr $ac_mid + 1`
6142 if test $ac_lo -le $ac_mid; then
6146 ac_mid=`expr 2 '*' $ac_mid + 1`
6149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6152 echo "$as_me: failed program was:" >&5
6153 sed 's/^/| /' conftest.$ac_ext >&5
6155 cat >conftest.$ac_ext <<_ACEOF
6158 cat confdefs.h >>conftest.$ac_ext
6159 cat >>conftest.$ac_ext <<_ACEOF
6160 /* end confdefs.h. */
6161 $ac_includes_default
6162 typedef int ac__type_sizeof_;
6167 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6174 rm -f conftest.$ac_objext
6175 if { (ac_try="$ac_compile"
6177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6178 *) ac_try_echo=$ac_try;;
6180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6181 (eval "$ac_compile") 2>conftest.er1
6183 grep -v '^ *+' conftest.er1 >conftest.err
6185 cat conftest.err >&5
6186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6187 (exit $ac_status); } &&
6188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6189 { (case "(($ac_try" in
6190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6191 *) ac_try_echo=$ac_try;;
6193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6194 (eval "$ac_try") 2>&5
6196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197 (exit $ac_status); }; } &&
6198 { ac_try='test -s conftest.$ac_objext'
6199 { (case "(($ac_try" in
6200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6201 *) ac_try_echo=$ac_try;;
6203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6204 (eval "$ac_try") 2>&5
6206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6207 (exit $ac_status); }; }; then
6210 cat >conftest.$ac_ext <<_ACEOF
6213 cat confdefs.h >>conftest.$ac_ext
6214 cat >>conftest.$ac_ext <<_ACEOF
6215 /* end confdefs.h. */
6216 $ac_includes_default
6217 typedef int ac__type_sizeof_;
6222 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
6229 rm -f conftest.$ac_objext
6230 if { (ac_try="$ac_compile"
6232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6233 *) ac_try_echo=$ac_try;;
6235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6236 (eval "$ac_compile") 2>conftest.er1
6238 grep -v '^ *+' conftest.er1 >conftest.err
6240 cat conftest.err >&5
6241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242 (exit $ac_status); } &&
6243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6244 { (case "(($ac_try" in
6245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6246 *) ac_try_echo=$ac_try;;
6248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6249 (eval "$ac_try") 2>&5
6251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6252 (exit $ac_status); }; } &&
6253 { ac_try='test -s conftest.$ac_objext'
6254 { (case "(($ac_try" in
6255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6256 *) ac_try_echo=$ac_try;;
6258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6259 (eval "$ac_try") 2>&5
6261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6262 (exit $ac_status); }; }; then
6263 ac_lo=$ac_mid; break
6265 echo "$as_me: failed program was:" >&5
6266 sed 's/^/| /' conftest.$ac_ext >&5
6268 ac_hi=`expr '(' $ac_mid ')' - 1`
6269 if test $ac_mid -le $ac_hi; then
6273 ac_mid=`expr 2 '*' $ac_mid`
6276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6279 echo "$as_me: failed program was:" >&5
6280 sed 's/^/| /' conftest.$ac_ext >&5
6285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6289 # Binary search between lo and hi bounds.
6290 while test "x$ac_lo" != "x$ac_hi"; do
6291 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6292 cat >conftest.$ac_ext <<_ACEOF
6295 cat confdefs.h >>conftest.$ac_ext
6296 cat >>conftest.$ac_ext <<_ACEOF
6297 /* end confdefs.h. */
6298 $ac_includes_default
6299 typedef int ac__type_sizeof_;
6304 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6311 rm -f conftest.$ac_objext
6312 if { (ac_try="$ac_compile"
6314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6315 *) ac_try_echo=$ac_try;;
6317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6318 (eval "$ac_compile") 2>conftest.er1
6320 grep -v '^ *+' conftest.er1 >conftest.err
6322 cat conftest.err >&5
6323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6324 (exit $ac_status); } &&
6325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6326 { (case "(($ac_try" in
6327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6328 *) ac_try_echo=$ac_try;;
6330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6331 (eval "$ac_try") 2>&5
6333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6334 (exit $ac_status); }; } &&
6335 { ac_try='test -s conftest.$ac_objext'
6336 { (case "(($ac_try" in
6337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6338 *) ac_try_echo=$ac_try;;
6340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6341 (eval "$ac_try") 2>&5
6343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6344 (exit $ac_status); }; }; then
6347 echo "$as_me: failed program was:" >&5
6348 sed 's/^/| /' conftest.$ac_ext >&5
6350 ac_lo=`expr '(' $ac_mid ')' + 1`
6353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6356 ?*) ac_cv_sizeof_int=$ac_lo;;
6357 '') if test "$ac_cv_type_int" = yes; then
6358 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
6359 See \`config.log' for more details." >&5
6360 echo "$as_me: error: cannot compute sizeof (int)
6361 See \`config.log' for more details." >&2;}
6362 { (exit 77); exit 77; }; }
6368 cat >conftest.$ac_ext <<_ACEOF
6371 cat confdefs.h >>conftest.$ac_ext
6372 cat >>conftest.$ac_ext <<_ACEOF
6373 /* end confdefs.h. */
6374 $ac_includes_default
6375 typedef int ac__type_sizeof_;
6377 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6378 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
6385 FILE *f = fopen ("conftest.val", "w");
6388 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
6390 long int i = longval ();
6391 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6393 fprintf (f, "%ld\n", i);
6397 unsigned long int i = ulongval ();
6398 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6400 fprintf (f, "%lu\n", i);
6402 return ferror (f) || fclose (f) != 0;
6408 rm -f conftest$ac_exeext
6409 if { (ac_try="$ac_link"
6411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6412 *) ac_try_echo=$ac_try;;
6414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6415 (eval "$ac_link") 2>&5
6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6419 { (case "(($ac_try" in
6420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6421 *) ac_try_echo=$ac_try;;
6423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6424 (eval "$ac_try") 2>&5
6426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6427 (exit $ac_status); }; }; then
6428 ac_cv_sizeof_int=`cat conftest.val`
6430 echo "$as_me: program exited with status $ac_status" >&5
6431 echo "$as_me: failed program was:" >&5
6432 sed 's/^/| /' conftest.$ac_ext >&5
6435 if test "$ac_cv_type_int" = yes; then
6436 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
6437 See \`config.log' for more details." >&5
6438 echo "$as_me: error: cannot compute sizeof (int)
6439 See \`config.log' for more details." >&2;}
6440 { (exit 77); exit 77; }; }
6445 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6449 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
6450 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
6454 cat >>confdefs.h <<_ACEOF
6455 #define SIZEOF_INT $ac_cv_sizeof_int
6459 { echo "$as_me:$LINENO: checking for long" >&5
6460 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
6461 if test "${ac_cv_type_long+set}" = set; then
6462 echo $ECHO_N "(cached) $ECHO_C" >&6
6464 cat >conftest.$ac_ext <<_ACEOF
6467 cat confdefs.h >>conftest.$ac_ext
6468 cat >>conftest.$ac_ext <<_ACEOF
6469 /* end confdefs.h. */
6470 $ac_includes_default
6471 typedef long ac__type_new_;
6475 if ((ac__type_new_ *) 0)
6477 if (sizeof (ac__type_new_))
6483 rm -f conftest.$ac_objext
6484 if { (ac_try="$ac_compile"
6486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6487 *) ac_try_echo=$ac_try;;
6489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6490 (eval "$ac_compile") 2>conftest.er1
6492 grep -v '^ *+' conftest.er1 >conftest.err
6494 cat conftest.err >&5
6495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6496 (exit $ac_status); } &&
6497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6498 { (case "(($ac_try" in
6499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6500 *) ac_try_echo=$ac_try;;
6502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6503 (eval "$ac_try") 2>&5
6505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506 (exit $ac_status); }; } &&
6507 { ac_try='test -s conftest.$ac_objext'
6508 { (case "(($ac_try" in
6509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6510 *) ac_try_echo=$ac_try;;
6512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6513 (eval "$ac_try") 2>&5
6515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6516 (exit $ac_status); }; }; then
6519 echo "$as_me: failed program was:" >&5
6520 sed 's/^/| /' conftest.$ac_ext >&5
6525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6527 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
6528 echo "${ECHO_T}$ac_cv_type_long" >&6; }
6530 # The cast to long int works around a bug in the HP C Compiler
6531 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6532 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6533 # This bug is HP SR number 8606223364.
6534 { echo "$as_me:$LINENO: checking size of long" >&5
6535 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
6536 if test "${ac_cv_sizeof_long+set}" = set; then
6537 echo $ECHO_N "(cached) $ECHO_C" >&6
6539 if test "$cross_compiling" = yes; then
6540 # Depending upon the size, compute the lo and hi bounds.
6541 cat >conftest.$ac_ext <<_ACEOF
6544 cat confdefs.h >>conftest.$ac_ext
6545 cat >>conftest.$ac_ext <<_ACEOF
6546 /* end confdefs.h. */
6547 $ac_includes_default
6548 typedef long ac__type_sizeof_;
6553 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6560 rm -f conftest.$ac_objext
6561 if { (ac_try="$ac_compile"
6563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6564 *) ac_try_echo=$ac_try;;
6566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6567 (eval "$ac_compile") 2>conftest.er1
6569 grep -v '^ *+' conftest.er1 >conftest.err
6571 cat conftest.err >&5
6572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6573 (exit $ac_status); } &&
6574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6575 { (case "(($ac_try" in
6576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6577 *) ac_try_echo=$ac_try;;
6579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6580 (eval "$ac_try") 2>&5
6582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6583 (exit $ac_status); }; } &&
6584 { ac_try='test -s conftest.$ac_objext'
6585 { (case "(($ac_try" in
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_try") 2>&5
6592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6593 (exit $ac_status); }; }; then
6596 cat >conftest.$ac_ext <<_ACEOF
6599 cat confdefs.h >>conftest.$ac_ext
6600 cat >>conftest.$ac_ext <<_ACEOF
6601 /* end confdefs.h. */
6602 $ac_includes_default
6603 typedef long ac__type_sizeof_;
6608 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6615 rm -f conftest.$ac_objext
6616 if { (ac_try="$ac_compile"
6618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6619 *) ac_try_echo=$ac_try;;
6621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6622 (eval "$ac_compile") 2>conftest.er1
6624 grep -v '^ *+' conftest.er1 >conftest.err
6626 cat conftest.err >&5
6627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6628 (exit $ac_status); } &&
6629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6630 { (case "(($ac_try" in
6631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6632 *) ac_try_echo=$ac_try;;
6634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6635 (eval "$ac_try") 2>&5
6637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638 (exit $ac_status); }; } &&
6639 { ac_try='test -s conftest.$ac_objext'
6640 { (case "(($ac_try" in
6641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6642 *) ac_try_echo=$ac_try;;
6644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6645 (eval "$ac_try") 2>&5
6647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); }; }; then
6649 ac_hi=$ac_mid; break
6651 echo "$as_me: failed program was:" >&5
6652 sed 's/^/| /' conftest.$ac_ext >&5
6654 ac_lo=`expr $ac_mid + 1`
6655 if test $ac_lo -le $ac_mid; then
6659 ac_mid=`expr 2 '*' $ac_mid + 1`
6662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6665 echo "$as_me: failed program was:" >&5
6666 sed 's/^/| /' conftest.$ac_ext >&5
6668 cat >conftest.$ac_ext <<_ACEOF
6671 cat confdefs.h >>conftest.$ac_ext
6672 cat >>conftest.$ac_ext <<_ACEOF
6673 /* end confdefs.h. */
6674 $ac_includes_default
6675 typedef long ac__type_sizeof_;
6680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6687 rm -f conftest.$ac_objext
6688 if { (ac_try="$ac_compile"
6690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6691 *) ac_try_echo=$ac_try;;
6693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6694 (eval "$ac_compile") 2>conftest.er1
6696 grep -v '^ *+' conftest.er1 >conftest.err
6698 cat conftest.err >&5
6699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6700 (exit $ac_status); } &&
6701 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6702 { (case "(($ac_try" in
6703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6704 *) ac_try_echo=$ac_try;;
6706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6707 (eval "$ac_try") 2>&5
6709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6710 (exit $ac_status); }; } &&
6711 { ac_try='test -s conftest.$ac_objext'
6712 { (case "(($ac_try" in
6713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6714 *) ac_try_echo=$ac_try;;
6716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6717 (eval "$ac_try") 2>&5
6719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720 (exit $ac_status); }; }; then
6723 cat >conftest.$ac_ext <<_ACEOF
6726 cat confdefs.h >>conftest.$ac_ext
6727 cat >>conftest.$ac_ext <<_ACEOF
6728 /* end confdefs.h. */
6729 $ac_includes_default
6730 typedef long ac__type_sizeof_;
6735 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
6742 rm -f conftest.$ac_objext
6743 if { (ac_try="$ac_compile"
6745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6746 *) ac_try_echo=$ac_try;;
6748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6749 (eval "$ac_compile") 2>conftest.er1
6751 grep -v '^ *+' conftest.er1 >conftest.err
6753 cat conftest.err >&5
6754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6755 (exit $ac_status); } &&
6756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6757 { (case "(($ac_try" in
6758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6759 *) ac_try_echo=$ac_try;;
6761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6762 (eval "$ac_try") 2>&5
6764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765 (exit $ac_status); }; } &&
6766 { ac_try='test -s conftest.$ac_objext'
6767 { (case "(($ac_try" in
6768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6769 *) ac_try_echo=$ac_try;;
6771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6772 (eval "$ac_try") 2>&5
6774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6775 (exit $ac_status); }; }; then
6776 ac_lo=$ac_mid; break
6778 echo "$as_me: failed program was:" >&5
6779 sed 's/^/| /' conftest.$ac_ext >&5
6781 ac_hi=`expr '(' $ac_mid ')' - 1`
6782 if test $ac_mid -le $ac_hi; then
6786 ac_mid=`expr 2 '*' $ac_mid`
6789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6792 echo "$as_me: failed program was:" >&5
6793 sed 's/^/| /' conftest.$ac_ext >&5
6798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6802 # Binary search between lo and hi bounds.
6803 while test "x$ac_lo" != "x$ac_hi"; do
6804 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6805 cat >conftest.$ac_ext <<_ACEOF
6808 cat confdefs.h >>conftest.$ac_ext
6809 cat >>conftest.$ac_ext <<_ACEOF
6810 /* end confdefs.h. */
6811 $ac_includes_default
6812 typedef long ac__type_sizeof_;
6817 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6824 rm -f conftest.$ac_objext
6825 if { (ac_try="$ac_compile"
6827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6828 *) ac_try_echo=$ac_try;;
6830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6831 (eval "$ac_compile") 2>conftest.er1
6833 grep -v '^ *+' conftest.er1 >conftest.err
6835 cat conftest.err >&5
6836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6837 (exit $ac_status); } &&
6838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6839 { (case "(($ac_try" in
6840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6841 *) ac_try_echo=$ac_try;;
6843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6844 (eval "$ac_try") 2>&5
6846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6847 (exit $ac_status); }; } &&
6848 { ac_try='test -s conftest.$ac_objext'
6849 { (case "(($ac_try" in
6850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6851 *) ac_try_echo=$ac_try;;
6853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6854 (eval "$ac_try") 2>&5
6856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6857 (exit $ac_status); }; }; then
6860 echo "$as_me: failed program was:" >&5
6861 sed 's/^/| /' conftest.$ac_ext >&5
6863 ac_lo=`expr '(' $ac_mid ')' + 1`
6866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6869 ?*) ac_cv_sizeof_long=$ac_lo;;
6870 '') if test "$ac_cv_type_long" = yes; then
6871 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
6872 See \`config.log' for more details." >&5
6873 echo "$as_me: error: cannot compute sizeof (long)
6874 See \`config.log' for more details." >&2;}
6875 { (exit 77); exit 77; }; }
6881 cat >conftest.$ac_ext <<_ACEOF
6884 cat confdefs.h >>conftest.$ac_ext
6885 cat >>conftest.$ac_ext <<_ACEOF
6886 /* end confdefs.h. */
6887 $ac_includes_default
6888 typedef long ac__type_sizeof_;
6890 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6891 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
6898 FILE *f = fopen ("conftest.val", "w");
6901 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
6903 long int i = longval ();
6904 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6906 fprintf (f, "%ld\n", i);
6910 unsigned long int i = ulongval ();
6911 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6913 fprintf (f, "%lu\n", i);
6915 return ferror (f) || fclose (f) != 0;
6921 rm -f conftest$ac_exeext
6922 if { (ac_try="$ac_link"
6924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6925 *) ac_try_echo=$ac_try;;
6927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6928 (eval "$ac_link") 2>&5
6930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6931 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6932 { (case "(($ac_try" in
6933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6934 *) ac_try_echo=$ac_try;;
6936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6937 (eval "$ac_try") 2>&5
6939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 (exit $ac_status); }; }; then
6941 ac_cv_sizeof_long=`cat conftest.val`
6943 echo "$as_me: program exited with status $ac_status" >&5
6944 echo "$as_me: failed program was:" >&5
6945 sed 's/^/| /' conftest.$ac_ext >&5
6948 if test "$ac_cv_type_long" = yes; then
6949 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
6950 See \`config.log' for more details." >&5
6951 echo "$as_me: error: cannot compute sizeof (long)
6952 See \`config.log' for more details." >&2;}
6953 { (exit 77); exit 77; }; }
6958 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6962 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
6963 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
6967 cat >>confdefs.h <<_ACEOF
6968 #define SIZEOF_LONG $ac_cv_sizeof_long
6972 { echo "$as_me:$LINENO: checking for float" >&5
6973 echo $ECHO_N "checking for float... $ECHO_C" >&6; }
6974 if test "${ac_cv_type_float+set}" = set; then
6975 echo $ECHO_N "(cached) $ECHO_C" >&6
6977 cat >conftest.$ac_ext <<_ACEOF
6980 cat confdefs.h >>conftest.$ac_ext
6981 cat >>conftest.$ac_ext <<_ACEOF
6982 /* end confdefs.h. */
6983 $ac_includes_default
6984 typedef float ac__type_new_;
6988 if ((ac__type_new_ *) 0)
6990 if (sizeof (ac__type_new_))
6996 rm -f conftest.$ac_objext
6997 if { (ac_try="$ac_compile"
6999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7000 *) ac_try_echo=$ac_try;;
7002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7003 (eval "$ac_compile") 2>conftest.er1
7005 grep -v '^ *+' conftest.er1 >conftest.err
7007 cat conftest.err >&5
7008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009 (exit $ac_status); } &&
7010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7011 { (case "(($ac_try" in
7012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7013 *) ac_try_echo=$ac_try;;
7015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7016 (eval "$ac_try") 2>&5
7018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7019 (exit $ac_status); }; } &&
7020 { ac_try='test -s conftest.$ac_objext'
7021 { (case "(($ac_try" in
7022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7023 *) ac_try_echo=$ac_try;;
7025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7026 (eval "$ac_try") 2>&5
7028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7029 (exit $ac_status); }; }; then
7030 ac_cv_type_float=yes
7032 echo "$as_me: failed program was:" >&5
7033 sed 's/^/| /' conftest.$ac_ext >&5
7038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7040 { echo "$as_me:$LINENO: result: $ac_cv_type_float" >&5
7041 echo "${ECHO_T}$ac_cv_type_float" >&6; }
7043 # The cast to long int works around a bug in the HP C Compiler
7044 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7045 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7046 # This bug is HP SR number 8606223364.
7047 { echo "$as_me:$LINENO: checking size of float" >&5
7048 echo $ECHO_N "checking size of float... $ECHO_C" >&6; }
7049 if test "${ac_cv_sizeof_float+set}" = set; then
7050 echo $ECHO_N "(cached) $ECHO_C" >&6
7052 if test "$cross_compiling" = yes; then
7053 # Depending upon the size, compute the lo and hi bounds.
7054 cat >conftest.$ac_ext <<_ACEOF
7057 cat confdefs.h >>conftest.$ac_ext
7058 cat >>conftest.$ac_ext <<_ACEOF
7059 /* end confdefs.h. */
7060 $ac_includes_default
7061 typedef float ac__type_sizeof_;
7066 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
7073 rm -f conftest.$ac_objext
7074 if { (ac_try="$ac_compile"
7076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7077 *) ac_try_echo=$ac_try;;
7079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7080 (eval "$ac_compile") 2>conftest.er1
7082 grep -v '^ *+' conftest.er1 >conftest.err
7084 cat conftest.err >&5
7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7086 (exit $ac_status); } &&
7087 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7088 { (case "(($ac_try" in
7089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7090 *) ac_try_echo=$ac_try;;
7092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7093 (eval "$ac_try") 2>&5
7095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7096 (exit $ac_status); }; } &&
7097 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
7109 cat >conftest.$ac_ext <<_ACEOF
7112 cat confdefs.h >>conftest.$ac_ext
7113 cat >>conftest.$ac_ext <<_ACEOF
7114 /* end confdefs.h. */
7115 $ac_includes_default
7116 typedef float ac__type_sizeof_;
7121 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7128 rm -f conftest.$ac_objext
7129 if { (ac_try="$ac_compile"
7131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7132 *) ac_try_echo=$ac_try;;
7134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7135 (eval "$ac_compile") 2>conftest.er1
7137 grep -v '^ *+' conftest.er1 >conftest.err
7139 cat conftest.err >&5
7140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141 (exit $ac_status); } &&
7142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7143 { (case "(($ac_try" in
7144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7145 *) ac_try_echo=$ac_try;;
7147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7148 (eval "$ac_try") 2>&5
7150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7151 (exit $ac_status); }; } &&
7152 { ac_try='test -s conftest.$ac_objext'
7153 { (case "(($ac_try" in
7154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7155 *) ac_try_echo=$ac_try;;
7157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7158 (eval "$ac_try") 2>&5
7160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7161 (exit $ac_status); }; }; then
7162 ac_hi=$ac_mid; break
7164 echo "$as_me: failed program was:" >&5
7165 sed 's/^/| /' conftest.$ac_ext >&5
7167 ac_lo=`expr $ac_mid + 1`
7168 if test $ac_lo -le $ac_mid; then
7172 ac_mid=`expr 2 '*' $ac_mid + 1`
7175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7178 echo "$as_me: failed program was:" >&5
7179 sed 's/^/| /' conftest.$ac_ext >&5
7181 cat >conftest.$ac_ext <<_ACEOF
7184 cat confdefs.h >>conftest.$ac_ext
7185 cat >>conftest.$ac_ext <<_ACEOF
7186 /* end confdefs.h. */
7187 $ac_includes_default
7188 typedef float ac__type_sizeof_;
7193 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
7200 rm -f conftest.$ac_objext
7201 if { (ac_try="$ac_compile"
7203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7204 *) ac_try_echo=$ac_try;;
7206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7207 (eval "$ac_compile") 2>conftest.er1
7209 grep -v '^ *+' conftest.er1 >conftest.err
7211 cat conftest.err >&5
7212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7213 (exit $ac_status); } &&
7214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7215 { (case "(($ac_try" in
7216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7217 *) ac_try_echo=$ac_try;;
7219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7220 (eval "$ac_try") 2>&5
7222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7223 (exit $ac_status); }; } &&
7224 { ac_try='test -s conftest.$ac_objext'
7225 { (case "(($ac_try" in
7226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7227 *) ac_try_echo=$ac_try;;
7229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7230 (eval "$ac_try") 2>&5
7232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7233 (exit $ac_status); }; }; then
7236 cat >conftest.$ac_ext <<_ACEOF
7239 cat confdefs.h >>conftest.$ac_ext
7240 cat >>conftest.$ac_ext <<_ACEOF
7241 /* end confdefs.h. */
7242 $ac_includes_default
7243 typedef float ac__type_sizeof_;
7248 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
7255 rm -f conftest.$ac_objext
7256 if { (ac_try="$ac_compile"
7258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7259 *) ac_try_echo=$ac_try;;
7261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7262 (eval "$ac_compile") 2>conftest.er1
7264 grep -v '^ *+' conftest.er1 >conftest.err
7266 cat conftest.err >&5
7267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7268 (exit $ac_status); } &&
7269 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7270 { (case "(($ac_try" in
7271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7272 *) ac_try_echo=$ac_try;;
7274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7275 (eval "$ac_try") 2>&5
7277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278 (exit $ac_status); }; } &&
7279 { ac_try='test -s conftest.$ac_objext'
7280 { (case "(($ac_try" in
7281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7282 *) ac_try_echo=$ac_try;;
7284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7285 (eval "$ac_try") 2>&5
7287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7288 (exit $ac_status); }; }; then
7289 ac_lo=$ac_mid; break
7291 echo "$as_me: failed program was:" >&5
7292 sed 's/^/| /' conftest.$ac_ext >&5
7294 ac_hi=`expr '(' $ac_mid ')' - 1`
7295 if test $ac_mid -le $ac_hi; then
7299 ac_mid=`expr 2 '*' $ac_mid`
7302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7305 echo "$as_me: failed program was:" >&5
7306 sed 's/^/| /' conftest.$ac_ext >&5
7311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7315 # Binary search between lo and hi bounds.
7316 while test "x$ac_lo" != "x$ac_hi"; do
7317 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7318 cat >conftest.$ac_ext <<_ACEOF
7321 cat confdefs.h >>conftest.$ac_ext
7322 cat >>conftest.$ac_ext <<_ACEOF
7323 /* end confdefs.h. */
7324 $ac_includes_default
7325 typedef float ac__type_sizeof_;
7330 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7337 rm -f conftest.$ac_objext
7338 if { (ac_try="$ac_compile"
7340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7341 *) ac_try_echo=$ac_try;;
7343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7344 (eval "$ac_compile") 2>conftest.er1
7346 grep -v '^ *+' conftest.er1 >conftest.err
7348 cat conftest.err >&5
7349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7350 (exit $ac_status); } &&
7351 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7352 { (case "(($ac_try" in
7353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7354 *) ac_try_echo=$ac_try;;
7356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7357 (eval "$ac_try") 2>&5
7359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7360 (exit $ac_status); }; } &&
7361 { ac_try='test -s conftest.$ac_objext'
7362 { (case "(($ac_try" in
7363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7364 *) ac_try_echo=$ac_try;;
7366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7367 (eval "$ac_try") 2>&5
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); }; }; then
7373 echo "$as_me: failed program was:" >&5
7374 sed 's/^/| /' conftest.$ac_ext >&5
7376 ac_lo=`expr '(' $ac_mid ')' + 1`
7379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7382 ?*) ac_cv_sizeof_float=$ac_lo;;
7383 '') if test "$ac_cv_type_float" = yes; then
7384 { { echo "$as_me:$LINENO: error: cannot compute sizeof (float)
7385 See \`config.log' for more details." >&5
7386 echo "$as_me: error: cannot compute sizeof (float)
7387 See \`config.log' for more details." >&2;}
7388 { (exit 77); exit 77; }; }
7390 ac_cv_sizeof_float=0
7394 cat >conftest.$ac_ext <<_ACEOF
7397 cat confdefs.h >>conftest.$ac_ext
7398 cat >>conftest.$ac_ext <<_ACEOF
7399 /* end confdefs.h. */
7400 $ac_includes_default
7401 typedef float ac__type_sizeof_;
7403 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
7404 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
7411 FILE *f = fopen ("conftest.val", "w");
7414 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
7416 long int i = longval ();
7417 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7419 fprintf (f, "%ld\n", i);
7423 unsigned long int i = ulongval ();
7424 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7426 fprintf (f, "%lu\n", i);
7428 return ferror (f) || fclose (f) != 0;
7434 rm -f conftest$ac_exeext
7435 if { (ac_try="$ac_link"
7437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7438 *) ac_try_echo=$ac_try;;
7440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7441 (eval "$ac_link") 2>&5
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7445 { (case "(($ac_try" in
7446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7447 *) ac_try_echo=$ac_try;;
7449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7450 (eval "$ac_try") 2>&5
7452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453 (exit $ac_status); }; }; then
7454 ac_cv_sizeof_float=`cat conftest.val`
7456 echo "$as_me: program exited with status $ac_status" >&5
7457 echo "$as_me: failed program was:" >&5
7458 sed 's/^/| /' conftest.$ac_ext >&5
7461 if test "$ac_cv_type_float" = yes; then
7462 { { echo "$as_me:$LINENO: error: cannot compute sizeof (float)
7463 See \`config.log' for more details." >&5
7464 echo "$as_me: error: cannot compute sizeof (float)
7465 See \`config.log' for more details." >&2;}
7466 { (exit 77); exit 77; }; }
7468 ac_cv_sizeof_float=0
7471 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7475 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5
7476 echo "${ECHO_T}$ac_cv_sizeof_float" >&6; }
7480 cat >>confdefs.h <<_ACEOF
7481 #define SIZEOF_FLOAT $ac_cv_sizeof_float
7485 { echo "$as_me:$LINENO: checking for double" >&5
7486 echo $ECHO_N "checking for double... $ECHO_C" >&6; }
7487 if test "${ac_cv_type_double+set}" = set; then
7488 echo $ECHO_N "(cached) $ECHO_C" >&6
7490 cat >conftest.$ac_ext <<_ACEOF
7493 cat confdefs.h >>conftest.$ac_ext
7494 cat >>conftest.$ac_ext <<_ACEOF
7495 /* end confdefs.h. */
7496 $ac_includes_default
7497 typedef double ac__type_new_;
7501 if ((ac__type_new_ *) 0)
7503 if (sizeof (ac__type_new_))
7509 rm -f conftest.$ac_objext
7510 if { (ac_try="$ac_compile"
7512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7513 *) ac_try_echo=$ac_try;;
7515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7516 (eval "$ac_compile") 2>conftest.er1
7518 grep -v '^ *+' conftest.er1 >conftest.err
7520 cat conftest.err >&5
7521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7522 (exit $ac_status); } &&
7523 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7524 { (case "(($ac_try" in
7525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7526 *) ac_try_echo=$ac_try;;
7528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7529 (eval "$ac_try") 2>&5
7531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); }; } &&
7533 { ac_try='test -s conftest.$ac_objext'
7534 { (case "(($ac_try" in
7535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7536 *) ac_try_echo=$ac_try;;
7538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7539 (eval "$ac_try") 2>&5
7541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7542 (exit $ac_status); }; }; then
7543 ac_cv_type_double=yes
7545 echo "$as_me: failed program was:" >&5
7546 sed 's/^/| /' conftest.$ac_ext >&5
7548 ac_cv_type_double=no
7551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7553 { echo "$as_me:$LINENO: result: $ac_cv_type_double" >&5
7554 echo "${ECHO_T}$ac_cv_type_double" >&6; }
7556 # The cast to long int works around a bug in the HP C Compiler
7557 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7558 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7559 # This bug is HP SR number 8606223364.
7560 { echo "$as_me:$LINENO: checking size of double" >&5
7561 echo $ECHO_N "checking size of double... $ECHO_C" >&6; }
7562 if test "${ac_cv_sizeof_double+set}" = set; then
7563 echo $ECHO_N "(cached) $ECHO_C" >&6
7565 if test "$cross_compiling" = yes; then
7566 # Depending upon the size, compute the lo and hi bounds.
7567 cat >conftest.$ac_ext <<_ACEOF
7570 cat confdefs.h >>conftest.$ac_ext
7571 cat >>conftest.$ac_ext <<_ACEOF
7572 /* end confdefs.h. */
7573 $ac_includes_default
7574 typedef double ac__type_sizeof_;
7579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
7586 rm -f conftest.$ac_objext
7587 if { (ac_try="$ac_compile"
7589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7590 *) ac_try_echo=$ac_try;;
7592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7593 (eval "$ac_compile") 2>conftest.er1
7595 grep -v '^ *+' conftest.er1 >conftest.err
7597 cat conftest.err >&5
7598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7599 (exit $ac_status); } &&
7600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7601 { (case "(($ac_try" in
7602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7603 *) ac_try_echo=$ac_try;;
7605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7606 (eval "$ac_try") 2>&5
7608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609 (exit $ac_status); }; } &&
7610 { ac_try='test -s conftest.$ac_objext'
7611 { (case "(($ac_try" in
7612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7613 *) ac_try_echo=$ac_try;;
7615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7616 (eval "$ac_try") 2>&5
7618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7619 (exit $ac_status); }; }; then
7622 cat >conftest.$ac_ext <<_ACEOF
7625 cat confdefs.h >>conftest.$ac_ext
7626 cat >>conftest.$ac_ext <<_ACEOF
7627 /* end confdefs.h. */
7628 $ac_includes_default
7629 typedef double ac__type_sizeof_;
7634 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7641 rm -f conftest.$ac_objext
7642 if { (ac_try="$ac_compile"
7644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7645 *) ac_try_echo=$ac_try;;
7647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7648 (eval "$ac_compile") 2>conftest.er1
7650 grep -v '^ *+' conftest.er1 >conftest.err
7652 cat conftest.err >&5
7653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7654 (exit $ac_status); } &&
7655 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7656 { (case "(($ac_try" in
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_try") 2>&5
7663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7664 (exit $ac_status); }; } &&
7665 { ac_try='test -s conftest.$ac_objext'
7666 { (case "(($ac_try" in
7667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7668 *) ac_try_echo=$ac_try;;
7670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7671 (eval "$ac_try") 2>&5
7673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7674 (exit $ac_status); }; }; then
7675 ac_hi=$ac_mid; break
7677 echo "$as_me: failed program was:" >&5
7678 sed 's/^/| /' conftest.$ac_ext >&5
7680 ac_lo=`expr $ac_mid + 1`
7681 if test $ac_lo -le $ac_mid; then
7685 ac_mid=`expr 2 '*' $ac_mid + 1`
7688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7691 echo "$as_me: failed program was:" >&5
7692 sed 's/^/| /' conftest.$ac_ext >&5
7694 cat >conftest.$ac_ext <<_ACEOF
7697 cat confdefs.h >>conftest.$ac_ext
7698 cat >>conftest.$ac_ext <<_ACEOF
7699 /* end confdefs.h. */
7700 $ac_includes_default
7701 typedef double ac__type_sizeof_;
7706 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
7713 rm -f conftest.$ac_objext
7714 if { (ac_try="$ac_compile"
7716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7717 *) ac_try_echo=$ac_try;;
7719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7720 (eval "$ac_compile") 2>conftest.er1
7722 grep -v '^ *+' conftest.er1 >conftest.err
7724 cat conftest.err >&5
7725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7726 (exit $ac_status); } &&
7727 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7728 { (case "(($ac_try" in
7729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7730 *) ac_try_echo=$ac_try;;
7732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7733 (eval "$ac_try") 2>&5
7735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7736 (exit $ac_status); }; } &&
7737 { ac_try='test -s conftest.$ac_objext'
7738 { (case "(($ac_try" in
7739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7740 *) ac_try_echo=$ac_try;;
7742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7743 (eval "$ac_try") 2>&5
7745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7746 (exit $ac_status); }; }; then
7749 cat >conftest.$ac_ext <<_ACEOF
7752 cat confdefs.h >>conftest.$ac_ext
7753 cat >>conftest.$ac_ext <<_ACEOF
7754 /* end confdefs.h. */
7755 $ac_includes_default
7756 typedef double ac__type_sizeof_;
7761 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
7768 rm -f conftest.$ac_objext
7769 if { (ac_try="$ac_compile"
7771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7772 *) ac_try_echo=$ac_try;;
7774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7775 (eval "$ac_compile") 2>conftest.er1
7777 grep -v '^ *+' conftest.er1 >conftest.err
7779 cat conftest.err >&5
7780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7781 (exit $ac_status); } &&
7782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7783 { (case "(($ac_try" in
7784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7785 *) ac_try_echo=$ac_try;;
7787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7788 (eval "$ac_try") 2>&5
7790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791 (exit $ac_status); }; } &&
7792 { ac_try='test -s conftest.$ac_objext'
7793 { (case "(($ac_try" in
7794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7795 *) ac_try_echo=$ac_try;;
7797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7798 (eval "$ac_try") 2>&5
7800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7801 (exit $ac_status); }; }; then
7802 ac_lo=$ac_mid; break
7804 echo "$as_me: failed program was:" >&5
7805 sed 's/^/| /' conftest.$ac_ext >&5
7807 ac_hi=`expr '(' $ac_mid ')' - 1`
7808 if test $ac_mid -le $ac_hi; then
7812 ac_mid=`expr 2 '*' $ac_mid`
7815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7818 echo "$as_me: failed program was:" >&5
7819 sed 's/^/| /' conftest.$ac_ext >&5
7824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7828 # Binary search between lo and hi bounds.
7829 while test "x$ac_lo" != "x$ac_hi"; do
7830 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7831 cat >conftest.$ac_ext <<_ACEOF
7834 cat confdefs.h >>conftest.$ac_ext
7835 cat >>conftest.$ac_ext <<_ACEOF
7836 /* end confdefs.h. */
7837 $ac_includes_default
7838 typedef double ac__type_sizeof_;
7843 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7850 rm -f conftest.$ac_objext
7851 if { (ac_try="$ac_compile"
7853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7854 *) ac_try_echo=$ac_try;;
7856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7857 (eval "$ac_compile") 2>conftest.er1
7859 grep -v '^ *+' conftest.er1 >conftest.err
7861 cat conftest.err >&5
7862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7863 (exit $ac_status); } &&
7864 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7865 { (case "(($ac_try" in
7866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7867 *) ac_try_echo=$ac_try;;
7869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7870 (eval "$ac_try") 2>&5
7872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7873 (exit $ac_status); }; } &&
7874 { ac_try='test -s conftest.$ac_objext'
7875 { (case "(($ac_try" in
7876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7877 *) ac_try_echo=$ac_try;;
7879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7880 (eval "$ac_try") 2>&5
7882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7883 (exit $ac_status); }; }; then
7886 echo "$as_me: failed program was:" >&5
7887 sed 's/^/| /' conftest.$ac_ext >&5
7889 ac_lo=`expr '(' $ac_mid ')' + 1`
7892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7895 ?*) ac_cv_sizeof_double=$ac_lo;;
7896 '') if test "$ac_cv_type_double" = yes; then
7897 { { echo "$as_me:$LINENO: error: cannot compute sizeof (double)
7898 See \`config.log' for more details." >&5
7899 echo "$as_me: error: cannot compute sizeof (double)
7900 See \`config.log' for more details." >&2;}
7901 { (exit 77); exit 77; }; }
7903 ac_cv_sizeof_double=0
7907 cat >conftest.$ac_ext <<_ACEOF
7910 cat confdefs.h >>conftest.$ac_ext
7911 cat >>conftest.$ac_ext <<_ACEOF
7912 /* end confdefs.h. */
7913 $ac_includes_default
7914 typedef double ac__type_sizeof_;
7916 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
7917 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
7924 FILE *f = fopen ("conftest.val", "w");
7927 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
7929 long int i = longval ();
7930 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7932 fprintf (f, "%ld\n", i);
7936 unsigned long int i = ulongval ();
7937 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7939 fprintf (f, "%lu\n", i);
7941 return ferror (f) || fclose (f) != 0;
7947 rm -f conftest$ac_exeext
7948 if { (ac_try="$ac_link"
7950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7951 *) ac_try_echo=$ac_try;;
7953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7954 (eval "$ac_link") 2>&5
7956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7957 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7958 { (case "(($ac_try" in
7959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7960 *) ac_try_echo=$ac_try;;
7962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7963 (eval "$ac_try") 2>&5
7965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7966 (exit $ac_status); }; }; then
7967 ac_cv_sizeof_double=`cat conftest.val`
7969 echo "$as_me: program exited with status $ac_status" >&5
7970 echo "$as_me: failed program was:" >&5
7971 sed 's/^/| /' conftest.$ac_ext >&5
7974 if test "$ac_cv_type_double" = yes; then
7975 { { echo "$as_me:$LINENO: error: cannot compute sizeof (double)
7976 See \`config.log' for more details." >&5
7977 echo "$as_me: error: cannot compute sizeof (double)
7978 See \`config.log' for more details." >&2;}
7979 { (exit 77); exit 77; }; }
7981 ac_cv_sizeof_double=0
7984 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7988 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_double" >&5
7989 echo "${ECHO_T}$ac_cv_sizeof_double" >&6; }
7993 cat >>confdefs.h <<_ACEOF
7994 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
8000 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
8001 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
8002 if test "${ac_cv_lib_z_deflate+set}" = set; then
8003 echo $ECHO_N "(cached) $ECHO_C" >&6
8005 ac_check_lib_save_LIBS=$LIBS
8007 cat >conftest.$ac_ext <<_ACEOF
8010 cat confdefs.h >>conftest.$ac_ext
8011 cat >>conftest.$ac_ext <<_ACEOF
8012 /* end confdefs.h. */
8014 /* Override any GCC internal prototype to avoid an error.
8015 Use char because int might match the return type of a GCC
8016 builtin and then its argument prototype would still apply. */
8029 rm -f conftest.$ac_objext conftest$ac_exeext
8030 if { (ac_try="$ac_link"
8032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8033 *) ac_try_echo=$ac_try;;
8035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8036 (eval "$ac_link") 2>conftest.er1
8038 grep -v '^ *+' conftest.er1 >conftest.err
8040 cat conftest.err >&5
8041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8042 (exit $ac_status); } &&
8043 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8044 { (case "(($ac_try" in
8045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8046 *) ac_try_echo=$ac_try;;
8048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8049 (eval "$ac_try") 2>&5
8051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8052 (exit $ac_status); }; } &&
8053 { ac_try='test -s conftest$ac_exeext'
8054 { (case "(($ac_try" in
8055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8056 *) ac_try_echo=$ac_try;;
8058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8059 (eval "$ac_try") 2>&5
8061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8062 (exit $ac_status); }; }; then
8063 ac_cv_lib_z_deflate=yes
8065 echo "$as_me: failed program was:" >&5
8066 sed 's/^/| /' conftest.$ac_ext >&5
8068 ac_cv_lib_z_deflate=no
8071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8072 conftest$ac_exeext conftest.$ac_ext
8073 LIBS=$ac_check_lib_save_LIBS
8075 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
8076 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
8077 if test $ac_cv_lib_z_deflate = yes; then
8080 zlib="false" ; { echo "$as_me:$LINENO: WARNING: zlib missing. Will need zlib for PNG support" >&5
8081 echo "$as_me: WARNING: zlib missing. Will need zlib for PNG support" >&2;}
8085 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
8086 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
8087 if test "${ac_cv_lib_m_sin+set}" = set; then
8088 echo $ECHO_N "(cached) $ECHO_C" >&6
8090 ac_check_lib_save_LIBS=$LIBS
8092 cat >conftest.$ac_ext <<_ACEOF
8095 cat confdefs.h >>conftest.$ac_ext
8096 cat >>conftest.$ac_ext <<_ACEOF
8097 /* end confdefs.h. */
8099 /* Override any GCC internal prototype to avoid an error.
8100 Use char because int might match the return type of a GCC
8101 builtin and then its argument prototype would still apply. */
8114 rm -f conftest.$ac_objext conftest$ac_exeext
8115 if { (ac_try="$ac_link"
8117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8118 *) ac_try_echo=$ac_try;;
8120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8121 (eval "$ac_link") 2>conftest.er1
8123 grep -v '^ *+' conftest.er1 >conftest.err
8125 cat conftest.err >&5
8126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127 (exit $ac_status); } &&
8128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8129 { (case "(($ac_try" in
8130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8131 *) ac_try_echo=$ac_try;;
8133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8134 (eval "$ac_try") 2>&5
8136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8137 (exit $ac_status); }; } &&
8138 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
8150 echo "$as_me: failed program was:" >&5
8151 sed 's/^/| /' conftest.$ac_ext >&5
8156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8157 conftest$ac_exeext conftest.$ac_ext
8158 LIBS=$ac_check_lib_save_LIBS
8160 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8161 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
8162 if test $ac_cv_lib_m_sin = yes; then
8163 cat >>confdefs.h <<_ACEOF
8171 { echo "$as_me:$LINENO: checking for main in -lcurses" >&5
8172 echo $ECHO_N "checking for main in -lcurses... $ECHO_C" >&6; }
8173 if test "${ac_cv_lib_curses_main+set}" = set; then
8174 echo $ECHO_N "(cached) $ECHO_C" >&6
8176 ac_check_lib_save_LIBS=$LIBS
8177 LIBS="-lcurses $LIBS"
8178 cat >conftest.$ac_ext <<_ACEOF
8181 cat confdefs.h >>conftest.$ac_ext
8182 cat >>conftest.$ac_ext <<_ACEOF
8183 /* end confdefs.h. */
8194 rm -f conftest.$ac_objext conftest$ac_exeext
8195 if { (ac_try="$ac_link"
8197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8198 *) ac_try_echo=$ac_try;;
8200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8201 (eval "$ac_link") 2>conftest.er1
8203 grep -v '^ *+' conftest.er1 >conftest.err
8205 cat conftest.err >&5
8206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207 (exit $ac_status); } &&
8208 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8209 { (case "(($ac_try" in
8210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8211 *) ac_try_echo=$ac_try;;
8213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8214 (eval "$ac_try") 2>&5
8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8217 (exit $ac_status); }; } &&
8218 { ac_try='test -s conftest$ac_exeext'
8219 { (case "(($ac_try" in
8220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8221 *) ac_try_echo=$ac_try;;
8223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8224 (eval "$ac_try") 2>&5
8226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8227 (exit $ac_status); }; }; then
8228 ac_cv_lib_curses_main=yes
8230 echo "$as_me: failed program was:" >&5
8231 sed 's/^/| /' conftest.$ac_ext >&5
8233 ac_cv_lib_curses_main=no
8236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8237 conftest$ac_exeext conftest.$ac_ext
8238 LIBS=$ac_check_lib_save_LIBS
8240 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_main" >&5
8241 echo "${ECHO_T}$ac_cv_lib_curses_main" >&6; }
8242 if test $ac_cv_lib_curses_main = yes; then
8248 { echo "$as_me:$LINENO: checking for main in -lncurses" >&5
8249 echo $ECHO_N "checking for main in -lncurses... $ECHO_C" >&6; }
8250 if test "${ac_cv_lib_ncurses_main+set}" = set; then
8251 echo $ECHO_N "(cached) $ECHO_C" >&6
8253 ac_check_lib_save_LIBS=$LIBS
8254 LIBS="-lncurses $LIBS"
8255 cat >conftest.$ac_ext <<_ACEOF
8258 cat confdefs.h >>conftest.$ac_ext
8259 cat >>conftest.$ac_ext <<_ACEOF
8260 /* end confdefs.h. */
8271 rm -f conftest.$ac_objext conftest$ac_exeext
8272 if { (ac_try="$ac_link"
8274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8275 *) ac_try_echo=$ac_try;;
8277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8278 (eval "$ac_link") 2>conftest.er1
8280 grep -v '^ *+' conftest.er1 >conftest.err
8282 cat conftest.err >&5
8283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8284 (exit $ac_status); } &&
8285 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8286 { (case "(($ac_try" in
8287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8288 *) ac_try_echo=$ac_try;;
8290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8291 (eval "$ac_try") 2>&5
8293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8294 (exit $ac_status); }; } &&
8295 { ac_try='test -s conftest$ac_exeext'
8296 { (case "(($ac_try" in
8297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8298 *) ac_try_echo=$ac_try;;
8300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8301 (eval "$ac_try") 2>&5
8303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8304 (exit $ac_status); }; }; then
8305 ac_cv_lib_ncurses_main=yes
8307 echo "$as_me: failed program was:" >&5
8308 sed 's/^/| /' conftest.$ac_ext >&5
8310 ac_cv_lib_ncurses_main=no
8313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8314 conftest$ac_exeext conftest.$ac_ext
8315 LIBS=$ac_check_lib_save_LIBS
8317 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_main" >&5
8318 echo "${ECHO_T}$ac_cv_lib_ncurses_main" >&6; }
8319 if test $ac_cv_lib_ncurses_main = yes; then
8325 { echo "$as_me:$LINENO: checking for main in -lreadline" >&5
8326 echo $ECHO_N "checking for main in -lreadline... $ECHO_C" >&6; }
8327 if test "${ac_cv_lib_readline_main+set}" = set; then
8328 echo $ECHO_N "(cached) $ECHO_C" >&6
8330 ac_check_lib_save_LIBS=$LIBS
8331 LIBS="-lreadline -lcurses $LIBS"
8332 cat >conftest.$ac_ext <<_ACEOF
8335 cat confdefs.h >>conftest.$ac_ext
8336 cat >>conftest.$ac_ext <<_ACEOF
8337 /* end confdefs.h. */
8348 rm -f conftest.$ac_objext conftest$ac_exeext
8349 if { (ac_try="$ac_link"
8351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8352 *) ac_try_echo=$ac_try;;
8354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8355 (eval "$ac_link") 2>conftest.er1
8357 grep -v '^ *+' conftest.er1 >conftest.err
8359 cat conftest.err >&5
8360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8361 (exit $ac_status); } &&
8362 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8363 { (case "(($ac_try" in
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_try") 2>&5
8370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8371 (exit $ac_status); }; } &&
8372 { ac_try='test -s conftest$ac_exeext'
8373 { (case "(($ac_try" in
8374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8375 *) ac_try_echo=$ac_try;;
8377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8378 (eval "$ac_try") 2>&5
8380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8381 (exit $ac_status); }; }; then
8382 ac_cv_lib_readline_main=yes
8384 echo "$as_me: failed program was:" >&5
8385 sed 's/^/| /' conftest.$ac_ext >&5
8387 ac_cv_lib_readline_main=no
8390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8391 conftest$ac_exeext conftest.$ac_ext
8392 LIBS=$ac_check_lib_save_LIBS
8394 { echo "$as_me:$LINENO: result: $ac_cv_lib_readline_main" >&5
8395 echo "${ECHO_T}$ac_cv_lib_readline_main" >&6; }
8396 if test $ac_cv_lib_readline_main = yes; then
8399 cat >>confdefs.h <<\_ACEOF
8400 #define HAVE_READLINE 1
8408 { echo "$as_me:$LINENO: checking for main in -lwx_gtk-2.4" >&5
8409 echo $ECHO_N "checking for main in -lwx_gtk-2.4... $ECHO_C" >&6; }
8410 if test "${ac_cv_lib_wx_gtk_2_4_main+set}" = set; then
8411 echo $ECHO_N "(cached) $ECHO_C" >&6
8413 ac_check_lib_save_LIBS=$LIBS
8414 LIBS="-lwx_gtk-2.4 -L/usr/lib64 -L/usr/lib `gtk-config --libs` `glib-config --libs glib gmodule gthread` $LIBS"
8415 cat >conftest.$ac_ext <<_ACEOF
8418 cat confdefs.h >>conftest.$ac_ext
8419 cat >>conftest.$ac_ext <<_ACEOF
8420 /* end confdefs.h. */
8431 rm -f conftest.$ac_objext conftest$ac_exeext
8432 if { (ac_try="$ac_link"
8434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8435 *) ac_try_echo=$ac_try;;
8437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8438 (eval "$ac_link") 2>conftest.er1
8440 grep -v '^ *+' conftest.er1 >conftest.err
8442 cat conftest.err >&5
8443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8444 (exit $ac_status); } &&
8445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8446 { (case "(($ac_try" in
8447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8448 *) ac_try_echo=$ac_try;;
8450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8451 (eval "$ac_try") 2>&5
8453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8454 (exit $ac_status); }; } &&
8455 { ac_try='test -s conftest$ac_exeext'
8456 { (case "(($ac_try" in
8457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8458 *) ac_try_echo=$ac_try;;
8460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8461 (eval "$ac_try") 2>&5
8463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8464 (exit $ac_status); }; }; then
8465 ac_cv_lib_wx_gtk_2_4_main=yes
8467 echo "$as_me: failed program was:" >&5
8468 sed 's/^/| /' conftest.$ac_ext >&5
8470 ac_cv_lib_wx_gtk_2_4_main=no
8473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8474 conftest$ac_exeext conftest.$ac_ext
8475 LIBS=$ac_check_lib_save_LIBS
8477 { echo "$as_me:$LINENO: result: $ac_cv_lib_wx_gtk_2_4_main" >&5
8478 echo "${ECHO_T}$ac_cv_lib_wx_gtk_2_4_main" >&6; }
8479 if test $ac_cv_lib_wx_gtk_2_4_main = yes; then
8480 wxwin=true; wx_gtk=true;
8481 cat >>confdefs.h <<\_ACEOF
8482 #define HAVE_WXWINDOWS 1
8487 { echo "$as_me:$LINENO: checking for main in -lwx_mac-2.4" >&5
8488 echo $ECHO_N "checking for main in -lwx_mac-2.4... $ECHO_C" >&6; }
8489 if test "${ac_cv_lib_wx_mac_2_4_main+set}" = set; then
8490 echo $ECHO_N "(cached) $ECHO_C" >&6
8492 ac_check_lib_save_LIBS=$LIBS
8493 LIBS="-lwx_mac-2.4 $LIBS"
8494 cat >conftest.$ac_ext <<_ACEOF
8497 cat confdefs.h >>conftest.$ac_ext
8498 cat >>conftest.$ac_ext <<_ACEOF
8499 /* end confdefs.h. */
8510 rm -f conftest.$ac_objext conftest$ac_exeext
8511 if { (ac_try="$ac_link"
8513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8514 *) ac_try_echo=$ac_try;;
8516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8517 (eval "$ac_link") 2>conftest.er1
8519 grep -v '^ *+' conftest.er1 >conftest.err
8521 cat conftest.err >&5
8522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523 (exit $ac_status); } &&
8524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8525 { (case "(($ac_try" in
8526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8527 *) ac_try_echo=$ac_try;;
8529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8530 (eval "$ac_try") 2>&5
8532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8533 (exit $ac_status); }; } &&
8534 { ac_try='test -s conftest$ac_exeext'
8535 { (case "(($ac_try" in
8536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8537 *) ac_try_echo=$ac_try;;
8539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8540 (eval "$ac_try") 2>&5
8542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543 (exit $ac_status); }; }; then
8544 ac_cv_lib_wx_mac_2_4_main=yes
8546 echo "$as_me: failed program was:" >&5
8547 sed 's/^/| /' conftest.$ac_ext >&5
8549 ac_cv_lib_wx_mac_2_4_main=no
8552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8553 conftest$ac_exeext conftest.$ac_ext
8554 LIBS=$ac_check_lib_save_LIBS
8556 { echo "$as_me:$LINENO: result: $ac_cv_lib_wx_mac_2_4_main" >&5
8557 echo "${ECHO_T}$ac_cv_lib_wx_mac_2_4_main" >&6; }
8558 if test $ac_cv_lib_wx_mac_2_4_main = yes; then
8559 wxwin=true; wx_mac=true;
8560 cat >>confdefs.h <<\_ACEOF
8561 #define HAVE_WXWINDOWS 1
8566 { echo "$as_me:$LINENO: checking for fftw_malloc in -lfftw3" >&5
8567 echo $ECHO_N "checking for fftw_malloc in -lfftw3... $ECHO_C" >&6; }
8568 if test "${ac_cv_lib_fftw3_fftw_malloc+set}" = set; then
8569 echo $ECHO_N "(cached) $ECHO_C" >&6
8571 ac_check_lib_save_LIBS=$LIBS
8572 LIBS="-lfftw3 -L/usr/lib64 -L/usr/lib $LIBS"
8573 cat >conftest.$ac_ext <<_ACEOF
8576 cat confdefs.h >>conftest.$ac_ext
8577 cat >>conftest.$ac_ext <<_ACEOF
8578 /* end confdefs.h. */
8580 /* Override any GCC internal prototype to avoid an error.
8581 Use char because int might match the return type of a GCC
8582 builtin and then its argument prototype would still apply. */
8586 char fftw_malloc ();
8590 return fftw_malloc ();
8595 rm -f conftest.$ac_objext conftest$ac_exeext
8596 if { (ac_try="$ac_link"
8598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8599 *) ac_try_echo=$ac_try;;
8601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8602 (eval "$ac_link") 2>conftest.er1
8604 grep -v '^ *+' conftest.er1 >conftest.err
8606 cat conftest.err >&5
8607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8608 (exit $ac_status); } &&
8609 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8610 { (case "(($ac_try" in
8611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8612 *) ac_try_echo=$ac_try;;
8614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8615 (eval "$ac_try") 2>&5
8617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8618 (exit $ac_status); }; } &&
8619 { ac_try='test -s conftest$ac_exeext'
8620 { (case "(($ac_try" in
8621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8622 *) ac_try_echo=$ac_try;;
8624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8625 (eval "$ac_try") 2>&5
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); }; }; then
8629 ac_cv_lib_fftw3_fftw_malloc=yes
8631 echo "$as_me: failed program was:" >&5
8632 sed 's/^/| /' conftest.$ac_ext >&5
8634 ac_cv_lib_fftw3_fftw_malloc=no
8637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8638 conftest$ac_exeext conftest.$ac_ext
8639 LIBS=$ac_check_lib_save_LIBS
8641 { echo "$as_me:$LINENO: result: $ac_cv_lib_fftw3_fftw_malloc" >&5
8642 echo "${ECHO_T}$ac_cv_lib_fftw3_fftw_malloc" >&6; }
8643 if test $ac_cv_lib_fftw3_fftw_malloc = yes; then
8645 cat >>confdefs.h <<\_ACEOF
8653 { echo "$as_me:$LINENO: checking for main in -lGL" >&5
8654 echo $ECHO_N "checking for main in -lGL... $ECHO_C" >&6; }
8655 if test "${ac_cv_lib_GL_main+set}" = set; then
8656 echo $ECHO_N "(cached) $ECHO_C" >&6
8658 ac_check_lib_save_LIBS=$LIBS
8659 LIBS="-lGL -L/usr/X11R6/lib -L/usr/X11R6/lib64 $LIBS"
8660 cat >conftest.$ac_ext <<_ACEOF
8663 cat confdefs.h >>conftest.$ac_ext
8664 cat >>conftest.$ac_ext <<_ACEOF
8665 /* end confdefs.h. */
8676 rm -f conftest.$ac_objext conftest$ac_exeext
8677 if { (ac_try="$ac_link"
8679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8680 *) ac_try_echo=$ac_try;;
8682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8683 (eval "$ac_link") 2>conftest.er1
8685 grep -v '^ *+' conftest.er1 >conftest.err
8687 cat conftest.err >&5
8688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8689 (exit $ac_status); } &&
8690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8691 { (case "(($ac_try" in
8692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8693 *) ac_try_echo=$ac_try;;
8695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8696 (eval "$ac_try") 2>&5
8698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8699 (exit $ac_status); }; } &&
8700 { ac_try='test -s conftest$ac_exeext'
8701 { (case "(($ac_try" in
8702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8703 *) ac_try_echo=$ac_try;;
8705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8706 (eval "$ac_try") 2>&5
8708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709 (exit $ac_status); }; }; then
8710 ac_cv_lib_GL_main=yes
8712 echo "$as_me: failed program was:" >&5
8713 sed 's/^/| /' conftest.$ac_ext >&5
8715 ac_cv_lib_GL_main=no
8718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8719 conftest$ac_exeext conftest.$ac_ext
8720 LIBS=$ac_check_lib_save_LIBS
8722 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_main" >&5
8723 echo "${ECHO_T}$ac_cv_lib_GL_main" >&6; }
8724 if test $ac_cv_lib_GL_main = yes; then
8730 { echo "$as_me:$LINENO: checking for main in -lpthread" >&5
8731 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6; }
8732 if test "${ac_cv_lib_pthread_main+set}" = set; then
8733 echo $ECHO_N "(cached) $ECHO_C" >&6
8735 ac_check_lib_save_LIBS=$LIBS
8736 LIBS="-lpthread $LIBS"
8737 cat >conftest.$ac_ext <<_ACEOF
8740 cat confdefs.h >>conftest.$ac_ext
8741 cat >>conftest.$ac_ext <<_ACEOF
8742 /* end confdefs.h. */
8753 rm -f conftest.$ac_objext conftest$ac_exeext
8754 if { (ac_try="$ac_link"
8756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8757 *) ac_try_echo=$ac_try;;
8759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8760 (eval "$ac_link") 2>conftest.er1
8762 grep -v '^ *+' conftest.er1 >conftest.err
8764 cat conftest.err >&5
8765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8766 (exit $ac_status); } &&
8767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8768 { (case "(($ac_try" in
8769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8770 *) ac_try_echo=$ac_try;;
8772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8773 (eval "$ac_try") 2>&5
8775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8776 (exit $ac_status); }; } &&
8777 { ac_try='test -s conftest$ac_exeext'
8778 { (case "(($ac_try" in
8779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8780 *) ac_try_echo=$ac_try;;
8782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8783 (eval "$ac_try") 2>&5
8785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8786 (exit $ac_status); }; }; then
8787 ac_cv_lib_pthread_main=yes
8789 echo "$as_me: failed program was:" >&5
8790 sed 's/^/| /' conftest.$ac_ext >&5
8792 ac_cv_lib_pthread_main=no
8795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8796 conftest$ac_exeext conftest.$ac_ext
8797 LIBS=$ac_check_lib_save_LIBS
8799 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
8800 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6; }
8801 if test $ac_cv_lib_pthread_main = yes; then
8808 if test "$zlib" = "true" ; then
8809 { echo "$as_me:$LINENO: checking for main in -lpng" >&5
8810 echo $ECHO_N "checking for main in -lpng... $ECHO_C" >&6; }
8811 if test "${ac_cv_lib_png_main+set}" = set; then
8812 echo $ECHO_N "(cached) $ECHO_C" >&6
8814 ac_check_lib_save_LIBS=$LIBS
8815 LIBS="-lpng -lz -lm $LIBS"
8816 cat >conftest.$ac_ext <<_ACEOF
8819 cat confdefs.h >>conftest.$ac_ext
8820 cat >>conftest.$ac_ext <<_ACEOF
8821 /* end confdefs.h. */
8832 rm -f conftest.$ac_objext conftest$ac_exeext
8833 if { (ac_try="$ac_link"
8835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8836 *) ac_try_echo=$ac_try;;
8838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8839 (eval "$ac_link") 2>conftest.er1
8841 grep -v '^ *+' conftest.er1 >conftest.err
8843 cat conftest.err >&5
8844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8845 (exit $ac_status); } &&
8846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8847 { (case "(($ac_try" in
8848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8849 *) ac_try_echo=$ac_try;;
8851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8852 (eval "$ac_try") 2>&5
8854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8855 (exit $ac_status); }; } &&
8856 { ac_try='test -s conftest$ac_exeext'
8857 { (case "(($ac_try" in
8858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8859 *) ac_try_echo=$ac_try;;
8861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8862 (eval "$ac_try") 2>&5
8864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8865 (exit $ac_status); }; }; then
8866 ac_cv_lib_png_main=yes
8868 echo "$as_me: failed program was:" >&5
8869 sed 's/^/| /' conftest.$ac_ext >&5
8871 ac_cv_lib_png_main=no
8874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8875 conftest$ac_exeext conftest.$ac_ext
8876 LIBS=$ac_check_lib_save_LIBS
8878 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_main" >&5
8879 echo "${ECHO_T}$ac_cv_lib_png_main" >&6; }
8880 if test $ac_cv_lib_png_main = yes; then
8882 cat >>confdefs.h <<\_ACEOF
8892 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8893 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
8894 if test "${ac_cv_header_stdc+set}" = set; then
8895 echo $ECHO_N "(cached) $ECHO_C" >&6
8897 cat >conftest.$ac_ext <<_ACEOF
8900 cat confdefs.h >>conftest.$ac_ext
8901 cat >>conftest.$ac_ext <<_ACEOF
8902 /* end confdefs.h. */
8916 rm -f conftest.$ac_objext
8917 if { (ac_try="$ac_compile"
8919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8920 *) ac_try_echo=$ac_try;;
8922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8923 (eval "$ac_compile") 2>conftest.er1
8925 grep -v '^ *+' conftest.er1 >conftest.err
8927 cat conftest.err >&5
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 (exit $ac_status); } &&
8930 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8931 { (case "(($ac_try" in
8932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8933 *) ac_try_echo=$ac_try;;
8935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8936 (eval "$ac_try") 2>&5
8938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8939 (exit $ac_status); }; } &&
8940 { ac_try='test -s conftest.$ac_objext'
8941 { (case "(($ac_try" in
8942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8943 *) ac_try_echo=$ac_try;;
8945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8946 (eval "$ac_try") 2>&5
8948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8949 (exit $ac_status); }; }; then
8950 ac_cv_header_stdc=yes
8952 echo "$as_me: failed program was:" >&5
8953 sed 's/^/| /' conftest.$ac_ext >&5
8955 ac_cv_header_stdc=no
8958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8960 if test $ac_cv_header_stdc = yes; then
8961 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8962 cat >conftest.$ac_ext <<_ACEOF
8965 cat confdefs.h >>conftest.$ac_ext
8966 cat >>conftest.$ac_ext <<_ACEOF
8967 /* end confdefs.h. */
8971 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8972 $EGREP "memchr" >/dev/null 2>&1; then
8975 ac_cv_header_stdc=no
8981 if test $ac_cv_header_stdc = yes; then
8982 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8983 cat >conftest.$ac_ext <<_ACEOF
8986 cat confdefs.h >>conftest.$ac_ext
8987 cat >>conftest.$ac_ext <<_ACEOF
8988 /* end confdefs.h. */
8992 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8993 $EGREP "free" >/dev/null 2>&1; then
8996 ac_cv_header_stdc=no
9002 if test $ac_cv_header_stdc = yes; then
9003 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9004 if test "$cross_compiling" = yes; then
9007 cat >conftest.$ac_ext <<_ACEOF
9010 cat confdefs.h >>conftest.$ac_ext
9011 cat >>conftest.$ac_ext <<_ACEOF
9012 /* end confdefs.h. */
9015 #if ((' ' & 0x0FF) == 0x020)
9016 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9017 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9019 # define ISLOWER(c) \
9020 (('a' <= (c) && (c) <= 'i') \
9021 || ('j' <= (c) && (c) <= 'r') \
9022 || ('s' <= (c) && (c) <= 'z'))
9023 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9026 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9031 for (i = 0; i < 256; i++)
9032 if (XOR (islower (i), ISLOWER (i))
9033 || toupper (i) != TOUPPER (i))
9038 rm -f conftest$ac_exeext
9039 if { (ac_try="$ac_link"
9041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9042 *) ac_try_echo=$ac_try;;
9044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9045 (eval "$ac_link") 2>&5
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9049 { (case "(($ac_try" in
9050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9051 *) ac_try_echo=$ac_try;;
9053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9054 (eval "$ac_try") 2>&5
9056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9057 (exit $ac_status); }; }; then
9060 echo "$as_me: program exited with status $ac_status" >&5
9061 echo "$as_me: failed program was:" >&5
9062 sed 's/^/| /' conftest.$ac_ext >&5
9065 ac_cv_header_stdc=no
9067 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9073 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9074 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
9075 if test $ac_cv_header_stdc = yes; then
9077 cat >>confdefs.h <<\_ACEOF
9078 #define STDC_HEADERS 1
9107 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
9109 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9110 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9111 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9113 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9114 echo $ECHO_N "(cached) $ECHO_C" >&6
9116 ac_res=`eval echo '${'$as_ac_Header'}'`
9117 { echo "$as_me:$LINENO: result: $ac_res" >&5
9118 echo "${ECHO_T}$ac_res" >&6; }
9120 # Is the header compilable?
9121 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9122 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9123 cat >conftest.$ac_ext <<_ACEOF
9126 cat confdefs.h >>conftest.$ac_ext
9127 cat >>conftest.$ac_ext <<_ACEOF
9128 /* end confdefs.h. */
9129 $ac_includes_default
9130 #include <$ac_header>
9132 rm -f conftest.$ac_objext
9133 if { (ac_try="$ac_compile"
9135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9136 *) ac_try_echo=$ac_try;;
9138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9139 (eval "$ac_compile") 2>conftest.er1
9141 grep -v '^ *+' conftest.er1 >conftest.err
9143 cat conftest.err >&5
9144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9145 (exit $ac_status); } &&
9146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9147 { (case "(($ac_try" in
9148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9149 *) ac_try_echo=$ac_try;;
9151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9152 (eval "$ac_try") 2>&5
9154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9155 (exit $ac_status); }; } &&
9156 { ac_try='test -s conftest.$ac_objext'
9157 { (case "(($ac_try" in
9158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9159 *) ac_try_echo=$ac_try;;
9161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9162 (eval "$ac_try") 2>&5
9164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9165 (exit $ac_status); }; }; then
9166 ac_header_compiler=yes
9168 echo "$as_me: failed program was:" >&5
9169 sed 's/^/| /' conftest.$ac_ext >&5
9171 ac_header_compiler=no
9174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9175 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9176 echo "${ECHO_T}$ac_header_compiler" >&6; }
9178 # Is the header present?
9179 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9180 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9181 cat >conftest.$ac_ext <<_ACEOF
9184 cat confdefs.h >>conftest.$ac_ext
9185 cat >>conftest.$ac_ext <<_ACEOF
9186 /* end confdefs.h. */
9187 #include <$ac_header>
9189 if { (ac_try="$ac_cpp conftest.$ac_ext"
9191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9192 *) ac_try_echo=$ac_try;;
9194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9195 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9197 grep -v '^ *+' conftest.er1 >conftest.err
9199 cat conftest.err >&5
9200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9201 (exit $ac_status); } >/dev/null; then
9202 if test -s conftest.err; then
9203 ac_cpp_err=$ac_c_preproc_warn_flag
9204 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9211 if test -z "$ac_cpp_err"; then
9212 ac_header_preproc=yes
9214 echo "$as_me: failed program was:" >&5
9215 sed 's/^/| /' conftest.$ac_ext >&5
9217 ac_header_preproc=no
9220 rm -f conftest.err conftest.$ac_ext
9221 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9222 echo "${ECHO_T}$ac_header_preproc" >&6; }
9224 # So? What about this header?
9225 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9227 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9228 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9230 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9231 ac_header_preproc=yes
9234 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9235 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9236 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9237 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9238 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9239 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9240 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9241 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9243 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9244 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9245 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9249 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9251 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9252 echo $ECHO_N "(cached) $ECHO_C" >&6
9254 eval "$as_ac_Header=\$ac_header_preproc"
9256 ac_res=`eval echo '${'$as_ac_Header'}'`
9257 { echo "$as_me:$LINENO: result: $ac_res" >&5
9258 echo "${ECHO_T}$ac_res" >&6; }
9261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9262 cat >>confdefs.h <<_ACEOF
9263 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9271 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
9272 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
9273 if test "${ac_cv_c_const+set}" = set; then
9274 echo $ECHO_N "(cached) $ECHO_C" >&6
9276 cat >conftest.$ac_ext <<_ACEOF
9279 cat confdefs.h >>conftest.$ac_ext
9280 cat >>conftest.$ac_ext <<_ACEOF
9281 /* end confdefs.h. */
9286 /* FIXME: Include the comments suggested by Paul. */
9288 /* Ultrix mips cc rejects this. */
9289 typedef int charset[2];
9291 /* SunOS 4.1.1 cc rejects this. */
9292 char const *const *pcpcc;
9294 /* NEC SVR4.0.2 mips cc rejects this. */
9295 struct point {int x, y;};
9296 static struct point const zero = {0,0};
9297 /* AIX XL C 1.02.0.0 rejects this.
9298 It does not let you subtract one const X* pointer from another in
9299 an arm of an if-expression whose if-part is not a constant
9301 const char *g = "string";
9302 pcpcc = &g + (g ? g-g : 0);
9303 /* HPUX 7.0 cc rejects these. */
9305 ppc = (char**) pcpcc;
9306 pcpcc = (char const *const *) ppc;
9307 { /* SCO 3.2v4 cc rejects this. */
9309 char const *s = 0 ? (char *) 0 : (char const *) 0;
9314 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9316 const int *foo = &x[0];
9319 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9320 typedef const int *iptr;
9324 { /* AIX XL C 1.02.0.0 rejects this saying
9325 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9326 struct s { int j; const int *ap[3]; };
9327 struct s *b; b->j = 5;
9329 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9333 return !cs[0] && !zero.x;
9340 rm -f conftest.$ac_objext
9341 if { (ac_try="$ac_compile"
9343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9344 *) ac_try_echo=$ac_try;;
9346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9347 (eval "$ac_compile") 2>conftest.er1
9349 grep -v '^ *+' conftest.er1 >conftest.err
9351 cat conftest.err >&5
9352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9353 (exit $ac_status); } &&
9354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9355 { (case "(($ac_try" in
9356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9357 *) ac_try_echo=$ac_try;;
9359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9360 (eval "$ac_try") 2>&5
9362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9363 (exit $ac_status); }; } &&
9364 { ac_try='test -s conftest.$ac_objext'
9365 { (case "(($ac_try" in
9366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9367 *) ac_try_echo=$ac_try;;
9369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9370 (eval "$ac_try") 2>&5
9372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9373 (exit $ac_status); }; }; then
9376 echo "$as_me: failed program was:" >&5
9377 sed 's/^/| /' conftest.$ac_ext >&5
9382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9384 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
9385 echo "${ECHO_T}$ac_cv_c_const" >&6; }
9386 if test $ac_cv_c_const = no; then
9388 cat >>confdefs.h <<\_ACEOF
9394 { echo "$as_me:$LINENO: checking for off_t" >&5
9395 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
9396 if test "${ac_cv_type_off_t+set}" = set; then
9397 echo $ECHO_N "(cached) $ECHO_C" >&6
9399 cat >conftest.$ac_ext <<_ACEOF
9402 cat confdefs.h >>conftest.$ac_ext
9403 cat >>conftest.$ac_ext <<_ACEOF
9404 /* end confdefs.h. */
9405 $ac_includes_default
9406 typedef off_t ac__type_new_;
9410 if ((ac__type_new_ *) 0)
9412 if (sizeof (ac__type_new_))
9418 rm -f conftest.$ac_objext
9419 if { (ac_try="$ac_compile"
9421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9422 *) ac_try_echo=$ac_try;;
9424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9425 (eval "$ac_compile") 2>conftest.er1
9427 grep -v '^ *+' conftest.er1 >conftest.err
9429 cat conftest.err >&5
9430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9431 (exit $ac_status); } &&
9432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9433 { (case "(($ac_try" in
9434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9435 *) ac_try_echo=$ac_try;;
9437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9438 (eval "$ac_try") 2>&5
9440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9441 (exit $ac_status); }; } &&
9442 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
9452 ac_cv_type_off_t=yes
9454 echo "$as_me: failed program was:" >&5
9455 sed 's/^/| /' conftest.$ac_ext >&5
9460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9462 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
9463 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
9464 if test $ac_cv_type_off_t = yes; then
9468 cat >>confdefs.h <<_ACEOF
9469 #define off_t long int
9474 { echo "$as_me:$LINENO: checking for size_t" >&5
9475 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
9476 if test "${ac_cv_type_size_t+set}" = set; then
9477 echo $ECHO_N "(cached) $ECHO_C" >&6
9479 cat >conftest.$ac_ext <<_ACEOF
9482 cat confdefs.h >>conftest.$ac_ext
9483 cat >>conftest.$ac_ext <<_ACEOF
9484 /* end confdefs.h. */
9485 $ac_includes_default
9486 typedef size_t ac__type_new_;
9490 if ((ac__type_new_ *) 0)
9492 if (sizeof (ac__type_new_))
9498 rm -f conftest.$ac_objext
9499 if { (ac_try="$ac_compile"
9501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9502 *) ac_try_echo=$ac_try;;
9504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9505 (eval "$ac_compile") 2>conftest.er1
9507 grep -v '^ *+' conftest.er1 >conftest.err
9509 cat conftest.err >&5
9510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9511 (exit $ac_status); } &&
9512 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9513 { (case "(($ac_try" in
9514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9515 *) ac_try_echo=$ac_try;;
9517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9518 (eval "$ac_try") 2>&5
9520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9521 (exit $ac_status); }; } &&
9522 { ac_try='test -s conftest.$ac_objext'
9523 { (case "(($ac_try" in
9524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9525 *) ac_try_echo=$ac_try;;
9527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9528 (eval "$ac_try") 2>&5
9530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9531 (exit $ac_status); }; }; then
9532 ac_cv_type_size_t=yes
9534 echo "$as_me: failed program was:" >&5
9535 sed 's/^/| /' conftest.$ac_ext >&5
9537 ac_cv_type_size_t=no
9540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9542 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
9543 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
9544 if test $ac_cv_type_size_t = yes; then
9548 cat >>confdefs.h <<_ACEOF
9549 #define size_t unsigned int
9554 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
9555 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
9556 if test "${ac_cv_struct_tm+set}" = set; then
9557 echo $ECHO_N "(cached) $ECHO_C" >&6
9559 cat >conftest.$ac_ext <<_ACEOF
9562 cat confdefs.h >>conftest.$ac_ext
9563 cat >>conftest.$ac_ext <<_ACEOF
9564 /* end confdefs.h. */
9565 #include <sys/types.h>
9571 struct tm *tp; tp->tm_sec;
9576 rm -f conftest.$ac_objext
9577 if { (ac_try="$ac_compile"
9579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9580 *) ac_try_echo=$ac_try;;
9582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9583 (eval "$ac_compile") 2>conftest.er1
9585 grep -v '^ *+' conftest.er1 >conftest.err
9587 cat conftest.err >&5
9588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9589 (exit $ac_status); } &&
9590 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9591 { (case "(($ac_try" in
9592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9593 *) ac_try_echo=$ac_try;;
9595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9596 (eval "$ac_try") 2>&5
9598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599 (exit $ac_status); }; } &&
9600 { ac_try='test -s conftest.$ac_objext'
9601 { (case "(($ac_try" in
9602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9603 *) ac_try_echo=$ac_try;;
9605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9606 (eval "$ac_try") 2>&5
9608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9609 (exit $ac_status); }; }; then
9610 ac_cv_struct_tm=time.h
9612 echo "$as_me: failed program was:" >&5
9613 sed 's/^/| /' conftest.$ac_ext >&5
9615 ac_cv_struct_tm=sys/time.h
9618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9620 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
9621 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
9622 if test $ac_cv_struct_tm = sys/time.h; then
9624 cat >>confdefs.h <<\_ACEOF
9625 #define TM_IN_SYS_TIME 1
9632 for ac_func in vprintf
9634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9635 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9637 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9638 echo $ECHO_N "(cached) $ECHO_C" >&6
9640 cat >conftest.$ac_ext <<_ACEOF
9643 cat confdefs.h >>conftest.$ac_ext
9644 cat >>conftest.$ac_ext <<_ACEOF
9645 /* end confdefs.h. */
9646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9648 #define $ac_func innocuous_$ac_func
9650 /* System header to define __stub macros and hopefully few prototypes,
9651 which can conflict with char $ac_func (); below.
9652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9653 <limits.h> exists even on freestanding compilers. */
9656 # include <limits.h>
9658 # include <assert.h>
9663 /* Override any GCC internal prototype to avoid an error.
9664 Use char because int might match the return type of a GCC
9665 builtin and then its argument prototype would still apply. */
9670 /* The GNU C library defines this for functions which it implements
9671 to always fail with ENOSYS. Some functions are actually named
9672 something starting with __ and the normal name is an alias. */
9673 #if defined __stub_$ac_func || defined __stub___$ac_func
9685 rm -f conftest.$ac_objext conftest$ac_exeext
9686 if { (ac_try="$ac_link"
9688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9689 *) ac_try_echo=$ac_try;;
9691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9692 (eval "$ac_link") 2>conftest.er1
9694 grep -v '^ *+' conftest.er1 >conftest.err
9696 cat conftest.err >&5
9697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9698 (exit $ac_status); } &&
9699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9700 { (case "(($ac_try" in
9701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9702 *) ac_try_echo=$ac_try;;
9704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9705 (eval "$ac_try") 2>&5
9707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9708 (exit $ac_status); }; } &&
9709 { ac_try='test -s conftest$ac_exeext'
9710 { (case "(($ac_try" in
9711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9712 *) ac_try_echo=$ac_try;;
9714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9715 (eval "$ac_try") 2>&5
9717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718 (exit $ac_status); }; }; then
9719 eval "$as_ac_var=yes"
9721 echo "$as_me: failed program was:" >&5
9722 sed 's/^/| /' conftest.$ac_ext >&5
9724 eval "$as_ac_var=no"
9727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9728 conftest$ac_exeext conftest.$ac_ext
9730 ac_res=`eval echo '${'$as_ac_var'}'`
9731 { echo "$as_me:$LINENO: result: $ac_res" >&5
9732 echo "${ECHO_T}$ac_res" >&6; }
9733 if test `eval echo '${'$as_ac_var'}'` = yes; then
9734 cat >>confdefs.h <<_ACEOF
9735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9738 { echo "$as_me:$LINENO: checking for _doprnt" >&5
9739 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
9740 if test "${ac_cv_func__doprnt+set}" = set; then
9741 echo $ECHO_N "(cached) $ECHO_C" >&6
9743 cat >conftest.$ac_ext <<_ACEOF
9746 cat confdefs.h >>conftest.$ac_ext
9747 cat >>conftest.$ac_ext <<_ACEOF
9748 /* end confdefs.h. */
9749 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
9750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9751 #define _doprnt innocuous__doprnt
9753 /* System header to define __stub macros and hopefully few prototypes,
9754 which can conflict with char _doprnt (); below.
9755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9756 <limits.h> exists even on freestanding compilers. */
9759 # include <limits.h>
9761 # include <assert.h>
9766 /* Override any GCC internal prototype to avoid an error.
9767 Use char because int might match the return type of a GCC
9768 builtin and then its argument prototype would still apply. */
9773 /* The GNU C library defines this for functions which it implements
9774 to always fail with ENOSYS. Some functions are actually named
9775 something starting with __ and the normal name is an alias. */
9776 #if defined __stub__doprnt || defined __stub____doprnt
9788 rm -f conftest.$ac_objext conftest$ac_exeext
9789 if { (ac_try="$ac_link"
9791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9792 *) ac_try_echo=$ac_try;;
9794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9795 (eval "$ac_link") 2>conftest.er1
9797 grep -v '^ *+' conftest.er1 >conftest.err
9799 cat conftest.err >&5
9800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9801 (exit $ac_status); } &&
9802 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9803 { (case "(($ac_try" in
9804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9805 *) ac_try_echo=$ac_try;;
9807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9808 (eval "$ac_try") 2>&5
9810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9811 (exit $ac_status); }; } &&
9812 { ac_try='test -s conftest$ac_exeext'
9813 { (case "(($ac_try" in
9814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9815 *) ac_try_echo=$ac_try;;
9817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9818 (eval "$ac_try") 2>&5
9820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9821 (exit $ac_status); }; }; then
9822 ac_cv_func__doprnt=yes
9824 echo "$as_me: failed program was:" >&5
9825 sed 's/^/| /' conftest.$ac_ext >&5
9827 ac_cv_func__doprnt=no
9830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9831 conftest$ac_exeext conftest.$ac_ext
9833 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
9834 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
9835 if test $ac_cv_func__doprnt = yes; then
9837 cat >>confdefs.h <<\_ACEOF
9838 #define HAVE_DOPRNT 1
9860 for ac_func in strtod strtol snprintf htonl usleep vsprintf vsnprintf basename setjmp setpriority time gettimeofday getenv
9862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9863 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9865 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9866 echo $ECHO_N "(cached) $ECHO_C" >&6
9868 cat >conftest.$ac_ext <<_ACEOF
9871 cat confdefs.h >>conftest.$ac_ext
9872 cat >>conftest.$ac_ext <<_ACEOF
9873 /* end confdefs.h. */
9874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9876 #define $ac_func innocuous_$ac_func
9878 /* System header to define __stub macros and hopefully few prototypes,
9879 which can conflict with char $ac_func (); below.
9880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9881 <limits.h> exists even on freestanding compilers. */
9884 # include <limits.h>
9886 # include <assert.h>
9891 /* Override any GCC internal prototype to avoid an error.
9892 Use char because int might match the return type of a GCC
9893 builtin and then its argument prototype would still apply. */
9898 /* The GNU C library defines this for functions which it implements
9899 to always fail with ENOSYS. Some functions are actually named
9900 something starting with __ and the normal name is an alias. */
9901 #if defined __stub_$ac_func || defined __stub___$ac_func
9913 rm -f conftest.$ac_objext conftest$ac_exeext
9914 if { (ac_try="$ac_link"
9916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9917 *) ac_try_echo=$ac_try;;
9919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9920 (eval "$ac_link") 2>conftest.er1
9922 grep -v '^ *+' conftest.er1 >conftest.err
9924 cat conftest.err >&5
9925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9926 (exit $ac_status); } &&
9927 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9928 { (case "(($ac_try" in
9929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9930 *) ac_try_echo=$ac_try;;
9932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9933 (eval "$ac_try") 2>&5
9935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936 (exit $ac_status); }; } &&
9937 { ac_try='test -s conftest$ac_exeext'
9938 { (case "(($ac_try" in
9939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9940 *) ac_try_echo=$ac_try;;
9942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9943 (eval "$ac_try") 2>&5
9945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946 (exit $ac_status); }; }; then
9947 eval "$as_ac_var=yes"
9949 echo "$as_me: failed program was:" >&5
9950 sed 's/^/| /' conftest.$ac_ext >&5
9952 eval "$as_ac_var=no"
9955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9956 conftest$ac_exeext conftest.$ac_ext
9958 ac_res=`eval echo '${'$as_ac_var'}'`
9959 { echo "$as_me:$LINENO: result: $ac_res" >&5
9960 echo "${ECHO_T}$ac_res" >&6; }
9961 if test `eval echo '${'$as_ac_var'}'` = yes; then
9962 cat >>confdefs.h <<_ACEOF
9963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9969 { echo "$as_me:$LINENO: checking for basename" >&5
9970 echo $ECHO_N "checking for basename... $ECHO_C" >&6; }
9971 if test "${ac_cv_func_basename+set}" = set; then
9972 echo $ECHO_N "(cached) $ECHO_C" >&6
9974 cat >conftest.$ac_ext <<_ACEOF
9977 cat confdefs.h >>conftest.$ac_ext
9978 cat >>conftest.$ac_ext <<_ACEOF
9979 /* end confdefs.h. */
9980 /* Define basename to an innocuous variant, in case <limits.h> declares basename.
9981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9982 #define basename innocuous_basename
9984 /* System header to define __stub macros and hopefully few prototypes,
9985 which can conflict with char basename (); below.
9986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9987 <limits.h> exists even on freestanding compilers. */
9990 # include <limits.h>
9992 # include <assert.h>
9997 /* Override any GCC internal prototype to avoid an error.
9998 Use char because int might match the return type of a GCC
9999 builtin and then its argument prototype would still apply. */
10004 /* The GNU C library defines this for functions which it implements
10005 to always fail with ENOSYS. Some functions are actually named
10006 something starting with __ and the normal name is an alias. */
10007 #if defined __stub_basename || defined __stub___basename
10014 return basename ();
10019 rm -f conftest.$ac_objext conftest$ac_exeext
10020 if { (ac_try="$ac_link"
10021 case "(($ac_try" in
10022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10023 *) ac_try_echo=$ac_try;;
10025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10026 (eval "$ac_link") 2>conftest.er1
10028 grep -v '^ *+' conftest.er1 >conftest.err
10030 cat conftest.err >&5
10031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10032 (exit $ac_status); } &&
10033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10034 { (case "(($ac_try" in
10035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10036 *) ac_try_echo=$ac_try;;
10038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10039 (eval "$ac_try") 2>&5
10041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042 (exit $ac_status); }; } &&
10043 { ac_try='test -s conftest$ac_exeext'
10044 { (case "(($ac_try" in
10045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10046 *) ac_try_echo=$ac_try;;
10048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10049 (eval "$ac_try") 2>&5
10051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10052 (exit $ac_status); }; }; then
10053 ac_cv_func_basename=yes
10055 echo "$as_me: failed program was:" >&5
10056 sed 's/^/| /' conftest.$ac_ext >&5
10058 ac_cv_func_basename=no
10061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10062 conftest$ac_exeext conftest.$ac_ext
10064 { echo "$as_me:$LINENO: result: $ac_cv_func_basename" >&5
10065 echo "${ECHO_T}$ac_cv_func_basename" >&6; }
10067 { echo "$as_me:$LINENO: checking for setjmp" >&5
10068 echo $ECHO_N "checking for setjmp... $ECHO_C" >&6; }
10069 if test "${ac_cv_func_setjmp+set}" = set; then
10070 echo $ECHO_N "(cached) $ECHO_C" >&6
10072 cat >conftest.$ac_ext <<_ACEOF
10075 cat confdefs.h >>conftest.$ac_ext
10076 cat >>conftest.$ac_ext <<_ACEOF
10077 /* end confdefs.h. */
10078 /* Define setjmp to an innocuous variant, in case <limits.h> declares setjmp.
10079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10080 #define setjmp innocuous_setjmp
10082 /* System header to define __stub macros and hopefully few prototypes,
10083 which can conflict with char setjmp (); below.
10084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10085 <limits.h> exists even on freestanding compilers. */
10088 # include <limits.h>
10090 # include <assert.h>
10095 /* Override any GCC internal prototype to avoid an error.
10096 Use char because int might match the return type of a GCC
10097 builtin and then its argument prototype would still apply. */
10102 /* The GNU C library defines this for functions which it implements
10103 to always fail with ENOSYS. Some functions are actually named
10104 something starting with __ and the normal name is an alias. */
10105 #if defined __stub_setjmp || defined __stub___setjmp
10117 rm -f conftest.$ac_objext conftest$ac_exeext
10118 if { (ac_try="$ac_link"
10119 case "(($ac_try" in
10120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10121 *) ac_try_echo=$ac_try;;
10123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10124 (eval "$ac_link") 2>conftest.er1
10126 grep -v '^ *+' conftest.er1 >conftest.err
10128 cat conftest.err >&5
10129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10130 (exit $ac_status); } &&
10131 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10132 { (case "(($ac_try" in
10133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10134 *) ac_try_echo=$ac_try;;
10136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10137 (eval "$ac_try") 2>&5
10139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10140 (exit $ac_status); }; } &&
10141 { ac_try='test -s conftest$ac_exeext'
10142 { (case "(($ac_try" in
10143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10144 *) ac_try_echo=$ac_try;;
10146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10147 (eval "$ac_try") 2>&5
10149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10150 (exit $ac_status); }; }; then
10151 ac_cv_func_setjmp=yes
10153 echo "$as_me: failed program was:" >&5
10154 sed 's/^/| /' conftest.$ac_ext >&5
10156 ac_cv_func_setjmp=no
10159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10160 conftest$ac_exeext conftest.$ac_ext
10162 { echo "$as_me:$LINENO: result: $ac_cv_func_setjmp" >&5
10163 echo "${ECHO_T}$ac_cv_func_setjmp" >&6; }
10165 { echo "$as_me:$LINENO: checking for setpriority" >&5
10166 echo $ECHO_N "checking for setpriority... $ECHO_C" >&6; }
10167 if test "${ac_cv_func_setpriority+set}" = set; then
10168 echo $ECHO_N "(cached) $ECHO_C" >&6
10170 cat >conftest.$ac_ext <<_ACEOF
10173 cat confdefs.h >>conftest.$ac_ext
10174 cat >>conftest.$ac_ext <<_ACEOF
10175 /* end confdefs.h. */
10176 /* Define setpriority to an innocuous variant, in case <limits.h> declares setpriority.
10177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10178 #define setpriority innocuous_setpriority
10180 /* System header to define __stub macros and hopefully few prototypes,
10181 which can conflict with char setpriority (); below.
10182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10183 <limits.h> exists even on freestanding compilers. */
10186 # include <limits.h>
10188 # include <assert.h>
10193 /* Override any GCC internal prototype to avoid an error.
10194 Use char because int might match the return type of a GCC
10195 builtin and then its argument prototype would still apply. */
10199 char setpriority ();
10200 /* The GNU C library defines this for functions which it implements
10201 to always fail with ENOSYS. Some functions are actually named
10202 something starting with __ and the normal name is an alias. */
10203 #if defined __stub_setpriority || defined __stub___setpriority
10210 return setpriority ();
10215 rm -f conftest.$ac_objext conftest$ac_exeext
10216 if { (ac_try="$ac_link"
10217 case "(($ac_try" in
10218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10219 *) ac_try_echo=$ac_try;;
10221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10222 (eval "$ac_link") 2>conftest.er1
10224 grep -v '^ *+' conftest.er1 >conftest.err
10226 cat conftest.err >&5
10227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10228 (exit $ac_status); } &&
10229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10230 { (case "(($ac_try" in
10231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10232 *) ac_try_echo=$ac_try;;
10234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10235 (eval "$ac_try") 2>&5
10237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10238 (exit $ac_status); }; } &&
10239 { ac_try='test -s conftest$ac_exeext'
10240 { (case "(($ac_try" in
10241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10242 *) ac_try_echo=$ac_try;;
10244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10245 (eval "$ac_try") 2>&5
10247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10248 (exit $ac_status); }; }; then
10249 ac_cv_func_setpriority=yes
10251 echo "$as_me: failed program was:" >&5
10252 sed 's/^/| /' conftest.$ac_ext >&5
10254 ac_cv_func_setpriority=no
10257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10258 conftest$ac_exeext conftest.$ac_ext
10260 { echo "$as_me:$LINENO: result: $ac_cv_func_setpriority" >&5
10261 echo "${ECHO_T}$ac_cv_func_setpriority" >&6; }
10263 { echo "$as_me:$LINENO: checking for time" >&5
10264 echo $ECHO_N "checking for time... $ECHO_C" >&6; }
10265 if test "${ac_cv_func_time+set}" = set; then
10266 echo $ECHO_N "(cached) $ECHO_C" >&6
10268 cat >conftest.$ac_ext <<_ACEOF
10271 cat confdefs.h >>conftest.$ac_ext
10272 cat >>conftest.$ac_ext <<_ACEOF
10273 /* end confdefs.h. */
10274 /* Define time to an innocuous variant, in case <limits.h> declares time.
10275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10276 #define time innocuous_time
10278 /* System header to define __stub macros and hopefully few prototypes,
10279 which can conflict with char time (); below.
10280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10281 <limits.h> exists even on freestanding compilers. */
10284 # include <limits.h>
10286 # include <assert.h>
10291 /* Override any GCC internal prototype to avoid an error.
10292 Use char because int might match the return type of a GCC
10293 builtin and then its argument prototype would still apply. */
10298 /* The GNU C library defines this for functions which it implements
10299 to always fail with ENOSYS. Some functions are actually named
10300 something starting with __ and the normal name is an alias. */
10301 #if defined __stub_time || defined __stub___time
10313 rm -f conftest.$ac_objext conftest$ac_exeext
10314 if { (ac_try="$ac_link"
10315 case "(($ac_try" in
10316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10317 *) ac_try_echo=$ac_try;;
10319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10320 (eval "$ac_link") 2>conftest.er1
10322 grep -v '^ *+' conftest.er1 >conftest.err
10324 cat conftest.err >&5
10325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10326 (exit $ac_status); } &&
10327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10328 { (case "(($ac_try" in
10329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10330 *) ac_try_echo=$ac_try;;
10332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10333 (eval "$ac_try") 2>&5
10335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10336 (exit $ac_status); }; } &&
10337 { ac_try='test -s conftest$ac_exeext'
10338 { (case "(($ac_try" in
10339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10340 *) ac_try_echo=$ac_try;;
10342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10343 (eval "$ac_try") 2>&5
10345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10346 (exit $ac_status); }; }; then
10347 ac_cv_func_time=yes
10349 echo "$as_me: failed program was:" >&5
10350 sed 's/^/| /' conftest.$ac_ext >&5
10355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10356 conftest$ac_exeext conftest.$ac_ext
10358 { echo "$as_me:$LINENO: result: $ac_cv_func_time" >&5
10359 echo "${ECHO_T}$ac_cv_func_time" >&6; }
10361 { echo "$as_me:$LINENO: checking for gettimeofday" >&5
10362 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6; }
10363 if test "${ac_cv_func_gettimeofday+set}" = set; then
10364 echo $ECHO_N "(cached) $ECHO_C" >&6
10366 cat >conftest.$ac_ext <<_ACEOF
10369 cat confdefs.h >>conftest.$ac_ext
10370 cat >>conftest.$ac_ext <<_ACEOF
10371 /* end confdefs.h. */
10372 /* Define gettimeofday to an innocuous variant, in case <limits.h> declares gettimeofday.
10373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10374 #define gettimeofday innocuous_gettimeofday
10376 /* System header to define __stub macros and hopefully few prototypes,
10377 which can conflict with char gettimeofday (); below.
10378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10379 <limits.h> exists even on freestanding compilers. */
10382 # include <limits.h>
10384 # include <assert.h>
10387 #undef gettimeofday
10389 /* Override any GCC internal prototype to avoid an error.
10390 Use char because int might match the return type of a GCC
10391 builtin and then its argument prototype would still apply. */
10395 char gettimeofday ();
10396 /* The GNU C library defines this for functions which it implements
10397 to always fail with ENOSYS. Some functions are actually named
10398 something starting with __ and the normal name is an alias. */
10399 #if defined __stub_gettimeofday || defined __stub___gettimeofday
10406 return gettimeofday ();
10411 rm -f conftest.$ac_objext conftest$ac_exeext
10412 if { (ac_try="$ac_link"
10413 case "(($ac_try" in
10414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10415 *) ac_try_echo=$ac_try;;
10417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10418 (eval "$ac_link") 2>conftest.er1
10420 grep -v '^ *+' conftest.er1 >conftest.err
10422 cat conftest.err >&5
10423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424 (exit $ac_status); } &&
10425 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10426 { (case "(($ac_try" in
10427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10428 *) ac_try_echo=$ac_try;;
10430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10431 (eval "$ac_try") 2>&5
10433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434 (exit $ac_status); }; } &&
10435 { ac_try='test -s conftest$ac_exeext'
10436 { (case "(($ac_try" in
10437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10438 *) ac_try_echo=$ac_try;;
10440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10441 (eval "$ac_try") 2>&5
10443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10444 (exit $ac_status); }; }; then
10445 ac_cv_func_gettimeofday=yes
10447 echo "$as_me: failed program was:" >&5
10448 sed 's/^/| /' conftest.$ac_ext >&5
10450 ac_cv_func_gettimeofday=no
10453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10454 conftest$ac_exeext conftest.$ac_ext
10456 { echo "$as_me:$LINENO: result: $ac_cv_func_gettimeofday" >&5
10457 echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6; }
10459 { echo "$as_me:$LINENO: checking for getopt" >&5
10460 echo $ECHO_N "checking for getopt... $ECHO_C" >&6; }
10461 if test "${ac_cv_func_getopt+set}" = set; then
10462 echo $ECHO_N "(cached) $ECHO_C" >&6
10464 cat >conftest.$ac_ext <<_ACEOF
10467 cat confdefs.h >>conftest.$ac_ext
10468 cat >>conftest.$ac_ext <<_ACEOF
10469 /* end confdefs.h. */
10470 /* Define getopt to an innocuous variant, in case <limits.h> declares getopt.
10471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10472 #define getopt innocuous_getopt
10474 /* System header to define __stub macros and hopefully few prototypes,
10475 which can conflict with char getopt (); below.
10476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10477 <limits.h> exists even on freestanding compilers. */
10480 # include <limits.h>
10482 # include <assert.h>
10487 /* Override any GCC internal prototype to avoid an error.
10488 Use char because int might match the return type of a GCC
10489 builtin and then its argument prototype would still apply. */
10494 /* The GNU C library defines this for functions which it implements
10495 to always fail with ENOSYS. Some functions are actually named
10496 something starting with __ and the normal name is an alias. */
10497 #if defined __stub_getopt || defined __stub___getopt
10509 rm -f conftest.$ac_objext conftest$ac_exeext
10510 if { (ac_try="$ac_link"
10511 case "(($ac_try" in
10512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10513 *) ac_try_echo=$ac_try;;
10515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10516 (eval "$ac_link") 2>conftest.er1
10518 grep -v '^ *+' conftest.er1 >conftest.err
10520 cat conftest.err >&5
10521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10522 (exit $ac_status); } &&
10523 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10524 { (case "(($ac_try" in
10525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10526 *) ac_try_echo=$ac_try;;
10528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10529 (eval "$ac_try") 2>&5
10531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10532 (exit $ac_status); }; } &&
10533 { ac_try='test -s conftest$ac_exeext'
10534 { (case "(($ac_try" in
10535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10536 *) ac_try_echo=$ac_try;;
10538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10539 (eval "$ac_try") 2>&5
10541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10542 (exit $ac_status); }; }; then
10543 ac_cv_func_getopt=yes
10545 echo "$as_me: failed program was:" >&5
10546 sed 's/^/| /' conftest.$ac_ext >&5
10548 ac_cv_func_getopt=no
10551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10552 conftest$ac_exeext conftest.$ac_ext
10554 { echo "$as_me:$LINENO: result: $ac_cv_func_getopt" >&5
10555 echo "${ECHO_T}$ac_cv_func_getopt" >&6; }
10556 if test $ac_cv_func_getopt = yes; then
10563 if test "${OSTYPE}" = "cygwin" ; then
10566 { echo "$as_me:$LINENO: checking for getopt_long" >&5
10567 echo $ECHO_N "checking for getopt_long... $ECHO_C" >&6; }
10568 if test "${ac_cv_func_getopt_long+set}" = set; then
10569 echo $ECHO_N "(cached) $ECHO_C" >&6
10571 cat >conftest.$ac_ext <<_ACEOF
10574 cat confdefs.h >>conftest.$ac_ext
10575 cat >>conftest.$ac_ext <<_ACEOF
10576 /* end confdefs.h. */
10577 /* Define getopt_long to an innocuous variant, in case <limits.h> declares getopt_long.
10578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10579 #define getopt_long innocuous_getopt_long
10581 /* System header to define __stub macros and hopefully few prototypes,
10582 which can conflict with char getopt_long (); below.
10583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10584 <limits.h> exists even on freestanding compilers. */
10587 # include <limits.h>
10589 # include <assert.h>
10594 /* Override any GCC internal prototype to avoid an error.
10595 Use char because int might match the return type of a GCC
10596 builtin and then its argument prototype would still apply. */
10600 char getopt_long ();
10601 /* The GNU C library defines this for functions which it implements
10602 to always fail with ENOSYS. Some functions are actually named
10603 something starting with __ and the normal name is an alias. */
10604 #if defined __stub_getopt_long || defined __stub___getopt_long
10611 return getopt_long ();
10616 rm -f conftest.$ac_objext conftest$ac_exeext
10617 if { (ac_try="$ac_link"
10618 case "(($ac_try" in
10619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10620 *) ac_try_echo=$ac_try;;
10622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10623 (eval "$ac_link") 2>conftest.er1
10625 grep -v '^ *+' conftest.er1 >conftest.err
10627 cat conftest.err >&5
10628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629 (exit $ac_status); } &&
10630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10631 { (case "(($ac_try" in
10632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10633 *) ac_try_echo=$ac_try;;
10635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10636 (eval "$ac_try") 2>&5
10638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10639 (exit $ac_status); }; } &&
10640 { ac_try='test -s conftest$ac_exeext'
10641 { (case "(($ac_try" in
10642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10643 *) ac_try_echo=$ac_try;;
10645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10646 (eval "$ac_try") 2>&5
10648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10649 (exit $ac_status); }; }; then
10650 ac_cv_func_getopt_long=yes
10652 echo "$as_me: failed program was:" >&5
10653 sed 's/^/| /' conftest.$ac_ext >&5
10655 ac_cv_func_getopt_long=no
10658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10659 conftest$ac_exeext conftest.$ac_ext
10661 { echo "$as_me:$LINENO: result: $ac_cv_func_getopt_long" >&5
10662 echo "${ECHO_T}$ac_cv_func_getopt_long" >&6; }
10663 if test $ac_cv_func_getopt_long = yes; then
10671 if test "${getopt_long}" = "false" ; then
10672 my_includes="$my_includes -I../getopt"
10674 cat >>confdefs.h <<\_ACEOF
10675 #define HAVE_GETOPT_LONG 1
10678 ctlibs_base="$ctlibs_base -lgetopt"
10679 LDFLAGS="$LDFLAGS -L../getopt"
10684 if test "$GETOPTLONG"="1"; then
10685 INCLUDED_GETOPT_LONG_TRUE=
10686 INCLUDED_GETOPT_LONG_FALSE='#'
10688 INCLUDED_GETOPT_LONG_TRUE='#'
10689 INCLUDED_GETOPT_LONG_FALSE=
10693 if test "${readline}" = "true" ; then
10694 ctlibs_base="$ctlibs_base -lreadline"
10695 if test "${ncurses}" = "true"; then
10696 ctlibs_base="$ctlibs_base -lncurses"
10697 elif test "${curses}" = "true"; then
10698 ctlibs_base="$ctlibs_base -lcurses"
10702 { echo "$as_me:$LINENO: checking debug" >&5
10703 echo $ECHO_N "checking debug... $ECHO_C" >&6; }
10704 # Check whether --enable-debug was given.
10705 if test "${enable_debug+set}" = set; then
10706 enableval=$enable_debug; case "${enableval}" in
10708 { echo "$as_me:$LINENO: result: yes" >&5
10709 echo "${ECHO_T}yes" >&6; }
10712 { echo "$as_me:$LINENO: result: no" >&5
10713 echo "${ECHO_T}no" >&6; }
10715 *) { echo "$as_me:$LINENO: result: bad value ${enableval} for --enable-debug" >&5
10716 echo "${ECHO_T}bad value ${enableval} for --enable-debug" >&6; }
10720 debug=false; { echo "$as_me:$LINENO: result: no" >&5
10721 echo "${ECHO_T}no" >&6; }
10726 if test "$debug" = "true"; then
10735 if test "$datadir" != "" ; then
10736 CPPFLAGS="$CPPFLAGS -DDATADIR=\"\\\"$datadir\\\"\""
10739 if test "$debug" = "true" ; then
10740 CFLAGS="$CFLAGS -g -DDEBUG"
10742 cat >>confdefs.h <<\_ACEOF
10747 CFLAGS="$CFLAGS -O2 -DNDEBUG -fomit-frame-pointer"
10749 cat >>confdefs.h <<\_ACEOF
10755 if test "${pthread}" = "true" ; then
10757 cat >>confdefs.h <<\_ACEOF
10758 #define HAVE_WXTHREADS 1
10763 { echo "$as_me:$LINENO: checking sstream" >&5
10764 echo $ECHO_N "checking sstream... $ECHO_C" >&6; }
10765 if test -f /usr/include/sstream || test -f /usr/include/g++/sstream ||
10766 test -f /usr/include/g++-2/sstream || test -f /usr/include/g++-3/sstream ||
10767 test -f /usr/include/gcc/darwin/3.1/g++-v3/sstream ; then
10769 cat >>confdefs.h <<\_ACEOF
10770 #define HAVE_SSTREAM 1
10773 { echo "$as_me:$LINENO: result: yes" >&5
10774 echo "${ECHO_T}yes" >&6; }
10776 { echo "$as_me:$LINENO: result: no" >&5
10777 echo "${ECHO_T}no" >&6; }
10781 CFLAGS="$CFLAGS -Wall"
10782 { echo "$as_me:$LINENO: checking whether to enable verbose warnings" >&5
10783 echo $ECHO_N "checking whether to enable verbose warnings... $ECHO_C" >&6; }
10784 # Check whether --enable-verbose-warnings was given.
10785 if test "${enable_verbose_warnings+set}" = set; then
10786 enableval=$enable_verbose_warnings; case "$enableval" in
10788 { echo "$as_me:$LINENO: result: yes" >&5
10789 echo "${ECHO_T}yes" >&6; }
10790 CFLAGS="$CFLAGS -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wstrict-prototypes -pedantic -Wredundant-decls"
10793 { echo "$as_me:$LINENO: result: no" >&5
10794 echo "${ECHO_T}no" >&6; }
10798 { echo "$as_me:$LINENO: result: no" >&5
10799 echo "${ECHO_T}no" >&6; }
10804 { echo "$as_me:$LINENO: checking static executables" >&5
10805 echo $ECHO_N "checking static executables... $ECHO_C" >&6; }
10806 # Check whether --enable-static was given.
10807 if test "${enable_static+set}" = set; then
10808 enableval=$enable_static; case "$enableval" in
10810 { echo "$as_me:$LINENO: result: yes" >&5
10811 echo "${ECHO_T}yes" >&6; }
10812 CFLAGS="$CFLAGS --static"
10815 { echo "$as_me:$LINENO: result: no" >&5
10816 echo "${ECHO_T}no" >&6; }
10820 { echo "$as_me:$LINENO: result: no" >&5
10821 echo "${ECHO_T}no" >&6; }
10827 # Check whether --with-lam was given.
10828 if test "${with_lam+set}" = set; then
10829 withval=$with_lam; if test "$withval" != "no" ; then
10836 if test "$withval" != "no" ; then
10837 if test "$prefix" != "NONE" ; then
10838 trylamdir="$trylamdir $prefix"
10841 { echo "$as_me:$LINENO: checking for LAM MPI installation" >&5
10842 echo $ECHO_N "checking for LAM MPI installation... $ECHO_C" >&6; }
10843 for testlamdir in "." $trylamdir /usr/local /usr/local/lam /usr /usr/lam /opt /opt/lam ; do
10844 if test -x "$testlamdir/bin/hcp" ; then
10845 if test "$testlamdir" != "/usr"; then
10846 LDFLAGS="$LDFLAGS -L$testlamdir/lib"
10847 CFLAGS="$CFLAGS -I$testlamdir/include"
10849 CFLAGS="$CFLAGS -I$testlamdir/include/mpi2c++"
10850 lamdir="$testlamdir"
10857 { echo "$as_me:$LINENO: result: $lamdir" >&5
10858 echo "${ECHO_T}$lamdir" >&6; }
10860 { echo "$as_me:$LINENO: result: no" >&5
10861 echo "${ECHO_T}no" >&6; }
10866 # Check whether --with-ctn was given.
10867 if test "${with_ctn+set}" = set; then
10868 withval=$with_ctn; if test "$withval" != "no" ; then
10875 if test "$withval" == "no" -o "$withval" == "NONE" ; then
10876 { echo "$as_me:$LINENO: checking for CTN DICOM installation" >&5
10877 echo $ECHO_N "checking for CTN DICOM installation... $ECHO_C" >&6; }
10878 { echo "$as_me:$LINENO: result: disabled" >&5
10879 echo "${ECHO_T}disabled" >&6; }
10881 { echo "$as_me:$LINENO: checking for CTN DICOM installation" >&5
10882 echo $ECHO_N "checking for CTN DICOM installation... $ECHO_C" >&6; }
10883 for testctndir in $tryctndir/lib /usr/local/lib /usr/local/ctn/lib /usr/lib /usr/ctn/lib /usr/lib/ctn /opt/ctn/lib ; do
10884 if test -f "$testctndir/libctn.a" ; then
10885 LDFLAGS="$LDFLAGS -L$testctndir"
10890 for testctndir in $tryctndir/include /usr/local/include /usr/local/ctn/include /usr/include /usr/include/ctn /usr/ctn/include /opt/ctn/include ; do
10891 if test -f "$testctndir/ctn_os.h" ; then
10892 CFLAGS="$CFLAGS -I$testctndir"
10897 if test "$ctnlib" == "true" -a "$ctninclude" == "true" ; then
10900 cat >>confdefs.h <<\_ACEOF
10901 #define HAVE_CTN_DICOM 1
10904 { echo "$as_me:$LINENO: result: yes" >&5
10905 echo "${ECHO_T}yes" >&6; }
10907 { echo "$as_me:$LINENO: result: no" >&5
10908 echo "${ECHO_T}no" >&6; }
10912 { echo "$as_me:$LINENO: checking for CPU specification" >&5
10913 echo $ECHO_N "checking for CPU specification... $ECHO_C" >&6; }
10915 # Check whether --with-mcpu was given.
10916 if test "${with_mcpu+set}" = set; then
10917 withval=$with_mcpu;
10921 if test "$withval" == "no" -o "$withval" == "yes" -o "$withval" == ""; then
10922 { echo "$as_me:$LINENO: result: no" >&5
10923 echo "${ECHO_T}no" >&6; }
10925 { echo "$as_me:$LINENO: result: $withval" >&5
10926 echo "${ECHO_T}$withval" >&6; }
10927 CFLAGS="$CFLAGS -mcpu=$withval"
10930 { echo "$as_me:$LINENO: checking for web access" >&5
10931 echo $ECHO_N "checking for web access... $ECHO_C" >&6; }
10933 # Check whether --with-cgibin-dir was given.
10934 if test "${with_cgibin_dir+set}" = set; then
10935 withval=$with_cgibin_dir; cgibindir=$withval ;
10940 # Check whether --with-cgibin-url was given.
10941 if test "${with_cgibin_url+set}" = set; then
10942 withval=$with_cgibin_url; cgibinurl=$withval ;
10947 # Check whether --with-webdata-dir was given.
10948 if test "${with_webdata_dir+set}" = set; then
10949 withval=$with_webdata_dir; webdatadir=$withval ;
10954 # Check whether --with-webdata-url was given.
10955 if test "${with_webdata_url+set}" = set; then
10956 withval=$with_webdata_url; webdataurl=$withval ;
10961 # Check whether --with-html-dir was given.
10962 if test "${with_html_dir+set}" = set; then
10963 withval=$with_html_dir; html_%dir=$withval ;
10967 if test -n "$cgibindir" -o -n "$cgibinurl" ; then
10968 cgiprograms="ctsim.cgi ctsim.conf"
10972 if test -n "$html_dir" ; then
10973 htmldata=simulate.html
10978 if test -n "$html_dir"; then
10987 if test -n "$cgibindir" -o -n "$cgibinurl" -o -n "$webdatadir" -o -n "$webdataurl" -o -n "$html_dir" ; then
10990 { echo "$as_me:$LINENO: result: yes" >&5
10991 echo "${ECHO_T}yes" >&6; }
10992 if test -z "$cgibindir" ; then
10993 { { echo "$as_me:$LINENO: error: --with-cgibin-dir not set for web access" >&5
10994 echo "$as_me: error: --with-cgibin-dir not set for web access" >&2;}
10995 { (exit 1); exit 1; }; }
10996 elif test -z "$cgibinurl" ; then
10997 { { echo "$as_me:$LINENO: error: --with-cgibin-url not set for web access" >&5
10998 echo "$as_me: error: --with-cgibin-url not set for web access" >&2;}
10999 { (exit 1); exit 1; }; }
11000 elif test -z "$webdatadir" ; then
11001 { { echo "$as_me:$LINENO: error: --with-webdata-dir not set for web access" >&5
11002 echo "$as_me: error: --with-webdata-dir not set for web access" >&2;}
11003 { (exit 1); exit 1; }; }
11004 elif test -z "$webdataurl" ; then
11005 { { echo "$as_me:$LINENO: error: --with-webdata-url not set for web access" >&5
11006 echo "$as_me: error: --with-webdata-url not set for web access" >&2;}
11007 { (exit 1); exit 1; }; }
11008 elif test -z "$html_dir" ; then
11009 { { echo "$as_me:$LINENO: error: --with-html-dir not set for web access" >&5
11010 echo "$as_me: error: --with-html-dir not set for web access" >&2;}
11011 { (exit 1); exit 1; }; }
11014 { echo "$as_me:$LINENO: result: no" >&5
11015 echo "${ECHO_T}no" >&6; }
11020 if test -n "$lamdir"; then
11029 { echo "$as_me:$LINENO: checking for X" >&5
11030 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
11033 # Check whether --with-x was given.
11034 if test "${with_x+set}" = set; then
11038 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11039 if test "x$with_x" = xno; then
11040 # The user explicitly disabled X.
11043 case $x_includes,$x_libraries in #(
11044 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
11045 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
11046 { (exit 1); exit 1; }; };; #(
11047 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
11048 echo $ECHO_N "(cached) $ECHO_C" >&6
11050 # One or both of the vars are not set, and there is no cached value.
11051 ac_x_includes=no ac_x_libraries=no
11052 rm -f -r conftest.dir
11053 if mkdir conftest.dir; then
11055 cat >Imakefile <<'_ACEOF'
11057 @echo incroot='${INCROOT}'
11059 @echo usrlibdir='${USRLIBDIR}'
11061 @echo libdir='${LIBDIR}'
11063 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
11064 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11065 for ac_var in incroot usrlibdir libdir; do
11066 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
11068 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11069 for ac_extension in a so sl; do
11070 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11071 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11072 ac_im_usrlibdir=$ac_im_libdir; break
11075 # Screen out bogus values from the imake configuration. They are
11076 # bogus both because they are the default anyway, and because
11077 # using them would break gcc on systems where it needs fixed includes.
11078 case $ac_im_incroot in
11079 /usr/include) ac_x_includes= ;;
11080 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
11082 case $ac_im_usrlibdir in
11083 /usr/lib | /lib) ;;
11084 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
11088 rm -f -r conftest.dir
11091 # Standard set of common directories for X headers.
11092 # Check X11 before X11Rn because it is often a symlink to the current release.
11104 /usr/local/X11/include
11105 /usr/local/X11R6/include
11106 /usr/local/X11R5/include
11107 /usr/local/X11R4/include
11109 /usr/local/include/X11
11110 /usr/local/include/X11R6
11111 /usr/local/include/X11R5
11112 /usr/local/include/X11R4
11116 /usr/XFree86/include/X11
11120 /usr/unsupported/include
11121 /usr/athena/include
11122 /usr/local/x11r5/include
11123 /usr/lpp/Xamples/include
11125 /usr/openwin/include
11126 /usr/openwin/share/include'
11128 if test "$ac_x_includes" = no; then
11129 # Guess where to find include files, by looking for Xlib.h.
11130 # First, try using that file with no special directory specified.
11131 cat >conftest.$ac_ext <<_ACEOF
11134 cat confdefs.h >>conftest.$ac_ext
11135 cat >>conftest.$ac_ext <<_ACEOF
11136 /* end confdefs.h. */
11137 #include <X11/Xlib.h>
11139 if { (ac_try="$ac_cpp conftest.$ac_ext"
11140 case "(($ac_try" in
11141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11142 *) ac_try_echo=$ac_try;;
11144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11145 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11147 grep -v '^ *+' conftest.er1 >conftest.err
11149 cat conftest.err >&5
11150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151 (exit $ac_status); } >/dev/null; then
11152 if test -s conftest.err; then
11153 ac_cpp_err=$ac_c_preproc_warn_flag
11154 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11161 if test -z "$ac_cpp_err"; then
11162 # We can compile using X headers with no special include directory.
11165 echo "$as_me: failed program was:" >&5
11166 sed 's/^/| /' conftest.$ac_ext >&5
11168 for ac_dir in $ac_x_header_dirs; do
11169 if test -r "$ac_dir/X11/Xlib.h"; then
11170 ac_x_includes=$ac_dir
11176 rm -f conftest.err conftest.$ac_ext
11177 fi # $ac_x_includes = no
11179 if test "$ac_x_libraries" = no; then
11180 # Check for the libraries.
11181 # See if we find them without any special options.
11182 # Don't add to $LIBS permanently.
11185 cat >conftest.$ac_ext <<_ACEOF
11188 cat confdefs.h >>conftest.$ac_ext
11189 cat >>conftest.$ac_ext <<_ACEOF
11190 /* end confdefs.h. */
11191 #include <X11/Xlib.h>
11200 rm -f conftest.$ac_objext conftest$ac_exeext
11201 if { (ac_try="$ac_link"
11202 case "(($ac_try" in
11203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11204 *) ac_try_echo=$ac_try;;
11206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11207 (eval "$ac_link") 2>conftest.er1
11209 grep -v '^ *+' conftest.er1 >conftest.err
11211 cat conftest.err >&5
11212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11213 (exit $ac_status); } &&
11214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11215 { (case "(($ac_try" in
11216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11217 *) ac_try_echo=$ac_try;;
11219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11220 (eval "$ac_try") 2>&5
11222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11223 (exit $ac_status); }; } &&
11224 { ac_try='test -s conftest$ac_exeext'
11225 { (case "(($ac_try" in
11226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11227 *) ac_try_echo=$ac_try;;
11229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11230 (eval "$ac_try") 2>&5
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); }; }; then
11235 # We can link X programs with no special library path.
11238 echo "$as_me: failed program was:" >&5
11239 sed 's/^/| /' conftest.$ac_ext >&5
11242 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11244 # Don't even attempt the hair of trying to link an X program!
11245 for ac_extension in a so sl; do
11246 if test -r "$ac_dir/libX11.$ac_extension"; then
11247 ac_x_libraries=$ac_dir
11254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11255 conftest$ac_exeext conftest.$ac_ext
11256 fi # $ac_x_libraries = no
11258 case $ac_x_includes,$ac_x_libraries in #(
11259 no,* | *,no | *\'*)
11260 # Didn't find X, or a directory has "'" in its name.
11261 ac_cv_have_x="have_x=no";; #(
11263 # Record where we found X for the cache.
11264 ac_cv_have_x="have_x=yes\
11265 ac_x_includes='$ac_x_includes'\
11266 ac_x_libraries='$ac_x_libraries'"
11272 eval "$ac_cv_have_x"
11275 if test "$have_x" != yes; then
11276 { echo "$as_me:$LINENO: result: $have_x" >&5
11277 echo "${ECHO_T}$have_x" >&6; }
11280 # If each of the values was on the command line, it overrides each guess.
11281 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11282 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11283 # Update the cache value to reflect the command line values.
11284 ac_cv_have_x="have_x=yes\
11285 ac_x_includes='$x_includes'\
11286 ac_x_libraries='$x_libraries'"
11287 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
11288 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
11291 if test "$no_x" = yes; then
11292 # Not all programs may use this symbol, but it does not hurt to define it.
11294 cat >>confdefs.h <<\_ACEOF
11295 #define X_DISPLAY_MISSING 1
11298 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11300 if test -n "$x_includes"; then
11301 X_CFLAGS="$X_CFLAGS -I$x_includes"
11304 # It would also be nice to do this for all -L options, not just this one.
11305 if test -n "$x_libraries"; then
11306 X_LIBS="$X_LIBS -L$x_libraries"
11307 # For Solaris; some versions of Sun CC require a space after -R and
11308 # others require no space. Words are not sufficient . . . .
11309 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
11310 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
11311 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11312 ac_xsave_c_werror_flag=$ac_c_werror_flag
11313 ac_c_werror_flag=yes
11314 cat >conftest.$ac_ext <<_ACEOF
11317 cat confdefs.h >>conftest.$ac_ext
11318 cat >>conftest.$ac_ext <<_ACEOF
11319 /* end confdefs.h. */
11329 rm -f conftest.$ac_objext conftest$ac_exeext
11330 if { (ac_try="$ac_link"
11331 case "(($ac_try" in
11332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11333 *) ac_try_echo=$ac_try;;
11335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11336 (eval "$ac_link") 2>conftest.er1
11338 grep -v '^ *+' conftest.er1 >conftest.err
11340 cat conftest.err >&5
11341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11342 (exit $ac_status); } &&
11343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11344 { (case "(($ac_try" in
11345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11346 *) ac_try_echo=$ac_try;;
11348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11349 (eval "$ac_try") 2>&5
11351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11352 (exit $ac_status); }; } &&
11353 { ac_try='test -s conftest$ac_exeext'
11354 { (case "(($ac_try" in
11355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11356 *) ac_try_echo=$ac_try;;
11358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11359 (eval "$ac_try") 2>&5
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 (exit $ac_status); }; }; then
11363 { echo "$as_me:$LINENO: result: no" >&5
11364 echo "${ECHO_T}no" >&6; }
11365 X_LIBS="$X_LIBS -R$x_libraries"
11367 echo "$as_me: failed program was:" >&5
11368 sed 's/^/| /' conftest.$ac_ext >&5
11370 LIBS="$ac_xsave_LIBS -R $x_libraries"
11371 cat >conftest.$ac_ext <<_ACEOF
11374 cat confdefs.h >>conftest.$ac_ext
11375 cat >>conftest.$ac_ext <<_ACEOF
11376 /* end confdefs.h. */
11386 rm -f conftest.$ac_objext conftest$ac_exeext
11387 if { (ac_try="$ac_link"
11388 case "(($ac_try" in
11389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11390 *) ac_try_echo=$ac_try;;
11392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11393 (eval "$ac_link") 2>conftest.er1
11395 grep -v '^ *+' conftest.er1 >conftest.err
11397 cat conftest.err >&5
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 (exit $ac_status); } &&
11400 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11401 { (case "(($ac_try" in
11402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11403 *) ac_try_echo=$ac_try;;
11405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11406 (eval "$ac_try") 2>&5
11408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); }; } &&
11410 { ac_try='test -s conftest$ac_exeext'
11411 { (case "(($ac_try" in
11412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11413 *) ac_try_echo=$ac_try;;
11415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11416 (eval "$ac_try") 2>&5
11418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11419 (exit $ac_status); }; }; then
11420 { echo "$as_me:$LINENO: result: yes" >&5
11421 echo "${ECHO_T}yes" >&6; }
11422 X_LIBS="$X_LIBS -R $x_libraries"
11424 echo "$as_me: failed program was:" >&5
11425 sed 's/^/| /' conftest.$ac_ext >&5
11427 { echo "$as_me:$LINENO: result: neither works" >&5
11428 echo "${ECHO_T}neither works" >&6; }
11431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11432 conftest$ac_exeext conftest.$ac_ext
11435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11436 conftest$ac_exeext conftest.$ac_ext
11437 ac_c_werror_flag=$ac_xsave_c_werror_flag
11438 LIBS=$ac_xsave_LIBS
11441 # Check for system-dependent libraries X programs must link with.
11442 # Do this before checking for the system-independent R6 libraries
11443 # (-lICE), since we may need -lsocket or whatever for X linking.
11445 if test "$ISC" = yes; then
11446 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11448 # Martyn Johnson says this is needed for Ultrix, if the X
11449 # libraries were built with DECnet support. And Karl Berry says
11450 # the Alpha needs dnet_stub (dnet does not exist).
11451 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11452 cat >conftest.$ac_ext <<_ACEOF
11455 cat confdefs.h >>conftest.$ac_ext
11456 cat >>conftest.$ac_ext <<_ACEOF
11457 /* end confdefs.h. */
11459 /* Override any GCC internal prototype to avoid an error.
11460 Use char because int might match the return type of a GCC
11461 builtin and then its argument prototype would still apply. */
11465 char XOpenDisplay ();
11469 return XOpenDisplay ();
11474 rm -f conftest.$ac_objext conftest$ac_exeext
11475 if { (ac_try="$ac_link"
11476 case "(($ac_try" in
11477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11478 *) ac_try_echo=$ac_try;;
11480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11481 (eval "$ac_link") 2>conftest.er1
11483 grep -v '^ *+' conftest.er1 >conftest.err
11485 cat conftest.err >&5
11486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11487 (exit $ac_status); } &&
11488 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11489 { (case "(($ac_try" in
11490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11491 *) ac_try_echo=$ac_try;;
11493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11494 (eval "$ac_try") 2>&5
11496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11497 (exit $ac_status); }; } &&
11498 { ac_try='test -s conftest$ac_exeext'
11499 { (case "(($ac_try" in
11500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11501 *) ac_try_echo=$ac_try;;
11503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11504 (eval "$ac_try") 2>&5
11506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11507 (exit $ac_status); }; }; then
11510 echo "$as_me: failed program was:" >&5
11511 sed 's/^/| /' conftest.$ac_ext >&5
11513 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
11514 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
11515 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
11516 echo $ECHO_N "(cached) $ECHO_C" >&6
11518 ac_check_lib_save_LIBS=$LIBS
11519 LIBS="-ldnet $LIBS"
11520 cat >conftest.$ac_ext <<_ACEOF
11523 cat confdefs.h >>conftest.$ac_ext
11524 cat >>conftest.$ac_ext <<_ACEOF
11525 /* end confdefs.h. */
11527 /* Override any GCC internal prototype to avoid an error.
11528 Use char because int might match the return type of a GCC
11529 builtin and then its argument prototype would still apply. */
11537 return dnet_ntoa ();
11542 rm -f conftest.$ac_objext conftest$ac_exeext
11543 if { (ac_try="$ac_link"
11544 case "(($ac_try" in
11545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11546 *) ac_try_echo=$ac_try;;
11548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11549 (eval "$ac_link") 2>conftest.er1
11551 grep -v '^ *+' conftest.er1 >conftest.err
11553 cat conftest.err >&5
11554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11555 (exit $ac_status); } &&
11556 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11557 { (case "(($ac_try" in
11558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11559 *) ac_try_echo=$ac_try;;
11561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11562 (eval "$ac_try") 2>&5
11564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11565 (exit $ac_status); }; } &&
11566 { ac_try='test -s conftest$ac_exeext'
11567 { (case "(($ac_try" in
11568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11569 *) ac_try_echo=$ac_try;;
11571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11572 (eval "$ac_try") 2>&5
11574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11575 (exit $ac_status); }; }; then
11576 ac_cv_lib_dnet_dnet_ntoa=yes
11578 echo "$as_me: failed program was:" >&5
11579 sed 's/^/| /' conftest.$ac_ext >&5
11581 ac_cv_lib_dnet_dnet_ntoa=no
11584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11585 conftest$ac_exeext conftest.$ac_ext
11586 LIBS=$ac_check_lib_save_LIBS
11588 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11589 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11590 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
11591 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11594 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11595 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
11596 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
11597 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
11598 echo $ECHO_N "(cached) $ECHO_C" >&6
11600 ac_check_lib_save_LIBS=$LIBS
11601 LIBS="-ldnet_stub $LIBS"
11602 cat >conftest.$ac_ext <<_ACEOF
11605 cat confdefs.h >>conftest.$ac_ext
11606 cat >>conftest.$ac_ext <<_ACEOF
11607 /* end confdefs.h. */
11609 /* Override any GCC internal prototype to avoid an error.
11610 Use char because int might match the return type of a GCC
11611 builtin and then its argument prototype would still apply. */
11619 return dnet_ntoa ();
11624 rm -f conftest.$ac_objext conftest$ac_exeext
11625 if { (ac_try="$ac_link"
11626 case "(($ac_try" in
11627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11628 *) ac_try_echo=$ac_try;;
11630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11631 (eval "$ac_link") 2>conftest.er1
11633 grep -v '^ *+' conftest.er1 >conftest.err
11635 cat conftest.err >&5
11636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11637 (exit $ac_status); } &&
11638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11639 { (case "(($ac_try" in
11640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11641 *) ac_try_echo=$ac_try;;
11643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11644 (eval "$ac_try") 2>&5
11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); }; } &&
11648 { ac_try='test -s conftest$ac_exeext'
11649 { (case "(($ac_try" in
11650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11651 *) ac_try_echo=$ac_try;;
11653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11654 (eval "$ac_try") 2>&5
11656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11657 (exit $ac_status); }; }; then
11658 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11660 echo "$as_me: failed program was:" >&5
11661 sed 's/^/| /' conftest.$ac_ext >&5
11663 ac_cv_lib_dnet_stub_dnet_ntoa=no
11666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11667 conftest$ac_exeext conftest.$ac_ext
11668 LIBS=$ac_check_lib_save_LIBS
11670 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11671 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11672 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
11673 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11680 conftest$ac_exeext conftest.$ac_ext
11681 LIBS="$ac_xsave_LIBS"
11683 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11684 # to get the SysV transport functions.
11685 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11687 # The nsl library prevents programs from opening the X display
11688 # on Irix 5.2, according to T.E. Dickey.
11689 # The functions gethostbyname, getservbyname, and inet_addr are
11690 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11691 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
11692 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
11693 if test "${ac_cv_func_gethostbyname+set}" = set; then
11694 echo $ECHO_N "(cached) $ECHO_C" >&6
11696 cat >conftest.$ac_ext <<_ACEOF
11699 cat confdefs.h >>conftest.$ac_ext
11700 cat >>conftest.$ac_ext <<_ACEOF
11701 /* end confdefs.h. */
11702 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
11703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11704 #define gethostbyname innocuous_gethostbyname
11706 /* System header to define __stub macros and hopefully few prototypes,
11707 which can conflict with char gethostbyname (); below.
11708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11709 <limits.h> exists even on freestanding compilers. */
11712 # include <limits.h>
11714 # include <assert.h>
11717 #undef gethostbyname
11719 /* Override any GCC internal prototype to avoid an error.
11720 Use char because int might match the return type of a GCC
11721 builtin and then its argument prototype would still apply. */
11725 char gethostbyname ();
11726 /* The GNU C library defines this for functions which it implements
11727 to always fail with ENOSYS. Some functions are actually named
11728 something starting with __ and the normal name is an alias. */
11729 #if defined __stub_gethostbyname || defined __stub___gethostbyname
11736 return gethostbyname ();
11741 rm -f conftest.$ac_objext conftest$ac_exeext
11742 if { (ac_try="$ac_link"
11743 case "(($ac_try" in
11744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11745 *) ac_try_echo=$ac_try;;
11747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11748 (eval "$ac_link") 2>conftest.er1
11750 grep -v '^ *+' conftest.er1 >conftest.err
11752 cat conftest.err >&5
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); } &&
11755 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11756 { (case "(($ac_try" in
11757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11758 *) ac_try_echo=$ac_try;;
11760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11761 (eval "$ac_try") 2>&5
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); }; } &&
11765 { ac_try='test -s conftest$ac_exeext'
11766 { (case "(($ac_try" in
11767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11768 *) ac_try_echo=$ac_try;;
11770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11771 (eval "$ac_try") 2>&5
11773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11774 (exit $ac_status); }; }; then
11775 ac_cv_func_gethostbyname=yes
11777 echo "$as_me: failed program was:" >&5
11778 sed 's/^/| /' conftest.$ac_ext >&5
11780 ac_cv_func_gethostbyname=no
11783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11784 conftest$ac_exeext conftest.$ac_ext
11786 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
11787 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
11789 if test $ac_cv_func_gethostbyname = no; then
11790 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
11791 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
11792 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
11793 echo $ECHO_N "(cached) $ECHO_C" >&6
11795 ac_check_lib_save_LIBS=$LIBS
11797 cat >conftest.$ac_ext <<_ACEOF
11800 cat confdefs.h >>conftest.$ac_ext
11801 cat >>conftest.$ac_ext <<_ACEOF
11802 /* end confdefs.h. */
11804 /* Override any GCC internal prototype to avoid an error.
11805 Use char because int might match the return type of a GCC
11806 builtin and then its argument prototype would still apply. */
11810 char gethostbyname ();
11814 return gethostbyname ();
11819 rm -f conftest.$ac_objext conftest$ac_exeext
11820 if { (ac_try="$ac_link"
11821 case "(($ac_try" in
11822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11823 *) ac_try_echo=$ac_try;;
11825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11826 (eval "$ac_link") 2>conftest.er1
11828 grep -v '^ *+' conftest.er1 >conftest.err
11830 cat conftest.err >&5
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); } &&
11833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11834 { (case "(($ac_try" in
11835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11836 *) ac_try_echo=$ac_try;;
11838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11839 (eval "$ac_try") 2>&5
11841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11842 (exit $ac_status); }; } &&
11843 { ac_try='test -s conftest$ac_exeext'
11844 { (case "(($ac_try" in
11845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11846 *) ac_try_echo=$ac_try;;
11848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11849 (eval "$ac_try") 2>&5
11851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11852 (exit $ac_status); }; }; then
11853 ac_cv_lib_nsl_gethostbyname=yes
11855 echo "$as_me: failed program was:" >&5
11856 sed 's/^/| /' conftest.$ac_ext >&5
11858 ac_cv_lib_nsl_gethostbyname=no
11861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11862 conftest$ac_exeext conftest.$ac_ext
11863 LIBS=$ac_check_lib_save_LIBS
11865 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
11866 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
11867 if test $ac_cv_lib_nsl_gethostbyname = yes; then
11868 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11871 if test $ac_cv_lib_nsl_gethostbyname = no; then
11872 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
11873 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
11874 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
11875 echo $ECHO_N "(cached) $ECHO_C" >&6
11877 ac_check_lib_save_LIBS=$LIBS
11879 cat >conftest.$ac_ext <<_ACEOF
11882 cat confdefs.h >>conftest.$ac_ext
11883 cat >>conftest.$ac_ext <<_ACEOF
11884 /* end confdefs.h. */
11886 /* Override any GCC internal prototype to avoid an error.
11887 Use char because int might match the return type of a GCC
11888 builtin and then its argument prototype would still apply. */
11892 char gethostbyname ();
11896 return gethostbyname ();
11901 rm -f conftest.$ac_objext conftest$ac_exeext
11902 if { (ac_try="$ac_link"
11903 case "(($ac_try" in
11904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11905 *) ac_try_echo=$ac_try;;
11907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11908 (eval "$ac_link") 2>conftest.er1
11910 grep -v '^ *+' conftest.er1 >conftest.err
11912 cat conftest.err >&5
11913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11914 (exit $ac_status); } &&
11915 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11916 { (case "(($ac_try" in
11917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11918 *) ac_try_echo=$ac_try;;
11920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11921 (eval "$ac_try") 2>&5
11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11924 (exit $ac_status); }; } &&
11925 { ac_try='test -s conftest$ac_exeext'
11926 { (case "(($ac_try" in
11927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11928 *) ac_try_echo=$ac_try;;
11930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11931 (eval "$ac_try") 2>&5
11933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11934 (exit $ac_status); }; }; then
11935 ac_cv_lib_bsd_gethostbyname=yes
11937 echo "$as_me: failed program was:" >&5
11938 sed 's/^/| /' conftest.$ac_ext >&5
11940 ac_cv_lib_bsd_gethostbyname=no
11943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11944 conftest$ac_exeext conftest.$ac_ext
11945 LIBS=$ac_check_lib_save_LIBS
11947 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
11948 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
11949 if test $ac_cv_lib_bsd_gethostbyname = yes; then
11950 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11956 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11957 # socket/setsockopt and other routines are undefined under SCO ODT
11958 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11959 # on later versions), says Simon Leinen: it contains gethostby*
11960 # variants that don't use the name server (or something). -lsocket
11961 # must be given before -lnsl if both are needed. We assume that
11962 # if connect needs -lnsl, so does gethostbyname.
11963 { echo "$as_me:$LINENO: checking for connect" >&5
11964 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
11965 if test "${ac_cv_func_connect+set}" = set; then
11966 echo $ECHO_N "(cached) $ECHO_C" >&6
11968 cat >conftest.$ac_ext <<_ACEOF
11971 cat confdefs.h >>conftest.$ac_ext
11972 cat >>conftest.$ac_ext <<_ACEOF
11973 /* end confdefs.h. */
11974 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
11975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11976 #define connect innocuous_connect
11978 /* System header to define __stub macros and hopefully few prototypes,
11979 which can conflict with char connect (); below.
11980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11981 <limits.h> exists even on freestanding compilers. */
11984 # include <limits.h>
11986 # include <assert.h>
11991 /* Override any GCC internal prototype to avoid an error.
11992 Use char because int might match the return type of a GCC
11993 builtin and then its argument prototype would still apply. */
11998 /* The GNU C library defines this for functions which it implements
11999 to always fail with ENOSYS. Some functions are actually named
12000 something starting with __ and the normal name is an alias. */
12001 #if defined __stub_connect || defined __stub___connect
12013 rm -f conftest.$ac_objext conftest$ac_exeext
12014 if { (ac_try="$ac_link"
12015 case "(($ac_try" in
12016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12017 *) ac_try_echo=$ac_try;;
12019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12020 (eval "$ac_link") 2>conftest.er1
12022 grep -v '^ *+' conftest.er1 >conftest.err
12024 cat conftest.err >&5
12025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12026 (exit $ac_status); } &&
12027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12028 { (case "(($ac_try" in
12029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12030 *) ac_try_echo=$ac_try;;
12032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12033 (eval "$ac_try") 2>&5
12035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12036 (exit $ac_status); }; } &&
12037 { ac_try='test -s conftest$ac_exeext'
12038 { (case "(($ac_try" in
12039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12040 *) ac_try_echo=$ac_try;;
12042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12043 (eval "$ac_try") 2>&5
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); }; }; then
12047 ac_cv_func_connect=yes
12049 echo "$as_me: failed program was:" >&5
12050 sed 's/^/| /' conftest.$ac_ext >&5
12052 ac_cv_func_connect=no
12055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12056 conftest$ac_exeext conftest.$ac_ext
12058 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
12059 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
12061 if test $ac_cv_func_connect = no; then
12062 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
12063 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
12064 if test "${ac_cv_lib_socket_connect+set}" = set; then
12065 echo $ECHO_N "(cached) $ECHO_C" >&6
12067 ac_check_lib_save_LIBS=$LIBS
12068 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
12069 cat >conftest.$ac_ext <<_ACEOF
12072 cat confdefs.h >>conftest.$ac_ext
12073 cat >>conftest.$ac_ext <<_ACEOF
12074 /* end confdefs.h. */
12076 /* Override any GCC internal prototype to avoid an error.
12077 Use char because int might match the return type of a GCC
12078 builtin and then its argument prototype would still apply. */
12091 rm -f conftest.$ac_objext conftest$ac_exeext
12092 if { (ac_try="$ac_link"
12093 case "(($ac_try" in
12094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12095 *) ac_try_echo=$ac_try;;
12097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12098 (eval "$ac_link") 2>conftest.er1
12100 grep -v '^ *+' conftest.er1 >conftest.err
12102 cat conftest.err >&5
12103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12104 (exit $ac_status); } &&
12105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12106 { (case "(($ac_try" in
12107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12108 *) ac_try_echo=$ac_try;;
12110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12111 (eval "$ac_try") 2>&5
12113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12114 (exit $ac_status); }; } &&
12115 { ac_try='test -s conftest$ac_exeext'
12116 { (case "(($ac_try" in
12117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12118 *) ac_try_echo=$ac_try;;
12120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12121 (eval "$ac_try") 2>&5
12123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12124 (exit $ac_status); }; }; then
12125 ac_cv_lib_socket_connect=yes
12127 echo "$as_me: failed program was:" >&5
12128 sed 's/^/| /' conftest.$ac_ext >&5
12130 ac_cv_lib_socket_connect=no
12133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12134 conftest$ac_exeext conftest.$ac_ext
12135 LIBS=$ac_check_lib_save_LIBS
12137 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
12138 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
12139 if test $ac_cv_lib_socket_connect = yes; then
12140 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
12145 # Guillermo Gomez says -lposix is necessary on A/UX.
12146 { echo "$as_me:$LINENO: checking for remove" >&5
12147 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
12148 if test "${ac_cv_func_remove+set}" = set; then
12149 echo $ECHO_N "(cached) $ECHO_C" >&6
12151 cat >conftest.$ac_ext <<_ACEOF
12154 cat confdefs.h >>conftest.$ac_ext
12155 cat >>conftest.$ac_ext <<_ACEOF
12156 /* end confdefs.h. */
12157 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
12158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12159 #define remove innocuous_remove
12161 /* System header to define __stub macros and hopefully few prototypes,
12162 which can conflict with char remove (); below.
12163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12164 <limits.h> exists even on freestanding compilers. */
12167 # include <limits.h>
12169 # include <assert.h>
12174 /* Override any GCC internal prototype to avoid an error.
12175 Use char because int might match the return type of a GCC
12176 builtin and then its argument prototype would still apply. */
12181 /* The GNU C library defines this for functions which it implements
12182 to always fail with ENOSYS. Some functions are actually named
12183 something starting with __ and the normal name is an alias. */
12184 #if defined __stub_remove || defined __stub___remove
12196 rm -f conftest.$ac_objext conftest$ac_exeext
12197 if { (ac_try="$ac_link"
12198 case "(($ac_try" in
12199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12200 *) ac_try_echo=$ac_try;;
12202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12203 (eval "$ac_link") 2>conftest.er1
12205 grep -v '^ *+' conftest.er1 >conftest.err
12207 cat conftest.err >&5
12208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12209 (exit $ac_status); } &&
12210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12211 { (case "(($ac_try" in
12212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12213 *) ac_try_echo=$ac_try;;
12215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12216 (eval "$ac_try") 2>&5
12218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12219 (exit $ac_status); }; } &&
12220 { ac_try='test -s conftest$ac_exeext'
12221 { (case "(($ac_try" in
12222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12223 *) ac_try_echo=$ac_try;;
12225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12226 (eval "$ac_try") 2>&5
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); }; }; then
12230 ac_cv_func_remove=yes
12232 echo "$as_me: failed program was:" >&5
12233 sed 's/^/| /' conftest.$ac_ext >&5
12235 ac_cv_func_remove=no
12238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12239 conftest$ac_exeext conftest.$ac_ext
12241 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
12242 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
12244 if test $ac_cv_func_remove = no; then
12245 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
12246 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
12247 if test "${ac_cv_lib_posix_remove+set}" = set; then
12248 echo $ECHO_N "(cached) $ECHO_C" >&6
12250 ac_check_lib_save_LIBS=$LIBS
12251 LIBS="-lposix $LIBS"
12252 cat >conftest.$ac_ext <<_ACEOF
12255 cat confdefs.h >>conftest.$ac_ext
12256 cat >>conftest.$ac_ext <<_ACEOF
12257 /* end confdefs.h. */
12259 /* Override any GCC internal prototype to avoid an error.
12260 Use char because int might match the return type of a GCC
12261 builtin and then its argument prototype would still apply. */
12274 rm -f conftest.$ac_objext conftest$ac_exeext
12275 if { (ac_try="$ac_link"
12276 case "(($ac_try" in
12277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12278 *) ac_try_echo=$ac_try;;
12280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12281 (eval "$ac_link") 2>conftest.er1
12283 grep -v '^ *+' conftest.er1 >conftest.err
12285 cat conftest.err >&5
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); } &&
12288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12289 { (case "(($ac_try" in
12290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12291 *) ac_try_echo=$ac_try;;
12293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12294 (eval "$ac_try") 2>&5
12296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12297 (exit $ac_status); }; } &&
12298 { ac_try='test -s conftest$ac_exeext'
12299 { (case "(($ac_try" in
12300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12301 *) ac_try_echo=$ac_try;;
12303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12304 (eval "$ac_try") 2>&5
12306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12307 (exit $ac_status); }; }; then
12308 ac_cv_lib_posix_remove=yes
12310 echo "$as_me: failed program was:" >&5
12311 sed 's/^/| /' conftest.$ac_ext >&5
12313 ac_cv_lib_posix_remove=no
12316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12317 conftest$ac_exeext conftest.$ac_ext
12318 LIBS=$ac_check_lib_save_LIBS
12320 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
12321 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
12322 if test $ac_cv_lib_posix_remove = yes; then
12323 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
12328 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12329 { echo "$as_me:$LINENO: checking for shmat" >&5
12330 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
12331 if test "${ac_cv_func_shmat+set}" = set; then
12332 echo $ECHO_N "(cached) $ECHO_C" >&6
12334 cat >conftest.$ac_ext <<_ACEOF
12337 cat confdefs.h >>conftest.$ac_ext
12338 cat >>conftest.$ac_ext <<_ACEOF
12339 /* end confdefs.h. */
12340 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
12341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12342 #define shmat innocuous_shmat
12344 /* System header to define __stub macros and hopefully few prototypes,
12345 which can conflict with char shmat (); below.
12346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12347 <limits.h> exists even on freestanding compilers. */
12350 # include <limits.h>
12352 # include <assert.h>
12357 /* Override any GCC internal prototype to avoid an error.
12358 Use char because int might match the return type of a GCC
12359 builtin and then its argument prototype would still apply. */
12364 /* The GNU C library defines this for functions which it implements
12365 to always fail with ENOSYS. Some functions are actually named
12366 something starting with __ and the normal name is an alias. */
12367 #if defined __stub_shmat || defined __stub___shmat
12379 rm -f conftest.$ac_objext conftest$ac_exeext
12380 if { (ac_try="$ac_link"
12381 case "(($ac_try" in
12382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12383 *) ac_try_echo=$ac_try;;
12385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12386 (eval "$ac_link") 2>conftest.er1
12388 grep -v '^ *+' conftest.er1 >conftest.err
12390 cat conftest.err >&5
12391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); } &&
12393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12394 { (case "(($ac_try" in
12395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12396 *) ac_try_echo=$ac_try;;
12398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12399 (eval "$ac_try") 2>&5
12401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12402 (exit $ac_status); }; } &&
12403 { ac_try='test -s conftest$ac_exeext'
12404 { (case "(($ac_try" in
12405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12406 *) ac_try_echo=$ac_try;;
12408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12409 (eval "$ac_try") 2>&5
12411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12412 (exit $ac_status); }; }; then
12413 ac_cv_func_shmat=yes
12415 echo "$as_me: failed program was:" >&5
12416 sed 's/^/| /' conftest.$ac_ext >&5
12418 ac_cv_func_shmat=no
12421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12422 conftest$ac_exeext conftest.$ac_ext
12424 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
12425 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
12427 if test $ac_cv_func_shmat = no; then
12428 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
12429 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
12430 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
12431 echo $ECHO_N "(cached) $ECHO_C" >&6
12433 ac_check_lib_save_LIBS=$LIBS
12435 cat >conftest.$ac_ext <<_ACEOF
12438 cat confdefs.h >>conftest.$ac_ext
12439 cat >>conftest.$ac_ext <<_ACEOF
12440 /* end confdefs.h. */
12442 /* Override any GCC internal prototype to avoid an error.
12443 Use char because int might match the return type of a GCC
12444 builtin and then its argument prototype would still apply. */
12457 rm -f conftest.$ac_objext conftest$ac_exeext
12458 if { (ac_try="$ac_link"
12459 case "(($ac_try" in
12460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12461 *) ac_try_echo=$ac_try;;
12463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12464 (eval "$ac_link") 2>conftest.er1
12466 grep -v '^ *+' conftest.er1 >conftest.err
12468 cat conftest.err >&5
12469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470 (exit $ac_status); } &&
12471 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12472 { (case "(($ac_try" in
12473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12474 *) ac_try_echo=$ac_try;;
12476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12477 (eval "$ac_try") 2>&5
12479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12480 (exit $ac_status); }; } &&
12481 { ac_try='test -s conftest$ac_exeext'
12482 { (case "(($ac_try" in
12483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12484 *) ac_try_echo=$ac_try;;
12486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12487 (eval "$ac_try") 2>&5
12489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12490 (exit $ac_status); }; }; then
12491 ac_cv_lib_ipc_shmat=yes
12493 echo "$as_me: failed program was:" >&5
12494 sed 's/^/| /' conftest.$ac_ext >&5
12496 ac_cv_lib_ipc_shmat=no
12499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12500 conftest$ac_exeext conftest.$ac_ext
12501 LIBS=$ac_check_lib_save_LIBS
12503 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
12504 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
12505 if test $ac_cv_lib_ipc_shmat = yes; then
12506 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
12512 # Check for libraries that X11R6 Xt/Xaw programs need.
12513 ac_save_LDFLAGS=$LDFLAGS
12514 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
12515 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12516 # check for ICE first), but we must link in the order -lSM -lICE or
12517 # we get undefined symbols. So assume we have SM if we have ICE.
12518 # These have to be linked with before -lX11, unlike the other
12519 # libraries we check for below, so use a different variable.
12520 # John Interrante, Karl Berry
12521 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
12522 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
12523 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
12524 echo $ECHO_N "(cached) $ECHO_C" >&6
12526 ac_check_lib_save_LIBS=$LIBS
12527 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
12528 cat >conftest.$ac_ext <<_ACEOF
12531 cat confdefs.h >>conftest.$ac_ext
12532 cat >>conftest.$ac_ext <<_ACEOF
12533 /* end confdefs.h. */
12535 /* Override any GCC internal prototype to avoid an error.
12536 Use char because int might match the return type of a GCC
12537 builtin and then its argument prototype would still apply. */
12541 char IceConnectionNumber ();
12545 return IceConnectionNumber ();
12550 rm -f conftest.$ac_objext conftest$ac_exeext
12551 if { (ac_try="$ac_link"
12552 case "(($ac_try" in
12553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12554 *) ac_try_echo=$ac_try;;
12556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12557 (eval "$ac_link") 2>conftest.er1
12559 grep -v '^ *+' conftest.er1 >conftest.err
12561 cat conftest.err >&5
12562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12563 (exit $ac_status); } &&
12564 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12565 { (case "(($ac_try" in
12566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12567 *) ac_try_echo=$ac_try;;
12569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12570 (eval "$ac_try") 2>&5
12572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12573 (exit $ac_status); }; } &&
12574 { ac_try='test -s conftest$ac_exeext'
12575 { (case "(($ac_try" in
12576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12577 *) ac_try_echo=$ac_try;;
12579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12580 (eval "$ac_try") 2>&5
12582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12583 (exit $ac_status); }; }; then
12584 ac_cv_lib_ICE_IceConnectionNumber=yes
12586 echo "$as_me: failed program was:" >&5
12587 sed 's/^/| /' conftest.$ac_ext >&5
12589 ac_cv_lib_ICE_IceConnectionNumber=no
12592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12593 conftest$ac_exeext conftest.$ac_ext
12594 LIBS=$ac_check_lib_save_LIBS
12596 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
12597 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
12598 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
12599 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
12602 LDFLAGS=$ac_save_LDFLAGS
12615 if test "x$with_x" = "xno"; then
12624 my_includes="$my_includes -I../include -I.. -I/usr/local/include"
12627 LDFLAGS="$LDFLAGS -L/usr/local/lib"
12629 { echo "$as_me:$LINENO: checking for X" >&5
12630 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
12631 if test "$with_x" != "no" && test "$wxwin" = "true"; then
12633 cat >>confdefs.h <<\_ACEOF
12637 LDFLAGS="$LDFLAGS -L../libctgraphics -L/usr/X11R6/lib -L/usr/X11R6/lib64"
12638 my_includes="$my_includes -I/usr/X11R6/include"
12639 ctlib_graphics="$ctlibs_base -lctgraphics"
12640 { echo "$as_me:$LINENO: result: yes" >&5
12641 echo "${ECHO_T}yes" >&6; }
12642 ctlib_graphics="$ctlib_graphics $X_BASIC_LIBS $X_TOOLKIT_LIBS"
12643 if test "$libgl" = "true" ; then
12644 # Removed "-lglut" for Mac OS X compilation
12645 ctlib_graphics="$ctlib_graphics -lGL -lGLU"
12646 if test "$wxwin" = "true" ; then
12647 if "$wx_gtk" ; then
12648 ctlib_graphics="$ctlib_graphics `wx-config --libs` -lwx_gtk_gl-2.4 `gtk-config --libs` `glib-config --libs glib gmodule gthread`"
12649 elif "$wx_mac" ; then
12650 ctlib_graphics="$ctlib_graphics -lwx_mac_gl-2.4"
12654 if test "$wxwin" = "true" ; then
12656 cat >>confdefs.h <<\_ACEOF
12662 { echo "$as_me:$LINENO: result: no" >&5
12663 echo "${ECHO_T}no" >&6; }
12668 if test "$wxwin" = "true"; then
12677 if test "$png" = "true" ; then
12678 ctlibs_tools="$ctlibs_tools -lpng"
12680 if test "$zlib" = "true" ; then
12681 ctlibs_tools="$ctlibs_tools -lz"
12683 if test "$fftw" = "true" ; then
12684 ctlibs_tools="$ctlibs_tools -lfftw3"
12686 if test "$ctn" = "true"; then
12687 ctlibs_tools="$ctlibs_tools -lctn"
12690 { echo "$as_me:$LINENO: checking for main in -ldmallocxx" >&5
12691 echo $ECHO_N "checking for main in -ldmallocxx... $ECHO_C" >&6; }
12692 if test "${ac_cv_lib_dmallocxx_main+set}" = set; then
12693 echo $ECHO_N "(cached) $ECHO_C" >&6
12695 ac_check_lib_save_LIBS=$LIBS
12696 LIBS="-ldmallocxx $LIBS"
12697 cat >conftest.$ac_ext <<_ACEOF
12700 cat confdefs.h >>conftest.$ac_ext
12701 cat >>conftest.$ac_ext <<_ACEOF
12702 /* end confdefs.h. */
12713 rm -f conftest.$ac_objext conftest$ac_exeext
12714 if { (ac_try="$ac_link"
12715 case "(($ac_try" in
12716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12717 *) ac_try_echo=$ac_try;;
12719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12720 (eval "$ac_link") 2>conftest.er1
12722 grep -v '^ *+' conftest.er1 >conftest.err
12724 cat conftest.err >&5
12725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12726 (exit $ac_status); } &&
12727 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12728 { (case "(($ac_try" in
12729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12730 *) ac_try_echo=$ac_try;;
12732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12733 (eval "$ac_try") 2>&5
12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736 (exit $ac_status); }; } &&
12737 { ac_try='test -s conftest$ac_exeext'
12738 { (case "(($ac_try" in
12739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12740 *) ac_try_echo=$ac_try;;
12742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12743 (eval "$ac_try") 2>&5
12745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 (exit $ac_status); }; }; then
12747 ac_cv_lib_dmallocxx_main=yes
12749 echo "$as_me: failed program was:" >&5
12750 sed 's/^/| /' conftest.$ac_ext >&5
12752 ac_cv_lib_dmallocxx_main=no
12755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12756 conftest$ac_exeext conftest.$ac_ext
12757 LIBS=$ac_check_lib_save_LIBS
12759 { echo "$as_me:$LINENO: result: $ac_cv_lib_dmallocxx_main" >&5
12760 echo "${ECHO_T}$ac_cv_lib_dmallocxx_main" >&6; }
12761 if test $ac_cv_lib_dmallocxx_main = yes; then
12767 { echo "$as_me:$LINENO: checking for enable-dmalloc" >&5
12768 echo $ECHO_N "checking for enable-dmalloc... $ECHO_C" >&6; }
12769 # Check whether --enable-dmalloc was given.
12770 if test "${enable_dmalloc+set}" = set; then
12771 enableval=$enable_dmalloc; case "${enableval}" in
12772 yes) usedmalloc=true
12773 { echo "$as_me:$LINENO: result: yes" >&5
12774 echo "${ECHO_T}yes" >&6; }
12776 no) usedmalloc=false
12777 { echo "$as_me:$LINENO: result: no" >&5
12778 echo "${ECHO_T}no" >&6; }
12780 *) { echo "$as_me:$LINENO: result: bad value ${enableval} for --enable-dmalloc" >&5
12781 echo "${ECHO_T}bad value ${enableval} for --enable-dmalloc" >&6; }
12785 usedmalloc=false; { echo "$as_me:$LINENO: result: no" >&5
12786 echo "${ECHO_T}no" >&6; }
12790 if test "$dmallocxx" = "true" -a "$usedmalloc" = "true" ; then
12791 ctlibs_tools="$ctlibs_tools -ldmallocxx"
12793 cat >>confdefs.h <<\_ACEOF
12794 #define HAVE_DMALLOC 1
12797 { echo "$as_me:$LINENO: result: Using dmalloc" >&5
12798 echo "${ECHO_T}Using dmalloc" >&6; }
12801 { echo "$as_me:$LINENO: checking for main in -lefence" >&5
12802 echo $ECHO_N "checking for main in -lefence... $ECHO_C" >&6; }
12803 if test "${ac_cv_lib_efence_main+set}" = set; then
12804 echo $ECHO_N "(cached) $ECHO_C" >&6
12806 ac_check_lib_save_LIBS=$LIBS
12807 LIBS="-lefence $LIBS"
12808 cat >conftest.$ac_ext <<_ACEOF
12811 cat confdefs.h >>conftest.$ac_ext
12812 cat >>conftest.$ac_ext <<_ACEOF
12813 /* end confdefs.h. */
12824 rm -f conftest.$ac_objext conftest$ac_exeext
12825 if { (ac_try="$ac_link"
12826 case "(($ac_try" in
12827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12828 *) ac_try_echo=$ac_try;;
12830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12831 (eval "$ac_link") 2>conftest.er1
12833 grep -v '^ *+' conftest.er1 >conftest.err
12835 cat conftest.err >&5
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); } &&
12838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12839 { (case "(($ac_try" in
12840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12841 *) ac_try_echo=$ac_try;;
12843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12844 (eval "$ac_try") 2>&5
12846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12847 (exit $ac_status); }; } &&
12848 { ac_try='test -s conftest$ac_exeext'
12849 { (case "(($ac_try" in
12850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12851 *) ac_try_echo=$ac_try;;
12853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12854 (eval "$ac_try") 2>&5
12856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857 (exit $ac_status); }; }; then
12858 ac_cv_lib_efence_main=yes
12860 echo "$as_me: failed program was:" >&5
12861 sed 's/^/| /' conftest.$ac_ext >&5
12863 ac_cv_lib_efence_main=no
12866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12867 conftest$ac_exeext conftest.$ac_ext
12868 LIBS=$ac_check_lib_save_LIBS
12870 { echo "$as_me:$LINENO: result: $ac_cv_lib_efence_main" >&5
12871 echo "${ECHO_T}$ac_cv_lib_efence_main" >&6; }
12872 if test $ac_cv_lib_efence_main = yes; then
12878 { echo "$as_me:$LINENO: checking for enable-efence" >&5
12879 echo $ECHO_N "checking for enable-efence... $ECHO_C" >&6; }
12880 # Check whether --enable-efence was given.
12881 if test "${enable_efence+set}" = set; then
12882 enableval=$enable_efence; case "${enableval}" in
12883 yes) useefence=true
12884 { echo "$as_me:$LINENO: result: yes" >&5
12885 echo "${ECHO_T}yes" >&6; }
12887 no) useefence=false
12888 { echo "$as_me:$LINENO: result: no" >&5
12889 echo "${ECHO_T}no" >&6; }
12891 *) { echo "$as_me:$LINENO: result: bad value ${enableval} for --enable-efence" >&5
12892 echo "${ECHO_T}bad value ${enableval} for --enable-efence" >&6; }
12896 useefence=false; { echo "$as_me:$LINENO: result: no" >&5
12897 echo "${ECHO_T}no" >&6; }
12901 if test "$efence" = "true" -a "$useefence" = "true" ; then
12902 ctlibs_tools="$ctlibs_tools -lefence"
12904 cat >>confdefs.h <<\_ACEOF
12905 #define HAVE_EFENCE 1
12908 { echo "$as_me:$LINENO: result: Using efence" >&5
12909 echo "${ECHO_T}Using efence" >&6; }
12912 if test "$wxwin" = "true" ; then
12913 if "$wx_gtk" = "true" || "$wx_mac" == "true" ; then
12914 wxcflags=`$wxconfig --cflags`
12915 wxlibs=`$wxconfig --libs`
12917 wxcflags="-D__WXMSW__ -D__WIN32__ -D__GNUWIN32__"
12918 wxlibs="-lwx -lglui -ljpeg -lxpm -lzlib -ltiff"
12920 CFLAGS="$CFLAGS -I../include $wxcflags"
12921 ctlib_graphics="$ctlib_graphics $wxlibs"
12927 if test "$wxwin"="true"; then
12928 HAVE_WXWINDOWS_TRUE=
12929 HAVE_WXWINDOWS_FALSE='#'
12931 HAVE_WXWINDOWS_TRUE='#'
12932 HAVE_WXWINDOWS_FALSE=
12936 LDFLAGS="$LDFLAGS -L../libctsupport -L../libctsim"
12937 ctlibs="$ctlibs_base -lctsim $ctlib_graphics -lctsupport $ctlibs_tools"
12940 if test -n "$lamdir" ; then
12941 lamprograms="ctsimtext-lam"
12949 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"
12952 cat >confcache <<\_ACEOF
12953 # This file is a shell script that caches the results of configure
12954 # tests run on this system so they can be shared between configure
12955 # scripts and configure runs, see configure's option --config-cache.
12956 # It is not useful on other systems. If it contains results you don't
12957 # want to keep, you may remove or edit it.
12959 # config.status only pays attention to the cache file if you give it
12960 # the --recheck option to rerun configure.
12962 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12963 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12964 # following values.
12968 # The following way of writing the cache mishandles newlines in values,
12969 # but we know of no workaround that is simple, portable, and efficient.
12970 # So, we kill variables containing newlines.
12971 # Ultrix sh set writes to stderr and can't be redirected directly,
12972 # and sets the high bit in the cache file unless we assign to the vars.
12974 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12975 eval ac_val=\$$ac_var
12979 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12980 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12983 _ | IFS | as_nl) ;; #(
12984 *) $as_unset $ac_var ;;
12990 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12991 *${as_nl}ac_space=\ *)
12992 # `set' does not quote correctly, so add quotes (double-quote
12993 # substitution turns \\\\ into \\, and sed turns \\ into \).
12996 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12999 # `set' quotes correctly as required by POSIX, so do not add quotes.
13000 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13009 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13011 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13013 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13014 if test -w "$cache_file"; then
13015 test "x$cache_file" != "x/dev/null" &&
13016 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13017 echo "$as_me: updating cache $cache_file" >&6;}
13018 cat confcache >$cache_file
13020 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13021 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13026 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13027 # Let make expand exec_prefix.
13028 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13030 DEFS=-DHAVE_CONFIG_H
13034 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13035 # 1. Remove the extension, and $U if already installed.
13036 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13037 ac_i=`echo "$ac_i" | sed "$ac_script"`
13038 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13039 # will be set to the directory where LIBOBJS objects are built.
13040 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13041 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13043 LIBOBJS=$ac_libobjs
13045 LTLIBOBJS=$ac_ltlibobjs
13048 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13049 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13050 Usually this means the macro was only invoked conditionally." >&5
13051 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
13052 Usually this means the macro was only invoked conditionally." >&2;}
13053 { (exit 1); exit 1; }; }
13055 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13056 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13057 Usually this means the macro was only invoked conditionally." >&5
13058 echo "$as_me: error: conditional \"AMDEP\" was never defined.
13059 Usually this means the macro was only invoked conditionally." >&2;}
13060 { (exit 1); exit 1; }; }
13062 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13063 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13064 Usually this means the macro was only invoked conditionally." >&5
13065 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13066 Usually this means the macro was only invoked conditionally." >&2;}
13067 { (exit 1); exit 1; }; }
13069 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
13070 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
13071 Usually this means the macro was only invoked conditionally." >&5
13072 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
13073 Usually this means the macro was only invoked conditionally." >&2;}
13074 { (exit 1); exit 1; }; }
13076 if test -z "${INCLUDED_GETOPT_LONG_TRUE}" && test -z "${INCLUDED_GETOPT_LONG_FALSE}"; then
13077 { { echo "$as_me:$LINENO: error: conditional \"INCLUDED_GETOPT_LONG\" was never defined.
13078 Usually this means the macro was only invoked conditionally." >&5
13079 echo "$as_me: error: conditional \"INCLUDED_GETOPT_LONG\" was never defined.
13080 Usually this means the macro was only invoked conditionally." >&2;}
13081 { (exit 1); exit 1; }; }
13083 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
13084 { { echo "$as_me:$LINENO: error: conditional \"DEBUG\" was never defined.
13085 Usually this means the macro was only invoked conditionally." >&5
13086 echo "$as_me: error: conditional \"DEBUG\" was never defined.
13087 Usually this means the macro was only invoked conditionally." >&2;}
13088 { (exit 1); exit 1; }; }
13090 if test -z "${USE_HTML_TRUE}" && test -z "${USE_HTML_FALSE}"; then
13091 { { echo "$as_me:$LINENO: error: conditional \"USE_HTML\" was never defined.
13092 Usually this means the macro was only invoked conditionally." >&5
13093 echo "$as_me: error: conditional \"USE_HTML\" was never defined.
13094 Usually this means the macro was only invoked conditionally." >&2;}
13095 { (exit 1); exit 1; }; }
13097 if test -z "${USE_LAM_TRUE}" && test -z "${USE_LAM_FALSE}"; then
13098 { { echo "$as_me:$LINENO: error: conditional \"USE_LAM\" was never defined.
13099 Usually this means the macro was only invoked conditionally." >&5
13100 echo "$as_me: error: conditional \"USE_LAM\" was never defined.
13101 Usually this means the macro was only invoked conditionally." >&2;}
13102 { (exit 1); exit 1; }; }
13104 if test -z "${NO_X_TRUE}" && test -z "${NO_X_FALSE}"; then
13105 { { echo "$as_me:$LINENO: error: conditional \"NO_X\" was never defined.
13106 Usually this means the macro was only invoked conditionally." >&5
13107 echo "$as_me: error: conditional \"NO_X\" was never defined.
13108 Usually this means the macro was only invoked conditionally." >&2;}
13109 { (exit 1); exit 1; }; }
13111 if test -z "${HAVE_SGP_TRUE}" && test -z "${HAVE_SGP_FALSE}"; then
13112 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SGP\" was never defined.
13113 Usually this means the macro was only invoked conditionally." >&5
13114 echo "$as_me: error: conditional \"HAVE_SGP\" was never defined.
13115 Usually this means the macro was only invoked conditionally." >&2;}
13116 { (exit 1); exit 1; }; }
13118 if test -z "${HAVE_WXWINDOWS_TRUE}" && test -z "${HAVE_WXWINDOWS_FALSE}"; then
13119 { { echo "$as_me:$LINENO: error: conditional \"HAVE_WXWINDOWS\" was never defined.
13120 Usually this means the macro was only invoked conditionally." >&5
13121 echo "$as_me: error: conditional \"HAVE_WXWINDOWS\" was never defined.
13122 Usually this means the macro was only invoked conditionally." >&2;}
13123 { (exit 1); exit 1; }; }
13126 : ${CONFIG_STATUS=./config.status}
13127 ac_clean_files_save=$ac_clean_files
13128 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13129 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13130 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13131 cat >$CONFIG_STATUS <<_ACEOF
13133 # Generated by $as_me.
13134 # Run this file to recreate the current configuration.
13135 # Compiler output produced by configure, useful for debugging
13136 # configure, is in config.log if it exists.
13139 ac_cs_recheck=false
13141 SHELL=\${CONFIG_SHELL-$SHELL}
13144 cat >>$CONFIG_STATUS <<\_ACEOF
13145 ## --------------------- ##
13146 ## M4sh Initialization. ##
13147 ## --------------------- ##
13149 # Be Bourne compatible
13150 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13153 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13154 # is contrary to our usage. Disable this feature.
13155 alias -g '${1+"$@"}'='"$@"'
13156 setopt NO_GLOB_SUBST
13158 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
13160 BIN_SH=xpg4; export BIN_SH # for Tru64
13161 DUALCASE=1; export DUALCASE # for MKS sh
13165 # Avoid depending upon Character Ranges.
13166 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13167 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13168 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13169 as_cr_digits='0123456789'
13170 as_cr_alnum=$as_cr_Letters$as_cr_digits
13172 # The user is always right.
13173 if test "${PATH_SEPARATOR+set}" != set; then
13174 echo "#! /bin/sh" >conf$$.sh
13175 echo "exit 0" >>conf$$.sh
13177 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13185 # Support unset when possible.
13186 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13194 # We need space, tab and new line, in precisely that order. Quoting is
13195 # there to prevent editors from complaining about space-tab.
13196 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13197 # splitting by setting IFS to empty value.)
13202 # Find who we are. Look in the path if we contain no directory separator.
13204 *[\\/]* ) as_myself=$0 ;;
13205 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13206 for as_dir in $PATH
13209 test -z "$as_dir" && as_dir=.
13210 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13216 # We did not find ourselves, most probably we were run as `sh COMMAND'
13217 # in which case we are not to be found in the path.
13218 if test "x$as_myself" = x; then
13221 if test ! -f "$as_myself"; then
13222 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13223 { (exit 1); exit 1; }
13226 # Work around bugs in pre-3.0 UWIN ksh.
13227 for as_var in ENV MAIL MAILPATH
13228 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13236 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13237 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13238 LC_TELEPHONE LC_TIME
13240 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13241 eval $as_var=C; export $as_var
13243 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13247 # Required to use basename.
13248 if expr a : '\(a\)' >/dev/null 2>&1 &&
13249 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13255 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13256 as_basename=basename
13262 # Name of the executable.
13263 as_me=`$as_basename -- "$0" ||
13264 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13265 X"$0" : 'X\(//\)$' \| \
13266 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13268 sed '/^.*\/\([^/][^/]*\)\/*$/{
13287 as_lineno_1=$LINENO
13288 as_lineno_2=$LINENO
13289 test "x$as_lineno_1" != "x$as_lineno_2" &&
13290 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13292 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13293 # uniformly replaced by the line number. The first 'sed' inserts a
13294 # line-number line after each line using $LINENO; the second 'sed'
13295 # does the real work. The second script uses 'N' to pair each
13296 # line-number line with the line containing $LINENO, and appends
13297 # trailing '-' during substitution so that $LINENO is not a special
13298 # case at line end.
13299 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13300 # scripts with optimization help from Paolo Bonzini. Blame Lee
13301 # E. McMahon (1931-1989) for sed's syntax. :-)
13313 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13316 ' >$as_me.lineno &&
13317 chmod +x "$as_me.lineno" ||
13318 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13319 { (exit 1); exit 1; }; }
13321 # Don't try to exec as it changes $[0], causing all sort of problems
13322 # (the dirname of $[0] is not the place where we might find the
13323 # original and so on. Autoconf is especially sensitive to this).
13324 . "./$as_me.lineno"
13325 # Exit status is that of the last command.
13330 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13336 ECHO_C= ECHO_N= ECHO_T=
13337 case `echo -n x` in
13339 case `echo 'x\c'` in
13340 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13347 if expr a : '\(a\)' >/dev/null 2>&1 &&
13348 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13354 rm -f conf$$ conf$$.exe conf$$.file
13355 if test -d conf$$.dir; then
13356 rm -f conf$$.dir/conf$$.file
13362 if ln -s conf$$.file conf$$ 2>/dev/null; then
13364 # ... but there are two gotchas:
13365 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13366 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13367 # In both cases, we have to default to `cp -p'.
13368 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13370 elif ln conf$$.file conf$$ 2>/dev/null; then
13375 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13376 rmdir conf$$.dir 2>/dev/null
13378 if mkdir -p . 2>/dev/null; then
13381 test -d ./-p && rmdir ./-p
13385 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
13386 # systems may use methods other than mode bits to determine executability.
13387 cat >conf$$.file <<_ASEOF
13391 chmod +x conf$$.file
13392 if test -x conf$$.file >/dev/null 2>&1; then
13393 as_executable_p="test -x"
13399 # Sed expression to map a string onto a valid CPP name.
13400 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13402 # Sed expression to map a string onto a valid variable name.
13403 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13408 # Save the log message, to keep $[0] and so on meaningful, and to
13409 # report actual input values of CONFIG_FILES etc. instead of their
13410 # values after options handling.
13412 This file was extended by $as_me, which was
13413 generated by GNU Autoconf 2.60a. Invocation command line was
13415 CONFIG_FILES = $CONFIG_FILES
13416 CONFIG_HEADERS = $CONFIG_HEADERS
13417 CONFIG_LINKS = $CONFIG_LINKS
13418 CONFIG_COMMANDS = $CONFIG_COMMANDS
13421 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13426 cat >>$CONFIG_STATUS <<_ACEOF
13427 # Files that config.status was made for.
13428 config_files="$ac_config_files"
13429 config_headers="$ac_config_headers"
13430 config_commands="$ac_config_commands"
13434 cat >>$CONFIG_STATUS <<\_ACEOF
13436 \`$as_me' instantiates files from templates according to the
13437 current configuration.
13439 Usage: $0 [OPTIONS] [FILE]...
13441 -h, --help print this help, then exit
13442 -V, --version print version number and configuration settings, then exit
13443 -q, --quiet do not print progress messages
13444 -d, --debug don't remove temporary files
13445 --recheck update $as_me by reconfiguring in the same conditions
13446 --file=FILE[:TEMPLATE]
13447 instantiate the configuration file FILE
13448 --header=FILE[:TEMPLATE]
13449 instantiate the configuration header FILE
13451 Configuration files:
13454 Configuration headers:
13457 Configuration commands:
13460 Report bugs to <bug-autoconf@gnu.org>."
13463 cat >>$CONFIG_STATUS <<_ACEOF
13466 configured by $0, generated by GNU Autoconf 2.60a,
13467 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13469 Copyright (C) 2006 Free Software Foundation, Inc.
13470 This config.status script is free software; the Free Software Foundation
13471 gives unlimited permission to copy, distribute and modify it."
13478 cat >>$CONFIG_STATUS <<\_ACEOF
13479 # If no file are specified by the user, then we need to provide default
13480 # value. By we need to know if files were specified by the user.
13486 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13487 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13498 # Handling of the options.
13499 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13501 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13502 echo "$ac_cs_version"; exit ;;
13503 --debug | --debu | --deb | --de | --d | -d )
13505 --file | --fil | --fi | --f )
13507 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
13508 ac_need_defaults=false;;
13509 --header | --heade | --head | --hea )
13511 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
13512 ac_need_defaults=false;;
13514 # Conflict between --help and --header
13515 { echo "$as_me: error: ambiguous option: $1
13516 Try \`$0 --help' for more information." >&2
13517 { (exit 1); exit 1; }; };;
13518 --help | --hel | -h )
13519 echo "$ac_cs_usage"; exit ;;
13520 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13521 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13524 # This is an error.
13525 -*) { echo "$as_me: error: unrecognized option: $1
13526 Try \`$0 --help' for more information." >&2
13527 { (exit 1); exit 1; }; } ;;
13529 *) ac_config_targets="$ac_config_targets $1"
13530 ac_need_defaults=false ;;
13536 ac_configure_extra_args=
13538 if $ac_cs_silent; then
13540 ac_configure_extra_args="$ac_configure_extra_args --silent"
13544 cat >>$CONFIG_STATUS <<_ACEOF
13545 if \$ac_cs_recheck; then
13546 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13547 CONFIG_SHELL=$SHELL
13548 export CONFIG_SHELL
13549 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13553 cat >>$CONFIG_STATUS <<\_ACEOF
13557 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13558 ## Running $as_me. ##
13564 cat >>$CONFIG_STATUS <<_ACEOF
13568 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13572 cat >>$CONFIG_STATUS <<\_ACEOF
13574 # Handling of arguments.
13575 for ac_config_target in $ac_config_targets
13577 case $ac_config_target in
13578 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13579 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13580 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13581 "libctgraphics/Makefile") CONFIG_FILES="$CONFIG_FILES libctgraphics/Makefile" ;;
13582 "libctsupport/Makefile") CONFIG_FILES="$CONFIG_FILES libctsupport/Makefile" ;;
13583 "libctsim/Makefile") CONFIG_FILES="$CONFIG_FILES libctsim/Makefile" ;;
13584 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
13585 "cgi-bin/ctsim.cgi") CONFIG_FILES="$CONFIG_FILES cgi-bin/ctsim.cgi" ;;
13586 "cgi-bin/Makefile") CONFIG_FILES="$CONFIG_FILES cgi-bin/Makefile" ;;
13587 "html/simulate.html") CONFIG_FILES="$CONFIG_FILES html/simulate.html" ;;
13588 "html/Makefile") CONFIG_FILES="$CONFIG_FILES html/Makefile" ;;
13589 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
13590 "getopt/Makefile") CONFIG_FILES="$CONFIG_FILES getopt/Makefile" ;;
13591 "tools/sample-ctsim.sh") CONFIG_FILES="$CONFIG_FILES tools/sample-ctsim.sh" ;;
13592 "cgi-bin/ctsim.conf") CONFIG_FILES="$CONFIG_FILES cgi-bin/ctsim.conf" ;;
13593 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
13594 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13595 "helical/Makefile") CONFIG_FILES="$CONFIG_FILES helical/Makefile" ;;
13596 "helical/sample-helical.sh") CONFIG_FILES="$CONFIG_FILES helical/sample-helical.sh" ;;
13598 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13599 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13600 { (exit 1); exit 1; }; };;
13605 # If the user did not use the arguments to specify the items to instantiate,
13606 # then the envvar interface is used. Set only those that are not.
13607 # We use the long form for the default assignment because of an extremely
13608 # bizarre bug on SunOS 4.1.3.
13609 if $ac_need_defaults; then
13610 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13611 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13612 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13615 # Have a temporary directory for convenience. Make it in the build tree
13616 # simply because there is no reason against having it here, and in addition,
13617 # creating and moving files from /tmp can sometimes cause problems.
13618 # Hook for its removal unless debugging.
13619 # Note that there is a small window in which the directory will not be cleaned:
13620 # after its creation but before its name has been assigned to `$tmp'.
13624 trap 'exit_status=$?
13625 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13627 trap '{ (exit 1); exit 1; }' 1 2 13 15
13629 # Create a (secure) tmp directory for tmp files.
13632 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13633 test -n "$tmp" && test -d "$tmp"
13636 tmp=./conf$$-$RANDOM
13637 (umask 077 && mkdir "$tmp")
13640 echo "$me: cannot create a temporary directory in ." >&2
13641 { (exit 1); exit 1; }
13645 # Set up the sed scripts for CONFIG_FILES section.
13648 # No need to generate the scripts if there are no CONFIG_FILES.
13649 # This happens for instance when ./config.status config.h
13650 if test -n "$CONFIG_FILES"; then
13657 for ac_last_try in false false false false false :; do
13658 cat >conf$$subs.sed <<_ACEOF
13659 SHELL!$SHELL$ac_delim
13660 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13661 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13662 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13663 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13664 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13665 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13666 exec_prefix!$exec_prefix$ac_delim
13667 prefix!$prefix$ac_delim
13668 program_transform_name!$program_transform_name$ac_delim
13669 bindir!$bindir$ac_delim
13670 sbindir!$sbindir$ac_delim
13671 libexecdir!$libexecdir$ac_delim
13672 datarootdir!$datarootdir$ac_delim
13673 datadir!$datadir$ac_delim
13674 sysconfdir!$sysconfdir$ac_delim
13675 sharedstatedir!$sharedstatedir$ac_delim
13676 localstatedir!$localstatedir$ac_delim
13677 includedir!$includedir$ac_delim
13678 oldincludedir!$oldincludedir$ac_delim
13679 docdir!$docdir$ac_delim
13680 infodir!$infodir$ac_delim
13681 htmldir!$htmldir$ac_delim
13682 dvidir!$dvidir$ac_delim
13683 pdfdir!$pdfdir$ac_delim
13684 psdir!$psdir$ac_delim
13685 libdir!$libdir$ac_delim
13686 localedir!$localedir$ac_delim
13687 mandir!$mandir$ac_delim
13688 DEFS!$DEFS$ac_delim
13689 ECHO_C!$ECHO_C$ac_delim
13690 ECHO_N!$ECHO_N$ac_delim
13691 ECHO_T!$ECHO_T$ac_delim
13692 LIBS!$LIBS$ac_delim
13693 build_alias!$build_alias$ac_delim
13694 host_alias!$host_alias$ac_delim
13695 target_alias!$target_alias$ac_delim
13696 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
13697 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
13698 MAINT!$MAINT$ac_delim
13699 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
13700 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
13701 INSTALL_DATA!$INSTALL_DATA$ac_delim
13702 CYGPATH_W!$CYGPATH_W$ac_delim
13703 PACKAGE!$PACKAGE$ac_delim
13704 VERSION!$VERSION$ac_delim
13705 ACLOCAL!$ACLOCAL$ac_delim
13706 AUTOCONF!$AUTOCONF$ac_delim
13707 AUTOMAKE!$AUTOMAKE$ac_delim
13708 AUTOHEADER!$AUTOHEADER$ac_delim
13709 MAKEINFO!$MAKEINFO$ac_delim
13710 AMTAR!$AMTAR$ac_delim
13711 install_sh!$install_sh$ac_delim
13712 STRIP!$STRIP$ac_delim
13713 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
13715 SET_MAKE!$SET_MAKE$ac_delim
13716 am__leading_dot!$am__leading_dot$ac_delim
13717 RANLIB!$RANLIB$ac_delim
13719 CFLAGS!$CFLAGS$ac_delim
13720 LDFLAGS!$LDFLAGS$ac_delim
13721 CPPFLAGS!$CPPFLAGS$ac_delim
13722 ac_ct_CC!$ac_ct_CC$ac_delim
13723 EXEEXT!$EXEEXT$ac_delim
13724 OBJEXT!$OBJEXT$ac_delim
13725 DEPDIR!$DEPDIR$ac_delim
13726 am__include!$am__include$ac_delim
13727 am__quote!$am__quote$ac_delim
13728 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
13729 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
13730 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
13731 CCDEPMODE!$CCDEPMODE$ac_delim
13732 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
13733 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
13735 CXXFLAGS!$CXXFLAGS$ac_delim
13736 ac_ct_CXX!$ac_ct_CXX$ac_delim
13737 CXXDEPMODE!$CXXDEPMODE$ac_delim
13738 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
13739 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
13741 GREP!$GREP$ac_delim
13742 EGREP!$EGREP$ac_delim
13743 wxconfig!$wxconfig$ac_delim
13744 build!$build$ac_delim
13745 build_cpu!$build_cpu$ac_delim
13746 build_vendor!$build_vendor$ac_delim
13747 build_os!$build_os$ac_delim
13748 host!$host$ac_delim
13749 host_cpu!$host_cpu$ac_delim
13750 host_vendor!$host_vendor$ac_delim
13751 host_os!$host_os$ac_delim
13752 INCLUDED_GETOPT_LONG_TRUE!$INCLUDED_GETOPT_LONG_TRUE$ac_delim
13753 INCLUDED_GETOPT_LONG_FALSE!$INCLUDED_GETOPT_LONG_FALSE$ac_delim
13754 DEBUG_TRUE!$DEBUG_TRUE$ac_delim
13755 DEBUG_FALSE!$DEBUG_FALSE$ac_delim
13758 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13760 elif $ac_last_try; then
13761 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13762 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13763 { (exit 1); exit 1; }; }
13765 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13769 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13770 if test -n "$ac_eof"; then
13771 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
13772 ac_eof=`expr $ac_eof + 1`
13775 cat >>$CONFIG_STATUS <<_ACEOF
13776 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13777 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13780 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13781 s/^/s,@/; s/!/@,|#_!!_#|/
13784 s/'"$ac_delim"'$/,g/; t
13786 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13787 ' >>$CONFIG_STATUS <conf$$subs.sed
13788 rm -f conf$$subs.sed
13789 cat >>$CONFIG_STATUS <<_ACEOF
13795 for ac_last_try in false false false false false :; do
13796 cat >conf$$subs.sed <<_ACEOF
13797 lamdir!$lamdir$ac_delim
13798 mpienable!$mpienable$ac_delim
13799 cgibindir!$cgibindir$ac_delim
13800 cgibinurl!$cgibinurl$ac_delim
13801 webdatadir!$webdatadir$ac_delim
13802 webdataurl!$webdataurl$ac_delim
13803 cgiprograms!$cgiprograms$ac_delim
13804 htmldata!$htmldata$ac_delim
13805 USE_HTML_TRUE!$USE_HTML_TRUE$ac_delim
13806 USE_HTML_FALSE!$USE_HTML_FALSE$ac_delim
13807 webenabled!$webenabled$ac_delim
13808 USE_LAM_TRUE!$USE_LAM_TRUE$ac_delim
13809 USE_LAM_FALSE!$USE_LAM_FALSE$ac_delim
13810 XMKMF!$XMKMF$ac_delim
13811 X_CFLAGS!$X_CFLAGS$ac_delim
13812 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
13813 X_LIBS!$X_LIBS$ac_delim
13814 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
13815 X_TOOLKIT_LIBS!$X_TOOLKIT_LIBS$ac_delim
13816 X_BASIC_LIBS!$X_BASIC_LIBS$ac_delim
13817 NO_X_TRUE!$NO_X_TRUE$ac_delim
13818 NO_X_FALSE!$NO_X_FALSE$ac_delim
13819 my_includes!$my_includes$ac_delim
13820 HAVE_SGP_TRUE!$HAVE_SGP_TRUE$ac_delim
13821 HAVE_SGP_FALSE!$HAVE_SGP_FALSE$ac_delim
13822 wxcflags!$wxcflags$ac_delim
13823 wxlibs!$wxlibs$ac_delim
13824 HAVE_WXWINDOWS_TRUE!$HAVE_WXWINDOWS_TRUE$ac_delim
13825 HAVE_WXWINDOWS_FALSE!$HAVE_WXWINDOWS_FALSE$ac_delim
13826 ctlibs!$ctlibs$ac_delim
13827 lamprograms!$lamprograms$ac_delim
13828 lamdefs!$lamdefs$ac_delim
13829 LIBOBJS!$LIBOBJS$ac_delim
13830 LTLIBOBJS!$LTLIBOBJS$ac_delim
13833 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 34; then
13835 elif $ac_last_try; then
13836 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13837 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13838 { (exit 1); exit 1; }; }
13840 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13844 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13845 if test -n "$ac_eof"; then
13846 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
13847 ac_eof=`expr $ac_eof + 1`
13850 cat >>$CONFIG_STATUS <<_ACEOF
13851 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
13852 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13855 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13856 s/^/s,@/; s/!/@,|#_!!_#|/
13859 s/'"$ac_delim"'$/,g/; t
13861 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13862 ' >>$CONFIG_STATUS <conf$$subs.sed
13863 rm -f conf$$subs.sed
13864 cat >>$CONFIG_STATUS <<_ACEOF
13871 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13872 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13873 # trailing colons and then remove the whole line if VPATH becomes empty
13874 # (actually we leave an empty line to preserve line numbers).
13875 if test "x$srcdir" = x.; then
13876 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13877 s/:*\$(srcdir):*/:/
13878 s/:*\${srcdir}:*/:/
13880 s/^\([^=]*=[ ]*\):*/\1/
13886 cat >>$CONFIG_STATUS <<\_ACEOF
13887 fi # test -n "$CONFIG_FILES"
13890 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
13893 :[FHLC]) ac_mode=$ac_tag; continue;;
13895 case $ac_mode$ac_tag in
13897 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13898 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13899 { (exit 1); exit 1; }; };;
13900 :[FH]-) ac_tag=-:-;;
13901 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13918 -) ac_f="$tmp/stdin";;
13919 *) # Look for the file first in the build tree, then in the source tree
13920 # (if the path is not absolute). The absolute path cannot be DOS-style,
13921 # because $ac_f cannot contain `:'.
13925 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13927 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13928 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13929 { (exit 1); exit 1; }; };;
13931 ac_file_inputs="$ac_file_inputs $ac_f"
13934 # Let's still pretend it is `configure' which instantiates (i.e., don't
13935 # use $as_me), people would be surprised to read:
13936 # /* config.h. Generated by config.status. */
13937 configure_input="Generated from "`IFS=:
13938 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
13939 if test x"$ac_file" != x-; then
13940 configure_input="$ac_file. $configure_input"
13941 { echo "$as_me:$LINENO: creating $ac_file" >&5
13942 echo "$as_me: creating $ac_file" >&6;}
13946 *:-:* | *:-) cat >"$tmp/stdin";;
13951 ac_dir=`$as_dirname -- "$ac_file" ||
13952 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13953 X"$ac_file" : 'X\(//\)[^/]' \| \
13954 X"$ac_file" : 'X\(//\)$' \| \
13955 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13961 /^X\(\/\/\)[^/].*/{
13976 -*) as_dir=./$as_dir;;
13978 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13982 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13983 *) as_qdir=$as_dir;;
13985 as_dirs="'$as_qdir' $as_dirs"
13986 as_dir=`$as_dirname -- "$as_dir" ||
13987 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13988 X"$as_dir" : 'X\(//\)[^/]' \| \
13989 X"$as_dir" : 'X\(//\)$' \| \
13990 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13992 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13996 /^X\(\/\/\)[^/].*/{
14009 test -d "$as_dir" && break
14011 test -z "$as_dirs" || eval "mkdir $as_dirs"
14012 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14013 echo "$as_me: error: cannot create directory $as_dir" >&2;}
14014 { (exit 1); exit 1; }; }; }
14018 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14020 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14021 # A ".." for each directory in $ac_dir_suffix.
14022 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
14023 case $ac_top_builddir_sub in
14024 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14025 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14028 ac_abs_top_builddir=$ac_pwd
14029 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14030 # for backward compatibility:
14031 ac_top_builddir=$ac_top_build_prefix
14034 .) # We are building in place.
14036 ac_top_srcdir=$ac_top_builddir_sub
14037 ac_abs_top_srcdir=$ac_pwd ;;
14038 [\\/]* | ?:[\\/]* ) # Absolute name.
14039 ac_srcdir=$srcdir$ac_dir_suffix;
14040 ac_top_srcdir=$srcdir
14041 ac_abs_top_srcdir=$srcdir ;;
14042 *) # Relative name.
14043 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14044 ac_top_srcdir=$ac_top_build_prefix$srcdir
14045 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14047 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14057 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14058 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14062 cat >>$CONFIG_STATUS <<\_ACEOF
14063 # If the template does not know about datarootdir, expand it.
14064 # FIXME: This hack should be removed a few years after 2.60.
14065 ac_datarootdir_hack=; ac_datarootdir_seen=
14067 case `sed -n '/datarootdir/ {
14076 ' $ac_file_inputs` in
14077 *datarootdir*) ac_datarootdir_seen=yes;;
14078 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14079 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14080 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14082 cat >>$CONFIG_STATUS <<_ACEOF
14083 ac_datarootdir_hack='
14084 s&@datadir@&$datadir&g
14085 s&@docdir@&$docdir&g
14086 s&@infodir@&$infodir&g
14087 s&@localedir@&$localedir&g
14088 s&@mandir@&$mandir&g
14089 s&\\\${datarootdir}&$datarootdir&g' ;;
14093 # Neutralize VPATH when `$srcdir' = `.'.
14094 # Shell code in configure.ac might set extrasub.
14095 # FIXME: do we really want to maintain this feature?
14096 cat >>$CONFIG_STATUS <<_ACEOF
14100 cat >>$CONFIG_STATUS <<\_ACEOF
14102 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14103 s&@configure_input@&$configure_input&;t t
14104 s&@top_builddir@&$ac_top_builddir_sub&;t t
14105 s&@srcdir@&$ac_srcdir&;t t
14106 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14107 s&@top_srcdir@&$ac_top_srcdir&;t t
14108 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14109 s&@builddir@&$ac_builddir&;t t
14110 s&@abs_builddir@&$ac_abs_builddir&;t t
14111 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14112 s&@INSTALL@&$ac_INSTALL&;t t
14113 $ac_datarootdir_hack
14114 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
14116 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14117 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14118 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14119 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14120 which seems to be undefined. Please make sure it is defined." >&5
14121 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14122 which seems to be undefined. Please make sure it is defined." >&2;}
14126 -) cat "$tmp/out"; rm -f "$tmp/out";;
14127 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
14136 # Transform confdefs.h into a sed script `conftest.defines', that
14137 # substitutes the proper values into config.h.in to produce config.h.
14138 rm -f conftest.defines conftest.tail
14139 # First, append a space to every undef/define line, to ease matching.
14140 echo 's/$/ /' >conftest.defines
14141 # Then, protect against being on the right side of a sed subst, or in
14142 # an unquoted here document, in config.status. If some macros were
14143 # called several times there might be several #defines for the same
14144 # symbol, which is useless. But do not sort them, since the last
14145 # AC_DEFINE must be honored.
14146 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14147 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
14148 # NAME is the cpp macro being defined, VALUE is the value it is being given.
14149 # PARAMS is the parameter list in the macro definition--in most cases, it's
14150 # just an empty string.
14151 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
14152 ac_dB='\\)[ (].*,\\1define\\2'
14160 s/^[ ]*#[ ]*define[ ][ ]*//
14165 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
14166 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
14167 ' >>conftest.defines
14169 # Remove the space that was appended to ease matching.
14170 # Then replace #undef with comments. This is necessary, for
14171 # example, in the case of _POSIX_SOURCE, which is predefined and required
14172 # on some systems where configure will not decide to define it.
14173 # (The regexp can be short, since the line contains either #define or #undef.)
14175 s,^[ #]*u.*,/* & */,' >>conftest.defines
14177 # Break up conftest.defines:
14178 ac_max_sed_lines=50
14180 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
14181 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
14182 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
14184 ac_in='$ac_file_inputs'
14185 ac_out='"$tmp/out1"'
14186 ac_nxt='"$tmp/out2"'
14190 # Write a here document:
14191 cat >>$CONFIG_STATUS <<_ACEOF
14192 # First, check the format of the line:
14193 cat >"\$tmp/defines.sed" <<\\CEOF
14194 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
14195 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
14199 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
14201 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
14202 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
14203 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
14204 grep . conftest.tail >/dev/null || break
14205 rm -f conftest.defines
14206 mv conftest.tail conftest.defines
14208 rm -f conftest.defines conftest.tail
14210 echo "ac_result=$ac_in" >>$CONFIG_STATUS
14211 cat >>$CONFIG_STATUS <<\_ACEOF
14212 if test x"$ac_file" != x-; then
14213 echo "/* $configure_input */" >"$tmp/config.h"
14214 cat "$ac_result" >>"$tmp/config.h"
14215 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
14216 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14217 echo "$as_me: $ac_file is unchanged" >&6;}
14220 mv "$tmp/config.h" $ac_file
14223 echo "/* $configure_input */"
14227 # Compute $ac_file's index in $config_headers.
14229 for _am_header in $config_headers :; do
14230 case $_am_header in
14231 $ac_file | $ac_file:* )
14234 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14237 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
14238 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14239 X$ac_file : 'X\(//\)[^/]' \| \
14240 X$ac_file : 'X\(//\)$' \| \
14241 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
14243 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14247 /^X\(\/\/\)[^/].*/{
14259 s/.*/./; q'`/stamp-h$_am_stamp_count
14262 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
14263 echo "$as_me: executing $ac_file commands" >&6;}
14268 case $ac_file$ac_mode in
14269 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
14270 # Strip MF so we end up with the name of the file.
14271 mf=`echo "$mf" | sed -e 's/:.*$//'`
14272 # Check whether this is an Automake generated Makefile or not.
14273 # We used to match only the files named `Makefile.in', but
14274 # some people rename them; so instead we look at the file content.
14275 # Grep'ing the first line is not enough: some people post-process
14276 # each Makefile.in and add a new line on top of each file to say so.
14277 # So let's grep whole file.
14278 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
14279 dirpart=`$as_dirname -- "$mf" ||
14280 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14281 X"$mf" : 'X\(//\)[^/]' \| \
14282 X"$mf" : 'X\(//\)$' \| \
14283 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14289 /^X\(\/\/\)[^/].*/{
14305 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
14306 # Extract the definition of DEP_FILES from the Makefile without
14308 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
14309 test -z "$DEPDIR" && continue
14310 # When using ansi2knr, U may be empty or an underscore; expand it
14311 U=`sed -n -e '/^U = / s///p' < "$mf"`
14312 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
14313 # We invoke sed twice because it is the simplest approach to
14314 # changing $(DEPDIR) to its actual value in the expansion.
14315 for file in `sed -n -e '
14316 /^DEP_FILES = .*\\\\$/ {
14325 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
14326 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14327 # Make sure the directory exists.
14328 test -f "$dirpart/$file" && continue
14329 fdir=`$as_dirname -- "$file" ||
14330 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14331 X"$file" : 'X\(//\)[^/]' \| \
14332 X"$file" : 'X\(//\)$' \| \
14333 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14339 /^X\(\/\/\)[^/].*/{
14352 { as_dir=$dirpart/$fdir
14354 -*) as_dir=./$as_dir;;
14356 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14360 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14361 *) as_qdir=$as_dir;;
14363 as_dirs="'$as_qdir' $as_dirs"
14364 as_dir=`$as_dirname -- "$as_dir" ||
14365 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14366 X"$as_dir" : 'X\(//\)[^/]' \| \
14367 X"$as_dir" : 'X\(//\)$' \| \
14368 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14370 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14374 /^X\(\/\/\)[^/].*/{
14387 test -d "$as_dir" && break
14389 test -z "$as_dirs" || eval "mkdir $as_dirs"
14390 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14391 echo "$as_me: error: cannot create directory $as_dir" >&2;}
14392 { (exit 1); exit 1; }; }; }
14393 # echo "creating $dirpart/$file"
14394 echo '# dummy' > "$dirpart/$file"
14403 { (exit 0); exit 0; }
14405 chmod +x $CONFIG_STATUS
14406 ac_clean_files=$ac_clean_files_save
14409 # configure is writing to config.log, and then calls config.status.
14410 # config.status does its own redirection, appending to config.log.
14411 # Unfortunately, on DOS this fails, as config.log is still kept open
14412 # by configure, so config.status won't be able to write to it; its
14413 # output is simply discarded. So we exec the FD to /dev/null,
14414 # effectively closing config.log, so it can be properly (re)opened and
14415 # appended to by config.status. When coming back to configure, we
14416 # need to make the FD available again.
14417 if test "$no_create" != yes; then
14419 ac_config_status_args=
14420 test "$silent" = yes &&
14421 ac_config_status_args="$ac_config_status_args --quiet"
14423 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14425 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14426 # would make configure fail if this is the last instruction.
14427 $ac_cs_success || { (exit 1); exit 1; }