2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for xboard 4.3.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
573 PACKAGE_NAME='xboard'
574 PACKAGE_TARNAME='xboard'
575 PACKAGE_VERSION='4.3'
576 PACKAGE_STRING='xboard 4.3'
579 # Factoring default headers for most tests.
580 ac_includes_default="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
624 program_transform_name
666 INSTALL_STRIP_PROGRAM
727 ac_precious_vars='build_alias
739 # Initialize some variables set by options.
741 ac_init_version=false
742 # The variables have the same names as the options, with
743 # dashes changed to underlines.
751 program_transform_name=s,x,x,
759 # Installation directory options.
760 # These are left unexpanded so users can "make install exec_prefix=/foo"
761 # and all the variables that are supposed to be based on exec_prefix
762 # by default will actually change.
763 # Use braces instead of parens because sh, perl, etc. also accept them.
764 # (The list follows the same order as the GNU Coding Standards.)
765 bindir='${exec_prefix}/bin'
766 sbindir='${exec_prefix}/sbin'
767 libexecdir='${exec_prefix}/libexec'
768 datarootdir='${prefix}/share'
769 datadir='${datarootdir}'
770 sysconfdir='${prefix}/etc'
771 sharedstatedir='${prefix}/com'
772 localstatedir='${prefix}/var'
773 includedir='${prefix}/include'
774 oldincludedir='/usr/include'
775 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
776 infodir='${datarootdir}/info'
781 libdir='${exec_prefix}/lib'
782 localedir='${datarootdir}/locale'
783 mandir='${datarootdir}/man'
789 # If the previous option needs an argument, assign it.
790 if test -n "$ac_prev"; then
791 eval $ac_prev=\$ac_option
797 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
801 # Accept the important Cygnus configure options, so we can diagnose typos.
803 case $ac_dashdash$ac_option in
807 -bindir | --bindir | --bindi | --bind | --bin | --bi)
809 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
812 -build | --build | --buil | --bui | --bu)
813 ac_prev=build_alias ;;
814 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
815 build_alias=$ac_optarg ;;
817 -cache-file | --cache-file | --cache-fil | --cache-fi \
818 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
819 ac_prev=cache_file ;;
820 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
821 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
822 cache_file=$ac_optarg ;;
825 cache_file=config.cache ;;
827 -datadir | --datadir | --datadi | --datad)
829 -datadir=* | --datadir=* | --datadi=* | --datad=*)
830 datadir=$ac_optarg ;;
832 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
833 | --dataroo | --dataro | --datar)
834 ac_prev=datarootdir ;;
835 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
836 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
837 datarootdir=$ac_optarg ;;
839 -disable-* | --disable-*)
840 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
841 # Reject names that are not valid shell variable names.
842 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
843 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
844 { (exit 1); exit 1; }; }
845 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
846 eval enable_$ac_feature=no ;;
848 -docdir | --docdir | --docdi | --doc | --do)
850 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
853 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
855 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
858 -enable-* | --enable-*)
859 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
860 # Reject names that are not valid shell variable names.
861 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
862 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
863 { (exit 1); exit 1; }; }
864 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
865 eval enable_$ac_feature=\$ac_optarg ;;
867 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
868 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
869 | --exec | --exe | --ex)
870 ac_prev=exec_prefix ;;
871 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
872 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
873 | --exec=* | --exe=* | --ex=*)
874 exec_prefix=$ac_optarg ;;
876 -gas | --gas | --ga | --g)
877 # Obsolete; use --with-gas.
880 -help | --help | --hel | --he | -h)
882 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
883 ac_init_help=recursive ;;
884 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
885 ac_init_help=short ;;
887 -host | --host | --hos | --ho)
888 ac_prev=host_alias ;;
889 -host=* | --host=* | --hos=* | --ho=*)
890 host_alias=$ac_optarg ;;
892 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
894 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
896 htmldir=$ac_optarg ;;
898 -includedir | --includedir | --includedi | --included | --include \
899 | --includ | --inclu | --incl | --inc)
900 ac_prev=includedir ;;
901 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
902 | --includ=* | --inclu=* | --incl=* | --inc=*)
903 includedir=$ac_optarg ;;
905 -infodir | --infodir | --infodi | --infod | --info | --inf)
907 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
908 infodir=$ac_optarg ;;
910 -libdir | --libdir | --libdi | --libd)
912 -libdir=* | --libdir=* | --libdi=* | --libd=*)
915 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
916 | --libexe | --libex | --libe)
917 ac_prev=libexecdir ;;
918 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
919 | --libexe=* | --libex=* | --libe=*)
920 libexecdir=$ac_optarg ;;
922 -localedir | --localedir | --localedi | --localed | --locale)
924 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
925 localedir=$ac_optarg ;;
927 -localstatedir | --localstatedir | --localstatedi | --localstated \
928 | --localstate | --localstat | --localsta | --localst | --locals)
929 ac_prev=localstatedir ;;
930 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
931 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
932 localstatedir=$ac_optarg ;;
934 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
936 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
940 # Obsolete; use --without-fp.
943 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
944 | --no-cr | --no-c | -n)
947 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
948 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
951 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
952 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
953 | --oldin | --oldi | --old | --ol | --o)
954 ac_prev=oldincludedir ;;
955 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
956 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
957 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
958 oldincludedir=$ac_optarg ;;
960 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
962 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
965 -program-prefix | --program-prefix | --program-prefi | --program-pref \
966 | --program-pre | --program-pr | --program-p)
967 ac_prev=program_prefix ;;
968 -program-prefix=* | --program-prefix=* | --program-prefi=* \
969 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
970 program_prefix=$ac_optarg ;;
972 -program-suffix | --program-suffix | --program-suffi | --program-suff \
973 | --program-suf | --program-su | --program-s)
974 ac_prev=program_suffix ;;
975 -program-suffix=* | --program-suffix=* | --program-suffi=* \
976 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
977 program_suffix=$ac_optarg ;;
979 -program-transform-name | --program-transform-name \
980 | --program-transform-nam | --program-transform-na \
981 | --program-transform-n | --program-transform- \
982 | --program-transform | --program-transfor \
983 | --program-transfo | --program-transf \
984 | --program-trans | --program-tran \
985 | --progr-tra | --program-tr | --program-t)
986 ac_prev=program_transform_name ;;
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 program_transform_name=$ac_optarg ;;
996 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
998 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1001 -psdir | --psdir | --psdi | --psd | --ps)
1003 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1006 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1007 | -silent | --silent | --silen | --sile | --sil)
1010 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1012 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1014 sbindir=$ac_optarg ;;
1016 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1017 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1018 | --sharedst | --shareds | --shared | --share | --shar \
1020 ac_prev=sharedstatedir ;;
1021 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1022 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1023 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1025 sharedstatedir=$ac_optarg ;;
1027 -site | --site | --sit)
1029 -site=* | --site=* | --sit=*)
1032 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1034 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1035 srcdir=$ac_optarg ;;
1037 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1038 | --syscon | --sysco | --sysc | --sys | --sy)
1039 ac_prev=sysconfdir ;;
1040 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1041 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1042 sysconfdir=$ac_optarg ;;
1044 -target | --target | --targe | --targ | --tar | --ta | --t)
1045 ac_prev=target_alias ;;
1046 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1047 target_alias=$ac_optarg ;;
1049 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1052 -version | --version | --versio | --versi | --vers | -V)
1053 ac_init_version=: ;;
1056 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1057 # Reject names that are not valid shell variable names.
1058 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1059 { echo "$as_me: error: invalid package name: $ac_package" >&2
1060 { (exit 1); exit 1; }; }
1061 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1062 eval with_$ac_package=\$ac_optarg ;;
1064 -without-* | --without-*)
1065 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1066 # Reject names that are not valid shell variable names.
1067 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1068 { echo "$as_me: error: invalid package name: $ac_package" >&2
1069 { (exit 1); exit 1; }; }
1070 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1071 eval with_$ac_package=no ;;
1074 # Obsolete; use --with-x.
1077 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1078 | --x-incl | --x-inc | --x-in | --x-i)
1079 ac_prev=x_includes ;;
1080 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1081 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1082 x_includes=$ac_optarg ;;
1084 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1085 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1086 ac_prev=x_libraries ;;
1087 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1088 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1089 x_libraries=$ac_optarg ;;
1091 -*) { echo "$as_me: error: unrecognized option: $ac_option
1092 Try \`$0 --help' for more information." >&2
1093 { (exit 1); exit 1; }; }
1097 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1100 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1101 { (exit 1); exit 1; }; }
1102 eval $ac_envvar=\$ac_optarg
1103 export $ac_envvar ;;
1106 # FIXME: should be removed in autoconf 3.0.
1107 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1108 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1109 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1110 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1116 if test -n "$ac_prev"; then
1117 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1118 { echo "$as_me: error: missing argument to $ac_option" >&2
1119 { (exit 1); exit 1; }; }
1122 # Be sure to have absolute directory names.
1123 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1124 datadir sysconfdir sharedstatedir localstatedir includedir \
1125 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1126 libdir localedir mandir
1128 eval ac_val=\$$ac_var
1130 [\\/$]* | ?:[\\/]* ) continue;;
1131 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1133 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1134 { (exit 1); exit 1; }; }
1137 # There might be people who depend on the old broken behavior: `$host'
1138 # used to hold the argument of --host etc.
1139 # FIXME: To remove some day.
1142 target=$target_alias
1144 # FIXME: To remove some day.
1145 if test "x$host_alias" != x; then
1146 if test "x$build_alias" = x; then
1147 cross_compiling=maybe
1148 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1149 If a cross compiler is detected then cross compile mode will be used." >&2
1150 elif test "x$build_alias" != "x$host_alias"; then
1156 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1158 test "$silent" = yes && exec 6>/dev/null
1161 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1162 ac_ls_di=`ls -di .` &&
1163 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1164 { echo "$as_me: error: Working directory cannot be determined" >&2
1165 { (exit 1); exit 1; }; }
1166 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1167 { echo "$as_me: error: pwd does not report name of working directory" >&2
1168 { (exit 1); exit 1; }; }
1171 # Find the source files, if location was not specified.
1172 if test -z "$srcdir"; then
1173 ac_srcdir_defaulted=yes
1174 # Try the directory containing this script, then the parent directory.
1175 ac_confdir=`$as_dirname -- "$0" ||
1176 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1177 X"$0" : 'X\(//\)[^/]' \| \
1178 X"$0" : 'X\(//\)$' \| \
1179 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1199 if test ! -r "$srcdir/$ac_unique_file"; then
1203 ac_srcdir_defaulted=no
1205 if test ! -r "$srcdir/$ac_unique_file"; then
1206 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1207 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1208 { (exit 1); exit 1; }; }
1210 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1212 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1213 { (exit 1); exit 1; }; }
1215 # When building in place, set srcdir=.
1216 if test "$ac_abs_confdir" = "$ac_pwd"; then
1219 # Remove unnecessary trailing slashes from srcdir.
1220 # Double slashes in file names in object file debugging info
1221 # mess up M-x gdb in Emacs.
1223 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1225 for ac_var in $ac_precious_vars; do
1226 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1227 eval ac_env_${ac_var}_value=\$${ac_var}
1228 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1229 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1233 # Report the --help message.
1235 if test "$ac_init_help" = "long"; then
1236 # Omit some internal or obsolete options to make the list less imposing.
1237 # This message is too long to be a string in the A/UX 3.1 sh.
1239 \`configure' configures xboard 4.3 to adapt to many kinds of systems.
1241 Usage: $0 [OPTION]... [VAR=VALUE]...
1243 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1244 VAR=VALUE. See below for descriptions of some of the useful variables.
1246 Defaults for the options are specified in brackets.
1249 -h, --help display this help and exit
1250 --help=short display options specific to this package
1251 --help=recursive display the short help of all the included packages
1252 -V, --version display version information and exit
1253 -q, --quiet, --silent do not print \`checking...' messages
1254 --cache-file=FILE cache test results in FILE [disabled]
1255 -C, --config-cache alias for \`--cache-file=config.cache'
1256 -n, --no-create do not create output files
1257 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1259 Installation directories:
1260 --prefix=PREFIX install architecture-independent files in PREFIX
1261 [$ac_default_prefix]
1262 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1265 By default, \`make install' will install all the files in
1266 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1267 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1268 for instance \`--prefix=\$HOME'.
1270 For better control, use the options below.
1272 Fine tuning of the installation directories:
1273 --bindir=DIR user executables [EPREFIX/bin]
1274 --sbindir=DIR system admin executables [EPREFIX/sbin]
1275 --libexecdir=DIR program executables [EPREFIX/libexec]
1276 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1277 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1278 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1279 --libdir=DIR object code libraries [EPREFIX/lib]
1280 --includedir=DIR C header files [PREFIX/include]
1281 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1282 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1283 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1284 --infodir=DIR info documentation [DATAROOTDIR/info]
1285 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1286 --mandir=DIR man documentation [DATAROOTDIR/man]
1287 --docdir=DIR documentation root [DATAROOTDIR/doc/xboard]
1288 --htmldir=DIR html documentation [DOCDIR]
1289 --dvidir=DIR dvi documentation [DOCDIR]
1290 --pdfdir=DIR pdf documentation [DOCDIR]
1291 --psdir=DIR ps documentation [DOCDIR]
1297 --program-prefix=PREFIX prepend PREFIX to installed program names
1298 --program-suffix=SUFFIX append SUFFIX to installed program names
1299 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1302 --x-includes=DIR X include files are in DIR
1303 --x-libraries=DIR X library files are in DIR
1306 --build=BUILD configure for building on BUILD [guessed]
1307 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1311 if test -n "$ac_init_help"; then
1312 case $ac_init_help in
1313 short | recursive ) echo "Configuration of xboard 4.3:";;
1318 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1319 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1320 --disable-dependency-tracking speeds up one-time build
1321 --enable-dependency-tracking do not reject slow dependency extractors
1322 --enable-xpm libXpm will be used if found (default)
1323 --disable-xpm libXpm will not be used
1324 --enable-ptys force use of pseudo-ttys with child processes
1325 --disable-ptys force use of pipes with child processes
1326 --enable-zippy support interfacing a chess program to ICS (default)
1327 --disable-zippy do not support interfacing a chess program to ICS
1328 --enable-sigint sending SIGINT (^C) wakes up GNU Chess (default)
1329 --disable-sigint typing a command wakes up GNU Chess
1332 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1333 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1334 --with-x use the X Window System
1335 --with-Xaw3d use Xaw3d instead of Xaw
1337 Some influential environment variables:
1338 CC C compiler command
1339 CFLAGS C compiler flags
1340 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1341 nonstandard directory <lib dir>
1342 LIBS libraries to pass to the linker, e.g. -l<library>
1343 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1344 you have headers in a nonstandard directory <include dir>
1346 XMKMF Path to xmkmf, Makefile generator for X Window System
1348 Use these variables to override the choices made by `configure' or to help
1349 it to find libraries and programs with nonstandard names/locations.
1355 if test "$ac_init_help" = "recursive"; then
1356 # If there are subdirs, report their specific --help.
1357 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1358 test -d "$ac_dir" || continue
1362 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1364 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1365 # A ".." for each directory in $ac_dir_suffix.
1366 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1367 case $ac_top_builddir_sub in
1368 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1369 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1372 ac_abs_top_builddir=$ac_pwd
1373 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1374 # for backward compatibility:
1375 ac_top_builddir=$ac_top_build_prefix
1378 .) # We are building in place.
1380 ac_top_srcdir=$ac_top_builddir_sub
1381 ac_abs_top_srcdir=$ac_pwd ;;
1382 [\\/]* | ?:[\\/]* ) # Absolute name.
1383 ac_srcdir=$srcdir$ac_dir_suffix;
1384 ac_top_srcdir=$srcdir
1385 ac_abs_top_srcdir=$srcdir ;;
1387 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1388 ac_top_srcdir=$ac_top_build_prefix$srcdir
1389 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1391 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1393 cd "$ac_dir" || { ac_status=$?; continue; }
1394 # Check for guested configure.
1395 if test -f "$ac_srcdir/configure.gnu"; then
1397 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1398 elif test -f "$ac_srcdir/configure"; then
1400 $SHELL "$ac_srcdir/configure" --help=recursive
1402 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1404 cd "$ac_pwd" || { ac_status=$?; break; }
1408 test -n "$ac_init_help" && exit $ac_status
1409 if $ac_init_version; then
1411 xboard configure 4.3
1412 generated by GNU Autoconf 2.61
1414 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1415 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1416 This configure script is free software; the Free Software Foundation
1417 gives unlimited permission to copy, distribute and modify it.
1421 cat >config.log <<_ACEOF
1422 This file contains any messages produced by compilers while
1423 running configure, to aid debugging if configure makes a mistake.
1425 It was created by xboard $as_me 4.3, which was
1426 generated by GNU Autoconf 2.61. Invocation command line was
1438 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1439 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1440 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1441 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1442 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1444 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1445 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1447 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1448 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1449 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1450 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1451 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1452 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1453 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1461 test -z "$as_dir" && as_dir=.
1462 echo "PATH: $as_dir"
1478 # Keep a trace of the command line.
1479 # Strip out --no-create and --no-recursion so they do not pile up.
1480 # Strip out --silent because we don't want to record it for future runs.
1481 # Also quote any args containing shell meta-characters.
1482 # Make two passes to allow for proper duplicate-argument suppression.
1486 ac_must_keep_next=false
1492 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1493 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1494 | -silent | --silent | --silen | --sile | --sil)
1497 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1500 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1502 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1503 if test $ac_must_keep_next = true; then
1504 ac_must_keep_next=false # Got value, back to normal.
1507 *=* | --config-cache | -C | -disable-* | --disable-* \
1508 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1509 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1510 | -with-* | --with-* | -without-* | --without-* | --x)
1511 case "$ac_configure_args0 " in
1512 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1515 -* ) ac_must_keep_next=true ;;
1518 ac_configure_args="$ac_configure_args '$ac_arg'"
1523 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1524 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1526 # When interrupted or exit'd, cleanup temporary files, and complete
1527 # config.log. We remove comments because anyway the quotes in there
1528 # would cause problems or look ugly.
1529 # WARNING: Use '\'' to represent an apostrophe within the trap.
1530 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1531 trap 'exit_status=$?
1532 # Save into config.log some information that might help in debugging.
1537 ## ---------------- ##
1538 ## Cache variables. ##
1539 ## ---------------- ##
1542 # The following way of writing the cache mishandles newlines in values,
1544 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1545 eval ac_val=\$$ac_var
1549 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1550 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1553 _ | IFS | as_nl) ;; #(
1554 *) $as_unset $ac_var ;;
1559 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1560 *${as_nl}ac_space=\ *)
1562 "s/'\''/'\''\\\\'\'''\''/g;
1563 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1566 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1574 ## ----------------- ##
1575 ## Output variables. ##
1576 ## ----------------- ##
1579 for ac_var in $ac_subst_vars
1581 eval ac_val=\$$ac_var
1583 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1585 echo "$ac_var='\''$ac_val'\''"
1589 if test -n "$ac_subst_files"; then
1591 ## ------------------- ##
1592 ## File substitutions. ##
1593 ## ------------------- ##
1596 for ac_var in $ac_subst_files
1598 eval ac_val=\$$ac_var
1600 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1602 echo "$ac_var='\''$ac_val'\''"
1607 if test -s confdefs.h; then
1617 test "$ac_signal" != 0 &&
1618 echo "$as_me: caught signal $ac_signal"
1619 echo "$as_me: exit $exit_status"
1621 rm -f core *.core core.conftest.* &&
1622 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1625 for ac_signal in 1 2 13 15; do
1626 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1630 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1631 rm -f -r conftest* confdefs.h
1633 # Predefined preprocessor variables.
1635 cat >>confdefs.h <<_ACEOF
1636 #define PACKAGE_NAME "$PACKAGE_NAME"
1640 cat >>confdefs.h <<_ACEOF
1641 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1645 cat >>confdefs.h <<_ACEOF
1646 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1650 cat >>confdefs.h <<_ACEOF
1651 #define PACKAGE_STRING "$PACKAGE_STRING"
1655 cat >>confdefs.h <<_ACEOF
1656 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1660 # Let the site file select an alternate cache file if it wants to.
1661 # Prefer explicitly selected file to automatically selected ones.
1662 if test -n "$CONFIG_SITE"; then
1663 set x "$CONFIG_SITE"
1664 elif test "x$prefix" != xNONE; then
1665 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1667 set x "$ac_default_prefix/share/config.site" \
1668 "$ac_default_prefix/etc/config.site"
1673 if test -r "$ac_site_file"; then
1674 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1675 echo "$as_me: loading site script $ac_site_file" >&6;}
1676 sed 's/^/| /' "$ac_site_file" >&5
1681 if test -r "$cache_file"; then
1682 # Some versions of bash will fail to source /dev/null (special
1683 # files actually), so we avoid doing that.
1684 if test -f "$cache_file"; then
1685 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1686 echo "$as_me: loading cache $cache_file" >&6;}
1688 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1689 *) . "./$cache_file";;
1693 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1694 echo "$as_me: creating cache $cache_file" >&6;}
1698 # Check that the precious variables saved in the cache have kept the same
1700 ac_cache_corrupted=false
1701 for ac_var in $ac_precious_vars; do
1702 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1703 eval ac_new_set=\$ac_env_${ac_var}_set
1704 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1705 eval ac_new_val=\$ac_env_${ac_var}_value
1706 case $ac_old_set,$ac_new_set in
1708 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1709 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1710 ac_cache_corrupted=: ;;
1712 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1713 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1714 ac_cache_corrupted=: ;;
1717 if test "x$ac_old_val" != "x$ac_new_val"; then
1718 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1719 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1720 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1721 echo "$as_me: former value: $ac_old_val" >&2;}
1722 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1723 echo "$as_me: current value: $ac_new_val" >&2;}
1724 ac_cache_corrupted=:
1727 # Pass precious variables to config.status.
1728 if test "$ac_new_set" = set; then
1730 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1731 *) ac_arg=$ac_var=$ac_new_val ;;
1733 case " $ac_configure_args " in
1734 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1735 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1739 if $ac_cache_corrupted; then
1740 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1741 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1742 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1743 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1744 { (exit 1); exit 1; }; }
1772 ac_cpp='$CPP $CPPFLAGS'
1773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1778 am__api_version='1.10'
1781 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1782 if test -f "$ac_dir/install-sh"; then
1784 ac_install_sh="$ac_aux_dir/install-sh -c"
1786 elif test -f "$ac_dir/install.sh"; then
1788 ac_install_sh="$ac_aux_dir/install.sh -c"
1790 elif test -f "$ac_dir/shtool"; then
1792 ac_install_sh="$ac_aux_dir/shtool install -c"
1796 if test -z "$ac_aux_dir"; then
1797 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1798 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1799 { (exit 1); exit 1; }; }
1802 # These three variables are undocumented and unsupported,
1803 # and are intended to be withdrawn in a future Autoconf release.
1804 # They can cause serious problems if a builder's source tree is in a directory
1805 # whose full name contains unusual characters.
1806 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1807 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1808 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1811 # Find a good install program. We prefer a C program (faster),
1812 # so one script is as good as another. But avoid the broken or
1813 # incompatible versions:
1814 # SysV /etc/install, /usr/sbin/install
1815 # SunOS /usr/etc/install
1816 # IRIX /sbin/install
1818 # AmigaOS /C/install, which installs bootblocks on floppy discs
1819 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1820 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1821 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1822 # OS/2's system install, which has a completely different semantic
1823 # ./install, which can be erroneously created by make from ./install.sh.
1824 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1825 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1826 if test -z "$INSTALL"; then
1827 if test "${ac_cv_path_install+set}" = set; then
1828 echo $ECHO_N "(cached) $ECHO_C" >&6
1830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1834 test -z "$as_dir" && as_dir=.
1835 # Account for people who put trailing slashes in PATH elements.
1837 ./ | .// | /cC/* | \
1838 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1839 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1842 # OSF1 and SCO ODT 3.0 have their own names for install.
1843 # Don't use installbsd from OSF since it installs stuff as root
1845 for ac_prog in ginstall scoinst install; do
1846 for ac_exec_ext in '' $ac_executable_extensions; do
1847 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1848 if test $ac_prog = install &&
1849 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1850 # AIX install. It has an incompatible calling convention.
1852 elif test $ac_prog = install &&
1853 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1854 # program-specific install script used by HP pwplus--don't use.
1857 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1870 if test "${ac_cv_path_install+set}" = set; then
1871 INSTALL=$ac_cv_path_install
1873 # As a last resort, use the slow shell script. Don't cache a
1874 # value for INSTALL within a source directory, because that will
1875 # break other packages using the cache if that directory is
1876 # removed, or if the value is a relative name.
1877 INSTALL=$ac_install_sh
1880 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1881 echo "${ECHO_T}$INSTALL" >&6; }
1883 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1884 # It thinks the first close brace ends the variable substitution.
1885 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1887 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1889 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1891 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1892 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1895 echo timestamp > conftest.file
1896 # Do `set' in a subshell so we don't clobber the current shell's
1897 # arguments. Must try -L first in case configure is actually a
1898 # symlink; some systems play weird games with the mod time of symlinks
1899 # (eg FreeBSD returns the mod time of the symlink's containing
1902 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1903 if test "$*" = "X"; then
1905 set X `ls -t $srcdir/configure conftest.file`
1908 if test "$*" != "X $srcdir/configure conftest.file" \
1909 && test "$*" != "X conftest.file $srcdir/configure"; then
1911 # If neither matched, then we have a broken ls. This can happen
1912 # if, for instance, CONFIG_SHELL is bash and it inherits a
1913 # broken ls alias from the environment. This has actually
1914 # happened. Such a system could not be considered "sane".
1915 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1916 alias in your environment" >&5
1917 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1918 alias in your environment" >&2;}
1919 { (exit 1); exit 1; }; }
1922 test "$2" = conftest.file
1928 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1929 Check your system clock" >&5
1930 echo "$as_me: error: newly created file is older than distributed files!
1931 Check your system clock" >&2;}
1932 { (exit 1); exit 1; }; }
1934 { echo "$as_me:$LINENO: result: yes" >&5
1935 echo "${ECHO_T}yes" >&6; }
1936 test "$program_prefix" != NONE &&
1937 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1938 # Use a double $ so make ignores it.
1939 test "$program_suffix" != NONE &&
1940 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1941 # Double any \ or $. echo might interpret backslashes.
1942 # By default was `s,x,x', remove it if useless.
1943 cat <<\_ACEOF >conftest.sed
1944 s/[\\$]/&&/g;s/;s,x,x,$//
1946 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1949 # expand $ac_aux_dir to an absolute path
1950 am_aux_dir=`cd $ac_aux_dir && pwd`
1952 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1953 # Use eval to expand $SHELL
1954 if eval "$MISSING --run true"; then
1955 am_missing_run="$MISSING --run "
1958 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1959 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1962 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1963 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1964 if test -z "$MKDIR_P"; then
1965 if test "${ac_cv_path_mkdir+set}" = set; then
1966 echo $ECHO_N "(cached) $ECHO_C" >&6
1968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1969 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1972 test -z "$as_dir" && as_dir=.
1973 for ac_prog in mkdir gmkdir; do
1974 for ac_exec_ext in '' $ac_executable_extensions; do
1975 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1976 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1977 'mkdir (GNU coreutils) '* | \
1978 'mkdir (coreutils) '* | \
1979 'mkdir (fileutils) '4.1*)
1980 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1990 if test "${ac_cv_path_mkdir+set}" = set; then
1991 MKDIR_P="$ac_cv_path_mkdir -p"
1993 # As a last resort, use the slow shell script. Don't cache a
1994 # value for MKDIR_P within a source directory, because that will
1995 # break other packages using the cache if that directory is
1996 # removed, or if the value is a relative name.
1997 test -d ./--version && rmdir ./--version
1998 MKDIR_P="$ac_install_sh -d"
2001 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2002 echo "${ECHO_T}$MKDIR_P" >&6; }
2006 [\\/$]* | ?:[\\/]*) ;;
2007 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2010 for ac_prog in gawk mawk nawk awk
2012 # Extract the first word of "$ac_prog", so it can be a program name with args.
2013 set dummy $ac_prog; ac_word=$2
2014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2016 if test "${ac_cv_prog_AWK+set}" = set; then
2017 echo $ECHO_N "(cached) $ECHO_C" >&6
2019 if test -n "$AWK"; then
2020 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2026 test -z "$as_dir" && as_dir=.
2027 for ac_exec_ext in '' $ac_executable_extensions; do
2028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2029 ac_cv_prog_AWK="$ac_prog"
2030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2040 if test -n "$AWK"; then
2041 { echo "$as_me:$LINENO: result: $AWK" >&5
2042 echo "${ECHO_T}$AWK" >&6; }
2044 { echo "$as_me:$LINENO: result: no" >&5
2045 echo "${ECHO_T}no" >&6; }
2049 test -n "$AWK" && break
2052 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2053 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2054 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2055 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2056 echo $ECHO_N "(cached) $ECHO_C" >&6
2058 cat >conftest.make <<\_ACEOF
2061 @echo '@@@%%%=$(MAKE)=@@@%%%'
2063 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2064 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2066 eval ac_cv_prog_make_${ac_make}_set=yes;;
2068 eval ac_cv_prog_make_${ac_make}_set=no;;
2072 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2073 { echo "$as_me:$LINENO: result: yes" >&5
2074 echo "${ECHO_T}yes" >&6; }
2077 { echo "$as_me:$LINENO: result: no" >&5
2078 echo "${ECHO_T}no" >&6; }
2079 SET_MAKE="MAKE=${MAKE-make}"
2082 rm -rf .tst 2>/dev/null
2083 mkdir .tst 2>/dev/null
2084 if test -d .tst; then
2089 rmdir .tst 2>/dev/null
2091 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2092 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2093 # is not polluted with repeated "-I."
2094 am__isrc=' -I$(srcdir)'
2095 # test to see if srcdir already configured
2096 if test -f $srcdir/config.status; then
2097 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2098 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2099 { (exit 1); exit 1; }; }
2103 # test whether we have cygpath
2104 if test -z "$CYGPATH_W"; then
2105 if (cygpath --version) >/dev/null 2>/dev/null; then
2106 CYGPATH_W='cygpath -w'
2113 # Define the identity of the package.
2118 cat >>confdefs.h <<_ACEOF
2119 #define PACKAGE "$PACKAGE"
2123 cat >>confdefs.h <<_ACEOF
2124 #define VERSION "$VERSION"
2127 # Some tools Automake needs.
2129 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2132 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2135 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2138 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2141 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2143 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2145 # Installed binaries are usually stripped using `strip' when the user
2146 # run `make install-strip'. However `strip' might not be the right
2147 # tool to use in cross-compilation environments, therefore Automake
2148 # will honor the `STRIP' environment variable to overrule this program.
2149 if test "$cross_compiling" != no; then
2150 if test -n "$ac_tool_prefix"; then
2151 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2152 set dummy ${ac_tool_prefix}strip; ac_word=$2
2153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2155 if test "${ac_cv_prog_STRIP+set}" = set; then
2156 echo $ECHO_N "(cached) $ECHO_C" >&6
2158 if test -n "$STRIP"; then
2159 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2165 test -z "$as_dir" && as_dir=.
2166 for ac_exec_ext in '' $ac_executable_extensions; do
2167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2168 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2178 STRIP=$ac_cv_prog_STRIP
2179 if test -n "$STRIP"; then
2180 { echo "$as_me:$LINENO: result: $STRIP" >&5
2181 echo "${ECHO_T}$STRIP" >&6; }
2183 { echo "$as_me:$LINENO: result: no" >&5
2184 echo "${ECHO_T}no" >&6; }
2189 if test -z "$ac_cv_prog_STRIP"; then
2191 # Extract the first word of "strip", so it can be a program name with args.
2192 set dummy strip; ac_word=$2
2193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2195 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2196 echo $ECHO_N "(cached) $ECHO_C" >&6
2198 if test -n "$ac_ct_STRIP"; then
2199 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2205 test -z "$as_dir" && as_dir=.
2206 for ac_exec_ext in '' $ac_executable_extensions; do
2207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2208 ac_cv_prog_ac_ct_STRIP="strip"
2209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2218 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2219 if test -n "$ac_ct_STRIP"; then
2220 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2221 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2223 { echo "$as_me:$LINENO: result: no" >&5
2224 echo "${ECHO_T}no" >&6; }
2227 if test "x$ac_ct_STRIP" = x; then
2230 case $cross_compiling:$ac_tool_warned in
2232 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2233 whose name does not start with the host triplet. If you think this
2234 configuration is useful to you, please write to autoconf@gnu.org." >&5
2235 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2236 whose name does not start with the host triplet. If you think this
2237 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2238 ac_tool_warned=yes ;;
2243 STRIP="$ac_cv_prog_STRIP"
2247 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2249 # We need awk for the "check" target. The system "awk" is bad on
2251 # Always define AMTAR for backward compatibility.
2253 AMTAR=${AMTAR-"${am_missing_run}tar"}
2255 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2262 ac_cpp='$CPP $CPPFLAGS'
2263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2266 if test -n "$ac_tool_prefix"; then
2267 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2268 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2269 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2271 if test "${ac_cv_prog_CC+set}" = set; then
2272 echo $ECHO_N "(cached) $ECHO_C" >&6
2274 if test -n "$CC"; then
2275 ac_cv_prog_CC="$CC" # Let the user override the test.
2277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2281 test -z "$as_dir" && as_dir=.
2282 for ac_exec_ext in '' $ac_executable_extensions; do
2283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2284 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2295 if test -n "$CC"; then
2296 { echo "$as_me:$LINENO: result: $CC" >&5
2297 echo "${ECHO_T}$CC" >&6; }
2299 { echo "$as_me:$LINENO: result: no" >&5
2300 echo "${ECHO_T}no" >&6; }
2305 if test -z "$ac_cv_prog_CC"; then
2307 # Extract the first word of "gcc", so it can be a program name with args.
2308 set dummy gcc; ac_word=$2
2309 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2311 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2312 echo $ECHO_N "(cached) $ECHO_C" >&6
2314 if test -n "$ac_ct_CC"; then
2315 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2321 test -z "$as_dir" && as_dir=.
2322 for ac_exec_ext in '' $ac_executable_extensions; do
2323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2324 ac_cv_prog_ac_ct_CC="gcc"
2325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2334 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2335 if test -n "$ac_ct_CC"; then
2336 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2337 echo "${ECHO_T}$ac_ct_CC" >&6; }
2339 { echo "$as_me:$LINENO: result: no" >&5
2340 echo "${ECHO_T}no" >&6; }
2343 if test "x$ac_ct_CC" = x; then
2346 case $cross_compiling:$ac_tool_warned in
2348 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2349 whose name does not start with the host triplet. If you think this
2350 configuration is useful to you, please write to autoconf@gnu.org." >&5
2351 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2352 whose name does not start with the host triplet. If you think this
2353 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2354 ac_tool_warned=yes ;;
2362 if test -z "$CC"; then
2363 if test -n "$ac_tool_prefix"; then
2364 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2365 set dummy ${ac_tool_prefix}cc; ac_word=$2
2366 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2368 if test "${ac_cv_prog_CC+set}" = set; then
2369 echo $ECHO_N "(cached) $ECHO_C" >&6
2371 if test -n "$CC"; then
2372 ac_cv_prog_CC="$CC" # Let the user override the test.
2374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2378 test -z "$as_dir" && as_dir=.
2379 for ac_exec_ext in '' $ac_executable_extensions; do
2380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2381 ac_cv_prog_CC="${ac_tool_prefix}cc"
2382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2392 if test -n "$CC"; then
2393 { echo "$as_me:$LINENO: result: $CC" >&5
2394 echo "${ECHO_T}$CC" >&6; }
2396 { echo "$as_me:$LINENO: result: no" >&5
2397 echo "${ECHO_T}no" >&6; }
2403 if test -z "$CC"; then
2404 # Extract the first word of "cc", so it can be a program name with args.
2405 set dummy cc; ac_word=$2
2406 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2408 if test "${ac_cv_prog_CC+set}" = set; then
2409 echo $ECHO_N "(cached) $ECHO_C" >&6
2411 if test -n "$CC"; then
2412 ac_cv_prog_CC="$CC" # Let the user override the test.
2415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2419 test -z "$as_dir" && as_dir=.
2420 for ac_exec_ext in '' $ac_executable_extensions; do
2421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2422 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2423 ac_prog_rejected=yes
2427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2434 if test $ac_prog_rejected = yes; then
2435 # We found a bogon in the path, so make sure we never use it.
2436 set dummy $ac_cv_prog_CC
2438 if test $# != 0; then
2439 # We chose a different compiler from the bogus one.
2440 # However, it has the same basename, so the bogon will be chosen
2441 # first if we set CC to just the basename; use the full file name.
2443 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2449 if test -n "$CC"; then
2450 { echo "$as_me:$LINENO: result: $CC" >&5
2451 echo "${ECHO_T}$CC" >&6; }
2453 { echo "$as_me:$LINENO: result: no" >&5
2454 echo "${ECHO_T}no" >&6; }
2459 if test -z "$CC"; then
2460 if test -n "$ac_tool_prefix"; then
2461 for ac_prog in cl.exe
2463 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2464 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2465 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2467 if test "${ac_cv_prog_CC+set}" = set; then
2468 echo $ECHO_N "(cached) $ECHO_C" >&6
2470 if test -n "$CC"; then
2471 ac_cv_prog_CC="$CC" # Let the user override the test.
2473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2477 test -z "$as_dir" && as_dir=.
2478 for ac_exec_ext in '' $ac_executable_extensions; do
2479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2480 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2491 if test -n "$CC"; then
2492 { echo "$as_me:$LINENO: result: $CC" >&5
2493 echo "${ECHO_T}$CC" >&6; }
2495 { echo "$as_me:$LINENO: result: no" >&5
2496 echo "${ECHO_T}no" >&6; }
2500 test -n "$CC" && break
2503 if test -z "$CC"; then
2505 for ac_prog in cl.exe
2507 # Extract the first word of "$ac_prog", so it can be a program name with args.
2508 set dummy $ac_prog; ac_word=$2
2509 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2511 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2512 echo $ECHO_N "(cached) $ECHO_C" >&6
2514 if test -n "$ac_ct_CC"; then
2515 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2521 test -z "$as_dir" && as_dir=.
2522 for ac_exec_ext in '' $ac_executable_extensions; do
2523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2524 ac_cv_prog_ac_ct_CC="$ac_prog"
2525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2534 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2535 if test -n "$ac_ct_CC"; then
2536 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2537 echo "${ECHO_T}$ac_ct_CC" >&6; }
2539 { echo "$as_me:$LINENO: result: no" >&5
2540 echo "${ECHO_T}no" >&6; }
2544 test -n "$ac_ct_CC" && break
2547 if test "x$ac_ct_CC" = x; then
2550 case $cross_compiling:$ac_tool_warned in
2552 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2553 whose name does not start with the host triplet. If you think this
2554 configuration is useful to you, please write to autoconf@gnu.org." >&5
2555 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2556 whose name does not start with the host triplet. If you think this
2557 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2558 ac_tool_warned=yes ;;
2567 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2568 See \`config.log' for more details." >&5
2569 echo "$as_me: error: no acceptable C compiler found in \$PATH
2570 See \`config.log' for more details." >&2;}
2571 { (exit 1); exit 1; }; }
2573 # Provide some information about the compiler.
2574 echo "$as_me:$LINENO: checking for C compiler version" >&5
2575 ac_compiler=`set X $ac_compile; echo $2`
2576 { (ac_try="$ac_compiler --version >&5"
2578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2579 *) ac_try_echo=$ac_try;;
2581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2582 (eval "$ac_compiler --version >&5") 2>&5
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); }
2586 { (ac_try="$ac_compiler -v >&5"
2588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2589 *) ac_try_echo=$ac_try;;
2591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2592 (eval "$ac_compiler -v >&5") 2>&5
2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595 (exit $ac_status); }
2596 { (ac_try="$ac_compiler -V >&5"
2598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2599 *) ac_try_echo=$ac_try;;
2601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2602 (eval "$ac_compiler -V >&5") 2>&5
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); }
2607 cat >conftest.$ac_ext <<_ACEOF
2610 cat confdefs.h >>conftest.$ac_ext
2611 cat >>conftest.$ac_ext <<_ACEOF
2612 /* end confdefs.h. */
2622 ac_clean_files_save=$ac_clean_files
2623 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2624 # Try to create an executable without -o first, disregard a.out.
2625 # It will help us diagnose broken compilers, and finding out an intuition
2627 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2628 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2629 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2631 # List of possible output files, starting from the most likely.
2632 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2633 # only as a last resort. b.out is created by i960 compilers.
2634 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2636 # The IRIX 6 linker writes into existing files which may not be
2637 # executable, retaining their permissions. Remove them first so a
2638 # subsequent execution test works.
2640 for ac_file in $ac_files
2643 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2644 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2649 if { (ac_try="$ac_link_default"
2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2652 *) ac_try_echo=$ac_try;;
2654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2655 (eval "$ac_link_default") 2>&5
2657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 (exit $ac_status); }; then
2659 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2660 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2661 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2662 # so that the user can short-circuit this test for compilers unknown to
2664 for ac_file in $ac_files ''
2666 test -f "$ac_file" || continue
2668 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2671 # We found the default executable, but exeext='' is most
2675 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2677 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2679 # We set ac_cv_exeext here because the later test for it is not
2680 # safe: cross compilers may not add the suffix if given an `-o'
2681 # argument, so we may need to know it at that point already.
2682 # Even if this section looks crufty: it has the advantage of
2689 test "$ac_cv_exeext" = no && ac_cv_exeext=
2695 { echo "$as_me:$LINENO: result: $ac_file" >&5
2696 echo "${ECHO_T}$ac_file" >&6; }
2697 if test -z "$ac_file"; then
2698 echo "$as_me: failed program was:" >&5
2699 sed 's/^/| /' conftest.$ac_ext >&5
2701 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2702 See \`config.log' for more details." >&5
2703 echo "$as_me: error: C compiler cannot create executables
2704 See \`config.log' for more details." >&2;}
2705 { (exit 77); exit 77; }; }
2708 ac_exeext=$ac_cv_exeext
2710 # Check that the compiler produces executables we can run. If not, either
2711 # the compiler is broken, or we cross compile.
2712 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2713 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2714 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2715 # If not cross compiling, check that we can run a simple program.
2716 if test "$cross_compiling" != yes; then
2717 if { ac_try='./$ac_file'
2718 { (case "(($ac_try" in
2719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2720 *) ac_try_echo=$ac_try;;
2722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2723 (eval "$ac_try") 2>&5
2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726 (exit $ac_status); }; }; then
2729 if test "$cross_compiling" = maybe; then
2732 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2733 If you meant to cross compile, use \`--host'.
2734 See \`config.log' for more details." >&5
2735 echo "$as_me: error: cannot run C compiled programs.
2736 If you meant to cross compile, use \`--host'.
2737 See \`config.log' for more details." >&2;}
2738 { (exit 1); exit 1; }; }
2742 { echo "$as_me:$LINENO: result: yes" >&5
2743 echo "${ECHO_T}yes" >&6; }
2745 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2746 ac_clean_files=$ac_clean_files_save
2747 # Check that the compiler produces executables we can run. If not, either
2748 # the compiler is broken, or we cross compile.
2749 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2750 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2751 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2752 echo "${ECHO_T}$cross_compiling" >&6; }
2754 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2755 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2756 if { (ac_try="$ac_link"
2758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2759 *) ac_try_echo=$ac_try;;
2761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2762 (eval "$ac_link") 2>&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); }; then
2766 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2767 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2768 # work properly (i.e., refer to `conftest.exe'), while it won't with
2770 for ac_file in conftest.exe conftest conftest.*; do
2771 test -f "$ac_file" || continue
2773 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2774 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2780 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2781 See \`config.log' for more details." >&5
2782 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2783 See \`config.log' for more details." >&2;}
2784 { (exit 1); exit 1; }; }
2787 rm -f conftest$ac_cv_exeext
2788 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2789 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2791 rm -f conftest.$ac_ext
2792 EXEEXT=$ac_cv_exeext
2794 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2795 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2796 if test "${ac_cv_objext+set}" = set; then
2797 echo $ECHO_N "(cached) $ECHO_C" >&6
2799 cat >conftest.$ac_ext <<_ACEOF
2802 cat confdefs.h >>conftest.$ac_ext
2803 cat >>conftest.$ac_ext <<_ACEOF
2804 /* end confdefs.h. */
2814 rm -f conftest.o conftest.obj
2815 if { (ac_try="$ac_compile"
2817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2818 *) ac_try_echo=$ac_try;;
2820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2821 (eval "$ac_compile") 2>&5
2823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824 (exit $ac_status); }; then
2825 for ac_file in conftest.o conftest.obj conftest.*; do
2826 test -f "$ac_file" || continue;
2828 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2829 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2834 echo "$as_me: failed program was:" >&5
2835 sed 's/^/| /' conftest.$ac_ext >&5
2837 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2838 See \`config.log' for more details." >&5
2839 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2840 See \`config.log' for more details." >&2;}
2841 { (exit 1); exit 1; }; }
2844 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2846 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2847 echo "${ECHO_T}$ac_cv_objext" >&6; }
2848 OBJEXT=$ac_cv_objext
2850 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2851 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2852 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2853 echo $ECHO_N "(cached) $ECHO_C" >&6
2855 cat >conftest.$ac_ext <<_ACEOF
2858 cat confdefs.h >>conftest.$ac_ext
2859 cat >>conftest.$ac_ext <<_ACEOF
2860 /* end confdefs.h. */
2873 rm -f conftest.$ac_objext
2874 if { (ac_try="$ac_compile"
2876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2877 *) ac_try_echo=$ac_try;;
2879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2880 (eval "$ac_compile") 2>conftest.er1
2882 grep -v '^ *+' conftest.er1 >conftest.err
2884 cat conftest.err >&5
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); } && {
2887 test -z "$ac_c_werror_flag" ||
2888 test ! -s conftest.err
2889 } && test -s conftest.$ac_objext; then
2892 echo "$as_me: failed program was:" >&5
2893 sed 's/^/| /' conftest.$ac_ext >&5
2898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2899 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2902 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2903 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2904 GCC=`test $ac_compiler_gnu = yes && echo yes`
2905 ac_test_CFLAGS=${CFLAGS+set}
2906 ac_save_CFLAGS=$CFLAGS
2907 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2908 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2909 if test "${ac_cv_prog_cc_g+set}" = set; then
2910 echo $ECHO_N "(cached) $ECHO_C" >&6
2912 ac_save_c_werror_flag=$ac_c_werror_flag
2913 ac_c_werror_flag=yes
2916 cat >conftest.$ac_ext <<_ACEOF
2919 cat confdefs.h >>conftest.$ac_ext
2920 cat >>conftest.$ac_ext <<_ACEOF
2921 /* end confdefs.h. */
2931 rm -f conftest.$ac_objext
2932 if { (ac_try="$ac_compile"
2934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2935 *) ac_try_echo=$ac_try;;
2937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2938 (eval "$ac_compile") 2>conftest.er1
2940 grep -v '^ *+' conftest.er1 >conftest.err
2942 cat conftest.err >&5
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); } && {
2945 test -z "$ac_c_werror_flag" ||
2946 test ! -s conftest.err
2947 } && test -s conftest.$ac_objext; then
2950 echo "$as_me: failed program was:" >&5
2951 sed 's/^/| /' conftest.$ac_ext >&5
2954 cat >conftest.$ac_ext <<_ACEOF
2957 cat confdefs.h >>conftest.$ac_ext
2958 cat >>conftest.$ac_ext <<_ACEOF
2959 /* end confdefs.h. */
2969 rm -f conftest.$ac_objext
2970 if { (ac_try="$ac_compile"
2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2973 *) ac_try_echo=$ac_try;;
2975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2976 (eval "$ac_compile") 2>conftest.er1
2978 grep -v '^ *+' conftest.er1 >conftest.err
2980 cat conftest.err >&5
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982 (exit $ac_status); } && {
2983 test -z "$ac_c_werror_flag" ||
2984 test ! -s conftest.err
2985 } && test -s conftest.$ac_objext; then
2988 echo "$as_me: failed program was:" >&5
2989 sed 's/^/| /' conftest.$ac_ext >&5
2991 ac_c_werror_flag=$ac_save_c_werror_flag
2993 cat >conftest.$ac_ext <<_ACEOF
2996 cat confdefs.h >>conftest.$ac_ext
2997 cat >>conftest.$ac_ext <<_ACEOF
2998 /* end confdefs.h. */
3008 rm -f conftest.$ac_objext
3009 if { (ac_try="$ac_compile"
3011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3012 *) ac_try_echo=$ac_try;;
3014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3015 (eval "$ac_compile") 2>conftest.er1
3017 grep -v '^ *+' conftest.er1 >conftest.err
3019 cat conftest.err >&5
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); } && {
3022 test -z "$ac_c_werror_flag" ||
3023 test ! -s conftest.err
3024 } && test -s conftest.$ac_objext; then
3027 echo "$as_me: failed program was:" >&5
3028 sed 's/^/| /' conftest.$ac_ext >&5
3033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3040 ac_c_werror_flag=$ac_save_c_werror_flag
3042 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3043 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3044 if test "$ac_test_CFLAGS" = set; then
3045 CFLAGS=$ac_save_CFLAGS
3046 elif test $ac_cv_prog_cc_g = yes; then
3047 if test "$GCC" = yes; then
3053 if test "$GCC" = yes; then
3059 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3060 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3061 if test "${ac_cv_prog_cc_c89+set}" = set; then
3062 echo $ECHO_N "(cached) $ECHO_C" >&6
3064 ac_cv_prog_cc_c89=no
3066 cat >conftest.$ac_ext <<_ACEOF
3069 cat confdefs.h >>conftest.$ac_ext
3070 cat >>conftest.$ac_ext <<_ACEOF
3071 /* end confdefs.h. */
3074 #include <sys/types.h>
3075 #include <sys/stat.h>
3076 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3077 struct buf { int x; };
3078 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3079 static char *e (p, i)
3085 static char *f (char * (*g) (char **, int), char **p, ...)
3090 s = g (p, va_arg (v,int));
3095 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3096 function prototypes and stuff, but not '\xHH' hex character constants.
3097 These don't provoke an error unfortunately, instead are silently treated
3098 as 'x'. The following induces an error, until -std is added to get
3099 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3100 array size at least. It's necessary to write '\x00'==0 to get something
3101 that's true only with -std. */
3102 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3104 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3105 inside strings and character constants. */
3107 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3109 int test (int i, double x);
3110 struct s1 {int (*f) (int a);};
3111 struct s2 {int (*f) (double a);};
3112 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3118 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3123 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3124 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3126 CC="$ac_save_CC $ac_arg"
3127 rm -f conftest.$ac_objext
3128 if { (ac_try="$ac_compile"
3130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3131 *) ac_try_echo=$ac_try;;
3133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3134 (eval "$ac_compile") 2>conftest.er1
3136 grep -v '^ *+' conftest.er1 >conftest.err
3138 cat conftest.err >&5
3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); } && {
3141 test -z "$ac_c_werror_flag" ||
3142 test ! -s conftest.err
3143 } && test -s conftest.$ac_objext; then
3144 ac_cv_prog_cc_c89=$ac_arg
3146 echo "$as_me: failed program was:" >&5
3147 sed 's/^/| /' conftest.$ac_ext >&5
3152 rm -f core conftest.err conftest.$ac_objext
3153 test "x$ac_cv_prog_cc_c89" != "xno" && break
3155 rm -f conftest.$ac_ext
3160 case "x$ac_cv_prog_cc_c89" in
3162 { echo "$as_me:$LINENO: result: none needed" >&5
3163 echo "${ECHO_T}none needed" >&6; } ;;
3165 { echo "$as_me:$LINENO: result: unsupported" >&5
3166 echo "${ECHO_T}unsupported" >&6; } ;;
3168 CC="$CC $ac_cv_prog_cc_c89"
3169 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3170 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3175 ac_cpp='$CPP $CPPFLAGS'
3176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3179 DEPDIR="${am__leading_dot}deps"
3181 ac_config_commands="$ac_config_commands depfiles"
3184 am_make=${MAKE-make}
3185 cat > confinc << 'END'
3190 # If we don't find an include directive, just comment out the code.
3191 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3192 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3196 # First try GNU make style include.
3197 echo "include confinc" > confmf
3198 # We grep out `Entering directory' and `Leaving directory'
3199 # messages which can occur if `w' ends up in MAKEFLAGS.
3200 # In particular we don't look at `^make:' because GNU make might
3201 # be invoked under some other name (usually "gmake"), in which
3202 # case it prints its new name instead of `make'.
3203 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3208 # Now try BSD make style include.
3209 if test "$am__include" = "#"; then
3210 echo '.include "confinc"' > confmf
3211 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3212 am__include=.include
3219 { echo "$as_me:$LINENO: result: $_am_result" >&5
3220 echo "${ECHO_T}$_am_result" >&6; }
3221 rm -f confinc confmf
3223 # Check whether --enable-dependency-tracking was given.
3224 if test "${enable_dependency_tracking+set}" = set; then
3225 enableval=$enable_dependency_tracking;
3228 if test "x$enable_dependency_tracking" != xno; then
3229 am_depcomp="$ac_aux_dir/depcomp"
3232 if test "x$enable_dependency_tracking" != xno; then
3242 depcc="$CC" am_compiler_list=
3244 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3245 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3246 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3247 echo $ECHO_N "(cached) $ECHO_C" >&6
3249 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3250 # We make a subdir and do the tests there. Otherwise we can end up
3251 # making bogus files that we don't know about and never remove. For
3252 # instance it was reported that on HP-UX the gcc test will end up
3253 # making a dummy file named `D' -- because `-MD' means `put the output
3256 # Copy depcomp to subdir because otherwise we won't find it if we're
3257 # using a relative directory.
3258 cp "$am_depcomp" conftest.dir
3260 # We will build objects and dependencies in a subdirectory because
3261 # it helps to detect inapplicable dependency modes. For instance
3262 # both Tru64's cc and ICC support -MD to output dependencies as a
3263 # side effect of compilation, but ICC will put the dependencies in
3264 # the current directory while Tru64 will put them in the object
3268 am_cv_CC_dependencies_compiler_type=none
3269 if test "$am_compiler_list" = ""; then
3270 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3272 for depmode in $am_compiler_list; do
3273 # Setup a source with many dependencies, because some compilers
3274 # like to wrap large dependency lists on column 80 (with \), and
3275 # we should not choose a depcomp mode which is confused by this.
3277 # We need to recreate these files for each test, as the compiler may
3278 # overwrite some of them when testing with obscure command lines.
3279 # This happens at least with the AIX C compiler.
3281 for i in 1 2 3 4 5 6; do
3282 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3283 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3284 # Solaris 8's {/usr,}/bin/sh.
3285 touch sub/conftst$i.h
3287 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3291 # after this tag, mechanisms are not by side-effect, so they'll
3292 # only be used when explicitly requested
3293 if test "x$enable_dependency_tracking" = xyes; then
3301 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3302 # mode. It turns out that the SunPro C++ compiler does not properly
3303 # handle `-M -o', and we need to detect this.
3304 if depmode=$depmode \
3305 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3306 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3307 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3308 >/dev/null 2>conftest.err &&
3309 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3310 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3311 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3312 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3313 # icc doesn't choke on unknown options, it will just issue warnings
3314 # or remarks (even with -Werror). So we grep stderr for any message
3315 # that says an option was ignored or not supported.
3316 # When given -MP, icc 7.0 and 7.1 complain thusly:
3317 # icc: Command line warning: ignoring option '-M'; no argument required
3318 # The diagnosis changed in icc 8.0:
3319 # icc: Command line remark: option '-MP' not supported
3320 if (grep 'ignoring option' conftest.err ||
3321 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3322 am_cv_CC_dependencies_compiler_type=$depmode
3331 am_cv_CC_dependencies_compiler_type=none
3335 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3336 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3337 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3340 test "x$enable_dependency_tracking" != xno \
3341 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3343 am__fastdepCC_FALSE='#'
3345 am__fastdepCC_TRUE='#'
3346 am__fastdepCC_FALSE=
3350 ac_config_headers="$ac_config_headers config.h"
3352 ac_config_files="$ac_config_files Makefile"
3354 cat >confcache <<\_ACEOF
3355 # This file is a shell script that caches the results of configure
3356 # tests run on this system so they can be shared between configure
3357 # scripts and configure runs, see configure's option --config-cache.
3358 # It is not useful on other systems. If it contains results you don't
3359 # want to keep, you may remove or edit it.
3361 # config.status only pays attention to the cache file if you give it
3362 # the --recheck option to rerun configure.
3364 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3365 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3370 # The following way of writing the cache mishandles newlines in values,
3371 # but we know of no workaround that is simple, portable, and efficient.
3372 # So, we kill variables containing newlines.
3373 # Ultrix sh set writes to stderr and can't be redirected directly,
3374 # and sets the high bit in the cache file unless we assign to the vars.
3376 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3377 eval ac_val=\$$ac_var
3381 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3382 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3385 _ | IFS | as_nl) ;; #(
3386 *) $as_unset $ac_var ;;
3392 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3393 *${as_nl}ac_space=\ *)
3394 # `set' does not quote correctly, so add quotes (double-quote
3395 # substitution turns \\\\ into \\, and sed turns \\ into \).
3398 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3401 # `set' quotes correctly as required by POSIX, so do not add quotes.
3402 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3411 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3413 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3415 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3416 if test -w "$cache_file"; then
3417 test "x$cache_file" != "x/dev/null" &&
3418 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3419 echo "$as_me: updating cache $cache_file" >&6;}
3420 cat confcache >$cache_file
3422 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3423 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3428 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3429 # Let make expand exec_prefix.
3430 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3432 DEFS=-DHAVE_CONFIG_H
3436 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3437 # 1. Remove the extension, and $U if already installed.
3438 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3439 ac_i=`echo "$ac_i" | sed "$ac_script"`
3440 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3441 # will be set to the directory where LIBOBJS objects are built.
3442 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3443 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3447 LTLIBOBJS=$ac_ltlibobjs
3450 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3451 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3452 Usually this means the macro was only invoked conditionally." >&5
3453 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3454 Usually this means the macro was only invoked conditionally." >&2;}
3455 { (exit 1); exit 1; }; }
3457 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3458 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3459 Usually this means the macro was only invoked conditionally." >&5
3460 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3461 Usually this means the macro was only invoked conditionally." >&2;}
3462 { (exit 1); exit 1; }; }
3465 : ${CONFIG_STATUS=./config.status}
3466 ac_clean_files_save=$ac_clean_files
3467 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3468 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3469 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3470 cat >$CONFIG_STATUS <<_ACEOF
3472 # Generated by $as_me.
3473 # Run this file to recreate the current configuration.
3474 # Compiler output produced by configure, useful for debugging
3475 # configure, is in config.log if it exists.
3480 SHELL=\${CONFIG_SHELL-$SHELL}
3483 cat >>$CONFIG_STATUS <<\_ACEOF
3484 ## --------------------- ##
3485 ## M4sh Initialization. ##
3486 ## --------------------- ##
3488 # Be more Bourne compatible
3489 DUALCASE=1; export DUALCASE # for MKS sh
3490 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3493 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3494 # is contrary to our usage. Disable this feature.
3495 alias -g '${1+"$@"}'='"$@"'
3496 setopt NO_GLOB_SUBST
3498 case `(set -o) 2>/dev/null` in
3499 *posix*) set -o posix ;;
3508 # Avoid depending upon Character Ranges.
3509 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3510 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3511 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3512 as_cr_digits='0123456789'
3513 as_cr_alnum=$as_cr_Letters$as_cr_digits
3515 # The user is always right.
3516 if test "${PATH_SEPARATOR+set}" != set; then
3517 echo "#! /bin/sh" >conf$$.sh
3518 echo "exit 0" >>conf$$.sh
3520 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3528 # Support unset when possible.
3529 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3537 # We need space, tab and new line, in precisely that order. Quoting is
3538 # there to prevent editors from complaining about space-tab.
3539 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3540 # splitting by setting IFS to empty value.)
3545 # Find who we are. Look in the path if we contain no directory separator.
3547 *[\\/]* ) as_myself=$0 ;;
3548 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3552 test -z "$as_dir" && as_dir=.
3553 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3559 # We did not find ourselves, most probably we were run as `sh COMMAND'
3560 # in which case we are not to be found in the path.
3561 if test "x$as_myself" = x; then
3564 if test ! -f "$as_myself"; then
3565 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3566 { (exit 1); exit 1; }
3569 # Work around bugs in pre-3.0 UWIN ksh.
3570 for as_var in ENV MAIL MAILPATH
3571 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3579 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3580 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3581 LC_TELEPHONE LC_TIME
3583 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3584 eval $as_var=C; export $as_var
3586 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3590 # Required to use basename.
3591 if expr a : '\(a\)' >/dev/null 2>&1 &&
3592 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3598 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3599 as_basename=basename
3605 # Name of the executable.
3606 as_me=`$as_basename -- "$0" ||
3607 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3608 X"$0" : 'X\(//\)$' \| \
3609 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3611 sed '/^.*\/\([^/][^/]*\)\/*$/{
3632 test "x$as_lineno_1" != "x$as_lineno_2" &&
3633 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3635 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3636 # uniformly replaced by the line number. The first 'sed' inserts a
3637 # line-number line after each line using $LINENO; the second 'sed'
3638 # does the real work. The second script uses 'N' to pair each
3639 # line-number line with the line containing $LINENO, and appends
3640 # trailing '-' during substitution so that $LINENO is not a special
3642 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3643 # scripts with optimization help from Paolo Bonzini. Blame Lee
3644 # E. McMahon (1931-1989) for sed's syntax. :-)
3656 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3660 chmod +x "$as_me.lineno" ||
3661 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3662 { (exit 1); exit 1; }; }
3664 # Don't try to exec as it changes $[0], causing all sort of problems
3665 # (the dirname of $[0] is not the place where we might find the
3666 # original and so on. Autoconf is especially sensitive to this).
3668 # Exit status is that of the last command.
3673 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3679 ECHO_C= ECHO_N= ECHO_T=
3682 case `echo 'x\c'` in
3683 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3690 if expr a : '\(a\)' >/dev/null 2>&1 &&
3691 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3697 rm -f conf$$ conf$$.exe conf$$.file
3698 if test -d conf$$.dir; then
3699 rm -f conf$$.dir/conf$$.file
3705 if ln -s conf$$.file conf$$ 2>/dev/null; then
3707 # ... but there are two gotchas:
3708 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3709 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3710 # In both cases, we have to default to `cp -p'.
3711 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3713 elif ln conf$$.file conf$$ 2>/dev/null; then
3718 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3719 rmdir conf$$.dir 2>/dev/null
3721 if mkdir -p . 2>/dev/null; then
3724 test -d ./-p && rmdir ./-p
3728 if test -x / >/dev/null 2>&1; then
3731 if ls -dL / >/dev/null 2>&1; then
3738 if test -d "$1"; then
3744 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3745 ???[sx]*):;;*)false;;esac;fi
3749 as_executable_p=$as_test_x
3751 # Sed expression to map a string onto a valid CPP name.
3752 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3754 # Sed expression to map a string onto a valid variable name.
3755 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3760 # Save the log message, to keep $[0] and so on meaningful, and to
3761 # report actual input values of CONFIG_FILES etc. instead of their
3762 # values after options handling.
3764 This file was extended by xboard $as_me 4.3, which was
3765 generated by GNU Autoconf 2.61. Invocation command line was
3767 CONFIG_FILES = $CONFIG_FILES
3768 CONFIG_HEADERS = $CONFIG_HEADERS
3769 CONFIG_LINKS = $CONFIG_LINKS
3770 CONFIG_COMMANDS = $CONFIG_COMMANDS
3773 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3778 cat >>$CONFIG_STATUS <<_ACEOF
3779 # Files that config.status was made for.
3780 config_files="$ac_config_files"
3781 config_headers="$ac_config_headers"
3782 config_commands="$ac_config_commands"
3786 cat >>$CONFIG_STATUS <<\_ACEOF
3788 \`$as_me' instantiates files from templates according to the
3789 current configuration.
3791 Usage: $0 [OPTIONS] [FILE]...
3793 -h, --help print this help, then exit
3794 -V, --version print version number and configuration settings, then exit
3795 -q, --quiet do not print progress messages
3796 -d, --debug don't remove temporary files
3797 --recheck update $as_me by reconfiguring in the same conditions
3798 --file=FILE[:TEMPLATE]
3799 instantiate the configuration file FILE
3800 --header=FILE[:TEMPLATE]
3801 instantiate the configuration header FILE
3803 Configuration files:
3806 Configuration headers:
3809 Configuration commands:
3812 Report bugs to <bug-autoconf@gnu.org>."
3815 cat >>$CONFIG_STATUS <<_ACEOF
3817 xboard config.status 4.3
3818 configured by $0, generated by GNU Autoconf 2.61,
3819 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3821 Copyright (C) 2006 Free Software Foundation, Inc.
3822 This config.status script is free software; the Free Software Foundation
3823 gives unlimited permission to copy, distribute and modify it."
3831 cat >>$CONFIG_STATUS <<\_ACEOF
3832 # If no file are specified by the user, then we need to provide default
3833 # value. By we need to know if files were specified by the user.
3839 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3840 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3851 # Handling of the options.
3852 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3854 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3855 echo "$ac_cs_version"; exit ;;
3856 --debug | --debu | --deb | --de | --d | -d )
3858 --file | --fil | --fi | --f )
3860 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3861 ac_need_defaults=false;;
3862 --header | --heade | --head | --hea )
3864 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3865 ac_need_defaults=false;;
3867 # Conflict between --help and --header
3868 { echo "$as_me: error: ambiguous option: $1
3869 Try \`$0 --help' for more information." >&2
3870 { (exit 1); exit 1; }; };;
3871 --help | --hel | -h )
3872 echo "$ac_cs_usage"; exit ;;
3873 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3874 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3878 -*) { echo "$as_me: error: unrecognized option: $1
3879 Try \`$0 --help' for more information." >&2
3880 { (exit 1); exit 1; }; } ;;
3882 *) ac_config_targets="$ac_config_targets $1"
3883 ac_need_defaults=false ;;
3889 ac_configure_extra_args=
3891 if $ac_cs_silent; then
3893 ac_configure_extra_args="$ac_configure_extra_args --silent"
3897 cat >>$CONFIG_STATUS <<_ACEOF
3898 if \$ac_cs_recheck; then
3899 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3902 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3906 cat >>$CONFIG_STATUS <<\_ACEOF
3910 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3911 ## Running $as_me. ##
3917 cat >>$CONFIG_STATUS <<_ACEOF
3921 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3925 cat >>$CONFIG_STATUS <<\_ACEOF
3927 # Handling of arguments.
3928 for ac_config_target in $ac_config_targets
3930 case $ac_config_target in
3931 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3932 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3933 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3935 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3936 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3937 { (exit 1); exit 1; }; };;
3942 # If the user did not use the arguments to specify the items to instantiate,
3943 # then the envvar interface is used. Set only those that are not.
3944 # We use the long form for the default assignment because of an extremely
3945 # bizarre bug on SunOS 4.1.3.
3946 if $ac_need_defaults; then
3947 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3948 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3949 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3952 # Have a temporary directory for convenience. Make it in the build tree
3953 # simply because there is no reason against having it here, and in addition,
3954 # creating and moving files from /tmp can sometimes cause problems.
3955 # Hook for its removal unless debugging.
3956 # Note that there is a small window in which the directory will not be cleaned:
3957 # after its creation but before its name has been assigned to `$tmp'.
3961 trap 'exit_status=$?
3962 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3964 trap '{ (exit 1); exit 1; }' 1 2 13 15
3966 # Create a (secure) tmp directory for tmp files.
3969 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3970 test -n "$tmp" && test -d "$tmp"
3973 tmp=./conf$$-$RANDOM
3974 (umask 077 && mkdir "$tmp")
3977 echo "$me: cannot create a temporary directory in ." >&2
3978 { (exit 1); exit 1; }
3982 # Set up the sed scripts for CONFIG_FILES section.
3985 # No need to generate the scripts if there are no CONFIG_FILES.
3986 # This happens for instance when ./config.status config.h
3987 if test -n "$CONFIG_FILES"; then
3994 for ac_last_try in false false false false false :; do
3995 cat >conf$$subs.sed <<_ACEOF
3996 SHELL!$SHELL$ac_delim
3997 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3998 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3999 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4000 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4001 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4002 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4003 exec_prefix!$exec_prefix$ac_delim
4004 prefix!$prefix$ac_delim
4005 program_transform_name!$program_transform_name$ac_delim
4006 bindir!$bindir$ac_delim
4007 sbindir!$sbindir$ac_delim
4008 libexecdir!$libexecdir$ac_delim
4009 datarootdir!$datarootdir$ac_delim
4010 datadir!$datadir$ac_delim
4011 sysconfdir!$sysconfdir$ac_delim
4012 sharedstatedir!$sharedstatedir$ac_delim
4013 localstatedir!$localstatedir$ac_delim
4014 includedir!$includedir$ac_delim
4015 oldincludedir!$oldincludedir$ac_delim
4016 docdir!$docdir$ac_delim
4017 infodir!$infodir$ac_delim
4018 htmldir!$htmldir$ac_delim
4019 dvidir!$dvidir$ac_delim
4020 pdfdir!$pdfdir$ac_delim
4021 psdir!$psdir$ac_delim
4022 libdir!$libdir$ac_delim
4023 localedir!$localedir$ac_delim
4024 mandir!$mandir$ac_delim
4026 ECHO_C!$ECHO_C$ac_delim
4027 ECHO_N!$ECHO_N$ac_delim
4028 ECHO_T!$ECHO_T$ac_delim
4030 build_alias!$build_alias$ac_delim
4031 host_alias!$host_alias$ac_delim
4032 target_alias!$target_alias$ac_delim
4033 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4034 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4035 INSTALL_DATA!$INSTALL_DATA$ac_delim
4036 am__isrc!$am__isrc$ac_delim
4037 CYGPATH_W!$CYGPATH_W$ac_delim
4038 PACKAGE!$PACKAGE$ac_delim
4039 VERSION!$VERSION$ac_delim
4040 ACLOCAL!$ACLOCAL$ac_delim
4041 AUTOCONF!$AUTOCONF$ac_delim
4042 AUTOMAKE!$AUTOMAKE$ac_delim
4043 AUTOHEADER!$AUTOHEADER$ac_delim
4044 MAKEINFO!$MAKEINFO$ac_delim
4045 install_sh!$install_sh$ac_delim
4046 STRIP!$STRIP$ac_delim
4047 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
4048 mkdir_p!$mkdir_p$ac_delim
4050 SET_MAKE!$SET_MAKE$ac_delim
4051 am__leading_dot!$am__leading_dot$ac_delim
4052 AMTAR!$AMTAR$ac_delim
4053 am__tar!$am__tar$ac_delim
4054 am__untar!$am__untar$ac_delim
4056 CFLAGS!$CFLAGS$ac_delim
4057 LDFLAGS!$LDFLAGS$ac_delim
4058 CPPFLAGS!$CPPFLAGS$ac_delim
4059 ac_ct_CC!$ac_ct_CC$ac_delim
4060 EXEEXT!$EXEEXT$ac_delim
4061 OBJEXT!$OBJEXT$ac_delim
4062 DEPDIR!$DEPDIR$ac_delim
4063 am__include!$am__include$ac_delim
4064 am__quote!$am__quote$ac_delim
4065 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
4066 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
4067 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
4068 CCDEPMODE!$CCDEPMODE$ac_delim
4069 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
4070 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
4071 LIBOBJS!$LIBOBJS$ac_delim
4072 LTLIBOBJS!$LTLIBOBJS$ac_delim
4075 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 77; then
4077 elif $ac_last_try; then
4078 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4079 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4080 { (exit 1); exit 1; }; }
4082 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4086 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4087 if test -n "$ac_eof"; then
4088 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4089 ac_eof=`expr $ac_eof + 1`
4092 cat >>$CONFIG_STATUS <<_ACEOF
4093 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4094 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4097 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4098 s/^/s,@/; s/!/@,|#_!!_#|/
4101 s/'"$ac_delim"'$/,g/; t
4103 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4104 ' >>$CONFIG_STATUS <conf$$subs.sed
4105 rm -f conf$$subs.sed
4106 cat >>$CONFIG_STATUS <<_ACEOF
4113 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4114 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4115 # trailing colons and then remove the whole line if VPATH becomes empty
4116 # (actually we leave an empty line to preserve line numbers).
4117 if test "x$srcdir" = x.; then
4118 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4122 s/^\([^=]*=[ ]*\):*/\1/
4128 cat >>$CONFIG_STATUS <<\_ACEOF
4129 fi # test -n "$CONFIG_FILES"
4132 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
4135 :[FHLC]) ac_mode=$ac_tag; continue;;
4137 case $ac_mode$ac_tag in
4139 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4140 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4141 { (exit 1); exit 1; }; };;
4142 :[FH]-) ac_tag=-:-;;
4143 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4160 -) ac_f="$tmp/stdin";;
4161 *) # Look for the file first in the build tree, then in the source tree
4162 # (if the path is not absolute). The absolute path cannot be DOS-style,
4163 # because $ac_f cannot contain `:'.
4167 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4169 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4170 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4171 { (exit 1); exit 1; }; };;
4173 ac_file_inputs="$ac_file_inputs $ac_f"
4176 # Let's still pretend it is `configure' which instantiates (i.e., don't
4177 # use $as_me), people would be surprised to read:
4178 # /* config.h. Generated by config.status. */
4179 configure_input="Generated from "`IFS=:
4180 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4181 if test x"$ac_file" != x-; then
4182 configure_input="$ac_file. $configure_input"
4183 { echo "$as_me:$LINENO: creating $ac_file" >&5
4184 echo "$as_me: creating $ac_file" >&6;}
4188 *:-:* | *:-) cat >"$tmp/stdin";;
4193 ac_dir=`$as_dirname -- "$ac_file" ||
4194 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4195 X"$ac_file" : 'X\(//\)[^/]' \| \
4196 X"$ac_file" : 'X\(//\)$' \| \
4197 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4199 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4218 -*) as_dir=./$as_dir;;
4220 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4224 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4225 *) as_qdir=$as_dir;;
4227 as_dirs="'$as_qdir' $as_dirs"
4228 as_dir=`$as_dirname -- "$as_dir" ||
4229 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4230 X"$as_dir" : 'X\(//\)[^/]' \| \
4231 X"$as_dir" : 'X\(//\)$' \| \
4232 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4251 test -d "$as_dir" && break
4253 test -z "$as_dirs" || eval "mkdir $as_dirs"
4254 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4255 echo "$as_me: error: cannot create directory $as_dir" >&2;}
4256 { (exit 1); exit 1; }; }; }
4260 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4262 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4263 # A ".." for each directory in $ac_dir_suffix.
4264 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4265 case $ac_top_builddir_sub in
4266 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4267 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4270 ac_abs_top_builddir=$ac_pwd
4271 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4272 # for backward compatibility:
4273 ac_top_builddir=$ac_top_build_prefix
4276 .) # We are building in place.
4278 ac_top_srcdir=$ac_top_builddir_sub
4279 ac_abs_top_srcdir=$ac_pwd ;;
4280 [\\/]* | ?:[\\/]* ) # Absolute name.
4281 ac_srcdir=$srcdir$ac_dir_suffix;
4282 ac_top_srcdir=$srcdir
4283 ac_abs_top_srcdir=$srcdir ;;
4285 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4286 ac_top_srcdir=$ac_top_build_prefix$srcdir
4287 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4289 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4299 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4300 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4304 [\\/$]* | ?:[\\/]* ) ;;
4305 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4309 cat >>$CONFIG_STATUS <<\_ACEOF
4310 # If the template does not know about datarootdir, expand it.
4311 # FIXME: This hack should be removed a few years after 2.60.
4312 ac_datarootdir_hack=; ac_datarootdir_seen=
4314 case `sed -n '/datarootdir/ {
4323 ' $ac_file_inputs` in
4324 *datarootdir*) ac_datarootdir_seen=yes;;
4325 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4326 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4327 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4329 cat >>$CONFIG_STATUS <<_ACEOF
4330 ac_datarootdir_hack='
4331 s&@datadir@&$datadir&g
4332 s&@docdir@&$docdir&g
4333 s&@infodir@&$infodir&g
4334 s&@localedir@&$localedir&g
4335 s&@mandir@&$mandir&g
4336 s&\\\${datarootdir}&$datarootdir&g' ;;
4340 # Neutralize VPATH when `$srcdir' = `.'.
4341 # Shell code in configure.ac might set extrasub.
4342 # FIXME: do we really want to maintain this feature?
4343 cat >>$CONFIG_STATUS <<_ACEOF
4347 cat >>$CONFIG_STATUS <<\_ACEOF
4349 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4350 s&@configure_input@&$configure_input&;t t
4351 s&@top_builddir@&$ac_top_builddir_sub&;t t
4352 s&@srcdir@&$ac_srcdir&;t t
4353 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4354 s&@top_srcdir@&$ac_top_srcdir&;t t
4355 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4356 s&@builddir@&$ac_builddir&;t t
4357 s&@abs_builddir@&$ac_abs_builddir&;t t
4358 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4359 s&@INSTALL@&$ac_INSTALL&;t t
4360 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4361 $ac_datarootdir_hack
4362 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4364 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4365 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4366 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4367 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4368 which seems to be undefined. Please make sure it is defined." >&5
4369 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4370 which seems to be undefined. Please make sure it is defined." >&2;}
4374 -) cat "$tmp/out"; rm -f "$tmp/out";;
4375 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4384 # Transform confdefs.h into a sed script `conftest.defines', that
4385 # substitutes the proper values into config.h.in to produce config.h.
4386 rm -f conftest.defines conftest.tail
4387 # First, append a space to every undef/define line, to ease matching.
4388 echo 's/$/ /' >conftest.defines
4389 # Then, protect against being on the right side of a sed subst, or in
4390 # an unquoted here document, in config.status. If some macros were
4391 # called several times there might be several #defines for the same
4392 # symbol, which is useless. But do not sort them, since the last
4393 # AC_DEFINE must be honored.
4394 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4395 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
4396 # NAME is the cpp macro being defined, VALUE is the value it is being given.
4397 # PARAMS is the parameter list in the macro definition--in most cases, it's
4398 # just an empty string.
4399 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
4400 ac_dB='\\)[ (].*,\\1define\\2'
4408 s/^[ ]*#[ ]*define[ ][ ]*//
4413 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
4414 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
4415 ' >>conftest.defines
4417 # Remove the space that was appended to ease matching.
4418 # Then replace #undef with comments. This is necessary, for
4419 # example, in the case of _POSIX_SOURCE, which is predefined and required
4420 # on some systems where configure will not decide to define it.
4421 # (The regexp can be short, since the line contains either #define or #undef.)
4423 s,^[ #]*u.*,/* & */,' >>conftest.defines
4425 # Break up conftest.defines:
4428 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
4429 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
4430 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
4432 ac_in='$ac_file_inputs'
4433 ac_out='"$tmp/out1"'
4434 ac_nxt='"$tmp/out2"'
4438 # Write a here document:
4439 cat >>$CONFIG_STATUS <<_ACEOF
4440 # First, check the format of the line:
4441 cat >"\$tmp/defines.sed" <<\\CEOF
4442 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
4443 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
4447 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
4449 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
4450 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
4451 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
4452 grep . conftest.tail >/dev/null || break
4453 rm -f conftest.defines
4454 mv conftest.tail conftest.defines
4456 rm -f conftest.defines conftest.tail
4458 echo "ac_result=$ac_in" >>$CONFIG_STATUS
4459 cat >>$CONFIG_STATUS <<\_ACEOF
4460 if test x"$ac_file" != x-; then
4461 echo "/* $configure_input */" >"$tmp/config.h"
4462 cat "$ac_result" >>"$tmp/config.h"
4463 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
4464 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4465 echo "$as_me: $ac_file is unchanged" >&6;}
4468 mv "$tmp/config.h" $ac_file
4471 echo "/* $configure_input */"
4475 # Compute $ac_file's index in $config_headers.
4478 for _am_header in $config_headers :; do
4480 $_am_arg | $_am_arg:* )
4483 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4486 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
4487 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4488 X"$_am_arg" : 'X\(//\)[^/]' \| \
4489 X"$_am_arg" : 'X\(//\)$' \| \
4490 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
4492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4508 s/.*/./; q'`/stamp-h$_am_stamp_count
4511 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
4512 echo "$as_me: executing $ac_file commands" >&6;}
4517 case $ac_file$ac_mode in
4518 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4519 # Strip MF so we end up with the name of the file.
4520 mf=`echo "$mf" | sed -e 's/:.*$//'`
4521 # Check whether this is an Automake generated Makefile or not.
4522 # We used to match only the files named `Makefile.in', but
4523 # some people rename them; so instead we look at the file content.
4524 # Grep'ing the first line is not enough: some people post-process
4525 # each Makefile.in and add a new line on top of each file to say so.
4526 # Grep'ing the whole file is not good either: AIX grep has a line
4527 # limit of 2048, but all sed's we know have understand at least 4000.
4528 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
4529 dirpart=`$as_dirname -- "$mf" ||
4530 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4531 X"$mf" : 'X\(//\)[^/]' \| \
4532 X"$mf" : 'X\(//\)$' \| \
4533 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4555 # Extract the definition of DEPDIR, am__include, and am__quote
4556 # from the Makefile without running `make'.
4557 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4558 test -z "$DEPDIR" && continue
4559 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4560 test -z "am__include" && continue
4561 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4562 # When using ansi2knr, U may be empty or an underscore; expand it
4563 U=`sed -n 's/^U = //p' < "$mf"`
4564 # Find all dependency output files, they are included files with
4565 # $(DEPDIR) in their names. We invoke sed twice because it is the
4566 # simplest approach to changing $(DEPDIR) to its actual value in the
4568 for file in `sed -n "
4569 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4570 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4571 # Make sure the directory exists.
4572 test -f "$dirpart/$file" && continue
4573 fdir=`$as_dirname -- "$file" ||
4574 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4575 X"$file" : 'X\(//\)[^/]' \| \
4576 X"$file" : 'X\(//\)$' \| \
4577 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4579 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4596 { as_dir=$dirpart/$fdir
4598 -*) as_dir=./$as_dir;;
4600 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4604 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4605 *) as_qdir=$as_dir;;
4607 as_dirs="'$as_qdir' $as_dirs"
4608 as_dir=`$as_dirname -- "$as_dir" ||
4609 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4610 X"$as_dir" : 'X\(//\)[^/]' \| \
4611 X"$as_dir" : 'X\(//\)$' \| \
4612 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4614 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4631 test -d "$as_dir" && break
4633 test -z "$as_dirs" || eval "mkdir $as_dirs"
4634 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4635 echo "$as_me: error: cannot create directory $as_dir" >&2;}
4636 { (exit 1); exit 1; }; }; }
4637 # echo "creating $dirpart/$file"
4638 echo '# dummy' > "$dirpart/$file"
4647 { (exit 0); exit 0; }
4649 chmod +x $CONFIG_STATUS
4650 ac_clean_files=$ac_clean_files_save
4653 # configure is writing to config.log, and then calls config.status.
4654 # config.status does its own redirection, appending to config.log.
4655 # Unfortunately, on DOS this fails, as config.log is still kept open
4656 # by configure, so config.status won't be able to write to it; its
4657 # output is simply discarded. So we exec the FD to /dev/null,
4658 # effectively closing config.log, so it can be properly (re)opened and
4659 # appended to by config.status. When coming back to configure, we
4660 # need to make the FD available again.
4661 if test "$no_create" != yes; then
4663 ac_config_status_args=
4664 test "$silent" = yes &&
4665 ac_config_status_args="$ac_config_status_args --quiet"
4667 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4669 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4670 # would make configure fail if this is the last instruction.
4671 $ac_cs_success || { (exit 1); exit 1; }
4675 #VERSION=4.3 # version is already defined
4679 if test -z "$CFLAGS" ; then
4683 ac_cpp='$CPP $CPPFLAGS'
4684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4687 if test -n "$ac_tool_prefix"; then
4688 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4689 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4690 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4692 if test "${ac_cv_prog_CC+set}" = set; then
4693 echo $ECHO_N "(cached) $ECHO_C" >&6
4695 if test -n "$CC"; then
4696 ac_cv_prog_CC="$CC" # Let the user override the test.
4698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4702 test -z "$as_dir" && as_dir=.
4703 for ac_exec_ext in '' $ac_executable_extensions; do
4704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4705 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4716 if test -n "$CC"; then
4717 { echo "$as_me:$LINENO: result: $CC" >&5
4718 echo "${ECHO_T}$CC" >&6; }
4720 { echo "$as_me:$LINENO: result: no" >&5
4721 echo "${ECHO_T}no" >&6; }
4726 if test -z "$ac_cv_prog_CC"; then
4728 # Extract the first word of "gcc", so it can be a program name with args.
4729 set dummy gcc; ac_word=$2
4730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4732 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4733 echo $ECHO_N "(cached) $ECHO_C" >&6
4735 if test -n "$ac_ct_CC"; then
4736 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4742 test -z "$as_dir" && as_dir=.
4743 for ac_exec_ext in '' $ac_executable_extensions; do
4744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4745 ac_cv_prog_ac_ct_CC="gcc"
4746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4755 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4756 if test -n "$ac_ct_CC"; then
4757 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4758 echo "${ECHO_T}$ac_ct_CC" >&6; }
4760 { echo "$as_me:$LINENO: result: no" >&5
4761 echo "${ECHO_T}no" >&6; }
4764 if test "x$ac_ct_CC" = x; then
4767 case $cross_compiling:$ac_tool_warned in
4769 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4770 whose name does not start with the host triplet. If you think this
4771 configuration is useful to you, please write to autoconf@gnu.org." >&5
4772 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4773 whose name does not start with the host triplet. If you think this
4774 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4775 ac_tool_warned=yes ;;
4783 if test -z "$CC"; then
4784 if test -n "$ac_tool_prefix"; then
4785 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4786 set dummy ${ac_tool_prefix}cc; ac_word=$2
4787 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4789 if test "${ac_cv_prog_CC+set}" = set; then
4790 echo $ECHO_N "(cached) $ECHO_C" >&6
4792 if test -n "$CC"; then
4793 ac_cv_prog_CC="$CC" # Let the user override the test.
4795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4799 test -z "$as_dir" && as_dir=.
4800 for ac_exec_ext in '' $ac_executable_extensions; do
4801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4802 ac_cv_prog_CC="${ac_tool_prefix}cc"
4803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4813 if test -n "$CC"; then
4814 { echo "$as_me:$LINENO: result: $CC" >&5
4815 echo "${ECHO_T}$CC" >&6; }
4817 { echo "$as_me:$LINENO: result: no" >&5
4818 echo "${ECHO_T}no" >&6; }
4824 if test -z "$CC"; then
4825 # Extract the first word of "cc", so it can be a program name with args.
4826 set dummy cc; ac_word=$2
4827 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4829 if test "${ac_cv_prog_CC+set}" = set; then
4830 echo $ECHO_N "(cached) $ECHO_C" >&6
4832 if test -n "$CC"; then
4833 ac_cv_prog_CC="$CC" # Let the user override the test.
4836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4840 test -z "$as_dir" && as_dir=.
4841 for ac_exec_ext in '' $ac_executable_extensions; do
4842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4843 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4844 ac_prog_rejected=yes
4848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4855 if test $ac_prog_rejected = yes; then
4856 # We found a bogon in the path, so make sure we never use it.
4857 set dummy $ac_cv_prog_CC
4859 if test $# != 0; then
4860 # We chose a different compiler from the bogus one.
4861 # However, it has the same basename, so the bogon will be chosen
4862 # first if we set CC to just the basename; use the full file name.
4864 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4870 if test -n "$CC"; then
4871 { echo "$as_me:$LINENO: result: $CC" >&5
4872 echo "${ECHO_T}$CC" >&6; }
4874 { echo "$as_me:$LINENO: result: no" >&5
4875 echo "${ECHO_T}no" >&6; }
4880 if test -z "$CC"; then
4881 if test -n "$ac_tool_prefix"; then
4882 for ac_prog in cl.exe
4884 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4885 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4888 if test "${ac_cv_prog_CC+set}" = set; then
4889 echo $ECHO_N "(cached) $ECHO_C" >&6
4891 if test -n "$CC"; then
4892 ac_cv_prog_CC="$CC" # Let the user override the test.
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4898 test -z "$as_dir" && as_dir=.
4899 for ac_exec_ext in '' $ac_executable_extensions; do
4900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4901 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4912 if test -n "$CC"; then
4913 { echo "$as_me:$LINENO: result: $CC" >&5
4914 echo "${ECHO_T}$CC" >&6; }
4916 { echo "$as_me:$LINENO: result: no" >&5
4917 echo "${ECHO_T}no" >&6; }
4921 test -n "$CC" && break
4924 if test -z "$CC"; then
4926 for ac_prog in cl.exe
4928 # Extract the first word of "$ac_prog", so it can be a program name with args.
4929 set dummy $ac_prog; ac_word=$2
4930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4932 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4933 echo $ECHO_N "(cached) $ECHO_C" >&6
4935 if test -n "$ac_ct_CC"; then
4936 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4942 test -z "$as_dir" && as_dir=.
4943 for ac_exec_ext in '' $ac_executable_extensions; do
4944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4945 ac_cv_prog_ac_ct_CC="$ac_prog"
4946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4956 if test -n "$ac_ct_CC"; then
4957 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4958 echo "${ECHO_T}$ac_ct_CC" >&6; }
4960 { echo "$as_me:$LINENO: result: no" >&5
4961 echo "${ECHO_T}no" >&6; }
4965 test -n "$ac_ct_CC" && break
4968 if test "x$ac_ct_CC" = x; then
4971 case $cross_compiling:$ac_tool_warned in
4973 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4974 whose name does not start with the host triplet. If you think this
4975 configuration is useful to you, please write to autoconf@gnu.org." >&5
4976 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4977 whose name does not start with the host triplet. If you think this
4978 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4979 ac_tool_warned=yes ;;
4988 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4989 See \`config.log' for more details." >&5
4990 echo "$as_me: error: no acceptable C compiler found in \$PATH
4991 See \`config.log' for more details." >&2;}
4992 { (exit 1); exit 1; }; }
4994 # Provide some information about the compiler.
4995 echo "$as_me:$LINENO: checking for C compiler version" >&5
4996 ac_compiler=`set X $ac_compile; echo $2`
4997 { (ac_try="$ac_compiler --version >&5"
4999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5000 *) ac_try_echo=$ac_try;;
5002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5003 (eval "$ac_compiler --version >&5") 2>&5
5005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5006 (exit $ac_status); }
5007 { (ac_try="$ac_compiler -v >&5"
5009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5010 *) ac_try_echo=$ac_try;;
5012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5013 (eval "$ac_compiler -v >&5") 2>&5
5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016 (exit $ac_status); }
5017 { (ac_try="$ac_compiler -V >&5"
5019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5020 *) ac_try_echo=$ac_try;;
5022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5023 (eval "$ac_compiler -V >&5") 2>&5
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); }
5028 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5029 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
5030 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5031 echo $ECHO_N "(cached) $ECHO_C" >&6
5033 cat >conftest.$ac_ext <<_ACEOF
5036 cat confdefs.h >>conftest.$ac_ext
5037 cat >>conftest.$ac_ext <<_ACEOF
5038 /* end confdefs.h. */
5051 rm -f conftest.$ac_objext
5052 if { (ac_try="$ac_compile"
5054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5055 *) ac_try_echo=$ac_try;;
5057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5058 (eval "$ac_compile") 2>conftest.er1
5060 grep -v '^ *+' conftest.er1 >conftest.err
5062 cat conftest.err >&5
5063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064 (exit $ac_status); } && {
5065 test -z "$ac_c_werror_flag" ||
5066 test ! -s conftest.err
5067 } && test -s conftest.$ac_objext; then
5070 echo "$as_me: failed program was:" >&5
5071 sed 's/^/| /' conftest.$ac_ext >&5
5076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5077 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5080 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5081 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5082 GCC=`test $ac_compiler_gnu = yes && echo yes`
5083 ac_test_CFLAGS=${CFLAGS+set}
5084 ac_save_CFLAGS=$CFLAGS
5085 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5086 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5087 if test "${ac_cv_prog_cc_g+set}" = set; then
5088 echo $ECHO_N "(cached) $ECHO_C" >&6
5090 ac_save_c_werror_flag=$ac_c_werror_flag
5091 ac_c_werror_flag=yes
5094 cat >conftest.$ac_ext <<_ACEOF
5097 cat confdefs.h >>conftest.$ac_ext
5098 cat >>conftest.$ac_ext <<_ACEOF
5099 /* end confdefs.h. */
5109 rm -f conftest.$ac_objext
5110 if { (ac_try="$ac_compile"
5112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5113 *) ac_try_echo=$ac_try;;
5115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5116 (eval "$ac_compile") 2>conftest.er1
5118 grep -v '^ *+' conftest.er1 >conftest.err
5120 cat conftest.err >&5
5121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5122 (exit $ac_status); } && {
5123 test -z "$ac_c_werror_flag" ||
5124 test ! -s conftest.err
5125 } && test -s conftest.$ac_objext; then
5128 echo "$as_me: failed program was:" >&5
5129 sed 's/^/| /' conftest.$ac_ext >&5
5132 cat >conftest.$ac_ext <<_ACEOF
5135 cat confdefs.h >>conftest.$ac_ext
5136 cat >>conftest.$ac_ext <<_ACEOF
5137 /* end confdefs.h. */
5147 rm -f conftest.$ac_objext
5148 if { (ac_try="$ac_compile"
5150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5151 *) ac_try_echo=$ac_try;;
5153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5154 (eval "$ac_compile") 2>conftest.er1
5156 grep -v '^ *+' conftest.er1 >conftest.err
5158 cat conftest.err >&5
5159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160 (exit $ac_status); } && {
5161 test -z "$ac_c_werror_flag" ||
5162 test ! -s conftest.err
5163 } && test -s conftest.$ac_objext; then
5166 echo "$as_me: failed program was:" >&5
5167 sed 's/^/| /' conftest.$ac_ext >&5
5169 ac_c_werror_flag=$ac_save_c_werror_flag
5171 cat >conftest.$ac_ext <<_ACEOF
5174 cat confdefs.h >>conftest.$ac_ext
5175 cat >>conftest.$ac_ext <<_ACEOF
5176 /* end confdefs.h. */
5186 rm -f conftest.$ac_objext
5187 if { (ac_try="$ac_compile"
5189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5190 *) ac_try_echo=$ac_try;;
5192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5193 (eval "$ac_compile") 2>conftest.er1
5195 grep -v '^ *+' conftest.er1 >conftest.err
5197 cat conftest.err >&5
5198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5199 (exit $ac_status); } && {
5200 test -z "$ac_c_werror_flag" ||
5201 test ! -s conftest.err
5202 } && test -s conftest.$ac_objext; then
5205 echo "$as_me: failed program was:" >&5
5206 sed 's/^/| /' conftest.$ac_ext >&5
5211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5218 ac_c_werror_flag=$ac_save_c_werror_flag
5220 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5221 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5222 if test "$ac_test_CFLAGS" = set; then
5223 CFLAGS=$ac_save_CFLAGS
5224 elif test $ac_cv_prog_cc_g = yes; then
5225 if test "$GCC" = yes; then
5231 if test "$GCC" = yes; then
5237 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5238 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5239 if test "${ac_cv_prog_cc_c89+set}" = set; then
5240 echo $ECHO_N "(cached) $ECHO_C" >&6
5242 ac_cv_prog_cc_c89=no
5244 cat >conftest.$ac_ext <<_ACEOF
5247 cat confdefs.h >>conftest.$ac_ext
5248 cat >>conftest.$ac_ext <<_ACEOF
5249 /* end confdefs.h. */
5252 #include <sys/types.h>
5253 #include <sys/stat.h>
5254 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5255 struct buf { int x; };
5256 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5257 static char *e (p, i)
5263 static char *f (char * (*g) (char **, int), char **p, ...)
5268 s = g (p, va_arg (v,int));
5273 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5274 function prototypes and stuff, but not '\xHH' hex character constants.
5275 These don't provoke an error unfortunately, instead are silently treated
5276 as 'x'. The following induces an error, until -std is added to get
5277 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5278 array size at least. It's necessary to write '\x00'==0 to get something
5279 that's true only with -std. */
5280 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5282 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5283 inside strings and character constants. */
5285 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5287 int test (int i, double x);
5288 struct s1 {int (*f) (int a);};
5289 struct s2 {int (*f) (double a);};
5290 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5296 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5301 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5302 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5304 CC="$ac_save_CC $ac_arg"
5305 rm -f conftest.$ac_objext
5306 if { (ac_try="$ac_compile"
5308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5309 *) ac_try_echo=$ac_try;;
5311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5312 (eval "$ac_compile") 2>conftest.er1
5314 grep -v '^ *+' conftest.er1 >conftest.err
5316 cat conftest.err >&5
5317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5318 (exit $ac_status); } && {
5319 test -z "$ac_c_werror_flag" ||
5320 test ! -s conftest.err
5321 } && test -s conftest.$ac_objext; then
5322 ac_cv_prog_cc_c89=$ac_arg
5324 echo "$as_me: failed program was:" >&5
5325 sed 's/^/| /' conftest.$ac_ext >&5
5330 rm -f core conftest.err conftest.$ac_objext
5331 test "x$ac_cv_prog_cc_c89" != "xno" && break
5333 rm -f conftest.$ac_ext
5338 case "x$ac_cv_prog_cc_c89" in
5340 { echo "$as_me:$LINENO: result: none needed" >&5
5341 echo "${ECHO_T}none needed" >&6; } ;;
5343 { echo "$as_me:$LINENO: result: unsupported" >&5
5344 echo "${ECHO_T}unsupported" >&6; } ;;
5346 CC="$CC $ac_cv_prog_cc_c89"
5347 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5348 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5353 ac_cpp='$CPP $CPPFLAGS'
5354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5358 depcc="$CC" am_compiler_list=
5360 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5361 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5362 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5363 echo $ECHO_N "(cached) $ECHO_C" >&6
5365 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5366 # We make a subdir and do the tests there. Otherwise we can end up
5367 # making bogus files that we don't know about and never remove. For
5368 # instance it was reported that on HP-UX the gcc test will end up
5369 # making a dummy file named `D' -- because `-MD' means `put the output
5372 # Copy depcomp to subdir because otherwise we won't find it if we're
5373 # using a relative directory.
5374 cp "$am_depcomp" conftest.dir
5376 # We will build objects and dependencies in a subdirectory because
5377 # it helps to detect inapplicable dependency modes. For instance
5378 # both Tru64's cc and ICC support -MD to output dependencies as a
5379 # side effect of compilation, but ICC will put the dependencies in
5380 # the current directory while Tru64 will put them in the object
5384 am_cv_CC_dependencies_compiler_type=none
5385 if test "$am_compiler_list" = ""; then
5386 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5388 for depmode in $am_compiler_list; do
5389 # Setup a source with many dependencies, because some compilers
5390 # like to wrap large dependency lists on column 80 (with \), and
5391 # we should not choose a depcomp mode which is confused by this.
5393 # We need to recreate these files for each test, as the compiler may
5394 # overwrite some of them when testing with obscure command lines.
5395 # This happens at least with the AIX C compiler.
5397 for i in 1 2 3 4 5 6; do
5398 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5399 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5400 # Solaris 8's {/usr,}/bin/sh.
5401 touch sub/conftst$i.h
5403 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5407 # after this tag, mechanisms are not by side-effect, so they'll
5408 # only be used when explicitly requested
5409 if test "x$enable_dependency_tracking" = xyes; then
5417 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5418 # mode. It turns out that the SunPro C++ compiler does not properly
5419 # handle `-M -o', and we need to detect this.
5420 if depmode=$depmode \
5421 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5422 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5423 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5424 >/dev/null 2>conftest.err &&
5425 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5426 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5427 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5428 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5429 # icc doesn't choke on unknown options, it will just issue warnings
5430 # or remarks (even with -Werror). So we grep stderr for any message
5431 # that says an option was ignored or not supported.
5432 # When given -MP, icc 7.0 and 7.1 complain thusly:
5433 # icc: Command line warning: ignoring option '-M'; no argument required
5434 # The diagnosis changed in icc 8.0:
5435 # icc: Command line remark: option '-MP' not supported
5436 if (grep 'ignoring option' conftest.err ||
5437 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5438 am_cv_CC_dependencies_compiler_type=$depmode
5447 am_cv_CC_dependencies_compiler_type=none
5451 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5452 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
5453 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5456 test "x$enable_dependency_tracking" != xno \
5457 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5459 am__fastdepCC_FALSE='#'
5461 am__fastdepCC_TRUE='#'
5462 am__fastdepCC_FALSE=
5467 ac_cpp='$CPP $CPPFLAGS'
5468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5471 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5472 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5473 # On Suns, sometimes $CPP names a directory.
5474 if test -n "$CPP" && test -d "$CPP"; then
5477 if test -z "$CPP"; then
5478 if test "${ac_cv_prog_CPP+set}" = set; then
5479 echo $ECHO_N "(cached) $ECHO_C" >&6
5481 # Double quotes because CPP needs to be expanded
5482 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5485 for ac_c_preproc_warn_flag in '' yes
5487 # Use a header file that comes with gcc, so configuring glibc
5488 # with a fresh cross-compiler works.
5489 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5490 # <limits.h> exists even on freestanding compilers.
5491 # On the NeXT, cc -E runs the code through the compiler's parser,
5492 # not just through cpp. "Syntax error" is here to catch this case.
5493 cat >conftest.$ac_ext <<_ACEOF
5496 cat confdefs.h >>conftest.$ac_ext
5497 cat >>conftest.$ac_ext <<_ACEOF
5498 /* end confdefs.h. */
5500 # include <limits.h>
5502 # include <assert.h>
5506 if { (ac_try="$ac_cpp conftest.$ac_ext"
5508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5509 *) ac_try_echo=$ac_try;;
5511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5512 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5514 grep -v '^ *+' conftest.er1 >conftest.err
5516 cat conftest.err >&5
5517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518 (exit $ac_status); } >/dev/null && {
5519 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5520 test ! -s conftest.err
5524 echo "$as_me: failed program was:" >&5
5525 sed 's/^/| /' conftest.$ac_ext >&5
5527 # Broken: fails on valid input.
5531 rm -f conftest.err conftest.$ac_ext
5533 # OK, works on sane cases. Now check whether nonexistent headers
5534 # can be detected and how.
5535 cat >conftest.$ac_ext <<_ACEOF
5538 cat confdefs.h >>conftest.$ac_ext
5539 cat >>conftest.$ac_ext <<_ACEOF
5540 /* end confdefs.h. */
5541 #include <ac_nonexistent.h>
5543 if { (ac_try="$ac_cpp conftest.$ac_ext"
5545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5546 *) ac_try_echo=$ac_try;;
5548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5549 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5551 grep -v '^ *+' conftest.er1 >conftest.err
5553 cat conftest.err >&5
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); } >/dev/null && {
5556 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5557 test ! -s conftest.err
5559 # Broken: success on invalid input.
5562 echo "$as_me: failed program was:" >&5
5563 sed 's/^/| /' conftest.$ac_ext >&5
5565 # Passes both tests.
5570 rm -f conftest.err conftest.$ac_ext
5573 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5574 rm -f conftest.err conftest.$ac_ext
5575 if $ac_preproc_ok; then
5587 { echo "$as_me:$LINENO: result: $CPP" >&5
5588 echo "${ECHO_T}$CPP" >&6; }
5590 for ac_c_preproc_warn_flag in '' yes
5592 # Use a header file that comes with gcc, so configuring glibc
5593 # with a fresh cross-compiler works.
5594 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5595 # <limits.h> exists even on freestanding compilers.
5596 # On the NeXT, cc -E runs the code through the compiler's parser,
5597 # not just through cpp. "Syntax error" is here to catch this case.
5598 cat >conftest.$ac_ext <<_ACEOF
5601 cat confdefs.h >>conftest.$ac_ext
5602 cat >>conftest.$ac_ext <<_ACEOF
5603 /* end confdefs.h. */
5605 # include <limits.h>
5607 # include <assert.h>
5611 if { (ac_try="$ac_cpp conftest.$ac_ext"
5613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5614 *) ac_try_echo=$ac_try;;
5616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5617 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5619 grep -v '^ *+' conftest.er1 >conftest.err
5621 cat conftest.err >&5
5622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5623 (exit $ac_status); } >/dev/null && {
5624 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5625 test ! -s conftest.err
5629 echo "$as_me: failed program was:" >&5
5630 sed 's/^/| /' conftest.$ac_ext >&5
5632 # Broken: fails on valid input.
5636 rm -f conftest.err conftest.$ac_ext
5638 # OK, works on sane cases. Now check whether nonexistent headers
5639 # can be detected and how.
5640 cat >conftest.$ac_ext <<_ACEOF
5643 cat confdefs.h >>conftest.$ac_ext
5644 cat >>conftest.$ac_ext <<_ACEOF
5645 /* end confdefs.h. */
5646 #include <ac_nonexistent.h>
5648 if { (ac_try="$ac_cpp conftest.$ac_ext"
5650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5651 *) ac_try_echo=$ac_try;;
5653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5654 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5656 grep -v '^ *+' conftest.er1 >conftest.err
5658 cat conftest.err >&5
5659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5660 (exit $ac_status); } >/dev/null && {
5661 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5662 test ! -s conftest.err
5664 # Broken: success on invalid input.
5667 echo "$as_me: failed program was:" >&5
5668 sed 's/^/| /' conftest.$ac_ext >&5
5670 # Passes both tests.
5675 rm -f conftest.err conftest.$ac_ext
5678 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5679 rm -f conftest.err conftest.$ac_ext
5680 if $ac_preproc_ok; then
5683 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5684 See \`config.log' for more details." >&5
5685 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5686 See \`config.log' for more details." >&2;}
5687 { (exit 1); exit 1; }; }
5691 ac_cpp='$CPP $CPPFLAGS'
5692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5697 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
5698 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
5699 if test "${ac_cv_search_strerror+set}" = set; then
5700 echo $ECHO_N "(cached) $ECHO_C" >&6
5702 ac_func_search_save_LIBS=$LIBS
5703 cat >conftest.$ac_ext <<_ACEOF
5706 cat confdefs.h >>conftest.$ac_ext
5707 cat >>conftest.$ac_ext <<_ACEOF
5708 /* end confdefs.h. */
5710 /* Override any GCC internal prototype to avoid an error.
5711 Use char because int might match the return type of a GCC
5712 builtin and then its argument prototype would still apply. */
5725 for ac_lib in '' cposix; do
5726 if test -z "$ac_lib"; then
5727 ac_res="none required"
5730 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5732 rm -f conftest.$ac_objext conftest$ac_exeext
5733 if { (ac_try="$ac_link"
5735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5736 *) ac_try_echo=$ac_try;;
5738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5739 (eval "$ac_link") 2>conftest.er1
5741 grep -v '^ *+' conftest.er1 >conftest.err
5743 cat conftest.err >&5
5744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5745 (exit $ac_status); } && {
5746 test -z "$ac_c_werror_flag" ||
5747 test ! -s conftest.err
5748 } && test -s conftest$ac_exeext &&
5749 $as_test_x conftest$ac_exeext; then
5750 ac_cv_search_strerror=$ac_res
5752 echo "$as_me: failed program was:" >&5
5753 sed 's/^/| /' conftest.$ac_ext >&5
5758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5760 if test "${ac_cv_search_strerror+set}" = set; then
5764 if test "${ac_cv_search_strerror+set}" = set; then
5767 ac_cv_search_strerror=no
5770 LIBS=$ac_func_search_save_LIBS
5772 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
5773 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
5774 ac_res=$ac_cv_search_strerror
5775 if test "$ac_res" != no; then
5776 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5780 # Find a good install program. We prefer a C program (faster),
5781 # so one script is as good as another. But avoid the broken or
5782 # incompatible versions:
5783 # SysV /etc/install, /usr/sbin/install
5784 # SunOS /usr/etc/install
5785 # IRIX /sbin/install
5787 # AmigaOS /C/install, which installs bootblocks on floppy discs
5788 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5789 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5790 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5791 # OS/2's system install, which has a completely different semantic
5792 # ./install, which can be erroneously created by make from ./install.sh.
5793 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5794 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5795 if test -z "$INSTALL"; then
5796 if test "${ac_cv_path_install+set}" = set; then
5797 echo $ECHO_N "(cached) $ECHO_C" >&6
5799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5803 test -z "$as_dir" && as_dir=.
5804 # Account for people who put trailing slashes in PATH elements.
5806 ./ | .// | /cC/* | \
5807 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5808 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5811 # OSF1 and SCO ODT 3.0 have their own names for install.
5812 # Don't use installbsd from OSF since it installs stuff as root
5814 for ac_prog in ginstall scoinst install; do
5815 for ac_exec_ext in '' $ac_executable_extensions; do
5816 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5817 if test $ac_prog = install &&
5818 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5819 # AIX install. It has an incompatible calling convention.
5821 elif test $ac_prog = install &&
5822 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5823 # program-specific install script used by HP pwplus--don't use.
5826 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5839 if test "${ac_cv_path_install+set}" = set; then
5840 INSTALL=$ac_cv_path_install
5842 # As a last resort, use the slow shell script. Don't cache a
5843 # value for INSTALL within a source directory, because that will
5844 # break other packages using the cache if that directory is
5845 # removed, or if the value is a relative name.
5846 INSTALL=$ac_install_sh
5849 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5850 echo "${ECHO_T}$INSTALL" >&6; }
5852 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5853 # It thinks the first close brace ends the variable substitution.
5854 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5856 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5858 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5860 for ac_prog in lex flex
5862 # Extract the first word of "$ac_prog", so it can be a program name with args.
5863 set dummy $ac_prog; ac_word=$2
5864 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5866 if test "${ac_cv_prog_LEX+set}" = set; then
5867 echo $ECHO_N "(cached) $ECHO_C" >&6
5869 if test -n "$LEX"; then
5870 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5876 test -z "$as_dir" && as_dir=.
5877 for ac_exec_ext in '' $ac_executable_extensions; do
5878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5879 ac_cv_prog_LEX="$ac_prog"
5880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5890 if test -n "$LEX"; then
5891 { echo "$as_me:$LINENO: result: $LEX" >&5
5892 echo "${ECHO_T}$LEX" >&6; }
5894 { echo "$as_me:$LINENO: result: no" >&5
5895 echo "${ECHO_T}no" >&6; }
5899 test -n "$LEX" && break
5901 test -n "$LEX" || LEX="lex_not_found"
5903 if test "$LEX" != lex_not_found ; then
5904 for ac_prog in flex lex
5906 # Extract the first word of "$ac_prog", so it can be a program name with args.
5907 set dummy $ac_prog; ac_word=$2
5908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5910 if test "${ac_cv_prog_LEX+set}" = set; then
5911 echo $ECHO_N "(cached) $ECHO_C" >&6
5913 if test -n "$LEX"; then
5914 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5920 test -z "$as_dir" && as_dir=.
5921 for ac_exec_ext in '' $ac_executable_extensions; do
5922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5923 ac_cv_prog_LEX="$ac_prog"
5924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5934 if test -n "$LEX"; then
5935 { echo "$as_me:$LINENO: result: $LEX" >&5
5936 echo "${ECHO_T}$LEX" >&6; }
5938 { echo "$as_me:$LINENO: result: no" >&5
5939 echo "${ECHO_T}no" >&6; }
5943 test -n "$LEX" && break
5945 test -n "$LEX" || LEX=":"
5947 if test "x$LEX" != "x:"; then
5948 cat >conftest.l <<_ACEOF
5954 e { yyless (input () != 0); }
5955 f { unput (yytext[0]); }
5956 . { BEGIN INITIAL; }
5958 #ifdef YYTEXT_POINTER
5959 extern char *yytext;
5964 return ! yylex () + ! yywrap ();
5967 { (ac_try="$LEX conftest.l"
5969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5970 *) ac_try_echo=$ac_try;;
5972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5973 (eval "$LEX conftest.l") 2>&5
5975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5976 (exit $ac_status); }
5977 { echo "$as_me:$LINENO: checking lex output file root" >&5
5978 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5979 if test "${ac_cv_prog_lex_root+set}" = set; then
5980 echo $ECHO_N "(cached) $ECHO_C" >&6
5983 if test -f lex.yy.c; then
5984 ac_cv_prog_lex_root=lex.yy
5985 elif test -f lexyy.c; then
5986 ac_cv_prog_lex_root=lexyy
5988 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5989 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5990 { (exit 1); exit 1; }; }
5993 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5994 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5995 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5997 if test -z "${LEXLIB+set}"; then
5998 { echo "$as_me:$LINENO: checking lex library" >&5
5999 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
6000 if test "${ac_cv_lib_lex+set}" = set; then
6001 echo $ECHO_N "(cached) $ECHO_C" >&6
6005 ac_cv_lib_lex='none needed'
6006 for ac_lib in '' -lfl -ll; do
6007 LIBS="$ac_lib $ac_save_LIBS"
6008 cat >conftest.$ac_ext <<_ACEOF
6009 `cat $LEX_OUTPUT_ROOT.c`
6011 rm -f conftest.$ac_objext conftest$ac_exeext
6012 if { (ac_try="$ac_link"
6014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6015 *) ac_try_echo=$ac_try;;
6017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6018 (eval "$ac_link") 2>conftest.er1
6020 grep -v '^ *+' conftest.er1 >conftest.err
6022 cat conftest.err >&5
6023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6024 (exit $ac_status); } && {
6025 test -z "$ac_c_werror_flag" ||
6026 test ! -s conftest.err
6027 } && test -s conftest$ac_exeext &&
6028 $as_test_x conftest$ac_exeext; then
6029 ac_cv_lib_lex=$ac_lib
6031 echo "$as_me: failed program was:" >&5
6032 sed 's/^/| /' conftest.$ac_ext >&5
6037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6038 conftest$ac_exeext conftest.$ac_ext
6039 test "$ac_cv_lib_lex" != 'none needed' && break
6044 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
6045 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
6046 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
6050 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
6051 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
6052 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
6053 echo $ECHO_N "(cached) $ECHO_C" >&6
6055 # POSIX says lex can declare yytext either as a pointer or an array; the
6056 # default is implementation-dependent. Figure out which it is, since
6057 # not all implementations provide the %pointer and %array declarations.
6058 ac_cv_prog_lex_yytext_pointer=no
6060 LIBS="$LEXLIB $ac_save_LIBS"
6061 cat >conftest.$ac_ext <<_ACEOF
6062 #define YYTEXT_POINTER 1
6063 `cat $LEX_OUTPUT_ROOT.c`
6065 rm -f conftest.$ac_objext conftest$ac_exeext
6066 if { (ac_try="$ac_link"
6068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6069 *) ac_try_echo=$ac_try;;
6071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6072 (eval "$ac_link") 2>conftest.er1
6074 grep -v '^ *+' conftest.er1 >conftest.err
6076 cat conftest.err >&5
6077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6078 (exit $ac_status); } && {
6079 test -z "$ac_c_werror_flag" ||
6080 test ! -s conftest.err
6081 } && test -s conftest$ac_exeext &&
6082 $as_test_x conftest$ac_exeext; then
6083 ac_cv_prog_lex_yytext_pointer=yes
6085 echo "$as_me: failed program was:" >&5
6086 sed 's/^/| /' conftest.$ac_ext >&5
6091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6092 conftest$ac_exeext conftest.$ac_ext
6096 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
6097 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
6098 if test $ac_cv_prog_lex_yytext_pointer = yes; then
6100 cat >>confdefs.h <<\_ACEOF
6101 #define YYTEXT_POINTER 1
6105 rm -f conftest.l $LEX_OUTPUT_ROOT.c
6109 for ac_prog in remsh rsh
6111 # Extract the first word of "$ac_prog", so it can be a program name with args.
6112 set dummy $ac_prog; ac_word=$2
6113 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6115 if test "${ac_cv_prog_RSH+set}" = set; then
6116 echo $ECHO_N "(cached) $ECHO_C" >&6
6118 if test -n "$RSH"; then
6119 ac_cv_prog_RSH="$RSH" # Let the user override the test.
6121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6125 test -z "$as_dir" && as_dir=.
6126 for ac_exec_ext in '' $ac_executable_extensions; do
6127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6128 ac_cv_prog_RSH="$ac_prog"
6129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6139 if test -n "$RSH"; then
6140 { echo "$as_me:$LINENO: result: $RSH" >&5
6141 echo "${ECHO_T}$RSH" >&6; }
6143 { echo "$as_me:$LINENO: result: no" >&5
6144 echo "${ECHO_T}no" >&6; }
6148 test -n "$RSH" && break
6150 test -n "$RSH" || RSH="rsh"
6152 for ac_prog in makeinfo
6154 # Extract the first word of "$ac_prog", so it can be a program name with args.
6155 set dummy $ac_prog; ac_word=$2
6156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6158 if test "${ac_cv_prog_MINFO+set}" = set; then
6159 echo $ECHO_N "(cached) $ECHO_C" >&6
6161 if test -n "$MINFO"; then
6162 ac_cv_prog_MINFO="$MINFO" # Let the user override the test.
6164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6168 test -z "$as_dir" && as_dir=.
6169 for ac_exec_ext in '' $ac_executable_extensions; do
6170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6171 ac_cv_prog_MINFO="$ac_prog"
6172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6181 MINFO=$ac_cv_prog_MINFO
6182 if test -n "$MINFO"; then
6183 { echo "$as_me:$LINENO: result: $MINFO" >&5
6184 echo "${ECHO_T}$MINFO" >&6; }
6186 { echo "$as_me:$LINENO: result: no" >&5
6187 echo "${ECHO_T}no" >&6; }
6191 test -n "$MINFO" && break
6193 test -n "$MINFO" || MINFO="makeinfo_not_found"
6195 if test "$MINFO" == makeinfo_not_found ; then
6196 echo Please install \"makeinfo\"
6199 cat >>confdefs.h <<_ACEOF
6200 #define REMOTE_SHELL "$RSH"
6203 # Extract the first word of "nroff", so it can be a program name with args.
6204 set dummy nroff; ac_word=$2
6205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6207 if test "${ac_cv_prog_NROFF+set}" = set; then
6208 echo $ECHO_N "(cached) $ECHO_C" >&6
6210 if test -n "$NROFF"; then
6211 ac_cv_prog_NROFF="$NROFF" # Let the user override the test.
6213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6217 test -z "$as_dir" && as_dir=.
6218 for ac_exec_ext in '' $ac_executable_extensions; do
6219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6220 ac_cv_prog_NROFF="nroff -man"
6221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6228 test -z "$ac_cv_prog_NROFF" && ac_cv_prog_NROFF="cat"
6231 NROFF=$ac_cv_prog_NROFF
6232 if test -n "$NROFF"; then
6233 { echo "$as_me:$LINENO: result: $NROFF" >&5
6234 echo "${ECHO_T}$NROFF" >&6; }
6236 { echo "$as_me:$LINENO: result: no" >&5
6237 echo "${ECHO_T}no" >&6; }
6242 for ac_prog in awk mawk gawk nawk
6244 # Extract the first word of "$ac_prog", so it can be a program name with args.
6245 set dummy $ac_prog; ac_word=$2
6246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6248 if test "${ac_cv_path_AWKPATH+set}" = set; then
6249 echo $ECHO_N "(cached) $ECHO_C" >&6
6253 ac_cv_path_AWKPATH="$AWKPATH" # Let the user override the test with a path.
6256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6260 test -z "$as_dir" && as_dir=.
6261 for ac_exec_ext in '' $ac_executable_extensions; do
6262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6263 ac_cv_path_AWKPATH="$as_dir/$ac_word$ac_exec_ext"
6264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6274 AWKPATH=$ac_cv_path_AWKPATH
6275 if test -n "$AWKPATH"; then
6276 { echo "$as_me:$LINENO: result: $AWKPATH" >&5
6277 echo "${ECHO_T}$AWKPATH" >&6; }
6279 { echo "$as_me:$LINENO: result: no" >&5
6280 echo "${ECHO_T}no" >&6; }
6284 test -n "$AWKPATH" && break
6289 # Extract the first word of "$ac_prog", so it can be a program name with args.
6290 set dummy $ac_prog; ac_word=$2
6291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6293 if test "${ac_cv_path_PERLPATH+set}" = set; then
6294 echo $ECHO_N "(cached) $ECHO_C" >&6
6298 ac_cv_path_PERLPATH="$PERLPATH" # Let the user override the test with a path.
6301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6305 test -z "$as_dir" && as_dir=.
6306 for ac_exec_ext in '' $ac_executable_extensions; do
6307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6308 ac_cv_path_PERLPATH="$as_dir/$ac_word$ac_exec_ext"
6309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6319 PERLPATH=$ac_cv_path_PERLPATH
6320 if test -n "$PERLPATH"; then
6321 { echo "$as_me:$LINENO: result: $PERLPATH" >&5
6322 echo "${ECHO_T}$PERLPATH" >&6; }
6324 { echo "$as_me:$LINENO: result: no" >&5
6325 echo "${ECHO_T}no" >&6; }
6329 test -n "$PERLPATH" && break
6337 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6338 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6339 if test "${ac_cv_path_GREP+set}" = set; then
6340 echo $ECHO_N "(cached) $ECHO_C" >&6
6342 # Extract the first word of "grep ggrep" to use in msg output
6343 if test -z "$GREP"; then
6344 set dummy grep ggrep; ac_prog_name=$2
6345 if test "${ac_cv_path_GREP+set}" = set; then
6346 echo $ECHO_N "(cached) $ECHO_C" >&6
6348 ac_path_GREP_found=false
6349 # Loop through the user's path and test for each of PROGNAME-LIST
6350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6351 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6354 test -z "$as_dir" && as_dir=.
6355 for ac_prog in grep ggrep; do
6356 for ac_exec_ext in '' $ac_executable_extensions; do
6357 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6358 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6359 # Check for GNU ac_path_GREP and select it if it is found.
6360 # Check for GNU $ac_path_GREP
6361 case `"$ac_path_GREP" --version 2>&1` in
6363 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6366 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6369 cat "conftest.in" "conftest.in" >"conftest.tmp"
6370 mv "conftest.tmp" "conftest.in"
6371 cp "conftest.in" "conftest.nl"
6372 echo 'GREP' >> "conftest.nl"
6373 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6374 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6375 ac_count=`expr $ac_count + 1`
6376 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6377 # Best one so far, save it but keep looking for a better one
6378 ac_cv_path_GREP="$ac_path_GREP"
6379 ac_path_GREP_max=$ac_count
6381 # 10*(2^10) chars as input seems more than enough
6382 test $ac_count -gt 10 && break
6384 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6388 $ac_path_GREP_found && break 3
6398 GREP="$ac_cv_path_GREP"
6399 if test -z "$GREP"; then
6400 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6401 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6402 { (exit 1); exit 1; }; }
6406 ac_cv_path_GREP=$GREP
6411 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6412 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6413 GREP="$ac_cv_path_GREP"
6416 { echo "$as_me:$LINENO: checking for egrep" >&5
6417 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6418 if test "${ac_cv_path_EGREP+set}" = set; then
6419 echo $ECHO_N "(cached) $ECHO_C" >&6
6421 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6422 then ac_cv_path_EGREP="$GREP -E"
6424 # Extract the first word of "egrep" to use in msg output
6425 if test -z "$EGREP"; then
6426 set dummy egrep; ac_prog_name=$2
6427 if test "${ac_cv_path_EGREP+set}" = set; then
6428 echo $ECHO_N "(cached) $ECHO_C" >&6
6430 ac_path_EGREP_found=false
6431 # Loop through the user's path and test for each of PROGNAME-LIST
6432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6433 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6436 test -z "$as_dir" && as_dir=.
6437 for ac_prog in egrep; do
6438 for ac_exec_ext in '' $ac_executable_extensions; do
6439 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6440 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6441 # Check for GNU ac_path_EGREP and select it if it is found.
6442 # Check for GNU $ac_path_EGREP
6443 case `"$ac_path_EGREP" --version 2>&1` in
6445 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6448 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6451 cat "conftest.in" "conftest.in" >"conftest.tmp"
6452 mv "conftest.tmp" "conftest.in"
6453 cp "conftest.in" "conftest.nl"
6454 echo 'EGREP' >> "conftest.nl"
6455 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6456 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6457 ac_count=`expr $ac_count + 1`
6458 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6459 # Best one so far, save it but keep looking for a better one
6460 ac_cv_path_EGREP="$ac_path_EGREP"
6461 ac_path_EGREP_max=$ac_count
6463 # 10*(2^10) chars as input seems more than enough
6464 test $ac_count -gt 10 && break
6466 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6470 $ac_path_EGREP_found && break 3
6480 EGREP="$ac_cv_path_EGREP"
6481 if test -z "$EGREP"; then
6482 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6483 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6484 { (exit 1); exit 1; }; }
6488 ac_cv_path_EGREP=$EGREP
6494 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6495 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6496 EGREP="$ac_cv_path_EGREP"
6499 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6500 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6501 if test "${ac_cv_header_stdc+set}" = set; then
6502 echo $ECHO_N "(cached) $ECHO_C" >&6
6504 cat >conftest.$ac_ext <<_ACEOF
6507 cat confdefs.h >>conftest.$ac_ext
6508 cat >>conftest.$ac_ext <<_ACEOF
6509 /* end confdefs.h. */
6523 rm -f conftest.$ac_objext
6524 if { (ac_try="$ac_compile"
6526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6527 *) ac_try_echo=$ac_try;;
6529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6530 (eval "$ac_compile") 2>conftest.er1
6532 grep -v '^ *+' conftest.er1 >conftest.err
6534 cat conftest.err >&5
6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6536 (exit $ac_status); } && {
6537 test -z "$ac_c_werror_flag" ||
6538 test ! -s conftest.err
6539 } && test -s conftest.$ac_objext; then
6540 ac_cv_header_stdc=yes
6542 echo "$as_me: failed program was:" >&5
6543 sed 's/^/| /' conftest.$ac_ext >&5
6545 ac_cv_header_stdc=no
6548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6550 if test $ac_cv_header_stdc = yes; then
6551 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6552 cat >conftest.$ac_ext <<_ACEOF
6555 cat confdefs.h >>conftest.$ac_ext
6556 cat >>conftest.$ac_ext <<_ACEOF
6557 /* end confdefs.h. */
6561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6562 $EGREP "memchr" >/dev/null 2>&1; then
6565 ac_cv_header_stdc=no
6571 if test $ac_cv_header_stdc = yes; then
6572 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6573 cat >conftest.$ac_ext <<_ACEOF
6576 cat confdefs.h >>conftest.$ac_ext
6577 cat >>conftest.$ac_ext <<_ACEOF
6578 /* end confdefs.h. */
6582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6583 $EGREP "free" >/dev/null 2>&1; then
6586 ac_cv_header_stdc=no
6592 if test $ac_cv_header_stdc = yes; then
6593 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6594 if test "$cross_compiling" = yes; then
6597 cat >conftest.$ac_ext <<_ACEOF
6600 cat confdefs.h >>conftest.$ac_ext
6601 cat >>conftest.$ac_ext <<_ACEOF
6602 /* end confdefs.h. */
6605 #if ((' ' & 0x0FF) == 0x020)
6606 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6607 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6609 # define ISLOWER(c) \
6610 (('a' <= (c) && (c) <= 'i') \
6611 || ('j' <= (c) && (c) <= 'r') \
6612 || ('s' <= (c) && (c) <= 'z'))
6613 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6616 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6621 for (i = 0; i < 256; i++)
6622 if (XOR (islower (i), ISLOWER (i))
6623 || toupper (i) != TOUPPER (i))
6628 rm -f conftest$ac_exeext
6629 if { (ac_try="$ac_link"
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_link") 2>&5
6637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6639 { (case "(($ac_try" in
6640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6641 *) ac_try_echo=$ac_try;;
6643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6644 (eval "$ac_try") 2>&5
6646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6647 (exit $ac_status); }; }; then
6650 echo "$as_me: program exited with status $ac_status" >&5
6651 echo "$as_me: failed program was:" >&5
6652 sed 's/^/| /' conftest.$ac_ext >&5
6655 ac_cv_header_stdc=no
6657 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6663 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6664 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6665 if test $ac_cv_header_stdc = yes; then
6667 cat >>confdefs.h <<\_ACEOF
6668 #define STDC_HEADERS 1
6673 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6674 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6675 if test "${ac_cv_header_time+set}" = set; then
6676 echo $ECHO_N "(cached) $ECHO_C" >&6
6678 cat >conftest.$ac_ext <<_ACEOF
6681 cat confdefs.h >>conftest.$ac_ext
6682 cat >>conftest.$ac_ext <<_ACEOF
6683 /* end confdefs.h. */
6684 #include <sys/types.h>
6685 #include <sys/time.h>
6691 if ((struct tm *) 0)
6697 rm -f conftest.$ac_objext
6698 if { (ac_try="$ac_compile"
6700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6701 *) ac_try_echo=$ac_try;;
6703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6704 (eval "$ac_compile") 2>conftest.er1
6706 grep -v '^ *+' conftest.er1 >conftest.err
6708 cat conftest.err >&5
6709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6710 (exit $ac_status); } && {
6711 test -z "$ac_c_werror_flag" ||
6712 test ! -s conftest.err
6713 } && test -s conftest.$ac_objext; then
6714 ac_cv_header_time=yes
6716 echo "$as_me: failed program was:" >&5
6717 sed 's/^/| /' conftest.$ac_ext >&5
6719 ac_cv_header_time=no
6722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6724 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6725 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6726 if test $ac_cv_header_time = yes; then
6728 cat >>confdefs.h <<\_ACEOF
6729 #define TIME_WITH_SYS_TIME 1
6734 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6735 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
6736 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6737 echo $ECHO_N "(cached) $ECHO_C" >&6
6739 cat >conftest.$ac_ext <<_ACEOF
6742 cat confdefs.h >>conftest.$ac_ext
6743 cat >>conftest.$ac_ext <<_ACEOF
6744 /* end confdefs.h. */
6745 #include <sys/types.h>
6746 #include <sys/wait.h>
6748 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6751 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6759 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6764 rm -f conftest.$ac_objext
6765 if { (ac_try="$ac_compile"
6767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6768 *) ac_try_echo=$ac_try;;
6770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6771 (eval "$ac_compile") 2>conftest.er1
6773 grep -v '^ *+' conftest.er1 >conftest.err
6775 cat conftest.err >&5
6776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6777 (exit $ac_status); } && {
6778 test -z "$ac_c_werror_flag" ||
6779 test ! -s conftest.err
6780 } && test -s conftest.$ac_objext; then
6781 ac_cv_header_sys_wait_h=yes
6783 echo "$as_me: failed program was:" >&5
6784 sed 's/^/| /' conftest.$ac_ext >&5
6786 ac_cv_header_sys_wait_h=no
6789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6791 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6792 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
6793 if test $ac_cv_header_sys_wait_h = yes; then
6795 cat >>confdefs.h <<\_ACEOF
6796 #define HAVE_SYS_WAIT_H 1
6807 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
6808 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6809 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
6810 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
6811 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6812 echo $ECHO_N "(cached) $ECHO_C" >&6
6814 cat >conftest.$ac_ext <<_ACEOF
6817 cat confdefs.h >>conftest.$ac_ext
6818 cat >>conftest.$ac_ext <<_ACEOF
6819 /* end confdefs.h. */
6820 #include <sys/types.h>
6832 rm -f conftest.$ac_objext
6833 if { (ac_try="$ac_compile"
6835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6836 *) ac_try_echo=$ac_try;;
6838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6839 (eval "$ac_compile") 2>conftest.er1
6841 grep -v '^ *+' conftest.er1 >conftest.err
6843 cat conftest.err >&5
6844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6845 (exit $ac_status); } && {
6846 test -z "$ac_c_werror_flag" ||
6847 test ! -s conftest.err
6848 } && test -s conftest.$ac_objext; then
6849 eval "$as_ac_Header=yes"
6851 echo "$as_me: failed program was:" >&5
6852 sed 's/^/| /' conftest.$ac_ext >&5
6854 eval "$as_ac_Header=no"
6857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6859 ac_res=`eval echo '${'$as_ac_Header'}'`
6860 { echo "$as_me:$LINENO: result: $ac_res" >&5
6861 echo "${ECHO_T}$ac_res" >&6; }
6862 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6863 cat >>confdefs.h <<_ACEOF
6864 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6867 ac_header_dirent=$ac_hdr; break
6871 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6872 if test $ac_header_dirent = dirent.h; then
6873 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
6874 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
6875 if test "${ac_cv_search_opendir+set}" = set; then
6876 echo $ECHO_N "(cached) $ECHO_C" >&6
6878 ac_func_search_save_LIBS=$LIBS
6879 cat >conftest.$ac_ext <<_ACEOF
6882 cat confdefs.h >>conftest.$ac_ext
6883 cat >>conftest.$ac_ext <<_ACEOF
6884 /* end confdefs.h. */
6886 /* Override any GCC internal prototype to avoid an error.
6887 Use char because int might match the return type of a GCC
6888 builtin and then its argument prototype would still apply. */
6901 for ac_lib in '' dir; do
6902 if test -z "$ac_lib"; then
6903 ac_res="none required"
6906 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6908 rm -f conftest.$ac_objext conftest$ac_exeext
6909 if { (ac_try="$ac_link"
6911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6912 *) ac_try_echo=$ac_try;;
6914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6915 (eval "$ac_link") 2>conftest.er1
6917 grep -v '^ *+' conftest.er1 >conftest.err
6919 cat conftest.err >&5
6920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6921 (exit $ac_status); } && {
6922 test -z "$ac_c_werror_flag" ||
6923 test ! -s conftest.err
6924 } && test -s conftest$ac_exeext &&
6925 $as_test_x conftest$ac_exeext; then
6926 ac_cv_search_opendir=$ac_res
6928 echo "$as_me: failed program was:" >&5
6929 sed 's/^/| /' conftest.$ac_ext >&5
6934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6936 if test "${ac_cv_search_opendir+set}" = set; then
6940 if test "${ac_cv_search_opendir+set}" = set; then
6943 ac_cv_search_opendir=no
6946 LIBS=$ac_func_search_save_LIBS
6948 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6949 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
6950 ac_res=$ac_cv_search_opendir
6951 if test "$ac_res" != no; then
6952 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6957 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
6958 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
6959 if test "${ac_cv_search_opendir+set}" = set; then
6960 echo $ECHO_N "(cached) $ECHO_C" >&6
6962 ac_func_search_save_LIBS=$LIBS
6963 cat >conftest.$ac_ext <<_ACEOF
6966 cat confdefs.h >>conftest.$ac_ext
6967 cat >>conftest.$ac_ext <<_ACEOF
6968 /* end confdefs.h. */
6970 /* Override any GCC internal prototype to avoid an error.
6971 Use char because int might match the return type of a GCC
6972 builtin and then its argument prototype would still apply. */
6985 for ac_lib in '' x; do
6986 if test -z "$ac_lib"; then
6987 ac_res="none required"
6990 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6992 rm -f conftest.$ac_objext conftest$ac_exeext
6993 if { (ac_try="$ac_link"
6995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6996 *) ac_try_echo=$ac_try;;
6998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6999 (eval "$ac_link") 2>conftest.er1
7001 grep -v '^ *+' conftest.er1 >conftest.err
7003 cat conftest.err >&5
7004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7005 (exit $ac_status); } && {
7006 test -z "$ac_c_werror_flag" ||
7007 test ! -s conftest.err
7008 } && test -s conftest$ac_exeext &&
7009 $as_test_x conftest$ac_exeext; then
7010 ac_cv_search_opendir=$ac_res
7012 echo "$as_me: failed program was:" >&5
7013 sed 's/^/| /' conftest.$ac_ext >&5
7018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7020 if test "${ac_cv_search_opendir+set}" = set; then
7024 if test "${ac_cv_search_opendir+set}" = set; then
7027 ac_cv_search_opendir=no
7030 LIBS=$ac_func_search_save_LIBS
7032 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
7033 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
7034 ac_res=$ac_cv_search_opendir
7035 if test "$ac_res" != no; then
7036 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
7042 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
7043 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
7044 if test "${ac_cv_type_signal+set}" = set; then
7045 echo $ECHO_N "(cached) $ECHO_C" >&6
7047 cat >conftest.$ac_ext <<_ACEOF
7050 cat confdefs.h >>conftest.$ac_ext
7051 cat >>conftest.$ac_ext <<_ACEOF
7052 /* end confdefs.h. */
7053 #include <sys/types.h>
7059 return *(signal (0, 0)) (0) == 1;
7064 rm -f conftest.$ac_objext
7065 if { (ac_try="$ac_compile"
7067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7068 *) ac_try_echo=$ac_try;;
7070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7071 (eval "$ac_compile") 2>conftest.er1
7073 grep -v '^ *+' conftest.er1 >conftest.err
7075 cat conftest.err >&5
7076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7077 (exit $ac_status); } && {
7078 test -z "$ac_c_werror_flag" ||
7079 test ! -s conftest.err
7080 } && test -s conftest.$ac_objext; then
7081 ac_cv_type_signal=int
7083 echo "$as_me: failed program was:" >&5
7084 sed 's/^/| /' conftest.$ac_ext >&5
7086 ac_cv_type_signal=void
7089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7091 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
7092 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
7094 cat >>confdefs.h <<_ACEOF
7095 #define RETSIGTYPE $ac_cv_type_signal
7099 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7109 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7110 inttypes.h stdint.h unistd.h
7112 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7113 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7115 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7116 echo $ECHO_N "(cached) $ECHO_C" >&6
7118 cat >conftest.$ac_ext <<_ACEOF
7121 cat confdefs.h >>conftest.$ac_ext
7122 cat >>conftest.$ac_ext <<_ACEOF
7123 /* end confdefs.h. */
7124 $ac_includes_default
7126 #include <$ac_header>
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 test -z "$ac_c_werror_flag" ||
7143 test ! -s conftest.err
7144 } && test -s conftest.$ac_objext; then
7145 eval "$as_ac_Header=yes"
7147 echo "$as_me: failed program was:" >&5
7148 sed 's/^/| /' conftest.$ac_ext >&5
7150 eval "$as_ac_Header=no"
7153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7155 ac_res=`eval echo '${'$as_ac_Header'}'`
7156 { echo "$as_me:$LINENO: result: $ac_res" >&5
7157 echo "${ECHO_T}$ac_res" >&6; }
7158 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7159 cat >>confdefs.h <<_ACEOF
7160 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7173 for ac_header in stropts.h sys/time.h string.h unistd.h sys/systeminfo.h
7175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7177 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7179 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7180 echo $ECHO_N "(cached) $ECHO_C" >&6
7182 ac_res=`eval echo '${'$as_ac_Header'}'`
7183 { echo "$as_me:$LINENO: result: $ac_res" >&5
7184 echo "${ECHO_T}$ac_res" >&6; }
7186 # Is the header compilable?
7187 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7188 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7189 cat >conftest.$ac_ext <<_ACEOF
7192 cat confdefs.h >>conftest.$ac_ext
7193 cat >>conftest.$ac_ext <<_ACEOF
7194 /* end confdefs.h. */
7195 $ac_includes_default
7196 #include <$ac_header>
7198 rm -f conftest.$ac_objext
7199 if { (ac_try="$ac_compile"
7201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7202 *) ac_try_echo=$ac_try;;
7204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7205 (eval "$ac_compile") 2>conftest.er1
7207 grep -v '^ *+' conftest.er1 >conftest.err
7209 cat conftest.err >&5
7210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7211 (exit $ac_status); } && {
7212 test -z "$ac_c_werror_flag" ||
7213 test ! -s conftest.err
7214 } && test -s conftest.$ac_objext; then
7215 ac_header_compiler=yes
7217 echo "$as_me: failed program was:" >&5
7218 sed 's/^/| /' conftest.$ac_ext >&5
7220 ac_header_compiler=no
7223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7224 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7225 echo "${ECHO_T}$ac_header_compiler" >&6; }
7227 # Is the header present?
7228 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7229 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7230 cat >conftest.$ac_ext <<_ACEOF
7233 cat confdefs.h >>conftest.$ac_ext
7234 cat >>conftest.$ac_ext <<_ACEOF
7235 /* end confdefs.h. */
7236 #include <$ac_header>
7238 if { (ac_try="$ac_cpp conftest.$ac_ext"
7240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7241 *) ac_try_echo=$ac_try;;
7243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7244 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7246 grep -v '^ *+' conftest.er1 >conftest.err
7248 cat conftest.err >&5
7249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7250 (exit $ac_status); } >/dev/null && {
7251 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7252 test ! -s conftest.err
7254 ac_header_preproc=yes
7256 echo "$as_me: failed program was:" >&5
7257 sed 's/^/| /' conftest.$ac_ext >&5
7259 ac_header_preproc=no
7262 rm -f conftest.err conftest.$ac_ext
7263 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7264 echo "${ECHO_T}$ac_header_preproc" >&6; }
7266 # So? What about this header?
7267 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7269 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7270 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7271 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7272 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7273 ac_header_preproc=yes
7276 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7277 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7278 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7279 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7280 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7281 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7282 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7283 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7285 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7286 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7287 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7291 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7293 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7294 echo $ECHO_N "(cached) $ECHO_C" >&6
7296 eval "$as_ac_Header=\$ac_header_preproc"
7298 ac_res=`eval echo '${'$as_ac_Header'}'`
7299 { echo "$as_me:$LINENO: result: $ac_res" >&5
7300 echo "${ECHO_T}$ac_res" >&6; }
7303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7304 cat >>confdefs.h <<_ACEOF
7305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7314 for ac_header in fcntl.h sys/fcntl.h
7316 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7317 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7318 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7320 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7321 echo $ECHO_N "(cached) $ECHO_C" >&6
7323 ac_res=`eval echo '${'$as_ac_Header'}'`
7324 { echo "$as_me:$LINENO: result: $ac_res" >&5
7325 echo "${ECHO_T}$ac_res" >&6; }
7327 # Is the header compilable?
7328 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7329 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7330 cat >conftest.$ac_ext <<_ACEOF
7333 cat confdefs.h >>conftest.$ac_ext
7334 cat >>conftest.$ac_ext <<_ACEOF
7335 /* end confdefs.h. */
7336 $ac_includes_default
7337 #include <$ac_header>
7339 rm -f conftest.$ac_objext
7340 if { (ac_try="$ac_compile"
7342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7343 *) ac_try_echo=$ac_try;;
7345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7346 (eval "$ac_compile") 2>conftest.er1
7348 grep -v '^ *+' conftest.er1 >conftest.err
7350 cat conftest.err >&5
7351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7352 (exit $ac_status); } && {
7353 test -z "$ac_c_werror_flag" ||
7354 test ! -s conftest.err
7355 } && test -s conftest.$ac_objext; then
7356 ac_header_compiler=yes
7358 echo "$as_me: failed program was:" >&5
7359 sed 's/^/| /' conftest.$ac_ext >&5
7361 ac_header_compiler=no
7364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7365 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7366 echo "${ECHO_T}$ac_header_compiler" >&6; }
7368 # Is the header present?
7369 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7370 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7371 cat >conftest.$ac_ext <<_ACEOF
7374 cat confdefs.h >>conftest.$ac_ext
7375 cat >>conftest.$ac_ext <<_ACEOF
7376 /* end confdefs.h. */
7377 #include <$ac_header>
7379 if { (ac_try="$ac_cpp conftest.$ac_ext"
7381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7382 *) ac_try_echo=$ac_try;;
7384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7385 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7387 grep -v '^ *+' conftest.er1 >conftest.err
7389 cat conftest.err >&5
7390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7391 (exit $ac_status); } >/dev/null && {
7392 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7393 test ! -s conftest.err
7395 ac_header_preproc=yes
7397 echo "$as_me: failed program was:" >&5
7398 sed 's/^/| /' conftest.$ac_ext >&5
7400 ac_header_preproc=no
7403 rm -f conftest.err conftest.$ac_ext
7404 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7405 echo "${ECHO_T}$ac_header_preproc" >&6; }
7407 # So? What about this header?
7408 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7410 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7411 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7412 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7413 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7414 ac_header_preproc=yes
7417 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7418 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7419 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7420 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7421 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7422 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7423 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7424 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7425 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7426 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7427 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7428 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7432 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7434 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7435 echo $ECHO_N "(cached) $ECHO_C" >&6
7437 eval "$as_ac_Header=\$ac_header_preproc"
7439 ac_res=`eval echo '${'$as_ac_Header'}'`
7440 { echo "$as_me:$LINENO: result: $ac_res" >&5
7441 echo "${ECHO_T}$ac_res" >&6; }
7444 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7445 cat >>confdefs.h <<_ACEOF
7446 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7455 for ac_header in sys/socket.h lan/socket.h
7457 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7458 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7459 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7461 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7462 echo $ECHO_N "(cached) $ECHO_C" >&6
7464 ac_res=`eval echo '${'$as_ac_Header'}'`
7465 { echo "$as_me:$LINENO: result: $ac_res" >&5
7466 echo "${ECHO_T}$ac_res" >&6; }
7468 # Is the header compilable?
7469 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7470 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7471 cat >conftest.$ac_ext <<_ACEOF
7474 cat confdefs.h >>conftest.$ac_ext
7475 cat >>conftest.$ac_ext <<_ACEOF
7476 /* end confdefs.h. */
7477 $ac_includes_default
7478 #include <$ac_header>
7480 rm -f conftest.$ac_objext
7481 if { (ac_try="$ac_compile"
7483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7484 *) ac_try_echo=$ac_try;;
7486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7487 (eval "$ac_compile") 2>conftest.er1
7489 grep -v '^ *+' conftest.er1 >conftest.err
7491 cat conftest.err >&5
7492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7493 (exit $ac_status); } && {
7494 test -z "$ac_c_werror_flag" ||
7495 test ! -s conftest.err
7496 } && test -s conftest.$ac_objext; then
7497 ac_header_compiler=yes
7499 echo "$as_me: failed program was:" >&5
7500 sed 's/^/| /' conftest.$ac_ext >&5
7502 ac_header_compiler=no
7505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7506 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7507 echo "${ECHO_T}$ac_header_compiler" >&6; }
7509 # Is the header present?
7510 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7511 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7512 cat >conftest.$ac_ext <<_ACEOF
7515 cat confdefs.h >>conftest.$ac_ext
7516 cat >>conftest.$ac_ext <<_ACEOF
7517 /* end confdefs.h. */
7518 #include <$ac_header>
7520 if { (ac_try="$ac_cpp conftest.$ac_ext"
7522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7523 *) ac_try_echo=$ac_try;;
7525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7526 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7528 grep -v '^ *+' conftest.er1 >conftest.err
7530 cat conftest.err >&5
7531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); } >/dev/null && {
7533 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7534 test ! -s conftest.err
7536 ac_header_preproc=yes
7538 echo "$as_me: failed program was:" >&5
7539 sed 's/^/| /' conftest.$ac_ext >&5
7541 ac_header_preproc=no
7544 rm -f conftest.err conftest.$ac_ext
7545 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7546 echo "${ECHO_T}$ac_header_preproc" >&6; }
7548 # So? What about this header?
7549 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7551 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7552 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7553 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7554 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7555 ac_header_preproc=yes
7558 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7559 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7560 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7561 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7562 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7563 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7564 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7565 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7566 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7567 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7568 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7569 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7573 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7575 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7576 echo $ECHO_N "(cached) $ECHO_C" >&6
7578 eval "$as_ac_Header=\$ac_header_preproc"
7580 ac_res=`eval echo '${'$as_ac_Header'}'`
7581 { echo "$as_me:$LINENO: result: $ac_res" >&5
7582 echo "${ECHO_T}$ac_res" >&6; }
7585 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7586 cat >>confdefs.h <<_ACEOF
7587 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7594 if test "${ac_cv_header_stddef_h+set}" = set; then
7595 { echo "$as_me:$LINENO: checking for stddef.h" >&5
7596 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; }
7597 if test "${ac_cv_header_stddef_h+set}" = set; then
7598 echo $ECHO_N "(cached) $ECHO_C" >&6
7600 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5
7601 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; }
7603 # Is the header compilable?
7604 { echo "$as_me:$LINENO: checking stddef.h usability" >&5
7605 echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6; }
7606 cat >conftest.$ac_ext <<_ACEOF
7609 cat confdefs.h >>conftest.$ac_ext
7610 cat >>conftest.$ac_ext <<_ACEOF
7611 /* end confdefs.h. */
7612 $ac_includes_default
7615 rm -f conftest.$ac_objext
7616 if { (ac_try="$ac_compile"
7618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7619 *) ac_try_echo=$ac_try;;
7621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7622 (eval "$ac_compile") 2>conftest.er1
7624 grep -v '^ *+' conftest.er1 >conftest.err
7626 cat conftest.err >&5
7627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7628 (exit $ac_status); } && {
7629 test -z "$ac_c_werror_flag" ||
7630 test ! -s conftest.err
7631 } && test -s conftest.$ac_objext; then
7632 ac_header_compiler=yes
7634 echo "$as_me: failed program was:" >&5
7635 sed 's/^/| /' conftest.$ac_ext >&5
7637 ac_header_compiler=no
7640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7641 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7642 echo "${ECHO_T}$ac_header_compiler" >&6; }
7644 # Is the header present?
7645 { echo "$as_me:$LINENO: checking stddef.h presence" >&5
7646 echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6; }
7647 cat >conftest.$ac_ext <<_ACEOF
7650 cat confdefs.h >>conftest.$ac_ext
7651 cat >>conftest.$ac_ext <<_ACEOF
7652 /* end confdefs.h. */
7655 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 2>conftest.er1
7663 grep -v '^ *+' conftest.er1 >conftest.err
7665 cat conftest.err >&5
7666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7667 (exit $ac_status); } >/dev/null && {
7668 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7669 test ! -s conftest.err
7671 ac_header_preproc=yes
7673 echo "$as_me: failed program was:" >&5
7674 sed 's/^/| /' conftest.$ac_ext >&5
7676 ac_header_preproc=no
7679 rm -f conftest.err conftest.$ac_ext
7680 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7681 echo "${ECHO_T}$ac_header_preproc" >&6; }
7683 # So? What about this header?
7684 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7686 { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5
7687 echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7688 { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the compiler's result" >&5
7689 echo "$as_me: WARNING: stddef.h: proceeding with the compiler's result" >&2;}
7690 ac_header_preproc=yes
7693 { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5
7694 echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;}
7695 { echo "$as_me:$LINENO: WARNING: stddef.h: check for missing prerequisite headers?" >&5
7696 echo "$as_me: WARNING: stddef.h: check for missing prerequisite headers?" >&2;}
7697 { echo "$as_me:$LINENO: WARNING: stddef.h: see the Autoconf documentation" >&5
7698 echo "$as_me: WARNING: stddef.h: see the Autoconf documentation" >&2;}
7699 { echo "$as_me:$LINENO: WARNING: stddef.h: section \"Present But Cannot Be Compiled\"" >&5
7700 echo "$as_me: WARNING: stddef.h: section \"Present But Cannot Be Compiled\"" >&2;}
7701 { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5
7702 echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;}
7703 { echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5
7704 echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;}
7708 { echo "$as_me:$LINENO: checking for stddef.h" >&5
7709 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; }
7710 if test "${ac_cv_header_stddef_h+set}" = set; then
7711 echo $ECHO_N "(cached) $ECHO_C" >&6
7713 ac_cv_header_stddef_h=$ac_header_preproc
7715 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5
7716 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; }
7719 if test $ac_cv_header_stddef_h = yes; then
7722 cat >>confdefs.h <<\_ACEOF
7734 for ac_func in _getpty grantpt setitimer usleep
7736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7737 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7739 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7740 echo $ECHO_N "(cached) $ECHO_C" >&6
7742 cat >conftest.$ac_ext <<_ACEOF
7745 cat confdefs.h >>conftest.$ac_ext
7746 cat >>conftest.$ac_ext <<_ACEOF
7747 /* end confdefs.h. */
7748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7750 #define $ac_func innocuous_$ac_func
7752 /* System header to define __stub macros and hopefully few prototypes,
7753 which can conflict with char $ac_func (); below.
7754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7755 <limits.h> exists even on freestanding compilers. */
7758 # include <limits.h>
7760 # include <assert.h>
7765 /* Override any GCC internal prototype to avoid an error.
7766 Use char because int might match the return type of a GCC
7767 builtin and then its argument prototype would still apply. */
7772 /* The GNU C library defines this for functions which it implements
7773 to always fail with ENOSYS. Some functions are actually named
7774 something starting with __ and the normal name is an alias. */
7775 #if defined __stub_$ac_func || defined __stub___$ac_func
7787 rm -f conftest.$ac_objext conftest$ac_exeext
7788 if { (ac_try="$ac_link"
7790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7791 *) ac_try_echo=$ac_try;;
7793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7794 (eval "$ac_link") 2>conftest.er1
7796 grep -v '^ *+' conftest.er1 >conftest.err
7798 cat conftest.err >&5
7799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7800 (exit $ac_status); } && {
7801 test -z "$ac_c_werror_flag" ||
7802 test ! -s conftest.err
7803 } && test -s conftest$ac_exeext &&
7804 $as_test_x conftest$ac_exeext; then
7805 eval "$as_ac_var=yes"
7807 echo "$as_me: failed program was:" >&5
7808 sed 's/^/| /' conftest.$ac_ext >&5
7810 eval "$as_ac_var=no"
7813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7814 conftest$ac_exeext conftest.$ac_ext
7816 ac_res=`eval echo '${'$as_ac_var'}'`
7817 { echo "$as_me:$LINENO: result: $ac_res" >&5
7818 echo "${ECHO_T}$ac_res" >&6; }
7819 if test `eval echo '${'$as_ac_var'}'` = yes; then
7820 cat >>confdefs.h <<_ACEOF
7821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7829 for ac_func in gettimeofday ftime
7831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7832 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7834 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7835 echo $ECHO_N "(cached) $ECHO_C" >&6
7837 cat >conftest.$ac_ext <<_ACEOF
7840 cat confdefs.h >>conftest.$ac_ext
7841 cat >>conftest.$ac_ext <<_ACEOF
7842 /* end confdefs.h. */
7843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7845 #define $ac_func innocuous_$ac_func
7847 /* System header to define __stub macros and hopefully few prototypes,
7848 which can conflict with char $ac_func (); below.
7849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7850 <limits.h> exists even on freestanding compilers. */
7853 # include <limits.h>
7855 # include <assert.h>
7860 /* Override any GCC internal prototype to avoid an error.
7861 Use char because int might match the return type of a GCC
7862 builtin and then its argument prototype would still apply. */
7867 /* The GNU C library defines this for functions which it implements
7868 to always fail with ENOSYS. Some functions are actually named
7869 something starting with __ and the normal name is an alias. */
7870 #if defined __stub_$ac_func || defined __stub___$ac_func
7882 rm -f conftest.$ac_objext conftest$ac_exeext
7883 if { (ac_try="$ac_link"
7885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7886 *) ac_try_echo=$ac_try;;
7888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7889 (eval "$ac_link") 2>conftest.er1
7891 grep -v '^ *+' conftest.er1 >conftest.err
7893 cat conftest.err >&5
7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895 (exit $ac_status); } && {
7896 test -z "$ac_c_werror_flag" ||
7897 test ! -s conftest.err
7898 } && test -s conftest$ac_exeext &&
7899 $as_test_x conftest$ac_exeext; then
7900 eval "$as_ac_var=yes"
7902 echo "$as_me: failed program was:" >&5
7903 sed 's/^/| /' conftest.$ac_ext >&5
7905 eval "$as_ac_var=no"
7908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7909 conftest$ac_exeext conftest.$ac_ext
7911 ac_res=`eval echo '${'$as_ac_var'}'`
7912 { echo "$as_me:$LINENO: result: $ac_res" >&5
7913 echo "${ECHO_T}$ac_res" >&6; }
7914 if test `eval echo '${'$as_ac_var'}'` = yes; then
7915 cat >>confdefs.h <<_ACEOF
7916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7924 for ac_func in random rand48
7926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7927 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7929 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7930 echo $ECHO_N "(cached) $ECHO_C" >&6
7932 cat >conftest.$ac_ext <<_ACEOF
7935 cat confdefs.h >>conftest.$ac_ext
7936 cat >>conftest.$ac_ext <<_ACEOF
7937 /* end confdefs.h. */
7938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7940 #define $ac_func innocuous_$ac_func
7942 /* System header to define __stub macros and hopefully few prototypes,
7943 which can conflict with char $ac_func (); below.
7944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7945 <limits.h> exists even on freestanding compilers. */
7948 # include <limits.h>
7950 # include <assert.h>
7955 /* Override any GCC internal prototype to avoid an error.
7956 Use char because int might match the return type of a GCC
7957 builtin and then its argument prototype would still apply. */
7962 /* The GNU C library defines this for functions which it implements
7963 to always fail with ENOSYS. Some functions are actually named
7964 something starting with __ and the normal name is an alias. */
7965 #if defined __stub_$ac_func || defined __stub___$ac_func
7977 rm -f conftest.$ac_objext conftest$ac_exeext
7978 if { (ac_try="$ac_link"
7980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7981 *) ac_try_echo=$ac_try;;
7983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7984 (eval "$ac_link") 2>conftest.er1
7986 grep -v '^ *+' conftest.er1 >conftest.err
7988 cat conftest.err >&5
7989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7990 (exit $ac_status); } && {
7991 test -z "$ac_c_werror_flag" ||
7992 test ! -s conftest.err
7993 } && test -s conftest$ac_exeext &&
7994 $as_test_x conftest$ac_exeext; then
7995 eval "$as_ac_var=yes"
7997 echo "$as_me: failed program was:" >&5
7998 sed 's/^/| /' conftest.$ac_ext >&5
8000 eval "$as_ac_var=no"
8003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8004 conftest$ac_exeext conftest.$ac_ext
8006 ac_res=`eval echo '${'$as_ac_var'}'`
8007 { echo "$as_me:$LINENO: result: $ac_res" >&5
8008 echo "${ECHO_T}$ac_res" >&6; }
8009 if test `eval echo '${'$as_ac_var'}'` = yes; then
8010 cat >>confdefs.h <<_ACEOF
8011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8019 for ac_func in gethostname sysinfo
8021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8022 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8024 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8025 echo $ECHO_N "(cached) $ECHO_C" >&6
8027 cat >conftest.$ac_ext <<_ACEOF
8030 cat confdefs.h >>conftest.$ac_ext
8031 cat >>conftest.$ac_ext <<_ACEOF
8032 /* end confdefs.h. */
8033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8035 #define $ac_func innocuous_$ac_func
8037 /* System header to define __stub macros and hopefully few prototypes,
8038 which can conflict with char $ac_func (); below.
8039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8040 <limits.h> exists even on freestanding compilers. */
8043 # include <limits.h>
8045 # include <assert.h>
8050 /* Override any GCC internal prototype to avoid an error.
8051 Use char because int might match the return type of a GCC
8052 builtin and then its argument prototype would still apply. */
8057 /* The GNU C library defines this for functions which it implements
8058 to always fail with ENOSYS. Some functions are actually named
8059 something starting with __ and the normal name is an alias. */
8060 #if defined __stub_$ac_func || defined __stub___$ac_func
8072 rm -f conftest.$ac_objext conftest$ac_exeext
8073 if { (ac_try="$ac_link"
8075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8076 *) ac_try_echo=$ac_try;;
8078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8079 (eval "$ac_link") 2>conftest.er1
8081 grep -v '^ *+' conftest.er1 >conftest.err
8083 cat conftest.err >&5
8084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8085 (exit $ac_status); } && {
8086 test -z "$ac_c_werror_flag" ||
8087 test ! -s conftest.err
8088 } && test -s conftest$ac_exeext &&
8089 $as_test_x conftest$ac_exeext; then
8090 eval "$as_ac_var=yes"
8092 echo "$as_me: failed program was:" >&5
8093 sed 's/^/| /' conftest.$ac_ext >&5
8095 eval "$as_ac_var=no"
8098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8099 conftest$ac_exeext conftest.$ac_ext
8101 ac_res=`eval echo '${'$as_ac_var'}'`
8102 { echo "$as_me:$LINENO: result: $ac_res" >&5
8103 echo "${ECHO_T}$ac_res" >&6; }
8104 if test `eval echo '${'$as_ac_var'}'` = yes; then
8105 cat >>confdefs.h <<_ACEOF
8106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8112 { echo "$as_me:$LINENO: checking for setlocale" >&5
8113 echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; }
8114 if test "${ac_cv_func_setlocale+set}" = set; then
8115 echo $ECHO_N "(cached) $ECHO_C" >&6
8117 cat >conftest.$ac_ext <<_ACEOF
8120 cat confdefs.h >>conftest.$ac_ext
8121 cat >>conftest.$ac_ext <<_ACEOF
8122 /* end confdefs.h. */
8123 /* Define setlocale to an innocuous variant, in case <limits.h> declares setlocale.
8124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8125 #define setlocale innocuous_setlocale
8127 /* System header to define __stub macros and hopefully few prototypes,
8128 which can conflict with char setlocale (); below.
8129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8130 <limits.h> exists even on freestanding compilers. */
8133 # include <limits.h>
8135 # include <assert.h>
8140 /* Override any GCC internal prototype to avoid an error.
8141 Use char because int might match the return type of a GCC
8142 builtin and then its argument prototype would still apply. */
8147 /* The GNU C library defines this for functions which it implements
8148 to always fail with ENOSYS. Some functions are actually named
8149 something starting with __ and the normal name is an alias. */
8150 #if defined __stub_setlocale || defined __stub___setlocale
8157 return setlocale ();
8162 rm -f conftest.$ac_objext conftest$ac_exeext
8163 if { (ac_try="$ac_link"
8165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8166 *) ac_try_echo=$ac_try;;
8168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8169 (eval "$ac_link") 2>conftest.er1
8171 grep -v '^ *+' conftest.er1 >conftest.err
8173 cat conftest.err >&5
8174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8175 (exit $ac_status); } && {
8176 test -z "$ac_c_werror_flag" ||
8177 test ! -s conftest.err
8178 } && test -s conftest$ac_exeext &&
8179 $as_test_x conftest$ac_exeext; then
8180 ac_cv_func_setlocale=yes
8182 echo "$as_me: failed program was:" >&5
8183 sed 's/^/| /' conftest.$ac_ext >&5
8185 ac_cv_func_setlocale=no
8188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8189 conftest$ac_exeext conftest.$ac_ext
8191 { echo "$as_me:$LINENO: result: $ac_cv_func_setlocale" >&5
8192 echo "${ECHO_T}$ac_cv_func_setlocale" >&6; }
8193 if test $ac_cv_func_setlocale = yes; then
8197 { echo "$as_me:$LINENO: checking for setlocale in -li" >&5
8198 echo $ECHO_N "checking for setlocale in -li... $ECHO_C" >&6; }
8199 if test "${ac_cv_lib_i_setlocale+set}" = set; then
8200 echo $ECHO_N "(cached) $ECHO_C" >&6
8202 ac_check_lib_save_LIBS=$LIBS
8204 cat >conftest.$ac_ext <<_ACEOF
8207 cat confdefs.h >>conftest.$ac_ext
8208 cat >>conftest.$ac_ext <<_ACEOF
8209 /* end confdefs.h. */
8211 /* Override any GCC internal prototype to avoid an error.
8212 Use char because int might match the return type of a GCC
8213 builtin and then its argument prototype would still apply. */
8221 return setlocale ();
8226 rm -f conftest.$ac_objext conftest$ac_exeext
8227 if { (ac_try="$ac_link"
8229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8230 *) ac_try_echo=$ac_try;;
8232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8233 (eval "$ac_link") 2>conftest.er1
8235 grep -v '^ *+' conftest.er1 >conftest.err
8237 cat conftest.err >&5
8238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239 (exit $ac_status); } && {
8240 test -z "$ac_c_werror_flag" ||
8241 test ! -s conftest.err
8242 } && test -s conftest$ac_exeext &&
8243 $as_test_x conftest$ac_exeext; then
8244 ac_cv_lib_i_setlocale=yes
8246 echo "$as_me: failed program was:" >&5
8247 sed 's/^/| /' conftest.$ac_ext >&5
8249 ac_cv_lib_i_setlocale=no
8252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8253 conftest$ac_exeext conftest.$ac_ext
8254 LIBS=$ac_check_lib_save_LIBS
8256 { echo "$as_me:$LINENO: result: $ac_cv_lib_i_setlocale" >&5
8257 echo "${ECHO_T}$ac_cv_lib_i_setlocale" >&6; }
8258 if test $ac_cv_lib_i_setlocale = yes; then
8259 cat >>confdefs.h <<_ACEOF
8266 cat >>confdefs.h <<\_ACEOF
8276 { echo "$as_me:$LINENO: checking for getpseudotty in -lseq" >&5
8277 echo $ECHO_N "checking for getpseudotty in -lseq... $ECHO_C" >&6; }
8278 if test "${ac_cv_lib_seq_getpseudotty+set}" = set; then
8279 echo $ECHO_N "(cached) $ECHO_C" >&6
8281 ac_check_lib_save_LIBS=$LIBS
8283 cat >conftest.$ac_ext <<_ACEOF
8286 cat confdefs.h >>conftest.$ac_ext
8287 cat >>conftest.$ac_ext <<_ACEOF
8288 /* end confdefs.h. */
8290 /* Override any GCC internal prototype to avoid an error.
8291 Use char because int might match the return type of a GCC
8292 builtin and then its argument prototype would still apply. */
8296 char getpseudotty ();
8300 return getpseudotty ();
8305 rm -f conftest.$ac_objext conftest$ac_exeext
8306 if { (ac_try="$ac_link"
8308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8309 *) ac_try_echo=$ac_try;;
8311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8312 (eval "$ac_link") 2>conftest.er1
8314 grep -v '^ *+' conftest.er1 >conftest.err
8316 cat conftest.err >&5
8317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8318 (exit $ac_status); } && {
8319 test -z "$ac_c_werror_flag" ||
8320 test ! -s conftest.err
8321 } && test -s conftest$ac_exeext &&
8322 $as_test_x conftest$ac_exeext; then
8323 ac_cv_lib_seq_getpseudotty=yes
8325 echo "$as_me: failed program was:" >&5
8326 sed 's/^/| /' conftest.$ac_ext >&5
8328 ac_cv_lib_seq_getpseudotty=no
8331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8332 conftest$ac_exeext conftest.$ac_ext
8333 LIBS=$ac_check_lib_save_LIBS
8335 { echo "$as_me:$LINENO: result: $ac_cv_lib_seq_getpseudotty" >&5
8336 echo "${ECHO_T}$ac_cv_lib_seq_getpseudotty" >&6; }
8337 if test $ac_cv_lib_seq_getpseudotty = yes; then
8338 cat >>confdefs.h <<_ACEOF
8339 #define HAVE_LIBSEQ 1
8347 { echo "$as_me:$LINENO: checking for X" >&5
8348 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
8351 # Check whether --with-x was given.
8352 if test "${with_x+set}" = set; then
8356 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8357 if test "x$with_x" = xno; then
8358 # The user explicitly disabled X.
8361 case $x_includes,$x_libraries in #(
8362 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
8363 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
8364 { (exit 1); exit 1; }; };; #(
8365 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
8366 echo $ECHO_N "(cached) $ECHO_C" >&6
8368 # One or both of the vars are not set, and there is no cached value.
8369 ac_x_includes=no ac_x_libraries=no
8370 rm -f -r conftest.dir
8371 if mkdir conftest.dir; then
8373 cat >Imakefile <<'_ACEOF'
8375 @echo incroot='${INCROOT}'
8377 @echo usrlibdir='${USRLIBDIR}'
8379 @echo libdir='${LIBDIR}'
8381 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8382 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8383 for ac_var in incroot usrlibdir libdir; do
8384 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8386 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8387 for ac_extension in a so sl; do
8388 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8389 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8390 ac_im_usrlibdir=$ac_im_libdir; break
8393 # Screen out bogus values from the imake configuration. They are
8394 # bogus both because they are the default anyway, and because
8395 # using them would break gcc on systems where it needs fixed includes.
8396 case $ac_im_incroot in
8397 /usr/include) ac_x_includes= ;;
8398 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8400 case $ac_im_usrlibdir in
8402 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8406 rm -f -r conftest.dir
8409 # Standard set of common directories for X headers.
8410 # Check X11 before X11Rn because it is often a symlink to the current release.
8422 /usr/local/X11/include
8423 /usr/local/X11R6/include
8424 /usr/local/X11R5/include
8425 /usr/local/X11R4/include
8427 /usr/local/include/X11
8428 /usr/local/include/X11R6
8429 /usr/local/include/X11R5
8430 /usr/local/include/X11R4
8434 /usr/XFree86/include/X11
8438 /usr/unsupported/include
8440 /usr/local/x11r5/include
8441 /usr/lpp/Xamples/include
8443 /usr/openwin/include
8444 /usr/openwin/share/include'
8446 if test "$ac_x_includes" = no; then
8447 # Guess where to find include files, by looking for Xlib.h.
8448 # First, try using that file with no special directory specified.
8449 cat >conftest.$ac_ext <<_ACEOF
8452 cat confdefs.h >>conftest.$ac_ext
8453 cat >>conftest.$ac_ext <<_ACEOF
8454 /* end confdefs.h. */
8455 #include <X11/Xlib.h>
8457 if { (ac_try="$ac_cpp conftest.$ac_ext"
8459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8460 *) ac_try_echo=$ac_try;;
8462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8463 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8465 grep -v '^ *+' conftest.er1 >conftest.err
8467 cat conftest.err >&5
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 (exit $ac_status); } >/dev/null && {
8470 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8471 test ! -s conftest.err
8473 # We can compile using X headers with no special include directory.
8476 echo "$as_me: failed program was:" >&5
8477 sed 's/^/| /' conftest.$ac_ext >&5
8479 for ac_dir in $ac_x_header_dirs; do
8480 if test -r "$ac_dir/X11/Xlib.h"; then
8481 ac_x_includes=$ac_dir
8487 rm -f conftest.err conftest.$ac_ext
8488 fi # $ac_x_includes = no
8490 if test "$ac_x_libraries" = no; then
8491 # Check for the libraries.
8492 # See if we find them without any special options.
8493 # Don't add to $LIBS permanently.
8496 cat >conftest.$ac_ext <<_ACEOF
8499 cat confdefs.h >>conftest.$ac_ext
8500 cat >>conftest.$ac_ext <<_ACEOF
8501 /* end confdefs.h. */
8502 #include <X11/Xlib.h>
8511 rm -f conftest.$ac_objext conftest$ac_exeext
8512 if { (ac_try="$ac_link"
8514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8515 *) ac_try_echo=$ac_try;;
8517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8518 (eval "$ac_link") 2>conftest.er1
8520 grep -v '^ *+' conftest.er1 >conftest.err
8522 cat conftest.err >&5
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 (exit $ac_status); } && {
8525 test -z "$ac_c_werror_flag" ||
8526 test ! -s conftest.err
8527 } && test -s conftest$ac_exeext &&
8528 $as_test_x conftest$ac_exeext; then
8530 # We can link X programs with no special library path.
8533 echo "$as_me: failed program was:" >&5
8534 sed 's/^/| /' conftest.$ac_ext >&5
8537 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8539 # Don't even attempt the hair of trying to link an X program!
8540 for ac_extension in a so sl; do
8541 if test -r "$ac_dir/libX11.$ac_extension"; then
8542 ac_x_libraries=$ac_dir
8549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8550 conftest$ac_exeext conftest.$ac_ext
8551 fi # $ac_x_libraries = no
8553 case $ac_x_includes,$ac_x_libraries in #(
8555 # Didn't find X, or a directory has "'" in its name.
8556 ac_cv_have_x="have_x=no";; #(
8558 # Record where we found X for the cache.
8559 ac_cv_have_x="have_x=yes\
8560 ac_x_includes='$ac_x_includes'\
8561 ac_x_libraries='$ac_x_libraries'"
8567 eval "$ac_cv_have_x"
8570 if test "$have_x" != yes; then
8571 { echo "$as_me:$LINENO: result: $have_x" >&5
8572 echo "${ECHO_T}$have_x" >&6; }
8575 # If each of the values was on the command line, it overrides each guess.
8576 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8577 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8578 # Update the cache value to reflect the command line values.
8579 ac_cv_have_x="have_x=yes\
8580 ac_x_includes='$x_includes'\
8581 ac_x_libraries='$x_libraries'"
8582 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
8583 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
8586 if test "$no_x" = yes; then
8587 # Not all programs may use this symbol, but it does not hurt to define it.
8589 cat >>confdefs.h <<\_ACEOF
8590 #define X_DISPLAY_MISSING 1
8593 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8595 if test -n "$x_includes"; then
8596 X_CFLAGS="$X_CFLAGS -I$x_includes"
8599 # It would also be nice to do this for all -L options, not just this one.
8600 if test -n "$x_libraries"; then
8601 X_LIBS="$X_LIBS -L$x_libraries"
8602 # For Solaris; some versions of Sun CC require a space after -R and
8603 # others require no space. Words are not sufficient . . . .
8604 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
8605 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
8606 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8607 ac_xsave_c_werror_flag=$ac_c_werror_flag
8608 ac_c_werror_flag=yes
8609 cat >conftest.$ac_ext <<_ACEOF
8612 cat confdefs.h >>conftest.$ac_ext
8613 cat >>conftest.$ac_ext <<_ACEOF
8614 /* end confdefs.h. */
8624 rm -f conftest.$ac_objext conftest$ac_exeext
8625 if { (ac_try="$ac_link"
8627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8628 *) ac_try_echo=$ac_try;;
8630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8631 (eval "$ac_link") 2>conftest.er1
8633 grep -v '^ *+' conftest.er1 >conftest.err
8635 cat conftest.err >&5
8636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8637 (exit $ac_status); } && {
8638 test -z "$ac_c_werror_flag" ||
8639 test ! -s conftest.err
8640 } && test -s conftest$ac_exeext &&
8641 $as_test_x conftest$ac_exeext; then
8642 { echo "$as_me:$LINENO: result: no" >&5
8643 echo "${ECHO_T}no" >&6; }
8644 X_LIBS="$X_LIBS -R$x_libraries"
8646 echo "$as_me: failed program was:" >&5
8647 sed 's/^/| /' conftest.$ac_ext >&5
8649 LIBS="$ac_xsave_LIBS -R $x_libraries"
8650 cat >conftest.$ac_ext <<_ACEOF
8653 cat confdefs.h >>conftest.$ac_ext
8654 cat >>conftest.$ac_ext <<_ACEOF
8655 /* end confdefs.h. */
8665 rm -f conftest.$ac_objext conftest$ac_exeext
8666 if { (ac_try="$ac_link"
8668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8669 *) ac_try_echo=$ac_try;;
8671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8672 (eval "$ac_link") 2>conftest.er1
8674 grep -v '^ *+' conftest.er1 >conftest.err
8676 cat conftest.err >&5
8677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8678 (exit $ac_status); } && {
8679 test -z "$ac_c_werror_flag" ||
8680 test ! -s conftest.err
8681 } && test -s conftest$ac_exeext &&
8682 $as_test_x conftest$ac_exeext; then
8683 { echo "$as_me:$LINENO: result: yes" >&5
8684 echo "${ECHO_T}yes" >&6; }
8685 X_LIBS="$X_LIBS -R $x_libraries"
8687 echo "$as_me: failed program was:" >&5
8688 sed 's/^/| /' conftest.$ac_ext >&5
8690 { echo "$as_me:$LINENO: result: neither works" >&5
8691 echo "${ECHO_T}neither works" >&6; }
8694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8695 conftest$ac_exeext conftest.$ac_ext
8698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8699 conftest$ac_exeext conftest.$ac_ext
8700 ac_c_werror_flag=$ac_xsave_c_werror_flag
8704 # Check for system-dependent libraries X programs must link with.
8705 # Do this before checking for the system-independent R6 libraries
8706 # (-lICE), since we may need -lsocket or whatever for X linking.
8708 if test "$ISC" = yes; then
8709 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8711 # Martyn Johnson says this is needed for Ultrix, if the X
8712 # libraries were built with DECnet support. And Karl Berry says
8713 # the Alpha needs dnet_stub (dnet does not exist).
8714 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8715 cat >conftest.$ac_ext <<_ACEOF
8718 cat confdefs.h >>conftest.$ac_ext
8719 cat >>conftest.$ac_ext <<_ACEOF
8720 /* end confdefs.h. */
8722 /* Override any GCC internal prototype to avoid an error.
8723 Use char because int might match the return type of a GCC
8724 builtin and then its argument prototype would still apply. */
8728 char XOpenDisplay ();
8732 return XOpenDisplay ();
8737 rm -f conftest.$ac_objext conftest$ac_exeext
8738 if { (ac_try="$ac_link"
8740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8741 *) ac_try_echo=$ac_try;;
8743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8744 (eval "$ac_link") 2>conftest.er1
8746 grep -v '^ *+' conftest.er1 >conftest.err
8748 cat conftest.err >&5
8749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8750 (exit $ac_status); } && {
8751 test -z "$ac_c_werror_flag" ||
8752 test ! -s conftest.err
8753 } && test -s conftest$ac_exeext &&
8754 $as_test_x conftest$ac_exeext; then
8757 echo "$as_me: failed program was:" >&5
8758 sed 's/^/| /' conftest.$ac_ext >&5
8760 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
8761 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
8762 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
8763 echo $ECHO_N "(cached) $ECHO_C" >&6
8765 ac_check_lib_save_LIBS=$LIBS
8767 cat >conftest.$ac_ext <<_ACEOF
8770 cat confdefs.h >>conftest.$ac_ext
8771 cat >>conftest.$ac_ext <<_ACEOF
8772 /* end confdefs.h. */
8774 /* Override any GCC internal prototype to avoid an error.
8775 Use char because int might match the return type of a GCC
8776 builtin and then its argument prototype would still apply. */
8784 return dnet_ntoa ();
8789 rm -f conftest.$ac_objext conftest$ac_exeext
8790 if { (ac_try="$ac_link"
8792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8793 *) ac_try_echo=$ac_try;;
8795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8796 (eval "$ac_link") 2>conftest.er1
8798 grep -v '^ *+' conftest.er1 >conftest.err
8800 cat conftest.err >&5
8801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802 (exit $ac_status); } && {
8803 test -z "$ac_c_werror_flag" ||
8804 test ! -s conftest.err
8805 } && test -s conftest$ac_exeext &&
8806 $as_test_x conftest$ac_exeext; then
8807 ac_cv_lib_dnet_dnet_ntoa=yes
8809 echo "$as_me: failed program was:" >&5
8810 sed 's/^/| /' conftest.$ac_ext >&5
8812 ac_cv_lib_dnet_dnet_ntoa=no
8815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8816 conftest$ac_exeext conftest.$ac_ext
8817 LIBS=$ac_check_lib_save_LIBS
8819 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8820 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8821 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
8822 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8825 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8826 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
8827 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
8828 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
8829 echo $ECHO_N "(cached) $ECHO_C" >&6
8831 ac_check_lib_save_LIBS=$LIBS
8832 LIBS="-ldnet_stub $LIBS"
8833 cat >conftest.$ac_ext <<_ACEOF
8836 cat confdefs.h >>conftest.$ac_ext
8837 cat >>conftest.$ac_ext <<_ACEOF
8838 /* end confdefs.h. */
8840 /* Override any GCC internal prototype to avoid an error.
8841 Use char because int might match the return type of a GCC
8842 builtin and then its argument prototype would still apply. */
8850 return dnet_ntoa ();
8855 rm -f conftest.$ac_objext conftest$ac_exeext
8856 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
8864 grep -v '^ *+' conftest.er1 >conftest.err
8866 cat conftest.err >&5
8867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8868 (exit $ac_status); } && {
8869 test -z "$ac_c_werror_flag" ||
8870 test ! -s conftest.err
8871 } && test -s conftest$ac_exeext &&
8872 $as_test_x conftest$ac_exeext; then
8873 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8875 echo "$as_me: failed program was:" >&5
8876 sed 's/^/| /' conftest.$ac_ext >&5
8878 ac_cv_lib_dnet_stub_dnet_ntoa=no
8881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8882 conftest$ac_exeext conftest.$ac_ext
8883 LIBS=$ac_check_lib_save_LIBS
8885 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8886 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8887 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
8888 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8895 conftest$ac_exeext conftest.$ac_ext
8896 LIBS="$ac_xsave_LIBS"
8898 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8899 # to get the SysV transport functions.
8900 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8902 # The nsl library prevents programs from opening the X display
8903 # on Irix 5.2, according to T.E. Dickey.
8904 # The functions gethostbyname, getservbyname, and inet_addr are
8905 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8906 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
8907 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
8908 if test "${ac_cv_func_gethostbyname+set}" = set; then
8909 echo $ECHO_N "(cached) $ECHO_C" >&6
8911 cat >conftest.$ac_ext <<_ACEOF
8914 cat confdefs.h >>conftest.$ac_ext
8915 cat >>conftest.$ac_ext <<_ACEOF
8916 /* end confdefs.h. */
8917 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
8918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8919 #define gethostbyname innocuous_gethostbyname
8921 /* System header to define __stub macros and hopefully few prototypes,
8922 which can conflict with char gethostbyname (); below.
8923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8924 <limits.h> exists even on freestanding compilers. */
8927 # include <limits.h>
8929 # include <assert.h>
8932 #undef gethostbyname
8934 /* Override any GCC internal prototype to avoid an error.
8935 Use char because int might match the return type of a GCC
8936 builtin and then its argument prototype would still apply. */
8940 char gethostbyname ();
8941 /* The GNU C library defines this for functions which it implements
8942 to always fail with ENOSYS. Some functions are actually named
8943 something starting with __ and the normal name is an alias. */
8944 #if defined __stub_gethostbyname || defined __stub___gethostbyname
8951 return gethostbyname ();
8956 rm -f conftest.$ac_objext conftest$ac_exeext
8957 if { (ac_try="$ac_link"
8959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8960 *) ac_try_echo=$ac_try;;
8962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8963 (eval "$ac_link") 2>conftest.er1
8965 grep -v '^ *+' conftest.er1 >conftest.err
8967 cat conftest.err >&5
8968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969 (exit $ac_status); } && {
8970 test -z "$ac_c_werror_flag" ||
8971 test ! -s conftest.err
8972 } && test -s conftest$ac_exeext &&
8973 $as_test_x conftest$ac_exeext; then
8974 ac_cv_func_gethostbyname=yes
8976 echo "$as_me: failed program was:" >&5
8977 sed 's/^/| /' conftest.$ac_ext >&5
8979 ac_cv_func_gethostbyname=no
8982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8983 conftest$ac_exeext conftest.$ac_ext
8985 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
8986 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
8988 if test $ac_cv_func_gethostbyname = no; then
8989 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
8990 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
8991 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
8992 echo $ECHO_N "(cached) $ECHO_C" >&6
8994 ac_check_lib_save_LIBS=$LIBS
8996 cat >conftest.$ac_ext <<_ACEOF
8999 cat confdefs.h >>conftest.$ac_ext
9000 cat >>conftest.$ac_ext <<_ACEOF
9001 /* end confdefs.h. */
9003 /* Override any GCC internal prototype to avoid an error.
9004 Use char because int might match the return type of a GCC
9005 builtin and then its argument prototype would still apply. */
9009 char gethostbyname ();
9013 return gethostbyname ();
9018 rm -f conftest.$ac_objext conftest$ac_exeext
9019 if { (ac_try="$ac_link"
9021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9022 *) ac_try_echo=$ac_try;;
9024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9025 (eval "$ac_link") 2>conftest.er1
9027 grep -v '^ *+' conftest.er1 >conftest.err
9029 cat conftest.err >&5
9030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9031 (exit $ac_status); } && {
9032 test -z "$ac_c_werror_flag" ||
9033 test ! -s conftest.err
9034 } && test -s conftest$ac_exeext &&
9035 $as_test_x conftest$ac_exeext; then
9036 ac_cv_lib_nsl_gethostbyname=yes
9038 echo "$as_me: failed program was:" >&5
9039 sed 's/^/| /' conftest.$ac_ext >&5
9041 ac_cv_lib_nsl_gethostbyname=no
9044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9045 conftest$ac_exeext conftest.$ac_ext
9046 LIBS=$ac_check_lib_save_LIBS
9048 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
9049 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
9050 if test $ac_cv_lib_nsl_gethostbyname = yes; then
9051 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9054 if test $ac_cv_lib_nsl_gethostbyname = no; then
9055 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
9056 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
9057 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
9058 echo $ECHO_N "(cached) $ECHO_C" >&6
9060 ac_check_lib_save_LIBS=$LIBS
9062 cat >conftest.$ac_ext <<_ACEOF
9065 cat confdefs.h >>conftest.$ac_ext
9066 cat >>conftest.$ac_ext <<_ACEOF
9067 /* end confdefs.h. */
9069 /* Override any GCC internal prototype to avoid an error.
9070 Use char because int might match the return type of a GCC
9071 builtin and then its argument prototype would still apply. */
9075 char gethostbyname ();
9079 return gethostbyname ();
9084 rm -f conftest.$ac_objext conftest$ac_exeext
9085 if { (ac_try="$ac_link"
9087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9088 *) ac_try_echo=$ac_try;;
9090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9091 (eval "$ac_link") 2>conftest.er1
9093 grep -v '^ *+' conftest.er1 >conftest.err
9095 cat conftest.err >&5
9096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9097 (exit $ac_status); } && {
9098 test -z "$ac_c_werror_flag" ||
9099 test ! -s conftest.err
9100 } && test -s conftest$ac_exeext &&
9101 $as_test_x conftest$ac_exeext; then
9102 ac_cv_lib_bsd_gethostbyname=yes
9104 echo "$as_me: failed program was:" >&5
9105 sed 's/^/| /' conftest.$ac_ext >&5
9107 ac_cv_lib_bsd_gethostbyname=no
9110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9111 conftest$ac_exeext conftest.$ac_ext
9112 LIBS=$ac_check_lib_save_LIBS
9114 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
9115 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
9116 if test $ac_cv_lib_bsd_gethostbyname = yes; then
9117 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9123 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9124 # socket/setsockopt and other routines are undefined under SCO ODT
9125 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9126 # on later versions), says Simon Leinen: it contains gethostby*
9127 # variants that don't use the name server (or something). -lsocket
9128 # must be given before -lnsl if both are needed. We assume that
9129 # if connect needs -lnsl, so does gethostbyname.
9130 { echo "$as_me:$LINENO: checking for connect" >&5
9131 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
9132 if test "${ac_cv_func_connect+set}" = set; then
9133 echo $ECHO_N "(cached) $ECHO_C" >&6
9135 cat >conftest.$ac_ext <<_ACEOF
9138 cat confdefs.h >>conftest.$ac_ext
9139 cat >>conftest.$ac_ext <<_ACEOF
9140 /* end confdefs.h. */
9141 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
9142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9143 #define connect innocuous_connect
9145 /* System header to define __stub macros and hopefully few prototypes,
9146 which can conflict with char connect (); below.
9147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9148 <limits.h> exists even on freestanding compilers. */
9151 # include <limits.h>
9153 # include <assert.h>
9158 /* Override any GCC internal prototype to avoid an error.
9159 Use char because int might match the return type of a GCC
9160 builtin and then its argument prototype would still apply. */
9165 /* The GNU C library defines this for functions which it implements
9166 to always fail with ENOSYS. Some functions are actually named
9167 something starting with __ and the normal name is an alias. */
9168 #if defined __stub_connect || defined __stub___connect
9180 rm -f conftest.$ac_objext conftest$ac_exeext
9181 if { (ac_try="$ac_link"
9183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9184 *) ac_try_echo=$ac_try;;
9186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9187 (eval "$ac_link") 2>conftest.er1
9189 grep -v '^ *+' conftest.er1 >conftest.err
9191 cat conftest.err >&5
9192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9193 (exit $ac_status); } && {
9194 test -z "$ac_c_werror_flag" ||
9195 test ! -s conftest.err
9196 } && test -s conftest$ac_exeext &&
9197 $as_test_x conftest$ac_exeext; then
9198 ac_cv_func_connect=yes
9200 echo "$as_me: failed program was:" >&5
9201 sed 's/^/| /' conftest.$ac_ext >&5
9203 ac_cv_func_connect=no
9206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9207 conftest$ac_exeext conftest.$ac_ext
9209 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
9210 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
9212 if test $ac_cv_func_connect = no; then
9213 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
9214 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
9215 if test "${ac_cv_lib_socket_connect+set}" = set; then
9216 echo $ECHO_N "(cached) $ECHO_C" >&6
9218 ac_check_lib_save_LIBS=$LIBS
9219 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9220 cat >conftest.$ac_ext <<_ACEOF
9223 cat confdefs.h >>conftest.$ac_ext
9224 cat >>conftest.$ac_ext <<_ACEOF
9225 /* end confdefs.h. */
9227 /* Override any GCC internal prototype to avoid an error.
9228 Use char because int might match the return type of a GCC
9229 builtin and then its argument prototype would still apply. */
9242 rm -f conftest.$ac_objext conftest$ac_exeext
9243 if { (ac_try="$ac_link"
9245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9246 *) ac_try_echo=$ac_try;;
9248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9249 (eval "$ac_link") 2>conftest.er1
9251 grep -v '^ *+' conftest.er1 >conftest.err
9253 cat conftest.err >&5
9254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9255 (exit $ac_status); } && {
9256 test -z "$ac_c_werror_flag" ||
9257 test ! -s conftest.err
9258 } && test -s conftest$ac_exeext &&
9259 $as_test_x conftest$ac_exeext; then
9260 ac_cv_lib_socket_connect=yes
9262 echo "$as_me: failed program was:" >&5
9263 sed 's/^/| /' conftest.$ac_ext >&5
9265 ac_cv_lib_socket_connect=no
9268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9269 conftest$ac_exeext conftest.$ac_ext
9270 LIBS=$ac_check_lib_save_LIBS
9272 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
9273 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
9274 if test $ac_cv_lib_socket_connect = yes; then
9275 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9280 # Guillermo Gomez says -lposix is necessary on A/UX.
9281 { echo "$as_me:$LINENO: checking for remove" >&5
9282 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
9283 if test "${ac_cv_func_remove+set}" = set; then
9284 echo $ECHO_N "(cached) $ECHO_C" >&6
9286 cat >conftest.$ac_ext <<_ACEOF
9289 cat confdefs.h >>conftest.$ac_ext
9290 cat >>conftest.$ac_ext <<_ACEOF
9291 /* end confdefs.h. */
9292 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
9293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9294 #define remove innocuous_remove
9296 /* System header to define __stub macros and hopefully few prototypes,
9297 which can conflict with char remove (); below.
9298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9299 <limits.h> exists even on freestanding compilers. */
9302 # include <limits.h>
9304 # include <assert.h>
9309 /* Override any GCC internal prototype to avoid an error.
9310 Use char because int might match the return type of a GCC
9311 builtin and then its argument prototype would still apply. */
9316 /* The GNU C library defines this for functions which it implements
9317 to always fail with ENOSYS. Some functions are actually named
9318 something starting with __ and the normal name is an alias. */
9319 #if defined __stub_remove || defined __stub___remove
9331 rm -f conftest.$ac_objext conftest$ac_exeext
9332 if { (ac_try="$ac_link"
9334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9335 *) ac_try_echo=$ac_try;;
9337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9338 (eval "$ac_link") 2>conftest.er1
9340 grep -v '^ *+' conftest.er1 >conftest.err
9342 cat conftest.err >&5
9343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344 (exit $ac_status); } && {
9345 test -z "$ac_c_werror_flag" ||
9346 test ! -s conftest.err
9347 } && test -s conftest$ac_exeext &&
9348 $as_test_x conftest$ac_exeext; then
9349 ac_cv_func_remove=yes
9351 echo "$as_me: failed program was:" >&5
9352 sed 's/^/| /' conftest.$ac_ext >&5
9354 ac_cv_func_remove=no
9357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9358 conftest$ac_exeext conftest.$ac_ext
9360 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
9361 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
9363 if test $ac_cv_func_remove = no; then
9364 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
9365 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
9366 if test "${ac_cv_lib_posix_remove+set}" = set; then
9367 echo $ECHO_N "(cached) $ECHO_C" >&6
9369 ac_check_lib_save_LIBS=$LIBS
9370 LIBS="-lposix $LIBS"
9371 cat >conftest.$ac_ext <<_ACEOF
9374 cat confdefs.h >>conftest.$ac_ext
9375 cat >>conftest.$ac_ext <<_ACEOF
9376 /* end confdefs.h. */
9378 /* Override any GCC internal prototype to avoid an error.
9379 Use char because int might match the return type of a GCC
9380 builtin and then its argument prototype would still apply. */
9393 rm -f conftest.$ac_objext conftest$ac_exeext
9394 if { (ac_try="$ac_link"
9396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9397 *) ac_try_echo=$ac_try;;
9399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9400 (eval "$ac_link") 2>conftest.er1
9402 grep -v '^ *+' conftest.er1 >conftest.err
9404 cat conftest.err >&5
9405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9406 (exit $ac_status); } && {
9407 test -z "$ac_c_werror_flag" ||
9408 test ! -s conftest.err
9409 } && test -s conftest$ac_exeext &&
9410 $as_test_x conftest$ac_exeext; then
9411 ac_cv_lib_posix_remove=yes
9413 echo "$as_me: failed program was:" >&5
9414 sed 's/^/| /' conftest.$ac_ext >&5
9416 ac_cv_lib_posix_remove=no
9419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9420 conftest$ac_exeext conftest.$ac_ext
9421 LIBS=$ac_check_lib_save_LIBS
9423 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
9424 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
9425 if test $ac_cv_lib_posix_remove = yes; then
9426 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9431 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9432 { echo "$as_me:$LINENO: checking for shmat" >&5
9433 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
9434 if test "${ac_cv_func_shmat+set}" = set; then
9435 echo $ECHO_N "(cached) $ECHO_C" >&6
9437 cat >conftest.$ac_ext <<_ACEOF
9440 cat confdefs.h >>conftest.$ac_ext
9441 cat >>conftest.$ac_ext <<_ACEOF
9442 /* end confdefs.h. */
9443 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
9444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9445 #define shmat innocuous_shmat
9447 /* System header to define __stub macros and hopefully few prototypes,
9448 which can conflict with char shmat (); below.
9449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9450 <limits.h> exists even on freestanding compilers. */
9453 # include <limits.h>
9455 # include <assert.h>
9460 /* Override any GCC internal prototype to avoid an error.
9461 Use char because int might match the return type of a GCC
9462 builtin and then its argument prototype would still apply. */
9467 /* The GNU C library defines this for functions which it implements
9468 to always fail with ENOSYS. Some functions are actually named
9469 something starting with __ and the normal name is an alias. */
9470 #if defined __stub_shmat || defined __stub___shmat
9482 rm -f conftest.$ac_objext conftest$ac_exeext
9483 if { (ac_try="$ac_link"
9485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9486 *) ac_try_echo=$ac_try;;
9488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9489 (eval "$ac_link") 2>conftest.er1
9491 grep -v '^ *+' conftest.er1 >conftest.err
9493 cat conftest.err >&5
9494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9495 (exit $ac_status); } && {
9496 test -z "$ac_c_werror_flag" ||
9497 test ! -s conftest.err
9498 } && test -s conftest$ac_exeext &&
9499 $as_test_x conftest$ac_exeext; then
9500 ac_cv_func_shmat=yes
9502 echo "$as_me: failed program was:" >&5
9503 sed 's/^/| /' conftest.$ac_ext >&5
9508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9509 conftest$ac_exeext conftest.$ac_ext
9511 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
9512 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
9514 if test $ac_cv_func_shmat = no; then
9515 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
9516 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
9517 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
9518 echo $ECHO_N "(cached) $ECHO_C" >&6
9520 ac_check_lib_save_LIBS=$LIBS
9522 cat >conftest.$ac_ext <<_ACEOF
9525 cat confdefs.h >>conftest.$ac_ext
9526 cat >>conftest.$ac_ext <<_ACEOF
9527 /* end confdefs.h. */
9529 /* Override any GCC internal prototype to avoid an error.
9530 Use char because int might match the return type of a GCC
9531 builtin and then its argument prototype would still apply. */
9544 rm -f conftest.$ac_objext conftest$ac_exeext
9545 if { (ac_try="$ac_link"
9547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9548 *) ac_try_echo=$ac_try;;
9550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9551 (eval "$ac_link") 2>conftest.er1
9553 grep -v '^ *+' conftest.er1 >conftest.err
9555 cat conftest.err >&5
9556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9557 (exit $ac_status); } && {
9558 test -z "$ac_c_werror_flag" ||
9559 test ! -s conftest.err
9560 } && test -s conftest$ac_exeext &&
9561 $as_test_x conftest$ac_exeext; then
9562 ac_cv_lib_ipc_shmat=yes
9564 echo "$as_me: failed program was:" >&5
9565 sed 's/^/| /' conftest.$ac_ext >&5
9567 ac_cv_lib_ipc_shmat=no
9570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9571 conftest$ac_exeext conftest.$ac_ext
9572 LIBS=$ac_check_lib_save_LIBS
9574 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
9575 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
9576 if test $ac_cv_lib_ipc_shmat = yes; then
9577 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9583 # Check for libraries that X11R6 Xt/Xaw programs need.
9584 ac_save_LDFLAGS=$LDFLAGS
9585 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9586 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9587 # check for ICE first), but we must link in the order -lSM -lICE or
9588 # we get undefined symbols. So assume we have SM if we have ICE.
9589 # These have to be linked with before -lX11, unlike the other
9590 # libraries we check for below, so use a different variable.
9591 # John Interrante, Karl Berry
9592 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
9593 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
9594 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
9595 echo $ECHO_N "(cached) $ECHO_C" >&6
9597 ac_check_lib_save_LIBS=$LIBS
9598 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9599 cat >conftest.$ac_ext <<_ACEOF
9602 cat confdefs.h >>conftest.$ac_ext
9603 cat >>conftest.$ac_ext <<_ACEOF
9604 /* end confdefs.h. */
9606 /* Override any GCC internal prototype to avoid an error.
9607 Use char because int might match the return type of a GCC
9608 builtin and then its argument prototype would still apply. */
9612 char IceConnectionNumber ();
9616 return IceConnectionNumber ();
9621 rm -f conftest.$ac_objext conftest$ac_exeext
9622 if { (ac_try="$ac_link"
9624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9625 *) ac_try_echo=$ac_try;;
9627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9628 (eval "$ac_link") 2>conftest.er1
9630 grep -v '^ *+' conftest.er1 >conftest.err
9632 cat conftest.err >&5
9633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9634 (exit $ac_status); } && {
9635 test -z "$ac_c_werror_flag" ||
9636 test ! -s conftest.err
9637 } && test -s conftest$ac_exeext &&
9638 $as_test_x conftest$ac_exeext; then
9639 ac_cv_lib_ICE_IceConnectionNumber=yes
9641 echo "$as_me: failed program was:" >&5
9642 sed 's/^/| /' conftest.$ac_ext >&5
9644 ac_cv_lib_ICE_IceConnectionNumber=no
9647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9648 conftest$ac_exeext conftest.$ac_ext
9649 LIBS=$ac_check_lib_save_LIBS
9651 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9652 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9653 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
9654 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9657 LDFLAGS=$ac_save_LDFLAGS
9661 if test -n "$no_x" ; then
9662 echo $PRODUCT requires the X Window System header files and libraries!
9663 echo They were not found on your system. See FAQ topic C.2.
9664 echo configure failed
9668 if test "${ac_cv_header_X11_Intrinsic_h+set}" = set; then
9669 { echo "$as_me:$LINENO: checking for X11/Intrinsic.h" >&5
9670 echo $ECHO_N "checking for X11/Intrinsic.h... $ECHO_C" >&6; }
9671 if test "${ac_cv_header_X11_Intrinsic_h+set}" = set; then
9672 echo $ECHO_N "(cached) $ECHO_C" >&6
9674 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Intrinsic_h" >&5
9675 echo "${ECHO_T}$ac_cv_header_X11_Intrinsic_h" >&6; }
9677 # Is the header compilable?
9678 { echo "$as_me:$LINENO: checking X11/Intrinsic.h usability" >&5
9679 echo $ECHO_N "checking X11/Intrinsic.h usability... $ECHO_C" >&6; }
9680 cat >conftest.$ac_ext <<_ACEOF
9683 cat confdefs.h >>conftest.$ac_ext
9684 cat >>conftest.$ac_ext <<_ACEOF
9685 /* end confdefs.h. */
9686 $ac_includes_default
9687 #include <X11/Intrinsic.h>
9689 rm -f conftest.$ac_objext
9690 if { (ac_try="$ac_compile"
9692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9693 *) ac_try_echo=$ac_try;;
9695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9696 (eval "$ac_compile") 2>conftest.er1
9698 grep -v '^ *+' conftest.er1 >conftest.err
9700 cat conftest.err >&5
9701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9702 (exit $ac_status); } && {
9703 test -z "$ac_c_werror_flag" ||
9704 test ! -s conftest.err
9705 } && test -s conftest.$ac_objext; then
9706 ac_header_compiler=yes
9708 echo "$as_me: failed program was:" >&5
9709 sed 's/^/| /' conftest.$ac_ext >&5
9711 ac_header_compiler=no
9714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9715 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9716 echo "${ECHO_T}$ac_header_compiler" >&6; }
9718 # Is the header present?
9719 { echo "$as_me:$LINENO: checking X11/Intrinsic.h presence" >&5
9720 echo $ECHO_N "checking X11/Intrinsic.h presence... $ECHO_C" >&6; }
9721 cat >conftest.$ac_ext <<_ACEOF
9724 cat confdefs.h >>conftest.$ac_ext
9725 cat >>conftest.$ac_ext <<_ACEOF
9726 /* end confdefs.h. */
9727 #include <X11/Intrinsic.h>
9729 if { (ac_try="$ac_cpp conftest.$ac_ext"
9731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9732 *) ac_try_echo=$ac_try;;
9734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9735 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9737 grep -v '^ *+' conftest.er1 >conftest.err
9739 cat conftest.err >&5
9740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9741 (exit $ac_status); } >/dev/null && {
9742 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9743 test ! -s conftest.err
9745 ac_header_preproc=yes
9747 echo "$as_me: failed program was:" >&5
9748 sed 's/^/| /' conftest.$ac_ext >&5
9750 ac_header_preproc=no
9753 rm -f conftest.err conftest.$ac_ext
9754 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9755 echo "${ECHO_T}$ac_header_preproc" >&6; }
9757 # So? What about this header?
9758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9760 { echo "$as_me:$LINENO: WARNING: X11/Intrinsic.h: accepted by the compiler, rejected by the preprocessor!" >&5
9761 echo "$as_me: WARNING: X11/Intrinsic.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9762 { echo "$as_me:$LINENO: WARNING: X11/Intrinsic.h: proceeding with the compiler's result" >&5
9763 echo "$as_me: WARNING: X11/Intrinsic.h: proceeding with the compiler's result" >&2;}
9764 ac_header_preproc=yes
9767 { echo "$as_me:$LINENO: WARNING: X11/Intrinsic.h: present but cannot be compiled" >&5
9768 echo "$as_me: WARNING: X11/Intrinsic.h: present but cannot be compiled" >&2;}
9769 { echo "$as_me:$LINENO: WARNING: X11/Intrinsic.h: check for missing prerequisite headers?" >&5
9770 echo "$as_me: WARNING: X11/Intrinsic.h: check for missing prerequisite headers?" >&2;}
9771 { echo "$as_me:$LINENO: WARNING: X11/Intrinsic.h: see the Autoconf documentation" >&5
9772 echo "$as_me: WARNING: X11/Intrinsic.h: see the Autoconf documentation" >&2;}
9773 { echo "$as_me:$LINENO: WARNING: X11/Intrinsic.h: section \"Present But Cannot Be Compiled\"" >&5
9774 echo "$as_me: WARNING: X11/Intrinsic.h: section \"Present But Cannot Be Compiled\"" >&2;}
9775 { echo "$as_me:$LINENO: WARNING: X11/Intrinsic.h: proceeding with the preprocessor's result" >&5
9776 echo "$as_me: WARNING: X11/Intrinsic.h: proceeding with the preprocessor's result" >&2;}
9777 { echo "$as_me:$LINENO: WARNING: X11/Intrinsic.h: in the future, the compiler will take precedence" >&5
9778 echo "$as_me: WARNING: X11/Intrinsic.h: in the future, the compiler will take precedence" >&2;}
9782 { echo "$as_me:$LINENO: checking for X11/Intrinsic.h" >&5
9783 echo $ECHO_N "checking for X11/Intrinsic.h... $ECHO_C" >&6; }
9784 if test "${ac_cv_header_X11_Intrinsic_h+set}" = set; then
9785 echo $ECHO_N "(cached) $ECHO_C" >&6
9787 ac_cv_header_X11_Intrinsic_h=$ac_header_preproc
9789 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Intrinsic_h" >&5
9790 echo "${ECHO_T}$ac_cv_header_X11_Intrinsic_h" >&6; }
9793 if test $ac_cv_header_X11_Intrinsic_h = yes; then
9801 if test "$xt" == "no" ; then
9802 echo Xt headers not found
9807 # Check whether --with-Xaw3d was given.
9808 if test "${with_Xaw3d+set}" = set; then
9809 withval=$with_Xaw3d; with_xaw3d="yes"
9817 if test "$with_xaw3d" == "yes" ; then
9819 { echo "$as_me:$LINENO: checking for XawTextReplace in -lXaw3d" >&5
9820 echo $ECHO_N "checking for XawTextReplace in -lXaw3d... $ECHO_C" >&6; }
9821 if test "${ac_cv_lib_Xaw3d_XawTextReplace+set}" = set; then
9822 echo $ECHO_N "(cached) $ECHO_C" >&6
9824 ac_check_lib_save_LIBS=$LIBS
9825 LIBS="-lXaw3d $LIBS"
9826 cat >conftest.$ac_ext <<_ACEOF
9829 cat confdefs.h >>conftest.$ac_ext
9830 cat >>conftest.$ac_ext <<_ACEOF
9831 /* end confdefs.h. */
9833 /* Override any GCC internal prototype to avoid an error.
9834 Use char because int might match the return type of a GCC
9835 builtin and then its argument prototype would still apply. */
9839 char XawTextReplace ();
9843 return XawTextReplace ();
9848 rm -f conftest.$ac_objext conftest$ac_exeext
9849 if { (ac_try="$ac_link"
9851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9852 *) ac_try_echo=$ac_try;;
9854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9855 (eval "$ac_link") 2>conftest.er1
9857 grep -v '^ *+' conftest.er1 >conftest.err
9859 cat conftest.err >&5
9860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9861 (exit $ac_status); } && {
9862 test -z "$ac_c_werror_flag" ||
9863 test ! -s conftest.err
9864 } && test -s conftest$ac_exeext &&
9865 $as_test_x conftest$ac_exeext; then
9866 ac_cv_lib_Xaw3d_XawTextReplace=yes
9868 echo "$as_me: failed program was:" >&5
9869 sed 's/^/| /' conftest.$ac_ext >&5
9871 ac_cv_lib_Xaw3d_XawTextReplace=no
9874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9875 conftest$ac_exeext conftest.$ac_ext
9876 LIBS=$ac_check_lib_save_LIBS
9878 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawTextReplace" >&5
9879 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawTextReplace" >&6; }
9880 if test $ac_cv_lib_Xaw3d_XawTextReplace = yes; then
9886 if test "$xaw3d_lib" == "no" ; then
9887 echo Xaw3d libraries not found
9890 if test "${ac_cv_header_X11_Xaw3d_Dialog_h+set}" = set; then
9891 { echo "$as_me:$LINENO: checking for X11/Xaw3d/Dialog.h" >&5
9892 echo $ECHO_N "checking for X11/Xaw3d/Dialog.h... $ECHO_C" >&6; }
9893 if test "${ac_cv_header_X11_Xaw3d_Dialog_h+set}" = set; then
9894 echo $ECHO_N "(cached) $ECHO_C" >&6
9896 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Dialog_h" >&5
9897 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Dialog_h" >&6; }
9899 # Is the header compilable?
9900 { echo "$as_me:$LINENO: checking X11/Xaw3d/Dialog.h usability" >&5
9901 echo $ECHO_N "checking X11/Xaw3d/Dialog.h usability... $ECHO_C" >&6; }
9902 cat >conftest.$ac_ext <<_ACEOF
9905 cat confdefs.h >>conftest.$ac_ext
9906 cat >>conftest.$ac_ext <<_ACEOF
9907 /* end confdefs.h. */
9908 $ac_includes_default
9909 #include <X11/Xaw3d/Dialog.h>
9911 rm -f conftest.$ac_objext
9912 if { (ac_try="$ac_compile"
9914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9915 *) ac_try_echo=$ac_try;;
9917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9918 (eval "$ac_compile") 2>conftest.er1
9920 grep -v '^ *+' conftest.er1 >conftest.err
9922 cat conftest.err >&5
9923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9924 (exit $ac_status); } && {
9925 test -z "$ac_c_werror_flag" ||
9926 test ! -s conftest.err
9927 } && test -s conftest.$ac_objext; then
9928 ac_header_compiler=yes
9930 echo "$as_me: failed program was:" >&5
9931 sed 's/^/| /' conftest.$ac_ext >&5
9933 ac_header_compiler=no
9936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9937 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9938 echo "${ECHO_T}$ac_header_compiler" >&6; }
9940 # Is the header present?
9941 { echo "$as_me:$LINENO: checking X11/Xaw3d/Dialog.h presence" >&5
9942 echo $ECHO_N "checking X11/Xaw3d/Dialog.h presence... $ECHO_C" >&6; }
9943 cat >conftest.$ac_ext <<_ACEOF
9946 cat confdefs.h >>conftest.$ac_ext
9947 cat >>conftest.$ac_ext <<_ACEOF
9948 /* end confdefs.h. */
9949 #include <X11/Xaw3d/Dialog.h>
9951 if { (ac_try="$ac_cpp conftest.$ac_ext"
9953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9954 *) ac_try_echo=$ac_try;;
9956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9957 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9959 grep -v '^ *+' conftest.er1 >conftest.err
9961 cat conftest.err >&5
9962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9963 (exit $ac_status); } >/dev/null && {
9964 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9965 test ! -s conftest.err
9967 ac_header_preproc=yes
9969 echo "$as_me: failed program was:" >&5
9970 sed 's/^/| /' conftest.$ac_ext >&5
9972 ac_header_preproc=no
9975 rm -f conftest.err conftest.$ac_ext
9976 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9977 echo "${ECHO_T}$ac_header_preproc" >&6; }
9979 # So? What about this header?
9980 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9982 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Dialog.h: accepted by the compiler, rejected by the preprocessor!" >&5
9983 echo "$as_me: WARNING: X11/Xaw3d/Dialog.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9984 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Dialog.h: proceeding with the compiler's result" >&5
9985 echo "$as_me: WARNING: X11/Xaw3d/Dialog.h: proceeding with the compiler's result" >&2;}
9986 ac_header_preproc=yes
9989 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Dialog.h: present but cannot be compiled" >&5
9990 echo "$as_me: WARNING: X11/Xaw3d/Dialog.h: present but cannot be compiled" >&2;}
9991 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Dialog.h: check for missing prerequisite headers?" >&5
9992 echo "$as_me: WARNING: X11/Xaw3d/Dialog.h: check for missing prerequisite headers?" >&2;}
9993 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Dialog.h: see the Autoconf documentation" >&5
9994 echo "$as_me: WARNING: X11/Xaw3d/Dialog.h: see the Autoconf documentation" >&2;}
9995 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Dialog.h: section \"Present But Cannot Be Compiled\"" >&5
9996 echo "$as_me: WARNING: X11/Xaw3d/Dialog.h: section \"Present But Cannot Be Compiled\"" >&2;}
9997 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Dialog.h: proceeding with the preprocessor's result" >&5
9998 echo "$as_me: WARNING: X11/Xaw3d/Dialog.h: proceeding with the preprocessor's result" >&2;}
9999 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Dialog.h: in the future, the compiler will take precedence" >&5
10000 echo "$as_me: WARNING: X11/Xaw3d/Dialog.h: in the future, the compiler will take precedence" >&2;}
10004 { echo "$as_me:$LINENO: checking for X11/Xaw3d/Dialog.h" >&5
10005 echo $ECHO_N "checking for X11/Xaw3d/Dialog.h... $ECHO_C" >&6; }
10006 if test "${ac_cv_header_X11_Xaw3d_Dialog_h+set}" = set; then
10007 echo $ECHO_N "(cached) $ECHO_C" >&6
10009 ac_cv_header_X11_Xaw3d_Dialog_h=$ac_header_preproc
10011 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Dialog_h" >&5
10012 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Dialog_h" >&6; }
10015 if test $ac_cv_header_X11_Xaw3d_Dialog_h = yes; then
10016 xaw3d_headers="yes"
10022 if test "$xaw3d_headers" == "yes" ; then
10023 cat >>confdefs.h <<\_ACEOF
10024 #define USE_XAW3D 1
10029 if test "${ac_cv_header_X11_Xaw_Dialog_h+set}" = set; then
10030 { echo "$as_me:$LINENO: checking for X11/Xaw/Dialog.h" >&5
10031 echo $ECHO_N "checking for X11/Xaw/Dialog.h... $ECHO_C" >&6; }
10032 if test "${ac_cv_header_X11_Xaw_Dialog_h+set}" = set; then
10033 echo $ECHO_N "(cached) $ECHO_C" >&6
10035 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw_Dialog_h" >&5
10036 echo "${ECHO_T}$ac_cv_header_X11_Xaw_Dialog_h" >&6; }
10038 # Is the header compilable?
10039 { echo "$as_me:$LINENO: checking X11/Xaw/Dialog.h usability" >&5
10040 echo $ECHO_N "checking X11/Xaw/Dialog.h usability... $ECHO_C" >&6; }
10041 cat >conftest.$ac_ext <<_ACEOF
10044 cat confdefs.h >>conftest.$ac_ext
10045 cat >>conftest.$ac_ext <<_ACEOF
10046 /* end confdefs.h. */
10047 $ac_includes_default
10048 #include <X11/Xaw/Dialog.h>
10050 rm -f conftest.$ac_objext
10051 if { (ac_try="$ac_compile"
10052 case "(($ac_try" in
10053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10054 *) ac_try_echo=$ac_try;;
10056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10057 (eval "$ac_compile") 2>conftest.er1
10059 grep -v '^ *+' conftest.er1 >conftest.err
10061 cat conftest.err >&5
10062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10063 (exit $ac_status); } && {
10064 test -z "$ac_c_werror_flag" ||
10065 test ! -s conftest.err
10066 } && test -s conftest.$ac_objext; then
10067 ac_header_compiler=yes
10069 echo "$as_me: failed program was:" >&5
10070 sed 's/^/| /' conftest.$ac_ext >&5
10072 ac_header_compiler=no
10075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10076 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10077 echo "${ECHO_T}$ac_header_compiler" >&6; }
10079 # Is the header present?
10080 { echo "$as_me:$LINENO: checking X11/Xaw/Dialog.h presence" >&5
10081 echo $ECHO_N "checking X11/Xaw/Dialog.h presence... $ECHO_C" >&6; }
10082 cat >conftest.$ac_ext <<_ACEOF
10085 cat confdefs.h >>conftest.$ac_ext
10086 cat >>conftest.$ac_ext <<_ACEOF
10087 /* end confdefs.h. */
10088 #include <X11/Xaw/Dialog.h>
10090 if { (ac_try="$ac_cpp conftest.$ac_ext"
10091 case "(($ac_try" in
10092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10093 *) ac_try_echo=$ac_try;;
10095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10096 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10098 grep -v '^ *+' conftest.er1 >conftest.err
10100 cat conftest.err >&5
10101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10102 (exit $ac_status); } >/dev/null && {
10103 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10104 test ! -s conftest.err
10106 ac_header_preproc=yes
10108 echo "$as_me: failed program was:" >&5
10109 sed 's/^/| /' conftest.$ac_ext >&5
10111 ac_header_preproc=no
10114 rm -f conftest.err conftest.$ac_ext
10115 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10116 echo "${ECHO_T}$ac_header_preproc" >&6; }
10118 # So? What about this header?
10119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10121 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: accepted by the compiler, rejected by the preprocessor!" >&5
10122 echo "$as_me: WARNING: X11/Xaw/Dialog.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10123 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: proceeding with the compiler's result" >&5
10124 echo "$as_me: WARNING: X11/Xaw/Dialog.h: proceeding with the compiler's result" >&2;}
10125 ac_header_preproc=yes
10128 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: present but cannot be compiled" >&5
10129 echo "$as_me: WARNING: X11/Xaw/Dialog.h: present but cannot be compiled" >&2;}
10130 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: check for missing prerequisite headers?" >&5
10131 echo "$as_me: WARNING: X11/Xaw/Dialog.h: check for missing prerequisite headers?" >&2;}
10132 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: see the Autoconf documentation" >&5
10133 echo "$as_me: WARNING: X11/Xaw/Dialog.h: see the Autoconf documentation" >&2;}
10134 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: section \"Present But Cannot Be Compiled\"" >&5
10135 echo "$as_me: WARNING: X11/Xaw/Dialog.h: section \"Present But Cannot Be Compiled\"" >&2;}
10136 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: proceeding with the preprocessor's result" >&5
10137 echo "$as_me: WARNING: X11/Xaw/Dialog.h: proceeding with the preprocessor's result" >&2;}
10138 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: in the future, the compiler will take precedence" >&5
10139 echo "$as_me: WARNING: X11/Xaw/Dialog.h: in the future, the compiler will take precedence" >&2;}
10143 { echo "$as_me:$LINENO: checking for X11/Xaw/Dialog.h" >&5
10144 echo $ECHO_N "checking for X11/Xaw/Dialog.h... $ECHO_C" >&6; }
10145 if test "${ac_cv_header_X11_Xaw_Dialog_h+set}" = set; then
10146 echo $ECHO_N "(cached) $ECHO_C" >&6
10148 ac_cv_header_X11_Xaw_Dialog_h=$ac_header_preproc
10150 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw_Dialog_h" >&5
10151 echo "${ECHO_T}$ac_cv_header_X11_Xaw_Dialog_h" >&6; }
10154 if test $ac_cv_header_X11_Xaw_Dialog_h = yes; then
10163 if test "${ac_cv_header_X11_Xaw_Dialog_h+set}" = set; then
10164 { echo "$as_me:$LINENO: checking for X11/Xaw/Dialog.h" >&5
10165 echo $ECHO_N "checking for X11/Xaw/Dialog.h... $ECHO_C" >&6; }
10166 if test "${ac_cv_header_X11_Xaw_Dialog_h+set}" = set; then
10167 echo $ECHO_N "(cached) $ECHO_C" >&6
10169 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw_Dialog_h" >&5
10170 echo "${ECHO_T}$ac_cv_header_X11_Xaw_Dialog_h" >&6; }
10172 # Is the header compilable?
10173 { echo "$as_me:$LINENO: checking X11/Xaw/Dialog.h usability" >&5
10174 echo $ECHO_N "checking X11/Xaw/Dialog.h usability... $ECHO_C" >&6; }
10175 cat >conftest.$ac_ext <<_ACEOF
10178 cat confdefs.h >>conftest.$ac_ext
10179 cat >>conftest.$ac_ext <<_ACEOF
10180 /* end confdefs.h. */
10181 $ac_includes_default
10182 #include <X11/Xaw/Dialog.h>
10184 rm -f conftest.$ac_objext
10185 if { (ac_try="$ac_compile"
10186 case "(($ac_try" in
10187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10188 *) ac_try_echo=$ac_try;;
10190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10191 (eval "$ac_compile") 2>conftest.er1
10193 grep -v '^ *+' conftest.er1 >conftest.err
10195 cat conftest.err >&5
10196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10197 (exit $ac_status); } && {
10198 test -z "$ac_c_werror_flag" ||
10199 test ! -s conftest.err
10200 } && test -s conftest.$ac_objext; then
10201 ac_header_compiler=yes
10203 echo "$as_me: failed program was:" >&5
10204 sed 's/^/| /' conftest.$ac_ext >&5
10206 ac_header_compiler=no
10209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10210 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10211 echo "${ECHO_T}$ac_header_compiler" >&6; }
10213 # Is the header present?
10214 { echo "$as_me:$LINENO: checking X11/Xaw/Dialog.h presence" >&5
10215 echo $ECHO_N "checking X11/Xaw/Dialog.h presence... $ECHO_C" >&6; }
10216 cat >conftest.$ac_ext <<_ACEOF
10219 cat confdefs.h >>conftest.$ac_ext
10220 cat >>conftest.$ac_ext <<_ACEOF
10221 /* end confdefs.h. */
10222 #include <X11/Xaw/Dialog.h>
10224 if { (ac_try="$ac_cpp conftest.$ac_ext"
10225 case "(($ac_try" in
10226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10227 *) ac_try_echo=$ac_try;;
10229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10230 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10232 grep -v '^ *+' conftest.er1 >conftest.err
10234 cat conftest.err >&5
10235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236 (exit $ac_status); } >/dev/null && {
10237 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10238 test ! -s conftest.err
10240 ac_header_preproc=yes
10242 echo "$as_me: failed program was:" >&5
10243 sed 's/^/| /' conftest.$ac_ext >&5
10245 ac_header_preproc=no
10248 rm -f conftest.err conftest.$ac_ext
10249 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10250 echo "${ECHO_T}$ac_header_preproc" >&6; }
10252 # So? What about this header?
10253 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10255 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: accepted by the compiler, rejected by the preprocessor!" >&5
10256 echo "$as_me: WARNING: X11/Xaw/Dialog.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10257 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: proceeding with the compiler's result" >&5
10258 echo "$as_me: WARNING: X11/Xaw/Dialog.h: proceeding with the compiler's result" >&2;}
10259 ac_header_preproc=yes
10262 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: present but cannot be compiled" >&5
10263 echo "$as_me: WARNING: X11/Xaw/Dialog.h: present but cannot be compiled" >&2;}
10264 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: check for missing prerequisite headers?" >&5
10265 echo "$as_me: WARNING: X11/Xaw/Dialog.h: check for missing prerequisite headers?" >&2;}
10266 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: see the Autoconf documentation" >&5
10267 echo "$as_me: WARNING: X11/Xaw/Dialog.h: see the Autoconf documentation" >&2;}
10268 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: section \"Present But Cannot Be Compiled\"" >&5
10269 echo "$as_me: WARNING: X11/Xaw/Dialog.h: section \"Present But Cannot Be Compiled\"" >&2;}
10270 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: proceeding with the preprocessor's result" >&5
10271 echo "$as_me: WARNING: X11/Xaw/Dialog.h: proceeding with the preprocessor's result" >&2;}
10272 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: in the future, the compiler will take precedence" >&5
10273 echo "$as_me: WARNING: X11/Xaw/Dialog.h: in the future, the compiler will take precedence" >&2;}
10277 { echo "$as_me:$LINENO: checking for X11/Xaw/Dialog.h" >&5
10278 echo $ECHO_N "checking for X11/Xaw/Dialog.h... $ECHO_C" >&6; }
10279 if test "${ac_cv_header_X11_Xaw_Dialog_h+set}" = set; then
10280 echo $ECHO_N "(cached) $ECHO_C" >&6
10282 ac_cv_header_X11_Xaw_Dialog_h=$ac_header_preproc
10284 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw_Dialog_h" >&5
10285 echo "${ECHO_T}$ac_cv_header_X11_Xaw_Dialog_h" >&6; }
10288 if test $ac_cv_header_X11_Xaw_Dialog_h = yes; then
10299 if test "$xaw_headers" == "no" ; then
10300 echo Xaw headers not found
10308 # Make sure we can run config.sub.
10309 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
10310 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
10311 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
10312 { (exit 1); exit 1; }; }
10314 { echo "$as_me:$LINENO: checking build system type" >&5
10315 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
10316 if test "${ac_cv_build+set}" = set; then
10317 echo $ECHO_N "(cached) $ECHO_C" >&6
10319 ac_build_alias=$build_alias
10320 test "x$ac_build_alias" = x &&
10321 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
10322 test "x$ac_build_alias" = x &&
10323 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
10324 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
10325 { (exit 1); exit 1; }; }
10326 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
10327 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
10328 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
10329 { (exit 1); exit 1; }; }
10332 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
10333 echo "${ECHO_T}$ac_cv_build" >&6; }
10334 case $ac_cv_build in
10336 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
10337 echo "$as_me: error: invalid value of canonical build" >&2;}
10338 { (exit 1); exit 1; }; };;
10341 ac_save_IFS=$IFS; IFS='-'
10347 # Remember, the first character of IFS is used to create $*,
10348 # except with old shells:
10351 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
10354 { echo "$as_me:$LINENO: checking host system type" >&5
10355 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
10356 if test "${ac_cv_host+set}" = set; then
10357 echo $ECHO_N "(cached) $ECHO_C" >&6
10359 if test "x$host_alias" = x; then
10360 ac_cv_host=$ac_cv_build
10362 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
10363 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
10364 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
10365 { (exit 1); exit 1; }; }
10369 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
10370 echo "${ECHO_T}$ac_cv_host" >&6; }
10371 case $ac_cv_host in
10373 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
10374 echo "$as_me: error: invalid value of canonical host" >&2;}
10375 { (exit 1); exit 1; }; };;
10378 ac_save_IFS=$IFS; IFS='-'
10384 # Remember, the first character of IFS is used to create $*,
10385 # except with old shells:
10388 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
10397 cat >>confdefs.h <<\_ACEOF
10398 #define PTY_TTY_NAME_SPRINTF sprintf (pty_name, "/dev/pty/tty%c%x", c, i);
10401 cat >>confdefs.h <<\_ACEOF
10402 #define PTY_NAME_SPRINTF sprintf (pty_name, "/dev/ptym/pty%c%x", c, i);
10405 if test "$GCC" = yes; then
10406 CONF_CFLAGS="-fwritable-strings"
10410 CONF_CFLAGS="-Aa -D_HPUX_SOURCE"
10414 if test -d /opt/hppd/include/X11; then
10415 X_CFLAGS="$X_CFLAGS -I/opt/hppd/include"
10416 X_LIBS="$X_LIBS -L/opt/hppd/lib"
10417 elif test -d /usr/contrib/X11R5/include; then
10418 X_CFLAGS="$X_CFLAGS -I/usr/contrib/X11R5/include"
10419 X_LIBS="$X_LIBS -L/usr/contrib/X11R5/lib"
10420 elif test -d /usr/contrib/mitX11R5/include; then
10421 X_CFLAGS="$X_CFLAGS -I/usr/contrib/mitX11R5/include"
10422 X_LIBS="$X_LIBS -L/usr/contrib/mitX11R5/lib"
10423 elif test -d /MIT/X11R5/include; then
10424 X_CFLAGS="$X_CFLAGS -I/MIT/X11R5/include"
10425 X_LIBS="$X_LIBS -L/MIT/X11R5/lib"
10426 elif test -d /usr/local/include/X11R5; then
10427 X_CFLAGS="$X_CFLAGS -I/usr/local/include/X11R5"
10428 X_LIBS="$X_LIBS -L/usr/local/lib/X11R5"
10430 if test -d /usr/include/X11R5; then
10431 X_CFLAGS="$X_CFLAGS -I/usr/include/X11R5"
10432 X_LIBS="$X_LIBS -L/usr/lib/X11R5 -L/usr/lib/X11R4"
10433 elif test -d /usr/include/X11R4; then
10434 X_CFLAGS="$X_CFLAGS -I/usr/include/X11R4"
10435 X_LIBS="$X_LIBS -L/usr/lib/X11R4"
10440 cat >>confdefs.h <<\_ACEOF
10447 if test "$GCC" = yes; then
10448 CONF_CFLAGS="-fwritable-strings"
10452 *-*-aix3* | *-*-bosx* )
10453 cat >>confdefs.h <<\_ACEOF
10454 #define PTY_ITERATION for (c = 0; !c; c++)
10457 cat >>confdefs.h <<\_ACEOF
10458 #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptc");
10461 cat >>confdefs.h <<\_ACEOF
10462 #define PTY_TTY_NAME_SPRINTF strcpy (pty_name, ttyname (fd));
10468 cat >>confdefs.h <<\_ACEOF
10469 #define FIRST_PTY_LETTER 'A'
10472 cat >>confdefs.h <<\_ACEOF
10473 #define LAST_PTY_LETTER 'P'
10479 cat >>confdefs.h <<\_ACEOF
10486 cat >>confdefs.h <<\_ACEOF
10487 #define FIRST_PTY_LETTER 'z'
10490 cat >>confdefs.h <<\_ACEOF
10491 #define PTY_TTY_NAME_SPRINTF sprintf (pty_name, "/dev/ttyp%x", i);
10494 cat >>confdefs.h <<\_ACEOF
10495 #define PTY_NAME_SPRINTF sprintf (pty_name, "/dev/pty%x", i);
10498 cat >>confdefs.h <<\_ACEOF
10504 *-*-iris* | *-*-irix3* )
10505 cat >>confdefs.h <<\_ACEOF
10506 #define PTY_ITERATION for (c = 0; !c; c++)
10509 cat >>confdefs.h <<\_ACEOF
10510 #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptc");
10513 cat >>confdefs.h <<\_ACEOF
10514 #define PTY_TTY_NAME_SPRINTF sprintf (pty_name, "/dev/ttyq%d", minor(stb.st_rdev));
10522 *-*-sunos4* | *-*-solaris1* )
10525 if test "$GCC" = yes; then
10526 PRE_XMULIB="-static"
10527 POST_XMULIB="-dynamic"
10529 PRE_XMULIB="-Bstatic"
10530 POST_XMULIB="-Bdynamic"
10534 *-*-sunos5* | *-*-solaris2* )
10537 X_LIBS="$X_LIBS -lelf"
10541 cat >>confdefs.h <<\_ACEOF
10542 #define PTY_ITERATION for (i = 0; ; i++)
10545 cat >>confdefs.h <<\_ACEOF
10546 #define PTY_NAME_SPRINTF sprintf (pty_name, "/dev/ptyp%d", i);
10549 cat >>confdefs.h <<\_ACEOF
10550 #define PTY_TTY_NAME_SPRINTF sprintf (pty_name, "/dev/ttyp%d", i);
10555 *-*-dynix* | *-*-ptx* )
10561 *-*-usg5-4* | *-*-sysvr4* )
10564 *-*-usg* | *-*-sysv* | *-*-aix* )
10568 if test "$GCC" = yes; then
10569 CONF_CFLAGS="-fwritable-strings"
10574 # Check whether --enable-xpm was given.
10575 if test "${enable_xpm+set}" = set; then
10576 enableval=$enable_xpm; enable_xpm="$enableval"
10582 if test "$enable_xpm" = "yes"; then
10583 save_cflags="$CFLAGS"
10584 CFLAGS="$CFLAGS $X_CFLAGS"
10585 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10587 for ac_header in X11/xpm.h
10589 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10590 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10591 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10593 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10594 echo $ECHO_N "(cached) $ECHO_C" >&6
10596 ac_res=`eval echo '${'$as_ac_Header'}'`
10597 { echo "$as_me:$LINENO: result: $ac_res" >&5
10598 echo "${ECHO_T}$ac_res" >&6; }
10600 # Is the header compilable?
10601 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10602 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10603 cat >conftest.$ac_ext <<_ACEOF
10606 cat confdefs.h >>conftest.$ac_ext
10607 cat >>conftest.$ac_ext <<_ACEOF
10608 /* end confdefs.h. */
10609 $ac_includes_default
10610 #include <$ac_header>
10612 rm -f conftest.$ac_objext
10613 if { (ac_try="$ac_compile"
10614 case "(($ac_try" in
10615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10616 *) ac_try_echo=$ac_try;;
10618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10619 (eval "$ac_compile") 2>conftest.er1
10621 grep -v '^ *+' conftest.er1 >conftest.err
10623 cat conftest.err >&5
10624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10625 (exit $ac_status); } && {
10626 test -z "$ac_c_werror_flag" ||
10627 test ! -s conftest.err
10628 } && test -s conftest.$ac_objext; then
10629 ac_header_compiler=yes
10631 echo "$as_me: failed program was:" >&5
10632 sed 's/^/| /' conftest.$ac_ext >&5
10634 ac_header_compiler=no
10637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10638 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10639 echo "${ECHO_T}$ac_header_compiler" >&6; }
10641 # Is the header present?
10642 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10643 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10644 cat >conftest.$ac_ext <<_ACEOF
10647 cat confdefs.h >>conftest.$ac_ext
10648 cat >>conftest.$ac_ext <<_ACEOF
10649 /* end confdefs.h. */
10650 #include <$ac_header>
10652 if { (ac_try="$ac_cpp conftest.$ac_ext"
10653 case "(($ac_try" in
10654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10655 *) ac_try_echo=$ac_try;;
10657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10658 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10660 grep -v '^ *+' conftest.er1 >conftest.err
10662 cat conftest.err >&5
10663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10664 (exit $ac_status); } >/dev/null && {
10665 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10666 test ! -s conftest.err
10668 ac_header_preproc=yes
10670 echo "$as_me: failed program was:" >&5
10671 sed 's/^/| /' conftest.$ac_ext >&5
10673 ac_header_preproc=no
10676 rm -f conftest.err conftest.$ac_ext
10677 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10678 echo "${ECHO_T}$ac_header_preproc" >&6; }
10680 # So? What about this header?
10681 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10683 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10684 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10685 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10686 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10687 ac_header_preproc=yes
10690 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10691 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10692 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10693 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10694 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10695 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10696 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10697 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10698 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10699 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10700 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10701 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10705 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10707 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10708 echo $ECHO_N "(cached) $ECHO_C" >&6
10710 eval "$as_ac_Header=\$ac_header_preproc"
10712 ac_res=`eval echo '${'$as_ac_Header'}'`
10713 { echo "$as_me:$LINENO: result: $ac_res" >&5
10714 echo "${ECHO_T}$ac_res" >&6; }
10717 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10718 cat >>confdefs.h <<_ACEOF
10719 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10726 CFLAGS="$save_cflags"
10727 if test "$ac_cv_header_X11_xpm_h" = "yes"; then
10728 save_ldflags="$LDFLAGS"
10729 LDFLAGS="$LDFLAGS $X_LIBS"
10730 { echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
10731 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6; }
10732 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
10733 echo $ECHO_N "(cached) $ECHO_C" >&6
10735 ac_check_lib_save_LIBS=$LIBS
10736 LIBS="-lXpm $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10737 cat >conftest.$ac_ext <<_ACEOF
10740 cat confdefs.h >>conftest.$ac_ext
10741 cat >>conftest.$ac_ext <<_ACEOF
10742 /* end confdefs.h. */
10744 /* Override any GCC internal prototype to avoid an error.
10745 Use char because int might match the return type of a GCC
10746 builtin and then its argument prototype would still apply. */
10750 char XpmReadFileToPixmap ();
10754 return XpmReadFileToPixmap ();
10759 rm -f conftest.$ac_objext conftest$ac_exeext
10760 if { (ac_try="$ac_link"
10761 case "(($ac_try" in
10762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10763 *) ac_try_echo=$ac_try;;
10765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10766 (eval "$ac_link") 2>conftest.er1
10768 grep -v '^ *+' conftest.er1 >conftest.err
10770 cat conftest.err >&5
10771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10772 (exit $ac_status); } && {
10773 test -z "$ac_c_werror_flag" ||
10774 test ! -s conftest.err
10775 } && test -s conftest$ac_exeext &&
10776 $as_test_x conftest$ac_exeext; then
10777 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
10779 echo "$as_me: failed program was:" >&5
10780 sed 's/^/| /' conftest.$ac_ext >&5
10782 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
10785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10786 conftest$ac_exeext conftest.$ac_ext
10787 LIBS=$ac_check_lib_save_LIBS
10789 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
10790 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }
10791 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
10792 X_PRE_LIBS="-lXpm $X_PRE_LIBS"; cat >>confdefs.h <<\_ACEOF
10793 #define HAVE_LIBXPM 1
10798 LDFLAGS="$save_ldflags"
10807 { echo "$as_me:$LINENO: checking whether ptys or pipes should be used" >&5
10808 echo $ECHO_N "checking whether ptys or pipes should be used... $ECHO_C" >&6; }
10809 # Check whether --enable-ptys was given.
10810 if test "${enable_ptys+set}" = set; then
10811 enableval=$enable_ptys; if test "$enableval" = yes; then
10813 { echo "$as_me:$LINENO: result: ptys (user override)" >&5
10814 echo "${ECHO_T}ptys (user override)" >&6; }
10816 if test "$enableval" = no; then
10818 { echo "$as_me:$LINENO: result: pipes (user override)" >&5
10819 echo "${ECHO_T}pipes (user override)" >&6; }
10822 if test "$USE_PTYS" = 1; then
10823 { echo "$as_me:$LINENO: result: ptys" >&5
10824 echo "${ECHO_T}ptys" >&6; }
10826 { echo "$as_me:$LINENO: result: pipes" >&5
10827 echo "${ECHO_T}pipes" >&6; }
10831 cat >>confdefs.h <<_ACEOF
10832 #define USE_PTYS $USE_PTYS
10836 # Check whether --enable-zippy was given.
10837 if test "${enable_zippy+set}" = set; then
10838 enableval=$enable_zippy; enable_zippy="$enableval"
10843 if test "$enable_zippy" = yes; then
10844 cat >>confdefs.h <<\_ACEOF
10854 # Check whether --enable-sigint was given.
10855 if test "${enable_sigint+set}" = set; then
10856 enableval=$enable_sigint; if test "$enableval" = yes; then
10857 cat >>confdefs.h <<\_ACEOF
10858 #define ATTENTION 1
10863 cat >>confdefs.h <<\_ACEOF
10864 #define ATTENTION 1
10870 cat >>confdefs.h <<_ACEOF
10871 #define PRODUCT "$PRODUCT"
10874 cat >>confdefs.h <<_ACEOF
10875 #define VERSION "$VERSION"
10878 cat >>confdefs.h <<_ACEOF
10879 #define PATCHLEVEL "$PATCHLEVEL"
10886 ac_config_files="$ac_config_files cmail xboard.texinfo"
10888 ac_config_commands="$ac_config_commands default"
10890 cat >confcache <<\_ACEOF
10891 # This file is a shell script that caches the results of configure
10892 # tests run on this system so they can be shared between configure
10893 # scripts and configure runs, see configure's option --config-cache.
10894 # It is not useful on other systems. If it contains results you don't
10895 # want to keep, you may remove or edit it.
10897 # config.status only pays attention to the cache file if you give it
10898 # the --recheck option to rerun configure.
10900 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10901 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10902 # following values.
10906 # The following way of writing the cache mishandles newlines in values,
10907 # but we know of no workaround that is simple, portable, and efficient.
10908 # So, we kill variables containing newlines.
10909 # Ultrix sh set writes to stderr and can't be redirected directly,
10910 # and sets the high bit in the cache file unless we assign to the vars.
10912 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10913 eval ac_val=\$$ac_var
10917 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
10918 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
10921 _ | IFS | as_nl) ;; #(
10922 *) $as_unset $ac_var ;;
10928 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10929 *${as_nl}ac_space=\ *)
10930 # `set' does not quote correctly, so add quotes (double-quote
10931 # substitution turns \\\\ into \\, and sed turns \\ into \).
10934 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10937 # `set' quotes correctly as required by POSIX, so do not add quotes.
10938 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10947 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10949 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10951 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
10952 if test -w "$cache_file"; then
10953 test "x$cache_file" != "x/dev/null" &&
10954 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
10955 echo "$as_me: updating cache $cache_file" >&6;}
10956 cat confcache >$cache_file
10958 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
10959 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10964 test "x$prefix" = xNONE && prefix=$ac_default_prefix
10965 # Let make expand exec_prefix.
10966 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10968 DEFS=-DHAVE_CONFIG_H
10972 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10973 # 1. Remove the extension, and $U if already installed.
10974 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
10975 ac_i=`echo "$ac_i" | sed "$ac_script"`
10976 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10977 # will be set to the directory where LIBOBJS objects are built.
10978 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10979 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
10981 LIBOBJS=$ac_libobjs
10983 LTLIBOBJS=$ac_ltlibobjs
10986 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10987 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
10988 Usually this means the macro was only invoked conditionally." >&5
10989 echo "$as_me: error: conditional \"AMDEP\" was never defined.
10990 Usually this means the macro was only invoked conditionally." >&2;}
10991 { (exit 1); exit 1; }; }
10993 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10994 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10995 Usually this means the macro was only invoked conditionally." >&5
10996 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10997 Usually this means the macro was only invoked conditionally." >&2;}
10998 { (exit 1); exit 1; }; }
11000 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11001 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11002 Usually this means the macro was only invoked conditionally." >&5
11003 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11004 Usually this means the macro was only invoked conditionally." >&2;}
11005 { (exit 1); exit 1; }; }
11008 : ${CONFIG_STATUS=./config.status}
11009 ac_clean_files_save=$ac_clean_files
11010 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11011 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11012 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11013 cat >$CONFIG_STATUS <<_ACEOF
11015 # Generated by $as_me.
11016 # Run this file to recreate the current configuration.
11017 # Compiler output produced by configure, useful for debugging
11018 # configure, is in config.log if it exists.
11021 ac_cs_recheck=false
11023 SHELL=\${CONFIG_SHELL-$SHELL}
11026 cat >>$CONFIG_STATUS <<\_ACEOF
11027 ## --------------------- ##
11028 ## M4sh Initialization. ##
11029 ## --------------------- ##
11031 # Be more Bourne compatible
11032 DUALCASE=1; export DUALCASE # for MKS sh
11033 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11036 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11037 # is contrary to our usage. Disable this feature.
11038 alias -g '${1+"$@"}'='"$@"'
11039 setopt NO_GLOB_SUBST
11041 case `(set -o) 2>/dev/null` in
11042 *posix*) set -o posix ;;
11051 # Avoid depending upon Character Ranges.
11052 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11053 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11054 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11055 as_cr_digits='0123456789'
11056 as_cr_alnum=$as_cr_Letters$as_cr_digits
11058 # The user is always right.
11059 if test "${PATH_SEPARATOR+set}" != set; then
11060 echo "#! /bin/sh" >conf$$.sh
11061 echo "exit 0" >>conf$$.sh
11063 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11071 # Support unset when possible.
11072 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11080 # We need space, tab and new line, in precisely that order. Quoting is
11081 # there to prevent editors from complaining about space-tab.
11082 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11083 # splitting by setting IFS to empty value.)
11088 # Find who we are. Look in the path if we contain no directory separator.
11090 *[\\/]* ) as_myself=$0 ;;
11091 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11092 for as_dir in $PATH
11095 test -z "$as_dir" && as_dir=.
11096 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11102 # We did not find ourselves, most probably we were run as `sh COMMAND'
11103 # in which case we are not to be found in the path.
11104 if test "x$as_myself" = x; then
11107 if test ! -f "$as_myself"; then
11108 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11109 { (exit 1); exit 1; }
11112 # Work around bugs in pre-3.0 UWIN ksh.
11113 for as_var in ENV MAIL MAILPATH
11114 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11122 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11123 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11124 LC_TELEPHONE LC_TIME
11126 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11127 eval $as_var=C; export $as_var
11129 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11133 # Required to use basename.
11134 if expr a : '\(a\)' >/dev/null 2>&1 &&
11135 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11141 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11142 as_basename=basename
11148 # Name of the executable.
11149 as_me=`$as_basename -- "$0" ||
11150 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11151 X"$0" : 'X\(//\)$' \| \
11152 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11154 sed '/^.*\/\([^/][^/]*\)\/*$/{
11173 as_lineno_1=$LINENO
11174 as_lineno_2=$LINENO
11175 test "x$as_lineno_1" != "x$as_lineno_2" &&
11176 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
11178 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11179 # uniformly replaced by the line number. The first 'sed' inserts a
11180 # line-number line after each line using $LINENO; the second 'sed'
11181 # does the real work. The second script uses 'N' to pair each
11182 # line-number line with the line containing $LINENO, and appends
11183 # trailing '-' during substitution so that $LINENO is not a special
11184 # case at line end.
11185 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11186 # scripts with optimization help from Paolo Bonzini. Blame Lee
11187 # E. McMahon (1931-1989) for sed's syntax. :-)
11199 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11202 ' >$as_me.lineno &&
11203 chmod +x "$as_me.lineno" ||
11204 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11205 { (exit 1); exit 1; }; }
11207 # Don't try to exec as it changes $[0], causing all sort of problems
11208 # (the dirname of $[0] is not the place where we might find the
11209 # original and so on. Autoconf is especially sensitive to this).
11210 . "./$as_me.lineno"
11211 # Exit status is that of the last command.
11216 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11222 ECHO_C= ECHO_N= ECHO_T=
11223 case `echo -n x` in
11225 case `echo 'x\c'` in
11226 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
11233 if expr a : '\(a\)' >/dev/null 2>&1 &&
11234 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11240 rm -f conf$$ conf$$.exe conf$$.file
11241 if test -d conf$$.dir; then
11242 rm -f conf$$.dir/conf$$.file
11248 if ln -s conf$$.file conf$$ 2>/dev/null; then
11250 # ... but there are two gotchas:
11251 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11252 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11253 # In both cases, we have to default to `cp -p'.
11254 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11256 elif ln conf$$.file conf$$ 2>/dev/null; then
11261 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11262 rmdir conf$$.dir 2>/dev/null
11264 if mkdir -p . 2>/dev/null; then
11267 test -d ./-p && rmdir ./-p
11271 if test -x / >/dev/null 2>&1; then
11272 as_test_x='test -x'
11274 if ls -dL / >/dev/null 2>&1; then
11281 if test -d "$1"; then
11287 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
11288 ???[sx]*):;;*)false;;esac;fi
11292 as_executable_p=$as_test_x
11294 # Sed expression to map a string onto a valid CPP name.
11295 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11297 # Sed expression to map a string onto a valid variable name.
11298 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11303 # Save the log message, to keep $[0] and so on meaningful, and to
11304 # report actual input values of CONFIG_FILES etc. instead of their
11305 # values after options handling.
11307 This file was extended by xboard $as_me 4.3, which was
11308 generated by GNU Autoconf 2.61. Invocation command line was
11310 CONFIG_FILES = $CONFIG_FILES
11311 CONFIG_HEADERS = $CONFIG_HEADERS
11312 CONFIG_LINKS = $CONFIG_LINKS
11313 CONFIG_COMMANDS = $CONFIG_COMMANDS
11316 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11321 cat >>$CONFIG_STATUS <<_ACEOF
11322 # Files that config.status was made for.
11323 config_files="$ac_config_files"
11324 config_headers="$ac_config_headers"
11325 config_commands="$ac_config_commands"
11329 cat >>$CONFIG_STATUS <<\_ACEOF
11331 \`$as_me' instantiates files from templates according to the
11332 current configuration.
11334 Usage: $0 [OPTIONS] [FILE]...
11336 -h, --help print this help, then exit
11337 -V, --version print version number and configuration settings, then exit
11338 -q, --quiet do not print progress messages
11339 -d, --debug don't remove temporary files
11340 --recheck update $as_me by reconfiguring in the same conditions
11341 --file=FILE[:TEMPLATE]
11342 instantiate the configuration file FILE
11343 --header=FILE[:TEMPLATE]
11344 instantiate the configuration header FILE
11346 Configuration files:
11349 Configuration headers:
11352 Configuration commands:
11355 Report bugs to <bug-autoconf@gnu.org>."
11358 cat >>$CONFIG_STATUS <<_ACEOF
11360 xboard config.status 4.3
11361 configured by $0, generated by GNU Autoconf 2.61,
11362 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11364 Copyright (C) 2006 Free Software Foundation, Inc.
11365 This config.status script is free software; the Free Software Foundation
11366 gives unlimited permission to copy, distribute and modify it."
11374 cat >>$CONFIG_STATUS <<\_ACEOF
11375 # If no file are specified by the user, then we need to provide default
11376 # value. By we need to know if files were specified by the user.
11382 ac_option=`expr "X$1" : 'X\([^=]*\)='`
11383 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11394 # Handling of the options.
11395 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11397 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11398 echo "$ac_cs_version"; exit ;;
11399 --debug | --debu | --deb | --de | --d | -d )
11401 --file | --fil | --fi | --f )
11403 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11404 ac_need_defaults=false;;
11405 --header | --heade | --head | --hea )
11407 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11408 ac_need_defaults=false;;
11410 # Conflict between --help and --header
11411 { echo "$as_me: error: ambiguous option: $1
11412 Try \`$0 --help' for more information." >&2
11413 { (exit 1); exit 1; }; };;
11414 --help | --hel | -h )
11415 echo "$ac_cs_usage"; exit ;;
11416 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11417 | -silent | --silent | --silen | --sile | --sil | --si | --s)
11420 # This is an error.
11421 -*) { echo "$as_me: error: unrecognized option: $1
11422 Try \`$0 --help' for more information." >&2
11423 { (exit 1); exit 1; }; } ;;
11425 *) ac_config_targets="$ac_config_targets $1"
11426 ac_need_defaults=false ;;
11432 ac_configure_extra_args=
11434 if $ac_cs_silent; then
11436 ac_configure_extra_args="$ac_configure_extra_args --silent"
11440 cat >>$CONFIG_STATUS <<_ACEOF
11441 if \$ac_cs_recheck; then
11442 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11443 CONFIG_SHELL=$SHELL
11444 export CONFIG_SHELL
11445 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11449 cat >>$CONFIG_STATUS <<\_ACEOF
11453 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11454 ## Running $as_me. ##
11460 cat >>$CONFIG_STATUS <<_ACEOF
11464 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11468 cat >>$CONFIG_STATUS <<\_ACEOF
11470 # Handling of arguments.
11471 for ac_config_target in $ac_config_targets
11473 case $ac_config_target in
11474 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11475 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11476 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11477 "cmail") CONFIG_FILES="$CONFIG_FILES cmail" ;;
11478 "xboard.texinfo") CONFIG_FILES="$CONFIG_FILES xboard.texinfo" ;;
11479 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
11481 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11482 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11483 { (exit 1); exit 1; }; };;
11488 # If the user did not use the arguments to specify the items to instantiate,
11489 # then the envvar interface is used. Set only those that are not.
11490 # We use the long form for the default assignment because of an extremely
11491 # bizarre bug on SunOS 4.1.3.
11492 if $ac_need_defaults; then
11493 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11494 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11495 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11498 # Have a temporary directory for convenience. Make it in the build tree
11499 # simply because there is no reason against having it here, and in addition,
11500 # creating and moving files from /tmp can sometimes cause problems.
11501 # Hook for its removal unless debugging.
11502 # Note that there is a small window in which the directory will not be cleaned:
11503 # after its creation but before its name has been assigned to `$tmp'.
11507 trap 'exit_status=$?
11508 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11510 trap '{ (exit 1); exit 1; }' 1 2 13 15
11512 # Create a (secure) tmp directory for tmp files.
11515 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11516 test -n "$tmp" && test -d "$tmp"
11519 tmp=./conf$$-$RANDOM
11520 (umask 077 && mkdir "$tmp")
11523 echo "$me: cannot create a temporary directory in ." >&2
11524 { (exit 1); exit 1; }
11528 # Set up the sed scripts for CONFIG_FILES section.
11531 # No need to generate the scripts if there are no CONFIG_FILES.
11532 # This happens for instance when ./config.status config.h
11533 if test -n "$CONFIG_FILES"; then
11540 for ac_last_try in false false false false false :; do
11541 cat >conf$$subs.sed <<_ACEOF
11542 SHELL!$SHELL$ac_delim
11543 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
11544 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
11545 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
11546 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
11547 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
11548 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
11549 exec_prefix!$exec_prefix$ac_delim
11550 prefix!$prefix$ac_delim
11551 program_transform_name!$program_transform_name$ac_delim
11552 bindir!$bindir$ac_delim
11553 sbindir!$sbindir$ac_delim
11554 libexecdir!$libexecdir$ac_delim
11555 datarootdir!$datarootdir$ac_delim
11556 datadir!$datadir$ac_delim
11557 sysconfdir!$sysconfdir$ac_delim
11558 sharedstatedir!$sharedstatedir$ac_delim
11559 localstatedir!$localstatedir$ac_delim
11560 includedir!$includedir$ac_delim
11561 oldincludedir!$oldincludedir$ac_delim
11562 docdir!$docdir$ac_delim
11563 infodir!$infodir$ac_delim
11564 htmldir!$htmldir$ac_delim
11565 dvidir!$dvidir$ac_delim
11566 pdfdir!$pdfdir$ac_delim
11567 psdir!$psdir$ac_delim
11568 libdir!$libdir$ac_delim
11569 localedir!$localedir$ac_delim
11570 mandir!$mandir$ac_delim
11571 DEFS!$DEFS$ac_delim
11572 ECHO_C!$ECHO_C$ac_delim
11573 ECHO_N!$ECHO_N$ac_delim
11574 ECHO_T!$ECHO_T$ac_delim
11575 LIBS!$LIBS$ac_delim
11576 build_alias!$build_alias$ac_delim
11577 host_alias!$host_alias$ac_delim
11578 target_alias!$target_alias$ac_delim
11579 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
11580 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
11581 INSTALL_DATA!$INSTALL_DATA$ac_delim
11582 am__isrc!$am__isrc$ac_delim
11583 CYGPATH_W!$CYGPATH_W$ac_delim
11584 PACKAGE!$PACKAGE$ac_delim
11585 VERSION!$VERSION$ac_delim
11586 ACLOCAL!$ACLOCAL$ac_delim
11587 AUTOCONF!$AUTOCONF$ac_delim
11588 AUTOMAKE!$AUTOMAKE$ac_delim
11589 AUTOHEADER!$AUTOHEADER$ac_delim
11590 MAKEINFO!$MAKEINFO$ac_delim
11591 install_sh!$install_sh$ac_delim
11592 STRIP!$STRIP$ac_delim
11593 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
11594 mkdir_p!$mkdir_p$ac_delim
11596 SET_MAKE!$SET_MAKE$ac_delim
11597 am__leading_dot!$am__leading_dot$ac_delim
11598 AMTAR!$AMTAR$ac_delim
11599 am__tar!$am__tar$ac_delim
11600 am__untar!$am__untar$ac_delim
11602 CFLAGS!$CFLAGS$ac_delim
11603 LDFLAGS!$LDFLAGS$ac_delim
11604 CPPFLAGS!$CPPFLAGS$ac_delim
11605 ac_ct_CC!$ac_ct_CC$ac_delim
11606 EXEEXT!$EXEEXT$ac_delim
11607 OBJEXT!$OBJEXT$ac_delim
11608 DEPDIR!$DEPDIR$ac_delim
11609 am__include!$am__include$ac_delim
11610 am__quote!$am__quote$ac_delim
11611 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
11612 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
11613 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
11614 CCDEPMODE!$CCDEPMODE$ac_delim
11615 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
11616 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
11617 LIBOBJS!$LIBOBJS$ac_delim
11618 LTLIBOBJS!$LTLIBOBJS$ac_delim
11621 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
11622 LEXLIB!$LEXLIB$ac_delim
11624 MINFO!$MINFO$ac_delim
11625 NROFF!$NROFF$ac_delim
11626 NROFFFLAGS!$NROFFFLAGS$ac_delim
11627 AWKPATH!$AWKPATH$ac_delim
11628 PERLPATH!$PERLPATH$ac_delim
11629 GREP!$GREP$ac_delim
11630 EGREP!$EGREP$ac_delim
11631 XMKMF!$XMKMF$ac_delim
11632 X_CFLAGS!$X_CFLAGS$ac_delim
11633 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
11634 X_LIBS!$X_LIBS$ac_delim
11635 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
11636 XAW_LIBS!$XAW_LIBS$ac_delim
11637 build!$build$ac_delim
11638 build_cpu!$build_cpu$ac_delim
11641 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
11643 elif $ac_last_try; then
11644 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11645 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11646 { (exit 1); exit 1; }; }
11648 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11652 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11653 if test -n "$ac_eof"; then
11654 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
11655 ac_eof=`expr $ac_eof + 1`
11658 cat >>$CONFIG_STATUS <<_ACEOF
11659 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
11660 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11663 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11664 s/^/s,@/; s/!/@,|#_!!_#|/
11667 s/'"$ac_delim"'$/,g/; t
11669 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11670 ' >>$CONFIG_STATUS <conf$$subs.sed
11671 rm -f conf$$subs.sed
11672 cat >>$CONFIG_STATUS <<_ACEOF
11678 for ac_last_try in false false false false false :; do
11679 cat >conf$$subs.sed <<_ACEOF
11680 build_vendor!$build_vendor$ac_delim
11681 build_os!$build_os$ac_delim
11682 host!$host$ac_delim
11683 host_cpu!$host_cpu$ac_delim
11684 host_vendor!$host_vendor$ac_delim
11685 host_os!$host_os$ac_delim
11686 PRE_XMULIB!$PRE_XMULIB$ac_delim
11687 POST_XMULIB!$POST_XMULIB$ac_delim
11688 CONF_CFLAGS!$CONF_CFLAGS$ac_delim
11689 CONF_LDFLAGS!$CONF_LDFLAGS$ac_delim
11690 ZIPPY_O!$ZIPPY_O$ac_delim
11691 ZIPPY_H!$ZIPPY_H$ac_delim
11692 PRODUCT!$PRODUCT$ac_delim
11693 PATCHLEVEL!$PATCHLEVEL$ac_delim
11696 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then
11698 elif $ac_last_try; then
11699 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11700 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11701 { (exit 1); exit 1; }; }
11703 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11707 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11708 if test -n "$ac_eof"; then
11709 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
11710 ac_eof=`expr $ac_eof + 1`
11713 cat >>$CONFIG_STATUS <<_ACEOF
11714 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
11715 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
11718 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11719 s/^/s,@/; s/!/@,|#_!!_#|/
11722 s/'"$ac_delim"'$/,g/; t
11724 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11725 ' >>$CONFIG_STATUS <conf$$subs.sed
11726 rm -f conf$$subs.sed
11727 cat >>$CONFIG_STATUS <<_ACEOF
11734 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11735 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11736 # trailing colons and then remove the whole line if VPATH becomes empty
11737 # (actually we leave an empty line to preserve line numbers).
11738 if test "x$srcdir" = x.; then
11739 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11740 s/:*\$(srcdir):*/:/
11741 s/:*\${srcdir}:*/:/
11743 s/^\([^=]*=[ ]*\):*/\1/
11749 cat >>$CONFIG_STATUS <<\_ACEOF
11750 fi # test -n "$CONFIG_FILES"
11753 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
11756 :[FHLC]) ac_mode=$ac_tag; continue;;
11758 case $ac_mode$ac_tag in
11760 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
11761 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
11762 { (exit 1); exit 1; }; };;
11763 :[FH]-) ac_tag=-:-;;
11764 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
11781 -) ac_f="$tmp/stdin";;
11782 *) # Look for the file first in the build tree, then in the source tree
11783 # (if the path is not absolute). The absolute path cannot be DOS-style,
11784 # because $ac_f cannot contain `:'.
11788 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
11790 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
11791 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
11792 { (exit 1); exit 1; }; };;
11794 ac_file_inputs="$ac_file_inputs $ac_f"
11797 # Let's still pretend it is `configure' which instantiates (i.e., don't
11798 # use $as_me), people would be surprised to read:
11799 # /* config.h. Generated by config.status. */
11800 configure_input="Generated from "`IFS=:
11801 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
11802 if test x"$ac_file" != x-; then
11803 configure_input="$ac_file. $configure_input"
11804 { echo "$as_me:$LINENO: creating $ac_file" >&5
11805 echo "$as_me: creating $ac_file" >&6;}
11809 *:-:* | *:-) cat >"$tmp/stdin";;
11814 ac_dir=`$as_dirname -- "$ac_file" ||
11815 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11816 X"$ac_file" : 'X\(//\)[^/]' \| \
11817 X"$ac_file" : 'X\(//\)$' \| \
11818 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11820 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11824 /^X\(\/\/\)[^/].*/{
11839 -*) as_dir=./$as_dir;;
11841 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11845 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11846 *) as_qdir=$as_dir;;
11848 as_dirs="'$as_qdir' $as_dirs"
11849 as_dir=`$as_dirname -- "$as_dir" ||
11850 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11851 X"$as_dir" : 'X\(//\)[^/]' \| \
11852 X"$as_dir" : 'X\(//\)$' \| \
11853 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11859 /^X\(\/\/\)[^/].*/{
11872 test -d "$as_dir" && break
11874 test -z "$as_dirs" || eval "mkdir $as_dirs"
11875 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11876 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11877 { (exit 1); exit 1; }; }; }
11881 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11883 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11884 # A ".." for each directory in $ac_dir_suffix.
11885 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
11886 case $ac_top_builddir_sub in
11887 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11888 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11891 ac_abs_top_builddir=$ac_pwd
11892 ac_abs_builddir=$ac_pwd$ac_dir_suffix
11893 # for backward compatibility:
11894 ac_top_builddir=$ac_top_build_prefix
11897 .) # We are building in place.
11899 ac_top_srcdir=$ac_top_builddir_sub
11900 ac_abs_top_srcdir=$ac_pwd ;;
11901 [\\/]* | ?:[\\/]* ) # Absolute name.
11902 ac_srcdir=$srcdir$ac_dir_suffix;
11903 ac_top_srcdir=$srcdir
11904 ac_abs_top_srcdir=$srcdir ;;
11905 *) # Relative name.
11906 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11907 ac_top_srcdir=$ac_top_build_prefix$srcdir
11908 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11910 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11920 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11921 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
11923 ac_MKDIR_P=$MKDIR_P
11925 [\\/$]* | ?:[\\/]* ) ;;
11926 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
11930 cat >>$CONFIG_STATUS <<\_ACEOF
11931 # If the template does not know about datarootdir, expand it.
11932 # FIXME: This hack should be removed a few years after 2.60.
11933 ac_datarootdir_hack=; ac_datarootdir_seen=
11935 case `sed -n '/datarootdir/ {
11944 ' $ac_file_inputs` in
11945 *datarootdir*) ac_datarootdir_seen=yes;;
11946 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
11947 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11948 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11950 cat >>$CONFIG_STATUS <<_ACEOF
11951 ac_datarootdir_hack='
11952 s&@datadir@&$datadir&g
11953 s&@docdir@&$docdir&g
11954 s&@infodir@&$infodir&g
11955 s&@localedir@&$localedir&g
11956 s&@mandir@&$mandir&g
11957 s&\\\${datarootdir}&$datarootdir&g' ;;
11961 # Neutralize VPATH when `$srcdir' = `.'.
11962 # Shell code in configure.ac might set extrasub.
11963 # FIXME: do we really want to maintain this feature?
11964 cat >>$CONFIG_STATUS <<_ACEOF
11968 cat >>$CONFIG_STATUS <<\_ACEOF
11970 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11971 s&@configure_input@&$configure_input&;t t
11972 s&@top_builddir@&$ac_top_builddir_sub&;t t
11973 s&@srcdir@&$ac_srcdir&;t t
11974 s&@abs_srcdir@&$ac_abs_srcdir&;t t
11975 s&@top_srcdir@&$ac_top_srcdir&;t t
11976 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
11977 s&@builddir@&$ac_builddir&;t t
11978 s&@abs_builddir@&$ac_abs_builddir&;t t
11979 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
11980 s&@INSTALL@&$ac_INSTALL&;t t
11981 s&@MKDIR_P@&$ac_MKDIR_P&;t t
11982 $ac_datarootdir_hack
11983 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
11985 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11986 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
11987 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
11988 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11989 which seems to be undefined. Please make sure it is defined." >&5
11990 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11991 which seems to be undefined. Please make sure it is defined." >&2;}
11995 -) cat "$tmp/out"; rm -f "$tmp/out";;
11996 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
12005 # Transform confdefs.h into a sed script `conftest.defines', that
12006 # substitutes the proper values into config.h.in to produce config.h.
12007 rm -f conftest.defines conftest.tail
12008 # First, append a space to every undef/define line, to ease matching.
12009 echo 's/$/ /' >conftest.defines
12010 # Then, protect against being on the right side of a sed subst, or in
12011 # an unquoted here document, in config.status. If some macros were
12012 # called several times there might be several #defines for the same
12013 # symbol, which is useless. But do not sort them, since the last
12014 # AC_DEFINE must be honored.
12015 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12016 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
12017 # NAME is the cpp macro being defined, VALUE is the value it is being given.
12018 # PARAMS is the parameter list in the macro definition--in most cases, it's
12019 # just an empty string.
12020 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
12021 ac_dB='\\)[ (].*,\\1define\\2'
12029 s/^[ ]*#[ ]*define[ ][ ]*//
12034 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
12035 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
12036 ' >>conftest.defines
12038 # Remove the space that was appended to ease matching.
12039 # Then replace #undef with comments. This is necessary, for
12040 # example, in the case of _POSIX_SOURCE, which is predefined and required
12041 # on some systems where configure will not decide to define it.
12042 # (The regexp can be short, since the line contains either #define or #undef.)
12044 s,^[ #]*u.*,/* & */,' >>conftest.defines
12046 # Break up conftest.defines:
12047 ac_max_sed_lines=50
12049 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
12050 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
12051 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
12053 ac_in='$ac_file_inputs'
12054 ac_out='"$tmp/out1"'
12055 ac_nxt='"$tmp/out2"'
12059 # Write a here document:
12060 cat >>$CONFIG_STATUS <<_ACEOF
12061 # First, check the format of the line:
12062 cat >"\$tmp/defines.sed" <<\\CEOF
12063 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
12064 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
12068 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
12070 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
12071 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
12072 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
12073 grep . conftest.tail >/dev/null || break
12074 rm -f conftest.defines
12075 mv conftest.tail conftest.defines
12077 rm -f conftest.defines conftest.tail
12079 echo "ac_result=$ac_in" >>$CONFIG_STATUS
12080 cat >>$CONFIG_STATUS <<\_ACEOF
12081 if test x"$ac_file" != x-; then
12082 echo "/* $configure_input */" >"$tmp/config.h"
12083 cat "$ac_result" >>"$tmp/config.h"
12084 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
12085 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12086 echo "$as_me: $ac_file is unchanged" >&6;}
12089 mv "$tmp/config.h" $ac_file
12092 echo "/* $configure_input */"
12096 # Compute $ac_file's index in $config_headers.
12099 for _am_header in $config_headers :; do
12100 case $_am_header in
12101 $_am_arg | $_am_arg:* )
12104 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12107 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12108 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12109 X"$_am_arg" : 'X\(//\)[^/]' \| \
12110 X"$_am_arg" : 'X\(//\)$' \| \
12111 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12117 /^X\(\/\/\)[^/].*/{
12129 s/.*/./; q'`/stamp-h$_am_stamp_count
12132 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
12133 echo "$as_me: executing $ac_file commands" >&6;}
12138 case $ac_file$ac_mode in
12139 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
12140 # Strip MF so we end up with the name of the file.
12141 mf=`echo "$mf" | sed -e 's/:.*$//'`
12142 # Check whether this is an Automake generated Makefile or not.
12143 # We used to match only the files named `Makefile.in', but
12144 # some people rename them; so instead we look at the file content.
12145 # Grep'ing the first line is not enough: some people post-process
12146 # each Makefile.in and add a new line on top of each file to say so.
12147 # Grep'ing the whole file is not good either: AIX grep has a line
12148 # limit of 2048, but all sed's we know have understand at least 4000.
12149 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12150 dirpart=`$as_dirname -- "$mf" ||
12151 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12152 X"$mf" : 'X\(//\)[^/]' \| \
12153 X"$mf" : 'X\(//\)$' \| \
12154 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12160 /^X\(\/\/\)[^/].*/{
12176 # Extract the definition of DEPDIR, am__include, and am__quote
12177 # from the Makefile without running `make'.
12178 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12179 test -z "$DEPDIR" && continue
12180 am__include=`sed -n 's/^am__include = //p' < "$mf"`
12181 test -z "am__include" && continue
12182 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12183 # When using ansi2knr, U may be empty or an underscore; expand it
12184 U=`sed -n 's/^U = //p' < "$mf"`
12185 # Find all dependency output files, they are included files with
12186 # $(DEPDIR) in their names. We invoke sed twice because it is the
12187 # simplest approach to changing $(DEPDIR) to its actual value in the
12189 for file in `sed -n "
12190 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12191 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12192 # Make sure the directory exists.
12193 test -f "$dirpart/$file" && continue
12194 fdir=`$as_dirname -- "$file" ||
12195 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12196 X"$file" : 'X\(//\)[^/]' \| \
12197 X"$file" : 'X\(//\)$' \| \
12198 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12204 /^X\(\/\/\)[^/].*/{
12217 { as_dir=$dirpart/$fdir
12219 -*) as_dir=./$as_dir;;
12221 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12225 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12226 *) as_qdir=$as_dir;;
12228 as_dirs="'$as_qdir' $as_dirs"
12229 as_dir=`$as_dirname -- "$as_dir" ||
12230 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12231 X"$as_dir" : 'X\(//\)[^/]' \| \
12232 X"$as_dir" : 'X\(//\)$' \| \
12233 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12239 /^X\(\/\/\)[^/].*/{
12252 test -d "$as_dir" && break
12254 test -z "$as_dirs" || eval "mkdir $as_dirs"
12255 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12256 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12257 { (exit 1); exit 1; }; }; }
12258 # echo "creating $dirpart/$file"
12259 echo '# dummy' > "$dirpart/$file"
12263 "default":C) test -z "$CONFIG_HEADERS" || date > stamp-h
12271 { (exit 0); exit 0; }
12273 chmod +x $CONFIG_STATUS
12274 ac_clean_files=$ac_clean_files_save
12277 # configure is writing to config.log, and then calls config.status.
12278 # config.status does its own redirection, appending to config.log.
12279 # Unfortunately, on DOS this fails, as config.log is still kept open
12280 # by configure, so config.status won't be able to write to it; its
12281 # output is simply discarded. So we exec the FD to /dev/null,
12282 # effectively closing config.log, so it can be properly (re)opened and
12283 # appended to by config.status. When coming back to configure, we
12284 # need to make the FD available again.
12285 if test "$no_create" != yes; then
12287 ac_config_status_args=
12288 test "$silent" = yes &&
12289 ac_config_status_args="$ac_config_status_args --quiet"
12291 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12293 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12294 # would make configure fail if this is the last instruction.
12295 $ac_cs_success || { (exit 1); exit 1; }