2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for top 3.8beta1.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev
/null
6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix
=/usr
/local
564 ac_config_libobj_dir
=.
570 SHELL
=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
574 PACKAGE_TARNAME
='top'
575 PACKAGE_VERSION
='3.8beta1'
576 PACKAGE_STRING
='top 3.8beta1'
579 # Factoring default headers for most tests.
580 ac_includes_default
="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
624 program_transform_name
697 ac_subst_files
='FIRST_RULE
700 ac_precious_vars
='build_alias
711 # Initialize some variables set by options.
713 ac_init_version
=false
714 # The variables have the same names as the options, with
715 # dashes changed to underlines.
723 program_transform_name
=s
,x
,x
,
731 # Installation directory options.
732 # These are left unexpanded so users can "make install exec_prefix=/foo"
733 # and all the variables that are supposed to be based on exec_prefix
734 # by default will actually change.
735 # Use braces instead of parens because sh, perl, etc. also accept them.
736 # (The list follows the same order as the GNU Coding Standards.)
737 bindir
='${exec_prefix}/bin'
738 sbindir
='${exec_prefix}/sbin'
739 libexecdir
='${exec_prefix}/libexec'
740 datarootdir
='${prefix}/share'
741 datadir
='${datarootdir}'
742 sysconfdir
='${prefix}/etc'
743 sharedstatedir
='${prefix}/com'
744 localstatedir
='${prefix}/var'
745 includedir
='${prefix}/include'
746 oldincludedir
='/usr/include'
747 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
748 infodir
='${datarootdir}/info'
753 libdir
='${exec_prefix}/lib'
754 localedir
='${datarootdir}/locale'
755 mandir
='${datarootdir}/man'
761 # If the previous option needs an argument, assign it.
762 if test -n "$ac_prev"; then
763 eval $ac_prev=\
$ac_option
769 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
773 # Accept the important Cygnus configure options, so we can diagnose typos.
775 case $ac_dashdash$ac_option in
779 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
781 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
784 -build |
--build |
--buil |
--bui |
--bu)
785 ac_prev
=build_alias
;;
786 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
787 build_alias
=$ac_optarg ;;
789 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
790 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
791 ac_prev
=cache_file
;;
792 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
793 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
794 cache_file
=$ac_optarg ;;
797 cache_file
=config.cache
;;
799 -datadir |
--datadir |
--datadi |
--datad)
801 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
802 datadir
=$ac_optarg ;;
804 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
805 |
--dataroo |
--dataro |
--datar)
806 ac_prev
=datarootdir
;;
807 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
808 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
809 datarootdir
=$ac_optarg ;;
811 -disable-* |
--disable-*)
812 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
813 # Reject names that are not valid shell variable names.
814 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
815 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
816 { (exit 1); exit 1; }; }
817 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
818 eval enable_
$ac_feature=no
;;
820 -docdir |
--docdir |
--docdi |
--doc |
--do)
822 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
825 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
827 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
830 -enable-* |
--enable-*)
831 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
832 # Reject names that are not valid shell variable names.
833 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
834 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
835 { (exit 1); exit 1; }; }
836 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
837 eval enable_
$ac_feature=\
$ac_optarg ;;
839 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
840 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
841 |
--exec |
--exe |
--ex)
842 ac_prev
=exec_prefix
;;
843 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
844 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
845 |
--exec=* |
--exe=* |
--ex=*)
846 exec_prefix
=$ac_optarg ;;
848 -gas |
--gas |
--ga |
--g)
849 # Obsolete; use --with-gas.
852 -help |
--help |
--hel |
--he |
-h)
854 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
855 ac_init_help
=recursive
;;
856 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
857 ac_init_help
=short
;;
859 -host |
--host |
--hos |
--ho)
860 ac_prev
=host_alias
;;
861 -host=* |
--host=* |
--hos=* |
--ho=*)
862 host_alias
=$ac_optarg ;;
864 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
866 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
868 htmldir
=$ac_optarg ;;
870 -includedir |
--includedir |
--includedi |
--included |
--include \
871 |
--includ |
--inclu |
--incl |
--inc)
872 ac_prev
=includedir
;;
873 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
874 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
875 includedir
=$ac_optarg ;;
877 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
879 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
880 infodir
=$ac_optarg ;;
882 -libdir |
--libdir |
--libdi |
--libd)
884 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
887 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
888 |
--libexe |
--libex |
--libe)
889 ac_prev
=libexecdir
;;
890 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
891 |
--libexe=* |
--libex=* |
--libe=*)
892 libexecdir
=$ac_optarg ;;
894 -localedir |
--localedir |
--localedi |
--localed |
--locale)
896 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
897 localedir
=$ac_optarg ;;
899 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
900 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
901 ac_prev
=localstatedir
;;
902 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
903 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
904 localstatedir
=$ac_optarg ;;
906 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
908 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
912 # Obsolete; use --without-fp.
915 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
916 |
--no-cr |
--no-c |
-n)
919 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
920 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
923 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
924 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
925 |
--oldin |
--oldi |
--old |
--ol |
--o)
926 ac_prev
=oldincludedir
;;
927 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
928 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
929 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
930 oldincludedir
=$ac_optarg ;;
932 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
934 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
937 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
938 |
--program-pre |
--program-pr |
--program-p)
939 ac_prev
=program_prefix
;;
940 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
941 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
942 program_prefix
=$ac_optarg ;;
944 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
945 |
--program-suf |
--program-su |
--program-s)
946 ac_prev
=program_suffix
;;
947 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
948 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
949 program_suffix
=$ac_optarg ;;
951 -program-transform-name |
--program-transform-name \
952 |
--program-transform-nam |
--program-transform-na \
953 |
--program-transform-n |
--program-transform- \
954 |
--program-transform |
--program-transfor \
955 |
--program-transfo |
--program-transf \
956 |
--program-trans |
--program-tran \
957 |
--progr-tra |
--program-tr |
--program-t)
958 ac_prev
=program_transform_name
;;
959 -program-transform-name=* |
--program-transform-name=* \
960 |
--program-transform-nam=* |
--program-transform-na=* \
961 |
--program-transform-n=* |
--program-transform-=* \
962 |
--program-transform=* |
--program-transfor=* \
963 |
--program-transfo=* |
--program-transf=* \
964 |
--program-trans=* |
--program-tran=* \
965 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
966 program_transform_name
=$ac_optarg ;;
968 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
970 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
973 -psdir |
--psdir |
--psdi |
--psd |
--ps)
975 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
978 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
979 |
-silent |
--silent |
--silen |
--sile |
--sil)
982 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
984 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
986 sbindir
=$ac_optarg ;;
988 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
989 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
990 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
992 ac_prev
=sharedstatedir
;;
993 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
994 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
995 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
997 sharedstatedir
=$ac_optarg ;;
999 -site |
--site |
--sit)
1001 -site=* |
--site=* |
--sit=*)
1004 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1006 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1007 srcdir
=$ac_optarg ;;
1009 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1010 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1011 ac_prev
=sysconfdir
;;
1012 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1013 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1014 sysconfdir
=$ac_optarg ;;
1016 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1017 ac_prev
=target_alias
;;
1018 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1019 target_alias
=$ac_optarg ;;
1021 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1024 -version |
--version |
--versio |
--versi |
--vers |
-V)
1025 ac_init_version
=: ;;
1028 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1029 # Reject names that are not valid shell variable names.
1030 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1031 { echo "$as_me: error: invalid package name: $ac_package" >&2
1032 { (exit 1); exit 1; }; }
1033 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1034 eval with_
$ac_package=\
$ac_optarg ;;
1036 -without-* |
--without-*)
1037 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1038 # Reject names that are not valid shell variable names.
1039 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1040 { echo "$as_me: error: invalid package name: $ac_package" >&2
1041 { (exit 1); exit 1; }; }
1042 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1043 eval with_
$ac_package=no
;;
1046 # Obsolete; use --with-x.
1049 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1050 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1051 ac_prev
=x_includes
;;
1052 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1053 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1054 x_includes
=$ac_optarg ;;
1056 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1057 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1058 ac_prev
=x_libraries
;;
1059 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1060 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1061 x_libraries
=$ac_optarg ;;
1063 -*) { echo "$as_me: error: unrecognized option: $ac_option
1064 Try \`$0 --help' for more information." >&2
1065 { (exit 1); exit 1; }; }
1069 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1070 # Reject names that are not valid shell variable names.
1071 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1072 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1073 { (exit 1); exit 1; }; }
1074 eval $ac_envvar=\
$ac_optarg
1075 export $ac_envvar ;;
1078 # FIXME: should be removed in autoconf 3.0.
1079 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1080 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1081 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1082 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1088 if test -n "$ac_prev"; then
1089 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1090 { echo "$as_me: error: missing argument to $ac_option" >&2
1091 { (exit 1); exit 1; }; }
1094 # Be sure to have absolute directory names.
1095 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1096 datadir sysconfdir sharedstatedir localstatedir includedir \
1097 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1098 libdir localedir mandir
1100 eval ac_val
=\$
$ac_var
1102 [\\/$
]* | ?
:[\\/]* ) continue;;
1103 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1105 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1106 { (exit 1); exit 1; }; }
1109 # There might be people who depend on the old broken behavior: `$host'
1110 # used to hold the argument of --host etc.
1111 # FIXME: To remove some day.
1114 target
=$target_alias
1116 # FIXME: To remove some day.
1117 if test "x$host_alias" != x
; then
1118 if test "x$build_alias" = x
; then
1119 cross_compiling
=maybe
1120 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1121 If a cross compiler is detected then cross compile mode will be used." >&2
1122 elif test "x$build_alias" != "x$host_alias"; then
1128 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1130 test "$silent" = yes && exec 6>/dev
/null
1133 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1134 ac_ls_di
=`ls -di .` &&
1135 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1136 { echo "$as_me: error: Working directory cannot be determined" >&2
1137 { (exit 1); exit 1; }; }
1138 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1139 { echo "$as_me: error: pwd does not report name of working directory" >&2
1140 { (exit 1); exit 1; }; }
1143 # Find the source files, if location was not specified.
1144 if test -z "$srcdir"; then
1145 ac_srcdir_defaulted
=yes
1146 # Try the directory containing this script, then the parent directory.
1147 ac_confdir
=`$as_dirname -- "$0" ||
1148 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1149 X"$0" : 'X\(//\)[^/]' \| \
1150 X"$0" : 'X\(//\)$' \| \
1151 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1171 if test ! -r "$srcdir/$ac_unique_file"; then
1175 ac_srcdir_defaulted
=no
1177 if test ! -r "$srcdir/$ac_unique_file"; then
1178 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1179 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1180 { (exit 1); exit 1; }; }
1182 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1184 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1185 { (exit 1); exit 1; }; }
1187 # When building in place, set srcdir=.
1188 if test "$ac_abs_confdir" = "$ac_pwd"; then
1191 # Remove unnecessary trailing slashes from srcdir.
1192 # Double slashes in file names in object file debugging info
1193 # mess up M-x gdb in Emacs.
1195 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1197 for ac_var
in $ac_precious_vars; do
1198 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1199 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1200 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1201 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1205 # Report the --help message.
1207 if test "$ac_init_help" = "long"; then
1208 # Omit some internal or obsolete options to make the list less imposing.
1209 # This message is too long to be a string in the A/UX 3.1 sh.
1211 \`configure' configures top 3.8beta1 to adapt to many kinds of systems.
1213 Usage: $0 [OPTION]... [VAR=VALUE]...
1215 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1216 VAR=VALUE. See below for descriptions of some of the useful variables.
1218 Defaults for the options are specified in brackets.
1221 -h, --help display this help and exit
1222 --help=short display options specific to this package
1223 --help=recursive display the short help of all the included packages
1224 -V, --version display version information and exit
1225 -q, --quiet, --silent do not print \`checking...' messages
1226 --cache-file=FILE cache test results in FILE [disabled]
1227 -C, --config-cache alias for \`--cache-file=config.cache'
1228 -n, --no-create do not create output files
1229 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1231 Installation directories:
1232 --prefix=PREFIX install architecture-independent files in PREFIX
1233 [$ac_default_prefix]
1234 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1237 By default, \`make install' will install all the files in
1238 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1239 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1240 for instance \`--prefix=\$HOME'.
1242 For better control, use the options below.
1244 Fine tuning of the installation directories:
1245 --bindir=DIR user executables [EPREFIX/bin]
1246 --sbindir=DIR system admin executables [EPREFIX/sbin]
1247 --libexecdir=DIR program executables [EPREFIX/libexec]
1248 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1249 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1250 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1251 --libdir=DIR object code libraries [EPREFIX/lib]
1252 --includedir=DIR C header files [PREFIX/include]
1253 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1254 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1255 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1256 --infodir=DIR info documentation [DATAROOTDIR/info]
1257 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1258 --mandir=DIR man documentation [DATAROOTDIR/man]
1259 --docdir=DIR documentation root [DATAROOTDIR/doc/top]
1260 --htmldir=DIR html documentation [DOCDIR]
1261 --dvidir=DIR dvi documentation [DOCDIR]
1262 --pdfdir=DIR pdf documentation [DOCDIR]
1263 --psdir=DIR ps documentation [DOCDIR]
1269 --build=BUILD configure
for building on BUILD
[guessed
]
1270 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1271 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1275 if test -n "$ac_init_help"; then
1276 case $ac_init_help in
1277 short | recursive
) echo "Configuration of top 3.8beta1:";;
1282 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1283 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1284 --enable-debug enable support
for debugging output
1285 --disable-kill disable
kill and renice commands
1286 --disable-color disable the use of color
1287 --disable-colour synonym
for --disable-color
1288 --enable-dualarch enable or disable a dual architecture
(32-bit and
1292 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1293 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1294 --with-module=NAME use the platform module NAME
1295 --with-ext=EXT use the extension EXT
1296 --with-default-topn=N use N as the default
for number of processes
1297 --with-nominal-topn=N use N as the default number of processes
for
1299 --with-default-delay=SEC
1300 use a default delay of SEC seconds
1302 Some influential environment variables
:
1303 CC C compiler
command
1304 CFLAGS C compiler flags
1305 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1306 nonstandard directory
<lib dir
>
1307 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1308 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1309 you have headers
in a nonstandard directory
<include dir
>
1312 Use these variables to override the choices made by
`configure' or to help
1313 it to find libraries and programs with nonstandard names/locations.
1319 if test "$ac_init_help" = "recursive"; then
1320 # If there are subdirs, report their specific --help.
1321 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1322 test -d "$ac_dir" || continue
1326 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1328 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1329 # A ".." for each directory in $ac_dir_suffix.
1330 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1331 case $ac_top_builddir_sub in
1332 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1333 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1336 ac_abs_top_builddir=$ac_pwd
1337 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1338 # for backward compatibility:
1339 ac_top_builddir=$ac_top_build_prefix
1342 .) # We are building in place.
1344 ac_top_srcdir=$ac_top_builddir_sub
1345 ac_abs_top_srcdir=$ac_pwd ;;
1346 [\\/]* | ?:[\\/]* ) # Absolute name.
1347 ac_srcdir=$srcdir$ac_dir_suffix;
1348 ac_top_srcdir=$srcdir
1349 ac_abs_top_srcdir=$srcdir ;;
1351 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1352 ac_top_srcdir=$ac_top_build_prefix$srcdir
1353 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1355 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1357 cd "$ac_dir" || { ac_status=$?; continue; }
1358 # Check for guested configure.
1359 if test -f "$ac_srcdir/configure.gnu"; then
1361 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1362 elif test -f "$ac_srcdir/configure"; then
1364 $SHELL "$ac_srcdir/configure" --help=recursive
1366 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1368 cd "$ac_pwd" || { ac_status=$?; break; }
1372 test -n "$ac_init_help" && exit $ac_status
1373 if $ac_init_version; then
1375 top configure 3.8beta1
1376 generated by GNU Autoconf 2.61
1378 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1379 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1380 This configure script is free software; the Free Software Foundation
1381 gives unlimited permission to copy, distribute and modify it.
1385 cat >config.log <<_ACEOF
1386 This file contains any messages produced by compilers while
1387 running configure, to aid debugging if configure makes a mistake.
1389 It was created by top $as_me 3.8beta1, which was
1390 generated by GNU Autoconf 2.61. Invocation command line was
1402 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1403 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1404 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1405 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1406 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1408 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1409 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1411 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1412 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1413 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1414 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1415 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1416 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1417 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1425 test -z "$as_dir" && as_dir=.
1426 echo "PATH: $as_dir"
1442 # Keep a trace of the command line.
1443 # Strip out --no-create and --no-recursion so they do not pile up.
1444 # Strip out --silent because we don't want to record it for future runs.
1445 # Also quote any args containing shell meta-characters.
1446 # Make two passes to allow for proper duplicate-argument suppression.
1450 ac_must_keep_next=false
1456 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1457 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1458 | -silent | --silent | --silen | --sile | --sil)
1461 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1464 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1466 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1467 if test $ac_must_keep_next = true; then
1468 ac_must_keep_next=false # Got value, back to normal.
1471 *=* | --config-cache | -C | -disable-* | --disable-* \
1472 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1473 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1474 | -with-* | --with-* | -without-* | --without-* | --x)
1475 case "$ac_configure_args0 " in
1476 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1479 -* ) ac_must_keep_next=true ;;
1482 ac_configure_args="$ac_configure_args '$ac_arg'"
1487 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1488 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1490 # When interrupted or exit'd, cleanup temporary files, and complete
1491 # config.log. We remove comments because anyway the quotes in there
1492 # would cause problems or look ugly.
1493 # WARNING: Use '\'' to represent an apostrophe within the trap.
1494 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1495 trap 'exit_status=$?
1496 # Save into config.log some information that might help in debugging.
1501 ## ---------------- ##
1502 ## Cache variables. ##
1503 ## ---------------- ##
1506 # The following way of writing the cache mishandles newlines in values,
1508 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1509 eval ac_val=\$$ac_var
1513 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1514 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1517 _ | IFS | as_nl) ;; #(
1518 *) $as_unset $ac_var ;;
1523 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1524 *${as_nl}ac_space=\ *)
1526 "s/'\''/'\''\\\\'\'''\''/g;
1527 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1530 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1538 ## ----------------- ##
1539 ## Output variables. ##
1540 ## ----------------- ##
1543 for ac_var in $ac_subst_vars
1545 eval ac_val=\$$ac_var
1547 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1549 echo "$ac_var='\''$ac_val'\''"
1553 if test -n "$ac_subst_files"; then
1555 ## ------------------- ##
1556 ## File substitutions. ##
1557 ## ------------------- ##
1560 for ac_var in $ac_subst_files
1562 eval ac_val=\$$ac_var
1564 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1566 echo "$ac_var='\''$ac_val'\''"
1571 if test -s confdefs.h; then
1581 test "$ac_signal" != 0 &&
1582 echo "$as_me: caught signal $ac_signal"
1583 echo "$as_me: exit $exit_status"
1585 rm -f core *.core core.conftest.* &&
1586 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1589 for ac_signal in 1 2 13 15; do
1590 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1594 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1595 rm -f -r conftest* confdefs.h
1597 # Predefined preprocessor variables.
1599 cat >>confdefs.h <<_ACEOF
1600 #define PACKAGE_NAME "$PACKAGE_NAME"
1604 cat >>confdefs.h <<_ACEOF
1605 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1609 cat >>confdefs.h <<_ACEOF
1610 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1614 cat >>confdefs.h <<_ACEOF
1615 #define PACKAGE_STRING "$PACKAGE_STRING"
1619 cat >>confdefs.h <<_ACEOF
1620 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1624 # Let the site file select an alternate cache file if it wants to.
1625 # Prefer explicitly selected file to automatically selected ones.
1626 if test -n "$CONFIG_SITE"; then
1627 set x "$CONFIG_SITE"
1628 elif test "x$prefix" != xNONE; then
1629 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1631 set x "$ac_default_prefix/share/config.site" \
1632 "$ac_default_prefix/etc/config.site"
1637 if test -r "$ac_site_file"; then
1638 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1639 echo "$as_me: loading site script $ac_site_file" >&6;}
1640 sed 's/^/| /' "$ac_site_file" >&5
1645 if test -r "$cache_file"; then
1646 # Some versions of bash will fail to source /dev/null (special
1647 # files actually), so we avoid doing that.
1648 if test -f "$cache_file"; then
1649 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1650 echo "$as_me: loading cache $cache_file" >&6;}
1652 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1653 *) . "./$cache_file";;
1657 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1658 echo "$as_me: creating cache $cache_file" >&6;}
1662 # Check that the precious variables saved in the cache have kept the same
1664 ac_cache_corrupted=false
1665 for ac_var in $ac_precious_vars; do
1666 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1667 eval ac_new_set=\$ac_env_${ac_var}_set
1668 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1669 eval ac_new_val=\$ac_env_${ac_var}_value
1670 case $ac_old_set,$ac_new_set in
1672 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1673 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1674 ac_cache_corrupted=: ;;
1676 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1677 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1678 ac_cache_corrupted=: ;;
1681 if test "x$ac_old_val" != "x$ac_new_val"; then
1682 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1683 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1684 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1685 echo "$as_me: former value
: $ac_old_val" >&2;}
1686 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1687 echo "$as_me: current value
: $ac_new_val" >&2;}
1688 ac_cache_corrupted=:
1691 # Pass precious variables to config.status.
1692 if test "$ac_new_set" = set; then
1694 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1695 *) ac_arg=$ac_var=$ac_new_val ;;
1697 case " $ac_configure_args " in
1698 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1699 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1703 if $ac_cache_corrupted; then
1704 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1705 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1706 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1707 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1708 { (exit 1); exit 1; }; }
1736 ac_cpp='$CPP $CPPFLAGS'
1737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1743 # AX_CHECK_VARIADIC_MACROS...
1751 echo "Configuring $PACKAGE_STRING"
1753 ac_config_headers="$ac_config_headers config.h"
1756 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1757 if test -f "$ac_dir/install-sh"; then
1759 ac_install_sh="$ac_aux_dir/install-sh -c"
1761 elif test -f "$ac_dir/install.sh"; then
1763 ac_install_sh="$ac_aux_dir/install.sh -c"
1765 elif test -f "$ac_dir/shtool"; then
1767 ac_install_sh="$ac_aux_dir/shtool install -c"
1771 if test -z "$ac_aux_dir"; then
1772 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1773 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1774 { (exit 1); exit 1; }; }
1777 # These three variables are undocumented and unsupported,
1778 # and are intended to be withdrawn in a future Autoconf release.
1779 # They can cause serious problems if a builder's source tree is in a directory
1780 # whose full name contains unusual characters.
1781 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1782 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1783 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1786 # Make sure we can run config.sub.
1787 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1788 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1789 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1790 { (exit 1); exit 1; }; }
1792 { echo "$as_me:$LINENO: checking build system type" >&5
1793 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1794 if test "${ac_cv_build+set}" = set; then
1795 echo $ECHO_N "(cached) $ECHO_C" >&6
1797 ac_build_alias=$build_alias
1798 test "x$ac_build_alias" = x &&
1799 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1800 test "x$ac_build_alias" = x &&
1801 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1802 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1803 { (exit 1); exit 1; }; }
1804 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1805 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1806 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1807 { (exit 1); exit 1; }; }
1810 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1811 echo "${ECHO_T}$ac_cv_build" >&6; }
1812 case $ac_cv_build in
1814 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1815 echo "$as_me: error: invalid value of canonical build" >&2;}
1816 { (exit 1); exit 1; }; };;
1819 ac_save_IFS=$IFS; IFS='-'
1825 # Remember, the first character of IFS is used to create $*,
1826 # except with old shells:
1829 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1832 { echo "$as_me:$LINENO: checking host system type" >&5
1833 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1834 if test "${ac_cv_host+set}" = set; then
1835 echo $ECHO_N "(cached) $ECHO_C" >&6
1837 if test "x$host_alias" = x; then
1838 ac_cv_host=$ac_cv_build
1840 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1841 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1842 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1843 { (exit 1); exit 1; }; }
1847 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1848 echo "${ECHO_T}$ac_cv_host" >&6; }
1851 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1852 echo "$as_me: error: invalid value of canonical host" >&2;}
1853 { (exit 1); exit 1; }; };;
1856 ac_save_IFS=$IFS; IFS='-'
1862 # Remember, the first character of IFS is used to create $*,
1863 # except with old shells:
1866 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
1869 { echo "$as_me:$LINENO: checking target system type" >&5
1870 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1871 if test "${ac_cv_target+set}" = set; then
1872 echo $ECHO_N "(cached) $ECHO_C" >&6
1874 if test "x$target_alias" = x; then
1875 ac_cv_target=$ac_cv_host
1877 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1878 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1879 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1880 { (exit 1); exit 1; }; }
1884 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1885 echo "${ECHO_T}$ac_cv_target" >&6; }
1886 case $ac_cv_target in
1888 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1889 echo "$as_me: error: invalid value of canonical target" >&2;}
1890 { (exit 1); exit 1; }; };;
1892 target=$ac_cv_target
1893 ac_save_IFS=$IFS; IFS='-'
1899 # Remember, the first character of IFS is used to create $*,
1900 # except with old shells:
1903 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
1906 # The aliases save the names the user supplied, while $host etc.
1907 # will get canonicalized.
1908 test -n "$target_alias" &&
1909 test "$program_prefix$program_suffix$program_transform_name" = \
1911 program_prefix=${target_alias}-
1913 # options processing
1915 # Check whether --with-module was given.
1916 if test "${with_module+set}" = set; then
1917 withval=$with_module; if test ! -f machine/m_$withval.c;
1918 then { { echo "$as_me:$LINENO: error: No such module $withval" >&5
1919 echo "$as_me: error: No such module $withval" >&2;}
1920 { (exit 1); exit 1; }; }; fi
1925 # Check whether --with-ext was given.
1926 if test "${with_ext+set}" = set; then
1927 withval=$with_ext; if test -f ext/$withval.c; then
1929 cat >>confdefs.h <<\_ACEOF
1933 SRC="$SRC ext/$withval.c"
1934 OBJ="$OBJ $withval.o"
1936 { { echo "$as_me:$LINENO: error: No such extension $withval" >&5
1937 echo "$as_me: error: No such extension $withval" >&2;}
1938 { (exit 1); exit 1; }; }
1945 # Check whether --with-default-topn was given.
1946 if test "${with_default_topn+set}" = set; then
1947 withval=$with_default_topn; if test x"$with_default_topn" = xall; then
1949 elif test x`echo $with_default_topn |
tr -d '0-9+-'` = x; then
1950 DEFAULT_TOPN=$with_default_topn
1955 cat >>confdefs.h <<_ACEOF
1956 #define DEFAULT_TOPN $DEFAULT_TOPN
1963 # Check whether --with-nominal-topn was given.
1964 if test "${with_nominal_topn+set}" = set; then
1965 withval=$with_nominal_topn; if test x"$with_nominal_topn" = xall; then
1967 elif test x`echo $with_nominal_topn |
tr -d '0-9+-'` = x; then
1968 NOMINAL_TOPN=$with_nominal_topn
1973 cat >>confdefs.h <<_ACEOF
1974 #define NOMINAL_TOPN $NOMINAL_TOPN
1981 # Check whether --with-default-delay was given.
1982 if test "${with_default_delay+set}" = set; then
1983 withval=$with_default_delay; if test x`echo $with_default_delay |
tr -d '0-9+-'` = x; then
1984 DEFAULT_DELAY=$with_default_delay
1989 cat >>confdefs.h <<_ACEOF
1990 #define DEFAULT_DELAY $DEFAULT_DELAY
1995 # Check whether --enable-debug was given.
1996 if test "${enable_debug+set}" = set; then
1997 enableval=$enable_debug;
2000 if test "x$enable_debug" = xyes; then
2002 cat >>confdefs.h <<\_ACEOF
2009 # Check whether --enable-kill was given.
2010 if test "${enable_kill+set}" = set; then
2011 enableval=$enable_kill;
2014 if test x$enable_kill != xno; then
2016 cat >>confdefs.h <<\_ACEOF
2017 #define ENABLE_KILL 1
2025 # Check whether --enable-color was given.
2026 if test "${enable_color+set}" = set; then
2027 enableval=$enable_color;
2030 # Check whether --enable-colour was given.
2031 if test "${enable_colour+set}" = set; then
2032 enableval=$enable_colour;
2035 if test x$enable_color != xno -a x$enable_colour != xno; then
2037 cat >>confdefs.h <<\_ACEOF
2038 #define ENABLE_COLOR 1
2043 # Check whether --enable-dualarch was given.
2044 if test "${enable_dualarch+set}" = set; then
2045 enableval=$enable_dualarch;
2049 # check for needed programs
2052 # Extract the first word of "$ac_prog", so it can be a program name with args.
2053 set dummy $ac_prog; ac_word=$2
2054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2056 if test "${ac_cv_prog_MAKE+set}" = set; then
2057 echo $ECHO_N "(cached) $ECHO_C" >&6
2059 if test -n "$MAKE"; then
2060 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
2062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2066 test -z "$as_dir" && as_dir=.
2067 for ac_exec_ext in '' $ac_executable_extensions; do
2068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2069 ac_cv_prog_MAKE="$ac_prog"
2070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2079 MAKE=$ac_cv_prog_MAKE
2080 if test -n "$MAKE"; then
2081 { echo "$as_me:$LINENO: result: $MAKE" >&5
2082 echo "${ECHO_T}$MAKE" >&6; }
2084 { echo "$as_me:$LINENO: result: no" >&5
2085 echo "${ECHO_T}no" >&6; }
2089 test -n "$MAKE" && break
2093 ac_cpp='$CPP $CPPFLAGS'
2094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2097 if test -n "$ac_tool_prefix"; then
2098 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2099 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2102 if test "${ac_cv_prog_CC+set}" = set; then
2103 echo $ECHO_N "(cached) $ECHO_C" >&6
2105 if test -n "$CC"; then
2106 ac_cv_prog_CC="$CC" # Let the user override the test.
2108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2112 test -z "$as_dir" && as_dir=.
2113 for ac_exec_ext in '' $ac_executable_extensions; do
2114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2115 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2126 if test -n "$CC"; then
2127 { echo "$as_me:$LINENO: result: $CC" >&5
2128 echo "${ECHO_T}$CC" >&6; }
2130 { echo "$as_me:$LINENO: result: no" >&5
2131 echo "${ECHO_T}no" >&6; }
2136 if test -z "$ac_cv_prog_CC"; then
2138 # Extract the first word of "gcc", so it can be a program name with args.
2139 set dummy gcc; ac_word=$2
2140 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2142 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2143 echo $ECHO_N "(cached) $ECHO_C" >&6
2145 if test -n "$ac_ct_CC"; then
2146 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 test -z "$as_dir" && as_dir=.
2153 for ac_exec_ext in '' $ac_executable_extensions; do
2154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2155 ac_cv_prog_ac_ct_CC="gcc"
2156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2165 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2166 if test -n "$ac_ct_CC"; then
2167 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2168 echo "${ECHO_T}$ac_ct_CC" >&6; }
2170 { echo "$as_me:$LINENO: result: no" >&5
2171 echo "${ECHO_T}no" >&6; }
2174 if test "x$ac_ct_CC" = x; then
2177 case $cross_compiling:$ac_tool_warned in
2179 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2180 whose name does not start with the host triplet. If you think this
2181 configuration is useful to you, please write to autoconf@gnu.org." >&5
2182 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2183 whose name does not start with the host triplet. If you think this
2184 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2185 ac_tool_warned=yes ;;
2193 if test -z "$CC"; then
2194 if test -n "$ac_tool_prefix"; then
2195 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2196 set dummy ${ac_tool_prefix}cc; ac_word=$2
2197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2199 if test "${ac_cv_prog_CC+set}" = set; then
2200 echo $ECHO_N "(cached) $ECHO_C" >&6
2202 if test -n "$CC"; then
2203 ac_cv_prog_CC="$CC" # Let the user override the test.
2205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2209 test -z "$as_dir" && as_dir=.
2210 for ac_exec_ext in '' $ac_executable_extensions; do
2211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2212 ac_cv_prog_CC="${ac_tool_prefix}cc"
2213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2223 if test -n "$CC"; then
2224 { echo "$as_me:$LINENO: result: $CC" >&5
2225 echo "${ECHO_T}$CC" >&6; }
2227 { echo "$as_me:$LINENO: result: no" >&5
2228 echo "${ECHO_T}no" >&6; }
2234 if test -z "$CC"; then
2235 # Extract the first word of "cc", so it can be a program name with args.
2236 set dummy cc; ac_word=$2
2237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2239 if test "${ac_cv_prog_CC+set}" = set; then
2240 echo $ECHO_N "(cached) $ECHO_C" >&6
2242 if test -n "$CC"; then
2243 ac_cv_prog_CC="$CC" # Let the user override the test.
2246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2250 test -z "$as_dir" && as_dir=.
2251 for ac_exec_ext in '' $ac_executable_extensions; do
2252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2253 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2254 ac_prog_rejected=yes
2258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2265 if test $ac_prog_rejected = yes; then
2266 # We found a bogon in the path, so make sure we never use it.
2267 set dummy $ac_cv_prog_CC
2269 if test $# != 0; then
2270 # We chose a different compiler from the bogus one.
2271 # However, it has the same basename, so the bogon will be chosen
2272 # first if we set CC to just the basename; use the full file name.
2274 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2280 if test -n "$CC"; then
2281 { echo "$as_me:$LINENO: result: $CC" >&5
2282 echo "${ECHO_T}$CC" >&6; }
2284 { echo "$as_me:$LINENO: result: no" >&5
2285 echo "${ECHO_T}no" >&6; }
2290 if test -z "$CC"; then
2291 if test -n "$ac_tool_prefix"; then
2292 for ac_prog in cl.exe
2294 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2295 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2298 if test "${ac_cv_prog_CC+set}" = set; then
2299 echo $ECHO_N "(cached) $ECHO_C" >&6
2301 if test -n "$CC"; then
2302 ac_cv_prog_CC="$CC" # Let the user override the test.
2304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 test -z "$as_dir" && as_dir=.
2309 for ac_exec_ext in '' $ac_executable_extensions; do
2310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2311 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2322 if test -n "$CC"; then
2323 { echo "$as_me:$LINENO: result: $CC" >&5
2324 echo "${ECHO_T}$CC" >&6; }
2326 { echo "$as_me:$LINENO: result: no" >&5
2327 echo "${ECHO_T}no" >&6; }
2331 test -n "$CC" && break
2334 if test -z "$CC"; then
2336 for ac_prog in cl.exe
2338 # Extract the first word of "$ac_prog", so it can be a program name with args.
2339 set dummy $ac_prog; ac_word=$2
2340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2342 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2343 echo $ECHO_N "(cached) $ECHO_C" >&6
2345 if test -n "$ac_ct_CC"; then
2346 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2352 test -z "$as_dir" && as_dir=.
2353 for ac_exec_ext in '' $ac_executable_extensions; do
2354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2355 ac_cv_prog_ac_ct_CC="$ac_prog"
2356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2365 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2366 if test -n "$ac_ct_CC"; then
2367 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2368 echo "${ECHO_T}$ac_ct_CC" >&6; }
2370 { echo "$as_me:$LINENO: result: no" >&5
2371 echo "${ECHO_T}no" >&6; }
2375 test -n "$ac_ct_CC" && break
2378 if test "x$ac_ct_CC" = x; then
2381 case $cross_compiling:$ac_tool_warned in
2383 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2384 whose name does not start with the host triplet. If you think this
2385 configuration is useful to you, please write to autoconf@gnu.org." >&5
2386 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2387 whose name does not start with the host triplet. If you think this
2388 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2389 ac_tool_warned=yes ;;
2398 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2399 See \`config.log
' for more details." >&5
2400 echo "$as_me: error: no acceptable C compiler found in \$PATH
2401 See \`config.log' for more details.
" >&2;}
2402 { (exit 1); exit 1; }; }
2404 # Provide some information about the compiler.
2405 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2406 ac_compiler=`set X $ac_compile; echo $2`
2407 { (ac_try="$ac_compiler --version >&5"
2409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2410 *) ac_try_echo=$ac_try;;
2412 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2413 (eval "$ac_compiler --version >&5") 2>&5
2415 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2416 (exit $ac_status); }
2417 { (ac_try="$ac_compiler -v >&5"
2419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2420 *) ac_try_echo=$ac_try;;
2422 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2423 (eval "$ac_compiler -v >&5") 2>&5
2425 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2426 (exit $ac_status); }
2427 { (ac_try="$ac_compiler -V >&5"
2429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2430 *) ac_try_echo=$ac_try;;
2432 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2433 (eval "$ac_compiler -V >&5") 2>&5
2435 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2436 (exit $ac_status); }
2438 cat >conftest.$ac_ext <<_ACEOF
2441 cat confdefs.h >>conftest.$ac_ext
2442 cat >>conftest.$ac_ext <<_ACEOF
2443 /* end confdefs.h. */
2453 ac_clean_files_save=$ac_clean_files
2454 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2455 # Try to create an executable without -o first, disregard a.out.
2456 # It will help us diagnose broken compilers, and finding out an intuition
2458 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2459 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2460 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2462 # List of possible output files, starting from the most likely.
2463 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2464 # only as a last resort. b.out is created by i960 compilers.
2465 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2467 # The IRIX 6 linker writes into existing files which may not be
2468 # executable, retaining their permissions. Remove them first so a
2469 # subsequent execution test works.
2471 for ac_file in $ac_files
2474 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2475 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2480 if { (ac_try="$ac_link_default"
2482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2483 *) ac_try_echo=$ac_try;;
2485 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2486 (eval "$ac_link_default") 2>&5
2488 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2489 (exit $ac_status); }; then
2490 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2491 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2492 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2493 # so that the user can short-circuit this test for compilers unknown to
2495 for ac_file in $ac_files ''
2497 test -f "$ac_file" || continue
2499 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2502 # We found the default executable, but exeext='' is most
2506 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2508 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2510 # We set ac_cv_exeext here because the later test for it is not
2511 # safe: cross compilers may not add the suffix if given an `-o'
2512 # argument, so we may need to know it at that point already.
2513 # Even if this section looks crufty: it has the advantage of
2520 test "$ac_cv_exeext" = no && ac_cv_exeext=
2526 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2527 echo "${ECHO_T}$ac_file" >&6; }
2528 if test -z "$ac_file"; then
2529 echo "$as_me: failed program was
:" >&5
2530 sed 's/^/| /' conftest.$ac_ext >&5
2532 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2533 See \
`config.log' for more details." >&5
2534 echo "$as_me: error: C compiler cannot create executables
2535 See \`config.log
' for more details." >&2;}
2536 { (exit 77); exit 77; }; }
2539 ac_exeext=$ac_cv_exeext
2541 # Check that the compiler produces executables we can run. If not, either
2542 # the compiler is broken, or we cross compile.
2543 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2544 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2545 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2546 # If not cross compiling, check that we can run a simple program.
2547 if test "$cross_compiling" != yes; then
2548 if { ac_try='.
/$ac_file'
2549 { (case "(($ac_try" in
2550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2551 *) ac_try_echo=$ac_try;;
2553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2554 (eval "$ac_try") 2>&5
2556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2557 (exit $ac_status); }; }; then
2560 if test "$cross_compiling" = maybe; then
2563 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2564 If you meant to cross compile, use \`--host'.
2565 See \
`config.log' for more details." >&5
2566 echo "$as_me: error: cannot run C compiled programs.
2567 If you meant to cross compile, use \`--host'.
2568 See \`config.log' for more details.
" >&2;}
2569 { (exit 1); exit 1; }; }
2573 { echo "$as_me:$LINENO: result
: yes" >&5
2574 echo "${ECHO_T}yes" >&6; }
2576 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2577 ac_clean_files=$ac_clean_files_save
2578 # Check that the compiler produces executables we can run. If not, either
2579 # the compiler is broken, or we cross compile.
2580 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2581 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2582 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2583 echo "${ECHO_T}$cross_compiling" >&6; }
2585 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2586 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2587 if { (ac_try="$ac_link"
2589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2590 *) ac_try_echo=$ac_try;;
2592 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2593 (eval "$ac_link") 2>&5
2595 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2596 (exit $ac_status); }; then
2597 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2598 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2599 # work properly (i.e., refer to `conftest.exe'), while it won't with
2601 for ac_file in conftest.exe conftest conftest.*; do
2602 test -f "$ac_file" || continue
2604 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2605 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2611 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2612 See \
`config.log' for more details." >&5
2613 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2614 See \`config.log
' for more details." >&2;}
2615 { (exit 1); exit 1; }; }
2618 rm -f conftest$ac_cv_exeext
2619 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2620 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2622 rm -f conftest.$ac_ext
2623 EXEEXT=$ac_cv_exeext
2625 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2626 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2627 if test "${ac_cv_objext+set}" = set; then
2628 echo $ECHO_N "(cached) $ECHO_C" >&6
2630 cat >conftest.$ac_ext <<_ACEOF
2633 cat confdefs.h >>conftest.$ac_ext
2634 cat >>conftest.$ac_ext <<_ACEOF
2635 /* end confdefs.h. */
2645 rm -f conftest.o conftest.obj
2646 if { (ac_try="$ac_compile"
2648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2649 *) ac_try_echo=$ac_try;;
2651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2652 (eval "$ac_compile") 2>&5
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); }; then
2656 for ac_file in conftest.o conftest.obj conftest.*; do
2657 test -f "$ac_file" || continue;
2659 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2660 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2665 echo "$as_me: failed program was:" >&5
2666 sed 's
/^
/|
/' conftest.$ac_ext >&5
2668 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2669 See \`config.log' for more details.
" >&5
2670 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2671 See \
`config.log' for more details." >&2;}
2672 { (exit 1); exit 1; }; }
2675 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2677 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2678 echo "${ECHO_T}$ac_cv_objext" >&6; }
2679 OBJEXT=$ac_cv_objext
2681 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2682 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2683 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2684 echo $ECHO_N "(cached) $ECHO_C" >&6
2686 cat >conftest.$ac_ext <<_ACEOF
2689 cat confdefs.h >>conftest.$ac_ext
2690 cat >>conftest.$ac_ext <<_ACEOF
2691 /* end confdefs.h. */
2704 rm -f conftest.$ac_objext
2705 if { (ac_try="$ac_compile"
2707 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2708 *) ac_try_echo
=$ac_try;;
2710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2711 (eval "$ac_compile") 2>conftest.er1
2713 grep -v '^ *+' conftest.er1
>conftest.err
2715 cat conftest.err
>&5
2716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2717 (exit $ac_status); } && {
2718 test -z "$ac_c_werror_flag" ||
2719 test ! -s conftest.err
2720 } && test -s conftest.
$ac_objext; then
2723 echo "$as_me: failed program was:" >&5
2724 sed 's/^/| /' conftest.
$ac_ext >&5
2729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2730 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2733 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2734 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2735 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2736 ac_test_CFLAGS
=${CFLAGS+set}
2737 ac_save_CFLAGS
=$CFLAGS
2738 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2739 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2740 if test "${ac_cv_prog_cc_g+set}" = set; then
2741 echo $ECHO_N "(cached) $ECHO_C" >&6
2743 ac_save_c_werror_flag
=$ac_c_werror_flag
2744 ac_c_werror_flag
=yes
2747 cat >conftest.
$ac_ext <<_ACEOF
2750 cat confdefs.h
>>conftest.
$ac_ext
2751 cat >>conftest.
$ac_ext <<_ACEOF
2752 /* end confdefs.h. */
2762 rm -f conftest.
$ac_objext
2763 if { (ac_try
="$ac_compile"
2765 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2766 *) ac_try_echo=$ac_try;;
2768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2769 (eval "$ac_compile") 2>conftest.er1
2771 grep -v '^ *+' conftest.er1 >conftest.err
2773 cat conftest.err >&5
2774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775 (exit $ac_status); } && {
2776 test -z "$ac_c_werror_flag" ||
2777 test ! -s conftest.err
2778 } && test -s conftest.$ac_objext; then
2781 echo "$as_me: failed program was:" >&5
2782 sed 's/^/| /' conftest.$ac_ext >&5
2785 cat >conftest.$ac_ext <<_ACEOF
2788 cat confdefs.h >>conftest.$ac_ext
2789 cat >>conftest.$ac_ext <<_ACEOF
2790 /* end confdefs.h. */
2800 rm -f conftest.$ac_objext
2801 if { (ac_try="$ac_compile"
2803 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2804 *) ac_try_echo
=$ac_try;;
2806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2807 (eval "$ac_compile") 2>conftest.er1
2809 grep -v '^ *+' conftest.er1
>conftest.err
2811 cat conftest.err
>&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); } && {
2814 test -z "$ac_c_werror_flag" ||
2815 test ! -s conftest.err
2816 } && test -s conftest.
$ac_objext; then
2819 echo "$as_me: failed program was:" >&5
2820 sed 's/^/| /' conftest.
$ac_ext >&5
2822 ac_c_werror_flag
=$ac_save_c_werror_flag
2824 cat >conftest.
$ac_ext <<_ACEOF
2827 cat confdefs.h
>>conftest.
$ac_ext
2828 cat >>conftest.
$ac_ext <<_ACEOF
2829 /* end confdefs.h. */
2839 rm -f conftest.
$ac_objext
2840 if { (ac_try
="$ac_compile"
2842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2846 (eval "$ac_compile") 2>conftest.er1
2848 grep -v '^ *+' conftest.er1 >conftest.err
2850 cat conftest.err >&5
2851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852 (exit $ac_status); } && {
2853 test -z "$ac_c_werror_flag" ||
2854 test ! -s conftest.err
2855 } && test -s conftest.$ac_objext; then
2858 echo "$as_me: failed program was:" >&5
2859 sed 's/^/| /' conftest.$ac_ext >&5
2864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2871 ac_c_werror_flag=$ac_save_c_werror_flag
2873 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2874 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2875 if test "$ac_test_CFLAGS" = set; then
2876 CFLAGS=$ac_save_CFLAGS
2877 elif test $ac_cv_prog_cc_g = yes; then
2878 if test "$GCC" = yes; then
2884 if test "$GCC" = yes; then
2890 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2891 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2892 if test "${ac_cv_prog_cc_c89+set}" = set; then
2893 echo $ECHO_N "(cached) $ECHO_C" >&6
2895 ac_cv_prog_cc_c89=no
2897 cat >conftest.$ac_ext <<_ACEOF
2900 cat confdefs.h >>conftest.$ac_ext
2901 cat >>conftest.$ac_ext <<_ACEOF
2902 /* end confdefs.h. */
2905 #include <sys/types.h>
2906 #include <sys/stat.h>
2907 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2908 struct buf { int x; };
2909 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2910 static char *e (p, i)
2916 static char *f (char * (*g) (char **, int), char **p, ...)
2921 s = g (p, va_arg (v,int));
2926 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2927 function prototypes and stuff, but not '\xHH' hex character constants.
2928 These don't provoke an error unfortunately, instead are silently treated
2929 as 'x'. The following induces an error, until -std is added to get
2930 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2931 array size at least. It's necessary to write '\x00'==0 to get something
2932 that's true only with -std. */
2933 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2935 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2936 inside strings and character constants. */
2938 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2940 int test (int i, double x);
2941 struct s1 {int (*f) (int a);};
2942 struct s2 {int (*f) (double a);};
2943 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2949 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2954 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2955 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2957 CC="$ac_save_CC $ac_arg"
2958 rm -f conftest.$ac_objext
2959 if { (ac_try="$ac_compile"
2961 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2962 *) ac_try_echo
=$ac_try;;
2964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2965 (eval "$ac_compile") 2>conftest.er1
2967 grep -v '^ *+' conftest.er1
>conftest.err
2969 cat conftest.err
>&5
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); } && {
2972 test -z "$ac_c_werror_flag" ||
2973 test ! -s conftest.err
2974 } && test -s conftest.
$ac_objext; then
2975 ac_cv_prog_cc_c89
=$ac_arg
2977 echo "$as_me: failed program was:" >&5
2978 sed 's/^/| /' conftest.
$ac_ext >&5
2983 rm -f core conftest.err conftest.
$ac_objext
2984 test "x$ac_cv_prog_cc_c89" != "xno" && break
2986 rm -f conftest.
$ac_ext
2991 case "x$ac_cv_prog_cc_c89" in
2993 { echo "$as_me:$LINENO: result: none needed" >&5
2994 echo "${ECHO_T}none needed" >&6; } ;;
2996 { echo "$as_me:$LINENO: result: unsupported" >&5
2997 echo "${ECHO_T}unsupported" >&6; } ;;
2999 CC
="$CC $ac_cv_prog_cc_c89"
3000 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3001 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3006 ac_cpp
='$CPP $CPPFLAGS'
3007 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3008 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3009 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3011 if test "$ac_cv_c_compiler_gnu" = "yes"; then
3012 ax_cv_c_compiler_vendor
="gnu"
3016 { echo "$as_me:$LINENO: checking for C compiler vendor" >&5
3017 echo $ECHO_N "checking for C compiler vendor... $ECHO_C" >&6; }
3018 if test "${ax_cv_c_compiler_vendor+set}" = set; then
3019 echo $ECHO_N "(cached) $ECHO_C" >&6
3021 ax_cv_c_compiler_vendor
=unknown
3022 # note: don't check for gcc first since some other compilers define __GNUC__
3023 for ventest
in intel
:__ICC
,__ECC
,__INTEL_COMPILER ibm
:__xlc__
,__xlC__
,__IBMC__
,__IBMCPP__ pathscale
:__PATHCC__
,__PATHSCALE__ gnu
:__GNUC__ sun
:__SUNPRO_C
,__SUNPRO_CC hp
:__HP_cc
,__HP_aCC dec
:__DECC
,__DECCXX
,__DECC_VER
,__DECCXX_VER borland
:__BORLANDC__
,__TURBOC__ comeau
:__COMO__ cray
:_CRAYC kai
:__KCC lcc
:__LCC__ metrowerks
:__MWERKS__ sgi
:__sgi
,sgi microsoft
:_MSC_VER watcom
:__WATCOMC__ portland
:__PGI
; do
3024 vencpp
="defined("`echo $ventest | cut -d: -f2 | sed 's/,/) || defined(/g'`")"
3025 cat >conftest.
$ac_ext <<_ACEOF
3028 cat confdefs.h
>>conftest.
$ac_ext
3029 cat >>conftest.
$ac_ext <<_ACEOF
3030 /* end confdefs.h. */
3044 rm -f conftest.
$ac_objext
3045 if { (ac_try
="$ac_compile"
3047 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3048 *) ac_try_echo=$ac_try;;
3050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3051 (eval "$ac_compile") 2>conftest.er1
3053 grep -v '^ *+' conftest.er1 >conftest.err
3055 cat conftest.err >&5
3056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 (exit $ac_status); } && {
3058 test -z "$ac_c_werror_flag" ||
3059 test ! -s conftest.err
3060 } && test -s conftest.$ac_objext; then
3061 ax_cv_c_compiler_vendor=`echo $ventest | cut
-d: -f1`; break
3063 echo "$as_me: failed program was:" >&5
3064 sed 's/^/| /' conftest.$ac_ext >&5
3069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3073 { echo "$as_me:$LINENO: result: $ax_cv_c_compiler_vendor" >&5
3074 echo "${ECHO_T}$ax_cv_c_compiler_vendor" >&6; }
3077 for ac_prog in gawk mawk nawk awk
3079 # Extract the first word of "$ac_prog", so it can be a program name with args.
3080 set dummy $ac_prog; ac_word=$2
3081 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3083 if test "${ac_cv_prog_AWK+set}" = set; then
3084 echo $ECHO_N "(cached) $ECHO_C" >&6
3086 if test -n "$AWK"; then
3087 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3093 test -z "$as_dir" && as_dir=.
3094 for ac_exec_ext in '' $ac_executable_extensions; do
3095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3096 ac_cv_prog_AWK="$ac_prog"
3097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3107 if test -n "$AWK"; then
3108 { echo "$as_me:$LINENO: result: $AWK" >&5
3109 echo "${ECHO_T}$AWK" >&6; }
3111 { echo "$as_me:$LINENO: result: no" >&5
3112 echo "${ECHO_T}no" >&6; }
3116 test -n "$AWK" && break
3119 # Find a good install program. We prefer a C program (faster),
3120 # so one script is as good as another. But avoid the broken or
3121 # incompatible versions:
3122 # SysV /etc/install, /usr/sbin/install
3123 # SunOS /usr/etc/install
3124 # IRIX /sbin/install
3126 # AmigaOS /C/install, which installs bootblocks on floppy discs
3127 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3128 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3129 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3130 # OS/2's system install, which has a completely different semantic
3131 # ./install, which can be erroneously created by make from ./install.sh.
3132 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3133 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3134 if test -z "$INSTALL"; then
3135 if test "${ac_cv_path_install+set}" = set; then
3136 echo $ECHO_N "(cached) $ECHO_C" >&6
3138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3142 test -z "$as_dir" && as_dir=.
3143 # Account for people who put trailing slashes in PATH elements.
3145 ./ | .// | /cC/* | \
3146 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3147 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3150 # OSF1 and SCO ODT 3.0 have their own names for install.
3151 # Don't use installbsd from OSF since it installs stuff as root
3153 for ac_prog in ginstall scoinst install; do
3154 for ac_exec_ext in '' $ac_executable_extensions; do
3155 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3156 if test $ac_prog = install &&
3157 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3158 # AIX install. It has an incompatible calling convention.
3160 elif test $ac_prog = install &&
3161 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3162 # program-specific install script used by HP pwplus--don't use.
3165 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3178 if test "${ac_cv_path_install+set}" = set; then
3179 INSTALL=$ac_cv_path_install
3181 # As a last resort, use the slow shell script. Don't cache a
3182 # value for INSTALL within a source directory, because that will
3183 # break other packages using the cache if that directory is
3184 # removed, or if the value is a relative name.
3185 INSTALL=$ac_install_sh
3188 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3189 echo "${ECHO_T}$INSTALL" >&6; }
3191 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3192 # It thinks the first close brace ends the variable substitution.
3193 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3195 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3197 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3199 for ac_prog in isainfo
3201 # Extract the first word of "$ac_prog", so it can be a program name with args.
3202 set dummy $ac_prog; ac_word=$2
3203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3205 if test "${ac_cv_path_ISAINFO+set}" = set; then
3206 echo $ECHO_N "(cached) $ECHO_C" >&6
3210 ac_cv_path_ISAINFO="$ISAINFO" # Let the user override the test with a path.
3213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3217 test -z "$as_dir" && as_dir=.
3218 for ac_exec_ext in '' $ac_executable_extensions; do
3219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3220 ac_cv_path_ISAINFO="$as_dir/$ac_word$ac_exec_ext"
3221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3231 ISAINFO=$ac_cv_path_ISAINFO
3232 if test -n "$ISAINFO"; then
3233 { echo "$as_me:$LINENO: result: $ISAINFO" >&5
3234 echo "${ECHO_T}$ISAINFO" >&6; }
3236 { echo "$as_me:$LINENO: result: no" >&5
3237 echo "${ECHO_T}no" >&6; }
3241 test -n "$ISAINFO" && break
3244 for ac_prog in isaexec
3246 # Extract the first word of "$ac_prog", so it can be a program name with args.
3247 set dummy $ac_prog; ac_word=$2
3248 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3250 if test "${ac_cv_path_ISAEXEC+set}" = set; then
3251 echo $ECHO_N "(cached) $ECHO_C" >&6
3255 ac_cv_path_ISAEXEC="$ISAEXEC" # Let the user override the test with a path.
3258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3259 as_dummy="$PATH:/usr/lib:/lib"
3260 for as_dir in $as_dummy
3263 test -z "$as_dir" && as_dir=.
3264 for ac_exec_ext in '' $ac_executable_extensions; do
3265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3266 ac_cv_path_ISAEXEC="$as_dir/$ac_word$ac_exec_ext"
3267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3277 ISAEXEC=$ac_cv_path_ISAEXEC
3278 if test -n "$ISAEXEC"; then
3279 { echo "$as_me:$LINENO: result: $ISAEXEC" >&5
3280 echo "${ECHO_T}$ISAEXEC" >&6; }
3282 { echo "$as_me:$LINENO: result: no" >&5
3283 echo "${ECHO_T}no" >&6; }
3287 test -n "$ISAEXEC" && break
3290 for ac_prog in uname
3292 # Extract the first word of "$ac_prog", so it can be a program name with args.
3293 set dummy $ac_prog; ac_word=$2
3294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3296 if test "${ac_cv_path_UNAME+set}" = set; then
3297 echo $ECHO_N "(cached) $ECHO_C" >&6
3301 ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
3304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3308 test -z "$as_dir" && as_dir=.
3309 for ac_exec_ext in '' $ac_executable_extensions; do
3310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3311 ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
3312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3322 UNAME=$ac_cv_path_UNAME
3323 if test -n "$UNAME"; then
3324 { echo "$as_me:$LINENO: result: $UNAME" >&5
3325 echo "${ECHO_T}$UNAME" >&6; }
3327 { echo "$as_me:$LINENO: result: no" >&5
3328 echo "${ECHO_T}no" >&6; }
3332 test -n "$UNAME" && break
3337 # system checks require uname
3338 if test "$UNAME"; then
3339 # we make the version number available as a C preprocessor definition
3340 { echo "$as_me:$LINENO: checking OS revision number" >&5
3341 echo $ECHO_N "checking OS revision number... $ECHO_C" >&6; }
3342 osrev=`$UNAME -r |
tr -cd ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
`
3344 if test "$osrev" != "unknown" ; then
3346 cat >>confdefs.h <<_ACEOF
3347 #define OSREV $osrev
3350 osmajor=`$UNAME -r |
sed 's/^\([0-9]*\).*$/\1/'`
3351 if test -n "$osmajor"; then
3353 cat >>confdefs.h <<_ACEOF
3354 #define OSMAJOR $osmajor
3359 cat >>confdefs.h <<\_ACEOF
3364 { echo "$as_me:$LINENO: result: $osrev" >&5
3365 echo "${ECHO_T}$osrev" >&6; }
3367 # we make the non-canonicalized hardware type available
3368 { echo "$as_me:$LINENO: checking hardware platform" >&5
3369 echo $ECHO_N "checking hardware platform... $ECHO_C" >&6; }
3370 UNAME_HARDWARE=`$UNAME -m`
3371 if test "$UNAME_HARDWARE" != "unknown"; then
3373 cat >>confdefs.h <<_ACEOF
3374 #define UNAME_HARDWARE "$UNAME_HARDWARE"
3378 { echo "$as_me:$LINENO: result: $UNAME_HARDWARE" >&5
3379 echo "${ECHO_T}$UNAME_HARDWARE" >&6; }
3382 # checks for libraries
3384 { echo "$as_me:$LINENO: checking for elf32_getphdr in -lelf" >&5
3385 echo $ECHO_N "checking for elf32_getphdr in -lelf... $ECHO_C" >&6; }
3386 if test "${ac_cv_lib_elf_elf32_getphdr+set}" = set; then
3387 echo $ECHO_N "(cached) $ECHO_C" >&6
3389 ac_check_lib_save_LIBS=$LIBS
3391 cat >conftest.$ac_ext <<_ACEOF
3394 cat confdefs.h >>conftest.$ac_ext
3395 cat >>conftest.$ac_ext <<_ACEOF
3396 /* end confdefs.h. */
3398 /* Override any GCC internal prototype to avoid an error.
3399 Use char because int might match the return type of a GCC
3400 builtin and then its argument prototype would still apply. */
3404 char elf32_getphdr ();
3408 return elf32_getphdr ();
3413 rm -f conftest.$ac_objext conftest$ac_exeext
3414 if { (ac_try="$ac_link"
3416 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3417 *) ac_try_echo
=$ac_try;;
3419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3420 (eval "$ac_link") 2>conftest.er1
3422 grep -v '^ *+' conftest.er1
>conftest.err
3424 cat conftest.err
>&5
3425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3426 (exit $ac_status); } && {
3427 test -z "$ac_c_werror_flag" ||
3428 test ! -s conftest.err
3429 } && test -s conftest
$ac_exeext &&
3430 $as_test_x conftest
$ac_exeext; then
3431 ac_cv_lib_elf_elf32_getphdr
=yes
3433 echo "$as_me: failed program was:" >&5
3434 sed 's/^/| /' conftest.
$ac_ext >&5
3436 ac_cv_lib_elf_elf32_getphdr
=no
3439 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3440 conftest
$ac_exeext conftest.
$ac_ext
3441 LIBS
=$ac_check_lib_save_LIBS
3443 { echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf32_getphdr" >&5
3444 echo "${ECHO_T}$ac_cv_lib_elf_elf32_getphdr" >&6; }
3445 if test $ac_cv_lib_elf_elf32_getphdr = yes; then
3446 cat >>confdefs.h
<<_ACEOF
3447 #define HAVE_LIBELF 1
3455 { echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
3456 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6; }
3457 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
3458 echo $ECHO_N "(cached) $ECHO_C" >&6
3460 ac_check_lib_save_LIBS
=$LIBS
3461 LIBS
="-lkstat $LIBS"
3462 cat >conftest.
$ac_ext <<_ACEOF
3465 cat confdefs.h
>>conftest.
$ac_ext
3466 cat >>conftest.
$ac_ext <<_ACEOF
3467 /* end confdefs.h. */
3469 /* Override any GCC internal prototype to avoid an error.
3470 Use char because int might match the return type of a GCC
3471 builtin and then its argument prototype would still apply. */
3479 return kstat_open ();
3484 rm -f conftest.
$ac_objext conftest
$ac_exeext
3485 if { (ac_try
="$ac_link"
3487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3488 *) ac_try_echo=$ac_try;;
3490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3491 (eval "$ac_link") 2>conftest.er1
3493 grep -v '^ *+' conftest.er1 >conftest.err
3495 cat conftest.err >&5
3496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3497 (exit $ac_status); } && {
3498 test -z "$ac_c_werror_flag" ||
3499 test ! -s conftest.err
3500 } && test -s conftest$ac_exeext &&
3501 $as_test_x conftest$ac_exeext; then
3502 ac_cv_lib_kstat_kstat_open=yes
3504 echo "$as_me: failed program was:" >&5
3505 sed 's/^/| /' conftest.$ac_ext >&5
3507 ac_cv_lib_kstat_kstat_open=no
3510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3511 conftest$ac_exeext conftest.$ac_ext
3512 LIBS=$ac_check_lib_save_LIBS
3514 { echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
3515 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6; }
3516 if test $ac_cv_lib_kstat_kstat_open = yes; then
3517 cat >>confdefs.h <<_ACEOF
3518 #define HAVE_LIBKSTAT 1
3521 LIBS="-lkstat $LIBS"
3526 { echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
3527 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6; }
3528 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
3529 echo $ECHO_N "(cached) $ECHO_C" >&6
3531 ac_check_lib_save_LIBS=$LIBS
3533 cat >conftest.$ac_ext <<_ACEOF
3536 cat confdefs.h >>conftest.$ac_ext
3537 cat >>conftest.$ac_ext <<_ACEOF
3538 /* end confdefs.h. */
3540 /* Override any GCC internal prototype to avoid an error.
3541 Use char because int might match the return type of a GCC
3542 builtin and then its argument prototype would still apply. */
3555 rm -f conftest.$ac_objext conftest$ac_exeext
3556 if { (ac_try="$ac_link"
3558 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3559 *) ac_try_echo
=$ac_try;;
3561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3562 (eval "$ac_link") 2>conftest.er1
3564 grep -v '^ *+' conftest.er1
>conftest.err
3566 cat conftest.err
>&5
3567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568 (exit $ac_status); } && {
3569 test -z "$ac_c_werror_flag" ||
3570 test ! -s conftest.err
3571 } && test -s conftest
$ac_exeext &&
3572 $as_test_x conftest
$ac_exeext; then
3573 ac_cv_lib_kvm_kvm_open
=yes
3575 echo "$as_me: failed program was:" >&5
3576 sed 's/^/| /' conftest.
$ac_ext >&5
3578 ac_cv_lib_kvm_kvm_open
=no
3581 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3582 conftest
$ac_exeext conftest.
$ac_ext
3583 LIBS
=$ac_check_lib_save_LIBS
3585 { echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
3586 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6; }
3587 if test $ac_cv_lib_kvm_kvm_open = yes; then
3588 cat >>confdefs.h
<<_ACEOF
3589 #define HAVE_LIBKVM 1
3598 { echo "$as_me:$LINENO: checking for vm_statistics in -lmach" >&5
3599 echo $ECHO_N "checking for vm_statistics in -lmach... $ECHO_C" >&6; }
3600 if test "${ac_cv_lib_mach_vm_statistics+set}" = set; then
3601 echo $ECHO_N "(cached) $ECHO_C" >&6
3603 ac_check_lib_save_LIBS
=$LIBS
3605 cat >conftest.
$ac_ext <<_ACEOF
3608 cat confdefs.h
>>conftest.
$ac_ext
3609 cat >>conftest.
$ac_ext <<_ACEOF
3610 /* end confdefs.h. */
3612 /* Override any GCC internal prototype to avoid an error.
3613 Use char because int might match the return type of a GCC
3614 builtin and then its argument prototype would still apply. */
3618 char vm_statistics ();
3622 return vm_statistics ();
3627 rm -f conftest.
$ac_objext conftest
$ac_exeext
3628 if { (ac_try
="$ac_link"
3630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3631 *) ac_try_echo=$ac_try;;
3633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3634 (eval "$ac_link") 2>conftest.er1
3636 grep -v '^ *+' conftest.er1 >conftest.err
3638 cat conftest.err >&5
3639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640 (exit $ac_status); } && {
3641 test -z "$ac_c_werror_flag" ||
3642 test ! -s conftest.err
3643 } && test -s conftest$ac_exeext &&
3644 $as_test_x conftest$ac_exeext; then
3645 ac_cv_lib_mach_vm_statistics=yes
3647 echo "$as_me: failed program was:" >&5
3648 sed 's/^/| /' conftest.$ac_ext >&5
3650 ac_cv_lib_mach_vm_statistics=no
3653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3654 conftest$ac_exeext conftest.$ac_ext
3655 LIBS=$ac_check_lib_save_LIBS
3657 { echo "$as_me:$LINENO: result: $ac_cv_lib_mach_vm_statistics" >&5
3658 echo "${ECHO_T}$ac_cv_lib_mach_vm_statistics" >&6; }
3659 if test $ac_cv_lib_mach_vm_statistics = yes; then
3660 cat >>confdefs.h <<_ACEOF
3661 #define HAVE_LIBMACH 1
3668 { echo "$as_me:$LINENO: checking for library containing tgetent" >&5
3669 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6; }
3670 if test "${ac_cv_search_tgetent+set}" = set; then
3671 echo $ECHO_N "(cached) $ECHO_C" >&6
3673 ac_func_search_save_LIBS=$LIBS
3674 cat >conftest.$ac_ext <<_ACEOF
3677 cat confdefs.h >>conftest.$ac_ext
3678 cat >>conftest.$ac_ext <<_ACEOF
3679 /* end confdefs.h. */
3681 /* Override any GCC internal prototype to avoid an error.
3682 Use char because int might match the return type of a GCC
3683 builtin and then its argument prototype would still apply. */
3696 for ac_lib in '' termcap curses ncurses; do
3697 if test -z "$ac_lib"; then
3698 ac_res="none required"
3701 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3703 rm -f conftest.$ac_objext conftest$ac_exeext
3704 if { (ac_try="$ac_link"
3706 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3707 *) ac_try_echo
=$ac_try;;
3709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3710 (eval "$ac_link") 2>conftest.er1
3712 grep -v '^ *+' conftest.er1
>conftest.err
3714 cat conftest.err
>&5
3715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716 (exit $ac_status); } && {
3717 test -z "$ac_c_werror_flag" ||
3718 test ! -s conftest.err
3719 } && test -s conftest
$ac_exeext &&
3720 $as_test_x conftest
$ac_exeext; then
3721 ac_cv_search_tgetent
=$ac_res
3723 echo "$as_me: failed program was:" >&5
3724 sed 's/^/| /' conftest.
$ac_ext >&5
3729 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3731 if test "${ac_cv_search_tgetent+set}" = set; then
3735 if test "${ac_cv_search_tgetent+set}" = set; then
3738 ac_cv_search_tgetent
=no
3741 LIBS
=$ac_func_search_save_LIBS
3743 { echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
3744 echo "${ECHO_T}$ac_cv_search_tgetent" >&6; }
3745 ac_res
=$ac_cv_search_tgetent
3746 if test "$ac_res" != no
; then
3747 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3752 { echo "$as_me:$LINENO: checking for exp in -lm" >&5
3753 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6; }
3754 if test "${ac_cv_lib_m_exp+set}" = set; then
3755 echo $ECHO_N "(cached) $ECHO_C" >&6
3757 ac_check_lib_save_LIBS
=$LIBS
3759 cat >conftest.
$ac_ext <<_ACEOF
3762 cat confdefs.h
>>conftest.
$ac_ext
3763 cat >>conftest.
$ac_ext <<_ACEOF
3764 /* end confdefs.h. */
3766 /* Override any GCC internal prototype to avoid an error.
3767 Use char because int might match the return type of a GCC
3768 builtin and then its argument prototype would still apply. */
3781 rm -f conftest.
$ac_objext conftest
$ac_exeext
3782 if { (ac_try
="$ac_link"
3784 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3785 *) ac_try_echo=$ac_try;;
3787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3788 (eval "$ac_link") 2>conftest.er1
3790 grep -v '^ *+' conftest.er1 >conftest.err
3792 cat conftest.err >&5
3793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794 (exit $ac_status); } && {
3795 test -z "$ac_c_werror_flag" ||
3796 test ! -s conftest.err
3797 } && test -s conftest$ac_exeext &&
3798 $as_test_x conftest$ac_exeext; then
3801 echo "$as_me: failed program was:" >&5
3802 sed 's/^/| /' conftest.$ac_ext >&5
3807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3808 conftest$ac_exeext conftest.$ac_ext
3809 LIBS=$ac_check_lib_save_LIBS
3811 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
3812 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6; }
3813 if test $ac_cv_lib_m_exp = yes; then
3814 cat >>confdefs.h <<_ACEOF
3823 # check for libraries required by extension
3825 if test -n "$with_ext" -a -f "${srcdir}/ext/$with_ext.libs"; then
3826 { echo "$as_me:$LINENO: checking for libraries needed by extensions" >&5
3827 echo $ECHO_N "checking for libraries needed by extensions... $ECHO_C" >&6; }
3828 for lib in `cat "${srcdir}/ext/$with_ext.libs"`
3832 cat >conftest.$ac_ext <<_ACEOF
3835 cat confdefs.h >>conftest.$ac_ext
3836 cat >>conftest.$ac_ext <<_ACEOF
3837 /* end confdefs.h. */
3847 rm -f conftest.$ac_objext conftest$ac_exeext
3848 if { (ac_try="$ac_link"
3850 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3851 *) ac_try_echo
=$ac_try;;
3853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3854 (eval "$ac_link") 2>conftest.er1
3856 grep -v '^ *+' conftest.er1
>conftest.err
3858 cat conftest.err
>&5
3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 (exit $ac_status); } && {
3861 test -z "$ac_c_werror_flag" ||
3862 test ! -s conftest.err
3863 } && test -s conftest
$ac_exeext &&
3864 $as_test_x conftest
$ac_exeext; then
3865 extlibs
="$extlibs -l$lib"
3867 echo "$as_me: failed program was:" >&5
3868 sed 's/^/| /' conftest.
$ac_ext >&5
3873 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3874 conftest
$ac_exeext conftest.
$ac_ext
3877 { echo "$as_me:$LINENO: result: $extlibs" >&5
3878 echo "${ECHO_T}$extlibs" >&6; }
3879 LIBS
="$LIBS$extlibs"
3882 # checks for header files
3884 ac_cpp
='$CPP $CPPFLAGS'
3885 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3886 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3887 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3888 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3889 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3890 # On Suns, sometimes $CPP names a directory.
3891 if test -n "$CPP" && test -d "$CPP"; then
3894 if test -z "$CPP"; then
3895 if test "${ac_cv_prog_CPP+set}" = set; then
3896 echo $ECHO_N "(cached) $ECHO_C" >&6
3898 # Double quotes because CPP needs to be expanded
3899 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3902 for ac_c_preproc_warn_flag
in '' yes
3904 # Use a header file that comes with gcc, so configuring glibc
3905 # with a fresh cross-compiler works.
3906 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3907 # <limits.h> exists even on freestanding compilers.
3908 # On the NeXT, cc -E runs the code through the compiler's parser,
3909 # not just through cpp. "Syntax error" is here to catch this case.
3910 cat >conftest.
$ac_ext <<_ACEOF
3913 cat confdefs.h
>>conftest.
$ac_ext
3914 cat >>conftest.
$ac_ext <<_ACEOF
3915 /* end confdefs.h. */
3917 # include <limits.h>
3919 # include <assert.h>
3923 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3926 *) ac_try_echo=$ac_try;;
3928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3929 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3931 grep -v '^ *+' conftest.er1 >conftest.err
3933 cat conftest.err >&5
3934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935 (exit $ac_status); } >/dev/null && {
3936 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3937 test ! -s conftest.err
3941 echo "$as_me: failed program was:" >&5
3942 sed 's/^/| /' conftest.$ac_ext >&5
3944 # Broken: fails on valid input.
3948 rm -f conftest.err conftest.$ac_ext
3950 # OK, works on sane cases. Now check whether nonexistent headers
3951 # can be detected and how.
3952 cat >conftest.$ac_ext <<_ACEOF
3955 cat confdefs.h >>conftest.$ac_ext
3956 cat >>conftest.$ac_ext <<_ACEOF
3957 /* end confdefs.h. */
3958 #include <ac_nonexistent.h>
3960 if { (ac_try="$ac_cpp conftest.$ac_ext"
3962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3963 *) ac_try_echo
=$ac_try;;
3965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3966 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3968 grep -v '^ *+' conftest.er1
>conftest.err
3970 cat conftest.err
>&5
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); } >/dev
/null
&& {
3973 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3974 test ! -s conftest.err
3976 # Broken: success on invalid input.
3979 echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.
$ac_ext >&5
3982 # Passes both tests.
3987 rm -f conftest.err conftest.
$ac_ext
3990 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3991 rm -f conftest.err conftest.
$ac_ext
3992 if $ac_preproc_ok; then
4004 { echo "$as_me:$LINENO: result: $CPP" >&5
4005 echo "${ECHO_T}$CPP" >&6; }
4007 for ac_c_preproc_warn_flag
in '' yes
4009 # Use a header file that comes with gcc, so configuring glibc
4010 # with a fresh cross-compiler works.
4011 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4012 # <limits.h> exists even on freestanding compilers.
4013 # On the NeXT, cc -E runs the code through the compiler's parser,
4014 # not just through cpp. "Syntax error" is here to catch this case.
4015 cat >conftest.
$ac_ext <<_ACEOF
4018 cat confdefs.h
>>conftest.
$ac_ext
4019 cat >>conftest.
$ac_ext <<_ACEOF
4020 /* end confdefs.h. */
4022 # include <limits.h>
4024 # include <assert.h>
4028 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4030 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4031 *) ac_try_echo=$ac_try;;
4033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4034 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4036 grep -v '^ *+' conftest.er1 >conftest.err
4038 cat conftest.err >&5
4039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4040 (exit $ac_status); } >/dev/null && {
4041 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4042 test ! -s conftest.err
4046 echo "$as_me: failed program was:" >&5
4047 sed 's/^/| /' conftest.$ac_ext >&5
4049 # Broken: fails on valid input.
4053 rm -f conftest.err conftest.$ac_ext
4055 # OK, works on sane cases. Now check whether nonexistent headers
4056 # can be detected and how.
4057 cat >conftest.$ac_ext <<_ACEOF
4060 cat confdefs.h >>conftest.$ac_ext
4061 cat >>conftest.$ac_ext <<_ACEOF
4062 /* end confdefs.h. */
4063 #include <ac_nonexistent.h>
4065 if { (ac_try="$ac_cpp conftest.$ac_ext"
4067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4068 *) ac_try_echo
=$ac_try;;
4070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4071 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4073 grep -v '^ *+' conftest.er1
>conftest.err
4075 cat conftest.err
>&5
4076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077 (exit $ac_status); } >/dev
/null
&& {
4078 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4079 test ! -s conftest.err
4081 # Broken: success on invalid input.
4084 echo "$as_me: failed program was:" >&5
4085 sed 's/^/| /' conftest.
$ac_ext >&5
4087 # Passes both tests.
4092 rm -f conftest.err conftest.
$ac_ext
4095 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4096 rm -f conftest.err conftest.
$ac_ext
4097 if $ac_preproc_ok; then
4100 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4101 See \`config.log' for more details." >&5
4102 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4103 See \`config.log' for more details." >&2;}
4104 { (exit 1); exit 1; }; }
4108 ac_cpp
='$CPP $CPPFLAGS'
4109 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4110 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4111 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4114 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4115 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4116 if test "${ac_cv_path_GREP+set}" = set; then
4117 echo $ECHO_N "(cached) $ECHO_C" >&6
4119 # Extract the first word of "grep ggrep" to use in msg output
4120 if test -z "$GREP"; then
4121 set dummy
grep ggrep
; ac_prog_name
=$2
4122 if test "${ac_cv_path_GREP+set}" = set; then
4123 echo $ECHO_N "(cached) $ECHO_C" >&6
4125 ac_path_GREP_found
=false
4126 # Loop through the user's path and test for each of PROGNAME-LIST
4127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4128 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4131 test -z "$as_dir" && as_dir
=.
4132 for ac_prog
in grep ggrep
; do
4133 for ac_exec_ext
in '' $ac_executable_extensions; do
4134 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4135 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4136 # Check for GNU ac_path_GREP and select it if it is found.
4137 # Check for GNU $ac_path_GREP
4138 case `"$ac_path_GREP" --version 2>&1` in
4140 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4143 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4146 cat "conftest.in" "conftest.in" >"conftest.tmp"
4147 mv "conftest.tmp" "conftest.in"
4148 cp "conftest.in" "conftest.nl"
4149 echo 'GREP' >> "conftest.nl"
4150 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4151 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4152 ac_count
=`expr $ac_count + 1`
4153 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4154 # Best one so far, save it but keep looking for a better one
4155 ac_cv_path_GREP
="$ac_path_GREP"
4156 ac_path_GREP_max
=$ac_count
4158 # 10*(2^10) chars as input seems more than enough
4159 test $ac_count -gt 10 && break
4161 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4165 $ac_path_GREP_found && break 3
4175 GREP
="$ac_cv_path_GREP"
4176 if test -z "$GREP"; then
4177 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4178 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4179 { (exit 1); exit 1; }; }
4183 ac_cv_path_GREP
=$GREP
4188 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4189 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4190 GREP
="$ac_cv_path_GREP"
4193 { echo "$as_me:$LINENO: checking for egrep" >&5
4194 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4195 if test "${ac_cv_path_EGREP+set}" = set; then
4196 echo $ECHO_N "(cached) $ECHO_C" >&6
4198 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4199 then ac_cv_path_EGREP
="$GREP -E"
4201 # Extract the first word of "egrep" to use in msg output
4202 if test -z "$EGREP"; then
4203 set dummy
egrep; ac_prog_name
=$2
4204 if test "${ac_cv_path_EGREP+set}" = set; then
4205 echo $ECHO_N "(cached) $ECHO_C" >&6
4207 ac_path_EGREP_found
=false
4208 # Loop through the user's path and test for each of PROGNAME-LIST
4209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4210 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4213 test -z "$as_dir" && as_dir
=.
4214 for ac_prog
in egrep; do
4215 for ac_exec_ext
in '' $ac_executable_extensions; do
4216 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4217 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4218 # Check for GNU ac_path_EGREP and select it if it is found.
4219 # Check for GNU $ac_path_EGREP
4220 case `"$ac_path_EGREP" --version 2>&1` in
4222 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4225 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4228 cat "conftest.in" "conftest.in" >"conftest.tmp"
4229 mv "conftest.tmp" "conftest.in"
4230 cp "conftest.in" "conftest.nl"
4231 echo 'EGREP' >> "conftest.nl"
4232 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4233 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4234 ac_count
=`expr $ac_count + 1`
4235 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4236 # Best one so far, save it but keep looking for a better one
4237 ac_cv_path_EGREP
="$ac_path_EGREP"
4238 ac_path_EGREP_max
=$ac_count
4240 # 10*(2^10) chars as input seems more than enough
4241 test $ac_count -gt 10 && break
4243 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4247 $ac_path_EGREP_found && break 3
4257 EGREP
="$ac_cv_path_EGREP"
4258 if test -z "$EGREP"; then
4259 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4260 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4261 { (exit 1); exit 1; }; }
4265 ac_cv_path_EGREP
=$EGREP
4271 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4272 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4273 EGREP
="$ac_cv_path_EGREP"
4276 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4277 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4278 if test "${ac_cv_header_stdc+set}" = set; then
4279 echo $ECHO_N "(cached) $ECHO_C" >&6
4281 cat >conftest.
$ac_ext <<_ACEOF
4284 cat confdefs.h
>>conftest.
$ac_ext
4285 cat >>conftest.
$ac_ext <<_ACEOF
4286 /* end confdefs.h. */
4300 rm -f conftest.
$ac_objext
4301 if { (ac_try
="$ac_compile"
4303 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4304 *) ac_try_echo=$ac_try;;
4306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4307 (eval "$ac_compile") 2>conftest.er1
4309 grep -v '^ *+' conftest.er1 >conftest.err
4311 cat conftest.err >&5
4312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313 (exit $ac_status); } && {
4314 test -z "$ac_c_werror_flag" ||
4315 test ! -s conftest.err
4316 } && test -s conftest.$ac_objext; then
4317 ac_cv_header_stdc=yes
4319 echo "$as_me: failed program was:" >&5
4320 sed 's/^/| /' conftest.$ac_ext >&5
4322 ac_cv_header_stdc=no
4325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4327 if test $ac_cv_header_stdc = yes; then
4328 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4329 cat >conftest.$ac_ext <<_ACEOF
4332 cat confdefs.h >>conftest.$ac_ext
4333 cat >>conftest.$ac_ext <<_ACEOF
4334 /* end confdefs.h. */
4338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4339 $EGREP "memchr" >/dev/null 2>&1; then
4342 ac_cv_header_stdc=no
4348 if test $ac_cv_header_stdc = yes; then
4349 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4350 cat >conftest.$ac_ext <<_ACEOF
4353 cat confdefs.h >>conftest.$ac_ext
4354 cat >>conftest.$ac_ext <<_ACEOF
4355 /* end confdefs.h. */
4359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4360 $EGREP "free" >/dev/null 2>&1; then
4363 ac_cv_header_stdc=no
4369 if test $ac_cv_header_stdc = yes; then
4370 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4371 if test "$cross_compiling" = yes; then
4374 cat >conftest.$ac_ext <<_ACEOF
4377 cat confdefs.h >>conftest.$ac_ext
4378 cat >>conftest.$ac_ext <<_ACEOF
4379 /* end confdefs.h. */
4382 #if ((' ' & 0x0FF) == 0x020)
4383 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4384 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4386 # define ISLOWER(c) \
4387 (('a' <= (c) && (c) <= 'i') \
4388 || ('j' <= (c) && (c) <= 'r') \
4389 || ('s' <= (c) && (c) <= 'z'))
4390 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4393 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4398 for (i = 0; i < 256; i++)
4399 if (XOR (islower (i), ISLOWER (i))
4400 || toupper (i) != TOUPPER (i))
4405 rm -f conftest$ac_exeext
4406 if { (ac_try="$ac_link"
4408 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4409 *) ac_try_echo
=$ac_try;;
4411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4412 (eval "$ac_link") 2>&5
4414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4415 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4416 { (case "(($ac_try" in
4417 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4418 *) ac_try_echo=$ac_try;;
4420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4421 (eval "$ac_try") 2>&5
4423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 (exit $ac_status); }; }; then
4427 echo "$as_me: program exited with status $ac_status" >&5
4428 echo "$as_me: failed program was:" >&5
4429 sed 's/^/| /' conftest.$ac_ext >&5
4432 ac_cv_header_stdc=no
4434 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4440 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4441 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4442 if test $ac_cv_header_stdc = yes; then
4444 cat >>confdefs.h <<\_ACEOF
4445 #define STDC_HEADERS 1
4450 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4460 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4461 inttypes.h stdint.h unistd.h
4463 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4464 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4466 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4467 echo $ECHO_N "(cached) $ECHO_C" >&6
4469 cat >conftest.$ac_ext <<_ACEOF
4472 cat confdefs.h >>conftest.$ac_ext
4473 cat >>conftest.$ac_ext <<_ACEOF
4474 /* end confdefs.h. */
4475 $ac_includes_default
4477 #include <$ac_header>
4479 rm -f conftest.$ac_objext
4480 if { (ac_try="$ac_compile"
4482 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4483 *) ac_try_echo
=$ac_try;;
4485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4486 (eval "$ac_compile") 2>conftest.er1
4488 grep -v '^ *+' conftest.er1
>conftest.err
4490 cat conftest.err
>&5
4491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4492 (exit $ac_status); } && {
4493 test -z "$ac_c_werror_flag" ||
4494 test ! -s conftest.err
4495 } && test -s conftest.
$ac_objext; then
4496 eval "$as_ac_Header=yes"
4498 echo "$as_me: failed program was:" >&5
4499 sed 's/^/| /' conftest.
$ac_ext >&5
4501 eval "$as_ac_Header=no"
4504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4506 ac_res
=`eval echo '${'$as_ac_Header'}'`
4507 { echo "$as_me:$LINENO: result: $ac_res" >&5
4508 echo "${ECHO_T}$ac_res" >&6; }
4509 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4510 cat >>confdefs.h
<<_ACEOF
4511 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4530 for ac_header
in curses.h getopt.h limits.h math.h stdarg.h sysexits.h termcap.h unistd.h sys
/resource.h sys
/time.h sys
/utsname.h
4532 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4533 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4534 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4536 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4537 echo $ECHO_N "(cached) $ECHO_C" >&6
4539 ac_res
=`eval echo '${'$as_ac_Header'}'`
4540 { echo "$as_me:$LINENO: result: $ac_res" >&5
4541 echo "${ECHO_T}$ac_res" >&6; }
4543 # Is the header compilable?
4544 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4545 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4546 cat >conftest.
$ac_ext <<_ACEOF
4549 cat confdefs.h
>>conftest.
$ac_ext
4550 cat >>conftest.
$ac_ext <<_ACEOF
4551 /* end confdefs.h. */
4552 $ac_includes_default
4553 #include <$ac_header>
4555 rm -f conftest.
$ac_objext
4556 if { (ac_try
="$ac_compile"
4558 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4559 *) ac_try_echo=$ac_try;;
4561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4562 (eval "$ac_compile") 2>conftest.er1
4564 grep -v '^ *+' conftest.er1 >conftest.err
4566 cat conftest.err >&5
4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 (exit $ac_status); } && {
4569 test -z "$ac_c_werror_flag" ||
4570 test ! -s conftest.err
4571 } && test -s conftest.$ac_objext; then
4572 ac_header_compiler=yes
4574 echo "$as_me: failed program was:" >&5
4575 sed 's/^/| /' conftest.$ac_ext >&5
4577 ac_header_compiler=no
4580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4582 echo "${ECHO_T}$ac_header_compiler" >&6; }
4584 # Is the header present?
4585 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4586 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4587 cat >conftest.$ac_ext <<_ACEOF
4590 cat confdefs.h >>conftest.$ac_ext
4591 cat >>conftest.$ac_ext <<_ACEOF
4592 /* end confdefs.h. */
4593 #include <$ac_header>
4595 if { (ac_try="$ac_cpp conftest.$ac_ext"
4597 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4598 *) ac_try_echo
=$ac_try;;
4600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4603 grep -v '^ *+' conftest.er1
>conftest.err
4605 cat conftest.err
>&5
4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); } >/dev
/null
&& {
4608 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4609 test ! -s conftest.err
4611 ac_header_preproc
=yes
4613 echo "$as_me: failed program was:" >&5
4614 sed 's/^/| /' conftest.
$ac_ext >&5
4616 ac_header_preproc
=no
4619 rm -f conftest.err conftest.
$ac_ext
4620 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4621 echo "${ECHO_T}$ac_header_preproc" >&6; }
4623 # So? What about this header?
4624 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4626 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4627 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4628 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4629 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4630 ac_header_preproc
=yes
4633 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4634 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4635 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4636 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4637 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4638 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4639 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4640 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4641 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4642 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4643 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4644 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4650 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4651 echo $ECHO_N "(cached) $ECHO_C" >&6
4653 eval "$as_ac_Header=\$ac_header_preproc"
4655 ac_res
=`eval echo '${'$as_ac_Header'}'`
4656 { echo "$as_me:$LINENO: result: $ac_res" >&5
4657 echo "${ECHO_T}$ac_res" >&6; }
4660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4661 cat >>confdefs.h
<<_ACEOF
4662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4670 for ac_header
in term.h
4672 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4673 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4675 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4676 echo $ECHO_N "(cached) $ECHO_C" >&6
4678 cat >conftest.
$ac_ext <<_ACEOF
4681 cat confdefs.h
>>conftest.
$ac_ext
4682 cat >>conftest.
$ac_ext <<_ACEOF
4683 /* end confdefs.h. */
4689 #include <$ac_header>
4691 rm -f conftest.
$ac_objext
4692 if { (ac_try
="$ac_compile"
4694 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4695 *) ac_try_echo=$ac_try;;
4697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4698 (eval "$ac_compile") 2>conftest.er1
4700 grep -v '^ *+' conftest.er1 >conftest.err
4702 cat conftest.err >&5
4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4704 (exit $ac_status); } && {
4705 test -z "$ac_c_werror_flag" ||
4706 test ! -s conftest.err
4707 } && test -s conftest.$ac_objext; then
4708 eval "$as_ac_Header=yes"
4710 echo "$as_me: failed program was:" >&5
4711 sed 's/^/| /' conftest.$ac_ext >&5
4713 eval "$as_ac_Header=no"
4716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4718 ac_res=`eval echo '${'$as_ac_Header'}'`
4719 { echo "$as_me:$LINENO: result: $ac_res" >&5
4720 echo "${ECHO_T}$ac_res" >&6; }
4721 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4722 cat >>confdefs.h <<_ACEOF
4723 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4730 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4731 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
4732 if test "${ac_cv_header_time+set}" = set; then
4733 echo $ECHO_N "(cached) $ECHO_C" >&6
4735 cat >conftest.$ac_ext <<_ACEOF
4738 cat confdefs.h >>conftest.$ac_ext
4739 cat >>conftest.$ac_ext <<_ACEOF
4740 /* end confdefs.h. */
4741 #include <sys/types.h>
4742 #include <sys/time.h>
4748 if ((struct tm *) 0)
4754 rm -f conftest.$ac_objext
4755 if { (ac_try="$ac_compile"
4757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4758 *) ac_try_echo
=$ac_try;;
4760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4761 (eval "$ac_compile") 2>conftest.er1
4763 grep -v '^ *+' conftest.er1
>conftest.err
4765 cat conftest.err
>&5
4766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767 (exit $ac_status); } && {
4768 test -z "$ac_c_werror_flag" ||
4769 test ! -s conftest.err
4770 } && test -s conftest.
$ac_objext; then
4771 ac_cv_header_time
=yes
4773 echo "$as_me: failed program was:" >&5
4774 sed 's/^/| /' conftest.
$ac_ext >&5
4776 ac_cv_header_time
=no
4779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4781 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4782 echo "${ECHO_T}$ac_cv_header_time" >&6; }
4783 if test $ac_cv_header_time = yes; then
4785 cat >>confdefs.h
<<\_ACEOF
4786 #define TIME_WITH_SYS_TIME 1
4791 { echo "$as_me:$LINENO: checking for a good signal.h" >&5
4792 echo $ECHO_N "checking for a good signal.h... $ECHO_C" >&6; }
4794 for f
in /usr
/include
/signal.h
/usr
/include
/sys
/signal.h
/usr
/include
/sys
/iso
/signal_iso.h
/usr
/include
/bits
/signum.h
; do
4795 if grep SIGKILL
$f >/dev
/null
2>&1; then
4800 { echo "$as_me:$LINENO: result: $SIGNAL_H" >&5
4801 echo "${ECHO_T}$SIGNAL_H" >&6; }
4802 if test "$SIGNAL_H" = "no"; then
4803 SIGNAL_H
="/dev/null"
4807 # checks for typedefs, structures, and compiler characteristics.
4808 { echo "$as_me:$LINENO: checking for variadic macros" >&5
4809 echo $ECHO_N "checking for variadic macros... $ECHO_C" >&6; }
4810 cat >conftest.
$ac_ext <<_ACEOF
4813 cat confdefs.h
>>conftest.
$ac_ext
4814 cat >>conftest.
$ac_ext <<_ACEOF
4815 /* end confdefs.h. */
4816 #define a(x, ...) (x, __VA_ARGS__)
4825 rm -f conftest.
$ac_objext
4826 if { (ac_try
="$ac_compile"
4828 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4829 *) ac_try_echo=$ac_try;;
4831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4832 (eval "$ac_compile") 2>conftest.er1
4834 grep -v '^ *+' conftest.er1 >conftest.err
4836 cat conftest.err >&5
4837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838 (exit $ac_status); } && {
4839 test -z "$ac_c_werror_flag" ||
4840 test ! -s conftest.err
4841 } && test -s conftest.$ac_objext; then
4842 ax_cv_c99_variadic=yes
4844 echo "$as_me: failed program was:" >&5
4845 sed 's/^/| /' conftest.$ac_ext >&5
4847 ax_cv_c99_variadic=no
4850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4851 cat >conftest.$ac_ext <<_ACEOF
4854 cat confdefs.h >>conftest.$ac_ext
4855 cat >>conftest.$ac_ext <<_ACEOF
4856 /* end confdefs.h. */
4866 rm -f conftest.$ac_objext
4867 if { (ac_try="$ac_compile"
4869 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4870 *) ac_try_echo
=$ac_try;;
4872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4873 (eval "$ac_compile") 2>conftest.er1
4875 grep -v '^ *+' conftest.er1
>conftest.err
4877 cat conftest.err
>&5
4878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4879 (exit $ac_status); } && {
4880 test -z "$ac_c_werror_flag" ||
4881 test ! -s conftest.err
4882 } && test -s conftest.
$ac_objext; then
4883 ax_cv_gnu_variadic
=yes
4885 echo "$as_me: failed program was:" >&5
4886 sed 's/^/| /' conftest.
$ac_ext >&5
4888 ax_cv_gnu_variadic
=no
4891 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4893 if test "$ax_cv_c99_variadic" = "yes"; then
4896 cat >>confdefs.h
<<\_ACEOF
4897 #define HAVE_C99_VARIADIC_MACROS 1
4901 if test "$ax_cv_gnu_variadic" = "yes"; then
4902 _result
="$_result gnu"
4904 cat >>confdefs.h
<<\_ACEOF
4905 #define HAVE_GNU_VARIADIC_MACROS 1
4909 if test "x$_result" = x
; then
4912 { echo "$as_me:$LINENO: result: $_result" >&5
4913 echo "${ECHO_T}$_result" >&6; }
4915 { echo "$as_me:$LINENO: checking whether sys_errlist is declared" >&5
4916 echo $ECHO_N "checking whether sys_errlist is declared... $ECHO_C" >&6; }
4917 if test "${ac_cv_have_decl_sys_errlist+set}" = set; then
4918 echo $ECHO_N "(cached) $ECHO_C" >&6
4920 cat >conftest.
$ac_ext <<_ACEOF
4923 cat confdefs.h
>>conftest.
$ac_ext
4924 cat >>conftest.
$ac_ext <<_ACEOF
4925 /* end confdefs.h. */
4926 $ac_includes_default
4938 rm -f conftest.
$ac_objext
4939 if { (ac_try
="$ac_compile"
4941 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4942 *) ac_try_echo=$ac_try;;
4944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4945 (eval "$ac_compile") 2>conftest.er1
4947 grep -v '^ *+' conftest.er1 >conftest.err
4949 cat conftest.err >&5
4950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4951 (exit $ac_status); } && {
4952 test -z "$ac_c_werror_flag" ||
4953 test ! -s conftest.err
4954 } && test -s conftest.$ac_objext; then
4955 ac_cv_have_decl_sys_errlist=yes
4957 echo "$as_me: failed program was:" >&5
4958 sed 's/^/| /' conftest.$ac_ext >&5
4960 ac_cv_have_decl_sys_errlist=no
4963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4965 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_errlist" >&5
4966 echo "${ECHO_T}$ac_cv_have_decl_sys_errlist" >&6; }
4967 if test $ac_cv_have_decl_sys_errlist = yes; then
4969 cat >>confdefs.h <<_ACEOF
4970 #define HAVE_DECL_SYS_ERRLIST 1
4975 cat >>confdefs.h <<_ACEOF
4976 #define HAVE_DECL_SYS_ERRLIST 0
4983 { echo "$as_me:$LINENO: checking whether sys_signame is declared" >&5
4984 echo $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6; }
4985 if test "${ac_cv_have_decl_sys_signame+set}" = set; then
4986 echo $ECHO_N "(cached) $ECHO_C" >&6
4988 cat >conftest.$ac_ext <<_ACEOF
4991 cat confdefs.h >>conftest.$ac_ext
4992 cat >>conftest.$ac_ext <<_ACEOF
4993 /* end confdefs.h. */
4995 /* NetBSD declares sys_siglist in unistd.h. */
4997 # include <unistd.h>
5012 rm -f conftest.$ac_objext
5013 if { (ac_try="$ac_compile"
5015 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5016 *) ac_try_echo
=$ac_try;;
5018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5019 (eval "$ac_compile") 2>conftest.er1
5021 grep -v '^ *+' conftest.er1
>conftest.err
5023 cat conftest.err
>&5
5024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025 (exit $ac_status); } && {
5026 test -z "$ac_c_werror_flag" ||
5027 test ! -s conftest.err
5028 } && test -s conftest.
$ac_objext; then
5029 ac_cv_have_decl_sys_signame
=yes
5031 echo "$as_me: failed program was:" >&5
5032 sed 's/^/| /' conftest.
$ac_ext >&5
5034 ac_cv_have_decl_sys_signame
=no
5037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5039 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_signame" >&5
5040 echo "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6; }
5041 if test $ac_cv_have_decl_sys_signame = yes; then
5043 cat >>confdefs.h
<<_ACEOF
5044 #define HAVE_DECL_SYS_SIGNAME 1
5049 cat >>confdefs.h
<<_ACEOF
5050 #define HAVE_DECL_SYS_SIGNAME 0
5057 { echo "$as_me:$LINENO: checking whether tputs is declared" >&5
5058 echo $ECHO_N "checking whether tputs is declared... $ECHO_C" >&6; }
5059 if test "${ac_cv_have_decl_tputs+set}" = set; then
5060 echo $ECHO_N "(cached) $ECHO_C" >&6
5062 cat >conftest.
$ac_ext <<_ACEOF
5065 cat confdefs.h
>>conftest.
$ac_ext
5066 cat >>conftest.
$ac_ext <<_ACEOF
5067 /* end confdefs.h. */
5068 #if HAVE_CURSES_H && HAVE_TERM_H
5073 #include <termcap.h>
5093 rm -f conftest.
$ac_objext
5094 if { (ac_try
="$ac_compile"
5096 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5097 *) ac_try_echo=$ac_try;;
5099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5100 (eval "$ac_compile") 2>conftest.er1
5102 grep -v '^ *+' conftest.er1 >conftest.err
5104 cat conftest.err >&5
5105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5106 (exit $ac_status); } && {
5107 test -z "$ac_c_werror_flag" ||
5108 test ! -s conftest.err
5109 } && test -s conftest.$ac_objext; then
5110 ac_cv_have_decl_tputs=yes
5112 echo "$as_me: failed program was:" >&5
5113 sed 's/^/| /' conftest.$ac_ext >&5
5115 ac_cv_have_decl_tputs=no
5118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5120 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tputs" >&5
5121 echo "${ECHO_T}$ac_cv_have_decl_tputs" >&6; }
5122 if test $ac_cv_have_decl_tputs = yes; then
5124 cat >>confdefs.h <<_ACEOF
5125 #define HAVE_DECL_TPUTS 1
5130 cat >>confdefs.h <<_ACEOF
5131 #define HAVE_DECL_TPUTS 0
5136 { echo "$as_me:$LINENO: checking whether tgoto is declared" >&5
5137 echo $ECHO_N "checking whether tgoto is declared... $ECHO_C" >&6; }
5138 if test "${ac_cv_have_decl_tgoto+set}" = set; then
5139 echo $ECHO_N "(cached) $ECHO_C" >&6
5141 cat >conftest.$ac_ext <<_ACEOF
5144 cat confdefs.h >>conftest.$ac_ext
5145 cat >>conftest.$ac_ext <<_ACEOF
5146 /* end confdefs.h. */
5147 #if HAVE_CURSES_H && HAVE_TERM_H
5152 #include <termcap.h>
5172 rm -f conftest.$ac_objext
5173 if { (ac_try="$ac_compile"
5175 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5176 *) ac_try_echo
=$ac_try;;
5178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5179 (eval "$ac_compile") 2>conftest.er1
5181 grep -v '^ *+' conftest.er1
>conftest.err
5183 cat conftest.err
>&5
5184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185 (exit $ac_status); } && {
5186 test -z "$ac_c_werror_flag" ||
5187 test ! -s conftest.err
5188 } && test -s conftest.
$ac_objext; then
5189 ac_cv_have_decl_tgoto
=yes
5191 echo "$as_me: failed program was:" >&5
5192 sed 's/^/| /' conftest.
$ac_ext >&5
5194 ac_cv_have_decl_tgoto
=no
5197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5199 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tgoto" >&5
5200 echo "${ECHO_T}$ac_cv_have_decl_tgoto" >&6; }
5201 if test $ac_cv_have_decl_tgoto = yes; then
5203 cat >>confdefs.h
<<_ACEOF
5204 #define HAVE_DECL_TGOTO 1
5209 cat >>confdefs.h
<<_ACEOF
5210 #define HAVE_DECL_TGOTO 0
5215 { echo "$as_me:$LINENO: checking whether tgetent is declared" >&5
5216 echo $ECHO_N "checking whether tgetent is declared... $ECHO_C" >&6; }
5217 if test "${ac_cv_have_decl_tgetent+set}" = set; then
5218 echo $ECHO_N "(cached) $ECHO_C" >&6
5220 cat >conftest.
$ac_ext <<_ACEOF
5223 cat confdefs.h
>>conftest.
$ac_ext
5224 cat >>conftest.
$ac_ext <<_ACEOF
5225 /* end confdefs.h. */
5226 #if HAVE_CURSES_H && HAVE_TERM_H
5231 #include <termcap.h>
5251 rm -f conftest.
$ac_objext
5252 if { (ac_try
="$ac_compile"
5254 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5255 *) ac_try_echo=$ac_try;;
5257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5258 (eval "$ac_compile") 2>conftest.er1
5260 grep -v '^ *+' conftest.er1 >conftest.err
5262 cat conftest.err >&5
5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5264 (exit $ac_status); } && {
5265 test -z "$ac_c_werror_flag" ||
5266 test ! -s conftest.err
5267 } && test -s conftest.$ac_objext; then
5268 ac_cv_have_decl_tgetent=yes
5270 echo "$as_me: failed program was:" >&5
5271 sed 's/^/| /' conftest.$ac_ext >&5
5273 ac_cv_have_decl_tgetent=no
5276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5278 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tgetent" >&5
5279 echo "${ECHO_T}$ac_cv_have_decl_tgetent" >&6; }
5280 if test $ac_cv_have_decl_tgetent = yes; then
5282 cat >>confdefs.h <<_ACEOF
5283 #define HAVE_DECL_TGETENT 1
5288 cat >>confdefs.h <<_ACEOF
5289 #define HAVE_DECL_TGETENT 0
5294 { echo "$as_me:$LINENO: checking whether tgetflag is declared" >&5
5295 echo $ECHO_N "checking whether tgetflag is declared... $ECHO_C" >&6; }
5296 if test "${ac_cv_have_decl_tgetflag+set}" = set; then
5297 echo $ECHO_N "(cached) $ECHO_C" >&6
5299 cat >conftest.$ac_ext <<_ACEOF
5302 cat confdefs.h >>conftest.$ac_ext
5303 cat >>conftest.$ac_ext <<_ACEOF
5304 /* end confdefs.h. */
5305 #if HAVE_CURSES_H && HAVE_TERM_H
5310 #include <termcap.h>
5330 rm -f conftest.$ac_objext
5331 if { (ac_try="$ac_compile"
5333 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5334 *) ac_try_echo
=$ac_try;;
5336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5337 (eval "$ac_compile") 2>conftest.er1
5339 grep -v '^ *+' conftest.er1
>conftest.err
5341 cat conftest.err
>&5
5342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343 (exit $ac_status); } && {
5344 test -z "$ac_c_werror_flag" ||
5345 test ! -s conftest.err
5346 } && test -s conftest.
$ac_objext; then
5347 ac_cv_have_decl_tgetflag
=yes
5349 echo "$as_me: failed program was:" >&5
5350 sed 's/^/| /' conftest.
$ac_ext >&5
5352 ac_cv_have_decl_tgetflag
=no
5355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5357 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tgetflag" >&5
5358 echo "${ECHO_T}$ac_cv_have_decl_tgetflag" >&6; }
5359 if test $ac_cv_have_decl_tgetflag = yes; then
5361 cat >>confdefs.h
<<_ACEOF
5362 #define HAVE_DECL_TGETFLAG 1
5367 cat >>confdefs.h
<<_ACEOF
5368 #define HAVE_DECL_TGETFLAG 0
5373 { echo "$as_me:$LINENO: checking whether tgetnum is declared" >&5
5374 echo $ECHO_N "checking whether tgetnum is declared... $ECHO_C" >&6; }
5375 if test "${ac_cv_have_decl_tgetnum+set}" = set; then
5376 echo $ECHO_N "(cached) $ECHO_C" >&6
5378 cat >conftest.
$ac_ext <<_ACEOF
5381 cat confdefs.h
>>conftest.
$ac_ext
5382 cat >>conftest.
$ac_ext <<_ACEOF
5383 /* end confdefs.h. */
5384 #if HAVE_CURSES_H && HAVE_TERM_H
5389 #include <termcap.h>
5409 rm -f conftest.
$ac_objext
5410 if { (ac_try
="$ac_compile"
5412 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5413 *) ac_try_echo=$ac_try;;
5415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5416 (eval "$ac_compile") 2>conftest.er1
5418 grep -v '^ *+' conftest.er1 >conftest.err
5420 cat conftest.err >&5
5421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422 (exit $ac_status); } && {
5423 test -z "$ac_c_werror_flag" ||
5424 test ! -s conftest.err
5425 } && test -s conftest.$ac_objext; then
5426 ac_cv_have_decl_tgetnum=yes
5428 echo "$as_me: failed program was:" >&5
5429 sed 's/^/| /' conftest.$ac_ext >&5
5431 ac_cv_have_decl_tgetnum=no
5434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5436 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tgetnum" >&5
5437 echo "${ECHO_T}$ac_cv_have_decl_tgetnum" >&6; }
5438 if test $ac_cv_have_decl_tgetnum = yes; then
5440 cat >>confdefs.h <<_ACEOF
5441 #define HAVE_DECL_TGETNUM 1
5446 cat >>confdefs.h <<_ACEOF
5447 #define HAVE_DECL_TGETNUM 0
5452 { echo "$as_me:$LINENO: checking whether tgetstr is declared" >&5
5453 echo $ECHO_N "checking whether tgetstr is declared... $ECHO_C" >&6; }
5454 if test "${ac_cv_have_decl_tgetstr+set}" = set; then
5455 echo $ECHO_N "(cached) $ECHO_C" >&6
5457 cat >conftest.$ac_ext <<_ACEOF
5460 cat confdefs.h >>conftest.$ac_ext
5461 cat >>conftest.$ac_ext <<_ACEOF
5462 /* end confdefs.h. */
5463 #if HAVE_CURSES_H && HAVE_TERM_H
5468 #include <termcap.h>
5488 rm -f conftest.$ac_objext
5489 if { (ac_try="$ac_compile"
5491 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5492 *) ac_try_echo
=$ac_try;;
5494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5495 (eval "$ac_compile") 2>conftest.er1
5497 grep -v '^ *+' conftest.er1
>conftest.err
5499 cat conftest.err
>&5
5500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501 (exit $ac_status); } && {
5502 test -z "$ac_c_werror_flag" ||
5503 test ! -s conftest.err
5504 } && test -s conftest.
$ac_objext; then
5505 ac_cv_have_decl_tgetstr
=yes
5507 echo "$as_me: failed program was:" >&5
5508 sed 's/^/| /' conftest.
$ac_ext >&5
5510 ac_cv_have_decl_tgetstr
=no
5513 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5515 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tgetstr" >&5
5516 echo "${ECHO_T}$ac_cv_have_decl_tgetstr" >&6; }
5517 if test $ac_cv_have_decl_tgetstr = yes; then
5519 cat >>confdefs.h
<<_ACEOF
5520 #define HAVE_DECL_TGETSTR 1
5525 cat >>confdefs.h
<<_ACEOF
5526 #define HAVE_DECL_TGETSTR 0
5534 # The third argument to tputs is a putc-like function that takes an
5535 # argument. On most systems that argument is an int, but on some it
5536 # is a char. Determine which.
5537 { echo "$as_me:$LINENO: checking argument type of tputs putc function" >&5
5538 echo $ECHO_N "checking argument type of tputs putc function... $ECHO_C" >&6; }
5539 _savedwerror_flag
=$ac_c_werror_flag
5540 ac_c_werror_flag
=yes
5541 cat >conftest.
$ac_ext <<_ACEOF
5544 cat confdefs.h
>>conftest.
$ac_ext
5545 cat >>conftest.
$ac_ext <<_ACEOF
5546 /* end confdefs.h. */
5547 #ifdef HAVE_TERMCAP_H
5548 #include <termcap.h>
5550 #ifdef HAVE_CURSES_H
5565 rm -f conftest.
$ac_objext
5566 if { (ac_try
="$ac_compile"
5568 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5569 *) ac_try_echo=$ac_try;;
5571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5572 (eval "$ac_compile") 2>conftest.er1
5574 grep -v '^ *+' conftest.er1 >conftest.err
5576 cat conftest.err >&5
5577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5578 (exit $ac_status); } && {
5579 test -z "$ac_c_werror_flag" ||
5580 test ! -s conftest.err
5581 } && test -s conftest.$ac_objext; then
5582 ac_cv_type_tputs_putc="char"
5584 echo "$as_me: failed program was:" >&5
5585 sed 's/^/| /' conftest.$ac_ext >&5
5587 ac_cv_type_tputs_putc="int"
5590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5591 { echo "$as_me:$LINENO: result: $ac_cv_type_tputs_putc" >&5
5592 echo "${ECHO_T}$ac_cv_type_tputs_putc" >&6; }
5594 cat >>confdefs.h <<_ACEOF
5595 #define TPUTS_PUTC_ARGTYPE $ac_cv_type_tputs_putc
5598 ac_c_werror_flag=$_savedwerror_flag
5600 # Determine presence of needed types
5601 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5602 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
5603 if test "${ac_cv_type_signal+set}" = set; then
5604 echo $ECHO_N "(cached) $ECHO_C" >&6
5606 cat >conftest.$ac_ext <<_ACEOF
5609 cat confdefs.h >>conftest.$ac_ext
5610 cat >>conftest.$ac_ext <<_ACEOF
5611 /* end confdefs.h. */
5612 #include <sys/types.h>
5618 return *(signal (0, 0)) (0) == 1;
5623 rm -f conftest.$ac_objext
5624 if { (ac_try="$ac_compile"
5626 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5627 *) ac_try_echo
=$ac_try;;
5629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5630 (eval "$ac_compile") 2>conftest.er1
5632 grep -v '^ *+' conftest.er1
>conftest.err
5634 cat conftest.err
>&5
5635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636 (exit $ac_status); } && {
5637 test -z "$ac_c_werror_flag" ||
5638 test ! -s conftest.err
5639 } && test -s conftest.
$ac_objext; then
5640 ac_cv_type_signal
=int
5642 echo "$as_me: failed program was:" >&5
5643 sed 's/^/| /' conftest.
$ac_ext >&5
5645 ac_cv_type_signal
=void
5648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5650 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
5651 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
5653 cat >>confdefs.h
<<_ACEOF
5654 #define RETSIGTYPE $ac_cv_type_signal
5658 { echo "$as_me:$LINENO: checking for id_t" >&5
5659 echo $ECHO_N "checking for id_t... $ECHO_C" >&6; }
5660 if test "${ac_cv_type_id_t+set}" = set; then
5661 echo $ECHO_N "(cached) $ECHO_C" >&6
5663 cat >conftest.
$ac_ext <<_ACEOF
5666 cat confdefs.h
>>conftest.
$ac_ext
5667 cat >>conftest.
$ac_ext <<_ACEOF
5668 /* end confdefs.h. */
5669 $ac_includes_default
5670 typedef id_t ac__type_new_;
5674 if ((ac__type_new_ *) 0)
5676 if (sizeof (ac__type_new_))
5682 rm -f conftest.
$ac_objext
5683 if { (ac_try
="$ac_compile"
5685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5686 *) ac_try_echo=$ac_try;;
5688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5689 (eval "$ac_compile") 2>conftest.er1
5691 grep -v '^ *+' conftest.er1 >conftest.err
5693 cat conftest.err >&5
5694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5695 (exit $ac_status); } && {
5696 test -z "$ac_c_werror_flag" ||
5697 test ! -s conftest.err
5698 } && test -s conftest.$ac_objext; then
5701 echo "$as_me: failed program was:" >&5
5702 sed 's/^/| /' conftest.$ac_ext >&5
5707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5709 { echo "$as_me:$LINENO: result: $ac_cv_type_id_t" >&5
5710 echo "${ECHO_T}$ac_cv_type_id_t" >&6; }
5711 if test $ac_cv_type_id_t = yes; then
5713 cat >>confdefs.h <<_ACEOF
5719 { echo "$as_me:$LINENO: checking for lwpid_t" >&5
5720 echo $ECHO_N "checking for lwpid_t... $ECHO_C" >&6; }
5721 if test "${ac_cv_type_lwpid_t+set}" = set; then
5722 echo $ECHO_N "(cached) $ECHO_C" >&6
5724 cat >conftest.$ac_ext <<_ACEOF
5727 cat confdefs.h >>conftest.$ac_ext
5728 cat >>conftest.$ac_ext <<_ACEOF
5729 /* end confdefs.h. */
5730 $ac_includes_default
5731 typedef lwpid_t ac__type_new_;
5735 if ((ac__type_new_ *) 0)
5737 if (sizeof (ac__type_new_))
5743 rm -f conftest.$ac_objext
5744 if { (ac_try="$ac_compile"
5746 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5747 *) ac_try_echo
=$ac_try;;
5749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5750 (eval "$ac_compile") 2>conftest.er1
5752 grep -v '^ *+' conftest.er1
>conftest.err
5754 cat conftest.err
>&5
5755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5756 (exit $ac_status); } && {
5757 test -z "$ac_c_werror_flag" ||
5758 test ! -s conftest.err
5759 } && test -s conftest.
$ac_objext; then
5760 ac_cv_type_lwpid_t
=yes
5762 echo "$as_me: failed program was:" >&5
5763 sed 's/^/| /' conftest.
$ac_ext >&5
5765 ac_cv_type_lwpid_t
=no
5768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5770 { echo "$as_me:$LINENO: result: $ac_cv_type_lwpid_t" >&5
5771 echo "${ECHO_T}$ac_cv_type_lwpid_t" >&6; }
5772 if test $ac_cv_type_lwpid_t = yes; then
5774 cat >>confdefs.h
<<_ACEOF
5775 #define HAVE_LWPID_T 1
5780 { echo "$as_me:$LINENO: checking for pid_t" >&5
5781 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
5782 if test "${ac_cv_type_pid_t+set}" = set; then
5783 echo $ECHO_N "(cached) $ECHO_C" >&6
5785 cat >conftest.
$ac_ext <<_ACEOF
5788 cat confdefs.h
>>conftest.
$ac_ext
5789 cat >>conftest.
$ac_ext <<_ACEOF
5790 /* end confdefs.h. */
5791 $ac_includes_default
5792 typedef pid_t ac__type_new_;
5796 if ((ac__type_new_ *) 0)
5798 if (sizeof (ac__type_new_))
5804 rm -f conftest.
$ac_objext
5805 if { (ac_try
="$ac_compile"
5807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5808 *) ac_try_echo=$ac_try;;
5810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5811 (eval "$ac_compile") 2>conftest.er1
5813 grep -v '^ *+' conftest.er1 >conftest.err
5815 cat conftest.err >&5
5816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5817 (exit $ac_status); } && {
5818 test -z "$ac_c_werror_flag" ||
5819 test ! -s conftest.err
5820 } && test -s conftest.$ac_objext; then
5821 ac_cv_type_pid_t=yes
5823 echo "$as_me: failed program was:" >&5
5824 sed 's/^/| /' conftest.$ac_ext >&5
5829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5831 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5832 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
5833 if test $ac_cv_type_pid_t = yes; then
5835 cat >>confdefs.h <<_ACEOF
5836 #define HAVE_PID_T 1
5841 { echo "$as_me:$LINENO: checking for time_t" >&5
5842 echo $ECHO_N "checking for time_t... $ECHO_C" >&6; }
5843 if test "${ac_cv_type_time_t+set}" = set; then
5844 echo $ECHO_N "(cached) $ECHO_C" >&6
5846 cat >conftest.$ac_ext <<_ACEOF
5849 cat confdefs.h >>conftest.$ac_ext
5850 cat >>conftest.$ac_ext <<_ACEOF
5851 /* end confdefs.h. */
5852 $ac_includes_default
5853 typedef time_t ac__type_new_;
5857 if ((ac__type_new_ *) 0)
5859 if (sizeof (ac__type_new_))
5865 rm -f conftest.$ac_objext
5866 if { (ac_try="$ac_compile"
5868 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5869 *) ac_try_echo
=$ac_try;;
5871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5872 (eval "$ac_compile") 2>conftest.er1
5874 grep -v '^ *+' conftest.er1
>conftest.err
5876 cat conftest.err
>&5
5877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878 (exit $ac_status); } && {
5879 test -z "$ac_c_werror_flag" ||
5880 test ! -s conftest.err
5881 } && test -s conftest.
$ac_objext; then
5882 ac_cv_type_time_t
=yes
5884 echo "$as_me: failed program was:" >&5
5885 sed 's/^/| /' conftest.
$ac_ext >&5
5887 ac_cv_type_time_t
=no
5890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5892 { echo "$as_me:$LINENO: result: $ac_cv_type_time_t" >&5
5893 echo "${ECHO_T}$ac_cv_type_time_t" >&6; }
5894 if test $ac_cv_type_time_t = yes; then
5896 cat >>confdefs.h
<<_ACEOF
5897 #define HAVE_TIME_T 1
5902 { echo "$as_me:$LINENO: checking for uid_t" >&5
5903 echo $ECHO_N "checking for uid_t... $ECHO_C" >&6; }
5904 if test "${ac_cv_type_uid_t+set}" = set; then
5905 echo $ECHO_N "(cached) $ECHO_C" >&6
5907 cat >conftest.
$ac_ext <<_ACEOF
5910 cat confdefs.h
>>conftest.
$ac_ext
5911 cat >>conftest.
$ac_ext <<_ACEOF
5912 /* end confdefs.h. */
5913 $ac_includes_default
5914 typedef uid_t ac__type_new_;
5918 if ((ac__type_new_ *) 0)
5920 if (sizeof (ac__type_new_))
5926 rm -f conftest.
$ac_objext
5927 if { (ac_try
="$ac_compile"
5929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5930 *) ac_try_echo=$ac_try;;
5932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5933 (eval "$ac_compile") 2>conftest.er1
5935 grep -v '^ *+' conftest.er1 >conftest.err
5937 cat conftest.err >&5
5938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5939 (exit $ac_status); } && {
5940 test -z "$ac_c_werror_flag" ||
5941 test ! -s conftest.err
5942 } && test -s conftest.$ac_objext; then
5943 ac_cv_type_uid_t=yes
5945 echo "$as_me: failed program was:" >&5
5946 sed 's/^/| /' conftest.$ac_ext >&5
5951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5953 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
5954 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
5955 if test $ac_cv_type_uid_t = yes; then
5957 cat >>confdefs.h <<_ACEOF
5958 #define HAVE_UID_T 1
5965 # Checks for library functions.
5984 for ac_func in getopt getopt_long gettimeofday memcpy setbuffer setpriority setvbuf strcasecmp strchr strerror snprintf sighold sigrelse sigaction sigprocmask sysconf uname vsnprintf
5986 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
5987 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5989 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5990 echo $ECHO_N "(cached) $ECHO_C" >&6
5992 cat >conftest.$ac_ext <<_ACEOF
5995 cat confdefs.h >>conftest.$ac_ext
5996 cat >>conftest.$ac_ext <<_ACEOF
5997 /* end confdefs.h. */
5998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6000 #define $ac_func innocuous_$ac_func
6002 /* System header to define __stub macros and hopefully few prototypes,
6003 which can conflict with char $ac_func (); below.
6004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6005 <limits.h> exists even on freestanding compilers. */
6008 # include <limits.h>
6010 # include <assert.h>
6015 /* Override any GCC internal prototype to avoid an error.
6016 Use char because int might match the return type of a GCC
6017 builtin and then its argument prototype would still apply. */
6022 /* The GNU C library defines this for functions which it implements
6023 to always fail with ENOSYS. Some functions are actually named
6024 something starting with __ and the normal name is an alias. */
6025 #if defined __stub_$ac_func || defined __stub___$ac_func
6037 rm -f conftest.$ac_objext conftest$ac_exeext
6038 if { (ac_try="$ac_link"
6040 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6041 *) ac_try_echo
=$ac_try;;
6043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6044 (eval "$ac_link") 2>conftest.er1
6046 grep -v '^ *+' conftest.er1
>conftest.err
6048 cat conftest.err
>&5
6049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6050 (exit $ac_status); } && {
6051 test -z "$ac_c_werror_flag" ||
6052 test ! -s conftest.err
6053 } && test -s conftest
$ac_exeext &&
6054 $as_test_x conftest
$ac_exeext; then
6055 eval "$as_ac_var=yes"
6057 echo "$as_me: failed program was:" >&5
6058 sed 's/^/| /' conftest.
$ac_ext >&5
6060 eval "$as_ac_var=no"
6063 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6064 conftest
$ac_exeext conftest.
$ac_ext
6066 ac_res
=`eval echo '${'$as_ac_var'}'`
6067 { echo "$as_me:$LINENO: result: $ac_res" >&5
6068 echo "${ECHO_T}$ac_res" >&6; }
6069 if test `eval echo '${'$as_ac_var'}'` = yes; then
6070 cat >>confdefs.h
<<_ACEOF
6071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6078 # this is needed in the man page
6079 if test "x$ac_cv_func_getopt_long" = "xyes"; then
6086 # if we dont have snprintf/vsnprint then we need to compile the alternate
6087 if test "x$ac_cv_func_snprintf" != "xyes" -o "x$ac_cv_func_vsnprintf" != "xyes"; then
6088 SRC
="$SRC ap_snprintf.c"
6089 OBJ
="$OBJ ap_snprintf.o"
6093 # determine correct user, group, and mode
6094 # these can be overridden later if need be
6095 { echo "$as_me:$LINENO: checking for correct ls options" >&5
6096 echo $ECHO_N "checking for correct ls options... $ECHO_C" >&6; }
6098 if test `$lslong -d . | wc -w` -lt 9; then
6101 { echo "$as_me:$LINENO: result: $lslong" >&5
6102 echo "${ECHO_T}$lslong" >&6; }
6105 # determine correct module
6106 { echo "$as_me:$LINENO: checking for a platform module" >&5
6107 echo $ECHO_N "checking for a platform module... $ECHO_C" >&6; }
6108 if test "$with_module"; then
6112 aix4.2
*) MODULE
=aix43
;;
6113 aix4.3
*) MODULE
=aix43
;;
6114 aix5
*) MODULE
=aix5
;;
6115 dec-osf
*) MODULE
=decosf1
;;
6116 osf1
*) MODULE
=decosf1
;;
6117 osf4
*) MODULE
=decosf1
;;
6118 osf5
*) MODULE
=decosf1
;;
6119 freebsd
*) MODULE
=freebsd
; USE_KMEM
=1; USE_FPH
=1;;
6120 hpux7
*) MODULE
=hpux7
;;
6121 hpux8
*) MODULE
=hpux8
;;
6122 hpux9
*) MODULE
=hpux9
;;
6123 hpux10
*) MODULE
=hpux10
;;
6124 hpux11
*) MODULE
=hpux10
;;
6125 irix5
*) MODULE
=irix5
;;
6126 irix6
*) MODULE
=irixsgi
;;
6127 linux
*) MODULE
=linux
; USE_FPH
=1; SET_MODE
=755;;
6128 netbsd
*) MODULE
=netbsd
; SET_MODE
=755;;
6129 solaris2
*) MODULE
=sunos5
; USE_FPH
=1; SET_MODE
=755;;
6130 sunos4
*) MODULE
=sunos4
;;
6131 sysv4
*) MODULE
=svr4
;;
6132 sysv5
*) MODULE
=svr5
;;
6135 echo "The macosx module is untested. Use at your own risk."
6136 echo "If you really want to use this module, please run configure as follows:"
6137 echo " ./configure --with-module=macosx"
6138 { { echo "$as_me:$LINENO: error: macosx module unsupported" >&5
6139 echo "$as_me: error: macosx module unsupported" >&2;}
6140 { (exit 1); exit 1; }; };;
6142 echo "Configure doesn't recognize this system and doesn't know"
6143 echo "what module to assign to it. Help the cause and run the"
6144 echo "following command to let the maintainers know about this"
6145 echo "deficiency! Thanks. Just cut and paste the following:"
6146 echo "uname -a | mail -s $target_os bill@lefebvre.org"
6148 { { echo "$as_me:$LINENO: error: System type $target_os unrecognized" >&5
6149 echo "$as_me: error: System type $target_os unrecognized" >&2;}
6150 { (exit 1); exit 1; }; }
6153 { echo "$as_me:$LINENO: result: $MODULE" >&5
6154 echo "${ECHO_T}$MODULE" >&6; }
6155 SRC
="$SRC machine/m_$MODULE.c"
6156 OBJ
="$OBJ m_$MODULE.o"
6162 cat >>confdefs.h
<<_ACEOF
6163 #define MODULE "$MODULE"
6167 FIRST_RULE
=/dev
/null
6168 INSTALL_RULE
=config.default.makeinstall
6170 # extra things that need to be done for certain systems
6171 # also handle setup for 64-bit detection
6176 { echo "$as_me:$LINENO: checking for perfstat_cpu_total in -lperfstat" >&5
6177 echo $ECHO_N "checking for perfstat_cpu_total in -lperfstat... $ECHO_C" >&6; }
6178 if test "${ac_cv_lib_perfstat_perfstat_cpu_total+set}" = set; then
6179 echo $ECHO_N "(cached) $ECHO_C" >&6
6181 ac_check_lib_save_LIBS
=$LIBS
6182 LIBS
="-lperfstat $LIBS"
6183 cat >conftest.
$ac_ext <<_ACEOF
6186 cat confdefs.h
>>conftest.
$ac_ext
6187 cat >>conftest.
$ac_ext <<_ACEOF
6188 /* end confdefs.h. */
6190 /* Override any GCC internal prototype to avoid an error.
6191 Use char because int might match the return type of a GCC
6192 builtin and then its argument prototype would still apply. */
6196 char perfstat_cpu_total ();
6200 return perfstat_cpu_total ();
6205 rm -f conftest.
$ac_objext conftest
$ac_exeext
6206 if { (ac_try
="$ac_link"
6208 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6209 *) ac_try_echo=$ac_try;;
6211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6212 (eval "$ac_link") 2>conftest.er1
6214 grep -v '^ *+' conftest.er1 >conftest.err
6216 cat conftest.err >&5
6217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218 (exit $ac_status); } && {
6219 test -z "$ac_c_werror_flag" ||
6220 test ! -s conftest.err
6221 } && test -s conftest$ac_exeext &&
6222 $as_test_x conftest$ac_exeext; then
6223 ac_cv_lib_perfstat_perfstat_cpu_total=yes
6225 echo "$as_me: failed program was:" >&5
6226 sed 's/^/| /' conftest.$ac_ext >&5
6228 ac_cv_lib_perfstat_perfstat_cpu_total=no
6231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6232 conftest$ac_exeext conftest.$ac_ext
6233 LIBS=$ac_check_lib_save_LIBS
6235 { echo "$as_me:$LINENO: result: $ac_cv_lib_perfstat_perfstat_cpu_total" >&5
6236 echo "${ECHO_T}$ac_cv_lib_perfstat_perfstat_cpu_total" >&6; }
6237 if test $ac_cv_lib_perfstat_perfstat_cpu_total = yes; then
6238 cat >>confdefs.h <<_ACEOF
6239 #define HAVE_LIBPERFSTAT 1
6242 LIBS="-lperfstat $LIBS"
6246 if test -f /usr/sbin/bootinfo; then
6247 bits="`/usr
/sbin
/bootinfo
-K`"
6254 { echo "$as_me:$LINENO: checking for mas_open in -lmas" >&5
6255 echo $ECHO_N "checking for mas_open in -lmas... $ECHO_C" >&6; }
6256 if test "${ac_cv_lib_mas_mas_open+set}" = set; then
6257 echo $ECHO_N "(cached) $ECHO_C" >&6
6259 ac_check_lib_save_LIBS=$LIBS
6261 cat >conftest.$ac_ext <<_ACEOF
6264 cat confdefs.h >>conftest.$ac_ext
6265 cat >>conftest.$ac_ext <<_ACEOF
6266 /* end confdefs.h. */
6268 /* Override any GCC internal prototype to avoid an error.
6269 Use char because int might match the return type of a GCC
6270 builtin and then its argument prototype would still apply. */
6283 rm -f conftest.$ac_objext conftest$ac_exeext
6284 if { (ac_try="$ac_link"
6286 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6287 *) ac_try_echo
=$ac_try;;
6289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6290 (eval "$ac_link") 2>conftest.er1
6292 grep -v '^ *+' conftest.er1
>conftest.err
6294 cat conftest.err
>&5
6295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6296 (exit $ac_status); } && {
6297 test -z "$ac_c_werror_flag" ||
6298 test ! -s conftest.err
6299 } && test -s conftest
$ac_exeext &&
6300 $as_test_x conftest
$ac_exeext; then
6301 ac_cv_lib_mas_mas_open
=yes
6303 echo "$as_me: failed program was:" >&5
6304 sed 's/^/| /' conftest.
$ac_ext >&5
6306 ac_cv_lib_mas_mas_open
=no
6309 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6310 conftest
$ac_exeext conftest.
$ac_ext
6311 LIBS
=$ac_check_lib_save_LIBS
6313 { echo "$as_me:$LINENO: result: $ac_cv_lib_mas_mas_open" >&5
6314 echo "${ECHO_T}$ac_cv_lib_mas_mas_open" >&6; }
6315 if test $ac_cv_lib_mas_mas_open = yes; then
6316 cat >>confdefs.h
<<_ACEOF
6317 #define HAVE_LIBMAS 1
6326 if test "$ISAINFO"; then
6327 bits
="`$ISAINFO -b`"
6328 if test "$target_cpu" = "sparc"; then
6329 extra_flag
="-xarch=v9"
6331 extra_flag
="-xarch=amd64"
6337 # USE_FPH means the module has format_process_header
6338 if test -n "$USE_FPH"; then
6340 cat >>confdefs.h
<<\_ACEOF
6341 #define HAVE_FORMAT_PROCESS_HEADER 1
6346 # if we are 64-bit, try to turn on the appropriate flags
6347 { echo "$as_me:$LINENO: checking address space size" >&5
6348 echo $ECHO_N "checking address space size... $ECHO_C" >&6; }
6350 if test "$bits" = "64"; then
6351 { echo "$as_me:$LINENO: result: 64" >&5
6352 echo "${ECHO_T}64" >&6; }
6353 if test "$ax_cv_c_compiler_vendor" = "gnu"; then
6356 # Make sure our compiler accepts the flag we want to use
6357 { echo "$as_me:$LINENO: checking whether compiler accepts $extra_flag" >&5
6358 echo $ECHO_N "checking whether compiler accepts $extra_flag... $ECHO_C" >&6; }
6359 as_ac_Flag
=`echo "ac_cv_cflag_$extra_flag" | $as_tr_sh`
6360 _savedcflags
=$CFLAGS
6361 _savedwerror_flag
=$ac_c_werror_flag
6362 ac_c_werror_flag
=yes
6363 CFLAGS
=$CFLAGS" $extra_flag"
6364 cat >conftest.
$ac_ext <<_ACEOF
6367 cat confdefs.h
>>conftest.
$ac_ext
6368 cat >>conftest.
$ac_ext <<_ACEOF
6369 /* end confdefs.h. */
6379 rm -f conftest.
$ac_objext conftest
$ac_exeext
6380 if { (ac_try
="$ac_link"
6382 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6383 *) ac_try_echo=$ac_try;;
6385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6386 (eval "$ac_link") 2>conftest.er1
6388 grep -v '^ *+' conftest.er1 >conftest.err
6390 cat conftest.err >&5
6391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392 (exit $ac_status); } && {
6393 test -z "$ac_c_werror_flag" ||
6394 test ! -s conftest.err
6395 } && test -s conftest$ac_exeext &&
6396 $as_test_x conftest$ac_exeext; then
6397 eval "$as_ac_Flag=yes"
6399 echo "$as_me: failed program was:" >&5
6400 sed 's/^/| /' conftest.$ac_ext >&5
6402 eval "$as_ac_Flag=no"
6405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6406 conftest$ac_exeext conftest.$ac_ext
6407 { echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Flag'}'`" >&5
6408 echo "${ECHO_T}`eval echo '${'$as_ac_Flag'}'`" >&6; }
6409 CFLAGS=$_savedcflags
6410 ac_c_werror_flag=$_savedwerror_flag
6411 if test `eval echo '${'$as_ac_Flag'}'` = yes; then
6412 ARCHFLAG="$extra_flag"
6414 enable_dualarch="no"
6418 { echo "$as_me:$LINENO: result: $bits" >&5
6419 echo "${ECHO_T}$bits" >&6; }
6423 # Dual architecture handling: for now this is only enabled on Solaris.
6424 # Config options can explicitly enable or disable dualarch. Otherwise,
6425 # dualarch is only enabled when we are on a 64-bit system.
6426 if test "$MODULE" = "sunos5"; then
6427 { echo "$as_me:$LINENO: checking for dual architecture compilation" >&5
6428 echo $ECHO_N "checking for dual architecture compilation... $ECHO_C" >&6; }
6429 if test "x$enable_dualarch" = x; then
6430 # we must make the determination implicitly
6431 if test "$bits" = "64"; then
6432 enable_dualarch="yes"
6434 enable_dualarch="no"
6437 if test "x$enable_dualarch" = "xyes"; then
6438 { echo "$as_me:$LINENO: result: yes" >&5
6439 echo "${ECHO_T}yes" >&6; }
6440 if test "$target_cpu" = "sparc"; then
6441 FIRST_RULE="config.sparcv9.make"
6442 INSTALL_RULE="config.sparcv9.makeinstall"
6443 CLEAN_EXTRA="$CLEAN_EXTRA sparcv7/* sparcv9/*"
6444 mkdir -p sparcv7 sparcv9
6446 FIRST_RULE="config.amd64.make"
6447 INSTALL_RULE="config.amd64.makeinstall"
6448 CLEAN_EXTRA="$CLEAN_EXTRA i386/* amd64/*"
6452 { echo "$as_me:$LINENO: result: no" >&5
6453 echo "${ECHO_T}no" >&6; }
6457 if test x$enable_dualarch = xyes; then
6459 cat >>confdefs.h <<\_ACEOF
6460 #define ENABLE_DUALARCH 1
6468 { echo "$as_me:$LINENO: checking for installation settings" >&5
6469 echo $ECHO_N "checking for installation settings... $ECHO_C" >&6; }
6470 # calculate appropriate settings
6474 if test ! -n "$USE_KMEM" -a -d /proc; then
6475 # make sure we are installed so that we can read /proc
6477 if test -r /proc/0/psinfo; then
6478 # system uses solaris-style /proc
6479 $lslong /proc/0/psinfo >conftest.txt
6480 elif test -r /proc/1/stat; then
6481 # linux-style /proc?
6482 $lslong /proc/1/stat >conftest.txt
6484 echo "-r--r--r-- 1 bin bin 32 Jan 1 12:00 /foo" >conftest.txt
6487 # set permissions so that we can read stuff in /proc
6488 if grep '^.......r..' conftest.txt >/dev/null; then
6491 elif grep '^....r.....' conftest.txt >/dev/null; then
6494 GROUP=`awk ' { print $4 }'`
6496 # probably only readable by root
6498 OWNER=`awk ' { print $3 }'`
6501 elif test -c /dev/kmem; then
6502 $lslong -L /dev/kmem >conftest.txt
6503 if grep '^....r..r..' conftest.txt >/dev/null; then
6505 elif grep '^....r..-..' conftest.txt >/dev/null; then
6507 GROUP=`$AWK ' { print $4 }' conftest.txt
`
6513 # let module settings override what we calculated
6514 OWNER=${SET_OWNER:-$OWNER}
6515 GROUP=${SET_GROUP:-$GROUP}
6516 MODE=${SET_MODE:-$MODE}
6518 # set only those things that require it
6520 INSTALL_OPTS_PROG=""
6521 if test x$OWNER != x; then
6522 result="${result}owner=$OWNER, "
6523 INSTALL_OPTS_PROG="$INSTALL_OPTS_PROG -o $OWNER"
6525 if test x$GROUP != x; then
6526 result="${result}group=$GROUP, "
6527 INSTALL_OPTS_PROG="$INSTALL_OPTS_PROG -g $GROUP"
6529 result="${result}mode=$MODE"
6530 INSTALL_OPTS_PROG="$INSTALL_OPTS_PROG -m $MODE"
6532 { echo "$as_me:$LINENO: result: $result" >&5
6533 echo "${ECHO_T}$result" >&6; }
6535 # add extra cflags if the compiler accepts them
6536 { echo "$as_me:$LINENO: checking CFLAGS for maximum warnings" >&5
6537 echo $ECHO_N "checking CFLAGS for maximum warnings... $ECHO_C" >&6; }
6538 if test "${ac_cv_cflags_warn_all+set}" = set; then
6539 echo $ECHO_N "(cached) $ECHO_C" >&6
6541 ac_cv_cflags_warn_all="no, unknown"
6544 ac_cpp='$CPP $CPPFLAGS'
6545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6549 ac_save_CFLAGS="$CFLAGS"
6550 for ac_arg in "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" #
6551 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg |
sed -e 's,%%.*,,' -e 's,%,,'`
6552 cat >conftest.$ac_ext <<_ACEOF
6555 cat confdefs.h >>conftest.$ac_ext
6556 cat >>conftest.$ac_ext <<_ACEOF
6557 /* end confdefs.h. */
6567 rm -f conftest.$ac_objext
6568 if { (ac_try="$ac_compile"
6570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6571 *) ac_try_echo
=$ac_try;;
6573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6574 (eval "$ac_compile") 2>conftest.er1
6576 grep -v '^ *+' conftest.er1
>conftest.err
6578 cat conftest.err
>&5
6579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6580 (exit $ac_status); } && {
6581 test -z "$ac_c_werror_flag" ||
6582 test ! -s conftest.err
6583 } && test -s conftest.
$ac_objext; then
6584 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
6586 echo "$as_me: failed program was:" >&5
6587 sed 's/^/| /' conftest.
$ac_ext >&5
6592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6594 CFLAGS
="$ac_save_CFLAGS"
6596 ac_cpp
='$CPP $CPPFLAGS'
6597 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6598 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6599 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6603 { echo "$as_me:$LINENO: result: $ac_cv_cflags_warn_all" >&5
6604 echo "${ECHO_T}$ac_cv_cflags_warn_all" >&6; }
6605 case ".$ac_cv_cflags_warn_all" in
6610 if echo " $CFLAGS " |
grep " $ac_cv_cflags_warn_all " 2>&1 >/dev
/null
6611 then { (echo "$as_me:$LINENO: : CFLAGS does contain \$ac_cv_cflags_warn_all") >&5
6612 (: CFLAGS does contain
$ac_cv_cflags_warn_all) 2>&5
6614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6615 (exit $ac_status); }
6616 else { (echo "$as_me:$LINENO: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\"") >&5
6617 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
6619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6620 (exit $ac_status); }
6621 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
6627 if test "$ax_cv_c_compiler_vendor" = "gnu"; then
6628 { echo "$as_me:$LINENO: checking MODULE_CFLAGS for gcc -fno-strict-aliasing" >&5
6629 echo $ECHO_N "checking MODULE_CFLAGS for gcc -fno-strict-aliasing... $ECHO_C" >&6; }
6630 if test "${ac_cv_cflags_gcc_option__fno_strict_aliasing+set}" = set; then
6631 echo $ECHO_N "(cached) $ECHO_C" >&6
6633 ac_cv_cflags_gcc_option__fno_strict_aliasing
="no, unknown"
6636 ac_cpp
='$CPP $CPPFLAGS'
6637 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6638 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6639 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6641 ac_save_CFLAGS
="$CFLAGS"
6642 for ac_arg
in "-pedantic -Werror % -fno-strict-aliasing" "-pedantic % -fno-strict-aliasing %% no, obsolete" #
6643 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
6644 cat >conftest.
$ac_ext <<_ACEOF
6647 cat confdefs.h
>>conftest.
$ac_ext
6648 cat >>conftest.
$ac_ext <<_ACEOF
6649 /* end confdefs.h. */
6659 rm -f conftest.
$ac_objext
6660 if { (ac_try
="$ac_compile"
6662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6663 *) ac_try_echo=$ac_try;;
6665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6666 (eval "$ac_compile") 2>conftest.er1
6668 grep -v '^ *+' conftest.er1 >conftest.err
6670 cat conftest.err >&5
6671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6672 (exit $ac_status); } && {
6673 test -z "$ac_c_werror_flag" ||
6674 test ! -s conftest.err
6675 } && test -s conftest.$ac_objext; then
6676 ac_cv_cflags_gcc_option__fno_strict_aliasing=`echo $ac_arg |
sed -e 's,.*% *,,'` ; break
6678 echo "$as_me: failed program was:" >&5
6679 sed 's/^/| /' conftest.$ac_ext >&5
6684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6686 CFLAGS="$ac_save_CFLAGS"
6688 ac_cpp='$CPP $CPPFLAGS'
6689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6695 { echo "$as_me:$LINENO: result: $ac_cv_cflags_gcc_option__fno_strict_aliasing" >&5
6696 echo "${ECHO_T}$ac_cv_cflags_gcc_option__fno_strict_aliasing" >&6; }
6697 case ".$ac_cv_cflags_gcc_option__fno_strict_aliasing" in
6701 if echo " $MODULE_CFLAGS " | grep " $ac_cv_cflags_gcc_option__fno_strict_aliasing " 2>&1 >/dev/null
6702 then { (echo "$as_me:$LINENO: : MODULE_CFLAGS does contain \$ac_cv_cflags_gcc_option__fno_strict_aliasing") >&5
6703 (: MODULE_CFLAGS does contain $ac_cv_cflags_gcc_option__fno_strict_aliasing) 2>&5
6705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6706 (exit $ac_status); }
6707 else { (echo "$as_me:$LINENO: : MODULE_CFLAGS=\"\$MODULE_CFLAGS \$ac_cv_cflags_gcc_option__fno_strict_aliasing\"") >&5
6708 (: MODULE_CFLAGS="$MODULE_CFLAGS $ac_cv_cflags_gcc_option__fno_strict_aliasing") 2>&5
6710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6711 (exit $ac_status); }
6712 MODULE_CFLAGS="$MODULE_CFLAGS $ac_cv_cflags_gcc_option__fno_strict_aliasing"
6717 if test "$target_cpu" = "alpha"; then
6718 { echo "$as_me:$LINENO: checking CFLAGS for gcc -mfp-trap-mode=sui -mtrap-precision=i" >&5
6719 echo $ECHO_N "checking CFLAGS for gcc -mfp-trap-mode=sui -mtrap-precision=i... $ECHO_C" >&6; }
6720 if test "${ac_cv_cflags_gcc_option__mfp_trap_mode_sui__mtrap_precision_i+set}" = set; then
6721 echo $ECHO_N "(cached) $ECHO_C" >&6
6723 ac_cv_cflags_gcc_option__mfp_trap_mode_sui__mtrap_precision_i="no, unknown"
6726 ac_cpp='$CPP $CPPFLAGS'
6727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6731 ac_save_CFLAGS="$CFLAGS"
6732 for ac_arg in "-pedantic -Werror % -mfp-trap-mode=sui -mtrap-precision=i" "-pedantic % -mfp-trap-mode=sui -mtrap-precision=i %% no, obsolete" #
6733 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg |
sed -e 's,%%.*,,' -e 's,%,,'`
6734 cat >conftest.$ac_ext <<_ACEOF
6737 cat confdefs.h >>conftest.$ac_ext
6738 cat >>conftest.$ac_ext <<_ACEOF
6739 /* end confdefs.h. */
6749 rm -f conftest.$ac_objext
6750 if { (ac_try="$ac_compile"
6752 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6753 *) ac_try_echo
=$ac_try;;
6755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6756 (eval "$ac_compile") 2>conftest.er1
6758 grep -v '^ *+' conftest.er1
>conftest.err
6760 cat conftest.err
>&5
6761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762 (exit $ac_status); } && {
6763 test -z "$ac_c_werror_flag" ||
6764 test ! -s conftest.err
6765 } && test -s conftest.
$ac_objext; then
6766 ac_cv_cflags_gcc_option__mfp_trap_mode_sui__mtrap_precision_i
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
6768 echo "$as_me: failed program was:" >&5
6769 sed 's/^/| /' conftest.
$ac_ext >&5
6774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6776 CFLAGS
="$ac_save_CFLAGS"
6778 ac_cpp
='$CPP $CPPFLAGS'
6779 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6780 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6781 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6785 { echo "$as_me:$LINENO: result: $ac_cv_cflags_gcc_option__mfp_trap_mode_sui__mtrap_precision_i" >&5
6786 echo "${ECHO_T}$ac_cv_cflags_gcc_option__mfp_trap_mode_sui__mtrap_precision_i" >&6; }
6787 case ".$ac_cv_cflags_gcc_option__mfp_trap_mode_sui__mtrap_precision_i" in
6791 if echo " $CFLAGS " |
grep " $ac_cv_cflags_gcc_option__mfp_trap_mode_sui__mtrap_precision_i " 2>&1 >/dev
/null
6792 then { (echo "$as_me:$LINENO: : CFLAGS does contain \$ac_cv_cflags_gcc_option__mfp_trap_mode_sui__mtrap_precision_i") >&5
6793 (: CFLAGS does contain
$ac_cv_cflags_gcc_option__mfp_trap_mode_sui__mtrap_precision_i) 2>&5
6795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6796 (exit $ac_status); }
6797 else { (echo "$as_me:$LINENO: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__mfp_trap_mode_sui__mtrap_precision_i\"") >&5
6798 (: CFLAGS
="$CFLAGS $ac_cv_cflags_gcc_option__mfp_trap_mode_sui__mtrap_precision_i") 2>&5
6800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6801 (exit $ac_status); }
6802 CFLAGS
="$CFLAGS $ac_cv_cflags_gcc_option__mfp_trap_mode_sui__mtrap_precision_i"
6810 # Define man page supplement
6811 MAN_SUPPLEMENT
=machine
/m_
$MODULE.man
6814 # Extra things we want substituted
6821 ac_config_files
="$ac_config_files Makefile top.1"
6823 cat >confcache
<<\_ACEOF
6824 # This file is a shell script that caches the results of configure
6825 # tests run on this system so they can be shared between configure
6826 # scripts and configure runs, see configure's option --config-cache.
6827 # It is not useful on other systems. If it contains results you don't
6828 # want to keep, you may remove or edit it.
6830 # config.status only pays attention to the cache file if you give it
6831 # the --recheck option to rerun configure.
6833 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6834 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6839 # The following way of writing the cache mishandles newlines in values,
6840 # but we know of no workaround that is simple, portable, and efficient.
6841 # So, we kill variables containing newlines.
6842 # Ultrix sh set writes to stderr and can't be redirected directly,
6843 # and sets the high bit in the cache file unless we assign to the vars.
6845 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6846 eval ac_val
=\$
$ac_var
6850 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6851 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6854 _ | IFS | as_nl
) ;; #(
6855 *) $as_unset $ac_var ;;
6861 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6862 *${as_nl}ac_space
=\
*)
6863 # `set' does not quote correctly, so add quotes (double-quote
6864 # substitution turns \\\\ into \\, and sed turns \\ into \).
6867 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6870 # `set' quotes correctly as required by POSIX, so do not add quotes.
6871 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6880 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6882 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6884 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6885 if test -w "$cache_file"; then
6886 test "x$cache_file" != "x/dev/null" &&
6887 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6888 echo "$as_me: updating cache $cache_file" >&6;}
6889 cat confcache
>$cache_file
6891 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6892 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6897 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6898 # Let make expand exec_prefix.
6899 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6901 DEFS
=-DHAVE_CONFIG_H
6905 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6906 # 1. Remove the extension, and $U if already installed.
6907 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6908 ac_i
=`echo "$ac_i" | sed "$ac_script"`
6909 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6910 # will be set to the directory where LIBOBJS objects are built.
6911 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6912 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6916 LTLIBOBJS
=$ac_ltlibobjs
6920 : ${CONFIG_STATUS=./config.status}
6921 ac_clean_files_save
=$ac_clean_files
6922 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6923 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6924 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6925 cat >$CONFIG_STATUS <<_ACEOF
6927 # Generated by $as_me.
6928 # Run this file to recreate the current configuration.
6929 # Compiler output produced by configure, useful for debugging
6930 # configure, is in config.log if it exists.
6935 SHELL=\${CONFIG_SHELL-$SHELL}
6938 cat >>$CONFIG_STATUS <<\_ACEOF
6939 ## --------------------- ##
6940 ## M4sh Initialization. ##
6941 ## --------------------- ##
6943 # Be more Bourne compatible
6944 DUALCASE
=1; export DUALCASE
# for MKS sh
6945 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6948 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6949 # is contrary to our usage. Disable this feature.
6950 alias -g '${1+"$@"}'='"$@"'
6951 setopt NO_GLOB_SUBST
6953 case `(set -o) 2>/dev/null` in
6954 *posix
*) set -o posix
;;
6963 # Avoid depending upon Character Ranges.
6964 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6965 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6966 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6967 as_cr_digits
='0123456789'
6968 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6970 # The user is always right.
6971 if test "${PATH_SEPARATOR+set}" != set; then
6972 echo "#! /bin/sh" >conf$$.sh
6973 echo "exit 0" >>conf$$.sh
6975 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6983 # Support unset when possible.
6984 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6992 # We need space, tab and new line, in precisely that order. Quoting is
6993 # there to prevent editors from complaining about space-tab.
6994 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6995 # splitting by setting IFS to empty value.)
7000 # Find who we are. Look in the path if we contain no directory separator.
7002 *[\\/]* ) as_myself
=$0 ;;
7003 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7007 test -z "$as_dir" && as_dir
=.
7008 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7014 # We did not find ourselves, most probably we were run as `sh COMMAND'
7015 # in which case we are not to be found in the path.
7016 if test "x$as_myself" = x
; then
7019 if test ! -f "$as_myself"; then
7020 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7021 { (exit 1); exit 1; }
7024 # Work around bugs in pre-3.0 UWIN ksh.
7025 for as_var
in ENV MAIL MAILPATH
7026 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
7034 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7035 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7036 LC_TELEPHONE LC_TIME
7038 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7039 eval $as_var=C
; export $as_var
7041 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
7045 # Required to use basename.
7046 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7047 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7053 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7054 as_basename
=basename
7060 # Name of the executable.
7061 as_me
=`$as_basename -- "$0" ||
7062 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7063 X"$0" : 'X\(//\)$' \| \
7064 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7066 sed '/^.*\/\([^/][^/]*\)\/*$/{
7087 test "x$as_lineno_1" != "x$as_lineno_2" &&
7088 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
7090 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7091 # uniformly replaced by the line number. The first 'sed' inserts a
7092 # line-number line after each line using $LINENO; the second 'sed'
7093 # does the real work. The second script uses 'N' to pair each
7094 # line-number line with the line containing $LINENO, and appends
7095 # trailing '-' during substitution so that $LINENO is not a special
7097 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7098 # scripts with optimization help from Paolo Bonzini. Blame Lee
7099 # E. McMahon (1931-1989) for sed's syntax. :-)
7111 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7115 chmod +x
"$as_me.lineno" ||
7116 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7117 { (exit 1); exit 1; }; }
7119 # Don't try to exec as it changes $[0], causing all sort of problems
7120 # (the dirname of $[0] is not the place where we might find the
7121 # original and so on. Autoconf is especially sensitive to this).
7123 # Exit status is that of the last command.
7128 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7134 ECHO_C
= ECHO_N
= ECHO_T
=
7137 case `echo 'x\c'` in
7138 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7145 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7146 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7152 rm -f conf$$ conf$$.exe conf$$.
file
7153 if test -d conf$$.dir
; then
7154 rm -f conf$$.dir
/conf$$.
file
7160 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7162 # ... but there are two gotchas:
7163 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7164 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7165 # In both cases, we have to default to `cp -p'.
7166 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7168 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7173 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7174 rmdir conf$$.dir
2>/dev
/null
7176 if mkdir
-p .
2>/dev
/null
; then
7179 test -d .
/-p && rmdir .
/-p
7183 if test -x / >/dev
/null
2>&1; then
7186 if ls -dL / >/dev
/null
2>&1; then
7193 if test -d "$1"; then
7199 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
7200 ???[sx]*):;;*)false;;esac;fi
7204 as_executable_p
=$as_test_x
7206 # Sed expression to map a string onto a valid CPP name.
7207 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7209 # Sed expression to map a string onto a valid variable name.
7210 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7215 # Save the log message, to keep $[0] and so on meaningful, and to
7216 # report actual input values of CONFIG_FILES etc. instead of their
7217 # values after options handling.
7219 This file was extended by top $as_me 3.8beta1, which was
7220 generated by GNU Autoconf 2.61. Invocation command line was
7222 CONFIG_FILES = $CONFIG_FILES
7223 CONFIG_HEADERS = $CONFIG_HEADERS
7224 CONFIG_LINKS = $CONFIG_LINKS
7225 CONFIG_COMMANDS = $CONFIG_COMMANDS
7228 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7233 cat >>$CONFIG_STATUS <<_ACEOF
7234 # Files that config.status was made for.
7235 config_files="$ac_config_files"
7236 config_headers="$ac_config_headers"
7240 cat >>$CONFIG_STATUS <<\_ACEOF
7242 \`$as_me' instantiates files from templates according to the
7243 current configuration.
7245 Usage: $0 [OPTIONS] [FILE]...
7247 -h, --help print this help, then exit
7248 -V, --version print version number and configuration settings, then exit
7249 -q, --quiet do not print progress messages
7250 -d, --debug don't remove temporary files
7251 --recheck update $as_me by reconfiguring in the same conditions
7252 --file=FILE[:TEMPLATE]
7253 instantiate the configuration file FILE
7254 --header=FILE[:TEMPLATE]
7255 instantiate the configuration header FILE
7257 Configuration files:
7260 Configuration headers:
7263 Report bugs to <bug-autoconf@gnu.org>."
7266 cat >>$CONFIG_STATUS <<_ACEOF
7268 top config.status 3.8beta1
7269 configured by $0, generated by GNU Autoconf 2.61,
7270 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7272 Copyright (C) 2006 Free Software Foundation, Inc.
7273 This config.status script is free software; the Free Software Foundation
7274 gives unlimited permission to copy, distribute and modify it."
7281 cat >>$CONFIG_STATUS <<\_ACEOF
7282 # If no file are specified by the user, then we need to provide default
7283 # value. By we need to know if files were specified by the user.
7289 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7290 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7301 # Handling of the options.
7302 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7304 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7305 echo "$ac_cs_version"; exit ;;
7306 --debug |
--debu |
--deb |
--de |
--d |
-d )
7308 --file |
--fil |
--fi |
--f )
7310 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7311 ac_need_defaults
=false
;;
7312 --header |
--heade |
--head |
--hea )
7314 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7315 ac_need_defaults
=false
;;
7317 # Conflict between --help and --header
7318 { echo "$as_me: error: ambiguous option: $1
7319 Try \`$0 --help' for more information." >&2
7320 { (exit 1); exit 1; }; };;
7321 --help |
--hel |
-h )
7322 echo "$ac_cs_usage"; exit ;;
7323 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7324 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7328 -*) { echo "$as_me: error: unrecognized option: $1
7329 Try \`$0 --help' for more information." >&2
7330 { (exit 1); exit 1; }; } ;;
7332 *) ac_config_targets
="$ac_config_targets $1"
7333 ac_need_defaults
=false
;;
7339 ac_configure_extra_args
=
7341 if $ac_cs_silent; then
7343 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7347 cat >>$CONFIG_STATUS <<_ACEOF
7348 if \$ac_cs_recheck; then
7349 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7352 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7356 cat >>$CONFIG_STATUS <<\_ACEOF
7360 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7361 ## Running $as_me. ##
7367 cat >>$CONFIG_STATUS <<_ACEOF
7370 cat >>$CONFIG_STATUS <<\_ACEOF
7372 # Handling of arguments.
7373 for ac_config_target
in $ac_config_targets
7375 case $ac_config_target in
7376 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7377 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7378 "top.1") CONFIG_FILES
="$CONFIG_FILES top.1" ;;
7380 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7381 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7382 { (exit 1); exit 1; }; };;
7387 # If the user did not use the arguments to specify the items to instantiate,
7388 # then the envvar interface is used. Set only those that are not.
7389 # We use the long form for the default assignment because of an extremely
7390 # bizarre bug on SunOS 4.1.3.
7391 if $ac_need_defaults; then
7392 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7393 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7396 # Have a temporary directory for convenience. Make it in the build tree
7397 # simply because there is no reason against having it here, and in addition,
7398 # creating and moving files from /tmp can sometimes cause problems.
7399 # Hook for its removal unless debugging.
7400 # Note that there is a small window in which the directory will not be cleaned:
7401 # after its creation but before its name has been assigned to `$tmp'.
7405 trap 'exit_status=$?
7406 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7408 trap '{ (exit 1); exit 1; }' 1 2 13 15
7410 # Create a (secure) tmp directory for tmp files.
7413 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7414 test -n "$tmp" && test -d "$tmp"
7417 tmp
=.
/conf$$
-$RANDOM
7418 (umask 077 && mkdir
"$tmp")
7421 echo "$me: cannot create a temporary directory in ." >&2
7422 { (exit 1); exit 1; }
7426 # Set up the sed scripts for CONFIG_FILES section.
7429 # No need to generate the scripts if there are no CONFIG_FILES.
7430 # This happens for instance when ./config.status config.h
7431 if test -n "$CONFIG_FILES"; then
7435 # Create sed commands to just substitute file output variables.
7437 # Remaining file output variables are in a fragment that also has non-file
7443 for ac_last_try
in false false false false false
:; do
7444 cat >conf$
$subs.
sed <<_ACEOF
7445 SHELL!$SHELL$ac_delim
7446 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7447 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7448 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7449 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7450 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7451 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7452 exec_prefix!$exec_prefix$ac_delim
7453 prefix!$prefix$ac_delim
7454 program_transform_name!$program_transform_name$ac_delim
7455 bindir!$bindir$ac_delim
7456 sbindir!$sbindir$ac_delim
7457 libexecdir!$libexecdir$ac_delim
7458 datarootdir!$datarootdir$ac_delim
7459 datadir!$datadir$ac_delim
7460 sysconfdir!$sysconfdir$ac_delim
7461 sharedstatedir!$sharedstatedir$ac_delim
7462 localstatedir!$localstatedir$ac_delim
7463 includedir!$includedir$ac_delim
7464 oldincludedir!$oldincludedir$ac_delim
7465 docdir!$docdir$ac_delim
7466 infodir!$infodir$ac_delim
7467 htmldir!$htmldir$ac_delim
7468 dvidir!$dvidir$ac_delim
7469 pdfdir!$pdfdir$ac_delim
7470 psdir!$psdir$ac_delim
7471 libdir!$libdir$ac_delim
7472 localedir!$localedir$ac_delim
7473 mandir!$mandir$ac_delim
7475 ECHO_C!$ECHO_C$ac_delim
7476 ECHO_N!$ECHO_N$ac_delim
7477 ECHO_T!$ECHO_T$ac_delim
7479 build_alias!$build_alias$ac_delim
7480 host_alias!$host_alias$ac_delim
7481 target_alias!$target_alias$ac_delim
7482 build!$build$ac_delim
7483 build_cpu!$build_cpu$ac_delim
7484 build_vendor!$build_vendor$ac_delim
7485 build_os!$build_os$ac_delim
7487 host_cpu!$host_cpu$ac_delim
7488 host_vendor!$host_vendor$ac_delim
7489 host_os!$host_os$ac_delim
7490 target!$target$ac_delim
7491 target_cpu!$target_cpu$ac_delim
7492 target_vendor!$target_vendor$ac_delim
7493 target_os!$target_os$ac_delim
7494 DEFAULT_TOPN!$DEFAULT_TOPN$ac_delim
7495 NOMINAL_TOPN!$NOMINAL_TOPN$ac_delim
7496 DEFAULT_DELAY!$DEFAULT_DELAY$ac_delim
7497 ENABLE_KILL!$ENABLE_KILL$ac_delim
7500 CFLAGS!$CFLAGS$ac_delim
7501 LDFLAGS!$LDFLAGS$ac_delim
7502 CPPFLAGS!$CPPFLAGS$ac_delim
7503 ac_ct_CC!$ac_ct_CC$ac_delim
7504 EXEEXT!$EXEEXT$ac_delim
7505 OBJEXT!$OBJEXT$ac_delim
7507 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7508 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7509 INSTALL_DATA!$INSTALL_DATA$ac_delim
7510 ISAINFO!$ISAINFO$ac_delim
7511 ISAEXEC!$ISAEXEC$ac_delim
7512 UNAME!$UNAME$ac_delim
7515 EGREP!$EGREP$ac_delim
7516 SIGNAL_H!$SIGNAL_H$ac_delim
7517 HAVE_GETOPT_LONG!$HAVE_GETOPT_LONG$ac_delim
7520 CLEAN_EXTRA!$CLEAN_EXTRA$ac_delim
7521 ARCHFLAG!$ARCHFLAG$ac_delim
7522 MODULE!$MODULE$ac_delim
7523 MODULE_CFLAGS!$MODULE_CFLAGS$ac_delim
7524 INSTALL_OPTS_PROG!$INSTALL_OPTS_PROG$ac_delim
7525 LIBOBJS!$LIBOBJS$ac_delim
7526 LTLIBOBJS!$LTLIBOBJS$ac_delim
7529 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
7531 elif $ac_last_try; then
7532 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7533 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7534 { (exit 1); exit 1; }; }
7536 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
7540 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7541 if test -n "$ac_eof"; then
7542 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
7543 ac_eof
=`expr $ac_eof + 1`
7546 cat >>$CONFIG_STATUS <<_ACEOF
7547 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7548 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7549 /^[ ]*@FIRST_RULE@[ ]*$/{
7553 /^[ ]*@INSTALL_RULE@[ ]*$/{
7557 /^[ ]*@MAN_SUPPLEMENT@[ ]*$/{
7563 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7564 s/^/s,@/; s/!/@,|#_!!_#|/
7567 s/'"$ac_delim"'$/,g/; t
7569 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7570 ' >>$CONFIG_STATUS <conf$
$subs.
sed
7571 rm -f conf$
$subs.
sed
7572 cat >>$CONFIG_STATUS <<_ACEOF
7579 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7580 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7581 # trailing colons and then remove the whole line if VPATH becomes empty
7582 # (actually we leave an empty line to preserve line numbers).
7583 if test "x$srcdir" = x.
; then
7584 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7588 s/^\([^=]*=[ ]*\):*/\1/
7594 cat >>$CONFIG_STATUS <<\_ACEOF
7595 fi # test -n "$CONFIG_FILES"
7598 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
7601 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7603 case $ac_mode$ac_tag in
7605 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7606 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7607 { (exit 1); exit 1; }; };;
7608 :[FH
]-) ac_tag
=-:-;;
7609 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7626 -) ac_f
="$tmp/stdin";;
7627 *) # Look for the file first in the build tree, then in the source tree
7628 # (if the path is not absolute). The absolute path cannot be DOS-style,
7629 # because $ac_f cannot contain `:'.
7633 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7635 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7636 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7637 { (exit 1); exit 1; }; };;
7639 ac_file_inputs
="$ac_file_inputs $ac_f"
7642 # Let's still pretend it is `configure' which instantiates (i.e., don't
7643 # use $as_me), people would be surprised to read:
7644 # /* config.h. Generated by config.status. */
7645 configure_input
="Generated from "`IFS=:
7646 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7647 if test x
"$ac_file" != x-
; then
7648 configure_input
="$ac_file. $configure_input"
7649 { echo "$as_me:$LINENO: creating $ac_file" >&5
7650 echo "$as_me: creating $ac_file" >&6;}
7654 *:-:* |
*:-) cat >"$tmp/stdin";;
7659 ac_dir
=`$as_dirname -- "$ac_file" ||
7660 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7661 X"$ac_file" : 'X\(//\)[^/]' \| \
7662 X"$ac_file" : 'X\(//\)$' \| \
7663 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7684 -*) as_dir
=.
/$as_dir;;
7686 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
7690 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7691 *) as_qdir
=$as_dir;;
7693 as_dirs
="'$as_qdir' $as_dirs"
7694 as_dir
=`$as_dirname -- "$as_dir" ||
7695 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7696 X"$as_dir" : 'X\(//\)[^/]' \| \
7697 X"$as_dir" : 'X\(//\)$' \| \
7698 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7717 test -d "$as_dir" && break
7719 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7720 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7721 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7722 { (exit 1); exit 1; }; }; }
7726 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7728 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7729 # A ".." for each directory in $ac_dir_suffix.
7730 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7731 case $ac_top_builddir_sub in
7732 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7733 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7736 ac_abs_top_builddir
=$ac_pwd
7737 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7738 # for backward compatibility:
7739 ac_top_builddir
=$ac_top_build_prefix
7742 .
) # We are building in place.
7744 ac_top_srcdir
=$ac_top_builddir_sub
7745 ac_abs_top_srcdir
=$ac_pwd ;;
7746 [\\/]* | ?
:[\\/]* ) # Absolute name.
7747 ac_srcdir
=$srcdir$ac_dir_suffix;
7748 ac_top_srcdir
=$srcdir
7749 ac_abs_top_srcdir
=$srcdir ;;
7751 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7752 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7753 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7755 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7765 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7766 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7770 cat >>$CONFIG_STATUS <<\_ACEOF
7771 # If the template does not know about datarootdir, expand it.
7772 # FIXME: This hack should be removed a few years after 2.60.
7773 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7775 case `sed -n '/datarootdir/ {
7784 ' $ac_file_inputs` in
7785 *datarootdir
*) ac_datarootdir_seen
=yes;;
7786 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7787 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7788 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7790 cat >>$CONFIG_STATUS <<_ACEOF
7791 ac_datarootdir_hack='
7792 s&@datadir@&$datadir&g
7793 s&@docdir@&$docdir&g
7794 s&@infodir@&$infodir&g
7795 s&@localedir@&$localedir&g
7796 s&@mandir@&$mandir&g
7797 s&\\\${datarootdir}&$datarootdir&g' ;;
7801 # Neutralize VPATH when `$srcdir' = `.'.
7802 # Shell code in configure.ac might set extrasub.
7803 # FIXME: do we really want to maintain this feature?
7804 cat >>$CONFIG_STATUS <<_ACEOF
7808 cat >>$CONFIG_STATUS <<\_ACEOF
7810 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7811 s
&@configure_input@
&$configure_input&;t t
7812 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7813 s
&@srcdir@
&$ac_srcdir&;t t
7814 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7815 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7816 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7817 s
&@builddir@
&$ac_builddir&;t t
7818 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7819 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7820 s
&@INSTALL@
&$ac_INSTALL&;t t
7821 $ac_datarootdir_hack
7822 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" >$tmp/out
7824 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7825 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
7826 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
7827 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7828 which seems to be undefined. Please make sure it is defined." >&5
7829 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7830 which seems to be undefined. Please make sure it is defined." >&2;}
7834 -) cat "$tmp/out"; rm -f "$tmp/out";;
7835 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7844 # Transform confdefs.h into a sed script `conftest.defines', that
7845 # substitutes the proper values into config.h.in to produce config.h.
7846 rm -f conftest.defines conftest.
tail
7847 # First, append a space to every undef/define line, to ease matching.
7848 echo 's/$/ /' >conftest.defines
7849 # Then, protect against being on the right side of a sed subst, or in
7850 # an unquoted here document, in config.status. If some macros were
7851 # called several times there might be several #defines for the same
7852 # symbol, which is useless. But do not sort them, since the last
7853 # AC_DEFINE must be honored.
7854 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
7855 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7856 # NAME is the cpp macro being defined, VALUE is the value it is being given.
7857 # PARAMS is the parameter list in the macro definition--in most cases, it's
7858 # just an empty string.
7859 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
7860 ac_dB
='\\)[ (].*,\\1define\\2'
7868 s/^[ ]*#[ ]*define[ ][ ]*//
7873 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
7874 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
7875 ' >>conftest.defines
7877 # Remove the space that was appended to ease matching.
7878 # Then replace #undef with comments. This is necessary, for
7879 # example, in the case of _POSIX_SOURCE, which is predefined and required
7880 # on some systems where configure will not decide to define it.
7881 # (The regexp can be short, since the line contains either #define or #undef.)
7883 s,^[ #]*u.*,/* & */,' >>conftest.defines
7885 # Break up conftest.defines:
7888 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
7889 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
7890 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
7892 ac_in
='$ac_file_inputs'
7893 ac_out
='"$tmp/out1"'
7894 ac_nxt
='"$tmp/out2"'
7898 # Write a here document:
7899 cat >>$CONFIG_STATUS <<_ACEOF
7900 # First, check the format of the line:
7901 cat >"\$tmp/defines.sed" <<\\CEOF
7902 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
7903 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
7907 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
7909 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
7910 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
7911 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
7912 grep . conftest.
tail >/dev
/null ||
break
7913 rm -f conftest.defines
7914 mv conftest.
tail conftest.defines
7916 rm -f conftest.defines conftest.
tail
7918 echo "ac_result=$ac_in" >>$CONFIG_STATUS
7919 cat >>$CONFIG_STATUS <<\_ACEOF
7920 if test x
"$ac_file" != x-
; then
7921 echo "/* $configure_input */" >"$tmp/config.h"
7922 cat "$ac_result" >>"$tmp/config.h"
7923 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
7924 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7925 echo "$as_me: $ac_file is unchanged" >&6;}
7928 mv "$tmp/config.h" $ac_file
7931 echo "/* $configure_input */"
7943 { (exit 0); exit 0; }
7945 chmod +x
$CONFIG_STATUS
7946 ac_clean_files
=$ac_clean_files_save
7949 # configure is writing to config.log, and then calls config.status.
7950 # config.status does its own redirection, appending to config.log.
7951 # Unfortunately, on DOS this fails, as config.log is still kept open
7952 # by configure, so config.status won't be able to write to it; its
7953 # output is simply discarded. So we exec the FD to /dev/null,
7954 # effectively closing config.log, so it can be properly (re)opened and
7955 # appended to by config.status. When coming back to configure, we
7956 # need to make the FD available again.
7957 if test "$no_create" != yes; then
7959 ac_config_status_args
=
7960 test "$silent" = yes &&
7961 ac_config_status_args
="$ac_config_status_args --quiet"
7963 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7965 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7966 # would make configure fail if this is the last instruction.
7967 $ac_cs_success ||
{ (exit 1); exit 1; }