2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for dmake 4.12.
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
='dmake'
575 PACKAGE_VERSION
='4.12'
576 PACKAGE_STRING
='dmake 4.12'
579 ac_unique_file
="man/dmake.tf"
580 # Factoring default headers for most tests.
581 ac_includes_default
="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
626 program_transform_name
671 INSTALL_STRIP_PROGRAM
680 MAINTAINER_MODE_FALSE
715 ac_precious_vars
='build_alias
726 # Initialize some variables set by options.
728 ac_init_version
=false
729 # The variables have the same names as the options, with
730 # dashes changed to underlines.
738 program_transform_name
=s
,x
,x
,
746 # Installation directory options.
747 # These are left unexpanded so users can "make install exec_prefix=/foo"
748 # and all the variables that are supposed to be based on exec_prefix
749 # by default will actually change.
750 # Use braces instead of parens because sh, perl, etc. also accept them.
751 # (The list follows the same order as the GNU Coding Standards.)
752 bindir
='${exec_prefix}/bin'
753 sbindir
='${exec_prefix}/sbin'
754 libexecdir
='${exec_prefix}/libexec'
755 datarootdir
='${prefix}/share'
756 datadir
='${datarootdir}'
757 sysconfdir
='${prefix}/etc'
758 sharedstatedir
='${prefix}/com'
759 localstatedir
='${prefix}/var'
760 includedir
='${prefix}/include'
761 oldincludedir
='/usr/include'
762 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
763 infodir
='${datarootdir}/info'
768 libdir
='${exec_prefix}/lib'
769 localedir
='${datarootdir}/locale'
770 mandir
='${datarootdir}/man'
776 # If the previous option needs an argument, assign it.
777 if test -n "$ac_prev"; then
778 eval $ac_prev=\
$ac_option
784 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
788 # Accept the important Cygnus configure options, so we can diagnose typos.
790 case $ac_dashdash$ac_option in
794 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
796 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
799 -build |
--build |
--buil |
--bui |
--bu)
800 ac_prev
=build_alias
;;
801 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
802 build_alias
=$ac_optarg ;;
804 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
805 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
806 ac_prev
=cache_file
;;
807 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
808 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
809 cache_file
=$ac_optarg ;;
812 cache_file
=config.cache
;;
814 -datadir |
--datadir |
--datadi |
--datad)
816 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
817 datadir
=$ac_optarg ;;
819 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
820 |
--dataroo |
--dataro |
--datar)
821 ac_prev
=datarootdir
;;
822 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
823 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
824 datarootdir
=$ac_optarg ;;
826 -disable-* |
--disable-*)
827 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
828 # Reject names that are not valid shell variable names.
829 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
830 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
831 { (exit 1); exit 1; }; }
832 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
833 eval enable_
$ac_feature=no
;;
835 -docdir |
--docdir |
--docdi |
--doc |
--do)
837 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
840 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
842 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
845 -enable-* |
--enable-*)
846 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
847 # Reject names that are not valid shell variable names.
848 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
849 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
850 { (exit 1); exit 1; }; }
851 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
852 eval enable_
$ac_feature=\
$ac_optarg ;;
854 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
855 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
856 |
--exec |
--exe |
--ex)
857 ac_prev
=exec_prefix
;;
858 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
859 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
860 |
--exec=* |
--exe=* |
--ex=*)
861 exec_prefix
=$ac_optarg ;;
863 -gas |
--gas |
--ga |
--g)
864 # Obsolete; use --with-gas.
867 -help |
--help |
--hel |
--he |
-h)
869 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
870 ac_init_help
=recursive
;;
871 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
872 ac_init_help
=short
;;
874 -host |
--host |
--hos |
--ho)
875 ac_prev
=host_alias
;;
876 -host=* |
--host=* |
--hos=* |
--ho=*)
877 host_alias
=$ac_optarg ;;
879 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
881 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
883 htmldir
=$ac_optarg ;;
885 -includedir |
--includedir |
--includedi |
--included |
--include \
886 |
--includ |
--inclu |
--incl |
--inc)
887 ac_prev
=includedir
;;
888 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
889 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
890 includedir
=$ac_optarg ;;
892 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
894 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
895 infodir
=$ac_optarg ;;
897 -libdir |
--libdir |
--libdi |
--libd)
899 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
902 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
903 |
--libexe |
--libex |
--libe)
904 ac_prev
=libexecdir
;;
905 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
906 |
--libexe=* |
--libex=* |
--libe=*)
907 libexecdir
=$ac_optarg ;;
909 -localedir |
--localedir |
--localedi |
--localed |
--locale)
911 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
912 localedir
=$ac_optarg ;;
914 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
915 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
916 ac_prev
=localstatedir
;;
917 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
918 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
919 localstatedir
=$ac_optarg ;;
921 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
923 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
927 # Obsolete; use --without-fp.
930 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
931 |
--no-cr |
--no-c |
-n)
934 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
935 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
938 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
939 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
940 |
--oldin |
--oldi |
--old |
--ol |
--o)
941 ac_prev
=oldincludedir
;;
942 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
943 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
944 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
945 oldincludedir
=$ac_optarg ;;
947 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
949 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
952 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
953 |
--program-pre |
--program-pr |
--program-p)
954 ac_prev
=program_prefix
;;
955 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
956 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
957 program_prefix
=$ac_optarg ;;
959 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
960 |
--program-suf |
--program-su |
--program-s)
961 ac_prev
=program_suffix
;;
962 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
963 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
964 program_suffix
=$ac_optarg ;;
966 -program-transform-name |
--program-transform-name \
967 |
--program-transform-nam |
--program-transform-na \
968 |
--program-transform-n |
--program-transform- \
969 |
--program-transform |
--program-transfor \
970 |
--program-transfo |
--program-transf \
971 |
--program-trans |
--program-tran \
972 |
--progr-tra |
--program-tr |
--program-t)
973 ac_prev
=program_transform_name
;;
974 -program-transform-name=* |
--program-transform-name=* \
975 |
--program-transform-nam=* |
--program-transform-na=* \
976 |
--program-transform-n=* |
--program-transform-=* \
977 |
--program-transform=* |
--program-transfor=* \
978 |
--program-transfo=* |
--program-transf=* \
979 |
--program-trans=* |
--program-tran=* \
980 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
981 program_transform_name
=$ac_optarg ;;
983 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
985 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
988 -psdir |
--psdir |
--psdi |
--psd |
--ps)
990 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
993 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
994 |
-silent |
--silent |
--silen |
--sile |
--sil)
997 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
999 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1001 sbindir
=$ac_optarg ;;
1003 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1004 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1005 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1007 ac_prev
=sharedstatedir
;;
1008 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1009 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1010 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1012 sharedstatedir
=$ac_optarg ;;
1014 -site |
--site |
--sit)
1016 -site=* |
--site=* |
--sit=*)
1019 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1021 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1022 srcdir
=$ac_optarg ;;
1024 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1025 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1026 ac_prev
=sysconfdir
;;
1027 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1028 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1029 sysconfdir
=$ac_optarg ;;
1031 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1032 ac_prev
=target_alias
;;
1033 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1034 target_alias
=$ac_optarg ;;
1036 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1039 -version |
--version |
--versio |
--versi |
--vers |
-V)
1040 ac_init_version
=: ;;
1043 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1046 { echo "$as_me: error: invalid package name: $ac_package" >&2
1047 { (exit 1); exit 1; }; }
1048 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1049 eval with_
$ac_package=\
$ac_optarg ;;
1051 -without-* |
--without-*)
1052 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1055 { echo "$as_me: error: invalid package name: $ac_package" >&2
1056 { (exit 1); exit 1; }; }
1057 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1058 eval with_
$ac_package=no
;;
1061 # Obsolete; use --with-x.
1064 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1065 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1066 ac_prev
=x_includes
;;
1067 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1068 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1069 x_includes
=$ac_optarg ;;
1071 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1072 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1073 ac_prev
=x_libraries
;;
1074 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1075 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1076 x_libraries
=$ac_optarg ;;
1078 -*) { echo "$as_me: error: unrecognized option: $ac_option
1079 Try \`$0 --help' for more information." >&2
1080 { (exit 1); exit 1; }; }
1084 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1085 # Reject names that are not valid shell variable names.
1086 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1087 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1088 { (exit 1); exit 1; }; }
1089 eval $ac_envvar=\
$ac_optarg
1090 export $ac_envvar ;;
1093 # FIXME: should be removed in autoconf 3.0.
1094 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1095 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1096 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1097 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1103 if test -n "$ac_prev"; then
1104 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1105 { echo "$as_me: error: missing argument to $ac_option" >&2
1106 { (exit 1); exit 1; }; }
1109 # Be sure to have absolute directory names.
1110 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1111 datadir sysconfdir sharedstatedir localstatedir includedir \
1112 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1113 libdir localedir mandir
1115 eval ac_val
=\$
$ac_var
1117 [\\/$
]* | ?
:[\\/]* ) continue;;
1118 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1120 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1121 { (exit 1); exit 1; }; }
1124 # There might be people who depend on the old broken behavior: `$host'
1125 # used to hold the argument of --host etc.
1126 # FIXME: To remove some day.
1129 target
=$target_alias
1131 # FIXME: To remove some day.
1132 if test "x$host_alias" != x
; then
1133 if test "x$build_alias" = x
; then
1134 cross_compiling
=maybe
1135 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1136 If a cross compiler is detected then cross compile mode will be used." >&2
1137 elif test "x$build_alias" != "x$host_alias"; then
1143 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1145 test "$silent" = yes && exec 6>/dev
/null
1148 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1149 ac_ls_di
=`ls -di .` &&
1150 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1151 { echo "$as_me: error: Working directory cannot be determined" >&2
1152 { (exit 1); exit 1; }; }
1153 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1154 { echo "$as_me: error: pwd does not report name of working directory" >&2
1155 { (exit 1); exit 1; }; }
1158 # Find the source files, if location was not specified.
1159 if test -z "$srcdir"; then
1160 ac_srcdir_defaulted
=yes
1161 # Try the directory containing this script, then the parent directory.
1162 ac_confdir
=`$as_dirname -- "$0" ||
1163 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1164 X"$0" : 'X\(//\)[^/]' \| \
1165 X"$0" : 'X\(//\)$' \| \
1166 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1186 if test ! -r "$srcdir/$ac_unique_file"; then
1190 ac_srcdir_defaulted
=no
1192 if test ! -r "$srcdir/$ac_unique_file"; then
1193 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1194 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1195 { (exit 1); exit 1; }; }
1197 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1199 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1200 { (exit 1); exit 1; }; }
1202 # When building in place, set srcdir=.
1203 if test "$ac_abs_confdir" = "$ac_pwd"; then
1206 # Remove unnecessary trailing slashes from srcdir.
1207 # Double slashes in file names in object file debugging info
1208 # mess up M-x gdb in Emacs.
1210 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1212 for ac_var
in $ac_precious_vars; do
1213 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1214 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1215 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1216 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1220 # Report the --help message.
1222 if test "$ac_init_help" = "long"; then
1223 # Omit some internal or obsolete options to make the list less imposing.
1224 # This message is too long to be a string in the A/UX 3.1 sh.
1226 \`configure' configures dmake 4.12 to adapt to many kinds of systems.
1228 Usage: $0 [OPTION]... [VAR=VALUE]...
1230 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1231 VAR=VALUE. See below for descriptions of some of the useful variables.
1233 Defaults for the options are specified in brackets.
1236 -h, --help display this help and exit
1237 --help=short display options specific to this package
1238 --help=recursive display the short help of all the included packages
1239 -V, --version display version information and exit
1240 -q, --quiet, --silent do not print \`checking...' messages
1241 --cache-file=FILE cache test results in FILE [disabled]
1242 -C, --config-cache alias for \`--cache-file=config.cache'
1243 -n, --no-create do not create output files
1244 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1246 Installation directories:
1247 --prefix=PREFIX install architecture-independent files in PREFIX
1248 [$ac_default_prefix]
1249 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1252 By default, \`make install' will install all the files in
1253 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1254 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1255 for instance \`--prefix=\$HOME'.
1257 For better control, use the options below.
1259 Fine tuning of the installation directories:
1260 --bindir=DIR user executables [EPREFIX/bin]
1261 --sbindir=DIR system admin executables [EPREFIX/sbin]
1262 --libexecdir=DIR program executables [EPREFIX/libexec]
1263 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1264 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1265 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1266 --libdir=DIR object code libraries [EPREFIX/lib]
1267 --includedir=DIR C header files [PREFIX/include]
1268 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1269 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1270 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1271 --infodir=DIR info documentation [DATAROOTDIR/info]
1272 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1273 --mandir=DIR man documentation [DATAROOTDIR/man]
1274 --docdir=DIR documentation root [DATAROOTDIR/doc/dmake]
1275 --htmldir=DIR html documentation [DOCDIR]
1276 --dvidir=DIR dvi documentation [DOCDIR]
1277 --pdfdir=DIR pdf documentation [DOCDIR]
1278 --psdir=DIR ps documentation [DOCDIR]
1284 --program-prefix=PREFIX prepend PREFIX to installed program names
1285 --program-suffix=SUFFIX append SUFFIX to installed program names
1286 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1289 --build=BUILD configure
for building on BUILD
[guessed
]
1293 if test -n "$ac_init_help"; then
1294 case $ac_init_help in
1295 short | recursive
) echo "Configuration of dmake 4.12:";;
1300 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1301 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1302 --enable-maintainer-mode enable make rules and dependencies not useful
1303 (and sometimes confusing
) to the casual installer
1304 --disable-dependency-tracking speeds up one-time build
1305 --enable-dependency-tracking do not reject slow dependency extractors
1306 --enable-dbug: Enable build with dbug macros.
1308 --enable-spawn: Enables the use of spawn instead of
fork
/exec
1312 Some influential environment variables
:
1313 CC C compiler
command
1314 CFLAGS C compiler flags
1315 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1316 nonstandard directory
<lib dir
>
1317 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1318 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1319 you have headers
in a nonstandard directory
<include dir
>
1322 Use these variables to override the choices made by
`configure' or to help
1323 it to find libraries and programs with nonstandard names/locations.
1329 if test "$ac_init_help" = "recursive"; then
1330 # If there are subdirs, report their specific --help.
1331 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1332 test -d "$ac_dir" || continue
1336 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1338 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1339 # A ".." for each directory in $ac_dir_suffix.
1340 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1341 case $ac_top_builddir_sub in
1342 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1343 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1346 ac_abs_top_builddir=$ac_pwd
1347 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1348 # for backward compatibility:
1349 ac_top_builddir=$ac_top_build_prefix
1352 .) # We are building in place.
1354 ac_top_srcdir=$ac_top_builddir_sub
1355 ac_abs_top_srcdir=$ac_pwd ;;
1356 [\\/]* | ?:[\\/]* ) # Absolute name.
1357 ac_srcdir=$srcdir$ac_dir_suffix;
1358 ac_top_srcdir=$srcdir
1359 ac_abs_top_srcdir=$srcdir ;;
1361 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1362 ac_top_srcdir=$ac_top_build_prefix$srcdir
1363 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1365 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1367 cd "$ac_dir" || { ac_status=$?; continue; }
1368 # Check for guested configure.
1369 if test -f "$ac_srcdir/configure.gnu"; then
1371 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1372 elif test -f "$ac_srcdir/configure"; then
1374 $SHELL "$ac_srcdir/configure" --help=recursive
1376 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1378 cd "$ac_pwd" || { ac_status=$?; break; }
1382 test -n "$ac_init_help" && exit $ac_status
1383 if $ac_init_version; then
1385 dmake configure 4.12
1386 generated by GNU Autoconf 2.61
1388 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1389 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1390 This configure script is free software; the Free Software Foundation
1391 gives unlimited permission to copy, distribute and modify it.
1395 cat >config.log <<_ACEOF
1396 This file contains any messages produced by compilers while
1397 running configure, to aid debugging if configure makes a mistake.
1399 It was created by dmake $as_me 4.12, which was
1400 generated by GNU Autoconf 2.61. Invocation command line was
1412 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1413 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1414 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1415 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1416 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1418 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1419 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1421 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1422 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1423 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1424 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1425 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1426 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1427 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1435 test -z "$as_dir" && as_dir=.
1436 echo "PATH: $as_dir"
1452 # Keep a trace of the command line.
1453 # Strip out --no-create and --no-recursion so they do not pile up.
1454 # Strip out --silent because we don't want to record it for future runs.
1455 # Also quote any args containing shell meta-characters.
1456 # Make two passes to allow for proper duplicate-argument suppression.
1460 ac_must_keep_next=false
1466 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1467 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1468 | -silent | --silent | --silen | --sile | --sil)
1471 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1474 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1476 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1477 if test $ac_must_keep_next = true; then
1478 ac_must_keep_next=false # Got value, back to normal.
1481 *=* | --config-cache | -C | -disable-* | --disable-* \
1482 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1483 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1484 | -with-* | --with-* | -without-* | --without-* | --x)
1485 case "$ac_configure_args0 " in
1486 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1489 -* ) ac_must_keep_next=true ;;
1492 ac_configure_args="$ac_configure_args '$ac_arg'"
1497 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1498 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1500 # When interrupted or exit'd, cleanup temporary files, and complete
1501 # config.log. We remove comments because anyway the quotes in there
1502 # would cause problems or look ugly.
1503 # WARNING: Use '\'' to represent an apostrophe within the trap.
1504 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1505 trap 'exit_status=$?
1506 # Save into config.log some information that might help in debugging.
1511 ## ---------------- ##
1512 ## Cache variables. ##
1513 ## ---------------- ##
1516 # The following way of writing the cache mishandles newlines in values,
1518 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1519 eval ac_val=\$$ac_var
1523 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1524 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1527 _ | IFS | as_nl) ;; #(
1528 *) $as_unset $ac_var ;;
1533 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1534 *${as_nl}ac_space=\ *)
1536 "s/'\''/'\''\\\\'\'''\''/g;
1537 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1540 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1548 ## ----------------- ##
1549 ## Output variables. ##
1550 ## ----------------- ##
1553 for ac_var in $ac_subst_vars
1555 eval ac_val=\$$ac_var
1557 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1559 echo "$ac_var='\''$ac_val'\''"
1563 if test -n "$ac_subst_files"; then
1565 ## ------------------- ##
1566 ## File substitutions. ##
1567 ## ------------------- ##
1570 for ac_var in $ac_subst_files
1572 eval ac_val=\$$ac_var
1574 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1576 echo "$ac_var='\''$ac_val'\''"
1581 if test -s confdefs.h; then
1591 test "$ac_signal" != 0 &&
1592 echo "$as_me: caught signal $ac_signal"
1593 echo "$as_me: exit $exit_status"
1595 rm -f core *.core core.conftest.* &&
1596 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1599 for ac_signal in 1 2 13 15; do
1600 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1604 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1605 rm -f -r conftest* confdefs.h
1607 # Predefined preprocessor variables.
1609 cat >>confdefs.h <<_ACEOF
1610 #define PACKAGE_NAME "$PACKAGE_NAME"
1614 cat >>confdefs.h <<_ACEOF
1615 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1619 cat >>confdefs.h <<_ACEOF
1620 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1624 cat >>confdefs.h <<_ACEOF
1625 #define PACKAGE_STRING "$PACKAGE_STRING"
1629 cat >>confdefs.h <<_ACEOF
1630 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1634 # Let the site file select an alternate cache file if it wants to.
1635 # Prefer explicitly selected file to automatically selected ones.
1636 if test -n "$CONFIG_SITE"; then
1637 set x "$CONFIG_SITE"
1638 elif test "x$prefix" != xNONE; then
1639 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1641 set x "$ac_default_prefix/share/config.site" \
1642 "$ac_default_prefix/etc/config.site"
1647 if test -r "$ac_site_file"; then
1648 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1649 echo "$as_me: loading site script $ac_site_file" >&6;}
1650 sed 's/^/| /' "$ac_site_file" >&5
1655 if test -r "$cache_file"; then
1656 # Some versions of bash will fail to source /dev/null (special
1657 # files actually), so we avoid doing that.
1658 if test -f "$cache_file"; then
1659 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1660 echo "$as_me: loading cache $cache_file" >&6;}
1662 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1663 *) . "./$cache_file";;
1667 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1668 echo "$as_me: creating cache $cache_file" >&6;}
1672 ac_header_list="$ac_header_list utime.h"
1673 # Check that the precious variables saved in the cache have kept the same
1675 ac_cache_corrupted=false
1676 for ac_var in $ac_precious_vars; do
1677 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1678 eval ac_new_set=\$ac_env_${ac_var}_set
1679 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1680 eval ac_new_val=\$ac_env_${ac_var}_value
1681 case $ac_old_set,$ac_new_set in
1683 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1684 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1685 ac_cache_corrupted=: ;;
1687 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1688 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1689 ac_cache_corrupted=: ;;
1692 if test "x$ac_old_val" != "x$ac_new_val"; then
1693 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1694 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1695 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1696 echo "$as_me: former value
: $ac_old_val" >&2;}
1697 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1698 echo "$as_me: current value
: $ac_new_val" >&2;}
1699 ac_cache_corrupted=:
1702 # Pass precious variables to config.status.
1703 if test "$ac_new_set" = set; then
1705 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1706 *) ac_arg=$ac_var=$ac_new_val ;;
1708 case " $ac_configure_args " in
1709 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1710 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1714 if $ac_cache_corrupted; then
1715 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1716 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1717 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1718 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1719 { (exit 1); exit 1; }; }
1747 ac_cpp='$CPP $CPPFLAGS'
1748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1754 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1755 if test -f "$ac_dir/install-sh"; then
1757 ac_install_sh="$ac_aux_dir/install-sh -c"
1759 elif test -f "$ac_dir/install.sh"; then
1761 ac_install_sh="$ac_aux_dir/install.sh -c"
1763 elif test -f "$ac_dir/shtool"; then
1765 ac_install_sh="$ac_aux_dir/shtool install -c"
1769 if test -z "$ac_aux_dir"; then
1770 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1771 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1772 { (exit 1); exit 1; }; }
1775 # These three variables are undocumented and unsupported,
1776 # and are intended to be withdrawn in a future Autoconf release.
1777 # They can cause serious problems if a builder's source tree is in a directory
1778 # whose full name contains unusual characters.
1779 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1780 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1781 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1784 # Make sure we can run config.sub.
1785 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1786 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1787 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1788 { (exit 1); exit 1; }; }
1790 { echo "$as_me:$LINENO: checking build system type" >&5
1791 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1792 if test "${ac_cv_build+set}" = set; then
1793 echo $ECHO_N "(cached) $ECHO_C" >&6
1795 ac_build_alias=$build_alias
1796 test "x$ac_build_alias" = x &&
1797 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1798 test "x$ac_build_alias" = x &&
1799 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1800 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1801 { (exit 1); exit 1; }; }
1802 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1803 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1804 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1805 { (exit 1); exit 1; }; }
1808 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1809 echo "${ECHO_T}$ac_cv_build" >&6; }
1810 case $ac_cv_build in
1812 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1813 echo "$as_me: error: invalid value of canonical build" >&2;}
1814 { (exit 1); exit 1; }; };;
1817 ac_save_IFS=$IFS; IFS='-'
1823 # Remember, the first character of IFS is used to create $*,
1824 # except with old shells:
1827 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1833 am__api_version="1.9"
1834 # Find a good install program. We prefer a C program (faster),
1835 # so one script is as good as another. But avoid the broken or
1836 # incompatible versions:
1837 # SysV /etc/install, /usr/sbin/install
1838 # SunOS /usr/etc/install
1839 # IRIX /sbin/install
1841 # AmigaOS /C/install, which installs bootblocks on floppy discs
1842 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1843 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1844 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1845 # OS/2's system install, which has a completely different semantic
1846 # ./install, which can be erroneously created by make from ./install.sh.
1847 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1848 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1849 if test -z "$INSTALL"; then
1850 if test "${ac_cv_path_install+set}" = set; then
1851 echo $ECHO_N "(cached) $ECHO_C" >&6
1853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1857 test -z "$as_dir" && as_dir=.
1858 # Account for people who put trailing slashes in PATH elements.
1860 ./ | .// | /cC/* | \
1861 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1862 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1865 # OSF1 and SCO ODT 3.0 have their own names for install.
1866 # Don't use installbsd from OSF since it installs stuff as root
1868 for ac_prog in ginstall scoinst install; do
1869 for ac_exec_ext in '' $ac_executable_extensions; do
1870 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1871 if test $ac_prog = install &&
1872 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1873 # AIX install. It has an incompatible calling convention.
1875 elif test $ac_prog = install &&
1876 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1877 # program-specific install script used by HP pwplus--don't use.
1880 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1893 if test "${ac_cv_path_install+set}" = set; then
1894 INSTALL=$ac_cv_path_install
1896 # As a last resort, use the slow shell script. Don't cache a
1897 # value for INSTALL within a source directory, because that will
1898 # break other packages using the cache if that directory is
1899 # removed, or if the value is a relative name.
1900 INSTALL=$ac_install_sh
1903 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1904 echo "${ECHO_T}$INSTALL" >&6; }
1906 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1907 # It thinks the first close brace ends the variable substitution.
1908 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1910 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1912 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1914 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1915 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1918 echo timestamp > conftest.file
1919 # Do `set' in a subshell so we don't clobber the current shell
's
1920 # arguments. Must try -L first in case configure is actually a
1921 # symlink; some systems play weird games with the mod time of symlinks
1922 # (eg FreeBSD returns the mod time of the symlink's containing
1925 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1926 if test "$*" = "X"; then
1928 set X
`ls -t $srcdir/configure conftest.file`
1931 if test "$*" != "X $srcdir/configure conftest.file" \
1932 && test "$*" != "X conftest.file $srcdir/configure"; then
1934 # If neither matched, then we have a broken ls. This can happen
1935 # if, for instance, CONFIG_SHELL is bash and it inherits a
1936 # broken ls alias from the environment. This has actually
1937 # happened. Such a system could not be considered "sane".
1938 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1939 alias in your environment" >&5
1940 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1941 alias in your environment" >&2;}
1942 { (exit 1); exit 1; }; }
1945 test "$2" = conftest.
file
1951 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1952 Check your system clock" >&5
1953 echo "$as_me: error: newly created file is older than distributed files!
1954 Check your system clock" >&2;}
1955 { (exit 1); exit 1; }; }
1957 { echo "$as_me:$LINENO: result: yes" >&5
1958 echo "${ECHO_T}yes" >&6; }
1959 test "$program_prefix" != NONE
&&
1960 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1961 # Use a double $ so make ignores it.
1962 test "$program_suffix" != NONE
&&
1963 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1964 # Double any \ or $. echo might interpret backslashes.
1965 # By default was `s,x,x', remove it if useless.
1966 cat <<\_ACEOF
>conftest.
sed
1967 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1969 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1972 # expand $ac_aux_dir to an absolute path
1973 am_aux_dir
=`cd $ac_aux_dir && pwd`
1975 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1976 # Use eval to expand $SHELL
1977 if eval "$MISSING --run true"; then
1978 am_missing_run
="$MISSING --run "
1981 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1982 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1985 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1986 # We used to keeping the `.' as first argument, in order to
1987 # allow $(mkdir_p) to be used without argument. As in
1988 # $(mkdir_p) $(somedir)
1989 # where $(somedir) is conditionally defined. However this is wrong
1991 # 1. if the package is installed by a user who cannot write `.'
1992 # make install will fail,
1993 # 2. the above comment should most certainly read
1994 # $(mkdir_p) $(DESTDIR)$(somedir)
1995 # so it does not work when $(somedir) is undefined and
1996 # $(DESTDIR) is not.
1997 # To support the latter case, we have to write
1998 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1999 # so the `.' trick is pointless.
2000 mkdir_p
='mkdir -p --'
2002 # On NextStep and OpenStep, the `mkdir' command does not
2003 # recognize any option. It will interpret all options as
2004 # directories to create, and then abort because `.' already
2006 for d
in .
/-p .
/--version;
2008 test -d $d && rmdir $d
2010 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2011 if test -f "$ac_aux_dir/mkinstalldirs"; then
2012 mkdir_p
='$(mkinstalldirs)'
2014 mkdir_p
='$(install_sh) -d'
2018 for ac_prog
in gawk mawk nawk
awk
2020 # Extract the first word of "$ac_prog", so it can be a program name with args.
2021 set dummy
$ac_prog; ac_word
=$2
2022 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2024 if test "${ac_cv_prog_AWK+set}" = set; then
2025 echo $ECHO_N "(cached) $ECHO_C" >&6
2027 if test -n "$AWK"; then
2028 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2034 test -z "$as_dir" && as_dir
=.
2035 for ac_exec_ext
in '' $ac_executable_extensions; do
2036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2037 ac_cv_prog_AWK
="$ac_prog"
2038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2048 if test -n "$AWK"; then
2049 { echo "$as_me:$LINENO: result: $AWK" >&5
2050 echo "${ECHO_T}$AWK" >&6; }
2052 { echo "$as_me:$LINENO: result: no" >&5
2053 echo "${ECHO_T}no" >&6; }
2057 test -n "$AWK" && break
2060 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2061 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2062 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2063 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2064 echo $ECHO_N "(cached) $ECHO_C" >&6
2066 cat >conftest.
make <<\_ACEOF
2069 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2071 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2072 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2074 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2076 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2080 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2081 { echo "$as_me:$LINENO: result: yes" >&5
2082 echo "${ECHO_T}yes" >&6; }
2085 { echo "$as_me:$LINENO: result: no" >&5
2086 echo "${ECHO_T}no" >&6; }
2087 SET_MAKE
="MAKE=${MAKE-make}"
2090 rm -rf .tst
2>/dev
/null
2091 mkdir .tst
2>/dev
/null
2092 if test -d .tst
; then
2097 rmdir .tst
2>/dev
/null
2099 # test to see if srcdir already configured
2100 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2101 test -f $srcdir/config.status
; then
2102 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2103 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2104 { (exit 1); exit 1; }; }
2107 # test whether we have cygpath
2108 if test -z "$CYGPATH_W"; then
2109 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2110 CYGPATH_W
='cygpath -w'
2117 # Define the identity of the package.
2122 cat >>confdefs.h
<<_ACEOF
2123 #define PACKAGE "$PACKAGE"
2127 cat >>confdefs.h
<<_ACEOF
2128 #define VERSION "$VERSION"
2131 # Some tools Automake needs.
2133 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2136 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2139 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2142 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2145 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2147 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2149 # Installed binaries are usually stripped using `strip' when the user
2150 # run `make install-strip'. However `strip' might not be the right
2151 # tool to use in cross-compilation environments, therefore Automake
2152 # will honor the `STRIP' environment variable to overrule this program.
2153 if test "$cross_compiling" != no
; then
2154 if test -n "$ac_tool_prefix"; then
2155 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2156 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2157 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2159 if test "${ac_cv_prog_STRIP+set}" = set; then
2160 echo $ECHO_N "(cached) $ECHO_C" >&6
2162 if test -n "$STRIP"; then
2163 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2169 test -z "$as_dir" && as_dir
=.
2170 for ac_exec_ext
in '' $ac_executable_extensions; do
2171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2172 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2182 STRIP
=$ac_cv_prog_STRIP
2183 if test -n "$STRIP"; then
2184 { echo "$as_me:$LINENO: result: $STRIP" >&5
2185 echo "${ECHO_T}$STRIP" >&6; }
2187 { echo "$as_me:$LINENO: result: no" >&5
2188 echo "${ECHO_T}no" >&6; }
2193 if test -z "$ac_cv_prog_STRIP"; then
2195 # Extract the first word of "strip", so it can be a program name with args.
2196 set dummy strip
; 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_ac_ct_STRIP+set}" = set; then
2200 echo $ECHO_N "(cached) $ECHO_C" >&6
2202 if test -n "$ac_ct_STRIP"; then
2203 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # 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_ac_ct_STRIP
="strip"
2213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2222 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2223 if test -n "$ac_ct_STRIP"; then
2224 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2225 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2227 { echo "$as_me:$LINENO: result: no" >&5
2228 echo "${ECHO_T}no" >&6; }
2231 if test "x$ac_ct_STRIP" = x
; then
2234 case $cross_compiling:$ac_tool_warned in
2236 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2237 whose name does not start with the host triplet. If you think this
2238 configuration is useful to you, please write to autoconf@gnu.org." >&5
2239 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2240 whose name does not start with the host triplet. If you think this
2241 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2242 ac_tool_warned
=yes ;;
2247 STRIP
="$ac_cv_prog_STRIP"
2251 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2253 # We need awk for the "check" target. The system "awk" is bad on
2255 # Always define AMTAR for backward compatibility.
2257 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2259 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2266 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2267 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2268 # Check whether --enable-maintainer-mode was given.
2269 if test "${enable_maintainer_mode+set}" = set; then
2270 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2272 USE_MAINTAINER_MODE
=no
2275 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2276 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2279 if test $USE_MAINTAINER_MODE = yes; then
2280 MAINTAINER_MODE_TRUE
=
2281 MAINTAINER_MODE_FALSE
='#'
2283 MAINTAINER_MODE_TRUE
='#'
2284 MAINTAINER_MODE_FALSE
=
2287 MAINT
=$MAINTAINER_MODE_TRUE
2290 DEPDIR
="${am__leading_dot}deps"
2292 ac_config_commands
="$ac_config_commands depfiles"
2295 am_make
=${MAKE-make}
2296 cat > confinc
<< 'END'
2301 # If we don't find an include directive, just comment out the code.
2302 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2303 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2307 # First try GNU make style include.
2308 echo "include confinc" > confmf
2309 # We grep out `Entering directory' and `Leaving directory'
2310 # messages which can occur if `w' ends up in MAKEFLAGS.
2311 # In particular we don't look at `^make:' because GNU make might
2312 # be invoked under some other name (usually "gmake"), in which
2313 # case it prints its new name instead of `make'.
2314 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2319 # Now try BSD make style include.
2320 if test "$am__include" = "#"; then
2321 echo '.include "confinc"' > confmf
2322 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2323 am__include
=.include
2330 { echo "$as_me:$LINENO: result: $_am_result" >&5
2331 echo "${ECHO_T}$_am_result" >&6; }
2332 rm -f confinc confmf
2334 # Check whether --enable-dependency-tracking was given.
2335 if test "${enable_dependency_tracking+set}" = set; then
2336 enableval
=$enable_dependency_tracking;
2339 if test "x$enable_dependency_tracking" != xno
; then
2340 am_depcomp
="$ac_aux_dir/depcomp"
2345 if test "x$enable_dependency_tracking" != xno; then
2356 ac_cpp
='$CPP $CPPFLAGS'
2357 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2358 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2359 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2360 if test -n "$ac_tool_prefix"; then
2361 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2362 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2365 if test "${ac_cv_prog_CC+set}" = set; then
2366 echo $ECHO_N "(cached) $ECHO_C" >&6
2368 if test -n "$CC"; then
2369 ac_cv_prog_CC
="$CC" # Let the user override the test.
2371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2375 test -z "$as_dir" && as_dir
=.
2376 for ac_exec_ext
in '' $ac_executable_extensions; do
2377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2378 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2389 if test -n "$CC"; then
2390 { echo "$as_me:$LINENO: result: $CC" >&5
2391 echo "${ECHO_T}$CC" >&6; }
2393 { echo "$as_me:$LINENO: result: no" >&5
2394 echo "${ECHO_T}no" >&6; }
2399 if test -z "$ac_cv_prog_CC"; then
2401 # Extract the first word of "gcc", so it can be a program name with args.
2402 set dummy gcc
; ac_word
=$2
2403 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2405 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2406 echo $ECHO_N "(cached) $ECHO_C" >&6
2408 if test -n "$ac_ct_CC"; then
2409 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2415 test -z "$as_dir" && as_dir
=.
2416 for ac_exec_ext
in '' $ac_executable_extensions; do
2417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2418 ac_cv_prog_ac_ct_CC
="gcc"
2419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2428 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2429 if test -n "$ac_ct_CC"; then
2430 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2431 echo "${ECHO_T}$ac_ct_CC" >&6; }
2433 { echo "$as_me:$LINENO: result: no" >&5
2434 echo "${ECHO_T}no" >&6; }
2437 if test "x$ac_ct_CC" = x
; then
2440 case $cross_compiling:$ac_tool_warned in
2442 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2443 whose name does not start with the host triplet. If you think this
2444 configuration is useful to you, please write to autoconf@gnu.org." >&5
2445 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2446 whose name does not start with the host triplet. If you think this
2447 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2448 ac_tool_warned
=yes ;;
2456 if test -z "$CC"; then
2457 if test -n "$ac_tool_prefix"; then
2458 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2459 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2460 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2462 if test "${ac_cv_prog_CC+set}" = set; then
2463 echo $ECHO_N "(cached) $ECHO_C" >&6
2465 if test -n "$CC"; then
2466 ac_cv_prog_CC
="$CC" # Let the user override the test.
2468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2472 test -z "$as_dir" && as_dir
=.
2473 for ac_exec_ext
in '' $ac_executable_extensions; do
2474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2475 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2486 if test -n "$CC"; then
2487 { echo "$as_me:$LINENO: result: $CC" >&5
2488 echo "${ECHO_T}$CC" >&6; }
2490 { echo "$as_me:$LINENO: result: no" >&5
2491 echo "${ECHO_T}no" >&6; }
2497 if test -z "$CC"; then
2498 # Extract the first word of "cc", so it can be a program name with args.
2499 set dummy cc
; ac_word
=$2
2500 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2502 if test "${ac_cv_prog_CC+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 if test -n "$CC"; then
2506 ac_cv_prog_CC
="$CC" # Let the user override the test.
2509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2513 test -z "$as_dir" && as_dir
=.
2514 for ac_exec_ext
in '' $ac_executable_extensions; do
2515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2516 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2517 ac_prog_rejected
=yes
2521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2528 if test $ac_prog_rejected = yes; then
2529 # We found a bogon in the path, so make sure we never use it.
2530 set dummy
$ac_cv_prog_CC
2532 if test $# != 0; then
2533 # We chose a different compiler from the bogus one.
2534 # However, it has the same basename, so the bogon will be chosen
2535 # first if we set CC to just the basename; use the full file name.
2537 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2543 if test -n "$CC"; then
2544 { echo "$as_me:$LINENO: result: $CC" >&5
2545 echo "${ECHO_T}$CC" >&6; }
2547 { echo "$as_me:$LINENO: result: no" >&5
2548 echo "${ECHO_T}no" >&6; }
2553 if test -z "$CC"; then
2554 if test -n "$ac_tool_prefix"; then
2555 for ac_prog
in cl.exe
2557 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2558 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2559 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2561 if test "${ac_cv_prog_CC+set}" = set; then
2562 echo $ECHO_N "(cached) $ECHO_C" >&6
2564 if test -n "$CC"; then
2565 ac_cv_prog_CC
="$CC" # Let the user override the test.
2567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2571 test -z "$as_dir" && as_dir
=.
2572 for ac_exec_ext
in '' $ac_executable_extensions; do
2573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2574 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2585 if test -n "$CC"; then
2586 { echo "$as_me:$LINENO: result: $CC" >&5
2587 echo "${ECHO_T}$CC" >&6; }
2589 { echo "$as_me:$LINENO: result: no" >&5
2590 echo "${ECHO_T}no" >&6; }
2594 test -n "$CC" && break
2597 if test -z "$CC"; then
2599 for ac_prog
in cl.exe
2601 # Extract the first word of "$ac_prog", so it can be a program name with args.
2602 set dummy
$ac_prog; ac_word
=$2
2603 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2605 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2606 echo $ECHO_N "(cached) $ECHO_C" >&6
2608 if test -n "$ac_ct_CC"; then
2609 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2615 test -z "$as_dir" && as_dir
=.
2616 for ac_exec_ext
in '' $ac_executable_extensions; do
2617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2618 ac_cv_prog_ac_ct_CC
="$ac_prog"
2619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2628 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2629 if test -n "$ac_ct_CC"; then
2630 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2631 echo "${ECHO_T}$ac_ct_CC" >&6; }
2633 { echo "$as_me:$LINENO: result: no" >&5
2634 echo "${ECHO_T}no" >&6; }
2638 test -n "$ac_ct_CC" && break
2641 if test "x$ac_ct_CC" = x
; then
2644 case $cross_compiling:$ac_tool_warned in
2646 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2647 whose name does not start with the host triplet. If you think this
2648 configuration is useful to you, please write to autoconf@gnu.org." >&5
2649 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2650 whose name does not start with the host triplet. If you think this
2651 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2652 ac_tool_warned
=yes ;;
2661 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2662 See \`config.log' for more details." >&5
2663 echo "$as_me: error: no acceptable C compiler found in \$PATH
2664 See \`config.log' for more details." >&2;}
2665 { (exit 1); exit 1; }; }
2667 # Provide some information about the compiler.
2668 echo "$as_me:$LINENO: checking for C compiler version" >&5
2669 ac_compiler
=`set X $ac_compile; echo $2`
2670 { (ac_try
="$ac_compiler --version >&5"
2672 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2673 *) ac_try_echo=$ac_try;;
2675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2676 (eval "$ac_compiler --version >&5") 2>&5
2678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679 (exit $ac_status); }
2680 { (ac_try="$ac_compiler -v >&5"
2682 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2683 *) ac_try_echo
=$ac_try;;
2685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2686 (eval "$ac_compiler -v >&5") 2>&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); }
2690 { (ac_try
="$ac_compiler -V >&5"
2692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2693 *) ac_try_echo=$ac_try;;
2695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2696 (eval "$ac_compiler -V >&5") 2>&5
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); }
2701 cat >conftest.$ac_ext <<_ACEOF
2704 cat confdefs.h >>conftest.$ac_ext
2705 cat >>conftest.$ac_ext <<_ACEOF
2706 /* end confdefs.h. */
2716 ac_clean_files_save=$ac_clean_files
2717 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2718 # Try to create an executable without -o first, disregard a.out.
2719 # It will help us diagnose broken compilers, and finding out an intuition
2721 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2722 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2723 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2725 # List of possible output files, starting from the most likely.
2726 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2727 # only as a last resort. b.out is created by i960 compilers.
2728 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2730 # The IRIX 6 linker writes into existing files which may not be
2731 # executable, retaining their permissions. Remove them first so a
2732 # subsequent execution test works.
2734 for ac_file in $ac_files
2737 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2738 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2743 if { (ac_try="$ac_link_default"
2745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2746 *) ac_try_echo=$ac_try;;
2748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2749 (eval "$ac_link_default") 2>&5
2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752 (exit $ac_status); }; then
2753 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2754 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2755 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2756 # so that the user can short-circuit this test for compilers unknown to
2758 for ac_file
in $ac_files ''
2760 test -f "$ac_file" ||
continue
2762 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2765 # We found the default executable, but exeext='' is most
2769 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2771 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2773 # We set ac_cv_exeext here because the later test for it is not
2774 # safe: cross compilers may not add the suffix if given an `-o'
2775 # argument, so we may need to know it at that point already.
2776 # Even if this section looks crufty: it has the advantage of
2783 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2789 { echo "$as_me:$LINENO: result: $ac_file" >&5
2790 echo "${ECHO_T}$ac_file" >&6; }
2791 if test -z "$ac_file"; then
2792 echo "$as_me: failed program was:" >&5
2793 sed 's/^/| /' conftest.
$ac_ext >&5
2795 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2796 See \`config.log' for more details." >&5
2797 echo "$as_me: error: C compiler cannot create executables
2798 See \`config.log' for more details." >&2;}
2799 { (exit 77); exit 77; }; }
2802 ac_exeext
=$ac_cv_exeext
2804 # Check that the compiler produces executables we can run. If not, either
2805 # the compiler is broken, or we cross compile.
2806 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2807 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2808 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2809 # If not cross compiling, check that we can run a simple program.
2810 if test "$cross_compiling" != yes; then
2811 if { ac_try
='./$ac_file'
2812 { (case "(($ac_try" in
2813 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2814 *) ac_try_echo=$ac_try;;
2816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2817 (eval "$ac_try") 2>&5
2819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 (exit $ac_status); }; }; then
2823 if test "$cross_compiling" = maybe; then
2826 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2827 If you meant to cross compile, use \`--host'.
2828 See \`config.log' for more details.
" >&5
2829 echo "$as_me: error
: cannot run C compiled programs.
2830 If you meant to cross compile
, use \
`--host'.
2831 See \`config.log
' for more details." >&2;}
2832 { (exit 1); exit 1; }; }
2836 { echo "$as_me:$LINENO: result: yes" >&5
2837 echo "${ECHO_T}yes" >&6; }
2839 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2840 ac_clean_files=$ac_clean_files_save
2841 # Check that the compiler produces executables we can run. If not, either
2842 # the compiler is broken, or we cross compile.
2843 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2844 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2845 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2846 echo "${ECHO_T}$cross_compiling" >&6; }
2848 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2849 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2850 if { (ac_try="$ac_link"
2852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2853 *) ac_try_echo=$ac_try;;
2855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2856 (eval "$ac_link") 2>&5
2858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859 (exit $ac_status); }; then
2860 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2861 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2862 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2864 for ac_file
in conftest.exe conftest conftest.
*; do
2865 test -f "$ac_file" ||
continue
2867 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2868 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2874 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2875 See \`config.log' for more details." >&5
2876 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2877 See \`config.log' for more details." >&2;}
2878 { (exit 1); exit 1; }; }
2881 rm -f conftest
$ac_cv_exeext
2882 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2883 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2885 rm -f conftest.
$ac_ext
2886 EXEEXT
=$ac_cv_exeext
2888 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2889 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2890 if test "${ac_cv_objext+set}" = set; then
2891 echo $ECHO_N "(cached) $ECHO_C" >&6
2893 cat >conftest.
$ac_ext <<_ACEOF
2896 cat confdefs.h
>>conftest.
$ac_ext
2897 cat >>conftest.
$ac_ext <<_ACEOF
2898 /* end confdefs.h. */
2908 rm -f conftest.o conftest.obj
2909 if { (ac_try
="$ac_compile"
2911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2912 *) ac_try_echo=$ac_try;;
2914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2915 (eval "$ac_compile") 2>&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); }; then
2919 for ac_file in conftest.o conftest.obj conftest.*; do
2920 test -f "$ac_file" || continue;
2922 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2923 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2928 echo "$as_me: failed program was:" >&5
2929 sed 's/^/| /' conftest.$ac_ext >&5
2931 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2932 See \`config.log
' for more details." >&5
2933 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2934 See \`config.log' for more details.
" >&2;}
2935 { (exit 1); exit 1; }; }
2938 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2940 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2941 echo "${ECHO_T}$ac_cv_objext" >&6; }
2942 OBJEXT=$ac_cv_objext
2944 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2945 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2946 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2947 echo $ECHO_N "(cached
) $ECHO_C" >&6
2949 cat >conftest.$ac_ext <<_ACEOF
2952 cat confdefs.h >>conftest.$ac_ext
2953 cat >>conftest.$ac_ext <<_ACEOF
2954 /* end confdefs.h. */
2967 rm -f conftest.$ac_objext
2968 if { (ac_try="$ac_compile"
2970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2971 *) ac_try_echo=$ac_try;;
2973 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2974 (eval "$ac_compile") 2>conftest.er1
2976 grep -v '^ *+' conftest.er1 >conftest.err
2978 cat conftest.err >&5
2979 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2980 (exit $ac_status); } && {
2981 test -z "$ac_c_werror_flag" ||
2982 test ! -s conftest.err
2983 } && test -s conftest.$ac_objext; then
2986 echo "$as_me: failed program was
:" >&5
2987 sed 's/^/| /' conftest.$ac_ext >&5
2992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2993 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2996 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2997 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2998 GCC=`test $ac_compiler_gnu = yes && echo yes`
2999 ac_test_CFLAGS=${CFLAGS+set}
3000 ac_save_CFLAGS=$CFLAGS
3001 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3002 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3003 if test "${ac_cv_prog_cc_g+set}" = set; then
3004 echo $ECHO_N "(cached
) $ECHO_C" >&6
3006 ac_save_c_werror_flag=$ac_c_werror_flag
3007 ac_c_werror_flag=yes
3010 cat >conftest.$ac_ext <<_ACEOF
3013 cat confdefs.h >>conftest.$ac_ext
3014 cat >>conftest.$ac_ext <<_ACEOF
3015 /* end confdefs.h. */
3025 rm -f conftest.$ac_objext
3026 if { (ac_try="$ac_compile"
3028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3029 *) ac_try_echo=$ac_try;;
3031 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3032 (eval "$ac_compile") 2>conftest.er1
3034 grep -v '^ *+' conftest.er1 >conftest.err
3036 cat conftest.err >&5
3037 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3038 (exit $ac_status); } && {
3039 test -z "$ac_c_werror_flag" ||
3040 test ! -s conftest.err
3041 } && test -s conftest.$ac_objext; then
3044 echo "$as_me: failed program was
:" >&5
3045 sed 's/^/| /' conftest.$ac_ext >&5
3048 cat >conftest.$ac_ext <<_ACEOF
3051 cat confdefs.h >>conftest.$ac_ext
3052 cat >>conftest.$ac_ext <<_ACEOF
3053 /* end confdefs.h. */
3063 rm -f conftest.$ac_objext
3064 if { (ac_try="$ac_compile"
3066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3067 *) ac_try_echo=$ac_try;;
3069 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3070 (eval "$ac_compile") 2>conftest.er1
3072 grep -v '^ *+' conftest.er1 >conftest.err
3074 cat conftest.err >&5
3075 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3076 (exit $ac_status); } && {
3077 test -z "$ac_c_werror_flag" ||
3078 test ! -s conftest.err
3079 } && test -s conftest.$ac_objext; then
3082 echo "$as_me: failed program was
:" >&5
3083 sed 's/^/| /' conftest.$ac_ext >&5
3085 ac_c_werror_flag=$ac_save_c_werror_flag
3087 cat >conftest.$ac_ext <<_ACEOF
3090 cat confdefs.h >>conftest.$ac_ext
3091 cat >>conftest.$ac_ext <<_ACEOF
3092 /* end confdefs.h. */
3102 rm -f conftest.$ac_objext
3103 if { (ac_try="$ac_compile"
3105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3106 *) ac_try_echo=$ac_try;;
3108 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3109 (eval "$ac_compile") 2>conftest.er1
3111 grep -v '^ *+' conftest.er1 >conftest.err
3113 cat conftest.err >&5
3114 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3115 (exit $ac_status); } && {
3116 test -z "$ac_c_werror_flag" ||
3117 test ! -s conftest.err
3118 } && test -s conftest.$ac_objext; then
3121 echo "$as_me: failed program was
:" >&5
3122 sed 's/^/| /' conftest.$ac_ext >&5
3127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3134 ac_c_werror_flag=$ac_save_c_werror_flag
3136 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3137 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3138 if test "$ac_test_CFLAGS" = set; then
3139 CFLAGS=$ac_save_CFLAGS
3140 elif test $ac_cv_prog_cc_g = yes; then
3141 if test "$GCC" = yes; then
3147 if test "$GCC" = yes; then
3153 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3154 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3155 if test "${ac_cv_prog_cc_c89+set}" = set; then
3156 echo $ECHO_N "(cached
) $ECHO_C" >&6
3158 ac_cv_prog_cc_c89=no
3160 cat >conftest.$ac_ext <<_ACEOF
3163 cat confdefs.h >>conftest.$ac_ext
3164 cat >>conftest.$ac_ext <<_ACEOF
3165 /* end confdefs.h. */
3168 #include <sys/types.h>
3169 #include <sys/stat.h>
3170 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3171 struct buf { int x; };
3172 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3173 static char *e (p, i)
3179 static char *f (char * (*g) (char **, int), char **p, ...)
3184 s = g (p, va_arg (v,int));
3189 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3190 function prototypes and stuff, but not '\xHH' hex character constants.
3191 These don't provoke an error unfortunately, instead are silently treated
3192 as 'x'. The following induces an error, until -std is added to get
3193 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3194 array size at least. It's necessary to write '\x00'==0 to get something
3195 that's true only with -std. */
3196 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3198 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3199 inside strings and character constants. */
3201 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3203 int test (int i, double x);
3204 struct s1 {int (*f) (int a);};
3205 struct s2 {int (*f) (double a);};
3206 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3212 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3217 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3218 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3220 CC="$ac_save_CC $ac_arg"
3221 rm -f conftest.$ac_objext
3222 if { (ac_try="$ac_compile"
3224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3225 *) ac_try_echo=$ac_try;;
3227 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3228 (eval "$ac_compile") 2>conftest.er1
3230 grep -v '^ *+' conftest.er1 >conftest.err
3232 cat conftest.err >&5
3233 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3234 (exit $ac_status); } && {
3235 test -z "$ac_c_werror_flag" ||
3236 test ! -s conftest.err
3237 } && test -s conftest.$ac_objext; then
3238 ac_cv_prog_cc_c89=$ac_arg
3240 echo "$as_me: failed program was
:" >&5
3241 sed 's/^/| /' conftest.$ac_ext >&5
3246 rm -f core conftest.err conftest.$ac_objext
3247 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3249 rm -f conftest.$ac_ext
3254 case "x
$ac_cv_prog_cc_c89" in
3256 { echo "$as_me:$LINENO: result
: none needed
" >&5
3257 echo "${ECHO_T}none needed
" >&6; } ;;
3259 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3260 echo "${ECHO_T}unsupported
" >&6; } ;;
3262 CC="$CC $ac_cv_prog_cc_c89"
3263 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3264 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3269 ac_cpp='$CPP $CPPFLAGS'
3270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3274 depcc="$CC" am_compiler_list=
3276 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3277 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3278 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3279 echo $ECHO_N "(cached
) $ECHO_C" >&6
3281 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3282 # We make a subdir and do the tests there. Otherwise we can end up
3283 # making bogus files that we don't know about and never remove. For
3284 # instance it was reported that on HP-UX the gcc test will end up
3285 # making a dummy file named `D' -- because `-MD' means `put the output
3288 # Copy depcomp to subdir because otherwise we won't find it if we're
3289 # using a relative directory.
3290 cp "$am_depcomp" conftest.dir
3292 # We will build objects and dependencies in a subdirectory because
3293 # it helps to detect inapplicable dependency modes. For instance
3294 # both Tru64's cc and ICC support -MD to output dependencies as a
3295 # side effect of compilation, but ICC will put the dependencies in
3296 # the current directory while Tru64 will put them in the object
3300 am_cv_CC_dependencies_compiler_type=none
3301 if test "$am_compiler_list" = ""; then
3302 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3304 for depmode in $am_compiler_list; do
3305 # Setup a source with many dependencies, because some compilers
3306 # like to wrap large dependency lists on column 80 (with \), and
3307 # we should not choose a depcomp mode which is confused by this.
3309 # We need to recreate these files for each test, as the compiler may
3310 # overwrite some of them when testing with obscure command lines.
3311 # This happens at least with the AIX C compiler.
3313 for i in 1 2 3 4 5 6; do
3314 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3315 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3316 # Solaris 8's {/usr,}/bin/sh.
3317 touch sub/conftst$i.h
3319 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3323 # after this tag, mechanisms are not by side-effect, so they'll
3324 # only be used when explicitly requested
3325 if test "x
$enable_dependency_tracking" = xyes; then
3333 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3334 # mode. It turns out that the SunPro C++ compiler does not properly
3335 # handle `-M -o', and we need to detect this.
3336 if depmode=$depmode \
3337 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3338 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3339 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3340 >/dev/null 2>conftest.err &&
3341 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3342 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3343 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3344 # icc doesn't choke on unknown options, it will just issue warnings
3345 # or remarks (even with -Werror). So we grep stderr for any message
3346 # that says an option was ignored or not supported.
3347 # When given -MP, icc 7.0 and 7.1 complain thusly:
3348 # icc: Command line warning: ignoring option '-M'; no argument required
3349 # The diagnosis changed in icc 8.0:
3350 # icc: Command line remark: option '-MP' not supported
3351 if (grep 'ignoring option' conftest.err ||
3352 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3353 am_cv_CC_dependencies_compiler_type=$depmode
3362 am_cv_CC_dependencies_compiler_type=none
3366 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3367 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3368 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3373 test "x
$enable_dependency_tracking" != xno \
3374 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3376 am__fastdepCC_FALSE='#'
3378 am__fastdepCC_TRUE='#'
3379 am__fastdepCC_FALSE=
3383 if test "x
$CC" != xcc; then
3384 { echo "$as_me:$LINENO: checking whether
$CC and cc understand
-c and
-o together
" >&5
3385 echo $ECHO_N "checking whether
$CC and cc understand
-c and
-o together...
$ECHO_C" >&6; }
3387 { echo "$as_me:$LINENO: checking whether cc understands
-c and
-o together
" >&5
3388 echo $ECHO_N "checking whether cc understands
-c and
-o together...
$ECHO_C" >&6; }
3390 set dummy $CC; ac_cc=`echo $2 |
3391 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3392 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3393 echo $ECHO_N "(cached
) $ECHO_C" >&6
3395 cat >conftest.$ac_ext <<_ACEOF
3398 cat confdefs.h >>conftest.$ac_ext
3399 cat >>conftest.$ac_ext <<_ACEOF
3400 /* end confdefs.h. */
3410 # Make sure it works both with $CC and with simple cc.
3411 # We do the test twice because some compilers refuse to overwrite an
3412 # existing .o file with -o, though they will create one.
3413 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3415 if { (case "(($ac_try" in
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_try") 2>&5
3422 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3423 (exit $ac_status); } &&
3424 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426 *) ac_try_echo=$ac_try;;
3428 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3429 (eval "$ac_try") 2>&5
3431 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3432 (exit $ac_status); };
3434 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3435 if test "x
$CC" != xcc; then
3436 # Test first that cc exists at all.
3437 if { ac_try='cc -c conftest.$ac_ext >&5'
3438 { (case "(($ac_try" in
3439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3440 *) ac_try_echo=$ac_try;;
3442 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3443 (eval "$ac_try") 2>&5
3445 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3446 (exit $ac_status); }; }; then
3447 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3449 if { (case "(($ac_try" in
3450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3451 *) ac_try_echo=$ac_try;;
3453 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3454 (eval "$ac_try") 2>&5
3456 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3457 (exit $ac_status); } &&
3458 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3460 *) ac_try_echo=$ac_try;;
3462 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3463 (eval "$ac_try") 2>&5
3465 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3466 (exit $ac_status); };
3471 # cc exists but doesn't like -o.
3472 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3477 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3479 rm -f core conftest*
3482 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3483 { echo "$as_me:$LINENO: result
: yes" >&5
3484 echo "${ECHO_T}yes" >&6; }
3486 { echo "$as_me:$LINENO: result
: no
" >&5
3487 echo "${ECHO_T}no
" >&6; }
3489 cat >>confdefs.h <<\_ACEOF
3490 #define NO_MINUS_C_MINUS_O 1
3495 # FIXME: we rely on the cache variable name because
3496 # there is no other way.
3498 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3499 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3500 # Losing compiler, so override with the script.
3501 # FIXME: It is wrong to rewrite CC.
3502 # But if we don't then we get into trouble of one sort or another.
3503 # A longer-term fix would be to have automake use am__CC in this case,
3504 # and then we could set am__CC="\$
(top_srcdir
)/compile \$
(CC
)"
3505 CC="$am_aux_dir/compile
$CC"
3509 ac_config_headers="$ac_config_headers config.h
"
3512 # Check whether --enable-dbug was given.
3513 if test "${enable_dbug+set}" = set; then
3514 enableval=$enable_dbug;
3518 # Check whether --enable-spawn was given.
3519 if test "${enable_spawn+set}" = set; then
3520 enableval=$enable_spawn;
3524 ac_cpp='$CPP $CPPFLAGS'
3525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3528 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3529 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3530 # On Suns, sometimes $CPP names a directory.
3531 if test -n "$CPP" && test -d "$CPP"; then
3534 if test -z "$CPP"; then
3535 if test "${ac_cv_prog_CPP+set}" = set; then
3536 echo $ECHO_N "(cached
) $ECHO_C" >&6
3538 # Double quotes because CPP needs to be expanded
3539 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3542 for ac_c_preproc_warn_flag in '' yes
3544 # Use a header file that comes with gcc, so configuring glibc
3545 # with a fresh cross-compiler works.
3546 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3547 # <limits.h> exists even on freestanding compilers.
3548 # On the NeXT, cc -E runs the code through the compiler's parser,
3549 # not just through cpp. "Syntax error
" is here to catch this case.
3550 cat >conftest.$ac_ext <<_ACEOF
3553 cat confdefs.h >>conftest.$ac_ext
3554 cat >>conftest.$ac_ext <<_ACEOF
3555 /* end confdefs.h. */
3557 # include <limits.h>
3559 # include <assert.h>
3563 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3566 *) ac_try_echo=$ac_try;;
3568 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3569 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3571 grep -v '^ *+' conftest.er1 >conftest.err
3573 cat conftest.err >&5
3574 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3575 (exit $ac_status); } >/dev/null && {
3576 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3577 test ! -s conftest.err
3581 echo "$as_me: failed program was
:" >&5
3582 sed 's/^/| /' conftest.$ac_ext >&5
3584 # Broken: fails on valid input.
3588 rm -f conftest.err conftest.$ac_ext
3590 # OK, works on sane cases. Now check whether nonexistent headers
3591 # can be detected and how.
3592 cat >conftest.$ac_ext <<_ACEOF
3595 cat confdefs.h >>conftest.$ac_ext
3596 cat >>conftest.$ac_ext <<_ACEOF
3597 /* end confdefs.h. */
3598 #include <ac_nonexistent.h>
3600 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3603 *) ac_try_echo=$ac_try;;
3605 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3606 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3608 grep -v '^ *+' conftest.er1 >conftest.err
3610 cat conftest.err >&5
3611 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3612 (exit $ac_status); } >/dev/null && {
3613 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3614 test ! -s conftest.err
3616 # Broken: success on invalid input.
3619 echo "$as_me: failed program was
:" >&5
3620 sed 's/^/| /' conftest.$ac_ext >&5
3622 # Passes both tests.
3627 rm -f conftest.err conftest.$ac_ext
3630 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3631 rm -f conftest.err conftest.$ac_ext
3632 if $ac_preproc_ok; then
3644 { echo "$as_me:$LINENO: result
: $CPP" >&5
3645 echo "${ECHO_T}$CPP" >&6; }
3647 for ac_c_preproc_warn_flag in '' yes
3649 # Use a header file that comes with gcc, so configuring glibc
3650 # with a fresh cross-compiler works.
3651 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3652 # <limits.h> exists even on freestanding compilers.
3653 # On the NeXT, cc -E runs the code through the compiler's parser,
3654 # not just through cpp. "Syntax error
" is here to catch this case.
3655 cat >conftest.$ac_ext <<_ACEOF
3658 cat confdefs.h >>conftest.$ac_ext
3659 cat >>conftest.$ac_ext <<_ACEOF
3660 /* end confdefs.h. */
3662 # include <limits.h>
3664 # include <assert.h>
3668 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3671 *) ac_try_echo=$ac_try;;
3673 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3674 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3676 grep -v '^ *+' conftest.er1 >conftest.err
3678 cat conftest.err >&5
3679 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3680 (exit $ac_status); } >/dev/null && {
3681 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3682 test ! -s conftest.err
3686 echo "$as_me: failed program was
:" >&5
3687 sed 's/^/| /' conftest.$ac_ext >&5
3689 # Broken: fails on valid input.
3693 rm -f conftest.err conftest.$ac_ext
3695 # OK, works on sane cases. Now check whether nonexistent headers
3696 # can be detected and how.
3697 cat >conftest.$ac_ext <<_ACEOF
3700 cat confdefs.h >>conftest.$ac_ext
3701 cat >>conftest.$ac_ext <<_ACEOF
3702 /* end confdefs.h. */
3703 #include <ac_nonexistent.h>
3705 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3708 *) ac_try_echo=$ac_try;;
3710 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3711 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3713 grep -v '^ *+' conftest.er1 >conftest.err
3715 cat conftest.err >&5
3716 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3717 (exit $ac_status); } >/dev/null && {
3718 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3719 test ! -s conftest.err
3721 # Broken: success on invalid input.
3724 echo "$as_me: failed program was
:" >&5
3725 sed 's/^/| /' conftest.$ac_ext >&5
3727 # Passes both tests.
3732 rm -f conftest.err conftest.$ac_ext
3735 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3736 rm -f conftest.err conftest.$ac_ext
3737 if $ac_preproc_ok; then
3740 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3741 See \
`config.log' for more details." >&5
3742 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3743 See \`config.log
' for more details." >&2;}
3744 { (exit 1); exit 1; }; }
3748 ac_cpp='$CPP $CPPFLAGS'
3749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3750 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3753 # Find a good install program. We prefer a C program (faster),
3754 # so one script is as good as another. But avoid the broken or
3755 # incompatible versions:
3756 # SysV /etc/install, /usr/sbin/install
3757 # SunOS /usr/etc/install
3758 # IRIX /sbin/install
3760 # AmigaOS /C/install, which installs bootblocks on floppy discs
3761 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
3762 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3763 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3764 # OS/2's system install, which has a completely different semantic
3765 # ./install, which can be erroneously created by make from ./install.sh.
3766 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3767 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3768 if test -z "$INSTALL"; then
3769 if test "${ac_cv_path_install+set}" = set; then
3770 echo $ECHO_N "(cached) $ECHO_C" >&6
3772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3776 test -z "$as_dir" && as_dir
=.
3777 # Account for people who put trailing slashes in PATH elements.
3779 .
/ | .
// |
/cC
/* | \
3780 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3781 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3784 # OSF1 and SCO ODT 3.0 have their own names for install.
3785 # Don't use installbsd from OSF since it installs stuff as root
3787 for ac_prog
in ginstall scoinst
install; do
3788 for ac_exec_ext
in '' $ac_executable_extensions; do
3789 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3790 if test $ac_prog = install &&
3791 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3792 # AIX install. It has an incompatible calling convention.
3794 elif test $ac_prog = install &&
3795 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3796 # program-specific install script used by HP pwplus--don't use.
3799 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3812 if test "${ac_cv_path_install+set}" = set; then
3813 INSTALL
=$ac_cv_path_install
3815 # As a last resort, use the slow shell script. Don't cache a
3816 # value for INSTALL within a source directory, because that will
3817 # break other packages using the cache if that directory is
3818 # removed, or if the value is a relative name.
3819 INSTALL
=$ac_install_sh
3822 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3823 echo "${ECHO_T}$INSTALL" >&6; }
3825 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3826 # It thinks the first close brace ends the variable substitution.
3827 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3829 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3831 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3833 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3834 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3836 if test "$LN_S" = "ln -s"; then
3837 { echo "$as_me:$LINENO: result: yes" >&5
3838 echo "${ECHO_T}yes" >&6; }
3840 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3841 echo "${ECHO_T}no, using $LN_S" >&6; }
3844 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3845 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3846 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3847 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3848 echo $ECHO_N "(cached) $ECHO_C" >&6
3850 cat >conftest.
make <<\_ACEOF
3853 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3855 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3856 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3858 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3860 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3864 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3865 { echo "$as_me:$LINENO: result: yes" >&5
3866 echo "${ECHO_T}yes" >&6; }
3869 { echo "$as_me:$LINENO: result: no" >&5
3870 echo "${ECHO_T}no" >&6; }
3871 SET_MAKE
="MAKE=${MAKE-make}"
3874 if test -n "$ac_tool_prefix"; then
3875 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3876 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3877 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3879 if test "${ac_cv_prog_RANLIB+set}" = set; then
3880 echo $ECHO_N "(cached) $ECHO_C" >&6
3882 if test -n "$RANLIB"; then
3883 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3889 test -z "$as_dir" && as_dir
=.
3890 for ac_exec_ext
in '' $ac_executable_extensions; do
3891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3892 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3902 RANLIB
=$ac_cv_prog_RANLIB
3903 if test -n "$RANLIB"; then
3904 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3905 echo "${ECHO_T}$RANLIB" >&6; }
3907 { echo "$as_me:$LINENO: result: no" >&5
3908 echo "${ECHO_T}no" >&6; }
3913 if test -z "$ac_cv_prog_RANLIB"; then
3914 ac_ct_RANLIB
=$RANLIB
3915 # Extract the first word of "ranlib", so it can be a program name with args.
3916 set dummy ranlib
; ac_word
=$2
3917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3919 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3920 echo $ECHO_N "(cached) $ECHO_C" >&6
3922 if test -n "$ac_ct_RANLIB"; then
3923 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3929 test -z "$as_dir" && as_dir
=.
3930 for ac_exec_ext
in '' $ac_executable_extensions; do
3931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3932 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3942 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3943 if test -n "$ac_ct_RANLIB"; then
3944 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3945 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3947 { echo "$as_me:$LINENO: result: no" >&5
3948 echo "${ECHO_T}no" >&6; }
3951 if test "x$ac_ct_RANLIB" = x
; then
3954 case $cross_compiling:$ac_tool_warned in
3956 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3957 whose name does not start with the host triplet. If you think this
3958 configuration is useful to you, please write to autoconf@gnu.org." >&5
3959 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3960 whose name does not start with the host triplet. If you think this
3961 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3962 ac_tool_warned
=yes ;;
3964 RANLIB
=$ac_ct_RANLIB
3967 RANLIB
="$ac_cv_prog_RANLIB"
3971 for ac_prog
in gawk mawk nawk
awk
3973 # Extract the first word of "$ac_prog", so it can be a program name with args.
3974 set dummy
$ac_prog; ac_word
=$2
3975 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3977 if test "${ac_cv_prog_AWK+set}" = set; then
3978 echo $ECHO_N "(cached) $ECHO_C" >&6
3980 if test -n "$AWK"; then
3981 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3987 test -z "$as_dir" && as_dir
=.
3988 for ac_exec_ext
in '' $ac_executable_extensions; do
3989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3990 ac_cv_prog_AWK
="$ac_prog"
3991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4001 if test -n "$AWK"; then
4002 { echo "$as_me:$LINENO: result: $AWK" >&5
4003 echo "${ECHO_T}$AWK" >&6; }
4005 { echo "$as_me:$LINENO: result: no" >&5
4006 echo "${ECHO_T}no" >&6; }
4010 test -n "$AWK" && break
4014 { echo "$as_me:$LINENO: checking the operating system" >&5
4015 echo $ECHO_N "checking the operating system... $ECHO_C" >&6; }
4019 if test `echo $_os | $AWK -F_ '{ print $1 }'` = "CYGWIN"; then
4020 if test "$GCC" = "yes"; then
4021 if test `$CC -dumpmachine | $AWK -F- '{ print $3 }'` = "mingw32"; then
4032 ## At the moment all except mingw builds are OS_TYPE unix
4035 ## The following allows like systems to share settings this is not meant to
4036 ## Imply that these OS are the same thing.
4040 CASE_INSENSITIVE_FS
=true
4050 CASE_INSENSITIVE_FS
=true
4055 BUILDINFO
="Windows / MinGW"
4056 CASE_INSENSITIVE_FS
=true
4061 BUILDINFO
="Windows / MS Visual C++"
4062 CASE_INSENSITIVE_FS
=true
4066 # MacOSX is not garuanteed to be case insensitive, assume it's case
4067 # sensitive, see issue 73661 for details.
4091 { { echo "$as_me:$LINENO: error: $_os operating system is not suitable to build dmake!" >&5
4092 echo "$as_me: error: $_os operating system is not suitable to build dmake!" >&2;}
4093 { (exit 1); exit 1; }; }
4097 { echo "$as_me:$LINENO: result: checked ($_os)" >&5
4098 echo "${ECHO_T}checked ($_os)" >&6; }
4102 if test x
$OS_TYPE = xunix
; then
4104 OSTYPEUNIX_FALSE
='#'
4112 if test x
$OS_TYPE = xwinnt
; then
4114 OSTYPEWIN32_FALSE
='#'
4116 OSTYPEWIN32_TRUE
='#'
4124 cat >>confdefs.h
<<_ACEOF
4125 #define BUILDINFO "$BUILDINFO"
4129 if test x
$CASE_INSENSITIVE_FS = xtrue
; then
4131 cat >>confdefs.h
<<\_ACEOF
4132 #define CASE_INSENSITIVE_FS 1
4137 { echo "$as_me:$LINENO: checking whether to do a build with dbug macros" >&5
4138 echo $ECHO_N "checking whether to do a build with dbug macros... $ECHO_C" >&6; }
4139 if test -n "$enable_dbug" && test "$enable_dbug" != "no"; then
4141 CPPFLAGS
="$CPPFLAGS -DDBUG=1 -I\$(top_srcdir)/dbug/dbug"
4142 { echo "$as_me:$LINENO: result: yes" >&5
4143 echo "${ECHO_T}yes" >&6; }
4146 { echo "$as_me:$LINENO: result: no" >&5
4147 echo "${ECHO_T}no" >&6; }
4151 if test -n "$DBUG"; then
4160 { echo "$as_me:$LINENO: checking if spawn shall be used" >&5
4161 echo $ECHO_N "checking if spawn shall be used... $ECHO_C" >&6; }
4162 if test -n "$enable_spawn" && test "$enable_spawn" != "no"; then
4164 cat >>confdefs.h
<<\_ACEOF
4165 #define ENABLE_SPAWN 1
4168 { echo "$as_me:$LINENO: result: yes" >&5
4169 echo "${ECHO_T}yes" >&6; }
4171 { echo "$as_me:$LINENO: result: no" >&5
4172 echo "${ECHO_T}no" >&6; }
4175 eval dmakerootprefix
="$datarootdir"
4176 # $datadir is ${prefix}/share if not overridden
4177 test "x$dmakerootprefix" != "x${dmakerootprefix##NONE}" && dmakerootprefix
=${ac_default_prefix}/share
4179 if test x
$OS_TYPE = xunix
; then
4180 DMAKEROOT_H_LINE1
='"DMAKEROOT := '${dmakerootprefix}'/startup",'
4184 ac_config_files
="$ac_config_files dmakeroot.h Makefile startup/config.mk startup/Makefile startup/unix/Makefile startup/unix/linux/Makefile startup/unix/solaris/Makefile startup/unix/macosx/Makefile startup/unix/sysvr4/Makefile startup/unix/cygwin/Makefile startup/unix/os2/Makefile startup/winnt/Makefile startup/winnt/mingw/Makefile startup/winnt/msvc6/Makefile tests/Makefile"
4197 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4198 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4199 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4200 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
4201 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4202 echo $ECHO_N "(cached) $ECHO_C" >&6
4204 cat >conftest.
$ac_ext <<_ACEOF
4207 cat confdefs.h
>>conftest.
$ac_ext
4208 cat >>conftest.
$ac_ext <<_ACEOF
4209 /* end confdefs.h. */
4210 #include <sys/types.h>
4222 rm -f conftest.
$ac_objext
4223 if { (ac_try
="$ac_compile"
4225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4226 *) ac_try_echo=$ac_try;;
4228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4229 (eval "$ac_compile") 2>conftest.er1
4231 grep -v '^ *+' conftest.er1 >conftest.err
4233 cat conftest.err >&5
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); } && {
4236 test -z "$ac_c_werror_flag" ||
4237 test ! -s conftest.err
4238 } && test -s conftest.$ac_objext; then
4239 eval "$as_ac_Header=yes"
4241 echo "$as_me: failed program was:" >&5
4242 sed 's/^/| /' conftest.$ac_ext >&5
4244 eval "$as_ac_Header=no"
4247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4249 ac_res=`eval echo '${'$as_ac_Header'}'`
4250 { echo "$as_me:$LINENO: result: $ac_res" >&5
4251 echo "${ECHO_T}$ac_res" >&6; }
4252 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4253 cat >>confdefs.h <<_ACEOF
4254 #define `echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
4257 ac_header_dirent=$ac_hdr; break
4261 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4262 if test $ac_header_dirent = dirent.h; then
4263 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
4264 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
4265 if test "${ac_cv_search_opendir+set}" = set; then
4266 echo $ECHO_N "(cached) $ECHO_C" >&6
4268 ac_func_search_save_LIBS=$LIBS
4269 cat >conftest.$ac_ext <<_ACEOF
4272 cat confdefs.h >>conftest.$ac_ext
4273 cat >>conftest.$ac_ext <<_ACEOF
4274 /* end confdefs.h. */
4276 /* Override any GCC internal prototype to avoid an error.
4277 Use char because int might match the return type of a GCC
4278 builtin and then its argument prototype would still apply. */
4291 for ac_lib in '' dir; do
4292 if test -z "$ac_lib"; then
4293 ac_res="none required"
4296 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4298 rm -f conftest.$ac_objext conftest$ac_exeext
4299 if { (ac_try="$ac_link"
4301 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4302 *) ac_try_echo
=$ac_try;;
4304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4305 (eval "$ac_link") 2>conftest.er1
4307 grep -v '^ *+' conftest.er1
>conftest.err
4309 cat conftest.err
>&5
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); } && {
4312 test -z "$ac_c_werror_flag" ||
4313 test ! -s conftest.err
4314 } && test -s conftest
$ac_exeext &&
4315 $as_test_x conftest
$ac_exeext; then
4316 ac_cv_search_opendir
=$ac_res
4318 echo "$as_me: failed program was:" >&5
4319 sed 's/^/| /' conftest.
$ac_ext >&5
4324 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4326 if test "${ac_cv_search_opendir+set}" = set; then
4330 if test "${ac_cv_search_opendir+set}" = set; then
4333 ac_cv_search_opendir
=no
4336 LIBS
=$ac_func_search_save_LIBS
4338 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4339 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
4340 ac_res
=$ac_cv_search_opendir
4341 if test "$ac_res" != no
; then
4342 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4347 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
4348 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
4349 if test "${ac_cv_search_opendir+set}" = set; then
4350 echo $ECHO_N "(cached) $ECHO_C" >&6
4352 ac_func_search_save_LIBS
=$LIBS
4353 cat >conftest.
$ac_ext <<_ACEOF
4356 cat confdefs.h
>>conftest.
$ac_ext
4357 cat >>conftest.
$ac_ext <<_ACEOF
4358 /* end confdefs.h. */
4360 /* Override any GCC internal prototype to avoid an error.
4361 Use char because int might match the return type of a GCC
4362 builtin and then its argument prototype would still apply. */
4375 for ac_lib
in '' x
; do
4376 if test -z "$ac_lib"; then
4377 ac_res
="none required"
4380 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4382 rm -f conftest.
$ac_objext conftest
$ac_exeext
4383 if { (ac_try
="$ac_link"
4385 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4386 *) ac_try_echo=$ac_try;;
4388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4389 (eval "$ac_link") 2>conftest.er1
4391 grep -v '^ *+' conftest.er1 >conftest.err
4393 cat conftest.err >&5
4394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4395 (exit $ac_status); } && {
4396 test -z "$ac_c_werror_flag" ||
4397 test ! -s conftest.err
4398 } && test -s conftest$ac_exeext &&
4399 $as_test_x conftest$ac_exeext; then
4400 ac_cv_search_opendir=$ac_res
4402 echo "$as_me: failed program was:" >&5
4403 sed 's/^/| /' conftest.$ac_ext >&5
4408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4410 if test "${ac_cv_search_opendir+set}" = set; then
4414 if test "${ac_cv_search_opendir+set}" = set; then
4417 ac_cv_search_opendir=no
4420 LIBS=$ac_func_search_save_LIBS
4422 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4423 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
4424 ac_res=$ac_cv_search_opendir
4425 if test "$ac_res" != no; then
4426 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4433 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4434 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4435 if test "${ac_cv_path_GREP+set}" = set; then
4436 echo $ECHO_N "(cached) $ECHO_C" >&6
4438 # Extract the first word of "grep ggrep" to use in msg output
4439 if test -z "$GREP"; then
4440 set dummy grep ggrep; ac_prog_name=$2
4441 if test "${ac_cv_path_GREP+set}" = set; then
4442 echo $ECHO_N "(cached) $ECHO_C" >&6
4444 ac_path_GREP_found=false
4445 # Loop through the user's path and test for each of PROGNAME-LIST
4446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4447 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4450 test -z "$as_dir" && as_dir=.
4451 for ac_prog in grep ggrep; do
4452 for ac_exec_ext in '' $ac_executable_extensions; do
4453 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4454 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4455 # Check for GNU ac_path_GREP and select it if it is found.
4456 # Check for GNU $ac_path_GREP
4457 case `"$ac_path_GREP" --version 2>&1` in
4459 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4462 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4465 cat "conftest.in" "conftest.in" >"conftest.tmp"
4466 mv "conftest.tmp" "conftest.in"
4467 cp "conftest.in" "conftest.nl"
4468 echo 'GREP' >> "conftest.nl"
4469 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4470 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4471 ac_count=`expr $ac_count + 1`
4472 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4473 # Best one so far, save it but keep looking for a better one
4474 ac_cv_path_GREP="$ac_path_GREP"
4475 ac_path_GREP_max=$ac_count
4477 # 10*(2^10) chars as input seems more than enough
4478 test $ac_count -gt 10 && break
4480 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4484 $ac_path_GREP_found && break 3
4494 GREP="$ac_cv_path_GREP"
4495 if test -z "$GREP"; then
4496 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4497 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4498 { (exit 1); exit 1; }; }
4502 ac_cv_path_GREP=$GREP
4507 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4508 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4509 GREP="$ac_cv_path_GREP"
4512 { echo "$as_me:$LINENO: checking for egrep" >&5
4513 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4514 if test "${ac_cv_path_EGREP+set}" = set; then
4515 echo $ECHO_N "(cached) $ECHO_C" >&6
4517 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4518 then ac_cv_path_EGREP="$GREP -E"
4520 # Extract the first word of "egrep" to use in msg output
4521 if test -z "$EGREP"; then
4522 set dummy egrep; ac_prog_name=$2
4523 if test "${ac_cv_path_EGREP+set}" = set; then
4524 echo $ECHO_N "(cached) $ECHO_C" >&6
4526 ac_path_EGREP_found=false
4527 # Loop through the user's path and test for each of PROGNAME-LIST
4528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4529 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4532 test -z "$as_dir" && as_dir=.
4533 for ac_prog in egrep; do
4534 for ac_exec_ext in '' $ac_executable_extensions; do
4535 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4536 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4537 # Check for GNU ac_path_EGREP and select it if it is found.
4538 # Check for GNU $ac_path_EGREP
4539 case `"$ac_path_EGREP" --version 2>&1` in
4541 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4544 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4547 cat "conftest.in" "conftest.in" >"conftest.tmp"
4548 mv "conftest.tmp" "conftest.in"
4549 cp "conftest.in" "conftest.nl"
4550 echo 'EGREP' >> "conftest.nl"
4551 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4552 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4553 ac_count=`expr $ac_count + 1`
4554 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4555 # Best one so far, save it but keep looking for a better one
4556 ac_cv_path_EGREP="$ac_path_EGREP"
4557 ac_path_EGREP_max=$ac_count
4559 # 10*(2^10) chars as input seems more than enough
4560 test $ac_count -gt 10 && break
4562 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4566 $ac_path_EGREP_found && break 3
4576 EGREP="$ac_cv_path_EGREP"
4577 if test -z "$EGREP"; then
4578 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4579 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4580 { (exit 1); exit 1; }; }
4584 ac_cv_path_EGREP=$EGREP
4590 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4591 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4592 EGREP="$ac_cv_path_EGREP"
4595 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4596 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4597 if test "${ac_cv_header_stdc+set}" = set; then
4598 echo $ECHO_N "(cached) $ECHO_C" >&6
4600 cat >conftest.$ac_ext <<_ACEOF
4603 cat confdefs.h >>conftest.$ac_ext
4604 cat >>conftest.$ac_ext <<_ACEOF
4605 /* end confdefs.h. */
4619 rm -f conftest.$ac_objext
4620 if { (ac_try="$ac_compile"
4622 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4623 *) ac_try_echo
=$ac_try;;
4625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4626 (eval "$ac_compile") 2>conftest.er1
4628 grep -v '^ *+' conftest.er1
>conftest.err
4630 cat conftest.err
>&5
4631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4632 (exit $ac_status); } && {
4633 test -z "$ac_c_werror_flag" ||
4634 test ! -s conftest.err
4635 } && test -s conftest.
$ac_objext; then
4636 ac_cv_header_stdc
=yes
4638 echo "$as_me: failed program was:" >&5
4639 sed 's/^/| /' conftest.
$ac_ext >&5
4641 ac_cv_header_stdc
=no
4644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4646 if test $ac_cv_header_stdc = yes; then
4647 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4648 cat >conftest.
$ac_ext <<_ACEOF
4651 cat confdefs.h
>>conftest.
$ac_ext
4652 cat >>conftest.
$ac_ext <<_ACEOF
4653 /* end confdefs.h. */
4657 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4658 $EGREP "memchr" >/dev
/null
2>&1; then
4661 ac_cv_header_stdc
=no
4667 if test $ac_cv_header_stdc = yes; then
4668 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4669 cat >conftest.
$ac_ext <<_ACEOF
4672 cat confdefs.h
>>conftest.
$ac_ext
4673 cat >>conftest.
$ac_ext <<_ACEOF
4674 /* end confdefs.h. */
4678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4679 $EGREP "free" >/dev
/null
2>&1; then
4682 ac_cv_header_stdc
=no
4688 if test $ac_cv_header_stdc = yes; then
4689 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4690 if test "$cross_compiling" = yes; then
4693 cat >conftest.
$ac_ext <<_ACEOF
4696 cat confdefs.h
>>conftest.
$ac_ext
4697 cat >>conftest.
$ac_ext <<_ACEOF
4698 /* end confdefs.h. */
4701 #if ((' ' & 0x0FF) == 0x020)
4702 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4703 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4705 # define ISLOWER(c) \
4706 (('a' <= (c) && (c) <= 'i') \
4707 || ('j' <= (c) && (c) <= 'r') \
4708 || ('s' <= (c) && (c) <= 'z'))
4709 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4712 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4717 for (i = 0; i < 256; i++)
4718 if (XOR (islower (i), ISLOWER (i))
4719 || toupper (i) != TOUPPER (i))
4724 rm -f conftest
$ac_exeext
4725 if { (ac_try
="$ac_link"
4727 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4728 *) ac_try_echo=$ac_try;;
4730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4731 (eval "$ac_link") 2>&5
4733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4734 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4735 { (case "(($ac_try" in
4736 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4737 *) ac_try_echo
=$ac_try;;
4739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4740 (eval "$ac_try") 2>&5
4742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4743 (exit $ac_status); }; }; then
4746 echo "$as_me: program exited with status $ac_status" >&5
4747 echo "$as_me: failed program was:" >&5
4748 sed 's/^/| /' conftest.
$ac_ext >&5
4751 ac_cv_header_stdc
=no
4753 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4759 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4760 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4761 if test $ac_cv_header_stdc = yes; then
4763 cat >>confdefs.h
<<\_ACEOF
4764 #define STDC_HEADERS 1
4769 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4779 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4780 inttypes.h stdint.h unistd.h
4782 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4783 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4785 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4786 echo $ECHO_N "(cached) $ECHO_C" >&6
4788 cat >conftest.
$ac_ext <<_ACEOF
4791 cat confdefs.h
>>conftest.
$ac_ext
4792 cat >>conftest.
$ac_ext <<_ACEOF
4793 /* end confdefs.h. */
4794 $ac_includes_default
4796 #include <$ac_header>
4798 rm -f conftest.
$ac_objext
4799 if { (ac_try
="$ac_compile"
4801 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4802 *) ac_try_echo=$ac_try;;
4804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4805 (eval "$ac_compile") 2>conftest.er1
4807 grep -v '^ *+' conftest.er1 >conftest.err
4809 cat conftest.err >&5
4810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4811 (exit $ac_status); } && {
4812 test -z "$ac_c_werror_flag" ||
4813 test ! -s conftest.err
4814 } && test -s conftest.$ac_objext; then
4815 eval "$as_ac_Header=yes"
4817 echo "$as_me: failed program was:" >&5
4818 sed 's/^/| /' conftest.$ac_ext >&5
4820 eval "$as_ac_Header=no"
4823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4825 ac_res=`eval echo '${'$as_ac_Header'}'`
4826 { echo "$as_me:$LINENO: result: $ac_res" >&5
4827 echo "${ECHO_T}$ac_res" >&6; }
4828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4829 cat >>confdefs.h <<_ACEOF
4830 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4850 for ac_header in fcntl.h limits.h strings.h sys/types.h sys/stat.h unistd.h errno.h utime.h spawn.h wait.h sys/wait.h sys/time.h
4852 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4853 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4854 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4856 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4857 echo $ECHO_N "(cached) $ECHO_C" >&6
4859 ac_res=`eval echo '${'$as_ac_Header'}'`
4860 { echo "$as_me:$LINENO: result: $ac_res" >&5
4861 echo "${ECHO_T}$ac_res" >&6; }
4863 # Is the header compilable?
4864 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4865 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4866 cat >conftest.$ac_ext <<_ACEOF
4869 cat confdefs.h >>conftest.$ac_ext
4870 cat >>conftest.$ac_ext <<_ACEOF
4871 /* end confdefs.h. */
4872 $ac_includes_default
4873 #include <$ac_header>
4875 rm -f conftest.$ac_objext
4876 if { (ac_try="$ac_compile"
4878 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4879 *) ac_try_echo
=$ac_try;;
4881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4882 (eval "$ac_compile") 2>conftest.er1
4884 grep -v '^ *+' conftest.er1
>conftest.err
4886 cat conftest.err
>&5
4887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888 (exit $ac_status); } && {
4889 test -z "$ac_c_werror_flag" ||
4890 test ! -s conftest.err
4891 } && test -s conftest.
$ac_objext; then
4892 ac_header_compiler
=yes
4894 echo "$as_me: failed program was:" >&5
4895 sed 's/^/| /' conftest.
$ac_ext >&5
4897 ac_header_compiler
=no
4900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4901 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4902 echo "${ECHO_T}$ac_header_compiler" >&6; }
4904 # Is the header present?
4905 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4906 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4907 cat >conftest.
$ac_ext <<_ACEOF
4910 cat confdefs.h
>>conftest.
$ac_ext
4911 cat >>conftest.
$ac_ext <<_ACEOF
4912 /* end confdefs.h. */
4913 #include <$ac_header>
4915 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4918 *) ac_try_echo=$ac_try;;
4920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4921 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4923 grep -v '^ *+' conftest.er1 >conftest.err
4925 cat conftest.err >&5
4926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927 (exit $ac_status); } >/dev/null && {
4928 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4929 test ! -s conftest.err
4931 ac_header_preproc=yes
4933 echo "$as_me: failed program was:" >&5
4934 sed 's/^/| /' conftest.$ac_ext >&5
4936 ac_header_preproc=no
4939 rm -f conftest.err conftest.$ac_ext
4940 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4941 echo "${ECHO_T}$ac_header_preproc" >&6; }
4943 # So? What about this header?
4944 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4946 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4947 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4949 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4950 ac_header_preproc=yes
4953 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4954 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4955 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4956 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4957 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4958 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4959 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4960 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4962 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4963 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4964 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4968 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4970 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4971 echo $ECHO_N "(cached) $ECHO_C" >&6
4973 eval "$as_ac_Header=\$ac_header_preproc"
4975 ac_res=`eval echo '${'$as_ac_Header'}'`
4976 { echo "$as_me:$LINENO: result: $ac_res" >&5
4977 echo "${ECHO_T}$ac_res" >&6; }
4980 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4981 cat >>confdefs.h <<_ACEOF
4982 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4990 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4991 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
4992 if test "${ac_cv_c_const+set}" = set; then
4993 echo $ECHO_N "(cached) $ECHO_C" >&6
4995 cat >conftest.$ac_ext <<_ACEOF
4998 cat confdefs.h >>conftest.$ac_ext
4999 cat >>conftest.$ac_ext <<_ACEOF
5000 /* end confdefs.h. */
5005 /* FIXME: Include the comments suggested by Paul. */
5007 /* Ultrix mips cc rejects this. */
5008 typedef int charset[2];
5010 /* SunOS 4.1.1 cc rejects this. */
5011 char const *const *pcpcc;
5013 /* NEC SVR4.0.2 mips cc rejects this. */
5014 struct point {int x, y;};
5015 static struct point const zero = {0,0};
5016 /* AIX XL C 1.02.0.0 rejects this.
5017 It does not let you subtract one const X* pointer from another in
5018 an arm of an if-expression whose if-part is not a constant
5020 const char *g = "string";
5021 pcpcc = &g + (g ? g-g : 0);
5022 /* HPUX 7.0 cc rejects these. */
5024 ppc = (char**) pcpcc;
5025 pcpcc = (char const *const *) ppc;
5026 { /* SCO 3.2v4 cc rejects this. */
5028 char const *s = 0 ? (char *) 0 : (char const *) 0;
5033 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5035 const int *foo = &x[0];
5038 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5039 typedef const int *iptr;
5043 { /* AIX XL C 1.02.0.0 rejects this saying
5044 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5045 struct s { int j; const int *ap[3]; };
5046 struct s *b; b->j = 5;
5048 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5052 return !cs[0] && !zero.x;
5059 rm -f conftest.$ac_objext
5060 if { (ac_try="$ac_compile"
5062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5063 *) ac_try_echo
=$ac_try;;
5065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5066 (eval "$ac_compile") 2>conftest.er1
5068 grep -v '^ *+' conftest.er1
>conftest.err
5070 cat conftest.err
>&5
5071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5072 (exit $ac_status); } && {
5073 test -z "$ac_c_werror_flag" ||
5074 test ! -s conftest.err
5075 } && test -s conftest.
$ac_objext; then
5078 echo "$as_me: failed program was:" >&5
5079 sed 's/^/| /' conftest.
$ac_ext >&5
5084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5086 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5087 echo "${ECHO_T}$ac_cv_c_const" >&6; }
5088 if test $ac_cv_c_const = no
; then
5090 cat >>confdefs.h
<<\_ACEOF
5096 { echo "$as_me:$LINENO: checking for off_t" >&5
5097 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
5098 if test "${ac_cv_type_off_t+set}" = set; then
5099 echo $ECHO_N "(cached) $ECHO_C" >&6
5101 cat >conftest.
$ac_ext <<_ACEOF
5104 cat confdefs.h
>>conftest.
$ac_ext
5105 cat >>conftest.
$ac_ext <<_ACEOF
5106 /* end confdefs.h. */
5107 $ac_includes_default
5108 typedef off_t ac__type_new_;
5112 if ((ac__type_new_ *) 0)
5114 if (sizeof (ac__type_new_))
5120 rm -f conftest.
$ac_objext
5121 if { (ac_try
="$ac_compile"
5123 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5124 *) ac_try_echo=$ac_try;;
5126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5127 (eval "$ac_compile") 2>conftest.er1
5129 grep -v '^ *+' conftest.er1 >conftest.err
5131 cat conftest.err >&5
5132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5133 (exit $ac_status); } && {
5134 test -z "$ac_c_werror_flag" ||
5135 test ! -s conftest.err
5136 } && test -s conftest.$ac_objext; then
5137 ac_cv_type_off_t=yes
5139 echo "$as_me: failed program was:" >&5
5140 sed 's/^/| /' conftest.$ac_ext >&5
5145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5147 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5148 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
5149 if test $ac_cv_type_off_t = yes; then
5153 cat >>confdefs.h <<_ACEOF
5154 #define off_t long int
5159 { echo "$as_me:$LINENO: checking for size_t" >&5
5160 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
5161 if test "${ac_cv_type_size_t+set}" = set; then
5162 echo $ECHO_N "(cached) $ECHO_C" >&6
5164 cat >conftest.$ac_ext <<_ACEOF
5167 cat confdefs.h >>conftest.$ac_ext
5168 cat >>conftest.$ac_ext <<_ACEOF
5169 /* end confdefs.h. */
5170 $ac_includes_default
5171 typedef size_t ac__type_new_;
5175 if ((ac__type_new_ *) 0)
5177 if (sizeof (ac__type_new_))
5183 rm -f conftest.$ac_objext
5184 if { (ac_try="$ac_compile"
5186 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5187 *) ac_try_echo
=$ac_try;;
5189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5190 (eval "$ac_compile") 2>conftest.er1
5192 grep -v '^ *+' conftest.er1
>conftest.err
5194 cat conftest.err
>&5
5195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5196 (exit $ac_status); } && {
5197 test -z "$ac_c_werror_flag" ||
5198 test ! -s conftest.err
5199 } && test -s conftest.
$ac_objext; then
5200 ac_cv_type_size_t
=yes
5202 echo "$as_me: failed program was:" >&5
5203 sed 's/^/| /' conftest.
$ac_ext >&5
5205 ac_cv_type_size_t
=no
5208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5210 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5211 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
5212 if test $ac_cv_type_size_t = yes; then
5216 cat >>confdefs.h
<<_ACEOF
5217 #define size_t unsigned int
5222 { echo "$as_me:$LINENO: checking for int8" >&5
5223 echo $ECHO_N "checking for int8... $ECHO_C" >&6; }
5224 if test "${ac_cv_type_int8+set}" = set; then
5225 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 cat >conftest.
$ac_ext <<_ACEOF
5230 cat confdefs.h
>>conftest.
$ac_ext
5231 cat >>conftest.
$ac_ext <<_ACEOF
5232 /* end confdefs.h. */
5233 $ac_includes_default
5234 typedef int8 ac__type_new_;
5238 if ((ac__type_new_ *) 0)
5240 if (sizeof (ac__type_new_))
5246 rm -f conftest.
$ac_objext
5247 if { (ac_try
="$ac_compile"
5249 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5250 *) ac_try_echo=$ac_try;;
5252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5253 (eval "$ac_compile") 2>conftest.er1
5255 grep -v '^ *+' conftest.er1 >conftest.err
5257 cat conftest.err >&5
5258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5259 (exit $ac_status); } && {
5260 test -z "$ac_c_werror_flag" ||
5261 test ! -s conftest.err
5262 } && test -s conftest.$ac_objext; then
5265 echo "$as_me: failed program was:" >&5
5266 sed 's/^/| /' conftest.$ac_ext >&5
5271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5273 { echo "$as_me:$LINENO: result: $ac_cv_type_int8" >&5
5274 echo "${ECHO_T}$ac_cv_type_int8" >&6; }
5275 if test $ac_cv_type_int8 = yes; then
5277 cat >>confdefs.h <<_ACEOF
5284 { echo "$as_me:$LINENO: checking for uint8" >&5
5285 echo $ECHO_N "checking for uint8... $ECHO_C" >&6; }
5286 if test "${ac_cv_type_uint8+set}" = set; then
5287 echo $ECHO_N "(cached) $ECHO_C" >&6
5289 cat >conftest.$ac_ext <<_ACEOF
5292 cat confdefs.h >>conftest.$ac_ext
5293 cat >>conftest.$ac_ext <<_ACEOF
5294 /* end confdefs.h. */
5295 $ac_includes_default
5296 typedef uint8 ac__type_new_;
5300 if ((ac__type_new_ *) 0)
5302 if (sizeof (ac__type_new_))
5308 rm -f conftest.$ac_objext
5309 if { (ac_try="$ac_compile"
5311 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5312 *) ac_try_echo
=$ac_try;;
5314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5315 (eval "$ac_compile") 2>conftest.er1
5317 grep -v '^ *+' conftest.er1
>conftest.err
5319 cat conftest.err
>&5
5320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5321 (exit $ac_status); } && {
5322 test -z "$ac_c_werror_flag" ||
5323 test ! -s conftest.err
5324 } && test -s conftest.
$ac_objext; then
5325 ac_cv_type_uint8
=yes
5327 echo "$as_me: failed program was:" >&5
5328 sed 's/^/| /' conftest.
$ac_ext >&5
5333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5335 { echo "$as_me:$LINENO: result: $ac_cv_type_uint8" >&5
5336 echo "${ECHO_T}$ac_cv_type_uint8" >&6; }
5337 if test $ac_cv_type_uint8 = yes; then
5339 cat >>confdefs.h
<<_ACEOF
5340 #define HAVE_UINT8 1
5346 { echo "$as_me:$LINENO: checking for int16" >&5
5347 echo $ECHO_N "checking for int16... $ECHO_C" >&6; }
5348 if test "${ac_cv_type_int16+set}" = set; then
5349 echo $ECHO_N "(cached) $ECHO_C" >&6
5351 cat >conftest.
$ac_ext <<_ACEOF
5354 cat confdefs.h
>>conftest.
$ac_ext
5355 cat >>conftest.
$ac_ext <<_ACEOF
5356 /* end confdefs.h. */
5357 $ac_includes_default
5358 typedef int16 ac__type_new_;
5362 if ((ac__type_new_ *) 0)
5364 if (sizeof (ac__type_new_))
5370 rm -f conftest.
$ac_objext
5371 if { (ac_try
="$ac_compile"
5373 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5374 *) ac_try_echo=$ac_try;;
5376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5377 (eval "$ac_compile") 2>conftest.er1
5379 grep -v '^ *+' conftest.er1 >conftest.err
5381 cat conftest.err >&5
5382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5383 (exit $ac_status); } && {
5384 test -z "$ac_c_werror_flag" ||
5385 test ! -s conftest.err
5386 } && test -s conftest.$ac_objext; then
5387 ac_cv_type_int16=yes
5389 echo "$as_me: failed program was:" >&5
5390 sed 's/^/| /' conftest.$ac_ext >&5
5395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5397 { echo "$as_me:$LINENO: result: $ac_cv_type_int16" >&5
5398 echo "${ECHO_T}$ac_cv_type_int16" >&6; }
5399 if test $ac_cv_type_int16 = yes; then
5401 cat >>confdefs.h <<_ACEOF
5402 #define HAVE_INT16 1
5408 { echo "$as_me:$LINENO: checking for uint16" >&5
5409 echo $ECHO_N "checking for uint16... $ECHO_C" >&6; }
5410 if test "${ac_cv_type_uint16+set}" = set; then
5411 echo $ECHO_N "(cached) $ECHO_C" >&6
5413 cat >conftest.$ac_ext <<_ACEOF
5416 cat confdefs.h >>conftest.$ac_ext
5417 cat >>conftest.$ac_ext <<_ACEOF
5418 /* end confdefs.h. */
5419 $ac_includes_default
5420 typedef uint16 ac__type_new_;
5424 if ((ac__type_new_ *) 0)
5426 if (sizeof (ac__type_new_))
5432 rm -f conftest.$ac_objext
5433 if { (ac_try="$ac_compile"
5435 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5436 *) ac_try_echo
=$ac_try;;
5438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5439 (eval "$ac_compile") 2>conftest.er1
5441 grep -v '^ *+' conftest.er1
>conftest.err
5443 cat conftest.err
>&5
5444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5445 (exit $ac_status); } && {
5446 test -z "$ac_c_werror_flag" ||
5447 test ! -s conftest.err
5448 } && test -s conftest.
$ac_objext; then
5449 ac_cv_type_uint16
=yes
5451 echo "$as_me: failed program was:" >&5
5452 sed 's/^/| /' conftest.
$ac_ext >&5
5454 ac_cv_type_uint16
=no
5457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5459 { echo "$as_me:$LINENO: result: $ac_cv_type_uint16" >&5
5460 echo "${ECHO_T}$ac_cv_type_uint16" >&6; }
5461 if test $ac_cv_type_uint16 = yes; then
5463 cat >>confdefs.h
<<_ACEOF
5464 #define HAVE_UINT16 1
5470 { echo "$as_me:$LINENO: checking for int32" >&5
5471 echo $ECHO_N "checking for int32... $ECHO_C" >&6; }
5472 if test "${ac_cv_type_int32+set}" = set; then
5473 echo $ECHO_N "(cached) $ECHO_C" >&6
5475 cat >conftest.
$ac_ext <<_ACEOF
5478 cat confdefs.h
>>conftest.
$ac_ext
5479 cat >>conftest.
$ac_ext <<_ACEOF
5480 /* end confdefs.h. */
5481 $ac_includes_default
5482 typedef int32 ac__type_new_;
5486 if ((ac__type_new_ *) 0)
5488 if (sizeof (ac__type_new_))
5494 rm -f conftest.
$ac_objext
5495 if { (ac_try
="$ac_compile"
5497 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5498 *) ac_try_echo=$ac_try;;
5500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5501 (eval "$ac_compile") 2>conftest.er1
5503 grep -v '^ *+' conftest.er1 >conftest.err
5505 cat conftest.err >&5
5506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507 (exit $ac_status); } && {
5508 test -z "$ac_c_werror_flag" ||
5509 test ! -s conftest.err
5510 } && test -s conftest.$ac_objext; then
5511 ac_cv_type_int32=yes
5513 echo "$as_me: failed program was:" >&5
5514 sed 's/^/| /' conftest.$ac_ext >&5
5519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5521 { echo "$as_me:$LINENO: result: $ac_cv_type_int32" >&5
5522 echo "${ECHO_T}$ac_cv_type_int32" >&6; }
5523 if test $ac_cv_type_int32 = yes; then
5525 cat >>confdefs.h <<_ACEOF
5526 #define HAVE_INT32 1
5532 { echo "$as_me:$LINENO: checking for uint32" >&5
5533 echo $ECHO_N "checking for uint32... $ECHO_C" >&6; }
5534 if test "${ac_cv_type_uint32+set}" = set; then
5535 echo $ECHO_N "(cached) $ECHO_C" >&6
5537 cat >conftest.$ac_ext <<_ACEOF
5540 cat confdefs.h >>conftest.$ac_ext
5541 cat >>conftest.$ac_ext <<_ACEOF
5542 /* end confdefs.h. */
5543 $ac_includes_default
5544 typedef uint32 ac__type_new_;
5548 if ((ac__type_new_ *) 0)
5550 if (sizeof (ac__type_new_))
5556 rm -f conftest.$ac_objext
5557 if { (ac_try="$ac_compile"
5559 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5560 *) ac_try_echo
=$ac_try;;
5562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5563 (eval "$ac_compile") 2>conftest.er1
5565 grep -v '^ *+' conftest.er1
>conftest.err
5567 cat conftest.err
>&5
5568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5569 (exit $ac_status); } && {
5570 test -z "$ac_c_werror_flag" ||
5571 test ! -s conftest.err
5572 } && test -s conftest.
$ac_objext; then
5573 ac_cv_type_uint32
=yes
5575 echo "$as_me: failed program was:" >&5
5576 sed 's/^/| /' conftest.
$ac_ext >&5
5578 ac_cv_type_uint32
=no
5581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5583 { echo "$as_me:$LINENO: result: $ac_cv_type_uint32" >&5
5584 echo "${ECHO_T}$ac_cv_type_uint32" >&6; }
5585 if test $ac_cv_type_uint32 = yes; then
5587 cat >>confdefs.h
<<_ACEOF
5588 #define HAVE_UINT32 1
5594 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5595 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
5596 if test "${ac_cv_header_time+set}" = set; then
5597 echo $ECHO_N "(cached) $ECHO_C" >&6
5599 cat >conftest.
$ac_ext <<_ACEOF
5602 cat confdefs.h
>>conftest.
$ac_ext
5603 cat >>conftest.
$ac_ext <<_ACEOF
5604 /* end confdefs.h. */
5605 #include <sys/types.h>
5606 #include <sys/time.h>
5612 if ((struct tm *) 0)
5618 rm -f conftest.
$ac_objext
5619 if { (ac_try
="$ac_compile"
5621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5622 *) ac_try_echo=$ac_try;;
5624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5625 (eval "$ac_compile") 2>conftest.er1
5627 grep -v '^ *+' conftest.er1 >conftest.err
5629 cat conftest.err >&5
5630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5631 (exit $ac_status); } && {
5632 test -z "$ac_c_werror_flag" ||
5633 test ! -s conftest.err
5634 } && test -s conftest.$ac_objext; then
5635 ac_cv_header_time=yes
5637 echo "$as_me: failed program was:" >&5
5638 sed 's/^/| /' conftest.$ac_ext >&5
5640 ac_cv_header_time=no
5643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5645 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5646 echo "${ECHO_T}$ac_cv_header_time" >&6; }
5647 if test $ac_cv_header_time = yes; then
5649 cat >>confdefs.h <<\_ACEOF
5650 #define TIME_WITH_SYS_TIME 1
5655 { echo "$as_me:$LINENO: checking for short" >&5
5656 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
5657 if test "${ac_cv_type_short+set}" = set; then
5658 echo $ECHO_N "(cached) $ECHO_C" >&6
5660 cat >conftest.$ac_ext <<_ACEOF
5663 cat confdefs.h >>conftest.$ac_ext
5664 cat >>conftest.$ac_ext <<_ACEOF
5665 /* end confdefs.h. */
5666 $ac_includes_default
5667 typedef short ac__type_new_;
5671 if ((ac__type_new_ *) 0)
5673 if (sizeof (ac__type_new_))
5679 rm -f conftest.$ac_objext
5680 if { (ac_try="$ac_compile"
5682 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5683 *) ac_try_echo
=$ac_try;;
5685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5686 (eval "$ac_compile") 2>conftest.er1
5688 grep -v '^ *+' conftest.er1
>conftest.err
5690 cat conftest.err
>&5
5691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5692 (exit $ac_status); } && {
5693 test -z "$ac_c_werror_flag" ||
5694 test ! -s conftest.err
5695 } && test -s conftest.
$ac_objext; then
5696 ac_cv_type_short
=yes
5698 echo "$as_me: failed program was:" >&5
5699 sed 's/^/| /' conftest.
$ac_ext >&5
5704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5706 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
5707 echo "${ECHO_T}$ac_cv_type_short" >&6; }
5709 # The cast to long int works around a bug in the HP C Compiler
5710 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5711 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5712 # This bug is HP SR number 8606223364.
5713 { echo "$as_me:$LINENO: checking size of short" >&5
5714 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
5715 if test "${ac_cv_sizeof_short+set}" = set; then
5716 echo $ECHO_N "(cached) $ECHO_C" >&6
5718 if test "$cross_compiling" = yes; then
5719 # Depending upon the size, compute the lo and hi bounds.
5720 cat >conftest.
$ac_ext <<_ACEOF
5723 cat confdefs.h
>>conftest.
$ac_ext
5724 cat >>conftest.
$ac_ext <<_ACEOF
5725 /* end confdefs.h. */
5726 $ac_includes_default
5727 typedef short ac__type_sizeof_;
5731 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5738 rm -f conftest.
$ac_objext
5739 if { (ac_try
="$ac_compile"
5741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5742 *) ac_try_echo=$ac_try;;
5744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5745 (eval "$ac_compile") 2>conftest.er1
5747 grep -v '^ *+' conftest.er1 >conftest.err
5749 cat conftest.err >&5
5750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751 (exit $ac_status); } && {
5752 test -z "$ac_c_werror_flag" ||
5753 test ! -s conftest.err
5754 } && test -s conftest.$ac_objext; then
5757 cat >conftest.$ac_ext <<_ACEOF
5760 cat confdefs.h >>conftest.$ac_ext
5761 cat >>conftest.$ac_ext <<_ACEOF
5762 /* end confdefs.h. */
5763 $ac_includes_default
5764 typedef short ac__type_sizeof_;
5768 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5775 rm -f conftest.$ac_objext
5776 if { (ac_try="$ac_compile"
5778 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5779 *) ac_try_echo
=$ac_try;;
5781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5782 (eval "$ac_compile") 2>conftest.er1
5784 grep -v '^ *+' conftest.er1
>conftest.err
5786 cat conftest.err
>&5
5787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5788 (exit $ac_status); } && {
5789 test -z "$ac_c_werror_flag" ||
5790 test ! -s conftest.err
5791 } && test -s conftest.
$ac_objext; then
5792 ac_hi
=$ac_mid; break
5794 echo "$as_me: failed program was:" >&5
5795 sed 's/^/| /' conftest.
$ac_ext >&5
5797 ac_lo
=`expr $ac_mid + 1`
5798 if test $ac_lo -le $ac_mid; then
5802 ac_mid
=`expr 2 '*' $ac_mid + 1`
5805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5808 echo "$as_me: failed program was:" >&5
5809 sed 's/^/| /' conftest.
$ac_ext >&5
5811 cat >conftest.
$ac_ext <<_ACEOF
5814 cat confdefs.h
>>conftest.
$ac_ext
5815 cat >>conftest.
$ac_ext <<_ACEOF
5816 /* end confdefs.h. */
5817 $ac_includes_default
5818 typedef short ac__type_sizeof_;
5822 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5829 rm -f conftest.
$ac_objext
5830 if { (ac_try
="$ac_compile"
5832 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5833 *) ac_try_echo=$ac_try;;
5835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5836 (eval "$ac_compile") 2>conftest.er1
5838 grep -v '^ *+' conftest.er1 >conftest.err
5840 cat conftest.err >&5
5841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5842 (exit $ac_status); } && {
5843 test -z "$ac_c_werror_flag" ||
5844 test ! -s conftest.err
5845 } && test -s conftest.$ac_objext; then
5848 cat >conftest.$ac_ext <<_ACEOF
5851 cat confdefs.h >>conftest.$ac_ext
5852 cat >>conftest.$ac_ext <<_ACEOF
5853 /* end confdefs.h. */
5854 $ac_includes_default
5855 typedef short ac__type_sizeof_;
5859 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5866 rm -f conftest.$ac_objext
5867 if { (ac_try="$ac_compile"
5869 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5870 *) ac_try_echo
=$ac_try;;
5872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5873 (eval "$ac_compile") 2>conftest.er1
5875 grep -v '^ *+' conftest.er1
>conftest.err
5877 cat conftest.err
>&5
5878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5879 (exit $ac_status); } && {
5880 test -z "$ac_c_werror_flag" ||
5881 test ! -s conftest.err
5882 } && test -s conftest.
$ac_objext; then
5883 ac_lo
=$ac_mid; break
5885 echo "$as_me: failed program was:" >&5
5886 sed 's/^/| /' conftest.
$ac_ext >&5
5888 ac_hi
=`expr '(' $ac_mid ')' - 1`
5889 if test $ac_mid -le $ac_hi; then
5893 ac_mid
=`expr 2 '*' $ac_mid`
5896 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5899 echo "$as_me: failed program was:" >&5
5900 sed 's/^/| /' conftest.
$ac_ext >&5
5905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5909 # Binary search between lo and hi bounds.
5910 while test "x$ac_lo" != "x$ac_hi"; do
5911 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5912 cat >conftest.
$ac_ext <<_ACEOF
5915 cat confdefs.h
>>conftest.
$ac_ext
5916 cat >>conftest.
$ac_ext <<_ACEOF
5917 /* end confdefs.h. */
5918 $ac_includes_default
5919 typedef short ac__type_sizeof_;
5923 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5930 rm -f conftest.
$ac_objext
5931 if { (ac_try
="$ac_compile"
5933 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5934 *) ac_try_echo=$ac_try;;
5936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5937 (eval "$ac_compile") 2>conftest.er1
5939 grep -v '^ *+' conftest.er1 >conftest.err
5941 cat conftest.err >&5
5942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943 (exit $ac_status); } && {
5944 test -z "$ac_c_werror_flag" ||
5945 test ! -s conftest.err
5946 } && test -s conftest.$ac_objext; then
5949 echo "$as_me: failed program was:" >&5
5950 sed 's/^/| /' conftest.$ac_ext >&5
5952 ac_lo=`expr '(' $ac_mid ')' + 1`
5955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5958 ?*) ac_cv_sizeof_short=$ac_lo;;
5959 '') if test "$ac_cv_type_short" = yes; then
5960 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
5961 See \`config.log
' for more details." >&5
5962 echo "$as_me: error: cannot compute sizeof (short)
5963 See \`config.log' for more details.
" >&2;}
5964 { (exit 77); exit 77; }; }
5966 ac_cv_sizeof_short=0
5970 cat >conftest.$ac_ext <<_ACEOF
5973 cat confdefs.h >>conftest.$ac_ext
5974 cat >>conftest.$ac_ext <<_ACEOF
5975 /* end confdefs.h. */
5976 $ac_includes_default
5977 typedef short ac__type_sizeof_;
5978 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5979 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5986 FILE *f = fopen ("conftest.val
", "w
");
5989 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5991 long int i = longval ();
5992 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5994 fprintf (f, "%ld
\n", i);
5998 unsigned long int i = ulongval ();
5999 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6001 fprintf (f, "%lu
\n", i);
6003 return ferror (f) || fclose (f) != 0;
6009 rm -f conftest$ac_exeext
6010 if { (ac_try="$ac_link"
6012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6013 *) ac_try_echo=$ac_try;;
6015 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6016 (eval "$ac_link") 2>&5
6018 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6019 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6020 { (case "(($ac_try" in
6021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6022 *) ac_try_echo=$ac_try;;
6024 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6025 (eval "$ac_try") 2>&5
6027 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6028 (exit $ac_status); }; }; then
6029 ac_cv_sizeof_short=`cat conftest.val`
6031 echo "$as_me: program exited with status
$ac_status" >&5
6032 echo "$as_me: failed program was
:" >&5
6033 sed 's/^/| /' conftest.$ac_ext >&5
6036 if test "$ac_cv_type_short" = yes; then
6037 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
6038 See \
`config.log' for more details." >&5
6039 echo "$as_me: error: cannot compute sizeof (short)
6040 See \`config.log
' for more details." >&2;}
6041 { (exit 77); exit 77; }; }
6043 ac_cv_sizeof_short=0
6046 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6050 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
6051 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
6055 cat >>confdefs.h <<_ACEOF
6056 #define SIZEOF_SHORT $ac_cv_sizeof_short
6060 { echo "$as_me:$LINENO: checking for int" >&5
6061 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
6062 if test "${ac_cv_type_int+set}" = set; then
6063 echo $ECHO_N "(cached) $ECHO_C" >&6
6065 cat >conftest.$ac_ext <<_ACEOF
6068 cat confdefs.h >>conftest.$ac_ext
6069 cat >>conftest.$ac_ext <<_ACEOF
6070 /* end confdefs.h. */
6071 $ac_includes_default
6072 typedef int ac__type_new_;
6076 if ((ac__type_new_ *) 0)
6078 if (sizeof (ac__type_new_))
6084 rm -f conftest.$ac_objext
6085 if { (ac_try="$ac_compile"
6087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6088 *) ac_try_echo=$ac_try;;
6090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6091 (eval "$ac_compile") 2>conftest.er1
6093 grep -v '^
*+' conftest.er1 >conftest.err
6095 cat conftest.err >&5
6096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 (exit $ac_status); } && {
6098 test -z "$ac_c_werror_flag" ||
6099 test ! -s conftest.err
6100 } && test -s conftest.$ac_objext; then
6103 echo "$as_me: failed program was:" >&5
6104 sed 's
/^
/|
/' conftest.$ac_ext >&5
6109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6111 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
6112 echo "${ECHO_T}$ac_cv_type_int" >&6; }
6114 # The cast to long int works around a bug in the HP C Compiler
6115 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6116 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6117 # This bug is HP SR number 8606223364.
6118 { echo "$as_me:$LINENO: checking size of int" >&5
6119 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
6120 if test "${ac_cv_sizeof_int+set}" = set; then
6121 echo $ECHO_N "(cached) $ECHO_C" >&6
6123 if test "$cross_compiling" = yes; then
6124 # Depending upon the size, compute the lo and hi bounds.
6125 cat >conftest.
$ac_ext <<_ACEOF
6128 cat confdefs.h
>>conftest.
$ac_ext
6129 cat >>conftest.
$ac_ext <<_ACEOF
6130 /* end confdefs.h. */
6131 $ac_includes_default
6132 typedef int ac__type_sizeof_;
6136 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6143 rm -f conftest.
$ac_objext
6144 if { (ac_try
="$ac_compile"
6146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6147 *) ac_try_echo=$ac_try;;
6149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6150 (eval "$ac_compile") 2>conftest.er1
6152 grep -v '^ *+' conftest.er1 >conftest.err
6154 cat conftest.err >&5
6155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156 (exit $ac_status); } && {
6157 test -z "$ac_c_werror_flag" ||
6158 test ! -s conftest.err
6159 } && test -s conftest.$ac_objext; then
6162 cat >conftest.$ac_ext <<_ACEOF
6165 cat confdefs.h >>conftest.$ac_ext
6166 cat >>conftest.$ac_ext <<_ACEOF
6167 /* end confdefs.h. */
6168 $ac_includes_default
6169 typedef int ac__type_sizeof_;
6173 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6180 rm -f conftest.$ac_objext
6181 if { (ac_try="$ac_compile"
6183 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6184 *) ac_try_echo
=$ac_try;;
6186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6187 (eval "$ac_compile") 2>conftest.er1
6189 grep -v '^ *+' conftest.er1
>conftest.err
6191 cat conftest.err
>&5
6192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6193 (exit $ac_status); } && {
6194 test -z "$ac_c_werror_flag" ||
6195 test ! -s conftest.err
6196 } && test -s conftest.
$ac_objext; then
6197 ac_hi
=$ac_mid; break
6199 echo "$as_me: failed program was:" >&5
6200 sed 's/^/| /' conftest.
$ac_ext >&5
6202 ac_lo
=`expr $ac_mid + 1`
6203 if test $ac_lo -le $ac_mid; then
6207 ac_mid
=`expr 2 '*' $ac_mid + 1`
6210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6213 echo "$as_me: failed program was:" >&5
6214 sed 's/^/| /' conftest.
$ac_ext >&5
6216 cat >conftest.
$ac_ext <<_ACEOF
6219 cat confdefs.h
>>conftest.
$ac_ext
6220 cat >>conftest.
$ac_ext <<_ACEOF
6221 /* end confdefs.h. */
6222 $ac_includes_default
6223 typedef int ac__type_sizeof_;
6227 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6234 rm -f conftest.
$ac_objext
6235 if { (ac_try
="$ac_compile"
6237 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6238 *) ac_try_echo=$ac_try;;
6240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6241 (eval "$ac_compile") 2>conftest.er1
6243 grep -v '^ *+' conftest.er1 >conftest.err
6245 cat conftest.err >&5
6246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6247 (exit $ac_status); } && {
6248 test -z "$ac_c_werror_flag" ||
6249 test ! -s conftest.err
6250 } && test -s conftest.$ac_objext; then
6253 cat >conftest.$ac_ext <<_ACEOF
6256 cat confdefs.h >>conftest.$ac_ext
6257 cat >>conftest.$ac_ext <<_ACEOF
6258 /* end confdefs.h. */
6259 $ac_includes_default
6260 typedef int ac__type_sizeof_;
6264 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
6271 rm -f conftest.$ac_objext
6272 if { (ac_try="$ac_compile"
6274 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6275 *) ac_try_echo
=$ac_try;;
6277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6278 (eval "$ac_compile") 2>conftest.er1
6280 grep -v '^ *+' conftest.er1
>conftest.err
6282 cat conftest.err
>&5
6283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284 (exit $ac_status); } && {
6285 test -z "$ac_c_werror_flag" ||
6286 test ! -s conftest.err
6287 } && test -s conftest.
$ac_objext; then
6288 ac_lo
=$ac_mid; break
6290 echo "$as_me: failed program was:" >&5
6291 sed 's/^/| /' conftest.
$ac_ext >&5
6293 ac_hi
=`expr '(' $ac_mid ')' - 1`
6294 if test $ac_mid -le $ac_hi; then
6298 ac_mid
=`expr 2 '*' $ac_mid`
6301 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6304 echo "$as_me: failed program was:" >&5
6305 sed 's/^/| /' conftest.
$ac_ext >&5
6310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6314 # Binary search between lo and hi bounds.
6315 while test "x$ac_lo" != "x$ac_hi"; do
6316 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6317 cat >conftest.
$ac_ext <<_ACEOF
6320 cat confdefs.h
>>conftest.
$ac_ext
6321 cat >>conftest.
$ac_ext <<_ACEOF
6322 /* end confdefs.h. */
6323 $ac_includes_default
6324 typedef int ac__type_sizeof_;
6328 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6335 rm -f conftest.
$ac_objext
6336 if { (ac_try
="$ac_compile"
6338 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6339 *) ac_try_echo=$ac_try;;
6341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6342 (eval "$ac_compile") 2>conftest.er1
6344 grep -v '^ *+' conftest.er1 >conftest.err
6346 cat conftest.err >&5
6347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6348 (exit $ac_status); } && {
6349 test -z "$ac_c_werror_flag" ||
6350 test ! -s conftest.err
6351 } && test -s conftest.$ac_objext; then
6354 echo "$as_me: failed program was:" >&5
6355 sed 's/^/| /' conftest.$ac_ext >&5
6357 ac_lo=`expr '(' $ac_mid ')' + 1`
6360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6363 ?*) ac_cv_sizeof_int=$ac_lo;;
6364 '') if test "$ac_cv_type_int" = yes; then
6365 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
6366 See \`config.log
' for more details." >&5
6367 echo "$as_me: error: cannot compute sizeof (int)
6368 See \`config.log' for more details.
" >&2;}
6369 { (exit 77); exit 77; }; }
6375 cat >conftest.$ac_ext <<_ACEOF
6378 cat confdefs.h >>conftest.$ac_ext
6379 cat >>conftest.$ac_ext <<_ACEOF
6380 /* end confdefs.h. */
6381 $ac_includes_default
6382 typedef int ac__type_sizeof_;
6383 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6384 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
6391 FILE *f = fopen ("conftest.val
", "w
");
6394 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
6396 long int i = longval ();
6397 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6399 fprintf (f, "%ld
\n", i);
6403 unsigned long int i = ulongval ();
6404 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6406 fprintf (f, "%lu
\n", i);
6408 return ferror (f) || fclose (f) != 0;
6414 rm -f conftest$ac_exeext
6415 if { (ac_try="$ac_link"
6417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6418 *) ac_try_echo=$ac_try;;
6420 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6421 (eval "$ac_link") 2>&5
6423 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6424 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6425 { (case "(($ac_try" in
6426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6427 *) ac_try_echo=$ac_try;;
6429 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6430 (eval "$ac_try") 2>&5
6432 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6433 (exit $ac_status); }; }; then
6434 ac_cv_sizeof_int=`cat conftest.val`
6436 echo "$as_me: program exited with status
$ac_status" >&5
6437 echo "$as_me: failed program was
:" >&5
6438 sed 's/^/| /' conftest.$ac_ext >&5
6441 if test "$ac_cv_type_int" = yes; then
6442 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
6443 See \
`config.log' for more details." >&5
6444 echo "$as_me: error: cannot compute sizeof (int)
6445 See \`config.log
' for more details." >&2;}
6446 { (exit 77); exit 77; }; }
6451 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6455 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
6456 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
6460 cat >>confdefs.h <<_ACEOF
6461 #define SIZEOF_INT $ac_cv_sizeof_int
6465 { echo "$as_me:$LINENO: checking for long" >&5
6466 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
6467 if test "${ac_cv_type_long+set}" = set; then
6468 echo $ECHO_N "(cached) $ECHO_C" >&6
6470 cat >conftest.$ac_ext <<_ACEOF
6473 cat confdefs.h >>conftest.$ac_ext
6474 cat >>conftest.$ac_ext <<_ACEOF
6475 /* end confdefs.h. */
6476 $ac_includes_default
6477 typedef long ac__type_new_;
6481 if ((ac__type_new_ *) 0)
6483 if (sizeof (ac__type_new_))
6489 rm -f conftest.$ac_objext
6490 if { (ac_try="$ac_compile"
6492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6493 *) ac_try_echo=$ac_try;;
6495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6496 (eval "$ac_compile") 2>conftest.er1
6498 grep -v '^
*+' conftest.er1 >conftest.err
6500 cat conftest.err >&5
6501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 (exit $ac_status); } && {
6503 test -z "$ac_c_werror_flag" ||
6504 test ! -s conftest.err
6505 } && test -s conftest.$ac_objext; then
6508 echo "$as_me: failed program was:" >&5
6509 sed 's
/^
/|
/' conftest.$ac_ext >&5
6514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6516 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
6517 echo "${ECHO_T}$ac_cv_type_long" >&6; }
6519 # The cast to long int works around a bug in the HP C Compiler
6520 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6521 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6522 # This bug is HP SR number 8606223364.
6523 { echo "$as_me:$LINENO: checking size of long" >&5
6524 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
6525 if test "${ac_cv_sizeof_long+set}" = set; then
6526 echo $ECHO_N "(cached) $ECHO_C" >&6
6528 if test "$cross_compiling" = yes; then
6529 # Depending upon the size, compute the lo and hi bounds.
6530 cat >conftest.
$ac_ext <<_ACEOF
6533 cat confdefs.h
>>conftest.
$ac_ext
6534 cat >>conftest.
$ac_ext <<_ACEOF
6535 /* end confdefs.h. */
6536 $ac_includes_default
6537 typedef long ac__type_sizeof_;
6541 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6548 rm -f conftest.
$ac_objext
6549 if { (ac_try
="$ac_compile"
6551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6552 *) ac_try_echo=$ac_try;;
6554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6555 (eval "$ac_compile") 2>conftest.er1
6557 grep -v '^ *+' conftest.er1 >conftest.err
6559 cat conftest.err >&5
6560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561 (exit $ac_status); } && {
6562 test -z "$ac_c_werror_flag" ||
6563 test ! -s conftest.err
6564 } && test -s conftest.$ac_objext; then
6567 cat >conftest.$ac_ext <<_ACEOF
6570 cat confdefs.h >>conftest.$ac_ext
6571 cat >>conftest.$ac_ext <<_ACEOF
6572 /* end confdefs.h. */
6573 $ac_includes_default
6574 typedef long ac__type_sizeof_;
6578 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6585 rm -f conftest.$ac_objext
6586 if { (ac_try="$ac_compile"
6588 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6589 *) ac_try_echo
=$ac_try;;
6591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6592 (eval "$ac_compile") 2>conftest.er1
6594 grep -v '^ *+' conftest.er1
>conftest.err
6596 cat conftest.err
>&5
6597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6598 (exit $ac_status); } && {
6599 test -z "$ac_c_werror_flag" ||
6600 test ! -s conftest.err
6601 } && test -s conftest.
$ac_objext; then
6602 ac_hi
=$ac_mid; break
6604 echo "$as_me: failed program was:" >&5
6605 sed 's/^/| /' conftest.
$ac_ext >&5
6607 ac_lo
=`expr $ac_mid + 1`
6608 if test $ac_lo -le $ac_mid; then
6612 ac_mid
=`expr 2 '*' $ac_mid + 1`
6615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6618 echo "$as_me: failed program was:" >&5
6619 sed 's/^/| /' conftest.
$ac_ext >&5
6621 cat >conftest.
$ac_ext <<_ACEOF
6624 cat confdefs.h
>>conftest.
$ac_ext
6625 cat >>conftest.
$ac_ext <<_ACEOF
6626 /* end confdefs.h. */
6627 $ac_includes_default
6628 typedef long ac__type_sizeof_;
6632 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6639 rm -f conftest.
$ac_objext
6640 if { (ac_try
="$ac_compile"
6642 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6643 *) ac_try_echo=$ac_try;;
6645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6646 (eval "$ac_compile") 2>conftest.er1
6648 grep -v '^ *+' conftest.er1 >conftest.err
6650 cat conftest.err >&5
6651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652 (exit $ac_status); } && {
6653 test -z "$ac_c_werror_flag" ||
6654 test ! -s conftest.err
6655 } && test -s conftest.$ac_objext; then
6658 cat >conftest.$ac_ext <<_ACEOF
6661 cat confdefs.h >>conftest.$ac_ext
6662 cat >>conftest.$ac_ext <<_ACEOF
6663 /* end confdefs.h. */
6664 $ac_includes_default
6665 typedef long ac__type_sizeof_;
6669 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
6676 rm -f conftest.$ac_objext
6677 if { (ac_try="$ac_compile"
6679 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6680 *) ac_try_echo
=$ac_try;;
6682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6683 (eval "$ac_compile") 2>conftest.er1
6685 grep -v '^ *+' conftest.er1
>conftest.err
6687 cat conftest.err
>&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); } && {
6690 test -z "$ac_c_werror_flag" ||
6691 test ! -s conftest.err
6692 } && test -s conftest.
$ac_objext; then
6693 ac_lo
=$ac_mid; break
6695 echo "$as_me: failed program was:" >&5
6696 sed 's/^/| /' conftest.
$ac_ext >&5
6698 ac_hi
=`expr '(' $ac_mid ')' - 1`
6699 if test $ac_mid -le $ac_hi; then
6703 ac_mid
=`expr 2 '*' $ac_mid`
6706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6709 echo "$as_me: failed program was:" >&5
6710 sed 's/^/| /' conftest.
$ac_ext >&5
6715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6719 # Binary search between lo and hi bounds.
6720 while test "x$ac_lo" != "x$ac_hi"; do
6721 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6722 cat >conftest.
$ac_ext <<_ACEOF
6725 cat confdefs.h
>>conftest.
$ac_ext
6726 cat >>conftest.
$ac_ext <<_ACEOF
6727 /* end confdefs.h. */
6728 $ac_includes_default
6729 typedef long ac__type_sizeof_;
6733 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6740 rm -f conftest.
$ac_objext
6741 if { (ac_try
="$ac_compile"
6743 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6744 *) ac_try_echo=$ac_try;;
6746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6747 (eval "$ac_compile") 2>conftest.er1
6749 grep -v '^ *+' conftest.er1 >conftest.err
6751 cat conftest.err >&5
6752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6753 (exit $ac_status); } && {
6754 test -z "$ac_c_werror_flag" ||
6755 test ! -s conftest.err
6756 } && test -s conftest.$ac_objext; then
6759 echo "$as_me: failed program was:" >&5
6760 sed 's/^/| /' conftest.$ac_ext >&5
6762 ac_lo=`expr '(' $ac_mid ')' + 1`
6765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6768 ?*) ac_cv_sizeof_long=$ac_lo;;
6769 '') if test "$ac_cv_type_long" = yes; then
6770 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
6771 See \`config.log
' for more details." >&5
6772 echo "$as_me: error: cannot compute sizeof (long)
6773 See \`config.log' for more details.
" >&2;}
6774 { (exit 77); exit 77; }; }
6780 cat >conftest.$ac_ext <<_ACEOF
6783 cat confdefs.h >>conftest.$ac_ext
6784 cat >>conftest.$ac_ext <<_ACEOF
6785 /* end confdefs.h. */
6786 $ac_includes_default
6787 typedef long ac__type_sizeof_;
6788 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6789 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
6796 FILE *f = fopen ("conftest.val
", "w
");
6799 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
6801 long int i = longval ();
6802 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6804 fprintf (f, "%ld
\n", i);
6808 unsigned long int i = ulongval ();
6809 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6811 fprintf (f, "%lu
\n", i);
6813 return ferror (f) || fclose (f) != 0;
6819 rm -f conftest$ac_exeext
6820 if { (ac_try="$ac_link"
6822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6823 *) ac_try_echo=$ac_try;;
6825 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6826 (eval "$ac_link") 2>&5
6828 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6829 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6830 { (case "(($ac_try" in
6831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6832 *) ac_try_echo=$ac_try;;
6834 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6835 (eval "$ac_try") 2>&5
6837 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6838 (exit $ac_status); }; }; then
6839 ac_cv_sizeof_long=`cat conftest.val`
6841 echo "$as_me: program exited with status
$ac_status" >&5
6842 echo "$as_me: failed program was
:" >&5
6843 sed 's/^/| /' conftest.$ac_ext >&5
6846 if test "$ac_cv_type_long" = yes; then
6847 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
6848 See \
`config.log' for more details." >&5
6849 echo "$as_me: error: cannot compute sizeof (long)
6850 See \`config.log
' for more details." >&2;}
6851 { (exit 77); exit 77; }; }
6856 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6860 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
6861 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
6865 cat >>confdefs.h <<_ACEOF
6866 #define SIZEOF_LONG $ac_cv_sizeof_long
6871 { echo "$as_me:$LINENO: checking for working memcmp" >&5
6872 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
6873 if test "${ac_cv_func_memcmp_working+set}" = set; then
6874 echo $ECHO_N "(cached) $ECHO_C" >&6
6876 if test "$cross_compiling" = yes; then
6877 ac_cv_func_memcmp_working=no
6879 cat >conftest.$ac_ext <<_ACEOF
6882 cat confdefs.h >>conftest.$ac_ext
6883 cat >>conftest.$ac_ext <<_ACEOF
6884 /* end confdefs.h. */
6885 $ac_includes_default
6890 /* Some versions of memcmp are not 8-bit clean. */
6891 char c0 = '\100', c1 = '\200', c2 = '\201';
6892 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
6895 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
6896 or more and with at least one buffer not starting on a 4-byte boundary.
6897 William Lewis provided this test program. */
6902 for (i = 0; i < 4; i++)
6906 strcpy (a, "--------01111111");
6907 strcpy (b, "--------10000000");
6908 if (memcmp (a, b, 16) >= 0)
6918 rm -f conftest$ac_exeext
6919 if { (ac_try="$ac_link"
6921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6922 *) ac_try_echo=$ac_try;;
6924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6925 (eval "$ac_link") 2>&5
6927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6928 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
6929 { (case "(($ac_try" in
6930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6931 *) ac_try_echo=$ac_try;;
6933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6934 (eval "$ac_try") 2>&5
6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937 (exit $ac_status); }; }; then
6938 ac_cv_func_memcmp_working=yes
6940 echo "$as_me: program exited with status $ac_status" >&5
6941 echo "$as_me: failed program was:" >&5
6942 sed 's
/^
/|
/' conftest.$ac_ext >&5
6945 ac_cv_func_memcmp_working=no
6947 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6952 { echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
6953 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
6954 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
6955 *" memcmp.$ac_objext "* ) ;;
6956 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
6961 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6962 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
6963 if test "${ac_cv_type_signal+set}" = set; then
6964 echo $ECHO_N "(cached) $ECHO_C" >&6
6966 cat >conftest.$ac_ext <<_ACEOF
6969 cat confdefs.h >>conftest.$ac_ext
6970 cat >>conftest.$ac_ext <<_ACEOF
6971 /* end confdefs.h. */
6972 #include <sys/types.h>
6978 return *(signal (0, 0)) (0) == 1;
6983 rm -f conftest.$ac_objext
6984 if { (ac_try="$ac_compile"
6986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6987 *) ac_try_echo=$ac_try;;
6989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6990 (eval "$ac_compile") 2>conftest.er1
6992 grep -v '^
*+' conftest.er1 >conftest.err
6994 cat conftest.err >&5
6995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6996 (exit $ac_status); } && {
6997 test -z "$ac_c_werror_flag" ||
6998 test ! -s conftest.err
6999 } && test -s conftest.$ac_objext; then
7000 ac_cv_type_signal=int
7002 echo "$as_me: failed program was:" >&5
7003 sed 's
/^
/|
/' conftest.$ac_ext >&5
7005 ac_cv_type_signal=void
7008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7010 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
7011 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
7013 cat >>confdefs.h <<_ACEOF
7014 #define RETSIGTYPE $ac_cv_type_signal
7022 for ac_header in $ac_header_list
7024 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7025 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7026 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7027 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7028 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7029 echo $ECHO_N "(cached) $ECHO_C" >&6
7031 ac_res=`eval echo '${'$as_ac_Header'}'`
7032 { echo "$as_me:$LINENO: result: $ac_res" >&5
7033 echo "${ECHO_T}$ac_res" >&6; }
7035 # Is the header compilable?
7036 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7037 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7038 cat >conftest.$ac_ext <<_ACEOF
7041 cat confdefs.h >>conftest.$ac_ext
7042 cat >>conftest.$ac_ext <<_ACEOF
7043 /* end confdefs.h. */
7044 $ac_includes_default
7045 #include <$ac_header>
7047 rm -f conftest.$ac_objext
7048 if { (ac_try="$ac_compile"
7050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7051 *) ac_try_echo=$ac_try;;
7053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7054 (eval "$ac_compile") 2>conftest.er1
7056 grep -v '^
*+' conftest.er1 >conftest.err
7058 cat conftest.err >&5
7059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7060 (exit $ac_status); } && {
7061 test -z "$ac_c_werror_flag" ||
7062 test ! -s conftest.err
7063 } && test -s conftest.$ac_objext; then
7064 ac_header_compiler=yes
7066 echo "$as_me: failed program was:" >&5
7067 sed 's
/^
/|
/' conftest.$ac_ext >&5
7069 ac_header_compiler=no
7072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7073 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7074 echo "${ECHO_T}$ac_header_compiler" >&6; }
7076 # Is the header present?
7077 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7078 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7079 cat >conftest.$ac_ext <<_ACEOF
7082 cat confdefs.h >>conftest.$ac_ext
7083 cat >>conftest.$ac_ext <<_ACEOF
7084 /* end confdefs.h. */
7085 #include <$ac_header>
7087 if { (ac_try="$ac_cpp conftest.$ac_ext"
7089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7090 *) ac_try_echo=$ac_try;;
7092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7093 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7095 grep -v '^
*+' conftest.er1 >conftest.err
7097 cat conftest.err >&5
7098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099 (exit $ac_status); } >/dev/null && {
7100 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7101 test ! -s conftest.err
7103 ac_header_preproc=yes
7105 echo "$as_me: failed program was:" >&5
7106 sed 's
/^
/|
/' conftest.$ac_ext >&5
7108 ac_header_preproc=no
7111 rm -f conftest.err conftest.$ac_ext
7112 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7113 echo "${ECHO_T}$ac_header_preproc" >&6; }
7115 # So? What about this header?
7116 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7118 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7119 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7120 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
7121 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
7122 ac_header_preproc=yes
7125 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7126 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7127 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7128 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7129 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7130 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7131 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7132 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7133 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
7134 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
7135 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7136 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7140 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7142 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7143 echo $ECHO_N "(cached) $ECHO_C" >&6
7145 eval "$as_ac_Header=\$ac_header_preproc"
7147 ac_res=`eval echo '${'$as_ac_Header'}'`
7148 { echo "$as_me:$LINENO: result: $ac_res" >&5
7149 echo "${ECHO_T}$ac_res" >&6; }
7152 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7153 cat >>confdefs.h <<_ACEOF
7154 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7169 { echo "$as_me:$LINENO: checking whether utime accepts a null argument" >&5
7170 echo $ECHO_N "checking whether utime accepts a null argument... $ECHO_C" >&6; }
7171 if test "${ac_cv_func_utime_null+set}" = set; then
7172 echo $ECHO_N "(cached) $ECHO_C" >&6
7174 rm -f conftest.data; >conftest.data
7175 # Sequent interprets utime(file, 0) to mean use start of epoch. Wrong.
7176 if test "$cross_compiling" = yes; then
7177 ac_cv_func_utime_null=no
7179 cat >conftest.$ac_ext <<_ACEOF
7182 cat confdefs.h >>conftest.$ac_ext
7183 cat >>conftest.$ac_ext <<_ACEOF
7184 /* end confdefs.h. */
7185 $ac_includes_default
7193 return ! (stat ("conftest.data", &s) == 0
7194 && utime ("conftest.data", 0) == 0
7195 && stat ("conftest.data", &t) == 0
7196 && t.st_mtime >= s.st_mtime
7197 && t.st_mtime - s.st_mtime < 120);
7202 rm -f conftest$ac_exeext
7203 if { (ac_try="$ac_link"
7205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7206 *) ac_try_echo=$ac_try;;
7208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7209 (eval "$ac_link") 2>&5
7211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
7213 { (case "(($ac_try" in
7214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7215 *) ac_try_echo=$ac_try;;
7217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7218 (eval "$ac_try") 2>&5
7220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7221 (exit $ac_status); }; }; then
7222 ac_cv_func_utime_null=yes
7224 echo "$as_me: program exited with status $ac_status" >&5
7225 echo "$as_me: failed program was:" >&5
7226 sed 's
/^
/|
/' conftest.$ac_ext >&5
7229 ac_cv_func_utime_null=no
7231 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7236 { echo "$as_me:$LINENO: result: $ac_cv_func_utime_null" >&5
7237 echo "${ECHO_T}$ac_cv_func_utime_null" >&6; }
7238 if test $ac_cv_func_utime_null = yes; then
7240 cat >>confdefs.h <<\_ACEOF
7241 #define HAVE_UTIME_NULL 1
7248 for ac_func in vprintf
7250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7251 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7253 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7254 echo $ECHO_N "(cached) $ECHO_C" >&6
7256 cat >conftest.$ac_ext <<_ACEOF
7259 cat confdefs.h >>conftest.$ac_ext
7260 cat >>conftest.$ac_ext <<_ACEOF
7261 /* end confdefs.h. */
7262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7264 #define $ac_func innocuous_$ac_func
7266 /* System header to define __stub macros and hopefully few prototypes,
7267 which can conflict with char $ac_func (); below.
7268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7269 <limits.h> exists even on freestanding compilers. */
7272 # include <limits.h>
7274 # include <assert.h>
7279 /* Override any GCC internal prototype to avoid an error.
7280 Use char because int might match the return type of a GCC
7281 builtin and then its argument prototype would still apply. */
7286 /* The GNU C library defines this for functions which it implements
7287 to always fail with ENOSYS. Some functions are actually named
7288 something starting with __ and the normal name is an alias. */
7289 #if defined __stub_$ac_func || defined __stub___$ac_func
7301 rm -f conftest.$ac_objext conftest$ac_exeext
7302 if { (ac_try="$ac_link"
7304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7305 *) ac_try_echo=$ac_try;;
7307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7308 (eval "$ac_link") 2>conftest.er1
7310 grep -v '^
*+' conftest.er1 >conftest.err
7312 cat conftest.err >&5
7313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7314 (exit $ac_status); } && {
7315 test -z "$ac_c_werror_flag" ||
7316 test ! -s conftest.err
7317 } && test -s conftest$ac_exeext &&
7318 $as_test_x conftest$ac_exeext; then
7319 eval "$as_ac_var=yes"
7321 echo "$as_me: failed program was:" >&5
7322 sed 's
/^
/|
/' conftest.$ac_ext >&5
7324 eval "$as_ac_var=no"
7327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7328 conftest$ac_exeext conftest.$ac_ext
7330 ac_res=`eval echo '${'$as_ac_var'}'`
7331 { echo "$as_me:$LINENO: result: $ac_res" >&5
7332 echo "${ECHO_T}$ac_res" >&6; }
7333 if test `eval echo '${'$as_ac_var'}'` = yes; then
7334 cat >>confdefs.h <<_ACEOF
7335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7338 { echo "$as_me:$LINENO: checking for _doprnt" >&5
7339 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
7340 if test "${ac_cv_func__doprnt+set}" = set; then
7341 echo $ECHO_N "(cached) $ECHO_C" >&6
7343 cat >conftest.$ac_ext <<_ACEOF
7346 cat confdefs.h >>conftest.$ac_ext
7347 cat >>conftest.$ac_ext <<_ACEOF
7348 /* end confdefs.h. */
7349 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
7350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7351 #define _doprnt innocuous__doprnt
7353 /* System header to define __stub macros and hopefully few prototypes,
7354 which can conflict with char _doprnt (); below.
7355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7356 <limits.h> exists even on freestanding compilers. */
7359 # include <limits.h>
7361 # include <assert.h>
7366 /* Override any GCC internal prototype to avoid an error.
7367 Use char because int might match the return type of a GCC
7368 builtin and then its argument prototype would still apply. */
7373 /* The GNU C library defines this for functions which it implements
7374 to always fail with ENOSYS. Some functions are actually named
7375 something starting with __ and the normal name is an alias. */
7376 #if defined __stub__doprnt || defined __stub____doprnt
7388 rm -f conftest.$ac_objext conftest$ac_exeext
7389 if { (ac_try="$ac_link"
7391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7392 *) ac_try_echo=$ac_try;;
7394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7395 (eval "$ac_link") 2>conftest.er1
7397 grep -v '^
*+' conftest.er1 >conftest.err
7399 cat conftest.err >&5
7400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7401 (exit $ac_status); } && {
7402 test -z "$ac_c_werror_flag" ||
7403 test ! -s conftest.err
7404 } && test -s conftest$ac_exeext &&
7405 $as_test_x conftest$ac_exeext; then
7406 ac_cv_func__doprnt=yes
7408 echo "$as_me: failed program was:" >&5
7409 sed 's
/^
/|
/' conftest.$ac_ext >&5
7411 ac_cv_func__doprnt=no
7414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7415 conftest$ac_exeext conftest.$ac_ext
7417 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
7418 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
7419 if test $ac_cv_func__doprnt = yes; then
7421 cat >>confdefs.h <<\_ACEOF
7422 #define HAVE_DOPRNT 1
7440 for ac_func in getcwd getwd strerror setvbuf tzset settz mkstemp tempnam gettimeofday
7442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7443 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7445 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7446 echo $ECHO_N "(cached) $ECHO_C" >&6
7448 cat >conftest.$ac_ext <<_ACEOF
7451 cat confdefs.h >>conftest.$ac_ext
7452 cat >>conftest.$ac_ext <<_ACEOF
7453 /* end confdefs.h. */
7454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7456 #define $ac_func innocuous_$ac_func
7458 /* System header to define __stub macros and hopefully few prototypes,
7459 which can conflict with char $ac_func (); below.
7460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7461 <limits.h> exists even on freestanding compilers. */
7464 # include <limits.h>
7466 # include <assert.h>
7471 /* Override any GCC internal prototype to avoid an error.
7472 Use char because int might match the return type of a GCC
7473 builtin and then its argument prototype would still apply. */
7478 /* The GNU C library defines this for functions which it implements
7479 to always fail with ENOSYS. Some functions are actually named
7480 something starting with __ and the normal name is an alias. */
7481 #if defined __stub_$ac_func || defined __stub___$ac_func
7493 rm -f conftest.$ac_objext conftest$ac_exeext
7494 if { (ac_try="$ac_link"
7496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7497 *) ac_try_echo=$ac_try;;
7499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7500 (eval "$ac_link") 2>conftest.er1
7502 grep -v '^
*+' conftest.er1 >conftest.err
7504 cat conftest.err >&5
7505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7506 (exit $ac_status); } && {
7507 test -z "$ac_c_werror_flag" ||
7508 test ! -s conftest.err
7509 } && test -s conftest$ac_exeext &&
7510 $as_test_x conftest$ac_exeext; then
7511 eval "$as_ac_var=yes"
7513 echo "$as_me: failed program was:" >&5
7514 sed 's
/^
/|
/' conftest.$ac_ext >&5
7516 eval "$as_ac_var=no"
7519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7520 conftest$ac_exeext conftest.$ac_ext
7522 ac_res=`eval echo '${'$as_ac_var'}'`
7523 { echo "$as_me:$LINENO: result: $ac_res" >&5
7524 echo "${ECHO_T}$ac_res" >&6; }
7525 if test `eval echo '${'$as_ac_var'}'` = yes; then
7526 cat >>confdefs.h <<_ACEOF
7527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7533 # Usefull, but special to newlib/MSVC
7535 for ac_func in strlwr
7537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7538 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7540 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7541 echo $ECHO_N "(cached) $ECHO_C" >&6
7543 cat >conftest.$ac_ext <<_ACEOF
7546 cat confdefs.h >>conftest.$ac_ext
7547 cat >>conftest.$ac_ext <<_ACEOF
7548 /* end confdefs.h. */
7549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7551 #define $ac_func innocuous_$ac_func
7553 /* System header to define __stub macros and hopefully few prototypes,
7554 which can conflict with char $ac_func (); below.
7555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7556 <limits.h> exists even on freestanding compilers. */
7559 # include <limits.h>
7561 # include <assert.h>
7566 /* Override any GCC internal prototype to avoid an error.
7567 Use char because int might match the return type of a GCC
7568 builtin and then its argument prototype would still apply. */
7573 /* The GNU C library defines this for functions which it implements
7574 to always fail with ENOSYS. Some functions are actually named
7575 something starting with __ and the normal name is an alias. */
7576 #if defined __stub_$ac_func || defined __stub___$ac_func
7588 rm -f conftest.$ac_objext conftest$ac_exeext
7589 if { (ac_try="$ac_link"
7591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7592 *) ac_try_echo=$ac_try;;
7594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7595 (eval "$ac_link") 2>conftest.er1
7597 grep -v '^
*+' conftest.er1 >conftest.err
7599 cat conftest.err >&5
7600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7601 (exit $ac_status); } && {
7602 test -z "$ac_c_werror_flag" ||
7603 test ! -s conftest.err
7604 } && test -s conftest$ac_exeext &&
7605 $as_test_x conftest$ac_exeext; then
7606 eval "$as_ac_var=yes"
7608 echo "$as_me: failed program was:" >&5
7609 sed 's
/^
/|
/' conftest.$ac_ext >&5
7611 eval "$as_ac_var=no"
7614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7615 conftest$ac_exeext conftest.$ac_ext
7617 ac_res=`eval echo '${'$as_ac_var'}'`
7618 { echo "$as_me:$LINENO: result: $ac_res" >&5
7619 echo "${ECHO_T}$ac_res" >&6; }
7620 if test `eval echo '${'$as_ac_var'}'` = yes; then
7621 cat >>confdefs.h <<_ACEOF
7622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7629 cat >confcache <<\_ACEOF
7630 # This file is a shell script that caches the results of configure
7631 # tests run on this system so they can be shared between configure
7632 # scripts and configure runs, see configure's option
--config-cache.
7633 # It is not useful on other systems. If it contains results you don't
7634 # want to keep, you may remove or edit it.
7636 # config.status only pays attention to the cache file if you give it
7637 # the --recheck option to rerun configure.
7639 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7640 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7645 # The following way of writing the cache mishandles newlines in values,
7646 # but we know of no workaround that is simple, portable, and efficient.
7647 # So, we kill variables containing newlines.
7648 # Ultrix sh set writes to stderr and can't be redirected directly,
7649 # and sets the high bit in the cache file unless we assign to the vars.
7651 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7652 eval ac_val
=\$
$ac_var
7656 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
7657 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
7660 _ | IFS | as_nl
) ;; #(
7661 *) $as_unset $ac_var ;;
7667 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7668 *${as_nl}ac_space
=\
*)
7669 # `set' does not quote correctly, so add quotes (double-quote
7670 # substitution turns \\\\ into \\, and sed turns \\ into \).
7673 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7676 # `set' quotes correctly as required by POSIX, so do not add quotes.
7677 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7686 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7688 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7690 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7691 if test -w "$cache_file"; then
7692 test "x$cache_file" != "x/dev/null" &&
7693 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
7694 echo "$as_me: updating cache $cache_file" >&6;}
7695 cat confcache
>$cache_file
7697 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
7698 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7703 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7704 # Let make expand exec_prefix.
7705 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7707 DEFS
=-DHAVE_CONFIG_H
7711 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7712 # 1. Remove the extension, and $U if already installed.
7713 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7714 ac_i
=`echo "$ac_i" | sed "$ac_script"`
7715 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7716 # will be set to the directory where LIBOBJS objects are built.
7717 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7718 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7722 LTLIBOBJS
=$ac_ltlibobjs
7725 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7726 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7727 Usually this means the macro was only invoked conditionally." >&5
7728 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7729 Usually this means the macro was only invoked conditionally." >&2;}
7730 { (exit 1); exit 1; }; }
7732 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7733 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7734 Usually this means the macro was only invoked conditionally." >&5
7735 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7736 Usually this means the macro was only invoked conditionally." >&2;}
7737 { (exit 1); exit 1; }; }
7739 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7740 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7741 Usually this means the macro was only invoked conditionally." >&5
7742 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7743 Usually this means the macro was only invoked conditionally." >&2;}
7744 { (exit 1); exit 1; }; }
7746 if test -z "${OSTYPEUNIX_TRUE}" && test -z "${OSTYPEUNIX_FALSE}"; then
7747 { { echo "$as_me:$LINENO: error: conditional \"OSTYPEUNIX\" was never defined.
7748 Usually this means the macro was only invoked conditionally." >&5
7749 echo "$as_me: error: conditional \"OSTYPEUNIX\" was never defined.
7750 Usually this means the macro was only invoked conditionally." >&2;}
7751 { (exit 1); exit 1; }; }
7753 if test -z "${OSTYPEWIN32_TRUE}" && test -z "${OSTYPEWIN32_FALSE}"; then
7754 { { echo "$as_me:$LINENO: error: conditional \"OSTYPEWIN32\" was never defined.
7755 Usually this means the macro was only invoked conditionally." >&5
7756 echo "$as_me: error: conditional \"OSTYPEWIN32\" was never defined.
7757 Usually this means the macro was only invoked conditionally." >&2;}
7758 { (exit 1); exit 1; }; }
7760 if test -z "${DBUG_TRUE}" && test -z "${DBUG_FALSE}"; then
7761 { { echo "$as_me:$LINENO: error: conditional \"DBUG\" was never defined.
7762 Usually this means the macro was only invoked conditionally." >&5
7763 echo "$as_me: error: conditional \"DBUG\" was never defined.
7764 Usually this means the macro was only invoked conditionally." >&2;}
7765 { (exit 1); exit 1; }; }
7768 : ${CONFIG_STATUS=./config.status}
7769 ac_clean_files_save
=$ac_clean_files
7770 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7771 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7772 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7773 cat >$CONFIG_STATUS <<_ACEOF
7775 # Generated by $as_me.
7776 # Run this file to recreate the current configuration.
7777 # Compiler output produced by configure, useful for debugging
7778 # configure, is in config.log if it exists.
7783 SHELL=\${CONFIG_SHELL-$SHELL}
7786 cat >>$CONFIG_STATUS <<\_ACEOF
7787 ## --------------------- ##
7788 ## M4sh Initialization. ##
7789 ## --------------------- ##
7791 # Be more Bourne compatible
7792 DUALCASE
=1; export DUALCASE
# for MKS sh
7793 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7796 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7797 # is contrary to our usage. Disable this feature.
7798 alias -g '${1+"$@"}'='"$@"'
7799 setopt NO_GLOB_SUBST
7801 case `(set -o) 2>/dev/null` in
7802 *posix
*) set -o posix
;;
7811 # Avoid depending upon Character Ranges.
7812 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7813 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7814 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7815 as_cr_digits
='0123456789'
7816 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7818 # The user is always right.
7819 if test "${PATH_SEPARATOR+set}" != set; then
7820 echo "#! /bin/sh" >conf$$.sh
7821 echo "exit 0" >>conf$$.sh
7823 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7831 # Support unset when possible.
7832 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7840 # We need space, tab and new line, in precisely that order. Quoting is
7841 # there to prevent editors from complaining about space-tab.
7842 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7843 # splitting by setting IFS to empty value.)
7848 # Find who we are. Look in the path if we contain no directory separator.
7850 *[\\/]* ) as_myself
=$0 ;;
7851 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7855 test -z "$as_dir" && as_dir
=.
7856 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7862 # We did not find ourselves, most probably we were run as `sh COMMAND'
7863 # in which case we are not to be found in the path.
7864 if test "x$as_myself" = x
; then
7867 if test ! -f "$as_myself"; then
7868 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7869 { (exit 1); exit 1; }
7872 # Work around bugs in pre-3.0 UWIN ksh.
7873 for as_var
in ENV MAIL MAILPATH
7874 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
7882 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7883 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7884 LC_TELEPHONE LC_TIME
7886 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7887 eval $as_var=C
; export $as_var
7889 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
7893 # Required to use basename.
7894 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7895 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7901 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7902 as_basename
=basename
7908 # Name of the executable.
7909 as_me
=`$as_basename -- "$0" ||
7910 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7911 X"$0" : 'X\(//\)$' \| \
7912 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7914 sed '/^.*\/\([^/][^/]*\)\/*$/{
7935 test "x$as_lineno_1" != "x$as_lineno_2" &&
7936 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
7938 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7939 # uniformly replaced by the line number. The first 'sed' inserts a
7940 # line-number line after each line using $LINENO; the second 'sed'
7941 # does the real work. The second script uses 'N' to pair each
7942 # line-number line with the line containing $LINENO, and appends
7943 # trailing '-' during substitution so that $LINENO is not a special
7945 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7946 # scripts with optimization help from Paolo Bonzini. Blame Lee
7947 # E. McMahon (1931-1989) for sed's syntax. :-)
7959 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7963 chmod +x
"$as_me.lineno" ||
7964 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7965 { (exit 1); exit 1; }; }
7967 # Don't try to exec as it changes $[0], causing all sort of problems
7968 # (the dirname of $[0] is not the place where we might find the
7969 # original and so on. Autoconf is especially sensitive to this).
7971 # Exit status is that of the last command.
7976 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7982 ECHO_C
= ECHO_N
= ECHO_T
=
7985 case `echo 'x\c'` in
7986 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7993 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7994 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8000 rm -f conf$$ conf$$.exe conf$$.
file
8001 if test -d conf$$.dir
; then
8002 rm -f conf$$.dir
/conf$$.
file
8008 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8010 # ... but there are two gotchas:
8011 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8012 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8013 # In both cases, we have to default to `cp -p'.
8014 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8016 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8021 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8022 rmdir conf$$.dir
2>/dev
/null
8024 if mkdir
-p .
2>/dev
/null
; then
8027 test -d .
/-p && rmdir .
/-p
8031 if test -x / >/dev
/null
2>&1; then
8034 if ls -dL / >/dev
/null
2>&1; then
8041 if test -d "$1"; then
8047 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8048 ???[sx]*):;;*)false;;esac;fi
8052 as_executable_p
=$as_test_x
8054 # Sed expression to map a string onto a valid CPP name.
8055 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8057 # Sed expression to map a string onto a valid variable name.
8058 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8063 # Save the log message, to keep $[0] and so on meaningful, and to
8064 # report actual input values of CONFIG_FILES etc. instead of their
8065 # values after options handling.
8067 This file was extended by dmake $as_me 4.12, which was
8068 generated by GNU Autoconf 2.61. Invocation command line was
8070 CONFIG_FILES = $CONFIG_FILES
8071 CONFIG_HEADERS = $CONFIG_HEADERS
8072 CONFIG_LINKS = $CONFIG_LINKS
8073 CONFIG_COMMANDS = $CONFIG_COMMANDS
8076 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8081 cat >>$CONFIG_STATUS <<_ACEOF
8082 # Files that config.status was made for.
8083 config_files="$ac_config_files"
8084 config_headers="$ac_config_headers"
8085 config_commands="$ac_config_commands"
8089 cat >>$CONFIG_STATUS <<\_ACEOF
8091 \`$as_me' instantiates files from templates according to the
8092 current configuration.
8094 Usage: $0 [OPTIONS] [FILE]...
8096 -h, --help print this help, then exit
8097 -V, --version print version number and configuration settings, then exit
8098 -q, --quiet do not print progress messages
8099 -d, --debug don't remove temporary files
8100 --recheck update $as_me by reconfiguring in the same conditions
8101 --file=FILE[:TEMPLATE]
8102 instantiate the configuration file FILE
8103 --header=FILE[:TEMPLATE]
8104 instantiate the configuration header FILE
8106 Configuration files:
8109 Configuration headers:
8112 Configuration commands:
8115 Report bugs to <bug-autoconf@gnu.org>."
8118 cat >>$CONFIG_STATUS <<_ACEOF
8120 dmake config.status 4.12
8121 configured by $0, generated by GNU Autoconf 2.61,
8122 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8124 Copyright (C) 2006 Free Software Foundation, Inc.
8125 This config.status script is free software; the Free Software Foundation
8126 gives unlimited permission to copy, distribute and modify it."
8133 cat >>$CONFIG_STATUS <<\_ACEOF
8134 # If no file are specified by the user, then we need to provide default
8135 # value. By we need to know if files were specified by the user.
8141 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8142 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8153 # Handling of the options.
8154 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8156 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8157 echo "$ac_cs_version"; exit ;;
8158 --debug |
--debu |
--deb |
--de |
--d |
-d )
8160 --file |
--fil |
--fi |
--f )
8162 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8163 ac_need_defaults
=false
;;
8164 --header |
--heade |
--head |
--hea )
8166 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8167 ac_need_defaults
=false
;;
8169 # Conflict between --help and --header
8170 { echo "$as_me: error: ambiguous option: $1
8171 Try \`$0 --help' for more information." >&2
8172 { (exit 1); exit 1; }; };;
8173 --help |
--hel |
-h )
8174 echo "$ac_cs_usage"; exit ;;
8175 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8176 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8180 -*) { echo "$as_me: error: unrecognized option: $1
8181 Try \`$0 --help' for more information." >&2
8182 { (exit 1); exit 1; }; } ;;
8184 *) ac_config_targets
="$ac_config_targets $1"
8185 ac_need_defaults
=false
;;
8191 ac_configure_extra_args
=
8193 if $ac_cs_silent; then
8195 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8199 cat >>$CONFIG_STATUS <<_ACEOF
8200 if \$ac_cs_recheck; then
8201 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8204 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8208 cat >>$CONFIG_STATUS <<\_ACEOF
8212 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8213 ## Running $as_me. ##
8219 cat >>$CONFIG_STATUS <<_ACEOF
8223 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8227 cat >>$CONFIG_STATUS <<\_ACEOF
8229 # Handling of arguments.
8230 for ac_config_target
in $ac_config_targets
8232 case $ac_config_target in
8233 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8234 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
8235 "dmakeroot.h") CONFIG_FILES
="$CONFIG_FILES dmakeroot.h" ;;
8236 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8237 "startup/config.mk") CONFIG_FILES
="$CONFIG_FILES startup/config.mk" ;;
8238 "startup/Makefile") CONFIG_FILES
="$CONFIG_FILES startup/Makefile" ;;
8239 "startup/unix/Makefile") CONFIG_FILES
="$CONFIG_FILES startup/unix/Makefile" ;;
8240 "startup/unix/linux/Makefile") CONFIG_FILES
="$CONFIG_FILES startup/unix/linux/Makefile" ;;
8241 "startup/unix/solaris/Makefile") CONFIG_FILES
="$CONFIG_FILES startup/unix/solaris/Makefile" ;;
8242 "startup/unix/macosx/Makefile") CONFIG_FILES
="$CONFIG_FILES startup/unix/macosx/Makefile" ;;
8243 "startup/unix/sysvr4/Makefile") CONFIG_FILES
="$CONFIG_FILES startup/unix/sysvr4/Makefile" ;;
8244 "startup/unix/cygwin/Makefile") CONFIG_FILES
="$CONFIG_FILES startup/unix/cygwin/Makefile" ;;
8245 "startup/unix/os2/Makefile") CONFIG_FILES
="$CONFIG_FILES startup/unix/os2/Makefile" ;;
8246 "startup/winnt/Makefile") CONFIG_FILES
="$CONFIG_FILES startup/winnt/Makefile" ;;
8247 "startup/winnt/mingw/Makefile") CONFIG_FILES
="$CONFIG_FILES startup/winnt/mingw/Makefile" ;;
8248 "startup/winnt/msvc6/Makefile") CONFIG_FILES
="$CONFIG_FILES startup/winnt/msvc6/Makefile" ;;
8249 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
8251 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8252 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8253 { (exit 1); exit 1; }; };;
8258 # If the user did not use the arguments to specify the items to instantiate,
8259 # then the envvar interface is used. Set only those that are not.
8260 # We use the long form for the default assignment because of an extremely
8261 # bizarre bug on SunOS 4.1.3.
8262 if $ac_need_defaults; then
8263 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8264 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8265 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8268 # Have a temporary directory for convenience. Make it in the build tree
8269 # simply because there is no reason against having it here, and in addition,
8270 # creating and moving files from /tmp can sometimes cause problems.
8271 # Hook for its removal unless debugging.
8272 # Note that there is a small window in which the directory will not be cleaned:
8273 # after its creation but before its name has been assigned to `$tmp'.
8277 trap 'exit_status=$?
8278 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8280 trap '{ (exit 1); exit 1; }' 1 2 13 15
8282 # Create a (secure) tmp directory for tmp files.
8285 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8286 test -n "$tmp" && test -d "$tmp"
8289 tmp
=.
/conf$$
-$RANDOM
8290 (umask 077 && mkdir
"$tmp")
8293 echo "$me: cannot create a temporary directory in ." >&2
8294 { (exit 1); exit 1; }
8298 # Set up the sed scripts for CONFIG_FILES section.
8301 # No need to generate the scripts if there are no CONFIG_FILES.
8302 # This happens for instance when ./config.status config.h
8303 if test -n "$CONFIG_FILES"; then
8310 for ac_last_try
in false false false false false
:; do
8311 cat >conf$
$subs.
sed <<_ACEOF
8312 SHELL!$SHELL$ac_delim
8313 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
8314 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
8315 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
8316 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
8317 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
8318 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
8319 exec_prefix!$exec_prefix$ac_delim
8320 prefix!$prefix$ac_delim
8321 program_transform_name!$program_transform_name$ac_delim
8322 bindir!$bindir$ac_delim
8323 sbindir!$sbindir$ac_delim
8324 libexecdir!$libexecdir$ac_delim
8325 datarootdir!$datarootdir$ac_delim
8326 datadir!$datadir$ac_delim
8327 sysconfdir!$sysconfdir$ac_delim
8328 sharedstatedir!$sharedstatedir$ac_delim
8329 localstatedir!$localstatedir$ac_delim
8330 includedir!$includedir$ac_delim
8331 oldincludedir!$oldincludedir$ac_delim
8332 docdir!$docdir$ac_delim
8333 infodir!$infodir$ac_delim
8334 htmldir!$htmldir$ac_delim
8335 dvidir!$dvidir$ac_delim
8336 pdfdir!$pdfdir$ac_delim
8337 psdir!$psdir$ac_delim
8338 libdir!$libdir$ac_delim
8339 localedir!$localedir$ac_delim
8340 mandir!$mandir$ac_delim
8342 ECHO_C!$ECHO_C$ac_delim
8343 ECHO_N!$ECHO_N$ac_delim
8344 ECHO_T!$ECHO_T$ac_delim
8346 build_alias!$build_alias$ac_delim
8347 host_alias!$host_alias$ac_delim
8348 target_alias!$target_alias$ac_delim
8349 build!$build$ac_delim
8350 build_cpu!$build_cpu$ac_delim
8351 build_vendor!$build_vendor$ac_delim
8352 build_os!$build_os$ac_delim
8353 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
8354 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
8355 INSTALL_DATA!$INSTALL_DATA$ac_delim
8356 CYGPATH_W!$CYGPATH_W$ac_delim
8357 PACKAGE!$PACKAGE$ac_delim
8358 VERSION!$VERSION$ac_delim
8359 ACLOCAL!$ACLOCAL$ac_delim
8360 AUTOCONF!$AUTOCONF$ac_delim
8361 AUTOMAKE!$AUTOMAKE$ac_delim
8362 AUTOHEADER!$AUTOHEADER$ac_delim
8363 MAKEINFO!$MAKEINFO$ac_delim
8364 install_sh!$install_sh$ac_delim
8365 STRIP!$STRIP$ac_delim
8366 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
8367 mkdir_p!$mkdir_p$ac_delim
8369 SET_MAKE!$SET_MAKE$ac_delim
8370 am__leading_dot!$am__leading_dot$ac_delim
8371 AMTAR!$AMTAR$ac_delim
8372 am__tar!$am__tar$ac_delim
8373 am__untar!$am__untar$ac_delim
8374 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
8375 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
8376 MAINT!$MAINT$ac_delim
8378 CFLAGS!$CFLAGS$ac_delim
8379 LDFLAGS!$LDFLAGS$ac_delim
8380 CPPFLAGS!$CPPFLAGS$ac_delim
8381 ac_ct_CC!$ac_ct_CC$ac_delim
8382 EXEEXT!$EXEEXT$ac_delim
8383 OBJEXT!$OBJEXT$ac_delim
8384 DEPDIR!$DEPDIR$ac_delim
8385 am__include!$am__include$ac_delim
8386 am__quote!$am__quote$ac_delim
8387 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
8388 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
8389 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
8390 CCDEPMODE!$CCDEPMODE$ac_delim
8391 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
8392 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
8395 RANLIB!$RANLIB$ac_delim
8396 OSTYPEUNIX_TRUE!$OSTYPEUNIX_TRUE$ac_delim
8397 OSTYPEUNIX_FALSE!$OSTYPEUNIX_FALSE$ac_delim
8398 OSTYPEWIN32_TRUE!$OSTYPEWIN32_TRUE$ac_delim
8399 OSTYPEWIN32_FALSE!$OSTYPEWIN32_FALSE$ac_delim
8400 OS_TYPE!$OS_TYPE$ac_delim
8401 OS_VERSION!$OS_VERSION$ac_delim
8402 DBUG_TRUE!$DBUG_TRUE$ac_delim
8403 DBUG_FALSE!$DBUG_FALSE$ac_delim
8404 DMAKEROOT_H_LINE1!$DMAKEROOT_H_LINE1$ac_delim
8406 EGREP!$EGREP$ac_delim
8407 LIBOBJS!$LIBOBJS$ac_delim
8408 LTLIBOBJS!$LTLIBOBJS$ac_delim
8411 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
8413 elif $ac_last_try; then
8414 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8415 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8416 { (exit 1); exit 1; }; }
8418 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
8422 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8423 if test -n "$ac_eof"; then
8424 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
8425 ac_eof
=`expr $ac_eof + 1`
8428 cat >>$CONFIG_STATUS <<_ACEOF
8429 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
8430 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8433 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8434 s/^/s,@/; s/!/@,|#_!!_#|/
8437 s/'"$ac_delim"'$/,g/; t
8439 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8440 ' >>$CONFIG_STATUS <conf$
$subs.
sed
8441 rm -f conf$
$subs.
sed
8442 cat >>$CONFIG_STATUS <<_ACEOF
8447 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8448 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8449 # trailing colons and then remove the whole line if VPATH becomes empty
8450 # (actually we leave an empty line to preserve line numbers).
8451 if test "x$srcdir" = x.
; then
8452 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8456 s/^\([^=]*=[ ]*\):*/\1/
8462 cat >>$CONFIG_STATUS <<\_ACEOF
8463 fi # test -n "$CONFIG_FILES"
8466 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
8469 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8471 case $ac_mode$ac_tag in
8473 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
8474 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
8475 { (exit 1); exit 1; }; };;
8476 :[FH
]-) ac_tag
=-:-;;
8477 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8494 -) ac_f
="$tmp/stdin";;
8495 *) # Look for the file first in the build tree, then in the source tree
8496 # (if the path is not absolute). The absolute path cannot be DOS-style,
8497 # because $ac_f cannot contain `:'.
8501 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8503 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8504 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8505 { (exit 1); exit 1; }; };;
8507 ac_file_inputs
="$ac_file_inputs $ac_f"
8510 # Let's still pretend it is `configure' which instantiates (i.e., don't
8511 # use $as_me), people would be surprised to read:
8512 # /* config.h. Generated by config.status. */
8513 configure_input
="Generated from "`IFS=:
8514 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
8515 if test x
"$ac_file" != x-
; then
8516 configure_input
="$ac_file. $configure_input"
8517 { echo "$as_me:$LINENO: creating $ac_file" >&5
8518 echo "$as_me: creating $ac_file" >&6;}
8522 *:-:* |
*:-) cat >"$tmp/stdin";;
8527 ac_dir
=`$as_dirname -- "$ac_file" ||
8528 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8529 X"$ac_file" : 'X\(//\)[^/]' \| \
8530 X"$ac_file" : 'X\(//\)$' \| \
8531 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8533 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8552 -*) as_dir
=.
/$as_dir;;
8554 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
8558 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8559 *) as_qdir
=$as_dir;;
8561 as_dirs
="'$as_qdir' $as_dirs"
8562 as_dir
=`$as_dirname -- "$as_dir" ||
8563 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8564 X"$as_dir" : 'X\(//\)[^/]' \| \
8565 X"$as_dir" : 'X\(//\)$' \| \
8566 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8585 test -d "$as_dir" && break
8587 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8588 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8589 echo "$as_me: error: cannot create directory $as_dir" >&2;}
8590 { (exit 1); exit 1; }; }; }
8594 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8596 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8597 # A ".." for each directory in $ac_dir_suffix.
8598 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
8599 case $ac_top_builddir_sub in
8600 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8601 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8604 ac_abs_top_builddir
=$ac_pwd
8605 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8606 # for backward compatibility:
8607 ac_top_builddir
=$ac_top_build_prefix
8610 .
) # We are building in place.
8612 ac_top_srcdir
=$ac_top_builddir_sub
8613 ac_abs_top_srcdir
=$ac_pwd ;;
8614 [\\/]* | ?
:[\\/]* ) # Absolute name.
8615 ac_srcdir
=$srcdir$ac_dir_suffix;
8616 ac_top_srcdir
=$srcdir
8617 ac_abs_top_srcdir
=$srcdir ;;
8619 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8620 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8621 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8623 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8633 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8634 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8638 cat >>$CONFIG_STATUS <<\_ACEOF
8639 # If the template does not know about datarootdir, expand it.
8640 # FIXME: This hack should be removed a few years after 2.60.
8641 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8643 case `sed -n '/datarootdir/ {
8652 ' $ac_file_inputs` in
8653 *datarootdir
*) ac_datarootdir_seen
=yes;;
8654 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8655 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8656 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8658 cat >>$CONFIG_STATUS <<_ACEOF
8659 ac_datarootdir_hack='
8660 s&@datadir@&$datadir&g
8661 s&@docdir@&$docdir&g
8662 s&@infodir@&$infodir&g
8663 s&@localedir@&$localedir&g
8664 s&@mandir@&$mandir&g
8665 s&\\\${datarootdir}&$datarootdir&g' ;;
8669 # Neutralize VPATH when `$srcdir' = `.'.
8670 # Shell code in configure.ac might set extrasub.
8671 # FIXME: do we really want to maintain this feature?
8672 cat >>$CONFIG_STATUS <<_ACEOF
8676 cat >>$CONFIG_STATUS <<\_ACEOF
8678 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8679 s
&@configure_input@
&$configure_input&;t t
8680 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8681 s
&@srcdir@
&$ac_srcdir&;t t
8682 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8683 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8684 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8685 s
&@builddir@
&$ac_builddir&;t t
8686 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8687 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8688 s
&@INSTALL@
&$ac_INSTALL&;t t
8689 $ac_datarootdir_hack
8690 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed 's/|#_!!_#|//g' >$tmp/out
8692 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8693 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
8694 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
8695 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8696 which seems to be undefined. Please make sure it is defined." >&5
8697 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8698 which seems to be undefined. Please make sure it is defined." >&2;}
8702 -) cat "$tmp/out"; rm -f "$tmp/out";;
8703 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
8712 # Transform confdefs.h into a sed script `conftest.defines', that
8713 # substitutes the proper values into config.h.in to produce config.h.
8714 rm -f conftest.defines conftest.
tail
8715 # First, append a space to every undef/define line, to ease matching.
8716 echo 's/$/ /' >conftest.defines
8717 # Then, protect against being on the right side of a sed subst, or in
8718 # an unquoted here document, in config.status. If some macros were
8719 # called several times there might be several #defines for the same
8720 # symbol, which is useless. But do not sort them, since the last
8721 # AC_DEFINE must be honored.
8722 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
8723 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
8724 # NAME is the cpp macro being defined, VALUE is the value it is being given.
8725 # PARAMS is the parameter list in the macro definition--in most cases, it's
8726 # just an empty string.
8727 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
8728 ac_dB
='\\)[ (].*,\\1define\\2'
8736 s/^[ ]*#[ ]*define[ ][ ]*//
8741 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
8742 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
8743 ' >>conftest.defines
8745 # Remove the space that was appended to ease matching.
8746 # Then replace #undef with comments. This is necessary, for
8747 # example, in the case of _POSIX_SOURCE, which is predefined and required
8748 # on some systems where configure will not decide to define it.
8749 # (The regexp can be short, since the line contains either #define or #undef.)
8751 s,^[ #]*u.*,/* & */,' >>conftest.defines
8753 # Break up conftest.defines:
8756 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
8757 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
8758 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
8760 ac_in
='$ac_file_inputs'
8761 ac_out
='"$tmp/out1"'
8762 ac_nxt
='"$tmp/out2"'
8766 # Write a here document:
8767 cat >>$CONFIG_STATUS <<_ACEOF
8768 # First, check the format of the line:
8769 cat >"\$tmp/defines.sed" <<\\CEOF
8770 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
8771 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
8775 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
8777 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
8778 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
8779 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
8780 grep . conftest.
tail >/dev
/null ||
break
8781 rm -f conftest.defines
8782 mv conftest.
tail conftest.defines
8784 rm -f conftest.defines conftest.
tail
8786 echo "ac_result=$ac_in" >>$CONFIG_STATUS
8787 cat >>$CONFIG_STATUS <<\_ACEOF
8788 if test x
"$ac_file" != x-
; then
8789 echo "/* $configure_input */" >"$tmp/config.h"
8790 cat "$ac_result" >>"$tmp/config.h"
8791 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
8792 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8793 echo "$as_me: $ac_file is unchanged" >&6;}
8796 mv "$tmp/config.h" $ac_file
8799 echo "/* $configure_input */"
8803 # Compute $ac_file's index in $config_headers.
8805 for _am_header
in $config_headers :; do
8807 $ac_file |
$ac_file:* )
8810 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8813 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
8814 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8815 X$ac_file : 'X\(//\)[^/]' \| \
8816 X$ac_file : 'X\(//\)$' \| \
8817 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
8819 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8835 s/.*/./; q'`/stamp-h
$_am_stamp_count
8838 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
8839 echo "$as_me: executing $ac_file commands" >&6;}
8844 case $ac_file$ac_mode in
8845 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
8846 # Strip MF so we end up with the name of the file.
8847 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8848 # Check whether this is an Automake generated Makefile or not.
8849 # We used to match only the files named `Makefile.in', but
8850 # some people rename them; so instead we look at the file content.
8851 # Grep'ing the first line is not enough: some people post-process
8852 # each Makefile.in and add a new line on top of each file to say so.
8853 # So let's grep whole file.
8854 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
8855 dirpart
=`$as_dirname -- "$mf" ||
8856 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8857 X"$mf" : 'X\(//\)[^/]' \| \
8858 X"$mf" : 'X\(//\)$' \| \
8859 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8861 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8881 # Extract the definition of DEPDIR, am__include, and am__quote
8882 # from the Makefile without running `make'.
8883 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8884 test -z "$DEPDIR" && continue
8885 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8886 test -z "am__include" && continue
8887 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8888 # When using ansi2knr, U may be empty or an underscore; expand it
8889 U
=`sed -n 's/^U = //p' < "$mf"`
8890 # Find all dependency output files, they are included files with
8891 # $(DEPDIR) in their names. We invoke sed twice because it is the
8892 # simplest approach to changing $(DEPDIR) to its actual value in the
8894 for file in `sed -n "
8895 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8896 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8897 # Make sure the directory exists.
8898 test -f "$dirpart/$file" && continue
8899 fdir
=`$as_dirname -- "$file" ||
8900 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8901 X"$file" : 'X\(//\)[^/]' \| \
8902 X"$file" : 'X\(//\)$' \| \
8903 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8905 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8922 { as_dir
=$dirpart/$fdir
8924 -*) as_dir
=.
/$as_dir;;
8926 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
8930 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8931 *) as_qdir
=$as_dir;;
8933 as_dirs
="'$as_qdir' $as_dirs"
8934 as_dir
=`$as_dirname -- "$as_dir" ||
8935 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8936 X"$as_dir" : 'X\(//\)[^/]' \| \
8937 X"$as_dir" : 'X\(//\)$' \| \
8938 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8940 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8957 test -d "$as_dir" && break
8959 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8960 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8961 echo "$as_me: error: cannot create directory $as_dir" >&2;}
8962 { (exit 1); exit 1; }; }; }
8963 # echo "creating $dirpart/$file"
8964 echo '# dummy' > "$dirpart/$file"
8973 { (exit 0); exit 0; }
8975 chmod +x
$CONFIG_STATUS
8976 ac_clean_files
=$ac_clean_files_save
8979 # configure is writing to config.log, and then calls config.status.
8980 # config.status does its own redirection, appending to config.log.
8981 # Unfortunately, on DOS this fails, as config.log is still kept open
8982 # by configure, so config.status won't be able to write to it; its
8983 # output is simply discarded. So we exec the FD to /dev/null,
8984 # effectively closing config.log, so it can be properly (re)opened and
8985 # appended to by config.status. When coming back to configure, we
8986 # need to make the FD available again.
8987 if test "$no_create" != yes; then
8989 ac_config_status_args
=
8990 test "$silent" = yes &&
8991 ac_config_status_args
="$ac_config_status_args --quiet"
8993 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8995 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8996 # would make configure fail if this is the last instruction.
8997 $ac_cs_success ||
{ (exit 1); exit 1; }