2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for launchd 1.0.
5 # Report bugs to <launchd-bug-reports@group.apple.com>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir -p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev
/null
6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix
=/usr
/local
566 ac_config_libobj_dir
=.
572 SHELL
=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME
='launchd'
576 PACKAGE_TARNAME
='launchd'
577 PACKAGE_VERSION
='1.0'
578 PACKAGE_STRING
='launchd 1.0'
579 PACKAGE_BUGREPORT
='launchd-bug-reports@group.apple.com'
581 ac_unique_file
="src/launchd.c"
582 # Factoring default headers for most tests.
583 ac_includes_default
="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
629 program_transform_name
671 INSTALL_STRIP_PROGRAM
705 ac_precious_vars
='build_alias
716 # Initialize some variables set by options.
718 ac_init_version
=false
719 # The variables have the same names as the options, with
720 # dashes changed to underlines.
728 program_transform_name
=s
,x
,x
,
736 # Installation directory options.
737 # These are left unexpanded so users can "make install exec_prefix=/foo"
738 # and all the variables that are supposed to be based on exec_prefix
739 # by default will actually change.
740 # Use braces instead of parens because sh, perl, etc. also accept them.
741 # (The list follows the same order as the GNU Coding Standards.)
742 bindir
='${exec_prefix}/bin'
743 sbindir
='${exec_prefix}/sbin'
744 libexecdir
='${exec_prefix}/libexec'
745 datarootdir
='${prefix}/share'
746 datadir
='${datarootdir}'
747 sysconfdir
='${prefix}/etc'
748 sharedstatedir
='${prefix}/com'
749 localstatedir
='${prefix}/var'
750 includedir
='${prefix}/include'
751 oldincludedir
='/usr/include'
752 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
753 infodir
='${datarootdir}/info'
758 libdir
='${exec_prefix}/lib'
759 localedir
='${datarootdir}/locale'
760 mandir
='${datarootdir}/man'
766 # If the previous option needs an argument, assign it.
767 if test -n "$ac_prev"; then
768 eval $ac_prev=\
$ac_option
774 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
778 # Accept the important Cygnus configure options, so we can diagnose typos.
780 case $ac_dashdash$ac_option in
784 -bindir | --bindir | --bindi | --bind | --bin | --bi)
786 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
789 -build | --build | --buil | --bui | --bu)
790 ac_prev
=build_alias
;;
791 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
792 build_alias
=$ac_optarg ;;
794 -cache-file | --cache-file | --cache-fil | --cache-fi \
795 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
796 ac_prev
=cache_file
;;
797 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
798 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
799 cache_file
=$ac_optarg ;;
802 cache_file
=config.cache
;;
804 -datadir | --datadir | --datadi | --datad)
806 -datadir=* | --datadir=* | --datadi=* | --datad=*)
807 datadir
=$ac_optarg ;;
809 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
810 | --dataroo | --dataro | --datar)
811 ac_prev
=datarootdir
;;
812 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
813 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
814 datarootdir
=$ac_optarg ;;
816 -disable-* | --disable-*)
817 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
818 # Reject names that are not valid shell variable names.
819 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
820 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
821 { (exit 1); exit 1; }; }
822 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
823 eval enable_
$ac_feature=no
;;
825 -docdir | --docdir | --docdi | --doc | --do)
827 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
830 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
832 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
835 -enable-* | --enable-*)
836 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
837 # Reject names that are not valid shell variable names.
838 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
839 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
840 { (exit 1); exit 1; }; }
841 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
842 eval enable_
$ac_feature=\
$ac_optarg ;;
844 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
845 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
846 | --exec | --exe | --ex)
847 ac_prev
=exec_prefix
;;
848 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
849 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
850 | --exec=* | --exe=* | --ex=*)
851 exec_prefix
=$ac_optarg ;;
853 -gas | --gas | --ga | --g)
854 # Obsolete; use --with-gas.
857 -help | --help | --hel | --he | -h)
859 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
860 ac_init_help
=recursive
;;
861 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
862 ac_init_help
=short
;;
864 -host | --host | --hos | --ho)
865 ac_prev
=host_alias
;;
866 -host=* | --host=* | --hos=* | --ho=*)
867 host_alias
=$ac_optarg ;;
869 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
871 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
873 htmldir
=$ac_optarg ;;
875 -includedir | --includedir | --includedi | --included | --include \
876 | --includ | --inclu | --incl | --inc)
877 ac_prev
=includedir
;;
878 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
879 | --includ=* | --inclu=* | --incl=* | --inc=*)
880 includedir
=$ac_optarg ;;
882 -infodir | --infodir | --infodi | --infod | --info | --inf)
884 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
885 infodir
=$ac_optarg ;;
887 -libdir | --libdir | --libdi | --libd)
889 -libdir=* | --libdir=* | --libdi=* | --libd=*)
892 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
893 | --libexe | --libex | --libe)
894 ac_prev
=libexecdir
;;
895 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
896 | --libexe=* | --libex=* | --libe=*)
897 libexecdir
=$ac_optarg ;;
899 -localedir | --localedir | --localedi | --localed | --locale)
901 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
902 localedir
=$ac_optarg ;;
904 -localstatedir | --localstatedir | --localstatedi | --localstated \
905 | --localstate | --localstat | --localsta | --localst | --locals)
906 ac_prev
=localstatedir
;;
907 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
908 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
909 localstatedir
=$ac_optarg ;;
911 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
913 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
917 # Obsolete; use --without-fp.
920 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
921 | --no-cr | --no-c | -n)
924 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
925 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
928 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
929 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
930 | --oldin | --oldi | --old | --ol | --o)
931 ac_prev
=oldincludedir
;;
932 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
933 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
934 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
935 oldincludedir
=$ac_optarg ;;
937 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
939 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
942 -program-prefix | --program-prefix | --program-prefi | --program-pref \
943 | --program-pre | --program-pr | --program-p)
944 ac_prev
=program_prefix
;;
945 -program-prefix=* | --program-prefix=* | --program-prefi=* \
946 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
947 program_prefix
=$ac_optarg ;;
949 -program-suffix | --program-suffix | --program-suffi | --program-suff \
950 | --program-suf | --program-su | --program-s)
951 ac_prev
=program_suffix
;;
952 -program-suffix=* | --program-suffix=* | --program-suffi=* \
953 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
954 program_suffix
=$ac_optarg ;;
956 -program-transform-name | --program-transform-name \
957 | --program-transform-nam | --program-transform-na \
958 | --program-transform-n | --program-transform- \
959 | --program-transform | --program-transfor \
960 | --program-transfo | --program-transf \
961 | --program-trans | --program-tran \
962 | --progr-tra | --program-tr | --program-t)
963 ac_prev
=program_transform_name
;;
964 -program-transform-name=* | --program-transform-name=* \
965 | --program-transform-nam=* | --program-transform-na=* \
966 | --program-transform-n=* | --program-transform-=* \
967 | --program-transform=* | --program-transfor=* \
968 | --program-transfo=* | --program-transf=* \
969 | --program-trans=* | --program-tran=* \
970 | --progr-tra=* | --program-tr=* | --program-t=*)
971 program_transform_name
=$ac_optarg ;;
973 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
975 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
978 -psdir | --psdir | --psdi | --psd | --ps)
980 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
983 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
984 | -silent | --silent | --silen | --sile | --sil)
987 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
989 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
991 sbindir
=$ac_optarg ;;
993 -sharedstatedir | --sharedstatedir | --sharedstatedi \
994 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
995 | --sharedst | --shareds | --shared | --share | --shar \
997 ac_prev
=sharedstatedir
;;
998 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
999 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1000 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1002 sharedstatedir
=$ac_optarg ;;
1004 -site | --site | --sit)
1006 -site=* | --site=* | --sit=*)
1009 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1011 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1012 srcdir
=$ac_optarg ;;
1014 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1015 | --syscon | --sysco | --sysc | --sys | --sy)
1016 ac_prev
=sysconfdir
;;
1017 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1018 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1019 sysconfdir
=$ac_optarg ;;
1021 -target | --target | --targe | --targ | --tar | --ta | --t)
1022 ac_prev
=target_alias
;;
1023 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1024 target_alias
=$ac_optarg ;;
1026 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1029 -version | --version | --versio | --versi | --vers | -V)
1030 ac_init_version
=: ;;
1033 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1036 { echo "$as_me: error: invalid package name: $ac_package" >&2
1037 { (exit 1); exit 1; }; }
1038 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1039 eval with_
$ac_package=\
$ac_optarg ;;
1041 -without-* | --without-*)
1042 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1043 # Reject names that are not valid shell variable names.
1044 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1045 { echo "$as_me: error: invalid package name: $ac_package" >&2
1046 { (exit 1); exit 1; }; }
1047 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1048 eval with_
$ac_package=no
;;
1051 # Obsolete; use --with-x.
1054 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1055 | --x-incl | --x-inc | --x-in | --x-i)
1056 ac_prev
=x_includes
;;
1057 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1058 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1059 x_includes
=$ac_optarg ;;
1061 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1062 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1063 ac_prev
=x_libraries
;;
1064 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1065 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1066 x_libraries
=$ac_optarg ;;
1068 -*) { echo "$as_me: error: unrecognized option: $ac_option
1069 Try \`$0 --help' for more information." >&2
1070 { (exit 1); exit 1; }; }
1074 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1075 # Reject names that are not valid shell variable names.
1076 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1077 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1078 { (exit 1); exit 1; }; }
1079 eval $ac_envvar=\
$ac_optarg
1080 export $ac_envvar ;;
1083 # FIXME: should be removed in autoconf 3.0.
1084 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1085 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1086 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1087 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1093 if test -n "$ac_prev"; then
1094 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1095 { echo "$as_me: error: missing argument to $ac_option" >&2
1096 { (exit 1); exit 1; }; }
1099 # Be sure to have absolute directory names.
1100 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1101 datadir sysconfdir sharedstatedir localstatedir includedir \
1102 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1103 libdir localedir mandir
1105 eval ac_val
=\$
$ac_var
1107 [\\/$
]* | ?
:[\\/]* ) continue;;
1108 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1110 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1111 { (exit 1); exit 1; }; }
1114 # There might be people who depend on the old broken behavior: `$host'
1115 # used to hold the argument of --host etc.
1116 # FIXME: To remove some day.
1119 target
=$target_alias
1121 # FIXME: To remove some day.
1122 if test "x$host_alias" != x
; then
1123 if test "x$build_alias" = x
; then
1124 cross_compiling
=maybe
1125 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1126 If a cross compiler is detected then cross compile mode will be used." >&2
1127 elif test "x$build_alias" != "x$host_alias"; then
1133 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1135 test "$silent" = yes && exec 6>/dev
/null
1138 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1139 ac_ls_di
=`ls -di .` &&
1140 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1141 { echo "$as_me: error: Working directory cannot be determined" >&2
1142 { (exit 1); exit 1; }; }
1143 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1144 { echo "$as_me: error: pwd does not report name of working directory" >&2
1145 { (exit 1); exit 1; }; }
1148 # Find the source files, if location was not specified.
1149 if test -z "$srcdir"; then
1150 ac_srcdir_defaulted
=yes
1151 # Try the directory containing this script, then the parent directory.
1152 ac_confdir
=`$as_dirname -- "$0" ||
1153 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1154 X"$0" : 'X\(//\)[^/]' \| \
1155 X"$0" : 'X\(//\)$' \| \
1156 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1158 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1176 if test ! -r "$srcdir/$ac_unique_file"; then
1180 ac_srcdir_defaulted
=no
1182 if test ! -r "$srcdir/$ac_unique_file"; then
1183 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1184 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1185 { (exit 1); exit 1; }; }
1187 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1189 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1190 { (exit 1); exit 1; }; }
1192 # When building in place, set srcdir=.
1193 if test "$ac_abs_confdir" = "$ac_pwd"; then
1196 # Remove unnecessary trailing slashes from srcdir.
1197 # Double slashes in file names in object file debugging info
1198 # mess up M-x gdb in Emacs.
1200 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1202 for ac_var
in $ac_precious_vars; do
1203 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1204 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1205 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1206 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1210 # Report the --help message.
1212 if test "$ac_init_help" = "long"; then
1213 # Omit some internal or obsolete options to make the list less imposing.
1214 # This message is too long to be a string in the A/UX 3.1 sh.
1216 \`configure' configures launchd 1.0 to adapt to many kinds of systems.
1218 Usage: $0 [OPTION]... [VAR=VALUE]...
1220 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1221 VAR=VALUE. See below for descriptions of some of the useful variables.
1223 Defaults for the options are specified in brackets.
1226 -h, --help display this help and exit
1227 --help=short display options specific to this package
1228 --help=recursive display the short help of all the included packages
1229 -V, --version display version information and exit
1230 -q, --quiet, --silent do not print \`checking...' messages
1231 --cache-file=FILE cache test results in FILE [disabled]
1232 -C, --config-cache alias for \`--cache-file=config.cache'
1233 -n, --no-create do not create output files
1234 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1236 Installation directories:
1237 --prefix=PREFIX install architecture-independent files in PREFIX
1238 [$ac_default_prefix]
1239 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1242 By default, \`make install' will install all the files in
1243 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1244 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1245 for instance \`--prefix=\$HOME'.
1247 For better control, use the options below.
1249 Fine tuning of the installation directories:
1250 --bindir=DIR user executables [EPREFIX/bin]
1251 --sbindir=DIR system admin executables [EPREFIX/sbin]
1252 --libexecdir=DIR program executables [EPREFIX/libexec]
1253 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1254 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1255 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1256 --libdir=DIR object code libraries [EPREFIX/lib]
1257 --includedir=DIR C header files [PREFIX/include]
1258 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1259 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1260 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1261 --infodir=DIR info documentation [DATAROOTDIR/info]
1262 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1263 --mandir=DIR man documentation [DATAROOTDIR/man]
1264 --docdir=DIR documentation root [DATAROOTDIR/doc/launchd]
1265 --htmldir=DIR html documentation [DOCDIR]
1266 --dvidir=DIR dvi documentation [DOCDIR]
1267 --pdfdir=DIR pdf documentation [DOCDIR]
1268 --psdir=DIR ps documentation [DOCDIR]
1274 --program-prefix=PREFIX prepend PREFIX to installed program names
1275 --program-suffix=SUFFIX append SUFFIX to installed program names
1276 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1280 if test -n "$ac_init_help"; then
1281 case $ac_init_help in
1282 short
| recursive
) echo "Configuration of launchd 1.0:";;
1287 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1288 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1289 --disable-dependency-tracking speeds up one
-time build
1290 --enable-dependency-tracking do not reject slow dependency extractors
1292 Some influential environment variables
:
1293 CC C compiler
command
1294 CFLAGS C compiler flags
1295 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1296 nonstandard directory
<lib dir
>
1297 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1298 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1299 you have headers
in a nonstandard directory
<include dir
>
1302 Use these variables to override the choices made by
`configure' or to help
1303 it to find libraries and programs with nonstandard names/locations.
1305 Report bugs to <launchd-bug-reports@group.apple.com>.
1310 if test "$ac_init_help" = "recursive"; then
1311 # If there are subdirs, report their specific --help.
1312 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1313 test -d "$ac_dir" || continue
1317 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1319 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1320 # A ".." for each directory in $ac_dir_suffix.
1321 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1322 case $ac_top_builddir_sub in
1323 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1324 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1327 ac_abs_top_builddir=$ac_pwd
1328 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1329 # for backward compatibility:
1330 ac_top_builddir=$ac_top_build_prefix
1333 .) # We are building in place.
1335 ac_top_srcdir=$ac_top_builddir_sub
1336 ac_abs_top_srcdir=$ac_pwd ;;
1337 [\\/]* | ?:[\\/]* ) # Absolute name.
1338 ac_srcdir=$srcdir$ac_dir_suffix;
1339 ac_top_srcdir=$srcdir
1340 ac_abs_top_srcdir=$srcdir ;;
1342 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1343 ac_top_srcdir=$ac_top_build_prefix$srcdir
1344 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1346 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1348 cd "$ac_dir" || { ac_status=$?; continue; }
1349 # Check for guested configure.
1350 if test -f "$ac_srcdir/configure.gnu"; then
1352 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1353 elif test -f "$ac_srcdir/configure"; then
1355 $SHELL "$ac_srcdir/configure" --help=recursive
1357 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1359 cd "$ac_pwd" || { ac_status=$?; break; }
1363 test -n "$ac_init_help" && exit $ac_status
1364 if $ac_init_version; then
1366 launchd configure 1.0
1367 generated by GNU Autoconf 2.61
1369 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1370 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1371 This configure script is free software; the Free Software Foundation
1372 gives unlimited permission to copy, distribute and modify it.
1376 cat >config.log <<_ACEOF
1377 This file contains any messages produced by compilers while
1378 running configure, to aid debugging if configure makes a mistake.
1380 It was created by launchd $as_me 1.0, which was
1381 generated by GNU Autoconf 2.61. Invocation command line was
1393 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1394 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1395 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1396 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1397 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1399 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1400 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1402 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1403 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1404 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1405 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
1406 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1407 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1408 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1416 test -z "$as_dir" && as_dir=.
1417 echo "PATH: $as_dir"
1433 # Keep a trace of the command line.
1434 # Strip out --no-create and --no-recursion so they do not pile up.
1435 # Strip out --silent because we don't want to record it for future runs.
1436 # Also quote any args containing shell meta-characters.
1437 # Make two passes to allow for proper duplicate-argument suppression.
1441 ac_must_keep_next=false
1447 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1448 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1449 | -silent | --silent | --silen | --sile | --sil)
1452 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1455 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1457 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1458 if test $ac_must_keep_next = true; then
1459 ac_must_keep_next=false # Got value, back to normal.
1462 *=* | --config-cache | -C | -disable-* | --disable-* \
1463 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1464 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1465 | -with-* | --with-* | -without-* | --without-* | --x)
1466 case "$ac_configure_args0 " in
1467 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1470 -* ) ac_must_keep_next=true ;;
1473 ac_configure_args="$ac_configure_args '$ac_arg'"
1478 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1479 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1481 # When interrupted or exit'd, cleanup temporary files, and complete
1482 # config.log. We remove comments because anyway the quotes in there
1483 # would cause problems or look ugly.
1484 # WARNING: Use '\'' to represent an apostrophe within the trap.
1485 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1486 trap 'exit_status=$?
1487 # Save into config.log some information that might help in debugging.
1492 ## ---------------- ##
1493 ## Cache variables. ##
1494 ## ---------------- ##
1497 # The following way of writing the cache mishandles newlines in values,
1499 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
1500 eval ac_val=\$$ac_var
1504 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1505 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1508 _ | IFS | as_nl) ;; #(
1509 *) $as_unset $ac_var ;;
1514 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1515 *${as_nl}ac_space=\ *)
1517 "s/'\''/'\''\\\\'\'''\''/g;
1518 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1521 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1529 ## ----------------- ##
1530 ## Output variables. ##
1531 ## ----------------- ##
1534 for ac_var in $ac_subst_vars
1536 eval ac_val=\$$ac_var
1538 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1540 echo "$ac_var='\''$ac_val'\''"
1544 if test -n "$ac_subst_files"; then
1546 ## ------------------- ##
1547 ## File substitutions. ##
1548 ## ------------------- ##
1551 for ac_var in $ac_subst_files
1553 eval ac_val=\$$ac_var
1555 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1557 echo "$ac_var='\''$ac_val'\''"
1562 if test -s confdefs.h; then
1572 test "$ac_signal" != 0 &&
1573 echo "$as_me: caught signal $ac_signal"
1574 echo "$as_me: exit $exit_status"
1576 rm -f core *.core core.conftest.* &&
1577 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1580 for ac_signal in 1 2 13 15; do
1581 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1585 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1586 rm -f -r conftest* confdefs.h
1588 # Predefined preprocessor variables.
1590 cat >>confdefs.h <<_ACEOF
1591 #define PACKAGE_NAME "$PACKAGE_NAME"
1595 cat >>confdefs.h <<_ACEOF
1596 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1600 cat >>confdefs.h <<_ACEOF
1601 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1605 cat >>confdefs.h <<_ACEOF
1606 #define PACKAGE_STRING "$PACKAGE_STRING"
1610 cat >>confdefs.h <<_ACEOF
1611 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1615 # Let the site file select an alternate cache file if it wants to.
1616 # Prefer explicitly selected file to automatically selected ones.
1617 if test -n "$CONFIG_SITE"; then
1618 set x "$CONFIG_SITE"
1619 elif test "x$prefix" != xNONE; then
1620 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1622 set x "$ac_default_prefix/share/config.site" \
1623 "$ac_default_prefix/etc/config.site"
1628 if test -r "$ac_site_file"; then
1629 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1630 echo "$as_me: loading site script $ac_site_file" >&6;}
1631 sed 's/^/| /' "$ac_site_file" >&5
1636 if test -r "$cache_file"; then
1637 # Some versions of bash will fail to source /dev/null (special
1638 # files actually), so we avoid doing that.
1639 if test -f "$cache_file"; then
1640 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1641 echo "$as_me: loading cache $cache_file" >&6;}
1643 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1644 *) . "./$cache_file";;
1648 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1649 echo "$as_me: creating cache $cache_file" >&6;}
1653 ac_header_list="$ac_header_list sys/time.h"
1654 ac_header_list="$ac_header_list unistd.h"
1655 ac_func_list="$ac_func_list alarm"
1656 # Check that the precious variables saved in the cache have kept the same
1658 ac_cache_corrupted=false
1659 for ac_var in $ac_precious_vars; do
1660 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1661 eval ac_new_set=\$ac_env_${ac_var}_set
1662 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1663 eval ac_new_val=\$ac_env_${ac_var}_value
1664 case $ac_old_set,$ac_new_set in
1666 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1667 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1668 ac_cache_corrupted=: ;;
1670 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1671 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1672 ac_cache_corrupted=: ;;
1675 if test "x$ac_old_val" != "x$ac_new_val"; then
1676 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1677 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1678 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1679 echo "$as_me: former value
: $ac_old_val" >&2;}
1680 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1681 echo "$as_me: current value
: $ac_new_val" >&2;}
1682 ac_cache_corrupted=:
1685 # Pass precious variables to config.status.
1686 if test "$ac_new_set" = set; then
1688 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1689 *) ac_arg=$ac_var=$ac_new_val ;;
1691 case " $ac_configure_args " in
1692 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1693 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1697 if $ac_cache_corrupted; then
1698 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1699 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1700 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1701 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1702 { (exit 1); exit 1; }; }
1730 ac_cpp='$CPP $CPPFLAGS'
1731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1737 am__api_version='1.10'
1740 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1741 if test -f "$ac_dir/install-sh"; then
1743 ac_install_sh="$ac_aux_dir/install-sh -c"
1745 elif test -f "$ac_dir/install.sh"; then
1747 ac_install_sh="$ac_aux_dir/install.sh -c"
1749 elif test -f "$ac_dir/shtool"; then
1751 ac_install_sh="$ac_aux_dir/shtool install -c"
1755 if test -z "$ac_aux_dir"; then
1756 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1757 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1758 { (exit 1); exit 1; }; }
1761 # These three variables are undocumented and unsupported,
1762 # and are intended to be withdrawn in a future Autoconf release.
1763 # They can cause serious problems if a builder's source tree is in a directory
1764 # whose full name contains unusual characters.
1765 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1766 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1767 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1770 # Find a good install program. We prefer a C program (faster),
1771 # so one script is as good as another. But avoid the broken or
1772 # incompatible versions:
1773 # SysV /etc/install, /usr/sbin/install
1774 # SunOS /usr/etc/install
1775 # IRIX /sbin/install
1777 # AmigaOS /C/install, which installs bootblocks on floppy discs
1778 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1779 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1780 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1781 # OS/2's system install, which has a completely different semantic
1782 # ./install, which can be erroneously created by make from ./install.sh.
1783 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1784 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1785 if test -z "$INSTALL"; then
1786 if test "${ac_cv_path_install+set}" = set; then
1787 echo $ECHO_N "(cached) $ECHO_C" >&6
1789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1793 test -z "$as_dir" && as_dir=.
1794 # Account for people who put trailing slashes in PATH elements.
1796 ./ | .// | /cC/* | \
1797 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1798 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1801 # OSF1 and SCO ODT 3.0 have their own names for install.
1802 # Don't use installbsd from OSF since it installs stuff as root
1804 for ac_prog in ginstall scoinst install; do
1805 for ac_exec_ext in '' $ac_executable_extensions; do
1806 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1807 if test $ac_prog = install &&
1808 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1809 # AIX install. It has an incompatible calling convention.
1811 elif test $ac_prog = install &&
1812 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1813 # program-specific install script used by HP pwplus--don't use.
1816 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1829 if test "${ac_cv_path_install+set}" = set; then
1830 INSTALL=$ac_cv_path_install
1832 # As a last resort, use the slow shell script. Don't cache a
1833 # value for INSTALL within a source directory, because that will
1834 # break other packages using the cache if that directory is
1835 # removed, or if the value is a relative name.
1836 INSTALL=$ac_install_sh
1839 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1840 echo "${ECHO_T}$INSTALL" >&6; }
1842 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1843 # It thinks the first close brace ends the variable substitution.
1844 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1846 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1848 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1850 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1851 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1854 echo timestamp > conftest.file
1855 # Do `set' in a subshell so we don't clobber the current shell
's
1856 # arguments. Must try -L first in case configure is actually a
1857 # symlink; some systems play weird games with the mod time of symlinks
1858 # (eg FreeBSD returns the mod time of the symlink's containing
1861 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1862 if test "$*" = "X"; then
1864 set X
`ls -t $srcdir/configure conftest.file`
1867 if test "$*" != "X $srcdir/configure conftest.file" \
1868 && test "$*" != "X conftest.file $srcdir/configure"; then
1870 # If neither matched, then we have a broken ls. This can happen
1871 # if, for instance, CONFIG_SHELL is bash and it inherits a
1872 # broken ls alias from the environment. This has actually
1873 # happened. Such a system could not be considered "sane".
1874 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1875 alias in your environment" >&5
1876 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1877 alias in your environment" >&2;}
1878 { (exit 1); exit 1; }; }
1881 test "$2" = conftest.
file
1887 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1888 Check your system clock" >&5
1889 echo "$as_me: error: newly created file is older than distributed files!
1890 Check your system clock" >&2;}
1891 { (exit 1); exit 1; }; }
1893 { echo "$as_me:$LINENO: result: yes" >&5
1894 echo "${ECHO_T}yes" >&6; }
1895 test "$program_prefix" != NONE
&&
1896 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1897 # Use a double $ so make ignores it.
1898 test "$program_suffix" != NONE
&&
1899 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1900 # Double any \ or $. echo might interpret backslashes.
1901 # By default was `s,x,x', remove it if useless.
1902 cat <<\_ACEOF
>conftest.
sed
1903 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1905 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1908 # expand $ac_aux_dir to an absolute path
1909 am_aux_dir
=`cd $ac_aux_dir && pwd`
1911 test x
"${MISSING+set}" = xset
|| MISSING
="\${SHELL} $am_aux_dir/missing"
1912 # Use eval to expand $SHELL
1913 if eval "$MISSING --run true"; then
1914 am_missing_run
="$MISSING --run "
1917 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1918 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1921 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1922 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1923 if test -z "$MKDIR_P"; then
1924 if test "${ac_cv_path_mkdir+set}" = set; then
1925 echo $ECHO_N "(cached) $ECHO_C" >&6
1927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1928 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
1931 test -z "$as_dir" && as_dir
=.
1932 for ac_prog
in mkdir gmkdir
; do
1933 for ac_exec_ext
in '' $ac_executable_extensions; do
1934 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1935 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1936 'mkdir (GNU coreutils) '* | \
1937 'mkdir (coreutils) '* | \
1938 'mkdir (fileutils) '4.1*)
1939 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
1949 if test "${ac_cv_path_mkdir+set}" = set; then
1950 MKDIR_P
="$ac_cv_path_mkdir -p"
1952 # As a last resort, use the slow shell script. Don't cache a
1953 # value for MKDIR_P within a source directory, because that will
1954 # break other packages using the cache if that directory is
1955 # removed, or if the value is a relative name.
1956 test -d .
/--version && rmdir .
/--version
1957 MKDIR_P
="$ac_install_sh -d"
1960 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1961 echo "${ECHO_T}$MKDIR_P" >&6; }
1965 [\\/$
]* | ?
:[\\/]*) ;;
1966 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
1969 for ac_prog
in gawk mawk nawk
awk
1971 # Extract the first word of "$ac_prog", so it can be a program name with args.
1972 set dummy
$ac_prog; ac_word
=$2
1973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1975 if test "${ac_cv_prog_AWK+set}" = set; then
1976 echo $ECHO_N "(cached) $ECHO_C" >&6
1978 if test -n "$AWK"; then
1979 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1985 test -z "$as_dir" && as_dir
=.
1986 for ac_exec_ext
in '' $ac_executable_extensions; do
1987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1988 ac_cv_prog_AWK
="$ac_prog"
1989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1999 if test -n "$AWK"; then
2000 { echo "$as_me:$LINENO: result: $AWK" >&5
2001 echo "${ECHO_T}$AWK" >&6; }
2003 { echo "$as_me:$LINENO: result: no" >&5
2004 echo "${ECHO_T}no" >&6; }
2008 test -n "$AWK" && break
2011 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2012 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2013 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2014 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
2015 echo $ECHO_N "(cached) $ECHO_C" >&6
2017 cat >conftest.
make <<\_ACEOF
2020 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2022 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2023 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2025 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2027 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2031 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2032 { echo "$as_me:$LINENO: result: yes" >&5
2033 echo "${ECHO_T}yes" >&6; }
2036 { echo "$as_me:$LINENO: result: no" >&5
2037 echo "${ECHO_T}no" >&6; }
2038 SET_MAKE
="MAKE=${MAKE-make}"
2041 rm -rf .tst
2>/dev
/null
2042 mkdir .tst
2>/dev
/null
2043 if test -d .tst
; then
2048 rmdir .tst
2>/dev
/null
2050 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2051 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2052 # is not polluted with repeated "-I."
2053 am__isrc
=' -I$(srcdir)'
2054 # test to see if srcdir already configured
2055 if test -f $srcdir/config.status
; then
2056 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2057 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2058 { (exit 1); exit 1; }; }
2062 # test whether we have cygpath
2063 if test -z "$CYGPATH_W"; then
2064 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2065 CYGPATH_W
='cygpath -w'
2072 # Define the identity of the package.
2077 cat >>confdefs.h
<<_ACEOF
2078 #define PACKAGE "$PACKAGE"
2082 cat >>confdefs.h
<<_ACEOF
2083 #define VERSION "$VERSION"
2086 # Some tools Automake needs.
2088 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2091 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2094 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2097 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2100 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2102 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2104 # Installed binaries are usually stripped using `strip' when the user
2105 # run `make install-strip'. However `strip' might not be the right
2106 # tool to use in cross-compilation environments, therefore Automake
2107 # will honor the `STRIP' environment variable to overrule this program.
2108 if test "$cross_compiling" != no
; then
2109 if test -n "$ac_tool_prefix"; then
2110 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2111 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2114 if test "${ac_cv_prog_STRIP+set}" = set; then
2115 echo $ECHO_N "(cached) $ECHO_C" >&6
2117 if test -n "$STRIP"; then
2118 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2124 test -z "$as_dir" && as_dir
=.
2125 for ac_exec_ext
in '' $ac_executable_extensions; do
2126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2127 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137 STRIP
=$ac_cv_prog_STRIP
2138 if test -n "$STRIP"; then
2139 { echo "$as_me:$LINENO: result: $STRIP" >&5
2140 echo "${ECHO_T}$STRIP" >&6; }
2142 { echo "$as_me:$LINENO: result: no" >&5
2143 echo "${ECHO_T}no" >&6; }
2148 if test -z "$ac_cv_prog_STRIP"; then
2150 # Extract the first word of "strip", so it can be a program name with args.
2151 set dummy strip
; ac_word
=$2
2152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2154 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2155 echo $ECHO_N "(cached) $ECHO_C" >&6
2157 if test -n "$ac_ct_STRIP"; then
2158 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2164 test -z "$as_dir" && as_dir
=.
2165 for ac_exec_ext
in '' $ac_executable_extensions; do
2166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2167 ac_cv_prog_ac_ct_STRIP
="strip"
2168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2177 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2178 if test -n "$ac_ct_STRIP"; then
2179 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2180 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2182 { echo "$as_me:$LINENO: result: no" >&5
2183 echo "${ECHO_T}no" >&6; }
2186 if test "x$ac_ct_STRIP" = x
; then
2189 case $cross_compiling:$ac_tool_warned in
2191 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2192 whose name does not start with the host triplet. If you think this
2193 configuration is useful to you, please write to autoconf@gnu.org." >&5
2194 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2195 whose name does not start with the host triplet. If you think this
2196 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2197 ac_tool_warned
=yes ;;
2202 STRIP
="$ac_cv_prog_STRIP"
2206 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2208 # We need awk for the "check" target. The system "awk" is bad on
2210 # Always define AMTAR for backward compatibility.
2212 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2214 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2220 ac_config_headers
="$ac_config_headers src/config.h"
2223 # Checks for programs.
2225 ac_cpp
='$CPP $CPPFLAGS'
2226 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2227 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2228 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2229 if test -n "$ac_tool_prefix"; then
2230 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2231 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2234 if test "${ac_cv_prog_CC+set}" = set; then
2235 echo $ECHO_N "(cached) $ECHO_C" >&6
2237 if test -n "$CC"; then
2238 ac_cv_prog_CC
="$CC" # Let the user override the test.
2240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2244 test -z "$as_dir" && as_dir
=.
2245 for ac_exec_ext
in '' $ac_executable_extensions; do
2246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2247 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2258 if test -n "$CC"; then
2259 { echo "$as_me:$LINENO: result: $CC" >&5
2260 echo "${ECHO_T}$CC" >&6; }
2262 { echo "$as_me:$LINENO: result: no" >&5
2263 echo "${ECHO_T}no" >&6; }
2268 if test -z "$ac_cv_prog_CC"; then
2270 # Extract the first word of "gcc", so it can be a program name with args.
2271 set dummy gcc
; ac_word
=$2
2272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2274 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2275 echo $ECHO_N "(cached) $ECHO_C" >&6
2277 if test -n "$ac_ct_CC"; then
2278 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2284 test -z "$as_dir" && as_dir
=.
2285 for ac_exec_ext
in '' $ac_executable_extensions; do
2286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2287 ac_cv_prog_ac_ct_CC
="gcc"
2288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2297 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2298 if test -n "$ac_ct_CC"; then
2299 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2300 echo "${ECHO_T}$ac_ct_CC" >&6; }
2302 { echo "$as_me:$LINENO: result: no" >&5
2303 echo "${ECHO_T}no" >&6; }
2306 if test "x$ac_ct_CC" = x
; then
2309 case $cross_compiling:$ac_tool_warned in
2311 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2312 whose name does not start with the host triplet. If you think this
2313 configuration is useful to you, please write to autoconf@gnu.org." >&5
2314 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2315 whose name does not start with the host triplet. If you think this
2316 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2317 ac_tool_warned
=yes ;;
2325 if test -z "$CC"; then
2326 if test -n "$ac_tool_prefix"; then
2327 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2328 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2329 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2331 if test "${ac_cv_prog_CC+set}" = set; then
2332 echo $ECHO_N "(cached) $ECHO_C" >&6
2334 if test -n "$CC"; then
2335 ac_cv_prog_CC
="$CC" # Let the user override the test.
2337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2341 test -z "$as_dir" && as_dir
=.
2342 for ac_exec_ext
in '' $ac_executable_extensions; do
2343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2344 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2355 if test -n "$CC"; then
2356 { echo "$as_me:$LINENO: result: $CC" >&5
2357 echo "${ECHO_T}$CC" >&6; }
2359 { echo "$as_me:$LINENO: result: no" >&5
2360 echo "${ECHO_T}no" >&6; }
2366 if test -z "$CC"; then
2367 # Extract the first word of "cc", so it can be a program name with args.
2368 set dummy cc
; ac_word
=$2
2369 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2371 if test "${ac_cv_prog_CC+set}" = set; then
2372 echo $ECHO_N "(cached) $ECHO_C" >&6
2374 if test -n "$CC"; then
2375 ac_cv_prog_CC
="$CC" # Let the user override the test.
2378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2382 test -z "$as_dir" && as_dir
=.
2383 for ac_exec_ext
in '' $ac_executable_extensions; do
2384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2385 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2386 ac_prog_rejected
=yes
2390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2397 if test $ac_prog_rejected = yes; then
2398 # We found a bogon in the path, so make sure we never use it.
2399 set dummy
$ac_cv_prog_CC
2401 if test $# != 0; then
2402 # We chose a different compiler from the bogus one.
2403 # However, it has the same basename, so the bogon will be chosen
2404 # first if we set CC to just the basename; use the full file name.
2406 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2412 if test -n "$CC"; then
2413 { echo "$as_me:$LINENO: result: $CC" >&5
2414 echo "${ECHO_T}$CC" >&6; }
2416 { echo "$as_me:$LINENO: result: no" >&5
2417 echo "${ECHO_T}no" >&6; }
2422 if test -z "$CC"; then
2423 if test -n "$ac_tool_prefix"; then
2424 for ac_prog
in cl.exe
2426 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2427 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2430 if test "${ac_cv_prog_CC+set}" = set; then
2431 echo $ECHO_N "(cached) $ECHO_C" >&6
2433 if test -n "$CC"; then
2434 ac_cv_prog_CC
="$CC" # Let the user override the test.
2436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2440 test -z "$as_dir" && as_dir
=.
2441 for ac_exec_ext
in '' $ac_executable_extensions; do
2442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2443 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2454 if test -n "$CC"; then
2455 { echo "$as_me:$LINENO: result: $CC" >&5
2456 echo "${ECHO_T}$CC" >&6; }
2458 { echo "$as_me:$LINENO: result: no" >&5
2459 echo "${ECHO_T}no" >&6; }
2463 test -n "$CC" && break
2466 if test -z "$CC"; then
2468 for ac_prog
in cl.exe
2470 # Extract the first word of "$ac_prog", so it can be a program name with args.
2471 set dummy
$ac_prog; ac_word
=$2
2472 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2474 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2475 echo $ECHO_N "(cached) $ECHO_C" >&6
2477 if test -n "$ac_ct_CC"; then
2478 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2484 test -z "$as_dir" && as_dir
=.
2485 for ac_exec_ext
in '' $ac_executable_extensions; do
2486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2487 ac_cv_prog_ac_ct_CC
="$ac_prog"
2488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2497 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2498 if test -n "$ac_ct_CC"; then
2499 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2500 echo "${ECHO_T}$ac_ct_CC" >&6; }
2502 { echo "$as_me:$LINENO: result: no" >&5
2503 echo "${ECHO_T}no" >&6; }
2507 test -n "$ac_ct_CC" && break
2510 if test "x$ac_ct_CC" = x
; then
2513 case $cross_compiling:$ac_tool_warned in
2515 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2516 whose name does not start with the host triplet. If you think this
2517 configuration is useful to you, please write to autoconf@gnu.org." >&5
2518 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2519 whose name does not start with the host triplet. If you think this
2520 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2521 ac_tool_warned
=yes ;;
2530 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2531 See \`config.log' for more details." >&5
2532 echo "$as_me: error: no acceptable C compiler found in \$PATH
2533 See \`config.log' for more details." >&2;}
2534 { (exit 1); exit 1; }; }
2536 # Provide some information about the compiler.
2537 echo "$as_me:$LINENO: checking for C compiler version" >&5
2538 ac_compiler
=`set X $ac_compile; echo $2`
2539 { (ac_try
="$ac_compiler --version >&5"
2541 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2542 *) ac_try_echo=$ac_try;;
2544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2545 (eval "$ac_compiler --version >&5") 2>&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }
2549 { (ac_try="$ac_compiler -v >&5"
2551 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2552 *) ac_try_echo
=$ac_try;;
2554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2555 (eval "$ac_compiler -v >&5") 2>&5
2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); }
2559 { (ac_try
="$ac_compiler -V >&5"
2561 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2562 *) ac_try_echo=$ac_try;;
2564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2565 (eval "$ac_compiler -V >&5") 2>&5
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); }
2570 cat >conftest.$ac_ext <<_ACEOF
2573 cat confdefs.h >>conftest.$ac_ext
2574 cat >>conftest.$ac_ext <<_ACEOF
2575 /* end confdefs.h. */
2585 ac_clean_files_save=$ac_clean_files
2586 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2587 # Try to create an executable without -o first, disregard a.out.
2588 # It will help us diagnose broken compilers, and finding out an intuition
2590 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2591 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2592 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2594 # List of possible output files, starting from the most likely.
2595 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2596 # only as a last resort. b.out is created by i960 compilers.
2597 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2599 # The IRIX 6 linker writes into existing files which may not be
2600 # executable, retaining their permissions. Remove them first so a
2601 # subsequent execution test works.
2603 for ac_file in $ac_files
2606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2607 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2612 if { (ac_try="$ac_link_default"
2614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2615 *) ac_try_echo=$ac_try;;
2617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2618 (eval "$ac_link_default") 2>&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); }; then
2622 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2623 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2624 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2625 # so that the user can short-circuit this test for compilers unknown to
2627 for ac_file
in $ac_files ''
2629 test -f "$ac_file" || continue
2631 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
2634 # We found the default executable, but exeext='' is most
2638 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2640 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2642 # We set ac_cv_exeext here because the later test for it is not
2643 # safe: cross compilers may not add the suffix if given an `-o'
2644 # argument, so we may need to know it at that point already.
2645 # Even if this section looks crufty: it has the advantage of
2652 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2658 { echo "$as_me:$LINENO: result: $ac_file" >&5
2659 echo "${ECHO_T}$ac_file" >&6; }
2660 if test -z "$ac_file"; then
2661 echo "$as_me: failed program was:" >&5
2662 sed 's/^/| /' conftest.
$ac_ext >&5
2664 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2665 See \`config.log' for more details." >&5
2666 echo "$as_me: error: C compiler cannot create executables
2667 See \`config.log' for more details." >&2;}
2668 { (exit 77); exit 77; }; }
2671 ac_exeext
=$ac_cv_exeext
2673 # Check that the compiler produces executables we can run. If not, either
2674 # the compiler is broken, or we cross compile.
2675 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2676 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2677 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2678 # If not cross compiling, check that we can run a simple program.
2679 if test "$cross_compiling" != yes; then
2680 if { ac_try
='./$ac_file'
2681 { (case "(($ac_try" in
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_try") 2>&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); }; }; then
2692 if test "$cross_compiling" = maybe; then
2695 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2696 If you meant to cross compile, use \`--host'.
2697 See \`config.log' for more details.
" >&5
2698 echo "$as_me: error
: cannot run C compiled programs.
2699 If you meant to cross compile
, use \
`--host'.
2700 See \`config.log
' for more details." >&2;}
2701 { (exit 1); exit 1; }; }
2705 { echo "$as_me:$LINENO: result: yes" >&5
2706 echo "${ECHO_T}yes" >&6; }
2708 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2709 ac_clean_files=$ac_clean_files_save
2710 # Check that the compiler produces executables we can run. If not, either
2711 # the compiler is broken, or we cross compile.
2712 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2713 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2714 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2715 echo "${ECHO_T}$cross_compiling" >&6; }
2717 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2718 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2719 if { (ac_try="$ac_link"
2721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2722 *) ac_try_echo=$ac_try;;
2724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2725 (eval "$ac_link") 2>&5
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); }; then
2729 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2730 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2731 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2733 for ac_file
in conftest.exe conftest conftest.
*; do
2734 test -f "$ac_file" || continue
2736 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
2737 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2743 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2744 See \`config.log' for more details." >&5
2745 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2746 See \`config.log' for more details." >&2;}
2747 { (exit 1); exit 1; }; }
2750 rm -f conftest
$ac_cv_exeext
2751 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2752 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2754 rm -f conftest.
$ac_ext
2755 EXEEXT
=$ac_cv_exeext
2757 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2758 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2759 if test "${ac_cv_objext+set}" = set; then
2760 echo $ECHO_N "(cached) $ECHO_C" >&6
2762 cat >conftest.
$ac_ext <<_ACEOF
2765 cat confdefs.h
>>conftest.
$ac_ext
2766 cat >>conftest.
$ac_ext <<_ACEOF
2767 /* end confdefs.h. */
2777 rm -f conftest.o conftest.obj
2778 if { (ac_try
="$ac_compile"
2780 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2781 *) ac_try_echo=$ac_try;;
2783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2784 (eval "$ac_compile") 2>&5
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); }; then
2788 for ac_file in conftest.o conftest.obj conftest.*; do
2789 test -f "$ac_file" || continue;
2791 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2792 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2797 echo "$as_me: failed program was:" >&5
2798 sed 's/^/| /' conftest.$ac_ext >&5
2800 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2801 See \`config.log
' for more details." >&5
2802 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2803 See \`config.log' for more details.
" >&2;}
2804 { (exit 1); exit 1; }; }
2807 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2809 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2810 echo "${ECHO_T}$ac_cv_objext" >&6; }
2811 OBJEXT=$ac_cv_objext
2813 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2814 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2815 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2816 echo $ECHO_N "(cached
) $ECHO_C" >&6
2818 cat >conftest.$ac_ext <<_ACEOF
2821 cat confdefs.h >>conftest.$ac_ext
2822 cat >>conftest.$ac_ext <<_ACEOF
2823 /* end confdefs.h. */
2836 rm -f conftest.$ac_objext
2837 if { (ac_try="$ac_compile"
2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2840 *) ac_try_echo=$ac_try;;
2842 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2843 (eval "$ac_compile") 2>conftest.er1
2845 grep -v '^ *+' conftest.er1 >conftest.err
2847 cat conftest.err >&5
2848 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2849 (exit $ac_status); } && {
2850 test -z "$ac_c_werror_flag" ||
2851 test ! -s conftest.err
2852 } && test -s conftest.$ac_objext; then
2855 echo "$as_me: failed program was
:" >&5
2856 sed 's/^/| /' conftest.$ac_ext >&5
2861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2862 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2865 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2866 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2867 GCC=`test $ac_compiler_gnu = yes && echo yes`
2868 ac_test_CFLAGS=${CFLAGS+set}
2869 ac_save_CFLAGS=$CFLAGS
2870 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2871 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2872 if test "${ac_cv_prog_cc_g+set}" = set; then
2873 echo $ECHO_N "(cached
) $ECHO_C" >&6
2875 ac_save_c_werror_flag=$ac_c_werror_flag
2876 ac_c_werror_flag=yes
2879 cat >conftest.$ac_ext <<_ACEOF
2882 cat confdefs.h >>conftest.$ac_ext
2883 cat >>conftest.$ac_ext <<_ACEOF
2884 /* end confdefs.h. */
2894 rm -f conftest.$ac_objext
2895 if { (ac_try="$ac_compile"
2897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2898 *) ac_try_echo=$ac_try;;
2900 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2901 (eval "$ac_compile") 2>conftest.er1
2903 grep -v '^ *+' conftest.er1 >conftest.err
2905 cat conftest.err >&5
2906 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2907 (exit $ac_status); } && {
2908 test -z "$ac_c_werror_flag" ||
2909 test ! -s conftest.err
2910 } && test -s conftest.$ac_objext; then
2913 echo "$as_me: failed program was
:" >&5
2914 sed 's/^/| /' conftest.$ac_ext >&5
2917 cat >conftest.$ac_ext <<_ACEOF
2920 cat confdefs.h >>conftest.$ac_ext
2921 cat >>conftest.$ac_ext <<_ACEOF
2922 /* end confdefs.h. */
2932 rm -f conftest.$ac_objext
2933 if { (ac_try="$ac_compile"
2935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2936 *) ac_try_echo=$ac_try;;
2938 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2939 (eval "$ac_compile") 2>conftest.er1
2941 grep -v '^ *+' conftest.er1 >conftest.err
2943 cat conftest.err >&5
2944 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2945 (exit $ac_status); } && {
2946 test -z "$ac_c_werror_flag" ||
2947 test ! -s conftest.err
2948 } && test -s conftest.$ac_objext; then
2951 echo "$as_me: failed program was
:" >&5
2952 sed 's/^/| /' conftest.$ac_ext >&5
2954 ac_c_werror_flag=$ac_save_c_werror_flag
2956 cat >conftest.$ac_ext <<_ACEOF
2959 cat confdefs.h >>conftest.$ac_ext
2960 cat >>conftest.$ac_ext <<_ACEOF
2961 /* end confdefs.h. */
2971 rm -f conftest.$ac_objext
2972 if { (ac_try="$ac_compile"
2974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975 *) ac_try_echo=$ac_try;;
2977 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2978 (eval "$ac_compile") 2>conftest.er1
2980 grep -v '^ *+' conftest.er1 >conftest.err
2982 cat conftest.err >&5
2983 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2984 (exit $ac_status); } && {
2985 test -z "$ac_c_werror_flag" ||
2986 test ! -s conftest.err
2987 } && test -s conftest.$ac_objext; then
2990 echo "$as_me: failed program was
:" >&5
2991 sed 's/^/| /' conftest.$ac_ext >&5
2996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3003 ac_c_werror_flag=$ac_save_c_werror_flag
3005 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3006 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3007 if test "$ac_test_CFLAGS" = set; then
3008 CFLAGS=$ac_save_CFLAGS
3009 elif test $ac_cv_prog_cc_g = yes; then
3010 if test "$GCC" = yes; then
3016 if test "$GCC" = yes; then
3022 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3023 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3024 if test "${ac_cv_prog_cc_c89+set}" = set; then
3025 echo $ECHO_N "(cached
) $ECHO_C" >&6
3027 ac_cv_prog_cc_c89=no
3029 cat >conftest.$ac_ext <<_ACEOF
3032 cat confdefs.h >>conftest.$ac_ext
3033 cat >>conftest.$ac_ext <<_ACEOF
3034 /* end confdefs.h. */
3037 #include <sys/types.h>
3038 #include <sys/stat.h>
3039 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3040 struct buf { int x; };
3041 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3042 static char *e (p, i)
3048 static char *f (char * (*g) (char **, int), char **p, ...)
3053 s = g (p, va_arg (v,int));
3058 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3059 function prototypes and stuff, but not '\xHH' hex character constants.
3060 These don't provoke an error unfortunately, instead are silently treated
3061 as 'x'. The following induces an error, until -std is added to get
3062 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3063 array size at least. It's necessary to write '\x00'==0 to get something
3064 that's true only with -std. */
3065 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3067 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3068 inside strings and character constants. */
3070 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3072 int test (int i, double x);
3073 struct s1 {int (*f) (int a);};
3074 struct s2 {int (*f) (double a);};
3075 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3081 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3086 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3087 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3089 CC="$ac_save_CC $ac_arg"
3090 rm -f conftest.$ac_objext
3091 if { (ac_try="$ac_compile"
3093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3094 *) ac_try_echo=$ac_try;;
3096 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3097 (eval "$ac_compile") 2>conftest.er1
3099 grep -v '^ *+' conftest.er1 >conftest.err
3101 cat conftest.err >&5
3102 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3103 (exit $ac_status); } && {
3104 test -z "$ac_c_werror_flag" ||
3105 test ! -s conftest.err
3106 } && test -s conftest.$ac_objext; then
3107 ac_cv_prog_cc_c89=$ac_arg
3109 echo "$as_me: failed program was
:" >&5
3110 sed 's/^/| /' conftest.$ac_ext >&5
3115 rm -f core conftest.err conftest.$ac_objext
3116 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3118 rm -f conftest.$ac_ext
3123 case "x
$ac_cv_prog_cc_c89" in
3125 { echo "$as_me:$LINENO: result
: none needed
" >&5
3126 echo "${ECHO_T}none needed
" >&6; } ;;
3128 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3129 echo "${ECHO_T}unsupported
" >&6; } ;;
3131 CC="$CC $ac_cv_prog_cc_c89"
3132 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3133 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3138 ac_cpp='$CPP $CPPFLAGS'
3139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3142 DEPDIR="${am__leading_dot}deps
"
3144 ac_config_commands="$ac_config_commands depfiles
"
3147 am_make=${MAKE-make}
3148 cat > confinc << 'END'
3153 # If we don't find an include directive, just comment out the code.
3154 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3155 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3159 # First try GNU make style include.
3160 echo "include confinc" > confmf
3161 # We grep out `Entering directory' and `Leaving directory'
3162 # messages which can occur if `w' ends up in MAKEFLAGS.
3163 # In particular we don't look at `^make:' because GNU make might
3164 # be invoked under some other name (usually "gmake"), in which
3165 # case it prints its new name instead of `make'.
3166 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3171 # Now try BSD make style include.
3172 if test "$am__include" = "#"; then
3173 echo '.include "confinc"' > confmf
3174 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3175 am__include
=.include
3182 { echo "$as_me:$LINENO: result: $_am_result" >&5
3183 echo "${ECHO_T}$_am_result" >&6; }
3184 rm -f confinc confmf
3186 # Check whether --enable-dependency-tracking was given.
3187 if test "${enable_dependency_tracking+set}" = set; then
3188 enableval
=$enable_dependency_tracking;
3191 if test "x$enable_dependency_tracking" != xno
; then
3192 am_depcomp
="$ac_aux_dir/depcomp"
3195 if test "x$enable_dependency_tracking" != xno; then
3205 depcc
="$CC" am_compiler_list
=
3207 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3208 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3209 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3210 echo $ECHO_N "(cached) $ECHO_C" >&6
3212 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3213 # We make a subdir and do the tests there. Otherwise we can end up
3214 # making bogus files that we don't know about and never remove. For
3215 # instance it was reported that on HP-UX the gcc test will end up
3216 # making a dummy file named `D' -- because `-MD' means `put the output
3219 # Copy depcomp to subdir because otherwise we won't find it if we're
3220 # using a relative directory.
3221 cp "$am_depcomp" conftest.dir
3223 # We will build objects and dependencies in a subdirectory because
3224 # it helps to detect inapplicable dependency modes. For instance
3225 # both Tru64's cc and ICC support -MD to output dependencies as a
3226 # side effect of compilation, but ICC will put the dependencies in
3227 # the current directory while Tru64 will put them in the object
3231 am_cv_CC_dependencies_compiler_type
=none
3232 if test "$am_compiler_list" = ""; then
3233 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3235 for depmode
in $am_compiler_list; do
3236 # Setup a source with many dependencies, because some compilers
3237 # like to wrap large dependency lists on column 80 (with \), and
3238 # we should not choose a depcomp mode which is confused by this.
3240 # We need to recreate these files for each test, as the compiler may
3241 # overwrite some of them when testing with obscure command lines.
3242 # This happens at least with the AIX C compiler.
3244 for i
in 1 2 3 4 5 6; do
3245 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3246 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3247 # Solaris 8's {/usr,}/bin/sh.
3248 touch sub
/conftst
$i.h
3250 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3254 # after this tag, mechanisms are not by side-effect, so they'll
3255 # only be used when explicitly requested
3256 if test "x$enable_dependency_tracking" = xyes
; then
3264 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3265 # mode. It turns out that the SunPro C++ compiler does not properly
3266 # handle `-M -o', and we need to detect this.
3267 if depmode
=$depmode \
3268 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3269 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3270 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3271 >/dev
/null
2>conftest.err
&&
3272 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3273 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3274 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3275 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3276 # icc doesn't choke on unknown options, it will just issue warnings
3277 # or remarks (even with -Werror). So we grep stderr for any message
3278 # that says an option was ignored or not supported.
3279 # When given -MP, icc 7.0 and 7.1 complain thusly:
3280 # icc: Command line warning: ignoring option '-M'; no argument required
3281 # The diagnosis changed in icc 8.0:
3282 # icc: Command line remark: option '-MP' not supported
3283 if (grep 'ignoring option' conftest.err
||
3284 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3285 am_cv_CC_dependencies_compiler_type
=$depmode
3294 am_cv_CC_dependencies_compiler_type
=none
3298 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3299 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3300 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3303 test "x$enable_dependency_tracking" != xno \
3304 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3306 am__fastdepCC_FALSE
='#'
3308 am__fastdepCC_TRUE
='#'
3309 am__fastdepCC_FALSE
=
3313 if test -n "$ac_tool_prefix"; then
3314 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3315 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3318 if test "${ac_cv_prog_RANLIB+set}" = set; then
3319 echo $ECHO_N "(cached) $ECHO_C" >&6
3321 if test -n "$RANLIB"; then
3322 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3328 test -z "$as_dir" && as_dir
=.
3329 for ac_exec_ext
in '' $ac_executable_extensions; do
3330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3331 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3341 RANLIB
=$ac_cv_prog_RANLIB
3342 if test -n "$RANLIB"; then
3343 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3344 echo "${ECHO_T}$RANLIB" >&6; }
3346 { echo "$as_me:$LINENO: result: no" >&5
3347 echo "${ECHO_T}no" >&6; }
3352 if test -z "$ac_cv_prog_RANLIB"; then
3353 ac_ct_RANLIB
=$RANLIB
3354 # Extract the first word of "ranlib", so it can be a program name with args.
3355 set dummy ranlib
; ac_word
=$2
3356 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3358 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3359 echo $ECHO_N "(cached) $ECHO_C" >&6
3361 if test -n "$ac_ct_RANLIB"; then
3362 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3368 test -z "$as_dir" && as_dir
=.
3369 for ac_exec_ext
in '' $ac_executable_extensions; do
3370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3371 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3381 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3382 if test -n "$ac_ct_RANLIB"; then
3383 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3384 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3386 { echo "$as_me:$LINENO: result: no" >&5
3387 echo "${ECHO_T}no" >&6; }
3390 if test "x$ac_ct_RANLIB" = x
; then
3393 case $cross_compiling:$ac_tool_warned in
3395 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3396 whose name does not start with the host triplet. If you think this
3397 configuration is useful to you, please write to autoconf@gnu.org." >&5
3398 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3399 whose name does not start with the host triplet. If you think this
3400 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3401 ac_tool_warned
=yes ;;
3403 RANLIB
=$ac_ct_RANLIB
3406 RANLIB
="$ac_cv_prog_RANLIB"
3409 if test "x$CC" != xcc
; then
3410 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3411 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
3413 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3414 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
3416 set dummy
$CC; ac_cc
=`echo $2 |
3417 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3418 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o
; eval "test \"\${$as_var+set}\" = set"; }; then
3419 echo $ECHO_N "(cached) $ECHO_C" >&6
3421 cat >conftest.
$ac_ext <<_ACEOF
3424 cat confdefs.h
>>conftest.
$ac_ext
3425 cat >>conftest.
$ac_ext <<_ACEOF
3426 /* end confdefs.h. */
3436 # Make sure it works both with $CC and with simple cc.
3437 # We do the test twice because some compilers refuse to overwrite an
3438 # existing .o file with -o, though they will create one.
3439 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3441 if { (case "(($ac_try" in
3442 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3443 *) ac_try_echo=$ac_try;;
3445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3446 (eval "$ac_try") 2>&5
3448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); } &&
3450 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3451 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3452 *) ac_try_echo
=$ac_try;;
3454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3455 (eval "$ac_try") 2>&5
3457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458 (exit $ac_status); };
3460 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
3461 if test "x$CC" != xcc
; then
3462 # Test first that cc exists at all.
3463 if { ac_try
='cc -c conftest.$ac_ext >&5'
3464 { (case "(($ac_try" in
3465 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3466 *) ac_try_echo=$ac_try;;
3468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3469 (eval "$ac_try") 2>&5
3471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); }; }; then
3473 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3475 if { (case "(($ac_try" in
3476 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3477 *) ac_try_echo
=$ac_try;;
3479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3480 (eval "$ac_try") 2>&5
3482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483 (exit $ac_status); } &&
3484 test -f conftest2.
$ac_objext && { (case "(($ac_try" in
3485 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3486 *) ac_try_echo=$ac_try;;
3488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3489 (eval "$ac_try") 2>&5
3491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492 (exit $ac_status); };
3497 # cc exists but doesn't like -o.
3498 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3503 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3505 rm -f core conftest*
3508 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3509 { echo "$as_me:$LINENO: result: yes" >&5
3510 echo "${ECHO_T}yes" >&6; }
3512 { echo "$as_me:$LINENO: result: no" >&5
3513 echo "${ECHO_T}no" >&6; }
3515 cat >>confdefs.h <<\_ACEOF
3516 #define NO_MINUS_C_MINUS_O 1
3521 # FIXME: we rely on the cache variable name because
3522 # there is no other way.
3524 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3525 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o
`\" != yes"; then
3526 # Losing compiler, so override with the script.
3527 # FIXME: It is wrong to rewrite CC.
3528 # But if we don't then we get into trouble of one sort or another.
3529 # A longer-term fix would be to have automake use am__CC in this case,
3530 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3531 CC="$am_aux_dir/compile $CC"
3536 # Checks for header files.
3544 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
3545 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3546 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3547 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
3548 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3549 echo $ECHO_N "(cached) $ECHO_C" >&6
3551 cat >conftest.$ac_ext <<_ACEOF
3554 cat confdefs.h >>conftest.$ac_ext
3555 cat >>conftest.$ac_ext <<_ACEOF
3556 /* end confdefs.h. */
3557 #include <sys/types.h>
3569 rm -f conftest.$ac_objext
3570 if { (ac_try="$ac_compile"
3572 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3573 *) ac_try_echo
=$ac_try;;
3575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3576 (eval "$ac_compile") 2>conftest.er1
3578 grep -v '^ *+' conftest.er1
>conftest.err
3580 cat conftest.err
>&5
3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3582 (exit $ac_status); } && {
3583 test -z "$ac_c_werror_flag" ||
3584 test ! -s conftest.err
3585 } && test -s conftest.
$ac_objext; then
3586 eval "$as_ac_Header=yes"
3588 echo "$as_me: failed program was:" >&5
3589 sed 's/^/| /' conftest.
$ac_ext >&5
3591 eval "$as_ac_Header=no"
3594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3596 ac_res
=`eval echo '${'$as_ac_Header'}'`
3597 { echo "$as_me:$LINENO: result: $ac_res" >&5
3598 echo "${ECHO_T}$ac_res" >&6; }
3599 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3600 cat >>confdefs.h
<<_ACEOF
3601 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3604 ac_header_dirent
=$ac_hdr; break
3608 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3609 if test $ac_header_dirent = dirent.h
; then
3610 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
3611 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
3612 if test "${ac_cv_search_opendir+set}" = set; then
3613 echo $ECHO_N "(cached) $ECHO_C" >&6
3615 ac_func_search_save_LIBS
=$LIBS
3616 cat >conftest.
$ac_ext <<_ACEOF
3619 cat confdefs.h
>>conftest.
$ac_ext
3620 cat >>conftest.
$ac_ext <<_ACEOF
3621 /* end confdefs.h. */
3623 /* Override any GCC internal prototype to avoid an error.
3624 Use char because int might match the return type of a GCC
3625 builtin and then its argument prototype would still apply. */
3638 for ac_lib
in '' dir
; do
3639 if test -z "$ac_lib"; then
3640 ac_res
="none required"
3643 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3645 rm -f conftest.
$ac_objext conftest
$ac_exeext
3646 if { (ac_try
="$ac_link"
3648 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3649 *) ac_try_echo=$ac_try;;
3651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3652 (eval "$ac_link") 2>conftest.er1
3654 grep -v '^ *+' conftest.er1 >conftest.err
3656 cat conftest.err >&5
3657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658 (exit $ac_status); } && {
3659 test -z "$ac_c_werror_flag" ||
3660 test ! -s conftest.err
3661 } && test -s conftest$ac_exeext &&
3662 $as_test_x conftest$ac_exeext; then
3663 ac_cv_search_opendir=$ac_res
3665 echo "$as_me: failed program was:" >&5
3666 sed 's/^/| /' conftest.$ac_ext >&5
3671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3673 if test "${ac_cv_search_opendir+set}" = set; then
3677 if test "${ac_cv_search_opendir+set}" = set; then
3680 ac_cv_search_opendir=no
3683 LIBS=$ac_func_search_save_LIBS
3685 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3686 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
3687 ac_res=$ac_cv_search_opendir
3688 if test "$ac_res" != no; then
3689 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3694 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
3695 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
3696 if test "${ac_cv_search_opendir+set}" = set; then
3697 echo $ECHO_N "(cached) $ECHO_C" >&6
3699 ac_func_search_save_LIBS=$LIBS
3700 cat >conftest.$ac_ext <<_ACEOF
3703 cat confdefs.h >>conftest.$ac_ext
3704 cat >>conftest.$ac_ext <<_ACEOF
3705 /* end confdefs.h. */
3707 /* Override any GCC internal prototype to avoid an error.
3708 Use char because int might match the return type of a GCC
3709 builtin and then its argument prototype would still apply. */
3722 for ac_lib in '' x; do
3723 if test -z "$ac_lib"; then
3724 ac_res="none required"
3727 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3729 rm -f conftest.$ac_objext conftest$ac_exeext
3730 if { (ac_try="$ac_link"
3732 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3733 *) ac_try_echo
=$ac_try;;
3735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3736 (eval "$ac_link") 2>conftest.er1
3738 grep -v '^ *+' conftest.er1
>conftest.err
3740 cat conftest.err
>&5
3741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3742 (exit $ac_status); } && {
3743 test -z "$ac_c_werror_flag" ||
3744 test ! -s conftest.err
3745 } && test -s conftest
$ac_exeext &&
3746 $as_test_x conftest
$ac_exeext; then
3747 ac_cv_search_opendir
=$ac_res
3749 echo "$as_me: failed program was:" >&5
3750 sed 's/^/| /' conftest.
$ac_ext >&5
3755 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3757 if test "${ac_cv_search_opendir+set}" = set; then
3761 if test "${ac_cv_search_opendir+set}" = set; then
3764 ac_cv_search_opendir
=no
3767 LIBS
=$ac_func_search_save_LIBS
3769 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3770 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
3771 ac_res
=$ac_cv_search_opendir
3772 if test "$ac_res" != no
; then
3773 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3780 ac_cpp
='$CPP $CPPFLAGS'
3781 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3782 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3783 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3784 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3785 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3786 # On Suns, sometimes $CPP names a directory.
3787 if test -n "$CPP" && test -d "$CPP"; then
3790 if test -z "$CPP"; then
3791 if test "${ac_cv_prog_CPP+set}" = set; then
3792 echo $ECHO_N "(cached) $ECHO_C" >&6
3794 # Double quotes because CPP needs to be expanded
3795 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3798 for ac_c_preproc_warn_flag
in '' yes
3800 # Use a header file that comes with gcc, so configuring glibc
3801 # with a fresh cross-compiler works.
3802 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3803 # <limits.h> exists even on freestanding compilers.
3804 # On the NeXT, cc -E runs the code through the compiler's parser,
3805 # not just through cpp. "Syntax error" is here to catch this case.
3806 cat >conftest.
$ac_ext <<_ACEOF
3809 cat confdefs.h
>>conftest.
$ac_ext
3810 cat >>conftest.
$ac_ext <<_ACEOF
3811 /* end confdefs.h. */
3813 # include <limits.h>
3815 # include <assert.h>
3819 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3821 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3822 *) ac_try_echo=$ac_try;;
3824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3825 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3827 grep -v '^ *+' conftest.er1 >conftest.err
3829 cat conftest.err >&5
3830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831 (exit $ac_status); } >/dev/null && {
3832 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3833 test ! -s conftest.err
3837 echo "$as_me: failed program was:" >&5
3838 sed 's/^/| /' conftest.$ac_ext >&5
3840 # Broken: fails on valid input.
3844 rm -f conftest.err conftest.$ac_ext
3846 # OK, works on sane cases. Now check whether nonexistent headers
3847 # can be detected and how.
3848 cat >conftest.$ac_ext <<_ACEOF
3851 cat confdefs.h >>conftest.$ac_ext
3852 cat >>conftest.$ac_ext <<_ACEOF
3853 /* end confdefs.h. */
3854 #include <ac_nonexistent.h>
3856 if { (ac_try="$ac_cpp conftest.$ac_ext"
3858 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3859 *) ac_try_echo
=$ac_try;;
3861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3862 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3864 grep -v '^ *+' conftest.er1
>conftest.err
3866 cat conftest.err
>&5
3867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3868 (exit $ac_status); } >/dev
/null
&& {
3869 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3870 test ! -s conftest.err
3872 # Broken: success on invalid input.
3875 echo "$as_me: failed program was:" >&5
3876 sed 's/^/| /' conftest.
$ac_ext >&5
3878 # Passes both tests.
3883 rm -f conftest.err conftest.
$ac_ext
3886 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3887 rm -f conftest.err conftest.
$ac_ext
3888 if $ac_preproc_ok; then
3900 { echo "$as_me:$LINENO: result: $CPP" >&5
3901 echo "${ECHO_T}$CPP" >&6; }
3903 for ac_c_preproc_warn_flag
in '' yes
3905 # Use a header file that comes with gcc, so configuring glibc
3906 # with a fresh cross-compiler works.
3907 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3908 # <limits.h> exists even on freestanding compilers.
3909 # On the NeXT, cc -E runs the code through the compiler's parser,
3910 # not just through cpp. "Syntax error" is here to catch this case.
3911 cat >conftest.
$ac_ext <<_ACEOF
3914 cat confdefs.h
>>conftest.
$ac_ext
3915 cat >>conftest.
$ac_ext <<_ACEOF
3916 /* end confdefs.h. */
3918 # include <limits.h>
3920 # include <assert.h>
3924 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3926 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3927 *) ac_try_echo=$ac_try;;
3929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3930 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3932 grep -v '^ *+' conftest.er1 >conftest.err
3934 cat conftest.err >&5
3935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3936 (exit $ac_status); } >/dev/null && {
3937 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3938 test ! -s conftest.err
3942 echo "$as_me: failed program was:" >&5
3943 sed 's/^/| /' conftest.$ac_ext >&5
3945 # Broken: fails on valid input.
3949 rm -f conftest.err conftest.$ac_ext
3951 # OK, works on sane cases. Now check whether nonexistent headers
3952 # can be detected and how.
3953 cat >conftest.$ac_ext <<_ACEOF
3956 cat confdefs.h >>conftest.$ac_ext
3957 cat >>conftest.$ac_ext <<_ACEOF
3958 /* end confdefs.h. */
3959 #include <ac_nonexistent.h>
3961 if { (ac_try="$ac_cpp conftest.$ac_ext"
3963 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3964 *) ac_try_echo
=$ac_try;;
3966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3967 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3969 grep -v '^ *+' conftest.er1
>conftest.err
3971 cat conftest.err
>&5
3972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 (exit $ac_status); } >/dev
/null
&& {
3974 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3975 test ! -s conftest.err
3977 # Broken: success on invalid input.
3980 echo "$as_me: failed program was:" >&5
3981 sed 's/^/| /' conftest.
$ac_ext >&5
3983 # Passes both tests.
3988 rm -f conftest.err conftest.
$ac_ext
3991 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3992 rm -f conftest.err conftest.
$ac_ext
3993 if $ac_preproc_ok; then
3996 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3997 See \`config.log' for more details." >&5
3998 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3999 See \`config.log' for more details." >&2;}
4000 { (exit 1); exit 1; }; }
4004 ac_cpp
='$CPP $CPPFLAGS'
4005 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4006 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4007 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4010 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4011 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4012 if test "${ac_cv_path_GREP+set}" = set; then
4013 echo $ECHO_N "(cached) $ECHO_C" >&6
4015 # Extract the first word of "grep ggrep" to use in msg output
4016 if test -z "$GREP"; then
4017 set dummy
grep ggrep
; ac_prog_name
=$2
4018 if test "${ac_cv_path_GREP+set}" = set; then
4019 echo $ECHO_N "(cached) $ECHO_C" >&6
4021 ac_path_GREP_found
=false
4022 # Loop through the user's path and test for each of PROGNAME-LIST
4023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4024 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4027 test -z "$as_dir" && as_dir
=.
4028 for ac_prog
in grep ggrep
; do
4029 for ac_exec_ext
in '' $ac_executable_extensions; do
4030 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4031 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4032 # Check for GNU ac_path_GREP and select it if it is found.
4033 # Check for GNU $ac_path_GREP
4034 case `"$ac_path_GREP" --version 2>&1` in
4036 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4039 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4042 cat "conftest.in" "conftest.in" >"conftest.tmp"
4043 mv "conftest.tmp" "conftest.in"
4044 cp "conftest.in" "conftest.nl"
4045 echo 'GREP' >> "conftest.nl"
4046 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4047 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4048 ac_count
=`expr $ac_count + 1`
4049 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4050 # Best one so far, save it but keep looking for a better one
4051 ac_cv_path_GREP
="$ac_path_GREP"
4052 ac_path_GREP_max
=$ac_count
4054 # 10*(2^10) chars as input seems more than enough
4055 test $ac_count -gt 10 && break
4057 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4061 $ac_path_GREP_found && break 3
4071 GREP
="$ac_cv_path_GREP"
4072 if test -z "$GREP"; then
4073 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4074 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4075 { (exit 1); exit 1; }; }
4079 ac_cv_path_GREP
=$GREP
4084 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4085 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4086 GREP
="$ac_cv_path_GREP"
4089 { echo "$as_me:$LINENO: checking for egrep" >&5
4090 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4091 if test "${ac_cv_path_EGREP+set}" = set; then
4092 echo $ECHO_N "(cached) $ECHO_C" >&6
4094 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
4095 then ac_cv_path_EGREP
="$GREP -E"
4097 # Extract the first word of "egrep" to use in msg output
4098 if test -z "$EGREP"; then
4099 set dummy
egrep; ac_prog_name
=$2
4100 if test "${ac_cv_path_EGREP+set}" = set; then
4101 echo $ECHO_N "(cached) $ECHO_C" >&6
4103 ac_path_EGREP_found
=false
4104 # Loop through the user's path and test for each of PROGNAME-LIST
4105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4106 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4109 test -z "$as_dir" && as_dir
=.
4110 for ac_prog
in egrep; do
4111 for ac_exec_ext
in '' $ac_executable_extensions; do
4112 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4113 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4114 # Check for GNU ac_path_EGREP and select it if it is found.
4115 # Check for GNU $ac_path_EGREP
4116 case `"$ac_path_EGREP" --version 2>&1` in
4118 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4121 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4124 cat "conftest.in" "conftest.in" >"conftest.tmp"
4125 mv "conftest.tmp" "conftest.in"
4126 cp "conftest.in" "conftest.nl"
4127 echo 'EGREP' >> "conftest.nl"
4128 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4129 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4130 ac_count
=`expr $ac_count + 1`
4131 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4132 # Best one so far, save it but keep looking for a better one
4133 ac_cv_path_EGREP
="$ac_path_EGREP"
4134 ac_path_EGREP_max
=$ac_count
4136 # 10*(2^10) chars as input seems more than enough
4137 test $ac_count -gt 10 && break
4139 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4143 $ac_path_EGREP_found && break 3
4153 EGREP
="$ac_cv_path_EGREP"
4154 if test -z "$EGREP"; then
4155 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4156 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4157 { (exit 1); exit 1; }; }
4161 ac_cv_path_EGREP
=$EGREP
4167 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4168 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4169 EGREP
="$ac_cv_path_EGREP"
4172 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4173 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4174 if test "${ac_cv_header_stdc+set}" = set; then
4175 echo $ECHO_N "(cached) $ECHO_C" >&6
4177 cat >conftest.
$ac_ext <<_ACEOF
4180 cat confdefs.h
>>conftest.
$ac_ext
4181 cat >>conftest.
$ac_ext <<_ACEOF
4182 /* end confdefs.h. */
4196 rm -f conftest.
$ac_objext
4197 if { (ac_try
="$ac_compile"
4199 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4200 *) ac_try_echo=$ac_try;;
4202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4203 (eval "$ac_compile") 2>conftest.er1
4205 grep -v '^ *+' conftest.er1 >conftest.err
4207 cat conftest.err >&5
4208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4209 (exit $ac_status); } && {
4210 test -z "$ac_c_werror_flag" ||
4211 test ! -s conftest.err
4212 } && test -s conftest.$ac_objext; then
4213 ac_cv_header_stdc=yes
4215 echo "$as_me: failed program was:" >&5
4216 sed 's/^/| /' conftest.$ac_ext >&5
4218 ac_cv_header_stdc=no
4221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4223 if test $ac_cv_header_stdc = yes; then
4224 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4225 cat >conftest.$ac_ext <<_ACEOF
4228 cat confdefs.h >>conftest.$ac_ext
4229 cat >>conftest.$ac_ext <<_ACEOF
4230 /* end confdefs.h. */
4234 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4235 $EGREP "memchr" >/dev/null 2>&1; then
4238 ac_cv_header_stdc=no
4244 if test $ac_cv_header_stdc = yes; then
4245 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4246 cat >conftest.$ac_ext <<_ACEOF
4249 cat confdefs.h >>conftest.$ac_ext
4250 cat >>conftest.$ac_ext <<_ACEOF
4251 /* end confdefs.h. */
4255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4256 $EGREP "free" >/dev/null 2>&1; then
4259 ac_cv_header_stdc=no
4265 if test $ac_cv_header_stdc = yes; then
4266 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4267 if test "$cross_compiling" = yes; then
4270 cat >conftest.$ac_ext <<_ACEOF
4273 cat confdefs.h >>conftest.$ac_ext
4274 cat >>conftest.$ac_ext <<_ACEOF
4275 /* end confdefs.h. */
4278 #if ((' ' & 0x0FF) == 0x020)
4279 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4280 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4282 # define ISLOWER(c) \
4283 (('a' <= (c) && (c) <= 'i') \
4284 || ('j' <= (c) && (c) <= 'r') \
4285 || ('s' <= (c) && (c) <= 'z'))
4286 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4289 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4294 for (i = 0; i < 256; i++)
4295 if (XOR (islower (i), ISLOWER (i))
4296 || toupper (i) != TOUPPER (i))
4301 rm -f conftest$ac_exeext
4302 if { (ac_try="$ac_link"
4304 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4305 *) ac_try_echo
=$ac_try;;
4307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4308 (eval "$ac_link") 2>&5
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4312 { (case "(($ac_try" in
4313 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4314 *) ac_try_echo=$ac_try;;
4316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4317 (eval "$ac_try") 2>&5
4319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4320 (exit $ac_status); }; }; then
4323 echo "$as_me: program exited with status $ac_status" >&5
4324 echo "$as_me: failed program was:" >&5
4325 sed 's/^/| /' conftest.$ac_ext >&5
4328 ac_cv_header_stdc=no
4330 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4336 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4337 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4338 if test $ac_cv_header_stdc = yes; then
4340 cat >>confdefs.h <<\_ACEOF
4341 #define STDC_HEADERS 1
4346 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4347 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
4348 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4349 echo $ECHO_N "(cached) $ECHO_C" >&6
4351 cat >conftest.$ac_ext <<_ACEOF
4354 cat confdefs.h >>conftest.$ac_ext
4355 cat >>conftest.$ac_ext <<_ACEOF
4356 /* end confdefs.h. */
4357 #include <sys/types.h>
4358 #include <sys/wait.h>
4360 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4363 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4371 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4376 rm -f conftest.$ac_objext
4377 if { (ac_try="$ac_compile"
4379 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4380 *) ac_try_echo
=$ac_try;;
4382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4383 (eval "$ac_compile") 2>conftest.er1
4385 grep -v '^ *+' conftest.er1
>conftest.err
4387 cat conftest.err
>&5
4388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389 (exit $ac_status); } && {
4390 test -z "$ac_c_werror_flag" ||
4391 test ! -s conftest.err
4392 } && test -s conftest.
$ac_objext; then
4393 ac_cv_header_sys_wait_h
=yes
4395 echo "$as_me: failed program was:" >&5
4396 sed 's/^/| /' conftest.
$ac_ext >&5
4398 ac_cv_header_sys_wait_h
=no
4401 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4403 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4404 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
4405 if test $ac_cv_header_sys_wait_h = yes; then
4407 cat >>confdefs.h
<<\_ACEOF
4408 #define HAVE_SYS_WAIT_H 1
4413 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4423 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4424 inttypes.h stdint.h unistd.h
4426 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4427 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4429 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4430 echo $ECHO_N "(cached) $ECHO_C" >&6
4432 cat >conftest.
$ac_ext <<_ACEOF
4435 cat confdefs.h
>>conftest.
$ac_ext
4436 cat >>conftest.
$ac_ext <<_ACEOF
4437 /* end confdefs.h. */
4438 $ac_includes_default
4440 #include <$ac_header>
4442 rm -f conftest.
$ac_objext
4443 if { (ac_try
="$ac_compile"
4445 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4446 *) ac_try_echo=$ac_try;;
4448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4449 (eval "$ac_compile") 2>conftest.er1
4451 grep -v '^ *+' conftest.er1 >conftest.err
4453 cat conftest.err >&5
4454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455 (exit $ac_status); } && {
4456 test -z "$ac_c_werror_flag" ||
4457 test ! -s conftest.err
4458 } && test -s conftest.$ac_objext; then
4459 eval "$as_ac_Header=yes"
4461 echo "$as_me: failed program was:" >&5
4462 sed 's/^/| /' conftest.$ac_ext >&5
4464 eval "$as_ac_Header=no"
4467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4469 ac_res=`eval echo '${'$as_ac_Header'}'`
4470 { echo "$as_me:$LINENO: result: $ac_res" >&5
4471 echo "${ECHO_T}$ac_res" >&6; }
4472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4473 cat >>confdefs.h <<_ACEOF
4474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4499 for ac_header in fcntl.h limits.h mach/mach.h netdb.h netinet/in.h paths.h stddef.h stdlib.h string.h sys/ioctl.h sys/mount.h sys/param.h sys/socket.h sys/time.h syslog.h termios.h unistd.h
4501 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4502 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4503 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4505 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4506 echo $ECHO_N "(cached) $ECHO_C" >&6
4508 ac_res=`eval echo '${'$as_ac_Header'}'`
4509 { echo "$as_me:$LINENO: result: $ac_res" >&5
4510 echo "${ECHO_T}$ac_res" >&6; }
4512 # Is the header compilable?
4513 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4514 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4515 cat >conftest.$ac_ext <<_ACEOF
4518 cat confdefs.h >>conftest.$ac_ext
4519 cat >>conftest.$ac_ext <<_ACEOF
4520 /* end confdefs.h. */
4521 $ac_includes_default
4522 #include <$ac_header>
4524 rm -f conftest.$ac_objext
4525 if { (ac_try="$ac_compile"
4527 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4528 *) ac_try_echo
=$ac_try;;
4530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4531 (eval "$ac_compile") 2>conftest.er1
4533 grep -v '^ *+' conftest.er1
>conftest.err
4535 cat conftest.err
>&5
4536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4537 (exit $ac_status); } && {
4538 test -z "$ac_c_werror_flag" ||
4539 test ! -s conftest.err
4540 } && test -s conftest.
$ac_objext; then
4541 ac_header_compiler
=yes
4543 echo "$as_me: failed program was:" >&5
4544 sed 's/^/| /' conftest.
$ac_ext >&5
4546 ac_header_compiler
=no
4549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4550 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4551 echo "${ECHO_T}$ac_header_compiler" >&6; }
4553 # Is the header present?
4554 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4555 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4556 cat >conftest.
$ac_ext <<_ACEOF
4559 cat confdefs.h
>>conftest.
$ac_ext
4560 cat >>conftest.
$ac_ext <<_ACEOF
4561 /* end confdefs.h. */
4562 #include <$ac_header>
4564 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4566 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4567 *) ac_try_echo=$ac_try;;
4569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4570 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4572 grep -v '^ *+' conftest.er1 >conftest.err
4574 cat conftest.err >&5
4575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4576 (exit $ac_status); } >/dev/null && {
4577 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4578 test ! -s conftest.err
4580 ac_header_preproc=yes
4582 echo "$as_me: failed program was:" >&5
4583 sed 's/^/| /' conftest.$ac_ext >&5
4585 ac_header_preproc=no
4588 rm -f conftest.err conftest.$ac_ext
4589 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4590 echo "${ECHO_T}$ac_header_preproc" >&6; }
4592 # So? What about this header?
4593 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4595 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4596 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4598 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4599 ac_header_preproc=yes
4602 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4603 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4604 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4605 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4606 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4607 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4608 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4609 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4611 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4612 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4613 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4615 ## -------------------------------------------------- ##
4616 ## Report this to launchd-bug-reports@group.apple.com ##
4617 ## -------------------------------------------------- ##
4619 ) | sed "s/^/$as_me: WARNING: /" >&2
4622 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4624 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4625 echo $ECHO_N "(cached) $ECHO_C" >&6
4627 eval "$as_ac_Header=\$ac_header_preproc"
4629 ac_res=`eval echo '${'$as_ac_Header'}'`
4630 { echo "$as_me:$LINENO: result: $ac_res" >&5
4631 echo "${ECHO_T}$ac_res" >&6; }
4634 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4635 cat >>confdefs.h <<_ACEOF
4636 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4644 # Checks for typedefs, structures, and compiler characteristics.
4645 { echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
4646 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
4647 if test "${ac_cv_header_stdbool_h+set}" = set; then
4648 echo $ECHO_N "(cached) $ECHO_C" >&6
4650 cat >conftest.$ac_ext <<_ACEOF
4653 cat confdefs.h >>conftest.$ac_ext
4654 cat >>conftest.$ac_ext <<_ACEOF
4655 /* end confdefs.h. */
4657 #include <stdbool.h>
4659 "error: bool is not defined"
4662 "error: false is not defined"
4665 "error: false is not 0"
4668 "error: true is not defined"
4671 "error: true is not 1"
4673 #ifndef __bool_true_false_are_defined
4674 "error: __bool_true_false_are_defined is not defined"
4677 struct s { _Bool s: 1; _Bool t; } s;
4679 char a[true == 1 ? 1 : -1];
4680 char b[false == 0 ? 1 : -1];
4681 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4682 char d[(bool) 0.5 == true ? 1 : -1];
4684 char f[(_Bool) 0.0 == false ? 1 : -1];
4686 char h[sizeof (_Bool)];
4688 enum { j = false, k = true, l = false * true, m = true * 256 };
4690 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4691 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4692 # if defined __xlc__ || defined __GNUC__
4693 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
4694 reported by James Lemley on 2005-10-05; see
4695 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
4696 This test is not quite right, since xlc is allowed to
4697 reject this program, as the initializer for xlcbug is
4698 not one of the forms that C requires support for.
4699 However, doing the test right would require a runtime
4700 test, and that would make cross-compilation harder.
4701 Let us hope that IBM fixes the xlc bug, and also adds
4702 support for this kind of constant expression. In the
4703 meantime, this test will reject xlc, which is OK, since
4704 our stdbool.h substitute should suffice. We also test
4705 this with GCC, where it should work, to detect more
4706 quickly whether someone messes up the test in the
4708 char digs[] = "0123456789";
4709 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
4711 /* Catch a bug in an HP-UX C compiler. See
4712 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4713 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4724 /* Refer to every declared value, to avoid compiler optimizations. */
4725 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4726 + !m + !n + !o + !p + !q + !pq);
4732 rm -f conftest.$ac_objext
4733 if { (ac_try="$ac_compile"
4735 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4736 *) ac_try_echo
=$ac_try;;
4738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4739 (eval "$ac_compile") 2>conftest.er1
4741 grep -v '^ *+' conftest.er1
>conftest.err
4743 cat conftest.err
>&5
4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745 (exit $ac_status); } && {
4746 test -z "$ac_c_werror_flag" ||
4747 test ! -s conftest.err
4748 } && test -s conftest.
$ac_objext; then
4749 ac_cv_header_stdbool_h
=yes
4751 echo "$as_me: failed program was:" >&5
4752 sed 's/^/| /' conftest.
$ac_ext >&5
4754 ac_cv_header_stdbool_h
=no
4757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4759 { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
4760 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
4761 { echo "$as_me:$LINENO: checking for _Bool" >&5
4762 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
4763 if test "${ac_cv_type__Bool+set}" = set; then
4764 echo $ECHO_N "(cached) $ECHO_C" >&6
4766 cat >conftest.
$ac_ext <<_ACEOF
4769 cat confdefs.h
>>conftest.
$ac_ext
4770 cat >>conftest.
$ac_ext <<_ACEOF
4771 /* end confdefs.h. */
4772 $ac_includes_default
4773 typedef _Bool ac__type_new_;
4777 if ((ac__type_new_ *) 0)
4779 if (sizeof (ac__type_new_))
4785 rm -f conftest.
$ac_objext
4786 if { (ac_try
="$ac_compile"
4788 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4789 *) ac_try_echo=$ac_try;;
4791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4792 (eval "$ac_compile") 2>conftest.er1
4794 grep -v '^ *+' conftest.er1 >conftest.err
4796 cat conftest.err >&5
4797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4798 (exit $ac_status); } && {
4799 test -z "$ac_c_werror_flag" ||
4800 test ! -s conftest.err
4801 } && test -s conftest.$ac_objext; then
4802 ac_cv_type__Bool=yes
4804 echo "$as_me: failed program was:" >&5
4805 sed 's/^/| /' conftest.$ac_ext >&5
4810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4812 { echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
4813 echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
4814 if test $ac_cv_type__Bool = yes; then
4816 cat >>confdefs.h <<_ACEOF
4817 #define HAVE__BOOL 1
4823 if test $ac_cv_header_stdbool_h = yes; then
4825 cat >>confdefs.h <<\_ACEOF
4826 #define HAVE_STDBOOL_H 1
4831 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4832 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
4833 if test "${ac_cv_c_const+set}" = set; then
4834 echo $ECHO_N "(cached) $ECHO_C" >&6
4836 cat >conftest.$ac_ext <<_ACEOF
4839 cat confdefs.h >>conftest.$ac_ext
4840 cat >>conftest.$ac_ext <<_ACEOF
4841 /* end confdefs.h. */
4846 /* FIXME: Include the comments suggested by Paul. */
4848 /* Ultrix mips cc rejects this. */
4849 typedef int charset[2];
4851 /* SunOS 4.1.1 cc rejects this. */
4852 char const *const *pcpcc;
4854 /* NEC SVR4.0.2 mips cc rejects this. */
4855 struct point {int x, y;};
4856 static struct point const zero = {0,0};
4857 /* AIX XL C 1.02.0.0 rejects this.
4858 It does not let you subtract one const X* pointer from another in
4859 an arm of an if-expression whose if-part is not a constant
4861 const char *g = "string";
4862 pcpcc = &g + (g ? g-g : 0);
4863 /* HPUX 7.0 cc rejects these. */
4865 ppc = (char**) pcpcc;
4866 pcpcc = (char const *const *) ppc;
4867 { /* SCO 3.2v4 cc rejects this. */
4869 char const *s = 0 ? (char *) 0 : (char const *) 0;
4874 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4876 const int *foo = &x[0];
4879 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4880 typedef const int *iptr;
4884 { /* AIX XL C 1.02.0.0 rejects this saying
4885 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4886 struct s { int j; const int *ap[3]; };
4887 struct s *b; b->j = 5;
4889 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4893 return !cs[0] && !zero.x;
4900 rm -f conftest.$ac_objext
4901 if { (ac_try="$ac_compile"
4903 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4904 *) ac_try_echo
=$ac_try;;
4906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4907 (eval "$ac_compile") 2>conftest.er1
4909 grep -v '^ *+' conftest.er1
>conftest.err
4911 cat conftest.err
>&5
4912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4913 (exit $ac_status); } && {
4914 test -z "$ac_c_werror_flag" ||
4915 test ! -s conftest.err
4916 } && test -s conftest.
$ac_objext; then
4919 echo "$as_me: failed program was:" >&5
4920 sed 's/^/| /' conftest.
$ac_ext >&5
4925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4927 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4928 echo "${ECHO_T}$ac_cv_c_const" >&6; }
4929 if test $ac_cv_c_const = no
; then
4931 cat >>confdefs.h
<<\_ACEOF
4937 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
4938 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
4939 if test "${ac_cv_type_uid_t+set}" = set; then
4940 echo $ECHO_N "(cached) $ECHO_C" >&6
4942 cat >conftest.
$ac_ext <<_ACEOF
4945 cat confdefs.h
>>conftest.
$ac_ext
4946 cat >>conftest.
$ac_ext <<_ACEOF
4947 /* end confdefs.h. */
4948 #include <sys/types.h>
4951 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4952 $EGREP "uid_t" >/dev
/null
2>&1; then
4953 ac_cv_type_uid_t
=yes
4960 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
4961 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
4962 if test $ac_cv_type_uid_t = no
; then
4964 cat >>confdefs.h
<<\_ACEOF
4969 cat >>confdefs.h
<<\_ACEOF
4975 { echo "$as_me:$LINENO: checking for mode_t" >&5
4976 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
4977 if test "${ac_cv_type_mode_t+set}" = set; then
4978 echo $ECHO_N "(cached) $ECHO_C" >&6
4980 cat >conftest.
$ac_ext <<_ACEOF
4983 cat confdefs.h
>>conftest.
$ac_ext
4984 cat >>conftest.
$ac_ext <<_ACEOF
4985 /* end confdefs.h. */
4986 $ac_includes_default
4987 typedef mode_t ac__type_new_;
4991 if ((ac__type_new_ *) 0)
4993 if (sizeof (ac__type_new_))
4999 rm -f conftest.
$ac_objext
5000 if { (ac_try
="$ac_compile"
5002 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5003 *) ac_try_echo=$ac_try;;
5005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5006 (eval "$ac_compile") 2>conftest.er1
5008 grep -v '^ *+' conftest.er1 >conftest.err
5010 cat conftest.err >&5
5011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012 (exit $ac_status); } && {
5013 test -z "$ac_c_werror_flag" ||
5014 test ! -s conftest.err
5015 } && test -s conftest.$ac_objext; then
5016 ac_cv_type_mode_t=yes
5018 echo "$as_me: failed program was:" >&5
5019 sed 's/^/| /' conftest.$ac_ext >&5
5021 ac_cv_type_mode_t=no
5024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5026 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
5027 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
5028 if test $ac_cv_type_mode_t = yes; then
5032 cat >>confdefs.h <<_ACEOF
5038 { echo "$as_me:$LINENO: checking for off_t" >&5
5039 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
5040 if test "${ac_cv_type_off_t+set}" = set; then
5041 echo $ECHO_N "(cached) $ECHO_C" >&6
5043 cat >conftest.$ac_ext <<_ACEOF
5046 cat confdefs.h >>conftest.$ac_ext
5047 cat >>conftest.$ac_ext <<_ACEOF
5048 /* end confdefs.h. */
5049 $ac_includes_default
5050 typedef off_t ac__type_new_;
5054 if ((ac__type_new_ *) 0)
5056 if (sizeof (ac__type_new_))
5062 rm -f conftest.$ac_objext
5063 if { (ac_try="$ac_compile"
5065 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5066 *) ac_try_echo
=$ac_try;;
5068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5069 (eval "$ac_compile") 2>conftest.er1
5071 grep -v '^ *+' conftest.er1
>conftest.err
5073 cat conftest.err
>&5
5074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5075 (exit $ac_status); } && {
5076 test -z "$ac_c_werror_flag" ||
5077 test ! -s conftest.err
5078 } && test -s conftest.
$ac_objext; then
5079 ac_cv_type_off_t
=yes
5081 echo "$as_me: failed program was:" >&5
5082 sed 's/^/| /' conftest.
$ac_ext >&5
5087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5089 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5090 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
5091 if test $ac_cv_type_off_t = yes; then
5095 cat >>confdefs.h
<<_ACEOF
5096 #define off_t long int
5101 { echo "$as_me:$LINENO: checking for pid_t" >&5
5102 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
5103 if test "${ac_cv_type_pid_t+set}" = set; then
5104 echo $ECHO_N "(cached) $ECHO_C" >&6
5106 cat >conftest.
$ac_ext <<_ACEOF
5109 cat confdefs.h
>>conftest.
$ac_ext
5110 cat >>conftest.
$ac_ext <<_ACEOF
5111 /* end confdefs.h. */
5112 $ac_includes_default
5113 typedef pid_t ac__type_new_;
5117 if ((ac__type_new_ *) 0)
5119 if (sizeof (ac__type_new_))
5125 rm -f conftest.
$ac_objext
5126 if { (ac_try
="$ac_compile"
5128 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5129 *) ac_try_echo=$ac_try;;
5131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5132 (eval "$ac_compile") 2>conftest.er1
5134 grep -v '^ *+' conftest.er1 >conftest.err
5136 cat conftest.err >&5
5137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5138 (exit $ac_status); } && {
5139 test -z "$ac_c_werror_flag" ||
5140 test ! -s conftest.err
5141 } && test -s conftest.$ac_objext; then
5142 ac_cv_type_pid_t=yes
5144 echo "$as_me: failed program was:" >&5
5145 sed 's/^/| /' conftest.$ac_ext >&5
5150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5152 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5153 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
5154 if test $ac_cv_type_pid_t = yes; then
5158 cat >>confdefs.h <<_ACEOF
5164 { echo "$as_me:$LINENO: checking for size_t" >&5
5165 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
5166 if test "${ac_cv_type_size_t+set}" = set; then
5167 echo $ECHO_N "(cached) $ECHO_C" >&6
5169 cat >conftest.$ac_ext <<_ACEOF
5172 cat confdefs.h >>conftest.$ac_ext
5173 cat >>conftest.$ac_ext <<_ACEOF
5174 /* end confdefs.h. */
5175 $ac_includes_default
5176 typedef size_t ac__type_new_;
5180 if ((ac__type_new_ *) 0)
5182 if (sizeof (ac__type_new_))
5188 rm -f conftest.$ac_objext
5189 if { (ac_try="$ac_compile"
5191 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5192 *) ac_try_echo
=$ac_try;;
5194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5195 (eval "$ac_compile") 2>conftest.er1
5197 grep -v '^ *+' conftest.er1
>conftest.err
5199 cat conftest.err
>&5
5200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5201 (exit $ac_status); } && {
5202 test -z "$ac_c_werror_flag" ||
5203 test ! -s conftest.err
5204 } && test -s conftest.
$ac_objext; then
5205 ac_cv_type_size_t
=yes
5207 echo "$as_me: failed program was:" >&5
5208 sed 's/^/| /' conftest.
$ac_ext >&5
5210 ac_cv_type_size_t
=no
5213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5215 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5216 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
5217 if test $ac_cv_type_size_t = yes; then
5221 cat >>confdefs.h
<<_ACEOF
5222 #define size_t unsigned int
5227 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5228 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
5229 if test "${ac_cv_header_time+set}" = set; then
5230 echo $ECHO_N "(cached) $ECHO_C" >&6
5232 cat >conftest.
$ac_ext <<_ACEOF
5235 cat confdefs.h
>>conftest.
$ac_ext
5236 cat >>conftest.
$ac_ext <<_ACEOF
5237 /* end confdefs.h. */
5238 #include <sys/types.h>
5239 #include <sys/time.h>
5245 if ((struct tm *) 0)
5251 rm -f conftest.
$ac_objext
5252 if { (ac_try
="$ac_compile"
5254 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5255 *) ac_try_echo=$ac_try;;
5257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5258 (eval "$ac_compile") 2>conftest.er1
5260 grep -v '^ *+' conftest.er1 >conftest.err
5262 cat conftest.err >&5
5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5264 (exit $ac_status); } && {
5265 test -z "$ac_c_werror_flag" ||
5266 test ! -s conftest.err
5267 } && test -s conftest.$ac_objext; then
5268 ac_cv_header_time=yes
5270 echo "$as_me: failed program was:" >&5
5271 sed 's/^/| /' conftest.$ac_ext >&5
5273 ac_cv_header_time=no
5276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5278 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5279 echo "${ECHO_T}$ac_cv_header_time" >&6; }
5280 if test $ac_cv_header_time = yes; then
5282 cat >>confdefs.h <<\_ACEOF
5283 #define TIME_WITH_SYS_TIME 1
5288 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5289 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
5290 if test "${ac_cv_struct_tm+set}" = set; then
5291 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 cat >conftest.$ac_ext <<_ACEOF
5296 cat confdefs.h >>conftest.$ac_ext
5297 cat >>conftest.$ac_ext <<_ACEOF
5298 /* end confdefs.h. */
5299 #include <sys/types.h>
5306 int *p = &tm.tm_sec;
5312 rm -f conftest.$ac_objext
5313 if { (ac_try="$ac_compile"
5315 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5316 *) ac_try_echo
=$ac_try;;
5318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5319 (eval "$ac_compile") 2>conftest.er1
5321 grep -v '^ *+' conftest.er1
>conftest.err
5323 cat conftest.err
>&5
5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5325 (exit $ac_status); } && {
5326 test -z "$ac_c_werror_flag" ||
5327 test ! -s conftest.err
5328 } && test -s conftest.
$ac_objext; then
5329 ac_cv_struct_tm
=time.h
5331 echo "$as_me: failed program was:" >&5
5332 sed 's/^/| /' conftest.
$ac_ext >&5
5334 ac_cv_struct_tm
=sys
/time.h
5337 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5339 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5340 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
5341 if test $ac_cv_struct_tm = sys
/time.h
; then
5343 cat >>confdefs.h
<<\_ACEOF
5344 #define TM_IN_SYS_TIME 1
5350 # Checks for library functions.
5351 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5352 # for constant arguments. Useless!
5353 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
5354 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
5355 if test "${ac_cv_working_alloca_h+set}" = set; then
5356 echo $ECHO_N "(cached) $ECHO_C" >&6
5358 cat >conftest.
$ac_ext <<_ACEOF
5361 cat confdefs.h
>>conftest.
$ac_ext
5362 cat >>conftest.
$ac_ext <<_ACEOF
5363 /* end confdefs.h. */
5368 char *p = (char *) alloca (2 * sizeof (int));
5374 rm -f conftest.
$ac_objext conftest
$ac_exeext
5375 if { (ac_try
="$ac_link"
5377 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5378 *) ac_try_echo=$ac_try;;
5380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5381 (eval "$ac_link") 2>conftest.er1
5383 grep -v '^ *+' conftest.er1 >conftest.err
5385 cat conftest.err >&5
5386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5387 (exit $ac_status); } && {
5388 test -z "$ac_c_werror_flag" ||
5389 test ! -s conftest.err
5390 } && test -s conftest$ac_exeext &&
5391 $as_test_x conftest$ac_exeext; then
5392 ac_cv_working_alloca_h=yes
5394 echo "$as_me: failed program was:" >&5
5395 sed 's/^/| /' conftest.$ac_ext >&5
5397 ac_cv_working_alloca_h=no
5400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5401 conftest$ac_exeext conftest.$ac_ext
5403 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5404 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
5405 if test $ac_cv_working_alloca_h = yes; then
5407 cat >>confdefs.h <<\_ACEOF
5408 #define HAVE_ALLOCA_H 1
5413 { echo "$as_me:$LINENO: checking for alloca" >&5
5414 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
5415 if test "${ac_cv_func_alloca_works+set}" = set; then
5416 echo $ECHO_N "(cached) $ECHO_C" >&6
5418 cat >conftest.$ac_ext <<_ACEOF
5421 cat confdefs.h >>conftest.$ac_ext
5422 cat >>conftest.$ac_ext <<_ACEOF
5423 /* end confdefs.h. */
5425 # define alloca __builtin_alloca
5428 # include <malloc.h>
5429 # define alloca _alloca
5431 # ifdef HAVE_ALLOCA_H
5432 # include <alloca.h>
5437 # ifndef alloca /* predefined by HP cc +Olibcalls */
5448 char *p = (char *) alloca (1);
5454 rm -f conftest.$ac_objext conftest$ac_exeext
5455 if { (ac_try="$ac_link"
5457 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5458 *) ac_try_echo
=$ac_try;;
5460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5461 (eval "$ac_link") 2>conftest.er1
5463 grep -v '^ *+' conftest.er1
>conftest.err
5465 cat conftest.err
>&5
5466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5467 (exit $ac_status); } && {
5468 test -z "$ac_c_werror_flag" ||
5469 test ! -s conftest.err
5470 } && test -s conftest
$ac_exeext &&
5471 $as_test_x conftest
$ac_exeext; then
5472 ac_cv_func_alloca_works
=yes
5474 echo "$as_me: failed program was:" >&5
5475 sed 's/^/| /' conftest.
$ac_ext >&5
5477 ac_cv_func_alloca_works
=no
5480 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5481 conftest
$ac_exeext conftest.
$ac_ext
5483 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5484 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
5486 if test $ac_cv_func_alloca_works = yes; then
5488 cat >>confdefs.h
<<\_ACEOF
5489 #define HAVE_ALLOCA 1
5493 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5494 # that cause trouble. Some versions do not even contain alloca or
5495 # contain a buggy version. If you still want to use their alloca,
5496 # use ar to extract alloca.o from them instead of compiling alloca.c.
5498 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
5500 cat >>confdefs.h
<<\_ACEOF
5505 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
5506 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
5507 if test "${ac_cv_os_cray+set}" = set; then
5508 echo $ECHO_N "(cached) $ECHO_C" >&6
5510 cat >conftest.
$ac_ext <<_ACEOF
5513 cat confdefs.h
>>conftest.
$ac_ext
5514 cat >>conftest.
$ac_ext <<_ACEOF
5515 /* end confdefs.h. */
5516 #if defined CRAY && ! defined CRAY2
5523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5524 $EGREP "webecray" >/dev
/null
2>&1; then
5532 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
5533 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
5534 if test $ac_cv_os_cray = yes; then
5535 for ac_func
in _getb67 GETB67 getb67
; do
5536 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5537 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5539 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5540 echo $ECHO_N "(cached) $ECHO_C" >&6
5542 cat >conftest.
$ac_ext <<_ACEOF
5545 cat confdefs.h
>>conftest.
$ac_ext
5546 cat >>conftest.
$ac_ext <<_ACEOF
5547 /* end confdefs.h. */
5548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5550 #define $ac_func innocuous_$ac_func
5552 /* System header to define __stub macros and hopefully few prototypes,
5553 which can conflict with char $ac_func (); below.
5554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5555 <limits.h> exists even on freestanding compilers. */
5558 # include <limits.h>
5560 # include <assert.h>
5565 /* Override any GCC internal prototype to avoid an error.
5566 Use char because int might match the return type of a GCC
5567 builtin and then its argument prototype would still apply. */
5572 /* The GNU C library defines this for functions which it implements
5573 to always fail with ENOSYS. Some functions are actually named
5574 something starting with __ and the normal name is an alias. */
5575 #if defined __stub_$ac_func || defined __stub___$ac_func
5587 rm -f conftest.
$ac_objext conftest
$ac_exeext
5588 if { (ac_try
="$ac_link"
5590 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5591 *) ac_try_echo=$ac_try;;
5593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5594 (eval "$ac_link") 2>conftest.er1
5596 grep -v '^ *+' conftest.er1 >conftest.err
5598 cat conftest.err >&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); } && {
5601 test -z "$ac_c_werror_flag" ||
5602 test ! -s conftest.err
5603 } && test -s conftest$ac_exeext &&
5604 $as_test_x conftest$ac_exeext; then
5605 eval "$as_ac_var=yes"
5607 echo "$as_me: failed program was:" >&5
5608 sed 's/^/| /' conftest.$ac_ext >&5
5610 eval "$as_ac_var=no"
5613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5614 conftest$ac_exeext conftest.$ac_ext
5616 ac_res=`eval echo '${'$as_ac_var'}'`
5617 { echo "$as_me:$LINENO: result: $ac_res" >&5
5618 echo "${ECHO_T}$ac_res" >&6; }
5619 if test `eval echo '${'$as_ac_var'}'` = yes; then
5621 cat >>confdefs.h <<_ACEOF
5622 #define CRAY_STACKSEG_END $ac_func
5631 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
5632 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
5633 if test "${ac_cv_c_stack_direction+set}" = set; then
5634 echo $ECHO_N "(cached) $ECHO_C" >&6
5636 if test "$cross_compiling" = yes; then
5637 ac_cv_c_stack_direction=0
5639 cat >conftest.$ac_ext <<_ACEOF
5642 cat confdefs.h >>conftest.$ac_ext
5643 cat >>conftest.$ac_ext <<_ACEOF
5644 /* end confdefs.h. */
5645 $ac_includes_default
5647 find_stack_direction ()
5649 static char *addr = 0;
5654 return find_stack_direction ();
5657 return (&dummy > addr) ? 1 : -1;
5663 return find_stack_direction () < 0;
5666 rm -f conftest$ac_exeext
5667 if { (ac_try="$ac_link"
5669 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5670 *) ac_try_echo
=$ac_try;;
5672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5673 (eval "$ac_link") 2>&5
5675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5676 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5677 { (case "(($ac_try" in
5678 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5679 *) ac_try_echo=$ac_try;;
5681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5682 (eval "$ac_try") 2>&5
5684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5685 (exit $ac_status); }; }; then
5686 ac_cv_c_stack_direction=1
5688 echo "$as_me: program exited with status $ac_status" >&5
5689 echo "$as_me: failed program was:" >&5
5690 sed 's/^/| /' conftest.$ac_ext >&5
5693 ac_cv_c_stack_direction=-1
5695 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5700 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
5701 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
5703 cat >>confdefs.h <<_ACEOF
5704 #define STACK_DIRECTION $ac_cv_c_stack_direction
5710 { echo "$as_me:$LINENO: checking whether closedir returns void" >&5
5711 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6; }
5712 if test "${ac_cv_func_closedir_void+set}" = set; then
5713 echo $ECHO_N "(cached) $ECHO_C" >&6
5715 if test "$cross_compiling" = yes; then
5716 ac_cv_func_closedir_void=yes
5718 cat >conftest.$ac_ext <<_ACEOF
5721 cat confdefs.h >>conftest.$ac_ext
5722 cat >>conftest.$ac_ext <<_ACEOF
5723 /* end confdefs.h. */
5724 $ac_includes_default
5725 #include <$ac_header_dirent>
5733 return closedir (opendir (".")) != 0;
5738 rm -f conftest$ac_exeext
5739 if { (ac_try="$ac_link"
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_link") 2>&5
5747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5749 { (case "(($ac_try" in
5750 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5751 *) ac_try_echo=$ac_try;;
5753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5754 (eval "$ac_try") 2>&5
5756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5757 (exit $ac_status); }; }; then
5758 ac_cv_func_closedir_void=no
5760 echo "$as_me: program exited with status $ac_status" >&5
5761 echo "$as_me: failed program was:" >&5
5762 sed 's/^/| /' conftest.$ac_ext >&5
5765 ac_cv_func_closedir_void=yes
5767 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5772 { echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
5773 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
5774 if test $ac_cv_func_closedir_void = yes; then
5776 cat >>confdefs.h <<\_ACEOF
5777 #define CLOSEDIR_VOID 1
5783 for ac_header in vfork.h
5785 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5786 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5787 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5789 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5790 echo $ECHO_N "(cached) $ECHO_C" >&6
5792 ac_res=`eval echo '${'$as_ac_Header'}'`
5793 { echo "$as_me:$LINENO: result: $ac_res" >&5
5794 echo "${ECHO_T}$ac_res" >&6; }
5796 # Is the header compilable?
5797 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5798 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5799 cat >conftest.$ac_ext <<_ACEOF
5802 cat confdefs.h >>conftest.$ac_ext
5803 cat >>conftest.$ac_ext <<_ACEOF
5804 /* end confdefs.h. */
5805 $ac_includes_default
5806 #include <$ac_header>
5808 rm -f conftest.$ac_objext
5809 if { (ac_try="$ac_compile"
5811 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5812 *) ac_try_echo
=$ac_try;;
5814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5815 (eval "$ac_compile") 2>conftest.er1
5817 grep -v '^ *+' conftest.er1
>conftest.err
5819 cat conftest.err
>&5
5820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5821 (exit $ac_status); } && {
5822 test -z "$ac_c_werror_flag" ||
5823 test ! -s conftest.err
5824 } && test -s conftest.
$ac_objext; then
5825 ac_header_compiler
=yes
5827 echo "$as_me: failed program was:" >&5
5828 sed 's/^/| /' conftest.
$ac_ext >&5
5830 ac_header_compiler
=no
5833 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5834 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5835 echo "${ECHO_T}$ac_header_compiler" >&6; }
5837 # Is the header present?
5838 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5839 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5840 cat >conftest.
$ac_ext <<_ACEOF
5843 cat confdefs.h
>>conftest.
$ac_ext
5844 cat >>conftest.
$ac_ext <<_ACEOF
5845 /* end confdefs.h. */
5846 #include <$ac_header>
5848 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5850 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5851 *) ac_try_echo=$ac_try;;
5853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5854 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5856 grep -v '^ *+' conftest.er1 >conftest.err
5858 cat conftest.err >&5
5859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5860 (exit $ac_status); } >/dev/null && {
5861 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5862 test ! -s conftest.err
5864 ac_header_preproc=yes
5866 echo "$as_me: failed program was:" >&5
5867 sed 's/^/| /' conftest.$ac_ext >&5
5869 ac_header_preproc=no
5872 rm -f conftest.err conftest.$ac_ext
5873 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5874 echo "${ECHO_T}$ac_header_preproc" >&6; }
5876 # So? What about this header?
5877 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5879 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5880 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5882 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5883 ac_header_preproc=yes
5886 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5887 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5888 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5889 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5890 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5891 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5892 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5893 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5895 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5896 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5897 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5899 ## -------------------------------------------------- ##
5900 ## Report this to launchd-bug-reports@group.apple.com ##
5901 ## -------------------------------------------------- ##
5903 ) | sed "s/^/$as_me: WARNING: /" >&2
5906 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5908 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5909 echo $ECHO_N "(cached) $ECHO_C" >&6
5911 eval "$as_ac_Header=\$ac_header_preproc"
5913 ac_res=`eval echo '${'$as_ac_Header'}'`
5914 { echo "$as_me:$LINENO: result: $ac_res" >&5
5915 echo "${ECHO_T}$ac_res" >&6; }
5918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5919 cat >>confdefs.h <<_ACEOF
5920 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5929 for ac_func in fork vfork
5931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5932 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5934 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5935 echo $ECHO_N "(cached) $ECHO_C" >&6
5937 cat >conftest.$ac_ext <<_ACEOF
5940 cat confdefs.h >>conftest.$ac_ext
5941 cat >>conftest.$ac_ext <<_ACEOF
5942 /* end confdefs.h. */
5943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5945 #define $ac_func innocuous_$ac_func
5947 /* System header to define __stub macros and hopefully few prototypes,
5948 which can conflict with char $ac_func (); below.
5949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5950 <limits.h> exists even on freestanding compilers. */
5953 # include <limits.h>
5955 # include <assert.h>
5960 /* Override any GCC internal prototype to avoid an error.
5961 Use char because int might match the return type of a GCC
5962 builtin and then its argument prototype would still apply. */
5967 /* The GNU C library defines this for functions which it implements
5968 to always fail with ENOSYS. Some functions are actually named
5969 something starting with __ and the normal name is an alias. */
5970 #if defined __stub_$ac_func || defined __stub___$ac_func
5982 rm -f conftest.$ac_objext conftest$ac_exeext
5983 if { (ac_try="$ac_link"
5985 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5986 *) ac_try_echo
=$ac_try;;
5988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5989 (eval "$ac_link") 2>conftest.er1
5991 grep -v '^ *+' conftest.er1
>conftest.err
5993 cat conftest.err
>&5
5994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995 (exit $ac_status); } && {
5996 test -z "$ac_c_werror_flag" ||
5997 test ! -s conftest.err
5998 } && test -s conftest
$ac_exeext &&
5999 $as_test_x conftest
$ac_exeext; then
6000 eval "$as_ac_var=yes"
6002 echo "$as_me: failed program was:" >&5
6003 sed 's/^/| /' conftest.
$ac_ext >&5
6005 eval "$as_ac_var=no"
6008 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6009 conftest
$ac_exeext conftest.
$ac_ext
6011 ac_res
=`eval echo '${'$as_ac_var'}'`
6012 { echo "$as_me:$LINENO: result: $ac_res" >&5
6013 echo "${ECHO_T}$ac_res" >&6; }
6014 if test `eval echo '${'$as_ac_var'}'` = yes; then
6015 cat >>confdefs.h
<<_ACEOF
6016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6022 if test "x$ac_cv_func_fork" = xyes
; then
6023 { echo "$as_me:$LINENO: checking for working fork" >&5
6024 echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
6025 if test "${ac_cv_func_fork_works+set}" = set; then
6026 echo $ECHO_N "(cached) $ECHO_C" >&6
6028 if test "$cross_compiling" = yes; then
6029 ac_cv_func_fork_works
=cross
6031 cat >conftest.
$ac_ext <<_ACEOF
6034 cat confdefs.h
>>conftest.
$ac_ext
6035 cat >>conftest.
$ac_ext <<_ACEOF
6036 /* end confdefs.h. */
6037 $ac_includes_default
6042 /* By Ruediger Kuhlmann. */
6049 rm -f conftest
$ac_exeext
6050 if { (ac_try
="$ac_link"
6052 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6053 *) ac_try_echo=$ac_try;;
6055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6056 (eval "$ac_link") 2>&5
6058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6059 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6060 { (case "(($ac_try" in
6061 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6062 *) ac_try_echo
=$ac_try;;
6064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6065 (eval "$ac_try") 2>&5
6067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6068 (exit $ac_status); }; }; then
6069 ac_cv_func_fork_works
=yes
6071 echo "$as_me: program exited with status $ac_status" >&5
6072 echo "$as_me: failed program was:" >&5
6073 sed 's/^/| /' conftest.
$ac_ext >&5
6076 ac_cv_func_fork_works
=no
6078 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6083 { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
6084 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
6087 ac_cv_func_fork_works
=$ac_cv_func_fork
6089 if test "x$ac_cv_func_fork_works" = xcross
; then
6091 *-*-amigaos* | *-*-msdosdjgpp*)
6092 # Override, as these systems have only a dummy fork() stub
6093 ac_cv_func_fork_works
=no
6096 ac_cv_func_fork_works
=yes
6099 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
6100 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
6102 ac_cv_func_vfork_works
=$ac_cv_func_vfork
6103 if test "x$ac_cv_func_vfork" = xyes
; then
6104 { echo "$as_me:$LINENO: checking for working vfork" >&5
6105 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
6106 if test "${ac_cv_func_vfork_works+set}" = set; then
6107 echo $ECHO_N "(cached) $ECHO_C" >&6
6109 if test "$cross_compiling" = yes; then
6110 ac_cv_func_vfork_works
=cross
6112 cat >conftest.
$ac_ext <<_ACEOF
6115 cat confdefs.h
>>conftest.
$ac_ext
6116 cat >>conftest.
$ac_ext <<_ACEOF
6117 /* end confdefs.h. */
6118 /* Thanks to Paul Eggert for this test. */
6119 $ac_includes_default
6120 #include <sys/wait.h>
6124 /* On some sparc systems, changes by the child to local and incoming
6125 argument registers are propagated back to the parent. The compiler
6126 is told about this with #include <vfork.h>, but some compilers
6127 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
6128 static variable whose address is put into a register that is
6129 clobbered by the vfork. */
6132 sparc_address_test (int arg)
6134 sparc_address_test (arg) int arg;
6155 pid_t parent = getpid ();
6158 sparc_address_test (0);
6163 /* Here is another test for sparc vfork register problems. This
6164 test uses lots of local variables, at least as many local
6165 variables as main has allocated so far including compiler
6166 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
6167 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
6168 reuse the register of parent for one of the local variables,
6169 since it will think that parent can't possibly be used any more
6170 in this routine. Assigning to the local variable will thus
6171 munge parent in the parent process. */
6173 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
6174 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
6175 /* Convince the compiler that p..p7 are live; otherwise, it might
6176 use the same hardware register for all 8 local variables. */
6177 if (p != p1 || p != p2 || p != p3 || p != p4
6178 || p != p5 || p != p6 || p != p7)
6181 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
6182 from child file descriptors. If the child closes a descriptor
6183 before it execs or exits, this munges the parent's descriptor
6184 as well. Test for this by closing stdout in the child. */
6185 _exit(close(fileno(stdout)) != 0);
6190 while (wait(&status) != child)
6193 /* Was there some problem with vforking? */
6196 /* Did the child fail? (This shouldn't happen.) */
6199 /* Did the vfork/compiler bug occur? */
6200 || parent != getpid()
6202 /* Did the file descriptor bug occur? */
6203 || fstat(fileno(stdout), &st) != 0
6208 rm -f conftest
$ac_exeext
6209 if { (ac_try
="$ac_link"
6211 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6212 *) ac_try_echo=$ac_try;;
6214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6215 (eval "$ac_link") 2>&5
6217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6219 { (case "(($ac_try" in
6220 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6221 *) ac_try_echo
=$ac_try;;
6223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6224 (eval "$ac_try") 2>&5
6226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6227 (exit $ac_status); }; }; then
6228 ac_cv_func_vfork_works
=yes
6230 echo "$as_me: program exited with status $ac_status" >&5
6231 echo "$as_me: failed program was:" >&5
6232 sed 's/^/| /' conftest.
$ac_ext >&5
6235 ac_cv_func_vfork_works
=no
6237 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6242 { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
6243 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
6246 if test "x$ac_cv_func_fork_works" = xcross
; then
6247 ac_cv_func_vfork_works
=$ac_cv_func_vfork
6248 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
6249 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
6252 if test "x$ac_cv_func_vfork_works" = xyes
; then
6254 cat >>confdefs.h
<<\_ACEOF
6255 #define HAVE_WORKING_VFORK 1
6260 cat >>confdefs.h
<<\_ACEOF
6265 if test "x$ac_cv_func_fork_works" = xyes
; then
6267 cat >>confdefs.h
<<\_ACEOF
6268 #define HAVE_WORKING_FORK 1
6273 if test $ac_cv_c_compiler_gnu = yes; then
6274 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
6275 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
6276 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
6277 echo $ECHO_N "(cached) $ECHO_C" >&6
6279 ac_pattern
="Autoconf.*'x'"
6280 cat >conftest.
$ac_ext <<_ACEOF
6283 cat confdefs.h
>>conftest.
$ac_ext
6284 cat >>conftest.
$ac_ext <<_ACEOF
6285 /* end confdefs.h. */
6289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6290 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
6291 ac_cv_prog_gcc_traditional
=yes
6293 ac_cv_prog_gcc_traditional
=no
6298 if test $ac_cv_prog_gcc_traditional = no
; then
6299 cat >conftest.
$ac_ext <<_ACEOF
6302 cat confdefs.h
>>conftest.
$ac_ext
6303 cat >>conftest.
$ac_ext <<_ACEOF
6304 /* end confdefs.h. */
6308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6309 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
6310 ac_cv_prog_gcc_traditional
=yes
6316 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
6317 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
6318 if test $ac_cv_prog_gcc_traditional = yes; then
6319 CC
="$CC -traditional"
6323 { echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
6324 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
6325 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
6326 echo $ECHO_N "(cached) $ECHO_C" >&6
6328 rm -f conftest.sym conftest.
file
6330 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
6331 if test "$cross_compiling" = yes; then
6332 ac_cv_func_lstat_dereferences_slashed_symlink
=no
6334 cat >conftest.
$ac_ext <<_ACEOF
6337 cat confdefs.h
>>conftest.
$ac_ext
6338 cat >>conftest.
$ac_ext <<_ACEOF
6339 /* end confdefs.h. */
6340 $ac_includes_default
6345 /* Linux will dereference the symlink and fail.
6346 That is better in the sense that it means we will not
6347 have to compile and use the lstat wrapper. */
6348 return lstat ("conftest.sym/", &sbuf) == 0;
6353 rm -f conftest
$ac_exeext
6354 if { (ac_try
="$ac_link"
6356 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6357 *) ac_try_echo=$ac_try;;
6359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6360 (eval "$ac_link") 2>&5
6362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6363 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6364 { (case "(($ac_try" in
6365 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6366 *) ac_try_echo
=$ac_try;;
6368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6369 (eval "$ac_try") 2>&5
6371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6372 (exit $ac_status); }; }; then
6373 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
6375 echo "$as_me: program exited with status $ac_status" >&5
6376 echo "$as_me: failed program was:" >&5
6377 sed 's/^/| /' conftest.
$ac_ext >&5
6380 ac_cv_func_lstat_dereferences_slashed_symlink
=no
6382 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6387 # If the `ln -s' command failed, then we probably don't even
6388 # have an lstat function.
6389 ac_cv_func_lstat_dereferences_slashed_symlink
=no
6391 rm -f conftest.sym conftest.
file
6394 { echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
6395 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
6397 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
6399 cat >>confdefs.h
<<_ACEOF
6400 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
6404 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
6405 case " $LIBOBJS " in
6406 *" lstat.$ac_objext "* ) ;;
6407 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
6413 { echo "$as_me:$LINENO: checking whether lstat accepts an empty string" >&5
6414 echo $ECHO_N "checking whether lstat accepts an empty string... $ECHO_C" >&6; }
6415 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
6416 echo $ECHO_N "(cached) $ECHO_C" >&6
6418 if test "$cross_compiling" = yes; then
6419 ac_cv_func_lstat_empty_string_bug
=yes
6421 cat >conftest.
$ac_ext <<_ACEOF
6424 cat confdefs.h
>>conftest.
$ac_ext
6425 cat >>conftest.
$ac_ext <<_ACEOF
6426 /* end confdefs.h. */
6427 $ac_includes_default
6432 return lstat ("", &sbuf) == 0;
6437 rm -f conftest
$ac_exeext
6438 if { (ac_try
="$ac_link"
6440 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6441 *) ac_try_echo=$ac_try;;
6443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6444 (eval "$ac_link") 2>&5
6446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6448 { (case "(($ac_try" in
6449 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6450 *) ac_try_echo
=$ac_try;;
6452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6453 (eval "$ac_try") 2>&5
6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); }; }; then
6457 ac_cv_func_lstat_empty_string_bug
=no
6459 echo "$as_me: program exited with status $ac_status" >&5
6460 echo "$as_me: failed program was:" >&5
6461 sed 's/^/| /' conftest.
$ac_ext >&5
6464 ac_cv_func_lstat_empty_string_bug
=yes
6466 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6471 { echo "$as_me:$LINENO: result: $ac_cv_func_lstat_empty_string_bug" >&5
6472 echo "${ECHO_T}$ac_cv_func_lstat_empty_string_bug" >&6; }
6473 if test $ac_cv_func_lstat_empty_string_bug = yes; then
6474 case " $LIBOBJS " in
6475 *" lstat.$ac_objext "* ) ;;
6476 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
6481 cat >>confdefs.h
<<_ACEOF
6482 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
6487 { echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
6488 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
6489 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
6490 echo $ECHO_N "(cached) $ECHO_C" >&6
6492 rm -f conftest.sym conftest.
file
6494 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
6495 if test "$cross_compiling" = yes; then
6496 ac_cv_func_lstat_dereferences_slashed_symlink
=no
6498 cat >conftest.
$ac_ext <<_ACEOF
6501 cat confdefs.h
>>conftest.
$ac_ext
6502 cat >>conftest.
$ac_ext <<_ACEOF
6503 /* end confdefs.h. */
6504 $ac_includes_default
6509 /* Linux will dereference the symlink and fail.
6510 That is better in the sense that it means we will not
6511 have to compile and use the lstat wrapper. */
6512 return lstat ("conftest.sym/", &sbuf) == 0;
6517 rm -f conftest
$ac_exeext
6518 if { (ac_try
="$ac_link"
6520 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6521 *) ac_try_echo=$ac_try;;
6523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6524 (eval "$ac_link") 2>&5
6526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6527 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6528 { (case "(($ac_try" in
6529 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6530 *) ac_try_echo
=$ac_try;;
6532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6533 (eval "$ac_try") 2>&5
6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6536 (exit $ac_status); }; }; then
6537 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
6539 echo "$as_me: program exited with status $ac_status" >&5
6540 echo "$as_me: failed program was:" >&5
6541 sed 's/^/| /' conftest.
$ac_ext >&5
6544 ac_cv_func_lstat_dereferences_slashed_symlink
=no
6546 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6551 # If the `ln -s' command failed, then we probably don't even
6552 # have an lstat function.
6553 ac_cv_func_lstat_dereferences_slashed_symlink
=no
6555 rm -f conftest.sym conftest.
file
6558 { echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
6559 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
6561 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
6563 cat >>confdefs.h
<<_ACEOF
6564 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
6568 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
6569 case " $LIBOBJS " in
6570 *" lstat.$ac_objext "* ) ;;
6571 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
6578 for ac_header
in stdlib.h
6580 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6581 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6582 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6584 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6585 echo $ECHO_N "(cached) $ECHO_C" >&6
6587 ac_res
=`eval echo '${'$as_ac_Header'}'`
6588 { echo "$as_me:$LINENO: result: $ac_res" >&5
6589 echo "${ECHO_T}$ac_res" >&6; }
6591 # Is the header compilable?
6592 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6593 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6594 cat >conftest.
$ac_ext <<_ACEOF
6597 cat confdefs.h
>>conftest.
$ac_ext
6598 cat >>conftest.
$ac_ext <<_ACEOF
6599 /* end confdefs.h. */
6600 $ac_includes_default
6601 #include <$ac_header>
6603 rm -f conftest.
$ac_objext
6604 if { (ac_try
="$ac_compile"
6606 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6607 *) ac_try_echo=$ac_try;;
6609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6610 (eval "$ac_compile") 2>conftest.er1
6612 grep -v '^ *+' conftest.er1 >conftest.err
6614 cat conftest.err >&5
6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616 (exit $ac_status); } && {
6617 test -z "$ac_c_werror_flag" ||
6618 test ! -s conftest.err
6619 } && test -s conftest.$ac_objext; then
6620 ac_header_compiler=yes
6622 echo "$as_me: failed program was:" >&5
6623 sed 's/^/| /' conftest.$ac_ext >&5
6625 ac_header_compiler=no
6628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6629 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6630 echo "${ECHO_T}$ac_header_compiler" >&6; }
6632 # Is the header present?
6633 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6634 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6635 cat >conftest.$ac_ext <<_ACEOF
6638 cat confdefs.h >>conftest.$ac_ext
6639 cat >>conftest.$ac_ext <<_ACEOF
6640 /* end confdefs.h. */
6641 #include <$ac_header>
6643 if { (ac_try="$ac_cpp conftest.$ac_ext"
6645 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6646 *) ac_try_echo
=$ac_try;;
6648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6649 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6651 grep -v '^ *+' conftest.er1
>conftest.err
6653 cat conftest.err
>&5
6654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655 (exit $ac_status); } >/dev
/null
&& {
6656 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6657 test ! -s conftest.err
6659 ac_header_preproc
=yes
6661 echo "$as_me: failed program was:" >&5
6662 sed 's/^/| /' conftest.
$ac_ext >&5
6664 ac_header_preproc
=no
6667 rm -f conftest.err conftest.
$ac_ext
6668 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6669 echo "${ECHO_T}$ac_header_preproc" >&6; }
6671 # So? What about this header?
6672 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6674 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6675 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6677 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6678 ac_header_preproc
=yes
6681 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6682 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6683 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6684 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6685 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6686 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6687 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6688 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6690 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6691 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6692 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6694 ## -------------------------------------------------- ##
6695 ## Report this to launchd-bug-reports@group.apple.com ##
6696 ## -------------------------------------------------- ##
6698 ) | sed "s/^/$as_me: WARNING: /" >&2
6701 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6703 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6704 echo $ECHO_N "(cached) $ECHO_C" >&6
6706 eval "$as_ac_Header=\$ac_header_preproc"
6708 ac_res
=`eval echo '${'$as_ac_Header'}'`
6709 { echo "$as_me:$LINENO: result: $ac_res" >&5
6710 echo "${ECHO_T}$ac_res" >&6; }
6713 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6714 cat >>confdefs.h
<<_ACEOF
6715 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6722 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
6723 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
6724 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
6725 echo $ECHO_N "(cached) $ECHO_C" >&6
6727 if test "$cross_compiling" = yes; then
6728 ac_cv_func_malloc_0_nonnull
=no
6730 cat >conftest.
$ac_ext <<_ACEOF
6733 cat confdefs.h
>>conftest.
$ac_ext
6734 cat >>conftest.
$ac_ext <<_ACEOF
6735 /* end confdefs.h. */
6736 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
6737 # include <stdlib.h>
6745 return ! malloc (0);
6750 rm -f conftest
$ac_exeext
6751 if { (ac_try
="$ac_link"
6753 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6754 *) ac_try_echo=$ac_try;;
6756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6757 (eval "$ac_link") 2>&5
6759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6760 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6761 { (case "(($ac_try" in
6762 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6763 *) ac_try_echo
=$ac_try;;
6765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6766 (eval "$ac_try") 2>&5
6768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6769 (exit $ac_status); }; }; then
6770 ac_cv_func_malloc_0_nonnull
=yes
6772 echo "$as_me: program exited with status $ac_status" >&5
6773 echo "$as_me: failed program was:" >&5
6774 sed 's/^/| /' conftest.
$ac_ext >&5
6777 ac_cv_func_malloc_0_nonnull
=no
6779 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6784 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
6785 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
6786 if test $ac_cv_func_malloc_0_nonnull = yes; then
6788 cat >>confdefs.h
<<\_ACEOF
6789 #define HAVE_MALLOC 1
6793 cat >>confdefs.h
<<\_ACEOF
6794 #define HAVE_MALLOC 0
6797 case " $LIBOBJS " in
6798 *" malloc.$ac_objext "* ) ;;
6799 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
6804 cat >>confdefs.h
<<\_ACEOF
6805 #define malloc rpl_malloc
6816 for ac_header
in $ac_header_list
6818 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6819 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6820 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6821 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6822 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6823 echo $ECHO_N "(cached) $ECHO_C" >&6
6825 ac_res
=`eval echo '${'$as_ac_Header'}'`
6826 { echo "$as_me:$LINENO: result: $ac_res" >&5
6827 echo "${ECHO_T}$ac_res" >&6; }
6829 # Is the header compilable?
6830 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6831 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6832 cat >conftest.
$ac_ext <<_ACEOF
6835 cat confdefs.h
>>conftest.
$ac_ext
6836 cat >>conftest.
$ac_ext <<_ACEOF
6837 /* end confdefs.h. */
6838 $ac_includes_default
6839 #include <$ac_header>
6841 rm -f conftest.
$ac_objext
6842 if { (ac_try
="$ac_compile"
6844 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6845 *) ac_try_echo=$ac_try;;
6847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6848 (eval "$ac_compile") 2>conftest.er1
6850 grep -v '^ *+' conftest.er1 >conftest.err
6852 cat conftest.err >&5
6853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6854 (exit $ac_status); } && {
6855 test -z "$ac_c_werror_flag" ||
6856 test ! -s conftest.err
6857 } && test -s conftest.$ac_objext; then
6858 ac_header_compiler=yes
6860 echo "$as_me: failed program was:" >&5
6861 sed 's/^/| /' conftest.$ac_ext >&5
6863 ac_header_compiler=no
6866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6867 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6868 echo "${ECHO_T}$ac_header_compiler" >&6; }
6870 # Is the header present?
6871 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6872 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6873 cat >conftest.$ac_ext <<_ACEOF
6876 cat confdefs.h >>conftest.$ac_ext
6877 cat >>conftest.$ac_ext <<_ACEOF
6878 /* end confdefs.h. */
6879 #include <$ac_header>
6881 if { (ac_try="$ac_cpp conftest.$ac_ext"
6883 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6884 *) ac_try_echo
=$ac_try;;
6886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6887 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6889 grep -v '^ *+' conftest.er1
>conftest.err
6891 cat conftest.err
>&5
6892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6893 (exit $ac_status); } >/dev
/null
&& {
6894 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6895 test ! -s conftest.err
6897 ac_header_preproc
=yes
6899 echo "$as_me: failed program was:" >&5
6900 sed 's/^/| /' conftest.
$ac_ext >&5
6902 ac_header_preproc
=no
6905 rm -f conftest.err conftest.
$ac_ext
6906 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6907 echo "${ECHO_T}$ac_header_preproc" >&6; }
6909 # So? What about this header?
6910 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6912 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6913 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6914 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6915 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6916 ac_header_preproc
=yes
6919 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6920 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6921 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6922 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6923 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6924 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6925 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6926 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6927 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6928 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6929 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6930 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6932 ## -------------------------------------------------- ##
6933 ## Report this to launchd-bug-reports@group.apple.com ##
6934 ## -------------------------------------------------- ##
6936 ) | sed "s/^/$as_me: WARNING: /" >&2
6939 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6941 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6942 echo $ECHO_N "(cached) $ECHO_C" >&6
6944 eval "$as_ac_Header=\$ac_header_preproc"
6946 ac_res
=`eval echo '${'$as_ac_Header'}'`
6947 { echo "$as_me:$LINENO: result: $ac_res" >&5
6948 echo "${ECHO_T}$ac_res" >&6; }
6951 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6952 cat >>confdefs.h
<<_ACEOF
6953 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6968 for ac_func
in $ac_func_list
6970 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6971 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6973 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6974 echo $ECHO_N "(cached) $ECHO_C" >&6
6976 cat >conftest.
$ac_ext <<_ACEOF
6979 cat confdefs.h
>>conftest.
$ac_ext
6980 cat >>conftest.
$ac_ext <<_ACEOF
6981 /* end confdefs.h. */
6982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6984 #define $ac_func innocuous_$ac_func
6986 /* System header to define __stub macros and hopefully few prototypes,
6987 which can conflict with char $ac_func (); below.
6988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6989 <limits.h> exists even on freestanding compilers. */
6992 # include <limits.h>
6994 # include <assert.h>
6999 /* Override any GCC internal prototype to avoid an error.
7000 Use char because int might match the return type of a GCC
7001 builtin and then its argument prototype would still apply. */
7006 /* The GNU C library defines this for functions which it implements
7007 to always fail with ENOSYS. Some functions are actually named
7008 something starting with __ and the normal name is an alias. */
7009 #if defined __stub_$ac_func || defined __stub___$ac_func
7021 rm -f conftest.
$ac_objext conftest
$ac_exeext
7022 if { (ac_try
="$ac_link"
7024 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7025 *) ac_try_echo=$ac_try;;
7027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7028 (eval "$ac_link") 2>conftest.er1
7030 grep -v '^ *+' conftest.er1 >conftest.err
7032 cat conftest.err >&5
7033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7034 (exit $ac_status); } && {
7035 test -z "$ac_c_werror_flag" ||
7036 test ! -s conftest.err
7037 } && test -s conftest$ac_exeext &&
7038 $as_test_x conftest$ac_exeext; then
7039 eval "$as_ac_var=yes"
7041 echo "$as_me: failed program was:" >&5
7042 sed 's/^/| /' conftest.$ac_ext >&5
7044 eval "$as_ac_var=no"
7047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7048 conftest$ac_exeext conftest.$ac_ext
7050 ac_res=`eval echo '${'$as_ac_var'}'`
7051 { echo "$as_me:$LINENO: result: $ac_res" >&5
7052 echo "${ECHO_T}$ac_res" >&6; }
7053 if test `eval echo '${'$as_ac_var'}'` = yes; then
7054 cat >>confdefs.h <<_ACEOF
7055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7077 { echo "$as_me:$LINENO: checking for working mktime" >&5
7078 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6; }
7079 if test "${ac_cv_func_working_mktime+set}" = set; then
7080 echo $ECHO_N "(cached) $ECHO_C" >&6
7082 if test "$cross_compiling" = yes; then
7083 ac_cv_func_working_mktime=no
7085 cat >conftest.$ac_ext <<_ACEOF
7088 cat confdefs.h >>conftest.$ac_ext
7089 cat >>conftest.$ac_ext <<_ACEOF
7090 /* end confdefs.h. */
7091 /* Test program from Paul Eggert and Tony Leneis. */
7092 #ifdef TIME_WITH_SYS_TIME
7093 # include <sys/time.h>
7096 # ifdef HAVE_SYS_TIME_H
7097 # include <sys/time.h>
7105 #ifdef HAVE_UNISTD_H
7106 # include <unistd.h>
7110 # define alarm(X) /* empty */
7113 /* Work around redefinition to rpl_putenv by other config tests. */
7116 static time_t time_t_max;
7117 static time_t time_t_min;
7119 /* Values we'll use to set the TZ environment variable. */
7120 static char *tz_strings[] = {
7121 (char *) 0, "TZ=GMT0", "TZ=JST-9",
7122 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
7124 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
7126 /* Return 0 if mktime fails to convert a date in the spring-forward gap.
7127 Based on a problem report from Andreas Jaeger. */
7129 spring_forward_gap ()
7131 /* glibc (up to about 1998-10-07) failed this test. */
7134 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
7135 instead of "TZ=America/Vancouver" in order to detect the bug even
7136 on systems that don't support the Olson extension, or don't have the
7137 full zoneinfo tables installed. */
7138 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
7147 return mktime (&tm) != (time_t) -1;
7155 return ! (lt = localtime (&now)) || mktime (lt) == now;
7162 return (mktime_test1 (now)
7163 && mktime_test1 ((time_t) (time_t_max - now))
7164 && mktime_test1 ((time_t) (time_t_min + now)));
7170 /* Based on code from Ariel Faigon. */
7180 return tm.tm_mon == 2 && tm.tm_mday == 31;
7189 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
7191 if (now != (time_t) -1)
7193 struct tm *lt = localtime (&now);
7195 && lt->tm_year == tm.tm_year
7196 && lt->tm_mon == tm.tm_mon
7197 && lt->tm_mday == tm.tm_mday
7198 && lt->tm_hour == tm.tm_hour
7199 && lt->tm_min == tm.tm_min
7200 && lt->tm_sec == tm.tm_sec
7201 && lt->tm_yday == tm.tm_yday
7202 && lt->tm_wday == tm.tm_wday
7203 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
7204 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
7213 /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
7214 ignoring leap seconds. */
7215 unsigned long int answer = 2527315200UL;
7219 tm.tm_year = 2050 - 1900;
7222 tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
7225 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
7226 instead of "TZ=America/Vancouver" in order to detect the bug even
7227 on systems that don't support the Olson extension, or don't have the
7228 full zoneinfo tables installed. */
7229 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
7233 /* Check that the result is either a failure, or close enough
7234 to the correct answer that we can assume the discrepancy is
7235 due to leap seconds. */
7236 return (t == (time_t) -1
7237 || (0 < t && answer - 120 <= t && t <= answer + 120));
7246 /* This test makes some buggy mktime implementations loop.
7247 Give up after 60 seconds; a mktime slower than that
7248 isn't worth using anyway. */
7251 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
7254 if ((time_t) -1 < 0)
7255 for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
7257 delta = time_t_max / 997; /* a suitable prime number */
7258 for (i = 0; i < N_STRINGS; i++)
7261 putenv (tz_strings[i]);
7263 for (t = 0; t <= time_t_max - delta; t += delta)
7264 if (! mktime_test (t))
7266 if (! (mktime_test ((time_t) 1)
7267 && mktime_test ((time_t) (60 * 60))
7268 && mktime_test ((time_t) (60 * 60 * 24))))
7271 for (j = 1; 0 < j; j *= 2)
7272 if (! bigtime_test (j))
7274 if (! bigtime_test (j - 1))
7277 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
7280 rm -f conftest$ac_exeext
7281 if { (ac_try="$ac_link"
7283 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7284 *) ac_try_echo
=$ac_try;;
7286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7287 (eval "$ac_link") 2>&5
7289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7290 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7291 { (case "(($ac_try" in
7292 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7293 *) ac_try_echo=$ac_try;;
7295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7296 (eval "$ac_try") 2>&5
7298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7299 (exit $ac_status); }; }; then
7300 ac_cv_func_working_mktime=yes
7302 echo "$as_me: program exited with status $ac_status" >&5
7303 echo "$as_me: failed program was:" >&5
7304 sed 's/^/| /' conftest.$ac_ext >&5
7307 ac_cv_func_working_mktime=no
7309 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7314 { echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
7315 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6; }
7316 if test $ac_cv_func_working_mktime = no; then
7317 case " $LIBOBJS " in
7318 *" mktime.$ac_objext "* ) ;;
7319 *) LIBOBJS="$LIBOBJS mktime.$ac_objext"
7327 for ac_header in stdlib.h unistd.h
7329 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7330 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7331 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7333 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7334 echo $ECHO_N "(cached) $ECHO_C" >&6
7336 ac_res=`eval echo '${'$as_ac_Header'}'`
7337 { echo "$as_me:$LINENO: result: $ac_res" >&5
7338 echo "${ECHO_T}$ac_res" >&6; }
7340 # Is the header compilable?
7341 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7342 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
7350 #include <$ac_header>
7352 rm -f conftest.$ac_objext
7353 if { (ac_try="$ac_compile"
7355 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7356 *) ac_try_echo
=$ac_try;;
7358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7359 (eval "$ac_compile") 2>conftest.er1
7361 grep -v '^ *+' conftest.er1
>conftest.err
7363 cat conftest.err
>&5
7364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7365 (exit $ac_status); } && {
7366 test -z "$ac_c_werror_flag" ||
7367 test ! -s conftest.err
7368 } && test -s conftest.
$ac_objext; then
7369 ac_header_compiler
=yes
7371 echo "$as_me: failed program was:" >&5
7372 sed 's/^/| /' conftest.
$ac_ext >&5
7374 ac_header_compiler
=no
7377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7378 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7379 echo "${ECHO_T}$ac_header_compiler" >&6; }
7381 # Is the header present?
7382 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7383 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7384 cat >conftest.
$ac_ext <<_ACEOF
7387 cat confdefs.h
>>conftest.
$ac_ext
7388 cat >>conftest.
$ac_ext <<_ACEOF
7389 /* end confdefs.h. */
7390 #include <$ac_header>
7392 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7394 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7395 *) ac_try_echo=$ac_try;;
7397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7398 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7400 grep -v '^ *+' conftest.er1 >conftest.err
7402 cat conftest.err >&5
7403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7404 (exit $ac_status); } >/dev/null && {
7405 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7406 test ! -s conftest.err
7408 ac_header_preproc=yes
7410 echo "$as_me: failed program was:" >&5
7411 sed 's/^/| /' conftest.$ac_ext >&5
7413 ac_header_preproc=no
7416 rm -f conftest.err conftest.$ac_ext
7417 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7418 echo "${ECHO_T}$ac_header_preproc" >&6; }
7420 # So? What about this header?
7421 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7423 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7424 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7425 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7426 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7427 ac_header_preproc=yes
7430 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7431 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7432 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7433 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7434 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7435 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7436 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7437 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7439 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7440 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7441 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7443 ## -------------------------------------------------- ##
7444 ## Report this to launchd-bug-reports@group.apple.com ##
7445 ## -------------------------------------------------- ##
7447 ) | sed "s/^/$as_me: WARNING: /" >&2
7450 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7452 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7453 echo $ECHO_N "(cached) $ECHO_C" >&6
7455 eval "$as_ac_Header=\$ac_header_preproc"
7457 ac_res=`eval echo '${'$as_ac_Header'}'`
7458 { echo "$as_me:$LINENO: result: $ac_res" >&5
7459 echo "${ECHO_T}$ac_res" >&6; }
7462 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7463 cat >>confdefs.h <<_ACEOF
7464 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7472 for ac_func in getpagesize
7474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7475 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7477 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7478 echo $ECHO_N "(cached) $ECHO_C" >&6
7480 cat >conftest.$ac_ext <<_ACEOF
7483 cat confdefs.h >>conftest.$ac_ext
7484 cat >>conftest.$ac_ext <<_ACEOF
7485 /* end confdefs.h. */
7486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7488 #define $ac_func innocuous_$ac_func
7490 /* System header to define __stub macros and hopefully few prototypes,
7491 which can conflict with char $ac_func (); below.
7492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7493 <limits.h> exists even on freestanding compilers. */
7496 # include <limits.h>
7498 # include <assert.h>
7503 /* Override any GCC internal prototype to avoid an error.
7504 Use char because int might match the return type of a GCC
7505 builtin and then its argument prototype would still apply. */
7510 /* The GNU C library defines this for functions which it implements
7511 to always fail with ENOSYS. Some functions are actually named
7512 something starting with __ and the normal name is an alias. */
7513 #if defined __stub_$ac_func || defined __stub___$ac_func
7525 rm -f conftest.$ac_objext conftest$ac_exeext
7526 if { (ac_try="$ac_link"
7528 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7529 *) ac_try_echo
=$ac_try;;
7531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7532 (eval "$ac_link") 2>conftest.er1
7534 grep -v '^ *+' conftest.er1
>conftest.err
7536 cat conftest.err
>&5
7537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7538 (exit $ac_status); } && {
7539 test -z "$ac_c_werror_flag" ||
7540 test ! -s conftest.err
7541 } && test -s conftest
$ac_exeext &&
7542 $as_test_x conftest
$ac_exeext; then
7543 eval "$as_ac_var=yes"
7545 echo "$as_me: failed program was:" >&5
7546 sed 's/^/| /' conftest.
$ac_ext >&5
7548 eval "$as_ac_var=no"
7551 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7552 conftest
$ac_exeext conftest.
$ac_ext
7554 ac_res
=`eval echo '${'$as_ac_var'}'`
7555 { echo "$as_me:$LINENO: result: $ac_res" >&5
7556 echo "${ECHO_T}$ac_res" >&6; }
7557 if test `eval echo '${'$as_ac_var'}'` = yes; then
7558 cat >>confdefs.h
<<_ACEOF
7559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7565 { echo "$as_me:$LINENO: checking for working mmap" >&5
7566 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7567 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7568 echo $ECHO_N "(cached) $ECHO_C" >&6
7570 if test "$cross_compiling" = yes; then
7571 ac_cv_func_mmap_fixed_mapped
=no
7573 cat >conftest.
$ac_ext <<_ACEOF
7576 cat confdefs.h
>>conftest.
$ac_ext
7577 cat >>conftest.
$ac_ext <<_ACEOF
7578 /* end confdefs.h. */
7579 $ac_includes_default
7580 /* malloc might have been renamed as rpl_malloc. */
7583 /* Thanks to Mike Haertel and Jim Avera for this test.
7584 Here is a matrix of mmap possibilities:
7585 mmap private not fixed
7586 mmap private fixed at somewhere currently unmapped
7587 mmap private fixed at somewhere already mapped
7588 mmap shared not fixed
7589 mmap shared fixed at somewhere currently unmapped
7590 mmap shared fixed at somewhere already mapped
7591 For private mappings, we should verify that changes cannot be read()
7592 back from the file, nor mmap's back from the file at a different
7593 address. (There have been systems where private was not correctly
7594 implemented like the infamous i386 svr4.0, and systems where the
7595 VM page cache was not coherent with the file system buffer cache
7596 like early versions of FreeBSD and possibly contemporary NetBSD.)
7597 For shared mappings, we should conversely verify that changes get
7598 propagated back to all the places they're supposed to be.
7600 Grep wants private fixed already mapped.
7601 The main things grep needs to know about mmap are:
7602 * does it exist and is it safe to write into the mmap'd area
7603 * how to use it (BSD variants) */
7606 #include <sys/mman.h>
7608 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7612 /* This mess was copied from the GNU getpagesize.h. */
7613 #ifndef HAVE_GETPAGESIZE
7614 /* Assume that all systems that can run configure have sys/param.h. */
7615 # ifndef HAVE_SYS_PARAM_H
7616 # define HAVE_SYS_PARAM_H 1
7619 # ifdef _SC_PAGESIZE
7620 # define getpagesize() sysconf(_SC_PAGESIZE)
7621 # else /* no _SC_PAGESIZE */
7622 # ifdef HAVE_SYS_PARAM_H
7623 # include <sys/param.h>
7624 # ifdef EXEC_PAGESIZE
7625 # define getpagesize() EXEC_PAGESIZE
7626 # else /* no EXEC_PAGESIZE */
7628 # define getpagesize() NBPG * CLSIZE
7631 # endif /* no CLSIZE */
7632 # else /* no NBPG */
7634 # define getpagesize() NBPC
7635 # else /* no NBPC */
7637 # define getpagesize() PAGESIZE
7638 # endif /* PAGESIZE */
7639 # endif /* no NBPC */
7640 # endif /* no NBPG */
7641 # endif /* no EXEC_PAGESIZE */
7642 # else /* no HAVE_SYS_PARAM_H */
7643 # define getpagesize() 8192 /* punt totally */
7644 # endif /* no HAVE_SYS_PARAM_H */
7645 # endif /* no _SC_PAGESIZE */
7647 #endif /* no HAVE_GETPAGESIZE */
7652 char *data, *data2, *data3;
7656 pagesize = getpagesize ();
7658 /* First, make a file with some known garbage in it. */
7659 data = (char *) malloc (pagesize);
7662 for (i = 0; i < pagesize; ++i)
7663 *(data + i) = rand ();
7665 fd = creat ("conftest.mmap", 0600);
7668 if (write (fd, data, pagesize) != pagesize)
7672 /* Next, try to mmap the file at a fixed address which already has
7673 something else allocated at it. If we can, also make sure that
7674 we see the same garbage. */
7675 fd = open ("conftest.mmap", O_RDWR);
7678 data2 = (char *) malloc (2 * pagesize);
7681 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7682 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7683 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7685 for (i = 0; i < pagesize; ++i)
7686 if (*(data + i) != *(data2 + i))
7689 /* Finally, make sure that changes to the mapped area do not
7690 percolate back to the file as seen by read(). (This is a bug on
7691 some variants of i386 svr4.0.) */
7692 for (i = 0; i < pagesize; ++i)
7693 *(data2 + i) = *(data2 + i) + 1;
7694 data3 = (char *) malloc (pagesize);
7697 if (read (fd, data3, pagesize) != pagesize)
7699 for (i = 0; i < pagesize; ++i)
7700 if (*(data + i) != *(data3 + i))
7706 rm -f conftest
$ac_exeext
7707 if { (ac_try
="$ac_link"
7709 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7710 *) ac_try_echo=$ac_try;;
7712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7713 (eval "$ac_link") 2>&5
7715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7716 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7717 { (case "(($ac_try" in
7718 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7719 *) ac_try_echo
=$ac_try;;
7721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7722 (eval "$ac_try") 2>&5
7724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); }; }; then
7726 ac_cv_func_mmap_fixed_mapped
=yes
7728 echo "$as_me: program exited with status $ac_status" >&5
7729 echo "$as_me: failed program was:" >&5
7730 sed 's/^/| /' conftest.
$ac_ext >&5
7733 ac_cv_func_mmap_fixed_mapped
=no
7735 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7740 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7741 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7742 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7744 cat >>confdefs.h
<<\_ACEOF
7752 for ac_header
in stdlib.h
7754 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7755 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7756 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7758 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7759 echo $ECHO_N "(cached) $ECHO_C" >&6
7761 ac_res
=`eval echo '${'$as_ac_Header'}'`
7762 { echo "$as_me:$LINENO: result: $ac_res" >&5
7763 echo "${ECHO_T}$ac_res" >&6; }
7765 # Is the header compilable?
7766 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7767 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7768 cat >conftest.
$ac_ext <<_ACEOF
7771 cat confdefs.h
>>conftest.
$ac_ext
7772 cat >>conftest.
$ac_ext <<_ACEOF
7773 /* end confdefs.h. */
7774 $ac_includes_default
7775 #include <$ac_header>
7777 rm -f conftest.
$ac_objext
7778 if { (ac_try
="$ac_compile"
7780 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7781 *) ac_try_echo=$ac_try;;
7783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7784 (eval "$ac_compile") 2>conftest.er1
7786 grep -v '^ *+' conftest.er1 >conftest.err
7788 cat conftest.err >&5
7789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7790 (exit $ac_status); } && {
7791 test -z "$ac_c_werror_flag" ||
7792 test ! -s conftest.err
7793 } && test -s conftest.$ac_objext; then
7794 ac_header_compiler=yes
7796 echo "$as_me: failed program was:" >&5
7797 sed 's/^/| /' conftest.$ac_ext >&5
7799 ac_header_compiler=no
7802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7803 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7804 echo "${ECHO_T}$ac_header_compiler" >&6; }
7806 # Is the header present?
7807 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7808 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7809 cat >conftest.$ac_ext <<_ACEOF
7812 cat confdefs.h >>conftest.$ac_ext
7813 cat >>conftest.$ac_ext <<_ACEOF
7814 /* end confdefs.h. */
7815 #include <$ac_header>
7817 if { (ac_try="$ac_cpp conftest.$ac_ext"
7819 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7820 *) ac_try_echo
=$ac_try;;
7822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7823 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7825 grep -v '^ *+' conftest.er1
>conftest.err
7827 cat conftest.err
>&5
7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); } >/dev
/null
&& {
7830 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7831 test ! -s conftest.err
7833 ac_header_preproc
=yes
7835 echo "$as_me: failed program was:" >&5
7836 sed 's/^/| /' conftest.
$ac_ext >&5
7838 ac_header_preproc
=no
7841 rm -f conftest.err conftest.
$ac_ext
7842 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7843 echo "${ECHO_T}$ac_header_preproc" >&6; }
7845 # So? What about this header?
7846 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7848 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7849 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7851 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7852 ac_header_preproc
=yes
7855 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7856 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7857 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7858 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7859 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7860 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7861 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7862 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7863 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7864 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7865 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7866 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7868 ## -------------------------------------------------- ##
7869 ## Report this to launchd-bug-reports@group.apple.com ##
7870 ## -------------------------------------------------- ##
7872 ) | sed "s/^/$as_me: WARNING: /" >&2
7875 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7877 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7878 echo $ECHO_N "(cached) $ECHO_C" >&6
7880 eval "$as_ac_Header=\$ac_header_preproc"
7882 ac_res
=`eval echo '${'$as_ac_Header'}'`
7883 { echo "$as_me:$LINENO: result: $ac_res" >&5
7884 echo "${ECHO_T}$ac_res" >&6; }
7887 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7888 cat >>confdefs.h
<<_ACEOF
7889 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7896 { echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
7897 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; }
7898 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
7899 echo $ECHO_N "(cached) $ECHO_C" >&6
7901 if test "$cross_compiling" = yes; then
7902 ac_cv_func_realloc_0_nonnull
=no
7904 cat >conftest.
$ac_ext <<_ACEOF
7907 cat confdefs.h
>>conftest.
$ac_ext
7908 cat >>conftest.
$ac_ext <<_ACEOF
7909 /* end confdefs.h. */
7910 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
7911 # include <stdlib.h>
7919 return ! realloc (0, 0);
7924 rm -f conftest
$ac_exeext
7925 if { (ac_try
="$ac_link"
7927 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7928 *) ac_try_echo=$ac_try;;
7930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7931 (eval "$ac_link") 2>&5
7933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7935 { (case "(($ac_try" in
7936 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7937 *) ac_try_echo
=$ac_try;;
7939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7940 (eval "$ac_try") 2>&5
7942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7943 (exit $ac_status); }; }; then
7944 ac_cv_func_realloc_0_nonnull
=yes
7946 echo "$as_me: program exited with status $ac_status" >&5
7947 echo "$as_me: failed program was:" >&5
7948 sed 's/^/| /' conftest.
$ac_ext >&5
7951 ac_cv_func_realloc_0_nonnull
=no
7953 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7958 { echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
7959 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; }
7960 if test $ac_cv_func_realloc_0_nonnull = yes; then
7962 cat >>confdefs.h
<<\_ACEOF
7963 #define HAVE_REALLOC 1
7967 cat >>confdefs.h
<<\_ACEOF
7968 #define HAVE_REALLOC 0
7971 case " $LIBOBJS " in
7972 *" realloc.$ac_objext "* ) ;;
7973 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext"
7978 cat >>confdefs.h
<<\_ACEOF
7979 #define realloc rpl_realloc
7988 for ac_header
in sys
/select.h sys
/socket.h
7990 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7991 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7992 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7994 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7995 echo $ECHO_N "(cached) $ECHO_C" >&6
7997 ac_res
=`eval echo '${'$as_ac_Header'}'`
7998 { echo "$as_me:$LINENO: result: $ac_res" >&5
7999 echo "${ECHO_T}$ac_res" >&6; }
8001 # Is the header compilable?
8002 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8003 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8004 cat >conftest.
$ac_ext <<_ACEOF
8007 cat confdefs.h
>>conftest.
$ac_ext
8008 cat >>conftest.
$ac_ext <<_ACEOF
8009 /* end confdefs.h. */
8010 $ac_includes_default
8011 #include <$ac_header>
8013 rm -f conftest.
$ac_objext
8014 if { (ac_try
="$ac_compile"
8016 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8017 *) ac_try_echo=$ac_try;;
8019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8020 (eval "$ac_compile") 2>conftest.er1
8022 grep -v '^ *+' conftest.er1 >conftest.err
8024 cat conftest.err >&5
8025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8026 (exit $ac_status); } && {
8027 test -z "$ac_c_werror_flag" ||
8028 test ! -s conftest.err
8029 } && test -s conftest.$ac_objext; then
8030 ac_header_compiler=yes
8032 echo "$as_me: failed program was:" >&5
8033 sed 's/^/| /' conftest.$ac_ext >&5
8035 ac_header_compiler=no
8038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8039 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8040 echo "${ECHO_T}$ac_header_compiler" >&6; }
8042 # Is the header present?
8043 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8044 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8045 cat >conftest.$ac_ext <<_ACEOF
8048 cat confdefs.h >>conftest.$ac_ext
8049 cat >>conftest.$ac_ext <<_ACEOF
8050 /* end confdefs.h. */
8051 #include <$ac_header>
8053 if { (ac_try="$ac_cpp conftest.$ac_ext"
8055 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8056 *) ac_try_echo
=$ac_try;;
8058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8059 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8061 grep -v '^ *+' conftest.er1
>conftest.err
8063 cat conftest.err
>&5
8064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8065 (exit $ac_status); } >/dev
/null
&& {
8066 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8067 test ! -s conftest.err
8069 ac_header_preproc
=yes
8071 echo "$as_me: failed program was:" >&5
8072 sed 's/^/| /' conftest.
$ac_ext >&5
8074 ac_header_preproc
=no
8077 rm -f conftest.err conftest.
$ac_ext
8078 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8079 echo "${ECHO_T}$ac_header_preproc" >&6; }
8081 # So? What about this header?
8082 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8084 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8085 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8086 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8087 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8088 ac_header_preproc
=yes
8091 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8092 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8093 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8094 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8095 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8096 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8097 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8098 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8099 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8100 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8101 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8102 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8104 ## -------------------------------------------------- ##
8105 ## Report this to launchd-bug-reports@group.apple.com ##
8106 ## -------------------------------------------------- ##
8108 ) | sed "s/^/$as_me: WARNING: /" >&2
8111 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8113 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8114 echo $ECHO_N "(cached) $ECHO_C" >&6
8116 eval "$as_ac_Header=\$ac_header_preproc"
8118 ac_res
=`eval echo '${'$as_ac_Header'}'`
8119 { echo "$as_me:$LINENO: result: $ac_res" >&5
8120 echo "${ECHO_T}$ac_res" >&6; }
8123 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8124 cat >>confdefs.h
<<_ACEOF
8125 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8132 { echo "$as_me:$LINENO: checking types of arguments for select" >&5
8133 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; }
8134 if test "${ac_cv_func_select_args+set}" = set; then
8135 echo $ECHO_N "(cached) $ECHO_C" >&6
8137 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
8138 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
8139 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
8140 cat >conftest.
$ac_ext <<_ACEOF
8143 cat confdefs.h
>>conftest.
$ac_ext
8144 cat >>conftest.
$ac_ext <<_ACEOF
8145 /* end confdefs.h. */
8146 $ac_includes_default
8147 #ifdef HAVE_SYS_SELECT_H
8148 # include <sys/select.h>
8150 #ifdef HAVE_SYS_SOCKET_H
8151 # include <sys/socket.h>
8157 extern int select ($ac_arg1,
8158 $ac_arg234, $ac_arg234, $ac_arg234,
8164 rm -f conftest.
$ac_objext
8165 if { (ac_try
="$ac_compile"
8167 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8168 *) ac_try_echo=$ac_try;;
8170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8171 (eval "$ac_compile") 2>conftest.er1
8173 grep -v '^ *+' conftest.er1 >conftest.err
8175 cat conftest.err >&5
8176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8177 (exit $ac_status); } && {
8178 test -z "$ac_c_werror_flag" ||
8179 test ! -s conftest.err
8180 } && test -s conftest.$ac_objext; then
8181 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
8183 echo "$as_me: failed program was:" >&5
8184 sed 's/^/| /' conftest.$ac_ext >&5
8189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8193 # Provide a safe default value.
8194 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
8197 { echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
8198 echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
8199 ac_save_IFS=$IFS; IFS=','
8200 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
8204 cat >>confdefs.h <<_ACEOF
8205 #define SELECT_TYPE_ARG1 $1
8209 cat >>confdefs.h <<_ACEOF
8210 #define SELECT_TYPE_ARG234 ($2)
8214 cat >>confdefs.h <<_ACEOF
8215 #define SELECT_TYPE_ARG5 ($3)
8220 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
8221 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
8222 if test "${ac_cv_type_signal+set}" = set; then
8223 echo $ECHO_N "(cached) $ECHO_C" >&6
8225 cat >conftest.$ac_ext <<_ACEOF
8228 cat confdefs.h >>conftest.$ac_ext
8229 cat >>conftest.$ac_ext <<_ACEOF
8230 /* end confdefs.h. */
8231 #include <sys/types.h>
8237 return *(signal (0, 0)) (0) == 1;
8242 rm -f conftest.$ac_objext
8243 if { (ac_try="$ac_compile"
8245 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8246 *) ac_try_echo
=$ac_try;;
8248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8249 (eval "$ac_compile") 2>conftest.er1
8251 grep -v '^ *+' conftest.er1
>conftest.err
8253 cat conftest.err
>&5
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); } && {
8256 test -z "$ac_c_werror_flag" ||
8257 test ! -s conftest.err
8258 } && test -s conftest.
$ac_objext; then
8259 ac_cv_type_signal
=int
8261 echo "$as_me: failed program was:" >&5
8262 sed 's/^/| /' conftest.
$ac_ext >&5
8264 ac_cv_type_signal
=void
8267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8269 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
8270 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
8272 cat >>confdefs.h
<<_ACEOF
8273 #define RETSIGTYPE $ac_cv_type_signal
8277 { echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
8278 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
8279 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
8280 echo $ECHO_N "(cached) $ECHO_C" >&6
8282 if test "$cross_compiling" = yes; then
8283 ac_cv_func_stat_empty_string_bug
=yes
8285 cat >conftest.
$ac_ext <<_ACEOF
8288 cat confdefs.h
>>conftest.
$ac_ext
8289 cat >>conftest.
$ac_ext <<_ACEOF
8290 /* end confdefs.h. */
8291 $ac_includes_default
8296 return stat ("", &sbuf) == 0;
8301 rm -f conftest
$ac_exeext
8302 if { (ac_try
="$ac_link"
8304 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8305 *) ac_try_echo=$ac_try;;
8307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8308 (eval "$ac_link") 2>&5
8310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8311 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8312 { (case "(($ac_try" in
8313 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8314 *) ac_try_echo
=$ac_try;;
8316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8317 (eval "$ac_try") 2>&5
8319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8320 (exit $ac_status); }; }; then
8321 ac_cv_func_stat_empty_string_bug
=no
8323 echo "$as_me: program exited with status $ac_status" >&5
8324 echo "$as_me: failed program was:" >&5
8325 sed 's/^/| /' conftest.
$ac_ext >&5
8328 ac_cv_func_stat_empty_string_bug
=yes
8330 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8335 { echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
8336 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
8337 if test $ac_cv_func_stat_empty_string_bug = yes; then
8338 case " $LIBOBJS " in
8339 *" stat.$ac_objext "* ) ;;
8340 *) LIBOBJS
="$LIBOBJS stat.$ac_objext"
8345 cat >>confdefs.h
<<_ACEOF
8346 #define HAVE_STAT_EMPTY_STRING_BUG 1
8370 for ac_func
in atexit dup2 gethostname gettimeofday memmove memset
mkdir munmap
rmdir select setenv socket strcasecmp strchr strdup strerror strrchr strstr strtol
8372 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8373 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8375 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8376 echo $ECHO_N "(cached) $ECHO_C" >&6
8378 cat >conftest.
$ac_ext <<_ACEOF
8381 cat confdefs.h
>>conftest.
$ac_ext
8382 cat >>conftest.
$ac_ext <<_ACEOF
8383 /* end confdefs.h. */
8384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8386 #define $ac_func innocuous_$ac_func
8388 /* System header to define __stub macros and hopefully few prototypes,
8389 which can conflict with char $ac_func (); below.
8390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8391 <limits.h> exists even on freestanding compilers. */
8394 # include <limits.h>
8396 # include <assert.h>
8401 /* Override any GCC internal prototype to avoid an error.
8402 Use char because int might match the return type of a GCC
8403 builtin and then its argument prototype would still apply. */
8408 /* The GNU C library defines this for functions which it implements
8409 to always fail with ENOSYS. Some functions are actually named
8410 something starting with __ and the normal name is an alias. */
8411 #if defined __stub_$ac_func || defined __stub___$ac_func
8423 rm -f conftest.
$ac_objext conftest
$ac_exeext
8424 if { (ac_try
="$ac_link"
8426 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8427 *) ac_try_echo=$ac_try;;
8429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8430 (eval "$ac_link") 2>conftest.er1
8432 grep -v '^ *+' conftest.er1 >conftest.err
8434 cat conftest.err >&5
8435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8436 (exit $ac_status); } && {
8437 test -z "$ac_c_werror_flag" ||
8438 test ! -s conftest.err
8439 } && test -s conftest$ac_exeext &&
8440 $as_test_x conftest$ac_exeext; then
8441 eval "$as_ac_var=yes"
8443 echo "$as_me: failed program was:" >&5
8444 sed 's/^/| /' conftest.$ac_ext >&5
8446 eval "$as_ac_var=no"
8449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8450 conftest$ac_exeext conftest.$ac_ext
8452 ac_res=`eval echo '${'$as_ac_var'}'`
8453 { echo "$as_me:$LINENO: result: $ac_res" >&5
8454 echo "${ECHO_T}$ac_res" >&6; }
8455 if test `eval echo '${'$as_ac_var'}'` = yes; then
8456 cat >>confdefs.h <<_ACEOF
8457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8464 ac_config_files="$ac_config_files Makefile src/Makefile"
8467 if test "$RC_ProjectName" = launchd_libs; then
8476 cat >confcache <<\_ACEOF
8477 # This file is a shell script that caches the results of configure
8478 # tests run on this system so they can be shared between configure
8479 # scripts and configure runs, see configure's option --config-cache.
8480 # It is not useful on other systems. If it contains results you don't
8481 # want to keep, you may remove or edit it.
8483 # config.status only pays attention to the cache file if you give it
8484 # the --recheck option to rerun configure.
8486 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
8487 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8492 # The following way of writing the cache mishandles newlines in values,
8493 # but we know of no workaround that is simple, portable, and efficient.
8494 # So, we kill variables containing newlines.
8495 # Ultrix sh set writes to stderr and can't be redirected directly,
8496 # and sets the high bit in the cache file unless we assign to the vars.
8498 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8499 eval ac_val
=\$
$ac_var
8503 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
8504 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
8507 _
| IFS
| as_nl
) ;; #(
8508 *) $as_unset $ac_var ;;
8514 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8515 *${as_nl}ac_space
=\
*)
8516 # `set' does not quote correctly, so add quotes (double-quote
8517 # substitution turns \\\\ into \\, and sed turns \\ into \).
8520 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8523 # `set' quotes correctly as required by POSIX, so do not add quotes.
8524 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8533 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8535 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8537 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8538 if test -w "$cache_file"; then
8539 test "x$cache_file" != "x/dev/null" &&
8540 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
8541 echo "$as_me: updating cache $cache_file" >&6;}
8542 cat confcache
>$cache_file
8544 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8545 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8550 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8551 # Let make expand exec_prefix.
8552 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8554 DEFS
=-DHAVE_CONFIG_H
8558 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8559 # 1. Remove the extension, and $U if already installed.
8560 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8561 ac_i
=`echo "$ac_i" | sed "$ac_script"`
8562 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8563 # will be set to the directory where LIBOBJS objects are built.
8564 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8565 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8569 LTLIBOBJS
=$ac_ltlibobjs
8572 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8573 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8574 Usually this means the macro was only invoked conditionally." >&5
8575 echo "$as_me: error: conditional \"AMDEP\" was never defined.
8576 Usually this means the macro was only invoked conditionally." >&2;}
8577 { (exit 1); exit 1; }; }
8579 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8580 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8581 Usually this means the macro was only invoked conditionally." >&5
8582 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8583 Usually this means the macro was only invoked conditionally." >&2;}
8584 { (exit 1); exit 1; }; }
8586 if test -z "${LIBS_ONLY_TRUE}" && test -z "${LIBS_ONLY_FALSE}"; then
8587 { { echo "$as_me:$LINENO: error: conditional \"LIBS_ONLY\" was never defined.
8588 Usually this means the macro was only invoked conditionally." >&5
8589 echo "$as_me: error: conditional \"LIBS_ONLY\" was never defined.
8590 Usually this means the macro was only invoked conditionally." >&2;}
8591 { (exit 1); exit 1; }; }
8594 : ${CONFIG_STATUS=./config.status}
8595 ac_clean_files_save
=$ac_clean_files
8596 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8597 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8598 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8599 cat >$CONFIG_STATUS <<_ACEOF
8601 # Generated by $as_me.
8602 # Run this file to recreate the current configuration.
8603 # Compiler output produced by configure, useful for debugging
8604 # configure, is in config.log if it exists.
8609 SHELL=\${CONFIG_SHELL-$SHELL}
8612 cat >>$CONFIG_STATUS <<\_ACEOF
8613 ## --------------------- ##
8614 ## M4sh Initialization. ##
8615 ## --------------------- ##
8617 # Be more Bourne compatible
8618 DUALCASE
=1; export DUALCASE
# for MKS sh
8619 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8622 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8623 # is contrary to our usage. Disable this feature.
8624 alias -g '${1+"$@"}'='"$@"'
8625 setopt NO_GLOB_SUBST
8627 case `(set -o) 2>/dev/null` in
8628 *posix
*) set -o posix
;;
8637 # Avoid depending upon Character Ranges.
8638 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8639 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8640 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8641 as_cr_digits
='0123456789'
8642 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8644 # The user is always right.
8645 if test "${PATH_SEPARATOR+set}" != set; then
8646 echo "#! /bin/sh" >conf$$.sh
8647 echo "exit 0" >>conf$$.sh
8649 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8657 # Support unset when possible.
8658 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
8666 # We need space, tab and new line, in precisely that order. Quoting is
8667 # there to prevent editors from complaining about space-tab.
8668 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8669 # splitting by setting IFS to empty value.)
8674 # Find who we are. Look in the path if we contain no directory separator.
8676 *[\\/]* ) as_myself
=$0 ;;
8677 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8681 test -z "$as_dir" && as_dir
=.
8682 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8688 # We did not find ourselves, most probably we were run as `sh COMMAND'
8689 # in which case we are not to be found in the path.
8690 if test "x$as_myself" = x
; then
8693 if test ! -f "$as_myself"; then
8694 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8695 { (exit 1); exit 1; }
8698 # Work around bugs in pre-3.0 UWIN ksh.
8699 for as_var
in ENV MAIL MAILPATH
8700 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
8708 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8709 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8710 LC_TELEPHONE LC_TIME
8712 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8713 eval $as_var=C
; export $as_var
8715 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
8719 # Required to use basename.
8720 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8721 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8727 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8728 as_basename
=basename
8734 # Name of the executable.
8735 as_me
=`$as_basename -- "$0" ||
8736 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8737 X"$0" : 'X\(//\)$' \| \
8738 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8740 sed '/^.*\/\([^/][^/]*\)\/*$/{
8761 test "x$as_lineno_1" != "x$as_lineno_2" &&
8762 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
8764 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8765 # uniformly replaced by the line number. The first 'sed' inserts a
8766 # line-number line after each line using $LINENO; the second 'sed'
8767 # does the real work. The second script uses 'N' to pair each
8768 # line-number line with the line containing $LINENO, and appends
8769 # trailing '-' during substitution so that $LINENO is not a special
8771 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8772 # scripts with optimization help from Paolo Bonzini. Blame Lee
8773 # E. McMahon (1931-1989) for sed's syntax. :-)
8785 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8789 chmod +x
"$as_me.lineno" ||
8790 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8791 { (exit 1); exit 1; }; }
8793 # Don't try to exec as it changes $[0], causing all sort of problems
8794 # (the dirname of $[0] is not the place where we might find the
8795 # original and so on. Autoconf is especially sensitive to this).
8797 # Exit status is that of the last command.
8802 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8808 ECHO_C
= ECHO_N
= ECHO_T
=
8811 case `echo 'x\c'` in
8812 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8819 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8820 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8826 rm -f conf$$ conf$$.exe conf$$.
file
8827 if test -d conf$$.dir
; then
8828 rm -f conf$$.dir
/conf$$.
file
8834 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8836 # ... but there are two gotchas:
8837 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8838 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8839 # In both cases, we have to default to `cp -p'.
8840 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
8842 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8847 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8848 rmdir conf$$.dir
2>/dev
/null
8850 if mkdir -p .
2>/dev
/null
; then
8853 test -d .
/-p && rmdir .
/-p
8857 if test -x / >/dev
/null
2>&1; then
8860 if ls -dL / >/dev
/null
2>&1; then
8867 if test -d "$1"; then
8873 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8874 ???[sx]*):;;*)false;;esac;fi
8878 as_executable_p
=$as_test_x
8880 # Sed expression to map a string onto a valid CPP name.
8881 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8883 # Sed expression to map a string onto a valid variable name.
8884 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8889 # Save the log message, to keep $[0] and so on meaningful, and to
8890 # report actual input values of CONFIG_FILES etc. instead of their
8891 # values after options handling.
8893 This file was extended by launchd $as_me 1.0, which was
8894 generated by GNU Autoconf 2.61. Invocation command line was
8896 CONFIG_FILES = $CONFIG_FILES
8897 CONFIG_HEADERS = $CONFIG_HEADERS
8898 CONFIG_LINKS = $CONFIG_LINKS
8899 CONFIG_COMMANDS = $CONFIG_COMMANDS
8902 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8907 cat >>$CONFIG_STATUS <<_ACEOF
8908 # Files that config.status was made for.
8909 config_files="$ac_config_files"
8910 config_headers="$ac_config_headers"
8911 config_commands="$ac_config_commands"
8915 cat >>$CONFIG_STATUS <<\_ACEOF
8917 \`$as_me' instantiates files from templates according to the
8918 current configuration.
8920 Usage: $0 [OPTIONS] [FILE]...
8922 -h, --help print this help, then exit
8923 -V, --version print version number and configuration settings, then exit
8924 -q, --quiet do not print progress messages
8925 -d, --debug don't remove temporary files
8926 --recheck update $as_me by reconfiguring in the same conditions
8927 --file=FILE[:TEMPLATE]
8928 instantiate the configuration file FILE
8929 --header=FILE[:TEMPLATE]
8930 instantiate the configuration header FILE
8932 Configuration files:
8935 Configuration headers:
8938 Configuration commands:
8941 Report bugs to <bug-autoconf@gnu.org>."
8944 cat >>$CONFIG_STATUS <<_ACEOF
8946 launchd config.status 1.0
8947 configured by $0, generated by GNU Autoconf 2.61,
8948 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8950 Copyright (C) 2006 Free Software Foundation, Inc.
8951 This config.status script is free software; the Free Software Foundation
8952 gives unlimited permission to copy, distribute and modify it."
8960 cat >>$CONFIG_STATUS <<\_ACEOF
8961 # If no file are specified by the user, then we need to provide default
8962 # value. By we need to know if files were specified by the user.
8968 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8969 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8980 # Handling of the options.
8981 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8983 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8984 echo "$ac_cs_version"; exit ;;
8985 --debug | --debu | --deb | --de | --d | -d )
8987 --file | --fil | --fi | --f )
8989 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8990 ac_need_defaults
=false
;;
8991 --header | --heade | --head | --hea )
8993 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8994 ac_need_defaults
=false
;;
8996 # Conflict between --help and --header
8997 { echo "$as_me: error: ambiguous option: $1
8998 Try \`$0 --help' for more information." >&2
8999 { (exit 1); exit 1; }; };;
9000 --help | --hel | -h )
9001 echo "$ac_cs_usage"; exit ;;
9002 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9003 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9007 -*) { echo "$as_me: error: unrecognized option: $1
9008 Try \`$0 --help' for more information." >&2
9009 { (exit 1); exit 1; }; } ;;
9011 *) ac_config_targets
="$ac_config_targets $1"
9012 ac_need_defaults
=false
;;
9018 ac_configure_extra_args
=
9020 if $ac_cs_silent; then
9022 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9026 cat >>$CONFIG_STATUS <<_ACEOF
9027 if \$ac_cs_recheck; then
9028 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9031 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9035 cat >>$CONFIG_STATUS <<\_ACEOF
9039 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9040 ## Running $as_me. ##
9046 cat >>$CONFIG_STATUS <<_ACEOF
9050 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9054 cat >>$CONFIG_STATUS <<\_ACEOF
9056 # Handling of arguments.
9057 for ac_config_target
in $ac_config_targets
9059 case $ac_config_target in
9060 "src/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h" ;;
9061 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
9062 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9063 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
9065 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9066 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9067 { (exit 1); exit 1; }; };;
9072 # If the user did not use the arguments to specify the items to instantiate,
9073 # then the envvar interface is used. Set only those that are not.
9074 # We use the long form for the default assignment because of an extremely
9075 # bizarre bug on SunOS 4.1.3.
9076 if $ac_need_defaults; then
9077 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9078 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9079 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9082 # Have a temporary directory for convenience. Make it in the build tree
9083 # simply because there is no reason against having it here, and in addition,
9084 # creating and moving files from /tmp can sometimes cause problems.
9085 # Hook for its removal unless debugging.
9086 # Note that there is a small window in which the directory will not be cleaned:
9087 # after its creation but before its name has been assigned to `$tmp'.
9091 trap 'exit_status=$?
9092 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9094 trap '{ (exit 1); exit 1; }' 1 2 13 15
9096 # Create a (secure) tmp directory for tmp files.
9099 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9100 test -n "$tmp" && test -d "$tmp"
9103 tmp
=.
/conf$$
-$RANDOM
9104 (umask 077 && mkdir "$tmp")
9107 echo "$me: cannot create a temporary directory in ." >&2
9108 { (exit 1); exit 1; }
9112 # Set up the sed scripts for CONFIG_FILES section.
9115 # No need to generate the scripts if there are no CONFIG_FILES.
9116 # This happens for instance when ./config.status config.h
9117 if test -n "$CONFIG_FILES"; then
9124 for ac_last_try
in false false false false false
:; do
9125 cat >conf$
$subs.
sed <<_ACEOF
9126 SHELL!$SHELL$ac_delim
9127 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
9128 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
9129 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
9130 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
9131 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
9132 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
9133 exec_prefix!$exec_prefix$ac_delim
9134 prefix!$prefix$ac_delim
9135 program_transform_name!$program_transform_name$ac_delim
9136 bindir!$bindir$ac_delim
9137 sbindir!$sbindir$ac_delim
9138 libexecdir!$libexecdir$ac_delim
9139 datarootdir!$datarootdir$ac_delim
9140 datadir!$datadir$ac_delim
9141 sysconfdir!$sysconfdir$ac_delim
9142 sharedstatedir!$sharedstatedir$ac_delim
9143 localstatedir!$localstatedir$ac_delim
9144 includedir!$includedir$ac_delim
9145 oldincludedir!$oldincludedir$ac_delim
9146 docdir!$docdir$ac_delim
9147 infodir!$infodir$ac_delim
9148 htmldir!$htmldir$ac_delim
9149 dvidir!$dvidir$ac_delim
9150 pdfdir!$pdfdir$ac_delim
9151 psdir!$psdir$ac_delim
9152 libdir!$libdir$ac_delim
9153 localedir!$localedir$ac_delim
9154 mandir!$mandir$ac_delim
9156 ECHO_C!$ECHO_C$ac_delim
9157 ECHO_N!$ECHO_N$ac_delim
9158 ECHO_T!$ECHO_T$ac_delim
9160 build_alias!$build_alias$ac_delim
9161 host_alias!$host_alias$ac_delim
9162 target_alias!$target_alias$ac_delim
9163 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
9164 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
9165 INSTALL_DATA!$INSTALL_DATA$ac_delim
9166 am__isrc!$am__isrc$ac_delim
9167 CYGPATH_W!$CYGPATH_W$ac_delim
9168 PACKAGE!$PACKAGE$ac_delim
9169 VERSION!$VERSION$ac_delim
9170 ACLOCAL!$ACLOCAL$ac_delim
9171 AUTOCONF!$AUTOCONF$ac_delim
9172 AUTOMAKE!$AUTOMAKE$ac_delim
9173 AUTOHEADER!$AUTOHEADER$ac_delim
9174 MAKEINFO!$MAKEINFO$ac_delim
9175 install_sh!$install_sh$ac_delim
9176 STRIP!$STRIP$ac_delim
9177 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
9178 mkdir_p!$mkdir_p$ac_delim
9180 SET_MAKE!$SET_MAKE$ac_delim
9181 am__leading_dot!$am__leading_dot$ac_delim
9182 AMTAR!$AMTAR$ac_delim
9183 am__tar!$am__tar$ac_delim
9184 am__untar!$am__untar$ac_delim
9186 CFLAGS!$CFLAGS$ac_delim
9187 LDFLAGS!$LDFLAGS$ac_delim
9188 CPPFLAGS!$CPPFLAGS$ac_delim
9189 ac_ct_CC!$ac_ct_CC$ac_delim
9190 EXEEXT!$EXEEXT$ac_delim
9191 OBJEXT!$OBJEXT$ac_delim
9192 DEPDIR!$DEPDIR$ac_delim
9193 am__include!$am__include$ac_delim
9194 am__quote!$am__quote$ac_delim
9195 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
9196 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
9197 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
9198 CCDEPMODE!$CCDEPMODE$ac_delim
9199 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
9200 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
9201 RANLIB!$RANLIB$ac_delim
9204 EGREP!$EGREP$ac_delim
9205 ALLOCA!$ALLOCA$ac_delim
9206 LIBOBJS!$LIBOBJS$ac_delim
9207 LIBS_ONLY_TRUE!$LIBS_ONLY_TRUE$ac_delim
9208 LIBS_ONLY_FALSE!$LIBS_ONLY_FALSE$ac_delim
9209 LTLIBOBJS!$LTLIBOBJS$ac_delim
9212 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 84; then
9214 elif $ac_last_try; then
9215 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9216 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9217 { (exit 1); exit 1; }; }
9219 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
9223 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9224 if test -n "$ac_eof"; then
9225 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
9226 ac_eof
=`expr $ac_eof + 1`
9229 cat >>$CONFIG_STATUS <<_ACEOF
9230 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
9231 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
9234 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9235 s/^/s,@/; s/!/@,|#_!!_#|/
9238 s/'"$ac_delim"'$/,g/; t
9240 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9241 ' >>$CONFIG_STATUS <conf$
$subs.
sed
9242 rm -f conf$
$subs.
sed
9243 cat >>$CONFIG_STATUS <<_ACEOF
9250 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9251 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9252 # trailing colons and then remove the whole line if VPATH becomes empty
9253 # (actually we leave an empty line to preserve line numbers).
9254 if test "x$srcdir" = x.
; then
9255 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
9259 s/^\([^=]*=[ ]*\):*/\1/
9265 cat >>$CONFIG_STATUS <<\_ACEOF
9266 fi # test -n "$CONFIG_FILES"
9269 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
9272 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9274 case $ac_mode$ac_tag in
9276 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
9277 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
9278 { (exit 1); exit 1; }; };;
9279 :[FH
]-) ac_tag
=-:-;;
9280 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9297 -) ac_f
="$tmp/stdin";;
9298 *) # Look for the file first in the build tree, then in the source tree
9299 # (if the path is not absolute). The absolute path cannot be DOS-style,
9300 # because $ac_f cannot contain `:'.
9304 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9306 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9307 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9308 { (exit 1); exit 1; }; };;
9310 ac_file_inputs
="$ac_file_inputs $ac_f"
9313 # Let's still pretend it is `configure' which instantiates (i.e., don't
9314 # use $as_me), people would be surprised to read:
9315 # /* config.h. Generated by config.status. */
9316 configure_input
="Generated from "`IFS=:
9317 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
9318 if test x
"$ac_file" != x
-; then
9319 configure_input
="$ac_file. $configure_input"
9320 { echo "$as_me:$LINENO: creating $ac_file" >&5
9321 echo "$as_me: creating $ac_file" >&6;}
9325 *:-:* | *:-) cat >"$tmp/stdin";;
9330 ac_dir
=`$as_dirname -- "$ac_file" ||
9331 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9332 X"$ac_file" : 'X\(//\)[^/]' \| \
9333 X"$ac_file" : 'X\(//\)$' \| \
9334 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9355 -*) as_dir
=.
/$as_dir;;
9357 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
9361 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9362 *) as_qdir
=$as_dir;;
9364 as_dirs
="'$as_qdir' $as_dirs"
9365 as_dir
=`$as_dirname -- "$as_dir" ||
9366 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9367 X"$as_dir" : 'X\(//\)[^/]' \| \
9368 X"$as_dir" : 'X\(//\)$' \| \
9369 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9388 test -d "$as_dir" && break
9390 test -z "$as_dirs" || eval "mkdir $as_dirs"
9391 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9392 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9393 { (exit 1); exit 1; }; }; }
9397 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9399 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9400 # A ".." for each directory in $ac_dir_suffix.
9401 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9402 case $ac_top_builddir_sub in
9403 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9404 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9407 ac_abs_top_builddir
=$ac_pwd
9408 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9409 # for backward compatibility:
9410 ac_top_builddir
=$ac_top_build_prefix
9413 .
) # We are building in place.
9415 ac_top_srcdir
=$ac_top_builddir_sub
9416 ac_abs_top_srcdir
=$ac_pwd ;;
9417 [\\/]* | ?
:[\\/]* ) # Absolute name.
9418 ac_srcdir
=$srcdir$ac_dir_suffix;
9419 ac_top_srcdir
=$srcdir
9420 ac_abs_top_srcdir
=$srcdir ;;
9422 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9423 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9424 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9426 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9436 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9437 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9441 [\\/$
]* | ?
:[\\/]* ) ;;
9442 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
9446 cat >>$CONFIG_STATUS <<\_ACEOF
9447 # If the template does not know about datarootdir, expand it.
9448 # FIXME: This hack should be removed a few years after 2.60.
9449 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9451 case `sed -n '/datarootdir/ {
9460 ' $ac_file_inputs` in
9461 *datarootdir
*) ac_datarootdir_seen
=yes;;
9462 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
9463 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9464 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9466 cat >>$CONFIG_STATUS <<_ACEOF
9467 ac_datarootdir_hack='
9468 s&@datadir@&$datadir&g
9469 s&@docdir@&$docdir&g
9470 s&@infodir@&$infodir&g
9471 s&@localedir@&$localedir&g
9472 s&@mandir@&$mandir&g
9473 s&\\\${datarootdir}&$datarootdir&g' ;;
9477 # Neutralize VPATH when `$srcdir' = `.'.
9478 # Shell code in configure.ac might set extrasub.
9479 # FIXME: do we really want to maintain this feature?
9480 cat >>$CONFIG_STATUS <<_ACEOF
9484 cat >>$CONFIG_STATUS <<\_ACEOF
9486 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
9487 s
&@configure_input@
&$configure_input&;t t
9488 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9489 s
&@srcdir@
&$ac_srcdir&;t t
9490 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9491 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9492 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9493 s
&@builddir@
&$ac_builddir&;t t
9494 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9495 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9496 s
&@INSTALL@
&$ac_INSTALL&;t t
9497 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
9498 $ac_datarootdir_hack
9499 " $ac_file_inputs | sed -f "$tmp/subs
-1.
sed" >$tmp/out
9501 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9502 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9503 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9504 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9505 which seems to be undefined. Please make sure it is defined." >&5
9506 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9507 which seems to be undefined. Please make sure it is defined." >&2;}
9511 -) cat "$tmp/out"; rm -f "$tmp/out";;
9512 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
9521 # Transform confdefs.h into a sed script `conftest.defines', that
9522 # substitutes the proper values into config.h.in to produce config.h.
9523 rm -f conftest.defines conftest.
tail
9524 # First, append a space to every undef/define line, to ease matching.
9525 echo 's/$/ /' >conftest.defines
9526 # Then, protect against being on the right side of a sed subst, or in
9527 # an unquoted here document, in config.status. If some macros were
9528 # called several times there might be several #defines for the same
9529 # symbol, which is useless. But do not sort them, since the last
9530 # AC_DEFINE must be honored.
9531 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
9532 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
9533 # NAME is the cpp macro being defined, VALUE is the value it is being given.
9534 # PARAMS is the parameter list in the macro definition--in most cases, it's
9535 # just an empty string.
9536 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
9537 ac_dB
='\\)[ (].*,\\1define\\2'
9545 s/^[ ]*#[ ]*define[ ][ ]*//
9550 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
9551 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
9552 ' >>conftest.defines
9554 # Remove the space that was appended to ease matching.
9555 # Then replace #undef with comments. This is necessary, for
9556 # example, in the case of _POSIX_SOURCE, which is predefined and required
9557 # on some systems where configure will not decide to define it.
9558 # (The regexp can be short, since the line contains either #define or #undef.)
9560 s,^[ #]*u.*,/* & */,' >>conftest.defines
9562 # Break up conftest.defines:
9565 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
9566 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
9567 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
9569 ac_in
='$ac_file_inputs'
9570 ac_out
='"$tmp/out1"'
9571 ac_nxt
='"$tmp/out2"'
9575 # Write a here document:
9576 cat >>$CONFIG_STATUS <<_ACEOF
9577 # First, check the format of the line:
9578 cat >"\$tmp/defines.sed" <<\\CEOF
9579 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
9580 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
9584 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
9586 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
9587 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
9588 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
9589 grep . conftest.
tail >/dev
/null
|| break
9590 rm -f conftest.defines
9591 mv conftest.
tail conftest.defines
9593 rm -f conftest.defines conftest.
tail
9595 echo "ac_result=$ac_in" >>$CONFIG_STATUS
9596 cat >>$CONFIG_STATUS <<\_ACEOF
9597 if test x
"$ac_file" != x
-; then
9598 echo "/* $configure_input */" >"$tmp/config.h"
9599 cat "$ac_result" >>"$tmp/config.h"
9600 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
9601 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9602 echo "$as_me: $ac_file is unchanged" >&6;}
9605 mv "$tmp/config.h" $ac_file
9608 echo "/* $configure_input */"
9612 # Compute $ac_file's index in $config_headers.
9614 for _am_header
in $config_headers :; do
9616 $ac_file | $ac_file:* )
9619 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9622 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
9623 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9624 X$ac_file : 'X\(//\)[^/]' \| \
9625 X$ac_file : 'X\(//\)$' \| \
9626 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
9628 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9644 s/.*/./; q'`/stamp
-h$_am_stamp_count
9647 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
9648 echo "$as_me: executing $ac_file commands" >&6;}
9653 case $ac_file$ac_mode in
9654 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || for mf
in $CONFIG_FILES; do
9655 # Strip MF so we end up with the name of the file.
9656 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9657 # Check whether this is an Automake generated Makefile or not.
9658 # We used to match only the files named `Makefile.in', but
9659 # some people rename them; so instead we look at the file content.
9660 # Grep'ing the first line is not enough: some people post-process
9661 # each Makefile.in and add a new line on top of each file to say so.
9662 # Grep'ing the whole file is not good either: AIX grep has a line
9663 # limit of 2048, but all sed's we know have understand at least 4000.
9664 if sed 10q
"$mf" | grep '^#.*generated by automake' > /dev
/null
2>&1; then
9665 dirpart
=`$as_dirname -- "$mf" ||
9666 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9667 X"$mf" : 'X\(//\)[^/]' \| \
9668 X"$mf" : 'X\(//\)$' \| \
9669 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9691 # Extract the definition of DEPDIR, am__include, and am__quote
9692 # from the Makefile without running `make'.
9693 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9694 test -z "$DEPDIR" && continue
9695 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9696 test -z "am__include" && continue
9697 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9698 # When using ansi2knr, U may be empty or an underscore; expand it
9699 U
=`sed -n 's/^U = //p' < "$mf"`
9700 # Find all dependency output files, they are included files with
9701 # $(DEPDIR) in their names. We invoke sed twice because it is the
9702 # simplest approach to changing $(DEPDIR) to its actual value in the
9704 for file in `sed -n "
9705 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9706 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9707 # Make sure the directory exists.
9708 test -f "$dirpart/$file" && continue
9709 fdir
=`$as_dirname -- "$file" ||
9710 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9711 X"$file" : 'X\(//\)[^/]' \| \
9712 X"$file" : 'X\(//\)$' \| \
9713 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9732 { as_dir
=$dirpart/$fdir
9734 -*) as_dir
=.
/$as_dir;;
9736 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
9740 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9741 *) as_qdir
=$as_dir;;
9743 as_dirs
="'$as_qdir' $as_dirs"
9744 as_dir
=`$as_dirname -- "$as_dir" ||
9745 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9746 X"$as_dir" : 'X\(//\)[^/]' \| \
9747 X"$as_dir" : 'X\(//\)$' \| \
9748 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9750 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9767 test -d "$as_dir" && break
9769 test -z "$as_dirs" || eval "mkdir $as_dirs"
9770 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9771 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9772 { (exit 1); exit 1; }; }; }
9773 # echo "creating $dirpart/$file"
9774 echo '# dummy' > "$dirpart/$file"
9783 { (exit 0); exit 0; }
9785 chmod +x
$CONFIG_STATUS
9786 ac_clean_files
=$ac_clean_files_save
9789 # configure is writing to config.log, and then calls config.status.
9790 # config.status does its own redirection, appending to config.log.
9791 # Unfortunately, on DOS this fails, as config.log is still kept open
9792 # by configure, so config.status won't be able to write to it; its
9793 # output is simply discarded. So we exec the FD to /dev/null,
9794 # effectively closing config.log, so it can be properly (re)opened and
9795 # appended to by config.status. When coming back to configure, we
9796 # need to make the FD available again.
9797 if test "$no_create" != yes; then
9799 ac_config_status_args
=
9800 test "$silent" = yes &&
9801 ac_config_status_args
="$ac_config_status_args --quiet"
9803 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9805 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9806 # would make configure fail if this is the last instruction.
9807 $ac_cs_success || { (exit 1); exit 1; }