2 # Guess values for system-dependent variables and create Makefiles.
\r
3 # Generated by GNU Autoconf 2.61 for xboard 4.3.
\r
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
\r
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
\r
7 # This configure script is free software; the Free Software Foundation
\r
8 # gives unlimited permission to copy, distribute and modify it.
\r
9 ## --------------------- ##
\r
10 ## M4sh Initialization. ##
\r
11 ## --------------------- ##
\r
13 # Be more Bourne compatible
\r
14 DUALCASE=1; export DUALCASE # for MKS sh
\r
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
\r
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
\r
19 # is contrary to our usage. Disable this feature.
\r
20 alias -g '${1+"$@"}'='"$@"'
\r
21 setopt NO_GLOB_SUBST
\r
23 case `(set -o) 2>/dev/null` in
\r
24 *posix*) set -o posix ;;
\r
33 # Avoid depending upon Character Ranges.
\r
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
\r
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
\r
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
\r
37 as_cr_digits='0123456789'
\r
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
\r
40 # The user is always right.
\r
41 if test "${PATH_SEPARATOR+set}" != set; then
\r
42 echo "#! /bin/sh" >conf$$.sh
\r
43 echo "exit 0" >>conf$$.sh
\r
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
\r
53 # Support unset when possible.
\r
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
\r
62 # We need space, tab and new line, in precisely that order. Quoting is
\r
63 # there to prevent editors from complaining about space-tab.
\r
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
\r
65 # splitting by setting IFS to empty value.)
\r
70 # Find who we are. Look in the path if we contain no directory separator.
\r
72 *[\\/]* ) as_myself=$0 ;;
\r
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
77 test -z "$as_dir" && as_dir=.
\r
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
\r
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
\r
85 # in which case we are not to be found in the path.
\r
86 if test "x$as_myself" = x; then
\r
89 if test ! -f "$as_myself"; then
\r
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
\r
91 { (exit 1); exit 1; }
\r
94 # Work around bugs in pre-3.0 UWIN ksh.
\r
95 for as_var in ENV MAIL MAILPATH
\r
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
\r
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
\r
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
\r
106 LC_TELEPHONE LC_TIME
\r
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
\r
109 eval $as_var=C; export $as_var
\r
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
\r
115 # Required to use basename.
\r
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
\r
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
\r
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
\r
124 as_basename=basename
\r
130 # Name of the executable.
\r
131 as_me=`$as_basename -- "$0" ||
\r
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
\r
133 X"$0" : 'X\(//\)$' \| \
\r
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
\r
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
\r
154 if test "x$CONFIG_SHELL" = x; then
\r
155 if (eval ":") 2>/dev/null; then
\r
156 as_have_required=yes
\r
158 as_have_required=no
\r
161 if test $as_have_required = yes && (eval ":
\r
162 (as_func_return () {
\r
165 as_func_success () {
\r
168 as_func_failure () {
\r
171 as_func_ret_success () {
\r
174 as_func_ret_failure () {
\r
179 if as_func_success; then
\r
183 echo as_func_success failed.
\r
186 if as_func_failure; then
\r
188 echo as_func_failure succeeded.
\r
191 if as_func_ret_success; then
\r
195 echo as_func_ret_success failed.
\r
198 if as_func_ret_failure; then
\r
200 echo as_func_ret_failure succeeded.
\r
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
\r
207 echo positional parameters were not saved.
\r
210 test \$exitcode = 0) || { (exit 1); exit 1; }
\r
213 as_lineno_1=\$LINENO
\r
214 as_lineno_2=\$LINENO
\r
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
\r
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
\r
217 ") 2> /dev/null; then
\r
220 as_candidate_shells=
\r
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
\r
225 test -z "$as_dir" && as_dir=.
\r
228 for as_base in sh bash ksh sh5; do
\r
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
\r
236 for as_shell in $as_candidate_shells $SHELL; do
\r
237 # Try only shells that exist, to save several forks.
\r
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
\r
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
\r
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
\r
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
\r
244 # is contrary to our usage. Disable this feature.
\r
245 alias -g '${1+"$@"}'='"$@"'
\r
246 setopt NO_GLOB_SUBST
\r
248 case `(set -o) 2>/dev/null` in
\r
249 *posix*) set -o posix ;;
\r
258 CONFIG_SHELL=$as_shell
\r
259 as_have_required=yes
\r
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
\r
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
\r
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
\r
265 # is contrary to our usage. Disable this feature.
\r
266 alias -g '${1+"$@"}'='"$@"'
\r
267 setopt NO_GLOB_SUBST
\r
269 case `(set -o) 2>/dev/null` in
\r
270 *posix*) set -o posix ;;
\r
277 (as_func_return () {
\r
280 as_func_success () {
\r
283 as_func_failure () {
\r
286 as_func_ret_success () {
\r
289 as_func_ret_failure () {
\r
294 if as_func_success; then
\r
298 echo as_func_success failed.
\r
301 if as_func_failure; then
\r
303 echo as_func_failure succeeded.
\r
306 if as_func_ret_success; then
\r
310 echo as_func_ret_success failed.
\r
313 if as_func_ret_failure; then
\r
315 echo as_func_ret_failure succeeded.
\r
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
\r
322 echo positional parameters were not saved.
\r
325 test $exitcode = 0) || { (exit 1); exit 1; }
\r
328 as_lineno_1=$LINENO
\r
329 as_lineno_2=$LINENO
\r
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
\r
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
\r
342 if test "x$CONFIG_SHELL" != x; then
\r
343 for as_var in BASH_ENV ENV
\r
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
\r
346 export CONFIG_SHELL
\r
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
\r
351 if test $as_have_required = no; then
\r
352 echo This script requires a shell more modern than all the
\r
353 echo shells that I found on your system. Please install a
\r
354 echo modern shell, or manually run the script under such a
\r
355 echo shell if you do have one.
\r
356 { (exit 1); exit 1; }
\r
366 (eval "as_func_return () {
\r
369 as_func_success () {
\r
372 as_func_failure () {
\r
375 as_func_ret_success () {
\r
378 as_func_ret_failure () {
\r
383 if as_func_success; then
\r
387 echo as_func_success failed.
\r
390 if as_func_failure; then
\r
392 echo as_func_failure succeeded.
\r
395 if as_func_ret_success; then
\r
399 echo as_func_ret_success failed.
\r
402 if as_func_ret_failure; then
\r
404 echo as_func_ret_failure succeeded.
\r
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
\r
411 echo positional parameters were not saved.
\r
414 test \$exitcode = 0") || {
\r
415 echo No shell found that supports shell functions.
\r
416 echo Please tell autoconf@gnu.org about your system,
\r
417 echo including any error possibly output before this
\r
423 as_lineno_1=$LINENO
\r
424 as_lineno_2=$LINENO
\r
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
\r
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
\r
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
\r
429 # uniformly replaced by the line number. The first 'sed' inserts a
\r
430 # line-number line after each line using $LINENO; the second 'sed'
\r
431 # does the real work. The second script uses 'N' to pair each
\r
432 # line-number line with the line containing $LINENO, and appends
\r
433 # trailing '-' during substitution so that $LINENO is not a special
\r
434 # case at line end.
\r
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
\r
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
\r
437 # E. McMahon (1931-1989) for sed's syntax. :-)
\r
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
\r
452 ' >$as_me.lineno &&
\r
453 chmod +x "$as_me.lineno" ||
\r
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
\r
455 { (exit 1); exit 1; }; }
\r
457 # Don't try to exec as it changes $[0], causing all sort of problems
\r
458 # (the dirname of $[0] is not the place where we might find the
\r
459 # original and so on. Autoconf is especially sensitive to this).
\r
460 . "./$as_me.lineno"
\r
461 # Exit status is that of the last command.
\r
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
\r
472 ECHO_C= ECHO_N= ECHO_T=
\r
473 case `echo -n x` in
\r
475 case `echo 'x\c'` in
\r
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
\r
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
\r
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
\r
490 rm -f conf$$ conf$$.exe conf$$.file
\r
491 if test -d conf$$.dir; then
\r
492 rm -f conf$$.dir/conf$$.file
\r
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
\r
500 # ... but there are two gotchas:
\r
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
\r
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
\r
503 # In both cases, we have to default to `cp -p'.
\r
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
\r
506 elif ln conf$$.file conf$$ 2>/dev/null; then
\r
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
\r
512 rmdir conf$$.dir 2>/dev/null
\r
514 if mkdir -p . 2>/dev/null; then
\r
517 test -d ./-p && rmdir ./-p
\r
521 if test -x / >/dev/null 2>&1; then
\r
522 as_test_x='test -x'
\r
524 if ls -dL / >/dev/null 2>&1; then
\r
531 if test -d "$1"; then
\r
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
\r
538 ???[sx]*):;;*)false;;esac;fi
\r
542 as_executable_p=$as_test_x
\r
544 # Sed expression to map a string onto a valid CPP name.
\r
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
\r
547 # Sed expression to map a string onto a valid variable name.
\r
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
\r
552 exec 7<&0 </dev/null 6>&1
\r
554 # Name of the host.
\r
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
\r
556 # so uname gets run too.
\r
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
\r
562 ac_default_prefix=/usr/local
\r
564 ac_config_libobj_dir=.
\r
570 SHELL=${CONFIG_SHELL-/bin/sh}
\r
572 # Identity of this package.
\r
573 PACKAGE_NAME='xboard'
\r
574 PACKAGE_TARNAME='xboard'
\r
575 PACKAGE_VERSION='4.4'
\r
576 PACKAGE_STRING='xboard 4.4'
\r
577 PACKAGE_BUGREPORT=''
\r
579 # Factoring default headers for most tests.
\r
580 ac_includes_default="\
\r
582 #ifdef HAVE_SYS_TYPES_H
\r
583 # include <sys/types.h>
\r
585 #ifdef HAVE_SYS_STAT_H
\r
586 # include <sys/stat.h>
\r
588 #ifdef STDC_HEADERS
\r
589 # include <stdlib.h>
\r
590 # include <stddef.h>
\r
592 # ifdef HAVE_STDLIB_H
\r
593 # include <stdlib.h>
\r
596 #ifdef HAVE_STRING_H
\r
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
\r
598 # include <memory.h>
\r
600 # include <string.h>
\r
602 #ifdef HAVE_STRINGS_H
\r
603 # include <strings.h>
\r
605 #ifdef HAVE_INTTYPES_H
\r
606 # include <inttypes.h>
\r
608 #ifdef HAVE_STDINT_H
\r
609 # include <stdint.h>
\r
611 #ifdef HAVE_UNISTD_H
\r
612 # include <unistd.h>
\r
615 ac_subst_vars='SHELL
\r
624 program_transform_name
\r
666 INSTALL_STRIP_PROGRAM
\r
689 am__fastdepCC_FALSE
\r
727 ac_precious_vars='build_alias
\r
739 # Initialize some variables set by options.
\r
741 ac_init_version=false
\r
742 # The variables have the same names as the options, with
\r
743 # dashes changed to underlines.
\r
744 cache_file=/dev/null
\r
749 program_prefix=NONE
\r
750 program_suffix=NONE
\r
751 program_transform_name=s,x,x,
\r
759 # Installation directory options.
\r
760 # These are left unexpanded so users can "make install exec_prefix=/foo"
\r
761 # and all the variables that are supposed to be based on exec_prefix
\r
762 # by default will actually change.
\r
763 # Use braces instead of parens because sh, perl, etc. also accept them.
\r
764 # (The list follows the same order as the GNU Coding Standards.)
\r
765 bindir='${exec_prefix}/bin'
\r
766 sbindir='${exec_prefix}/sbin'
\r
767 libexecdir='${exec_prefix}/libexec'
\r
768 datarootdir='${prefix}/share'
\r
769 datadir='${datarootdir}'
\r
770 sysconfdir='${prefix}/etc'
\r
771 sharedstatedir='${prefix}/com'
\r
772 localstatedir='${prefix}/var'
\r
773 includedir='${prefix}/include'
\r
774 oldincludedir='/usr/include'
\r
775 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
\r
776 infodir='${datarootdir}/info'
\r
777 htmldir='${docdir}'
\r
781 libdir='${exec_prefix}/lib'
\r
782 localedir='${datarootdir}/locale'
\r
783 mandir='${datarootdir}/man'
\r
789 # If the previous option needs an argument, assign it.
\r
790 if test -n "$ac_prev"; then
\r
791 eval $ac_prev=\$ac_option
\r
797 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
\r
798 *) ac_optarg=yes ;;
\r
801 # Accept the important Cygnus configure options, so we can diagnose typos.
\r
803 case $ac_dashdash$ac_option in
\r
807 -bindir | --bindir | --bindi | --bind | --bin | --bi)
\r
809 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
\r
810 bindir=$ac_optarg ;;
\r
812 -build | --build | --buil | --bui | --bu)
\r
813 ac_prev=build_alias ;;
\r
814 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
\r
815 build_alias=$ac_optarg ;;
\r
817 -cache-file | --cache-file | --cache-fil | --cache-fi \
\r
818 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
\r
819 ac_prev=cache_file ;;
\r
820 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
\r
821 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
\r
822 cache_file=$ac_optarg ;;
\r
824 --config-cache | -C)
\r
825 cache_file=config.cache ;;
\r
827 -datadir | --datadir | --datadi | --datad)
\r
829 -datadir=* | --datadir=* | --datadi=* | --datad=*)
\r
830 datadir=$ac_optarg ;;
\r
832 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
\r
833 | --dataroo | --dataro | --datar)
\r
834 ac_prev=datarootdir ;;
\r
835 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
\r
836 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
\r
837 datarootdir=$ac_optarg ;;
\r
839 -disable-* | --disable-*)
\r
840 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
\r
841 # Reject names that are not valid shell variable names.
\r
842 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
\r
843 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
\r
844 { (exit 1); exit 1; }; }
\r
845 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
\r
846 eval enable_$ac_feature=no ;;
\r
848 -docdir | --docdir | --docdi | --doc | --do)
\r
850 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
\r
851 docdir=$ac_optarg ;;
\r
853 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
\r
855 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
\r
856 dvidir=$ac_optarg ;;
\r
858 -enable-* | --enable-*)
\r
859 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
\r
860 # Reject names that are not valid shell variable names.
\r
861 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
\r
862 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
\r
863 { (exit 1); exit 1; }; }
\r
864 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
\r
865 eval enable_$ac_feature=\$ac_optarg ;;
\r
867 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
\r
868 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
\r
869 | --exec | --exe | --ex)
\r
870 ac_prev=exec_prefix ;;
\r
871 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
\r
872 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
\r
873 | --exec=* | --exe=* | --ex=*)
\r
874 exec_prefix=$ac_optarg ;;
\r
876 -gas | --gas | --ga | --g)
\r
877 # Obsolete; use --with-gas.
\r
880 -help | --help | --hel | --he | -h)
\r
881 ac_init_help=long ;;
\r
882 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
\r
883 ac_init_help=recursive ;;
\r
884 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
\r
885 ac_init_help=short ;;
\r
887 -host | --host | --hos | --ho)
\r
888 ac_prev=host_alias ;;
\r
889 -host=* | --host=* | --hos=* | --ho=*)
\r
890 host_alias=$ac_optarg ;;
\r
892 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
\r
894 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
\r
896 htmldir=$ac_optarg ;;
\r
898 -includedir | --includedir | --includedi | --included | --include \
\r
899 | --includ | --inclu | --incl | --inc)
\r
900 ac_prev=includedir ;;
\r
901 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
\r
902 | --includ=* | --inclu=* | --incl=* | --inc=*)
\r
903 includedir=$ac_optarg ;;
\r
905 -infodir | --infodir | --infodi | --infod | --info | --inf)
\r
907 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
\r
908 infodir=$ac_optarg ;;
\r
910 -libdir | --libdir | --libdi | --libd)
\r
912 -libdir=* | --libdir=* | --libdi=* | --libd=*)
\r
913 libdir=$ac_optarg ;;
\r
915 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
\r
916 | --libexe | --libex | --libe)
\r
917 ac_prev=libexecdir ;;
\r
918 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
\r
919 | --libexe=* | --libex=* | --libe=*)
\r
920 libexecdir=$ac_optarg ;;
\r
922 -localedir | --localedir | --localedi | --localed | --locale)
\r
923 ac_prev=localedir ;;
\r
924 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
\r
925 localedir=$ac_optarg ;;
\r
927 -localstatedir | --localstatedir | --localstatedi | --localstated \
\r
928 | --localstate | --localstat | --localsta | --localst | --locals)
\r
929 ac_prev=localstatedir ;;
\r
930 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
\r
931 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
\r
932 localstatedir=$ac_optarg ;;
\r
934 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
\r
936 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
\r
937 mandir=$ac_optarg ;;
\r
939 -nfp | --nfp | --nf)
\r
940 # Obsolete; use --without-fp.
\r
943 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
\r
944 | --no-cr | --no-c | -n)
\r
947 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
\r
948 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
\r
949 no_recursion=yes ;;
\r
951 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
\r
952 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
\r
953 | --oldin | --oldi | --old | --ol | --o)
\r
954 ac_prev=oldincludedir ;;
\r
955 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
\r
956 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
\r
957 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
\r
958 oldincludedir=$ac_optarg ;;
\r
960 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
\r
962 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
\r
963 prefix=$ac_optarg ;;
\r
965 -program-prefix | --program-prefix | --program-prefi | --program-pref \
\r
966 | --program-pre | --program-pr | --program-p)
\r
967 ac_prev=program_prefix ;;
\r
968 -program-prefix=* | --program-prefix=* | --program-prefi=* \
\r
969 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
\r
970 program_prefix=$ac_optarg ;;
\r
972 -program-suffix | --program-suffix | --program-suffi | --program-suff \
\r
973 | --program-suf | --program-su | --program-s)
\r
974 ac_prev=program_suffix ;;
\r
975 -program-suffix=* | --program-suffix=* | --program-suffi=* \
\r
976 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
\r
977 program_suffix=$ac_optarg ;;
\r
979 -program-transform-name | --program-transform-name \
\r
980 | --program-transform-nam | --program-transform-na \
\r
981 | --program-transform-n | --program-transform- \
\r
982 | --program-transform | --program-transfor \
\r
983 | --program-transfo | --program-transf \
\r
984 | --program-trans | --program-tran \
\r
985 | --progr-tra | --program-tr | --program-t)
\r
986 ac_prev=program_transform_name ;;
\r
987 -program-transform-name=* | --program-transform-name=* \
\r
988 | --program-transform-nam=* | --program-transform-na=* \
\r
989 | --program-transform-n=* | --program-transform-=* \
\r
990 | --program-transform=* | --program-transfor=* \
\r
991 | --program-transfo=* | --program-transf=* \
\r
992 | --program-trans=* | --program-tran=* \
\r
993 | --progr-tra=* | --program-tr=* | --program-t=*)
\r
994 program_transform_name=$ac_optarg ;;
\r
996 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
\r
998 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
\r
999 pdfdir=$ac_optarg ;;
\r
1001 -psdir | --psdir | --psdi | --psd | --ps)
\r
1003 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
\r
1004 psdir=$ac_optarg ;;
\r
1006 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
\r
1007 | -silent | --silent | --silen | --sile | --sil)
\r
1010 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
\r
1011 ac_prev=sbindir ;;
\r
1012 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
\r
1013 | --sbi=* | --sb=*)
\r
1014 sbindir=$ac_optarg ;;
\r
1016 -sharedstatedir | --sharedstatedir | --sharedstatedi \
\r
1017 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
\r
1018 | --sharedst | --shareds | --shared | --share | --shar \
\r
1020 ac_prev=sharedstatedir ;;
\r
1021 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
\r
1022 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
\r
1023 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
\r
1024 | --sha=* | --sh=*)
\r
1025 sharedstatedir=$ac_optarg ;;
\r
1027 -site | --site | --sit)
\r
1029 -site=* | --site=* | --sit=*)
\r
1030 site=$ac_optarg ;;
\r
1032 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
\r
1034 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
\r
1035 srcdir=$ac_optarg ;;
\r
1037 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
\r
1038 | --syscon | --sysco | --sysc | --sys | --sy)
\r
1039 ac_prev=sysconfdir ;;
\r
1040 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
\r
1041 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
\r
1042 sysconfdir=$ac_optarg ;;
\r
1044 -target | --target | --targe | --targ | --tar | --ta | --t)
\r
1045 ac_prev=target_alias ;;
\r
1046 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
\r
1047 target_alias=$ac_optarg ;;
\r
1049 -v | -verbose | --verbose | --verbos | --verbo | --verb)
\r
1052 -version | --version | --versio | --versi | --vers | -V)
\r
1053 ac_init_version=: ;;
\r
1055 -with-* | --with-*)
\r
1056 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
\r
1057 # Reject names that are not valid shell variable names.
\r
1058 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
\r
1059 { echo "$as_me: error: invalid package name: $ac_package" >&2
\r
1060 { (exit 1); exit 1; }; }
\r
1061 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
\r
1062 eval with_$ac_package=\$ac_optarg ;;
\r
1064 -without-* | --without-*)
\r
1065 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
\r
1066 # Reject names that are not valid shell variable names.
\r
1067 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
\r
1068 { echo "$as_me: error: invalid package name: $ac_package" >&2
\r
1069 { (exit 1); exit 1; }; }
\r
1070 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
\r
1071 eval with_$ac_package=no ;;
\r
1074 # Obsolete; use --with-x.
\r
1077 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
\r
1078 | --x-incl | --x-inc | --x-in | --x-i)
\r
1079 ac_prev=x_includes ;;
\r
1080 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
\r
1081 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
\r
1082 x_includes=$ac_optarg ;;
\r
1084 -x-libraries | --x-libraries | --x-librarie | --x-librari \
\r
1085 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
\r
1086 ac_prev=x_libraries ;;
\r
1087 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
\r
1088 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
\r
1089 x_libraries=$ac_optarg ;;
\r
1091 -*) { echo "$as_me: error: unrecognized option: $ac_option
\r
1092 Try \`$0 --help' for more information." >&2
\r
1093 { (exit 1); exit 1; }; }
\r
1097 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
\r
1098 # Reject names that are not valid shell variable names.
\r
1099 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
\r
1100 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
\r
1101 { (exit 1); exit 1; }; }
\r
1102 eval $ac_envvar=\$ac_optarg
\r
1103 export $ac_envvar ;;
\r
1106 # FIXME: should be removed in autoconf 3.0.
\r
1107 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
\r
1108 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
\r
1109 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
\r
1110 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
\r
1116 if test -n "$ac_prev"; then
\r
1117 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
\r
1118 { echo "$as_me: error: missing argument to $ac_option" >&2
\r
1119 { (exit 1); exit 1; }; }
\r
1122 # Be sure to have absolute directory names.
\r
1123 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
\r
1124 datadir sysconfdir sharedstatedir localstatedir includedir \
\r
1125 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
\r
1126 libdir localedir mandir
\r
1128 eval ac_val=\$$ac_var
\r
1130 [\\/$]* | ?:[\\/]* ) continue;;
\r
1131 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
\r
1133 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
\r
1134 { (exit 1); exit 1; }; }
\r
1137 # There might be people who depend on the old broken behavior: `$host'
\r
1138 # used to hold the argument of --host etc.
\r
1139 # FIXME: To remove some day.
\r
1140 build=$build_alias
\r
1142 target=$target_alias
\r
1144 # FIXME: To remove some day.
\r
1145 if test "x$host_alias" != x; then
\r
1146 if test "x$build_alias" = x; then
\r
1147 cross_compiling=maybe
\r
1148 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
\r
1149 If a cross compiler is detected then cross compile mode will be used." >&2
\r
1150 elif test "x$build_alias" != "x$host_alias"; then
\r
1151 cross_compiling=yes
\r
1156 test -n "$host_alias" && ac_tool_prefix=$host_alias-
\r
1158 test "$silent" = yes && exec 6>/dev/null
\r
1161 ac_pwd=`pwd` && test -n "$ac_pwd" &&
\r
1162 ac_ls_di=`ls -di .` &&
\r
1163 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
\r
1164 { echo "$as_me: error: Working directory cannot be determined" >&2
\r
1165 { (exit 1); exit 1; }; }
\r
1166 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
\r
1167 { echo "$as_me: error: pwd does not report name of working directory" >&2
\r
1168 { (exit 1); exit 1; }; }
\r
1171 # Find the source files, if location was not specified.
\r
1172 if test -z "$srcdir"; then
\r
1173 ac_srcdir_defaulted=yes
\r
1174 # Try the directory containing this script, then the parent directory.
\r
1175 ac_confdir=`$as_dirname -- "$0" ||
\r
1176 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
\r
1177 X"$0" : 'X\(//\)[^/]' \| \
\r
1178 X"$0" : 'X\(//\)$' \| \
\r
1179 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
\r
1181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
\r
1185 /^X\(\/\/\)[^/].*/{
\r
1198 srcdir=$ac_confdir
\r
1199 if test ! -r "$srcdir/$ac_unique_file"; then
\r
1203 ac_srcdir_defaulted=no
\r
1205 if test ! -r "$srcdir/$ac_unique_file"; then
\r
1206 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
\r
1207 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
\r
1208 { (exit 1); exit 1; }; }
\r
1210 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
\r
1212 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
\r
1213 { (exit 1); exit 1; }; }
\r
1215 # When building in place, set srcdir=.
\r
1216 if test "$ac_abs_confdir" = "$ac_pwd"; then
\r
1219 # Remove unnecessary trailing slashes from srcdir.
\r
1220 # Double slashes in file names in object file debugging info
\r
1221 # mess up M-x gdb in Emacs.
\r
1223 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
\r
1225 for ac_var in $ac_precious_vars; do
\r
1226 eval ac_env_${ac_var}_set=\${${ac_var}+set}
\r
1227 eval ac_env_${ac_var}_value=\$${ac_var}
\r
1228 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
\r
1229 eval ac_cv_env_${ac_var}_value=\$${ac_var}
\r
1233 # Report the --help message.
\r
1235 if test "$ac_init_help" = "long"; then
\r
1236 # Omit some internal or obsolete options to make the list less imposing.
\r
1237 # This message is too long to be a string in the A/UX 3.1 sh.
\r
1239 \`configure' configures xboard 4.3 to adapt to many kinds of systems.
\r
1241 Usage: $0 [OPTION]... [VAR=VALUE]...
\r
1243 To assign environment variables (e.g., CC, CFLAGS...), specify them as
\r
1244 VAR=VALUE. See below for descriptions of some of the useful variables.
\r
1246 Defaults for the options are specified in brackets.
\r
1249 -h, --help display this help and exit
\r
1250 --help=short display options specific to this package
\r
1251 --help=recursive display the short help of all the included packages
\r
1252 -V, --version display version information and exit
\r
1253 -q, --quiet, --silent do not print \`checking...' messages
\r
1254 --cache-file=FILE cache test results in FILE [disabled]
\r
1255 -C, --config-cache alias for \`--cache-file=config.cache'
\r
1256 -n, --no-create do not create output files
\r
1257 --srcdir=DIR find the sources in DIR [configure dir or \`..']
\r
1259 Installation directories:
\r
1260 --prefix=PREFIX install architecture-independent files in PREFIX
\r
1261 [$ac_default_prefix]
\r
1262 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
\r
1265 By default, \`make install' will install all the files in
\r
1266 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
\r
1267 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
\r
1268 for instance \`--prefix=\$HOME'.
\r
1270 For better control, use the options below.
\r
1272 Fine tuning of the installation directories:
\r
1273 --bindir=DIR user executables [EPREFIX/bin]
\r
1274 --sbindir=DIR system admin executables [EPREFIX/sbin]
\r
1275 --libexecdir=DIR program executables [EPREFIX/libexec]
\r
1276 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
\r
1277 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
\r
1278 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
\r
1279 --libdir=DIR object code libraries [EPREFIX/lib]
\r
1280 --includedir=DIR C header files [PREFIX/include]
\r
1281 --oldincludedir=DIR C header files for non-gcc [/usr/include]
\r
1282 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
\r
1283 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
\r
1284 --infodir=DIR info documentation [DATAROOTDIR/info]
\r
1285 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
\r
1286 --mandir=DIR man documentation [DATAROOTDIR/man]
\r
1287 --docdir=DIR documentation root [DATAROOTDIR/doc/xboard]
\r
1288 --htmldir=DIR html documentation [DOCDIR]
\r
1289 --dvidir=DIR dvi documentation [DOCDIR]
\r
1290 --pdfdir=DIR pdf documentation [DOCDIR]
\r
1291 --psdir=DIR ps documentation [DOCDIR]
\r
1297 --program-prefix=PREFIX prepend PREFIX to installed program names
\r
1298 --program-suffix=SUFFIX append SUFFIX to installed program names
\r
1299 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
\r
1302 --x-includes=DIR X include files are in DIR
\r
1303 --x-libraries=DIR X library files are in DIR
\r
1306 --build=BUILD configure for building on BUILD [guessed]
\r
1307 --host=HOST cross-compile to build programs to run on HOST [BUILD]
\r
1311 if test -n "$ac_init_help"; then
\r
1312 case $ac_init_help in
\r
1313 short | recursive ) echo "Configuration of xboard 4.3:";;
\r
1317 Optional Features:
\r
1318 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
\r
1319 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
\r
1320 --disable-dependency-tracking speeds up one-time build
\r
1321 --enable-dependency-tracking do not reject slow dependency extractors
\r
1322 --enable-xpm libXpm will be used if found (default)
\r
1323 --disable-xpm libXpm will not be used
\r
1324 --enable-ptys force use of pseudo-ttys with child processes
\r
1325 --disable-ptys force use of pipes with child processes
\r
1326 --enable-zippy support interfacing a chess program to ICS (default)
\r
1327 --disable-zippy do not support interfacing a chess program to ICS
\r
1328 --enable-sigint sending SIGINT (^C) wakes up GNU Chess (default)
\r
1329 --disable-sigint typing a command wakes up GNU Chess
\r
1331 Optional Packages:
\r
1332 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
\r
1333 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
\r
1334 --with-x use the X Window System
\r
1335 --with-Xaw3d use Xaw3d instead of Xaw
\r
1337 Some influential environment variables:
\r
1338 CC C compiler command
\r
1339 CFLAGS C compiler flags
\r
1340 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
\r
1341 nonstandard directory <lib dir>
\r
1342 LIBS libraries to pass to the linker, e.g. -l<library>
\r
1343 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
\r
1344 you have headers in a nonstandard directory <include dir>
\r
1345 CPP C preprocessor
\r
1346 XMKMF Path to xmkmf, Makefile generator for X Window System
\r
1348 Use these variables to override the choices made by `configure' or to help
\r
1349 it to find libraries and programs with nonstandard names/locations.
\r
1355 if test "$ac_init_help" = "recursive"; then
\r
1356 # If there are subdirs, report their specific --help.
\r
1357 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
\r
1358 test -d "$ac_dir" || continue
\r
1362 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
\r
1364 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
\r
1365 # A ".." for each directory in $ac_dir_suffix.
\r
1366 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
\r
1367 case $ac_top_builddir_sub in
\r
1368 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
\r
1369 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
\r
1372 ac_abs_top_builddir=$ac_pwd
\r
1373 ac_abs_builddir=$ac_pwd$ac_dir_suffix
\r
1374 # for backward compatibility:
\r
1375 ac_top_builddir=$ac_top_build_prefix
\r
1378 .) # We are building in place.
\r
1380 ac_top_srcdir=$ac_top_builddir_sub
\r
1381 ac_abs_top_srcdir=$ac_pwd ;;
\r
1382 [\\/]* | ?:[\\/]* ) # Absolute name.
\r
1383 ac_srcdir=$srcdir$ac_dir_suffix;
\r
1384 ac_top_srcdir=$srcdir
\r
1385 ac_abs_top_srcdir=$srcdir ;;
\r
1386 *) # Relative name.
\r
1387 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
\r
1388 ac_top_srcdir=$ac_top_build_prefix$srcdir
\r
1389 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
\r
1391 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
\r
1393 cd "$ac_dir" || { ac_status=$?; continue; }
\r
1394 # Check for guested configure.
\r
1395 if test -f "$ac_srcdir/configure.gnu"; then
\r
1397 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
\r
1398 elif test -f "$ac_srcdir/configure"; then
\r
1400 $SHELL "$ac_srcdir/configure" --help=recursive
\r
1402 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
\r
1403 fi || ac_status=$?
\r
1404 cd "$ac_pwd" || { ac_status=$?; break; }
\r
1408 test -n "$ac_init_help" && exit $ac_status
\r
1409 if $ac_init_version; then
\r
1411 xboard configure 4.3
\r
1412 generated by GNU Autoconf 2.61
\r
1414 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
\r
1415 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
\r
1416 This configure script is free software; the Free Software Foundation
\r
1417 gives unlimited permission to copy, distribute and modify it.
\r
1421 cat >config.log <<_ACEOF
\r
1422 This file contains any messages produced by compilers while
\r
1423 running configure, to aid debugging if configure makes a mistake.
\r
1425 It was created by xboard $as_me 4.3, which was
\r
1426 generated by GNU Autoconf 2.61. Invocation command line was
\r
1431 exec 5>>config.log
\r
1438 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
\r
1439 uname -m = `(uname -m) 2>/dev/null || echo unknown`
\r
1440 uname -r = `(uname -r) 2>/dev/null || echo unknown`
\r
1441 uname -s = `(uname -s) 2>/dev/null || echo unknown`
\r
1442 uname -v = `(uname -v) 2>/dev/null || echo unknown`
\r
1444 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
\r
1445 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
\r
1447 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
\r
1448 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
\r
1449 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
\r
1450 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
\r
1451 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
\r
1452 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
\r
1453 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
\r
1457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
1458 for as_dir in $PATH
\r
1461 test -z "$as_dir" && as_dir=.
\r
1462 echo "PATH: $as_dir"
\r
1478 # Keep a trace of the command line.
\r
1479 # Strip out --no-create and --no-recursion so they do not pile up.
\r
1480 # Strip out --silent because we don't want to record it for future runs.
\r
1481 # Also quote any args containing shell meta-characters.
\r
1482 # Make two passes to allow for proper duplicate-argument suppression.
\r
1483 ac_configure_args=
\r
1484 ac_configure_args0=
\r
1485 ac_configure_args1=
\r
1486 ac_must_keep_next=false
\r
1487 for ac_pass in 1 2
\r
1492 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
\r
1493 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
\r
1494 | -silent | --silent | --silen | --sile | --sil)
\r
1497 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
\r
1500 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
\r
1502 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
\r
1503 if test $ac_must_keep_next = true; then
\r
1504 ac_must_keep_next=false # Got value, back to normal.
\r
1507 *=* | --config-cache | -C | -disable-* | --disable-* \
\r
1508 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
\r
1509 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
\r
1510 | -with-* | --with-* | -without-* | --without-* | --x)
\r
1511 case "$ac_configure_args0 " in
\r
1512 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
\r
1515 -* ) ac_must_keep_next=true ;;
\r
1518 ac_configure_args="$ac_configure_args '$ac_arg'"
\r
1523 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
\r
1524 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
\r
1526 # When interrupted or exit'd, cleanup temporary files, and complete
\r
1527 # config.log. We remove comments because anyway the quotes in there
\r
1528 # would cause problems or look ugly.
\r
1529 # WARNING: Use '\'' to represent an apostrophe within the trap.
\r
1530 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
\r
1531 trap 'exit_status=$?
\r
1532 # Save into config.log some information that might help in debugging.
\r
1537 ## ---------------- ##
\r
1538 ## Cache variables. ##
\r
1539 ## ---------------- ##
\r
1542 # The following way of writing the cache mishandles newlines in values,
\r
1544 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
\r
1545 eval ac_val=\$$ac_var
\r
1546 case $ac_val in #(
\r
1548 case $ac_var in #(
\r
1549 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
\r
1550 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
\r
1552 case $ac_var in #(
\r
1553 _ | IFS | as_nl) ;; #(
\r
1554 *) $as_unset $ac_var ;;
\r
1559 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
\r
1560 *${as_nl}ac_space=\ *)
\r
1562 "s/'\''/'\''\\\\'\'''\''/g;
\r
1563 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
\r
1566 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
\r
1574 ## ----------------- ##
\r
1575 ## Output variables. ##
\r
1576 ## ----------------- ##
\r
1579 for ac_var in $ac_subst_vars
\r
1581 eval ac_val=\$$ac_var
\r
1583 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
\r
1585 echo "$ac_var='\''$ac_val'\''"
\r
1589 if test -n "$ac_subst_files"; then
\r
1591 ## ------------------- ##
\r
1592 ## File substitutions. ##
\r
1593 ## ------------------- ##
\r
1596 for ac_var in $ac_subst_files
\r
1598 eval ac_val=\$$ac_var
\r
1600 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
\r
1602 echo "$ac_var='\''$ac_val'\''"
\r
1607 if test -s confdefs.h; then
\r
1617 test "$ac_signal" != 0 &&
\r
1618 echo "$as_me: caught signal $ac_signal"
\r
1619 echo "$as_me: exit $exit_status"
\r
1621 rm -f core *.core core.conftest.* &&
\r
1622 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
\r
1625 for ac_signal in 1 2 13 15; do
\r
1626 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
\r
1630 # confdefs.h avoids OS command line length limits that DEFS can exceed.
\r
1631 rm -f -r conftest* confdefs.h
\r
1633 # Predefined preprocessor variables.
\r
1635 cat >>confdefs.h <<_ACEOF
\r
1636 #define PACKAGE_NAME "$PACKAGE_NAME"
\r
1640 cat >>confdefs.h <<_ACEOF
\r
1641 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
\r
1645 cat >>confdefs.h <<_ACEOF
\r
1646 #define PACKAGE_VERSION "$PACKAGE_VERSION"
\r
1650 cat >>confdefs.h <<_ACEOF
\r
1651 #define PACKAGE_STRING "$PACKAGE_STRING"
\r
1655 cat >>confdefs.h <<_ACEOF
\r
1656 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
\r
1660 # Let the site file select an alternate cache file if it wants to.
\r
1661 # Prefer explicitly selected file to automatically selected ones.
\r
1662 if test -n "$CONFIG_SITE"; then
\r
1663 set x "$CONFIG_SITE"
\r
1664 elif test "x$prefix" != xNONE; then
\r
1665 set x "$prefix/share/config.site" "$prefix/etc/config.site"
\r
1667 set x "$ac_default_prefix/share/config.site" \
\r
1668 "$ac_default_prefix/etc/config.site"
\r
1673 if test -r "$ac_site_file"; then
\r
1674 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
\r
1675 echo "$as_me: loading site script $ac_site_file" >&6;}
\r
1676 sed 's/^/| /' "$ac_site_file" >&5
\r
1681 if test -r "$cache_file"; then
\r
1682 # Some versions of bash will fail to source /dev/null (special
\r
1683 # files actually), so we avoid doing that.
\r
1684 if test -f "$cache_file"; then
\r
1685 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
\r
1686 echo "$as_me: loading cache $cache_file" >&6;}
\r
1687 case $cache_file in
\r
1688 [\\/]* | ?:[\\/]* ) . "$cache_file";;
\r
1689 *) . "./$cache_file";;
\r
1693 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
\r
1694 echo "$as_me: creating cache $cache_file" >&6;}
\r
1698 # Check that the precious variables saved in the cache have kept the same
\r
1700 ac_cache_corrupted=false
\r
1701 for ac_var in $ac_precious_vars; do
\r
1702 eval ac_old_set=\$ac_cv_env_${ac_var}_set
\r
1703 eval ac_new_set=\$ac_env_${ac_var}_set
\r
1704 eval ac_old_val=\$ac_cv_env_${ac_var}_value
\r
1705 eval ac_new_val=\$ac_env_${ac_var}_value
\r
1706 case $ac_old_set,$ac_new_set in
\r
1708 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
\r
1709 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
\r
1710 ac_cache_corrupted=: ;;
\r
1712 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
\r
1713 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
\r
1714 ac_cache_corrupted=: ;;
\r
1717 if test "x$ac_old_val" != "x$ac_new_val"; then
\r
1718 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
\r
1719 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
\r
1720 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
\r
1721 echo "$as_me: former value: $ac_old_val" >&2;}
\r
1722 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
\r
1723 echo "$as_me: current value: $ac_new_val" >&2;}
\r
1724 ac_cache_corrupted=:
\r
1727 # Pass precious variables to config.status.
\r
1728 if test "$ac_new_set" = set; then
\r
1729 case $ac_new_val in
\r
1730 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
\r
1731 *) ac_arg=$ac_var=$ac_new_val ;;
\r
1733 case " $ac_configure_args " in
\r
1734 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
\r
1735 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
\r
1739 if $ac_cache_corrupted; then
\r
1740 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
\r
1741 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
\r
1742 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
\r
1743 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
\r
1744 { (exit 1); exit 1; }; }
\r
1772 ac_cpp='$CPP $CPPFLAGS'
\r
1773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
1774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
1775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
\r
1778 am__api_version='1.10'
\r
1781 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
\r
1782 if test -f "$ac_dir/install-sh"; then
\r
1783 ac_aux_dir=$ac_dir
\r
1784 ac_install_sh="$ac_aux_dir/install-sh -c"
\r
1786 elif test -f "$ac_dir/install.sh"; then
\r
1787 ac_aux_dir=$ac_dir
\r
1788 ac_install_sh="$ac_aux_dir/install.sh -c"
\r
1790 elif test -f "$ac_dir/shtool"; then
\r
1791 ac_aux_dir=$ac_dir
\r
1792 ac_install_sh="$ac_aux_dir/shtool install -c"
\r
1796 if test -z "$ac_aux_dir"; then
\r
1797 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
\r
1798 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
\r
1799 { (exit 1); exit 1; }; }
\r
1802 # These three variables are undocumented and unsupported,
\r
1803 # and are intended to be withdrawn in a future Autoconf release.
\r
1804 # They can cause serious problems if a builder's source tree is in a directory
\r
1805 # whose full name contains unusual characters.
\r
1806 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
\r
1807 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
\r
1808 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
\r
1811 # Find a good install program. We prefer a C program (faster),
\r
1812 # so one script is as good as another. But avoid the broken or
\r
1813 # incompatible versions:
\r
1814 # SysV /etc/install, /usr/sbin/install
\r
1815 # SunOS /usr/etc/install
\r
1816 # IRIX /sbin/install
\r
1817 # AIX /bin/install
\r
1818 # AmigaOS /C/install, which installs bootblocks on floppy discs
\r
1819 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
\r
1820 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
\r
1821 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
\r
1822 # OS/2's system install, which has a completely different semantic
\r
1823 # ./install, which can be erroneously created by make from ./install.sh.
\r
1824 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
\r
1825 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
\r
1826 if test -z "$INSTALL"; then
\r
1827 if test "${ac_cv_path_install+set}" = set; then
\r
1828 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
1830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
1831 for as_dir in $PATH
\r
1834 test -z "$as_dir" && as_dir=.
\r
1835 # Account for people who put trailing slashes in PATH elements.
\r
1837 ./ | .// | /cC/* | \
\r
1838 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
\r
1839 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
\r
1842 # OSF1 and SCO ODT 3.0 have their own names for install.
\r
1843 # Don't use installbsd from OSF since it installs stuff as root
\r
1845 for ac_prog in ginstall scoinst install; do
\r
1846 for ac_exec_ext in '' $ac_executable_extensions; do
\r
1847 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
\r
1848 if test $ac_prog = install &&
\r
1849 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
\r
1850 # AIX install. It has an incompatible calling convention.
\r
1852 elif test $ac_prog = install &&
\r
1853 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
\r
1854 # program-specific install script used by HP pwplus--don't use.
\r
1857 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
\r
1870 if test "${ac_cv_path_install+set}" = set; then
\r
1871 INSTALL=$ac_cv_path_install
\r
1873 # As a last resort, use the slow shell script. Don't cache a
\r
1874 # value for INSTALL within a source directory, because that will
\r
1875 # break other packages using the cache if that directory is
\r
1876 # removed, or if the value is a relative name.
\r
1877 INSTALL=$ac_install_sh
\r
1880 { echo "$as_me:$LINENO: result: $INSTALL" >&5
\r
1881 echo "${ECHO_T}$INSTALL" >&6; }
\r
1883 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
\r
1884 # It thinks the first close brace ends the variable substitution.
\r
1885 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
\r
1887 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
\r
1889 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
\r
1891 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
\r
1892 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
\r
1895 echo timestamp > conftest.file
\r
1896 # Do `set' in a subshell so we don't clobber the current shell's
\r
1897 # arguments. Must try -L first in case configure is actually a
\r
1898 # symlink; some systems play weird games with the mod time of symlinks
\r
1899 # (eg FreeBSD returns the mod time of the symlink's containing
\r
1902 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
\r
1903 if test "$*" = "X"; then
\r
1905 set X `ls -t $srcdir/configure conftest.file`
\r
1907 rm -f conftest.file
\r
1908 if test "$*" != "X $srcdir/configure conftest.file" \
\r
1909 && test "$*" != "X conftest.file $srcdir/configure"; then
\r
1911 # If neither matched, then we have a broken ls. This can happen
\r
1912 # if, for instance, CONFIG_SHELL is bash and it inherits a
\r
1913 # broken ls alias from the environment. This has actually
\r
1914 # happened. Such a system could not be considered "sane".
\r
1915 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
\r
1916 alias in your environment" >&5
\r
1917 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
\r
1918 alias in your environment" >&2;}
\r
1919 { (exit 1); exit 1; }; }
\r
1922 test "$2" = conftest.file
\r
1928 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
\r
1929 Check your system clock" >&5
\r
1930 echo "$as_me: error: newly created file is older than distributed files!
\r
1931 Check your system clock" >&2;}
\r
1932 { (exit 1); exit 1; }; }
\r
1934 { echo "$as_me:$LINENO: result: yes" >&5
\r
1935 echo "${ECHO_T}yes" >&6; }
\r
1936 test "$program_prefix" != NONE &&
\r
1937 program_transform_name="s&^&$program_prefix&;$program_transform_name"
\r
1938 # Use a double $ so make ignores it.
\r
1939 test "$program_suffix" != NONE &&
\r
1940 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
\r
1941 # Double any \ or $. echo might interpret backslashes.
\r
1942 # By default was `s,x,x', remove it if useless.
\r
1943 cat <<\_ACEOF >conftest.sed
\r
1944 s/[\\$]/&&/g;s/;s,x,x,$//
\r
1946 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
\r
1947 rm -f conftest.sed
\r
1949 # expand $ac_aux_dir to an absolute path
\r
1950 am_aux_dir=`cd $ac_aux_dir && pwd`
\r
1952 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
\r
1953 # Use eval to expand $SHELL
\r
1954 if eval "$MISSING --run true"; then
\r
1955 am_missing_run="$MISSING --run "
\r
1958 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
\r
1959 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
\r
1962 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
\r
1963 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
\r
1964 if test -z "$MKDIR_P"; then
\r
1965 if test "${ac_cv_path_mkdir+set}" = set; then
\r
1966 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
1968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
1969 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
\r
1972 test -z "$as_dir" && as_dir=.
\r
1973 for ac_prog in mkdir gmkdir; do
\r
1974 for ac_exec_ext in '' $ac_executable_extensions; do
\r
1975 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
\r
1976 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
\r
1977 'mkdir (GNU coreutils) '* | \
\r
1978 'mkdir (coreutils) '* | \
\r
1979 'mkdir (fileutils) '4.1*)
\r
1980 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
\r
1990 if test "${ac_cv_path_mkdir+set}" = set; then
\r
1991 MKDIR_P="$ac_cv_path_mkdir -p"
\r
1993 # As a last resort, use the slow shell script. Don't cache a
\r
1994 # value for MKDIR_P within a source directory, because that will
\r
1995 # break other packages using the cache if that directory is
\r
1996 # removed, or if the value is a relative name.
\r
1997 test -d ./--version && rmdir ./--version
\r
1998 MKDIR_P="$ac_install_sh -d"
\r
2001 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
\r
2002 echo "${ECHO_T}$MKDIR_P" >&6; }
\r
2004 mkdir_p="$MKDIR_P"
\r
2006 [\\/$]* | ?:[\\/]*) ;;
\r
2007 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
\r
2010 for ac_prog in gawk mawk nawk awk
\r
2012 # Extract the first word of "$ac_prog", so it can be a program name with args.
\r
2013 set dummy $ac_prog; ac_word=$2
\r
2014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
2015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
\r
2016 if test "${ac_cv_prog_AWK+set}" = set; then
\r
2017 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
2019 if test -n "$AWK"; then
\r
2020 ac_cv_prog_AWK="$AWK" # Let the user override the test.
\r
2022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
2023 for as_dir in $PATH
\r
2026 test -z "$as_dir" && as_dir=.
\r
2027 for ac_exec_ext in '' $ac_executable_extensions; do
\r
2028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
2029 ac_cv_prog_AWK="$ac_prog"
\r
2030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
2039 AWK=$ac_cv_prog_AWK
\r
2040 if test -n "$AWK"; then
\r
2041 { echo "$as_me:$LINENO: result: $AWK" >&5
\r
2042 echo "${ECHO_T}$AWK" >&6; }
\r
2044 { echo "$as_me:$LINENO: result: no" >&5
\r
2045 echo "${ECHO_T}no" >&6; }
\r
2049 test -n "$AWK" && break
\r
2052 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
\r
2053 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
\r
2054 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
\r
2055 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
\r
2056 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
2058 cat >conftest.make <<\_ACEOF
\r
2061 @echo '@@@%%%=$(MAKE)=@@@%%%'
\r
2063 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
\r
2064 case `${MAKE-make} -f conftest.make 2>/dev/null` in
\r
2065 *@@@%%%=?*=@@@%%%*)
\r
2066 eval ac_cv_prog_make_${ac_make}_set=yes;;
\r
2068 eval ac_cv_prog_make_${ac_make}_set=no;;
\r
2070 rm -f conftest.make
\r
2072 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
\r
2073 { echo "$as_me:$LINENO: result: yes" >&5
\r
2074 echo "${ECHO_T}yes" >&6; }
\r
2077 { echo "$as_me:$LINENO: result: no" >&5
\r
2078 echo "${ECHO_T}no" >&6; }
\r
2079 SET_MAKE="MAKE=${MAKE-make}"
\r
2082 rm -rf .tst 2>/dev/null
\r
2083 mkdir .tst 2>/dev/null
\r
2084 if test -d .tst; then
\r
2089 rmdir .tst 2>/dev/null
\r
2091 if test "`cd $srcdir && pwd`" != "`pwd`"; then
\r
2092 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
\r
2093 # is not polluted with repeated "-I."
\r
2094 am__isrc=' -I$(srcdir)'
\r
2095 # test to see if srcdir already configured
\r
2096 if test -f $srcdir/config.status; then
\r
2097 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
\r
2098 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
\r
2099 { (exit 1); exit 1; }; }
\r
2103 # test whether we have cygpath
\r
2104 if test -z "$CYGPATH_W"; then
\r
2105 if (cygpath --version) >/dev/null 2>/dev/null; then
\r
2106 CYGPATH_W='cygpath -w'
\r
2113 # Define the identity of the package.
\r
2118 cat >>confdefs.h <<_ACEOF
\r
2119 #define PACKAGE "$PACKAGE"
\r
2123 cat >>confdefs.h <<_ACEOF
\r
2124 #define VERSION "$VERSION"
\r
2127 # Some tools Automake needs.
\r
2129 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
\r
2132 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
\r
2135 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
\r
2138 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
\r
2141 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
\r
2143 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
\r
2145 # Installed binaries are usually stripped using `strip' when the user
\r
2146 # run `make install-strip'. However `strip' might not be the right
\r
2147 # tool to use in cross-compilation environments, therefore Automake
\r
2148 # will honor the `STRIP' environment variable to overrule this program.
\r
2149 if test "$cross_compiling" != no; then
\r
2150 if test -n "$ac_tool_prefix"; then
\r
2151 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
\r
2152 set dummy ${ac_tool_prefix}strip; ac_word=$2
\r
2153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
2154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
\r
2155 if test "${ac_cv_prog_STRIP+set}" = set; then
\r
2156 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
2158 if test -n "$STRIP"; then
\r
2159 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
\r
2161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
2162 for as_dir in $PATH
\r
2165 test -z "$as_dir" && as_dir=.
\r
2166 for ac_exec_ext in '' $ac_executable_extensions; do
\r
2167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
2168 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
\r
2169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
2178 STRIP=$ac_cv_prog_STRIP
\r
2179 if test -n "$STRIP"; then
\r
2180 { echo "$as_me:$LINENO: result: $STRIP" >&5
\r
2181 echo "${ECHO_T}$STRIP" >&6; }
\r
2183 { echo "$as_me:$LINENO: result: no" >&5
\r
2184 echo "${ECHO_T}no" >&6; }
\r
2189 if test -z "$ac_cv_prog_STRIP"; then
\r
2190 ac_ct_STRIP=$STRIP
\r
2191 # Extract the first word of "strip", so it can be a program name with args.
\r
2192 set dummy strip; ac_word=$2
\r
2193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
2194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
\r
2195 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
\r
2196 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
2198 if test -n "$ac_ct_STRIP"; then
\r
2199 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
\r
2201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
2202 for as_dir in $PATH
\r
2205 test -z "$as_dir" && as_dir=.
\r
2206 for ac_exec_ext in '' $ac_executable_extensions; do
\r
2207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
2208 ac_cv_prog_ac_ct_STRIP="strip"
\r
2209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
2218 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
\r
2219 if test -n "$ac_ct_STRIP"; then
\r
2220 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
\r
2221 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
\r
2223 { echo "$as_me:$LINENO: result: no" >&5
\r
2224 echo "${ECHO_T}no" >&6; }
\r
2227 if test "x$ac_ct_STRIP" = x; then
\r
2230 case $cross_compiling:$ac_tool_warned in
\r
2232 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
\r
2233 whose name does not start with the host triplet. If you think this
\r
2234 configuration is useful to you, please write to autoconf@gnu.org." >&5
\r
2235 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
\r
2236 whose name does not start with the host triplet. If you think this
\r
2237 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
\r
2238 ac_tool_warned=yes ;;
\r
2240 STRIP=$ac_ct_STRIP
\r
2243 STRIP="$ac_cv_prog_STRIP"
\r
2247 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
\r
2249 # We need awk for the "check" target. The system "awk" is bad on
\r
2251 # Always define AMTAR for backward compatibility.
\r
2253 AMTAR=${AMTAR-"${am_missing_run}tar"}
\r
2255 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
\r
2262 ac_cpp='$CPP $CPPFLAGS'
\r
2263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
2264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
2265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
\r
2266 if test -n "$ac_tool_prefix"; then
\r
2267 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
\r
2268 set dummy ${ac_tool_prefix}gcc; ac_word=$2
\r
2269 { echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
2270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
\r
2271 if test "${ac_cv_prog_CC+set}" = set; then
\r
2272 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
2274 if test -n "$CC"; then
\r
2275 ac_cv_prog_CC="$CC" # Let the user override the test.
\r
2277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
2278 for as_dir in $PATH
\r
2281 test -z "$as_dir" && as_dir=.
\r
2282 for ac_exec_ext in '' $ac_executable_extensions; do
\r
2283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
2284 ac_cv_prog_CC="${ac_tool_prefix}gcc"
\r
2285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
2295 if test -n "$CC"; then
\r
2296 { echo "$as_me:$LINENO: result: $CC" >&5
\r
2297 echo "${ECHO_T}$CC" >&6; }
\r
2299 { echo "$as_me:$LINENO: result: no" >&5
\r
2300 echo "${ECHO_T}no" >&6; }
\r
2305 if test -z "$ac_cv_prog_CC"; then
\r
2307 # Extract the first word of "gcc", so it can be a program name with args.
\r
2308 set dummy gcc; ac_word=$2
\r
2309 { echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
2310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
\r
2311 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
\r
2312 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
2314 if test -n "$ac_ct_CC"; then
\r
2315 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
\r
2317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
2318 for as_dir in $PATH
\r
2321 test -z "$as_dir" && as_dir=.
\r
2322 for ac_exec_ext in '' $ac_executable_extensions; do
\r
2323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
2324 ac_cv_prog_ac_ct_CC="gcc"
\r
2325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
2334 ac_ct_CC=$ac_cv_prog_ac_ct_CC
\r
2335 if test -n "$ac_ct_CC"; then
\r
2336 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
\r
2337 echo "${ECHO_T}$ac_ct_CC" >&6; }
\r
2339 { echo "$as_me:$LINENO: result: no" >&5
\r
2340 echo "${ECHO_T}no" >&6; }
\r
2343 if test "x$ac_ct_CC" = x; then
\r
2346 case $cross_compiling:$ac_tool_warned in
\r
2348 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
\r
2349 whose name does not start with the host triplet. If you think this
\r
2350 configuration is useful to you, please write to autoconf@gnu.org." >&5
\r
2351 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
\r
2352 whose name does not start with the host triplet. If you think this
\r
2353 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
\r
2354 ac_tool_warned=yes ;;
\r
2359 CC="$ac_cv_prog_CC"
\r
2362 if test -z "$CC"; then
\r
2363 if test -n "$ac_tool_prefix"; then
\r
2364 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
\r
2365 set dummy ${ac_tool_prefix}cc; ac_word=$2
\r
2366 { echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
2367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
\r
2368 if test "${ac_cv_prog_CC+set}" = set; then
\r
2369 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
2371 if test -n "$CC"; then
\r
2372 ac_cv_prog_CC="$CC" # Let the user override the test.
\r
2374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
2375 for as_dir in $PATH
\r
2378 test -z "$as_dir" && as_dir=.
\r
2379 for ac_exec_ext in '' $ac_executable_extensions; do
\r
2380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
2381 ac_cv_prog_CC="${ac_tool_prefix}cc"
\r
2382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
2392 if test -n "$CC"; then
\r
2393 { echo "$as_me:$LINENO: result: $CC" >&5
\r
2394 echo "${ECHO_T}$CC" >&6; }
\r
2396 { echo "$as_me:$LINENO: result: no" >&5
\r
2397 echo "${ECHO_T}no" >&6; }
\r
2403 if test -z "$CC"; then
\r
2404 # Extract the first word of "cc", so it can be a program name with args.
\r
2405 set dummy cc; ac_word=$2
\r
2406 { echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
2407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
\r
2408 if test "${ac_cv_prog_CC+set}" = set; then
\r
2409 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
2411 if test -n "$CC"; then
\r
2412 ac_cv_prog_CC="$CC" # Let the user override the test.
\r
2414 ac_prog_rejected=no
\r
2415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
2416 for as_dir in $PATH
\r
2419 test -z "$as_dir" && as_dir=.
\r
2420 for ac_exec_ext in '' $ac_executable_extensions; do
\r
2421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
2422 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
\r
2423 ac_prog_rejected=yes
\r
2426 ac_cv_prog_CC="cc"
\r
2427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
2434 if test $ac_prog_rejected = yes; then
\r
2435 # We found a bogon in the path, so make sure we never use it.
\r
2436 set dummy $ac_cv_prog_CC
\r
2438 if test $# != 0; then
\r
2439 # We chose a different compiler from the bogus one.
\r
2440 # However, it has the same basename, so the bogon will be chosen
\r
2441 # first if we set CC to just the basename; use the full file name.
\r
2443 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
\r
2449 if test -n "$CC"; then
\r
2450 { echo "$as_me:$LINENO: result: $CC" >&5
\r
2451 echo "${ECHO_T}$CC" >&6; }
\r
2453 { echo "$as_me:$LINENO: result: no" >&5
\r
2454 echo "${ECHO_T}no" >&6; }
\r
2459 if test -z "$CC"; then
\r
2460 if test -n "$ac_tool_prefix"; then
\r
2461 for ac_prog in cl.exe
\r
2463 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
\r
2464 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
\r
2465 { echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
2466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
\r
2467 if test "${ac_cv_prog_CC+set}" = set; then
\r
2468 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
2470 if test -n "$CC"; then
\r
2471 ac_cv_prog_CC="$CC" # Let the user override the test.
\r
2473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
2474 for as_dir in $PATH
\r
2477 test -z "$as_dir" && as_dir=.
\r
2478 for ac_exec_ext in '' $ac_executable_extensions; do
\r
2479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
2480 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
\r
2481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
2491 if test -n "$CC"; then
\r
2492 { echo "$as_me:$LINENO: result: $CC" >&5
\r
2493 echo "${ECHO_T}$CC" >&6; }
\r
2495 { echo "$as_me:$LINENO: result: no" >&5
\r
2496 echo "${ECHO_T}no" >&6; }
\r
2500 test -n "$CC" && break
\r
2503 if test -z "$CC"; then
\r
2505 for ac_prog in cl.exe
\r
2507 # Extract the first word of "$ac_prog", so it can be a program name with args.
\r
2508 set dummy $ac_prog; ac_word=$2
\r
2509 { echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
2510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
\r
2511 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
\r
2512 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
2514 if test -n "$ac_ct_CC"; then
\r
2515 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
\r
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
2518 for as_dir in $PATH
\r
2521 test -z "$as_dir" && as_dir=.
\r
2522 for ac_exec_ext in '' $ac_executable_extensions; do
\r
2523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
2524 ac_cv_prog_ac_ct_CC="$ac_prog"
\r
2525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
2534 ac_ct_CC=$ac_cv_prog_ac_ct_CC
\r
2535 if test -n "$ac_ct_CC"; then
\r
2536 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
\r
2537 echo "${ECHO_T}$ac_ct_CC" >&6; }
\r
2539 { echo "$as_me:$LINENO: result: no" >&5
\r
2540 echo "${ECHO_T}no" >&6; }
\r
2544 test -n "$ac_ct_CC" && break
\r
2547 if test "x$ac_ct_CC" = x; then
\r
2550 case $cross_compiling:$ac_tool_warned in
\r
2552 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
\r
2553 whose name does not start with the host triplet. If you think this
\r
2554 configuration is useful to you, please write to autoconf@gnu.org." >&5
\r
2555 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
\r
2556 whose name does not start with the host triplet. If you think this
\r
2557 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
\r
2558 ac_tool_warned=yes ;;
\r
2567 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
\r
2568 See \`config.log' for more details." >&5
\r
2569 echo "$as_me: error: no acceptable C compiler found in \$PATH
\r
2570 See \`config.log' for more details." >&2;}
\r
2571 { (exit 1); exit 1; }; }
\r
2573 # Provide some information about the compiler.
\r
2574 echo "$as_me:$LINENO: checking for C compiler version" >&5
\r
2575 ac_compiler=`set X $ac_compile; echo $2`
\r
2576 { (ac_try="$ac_compiler --version >&5"
\r
2577 case "(($ac_try" in
\r
2578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
2579 *) ac_try_echo=$ac_try;;
\r
2581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
2582 (eval "$ac_compiler --version >&5") 2>&5
\r
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
2585 (exit $ac_status); }
\r
2586 { (ac_try="$ac_compiler -v >&5"
\r
2587 case "(($ac_try" in
\r
2588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
2589 *) ac_try_echo=$ac_try;;
\r
2591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
2592 (eval "$ac_compiler -v >&5") 2>&5
\r
2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
2595 (exit $ac_status); }
\r
2596 { (ac_try="$ac_compiler -V >&5"
\r
2597 case "(($ac_try" in
\r
2598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
2599 *) ac_try_echo=$ac_try;;
\r
2601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
2602 (eval "$ac_compiler -V >&5") 2>&5
\r
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
2605 (exit $ac_status); }
\r
2607 cat >conftest.$ac_ext <<_ACEOF
\r
2610 cat confdefs.h >>conftest.$ac_ext
\r
2611 cat >>conftest.$ac_ext <<_ACEOF
\r
2612 /* end confdefs.h. */
\r
2622 ac_clean_files_save=$ac_clean_files
\r
2623 ac_clean_files="$ac_clean_files a.out a.exe b.out"
\r
2624 # Try to create an executable without -o first, disregard a.out.
\r
2625 # It will help us diagnose broken compilers, and finding out an intuition
\r
2627 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
\r
2628 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
\r
2629 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
\r
2631 # List of possible output files, starting from the most likely.
\r
2632 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
\r
2633 # only as a last resort. b.out is created by i960 compilers.
\r
2634 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
\r
2636 # The IRIX 6 linker writes into existing files which may not be
\r
2637 # executable, retaining their permissions. Remove them first so a
\r
2638 # subsequent execution test works.
\r
2640 for ac_file in $ac_files
\r
2643 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
\r
2644 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
\r
2649 if { (ac_try="$ac_link_default"
\r
2650 case "(($ac_try" in
\r
2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
2652 *) ac_try_echo=$ac_try;;
\r
2654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
2655 (eval "$ac_link_default") 2>&5
\r
2657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
2658 (exit $ac_status); }; then
\r
2659 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
\r
2660 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
\r
2661 # in a Makefile. We should not override ac_cv_exeext if it was cached,
\r
2662 # so that the user can short-circuit this test for compilers unknown to
\r
2664 for ac_file in $ac_files ''
\r
2666 test -f "$ac_file" || continue
\r
2668 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
\r
2671 # We found the default executable, but exeext='' is most
\r
2672 # certainly right.
\r
2675 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
\r
2677 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
\r
2679 # We set ac_cv_exeext here because the later test for it is not
\r
2680 # safe: cross compilers may not add the suffix if given an `-o'
\r
2681 # argument, so we may need to know it at that point already.
\r
2682 # Even if this section looks crufty: it has the advantage of
\r
2683 # actually working.
\r
2689 test "$ac_cv_exeext" = no && ac_cv_exeext=
\r
2695 { echo "$as_me:$LINENO: result: $ac_file" >&5
\r
2696 echo "${ECHO_T}$ac_file" >&6; }
\r
2697 if test -z "$ac_file"; then
\r
2698 echo "$as_me: failed program was:" >&5
\r
2699 sed 's/^/| /' conftest.$ac_ext >&5
\r
2701 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
\r
2702 See \`config.log' for more details." >&5
\r
2703 echo "$as_me: error: C compiler cannot create executables
\r
2704 See \`config.log' for more details." >&2;}
\r
2705 { (exit 77); exit 77; }; }
\r
2708 ac_exeext=$ac_cv_exeext
\r
2710 # Check that the compiler produces executables we can run. If not, either
\r
2711 # the compiler is broken, or we cross compile.
\r
2712 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
\r
2713 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
\r
2714 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
\r
2715 # If not cross compiling, check that we can run a simple program.
\r
2716 if test "$cross_compiling" != yes; then
\r
2717 if { ac_try='./$ac_file'
\r
2718 { (case "(($ac_try" in
\r
2719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
2720 *) ac_try_echo=$ac_try;;
\r
2722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
2723 (eval "$ac_try") 2>&5
\r
2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
2726 (exit $ac_status); }; }; then
\r
2727 cross_compiling=no
\r
2729 if test "$cross_compiling" = maybe; then
\r
2730 cross_compiling=yes
\r
2732 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
\r
2733 If you meant to cross compile, use \`--host'.
\r
2734 See \`config.log' for more details." >&5
\r
2735 echo "$as_me: error: cannot run C compiled programs.
\r
2736 If you meant to cross compile, use \`--host'.
\r
2737 See \`config.log' for more details." >&2;}
\r
2738 { (exit 1); exit 1; }; }
\r
2742 { echo "$as_me:$LINENO: result: yes" >&5
\r
2743 echo "${ECHO_T}yes" >&6; }
\r
2745 rm -f a.out a.exe conftest$ac_cv_exeext b.out
\r
2746 ac_clean_files=$ac_clean_files_save
\r
2747 # Check that the compiler produces executables we can run. If not, either
\r
2748 # the compiler is broken, or we cross compile.
\r
2749 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
\r
2750 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
\r
2751 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
\r
2752 echo "${ECHO_T}$cross_compiling" >&6; }
\r
2754 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
\r
2755 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
\r
2756 if { (ac_try="$ac_link"
\r
2757 case "(($ac_try" in
\r
2758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
2759 *) ac_try_echo=$ac_try;;
\r
2761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
2762 (eval "$ac_link") 2>&5
\r
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
2765 (exit $ac_status); }; then
\r
2766 # If both `conftest.exe' and `conftest' are `present' (well, observable)
\r
2767 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
\r
2768 # work properly (i.e., refer to `conftest.exe'), while it won't with
\r
2770 for ac_file in conftest.exe conftest conftest.*; do
\r
2771 test -f "$ac_file" || continue
\r
2773 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
\r
2774 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
\r
2780 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
\r
2781 See \`config.log' for more details." >&5
\r
2782 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
\r
2783 See \`config.log' for more details." >&2;}
\r
2784 { (exit 1); exit 1; }; }
\r
2787 rm -f conftest$ac_cv_exeext
\r
2788 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
\r
2789 echo "${ECHO_T}$ac_cv_exeext" >&6; }
\r
2791 rm -f conftest.$ac_ext
\r
2792 EXEEXT=$ac_cv_exeext
\r
2794 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
\r
2795 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
\r
2796 if test "${ac_cv_objext+set}" = set; then
\r
2797 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
2799 cat >conftest.$ac_ext <<_ACEOF
\r
2802 cat confdefs.h >>conftest.$ac_ext
\r
2803 cat >>conftest.$ac_ext <<_ACEOF
\r
2804 /* end confdefs.h. */
\r
2814 rm -f conftest.o conftest.obj
\r
2815 if { (ac_try="$ac_compile"
\r
2816 case "(($ac_try" in
\r
2817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
2818 *) ac_try_echo=$ac_try;;
\r
2820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
2821 (eval "$ac_compile") 2>&5
\r
2823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
2824 (exit $ac_status); }; then
\r
2825 for ac_file in conftest.o conftest.obj conftest.*; do
\r
2826 test -f "$ac_file" || continue;
\r
2828 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
\r
2829 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
\r
2834 echo "$as_me: failed program was:" >&5
\r
2835 sed 's/^/| /' conftest.$ac_ext >&5
\r
2837 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
\r
2838 See \`config.log' for more details." >&5
\r
2839 echo "$as_me: error: cannot compute suffix of object files: cannot compile
\r
2840 See \`config.log' for more details." >&2;}
\r
2841 { (exit 1); exit 1; }; }
\r
2844 rm -f conftest.$ac_cv_objext conftest.$ac_ext
\r
2846 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
\r
2847 echo "${ECHO_T}$ac_cv_objext" >&6; }
\r
2848 OBJEXT=$ac_cv_objext
\r
2850 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
\r
2851 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
\r
2852 if test "${ac_cv_c_compiler_gnu+set}" = set; then
\r
2853 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
2855 cat >conftest.$ac_ext <<_ACEOF
\r
2858 cat confdefs.h >>conftest.$ac_ext
\r
2859 cat >>conftest.$ac_ext <<_ACEOF
\r
2860 /* end confdefs.h. */
\r
2873 rm -f conftest.$ac_objext
\r
2874 if { (ac_try="$ac_compile"
\r
2875 case "(($ac_try" in
\r
2876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
2877 *) ac_try_echo=$ac_try;;
\r
2879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
2880 (eval "$ac_compile") 2>conftest.er1
\r
2882 grep -v '^ *+' conftest.er1 >conftest.err
\r
2883 rm -f conftest.er1
\r
2884 cat conftest.err >&5
\r
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
2886 (exit $ac_status); } && {
\r
2887 test -z "$ac_c_werror_flag" ||
\r
2888 test ! -s conftest.err
\r
2889 } && test -s conftest.$ac_objext; then
\r
2890 ac_compiler_gnu=yes
\r
2892 echo "$as_me: failed program was:" >&5
\r
2893 sed 's/^/| /' conftest.$ac_ext >&5
\r
2895 ac_compiler_gnu=no
\r
2898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
2899 ac_cv_c_compiler_gnu=$ac_compiler_gnu
\r
2902 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
\r
2903 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
\r
2904 GCC=`test $ac_compiler_gnu = yes && echo yes`
\r
2905 ac_test_CFLAGS=${CFLAGS+set}
\r
2906 ac_save_CFLAGS=$CFLAGS
\r
2907 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
\r
2908 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
\r
2909 if test "${ac_cv_prog_cc_g+set}" = set; then
\r
2910 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
2912 ac_save_c_werror_flag=$ac_c_werror_flag
\r
2913 ac_c_werror_flag=yes
\r
2914 ac_cv_prog_cc_g=no
\r
2916 cat >conftest.$ac_ext <<_ACEOF
\r
2919 cat confdefs.h >>conftest.$ac_ext
\r
2920 cat >>conftest.$ac_ext <<_ACEOF
\r
2921 /* end confdefs.h. */
\r
2931 rm -f conftest.$ac_objext
\r
2932 if { (ac_try="$ac_compile"
\r
2933 case "(($ac_try" in
\r
2934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
2935 *) ac_try_echo=$ac_try;;
\r
2937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
2938 (eval "$ac_compile") 2>conftest.er1
\r
2940 grep -v '^ *+' conftest.er1 >conftest.err
\r
2941 rm -f conftest.er1
\r
2942 cat conftest.err >&5
\r
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
2944 (exit $ac_status); } && {
\r
2945 test -z "$ac_c_werror_flag" ||
\r
2946 test ! -s conftest.err
\r
2947 } && test -s conftest.$ac_objext; then
\r
2948 ac_cv_prog_cc_g=yes
\r
2950 echo "$as_me: failed program was:" >&5
\r
2951 sed 's/^/| /' conftest.$ac_ext >&5
\r
2954 cat >conftest.$ac_ext <<_ACEOF
\r
2957 cat confdefs.h >>conftest.$ac_ext
\r
2958 cat >>conftest.$ac_ext <<_ACEOF
\r
2959 /* end confdefs.h. */
\r
2969 rm -f conftest.$ac_objext
\r
2970 if { (ac_try="$ac_compile"
\r
2971 case "(($ac_try" in
\r
2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
2973 *) ac_try_echo=$ac_try;;
\r
2975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
2976 (eval "$ac_compile") 2>conftest.er1
\r
2978 grep -v '^ *+' conftest.er1 >conftest.err
\r
2979 rm -f conftest.er1
\r
2980 cat conftest.err >&5
\r
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
2982 (exit $ac_status); } && {
\r
2983 test -z "$ac_c_werror_flag" ||
\r
2984 test ! -s conftest.err
\r
2985 } && test -s conftest.$ac_objext; then
\r
2988 echo "$as_me: failed program was:" >&5
\r
2989 sed 's/^/| /' conftest.$ac_ext >&5
\r
2991 ac_c_werror_flag=$ac_save_c_werror_flag
\r
2993 cat >conftest.$ac_ext <<_ACEOF
\r
2996 cat confdefs.h >>conftest.$ac_ext
\r
2997 cat >>conftest.$ac_ext <<_ACEOF
\r
2998 /* end confdefs.h. */
\r
3008 rm -f conftest.$ac_objext
\r
3009 if { (ac_try="$ac_compile"
\r
3010 case "(($ac_try" in
\r
3011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
3012 *) ac_try_echo=$ac_try;;
\r
3014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
3015 (eval "$ac_compile") 2>conftest.er1
\r
3017 grep -v '^ *+' conftest.er1 >conftest.err
\r
3018 rm -f conftest.er1
\r
3019 cat conftest.err >&5
\r
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
3021 (exit $ac_status); } && {
\r
3022 test -z "$ac_c_werror_flag" ||
\r
3023 test ! -s conftest.err
\r
3024 } && test -s conftest.$ac_objext; then
\r
3025 ac_cv_prog_cc_g=yes
\r
3027 echo "$as_me: failed program was:" >&5
\r
3028 sed 's/^/| /' conftest.$ac_ext >&5
\r
3033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
3036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
3039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
3040 ac_c_werror_flag=$ac_save_c_werror_flag
\r
3042 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
\r
3043 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
\r
3044 if test "$ac_test_CFLAGS" = set; then
\r
3045 CFLAGS=$ac_save_CFLAGS
\r
3046 elif test $ac_cv_prog_cc_g = yes; then
\r
3047 if test "$GCC" = yes; then
\r
3053 if test "$GCC" = yes; then
\r
3059 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
\r
3060 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
\r
3061 if test "${ac_cv_prog_cc_c89+set}" = set; then
\r
3062 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
3064 ac_cv_prog_cc_c89=no
\r
3066 cat >conftest.$ac_ext <<_ACEOF
\r
3069 cat confdefs.h >>conftest.$ac_ext
\r
3070 cat >>conftest.$ac_ext <<_ACEOF
\r
3071 /* end confdefs.h. */
\r
3072 #include <stdarg.h>
\r
3073 #include <stdio.h>
\r
3074 #include <sys/types.h>
\r
3075 #include <sys/stat.h>
\r
3076 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
\r
3077 struct buf { int x; };
\r
3078 FILE * (*rcsopen) (struct buf *, struct stat *, int);
\r
3079 static char *e (p, i)
\r
3085 static char *f (char * (*g) (char **, int), char **p, ...)
\r
3090 s = g (p, va_arg (v,int));
\r
3095 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
\r
3096 function prototypes and stuff, but not '\xHH' hex character constants.
\r
3097 These don't provoke an error unfortunately, instead are silently treated
\r
3098 as 'x'. The following induces an error, until -std is added to get
\r
3099 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
\r
3100 array size at least. It's necessary to write '\x00'==0 to get something
\r
3101 that's true only with -std. */
\r
3102 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
\r
3104 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
\r
3105 inside strings and character constants. */
\r
3106 #define FOO(x) 'x'
\r
3107 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
\r
3109 int test (int i, double x);
\r
3110 struct s1 {int (*f) (int a);};
\r
3111 struct s2 {int (*f) (double a);};
\r
3112 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
\r
3118 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
\r
3123 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
\r
3124 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
\r
3126 CC="$ac_save_CC $ac_arg"
\r
3127 rm -f conftest.$ac_objext
\r
3128 if { (ac_try="$ac_compile"
\r
3129 case "(($ac_try" in
\r
3130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
3131 *) ac_try_echo=$ac_try;;
\r
3133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
3134 (eval "$ac_compile") 2>conftest.er1
\r
3136 grep -v '^ *+' conftest.er1 >conftest.err
\r
3137 rm -f conftest.er1
\r
3138 cat conftest.err >&5
\r
3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
3140 (exit $ac_status); } && {
\r
3141 test -z "$ac_c_werror_flag" ||
\r
3142 test ! -s conftest.err
\r
3143 } && test -s conftest.$ac_objext; then
\r
3144 ac_cv_prog_cc_c89=$ac_arg
\r
3146 echo "$as_me: failed program was:" >&5
\r
3147 sed 's/^/| /' conftest.$ac_ext >&5
\r
3152 rm -f core conftest.err conftest.$ac_objext
\r
3153 test "x$ac_cv_prog_cc_c89" != "xno" && break
\r
3155 rm -f conftest.$ac_ext
\r
3160 case "x$ac_cv_prog_cc_c89" in
\r
3162 { echo "$as_me:$LINENO: result: none needed" >&5
\r
3163 echo "${ECHO_T}none needed" >&6; } ;;
\r
3165 { echo "$as_me:$LINENO: result: unsupported" >&5
\r
3166 echo "${ECHO_T}unsupported" >&6; } ;;
\r
3168 CC="$CC $ac_cv_prog_cc_c89"
\r
3169 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
\r
3170 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
\r
3175 ac_cpp='$CPP $CPPFLAGS'
\r
3176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
3177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
3178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
\r
3179 DEPDIR="${am__leading_dot}deps"
\r
3181 ac_config_commands="$ac_config_commands depfiles"
\r
3184 am_make=${MAKE-make}
\r
3185 cat > confinc << 'END'
\r
3190 # If we don't find an include directive, just comment out the code.
\r
3191 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
\r
3192 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
\r
3196 # First try GNU make style include.
\r
3197 echo "include confinc" > confmf
\r
3198 # We grep out `Entering directory' and `Leaving directory'
\r
3199 # messages which can occur if `w' ends up in MAKEFLAGS.
\r
3200 # In particular we don't look at `^make:' because GNU make might
\r
3201 # be invoked under some other name (usually "gmake"), in which
\r
3202 # case it prints its new name instead of `make'.
\r
3203 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
\r
3204 am__include=include
\r
3208 # Now try BSD make style include.
\r
3209 if test "$am__include" = "#"; then
\r
3210 echo '.include "confinc"' > confmf
\r
3211 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
\r
3212 am__include=.include
\r
3219 { echo "$as_me:$LINENO: result: $_am_result" >&5
\r
3220 echo "${ECHO_T}$_am_result" >&6; }
\r
3221 rm -f confinc confmf
\r
3223 # Check whether --enable-dependency-tracking was given.
\r
3224 if test "${enable_dependency_tracking+set}" = set; then
\r
3225 enableval=$enable_dependency_tracking;
\r
3228 if test "x$enable_dependency_tracking" != xno; then
\r
3229 am_depcomp="$ac_aux_dir/depcomp"
\r
3230 AMDEPBACKSLASH='\'
\r
3232 if test "x$enable_dependency_tracking" != xno; then
\r
3242 depcc="$CC" am_compiler_list=
\r
3244 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
\r
3245 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
\r
3246 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
\r
3247 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
3249 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
\r
3250 # We make a subdir and do the tests there. Otherwise we can end up
\r
3251 # making bogus files that we don't know about and never remove. For
\r
3252 # instance it was reported that on HP-UX the gcc test will end up
\r
3253 # making a dummy file named `D' -- because `-MD' means `put the output
\r
3255 mkdir conftest.dir
\r
3256 # Copy depcomp to subdir because otherwise we won't find it if we're
\r
3257 # using a relative directory.
\r
3258 cp "$am_depcomp" conftest.dir
\r
3260 # We will build objects and dependencies in a subdirectory because
\r
3261 # it helps to detect inapplicable dependency modes. For instance
\r
3262 # both Tru64's cc and ICC support -MD to output dependencies as a
\r
3263 # side effect of compilation, but ICC will put the dependencies in
\r
3264 # the current directory while Tru64 will put them in the object
\r
3268 am_cv_CC_dependencies_compiler_type=none
\r
3269 if test "$am_compiler_list" = ""; then
\r
3270 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
\r
3272 for depmode in $am_compiler_list; do
\r
3273 # Setup a source with many dependencies, because some compilers
\r
3274 # like to wrap large dependency lists on column 80 (with \), and
\r
3275 # we should not choose a depcomp mode which is confused by this.
\r
3277 # We need to recreate these files for each test, as the compiler may
\r
3278 # overwrite some of them when testing with obscure command lines.
\r
3279 # This happens at least with the AIX C compiler.
\r
3280 : > sub/conftest.c
\r
3281 for i in 1 2 3 4 5 6; do
\r
3282 echo '#include "conftst'$i'.h"' >> sub/conftest.c
\r
3283 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
\r
3284 # Solaris 8's {/usr,}/bin/sh.
\r
3285 touch sub/conftst$i.h
\r
3287 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
\r
3291 # after this tag, mechanisms are not by side-effect, so they'll
\r
3292 # only be used when explicitly requested
\r
3293 if test "x$enable_dependency_tracking" = xyes; then
\r
3301 # We check with `-c' and `-o' for the sake of the "dashmstdout"
\r
3302 # mode. It turns out that the SunPro C++ compiler does not properly
\r
3303 # handle `-M -o', and we need to detect this.
\r
3304 if depmode=$depmode \
\r
3305 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
\r
3306 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
\r
3307 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
\r
3308 >/dev/null 2>conftest.err &&
\r
3309 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
\r
3310 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
\r
3311 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
\r
3312 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
\r
3313 # icc doesn't choke on unknown options, it will just issue warnings
\r
3314 # or remarks (even with -Werror). So we grep stderr for any message
\r
3315 # that says an option was ignored or not supported.
\r
3316 # When given -MP, icc 7.0 and 7.1 complain thusly:
\r
3317 # icc: Command line warning: ignoring option '-M'; no argument required
\r
3318 # The diagnosis changed in icc 8.0:
\r
3319 # icc: Command line remark: option '-MP' not supported
\r
3320 if (grep 'ignoring option' conftest.err ||
\r
3321 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
\r
3322 am_cv_CC_dependencies_compiler_type=$depmode
\r
3329 rm -rf conftest.dir
\r
3331 am_cv_CC_dependencies_compiler_type=none
\r
3335 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
\r
3336 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
\r
3337 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
\r
3340 test "x$enable_dependency_tracking" != xno \
\r
3341 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
\r
3342 am__fastdepCC_TRUE=
\r
3343 am__fastdepCC_FALSE='#'
\r
3345 am__fastdepCC_TRUE='#'
\r
3346 am__fastdepCC_FALSE=
\r
3350 ac_config_headers="$ac_config_headers config.h"
\r
3352 ac_config_files="$ac_config_files Makefile"
\r
3354 cat >confcache <<\_ACEOF
\r
3355 # This file is a shell script that caches the results of configure
\r
3356 # tests run on this system so they can be shared between configure
\r
3357 # scripts and configure runs, see configure's option --config-cache.
\r
3358 # It is not useful on other systems. If it contains results you don't
\r
3359 # want to keep, you may remove or edit it.
\r
3361 # config.status only pays attention to the cache file if you give it
\r
3362 # the --recheck option to rerun configure.
\r
3364 # `ac_cv_env_foo' variables (set or unset) will be overridden when
\r
3365 # loading this file, other *unset* `ac_cv_foo' will be assigned the
\r
3366 # following values.
\r
3370 # The following way of writing the cache mishandles newlines in values,
\r
3371 # but we know of no workaround that is simple, portable, and efficient.
\r
3372 # So, we kill variables containing newlines.
\r
3373 # Ultrix sh set writes to stderr and can't be redirected directly,
\r
3374 # and sets the high bit in the cache file unless we assign to the vars.
\r
3376 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
\r
3377 eval ac_val=\$$ac_var
\r
3378 case $ac_val in #(
\r
3380 case $ac_var in #(
\r
3381 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
\r
3382 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
\r
3384 case $ac_var in #(
\r
3385 _ | IFS | as_nl) ;; #(
\r
3386 *) $as_unset $ac_var ;;
\r
3392 case $as_nl`(ac_space=' '; set) 2>&1` in #(
\r
3393 *${as_nl}ac_space=\ *)
\r
3394 # `set' does not quote correctly, so add quotes (double-quote
\r
3395 # substitution turns \\\\ into \\, and sed turns \\ into \).
\r
3398 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
\r
3401 # `set' quotes correctly as required by POSIX, so do not add quotes.
\r
3402 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
\r
3408 /^ac_cv_env_/b end
\r
3411 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
\r
3413 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
\r
3415 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
\r
3416 if test -w "$cache_file"; then
\r
3417 test "x$cache_file" != "x/dev/null" &&
\r
3418 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
\r
3419 echo "$as_me: updating cache $cache_file" >&6;}
\r
3420 cat confcache >$cache_file
\r
3422 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
\r
3423 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
\r
3428 test "x$prefix" = xNONE && prefix=$ac_default_prefix
\r
3429 # Let make expand exec_prefix.
\r
3430 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
\r
3432 DEFS=-DHAVE_CONFIG_H
\r
3436 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
\r
3437 # 1. Remove the extension, and $U if already installed.
\r
3438 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
\r
3439 ac_i=`echo "$ac_i" | sed "$ac_script"`
\r
3440 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
\r
3441 # will be set to the directory where LIBOBJS objects are built.
\r
3442 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
\r
3443 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
\r
3445 LIBOBJS=$ac_libobjs
\r
3447 LTLIBOBJS=$ac_ltlibobjs
\r
3450 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
\r
3451 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
\r
3452 Usually this means the macro was only invoked conditionally." >&5
\r
3453 echo "$as_me: error: conditional \"AMDEP\" was never defined.
\r
3454 Usually this means the macro was only invoked conditionally." >&2;}
\r
3455 { (exit 1); exit 1; }; }
\r
3457 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
\r
3458 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
\r
3459 Usually this means the macro was only invoked conditionally." >&5
\r
3460 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
\r
3461 Usually this means the macro was only invoked conditionally." >&2;}
\r
3462 { (exit 1); exit 1; }; }
\r
3465 : ${CONFIG_STATUS=./config.status}
\r
3466 ac_clean_files_save=$ac_clean_files
\r
3467 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
\r
3468 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
\r
3469 echo "$as_me: creating $CONFIG_STATUS" >&6;}
\r
3470 cat >$CONFIG_STATUS <<_ACEOF
\r
3472 # Generated by $as_me.
\r
3473 # Run this file to recreate the current configuration.
\r
3474 # Compiler output produced by configure, useful for debugging
\r
3475 # configure, is in config.log if it exists.
\r
3478 ac_cs_recheck=false
\r
3479 ac_cs_silent=false
\r
3480 SHELL=\${CONFIG_SHELL-$SHELL}
\r
3483 cat >>$CONFIG_STATUS <<\_ACEOF
\r
3484 ## --------------------- ##
\r
3485 ## M4sh Initialization. ##
\r
3486 ## --------------------- ##
\r
3488 # Be more Bourne compatible
\r
3489 DUALCASE=1; export DUALCASE # for MKS sh
\r
3490 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
\r
3493 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
\r
3494 # is contrary to our usage. Disable this feature.
\r
3495 alias -g '${1+"$@"}'='"$@"'
\r
3496 setopt NO_GLOB_SUBST
\r
3498 case `(set -o) 2>/dev/null` in
\r
3499 *posix*) set -o posix ;;
\r
3508 # Avoid depending upon Character Ranges.
\r
3509 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
\r
3510 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
\r
3511 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
\r
3512 as_cr_digits='0123456789'
\r
3513 as_cr_alnum=$as_cr_Letters$as_cr_digits
\r
3515 # The user is always right.
\r
3516 if test "${PATH_SEPARATOR+set}" != set; then
\r
3517 echo "#! /bin/sh" >conf$$.sh
\r
3518 echo "exit 0" >>conf$$.sh
\r
3519 chmod +x conf$$.sh
\r
3520 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
\r
3521 PATH_SEPARATOR=';'
\r
3528 # Support unset when possible.
\r
3529 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
\r
3537 # We need space, tab and new line, in precisely that order. Quoting is
\r
3538 # there to prevent editors from complaining about space-tab.
\r
3539 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
\r
3540 # splitting by setting IFS to empty value.)
\r
3545 # Find who we are. Look in the path if we contain no directory separator.
\r
3547 *[\\/]* ) as_myself=$0 ;;
\r
3548 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
3549 for as_dir in $PATH
\r
3552 test -z "$as_dir" && as_dir=.
\r
3553 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
\r
3559 # We did not find ourselves, most probably we were run as `sh COMMAND'
\r
3560 # in which case we are not to be found in the path.
\r
3561 if test "x$as_myself" = x; then
\r
3564 if test ! -f "$as_myself"; then
\r
3565 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
\r
3566 { (exit 1); exit 1; }
\r
3569 # Work around bugs in pre-3.0 UWIN ksh.
\r
3570 for as_var in ENV MAIL MAILPATH
\r
3571 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
\r
3579 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
\r
3580 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
\r
3581 LC_TELEPHONE LC_TIME
\r
3583 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
\r
3584 eval $as_var=C; export $as_var
\r
3586 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
\r
3590 # Required to use basename.
\r
3591 if expr a : '\(a\)' >/dev/null 2>&1 &&
\r
3592 test "X`expr 00001 : '.*\(...\)'`" = X001; then
\r
3598 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
\r
3599 as_basename=basename
\r
3605 # Name of the executable.
\r
3606 as_me=`$as_basename -- "$0" ||
\r
3607 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
\r
3608 X"$0" : 'X\(//\)$' \| \
\r
3609 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
\r
3611 sed '/^.*\/\([^/][^/]*\)\/*$/{
\r
3630 as_lineno_1=$LINENO
\r
3631 as_lineno_2=$LINENO
\r
3632 test "x$as_lineno_1" != "x$as_lineno_2" &&
\r
3633 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
\r
3635 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
\r
3636 # uniformly replaced by the line number. The first 'sed' inserts a
\r
3637 # line-number line after each line using $LINENO; the second 'sed'
\r
3638 # does the real work. The second script uses 'N' to pair each
\r
3639 # line-number line with the line containing $LINENO, and appends
\r
3640 # trailing '-' during substitution so that $LINENO is not a special
\r
3641 # case at line end.
\r
3642 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
\r
3643 # scripts with optimization help from Paolo Bonzini. Blame Lee
\r
3644 # E. McMahon (1931-1989) for sed's syntax. :-)
\r
3656 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
\r
3659 ' >$as_me.lineno &&
\r
3660 chmod +x "$as_me.lineno" ||
\r
3661 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
\r
3662 { (exit 1); exit 1; }; }
\r
3664 # Don't try to exec as it changes $[0], causing all sort of problems
\r
3665 # (the dirname of $[0] is not the place where we might find the
\r
3666 # original and so on. Autoconf is especially sensitive to this).
\r
3667 . "./$as_me.lineno"
\r
3668 # Exit status is that of the last command.
\r
3673 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
\r
3674 as_dirname=dirname
\r
3679 ECHO_C= ECHO_N= ECHO_T=
\r
3680 case `echo -n x` in
\r
3682 case `echo 'x\c'` in
\r
3683 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
\r
3690 if expr a : '\(a\)' >/dev/null 2>&1 &&
\r
3691 test "X`expr 00001 : '.*\(...\)'`" = X001; then
\r
3697 rm -f conf$$ conf$$.exe conf$$.file
\r
3698 if test -d conf$$.dir; then
\r
3699 rm -f conf$$.dir/conf$$.file
\r
3705 if ln -s conf$$.file conf$$ 2>/dev/null; then
\r
3707 # ... but there are two gotchas:
\r
3708 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
\r
3709 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
\r
3710 # In both cases, we have to default to `cp -p'.
\r
3711 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
\r
3713 elif ln conf$$.file conf$$ 2>/dev/null; then
\r
3718 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
\r
3719 rmdir conf$$.dir 2>/dev/null
\r
3721 if mkdir -p . 2>/dev/null; then
\r
3724 test -d ./-p && rmdir ./-p
\r
3728 if test -x / >/dev/null 2>&1; then
\r
3729 as_test_x='test -x'
\r
3731 if ls -dL / >/dev/null 2>&1; then
\r
3738 if test -d "$1"; then
\r
3744 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
\r
3745 ???[sx]*):;;*)false;;esac;fi
\r
3749 as_executable_p=$as_test_x
\r
3751 # Sed expression to map a string onto a valid CPP name.
\r
3752 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
\r
3754 # Sed expression to map a string onto a valid variable name.
\r
3755 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
\r
3760 # Save the log message, to keep $[0] and so on meaningful, and to
\r
3761 # report actual input values of CONFIG_FILES etc. instead of their
\r
3762 # values after options handling.
\r
3764 This file was extended by xboard $as_me 4.3, which was
\r
3765 generated by GNU Autoconf 2.61. Invocation command line was
\r
3767 CONFIG_FILES = $CONFIG_FILES
\r
3768 CONFIG_HEADERS = $CONFIG_HEADERS
\r
3769 CONFIG_LINKS = $CONFIG_LINKS
\r
3770 CONFIG_COMMANDS = $CONFIG_COMMANDS
\r
3773 on `(hostname || uname -n) 2>/dev/null | sed 1q`
\r
3778 cat >>$CONFIG_STATUS <<_ACEOF
\r
3779 # Files that config.status was made for.
\r
3780 config_files="$ac_config_files"
\r
3781 config_headers="$ac_config_headers"
\r
3782 config_commands="$ac_config_commands"
\r
3786 cat >>$CONFIG_STATUS <<\_ACEOF
\r
3788 \`$as_me' instantiates files from templates according to the
\r
3789 current configuration.
\r
3791 Usage: $0 [OPTIONS] [FILE]...
\r
3793 -h, --help print this help, then exit
\r
3794 -V, --version print version number and configuration settings, then exit
\r
3795 -q, --quiet do not print progress messages
\r
3796 -d, --debug don't remove temporary files
\r
3797 --recheck update $as_me by reconfiguring in the same conditions
\r
3798 --file=FILE[:TEMPLATE]
\r
3799 instantiate the configuration file FILE
\r
3800 --header=FILE[:TEMPLATE]
\r
3801 instantiate the configuration header FILE
\r
3803 Configuration files:
\r
3806 Configuration headers:
\r
3809 Configuration commands:
\r
3812 Report bugs to <bug-autoconf@gnu.org>."
\r
3815 cat >>$CONFIG_STATUS <<_ACEOF
\r
3817 xboard config.status 4.3
\r
3818 configured by $0, generated by GNU Autoconf 2.61,
\r
3819 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
\r
3821 Copyright (C) 2006 Free Software Foundation, Inc.
\r
3822 This config.status script is free software; the Free Software Foundation
\r
3823 gives unlimited permission to copy, distribute and modify it."
\r
3827 INSTALL='$INSTALL'
\r
3828 MKDIR_P='$MKDIR_P'
\r
3831 cat >>$CONFIG_STATUS <<\_ACEOF
\r
3832 # If no file are specified by the user, then we need to provide default
\r
3833 # value. By we need to know if files were specified by the user.
\r
3834 ac_need_defaults=:
\r
3835 while test $# != 0
\r
3839 ac_option=`expr "X$1" : 'X\([^=]*\)='`
\r
3840 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
\r
3850 case $ac_option in
\r
3851 # Handling of the options.
\r
3852 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
\r
3853 ac_cs_recheck=: ;;
\r
3854 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
\r
3855 echo "$ac_cs_version"; exit ;;
\r
3856 --debug | --debu | --deb | --de | --d | -d )
\r
3858 --file | --fil | --fi | --f )
\r
3860 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
\r
3861 ac_need_defaults=false;;
\r
3862 --header | --heade | --head | --hea )
\r
3864 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
\r
3865 ac_need_defaults=false;;
\r
3867 # Conflict between --help and --header
\r
3868 { echo "$as_me: error: ambiguous option: $1
\r
3869 Try \`$0 --help' for more information." >&2
\r
3870 { (exit 1); exit 1; }; };;
\r
3871 --help | --hel | -h )
\r
3872 echo "$ac_cs_usage"; exit ;;
\r
3873 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
\r
3874 | -silent | --silent | --silen | --sile | --sil | --si | --s)
\r
3877 # This is an error.
\r
3878 -*) { echo "$as_me: error: unrecognized option: $1
\r
3879 Try \`$0 --help' for more information." >&2
\r
3880 { (exit 1); exit 1; }; } ;;
\r
3882 *) ac_config_targets="$ac_config_targets $1"
\r
3883 ac_need_defaults=false ;;
\r
3889 ac_configure_extra_args=
\r
3891 if $ac_cs_silent; then
\r
3893 ac_configure_extra_args="$ac_configure_extra_args --silent"
\r
3897 cat >>$CONFIG_STATUS <<_ACEOF
\r
3898 if \$ac_cs_recheck; then
\r
3899 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
\r
3900 CONFIG_SHELL=$SHELL
\r
3901 export CONFIG_SHELL
\r
3902 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
\r
3906 cat >>$CONFIG_STATUS <<\_ACEOF
\r
3907 exec 5>>config.log
\r
3910 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
\r
3911 ## Running $as_me. ##
\r
3917 cat >>$CONFIG_STATUS <<_ACEOF
\r
3921 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
\r
3925 cat >>$CONFIG_STATUS <<\_ACEOF
\r
3927 # Handling of arguments.
\r
3928 for ac_config_target in $ac_config_targets
\r
3930 case $ac_config_target in
\r
3931 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
\r
3932 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
\r
3933 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
\r
3935 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
\r
3936 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
\r
3937 { (exit 1); exit 1; }; };;
\r
3942 # If the user did not use the arguments to specify the items to instantiate,
\r
3943 # then the envvar interface is used. Set only those that are not.
\r
3944 # We use the long form for the default assignment because of an extremely
\r
3945 # bizarre bug on SunOS 4.1.3.
\r
3946 if $ac_need_defaults; then
\r
3947 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
\r
3948 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
\r
3949 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
\r
3952 # Have a temporary directory for convenience. Make it in the build tree
\r
3953 # simply because there is no reason against having it here, and in addition,
\r
3954 # creating and moving files from /tmp can sometimes cause problems.
\r
3955 # Hook for its removal unless debugging.
\r
3956 # Note that there is a small window in which the directory will not be cleaned:
\r
3957 # after its creation but before its name has been assigned to `$tmp'.
\r
3961 trap 'exit_status=$?
\r
3962 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
\r
3964 trap '{ (exit 1); exit 1; }' 1 2 13 15
\r
3966 # Create a (secure) tmp directory for tmp files.
\r
3969 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
\r
3970 test -n "$tmp" && test -d "$tmp"
\r
3973 tmp=./conf$$-$RANDOM
\r
3974 (umask 077 && mkdir "$tmp")
\r
3977 echo "$me: cannot create a temporary directory in ." >&2
\r
3978 { (exit 1); exit 1; }
\r
3982 # Set up the sed scripts for CONFIG_FILES section.
\r
3985 # No need to generate the scripts if there are no CONFIG_FILES.
\r
3986 # This happens for instance when ./config.status config.h
\r
3987 if test -n "$CONFIG_FILES"; then
\r
3994 for ac_last_try in false false false false false :; do
\r
3995 cat >conf$$subs.sed <<_ACEOF
\r
3996 SHELL!$SHELL$ac_delim
\r
3997 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
\r
3998 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
\r
3999 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
\r
4000 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
\r
4001 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
\r
4002 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
\r
4003 exec_prefix!$exec_prefix$ac_delim
\r
4004 prefix!$prefix$ac_delim
\r
4005 program_transform_name!$program_transform_name$ac_delim
\r
4006 bindir!$bindir$ac_delim
\r
4007 sbindir!$sbindir$ac_delim
\r
4008 libexecdir!$libexecdir$ac_delim
\r
4009 datarootdir!$datarootdir$ac_delim
\r
4010 datadir!$datadir$ac_delim
\r
4011 sysconfdir!$sysconfdir$ac_delim
\r
4012 sharedstatedir!$sharedstatedir$ac_delim
\r
4013 localstatedir!$localstatedir$ac_delim
\r
4014 includedir!$includedir$ac_delim
\r
4015 oldincludedir!$oldincludedir$ac_delim
\r
4016 docdir!$docdir$ac_delim
\r
4017 infodir!$infodir$ac_delim
\r
4018 htmldir!$htmldir$ac_delim
\r
4019 dvidir!$dvidir$ac_delim
\r
4020 pdfdir!$pdfdir$ac_delim
\r
4021 psdir!$psdir$ac_delim
\r
4022 libdir!$libdir$ac_delim
\r
4023 localedir!$localedir$ac_delim
\r
4024 mandir!$mandir$ac_delim
\r
4025 DEFS!$DEFS$ac_delim
\r
4026 ECHO_C!$ECHO_C$ac_delim
\r
4027 ECHO_N!$ECHO_N$ac_delim
\r
4028 ECHO_T!$ECHO_T$ac_delim
\r
4029 LIBS!$LIBS$ac_delim
\r
4030 build_alias!$build_alias$ac_delim
\r
4031 host_alias!$host_alias$ac_delim
\r
4032 target_alias!$target_alias$ac_delim
\r
4033 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
\r
4034 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
\r
4035 INSTALL_DATA!$INSTALL_DATA$ac_delim
\r
4036 am__isrc!$am__isrc$ac_delim
\r
4037 CYGPATH_W!$CYGPATH_W$ac_delim
\r
4038 PACKAGE!$PACKAGE$ac_delim
\r
4039 VERSION!$VERSION$ac_delim
\r
4040 ACLOCAL!$ACLOCAL$ac_delim
\r
4041 AUTOCONF!$AUTOCONF$ac_delim
\r
4042 AUTOMAKE!$AUTOMAKE$ac_delim
\r
4043 AUTOHEADER!$AUTOHEADER$ac_delim
\r
4044 MAKEINFO!$MAKEINFO$ac_delim
\r
4045 install_sh!$install_sh$ac_delim
\r
4046 STRIP!$STRIP$ac_delim
\r
4047 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
\r
4048 mkdir_p!$mkdir_p$ac_delim
\r
4050 SET_MAKE!$SET_MAKE$ac_delim
\r
4051 am__leading_dot!$am__leading_dot$ac_delim
\r
4052 AMTAR!$AMTAR$ac_delim
\r
4053 am__tar!$am__tar$ac_delim
\r
4054 am__untar!$am__untar$ac_delim
\r
4056 CFLAGS!$CFLAGS$ac_delim
\r
4057 LDFLAGS!$LDFLAGS$ac_delim
\r
4058 CPPFLAGS!$CPPFLAGS$ac_delim
\r
4059 ac_ct_CC!$ac_ct_CC$ac_delim
\r
4060 EXEEXT!$EXEEXT$ac_delim
\r
4061 OBJEXT!$OBJEXT$ac_delim
\r
4062 DEPDIR!$DEPDIR$ac_delim
\r
4063 am__include!$am__include$ac_delim
\r
4064 am__quote!$am__quote$ac_delim
\r
4065 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
\r
4066 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
\r
4067 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
\r
4068 CCDEPMODE!$CCDEPMODE$ac_delim
\r
4069 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
\r
4070 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
\r
4071 LIBOBJS!$LIBOBJS$ac_delim
\r
4072 LTLIBOBJS!$LTLIBOBJS$ac_delim
\r
4075 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 77; then
\r
4077 elif $ac_last_try; then
\r
4078 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
\r
4079 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
\r
4080 { (exit 1); exit 1; }; }
\r
4082 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
\r
4086 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
\r
4087 if test -n "$ac_eof"; then
\r
4088 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
\r
4089 ac_eof=`expr $ac_eof + 1`
\r
4092 cat >>$CONFIG_STATUS <<_ACEOF
\r
4093 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
\r
4094 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
\r
4097 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
\r
4098 s/^/s,@/; s/!/@,|#_!!_#|/
\r
4101 s/'"$ac_delim"'$/,g/; t
\r
4103 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
\r
4104 ' >>$CONFIG_STATUS <conf$$subs.sed
\r
4105 rm -f conf$$subs.sed
\r
4106 cat >>$CONFIG_STATUS <<_ACEOF
\r
4113 # VPATH may cause trouble with some makes, so we remove $(srcdir),
\r
4114 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
\r
4115 # trailing colons and then remove the whole line if VPATH becomes empty
\r
4116 # (actually we leave an empty line to preserve line numbers).
\r
4117 if test "x$srcdir" = x.; then
\r
4118 ac_vpsub='/^[ ]*VPATH[ ]*=/{
\r
4119 s/:*\$(srcdir):*/:/
\r
4120 s/:*\${srcdir}:*/:/
\r
4122 s/^\([^=]*=[ ]*\):*/\1/
\r
4128 cat >>$CONFIG_STATUS <<\_ACEOF
\r
4129 fi # test -n "$CONFIG_FILES"
\r
4132 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
\r
4135 :[FHLC]) ac_mode=$ac_tag; continue;;
\r
4137 case $ac_mode$ac_tag in
\r
4139 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
\r
4140 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
\r
4141 { (exit 1); exit 1; }; };;
\r
4142 :[FH]-) ac_tag=-:-;;
\r
4143 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
\r
4154 :L) ac_source=$1;;
\r
4160 -) ac_f="$tmp/stdin";;
\r
4161 *) # Look for the file first in the build tree, then in the source tree
\r
4162 # (if the path is not absolute). The absolute path cannot be DOS-style,
\r
4163 # because $ac_f cannot contain `:'.
\r
4164 test -f "$ac_f" ||
\r
4167 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
\r
4169 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
\r
4170 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
\r
4171 { (exit 1); exit 1; }; };;
\r
4173 ac_file_inputs="$ac_file_inputs $ac_f"
\r
4176 # Let's still pretend it is `configure' which instantiates (i.e., don't
\r
4177 # use $as_me), people would be surprised to read:
\r
4178 # /* config.h. Generated by config.status. */
\r
4179 configure_input="Generated from "`IFS=:
\r
4180 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
\r
4181 if test x"$ac_file" != x-; then
\r
4182 configure_input="$ac_file. $configure_input"
\r
4183 { echo "$as_me:$LINENO: creating $ac_file" >&5
\r
4184 echo "$as_me: creating $ac_file" >&6;}
\r
4188 *:-:* | *:-) cat >"$tmp/stdin";;
\r
4193 ac_dir=`$as_dirname -- "$ac_file" ||
\r
4194 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
\r
4195 X"$ac_file" : 'X\(//\)[^/]' \| \
\r
4196 X"$ac_file" : 'X\(//\)$' \| \
\r
4197 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
\r
4198 echo X"$ac_file" |
\r
4199 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
\r
4203 /^X\(\/\/\)[^/].*/{
\r
4216 { as_dir="$ac_dir"
\r
4217 case $as_dir in #(
\r
4218 -*) as_dir=./$as_dir;;
\r
4220 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
\r
4223 case $as_dir in #(
\r
4224 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
\r
4225 *) as_qdir=$as_dir;;
\r
4227 as_dirs="'$as_qdir' $as_dirs"
\r
4228 as_dir=`$as_dirname -- "$as_dir" ||
\r
4229 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
\r
4230 X"$as_dir" : 'X\(//\)[^/]' \| \
\r
4231 X"$as_dir" : 'X\(//\)$' \| \
\r
4232 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
\r
4234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
\r
4238 /^X\(\/\/\)[^/].*/{
\r
4251 test -d "$as_dir" && break
\r
4253 test -z "$as_dirs" || eval "mkdir $as_dirs"
\r
4254 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
\r
4255 echo "$as_me: error: cannot create directory $as_dir" >&2;}
\r
4256 { (exit 1); exit 1; }; }; }
\r
4260 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
\r
4262 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
\r
4263 # A ".." for each directory in $ac_dir_suffix.
\r
4264 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
\r
4265 case $ac_top_builddir_sub in
\r
4266 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
\r
4267 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
\r
4270 ac_abs_top_builddir=$ac_pwd
\r
4271 ac_abs_builddir=$ac_pwd$ac_dir_suffix
\r
4272 # for backward compatibility:
\r
4273 ac_top_builddir=$ac_top_build_prefix
\r
4276 .) # We are building in place.
\r
4278 ac_top_srcdir=$ac_top_builddir_sub
\r
4279 ac_abs_top_srcdir=$ac_pwd ;;
\r
4280 [\\/]* | ?:[\\/]* ) # Absolute name.
\r
4281 ac_srcdir=$srcdir$ac_dir_suffix;
\r
4282 ac_top_srcdir=$srcdir
\r
4283 ac_abs_top_srcdir=$srcdir ;;
\r
4284 *) # Relative name.
\r
4285 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
\r
4286 ac_top_srcdir=$ac_top_build_prefix$srcdir
\r
4287 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
\r
4289 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
\r
4299 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
\r
4300 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
\r
4302 ac_MKDIR_P=$MKDIR_P
\r
4304 [\\/$]* | ?:[\\/]* ) ;;
\r
4305 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
\r
4309 cat >>$CONFIG_STATUS <<\_ACEOF
\r
4310 # If the template does not know about datarootdir, expand it.
\r
4311 # FIXME: This hack should be removed a few years after 2.60.
\r
4312 ac_datarootdir_hack=; ac_datarootdir_seen=
\r
4314 case `sed -n '/datarootdir/ {
\r
4323 ' $ac_file_inputs` in
\r
4324 *datarootdir*) ac_datarootdir_seen=yes;;
\r
4325 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
\r
4326 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
\r
4327 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
\r
4329 cat >>$CONFIG_STATUS <<_ACEOF
\r
4330 ac_datarootdir_hack='
\r
4331 s&@datadir@&$datadir&g
\r
4332 s&@docdir@&$docdir&g
\r
4333 s&@infodir@&$infodir&g
\r
4334 s&@localedir@&$localedir&g
\r
4335 s&@mandir@&$mandir&g
\r
4336 s&\\\${datarootdir}&$datarootdir&g' ;;
\r
4340 # Neutralize VPATH when `$srcdir' = `.'.
\r
4341 # Shell code in configure.ac might set extrasub.
\r
4342 # FIXME: do we really want to maintain this feature?
\r
4343 cat >>$CONFIG_STATUS <<_ACEOF
\r
4347 cat >>$CONFIG_STATUS <<\_ACEOF
\r
4349 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
\r
4350 s&@configure_input@&$configure_input&;t t
\r
4351 s&@top_builddir@&$ac_top_builddir_sub&;t t
\r
4352 s&@srcdir@&$ac_srcdir&;t t
\r
4353 s&@abs_srcdir@&$ac_abs_srcdir&;t t
\r
4354 s&@top_srcdir@&$ac_top_srcdir&;t t
\r
4355 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
\r
4356 s&@builddir@&$ac_builddir&;t t
\r
4357 s&@abs_builddir@&$ac_abs_builddir&;t t
\r
4358 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
\r
4359 s&@INSTALL@&$ac_INSTALL&;t t
\r
4360 s&@MKDIR_P@&$ac_MKDIR_P&;t t
\r
4361 $ac_datarootdir_hack
\r
4362 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
\r
4364 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
\r
4365 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
\r
4366 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
\r
4367 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
\r
4368 which seems to be undefined. Please make sure it is defined." >&5
\r
4369 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
\r
4370 which seems to be undefined. Please make sure it is defined." >&2;}
\r
4372 rm -f "$tmp/stdin"
\r
4374 -) cat "$tmp/out"; rm -f "$tmp/out";;
\r
4375 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
\r
4384 # Transform confdefs.h into a sed script `conftest.defines', that
\r
4385 # substitutes the proper values into config.h.in to produce config.h.
\r
4386 rm -f conftest.defines conftest.tail
\r
4387 # First, append a space to every undef/define line, to ease matching.
\r
4388 echo 's/$/ /' >conftest.defines
\r
4389 # Then, protect against being on the right side of a sed subst, or in
\r
4390 # an unquoted here document, in config.status. If some macros were
\r
4391 # called several times there might be several #defines for the same
\r
4392 # symbol, which is useless. But do not sort them, since the last
\r
4393 # AC_DEFINE must be honored.
\r
4394 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
\r
4395 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
\r
4396 # NAME is the cpp macro being defined, VALUE is the value it is being given.
\r
4397 # PARAMS is the parameter list in the macro definition--in most cases, it's
\r
4398 # just an empty string.
\r
4399 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
\r
4400 ac_dB='\\)[ (].*,\\1define\\2'
\r
4408 s/^[ ]*#[ ]*define[ ][ ]*//
\r
4413 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
\r
4414 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
\r
4415 ' >>conftest.defines
\r
4417 # Remove the space that was appended to ease matching.
\r
4418 # Then replace #undef with comments. This is necessary, for
\r
4419 # example, in the case of _POSIX_SOURCE, which is predefined and required
\r
4420 # on some systems where configure will not decide to define it.
\r
4421 # (The regexp can be short, since the line contains either #define or #undef.)
\r
4423 s,^[ #]*u.*,/* & */,' >>conftest.defines
\r
4425 # Break up conftest.defines:
\r
4426 ac_max_sed_lines=50
\r
4428 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
\r
4429 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
\r
4430 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
\r
4432 ac_in='$ac_file_inputs'
\r
4433 ac_out='"$tmp/out1"'
\r
4434 ac_nxt='"$tmp/out2"'
\r
4438 # Write a here document:
\r
4439 cat >>$CONFIG_STATUS <<_ACEOF
\r
4440 # First, check the format of the line:
\r
4441 cat >"\$tmp/defines.sed" <<\\CEOF
\r
4442 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
\r
4443 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
\r
4447 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
\r
4449 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
\r
4450 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
\r
4451 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
\r
4452 grep . conftest.tail >/dev/null || break
\r
4453 rm -f conftest.defines
\r
4454 mv conftest.tail conftest.defines
\r
4456 rm -f conftest.defines conftest.tail
\r
4458 echo "ac_result=$ac_in" >>$CONFIG_STATUS
\r
4459 cat >>$CONFIG_STATUS <<\_ACEOF
\r
4460 if test x"$ac_file" != x-; then
\r
4461 echo "/* $configure_input */" >"$tmp/config.h"
\r
4462 cat "$ac_result" >>"$tmp/config.h"
\r
4463 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
\r
4464 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
\r
4465 echo "$as_me: $ac_file is unchanged" >&6;}
\r
4468 mv "$tmp/config.h" $ac_file
\r
4471 echo "/* $configure_input */"
\r
4474 rm -f "$tmp/out12"
\r
4475 # Compute $ac_file's index in $config_headers.
\r
4478 for _am_header in $config_headers :; do
\r
4479 case $_am_header in
\r
4480 $_am_arg | $_am_arg:* )
\r
4483 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
\r
4486 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
\r
4487 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
\r
4488 X"$_am_arg" : 'X\(//\)[^/]' \| \
\r
4489 X"$_am_arg" : 'X\(//\)$' \| \
\r
4490 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
\r
4491 echo X"$_am_arg" |
\r
4492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
\r
4496 /^X\(\/\/\)[^/].*/{
\r
4508 s/.*/./; q'`/stamp-h$_am_stamp_count
\r
4511 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
\r
4512 echo "$as_me: executing $ac_file commands" >&6;}
\r
4517 case $ac_file$ac_mode in
\r
4518 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
\r
4519 # Strip MF so we end up with the name of the file.
\r
4520 mf=`echo "$mf" | sed -e 's/:.*$//'`
\r
4521 # Check whether this is an Automake generated Makefile or not.
\r
4522 # We used to match only the files named `Makefile.in', but
\r
4523 # some people rename them; so instead we look at the file content.
\r
4524 # Grep'ing the first line is not enough: some people post-process
\r
4525 # each Makefile.in and add a new line on top of each file to say so.
\r
4526 # Grep'ing the whole file is not good either: AIX grep has a line
\r
4527 # limit of 2048, but all sed's we know have understand at least 4000.
\r
4528 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
\r
4529 dirpart=`$as_dirname -- "$mf" ||
\r
4530 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
\r
4531 X"$mf" : 'X\(//\)[^/]' \| \
\r
4532 X"$mf" : 'X\(//\)$' \| \
\r
4533 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
\r
4535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
\r
4539 /^X\(\/\/\)[^/].*/{
\r
4555 # Extract the definition of DEPDIR, am__include, and am__quote
\r
4556 # from the Makefile without running `make'.
\r
4557 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
\r
4558 test -z "$DEPDIR" && continue
\r
4559 am__include=`sed -n 's/^am__include = //p' < "$mf"`
\r
4560 test -z "am__include" && continue
\r
4561 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
\r
4562 # When using ansi2knr, U may be empty or an underscore; expand it
\r
4563 U=`sed -n 's/^U = //p' < "$mf"`
\r
4564 # Find all dependency output files, they are included files with
\r
4565 # $(DEPDIR) in their names. We invoke sed twice because it is the
\r
4566 # simplest approach to changing $(DEPDIR) to its actual value in the
\r
4568 for file in `sed -n "
\r
4569 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
\r
4570 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
\r
4571 # Make sure the directory exists.
\r
4572 test -f "$dirpart/$file" && continue
\r
4573 fdir=`$as_dirname -- "$file" ||
\r
4574 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
\r
4575 X"$file" : 'X\(//\)[^/]' \| \
\r
4576 X"$file" : 'X\(//\)$' \| \
\r
4577 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
\r
4579 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
\r
4583 /^X\(\/\/\)[^/].*/{
\r
4596 { as_dir=$dirpart/$fdir
\r
4597 case $as_dir in #(
\r
4598 -*) as_dir=./$as_dir;;
\r
4600 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
\r
4603 case $as_dir in #(
\r
4604 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
\r
4605 *) as_qdir=$as_dir;;
\r
4607 as_dirs="'$as_qdir' $as_dirs"
\r
4608 as_dir=`$as_dirname -- "$as_dir" ||
\r
4609 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
\r
4610 X"$as_dir" : 'X\(//\)[^/]' \| \
\r
4611 X"$as_dir" : 'X\(//\)$' \| \
\r
4612 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
\r
4614 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
\r
4618 /^X\(\/\/\)[^/].*/{
\r
4631 test -d "$as_dir" && break
\r
4633 test -z "$as_dirs" || eval "mkdir $as_dirs"
\r
4634 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
\r
4635 echo "$as_me: error: cannot create directory $as_dir" >&2;}
\r
4636 { (exit 1); exit 1; }; }; }
\r
4637 # echo "creating $dirpart/$file"
\r
4638 echo '# dummy' > "$dirpart/$file"
\r
4647 { (exit 0); exit 0; }
\r
4649 chmod +x $CONFIG_STATUS
\r
4650 ac_clean_files=$ac_clean_files_save
\r
4653 # configure is writing to config.log, and then calls config.status.
\r
4654 # config.status does its own redirection, appending to config.log.
\r
4655 # Unfortunately, on DOS this fails, as config.log is still kept open
\r
4656 # by configure, so config.status won't be able to write to it; its
\r
4657 # output is simply discarded. So we exec the FD to /dev/null,
\r
4658 # effectively closing config.log, so it can be properly (re)opened and
\r
4659 # appended to by config.status. When coming back to configure, we
\r
4660 # need to make the FD available again.
\r
4661 if test "$no_create" != yes; then
\r
4663 ac_config_status_args=
\r
4664 test "$silent" = yes &&
\r
4665 ac_config_status_args="$ac_config_status_args --quiet"
\r
4667 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
\r
4668 exec 5>>config.log
\r
4669 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
\r
4670 # would make configure fail if this is the last instruction.
\r
4671 $ac_cs_success || { (exit 1); exit 1; }
\r
4675 #VERSION=4.4 # version is already defined
\r
4679 if test -z "$CFLAGS" ; then
\r
4683 ac_cpp='$CPP $CPPFLAGS'
\r
4684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
4685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
4686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
\r
4687 if test -n "$ac_tool_prefix"; then
\r
4688 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
\r
4689 set dummy ${ac_tool_prefix}gcc; ac_word=$2
\r
4690 { echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
4691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
\r
4692 if test "${ac_cv_prog_CC+set}" = set; then
\r
4693 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
4695 if test -n "$CC"; then
\r
4696 ac_cv_prog_CC="$CC" # Let the user override the test.
\r
4698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
4699 for as_dir in $PATH
\r
4702 test -z "$as_dir" && as_dir=.
\r
4703 for ac_exec_ext in '' $ac_executable_extensions; do
\r
4704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
4705 ac_cv_prog_CC="${ac_tool_prefix}gcc"
\r
4706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
4716 if test -n "$CC"; then
\r
4717 { echo "$as_me:$LINENO: result: $CC" >&5
\r
4718 echo "${ECHO_T}$CC" >&6; }
\r
4720 { echo "$as_me:$LINENO: result: no" >&5
\r
4721 echo "${ECHO_T}no" >&6; }
\r
4726 if test -z "$ac_cv_prog_CC"; then
\r
4728 # Extract the first word of "gcc", so it can be a program name with args.
\r
4729 set dummy gcc; ac_word=$2
\r
4730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
4731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
\r
4732 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
\r
4733 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
4735 if test -n "$ac_ct_CC"; then
\r
4736 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
\r
4738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
4739 for as_dir in $PATH
\r
4742 test -z "$as_dir" && as_dir=.
\r
4743 for ac_exec_ext in '' $ac_executable_extensions; do
\r
4744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
4745 ac_cv_prog_ac_ct_CC="gcc"
\r
4746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
4755 ac_ct_CC=$ac_cv_prog_ac_ct_CC
\r
4756 if test -n "$ac_ct_CC"; then
\r
4757 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
\r
4758 echo "${ECHO_T}$ac_ct_CC" >&6; }
\r
4760 { echo "$as_me:$LINENO: result: no" >&5
\r
4761 echo "${ECHO_T}no" >&6; }
\r
4764 if test "x$ac_ct_CC" = x; then
\r
4767 case $cross_compiling:$ac_tool_warned in
\r
4769 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
\r
4770 whose name does not start with the host triplet. If you think this
\r
4771 configuration is useful to you, please write to autoconf@gnu.org." >&5
\r
4772 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
\r
4773 whose name does not start with the host triplet. If you think this
\r
4774 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
\r
4775 ac_tool_warned=yes ;;
\r
4780 CC="$ac_cv_prog_CC"
\r
4783 if test -z "$CC"; then
\r
4784 if test -n "$ac_tool_prefix"; then
\r
4785 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
\r
4786 set dummy ${ac_tool_prefix}cc; ac_word=$2
\r
4787 { echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
4788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
\r
4789 if test "${ac_cv_prog_CC+set}" = set; then
\r
4790 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
4792 if test -n "$CC"; then
\r
4793 ac_cv_prog_CC="$CC" # Let the user override the test.
\r
4795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
4796 for as_dir in $PATH
\r
4799 test -z "$as_dir" && as_dir=.
\r
4800 for ac_exec_ext in '' $ac_executable_extensions; do
\r
4801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
4802 ac_cv_prog_CC="${ac_tool_prefix}cc"
\r
4803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
4813 if test -n "$CC"; then
\r
4814 { echo "$as_me:$LINENO: result: $CC" >&5
\r
4815 echo "${ECHO_T}$CC" >&6; }
\r
4817 { echo "$as_me:$LINENO: result: no" >&5
\r
4818 echo "${ECHO_T}no" >&6; }
\r
4824 if test -z "$CC"; then
\r
4825 # Extract the first word of "cc", so it can be a program name with args.
\r
4826 set dummy cc; ac_word=$2
\r
4827 { echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
4828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
\r
4829 if test "${ac_cv_prog_CC+set}" = set; then
\r
4830 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
4832 if test -n "$CC"; then
\r
4833 ac_cv_prog_CC="$CC" # Let the user override the test.
\r
4835 ac_prog_rejected=no
\r
4836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
4837 for as_dir in $PATH
\r
4840 test -z "$as_dir" && as_dir=.
\r
4841 for ac_exec_ext in '' $ac_executable_extensions; do
\r
4842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
4843 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
\r
4844 ac_prog_rejected=yes
\r
4847 ac_cv_prog_CC="cc"
\r
4848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
4855 if test $ac_prog_rejected = yes; then
\r
4856 # We found a bogon in the path, so make sure we never use it.
\r
4857 set dummy $ac_cv_prog_CC
\r
4859 if test $# != 0; then
\r
4860 # We chose a different compiler from the bogus one.
\r
4861 # However, it has the same basename, so the bogon will be chosen
\r
4862 # first if we set CC to just the basename; use the full file name.
\r
4864 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
\r
4870 if test -n "$CC"; then
\r
4871 { echo "$as_me:$LINENO: result: $CC" >&5
\r
4872 echo "${ECHO_T}$CC" >&6; }
\r
4874 { echo "$as_me:$LINENO: result: no" >&5
\r
4875 echo "${ECHO_T}no" >&6; }
\r
4880 if test -z "$CC"; then
\r
4881 if test -n "$ac_tool_prefix"; then
\r
4882 for ac_prog in cl.exe
\r
4884 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
\r
4885 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
\r
4886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
4887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
\r
4888 if test "${ac_cv_prog_CC+set}" = set; then
\r
4889 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
4891 if test -n "$CC"; then
\r
4892 ac_cv_prog_CC="$CC" # Let the user override the test.
\r
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
4895 for as_dir in $PATH
\r
4898 test -z "$as_dir" && as_dir=.
\r
4899 for ac_exec_ext in '' $ac_executable_extensions; do
\r
4900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
4901 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
\r
4902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
4912 if test -n "$CC"; then
\r
4913 { echo "$as_me:$LINENO: result: $CC" >&5
\r
4914 echo "${ECHO_T}$CC" >&6; }
\r
4916 { echo "$as_me:$LINENO: result: no" >&5
\r
4917 echo "${ECHO_T}no" >&6; }
\r
4921 test -n "$CC" && break
\r
4924 if test -z "$CC"; then
\r
4926 for ac_prog in cl.exe
\r
4928 # Extract the first word of "$ac_prog", so it can be a program name with args.
\r
4929 set dummy $ac_prog; ac_word=$2
\r
4930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
4931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
\r
4932 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
\r
4933 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
4935 if test -n "$ac_ct_CC"; then
\r
4936 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
\r
4938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
4939 for as_dir in $PATH
\r
4942 test -z "$as_dir" && as_dir=.
\r
4943 for ac_exec_ext in '' $ac_executable_extensions; do
\r
4944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
4945 ac_cv_prog_ac_ct_CC="$ac_prog"
\r
4946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
4955 ac_ct_CC=$ac_cv_prog_ac_ct_CC
\r
4956 if test -n "$ac_ct_CC"; then
\r
4957 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
\r
4958 echo "${ECHO_T}$ac_ct_CC" >&6; }
\r
4960 { echo "$as_me:$LINENO: result: no" >&5
\r
4961 echo "${ECHO_T}no" >&6; }
\r
4965 test -n "$ac_ct_CC" && break
\r
4968 if test "x$ac_ct_CC" = x; then
\r
4971 case $cross_compiling:$ac_tool_warned in
\r
4973 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
\r
4974 whose name does not start with the host triplet. If you think this
\r
4975 configuration is useful to you, please write to autoconf@gnu.org." >&5
\r
4976 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
\r
4977 whose name does not start with the host triplet. If you think this
\r
4978 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
\r
4979 ac_tool_warned=yes ;;
\r
4988 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
\r
4989 See \`config.log' for more details." >&5
\r
4990 echo "$as_me: error: no acceptable C compiler found in \$PATH
\r
4991 See \`config.log' for more details." >&2;}
\r
4992 { (exit 1); exit 1; }; }
\r
4994 # Provide some information about the compiler.
\r
4995 echo "$as_me:$LINENO: checking for C compiler version" >&5
\r
4996 ac_compiler=`set X $ac_compile; echo $2`
\r
4997 { (ac_try="$ac_compiler --version >&5"
\r
4998 case "(($ac_try" in
\r
4999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5000 *) ac_try_echo=$ac_try;;
\r
5002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
5003 (eval "$ac_compiler --version >&5") 2>&5
\r
5005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5006 (exit $ac_status); }
\r
5007 { (ac_try="$ac_compiler -v >&5"
\r
5008 case "(($ac_try" in
\r
5009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5010 *) ac_try_echo=$ac_try;;
\r
5012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
5013 (eval "$ac_compiler -v >&5") 2>&5
\r
5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5016 (exit $ac_status); }
\r
5017 { (ac_try="$ac_compiler -V >&5"
\r
5018 case "(($ac_try" in
\r
5019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5020 *) ac_try_echo=$ac_try;;
\r
5022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
5023 (eval "$ac_compiler -V >&5") 2>&5
\r
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5026 (exit $ac_status); }
\r
5028 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
\r
5029 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
\r
5030 if test "${ac_cv_c_compiler_gnu+set}" = set; then
\r
5031 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
5033 cat >conftest.$ac_ext <<_ACEOF
\r
5036 cat confdefs.h >>conftest.$ac_ext
\r
5037 cat >>conftest.$ac_ext <<_ACEOF
\r
5038 /* end confdefs.h. */
\r
5051 rm -f conftest.$ac_objext
\r
5052 if { (ac_try="$ac_compile"
\r
5053 case "(($ac_try" in
\r
5054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5055 *) ac_try_echo=$ac_try;;
\r
5057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
5058 (eval "$ac_compile") 2>conftest.er1
\r
5060 grep -v '^ *+' conftest.er1 >conftest.err
\r
5061 rm -f conftest.er1
\r
5062 cat conftest.err >&5
\r
5063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5064 (exit $ac_status); } && {
\r
5065 test -z "$ac_c_werror_flag" ||
\r
5066 test ! -s conftest.err
\r
5067 } && test -s conftest.$ac_objext; then
\r
5068 ac_compiler_gnu=yes
\r
5070 echo "$as_me: failed program was:" >&5
\r
5071 sed 's/^/| /' conftest.$ac_ext >&5
\r
5073 ac_compiler_gnu=no
\r
5076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
5077 ac_cv_c_compiler_gnu=$ac_compiler_gnu
\r
5080 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
\r
5081 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
\r
5082 GCC=`test $ac_compiler_gnu = yes && echo yes`
\r
5083 ac_test_CFLAGS=${CFLAGS+set}
\r
5084 ac_save_CFLAGS=$CFLAGS
\r
5085 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
\r
5086 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
\r
5087 if test "${ac_cv_prog_cc_g+set}" = set; then
\r
5088 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
5090 ac_save_c_werror_flag=$ac_c_werror_flag
\r
5091 ac_c_werror_flag=yes
\r
5092 ac_cv_prog_cc_g=no
\r
5094 cat >conftest.$ac_ext <<_ACEOF
\r
5097 cat confdefs.h >>conftest.$ac_ext
\r
5098 cat >>conftest.$ac_ext <<_ACEOF
\r
5099 /* end confdefs.h. */
\r
5109 rm -f conftest.$ac_objext
\r
5110 if { (ac_try="$ac_compile"
\r
5111 case "(($ac_try" in
\r
5112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5113 *) ac_try_echo=$ac_try;;
\r
5115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
5116 (eval "$ac_compile") 2>conftest.er1
\r
5118 grep -v '^ *+' conftest.er1 >conftest.err
\r
5119 rm -f conftest.er1
\r
5120 cat conftest.err >&5
\r
5121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5122 (exit $ac_status); } && {
\r
5123 test -z "$ac_c_werror_flag" ||
\r
5124 test ! -s conftest.err
\r
5125 } && test -s conftest.$ac_objext; then
\r
5126 ac_cv_prog_cc_g=yes
\r
5128 echo "$as_me: failed program was:" >&5
\r
5129 sed 's/^/| /' conftest.$ac_ext >&5
\r
5132 cat >conftest.$ac_ext <<_ACEOF
\r
5135 cat confdefs.h >>conftest.$ac_ext
\r
5136 cat >>conftest.$ac_ext <<_ACEOF
\r
5137 /* end confdefs.h. */
\r
5147 rm -f conftest.$ac_objext
\r
5148 if { (ac_try="$ac_compile"
\r
5149 case "(($ac_try" in
\r
5150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5151 *) ac_try_echo=$ac_try;;
\r
5153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
5154 (eval "$ac_compile") 2>conftest.er1
\r
5156 grep -v '^ *+' conftest.er1 >conftest.err
\r
5157 rm -f conftest.er1
\r
5158 cat conftest.err >&5
\r
5159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5160 (exit $ac_status); } && {
\r
5161 test -z "$ac_c_werror_flag" ||
\r
5162 test ! -s conftest.err
\r
5163 } && test -s conftest.$ac_objext; then
\r
5166 echo "$as_me: failed program was:" >&5
\r
5167 sed 's/^/| /' conftest.$ac_ext >&5
\r
5169 ac_c_werror_flag=$ac_save_c_werror_flag
\r
5171 cat >conftest.$ac_ext <<_ACEOF
\r
5174 cat confdefs.h >>conftest.$ac_ext
\r
5175 cat >>conftest.$ac_ext <<_ACEOF
\r
5176 /* end confdefs.h. */
\r
5186 rm -f conftest.$ac_objext
\r
5187 if { (ac_try="$ac_compile"
\r
5188 case "(($ac_try" in
\r
5189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5190 *) ac_try_echo=$ac_try;;
\r
5192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
5193 (eval "$ac_compile") 2>conftest.er1
\r
5195 grep -v '^ *+' conftest.er1 >conftest.err
\r
5196 rm -f conftest.er1
\r
5197 cat conftest.err >&5
\r
5198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5199 (exit $ac_status); } && {
\r
5200 test -z "$ac_c_werror_flag" ||
\r
5201 test ! -s conftest.err
\r
5202 } && test -s conftest.$ac_objext; then
\r
5203 ac_cv_prog_cc_g=yes
\r
5205 echo "$as_me: failed program was:" >&5
\r
5206 sed 's/^/| /' conftest.$ac_ext >&5
\r
5211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
5214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
5217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
5218 ac_c_werror_flag=$ac_save_c_werror_flag
\r
5220 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
\r
5221 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
\r
5222 if test "$ac_test_CFLAGS" = set; then
\r
5223 CFLAGS=$ac_save_CFLAGS
\r
5224 elif test $ac_cv_prog_cc_g = yes; then
\r
5225 if test "$GCC" = yes; then
\r
5231 if test "$GCC" = yes; then
\r
5237 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
\r
5238 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
\r
5239 if test "${ac_cv_prog_cc_c89+set}" = set; then
\r
5240 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
5242 ac_cv_prog_cc_c89=no
\r
5244 cat >conftest.$ac_ext <<_ACEOF
\r
5247 cat confdefs.h >>conftest.$ac_ext
\r
5248 cat >>conftest.$ac_ext <<_ACEOF
\r
5249 /* end confdefs.h. */
\r
5250 #include <stdarg.h>
\r
5251 #include <stdio.h>
\r
5252 #include <sys/types.h>
\r
5253 #include <sys/stat.h>
\r
5254 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
\r
5255 struct buf { int x; };
\r
5256 FILE * (*rcsopen) (struct buf *, struct stat *, int);
\r
5257 static char *e (p, i)
\r
5263 static char *f (char * (*g) (char **, int), char **p, ...)
\r
5268 s = g (p, va_arg (v,int));
\r
5273 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
\r
5274 function prototypes and stuff, but not '\xHH' hex character constants.
\r
5275 These don't provoke an error unfortunately, instead are silently treated
\r
5276 as 'x'. The following induces an error, until -std is added to get
\r
5277 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
\r
5278 array size at least. It's necessary to write '\x00'==0 to get something
\r
5279 that's true only with -std. */
\r
5280 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
\r
5282 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
\r
5283 inside strings and character constants. */
\r
5284 #define FOO(x) 'x'
\r
5285 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
\r
5287 int test (int i, double x);
\r
5288 struct s1 {int (*f) (int a);};
\r
5289 struct s2 {int (*f) (double a);};
\r
5290 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
\r
5296 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
\r
5301 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
\r
5302 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
\r
5304 CC="$ac_save_CC $ac_arg"
\r
5305 rm -f conftest.$ac_objext
\r
5306 if { (ac_try="$ac_compile"
\r
5307 case "(($ac_try" in
\r
5308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5309 *) ac_try_echo=$ac_try;;
\r
5311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
5312 (eval "$ac_compile") 2>conftest.er1
\r
5314 grep -v '^ *+' conftest.er1 >conftest.err
\r
5315 rm -f conftest.er1
\r
5316 cat conftest.err >&5
\r
5317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5318 (exit $ac_status); } && {
\r
5319 test -z "$ac_c_werror_flag" ||
\r
5320 test ! -s conftest.err
\r
5321 } && test -s conftest.$ac_objext; then
\r
5322 ac_cv_prog_cc_c89=$ac_arg
\r
5324 echo "$as_me: failed program was:" >&5
\r
5325 sed 's/^/| /' conftest.$ac_ext >&5
\r
5330 rm -f core conftest.err conftest.$ac_objext
\r
5331 test "x$ac_cv_prog_cc_c89" != "xno" && break
\r
5333 rm -f conftest.$ac_ext
\r
5338 case "x$ac_cv_prog_cc_c89" in
\r
5340 { echo "$as_me:$LINENO: result: none needed" >&5
\r
5341 echo "${ECHO_T}none needed" >&6; } ;;
\r
5343 { echo "$as_me:$LINENO: result: unsupported" >&5
\r
5344 echo "${ECHO_T}unsupported" >&6; } ;;
\r
5346 CC="$CC $ac_cv_prog_cc_c89"
\r
5347 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
\r
5348 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
\r
5353 ac_cpp='$CPP $CPPFLAGS'
\r
5354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
5355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
5356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
\r
5358 depcc="$CC" am_compiler_list=
\r
5360 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
\r
5361 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
\r
5362 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
\r
5363 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
5365 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
\r
5366 # We make a subdir and do the tests there. Otherwise we can end up
\r
5367 # making bogus files that we don't know about and never remove. For
\r
5368 # instance it was reported that on HP-UX the gcc test will end up
\r
5369 # making a dummy file named `D' -- because `-MD' means `put the output
\r
5371 mkdir conftest.dir
\r
5372 # Copy depcomp to subdir because otherwise we won't find it if we're
\r
5373 # using a relative directory.
\r
5374 cp "$am_depcomp" conftest.dir
\r
5376 # We will build objects and dependencies in a subdirectory because
\r
5377 # it helps to detect inapplicable dependency modes. For instance
\r
5378 # both Tru64's cc and ICC support -MD to output dependencies as a
\r
5379 # side effect of compilation, but ICC will put the dependencies in
\r
5380 # the current directory while Tru64 will put them in the object
\r
5384 am_cv_CC_dependencies_compiler_type=none
\r
5385 if test "$am_compiler_list" = ""; then
\r
5386 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
\r
5388 for depmode in $am_compiler_list; do
\r
5389 # Setup a source with many dependencies, because some compilers
\r
5390 # like to wrap large dependency lists on column 80 (with \), and
\r
5391 # we should not choose a depcomp mode which is confused by this.
\r
5393 # We need to recreate these files for each test, as the compiler may
\r
5394 # overwrite some of them when testing with obscure command lines.
\r
5395 # This happens at least with the AIX C compiler.
\r
5396 : > sub/conftest.c
\r
5397 for i in 1 2 3 4 5 6; do
\r
5398 echo '#include "conftst'$i'.h"' >> sub/conftest.c
\r
5399 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
\r
5400 # Solaris 8's {/usr,}/bin/sh.
\r
5401 touch sub/conftst$i.h
\r
5403 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
\r
5407 # after this tag, mechanisms are not by side-effect, so they'll
\r
5408 # only be used when explicitly requested
\r
5409 if test "x$enable_dependency_tracking" = xyes; then
\r
5417 # We check with `-c' and `-o' for the sake of the "dashmstdout"
\r
5418 # mode. It turns out that the SunPro C++ compiler does not properly
\r
5419 # handle `-M -o', and we need to detect this.
\r
5420 if depmode=$depmode \
\r
5421 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
\r
5422 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
\r
5423 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
\r
5424 >/dev/null 2>conftest.err &&
\r
5425 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
\r
5426 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
\r
5427 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
\r
5428 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
\r
5429 # icc doesn't choke on unknown options, it will just issue warnings
\r
5430 # or remarks (even with -Werror). So we grep stderr for any message
\r
5431 # that says an option was ignored or not supported.
\r
5432 # When given -MP, icc 7.0 and 7.1 complain thusly:
\r
5433 # icc: Command line warning: ignoring option '-M'; no argument required
\r
5434 # The diagnosis changed in icc 8.0:
\r
5435 # icc: Command line remark: option '-MP' not supported
\r
5436 if (grep 'ignoring option' conftest.err ||
\r
5437 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
\r
5438 am_cv_CC_dependencies_compiler_type=$depmode
\r
5445 rm -rf conftest.dir
\r
5447 am_cv_CC_dependencies_compiler_type=none
\r
5451 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
\r
5452 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
\r
5453 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
\r
5456 test "x$enable_dependency_tracking" != xno \
\r
5457 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
\r
5458 am__fastdepCC_TRUE=
\r
5459 am__fastdepCC_FALSE='#'
\r
5461 am__fastdepCC_TRUE='#'
\r
5462 am__fastdepCC_FALSE=
\r
5467 ac_cpp='$CPP $CPPFLAGS'
\r
5468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
5469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
5470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
\r
5471 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
\r
5472 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
\r
5473 # On Suns, sometimes $CPP names a directory.
\r
5474 if test -n "$CPP" && test -d "$CPP"; then
\r
5477 if test -z "$CPP"; then
\r
5478 if test "${ac_cv_prog_CPP+set}" = set; then
\r
5479 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
5481 # Double quotes because CPP needs to be expanded
\r
5482 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
\r
5484 ac_preproc_ok=false
\r
5485 for ac_c_preproc_warn_flag in '' yes
\r
5487 # Use a header file that comes with gcc, so configuring glibc
\r
5488 # with a fresh cross-compiler works.
\r
5489 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
\r
5490 # <limits.h> exists even on freestanding compilers.
\r
5491 # On the NeXT, cc -E runs the code through the compiler's parser,
\r
5492 # not just through cpp. "Syntax error" is here to catch this case.
\r
5493 cat >conftest.$ac_ext <<_ACEOF
\r
5496 cat confdefs.h >>conftest.$ac_ext
\r
5497 cat >>conftest.$ac_ext <<_ACEOF
\r
5498 /* end confdefs.h. */
\r
5500 # include <limits.h>
\r
5502 # include <assert.h>
\r
5506 if { (ac_try="$ac_cpp conftest.$ac_ext"
\r
5507 case "(($ac_try" in
\r
5508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5509 *) ac_try_echo=$ac_try;;
\r
5511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
5512 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
\r
5514 grep -v '^ *+' conftest.er1 >conftest.err
\r
5515 rm -f conftest.er1
\r
5516 cat conftest.err >&5
\r
5517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5518 (exit $ac_status); } >/dev/null && {
\r
5519 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
\r
5520 test ! -s conftest.err
\r
5524 echo "$as_me: failed program was:" >&5
\r
5525 sed 's/^/| /' conftest.$ac_ext >&5
\r
5527 # Broken: fails on valid input.
\r
5531 rm -f conftest.err conftest.$ac_ext
\r
5533 # OK, works on sane cases. Now check whether nonexistent headers
\r
5534 # can be detected and how.
\r
5535 cat >conftest.$ac_ext <<_ACEOF
\r
5538 cat confdefs.h >>conftest.$ac_ext
\r
5539 cat >>conftest.$ac_ext <<_ACEOF
\r
5540 /* end confdefs.h. */
\r
5541 #include <ac_nonexistent.h>
\r
5543 if { (ac_try="$ac_cpp conftest.$ac_ext"
\r
5544 case "(($ac_try" in
\r
5545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5546 *) ac_try_echo=$ac_try;;
\r
5548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
5549 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
\r
5551 grep -v '^ *+' conftest.er1 >conftest.err
\r
5552 rm -f conftest.er1
\r
5553 cat conftest.err >&5
\r
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5555 (exit $ac_status); } >/dev/null && {
\r
5556 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
\r
5557 test ! -s conftest.err
\r
5559 # Broken: success on invalid input.
\r
5562 echo "$as_me: failed program was:" >&5
\r
5563 sed 's/^/| /' conftest.$ac_ext >&5
\r
5565 # Passes both tests.
\r
5570 rm -f conftest.err conftest.$ac_ext
\r
5573 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
\r
5574 rm -f conftest.err conftest.$ac_ext
\r
5575 if $ac_preproc_ok; then
\r
5580 ac_cv_prog_CPP=$CPP
\r
5583 CPP=$ac_cv_prog_CPP
\r
5585 ac_cv_prog_CPP=$CPP
\r
5587 { echo "$as_me:$LINENO: result: $CPP" >&5
\r
5588 echo "${ECHO_T}$CPP" >&6; }
\r
5589 ac_preproc_ok=false
\r
5590 for ac_c_preproc_warn_flag in '' yes
\r
5592 # Use a header file that comes with gcc, so configuring glibc
\r
5593 # with a fresh cross-compiler works.
\r
5594 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
\r
5595 # <limits.h> exists even on freestanding compilers.
\r
5596 # On the NeXT, cc -E runs the code through the compiler's parser,
\r
5597 # not just through cpp. "Syntax error" is here to catch this case.
\r
5598 cat >conftest.$ac_ext <<_ACEOF
\r
5601 cat confdefs.h >>conftest.$ac_ext
\r
5602 cat >>conftest.$ac_ext <<_ACEOF
\r
5603 /* end confdefs.h. */
\r
5605 # include <limits.h>
\r
5607 # include <assert.h>
\r
5611 if { (ac_try="$ac_cpp conftest.$ac_ext"
\r
5612 case "(($ac_try" in
\r
5613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5614 *) ac_try_echo=$ac_try;;
\r
5616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
5617 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
\r
5619 grep -v '^ *+' conftest.er1 >conftest.err
\r
5620 rm -f conftest.er1
\r
5621 cat conftest.err >&5
\r
5622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5623 (exit $ac_status); } >/dev/null && {
\r
5624 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
\r
5625 test ! -s conftest.err
\r
5629 echo "$as_me: failed program was:" >&5
\r
5630 sed 's/^/| /' conftest.$ac_ext >&5
\r
5632 # Broken: fails on valid input.
\r
5636 rm -f conftest.err conftest.$ac_ext
\r
5638 # OK, works on sane cases. Now check whether nonexistent headers
\r
5639 # can be detected and how.
\r
5640 cat >conftest.$ac_ext <<_ACEOF
\r
5643 cat confdefs.h >>conftest.$ac_ext
\r
5644 cat >>conftest.$ac_ext <<_ACEOF
\r
5645 /* end confdefs.h. */
\r
5646 #include <ac_nonexistent.h>
\r
5648 if { (ac_try="$ac_cpp conftest.$ac_ext"
\r
5649 case "(($ac_try" in
\r
5650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5651 *) ac_try_echo=$ac_try;;
\r
5653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
5654 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
\r
5656 grep -v '^ *+' conftest.er1 >conftest.err
\r
5657 rm -f conftest.er1
\r
5658 cat conftest.err >&5
\r
5659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5660 (exit $ac_status); } >/dev/null && {
\r
5661 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
\r
5662 test ! -s conftest.err
\r
5664 # Broken: success on invalid input.
\r
5667 echo "$as_me: failed program was:" >&5
\r
5668 sed 's/^/| /' conftest.$ac_ext >&5
\r
5670 # Passes both tests.
\r
5675 rm -f conftest.err conftest.$ac_ext
\r
5678 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
\r
5679 rm -f conftest.err conftest.$ac_ext
\r
5680 if $ac_preproc_ok; then
\r
5683 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
\r
5684 See \`config.log' for more details." >&5
\r
5685 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
\r
5686 See \`config.log' for more details." >&2;}
\r
5687 { (exit 1); exit 1; }; }
\r
5691 ac_cpp='$CPP $CPPFLAGS'
\r
5692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
\r
5693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
\r
5694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
\r
5697 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
\r
5698 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
\r
5699 if test "${ac_cv_search_strerror+set}" = set; then
\r
5700 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
5702 ac_func_search_save_LIBS=$LIBS
\r
5703 cat >conftest.$ac_ext <<_ACEOF
\r
5706 cat confdefs.h >>conftest.$ac_ext
\r
5707 cat >>conftest.$ac_ext <<_ACEOF
\r
5708 /* end confdefs.h. */
\r
5710 /* Override any GCC internal prototype to avoid an error.
\r
5711 Use char because int might match the return type of a GCC
\r
5712 builtin and then its argument prototype would still apply. */
\r
5713 #ifdef __cplusplus
\r
5720 return strerror ();
\r
5725 for ac_lib in '' cposix; do
\r
5726 if test -z "$ac_lib"; then
\r
5727 ac_res="none required"
\r
5730 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
\r
5732 rm -f conftest.$ac_objext conftest$ac_exeext
\r
5733 if { (ac_try="$ac_link"
\r
5734 case "(($ac_try" in
\r
5735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5736 *) ac_try_echo=$ac_try;;
\r
5738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
5739 (eval "$ac_link") 2>conftest.er1
\r
5741 grep -v '^ *+' conftest.er1 >conftest.err
\r
5742 rm -f conftest.er1
\r
5743 cat conftest.err >&5
\r
5744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5745 (exit $ac_status); } && {
\r
5746 test -z "$ac_c_werror_flag" ||
\r
5747 test ! -s conftest.err
\r
5748 } && test -s conftest$ac_exeext &&
\r
5749 $as_test_x conftest$ac_exeext; then
\r
5750 ac_cv_search_strerror=$ac_res
\r
5752 echo "$as_me: failed program was:" >&5
\r
5753 sed 's/^/| /' conftest.$ac_ext >&5
\r
5758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
5759 conftest$ac_exeext
\r
5760 if test "${ac_cv_search_strerror+set}" = set; then
\r
5764 if test "${ac_cv_search_strerror+set}" = set; then
\r
5767 ac_cv_search_strerror=no
\r
5769 rm conftest.$ac_ext
\r
5770 LIBS=$ac_func_search_save_LIBS
\r
5772 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
\r
5773 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
\r
5774 ac_res=$ac_cv_search_strerror
\r
5775 if test "$ac_res" != no; then
\r
5776 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
\r
5780 # Find a good install program. We prefer a C program (faster),
\r
5781 # so one script is as good as another. But avoid the broken or
\r
5782 # incompatible versions:
\r
5783 # SysV /etc/install, /usr/sbin/install
\r
5784 # SunOS /usr/etc/install
\r
5785 # IRIX /sbin/install
\r
5786 # AIX /bin/install
\r
5787 # AmigaOS /C/install, which installs bootblocks on floppy discs
\r
5788 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
\r
5789 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
\r
5790 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
\r
5791 # OS/2's system install, which has a completely different semantic
\r
5792 # ./install, which can be erroneously created by make from ./install.sh.
\r
5793 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
\r
5794 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
\r
5795 if test -z "$INSTALL"; then
\r
5796 if test "${ac_cv_path_install+set}" = set; then
\r
5797 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
5799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
5800 for as_dir in $PATH
\r
5803 test -z "$as_dir" && as_dir=.
\r
5804 # Account for people who put trailing slashes in PATH elements.
\r
5806 ./ | .// | /cC/* | \
\r
5807 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
\r
5808 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
\r
5811 # OSF1 and SCO ODT 3.0 have their own names for install.
\r
5812 # Don't use installbsd from OSF since it installs stuff as root
\r
5814 for ac_prog in ginstall scoinst install; do
\r
5815 for ac_exec_ext in '' $ac_executable_extensions; do
\r
5816 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
\r
5817 if test $ac_prog = install &&
\r
5818 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
\r
5819 # AIX install. It has an incompatible calling convention.
\r
5821 elif test $ac_prog = install &&
\r
5822 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
\r
5823 # program-specific install script used by HP pwplus--don't use.
\r
5826 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
\r
5839 if test "${ac_cv_path_install+set}" = set; then
\r
5840 INSTALL=$ac_cv_path_install
\r
5842 # As a last resort, use the slow shell script. Don't cache a
\r
5843 # value for INSTALL within a source directory, because that will
\r
5844 # break other packages using the cache if that directory is
\r
5845 # removed, or if the value is a relative name.
\r
5846 INSTALL=$ac_install_sh
\r
5849 { echo "$as_me:$LINENO: result: $INSTALL" >&5
\r
5850 echo "${ECHO_T}$INSTALL" >&6; }
\r
5852 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
\r
5853 # It thinks the first close brace ends the variable substitution.
\r
5854 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
\r
5856 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
\r
5858 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
\r
5860 for ac_prog in lex flex
\r
5862 # Extract the first word of "$ac_prog", so it can be a program name with args.
\r
5863 set dummy $ac_prog; ac_word=$2
\r
5864 { echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
5865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
\r
5866 if test "${ac_cv_prog_LEX+set}" = set; then
\r
5867 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
5869 if test -n "$LEX"; then
\r
5870 ac_cv_prog_LEX="$LEX" # Let the user override the test.
\r
5872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
5873 for as_dir in $PATH
\r
5876 test -z "$as_dir" && as_dir=.
\r
5877 for ac_exec_ext in '' $ac_executable_extensions; do
\r
5878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
5879 ac_cv_prog_LEX="$ac_prog"
\r
5880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
5889 LEX=$ac_cv_prog_LEX
\r
5890 if test -n "$LEX"; then
\r
5891 { echo "$as_me:$LINENO: result: $LEX" >&5
\r
5892 echo "${ECHO_T}$LEX" >&6; }
\r
5894 { echo "$as_me:$LINENO: result: no" >&5
\r
5895 echo "${ECHO_T}no" >&6; }
\r
5899 test -n "$LEX" && break
\r
5901 test -n "$LEX" || LEX="lex_not_found"
\r
5903 if test "$LEX" != lex_not_found ; then
\r
5904 for ac_prog in flex lex
\r
5906 # Extract the first word of "$ac_prog", so it can be a program name with args.
\r
5907 set dummy $ac_prog; ac_word=$2
\r
5908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
5909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
\r
5910 if test "${ac_cv_prog_LEX+set}" = set; then
\r
5911 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
5913 if test -n "$LEX"; then
\r
5914 ac_cv_prog_LEX="$LEX" # Let the user override the test.
\r
5916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
5917 for as_dir in $PATH
\r
5920 test -z "$as_dir" && as_dir=.
\r
5921 for ac_exec_ext in '' $ac_executable_extensions; do
\r
5922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
5923 ac_cv_prog_LEX="$ac_prog"
\r
5924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
5933 LEX=$ac_cv_prog_LEX
\r
5934 if test -n "$LEX"; then
\r
5935 { echo "$as_me:$LINENO: result: $LEX" >&5
\r
5936 echo "${ECHO_T}$LEX" >&6; }
\r
5938 { echo "$as_me:$LINENO: result: no" >&5
\r
5939 echo "${ECHO_T}no" >&6; }
\r
5943 test -n "$LEX" && break
\r
5945 test -n "$LEX" || LEX=":"
\r
5947 if test "x$LEX" != "x:"; then
\r
5948 cat >conftest.l <<_ACEOF
\r
5954 e { yyless (input () != 0); }
\r
5955 f { unput (yytext[0]); }
\r
5956 . { BEGIN INITIAL; }
\r
5958 #ifdef YYTEXT_POINTER
\r
5959 extern char *yytext;
\r
5964 return ! yylex () + ! yywrap ();
\r
5967 { (ac_try="$LEX conftest.l"
\r
5968 case "(($ac_try" in
\r
5969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
5970 *) ac_try_echo=$ac_try;;
\r
5972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
5973 (eval "$LEX conftest.l") 2>&5
\r
5975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
5976 (exit $ac_status); }
\r
5977 { echo "$as_me:$LINENO: checking lex output file root" >&5
\r
5978 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
\r
5979 if test "${ac_cv_prog_lex_root+set}" = set; then
\r
5980 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
5983 if test -f lex.yy.c; then
\r
5984 ac_cv_prog_lex_root=lex.yy
\r
5985 elif test -f lexyy.c; then
\r
5986 ac_cv_prog_lex_root=lexyy
\r
5988 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
\r
5989 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
\r
5990 { (exit 1); exit 1; }; }
\r
5993 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
\r
5994 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
\r
5995 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
\r
5997 if test -z "${LEXLIB+set}"; then
\r
5998 { echo "$as_me:$LINENO: checking lex library" >&5
\r
5999 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
\r
6000 if test "${ac_cv_lib_lex+set}" = set; then
\r
6001 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
6004 ac_save_LIBS=$LIBS
\r
6005 ac_cv_lib_lex='none needed'
\r
6006 for ac_lib in '' -lfl -ll; do
\r
6007 LIBS="$ac_lib $ac_save_LIBS"
\r
6008 cat >conftest.$ac_ext <<_ACEOF
\r
6009 `cat $LEX_OUTPUT_ROOT.c`
\r
6011 rm -f conftest.$ac_objext conftest$ac_exeext
\r
6012 if { (ac_try="$ac_link"
\r
6013 case "(($ac_try" in
\r
6014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
6015 *) ac_try_echo=$ac_try;;
\r
6017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
6018 (eval "$ac_link") 2>conftest.er1
\r
6020 grep -v '^ *+' conftest.er1 >conftest.err
\r
6021 rm -f conftest.er1
\r
6022 cat conftest.err >&5
\r
6023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
6024 (exit $ac_status); } && {
\r
6025 test -z "$ac_c_werror_flag" ||
\r
6026 test ! -s conftest.err
\r
6027 } && test -s conftest$ac_exeext &&
\r
6028 $as_test_x conftest$ac_exeext; then
\r
6029 ac_cv_lib_lex=$ac_lib
\r
6031 echo "$as_me: failed program was:" >&5
\r
6032 sed 's/^/| /' conftest.$ac_ext >&5
\r
6037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
6038 conftest$ac_exeext conftest.$ac_ext
\r
6039 test "$ac_cv_lib_lex" != 'none needed' && break
\r
6041 LIBS=$ac_save_LIBS
\r
6044 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
\r
6045 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
\r
6046 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
\r
6050 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
\r
6051 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
\r
6052 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
\r
6053 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
6055 # POSIX says lex can declare yytext either as a pointer or an array; the
\r
6056 # default is implementation-dependent. Figure out which it is, since
\r
6057 # not all implementations provide the %pointer and %array declarations.
\r
6058 ac_cv_prog_lex_yytext_pointer=no
\r
6059 ac_save_LIBS=$LIBS
\r
6060 LIBS="$LEXLIB $ac_save_LIBS"
\r
6061 cat >conftest.$ac_ext <<_ACEOF
\r
6062 #define YYTEXT_POINTER 1
\r
6063 `cat $LEX_OUTPUT_ROOT.c`
\r
6065 rm -f conftest.$ac_objext conftest$ac_exeext
\r
6066 if { (ac_try="$ac_link"
\r
6067 case "(($ac_try" in
\r
6068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
6069 *) ac_try_echo=$ac_try;;
\r
6071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
6072 (eval "$ac_link") 2>conftest.er1
\r
6074 grep -v '^ *+' conftest.er1 >conftest.err
\r
6075 rm -f conftest.er1
\r
6076 cat conftest.err >&5
\r
6077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
6078 (exit $ac_status); } && {
\r
6079 test -z "$ac_c_werror_flag" ||
\r
6080 test ! -s conftest.err
\r
6081 } && test -s conftest$ac_exeext &&
\r
6082 $as_test_x conftest$ac_exeext; then
\r
6083 ac_cv_prog_lex_yytext_pointer=yes
\r
6085 echo "$as_me: failed program was:" >&5
\r
6086 sed 's/^/| /' conftest.$ac_ext >&5
\r
6091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
6092 conftest$ac_exeext conftest.$ac_ext
\r
6093 LIBS=$ac_save_LIBS
\r
6096 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
\r
6097 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
\r
6098 if test $ac_cv_prog_lex_yytext_pointer = yes; then
\r
6100 cat >>confdefs.h <<\_ACEOF
\r
6101 #define YYTEXT_POINTER 1
\r
6105 rm -f conftest.l $LEX_OUTPUT_ROOT.c
\r
6109 for ac_prog in remsh rsh
\r
6111 # Extract the first word of "$ac_prog", so it can be a program name with args.
\r
6112 set dummy $ac_prog; ac_word=$2
\r
6113 { echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
6114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
\r
6115 if test "${ac_cv_prog_RSH+set}" = set; then
\r
6116 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
6118 if test -n "$RSH"; then
\r
6119 ac_cv_prog_RSH="$RSH" # Let the user override the test.
\r
6121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
6122 for as_dir in $PATH
\r
6125 test -z "$as_dir" && as_dir=.
\r
6126 for ac_exec_ext in '' $ac_executable_extensions; do
\r
6127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
6128 ac_cv_prog_RSH="$ac_prog"
\r
6129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
6138 RSH=$ac_cv_prog_RSH
\r
6139 if test -n "$RSH"; then
\r
6140 { echo "$as_me:$LINENO: result: $RSH" >&5
\r
6141 echo "${ECHO_T}$RSH" >&6; }
\r
6143 { echo "$as_me:$LINENO: result: no" >&5
\r
6144 echo "${ECHO_T}no" >&6; }
\r
6148 test -n "$RSH" && break
\r
6150 test -n "$RSH" || RSH="rsh"
\r
6152 for ac_prog in makeinfo
\r
6154 # Extract the first word of "$ac_prog", so it can be a program name with args.
\r
6155 set dummy $ac_prog; ac_word=$2
\r
6156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
6157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
\r
6158 if test "${ac_cv_prog_MINFO+set}" = set; then
\r
6159 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
6161 if test -n "$MINFO"; then
\r
6162 ac_cv_prog_MINFO="$MINFO" # Let the user override the test.
\r
6164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
6165 for as_dir in $PATH
\r
6168 test -z "$as_dir" && as_dir=.
\r
6169 for ac_exec_ext in '' $ac_executable_extensions; do
\r
6170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
6171 ac_cv_prog_MINFO="$ac_prog"
\r
6172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
6181 MINFO=$ac_cv_prog_MINFO
\r
6182 if test -n "$MINFO"; then
\r
6183 { echo "$as_me:$LINENO: result: $MINFO" >&5
\r
6184 echo "${ECHO_T}$MINFO" >&6; }
\r
6186 { echo "$as_me:$LINENO: result: no" >&5
\r
6187 echo "${ECHO_T}no" >&6; }
\r
6191 test -n "$MINFO" && break
\r
6193 test -n "$MINFO" || MINFO="makeinfo_not_found"
\r
6195 if test "$MINFO" == makeinfo_not_found ; then
\r
6196 echo Please install \"makeinfo\"
\r
6199 cat >>confdefs.h <<_ACEOF
\r
6200 #define REMOTE_SHELL "$RSH"
\r
6203 # Extract the first word of "nroff", so it can be a program name with args.
\r
6204 set dummy nroff; ac_word=$2
\r
6205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
6206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
\r
6207 if test "${ac_cv_prog_NROFF+set}" = set; then
\r
6208 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
6210 if test -n "$NROFF"; then
\r
6211 ac_cv_prog_NROFF="$NROFF" # Let the user override the test.
\r
6213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
6214 for as_dir in $PATH
\r
6217 test -z "$as_dir" && as_dir=.
\r
6218 for ac_exec_ext in '' $ac_executable_extensions; do
\r
6219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
6220 ac_cv_prog_NROFF="nroff -man"
\r
6221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
6228 test -z "$ac_cv_prog_NROFF" && ac_cv_prog_NROFF="cat"
\r
6231 NROFF=$ac_cv_prog_NROFF
\r
6232 if test -n "$NROFF"; then
\r
6233 { echo "$as_me:$LINENO: result: $NROFF" >&5
\r
6234 echo "${ECHO_T}$NROFF" >&6; }
\r
6236 { echo "$as_me:$LINENO: result: no" >&5
\r
6237 echo "${ECHO_T}no" >&6; }
\r
6242 for ac_prog in awk mawk gawk nawk
\r
6244 # Extract the first word of "$ac_prog", so it can be a program name with args.
\r
6245 set dummy $ac_prog; ac_word=$2
\r
6246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
6247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
\r
6248 if test "${ac_cv_path_AWKPATH+set}" = set; then
\r
6249 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
6252 [\\/]* | ?:[\\/]*)
\r
6253 ac_cv_path_AWKPATH="$AWKPATH" # Let the user override the test with a path.
\r
6256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
6257 for as_dir in $PATH
\r
6260 test -z "$as_dir" && as_dir=.
\r
6261 for ac_exec_ext in '' $ac_executable_extensions; do
\r
6262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
6263 ac_cv_path_AWKPATH="$as_dir/$ac_word$ac_exec_ext"
\r
6264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
6274 AWKPATH=$ac_cv_path_AWKPATH
\r
6275 if test -n "$AWKPATH"; then
\r
6276 { echo "$as_me:$LINENO: result: $AWKPATH" >&5
\r
6277 echo "${ECHO_T}$AWKPATH" >&6; }
\r
6279 { echo "$as_me:$LINENO: result: no" >&5
\r
6280 echo "${ECHO_T}no" >&6; }
\r
6284 test -n "$AWKPATH" && break
\r
6287 for ac_prog in perl
\r
6289 # Extract the first word of "$ac_prog", so it can be a program name with args.
\r
6290 set dummy $ac_prog; ac_word=$2
\r
6291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
\r
6292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
\r
6293 if test "${ac_cv_path_PERLPATH+set}" = set; then
\r
6294 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
6297 [\\/]* | ?:[\\/]*)
\r
6298 ac_cv_path_PERLPATH="$PERLPATH" # Let the user override the test with a path.
\r
6301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
6302 for as_dir in $PATH
\r
6305 test -z "$as_dir" && as_dir=.
\r
6306 for ac_exec_ext in '' $ac_executable_extensions; do
\r
6307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
\r
6308 ac_cv_path_PERLPATH="$as_dir/$ac_word$ac_exec_ext"
\r
6309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
\r
6319 PERLPATH=$ac_cv_path_PERLPATH
\r
6320 if test -n "$PERLPATH"; then
\r
6321 { echo "$as_me:$LINENO: result: $PERLPATH" >&5
\r
6322 echo "${ECHO_T}$PERLPATH" >&6; }
\r
6324 { echo "$as_me:$LINENO: result: no" >&5
\r
6325 echo "${ECHO_T}no" >&6; }
\r
6329 test -n "$PERLPATH" && break
\r
6337 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
\r
6338 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
\r
6339 if test "${ac_cv_path_GREP+set}" = set; then
\r
6340 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
6342 # Extract the first word of "grep ggrep" to use in msg output
\r
6343 if test -z "$GREP"; then
\r
6344 set dummy grep ggrep; ac_prog_name=$2
\r
6345 if test "${ac_cv_path_GREP+set}" = set; then
\r
6346 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
6348 ac_path_GREP_found=false
\r
6349 # Loop through the user's path and test for each of PROGNAME-LIST
\r
6350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
6351 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
\r
6354 test -z "$as_dir" && as_dir=.
\r
6355 for ac_prog in grep ggrep; do
\r
6356 for ac_exec_ext in '' $ac_executable_extensions; do
\r
6357 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
\r
6358 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
\r
6359 # Check for GNU ac_path_GREP and select it if it is found.
\r
6360 # Check for GNU $ac_path_GREP
\r
6361 case `"$ac_path_GREP" --version 2>&1` in
\r
6363 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
\r
6366 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
\r
6369 cat "conftest.in" "conftest.in" >"conftest.tmp"
\r
6370 mv "conftest.tmp" "conftest.in"
\r
6371 cp "conftest.in" "conftest.nl"
\r
6372 echo 'GREP' >> "conftest.nl"
\r
6373 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
\r
6374 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
\r
6375 ac_count=`expr $ac_count + 1`
\r
6376 if test $ac_count -gt ${ac_path_GREP_max-0}; then
\r
6377 # Best one so far, save it but keep looking for a better one
\r
6378 ac_cv_path_GREP="$ac_path_GREP"
\r
6379 ac_path_GREP_max=$ac_count
\r
6381 # 10*(2^10) chars as input seems more than enough
\r
6382 test $ac_count -gt 10 && break
\r
6384 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
\r
6388 $ac_path_GREP_found && break 3
\r
6398 GREP="$ac_cv_path_GREP"
\r
6399 if test -z "$GREP"; then
\r
6400 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
\r
6401 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
\r
6402 { (exit 1); exit 1; }; }
\r
6406 ac_cv_path_GREP=$GREP
\r
6411 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
\r
6412 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
\r
6413 GREP="$ac_cv_path_GREP"
\r
6416 { echo "$as_me:$LINENO: checking for egrep" >&5
\r
6417 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
\r
6418 if test "${ac_cv_path_EGREP+set}" = set; then
\r
6419 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
6421 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
\r
6422 then ac_cv_path_EGREP="$GREP -E"
\r
6424 # Extract the first word of "egrep" to use in msg output
\r
6425 if test -z "$EGREP"; then
\r
6426 set dummy egrep; ac_prog_name=$2
\r
6427 if test "${ac_cv_path_EGREP+set}" = set; then
\r
6428 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
6430 ac_path_EGREP_found=false
\r
6431 # Loop through the user's path and test for each of PROGNAME-LIST
\r
6432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
6433 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
\r
6436 test -z "$as_dir" && as_dir=.
\r
6437 for ac_prog in egrep; do
\r
6438 for ac_exec_ext in '' $ac_executable_extensions; do
\r
6439 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
\r
6440 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
\r
6441 # Check for GNU ac_path_EGREP and select it if it is found.
\r
6442 # Check for GNU $ac_path_EGREP
\r
6443 case `"$ac_path_EGREP" --version 2>&1` in
\r
6445 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
\r
6448 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
\r
6451 cat "conftest.in" "conftest.in" >"conftest.tmp"
\r
6452 mv "conftest.tmp" "conftest.in"
\r
6453 cp "conftest.in" "conftest.nl"
\r
6454 echo 'EGREP' >> "conftest.nl"
\r
6455 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
\r
6456 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
\r
6457 ac_count=`expr $ac_count + 1`
\r
6458 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
\r
6459 # Best one so far, save it but keep looking for a better one
\r
6460 ac_cv_path_EGREP="$ac_path_EGREP"
\r
6461 ac_path_EGREP_max=$ac_count
\r
6463 # 10*(2^10) chars as input seems more than enough
\r
6464 test $ac_count -gt 10 && break
\r
6466 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
\r
6470 $ac_path_EGREP_found && break 3
\r
6480 EGREP="$ac_cv_path_EGREP"
\r
6481 if test -z "$EGREP"; then
\r
6482 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
\r
6483 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
\r
6484 { (exit 1); exit 1; }; }
\r
6488 ac_cv_path_EGREP=$EGREP
\r
6494 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
\r
6495 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
\r
6496 EGREP="$ac_cv_path_EGREP"
\r
6499 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
\r
6500 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
\r
6501 if test "${ac_cv_header_stdc+set}" = set; then
\r
6502 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
6504 cat >conftest.$ac_ext <<_ACEOF
\r
6507 cat confdefs.h >>conftest.$ac_ext
\r
6508 cat >>conftest.$ac_ext <<_ACEOF
\r
6509 /* end confdefs.h. */
\r
6510 #include <stdlib.h>
\r
6511 #include <stdarg.h>
\r
6512 #include <string.h>
\r
6513 #include <float.h>
\r
6523 rm -f conftest.$ac_objext
\r
6524 if { (ac_try="$ac_compile"
\r
6525 case "(($ac_try" in
\r
6526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
6527 *) ac_try_echo=$ac_try;;
\r
6529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
6530 (eval "$ac_compile") 2>conftest.er1
\r
6532 grep -v '^ *+' conftest.er1 >conftest.err
\r
6533 rm -f conftest.er1
\r
6534 cat conftest.err >&5
\r
6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
6536 (exit $ac_status); } && {
\r
6537 test -z "$ac_c_werror_flag" ||
\r
6538 test ! -s conftest.err
\r
6539 } && test -s conftest.$ac_objext; then
\r
6540 ac_cv_header_stdc=yes
\r
6542 echo "$as_me: failed program was:" >&5
\r
6543 sed 's/^/| /' conftest.$ac_ext >&5
\r
6545 ac_cv_header_stdc=no
\r
6548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
6550 if test $ac_cv_header_stdc = yes; then
\r
6551 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
\r
6552 cat >conftest.$ac_ext <<_ACEOF
\r
6555 cat confdefs.h >>conftest.$ac_ext
\r
6556 cat >>conftest.$ac_ext <<_ACEOF
\r
6557 /* end confdefs.h. */
\r
6558 #include <string.h>
\r
6561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
\r
6562 $EGREP "memchr" >/dev/null 2>&1; then
\r
6565 ac_cv_header_stdc=no
\r
6571 if test $ac_cv_header_stdc = yes; then
\r
6572 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
\r
6573 cat >conftest.$ac_ext <<_ACEOF
\r
6576 cat confdefs.h >>conftest.$ac_ext
\r
6577 cat >>conftest.$ac_ext <<_ACEOF
\r
6578 /* end confdefs.h. */
\r
6579 #include <stdlib.h>
\r
6582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
\r
6583 $EGREP "free" >/dev/null 2>&1; then
\r
6586 ac_cv_header_stdc=no
\r
6592 if test $ac_cv_header_stdc = yes; then
\r
6593 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
\r
6594 if test "$cross_compiling" = yes; then
\r
6597 cat >conftest.$ac_ext <<_ACEOF
\r
6600 cat confdefs.h >>conftest.$ac_ext
\r
6601 cat >>conftest.$ac_ext <<_ACEOF
\r
6602 /* end confdefs.h. */
\r
6603 #include <ctype.h>
\r
6604 #include <stdlib.h>
\r
6605 #if ((' ' & 0x0FF) == 0x020)
\r
6606 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
\r
6607 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
\r
6609 # define ISLOWER(c) \
\r
6610 (('a' <= (c) && (c) <= 'i') \
\r
6611 || ('j' <= (c) && (c) <= 'r') \
\r
6612 || ('s' <= (c) && (c) <= 'z'))
\r
6613 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
\r
6616 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
\r
6621 for (i = 0; i < 256; i++)
\r
6622 if (XOR (islower (i), ISLOWER (i))
\r
6623 || toupper (i) != TOUPPER (i))
\r
6628 rm -f conftest$ac_exeext
\r
6629 if { (ac_try="$ac_link"
\r
6630 case "(($ac_try" in
\r
6631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
6632 *) ac_try_echo=$ac_try;;
\r
6634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
6635 (eval "$ac_link") 2>&5
\r
6637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
6638 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
\r
6639 { (case "(($ac_try" in
\r
6640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
6641 *) ac_try_echo=$ac_try;;
\r
6643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
6644 (eval "$ac_try") 2>&5
\r
6646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
6647 (exit $ac_status); }; }; then
\r
6650 echo "$as_me: program exited with status $ac_status" >&5
\r
6651 echo "$as_me: failed program was:" >&5
\r
6652 sed 's/^/| /' conftest.$ac_ext >&5
\r
6654 ( exit $ac_status )
\r
6655 ac_cv_header_stdc=no
\r
6657 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
\r
6663 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
\r
6664 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
\r
6665 if test $ac_cv_header_stdc = yes; then
\r
6667 cat >>confdefs.h <<\_ACEOF
\r
6668 #define STDC_HEADERS 1
\r
6673 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
\r
6674 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
\r
6675 if test "${ac_cv_header_time+set}" = set; then
\r
6676 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
6678 cat >conftest.$ac_ext <<_ACEOF
\r
6681 cat confdefs.h >>conftest.$ac_ext
\r
6682 cat >>conftest.$ac_ext <<_ACEOF
\r
6683 /* end confdefs.h. */
\r
6684 #include <sys/types.h>
\r
6685 #include <sys/time.h>
\r
6691 if ((struct tm *) 0)
\r
6697 rm -f conftest.$ac_objext
\r
6698 if { (ac_try="$ac_compile"
\r
6699 case "(($ac_try" in
\r
6700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
6701 *) ac_try_echo=$ac_try;;
\r
6703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
6704 (eval "$ac_compile") 2>conftest.er1
\r
6706 grep -v '^ *+' conftest.er1 >conftest.err
\r
6707 rm -f conftest.er1
\r
6708 cat conftest.err >&5
\r
6709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
6710 (exit $ac_status); } && {
\r
6711 test -z "$ac_c_werror_flag" ||
\r
6712 test ! -s conftest.err
\r
6713 } && test -s conftest.$ac_objext; then
\r
6714 ac_cv_header_time=yes
\r
6716 echo "$as_me: failed program was:" >&5
\r
6717 sed 's/^/| /' conftest.$ac_ext >&5
\r
6719 ac_cv_header_time=no
\r
6722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
6724 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
\r
6725 echo "${ECHO_T}$ac_cv_header_time" >&6; }
\r
6726 if test $ac_cv_header_time = yes; then
\r
6728 cat >>confdefs.h <<\_ACEOF
\r
6729 #define TIME_WITH_SYS_TIME 1
\r
6734 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
\r
6735 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
\r
6736 if test "${ac_cv_header_sys_wait_h+set}" = set; then
\r
6737 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
6739 cat >conftest.$ac_ext <<_ACEOF
\r
6742 cat confdefs.h >>conftest.$ac_ext
\r
6743 cat >>conftest.$ac_ext <<_ACEOF
\r
6744 /* end confdefs.h. */
\r
6745 #include <sys/types.h>
\r
6746 #include <sys/wait.h>
\r
6747 #ifndef WEXITSTATUS
\r
6748 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
\r
6751 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
\r
6759 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
\r
6764 rm -f conftest.$ac_objext
\r
6765 if { (ac_try="$ac_compile"
\r
6766 case "(($ac_try" in
\r
6767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
6768 *) ac_try_echo=$ac_try;;
\r
6770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
6771 (eval "$ac_compile") 2>conftest.er1
\r
6773 grep -v '^ *+' conftest.er1 >conftest.err
\r
6774 rm -f conftest.er1
\r
6775 cat conftest.err >&5
\r
6776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
6777 (exit $ac_status); } && {
\r
6778 test -z "$ac_c_werror_flag" ||
\r
6779 test ! -s conftest.err
\r
6780 } && test -s conftest.$ac_objext; then
\r
6781 ac_cv_header_sys_wait_h=yes
\r
6783 echo "$as_me: failed program was:" >&5
\r
6784 sed 's/^/| /' conftest.$ac_ext >&5
\r
6786 ac_cv_header_sys_wait_h=no
\r
6789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
6791 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
\r
6792 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
\r
6793 if test $ac_cv_header_sys_wait_h = yes; then
\r
6795 cat >>confdefs.h <<\_ACEOF
\r
6796 #define HAVE_SYS_WAIT_H 1
\r
6806 ac_header_dirent=no
\r
6807 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
\r
6808 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
\r
6809 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
\r
6810 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
\r
6811 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
6812 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
6814 cat >conftest.$ac_ext <<_ACEOF
\r
6817 cat confdefs.h >>conftest.$ac_ext
\r
6818 cat >>conftest.$ac_ext <<_ACEOF
\r
6819 /* end confdefs.h. */
\r
6820 #include <sys/types.h>
\r
6821 #include <$ac_hdr>
\r
6832 rm -f conftest.$ac_objext
\r
6833 if { (ac_try="$ac_compile"
\r
6834 case "(($ac_try" in
\r
6835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
6836 *) ac_try_echo=$ac_try;;
\r
6838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
6839 (eval "$ac_compile") 2>conftest.er1
\r
6841 grep -v '^ *+' conftest.er1 >conftest.err
\r
6842 rm -f conftest.er1
\r
6843 cat conftest.err >&5
\r
6844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
6845 (exit $ac_status); } && {
\r
6846 test -z "$ac_c_werror_flag" ||
\r
6847 test ! -s conftest.err
\r
6848 } && test -s conftest.$ac_objext; then
\r
6849 eval "$as_ac_Header=yes"
\r
6851 echo "$as_me: failed program was:" >&5
\r
6852 sed 's/^/| /' conftest.$ac_ext >&5
\r
6854 eval "$as_ac_Header=no"
\r
6857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
6859 ac_res=`eval echo '${'$as_ac_Header'}'`
\r
6860 { echo "$as_me:$LINENO: result: $ac_res" >&5
\r
6861 echo "${ECHO_T}$ac_res" >&6; }
\r
6862 if test `eval echo '${'$as_ac_Header'}'` = yes; then
\r
6863 cat >>confdefs.h <<_ACEOF
\r
6864 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
\r
6867 ac_header_dirent=$ac_hdr; break
\r
6871 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
\r
6872 if test $ac_header_dirent = dirent.h; then
\r
6873 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
\r
6874 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
\r
6875 if test "${ac_cv_search_opendir+set}" = set; then
\r
6876 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
6878 ac_func_search_save_LIBS=$LIBS
\r
6879 cat >conftest.$ac_ext <<_ACEOF
\r
6882 cat confdefs.h >>conftest.$ac_ext
\r
6883 cat >>conftest.$ac_ext <<_ACEOF
\r
6884 /* end confdefs.h. */
\r
6886 /* Override any GCC internal prototype to avoid an error.
\r
6887 Use char because int might match the return type of a GCC
\r
6888 builtin and then its argument prototype would still apply. */
\r
6889 #ifdef __cplusplus
\r
6896 return opendir ();
\r
6901 for ac_lib in '' dir; do
\r
6902 if test -z "$ac_lib"; then
\r
6903 ac_res="none required"
\r
6906 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
\r
6908 rm -f conftest.$ac_objext conftest$ac_exeext
\r
6909 if { (ac_try="$ac_link"
\r
6910 case "(($ac_try" in
\r
6911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
6912 *) ac_try_echo=$ac_try;;
\r
6914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
6915 (eval "$ac_link") 2>conftest.er1
\r
6917 grep -v '^ *+' conftest.er1 >conftest.err
\r
6918 rm -f conftest.er1
\r
6919 cat conftest.err >&5
\r
6920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
6921 (exit $ac_status); } && {
\r
6922 test -z "$ac_c_werror_flag" ||
\r
6923 test ! -s conftest.err
\r
6924 } && test -s conftest$ac_exeext &&
\r
6925 $as_test_x conftest$ac_exeext; then
\r
6926 ac_cv_search_opendir=$ac_res
\r
6928 echo "$as_me: failed program was:" >&5
\r
6929 sed 's/^/| /' conftest.$ac_ext >&5
\r
6934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
6935 conftest$ac_exeext
\r
6936 if test "${ac_cv_search_opendir+set}" = set; then
\r
6940 if test "${ac_cv_search_opendir+set}" = set; then
\r
6943 ac_cv_search_opendir=no
\r
6945 rm conftest.$ac_ext
\r
6946 LIBS=$ac_func_search_save_LIBS
\r
6948 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
\r
6949 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
\r
6950 ac_res=$ac_cv_search_opendir
\r
6951 if test "$ac_res" != no; then
\r
6952 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
\r
6957 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
\r
6958 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
\r
6959 if test "${ac_cv_search_opendir+set}" = set; then
\r
6960 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
6962 ac_func_search_save_LIBS=$LIBS
\r
6963 cat >conftest.$ac_ext <<_ACEOF
\r
6966 cat confdefs.h >>conftest.$ac_ext
\r
6967 cat >>conftest.$ac_ext <<_ACEOF
\r
6968 /* end confdefs.h. */
\r
6970 /* Override any GCC internal prototype to avoid an error.
\r
6971 Use char because int might match the return type of a GCC
\r
6972 builtin and then its argument prototype would still apply. */
\r
6973 #ifdef __cplusplus
\r
6980 return opendir ();
\r
6985 for ac_lib in '' x; do
\r
6986 if test -z "$ac_lib"; then
\r
6987 ac_res="none required"
\r
6990 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
\r
6992 rm -f conftest.$ac_objext conftest$ac_exeext
\r
6993 if { (ac_try="$ac_link"
\r
6994 case "(($ac_try" in
\r
6995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
6996 *) ac_try_echo=$ac_try;;
\r
6998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
6999 (eval "$ac_link") 2>conftest.er1
\r
7001 grep -v '^ *+' conftest.er1 >conftest.err
\r
7002 rm -f conftest.er1
\r
7003 cat conftest.err >&5
\r
7004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
7005 (exit $ac_status); } && {
\r
7006 test -z "$ac_c_werror_flag" ||
\r
7007 test ! -s conftest.err
\r
7008 } && test -s conftest$ac_exeext &&
\r
7009 $as_test_x conftest$ac_exeext; then
\r
7010 ac_cv_search_opendir=$ac_res
\r
7012 echo "$as_me: failed program was:" >&5
\r
7013 sed 's/^/| /' conftest.$ac_ext >&5
\r
7018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
7019 conftest$ac_exeext
\r
7020 if test "${ac_cv_search_opendir+set}" = set; then
\r
7024 if test "${ac_cv_search_opendir+set}" = set; then
\r
7027 ac_cv_search_opendir=no
\r
7029 rm conftest.$ac_ext
\r
7030 LIBS=$ac_func_search_save_LIBS
\r
7032 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
\r
7033 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
\r
7034 ac_res=$ac_cv_search_opendir
\r
7035 if test "$ac_res" != no; then
\r
7036 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
\r
7042 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
\r
7043 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
\r
7044 if test "${ac_cv_type_signal+set}" = set; then
\r
7045 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
7047 cat >conftest.$ac_ext <<_ACEOF
\r
7050 cat confdefs.h >>conftest.$ac_ext
\r
7051 cat >>conftest.$ac_ext <<_ACEOF
\r
7052 /* end confdefs.h. */
\r
7053 #include <sys/types.h>
\r
7054 #include <signal.h>
\r
7059 return *(signal (0, 0)) (0) == 1;
\r
7064 rm -f conftest.$ac_objext
\r
7065 if { (ac_try="$ac_compile"
\r
7066 case "(($ac_try" in
\r
7067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
7068 *) ac_try_echo=$ac_try;;
\r
7070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
7071 (eval "$ac_compile") 2>conftest.er1
\r
7073 grep -v '^ *+' conftest.er1 >conftest.err
\r
7074 rm -f conftest.er1
\r
7075 cat conftest.err >&5
\r
7076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
7077 (exit $ac_status); } && {
\r
7078 test -z "$ac_c_werror_flag" ||
\r
7079 test ! -s conftest.err
\r
7080 } && test -s conftest.$ac_objext; then
\r
7081 ac_cv_type_signal=int
\r
7083 echo "$as_me: failed program was:" >&5
\r
7084 sed 's/^/| /' conftest.$ac_ext >&5
\r
7086 ac_cv_type_signal=void
\r
7089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
7091 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
\r
7092 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
\r
7094 cat >>confdefs.h <<_ACEOF
\r
7095 #define RETSIGTYPE $ac_cv_type_signal
\r
7099 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
\r
7109 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
\r
7110 inttypes.h stdint.h unistd.h
\r
7112 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
\r
7113 { echo "$as_me:$LINENO: checking for $ac_header" >&5
\r
7114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
\r
7115 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
7116 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
7118 cat >conftest.$ac_ext <<_ACEOF
\r
7121 cat confdefs.h >>conftest.$ac_ext
\r
7122 cat >>conftest.$ac_ext <<_ACEOF
\r
7123 /* end confdefs.h. */
\r
7124 $ac_includes_default
\r
7126 #include <$ac_header>
\r
7128 rm -f conftest.$ac_objext
\r
7129 if { (ac_try="$ac_compile"
\r
7130 case "(($ac_try" in
\r
7131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
7132 *) ac_try_echo=$ac_try;;
\r
7134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
7135 (eval "$ac_compile") 2>conftest.er1
\r
7137 grep -v '^ *+' conftest.er1 >conftest.err
\r
7138 rm -f conftest.er1
\r
7139 cat conftest.err >&5
\r
7140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
7141 (exit $ac_status); } && {
\r
7142 test -z "$ac_c_werror_flag" ||
\r
7143 test ! -s conftest.err
\r
7144 } && test -s conftest.$ac_objext; then
\r
7145 eval "$as_ac_Header=yes"
\r
7147 echo "$as_me: failed program was:" >&5
\r
7148 sed 's/^/| /' conftest.$ac_ext >&5
\r
7150 eval "$as_ac_Header=no"
\r
7153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
7155 ac_res=`eval echo '${'$as_ac_Header'}'`
\r
7156 { echo "$as_me:$LINENO: result: $ac_res" >&5
\r
7157 echo "${ECHO_T}$ac_res" >&6; }
\r
7158 if test `eval echo '${'$as_ac_Header'}'` = yes; then
\r
7159 cat >>confdefs.h <<_ACEOF
\r
7160 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
\r
7173 for ac_header in stropts.h sys/time.h string.h unistd.h sys/systeminfo.h
\r
7175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
\r
7176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
7177 { echo "$as_me:$LINENO: checking for $ac_header" >&5
\r
7178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
\r
7179 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
7180 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
7182 ac_res=`eval echo '${'$as_ac_Header'}'`
\r
7183 { echo "$as_me:$LINENO: result: $ac_res" >&5
\r
7184 echo "${ECHO_T}$ac_res" >&6; }
\r
7186 # Is the header compilable?
\r
7187 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
\r
7188 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
\r
7189 cat >conftest.$ac_ext <<_ACEOF
\r
7192 cat confdefs.h >>conftest.$ac_ext
\r
7193 cat >>conftest.$ac_ext <<_ACEOF
\r
7194 /* end confdefs.h. */
\r
7195 $ac_includes_default
\r
7196 #include <$ac_header>
\r
7198 rm -f conftest.$ac_objext
\r
7199 if { (ac_try="$ac_compile"
\r
7200 case "(($ac_try" in
\r
7201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
7202 *) ac_try_echo=$ac_try;;
\r
7204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
7205 (eval "$ac_compile") 2>conftest.er1
\r
7207 grep -v '^ *+' conftest.er1 >conftest.err
\r
7208 rm -f conftest.er1
\r
7209 cat conftest.err >&5
\r
7210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
7211 (exit $ac_status); } && {
\r
7212 test -z "$ac_c_werror_flag" ||
\r
7213 test ! -s conftest.err
\r
7214 } && test -s conftest.$ac_objext; then
\r
7215 ac_header_compiler=yes
\r
7217 echo "$as_me: failed program was:" >&5
\r
7218 sed 's/^/| /' conftest.$ac_ext >&5
\r
7220 ac_header_compiler=no
\r
7223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
7224 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
\r
7225 echo "${ECHO_T}$ac_header_compiler" >&6; }
\r
7227 # Is the header present?
\r
7228 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
\r
7229 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
\r
7230 cat >conftest.$ac_ext <<_ACEOF
\r
7233 cat confdefs.h >>conftest.$ac_ext
\r
7234 cat >>conftest.$ac_ext <<_ACEOF
\r
7235 /* end confdefs.h. */
\r
7236 #include <$ac_header>
\r
7238 if { (ac_try="$ac_cpp conftest.$ac_ext"
\r
7239 case "(($ac_try" in
\r
7240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
7241 *) ac_try_echo=$ac_try;;
\r
7243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
7244 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
\r
7246 grep -v '^ *+' conftest.er1 >conftest.err
\r
7247 rm -f conftest.er1
\r
7248 cat conftest.err >&5
\r
7249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
7250 (exit $ac_status); } >/dev/null && {
\r
7251 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
\r
7252 test ! -s conftest.err
\r
7254 ac_header_preproc=yes
\r
7256 echo "$as_me: failed program was:" >&5
\r
7257 sed 's/^/| /' conftest.$ac_ext >&5
\r
7259 ac_header_preproc=no
\r
7262 rm -f conftest.err conftest.$ac_ext
\r
7263 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
\r
7264 echo "${ECHO_T}$ac_header_preproc" >&6; }
\r
7266 # So? What about this header?
\r
7267 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
\r
7269 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
\r
7270 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
\r
7271 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
\r
7272 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
\r
7273 ac_header_preproc=yes
\r
7276 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
\r
7277 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
\r
7278 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
\r
7279 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
\r
7280 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
\r
7281 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
\r
7282 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
\r
7283 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
\r
7284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
\r
7285 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
\r
7286 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
\r
7287 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
\r
7291 { echo "$as_me:$LINENO: checking for $ac_header" >&5
\r
7292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
\r
7293 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
7294 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
7296 eval "$as_ac_Header=\$ac_header_preproc"
\r
7298 ac_res=`eval echo '${'$as_ac_Header'}'`
\r
7299 { echo "$as_me:$LINENO: result: $ac_res" >&5
\r
7300 echo "${ECHO_T}$ac_res" >&6; }
\r
7303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
\r
7304 cat >>confdefs.h <<_ACEOF
\r
7305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
\r
7314 for ac_header in fcntl.h sys/fcntl.h
\r
7316 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
\r
7317 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
7318 { echo "$as_me:$LINENO: checking for $ac_header" >&5
\r
7319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
\r
7320 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
7321 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
7323 ac_res=`eval echo '${'$as_ac_Header'}'`
\r
7324 { echo "$as_me:$LINENO: result: $ac_res" >&5
\r
7325 echo "${ECHO_T}$ac_res" >&6; }
\r
7327 # Is the header compilable?
\r
7328 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
\r
7329 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
\r
7330 cat >conftest.$ac_ext <<_ACEOF
\r
7333 cat confdefs.h >>conftest.$ac_ext
\r
7334 cat >>conftest.$ac_ext <<_ACEOF
\r
7335 /* end confdefs.h. */
\r
7336 $ac_includes_default
\r
7337 #include <$ac_header>
\r
7339 rm -f conftest.$ac_objext
\r
7340 if { (ac_try="$ac_compile"
\r
7341 case "(($ac_try" in
\r
7342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
7343 *) ac_try_echo=$ac_try;;
\r
7345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
7346 (eval "$ac_compile") 2>conftest.er1
\r
7348 grep -v '^ *+' conftest.er1 >conftest.err
\r
7349 rm -f conftest.er1
\r
7350 cat conftest.err >&5
\r
7351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
7352 (exit $ac_status); } && {
\r
7353 test -z "$ac_c_werror_flag" ||
\r
7354 test ! -s conftest.err
\r
7355 } && test -s conftest.$ac_objext; then
\r
7356 ac_header_compiler=yes
\r
7358 echo "$as_me: failed program was:" >&5
\r
7359 sed 's/^/| /' conftest.$ac_ext >&5
\r
7361 ac_header_compiler=no
\r
7364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
7365 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
\r
7366 echo "${ECHO_T}$ac_header_compiler" >&6; }
\r
7368 # Is the header present?
\r
7369 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
\r
7370 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
\r
7371 cat >conftest.$ac_ext <<_ACEOF
\r
7374 cat confdefs.h >>conftest.$ac_ext
\r
7375 cat >>conftest.$ac_ext <<_ACEOF
\r
7376 /* end confdefs.h. */
\r
7377 #include <$ac_header>
\r
7379 if { (ac_try="$ac_cpp conftest.$ac_ext"
\r
7380 case "(($ac_try" in
\r
7381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
7382 *) ac_try_echo=$ac_try;;
\r
7384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
7385 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
\r
7387 grep -v '^ *+' conftest.er1 >conftest.err
\r
7388 rm -f conftest.er1
\r
7389 cat conftest.err >&5
\r
7390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
7391 (exit $ac_status); } >/dev/null && {
\r
7392 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
\r
7393 test ! -s conftest.err
\r
7395 ac_header_preproc=yes
\r
7397 echo "$as_me: failed program was:" >&5
\r
7398 sed 's/^/| /' conftest.$ac_ext >&5
\r
7400 ac_header_preproc=no
\r
7403 rm -f conftest.err conftest.$ac_ext
\r
7404 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
\r
7405 echo "${ECHO_T}$ac_header_preproc" >&6; }
\r
7407 # So? What about this header?
\r
7408 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
\r
7410 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
\r
7411 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
\r
7412 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
\r
7413 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
\r
7414 ac_header_preproc=yes
\r
7417 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
\r
7418 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
\r
7419 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
\r
7420 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
\r
7421 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
\r
7422 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
\r
7423 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
\r
7424 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
\r
7425 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
\r
7426 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
\r
7427 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
\r
7428 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
\r
7432 { echo "$as_me:$LINENO: checking for $ac_header" >&5
\r
7433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
\r
7434 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
7435 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
7437 eval "$as_ac_Header=\$ac_header_preproc"
\r
7439 ac_res=`eval echo '${'$as_ac_Header'}'`
\r
7440 { echo "$as_me:$LINENO: result: $ac_res" >&5
\r
7441 echo "${ECHO_T}$ac_res" >&6; }
\r
7444 if test `eval echo '${'$as_ac_Header'}'` = yes; then
\r
7445 cat >>confdefs.h <<_ACEOF
\r
7446 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
\r
7455 for ac_header in sys/socket.h lan/socket.h
\r
7457 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
\r
7458 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
7459 { echo "$as_me:$LINENO: checking for $ac_header" >&5
\r
7460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
\r
7461 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
7462 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
7464 ac_res=`eval echo '${'$as_ac_Header'}'`
\r
7465 { echo "$as_me:$LINENO: result: $ac_res" >&5
\r
7466 echo "${ECHO_T}$ac_res" >&6; }
\r
7468 # Is the header compilable?
\r
7469 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
\r
7470 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
\r
7471 cat >conftest.$ac_ext <<_ACEOF
\r
7474 cat confdefs.h >>conftest.$ac_ext
\r
7475 cat >>conftest.$ac_ext <<_ACEOF
\r
7476 /* end confdefs.h. */
\r
7477 $ac_includes_default
\r
7478 #include <$ac_header>
\r
7480 rm -f conftest.$ac_objext
\r
7481 if { (ac_try="$ac_compile"
\r
7482 case "(($ac_try" in
\r
7483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
7484 *) ac_try_echo=$ac_try;;
\r
7486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
7487 (eval "$ac_compile") 2>conftest.er1
\r
7489 grep -v '^ *+' conftest.er1 >conftest.err
\r
7490 rm -f conftest.er1
\r
7491 cat conftest.err >&5
\r
7492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
7493 (exit $ac_status); } && {
\r
7494 test -z "$ac_c_werror_flag" ||
\r
7495 test ! -s conftest.err
\r
7496 } && test -s conftest.$ac_objext; then
\r
7497 ac_header_compiler=yes
\r
7499 echo "$as_me: failed program was:" >&5
\r
7500 sed 's/^/| /' conftest.$ac_ext >&5
\r
7502 ac_header_compiler=no
\r
7505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
7506 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
\r
7507 echo "${ECHO_T}$ac_header_compiler" >&6; }
\r
7509 # Is the header present?
\r
7510 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
\r
7511 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
\r
7512 cat >conftest.$ac_ext <<_ACEOF
\r
7515 cat confdefs.h >>conftest.$ac_ext
\r
7516 cat >>conftest.$ac_ext <<_ACEOF
\r
7517 /* end confdefs.h. */
\r
7518 #include <$ac_header>
\r
7520 if { (ac_try="$ac_cpp conftest.$ac_ext"
\r
7521 case "(($ac_try" in
\r
7522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
7523 *) ac_try_echo=$ac_try;;
\r
7525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
7526 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
\r
7528 grep -v '^ *+' conftest.er1 >conftest.err
\r
7529 rm -f conftest.er1
\r
7530 cat conftest.err >&5
\r
7531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
7532 (exit $ac_status); } >/dev/null && {
\r
7533 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
\r
7534 test ! -s conftest.err
\r
7536 ac_header_preproc=yes
\r
7538 echo "$as_me: failed program was:" >&5
\r
7539 sed 's/^/| /' conftest.$ac_ext >&5
\r
7541 ac_header_preproc=no
\r
7544 rm -f conftest.err conftest.$ac_ext
\r
7545 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
\r
7546 echo "${ECHO_T}$ac_header_preproc" >&6; }
\r
7548 # So? What about this header?
\r
7549 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
\r
7551 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
\r
7552 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
\r
7553 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
\r
7554 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
\r
7555 ac_header_preproc=yes
\r
7558 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
\r
7559 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
\r
7560 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
\r
7561 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
\r
7562 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
\r
7563 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
\r
7564 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
\r
7565 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
\r
7566 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
\r
7567 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
\r
7568 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
\r
7569 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
\r
7573 { echo "$as_me:$LINENO: checking for $ac_header" >&5
\r
7574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
\r
7575 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
7576 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
7578 eval "$as_ac_Header=\$ac_header_preproc"
\r
7580 ac_res=`eval echo '${'$as_ac_Header'}'`
\r
7581 { echo "$as_me:$LINENO: result: $ac_res" >&5
\r
7582 echo "${ECHO_T}$ac_res" >&6; }
\r
7585 if test `eval echo '${'$as_ac_Header'}'` = yes; then
\r
7586 cat >>confdefs.h <<_ACEOF
\r
7587 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
\r
7594 if test "${ac_cv_header_stddef_h+set}" = set; then
\r
7595 { echo "$as_me:$LINENO: checking for stddef.h" >&5
\r
7596 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; }
\r
7597 if test "${ac_cv_header_stddef_h+set}" = set; then
\r
7598 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
7600 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5
\r
7601 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; }
\r
7603 # Is the header compilable?
\r
7604 { echo "$as_me:$LINENO: checking stddef.h usability" >&5
\r
7605 echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6; }
\r
7606 cat >conftest.$ac_ext <<_ACEOF
\r
7609 cat confdefs.h >>conftest.$ac_ext
\r
7610 cat >>conftest.$ac_ext <<_ACEOF
\r
7611 /* end confdefs.h. */
\r
7612 $ac_includes_default
\r
7613 #include <stddef.h>
\r
7615 rm -f conftest.$ac_objext
\r
7616 if { (ac_try="$ac_compile"
\r
7617 case "(($ac_try" in
\r
7618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
7619 *) ac_try_echo=$ac_try;;
\r
7621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
7622 (eval "$ac_compile") 2>conftest.er1
\r
7624 grep -v '^ *+' conftest.er1 >conftest.err
\r
7625 rm -f conftest.er1
\r
7626 cat conftest.err >&5
\r
7627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
7628 (exit $ac_status); } && {
\r
7629 test -z "$ac_c_werror_flag" ||
\r
7630 test ! -s conftest.err
\r
7631 } && test -s conftest.$ac_objext; then
\r
7632 ac_header_compiler=yes
\r
7634 echo "$as_me: failed program was:" >&5
\r
7635 sed 's/^/| /' conftest.$ac_ext >&5
\r
7637 ac_header_compiler=no
\r
7640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
7641 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
\r
7642 echo "${ECHO_T}$ac_header_compiler" >&6; }
\r
7644 # Is the header present?
\r
7645 { echo "$as_me:$LINENO: checking stddef.h presence" >&5
\r
7646 echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6; }
\r
7647 cat >conftest.$ac_ext <<_ACEOF
\r
7650 cat confdefs.h >>conftest.$ac_ext
\r
7651 cat >>conftest.$ac_ext <<_ACEOF
\r
7652 /* end confdefs.h. */
\r
7653 #include <stddef.h>
\r
7655 if { (ac_try="$ac_cpp conftest.$ac_ext"
\r
7656 case "(($ac_try" in
\r
7657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
7658 *) ac_try_echo=$ac_try;;
\r
7660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
7661 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
\r
7663 grep -v '^ *+' conftest.er1 >conftest.err
\r
7664 rm -f conftest.er1
\r
7665 cat conftest.err >&5
\r
7666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
7667 (exit $ac_status); } >/dev/null && {
\r
7668 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
\r
7669 test ! -s conftest.err
\r
7671 ac_header_preproc=yes
\r
7673 echo "$as_me: failed program was:" >&5
\r
7674 sed 's/^/| /' conftest.$ac_ext >&5
\r
7676 ac_header_preproc=no
\r
7679 rm -f conftest.err conftest.$ac_ext
\r
7680 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
\r
7681 echo "${ECHO_T}$ac_header_preproc" >&6; }
\r
7683 # So? What about this header?
\r
7684 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
\r
7686 { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5
\r
7687 echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
\r
7688 { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the compiler's result" >&5
\r
7689 echo "$as_me: WARNING: stddef.h: proceeding with the compiler's result" >&2;}
\r
7690 ac_header_preproc=yes
\r
7693 { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5
\r
7694 echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;}
\r
7695 { echo "$as_me:$LINENO: WARNING: stddef.h: check for missing prerequisite headers?" >&5
\r
7696 echo "$as_me: WARNING: stddef.h: check for missing prerequisite headers?" >&2;}
\r
7697 { echo "$as_me:$LINENO: WARNING: stddef.h: see the Autoconf documentation" >&5
\r
7698 echo "$as_me: WARNING: stddef.h: see the Autoconf documentation" >&2;}
\r
7699 { echo "$as_me:$LINENO: WARNING: stddef.h: section \"Present But Cannot Be Compiled\"" >&5
\r
7700 echo "$as_me: WARNING: stddef.h: section \"Present But Cannot Be Compiled\"" >&2;}
\r
7701 { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5
\r
7702 echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;}
\r
7703 { echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5
\r
7704 echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;}
\r
7708 { echo "$as_me:$LINENO: checking for stddef.h" >&5
\r
7709 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; }
\r
7710 if test "${ac_cv_header_stddef_h+set}" = set; then
\r
7711 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
7713 ac_cv_header_stddef_h=$ac_header_preproc
\r
7715 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5
\r
7716 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; }
\r
7719 if test $ac_cv_header_stddef_h = yes; then
\r
7722 cat >>confdefs.h <<\_ACEOF
\r
7734 for ac_func in _getpty grantpt setitimer usleep
\r
7736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
\r
7737 { echo "$as_me:$LINENO: checking for $ac_func" >&5
\r
7738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
\r
7739 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
\r
7740 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
7742 cat >conftest.$ac_ext <<_ACEOF
\r
7745 cat confdefs.h >>conftest.$ac_ext
\r
7746 cat >>conftest.$ac_ext <<_ACEOF
\r
7747 /* end confdefs.h. */
\r
7748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
\r
7749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
\r
7750 #define $ac_func innocuous_$ac_func
\r
7752 /* System header to define __stub macros and hopefully few prototypes,
\r
7753 which can conflict with char $ac_func (); below.
\r
7754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
\r
7755 <limits.h> exists even on freestanding compilers. */
\r
7758 # include <limits.h>
\r
7760 # include <assert.h>
\r
7765 /* Override any GCC internal prototype to avoid an error.
\r
7766 Use char because int might match the return type of a GCC
\r
7767 builtin and then its argument prototype would still apply. */
\r
7768 #ifdef __cplusplus
\r
7772 /* The GNU C library defines this for functions which it implements
\r
7773 to always fail with ENOSYS. Some functions are actually named
\r
7774 something starting with __ and the normal name is an alias. */
\r
7775 #if defined __stub_$ac_func || defined __stub___$ac_func
\r
7782 return $ac_func ();
\r
7787 rm -f conftest.$ac_objext conftest$ac_exeext
\r
7788 if { (ac_try="$ac_link"
\r
7789 case "(($ac_try" in
\r
7790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
7791 *) ac_try_echo=$ac_try;;
\r
7793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
7794 (eval "$ac_link") 2>conftest.er1
\r
7796 grep -v '^ *+' conftest.er1 >conftest.err
\r
7797 rm -f conftest.er1
\r
7798 cat conftest.err >&5
\r
7799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
7800 (exit $ac_status); } && {
\r
7801 test -z "$ac_c_werror_flag" ||
\r
7802 test ! -s conftest.err
\r
7803 } && test -s conftest$ac_exeext &&
\r
7804 $as_test_x conftest$ac_exeext; then
\r
7805 eval "$as_ac_var=yes"
\r
7807 echo "$as_me: failed program was:" >&5
\r
7808 sed 's/^/| /' conftest.$ac_ext >&5
\r
7810 eval "$as_ac_var=no"
\r
7813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
7814 conftest$ac_exeext conftest.$ac_ext
\r
7816 ac_res=`eval echo '${'$as_ac_var'}'`
\r
7817 { echo "$as_me:$LINENO: result: $ac_res" >&5
\r
7818 echo "${ECHO_T}$ac_res" >&6; }
\r
7819 if test `eval echo '${'$as_ac_var'}'` = yes; then
\r
7820 cat >>confdefs.h <<_ACEOF
\r
7821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
\r
7829 for ac_func in gettimeofday ftime
\r
7831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
\r
7832 { echo "$as_me:$LINENO: checking for $ac_func" >&5
\r
7833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
\r
7834 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
\r
7835 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
7837 cat >conftest.$ac_ext <<_ACEOF
\r
7840 cat confdefs.h >>conftest.$ac_ext
\r
7841 cat >>conftest.$ac_ext <<_ACEOF
\r
7842 /* end confdefs.h. */
\r
7843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
\r
7844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
\r
7845 #define $ac_func innocuous_$ac_func
\r
7847 /* System header to define __stub macros and hopefully few prototypes,
\r
7848 which can conflict with char $ac_func (); below.
\r
7849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
\r
7850 <limits.h> exists even on freestanding compilers. */
\r
7853 # include <limits.h>
\r
7855 # include <assert.h>
\r
7860 /* Override any GCC internal prototype to avoid an error.
\r
7861 Use char because int might match the return type of a GCC
\r
7862 builtin and then its argument prototype would still apply. */
\r
7863 #ifdef __cplusplus
\r
7867 /* The GNU C library defines this for functions which it implements
\r
7868 to always fail with ENOSYS. Some functions are actually named
\r
7869 something starting with __ and the normal name is an alias. */
\r
7870 #if defined __stub_$ac_func || defined __stub___$ac_func
\r
7877 return $ac_func ();
\r
7882 rm -f conftest.$ac_objext conftest$ac_exeext
\r
7883 if { (ac_try="$ac_link"
\r
7884 case "(($ac_try" in
\r
7885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
7886 *) ac_try_echo=$ac_try;;
\r
7888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
7889 (eval "$ac_link") 2>conftest.er1
\r
7891 grep -v '^ *+' conftest.er1 >conftest.err
\r
7892 rm -f conftest.er1
\r
7893 cat conftest.err >&5
\r
7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
7895 (exit $ac_status); } && {
\r
7896 test -z "$ac_c_werror_flag" ||
\r
7897 test ! -s conftest.err
\r
7898 } && test -s conftest$ac_exeext &&
\r
7899 $as_test_x conftest$ac_exeext; then
\r
7900 eval "$as_ac_var=yes"
\r
7902 echo "$as_me: failed program was:" >&5
\r
7903 sed 's/^/| /' conftest.$ac_ext >&5
\r
7905 eval "$as_ac_var=no"
\r
7908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
7909 conftest$ac_exeext conftest.$ac_ext
\r
7911 ac_res=`eval echo '${'$as_ac_var'}'`
\r
7912 { echo "$as_me:$LINENO: result: $ac_res" >&5
\r
7913 echo "${ECHO_T}$ac_res" >&6; }
\r
7914 if test `eval echo '${'$as_ac_var'}'` = yes; then
\r
7915 cat >>confdefs.h <<_ACEOF
\r
7916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
\r
7924 for ac_func in random rand48
\r
7926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
\r
7927 { echo "$as_me:$LINENO: checking for $ac_func" >&5
\r
7928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
\r
7929 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
\r
7930 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
7932 cat >conftest.$ac_ext <<_ACEOF
\r
7935 cat confdefs.h >>conftest.$ac_ext
\r
7936 cat >>conftest.$ac_ext <<_ACEOF
\r
7937 /* end confdefs.h. */
\r
7938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
\r
7939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
\r
7940 #define $ac_func innocuous_$ac_func
\r
7942 /* System header to define __stub macros and hopefully few prototypes,
\r
7943 which can conflict with char $ac_func (); below.
\r
7944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
\r
7945 <limits.h> exists even on freestanding compilers. */
\r
7948 # include <limits.h>
\r
7950 # include <assert.h>
\r
7955 /* Override any GCC internal prototype to avoid an error.
\r
7956 Use char because int might match the return type of a GCC
\r
7957 builtin and then its argument prototype would still apply. */
\r
7958 #ifdef __cplusplus
\r
7962 /* The GNU C library defines this for functions which it implements
\r
7963 to always fail with ENOSYS. Some functions are actually named
\r
7964 something starting with __ and the normal name is an alias. */
\r
7965 #if defined __stub_$ac_func || defined __stub___$ac_func
\r
7972 return $ac_func ();
\r
7977 rm -f conftest.$ac_objext conftest$ac_exeext
\r
7978 if { (ac_try="$ac_link"
\r
7979 case "(($ac_try" in
\r
7980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
7981 *) ac_try_echo=$ac_try;;
\r
7983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
7984 (eval "$ac_link") 2>conftest.er1
\r
7986 grep -v '^ *+' conftest.er1 >conftest.err
\r
7987 rm -f conftest.er1
\r
7988 cat conftest.err >&5
\r
7989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
7990 (exit $ac_status); } && {
\r
7991 test -z "$ac_c_werror_flag" ||
\r
7992 test ! -s conftest.err
\r
7993 } && test -s conftest$ac_exeext &&
\r
7994 $as_test_x conftest$ac_exeext; then
\r
7995 eval "$as_ac_var=yes"
\r
7997 echo "$as_me: failed program was:" >&5
\r
7998 sed 's/^/| /' conftest.$ac_ext >&5
\r
8000 eval "$as_ac_var=no"
\r
8003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
8004 conftest$ac_exeext conftest.$ac_ext
\r
8006 ac_res=`eval echo '${'$as_ac_var'}'`
\r
8007 { echo "$as_me:$LINENO: result: $ac_res" >&5
\r
8008 echo "${ECHO_T}$ac_res" >&6; }
\r
8009 if test `eval echo '${'$as_ac_var'}'` = yes; then
\r
8010 cat >>confdefs.h <<_ACEOF
\r
8011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
\r
8019 for ac_func in gethostname sysinfo
\r
8021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
\r
8022 { echo "$as_me:$LINENO: checking for $ac_func" >&5
\r
8023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
\r
8024 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
\r
8025 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
8027 cat >conftest.$ac_ext <<_ACEOF
\r
8030 cat confdefs.h >>conftest.$ac_ext
\r
8031 cat >>conftest.$ac_ext <<_ACEOF
\r
8032 /* end confdefs.h. */
\r
8033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
\r
8034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
\r
8035 #define $ac_func innocuous_$ac_func
\r
8037 /* System header to define __stub macros and hopefully few prototypes,
\r
8038 which can conflict with char $ac_func (); below.
\r
8039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
\r
8040 <limits.h> exists even on freestanding compilers. */
\r
8043 # include <limits.h>
\r
8045 # include <assert.h>
\r
8050 /* Override any GCC internal prototype to avoid an error.
\r
8051 Use char because int might match the return type of a GCC
\r
8052 builtin and then its argument prototype would still apply. */
\r
8053 #ifdef __cplusplus
\r
8057 /* The GNU C library defines this for functions which it implements
\r
8058 to always fail with ENOSYS. Some functions are actually named
\r
8059 something starting with __ and the normal name is an alias. */
\r
8060 #if defined __stub_$ac_func || defined __stub___$ac_func
\r
8067 return $ac_func ();
\r
8072 rm -f conftest.$ac_objext conftest$ac_exeext
\r
8073 if { (ac_try="$ac_link"
\r
8074 case "(($ac_try" in
\r
8075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
8076 *) ac_try_echo=$ac_try;;
\r
8078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
8079 (eval "$ac_link") 2>conftest.er1
\r
8081 grep -v '^ *+' conftest.er1 >conftest.err
\r
8082 rm -f conftest.er1
\r
8083 cat conftest.err >&5
\r
8084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
8085 (exit $ac_status); } && {
\r
8086 test -z "$ac_c_werror_flag" ||
\r
8087 test ! -s conftest.err
\r
8088 } && test -s conftest$ac_exeext &&
\r
8089 $as_test_x conftest$ac_exeext; then
\r
8090 eval "$as_ac_var=yes"
\r
8092 echo "$as_me: failed program was:" >&5
\r
8093 sed 's/^/| /' conftest.$ac_ext >&5
\r
8095 eval "$as_ac_var=no"
\r
8098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
8099 conftest$ac_exeext conftest.$ac_ext
\r
8101 ac_res=`eval echo '${'$as_ac_var'}'`
\r
8102 { echo "$as_me:$LINENO: result: $ac_res" >&5
\r
8103 echo "${ECHO_T}$ac_res" >&6; }
\r
8104 if test `eval echo '${'$as_ac_var'}'` = yes; then
\r
8105 cat >>confdefs.h <<_ACEOF
\r
8106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
\r
8112 { echo "$as_me:$LINENO: checking for setlocale" >&5
\r
8113 echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; }
\r
8114 if test "${ac_cv_func_setlocale+set}" = set; then
\r
8115 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
8117 cat >conftest.$ac_ext <<_ACEOF
\r
8120 cat confdefs.h >>conftest.$ac_ext
\r
8121 cat >>conftest.$ac_ext <<_ACEOF
\r
8122 /* end confdefs.h. */
\r
8123 /* Define setlocale to an innocuous variant, in case <limits.h> declares setlocale.
\r
8124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
\r
8125 #define setlocale innocuous_setlocale
\r
8127 /* System header to define __stub macros and hopefully few prototypes,
\r
8128 which can conflict with char setlocale (); below.
\r
8129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
\r
8130 <limits.h> exists even on freestanding compilers. */
\r
8133 # include <limits.h>
\r
8135 # include <assert.h>
\r
8140 /* Override any GCC internal prototype to avoid an error.
\r
8141 Use char because int might match the return type of a GCC
\r
8142 builtin and then its argument prototype would still apply. */
\r
8143 #ifdef __cplusplus
\r
8146 char setlocale ();
\r
8147 /* The GNU C library defines this for functions which it implements
\r
8148 to always fail with ENOSYS. Some functions are actually named
\r
8149 something starting with __ and the normal name is an alias. */
\r
8150 #if defined __stub_setlocale || defined __stub___setlocale
\r
8157 return setlocale ();
\r
8162 rm -f conftest.$ac_objext conftest$ac_exeext
\r
8163 if { (ac_try="$ac_link"
\r
8164 case "(($ac_try" in
\r
8165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
8166 *) ac_try_echo=$ac_try;;
\r
8168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
8169 (eval "$ac_link") 2>conftest.er1
\r
8171 grep -v '^ *+' conftest.er1 >conftest.err
\r
8172 rm -f conftest.er1
\r
8173 cat conftest.err >&5
\r
8174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
8175 (exit $ac_status); } && {
\r
8176 test -z "$ac_c_werror_flag" ||
\r
8177 test ! -s conftest.err
\r
8178 } && test -s conftest$ac_exeext &&
\r
8179 $as_test_x conftest$ac_exeext; then
\r
8180 ac_cv_func_setlocale=yes
\r
8182 echo "$as_me: failed program was:" >&5
\r
8183 sed 's/^/| /' conftest.$ac_ext >&5
\r
8185 ac_cv_func_setlocale=no
\r
8188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
8189 conftest$ac_exeext conftest.$ac_ext
\r
8191 { echo "$as_me:$LINENO: result: $ac_cv_func_setlocale" >&5
\r
8192 echo "${ECHO_T}$ac_cv_func_setlocale" >&6; }
\r
8193 if test $ac_cv_func_setlocale = yes; then
\r
8197 { echo "$as_me:$LINENO: checking for setlocale in -li" >&5
\r
8198 echo $ECHO_N "checking for setlocale in -li... $ECHO_C" >&6; }
\r
8199 if test "${ac_cv_lib_i_setlocale+set}" = set; then
\r
8200 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
8202 ac_check_lib_save_LIBS=$LIBS
\r
8204 cat >conftest.$ac_ext <<_ACEOF
\r
8207 cat confdefs.h >>conftest.$ac_ext
\r
8208 cat >>conftest.$ac_ext <<_ACEOF
\r
8209 /* end confdefs.h. */
\r
8211 /* Override any GCC internal prototype to avoid an error.
\r
8212 Use char because int might match the return type of a GCC
\r
8213 builtin and then its argument prototype would still apply. */
\r
8214 #ifdef __cplusplus
\r
8217 char setlocale ();
\r
8221 return setlocale ();
\r
8226 rm -f conftest.$ac_objext conftest$ac_exeext
\r
8227 if { (ac_try="$ac_link"
\r
8228 case "(($ac_try" in
\r
8229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
8230 *) ac_try_echo=$ac_try;;
\r
8232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
8233 (eval "$ac_link") 2>conftest.er1
\r
8235 grep -v '^ *+' conftest.er1 >conftest.err
\r
8236 rm -f conftest.er1
\r
8237 cat conftest.err >&5
\r
8238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
8239 (exit $ac_status); } && {
\r
8240 test -z "$ac_c_werror_flag" ||
\r
8241 test ! -s conftest.err
\r
8242 } && test -s conftest$ac_exeext &&
\r
8243 $as_test_x conftest$ac_exeext; then
\r
8244 ac_cv_lib_i_setlocale=yes
\r
8246 echo "$as_me: failed program was:" >&5
\r
8247 sed 's/^/| /' conftest.$ac_ext >&5
\r
8249 ac_cv_lib_i_setlocale=no
\r
8252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
8253 conftest$ac_exeext conftest.$ac_ext
\r
8254 LIBS=$ac_check_lib_save_LIBS
\r
8256 { echo "$as_me:$LINENO: result: $ac_cv_lib_i_setlocale" >&5
\r
8257 echo "${ECHO_T}$ac_cv_lib_i_setlocale" >&6; }
\r
8258 if test $ac_cv_lib_i_setlocale = yes; then
\r
8259 cat >>confdefs.h <<_ACEOF
\r
8260 #define HAVE_LIBI 1
\r
8266 cat >>confdefs.h <<\_ACEOF
\r
8267 #define X_LOCALE 1
\r
8276 { echo "$as_me:$LINENO: checking for getpseudotty in -lseq" >&5
\r
8277 echo $ECHO_N "checking for getpseudotty in -lseq... $ECHO_C" >&6; }
\r
8278 if test "${ac_cv_lib_seq_getpseudotty+set}" = set; then
\r
8279 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
8281 ac_check_lib_save_LIBS=$LIBS
\r
8282 LIBS="-lseq $LIBS"
\r
8283 cat >conftest.$ac_ext <<_ACEOF
\r
8286 cat confdefs.h >>conftest.$ac_ext
\r
8287 cat >>conftest.$ac_ext <<_ACEOF
\r
8288 /* end confdefs.h. */
\r
8290 /* Override any GCC internal prototype to avoid an error.
\r
8291 Use char because int might match the return type of a GCC
\r
8292 builtin and then its argument prototype would still apply. */
\r
8293 #ifdef __cplusplus
\r
8296 char getpseudotty ();
\r
8300 return getpseudotty ();
\r
8305 rm -f conftest.$ac_objext conftest$ac_exeext
\r
8306 if { (ac_try="$ac_link"
\r
8307 case "(($ac_try" in
\r
8308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
8309 *) ac_try_echo=$ac_try;;
\r
8311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
8312 (eval "$ac_link") 2>conftest.er1
\r
8314 grep -v '^ *+' conftest.er1 >conftest.err
\r
8315 rm -f conftest.er1
\r
8316 cat conftest.err >&5
\r
8317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
8318 (exit $ac_status); } && {
\r
8319 test -z "$ac_c_werror_flag" ||
\r
8320 test ! -s conftest.err
\r
8321 } && test -s conftest$ac_exeext &&
\r
8322 $as_test_x conftest$ac_exeext; then
\r
8323 ac_cv_lib_seq_getpseudotty=yes
\r
8325 echo "$as_me: failed program was:" >&5
\r
8326 sed 's/^/| /' conftest.$ac_ext >&5
\r
8328 ac_cv_lib_seq_getpseudotty=no
\r
8331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
8332 conftest$ac_exeext conftest.$ac_ext
\r
8333 LIBS=$ac_check_lib_save_LIBS
\r
8335 { echo "$as_me:$LINENO: result: $ac_cv_lib_seq_getpseudotty" >&5
\r
8336 echo "${ECHO_T}$ac_cv_lib_seq_getpseudotty" >&6; }
\r
8337 if test $ac_cv_lib_seq_getpseudotty = yes; then
\r
8338 cat >>confdefs.h <<_ACEOF
\r
8339 #define HAVE_LIBSEQ 1
\r
8342 LIBS="-lseq $LIBS"
\r
8347 { echo "$as_me:$LINENO: checking for X" >&5
\r
8348 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
\r
8351 # Check whether --with-x was given.
\r
8352 if test "${with_x+set}" = set; then
\r
8356 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
\r
8357 if test "x$with_x" = xno; then
\r
8358 # The user explicitly disabled X.
\r
8361 case $x_includes,$x_libraries in #(
\r
8362 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
\r
8363 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
\r
8364 { (exit 1); exit 1; }; };; #(
\r
8365 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
\r
8366 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
8368 # One or both of the vars are not set, and there is no cached value.
\r
8369 ac_x_includes=no ac_x_libraries=no
\r
8370 rm -f -r conftest.dir
\r
8371 if mkdir conftest.dir; then
\r
8373 cat >Imakefile <<'_ACEOF'
\r
8375 @echo incroot='${INCROOT}'
\r
8377 @echo usrlibdir='${USRLIBDIR}'
\r
8379 @echo libdir='${LIBDIR}'
\r
8381 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
\r
8382 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
\r
8383 for ac_var in incroot usrlibdir libdir; do
\r
8384 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
\r
8386 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
\r
8387 for ac_extension in a so sl; do
\r
8388 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
\r
8389 test -f "$ac_im_libdir/libX11.$ac_extension"; then
\r
8390 ac_im_usrlibdir=$ac_im_libdir; break
\r
8393 # Screen out bogus values from the imake configuration. They are
\r
8394 # bogus both because they are the default anyway, and because
\r
8395 # using them would break gcc on systems where it needs fixed includes.
\r
8396 case $ac_im_incroot in
\r
8397 /usr/include) ac_x_includes= ;;
\r
8398 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
\r
8400 case $ac_im_usrlibdir in
\r
8401 /usr/lib | /lib) ;;
\r
8402 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
\r
8406 rm -f -r conftest.dir
\r
8409 # Standard set of common directories for X headers.
\r
8410 # Check X11 before X11Rn because it is often a symlink to the current release.
\r
8411 ac_x_header_dirs='
\r
8413 /usr/X11R6/include
\r
8414 /usr/X11R5/include
\r
8415 /usr/X11R4/include
\r
8418 /usr/include/X11R6
\r
8419 /usr/include/X11R5
\r
8420 /usr/include/X11R4
\r
8422 /usr/local/X11/include
\r
8423 /usr/local/X11R6/include
\r
8424 /usr/local/X11R5/include
\r
8425 /usr/local/X11R4/include
\r
8427 /usr/local/include/X11
\r
8428 /usr/local/include/X11R6
\r
8429 /usr/local/include/X11R5
\r
8430 /usr/local/include/X11R4
\r
8434 /usr/XFree86/include/X11
\r
8437 /usr/local/include
\r
8438 /usr/unsupported/include
\r
8439 /usr/athena/include
\r
8440 /usr/local/x11r5/include
\r
8441 /usr/lpp/Xamples/include
\r
8443 /usr/openwin/include
\r
8444 /usr/openwin/share/include'
\r
8446 if test "$ac_x_includes" = no; then
\r
8447 # Guess where to find include files, by looking for Xlib.h.
\r
8448 # First, try using that file with no special directory specified.
\r
8449 cat >conftest.$ac_ext <<_ACEOF
\r
8452 cat confdefs.h >>conftest.$ac_ext
\r
8453 cat >>conftest.$ac_ext <<_ACEOF
\r
8454 /* end confdefs.h. */
\r
8455 #include <X11/Xlib.h>
\r
8457 if { (ac_try="$ac_cpp conftest.$ac_ext"
\r
8458 case "(($ac_try" in
\r
8459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
8460 *) ac_try_echo=$ac_try;;
\r
8462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
8463 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
\r
8465 grep -v '^ *+' conftest.er1 >conftest.err
\r
8466 rm -f conftest.er1
\r
8467 cat conftest.err >&5
\r
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
8469 (exit $ac_status); } >/dev/null && {
\r
8470 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
\r
8471 test ! -s conftest.err
\r
8473 # We can compile using X headers with no special include directory.
\r
8476 echo "$as_me: failed program was:" >&5
\r
8477 sed 's/^/| /' conftest.$ac_ext >&5
\r
8479 for ac_dir in $ac_x_header_dirs; do
\r
8480 if test -r "$ac_dir/X11/Xlib.h"; then
\r
8481 ac_x_includes=$ac_dir
\r
8487 rm -f conftest.err conftest.$ac_ext
\r
8488 fi # $ac_x_includes = no
\r
8490 if test "$ac_x_libraries" = no; then
\r
8491 # Check for the libraries.
\r
8492 # See if we find them without any special options.
\r
8493 # Don't add to $LIBS permanently.
\r
8494 ac_save_LIBS=$LIBS
\r
8495 LIBS="-lX11 $LIBS"
\r
8496 cat >conftest.$ac_ext <<_ACEOF
\r
8499 cat confdefs.h >>conftest.$ac_ext
\r
8500 cat >>conftest.$ac_ext <<_ACEOF
\r
8501 /* end confdefs.h. */
\r
8502 #include <X11/Xlib.h>
\r
8511 rm -f conftest.$ac_objext conftest$ac_exeext
\r
8512 if { (ac_try="$ac_link"
\r
8513 case "(($ac_try" in
\r
8514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
8515 *) ac_try_echo=$ac_try;;
\r
8517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
8518 (eval "$ac_link") 2>conftest.er1
\r
8520 grep -v '^ *+' conftest.er1 >conftest.err
\r
8521 rm -f conftest.er1
\r
8522 cat conftest.err >&5
\r
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
8524 (exit $ac_status); } && {
\r
8525 test -z "$ac_c_werror_flag" ||
\r
8526 test ! -s conftest.err
\r
8527 } && test -s conftest$ac_exeext &&
\r
8528 $as_test_x conftest$ac_exeext; then
\r
8529 LIBS=$ac_save_LIBS
\r
8530 # We can link X programs with no special library path.
\r
8533 echo "$as_me: failed program was:" >&5
\r
8534 sed 's/^/| /' conftest.$ac_ext >&5
\r
8536 LIBS=$ac_save_LIBS
\r
8537 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
\r
8539 # Don't even attempt the hair of trying to link an X program!
\r
8540 for ac_extension in a so sl; do
\r
8541 if test -r "$ac_dir/libX11.$ac_extension"; then
\r
8542 ac_x_libraries=$ac_dir
\r
8549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
8550 conftest$ac_exeext conftest.$ac_ext
\r
8551 fi # $ac_x_libraries = no
\r
8553 case $ac_x_includes,$ac_x_libraries in #(
\r
8554 no,* | *,no | *\'*)
\r
8555 # Didn't find X, or a directory has "'" in its name.
\r
8556 ac_cv_have_x="have_x=no";; #(
\r
8558 # Record where we found X for the cache.
\r
8559 ac_cv_have_x="have_x=yes\
\r
8560 ac_x_includes='$ac_x_includes'\
\r
8561 ac_x_libraries='$ac_x_libraries'"
\r
8567 eval "$ac_cv_have_x"
\r
8568 fi # $with_x != no
\r
8570 if test "$have_x" != yes; then
\r
8571 { echo "$as_me:$LINENO: result: $have_x" >&5
\r
8572 echo "${ECHO_T}$have_x" >&6; }
\r
8575 # If each of the values was on the command line, it overrides each guess.
\r
8576 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
\r
8577 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
\r
8578 # Update the cache value to reflect the command line values.
\r
8579 ac_cv_have_x="have_x=yes\
\r
8580 ac_x_includes='$x_includes'\
\r
8581 ac_x_libraries='$x_libraries'"
\r
8582 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
\r
8583 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
\r
8586 if test "$no_x" = yes; then
\r
8587 # Not all programs may use this symbol, but it does not hurt to define it.
\r
8589 cat >>confdefs.h <<\_ACEOF
\r
8590 #define X_DISPLAY_MISSING 1
\r
8593 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
\r
8595 if test -n "$x_includes"; then
\r
8596 X_CFLAGS="$X_CFLAGS -I$x_includes"
\r
8599 # It would also be nice to do this for all -L options, not just this one.
\r
8600 if test -n "$x_libraries"; then
\r
8601 X_LIBS="$X_LIBS -L$x_libraries"
\r
8602 # For Solaris; some versions of Sun CC require a space after -R and
\r
8603 # others require no space. Words are not sufficient . . . .
\r
8604 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
\r
8605 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
\r
8606 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
\r
8607 ac_xsave_c_werror_flag=$ac_c_werror_flag
\r
8608 ac_c_werror_flag=yes
\r
8609 cat >conftest.$ac_ext <<_ACEOF
\r
8612 cat confdefs.h >>conftest.$ac_ext
\r
8613 cat >>conftest.$ac_ext <<_ACEOF
\r
8614 /* end confdefs.h. */
\r
8624 rm -f conftest.$ac_objext conftest$ac_exeext
\r
8625 if { (ac_try="$ac_link"
\r
8626 case "(($ac_try" in
\r
8627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
8628 *) ac_try_echo=$ac_try;;
\r
8630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
8631 (eval "$ac_link") 2>conftest.er1
\r
8633 grep -v '^ *+' conftest.er1 >conftest.err
\r
8634 rm -f conftest.er1
\r
8635 cat conftest.err >&5
\r
8636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
8637 (exit $ac_status); } && {
\r
8638 test -z "$ac_c_werror_flag" ||
\r
8639 test ! -s conftest.err
\r
8640 } && test -s conftest$ac_exeext &&
\r
8641 $as_test_x conftest$ac_exeext; then
\r
8642 { echo "$as_me:$LINENO: result: no" >&5
\r
8643 echo "${ECHO_T}no" >&6; }
\r
8644 X_LIBS="$X_LIBS -R$x_libraries"
\r
8646 echo "$as_me: failed program was:" >&5
\r
8647 sed 's/^/| /' conftest.$ac_ext >&5
\r
8649 LIBS="$ac_xsave_LIBS -R $x_libraries"
\r
8650 cat >conftest.$ac_ext <<_ACEOF
\r
8653 cat confdefs.h >>conftest.$ac_ext
\r
8654 cat >>conftest.$ac_ext <<_ACEOF
\r
8655 /* end confdefs.h. */
\r
8665 rm -f conftest.$ac_objext conftest$ac_exeext
\r
8666 if { (ac_try="$ac_link"
\r
8667 case "(($ac_try" in
\r
8668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
8669 *) ac_try_echo=$ac_try;;
\r
8671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
8672 (eval "$ac_link") 2>conftest.er1
\r
8674 grep -v '^ *+' conftest.er1 >conftest.err
\r
8675 rm -f conftest.er1
\r
8676 cat conftest.err >&5
\r
8677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
8678 (exit $ac_status); } && {
\r
8679 test -z "$ac_c_werror_flag" ||
\r
8680 test ! -s conftest.err
\r
8681 } && test -s conftest$ac_exeext &&
\r
8682 $as_test_x conftest$ac_exeext; then
\r
8683 { echo "$as_me:$LINENO: result: yes" >&5
\r
8684 echo "${ECHO_T}yes" >&6; }
\r
8685 X_LIBS="$X_LIBS -R $x_libraries"
\r
8687 echo "$as_me: failed program was:" >&5
\r
8688 sed 's/^/| /' conftest.$ac_ext >&5
\r
8690 { echo "$as_me:$LINENO: result: neither works" >&5
\r
8691 echo "${ECHO_T}neither works" >&6; }
\r
8694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
8695 conftest$ac_exeext conftest.$ac_ext
\r
8698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
8699 conftest$ac_exeext conftest.$ac_ext
\r
8700 ac_c_werror_flag=$ac_xsave_c_werror_flag
\r
8701 LIBS=$ac_xsave_LIBS
\r
8704 # Check for system-dependent libraries X programs must link with.
\r
8705 # Do this before checking for the system-independent R6 libraries
\r
8706 # (-lICE), since we may need -lsocket or whatever for X linking.
\r
8708 if test "$ISC" = yes; then
\r
8709 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
\r
8711 # Martyn Johnson says this is needed for Ultrix, if the X
\r
8712 # libraries were built with DECnet support. And Karl Berry says
\r
8713 # the Alpha needs dnet_stub (dnet does not exist).
\r
8714 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
\r
8715 cat >conftest.$ac_ext <<_ACEOF
\r
8718 cat confdefs.h >>conftest.$ac_ext
\r
8719 cat >>conftest.$ac_ext <<_ACEOF
\r
8720 /* end confdefs.h. */
\r
8722 /* Override any GCC internal prototype to avoid an error.
\r
8723 Use char because int might match the return type of a GCC
\r
8724 builtin and then its argument prototype would still apply. */
\r
8725 #ifdef __cplusplus
\r
8728 char XOpenDisplay ();
\r
8732 return XOpenDisplay ();
\r
8737 rm -f conftest.$ac_objext conftest$ac_exeext
\r
8738 if { (ac_try="$ac_link"
\r
8739 case "(($ac_try" in
\r
8740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
8741 *) ac_try_echo=$ac_try;;
\r
8743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
8744 (eval "$ac_link") 2>conftest.er1
\r
8746 grep -v '^ *+' conftest.er1 >conftest.err
\r
8747 rm -f conftest.er1
\r
8748 cat conftest.err >&5
\r
8749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
8750 (exit $ac_status); } && {
\r
8751 test -z "$ac_c_werror_flag" ||
\r
8752 test ! -s conftest.err
\r
8753 } && test -s conftest$ac_exeext &&
\r
8754 $as_test_x conftest$ac_exeext; then
\r
8757 echo "$as_me: failed program was:" >&5
\r
8758 sed 's/^/| /' conftest.$ac_ext >&5
\r
8760 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
\r
8761 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
\r
8762 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
\r
8763 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
8765 ac_check_lib_save_LIBS=$LIBS
\r
8766 LIBS="-ldnet $LIBS"
\r
8767 cat >conftest.$ac_ext <<_ACEOF
\r
8770 cat confdefs.h >>conftest.$ac_ext
\r
8771 cat >>conftest.$ac_ext <<_ACEOF
\r
8772 /* end confdefs.h. */
\r
8774 /* Override any GCC internal prototype to avoid an error.
\r
8775 Use char because int might match the return type of a GCC
\r
8776 builtin and then its argument prototype would still apply. */
\r
8777 #ifdef __cplusplus
\r
8780 char dnet_ntoa ();
\r
8784 return dnet_ntoa ();
\r
8789 rm -f conftest.$ac_objext conftest$ac_exeext
\r
8790 if { (ac_try="$ac_link"
\r
8791 case "(($ac_try" in
\r
8792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
8793 *) ac_try_echo=$ac_try;;
\r
8795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
8796 (eval "$ac_link") 2>conftest.er1
\r
8798 grep -v '^ *+' conftest.er1 >conftest.err
\r
8799 rm -f conftest.er1
\r
8800 cat conftest.err >&5
\r
8801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
8802 (exit $ac_status); } && {
\r
8803 test -z "$ac_c_werror_flag" ||
\r
8804 test ! -s conftest.err
\r
8805 } && test -s conftest$ac_exeext &&
\r
8806 $as_test_x conftest$ac_exeext; then
\r
8807 ac_cv_lib_dnet_dnet_ntoa=yes
\r
8809 echo "$as_me: failed program was:" >&5
\r
8810 sed 's/^/| /' conftest.$ac_ext >&5
\r
8812 ac_cv_lib_dnet_dnet_ntoa=no
\r
8815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
8816 conftest$ac_exeext conftest.$ac_ext
\r
8817 LIBS=$ac_check_lib_save_LIBS
\r
8819 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
\r
8820 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
\r
8821 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
\r
8822 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
\r
8825 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
\r
8826 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
\r
8827 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
\r
8828 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
\r
8829 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
8831 ac_check_lib_save_LIBS=$LIBS
\r
8832 LIBS="-ldnet_stub $LIBS"
\r
8833 cat >conftest.$ac_ext <<_ACEOF
\r
8836 cat confdefs.h >>conftest.$ac_ext
\r
8837 cat >>conftest.$ac_ext <<_ACEOF
\r
8838 /* end confdefs.h. */
\r
8840 /* Override any GCC internal prototype to avoid an error.
\r
8841 Use char because int might match the return type of a GCC
\r
8842 builtin and then its argument prototype would still apply. */
\r
8843 #ifdef __cplusplus
\r
8846 char dnet_ntoa ();
\r
8850 return dnet_ntoa ();
\r
8855 rm -f conftest.$ac_objext conftest$ac_exeext
\r
8856 if { (ac_try="$ac_link"
\r
8857 case "(($ac_try" in
\r
8858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
8859 *) ac_try_echo=$ac_try;;
\r
8861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
8862 (eval "$ac_link") 2>conftest.er1
\r
8864 grep -v '^ *+' conftest.er1 >conftest.err
\r
8865 rm -f conftest.er1
\r
8866 cat conftest.err >&5
\r
8867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
8868 (exit $ac_status); } && {
\r
8869 test -z "$ac_c_werror_flag" ||
\r
8870 test ! -s conftest.err
\r
8871 } && test -s conftest$ac_exeext &&
\r
8872 $as_test_x conftest$ac_exeext; then
\r
8873 ac_cv_lib_dnet_stub_dnet_ntoa=yes
\r
8875 echo "$as_me: failed program was:" >&5
\r
8876 sed 's/^/| /' conftest.$ac_ext >&5
\r
8878 ac_cv_lib_dnet_stub_dnet_ntoa=no
\r
8881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
8882 conftest$ac_exeext conftest.$ac_ext
\r
8883 LIBS=$ac_check_lib_save_LIBS
\r
8885 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
\r
8886 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
\r
8887 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
\r
8888 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
\r
8894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
8895 conftest$ac_exeext conftest.$ac_ext
\r
8896 LIBS="$ac_xsave_LIBS"
\r
8898 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
\r
8899 # to get the SysV transport functions.
\r
8900 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
\r
8902 # The nsl library prevents programs from opening the X display
\r
8903 # on Irix 5.2, according to T.E. Dickey.
\r
8904 # The functions gethostbyname, getservbyname, and inet_addr are
\r
8905 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
\r
8906 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
\r
8907 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
\r
8908 if test "${ac_cv_func_gethostbyname+set}" = set; then
\r
8909 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
8911 cat >conftest.$ac_ext <<_ACEOF
\r
8914 cat confdefs.h >>conftest.$ac_ext
\r
8915 cat >>conftest.$ac_ext <<_ACEOF
\r
8916 /* end confdefs.h. */
\r
8917 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
\r
8918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
\r
8919 #define gethostbyname innocuous_gethostbyname
\r
8921 /* System header to define __stub macros and hopefully few prototypes,
\r
8922 which can conflict with char gethostbyname (); below.
\r
8923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
\r
8924 <limits.h> exists even on freestanding compilers. */
\r
8927 # include <limits.h>
\r
8929 # include <assert.h>
\r
8932 #undef gethostbyname
\r
8934 /* Override any GCC internal prototype to avoid an error.
\r
8935 Use char because int might match the return type of a GCC
\r
8936 builtin and then its argument prototype would still apply. */
\r
8937 #ifdef __cplusplus
\r
8940 char gethostbyname ();
\r
8941 /* The GNU C library defines this for functions which it implements
\r
8942 to always fail with ENOSYS. Some functions are actually named
\r
8943 something starting with __ and the normal name is an alias. */
\r
8944 #if defined __stub_gethostbyname || defined __stub___gethostbyname
\r
8951 return gethostbyname ();
\r
8956 rm -f conftest.$ac_objext conftest$ac_exeext
\r
8957 if { (ac_try="$ac_link"
\r
8958 case "(($ac_try" in
\r
8959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
8960 *) ac_try_echo=$ac_try;;
\r
8962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
8963 (eval "$ac_link") 2>conftest.er1
\r
8965 grep -v '^ *+' conftest.er1 >conftest.err
\r
8966 rm -f conftest.er1
\r
8967 cat conftest.err >&5
\r
8968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
8969 (exit $ac_status); } && {
\r
8970 test -z "$ac_c_werror_flag" ||
\r
8971 test ! -s conftest.err
\r
8972 } && test -s conftest$ac_exeext &&
\r
8973 $as_test_x conftest$ac_exeext; then
\r
8974 ac_cv_func_gethostbyname=yes
\r
8976 echo "$as_me: failed program was:" >&5
\r
8977 sed 's/^/| /' conftest.$ac_ext >&5
\r
8979 ac_cv_func_gethostbyname=no
\r
8982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
8983 conftest$ac_exeext conftest.$ac_ext
\r
8985 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
\r
8986 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
\r
8988 if test $ac_cv_func_gethostbyname = no; then
\r
8989 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
\r
8990 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
\r
8991 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
\r
8992 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
8994 ac_check_lib_save_LIBS=$LIBS
\r
8995 LIBS="-lnsl $LIBS"
\r
8996 cat >conftest.$ac_ext <<_ACEOF
\r
8999 cat confdefs.h >>conftest.$ac_ext
\r
9000 cat >>conftest.$ac_ext <<_ACEOF
\r
9001 /* end confdefs.h. */
\r
9003 /* Override any GCC internal prototype to avoid an error.
\r
9004 Use char because int might match the return type of a GCC
\r
9005 builtin and then its argument prototype would still apply. */
\r
9006 #ifdef __cplusplus
\r
9009 char gethostbyname ();
\r
9013 return gethostbyname ();
\r
9018 rm -f conftest.$ac_objext conftest$ac_exeext
\r
9019 if { (ac_try="$ac_link"
\r
9020 case "(($ac_try" in
\r
9021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
9022 *) ac_try_echo=$ac_try;;
\r
9024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
9025 (eval "$ac_link") 2>conftest.er1
\r
9027 grep -v '^ *+' conftest.er1 >conftest.err
\r
9028 rm -f conftest.er1
\r
9029 cat conftest.err >&5
\r
9030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
9031 (exit $ac_status); } && {
\r
9032 test -z "$ac_c_werror_flag" ||
\r
9033 test ! -s conftest.err
\r
9034 } && test -s conftest$ac_exeext &&
\r
9035 $as_test_x conftest$ac_exeext; then
\r
9036 ac_cv_lib_nsl_gethostbyname=yes
\r
9038 echo "$as_me: failed program was:" >&5
\r
9039 sed 's/^/| /' conftest.$ac_ext >&5
\r
9041 ac_cv_lib_nsl_gethostbyname=no
\r
9044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
9045 conftest$ac_exeext conftest.$ac_ext
\r
9046 LIBS=$ac_check_lib_save_LIBS
\r
9048 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
\r
9049 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
\r
9050 if test $ac_cv_lib_nsl_gethostbyname = yes; then
\r
9051 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
\r
9054 if test $ac_cv_lib_nsl_gethostbyname = no; then
\r
9055 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
\r
9056 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
\r
9057 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
\r
9058 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
9060 ac_check_lib_save_LIBS=$LIBS
\r
9061 LIBS="-lbsd $LIBS"
\r
9062 cat >conftest.$ac_ext <<_ACEOF
\r
9065 cat confdefs.h >>conftest.$ac_ext
\r
9066 cat >>conftest.$ac_ext <<_ACEOF
\r
9067 /* end confdefs.h. */
\r
9069 /* Override any GCC internal prototype to avoid an error.
\r
9070 Use char because int might match the return type of a GCC
\r
9071 builtin and then its argument prototype would still apply. */
\r
9072 #ifdef __cplusplus
\r
9075 char gethostbyname ();
\r
9079 return gethostbyname ();
\r
9084 rm -f conftest.$ac_objext conftest$ac_exeext
\r
9085 if { (ac_try="$ac_link"
\r
9086 case "(($ac_try" in
\r
9087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
9088 *) ac_try_echo=$ac_try;;
\r
9090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
9091 (eval "$ac_link") 2>conftest.er1
\r
9093 grep -v '^ *+' conftest.er1 >conftest.err
\r
9094 rm -f conftest.er1
\r
9095 cat conftest.err >&5
\r
9096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
9097 (exit $ac_status); } && {
\r
9098 test -z "$ac_c_werror_flag" ||
\r
9099 test ! -s conftest.err
\r
9100 } && test -s conftest$ac_exeext &&
\r
9101 $as_test_x conftest$ac_exeext; then
\r
9102 ac_cv_lib_bsd_gethostbyname=yes
\r
9104 echo "$as_me: failed program was:" >&5
\r
9105 sed 's/^/| /' conftest.$ac_ext >&5
\r
9107 ac_cv_lib_bsd_gethostbyname=no
\r
9110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
9111 conftest$ac_exeext conftest.$ac_ext
\r
9112 LIBS=$ac_check_lib_save_LIBS
\r
9114 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
\r
9115 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
\r
9116 if test $ac_cv_lib_bsd_gethostbyname = yes; then
\r
9117 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
\r
9123 # lieder@skyler.mavd.honeywell.com says without -lsocket,
\r
9124 # socket/setsockopt and other routines are undefined under SCO ODT
\r
9125 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
\r
9126 # on later versions), says Simon Leinen: it contains gethostby*
\r
9127 # variants that don't use the name server (or something). -lsocket
\r
9128 # must be given before -lnsl if both are needed. We assume that
\r
9129 # if connect needs -lnsl, so does gethostbyname.
\r
9130 { echo "$as_me:$LINENO: checking for connect" >&5
\r
9131 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
\r
9132 if test "${ac_cv_func_connect+set}" = set; then
\r
9133 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
9135 cat >conftest.$ac_ext <<_ACEOF
\r
9138 cat confdefs.h >>conftest.$ac_ext
\r
9139 cat >>conftest.$ac_ext <<_ACEOF
\r
9140 /* end confdefs.h. */
\r
9141 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
\r
9142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
\r
9143 #define connect innocuous_connect
\r
9145 /* System header to define __stub macros and hopefully few prototypes,
\r
9146 which can conflict with char connect (); below.
\r
9147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
\r
9148 <limits.h> exists even on freestanding compilers. */
\r
9151 # include <limits.h>
\r
9153 # include <assert.h>
\r
9158 /* Override any GCC internal prototype to avoid an error.
\r
9159 Use char because int might match the return type of a GCC
\r
9160 builtin and then its argument prototype would still apply. */
\r
9161 #ifdef __cplusplus
\r
9165 /* The GNU C library defines this for functions which it implements
\r
9166 to always fail with ENOSYS. Some functions are actually named
\r
9167 something starting with __ and the normal name is an alias. */
\r
9168 #if defined __stub_connect || defined __stub___connect
\r
9175 return connect ();
\r
9180 rm -f conftest.$ac_objext conftest$ac_exeext
\r
9181 if { (ac_try="$ac_link"
\r
9182 case "(($ac_try" in
\r
9183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
9184 *) ac_try_echo=$ac_try;;
\r
9186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
9187 (eval "$ac_link") 2>conftest.er1
\r
9189 grep -v '^ *+' conftest.er1 >conftest.err
\r
9190 rm -f conftest.er1
\r
9191 cat conftest.err >&5
\r
9192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
9193 (exit $ac_status); } && {
\r
9194 test -z "$ac_c_werror_flag" ||
\r
9195 test ! -s conftest.err
\r
9196 } && test -s conftest$ac_exeext &&
\r
9197 $as_test_x conftest$ac_exeext; then
\r
9198 ac_cv_func_connect=yes
\r
9200 echo "$as_me: failed program was:" >&5
\r
9201 sed 's/^/| /' conftest.$ac_ext >&5
\r
9203 ac_cv_func_connect=no
\r
9206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
9207 conftest$ac_exeext conftest.$ac_ext
\r
9209 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
\r
9210 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
\r
9212 if test $ac_cv_func_connect = no; then
\r
9213 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
\r
9214 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
\r
9215 if test "${ac_cv_lib_socket_connect+set}" = set; then
\r
9216 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
9218 ac_check_lib_save_LIBS=$LIBS
\r
9219 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
\r
9220 cat >conftest.$ac_ext <<_ACEOF
\r
9223 cat confdefs.h >>conftest.$ac_ext
\r
9224 cat >>conftest.$ac_ext <<_ACEOF
\r
9225 /* end confdefs.h. */
\r
9227 /* Override any GCC internal prototype to avoid an error.
\r
9228 Use char because int might match the return type of a GCC
\r
9229 builtin and then its argument prototype would still apply. */
\r
9230 #ifdef __cplusplus
\r
9237 return connect ();
\r
9242 rm -f conftest.$ac_objext conftest$ac_exeext
\r
9243 if { (ac_try="$ac_link"
\r
9244 case "(($ac_try" in
\r
9245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
9246 *) ac_try_echo=$ac_try;;
\r
9248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
9249 (eval "$ac_link") 2>conftest.er1
\r
9251 grep -v '^ *+' conftest.er1 >conftest.err
\r
9252 rm -f conftest.er1
\r
9253 cat conftest.err >&5
\r
9254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
9255 (exit $ac_status); } && {
\r
9256 test -z "$ac_c_werror_flag" ||
\r
9257 test ! -s conftest.err
\r
9258 } && test -s conftest$ac_exeext &&
\r
9259 $as_test_x conftest$ac_exeext; then
\r
9260 ac_cv_lib_socket_connect=yes
\r
9262 echo "$as_me: failed program was:" >&5
\r
9263 sed 's/^/| /' conftest.$ac_ext >&5
\r
9265 ac_cv_lib_socket_connect=no
\r
9268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
9269 conftest$ac_exeext conftest.$ac_ext
\r
9270 LIBS=$ac_check_lib_save_LIBS
\r
9272 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
\r
9273 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
\r
9274 if test $ac_cv_lib_socket_connect = yes; then
\r
9275 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
\r
9280 # Guillermo Gomez says -lposix is necessary on A/UX.
\r
9281 { echo "$as_me:$LINENO: checking for remove" >&5
\r
9282 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
\r
9283 if test "${ac_cv_func_remove+set}" = set; then
\r
9284 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
9286 cat >conftest.$ac_ext <<_ACEOF
\r
9289 cat confdefs.h >>conftest.$ac_ext
\r
9290 cat >>conftest.$ac_ext <<_ACEOF
\r
9291 /* end confdefs.h. */
\r
9292 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
\r
9293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
\r
9294 #define remove innocuous_remove
\r
9296 /* System header to define __stub macros and hopefully few prototypes,
\r
9297 which can conflict with char remove (); below.
\r
9298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
\r
9299 <limits.h> exists even on freestanding compilers. */
\r
9302 # include <limits.h>
\r
9304 # include <assert.h>
\r
9309 /* Override any GCC internal prototype to avoid an error.
\r
9310 Use char because int might match the return type of a GCC
\r
9311 builtin and then its argument prototype would still apply. */
\r
9312 #ifdef __cplusplus
\r
9316 /* The GNU C library defines this for functions which it implements
\r
9317 to always fail with ENOSYS. Some functions are actually named
\r
9318 something starting with __ and the normal name is an alias. */
\r
9319 #if defined __stub_remove || defined __stub___remove
\r
9331 rm -f conftest.$ac_objext conftest$ac_exeext
\r
9332 if { (ac_try="$ac_link"
\r
9333 case "(($ac_try" in
\r
9334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
9335 *) ac_try_echo=$ac_try;;
\r
9337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
9338 (eval "$ac_link") 2>conftest.er1
\r
9340 grep -v '^ *+' conftest.er1 >conftest.err
\r
9341 rm -f conftest.er1
\r
9342 cat conftest.err >&5
\r
9343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
9344 (exit $ac_status); } && {
\r
9345 test -z "$ac_c_werror_flag" ||
\r
9346 test ! -s conftest.err
\r
9347 } && test -s conftest$ac_exeext &&
\r
9348 $as_test_x conftest$ac_exeext; then
\r
9349 ac_cv_func_remove=yes
\r
9351 echo "$as_me: failed program was:" >&5
\r
9352 sed 's/^/| /' conftest.$ac_ext >&5
\r
9354 ac_cv_func_remove=no
\r
9357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
9358 conftest$ac_exeext conftest.$ac_ext
\r
9360 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
\r
9361 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
\r
9363 if test $ac_cv_func_remove = no; then
\r
9364 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
\r
9365 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
\r
9366 if test "${ac_cv_lib_posix_remove+set}" = set; then
\r
9367 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
9369 ac_check_lib_save_LIBS=$LIBS
\r
9370 LIBS="-lposix $LIBS"
\r
9371 cat >conftest.$ac_ext <<_ACEOF
\r
9374 cat confdefs.h >>conftest.$ac_ext
\r
9375 cat >>conftest.$ac_ext <<_ACEOF
\r
9376 /* end confdefs.h. */
\r
9378 /* Override any GCC internal prototype to avoid an error.
\r
9379 Use char because int might match the return type of a GCC
\r
9380 builtin and then its argument prototype would still apply. */
\r
9381 #ifdef __cplusplus
\r
9393 rm -f conftest.$ac_objext conftest$ac_exeext
\r
9394 if { (ac_try="$ac_link"
\r
9395 case "(($ac_try" in
\r
9396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
9397 *) ac_try_echo=$ac_try;;
\r
9399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
9400 (eval "$ac_link") 2>conftest.er1
\r
9402 grep -v '^ *+' conftest.er1 >conftest.err
\r
9403 rm -f conftest.er1
\r
9404 cat conftest.err >&5
\r
9405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
9406 (exit $ac_status); } && {
\r
9407 test -z "$ac_c_werror_flag" ||
\r
9408 test ! -s conftest.err
\r
9409 } && test -s conftest$ac_exeext &&
\r
9410 $as_test_x conftest$ac_exeext; then
\r
9411 ac_cv_lib_posix_remove=yes
\r
9413 echo "$as_me: failed program was:" >&5
\r
9414 sed 's/^/| /' conftest.$ac_ext >&5
\r
9416 ac_cv_lib_posix_remove=no
\r
9419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
9420 conftest$ac_exeext conftest.$ac_ext
\r
9421 LIBS=$ac_check_lib_save_LIBS
\r
9423 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
\r
9424 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
\r
9425 if test $ac_cv_lib_posix_remove = yes; then
\r
9426 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
\r
9431 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
\r
9432 { echo "$as_me:$LINENO: checking for shmat" >&5
\r
9433 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
\r
9434 if test "${ac_cv_func_shmat+set}" = set; then
\r
9435 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
9437 cat >conftest.$ac_ext <<_ACEOF
\r
9440 cat confdefs.h >>conftest.$ac_ext
\r
9441 cat >>conftest.$ac_ext <<_ACEOF
\r
9442 /* end confdefs.h. */
\r
9443 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
\r
9444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
\r
9445 #define shmat innocuous_shmat
\r
9447 /* System header to define __stub macros and hopefully few prototypes,
\r
9448 which can conflict with char shmat (); below.
\r
9449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
\r
9450 <limits.h> exists even on freestanding compilers. */
\r
9453 # include <limits.h>
\r
9455 # include <assert.h>
\r
9460 /* Override any GCC internal prototype to avoid an error.
\r
9461 Use char because int might match the return type of a GCC
\r
9462 builtin and then its argument prototype would still apply. */
\r
9463 #ifdef __cplusplus
\r
9467 /* The GNU C library defines this for functions which it implements
\r
9468 to always fail with ENOSYS. Some functions are actually named
\r
9469 something starting with __ and the normal name is an alias. */
\r
9470 #if defined __stub_shmat || defined __stub___shmat
\r
9482 rm -f conftest.$ac_objext conftest$ac_exeext
\r
9483 if { (ac_try="$ac_link"
\r
9484 case "(($ac_try" in
\r
9485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
9486 *) ac_try_echo=$ac_try;;
\r
9488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
9489 (eval "$ac_link") 2>conftest.er1
\r
9491 grep -v '^ *+' conftest.er1 >conftest.err
\r
9492 rm -f conftest.er1
\r
9493 cat conftest.err >&5
\r
9494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
9495 (exit $ac_status); } && {
\r
9496 test -z "$ac_c_werror_flag" ||
\r
9497 test ! -s conftest.err
\r
9498 } && test -s conftest$ac_exeext &&
\r
9499 $as_test_x conftest$ac_exeext; then
\r
9500 ac_cv_func_shmat=yes
\r
9502 echo "$as_me: failed program was:" >&5
\r
9503 sed 's/^/| /' conftest.$ac_ext >&5
\r
9505 ac_cv_func_shmat=no
\r
9508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
9509 conftest$ac_exeext conftest.$ac_ext
\r
9511 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
\r
9512 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
\r
9514 if test $ac_cv_func_shmat = no; then
\r
9515 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
\r
9516 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
\r
9517 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
\r
9518 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
9520 ac_check_lib_save_LIBS=$LIBS
\r
9521 LIBS="-lipc $LIBS"
\r
9522 cat >conftest.$ac_ext <<_ACEOF
\r
9525 cat confdefs.h >>conftest.$ac_ext
\r
9526 cat >>conftest.$ac_ext <<_ACEOF
\r
9527 /* end confdefs.h. */
\r
9529 /* Override any GCC internal prototype to avoid an error.
\r
9530 Use char because int might match the return type of a GCC
\r
9531 builtin and then its argument prototype would still apply. */
\r
9532 #ifdef __cplusplus
\r
9544 rm -f conftest.$ac_objext conftest$ac_exeext
\r
9545 if { (ac_try="$ac_link"
\r
9546 case "(($ac_try" in
\r
9547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
9548 *) ac_try_echo=$ac_try;;
\r
9550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
9551 (eval "$ac_link") 2>conftest.er1
\r
9553 grep -v '^ *+' conftest.er1 >conftest.err
\r
9554 rm -f conftest.er1
\r
9555 cat conftest.err >&5
\r
9556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
9557 (exit $ac_status); } && {
\r
9558 test -z "$ac_c_werror_flag" ||
\r
9559 test ! -s conftest.err
\r
9560 } && test -s conftest$ac_exeext &&
\r
9561 $as_test_x conftest$ac_exeext; then
\r
9562 ac_cv_lib_ipc_shmat=yes
\r
9564 echo "$as_me: failed program was:" >&5
\r
9565 sed 's/^/| /' conftest.$ac_ext >&5
\r
9567 ac_cv_lib_ipc_shmat=no
\r
9570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
9571 conftest$ac_exeext conftest.$ac_ext
\r
9572 LIBS=$ac_check_lib_save_LIBS
\r
9574 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
\r
9575 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
\r
9576 if test $ac_cv_lib_ipc_shmat = yes; then
\r
9577 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
\r
9583 # Check for libraries that X11R6 Xt/Xaw programs need.
\r
9584 ac_save_LDFLAGS=$LDFLAGS
\r
9585 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
\r
9586 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
\r
9587 # check for ICE first), but we must link in the order -lSM -lICE or
\r
9588 # we get undefined symbols. So assume we have SM if we have ICE.
\r
9589 # These have to be linked with before -lX11, unlike the other
\r
9590 # libraries we check for below, so use a different variable.
\r
9591 # John Interrante, Karl Berry
\r
9592 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
\r
9593 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
\r
9594 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
\r
9595 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
9597 ac_check_lib_save_LIBS=$LIBS
\r
9598 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
\r
9599 cat >conftest.$ac_ext <<_ACEOF
\r
9602 cat confdefs.h >>conftest.$ac_ext
\r
9603 cat >>conftest.$ac_ext <<_ACEOF
\r
9604 /* end confdefs.h. */
\r
9606 /* Override any GCC internal prototype to avoid an error.
\r
9607 Use char because int might match the return type of a GCC
\r
9608 builtin and then its argument prototype would still apply. */
\r
9609 #ifdef __cplusplus
\r
9612 char IceConnectionNumber ();
\r
9616 return IceConnectionNumber ();
\r
9621 rm -f conftest.$ac_objext conftest$ac_exeext
\r
9622 if { (ac_try="$ac_link"
\r
9623 case "(($ac_try" in
\r
9624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
9625 *) ac_try_echo=$ac_try;;
\r
9627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
9628 (eval "$ac_link") 2>conftest.er1
\r
9630 grep -v '^ *+' conftest.er1 >conftest.err
\r
9631 rm -f conftest.er1
\r
9632 cat conftest.err >&5
\r
9633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
9634 (exit $ac_status); } && {
\r
9635 test -z "$ac_c_werror_flag" ||
\r
9636 test ! -s conftest.err
\r
9637 } && test -s conftest$ac_exeext &&
\r
9638 $as_test_x conftest$ac_exeext; then
\r
9639 ac_cv_lib_ICE_IceConnectionNumber=yes
\r
9641 echo "$as_me: failed program was:" >&5
\r
9642 sed 's/^/| /' conftest.$ac_ext >&5
\r
9644 ac_cv_lib_ICE_IceConnectionNumber=no
\r
9647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
9648 conftest$ac_exeext conftest.$ac_ext
\r
9649 LIBS=$ac_check_lib_save_LIBS
\r
9651 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
\r
9652 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
\r
9653 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
\r
9654 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
\r
9657 LDFLAGS=$ac_save_LDFLAGS
\r
9661 if test -n "$no_x" ; then
\r
9662 echo $PRODUCT requires the X Window System header files and libraries!
\r
9663 echo They were not found on your system. See FAQ topic C.2.
\r
9664 echo configure failed
\r
9668 if test "${ac_cv_header_X11_Intrinsic_h+set}" = set; then
\r
9669 { echo "$as_me:$LINENO: checking for X11/Intrinsic.h" >&5
\r
9670 echo $ECHO_N "checking for X11/Intrinsic.h... $ECHO_C" >&6; }
\r
9671 if test "${ac_cv_header_X11_Intrinsic_h+set}" = set; then
\r
9672 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
9674 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Intrinsic_h" >&5
\r
9675 echo "${ECHO_T}$ac_cv_header_X11_Intrinsic_h" >&6; }
\r
9677 # Is the header compilable?
\r
9678 { echo "$as_me:$LINENO: checking X11/Intrinsic.h usability" >&5
\r
9679 echo $ECHO_N "checking X11/Intrinsic.h usability... $ECHO_C" >&6; }
\r
9680 cat >conftest.$ac_ext <<_ACEOF
\r
9683 cat confdefs.h >>conftest.$ac_ext
\r
9684 cat >>conftest.$ac_ext <<_ACEOF
\r
9685 /* end confdefs.h. */
\r
9686 $ac_includes_default
\r
9687 #include <X11/Intrinsic.h>
\r
9689 rm -f conftest.$ac_objext
\r
9690 if { (ac_try="$ac_compile"
\r
9691 case "(($ac_try" in
\r
9692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
9693 *) ac_try_echo=$ac_try;;
\r
9695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
9696 (eval "$ac_compile") 2>conftest.er1
\r
9698 grep -v '^ *+' conftest.er1 >conftest.err
\r
9699 rm -f conftest.er1
\r
9700 cat conftest.err >&5
\r
9701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
9702 (exit $ac_status); } && {
\r
9703 test -z "$ac_c_werror_flag" ||
\r
9704 test ! -s conftest.err
\r
9705 } && test -s conftest.$ac_objext; then
\r
9706 ac_header_compiler=yes
\r
9708 echo "$as_me: failed program was:" >&5
\r
9709 sed 's/^/| /' conftest.$ac_ext >&5
\r
9711 ac_header_compiler=no
\r
9714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
9715 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
\r
9716 echo "${ECHO_T}$ac_header_compiler" >&6; }
\r
9718 # Is the header present?
\r
9719 { echo "$as_me:$LINENO: checking X11/Intrinsic.h presence" >&5
\r
9720 echo $ECHO_N "checking X11/Intrinsic.h presence... $ECHO_C" >&6; }
\r
9721 cat >conftest.$ac_ext <<_ACEOF
\r
9724 cat confdefs.h >>conftest.$ac_ext
\r
9725 cat >>conftest.$ac_ext <<_ACEOF
\r
9726 /* end confdefs.h. */
\r
9727 #include <X11/Intrinsic.h>
\r
9729 if { (ac_try="$ac_cpp conftest.$ac_ext"
\r
9730 case "(($ac_try" in
\r
9731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
9732 *) ac_try_echo=$ac_try;;
\r
9734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
9735 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
\r
9737 grep -v '^ *+' conftest.er1 >conftest.err
\r
9738 rm -f conftest.er1
\r
9739 cat conftest.err >&5
\r
9740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
9741 (exit $ac_status); } >/dev/null && {
\r
9742 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
\r
9743 test ! -s conftest.err
\r
9745 ac_header_preproc=yes
\r
9747 echo "$as_me: failed program was:" >&5
\r
9748 sed 's/^/| /' conftest.$ac_ext >&5
\r
9750 ac_header_preproc=no
\r
9753 rm -f conftest.err conftest.$ac_ext
\r
9754 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
\r
9755 echo "${ECHO_T}$ac_header_preproc" >&6; }
\r
9757 # So? What about this header?
\r
9758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
\r
9760 { echo "$as_me:$LINENO: WARNING: X11/Intrinsic.h: accepted by the compiler, rejected by the preprocessor!" >&5
\r
9761 echo "$as_me: WARNING: X11/Intrinsic.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
\r
9762 { echo "$as_me:$LINENO: WARNING: X11/Intrinsic.h: proceeding with the compiler's result" >&5
\r
9763 echo "$as_me: WARNING: X11/Intrinsic.h: proceeding with the compiler's result" >&2;}
\r
9764 ac_header_preproc=yes
\r
9767 { echo "$as_me:$LINENO: WARNING: X11/Intrinsic.h: present but cannot be compiled" >&5
\r
9768 echo "$as_me: WARNING: X11/Intrinsic.h: present but cannot be compiled" >&2;}
\r
9769 { echo "$as_me:$LINENO: WARNING: X11/Intrinsic.h: check for missing prerequisite headers?" >&5
\r
9770 echo "$as_me: WARNING: X11/Intrinsic.h: check for missing prerequisite headers?" >&2;}
\r
9771 { echo "$as_me:$LINENO: WARNING: X11/Intrinsic.h: see the Autoconf documentation" >&5
\r
9772 echo "$as_me: WARNING: X11/Intrinsic.h: see the Autoconf documentation" >&2;}
\r
9773 { echo "$as_me:$LINENO: WARNING: X11/Intrinsic.h: section \"Present But Cannot Be Compiled\"" >&5
\r
9774 echo "$as_me: WARNING: X11/Intrinsic.h: section \"Present But Cannot Be Compiled\"" >&2;}
\r
9775 { echo "$as_me:$LINENO: WARNING: X11/Intrinsic.h: proceeding with the preprocessor's result" >&5
\r
9776 echo "$as_me: WARNING: X11/Intrinsic.h: proceeding with the preprocessor's result" >&2;}
\r
9777 { echo "$as_me:$LINENO: WARNING: X11/Intrinsic.h: in the future, the compiler will take precedence" >&5
\r
9778 echo "$as_me: WARNING: X11/Intrinsic.h: in the future, the compiler will take precedence" >&2;}
\r
9782 { echo "$as_me:$LINENO: checking for X11/Intrinsic.h" >&5
\r
9783 echo $ECHO_N "checking for X11/Intrinsic.h... $ECHO_C" >&6; }
\r
9784 if test "${ac_cv_header_X11_Intrinsic_h+set}" = set; then
\r
9785 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
9787 ac_cv_header_X11_Intrinsic_h=$ac_header_preproc
\r
9789 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Intrinsic_h" >&5
\r
9790 echo "${ECHO_T}$ac_cv_header_X11_Intrinsic_h" >&6; }
\r
9793 if test $ac_cv_header_X11_Intrinsic_h = yes; then
\r
9801 if test "$xt" == "no" ; then
\r
9802 echo Xt headers not found
\r
9807 # Check whether --with-Xaw3d was given.
\r
9808 if test "${with_Xaw3d+set}" = set; then
\r
9809 withval=$with_Xaw3d; with_xaw3d="yes"
\r
9817 if test "$with_xaw3d" == "yes" ; then
\r
9818 XAW_LIBS="-lXaw3d"
\r
9819 { echo "$as_me:$LINENO: checking for XawTextReplace in -lXaw3d" >&5
\r
9820 echo $ECHO_N "checking for XawTextReplace in -lXaw3d... $ECHO_C" >&6; }
\r
9821 if test "${ac_cv_lib_Xaw3d_XawTextReplace+set}" = set; then
\r
9822 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
9824 ac_check_lib_save_LIBS=$LIBS
\r
9825 LIBS="-lXaw3d $LIBS"
\r
9826 cat >conftest.$ac_ext <<_ACEOF
\r
9829 cat confdefs.h >>conftest.$ac_ext
\r
9830 cat >>conftest.$ac_ext <<_ACEOF
\r
9831 /* end confdefs.h. */
\r
9833 /* Override any GCC internal prototype to avoid an error.
\r
9834 Use char because int might match the return type of a GCC
\r
9835 builtin and then its argument prototype would still apply. */
\r
9836 #ifdef __cplusplus
\r
9839 char XawTextReplace ();
\r
9843 return XawTextReplace ();
\r
9848 rm -f conftest.$ac_objext conftest$ac_exeext
\r
9849 if { (ac_try="$ac_link"
\r
9850 case "(($ac_try" in
\r
9851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
9852 *) ac_try_echo=$ac_try;;
\r
9854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
9855 (eval "$ac_link") 2>conftest.er1
\r
9857 grep -v '^ *+' conftest.er1 >conftest.err
\r
9858 rm -f conftest.er1
\r
9859 cat conftest.err >&5
\r
9860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
9861 (exit $ac_status); } && {
\r
9862 test -z "$ac_c_werror_flag" ||
\r
9863 test ! -s conftest.err
\r
9864 } && test -s conftest$ac_exeext &&
\r
9865 $as_test_x conftest$ac_exeext; then
\r
9866 ac_cv_lib_Xaw3d_XawTextReplace=yes
\r
9868 echo "$as_me: failed program was:" >&5
\r
9869 sed 's/^/| /' conftest.$ac_ext >&5
\r
9871 ac_cv_lib_Xaw3d_XawTextReplace=no
\r
9874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
9875 conftest$ac_exeext conftest.$ac_ext
\r
9876 LIBS=$ac_check_lib_save_LIBS
\r
9878 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawTextReplace" >&5
\r
9879 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawTextReplace" >&6; }
\r
9880 if test $ac_cv_lib_Xaw3d_XawTextReplace = yes; then
\r
9886 if test "$xaw3d_lib" == "no" ; then
\r
9887 echo Xaw3d libraries not found
\r
9890 if test "${ac_cv_header_X11_Xaw3d_Dialog_h+set}" = set; then
\r
9891 { echo "$as_me:$LINENO: checking for X11/Xaw3d/Dialog.h" >&5
\r
9892 echo $ECHO_N "checking for X11/Xaw3d/Dialog.h... $ECHO_C" >&6; }
\r
9893 if test "${ac_cv_header_X11_Xaw3d_Dialog_h+set}" = set; then
\r
9894 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
9896 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Dialog_h" >&5
\r
9897 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Dialog_h" >&6; }
\r
9899 # Is the header compilable?
\r
9900 { echo "$as_me:$LINENO: checking X11/Xaw3d/Dialog.h usability" >&5
\r
9901 echo $ECHO_N "checking X11/Xaw3d/Dialog.h usability... $ECHO_C" >&6; }
\r
9902 cat >conftest.$ac_ext <<_ACEOF
\r
9905 cat confdefs.h >>conftest.$ac_ext
\r
9906 cat >>conftest.$ac_ext <<_ACEOF
\r
9907 /* end confdefs.h. */
\r
9908 $ac_includes_default
\r
9909 #include <X11/Xaw3d/Dialog.h>
\r
9911 rm -f conftest.$ac_objext
\r
9912 if { (ac_try="$ac_compile"
\r
9913 case "(($ac_try" in
\r
9914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
9915 *) ac_try_echo=$ac_try;;
\r
9917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
9918 (eval "$ac_compile") 2>conftest.er1
\r
9920 grep -v '^ *+' conftest.er1 >conftest.err
\r
9921 rm -f conftest.er1
\r
9922 cat conftest.err >&5
\r
9923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
9924 (exit $ac_status); } && {
\r
9925 test -z "$ac_c_werror_flag" ||
\r
9926 test ! -s conftest.err
\r
9927 } && test -s conftest.$ac_objext; then
\r
9928 ac_header_compiler=yes
\r
9930 echo "$as_me: failed program was:" >&5
\r
9931 sed 's/^/| /' conftest.$ac_ext >&5
\r
9933 ac_header_compiler=no
\r
9936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
9937 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
\r
9938 echo "${ECHO_T}$ac_header_compiler" >&6; }
\r
9940 # Is the header present?
\r
9941 { echo "$as_me:$LINENO: checking X11/Xaw3d/Dialog.h presence" >&5
\r
9942 echo $ECHO_N "checking X11/Xaw3d/Dialog.h presence... $ECHO_C" >&6; }
\r
9943 cat >conftest.$ac_ext <<_ACEOF
\r
9946 cat confdefs.h >>conftest.$ac_ext
\r
9947 cat >>conftest.$ac_ext <<_ACEOF
\r
9948 /* end confdefs.h. */
\r
9949 #include <X11/Xaw3d/Dialog.h>
\r
9951 if { (ac_try="$ac_cpp conftest.$ac_ext"
\r
9952 case "(($ac_try" in
\r
9953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
9954 *) ac_try_echo=$ac_try;;
\r
9956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
9957 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
\r
9959 grep -v '^ *+' conftest.er1 >conftest.err
\r
9960 rm -f conftest.er1
\r
9961 cat conftest.err >&5
\r
9962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
9963 (exit $ac_status); } >/dev/null && {
\r
9964 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
\r
9965 test ! -s conftest.err
\r
9967 ac_header_preproc=yes
\r
9969 echo "$as_me: failed program was:" >&5
\r
9970 sed 's/^/| /' conftest.$ac_ext >&5
\r
9972 ac_header_preproc=no
\r
9975 rm -f conftest.err conftest.$ac_ext
\r
9976 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
\r
9977 echo "${ECHO_T}$ac_header_preproc" >&6; }
\r
9979 # So? What about this header?
\r
9980 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
\r
9982 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Dialog.h: accepted by the compiler, rejected by the preprocessor!" >&5
\r
9983 echo "$as_me: WARNING: X11/Xaw3d/Dialog.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
\r
9984 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Dialog.h: proceeding with the compiler's result" >&5
\r
9985 echo "$as_me: WARNING: X11/Xaw3d/Dialog.h: proceeding with the compiler's result" >&2;}
\r
9986 ac_header_preproc=yes
\r
9989 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Dialog.h: present but cannot be compiled" >&5
\r
9990 echo "$as_me: WARNING: X11/Xaw3d/Dialog.h: present but cannot be compiled" >&2;}
\r
9991 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Dialog.h: check for missing prerequisite headers?" >&5
\r
9992 echo "$as_me: WARNING: X11/Xaw3d/Dialog.h: check for missing prerequisite headers?" >&2;}
\r
9993 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Dialog.h: see the Autoconf documentation" >&5
\r
9994 echo "$as_me: WARNING: X11/Xaw3d/Dialog.h: see the Autoconf documentation" >&2;}
\r
9995 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Dialog.h: section \"Present But Cannot Be Compiled\"" >&5
\r
9996 echo "$as_me: WARNING: X11/Xaw3d/Dialog.h: section \"Present But Cannot Be Compiled\"" >&2;}
\r
9997 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Dialog.h: proceeding with the preprocessor's result" >&5
\r
9998 echo "$as_me: WARNING: X11/Xaw3d/Dialog.h: proceeding with the preprocessor's result" >&2;}
\r
9999 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Dialog.h: in the future, the compiler will take precedence" >&5
\r
10000 echo "$as_me: WARNING: X11/Xaw3d/Dialog.h: in the future, the compiler will take precedence" >&2;}
\r
10004 { echo "$as_me:$LINENO: checking for X11/Xaw3d/Dialog.h" >&5
\r
10005 echo $ECHO_N "checking for X11/Xaw3d/Dialog.h... $ECHO_C" >&6; }
\r
10006 if test "${ac_cv_header_X11_Xaw3d_Dialog_h+set}" = set; then
\r
10007 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
10009 ac_cv_header_X11_Xaw3d_Dialog_h=$ac_header_preproc
\r
10011 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Dialog_h" >&5
\r
10012 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Dialog_h" >&6; }
\r
10015 if test $ac_cv_header_X11_Xaw3d_Dialog_h = yes; then
\r
10016 xaw3d_headers="yes"
\r
10018 xaw3d_headers="no"
\r
10022 if test "$xaw3d_headers" == "yes" ; then
\r
10023 cat >>confdefs.h <<\_ACEOF
\r
10024 #define USE_XAW3D 1
\r
10027 xaw_headers="yes"
\r
10029 if test "${ac_cv_header_X11_Xaw_Dialog_h+set}" = set; then
\r
10030 { echo "$as_me:$LINENO: checking for X11/Xaw/Dialog.h" >&5
\r
10031 echo $ECHO_N "checking for X11/Xaw/Dialog.h... $ECHO_C" >&6; }
\r
10032 if test "${ac_cv_header_X11_Xaw_Dialog_h+set}" = set; then
\r
10033 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
10035 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw_Dialog_h" >&5
\r
10036 echo "${ECHO_T}$ac_cv_header_X11_Xaw_Dialog_h" >&6; }
\r
10038 # Is the header compilable?
\r
10039 { echo "$as_me:$LINENO: checking X11/Xaw/Dialog.h usability" >&5
\r
10040 echo $ECHO_N "checking X11/Xaw/Dialog.h usability... $ECHO_C" >&6; }
\r
10041 cat >conftest.$ac_ext <<_ACEOF
\r
10042 /* confdefs.h. */
\r
10044 cat confdefs.h >>conftest.$ac_ext
\r
10045 cat >>conftest.$ac_ext <<_ACEOF
\r
10046 /* end confdefs.h. */
\r
10047 $ac_includes_default
\r
10048 #include <X11/Xaw/Dialog.h>
\r
10050 rm -f conftest.$ac_objext
\r
10051 if { (ac_try="$ac_compile"
\r
10052 case "(($ac_try" in
\r
10053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
10054 *) ac_try_echo=$ac_try;;
\r
10056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
10057 (eval "$ac_compile") 2>conftest.er1
\r
10059 grep -v '^ *+' conftest.er1 >conftest.err
\r
10060 rm -f conftest.er1
\r
10061 cat conftest.err >&5
\r
10062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
10063 (exit $ac_status); } && {
\r
10064 test -z "$ac_c_werror_flag" ||
\r
10065 test ! -s conftest.err
\r
10066 } && test -s conftest.$ac_objext; then
\r
10067 ac_header_compiler=yes
\r
10069 echo "$as_me: failed program was:" >&5
\r
10070 sed 's/^/| /' conftest.$ac_ext >&5
\r
10072 ac_header_compiler=no
\r
10075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
10076 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
\r
10077 echo "${ECHO_T}$ac_header_compiler" >&6; }
\r
10079 # Is the header present?
\r
10080 { echo "$as_me:$LINENO: checking X11/Xaw/Dialog.h presence" >&5
\r
10081 echo $ECHO_N "checking X11/Xaw/Dialog.h presence... $ECHO_C" >&6; }
\r
10082 cat >conftest.$ac_ext <<_ACEOF
\r
10083 /* confdefs.h. */
\r
10085 cat confdefs.h >>conftest.$ac_ext
\r
10086 cat >>conftest.$ac_ext <<_ACEOF
\r
10087 /* end confdefs.h. */
\r
10088 #include <X11/Xaw/Dialog.h>
\r
10090 if { (ac_try="$ac_cpp conftest.$ac_ext"
\r
10091 case "(($ac_try" in
\r
10092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
10093 *) ac_try_echo=$ac_try;;
\r
10095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
10096 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
\r
10098 grep -v '^ *+' conftest.er1 >conftest.err
\r
10099 rm -f conftest.er1
\r
10100 cat conftest.err >&5
\r
10101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
10102 (exit $ac_status); } >/dev/null && {
\r
10103 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
\r
10104 test ! -s conftest.err
\r
10106 ac_header_preproc=yes
\r
10108 echo "$as_me: failed program was:" >&5
\r
10109 sed 's/^/| /' conftest.$ac_ext >&5
\r
10111 ac_header_preproc=no
\r
10114 rm -f conftest.err conftest.$ac_ext
\r
10115 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
\r
10116 echo "${ECHO_T}$ac_header_preproc" >&6; }
\r
10118 # So? What about this header?
\r
10119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
\r
10121 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: accepted by the compiler, rejected by the preprocessor!" >&5
\r
10122 echo "$as_me: WARNING: X11/Xaw/Dialog.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
\r
10123 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: proceeding with the compiler's result" >&5
\r
10124 echo "$as_me: WARNING: X11/Xaw/Dialog.h: proceeding with the compiler's result" >&2;}
\r
10125 ac_header_preproc=yes
\r
10128 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: present but cannot be compiled" >&5
\r
10129 echo "$as_me: WARNING: X11/Xaw/Dialog.h: present but cannot be compiled" >&2;}
\r
10130 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: check for missing prerequisite headers?" >&5
\r
10131 echo "$as_me: WARNING: X11/Xaw/Dialog.h: check for missing prerequisite headers?" >&2;}
\r
10132 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: see the Autoconf documentation" >&5
\r
10133 echo "$as_me: WARNING: X11/Xaw/Dialog.h: see the Autoconf documentation" >&2;}
\r
10134 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: section \"Present But Cannot Be Compiled\"" >&5
\r
10135 echo "$as_me: WARNING: X11/Xaw/Dialog.h: section \"Present But Cannot Be Compiled\"" >&2;}
\r
10136 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: proceeding with the preprocessor's result" >&5
\r
10137 echo "$as_me: WARNING: X11/Xaw/Dialog.h: proceeding with the preprocessor's result" >&2;}
\r
10138 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: in the future, the compiler will take precedence" >&5
\r
10139 echo "$as_me: WARNING: X11/Xaw/Dialog.h: in the future, the compiler will take precedence" >&2;}
\r
10143 { echo "$as_me:$LINENO: checking for X11/Xaw/Dialog.h" >&5
\r
10144 echo $ECHO_N "checking for X11/Xaw/Dialog.h... $ECHO_C" >&6; }
\r
10145 if test "${ac_cv_header_X11_Xaw_Dialog_h+set}" = set; then
\r
10146 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
10148 ac_cv_header_X11_Xaw_Dialog_h=$ac_header_preproc
\r
10150 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw_Dialog_h" >&5
\r
10151 echo "${ECHO_T}$ac_cv_header_X11_Xaw_Dialog_h" >&6; }
\r
10154 if test $ac_cv_header_X11_Xaw_Dialog_h = yes; then
\r
10155 xaw_headers="yes"
\r
10163 if test "${ac_cv_header_X11_Xaw_Dialog_h+set}" = set; then
\r
10164 { echo "$as_me:$LINENO: checking for X11/Xaw/Dialog.h" >&5
\r
10165 echo $ECHO_N "checking for X11/Xaw/Dialog.h... $ECHO_C" >&6; }
\r
10166 if test "${ac_cv_header_X11_Xaw_Dialog_h+set}" = set; then
\r
10167 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
10169 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw_Dialog_h" >&5
\r
10170 echo "${ECHO_T}$ac_cv_header_X11_Xaw_Dialog_h" >&6; }
\r
10172 # Is the header compilable?
\r
10173 { echo "$as_me:$LINENO: checking X11/Xaw/Dialog.h usability" >&5
\r
10174 echo $ECHO_N "checking X11/Xaw/Dialog.h usability... $ECHO_C" >&6; }
\r
10175 cat >conftest.$ac_ext <<_ACEOF
\r
10176 /* confdefs.h. */
\r
10178 cat confdefs.h >>conftest.$ac_ext
\r
10179 cat >>conftest.$ac_ext <<_ACEOF
\r
10180 /* end confdefs.h. */
\r
10181 $ac_includes_default
\r
10182 #include <X11/Xaw/Dialog.h>
\r
10184 rm -f conftest.$ac_objext
\r
10185 if { (ac_try="$ac_compile"
\r
10186 case "(($ac_try" in
\r
10187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
10188 *) ac_try_echo=$ac_try;;
\r
10190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
10191 (eval "$ac_compile") 2>conftest.er1
\r
10193 grep -v '^ *+' conftest.er1 >conftest.err
\r
10194 rm -f conftest.er1
\r
10195 cat conftest.err >&5
\r
10196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
10197 (exit $ac_status); } && {
\r
10198 test -z "$ac_c_werror_flag" ||
\r
10199 test ! -s conftest.err
\r
10200 } && test -s conftest.$ac_objext; then
\r
10201 ac_header_compiler=yes
\r
10203 echo "$as_me: failed program was:" >&5
\r
10204 sed 's/^/| /' conftest.$ac_ext >&5
\r
10206 ac_header_compiler=no
\r
10209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
10210 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
\r
10211 echo "${ECHO_T}$ac_header_compiler" >&6; }
\r
10213 # Is the header present?
\r
10214 { echo "$as_me:$LINENO: checking X11/Xaw/Dialog.h presence" >&5
\r
10215 echo $ECHO_N "checking X11/Xaw/Dialog.h presence... $ECHO_C" >&6; }
\r
10216 cat >conftest.$ac_ext <<_ACEOF
\r
10217 /* confdefs.h. */
\r
10219 cat confdefs.h >>conftest.$ac_ext
\r
10220 cat >>conftest.$ac_ext <<_ACEOF
\r
10221 /* end confdefs.h. */
\r
10222 #include <X11/Xaw/Dialog.h>
\r
10224 if { (ac_try="$ac_cpp conftest.$ac_ext"
\r
10225 case "(($ac_try" in
\r
10226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
10227 *) ac_try_echo=$ac_try;;
\r
10229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
10230 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
\r
10232 grep -v '^ *+' conftest.er1 >conftest.err
\r
10233 rm -f conftest.er1
\r
10234 cat conftest.err >&5
\r
10235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
10236 (exit $ac_status); } >/dev/null && {
\r
10237 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
\r
10238 test ! -s conftest.err
\r
10240 ac_header_preproc=yes
\r
10242 echo "$as_me: failed program was:" >&5
\r
10243 sed 's/^/| /' conftest.$ac_ext >&5
\r
10245 ac_header_preproc=no
\r
10248 rm -f conftest.err conftest.$ac_ext
\r
10249 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
\r
10250 echo "${ECHO_T}$ac_header_preproc" >&6; }
\r
10252 # So? What about this header?
\r
10253 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
\r
10255 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: accepted by the compiler, rejected by the preprocessor!" >&5
\r
10256 echo "$as_me: WARNING: X11/Xaw/Dialog.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
\r
10257 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: proceeding with the compiler's result" >&5
\r
10258 echo "$as_me: WARNING: X11/Xaw/Dialog.h: proceeding with the compiler's result" >&2;}
\r
10259 ac_header_preproc=yes
\r
10262 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: present but cannot be compiled" >&5
\r
10263 echo "$as_me: WARNING: X11/Xaw/Dialog.h: present but cannot be compiled" >&2;}
\r
10264 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: check for missing prerequisite headers?" >&5
\r
10265 echo "$as_me: WARNING: X11/Xaw/Dialog.h: check for missing prerequisite headers?" >&2;}
\r
10266 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: see the Autoconf documentation" >&5
\r
10267 echo "$as_me: WARNING: X11/Xaw/Dialog.h: see the Autoconf documentation" >&2;}
\r
10268 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: section \"Present But Cannot Be Compiled\"" >&5
\r
10269 echo "$as_me: WARNING: X11/Xaw/Dialog.h: section \"Present But Cannot Be Compiled\"" >&2;}
\r
10270 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: proceeding with the preprocessor's result" >&5
\r
10271 echo "$as_me: WARNING: X11/Xaw/Dialog.h: proceeding with the preprocessor's result" >&2;}
\r
10272 { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: in the future, the compiler will take precedence" >&5
\r
10273 echo "$as_me: WARNING: X11/Xaw/Dialog.h: in the future, the compiler will take precedence" >&2;}
\r
10277 { echo "$as_me:$LINENO: checking for X11/Xaw/Dialog.h" >&5
\r
10278 echo $ECHO_N "checking for X11/Xaw/Dialog.h... $ECHO_C" >&6; }
\r
10279 if test "${ac_cv_header_X11_Xaw_Dialog_h+set}" = set; then
\r
10280 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
10282 ac_cv_header_X11_Xaw_Dialog_h=$ac_header_preproc
\r
10284 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw_Dialog_h" >&5
\r
10285 echo "${ECHO_T}$ac_cv_header_X11_Xaw_Dialog_h" >&6; }
\r
10288 if test $ac_cv_header_X11_Xaw_Dialog_h = yes; then
\r
10289 xaw_headers="yes"
\r
10299 if test "$xaw_headers" == "no" ; then
\r
10300 echo Xaw headers not found
\r
10308 # Make sure we can run config.sub.
\r
10309 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
\r
10310 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
\r
10311 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
\r
10312 { (exit 1); exit 1; }; }
\r
10314 { echo "$as_me:$LINENO: checking build system type" >&5
\r
10315 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
\r
10316 if test "${ac_cv_build+set}" = set; then
\r
10317 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
10319 ac_build_alias=$build_alias
\r
10320 test "x$ac_build_alias" = x &&
\r
10321 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
\r
10322 test "x$ac_build_alias" = x &&
\r
10323 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
\r
10324 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
\r
10325 { (exit 1); exit 1; }; }
\r
10326 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
\r
10327 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
\r
10328 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
\r
10329 { (exit 1); exit 1; }; }
\r
10332 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
\r
10333 echo "${ECHO_T}$ac_cv_build" >&6; }
\r
10334 case $ac_cv_build in
\r
10336 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
\r
10337 echo "$as_me: error: invalid value of canonical build" >&2;}
\r
10338 { (exit 1); exit 1; }; };;
\r
10340 build=$ac_cv_build
\r
10341 ac_save_IFS=$IFS; IFS='-'
\r
10342 set x $ac_cv_build
\r
10347 # Remember, the first character of IFS is used to create $*,
\r
10348 # except with old shells:
\r
10351 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
\r
10354 { echo "$as_me:$LINENO: checking host system type" >&5
\r
10355 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
\r
10356 if test "${ac_cv_host+set}" = set; then
\r
10357 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
10359 if test "x$host_alias" = x; then
\r
10360 ac_cv_host=$ac_cv_build
\r
10362 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
\r
10363 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
\r
10364 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
\r
10365 { (exit 1); exit 1; }; }
\r
10369 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
\r
10370 echo "${ECHO_T}$ac_cv_host" >&6; }
\r
10371 case $ac_cv_host in
\r
10373 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
\r
10374 echo "$as_me: error: invalid value of canonical host" >&2;}
\r
10375 { (exit 1); exit 1; }; };;
\r
10378 ac_save_IFS=$IFS; IFS='-'
\r
10379 set x $ac_cv_host
\r
10384 # Remember, the first character of IFS is used to create $*,
\r
10385 # except with old shells:
\r
10388 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
\r
10397 cat >>confdefs.h <<\_ACEOF
\r
10398 #define PTY_TTY_NAME_SPRINTF sprintf (pty_name, "/dev/pty/tty%c%x", c, i);
\r
10401 cat >>confdefs.h <<\_ACEOF
\r
10402 #define PTY_NAME_SPRINTF sprintf (pty_name, "/dev/ptym/pty%c%x", c, i);
\r
10405 if test "$GCC" = yes; then
\r
10406 CONF_CFLAGS="-fwritable-strings"
\r
10410 CONF_CFLAGS="-Aa -D_HPUX_SOURCE"
\r
10414 if test -d /opt/hppd/include/X11; then
\r
10415 X_CFLAGS="$X_CFLAGS -I/opt/hppd/include"
\r
10416 X_LIBS="$X_LIBS -L/opt/hppd/lib"
\r
10417 elif test -d /usr/contrib/X11R5/include; then
\r
10418 X_CFLAGS="$X_CFLAGS -I/usr/contrib/X11R5/include"
\r
10419 X_LIBS="$X_LIBS -L/usr/contrib/X11R5/lib"
\r
10420 elif test -d /usr/contrib/mitX11R5/include; then
\r
10421 X_CFLAGS="$X_CFLAGS -I/usr/contrib/mitX11R5/include"
\r
10422 X_LIBS="$X_LIBS -L/usr/contrib/mitX11R5/lib"
\r
10423 elif test -d /MIT/X11R5/include; then
\r
10424 X_CFLAGS="$X_CFLAGS -I/MIT/X11R5/include"
\r
10425 X_LIBS="$X_LIBS -L/MIT/X11R5/lib"
\r
10426 elif test -d /usr/local/include/X11R5; then
\r
10427 X_CFLAGS="$X_CFLAGS -I/usr/local/include/X11R5"
\r
10428 X_LIBS="$X_LIBS -L/usr/local/lib/X11R5"
\r
10430 if test -d /usr/include/X11R5; then
\r
10431 X_CFLAGS="$X_CFLAGS -I/usr/include/X11R5"
\r
10432 X_LIBS="$X_LIBS -L/usr/lib/X11R5 -L/usr/lib/X11R4"
\r
10433 elif test -d /usr/include/X11R4; then
\r
10434 X_CFLAGS="$X_CFLAGS -I/usr/include/X11R4"
\r
10435 X_LIBS="$X_LIBS -L/usr/lib/X11R4"
\r
10440 cat >>confdefs.h <<\_ACEOF
\r
10441 #define IBMRTAIX 1
\r
10447 if test "$GCC" = yes; then
\r
10448 CONF_CFLAGS="-fwritable-strings"
\r
10452 *-*-aix3* | *-*-bosx* )
\r
10453 cat >>confdefs.h <<\_ACEOF
\r
10454 #define PTY_ITERATION for (c = 0; !c; c++)
\r
10457 cat >>confdefs.h <<\_ACEOF
\r
10458 #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptc");
\r
10461 cat >>confdefs.h <<\_ACEOF
\r
10462 #define PTY_TTY_NAME_SPRINTF strcpy (pty_name, ttyname (fd));
\r
10468 cat >>confdefs.h <<\_ACEOF
\r
10469 #define FIRST_PTY_LETTER 'A'
\r
10472 cat >>confdefs.h <<\_ACEOF
\r
10473 #define LAST_PTY_LETTER 'P'
\r
10479 cat >>confdefs.h <<\_ACEOF
\r
10480 #define UNIPLUS 1
\r
10486 cat >>confdefs.h <<\_ACEOF
\r
10487 #define FIRST_PTY_LETTER 'z'
\r
10490 cat >>confdefs.h <<\_ACEOF
\r
10491 #define PTY_TTY_NAME_SPRINTF sprintf (pty_name, "/dev/ttyp%x", i);
\r
10494 cat >>confdefs.h <<\_ACEOF
\r
10495 #define PTY_NAME_SPRINTF sprintf (pty_name, "/dev/pty%x", i);
\r
10498 cat >>confdefs.h <<\_ACEOF
\r
10504 *-*-iris* | *-*-irix3* )
\r
10505 cat >>confdefs.h <<\_ACEOF
\r
10506 #define PTY_ITERATION for (c = 0; !c; c++)
\r
10509 cat >>confdefs.h <<\_ACEOF
\r
10510 #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptc");
\r
10513 cat >>confdefs.h <<\_ACEOF
\r
10514 #define PTY_TTY_NAME_SPRINTF sprintf (pty_name, "/dev/ttyq%d", minor(stb.st_rdev));
\r
10522 *-*-sunos4* | *-*-solaris1* )
\r
10525 if test "$GCC" = yes; then
\r
10526 PRE_XMULIB="-static"
\r
10527 POST_XMULIB="-dynamic"
\r
10529 PRE_XMULIB="-Bstatic"
\r
10530 POST_XMULIB="-Bdynamic"
\r
10534 *-*-sunos5* | *-*-solaris2* )
\r
10537 X_LIBS="$X_LIBS -lelf"
\r
10541 cat >>confdefs.h <<\_ACEOF
\r
10542 #define PTY_ITERATION for (i = 0; ; i++)
\r
10545 cat >>confdefs.h <<\_ACEOF
\r
10546 #define PTY_NAME_SPRINTF sprintf (pty_name, "/dev/ptyp%d", i);
\r
10549 cat >>confdefs.h <<\_ACEOF
\r
10550 #define PTY_TTY_NAME_SPRINTF sprintf (pty_name, "/dev/ttyp%d", i);
\r
10555 *-*-dynix* | *-*-ptx* )
\r
10561 *-*-usg5-4* | *-*-sysvr4* )
\r
10564 *-*-usg* | *-*-sysv* | *-*-aix* )
\r
10568 if test "$GCC" = yes; then
\r
10569 CONF_CFLAGS="-fwritable-strings"
\r
10574 # Check whether --enable-xpm was given.
\r
10575 if test "${enable_xpm+set}" = set; then
\r
10576 enableval=$enable_xpm; enable_xpm="$enableval"
\r
10582 if test "$enable_xpm" = "yes"; then
\r
10583 save_cflags="$CFLAGS"
\r
10584 CFLAGS="$CFLAGS $X_CFLAGS"
\r
10585 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
\r
10587 for ac_header in X11/xpm.h
\r
10589 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
\r
10590 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
10591 { echo "$as_me:$LINENO: checking for $ac_header" >&5
\r
10592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
\r
10593 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
10594 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
10596 ac_res=`eval echo '${'$as_ac_Header'}'`
\r
10597 { echo "$as_me:$LINENO: result: $ac_res" >&5
\r
10598 echo "${ECHO_T}$ac_res" >&6; }
\r
10600 # Is the header compilable?
\r
10601 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
\r
10602 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
\r
10603 cat >conftest.$ac_ext <<_ACEOF
\r
10604 /* confdefs.h. */
\r
10606 cat confdefs.h >>conftest.$ac_ext
\r
10607 cat >>conftest.$ac_ext <<_ACEOF
\r
10608 /* end confdefs.h. */
\r
10609 $ac_includes_default
\r
10610 #include <$ac_header>
\r
10612 rm -f conftest.$ac_objext
\r
10613 if { (ac_try="$ac_compile"
\r
10614 case "(($ac_try" in
\r
10615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
10616 *) ac_try_echo=$ac_try;;
\r
10618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
10619 (eval "$ac_compile") 2>conftest.er1
\r
10621 grep -v '^ *+' conftest.er1 >conftest.err
\r
10622 rm -f conftest.er1
\r
10623 cat conftest.err >&5
\r
10624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
10625 (exit $ac_status); } && {
\r
10626 test -z "$ac_c_werror_flag" ||
\r
10627 test ! -s conftest.err
\r
10628 } && test -s conftest.$ac_objext; then
\r
10629 ac_header_compiler=yes
\r
10631 echo "$as_me: failed program was:" >&5
\r
10632 sed 's/^/| /' conftest.$ac_ext >&5
\r
10634 ac_header_compiler=no
\r
10637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
\r
10638 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
\r
10639 echo "${ECHO_T}$ac_header_compiler" >&6; }
\r
10641 # Is the header present?
\r
10642 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
\r
10643 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
\r
10644 cat >conftest.$ac_ext <<_ACEOF
\r
10645 /* confdefs.h. */
\r
10647 cat confdefs.h >>conftest.$ac_ext
\r
10648 cat >>conftest.$ac_ext <<_ACEOF
\r
10649 /* end confdefs.h. */
\r
10650 #include <$ac_header>
\r
10652 if { (ac_try="$ac_cpp conftest.$ac_ext"
\r
10653 case "(($ac_try" in
\r
10654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
10655 *) ac_try_echo=$ac_try;;
\r
10657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
10658 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
\r
10660 grep -v '^ *+' conftest.er1 >conftest.err
\r
10661 rm -f conftest.er1
\r
10662 cat conftest.err >&5
\r
10663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
10664 (exit $ac_status); } >/dev/null && {
\r
10665 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
\r
10666 test ! -s conftest.err
\r
10668 ac_header_preproc=yes
\r
10670 echo "$as_me: failed program was:" >&5
\r
10671 sed 's/^/| /' conftest.$ac_ext >&5
\r
10673 ac_header_preproc=no
\r
10676 rm -f conftest.err conftest.$ac_ext
\r
10677 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
\r
10678 echo "${ECHO_T}$ac_header_preproc" >&6; }
\r
10680 # So? What about this header?
\r
10681 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
\r
10683 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
\r
10684 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
\r
10685 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
\r
10686 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
\r
10687 ac_header_preproc=yes
\r
10690 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
\r
10691 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
\r
10692 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
\r
10693 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
\r
10694 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
\r
10695 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
\r
10696 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
\r
10697 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
\r
10698 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
\r
10699 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
\r
10700 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
\r
10701 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
\r
10705 { echo "$as_me:$LINENO: checking for $ac_header" >&5
\r
10706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
\r
10707 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
\r
10708 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
10710 eval "$as_ac_Header=\$ac_header_preproc"
\r
10712 ac_res=`eval echo '${'$as_ac_Header'}'`
\r
10713 { echo "$as_me:$LINENO: result: $ac_res" >&5
\r
10714 echo "${ECHO_T}$ac_res" >&6; }
\r
10717 if test `eval echo '${'$as_ac_Header'}'` = yes; then
\r
10718 cat >>confdefs.h <<_ACEOF
\r
10719 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
\r
10726 CFLAGS="$save_cflags"
\r
10727 if test "$ac_cv_header_X11_xpm_h" = "yes"; then
\r
10728 save_ldflags="$LDFLAGS"
\r
10729 LDFLAGS="$LDFLAGS $X_LIBS"
\r
10730 { echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
\r
10731 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6; }
\r
10732 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
\r
10733 echo $ECHO_N "(cached) $ECHO_C" >&6
\r
10735 ac_check_lib_save_LIBS=$LIBS
\r
10736 LIBS="-lXpm $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
\r
10737 cat >conftest.$ac_ext <<_ACEOF
\r
10738 /* confdefs.h. */
\r
10740 cat confdefs.h >>conftest.$ac_ext
\r
10741 cat >>conftest.$ac_ext <<_ACEOF
\r
10742 /* end confdefs.h. */
\r
10744 /* Override any GCC internal prototype to avoid an error.
\r
10745 Use char because int might match the return type of a GCC
\r
10746 builtin and then its argument prototype would still apply. */
\r
10747 #ifdef __cplusplus
\r
10750 char XpmReadFileToPixmap ();
\r
10754 return XpmReadFileToPixmap ();
\r
10759 rm -f conftest.$ac_objext conftest$ac_exeext
\r
10760 if { (ac_try="$ac_link"
\r
10761 case "(($ac_try" in
\r
10762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
\r
10763 *) ac_try_echo=$ac_try;;
\r
10765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
\r
10766 (eval "$ac_link") 2>conftest.er1
\r
10768 grep -v '^ *+' conftest.er1 >conftest.err
\r
10769 rm -f conftest.er1
\r
10770 cat conftest.err >&5
\r
10771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
\r
10772 (exit $ac_status); } && {
\r
10773 test -z "$ac_c_werror_flag" ||
\r
10774 test ! -s conftest.err
\r
10775 } && test -s conftest$ac_exeext &&
\r
10776 $as_test_x conftest$ac_exeext; then
\r
10777 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
\r
10779 echo "$as_me: failed program was:" >&5
\r
10780 sed 's/^/| /' conftest.$ac_ext >&5
\r
10782 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
\r
10785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
\r
10786 conftest$ac_exeext conftest.$ac_ext
\r
10787 LIBS=$ac_check_lib_save_LIBS
\r
10789 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
\r
10790 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }
\r
10791 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
\r
10792 X_PRE_LIBS="-lXpm $X_PRE_LIBS"; cat >>confdefs.h <<\_ACEOF
\r
10793 #define HAVE_LIBXPM 1
\r
10798 LDFLAGS="$save_ldflags"
\r
10807 { echo "$as_me:$LINENO: checking whether ptys or pipes should be used" >&5
\r
10808 echo $ECHO_N "checking whether ptys or pipes should be used... $ECHO_C" >&6; }
\r
10809 # Check whether --enable-ptys was given.
\r
10810 if test "${enable_ptys+set}" = set; then
\r
10811 enableval=$enable_ptys; if test "$enableval" = yes; then
\r
10813 { echo "$as_me:$LINENO: result: ptys (user override)" >&5
\r
10814 echo "${ECHO_T}ptys (user override)" >&6; }
\r
10816 if test "$enableval" = no; then
\r
10818 { echo "$as_me:$LINENO: result: pipes (user override)" >&5
\r
10819 echo "${ECHO_T}pipes (user override)" >&6; }
\r
10822 if test "$USE_PTYS" = 1; then
\r
10823 { echo "$as_me:$LINENO: result: ptys" >&5
\r
10824 echo "${ECHO_T}ptys" >&6; }
\r
10826 { echo "$as_me:$LINENO: result: pipes" >&5
\r
10827 echo "${ECHO_T}pipes" >&6; }
\r
10831 cat >>confdefs.h <<_ACEOF
\r
10832 #define USE_PTYS $USE_PTYS
\r
10836 # Check whether --enable-zippy was given.
\r
10837 if test "${enable_zippy+set}" = set; then
\r
10838 enableval=$enable_zippy; enable_zippy="$enableval"
\r
10840 enable_zippy="yes"
\r
10843 if test "$enable_zippy" = yes; then
\r
10844 cat >>confdefs.h <<\_ACEOF
\r
10854 # Check whether --enable-sigint was given.
\r
10855 if test "${enable_sigint+set}" = set; then
\r
10856 enableval=$enable_sigint; if test "$enableval" = yes; then
\r
10857 cat >>confdefs.h <<\_ACEOF
\r
10858 #define ATTENTION 1
\r
10863 cat >>confdefs.h <<\_ACEOF
\r
10864 #define ATTENTION 1
\r
10870 cat >>confdefs.h <<_ACEOF
\r
10871 #define PRODUCT "$PRODUCT"
\r
10874 cat >>confdefs.h <<_ACEOF
\r
10875 #define VERSION "$VERSION"
\r
10878 cat >>confdefs.h <<_ACEOF
\r
10879 #define PATCHLEVEL "$PATCHLEVEL"
\r
10886 ac_config_files="$ac_config_files cmail xboard.texinfo"
\r
10888 ac_config_commands="$ac_config_commands default"
\r
10890 cat >confcache <<\_ACEOF
\r
10891 # This file is a shell script that caches the results of configure
\r
10892 # tests run on this system so they can be shared between configure
\r
10893 # scripts and configure runs, see configure's option --config-cache.
\r
10894 # It is not useful on other systems. If it contains results you don't
\r
10895 # want to keep, you may remove or edit it.
\r
10897 # config.status only pays attention to the cache file if you give it
\r
10898 # the --recheck option to rerun configure.
\r
10900 # `ac_cv_env_foo' variables (set or unset) will be overridden when
\r
10901 # loading this file, other *unset* `ac_cv_foo' will be assigned the
\r
10902 # following values.
\r
10906 # The following way of writing the cache mishandles newlines in values,
\r
10907 # but we know of no workaround that is simple, portable, and efficient.
\r
10908 # So, we kill variables containing newlines.
\r
10909 # Ultrix sh set writes to stderr and can't be redirected directly,
\r
10910 # and sets the high bit in the cache file unless we assign to the vars.
\r
10912 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
\r
10913 eval ac_val=\$$ac_var
\r
10914 case $ac_val in #(
\r
10916 case $ac_var in #(
\r
10917 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
\r
10918 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
\r
10920 case $ac_var in #(
\r
10921 _ | IFS | as_nl) ;; #(
\r
10922 *) $as_unset $ac_var ;;
\r
10928 case $as_nl`(ac_space=' '; set) 2>&1` in #(
\r
10929 *${as_nl}ac_space=\ *)
\r
10930 # `set' does not quote correctly, so add quotes (double-quote
\r
10931 # substitution turns \\\\ into \\, and sed turns \\ into \).
\r
10934 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
\r
10937 # `set' quotes correctly as required by POSIX, so do not add quotes.
\r
10938 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
\r
10944 /^ac_cv_env_/b end
\r
10947 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
\r
10949 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
\r
10950 :end' >>confcache
\r
10951 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
\r
10952 if test -w "$cache_file"; then
\r
10953 test "x$cache_file" != "x/dev/null" &&
\r
10954 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
\r
10955 echo "$as_me: updating cache $cache_file" >&6;}
\r
10956 cat confcache >$cache_file
\r
10958 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
\r
10959 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
\r
10964 test "x$prefix" = xNONE && prefix=$ac_default_prefix
\r
10965 # Let make expand exec_prefix.
\r
10966 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
\r
10968 DEFS=-DHAVE_CONFIG_H
\r
10972 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
\r
10973 # 1. Remove the extension, and $U if already installed.
\r
10974 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
\r
10975 ac_i=`echo "$ac_i" | sed "$ac_script"`
\r
10976 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
\r
10977 # will be set to the directory where LIBOBJS objects are built.
\r
10978 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
\r
10979 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
\r
10981 LIBOBJS=$ac_libobjs
\r
10983 LTLIBOBJS=$ac_ltlibobjs
\r
10986 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
\r
10987 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
\r
10988 Usually this means the macro was only invoked conditionally." >&5
\r
10989 echo "$as_me: error: conditional \"AMDEP\" was never defined.
\r
10990 Usually this means the macro was only invoked conditionally." >&2;}
\r
10991 { (exit 1); exit 1; }; }
\r
10993 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
\r
10994 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
\r
10995 Usually this means the macro was only invoked conditionally." >&5
\r
10996 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
\r
10997 Usually this means the macro was only invoked conditionally." >&2;}
\r
10998 { (exit 1); exit 1; }; }
\r
11000 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
\r
11001 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
\r
11002 Usually this means the macro was only invoked conditionally." >&5
\r
11003 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
\r
11004 Usually this means the macro was only invoked conditionally." >&2;}
\r
11005 { (exit 1); exit 1; }; }
\r
11008 : ${CONFIG_STATUS=./config.status}
\r
11009 ac_clean_files_save=$ac_clean_files
\r
11010 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
\r
11011 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
\r
11012 echo "$as_me: creating $CONFIG_STATUS" >&6;}
\r
11013 cat >$CONFIG_STATUS <<_ACEOF
\r
11015 # Generated by $as_me.
\r
11016 # Run this file to recreate the current configuration.
\r
11017 # Compiler output produced by configure, useful for debugging
\r
11018 # configure, is in config.log if it exists.
\r
11021 ac_cs_recheck=false
\r
11022 ac_cs_silent=false
\r
11023 SHELL=\${CONFIG_SHELL-$SHELL}
\r
11026 cat >>$CONFIG_STATUS <<\_ACEOF
\r
11027 ## --------------------- ##
\r
11028 ## M4sh Initialization. ##
\r
11029 ## --------------------- ##
\r
11031 # Be more Bourne compatible
\r
11032 DUALCASE=1; export DUALCASE # for MKS sh
\r
11033 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
\r
11036 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
\r
11037 # is contrary to our usage. Disable this feature.
\r
11038 alias -g '${1+"$@"}'='"$@"'
\r
11039 setopt NO_GLOB_SUBST
\r
11041 case `(set -o) 2>/dev/null` in
\r
11042 *posix*) set -o posix ;;
\r
11051 # Avoid depending upon Character Ranges.
\r
11052 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
\r
11053 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
\r
11054 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
\r
11055 as_cr_digits='0123456789'
\r
11056 as_cr_alnum=$as_cr_Letters$as_cr_digits
\r
11058 # The user is always right.
\r
11059 if test "${PATH_SEPARATOR+set}" != set; then
\r
11060 echo "#! /bin/sh" >conf$$.sh
\r
11061 echo "exit 0" >>conf$$.sh
\r
11062 chmod +x conf$$.sh
\r
11063 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
\r
11064 PATH_SEPARATOR=';'
\r
11071 # Support unset when possible.
\r
11072 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
\r
11080 # We need space, tab and new line, in precisely that order. Quoting is
\r
11081 # there to prevent editors from complaining about space-tab.
\r
11082 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
\r
11083 # splitting by setting IFS to empty value.)
\r
11088 # Find who we are. Look in the path if we contain no directory separator.
\r
11090 *[\\/]* ) as_myself=$0 ;;
\r
11091 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
\r
11092 for as_dir in $PATH
\r
11095 test -z "$as_dir" && as_dir=.
\r
11096 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
\r
11102 # We did not find ourselves, most probably we were run as `sh COMMAND'
\r
11103 # in which case we are not to be found in the path.
\r
11104 if test "x$as_myself" = x; then
\r
11107 if test ! -f "$as_myself"; then
\r
11108 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
\r
11109 { (exit 1); exit 1; }
\r
11112 # Work around bugs in pre-3.0 UWIN ksh.
\r
11113 for as_var in ENV MAIL MAILPATH
\r
11114 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
\r
11122 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
\r
11123 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
\r
11124 LC_TELEPHONE LC_TIME
\r
11126 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
\r
11127 eval $as_var=C; export $as_var
\r
11129 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
\r
11133 # Required to use basename.
\r
11134 if expr a : '\(a\)' >/dev/null 2>&1 &&
\r
11135 test "X`expr 00001 : '.*\(...\)'`" = X001; then
\r
11141 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
\r
11142 as_basename=basename
\r
11144 as_basename=false
\r
11148 # Name of the executable.
\r
11149 as_me=`$as_basename -- "$0" ||
\r
11150 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
\r
11151 X"$0" : 'X\(//\)$' \| \
\r
11152 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
\r
11154 sed '/^.*\/\([^/][^/]*\)\/*$/{
\r
11173 as_lineno_1=$LINENO
\r
11174 as_lineno_2=$LINENO
\r
11175 test "x$as_lineno_1" != "x$as_lineno_2" &&
\r
11176 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
\r
11178 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
\r
11179 # uniformly replaced by the line number. The first 'sed' inserts a
\r
11180 # line-number line after each line using $LINENO; the second 'sed'
\r
11181 # does the real work. The second script uses 'N' to pair each
\r
11182 # line-number line with the line containing $LINENO, and appends
\r
11183 # trailing '-' during substitution so that $LINENO is not a special
\r
11184 # case at line end.
\r
11185 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
\r
11186 # scripts with optimization help from Paolo Bonzini. Blame Lee
\r
11187 # E. McMahon (1931-1989) for sed's syntax. :-)
\r
11193 s/[$]LINENO.*/&-/
\r
11199 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
\r
11202 ' >$as_me.lineno &&
\r
11203 chmod +x "$as_me.lineno" ||
\r
11204 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
\r
11205 { (exit 1); exit 1; }; }
\r
11207 # Don't try to exec as it changes $[0], causing all sort of problems
\r
11208 # (the dirname of $[0] is not the place where we might find the
\r
11209 # original and so on. Autoconf is especially sensitive to this).
\r
11210 . "./$as_me.lineno"
\r
11211 # Exit status is that of the last command.
\r
11216 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
\r
11217 as_dirname=dirname
\r
11222 ECHO_C= ECHO_N= ECHO_T=
\r
11223 case `echo -n x` in
\r
11225 case `echo 'x\c'` in
\r
11226 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
\r
11233 if expr a : '\(a\)' >/dev/null 2>&1 &&
\r
11234 test "X`expr 00001 : '.*\(...\)'`" = X001; then
\r
11240 rm -f conf$$ conf$$.exe conf$$.file
\r
11241 if test -d conf$$.dir; then
\r
11242 rm -f conf$$.dir/conf$$.file
\r
11247 echo >conf$$.file
\r
11248 if ln -s conf$$.file conf$$ 2>/dev/null; then
\r
11250 # ... but there are two gotchas:
\r
11251 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
\r
11252 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
\r
11253 # In both cases, we have to default to `cp -p'.
\r
11254 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
\r
11256 elif ln conf$$.file conf$$ 2>/dev/null; then
\r
11261 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
\r
11262 rmdir conf$$.dir 2>/dev/null
\r
11264 if mkdir -p . 2>/dev/null; then
\r
11267 test -d ./-p && rmdir ./-p
\r
11271 if test -x / >/dev/null 2>&1; then
\r
11272 as_test_x='test -x'
\r
11274 if ls -dL / >/dev/null 2>&1; then
\r
11281 if test -d "$1"; then
\r
11287 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
\r
11288 ???[sx]*):;;*)false;;esac;fi
\r
11292 as_executable_p=$as_test_x
\r
11294 # Sed expression to map a string onto a valid CPP name.
\r
11295 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
\r
11297 # Sed expression to map a string onto a valid variable name.
\r
11298 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
\r
11303 # Save the log message, to keep $[0] and so on meaningful, and to
\r
11304 # report actual input values of CONFIG_FILES etc. instead of their
\r
11305 # values after options handling.
\r
11307 This file was extended by xboard $as_me 4.3, which was
\r
11308 generated by GNU Autoconf 2.61. Invocation command line was
\r
11310 CONFIG_FILES = $CONFIG_FILES
\r
11311 CONFIG_HEADERS = $CONFIG_HEADERS
\r
11312 CONFIG_LINKS = $CONFIG_LINKS
\r
11313 CONFIG_COMMANDS = $CONFIG_COMMANDS
\r
11316 on `(hostname || uname -n) 2>/dev/null | sed 1q`
\r
11321 cat >>$CONFIG_STATUS <<_ACEOF
\r
11322 # Files that config.status was made for.
\r
11323 config_files="$ac_config_files"
\r
11324 config_headers="$ac_config_headers"
\r
11325 config_commands="$ac_config_commands"
\r
11329 cat >>$CONFIG_STATUS <<\_ACEOF
\r
11331 \`$as_me' instantiates files from templates according to the
\r
11332 current configuration.
\r
11334 Usage: $0 [OPTIONS] [FILE]...
\r
11336 -h, --help print this help, then exit
\r
11337 -V, --version print version number and configuration settings, then exit
\r
11338 -q, --quiet do not print progress messages
\r
11339 -d, --debug don't remove temporary files
\r
11340 --recheck update $as_me by reconfiguring in the same conditions
\r
11341 --file=FILE[:TEMPLATE]
\r
11342 instantiate the configuration file FILE
\r
11343 --header=FILE[:TEMPLATE]
\r
11344 instantiate the configuration header FILE
\r
11346 Configuration files:
\r
11349 Configuration headers:
\r
11352 Configuration commands:
\r
11355 Report bugs to <bug-autoconf@gnu.org>."
\r
11358 cat >>$CONFIG_STATUS <<_ACEOF
\r
11359 ac_cs_version="\\
\r
11360 xboard config.status 4.3
\r
11361 configured by $0, generated by GNU Autoconf 2.61,
\r
11362 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
\r
11364 Copyright (C) 2006 Free Software Foundation, Inc.
\r
11365 This config.status script is free software; the Free Software Foundation
\r
11366 gives unlimited permission to copy, distribute and modify it."
\r
11370 INSTALL='$INSTALL'
\r
11371 MKDIR_P='$MKDIR_P'
\r
11374 cat >>$CONFIG_STATUS <<\_ACEOF
\r
11375 # If no file are specified by the user, then we need to provide default
\r
11376 # value. By we need to know if files were specified by the user.
\r
11377 ac_need_defaults=:
\r
11378 while test $# != 0
\r
11382 ac_option=`expr "X$1" : 'X\([^=]*\)='`
\r
11383 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
\r
11393 case $ac_option in
\r
11394 # Handling of the options.
\r
11395 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
\r
11396 ac_cs_recheck=: ;;
\r
11397 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
\r
11398 echo "$ac_cs_version"; exit ;;
\r
11399 --debug | --debu | --deb | --de | --d | -d )
\r
11401 --file | --fil | --fi | --f )
\r
11403 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
\r
11404 ac_need_defaults=false;;
\r
11405 --header | --heade | --head | --hea )
\r
11407 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
\r
11408 ac_need_defaults=false;;
\r
11410 # Conflict between --help and --header
\r
11411 { echo "$as_me: error: ambiguous option: $1
\r
11412 Try \`$0 --help' for more information." >&2
\r
11413 { (exit 1); exit 1; }; };;
\r
11414 --help | --hel | -h )
\r
11415 echo "$ac_cs_usage"; exit ;;
\r
11416 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
\r
11417 | -silent | --silent | --silen | --sile | --sil | --si | --s)
\r
11418 ac_cs_silent=: ;;
\r
11420 # This is an error.
\r
11421 -*) { echo "$as_me: error: unrecognized option: $1
\r
11422 Try \`$0 --help' for more information." >&2
\r
11423 { (exit 1); exit 1; }; } ;;
\r
11425 *) ac_config_targets="$ac_config_targets $1"
\r
11426 ac_need_defaults=false ;;
\r
11432 ac_configure_extra_args=
\r
11434 if $ac_cs_silent; then
\r
11436 ac_configure_extra_args="$ac_configure_extra_args --silent"
\r
11440 cat >>$CONFIG_STATUS <<_ACEOF
\r
11441 if \$ac_cs_recheck; then
\r
11442 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
\r
11443 CONFIG_SHELL=$SHELL
\r
11444 export CONFIG_SHELL
\r
11445 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
\r
11449 cat >>$CONFIG_STATUS <<\_ACEOF
\r
11450 exec 5>>config.log
\r
11453 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
\r
11454 ## Running $as_me. ##
\r
11460 cat >>$CONFIG_STATUS <<_ACEOF
\r
11464 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
\r
11468 cat >>$CONFIG_STATUS <<\_ACEOF
\r
11470 # Handling of arguments.
\r
11471 for ac_config_target in $ac_config_targets
\r
11473 case $ac_config_target in
\r
11474 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
\r
11475 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
\r
11476 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
\r
11477 "cmail") CONFIG_FILES="$CONFIG_FILES cmail" ;;
\r
11478 "xboard.texinfo") CONFIG_FILES="$CONFIG_FILES xboard.texinfo" ;;
\r
11479 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
\r
11481 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
\r
11482 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
\r
11483 { (exit 1); exit 1; }; };;
\r
11488 # If the user did not use the arguments to specify the items to instantiate,
\r
11489 # then the envvar interface is used. Set only those that are not.
\r
11490 # We use the long form for the default assignment because of an extremely
\r
11491 # bizarre bug on SunOS 4.1.3.
\r
11492 if $ac_need_defaults; then
\r
11493 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
\r
11494 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
\r
11495 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
\r
11498 # Have a temporary directory for convenience. Make it in the build tree
\r
11499 # simply because there is no reason against having it here, and in addition,
\r
11500 # creating and moving files from /tmp can sometimes cause problems.
\r
11501 # Hook for its removal unless debugging.
\r
11502 # Note that there is a small window in which the directory will not be cleaned:
\r
11503 # after its creation but before its name has been assigned to `$tmp'.
\r
11507 trap 'exit_status=$?
\r
11508 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
\r
11510 trap '{ (exit 1); exit 1; }' 1 2 13 15
\r
11512 # Create a (secure) tmp directory for tmp files.
\r
11515 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
\r
11516 test -n "$tmp" && test -d "$tmp"
\r
11519 tmp=./conf$$-$RANDOM
\r
11520 (umask 077 && mkdir "$tmp")
\r
11523 echo "$me: cannot create a temporary directory in ." >&2
\r
11524 { (exit 1); exit 1; }
\r
11528 # Set up the sed scripts for CONFIG_FILES section.
\r
11531 # No need to generate the scripts if there are no CONFIG_FILES.
\r
11532 # This happens for instance when ./config.status config.h
\r
11533 if test -n "$CONFIG_FILES"; then
\r
11539 ac_delim='%!_!# '
\r
11540 for ac_last_try in false false false false false :; do
\r
11541 cat >conf$$subs.sed <<_ACEOF
\r
11542 SHELL!$SHELL$ac_delim
\r
11543 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
\r
11544 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
\r
11545 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
\r
11546 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
\r
11547 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
\r
11548 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
\r
11549 exec_prefix!$exec_prefix$ac_delim
\r
11550 prefix!$prefix$ac_delim
\r
11551 program_transform_name!$program_transform_name$ac_delim
\r
11552 bindir!$bindir$ac_delim
\r
11553 sbindir!$sbindir$ac_delim
\r
11554 libexecdir!$libexecdir$ac_delim
\r
11555 datarootdir!$datarootdir$ac_delim
\r
11556 datadir!$datadir$ac_delim
\r
11557 sysconfdir!$sysconfdir$ac_delim
\r
11558 sharedstatedir!$sharedstatedir$ac_delim
\r
11559 localstatedir!$localstatedir$ac_delim
\r
11560 includedir!$includedir$ac_delim
\r
11561 oldincludedir!$oldincludedir$ac_delim
\r
11562 docdir!$docdir$ac_delim
\r
11563 infodir!$infodir$ac_delim
\r
11564 htmldir!$htmldir$ac_delim
\r
11565 dvidir!$dvidir$ac_delim
\r
11566 pdfdir!$pdfdir$ac_delim
\r
11567 psdir!$psdir$ac_delim
\r
11568 libdir!$libdir$ac_delim
\r
11569 localedir!$localedir$ac_delim
\r
11570 mandir!$mandir$ac_delim
\r
11571 DEFS!$DEFS$ac_delim
\r
11572 ECHO_C!$ECHO_C$ac_delim
\r
11573 ECHO_N!$ECHO_N$ac_delim
\r
11574 ECHO_T!$ECHO_T$ac_delim
\r
11575 LIBS!$LIBS$ac_delim
\r
11576 build_alias!$build_alias$ac_delim
\r
11577 host_alias!$host_alias$ac_delim
\r
11578 target_alias!$target_alias$ac_delim
\r
11579 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
\r
11580 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
\r
11581 INSTALL_DATA!$INSTALL_DATA$ac_delim
\r
11582 am__isrc!$am__isrc$ac_delim
\r
11583 CYGPATH_W!$CYGPATH_W$ac_delim
\r
11584 PACKAGE!$PACKAGE$ac_delim
\r
11585 VERSION!$VERSION$ac_delim
\r
11586 ACLOCAL!$ACLOCAL$ac_delim
\r
11587 AUTOCONF!$AUTOCONF$ac_delim
\r
11588 AUTOMAKE!$AUTOMAKE$ac_delim
\r
11589 AUTOHEADER!$AUTOHEADER$ac_delim
\r
11590 MAKEINFO!$MAKEINFO$ac_delim
\r
11591 install_sh!$install_sh$ac_delim
\r
11592 STRIP!$STRIP$ac_delim
\r
11593 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
\r
11594 mkdir_p!$mkdir_p$ac_delim
\r
11595 AWK!$AWK$ac_delim
\r
11596 SET_MAKE!$SET_MAKE$ac_delim
\r
11597 am__leading_dot!$am__leading_dot$ac_delim
\r
11598 AMTAR!$AMTAR$ac_delim
\r
11599 am__tar!$am__tar$ac_delim
\r
11600 am__untar!$am__untar$ac_delim
\r
11602 CFLAGS!$CFLAGS$ac_delim
\r
11603 LDFLAGS!$LDFLAGS$ac_delim
\r
11604 CPPFLAGS!$CPPFLAGS$ac_delim
\r
11605 ac_ct_CC!$ac_ct_CC$ac_delim
\r
11606 EXEEXT!$EXEEXT$ac_delim
\r
11607 OBJEXT!$OBJEXT$ac_delim
\r
11608 DEPDIR!$DEPDIR$ac_delim
\r
11609 am__include!$am__include$ac_delim
\r
11610 am__quote!$am__quote$ac_delim
\r
11611 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
\r
11612 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
\r
11613 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
\r
11614 CCDEPMODE!$CCDEPMODE$ac_delim
\r
11615 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
\r
11616 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
\r
11617 LIBOBJS!$LIBOBJS$ac_delim
\r
11618 LTLIBOBJS!$LTLIBOBJS$ac_delim
\r
11619 CPP!$CPP$ac_delim
\r
11620 LEX!$LEX$ac_delim
\r
11621 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
\r
11622 LEXLIB!$LEXLIB$ac_delim
\r
11623 RSH!$RSH$ac_delim
\r
11624 MINFO!$MINFO$ac_delim
\r
11625 NROFF!$NROFF$ac_delim
\r
11626 NROFFFLAGS!$NROFFFLAGS$ac_delim
\r
11627 AWKPATH!$AWKPATH$ac_delim
\r
11628 PERLPATH!$PERLPATH$ac_delim
\r
11629 GREP!$GREP$ac_delim
\r
11630 EGREP!$EGREP$ac_delim
\r
11631 XMKMF!$XMKMF$ac_delim
\r
11632 X_CFLAGS!$X_CFLAGS$ac_delim
\r
11633 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
\r
11634 X_LIBS!$X_LIBS$ac_delim
\r
11635 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
\r
11636 XAW_LIBS!$XAW_LIBS$ac_delim
\r
11637 build!$build$ac_delim
\r
11638 build_cpu!$build_cpu$ac_delim
\r
11641 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
\r
11643 elif $ac_last_try; then
\r
11644 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
\r
11645 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
\r
11646 { (exit 1); exit 1; }; }
\r
11648 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
\r
11652 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
\r
11653 if test -n "$ac_eof"; then
\r
11654 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
\r
11655 ac_eof=`expr $ac_eof + 1`
\r
11658 cat >>$CONFIG_STATUS <<_ACEOF
\r
11659 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
\r
11660 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
\r
11663 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
\r
11664 s/^/s,@/; s/!/@,|#_!!_#|/
\r
11667 s/'"$ac_delim"'$/,g/; t
\r
11669 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
\r
11670 ' >>$CONFIG_STATUS <conf$$subs.sed
\r
11671 rm -f conf$$subs.sed
\r
11672 cat >>$CONFIG_STATUS <<_ACEOF
\r
11677 ac_delim='%!_!# '
\r
11678 for ac_last_try in false false false false false :; do
\r
11679 cat >conf$$subs.sed <<_ACEOF
\r
11680 build_vendor!$build_vendor$ac_delim
\r
11681 build_os!$build_os$ac_delim
\r
11682 host!$host$ac_delim
\r
11683 host_cpu!$host_cpu$ac_delim
\r
11684 host_vendor!$host_vendor$ac_delim
\r
11685 host_os!$host_os$ac_delim
\r
11686 PRE_XMULIB!$PRE_XMULIB$ac_delim
\r
11687 POST_XMULIB!$POST_XMULIB$ac_delim
\r
11688 CONF_CFLAGS!$CONF_CFLAGS$ac_delim
\r
11689 CONF_LDFLAGS!$CONF_LDFLAGS$ac_delim
\r
11690 ZIPPY_O!$ZIPPY_O$ac_delim
\r
11691 ZIPPY_H!$ZIPPY_H$ac_delim
\r
11692 PRODUCT!$PRODUCT$ac_delim
\r
11693 PATCHLEVEL!$PATCHLEVEL$ac_delim
\r
11696 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then
\r
11698 elif $ac_last_try; then
\r
11699 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
\r
11700 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
\r
11701 { (exit 1); exit 1; }; }
\r
11703 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
\r
11707 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
\r
11708 if test -n "$ac_eof"; then
\r
11709 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
\r
11710 ac_eof=`expr $ac_eof + 1`
\r
11713 cat >>$CONFIG_STATUS <<_ACEOF
\r
11714 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
\r
11715 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
\r
11718 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
\r
11719 s/^/s,@/; s/!/@,|#_!!_#|/
\r
11722 s/'"$ac_delim"'$/,g/; t
\r
11724 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
\r
11725 ' >>$CONFIG_STATUS <conf$$subs.sed
\r
11726 rm -f conf$$subs.sed
\r
11727 cat >>$CONFIG_STATUS <<_ACEOF
\r
11734 # VPATH may cause trouble with some makes, so we remove $(srcdir),
\r
11735 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
\r
11736 # trailing colons and then remove the whole line if VPATH becomes empty
\r
11737 # (actually we leave an empty line to preserve line numbers).
\r
11738 if test "x$srcdir" = x.; then
\r
11739 ac_vpsub='/^[ ]*VPATH[ ]*=/{
\r
11740 s/:*\$(srcdir):*/:/
\r
11741 s/:*\${srcdir}:*/:/
\r
11742 s/:*@srcdir@:*/:/
\r
11743 s/^\([^=]*=[ ]*\):*/\1/
\r
11749 cat >>$CONFIG_STATUS <<\_ACEOF
\r
11750 fi # test -n "$CONFIG_FILES"
\r
11753 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
\r
11756 :[FHLC]) ac_mode=$ac_tag; continue;;
\r
11758 case $ac_mode$ac_tag in
\r
11760 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
\r
11761 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
\r
11762 { (exit 1); exit 1; }; };;
\r
11763 :[FH]-) ac_tag=-:-;;
\r
11764 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
\r
11775 :L) ac_source=$1;;
\r
11781 -) ac_f="$tmp/stdin";;
\r
11782 *) # Look for the file first in the build tree, then in the source tree
\r
11783 # (if the path is not absolute). The absolute path cannot be DOS-style,
\r
11784 # because $ac_f cannot contain `:'.
\r
11785 test -f "$ac_f" ||
\r
11788 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
\r
11790 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
\r
11791 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
\r
11792 { (exit 1); exit 1; }; };;
\r
11794 ac_file_inputs="$ac_file_inputs $ac_f"
\r
11797 # Let's still pretend it is `configure' which instantiates (i.e., don't
\r
11798 # use $as_me), people would be surprised to read:
\r
11799 # /* config.h. Generated by config.status. */
\r
11800 configure_input="Generated from "`IFS=:
\r
11801 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
\r
11802 if test x"$ac_file" != x-; then
\r
11803 configure_input="$ac_file. $configure_input"
\r
11804 { echo "$as_me:$LINENO: creating $ac_file" >&5
\r
11805 echo "$as_me: creating $ac_file" >&6;}
\r
11809 *:-:* | *:-) cat >"$tmp/stdin";;
\r
11814 ac_dir=`$as_dirname -- "$ac_file" ||
\r
11815 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
\r
11816 X"$ac_file" : 'X\(//\)[^/]' \| \
\r
11817 X"$ac_file" : 'X\(//\)$' \| \
\r
11818 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
\r
11819 echo X"$ac_file" |
\r
11820 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
\r
11824 /^X\(\/\/\)[^/].*/{
\r
11837 { as_dir="$ac_dir"
\r
11838 case $as_dir in #(
\r
11839 -*) as_dir=./$as_dir;;
\r
11841 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
\r
11844 case $as_dir in #(
\r
11845 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
\r
11846 *) as_qdir=$as_dir;;
\r
11848 as_dirs="'$as_qdir' $as_dirs"
\r
11849 as_dir=`$as_dirname -- "$as_dir" ||
\r
11850 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
\r
11851 X"$as_dir" : 'X\(//\)[^/]' \| \
\r
11852 X"$as_dir" : 'X\(//\)$' \| \
\r
11853 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
\r
11854 echo X"$as_dir" |
\r
11855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
\r
11859 /^X\(\/\/\)[^/].*/{
\r
11872 test -d "$as_dir" && break
\r
11874 test -z "$as_dirs" || eval "mkdir $as_dirs"
\r
11875 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
\r
11876 echo "$as_me: error: cannot create directory $as_dir" >&2;}
\r
11877 { (exit 1); exit 1; }; }; }
\r
11880 case "$ac_dir" in
\r
11881 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
\r
11883 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
\r
11884 # A ".." for each directory in $ac_dir_suffix.
\r
11885 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
\r
11886 case $ac_top_builddir_sub in
\r
11887 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
\r
11888 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
\r
11891 ac_abs_top_builddir=$ac_pwd
\r
11892 ac_abs_builddir=$ac_pwd$ac_dir_suffix
\r
11893 # for backward compatibility:
\r
11894 ac_top_builddir=$ac_top_build_prefix
\r
11897 .) # We are building in place.
\r
11899 ac_top_srcdir=$ac_top_builddir_sub
\r
11900 ac_abs_top_srcdir=$ac_pwd ;;
\r
11901 [\\/]* | ?:[\\/]* ) # Absolute name.
\r
11902 ac_srcdir=$srcdir$ac_dir_suffix;
\r
11903 ac_top_srcdir=$srcdir
\r
11904 ac_abs_top_srcdir=$srcdir ;;
\r
11905 *) # Relative name.
\r
11906 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
\r
11907 ac_top_srcdir=$ac_top_build_prefix$srcdir
\r
11908 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
\r
11910 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
\r
11920 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
\r
11921 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
\r
11923 ac_MKDIR_P=$MKDIR_P
\r
11925 [\\/$]* | ?:[\\/]* ) ;;
\r
11926 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
\r
11930 cat >>$CONFIG_STATUS <<\_ACEOF
\r
11931 # If the template does not know about datarootdir, expand it.
\r
11932 # FIXME: This hack should be removed a few years after 2.60.
\r
11933 ac_datarootdir_hack=; ac_datarootdir_seen=
\r
11935 case `sed -n '/datarootdir/ {
\r
11944 ' $ac_file_inputs` in
\r
11945 *datarootdir*) ac_datarootdir_seen=yes;;
\r
11946 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
\r
11947 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
\r
11948 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
\r
11950 cat >>$CONFIG_STATUS <<_ACEOF
\r
11951 ac_datarootdir_hack='
\r
11952 s&@datadir@&$datadir&g
\r
11953 s&@docdir@&$docdir&g
\r
11954 s&@infodir@&$infodir&g
\r
11955 s&@localedir@&$localedir&g
\r
11956 s&@mandir@&$mandir&g
\r
11957 s&\\\${datarootdir}&$datarootdir&g' ;;
\r
11961 # Neutralize VPATH when `$srcdir' = `.'.
\r
11962 # Shell code in configure.ac might set extrasub.
\r
11963 # FIXME: do we really want to maintain this feature?
\r
11964 cat >>$CONFIG_STATUS <<_ACEOF
\r
11968 cat >>$CONFIG_STATUS <<\_ACEOF
\r
11970 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
\r
11971 s&@configure_input@&$configure_input&;t t
\r
11972 s&@top_builddir@&$ac_top_builddir_sub&;t t
\r
11973 s&@srcdir@&$ac_srcdir&;t t
\r
11974 s&@abs_srcdir@&$ac_abs_srcdir&;t t
\r
11975 s&@top_srcdir@&$ac_top_srcdir&;t t
\r
11976 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
\r
11977 s&@builddir@&$ac_builddir&;t t
\r
11978 s&@abs_builddir@&$ac_abs_builddir&;t t
\r
11979 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
\r
11980 s&@INSTALL@&$ac_INSTALL&;t t
\r
11981 s&@MKDIR_P@&$ac_MKDIR_P&;t t
\r
11982 $ac_datarootdir_hack
\r
11983 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
\r
11985 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
\r
11986 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
\r
11987 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
\r
11988 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
\r
11989 which seems to be undefined. Please make sure it is defined." >&5
\r
11990 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
\r
11991 which seems to be undefined. Please make sure it is defined." >&2;}
\r
11993 rm -f "$tmp/stdin"
\r
11995 -) cat "$tmp/out"; rm -f "$tmp/out";;
\r
11996 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
\r
12005 # Transform confdefs.h into a sed script `conftest.defines', that
\r
12006 # substitutes the proper values into config.h.in to produce config.h.
\r
12007 rm -f conftest.defines conftest.tail
\r
12008 # First, append a space to every undef/define line, to ease matching.
\r
12009 echo 's/$/ /' >conftest.defines
\r
12010 # Then, protect against being on the right side of a sed subst, or in
\r
12011 # an unquoted here document, in config.status. If some macros were
\r
12012 # called several times there might be several #defines for the same
\r
12013 # symbol, which is useless. But do not sort them, since the last
\r
12014 # AC_DEFINE must be honored.
\r
12015 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
\r
12016 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
\r
12017 # NAME is the cpp macro being defined, VALUE is the value it is being given.
\r
12018 # PARAMS is the parameter list in the macro definition--in most cases, it's
\r
12019 # just an empty string.
\r
12020 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
\r
12021 ac_dB='\\)[ (].*,\\1define\\2'
\r
12025 uniq confdefs.h |
\r
12029 s/^[ ]*#[ ]*define[ ][ ]*//
\r
12034 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
\r
12035 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
\r
12036 ' >>conftest.defines
\r
12038 # Remove the space that was appended to ease matching.
\r
12039 # Then replace #undef with comments. This is necessary, for
\r
12040 # example, in the case of _POSIX_SOURCE, which is predefined and required
\r
12041 # on some systems where configure will not decide to define it.
\r
12042 # (The regexp can be short, since the line contains either #define or #undef.)
\r
12044 s,^[ #]*u.*,/* & */,' >>conftest.defines
\r
12046 # Break up conftest.defines:
\r
12047 ac_max_sed_lines=50
\r
12049 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
\r
12050 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
\r
12051 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
\r
12053 ac_in='$ac_file_inputs'
\r
12054 ac_out='"$tmp/out1"'
\r
12055 ac_nxt='"$tmp/out2"'
\r
12059 # Write a here document:
\r
12060 cat >>$CONFIG_STATUS <<_ACEOF
\r
12061 # First, check the format of the line:
\r
12062 cat >"\$tmp/defines.sed" <<\\CEOF
\r
12063 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
\r
12064 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
\r
12068 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
\r
12070 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
\r
12071 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
\r
12072 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
\r
12073 grep . conftest.tail >/dev/null || break
\r
12074 rm -f conftest.defines
\r
12075 mv conftest.tail conftest.defines
\r
12077 rm -f conftest.defines conftest.tail
\r
12079 echo "ac_result=$ac_in" >>$CONFIG_STATUS
\r
12080 cat >>$CONFIG_STATUS <<\_ACEOF
\r
12081 if test x"$ac_file" != x-; then
\r
12082 echo "/* $configure_input */" >"$tmp/config.h"
\r
12083 cat "$ac_result" >>"$tmp/config.h"
\r
12084 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
\r
12085 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
\r
12086 echo "$as_me: $ac_file is unchanged" >&6;}
\r
12089 mv "$tmp/config.h" $ac_file
\r
12092 echo "/* $configure_input */"
\r
12095 rm -f "$tmp/out12"
\r
12096 # Compute $ac_file's index in $config_headers.
\r
12098 _am_stamp_count=1
\r
12099 for _am_header in $config_headers :; do
\r
12100 case $_am_header in
\r
12101 $_am_arg | $_am_arg:* )
\r
12104 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
\r
12107 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
\r
12108 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
\r
12109 X"$_am_arg" : 'X\(//\)[^/]' \| \
\r
12110 X"$_am_arg" : 'X\(//\)$' \| \
\r
12111 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
\r
12112 echo X"$_am_arg" |
\r
12113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
\r
12117 /^X\(\/\/\)[^/].*/{
\r
12129 s/.*/./; q'`/stamp-h$_am_stamp_count
\r
12132 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
\r
12133 echo "$as_me: executing $ac_file commands" >&6;}
\r
12138 case $ac_file$ac_mode in
\r
12139 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
\r
12140 # Strip MF so we end up with the name of the file.
\r
12141 mf=`echo "$mf" | sed -e 's/:.*$//'`
\r
12142 # Check whether this is an Automake generated Makefile or not.
\r
12143 # We used to match only the files named `Makefile.in', but
\r
12144 # some people rename them; so instead we look at the file content.
\r
12145 # Grep'ing the first line is not enough: some people post-process
\r
12146 # each Makefile.in and add a new line on top of each file to say so.
\r
12147 # Grep'ing the whole file is not good either: AIX grep has a line
\r
12148 # limit of 2048, but all sed's we know have understand at least 4000.
\r
12149 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
\r
12150 dirpart=`$as_dirname -- "$mf" ||
\r
12151 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
\r
12152 X"$mf" : 'X\(//\)[^/]' \| \
\r
12153 X"$mf" : 'X\(//\)$' \| \
\r
12154 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
\r
12156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
\r
12160 /^X\(\/\/\)[^/].*/{
\r
12176 # Extract the definition of DEPDIR, am__include, and am__quote
\r
12177 # from the Makefile without running `make'.
\r
12178 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
\r
12179 test -z "$DEPDIR" && continue
\r
12180 am__include=`sed -n 's/^am__include = //p' < "$mf"`
\r
12181 test -z "am__include" && continue
\r
12182 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
\r
12183 # When using ansi2knr, U may be empty or an underscore; expand it
\r
12184 U=`sed -n 's/^U = //p' < "$mf"`
\r
12185 # Find all dependency output files, they are included files with
\r
12186 # $(DEPDIR) in their names. We invoke sed twice because it is the
\r
12187 # simplest approach to changing $(DEPDIR) to its actual value in the
\r
12189 for file in `sed -n "
\r
12190 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
\r
12191 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
\r
12192 # Make sure the directory exists.
\r
12193 test -f "$dirpart/$file" && continue
\r
12194 fdir=`$as_dirname -- "$file" ||
\r
12195 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
\r
12196 X"$file" : 'X\(//\)[^/]' \| \
\r
12197 X"$file" : 'X\(//\)$' \| \
\r
12198 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
\r
12200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
\r
12204 /^X\(\/\/\)[^/].*/{
\r
12217 { as_dir=$dirpart/$fdir
\r
12218 case $as_dir in #(
\r
12219 -*) as_dir=./$as_dir;;
\r
12221 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
\r
12224 case $as_dir in #(
\r
12225 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
\r
12226 *) as_qdir=$as_dir;;
\r
12228 as_dirs="'$as_qdir' $as_dirs"
\r
12229 as_dir=`$as_dirname -- "$as_dir" ||
\r
12230 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
\r
12231 X"$as_dir" : 'X\(//\)[^/]' \| \
\r
12232 X"$as_dir" : 'X\(//\)$' \| \
\r
12233 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
\r
12234 echo X"$as_dir" |
\r
12235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
\r
12239 /^X\(\/\/\)[^/].*/{
\r
12252 test -d "$as_dir" && break
\r
12254 test -z "$as_dirs" || eval "mkdir $as_dirs"
\r
12255 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
\r
12256 echo "$as_me: error: cannot create directory $as_dir" >&2;}
\r
12257 { (exit 1); exit 1; }; }; }
\r
12258 # echo "creating $dirpart/$file"
\r
12259 echo '# dummy' > "$dirpart/$file"
\r
12263 "default":C) test -z "$CONFIG_HEADERS" || date > stamp-h
\r
12268 done # for ac_tag
\r
12271 { (exit 0); exit 0; }
\r
12273 chmod +x $CONFIG_STATUS
\r
12274 ac_clean_files=$ac_clean_files_save
\r
12277 # configure is writing to config.log, and then calls config.status.
\r
12278 # config.status does its own redirection, appending to config.log.
\r
12279 # Unfortunately, on DOS this fails, as config.log is still kept open
\r
12280 # by configure, so config.status won't be able to write to it; its
\r
12281 # output is simply discarded. So we exec the FD to /dev/null,
\r
12282 # effectively closing config.log, so it can be properly (re)opened and
\r
12283 # appended to by config.status. When coming back to configure, we
\r
12284 # need to make the FD available again.
\r
12285 if test "$no_create" != yes; then
\r
12287 ac_config_status_args=
\r
12288 test "$silent" = yes &&
\r
12289 ac_config_status_args="$ac_config_status_args --quiet"
\r
12291 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
\r
12292 exec 5>>config.log
\r
12293 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
\r
12294 # would make configure fail if this is the last instruction.
\r
12295 $ac_cs_success || { (exit 1); exit 1; }
\r