2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60 for flowgrind 0.12.
5 # Report bugs to <daniel.schaffrath@mac.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 Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
24 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
26 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
27 DUALCASE
=1; export DUALCASE
# for MKS sh
31 # Avoid depending upon Character Ranges.
32 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits
='0123456789'
36 as_cr_alnum
=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
43 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51 # Support unset when possible.
52 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
60 # We need space, tab and new line, in precisely that order. Quoting is
61 # there to prevent editors from complaining about space-tab.
62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
63 # splitting by setting IFS to empty value.)
68 # Find who we are. Look in the path if we contain no directory separator.
70 *[\\/]* ) as_myself
=$0 ;;
71 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
75 test -z "$as_dir" && as_dir
=.
76 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x
; then
87 if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
92 # Work around bugs in pre-3.0 UWIN ksh.
93 for as_var
in ENV MAIL MAILPATH
94 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C
; export $as_var
109 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
113 # Required to use basename.
114 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
121 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
128 # Name of the executable.
129 as_me
=`$as_basename -- "$0" ||
130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
152 if test "x$CONFIG_SHELL" = x
; then
153 if (eval ":") 2>/dev
/null
; then
159 if test $as_have_required = yes && (eval ":
169 as_func_ret_success () {
172 as_func_ret_failure () {
177 if as_func_success; then
181 echo as_func_success failed.
184 if as_func_failure; then
186 echo as_func_failure succeeded.
189 if as_func_ret_success; then
193 echo as_func_ret_success failed.
196 if as_func_ret_failure; then
198 echo as_func_ret_failure succeeded.
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 echo positional parameters were not saved.
208 test \$exitcode = 0) || { (exit 1); exit 1; }
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215 ") 2> /dev
/null
; then
219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
226 for as_base
in sh bash ksh sh5
; do
227 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
234 for as_shell
in $as_candidate_shells $SHELL; do
235 # Try only shells that exist, to save several forks.
236 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
237 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
238 # Be Bourne compatible
239 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
247 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
249 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
250 DUALCASE
=1; export DUALCASE
# for MKS sh
255 CONFIG_SHELL
=$as_shell
257 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
258 # Be Bourne compatible
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
269 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
270 DUALCASE
=1; export DUALCASE
# for MKS sh
282 as_func_ret_success
() {
285 as_func_ret_failure
() {
290 if as_func_success
; then
294 echo as_func_success failed.
297 if as_func_failure
; then
299 echo as_func_failure succeeded.
302 if as_func_ret_success
; then
306 echo as_func_ret_success failed.
309 if as_func_ret_failure
; then
311 echo as_func_ret_failure succeeded.
314 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
318 echo positional parameters were not saved.
321 test $exitcode = 0) ||
{ (exit 1); exit 1; }
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
338 if test "x$CONFIG_SHELL" != x
; then
339 for as_var
in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 if test $as_have_required = no
; then
348 echo This
script requires a shell
more modern than all the
349 echo shells that I found on your system. Please
install a
350 echo modern shell
, or manually run the
script under such a
351 echo shell
if you
do have one.
352 { (exit 1); exit 1; }
362 (eval "as_func_return () {
371 as_func_ret_success () {
374 as_func_ret_failure () {
379 if as_func_success; then
383 echo as_func_success failed.
386 if as_func_failure; then
388 echo as_func_failure succeeded.
391 if as_func_ret_success; then
395 echo as_func_ret_success failed.
398 if as_func_ret_failure; then
400 echo as_func_ret_failure succeeded.
403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407 echo positional parameters were not saved.
410 test \$exitcode = 0") ||
{
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system
,
413 echo including any error possibly output before this
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); exit 1; }; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
457 # Exit status is that of the last command.
462 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
468 ECHO_C
= ECHO_N
= ECHO_T
=
472 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
479 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
486 rm -f conf$$ conf$$.exe conf$$.
file
487 if test -d conf$$.dir
; then
488 rm -f conf$$.dir
/conf$$.
file
494 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
502 elif ln conf$$.
file conf$$
2>/dev
/null
; then
507 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
508 rmdir conf$$.dir
2>/dev
/null
510 if mkdir
-p .
2>/dev
/null
; then
513 test -d .
/-p && rmdir .
/-p
517 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
518 # systems may use methods other than mode bits to determine executability.
519 cat >conf$$.
file <<_ASEOF
524 if test -x conf$$.
file >/dev
/null
2>&1; then
525 as_executable_p
="test -x"
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 exec 7<&0 </dev
/null
6>&1
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
549 ac_default_prefix
=/usr
/local
551 ac_config_libobj_dir
=.
557 SHELL
=${CONFIG_SHELL-/bin/sh}
559 # Identity of this package.
560 PACKAGE_NAME
='flowgrind'
561 PACKAGE_TARNAME
='flowgrind'
562 PACKAGE_VERSION
='0.12'
563 PACKAGE_STRING
='flowgrind 0.12'
564 PACKAGE_BUGREPORT
='daniel.schaffrath@mac.com'
566 # Factoring default headers for most tests.
567 ac_includes_default
="\
570 # include <sys/types.h>
573 # include <sys/stat.h>
584 # if !STDC_HEADERS && HAVE_MEMORY_H
590 # include <strings.h>
593 # include <inttypes.h>
611 program_transform_name
652 INSTALL_STRIP_PROGRAM
692 ac_precious_vars
='build_alias
702 # Initialize some variables set by options.
704 ac_init_version
=false
705 # The variables have the same names as the options, with
706 # dashes changed to underlines.
714 program_transform_name
=s
,x
,x
,
722 # Installation directory options.
723 # These are left unexpanded so users can "make install exec_prefix=/foo"
724 # and all the variables that are supposed to be based on exec_prefix
725 # by default will actually change.
726 # Use braces instead of parens because sh, perl, etc. also accept them.
727 # (The list follows the same order as the GNU Coding Standards.)
728 bindir
='${exec_prefix}/bin'
729 sbindir
='${exec_prefix}/sbin'
730 libexecdir
='${exec_prefix}/libexec'
731 datarootdir
='${prefix}/share'
732 datadir
='${datarootdir}'
733 sysconfdir
='${prefix}/etc'
734 sharedstatedir
='${prefix}/com'
735 localstatedir
='${prefix}/var'
736 includedir
='${prefix}/include'
737 oldincludedir
='/usr/include'
738 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
739 infodir
='${datarootdir}/info'
744 libdir
='${exec_prefix}/lib'
745 localedir
='${datarootdir}/locale'
746 mandir
='${datarootdir}/man'
752 # If the previous option needs an argument, assign it.
753 if test -n "$ac_prev"; then
754 eval $ac_prev=\
$ac_option
760 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
764 # Accept the important Cygnus configure options, so we can diagnose typos.
766 case $ac_dashdash$ac_option in
770 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
772 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
775 -build |
--build |
--buil |
--bui |
--bu)
776 ac_prev
=build_alias
;;
777 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
778 build_alias
=$ac_optarg ;;
780 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
781 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
782 ac_prev
=cache_file
;;
783 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
784 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
785 cache_file
=$ac_optarg ;;
788 cache_file
=config.cache
;;
790 -datadir |
--datadir |
--datadi |
--datad)
792 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
793 datadir
=$ac_optarg ;;
795 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
796 |
--dataroo |
--dataro |
--datar)
797 ac_prev
=datarootdir
;;
798 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
799 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
800 datarootdir
=$ac_optarg ;;
802 -disable-* |
--disable-*)
803 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
804 # Reject names that are not valid shell variable names.
805 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
806 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
807 { (exit 1); exit 1; }; }
808 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
809 eval enable_
$ac_feature=no
;;
811 -docdir |
--docdir |
--docdi |
--doc |
--do)
813 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
816 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
818 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
821 -enable-* |
--enable-*)
822 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
823 # Reject names that are not valid shell variable names.
824 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
825 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
826 { (exit 1); exit 1; }; }
827 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
828 eval enable_
$ac_feature=\
$ac_optarg ;;
830 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
831 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
832 |
--exec |
--exe |
--ex)
833 ac_prev
=exec_prefix
;;
834 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
835 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
836 |
--exec=* |
--exe=* |
--ex=*)
837 exec_prefix
=$ac_optarg ;;
839 -gas |
--gas |
--ga |
--g)
840 # Obsolete; use --with-gas.
843 -help |
--help |
--hel |
--he |
-h)
845 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
846 ac_init_help
=recursive
;;
847 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
848 ac_init_help
=short
;;
850 -host |
--host |
--hos |
--ho)
851 ac_prev
=host_alias
;;
852 -host=* |
--host=* |
--hos=* |
--ho=*)
853 host_alias
=$ac_optarg ;;
855 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
857 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
859 htmldir
=$ac_optarg ;;
861 -includedir |
--includedir |
--includedi |
--included |
--include \
862 |
--includ |
--inclu |
--incl |
--inc)
863 ac_prev
=includedir
;;
864 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
865 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
866 includedir
=$ac_optarg ;;
868 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
870 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
871 infodir
=$ac_optarg ;;
873 -libdir |
--libdir |
--libdi |
--libd)
875 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
878 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
879 |
--libexe |
--libex |
--libe)
880 ac_prev
=libexecdir
;;
881 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
882 |
--libexe=* |
--libex=* |
--libe=*)
883 libexecdir
=$ac_optarg ;;
885 -localedir |
--localedir |
--localedi |
--localed |
--locale)
887 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
888 localedir
=$ac_optarg ;;
890 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
891 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
892 ac_prev
=localstatedir
;;
893 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
894 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
895 localstatedir
=$ac_optarg ;;
897 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
899 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
903 # Obsolete; use --without-fp.
906 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
907 |
--no-cr |
--no-c |
-n)
910 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
911 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
914 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
915 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
916 |
--oldin |
--oldi |
--old |
--ol |
--o)
917 ac_prev
=oldincludedir
;;
918 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
919 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
920 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
921 oldincludedir
=$ac_optarg ;;
923 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
925 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
928 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
929 |
--program-pre |
--program-pr |
--program-p)
930 ac_prev
=program_prefix
;;
931 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
932 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
933 program_prefix
=$ac_optarg ;;
935 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
936 |
--program-suf |
--program-su |
--program-s)
937 ac_prev
=program_suffix
;;
938 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
939 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
940 program_suffix
=$ac_optarg ;;
942 -program-transform-name |
--program-transform-name \
943 |
--program-transform-nam |
--program-transform-na \
944 |
--program-transform-n |
--program-transform- \
945 |
--program-transform |
--program-transfor \
946 |
--program-transfo |
--program-transf \
947 |
--program-trans |
--program-tran \
948 |
--progr-tra |
--program-tr |
--program-t)
949 ac_prev
=program_transform_name
;;
950 -program-transform-name=* |
--program-transform-name=* \
951 |
--program-transform-nam=* |
--program-transform-na=* \
952 |
--program-transform-n=* |
--program-transform-=* \
953 |
--program-transform=* |
--program-transfor=* \
954 |
--program-transfo=* |
--program-transf=* \
955 |
--program-trans=* |
--program-tran=* \
956 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
957 program_transform_name
=$ac_optarg ;;
959 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
961 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
964 -psdir |
--psdir |
--psdi |
--psd |
--ps)
966 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
969 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
970 |
-silent |
--silent |
--silen |
--sile |
--sil)
973 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
975 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
977 sbindir
=$ac_optarg ;;
979 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
980 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
981 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
983 ac_prev
=sharedstatedir
;;
984 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
985 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
986 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
988 sharedstatedir
=$ac_optarg ;;
990 -site |
--site |
--sit)
992 -site=* |
--site=* |
--sit=*)
995 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
997 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1000 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1001 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1002 ac_prev
=sysconfdir
;;
1003 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1004 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1005 sysconfdir
=$ac_optarg ;;
1007 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1008 ac_prev
=target_alias
;;
1009 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1010 target_alias
=$ac_optarg ;;
1012 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1015 -version |
--version |
--versio |
--versi |
--vers |
-V)
1016 ac_init_version
=: ;;
1019 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1022 { echo "$as_me: error: invalid package name: $ac_package" >&2
1023 { (exit 1); exit 1; }; }
1024 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1025 eval with_
$ac_package=\
$ac_optarg ;;
1027 -without-* |
--without-*)
1028 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1029 # Reject names that are not valid shell variable names.
1030 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1031 { echo "$as_me: error: invalid package name: $ac_package" >&2
1032 { (exit 1); exit 1; }; }
1033 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1034 eval with_
$ac_package=no
;;
1037 # Obsolete; use --with-x.
1040 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1041 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1042 ac_prev
=x_includes
;;
1043 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1044 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1045 x_includes
=$ac_optarg ;;
1047 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1048 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1049 ac_prev
=x_libraries
;;
1050 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1051 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1052 x_libraries
=$ac_optarg ;;
1054 -*) { echo "$as_me: error: unrecognized option: $ac_option
1055 Try \`$0 --help' for more information." >&2
1056 { (exit 1); exit 1; }; }
1060 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1061 # Reject names that are not valid shell variable names.
1062 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1063 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1064 { (exit 1); exit 1; }; }
1065 eval $ac_envvar=\
$ac_optarg
1066 export $ac_envvar ;;
1069 # FIXME: should be removed in autoconf 3.0.
1070 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1071 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1072 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1073 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1079 if test -n "$ac_prev"; then
1080 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1081 { echo "$as_me: error: missing argument to $ac_option" >&2
1082 { (exit 1); exit 1; }; }
1085 # Be sure to have absolute directory names.
1086 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1087 datadir sysconfdir sharedstatedir localstatedir includedir \
1088 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1089 libdir localedir mandir
1091 eval ac_val
=\$
$ac_var
1093 [\\/$
]* | ?
:[\\/]* ) continue;;
1094 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1096 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1097 { (exit 1); exit 1; }; }
1100 # There might be people who depend on the old broken behavior: `$host'
1101 # used to hold the argument of --host etc.
1102 # FIXME: To remove some day.
1105 target
=$target_alias
1107 # FIXME: To remove some day.
1108 if test "x$host_alias" != x
; then
1109 if test "x$build_alias" = x
; then
1110 cross_compiling
=maybe
1111 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1112 If a cross compiler is detected then cross compile mode will be used." >&2
1113 elif test "x$build_alias" != "x$host_alias"; then
1119 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1121 test "$silent" = yes && exec 6>/dev
/null
1124 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1125 ac_ls_di
=`ls -di .` &&
1126 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1127 { echo "$as_me: error: Working directory cannot be determined" >&2
1128 { (exit 1); exit 1; }; }
1129 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1130 { echo "$as_me: error: pwd does not report name of working directory" >&2
1131 { (exit 1); exit 1; }; }
1134 # Find the source files, if location was not specified.
1135 if test -z "$srcdir"; then
1136 ac_srcdir_defaulted
=yes
1137 # Try the directory containing this script, then the parent directory.
1138 ac_confdir
=`$as_dirname -- "$0" ||
1139 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1140 X"$0" : 'X\(//\)[^/]' \| \
1141 X"$0" : 'X\(//\)$' \| \
1142 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1144 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1162 if test ! -r "$srcdir/$ac_unique_file"; then
1166 ac_srcdir_defaulted
=no
1168 if test ! -r "$srcdir/$ac_unique_file"; then
1169 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1170 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1171 { (exit 1); exit 1; }; }
1173 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1175 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1176 { (exit 1); exit 1; }; }
1178 # When building in place, set srcdir=.
1179 if test "$ac_abs_confdir" = "$ac_pwd"; then
1182 # Remove unnecessary trailing slashes from srcdir.
1183 # Double slashes in file names in object file debugging info
1184 # mess up M-x gdb in Emacs.
1186 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1188 for ac_var
in $ac_precious_vars; do
1189 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1190 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1191 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1192 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1196 # Report the --help message.
1198 if test "$ac_init_help" = "long"; then
1199 # Omit some internal or obsolete options to make the list less imposing.
1200 # This message is too long to be a string in the A/UX 3.1 sh.
1202 \`configure' configures flowgrind 0.12 to adapt to many kinds of systems.
1204 Usage: $0 [OPTION]... [VAR=VALUE]...
1206 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1207 VAR=VALUE. See below for descriptions of some of the useful variables.
1209 Defaults for the options are specified in brackets.
1212 -h, --help display this help and exit
1213 --help=short display options specific to this package
1214 --help=recursive display the short help of all the included packages
1215 -V, --version display version information and exit
1216 -q, --quiet, --silent do not print \`checking...' messages
1217 --cache-file=FILE cache test results in FILE [disabled]
1218 -C, --config-cache alias for \`--cache-file=config.cache'
1219 -n, --no-create do not create output files
1220 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1222 Installation directories:
1223 --prefix=PREFIX install architecture-independent files in PREFIX
1224 [$ac_default_prefix]
1225 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1228 By default, \`make install' will install all the files in
1229 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1230 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1231 for instance \`--prefix=\$HOME'.
1233 For better control, use the options below.
1235 Fine tuning of the installation directories:
1236 --bindir=DIR user executables [EPREFIX/bin]
1237 --sbindir=DIR system admin executables [EPREFIX/sbin]
1238 --libexecdir=DIR program executables [EPREFIX/libexec]
1239 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1240 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1241 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1242 --libdir=DIR object code libraries [EPREFIX/lib]
1243 --includedir=DIR C header files [PREFIX/include]
1244 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1245 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1246 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1247 --infodir=DIR info documentation [DATAROOTDIR/info]
1248 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1249 --mandir=DIR man documentation [DATAROOTDIR/man]
1250 --docdir=DIR documentation root [DATAROOTDIR/doc/flowgrind]
1251 --htmldir=DIR html documentation [DOCDIR]
1252 --dvidir=DIR dvi documentation [DOCDIR]
1253 --pdfdir=DIR pdf documentation [DOCDIR]
1254 --psdir=DIR ps documentation [DOCDIR]
1260 --program-prefix=PREFIX prepend PREFIX to installed program names
1261 --program-suffix=SUFFIX append SUFFIX to installed program names
1262 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1265 --build=BUILD configure
for building on BUILD
[guessed
]
1266 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1270 if test -n "$ac_init_help"; then
1271 case $ac_init_help in
1272 short | recursive
) echo "Configuration of flowgrind 0.12:";;
1277 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1278 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1279 --disable-dependency-tracking speeds up one-time build
1280 --enable-dependency-tracking do not reject slow dependency extractors
1283 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1284 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1285 --with-pcap[=DIR
] use libpcap
for packet capturing.
[default
=yes]
1287 Some influential environment variables
:
1288 CC C compiler
command
1289 CFLAGS C compiler flags
1290 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1291 nonstandard directory
<lib dir
>
1292 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1293 you have headers
in a nonstandard directory
<include dir
>
1296 Use these variables to override the choices made by
`configure' or to help
1297 it to find libraries and programs with nonstandard names/locations.
1299 Report bugs to <daniel.schaffrath@mac.com>.
1304 if test "$ac_init_help" = "recursive"; then
1305 # If there are subdirs, report their specific --help.
1306 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1307 test -d "$ac_dir" || continue
1311 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1313 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1314 # A ".." for each directory in $ac_dir_suffix.
1315 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1316 case $ac_top_builddir_sub in
1317 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1318 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1321 ac_abs_top_builddir=$ac_pwd
1322 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1323 # for backward compatibility:
1324 ac_top_builddir=$ac_top_build_prefix
1327 .) # We are building in place.
1329 ac_top_srcdir=$ac_top_builddir_sub
1330 ac_abs_top_srcdir=$ac_pwd ;;
1331 [\\/]* | ?:[\\/]* ) # Absolute name.
1332 ac_srcdir=$srcdir$ac_dir_suffix;
1333 ac_top_srcdir=$srcdir
1334 ac_abs_top_srcdir=$srcdir ;;
1336 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1337 ac_top_srcdir=$ac_top_build_prefix$srcdir
1338 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1340 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1342 cd "$ac_dir" || { ac_status=$?; continue; }
1343 # Check for guested configure.
1344 if test -f "$ac_srcdir/configure.gnu"; then
1346 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1347 elif test -f "$ac_srcdir/configure"; then
1349 $SHELL "$ac_srcdir/configure" --help=recursive
1351 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1353 cd "$ac_pwd" || { ac_status=$?; break; }
1357 test -n "$ac_init_help" && exit $ac_status
1358 if $ac_init_version; then
1360 flowgrind configure 0.12
1361 generated by GNU Autoconf 2.60
1363 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1364 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1365 This configure script is free software; the Free Software Foundation
1366 gives unlimited permission to copy, distribute and modify it.
1370 cat >config.log <<_ACEOF
1371 This file contains any messages produced by compilers while
1372 running configure, to aid debugging if configure makes a mistake.
1374 It was created by flowgrind $as_me 0.12, which was
1375 generated by GNU Autoconf 2.60. Invocation command line was
1387 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1388 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1389 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1390 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1391 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1393 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1394 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1396 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1397 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1398 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1399 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1400 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1401 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1402 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1410 test -z "$as_dir" && as_dir=.
1411 echo "PATH: $as_dir"
1427 # Keep a trace of the command line.
1428 # Strip out --no-create and --no-recursion so they do not pile up.
1429 # Strip out --silent because we don't want to record it for future runs.
1430 # Also quote any args containing shell meta-characters.
1431 # Make two passes to allow for proper duplicate-argument suppression.
1435 ac_must_keep_next=false
1441 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1442 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1443 | -silent | --silent | --silen | --sile | --sil)
1446 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1449 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1451 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1452 if test $ac_must_keep_next = true; then
1453 ac_must_keep_next=false # Got value, back to normal.
1456 *=* | --config-cache | -C | -disable-* | --disable-* \
1457 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1458 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1459 | -with-* | --with-* | -without-* | --without-* | --x)
1460 case "$ac_configure_args0 " in
1461 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1464 -* ) ac_must_keep_next=true ;;
1467 ac_configure_args="$ac_configure_args '$ac_arg'"
1472 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1473 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1475 # When interrupted or exit'd, cleanup temporary files, and complete
1476 # config.log. We remove comments because anyway the quotes in there
1477 # would cause problems or look ugly.
1478 # WARNING: Use '\'' to represent an apostrophe within the trap.
1479 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1480 trap 'exit_status=$?
1481 # Save into config.log some information that might help in debugging.
1486 ## ---------------- ##
1487 ## Cache variables. ##
1488 ## ---------------- ##
1491 # The following way of writing the cache mishandles newlines in values,
1493 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1494 eval ac_val=\$$ac_var
1498 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1499 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1502 _ | IFS | as_nl) ;; #(
1503 *) $as_unset $ac_var ;;
1508 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1509 *${as_nl}ac_space=\ *)
1511 "s/'\''/'\''\\\\'\'''\''/g;
1512 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1515 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1523 ## ----------------- ##
1524 ## Output variables. ##
1525 ## ----------------- ##
1528 for ac_var in $ac_subst_vars
1530 eval ac_val=\$$ac_var
1532 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1534 echo "$ac_var='\''$ac_val'\''"
1538 if test -n "$ac_subst_files"; then
1540 ## ------------------- ##
1541 ## File substitutions. ##
1542 ## ------------------- ##
1545 for ac_var in $ac_subst_files
1547 eval ac_val=\$$ac_var
1549 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1551 echo "$ac_var='\''$ac_val'\''"
1556 if test -s confdefs.h; then
1566 test "$ac_signal" != 0 &&
1567 echo "$as_me: caught signal $ac_signal"
1568 echo "$as_me: exit $exit_status"
1570 rm -f core *.core core.conftest.* &&
1571 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1574 for ac_signal in 1 2 13 15; do
1575 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1579 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1580 rm -f -r conftest* confdefs.h
1582 # Predefined preprocessor variables.
1584 cat >>confdefs.h <<_ACEOF
1585 #define PACKAGE_NAME "$PACKAGE_NAME"
1589 cat >>confdefs.h <<_ACEOF
1590 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1594 cat >>confdefs.h <<_ACEOF
1595 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1599 cat >>confdefs.h <<_ACEOF
1600 #define PACKAGE_STRING "$PACKAGE_STRING"
1604 cat >>confdefs.h <<_ACEOF
1605 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1609 # Let the site file select an alternate cache file if it wants to.
1610 # Prefer explicitly selected file to automatically selected ones.
1611 if test -n "$CONFIG_SITE"; then
1612 set x "$CONFIG_SITE"
1613 elif test "x$prefix" != xNONE; then
1614 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1616 set x "$ac_default_prefix/share/config.site" \
1617 "$ac_default_prefix/etc/config.site"
1622 if test -r "$ac_site_file"; then
1623 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1624 echo "$as_me: loading site script $ac_site_file" >&6;}
1625 sed 's/^/| /' "$ac_site_file" >&5
1630 if test -r "$cache_file"; then
1631 # Some versions of bash will fail to source /dev/null (special
1632 # files actually), so we avoid doing that.
1633 if test -f "$cache_file"; then
1634 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1635 echo "$as_me: loading cache $cache_file" >&6;}
1637 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1638 *) . "./$cache_file";;
1642 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1643 echo "$as_me: creating cache $cache_file" >&6;}
1647 # Check that the precious variables saved in the cache have kept the same
1649 ac_cache_corrupted=false
1650 for ac_var in $ac_precious_vars; do
1651 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1652 eval ac_new_set=\$ac_env_${ac_var}_set
1653 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1654 eval ac_new_val=\$ac_env_${ac_var}_value
1655 case $ac_old_set,$ac_new_set in
1657 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1658 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1659 ac_cache_corrupted=: ;;
1661 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1662 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1663 ac_cache_corrupted=: ;;
1666 if test "x$ac_old_val" != "x$ac_new_val"; then
1667 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1668 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1669 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1670 echo "$as_me: former value
: $ac_old_val" >&2;}
1671 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1672 echo "$as_me: current value
: $ac_new_val" >&2;}
1673 ac_cache_corrupted=:
1676 # Pass precious variables to config.status.
1677 if test "$ac_new_set" = set; then
1679 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1680 *) ac_arg=$ac_var=$ac_new_val ;;
1682 case " $ac_configure_args " in
1683 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1684 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1688 if $ac_cache_corrupted; then
1689 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1690 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1691 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1692 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1693 { (exit 1); exit 1; }; }
1721 ac_cpp='$CPP $CPPFLAGS'
1722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1728 for ac_dir in build-aux "$srcdir"/build-aux; do
1729 if test -f "$ac_dir/install-sh"; then
1731 ac_install_sh="$ac_aux_dir/install-sh -c"
1733 elif test -f "$ac_dir/install.sh"; then
1735 ac_install_sh="$ac_aux_dir/install.sh -c"
1737 elif test -f "$ac_dir/shtool"; then
1739 ac_install_sh="$ac_aux_dir/shtool install -c"
1743 if test -z "$ac_aux_dir"; then
1744 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1745 echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1746 { (exit 1); exit 1; }; }
1749 # These three variables are undocumented and unsupported,
1750 # and are intended to be withdrawn in a future Autoconf release.
1751 # They can cause serious problems if a builder's source tree is in a directory
1752 # whose full name contains unusual characters.
1753 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1754 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1755 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1758 am__api_version="1.9"
1759 # Find a good install program. We prefer a C program (faster),
1760 # so one script is as good as another. But avoid the broken or
1761 # incompatible versions:
1762 # SysV /etc/install, /usr/sbin/install
1763 # SunOS /usr/etc/install
1764 # IRIX /sbin/install
1766 # AmigaOS /C/install, which installs bootblocks on floppy discs
1767 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1768 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1769 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1770 # OS/2's system install, which has a completely different semantic
1771 # ./install, which can be erroneously created by make from ./install.sh.
1772 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1773 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1774 if test -z "$INSTALL"; then
1775 if test "${ac_cv_path_install+set}" = set; then
1776 echo $ECHO_N "(cached) $ECHO_C" >&6
1778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1782 test -z "$as_dir" && as_dir=.
1783 # Account for people who put trailing slashes in PATH elements.
1785 ./ | .// | /cC/* | \
1786 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1787 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1790 # OSF1 and SCO ODT 3.0 have their own names for install.
1791 # Don't use installbsd from OSF since it installs stuff as root
1793 for ac_prog in ginstall scoinst install; do
1794 for ac_exec_ext in '' $ac_executable_extensions; do
1795 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1796 if test $ac_prog = install &&
1797 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1798 # AIX install. It has an incompatible calling convention.
1800 elif test $ac_prog = install &&
1801 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1802 # program-specific install script used by HP pwplus--don't use.
1805 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1818 if test "${ac_cv_path_install+set}" = set; then
1819 INSTALL=$ac_cv_path_install
1821 # As a last resort, use the slow shell script. Don't cache a
1822 # value for INSTALL within a source directory, because that will
1823 # break other packages using the cache if that directory is
1824 # removed, or if the value is a relative name.
1825 INSTALL=$ac_install_sh
1828 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1829 echo "${ECHO_T}$INSTALL" >&6; }
1831 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1832 # It thinks the first close brace ends the variable substitution.
1833 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1835 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1837 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1839 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1840 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1843 echo timestamp > conftest.file
1844 # Do `set' in a subshell so we don't clobber the current shell
's
1845 # arguments. Must try -L first in case configure is actually a
1846 # symlink; some systems play weird games with the mod time of symlinks
1847 # (eg FreeBSD returns the mod time of the symlink's containing
1850 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1851 if test "$*" = "X"; then
1853 set X
`ls -t $srcdir/configure conftest.file`
1856 if test "$*" != "X $srcdir/configure conftest.file" \
1857 && test "$*" != "X conftest.file $srcdir/configure"; then
1859 # If neither matched, then we have a broken ls. This can happen
1860 # if, for instance, CONFIG_SHELL is bash and it inherits a
1861 # broken ls alias from the environment. This has actually
1862 # happened. Such a system could not be considered "sane".
1863 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1864 alias in your environment" >&5
1865 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1866 alias in your environment" >&2;}
1867 { (exit 1); exit 1; }; }
1870 test "$2" = conftest.
file
1876 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1877 Check your system clock" >&5
1878 echo "$as_me: error: newly created file is older than distributed files!
1879 Check your system clock" >&2;}
1880 { (exit 1); exit 1; }; }
1882 { echo "$as_me:$LINENO: result: yes" >&5
1883 echo "${ECHO_T}yes" >&6; }
1884 test "$program_prefix" != NONE
&&
1885 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1886 # Use a double $ so make ignores it.
1887 test "$program_suffix" != NONE
&&
1888 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1889 # Double any \ or $. echo might interpret backslashes.
1890 # By default was `s,x,x', remove it if useless.
1891 cat <<\_ACEOF
>conftest.
sed
1892 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1894 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1897 # expand $ac_aux_dir to an absolute path
1898 am_aux_dir
=`cd $ac_aux_dir && pwd`
1900 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1901 # Use eval to expand $SHELL
1902 if eval "$MISSING --run true"; then
1903 am_missing_run
="$MISSING --run "
1906 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1907 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1910 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1911 # We used to keeping the `.' as first argument, in order to
1912 # allow $(mkdir_p) to be used without argument. As in
1913 # $(mkdir_p) $(somedir)
1914 # where $(somedir) is conditionally defined. However this is wrong
1916 # 1. if the package is installed by a user who cannot write `.'
1917 # make install will fail,
1918 # 2. the above comment should most certainly read
1919 # $(mkdir_p) $(DESTDIR)$(somedir)
1920 # so it does not work when $(somedir) is undefined and
1921 # $(DESTDIR) is not.
1922 # To support the latter case, we have to write
1923 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1924 # so the `.' trick is pointless.
1925 mkdir_p
='mkdir -p --'
1927 # On NextStep and OpenStep, the `mkdir' command does not
1928 # recognize any option. It will interpret all options as
1929 # directories to create, and then abort because `.' already
1931 for d
in .
/-p .
/--version;
1933 test -d $d && rmdir $d
1935 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1936 if test -f "$ac_aux_dir/mkinstalldirs"; then
1937 mkdir_p
='$(mkinstalldirs)'
1939 mkdir_p
='$(install_sh) -d'
1943 for ac_prog
in gawk mawk nawk
awk
1945 # Extract the first word of "$ac_prog", so it can be a program name with args.
1946 set dummy
$ac_prog; ac_word
=$2
1947 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1949 if test "${ac_cv_prog_AWK+set}" = set; then
1950 echo $ECHO_N "(cached) $ECHO_C" >&6
1952 if test -n "$AWK"; then
1953 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1959 test -z "$as_dir" && as_dir
=.
1960 for ac_exec_ext
in '' $ac_executable_extensions; do
1961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1962 ac_cv_prog_AWK
="$ac_prog"
1963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1973 if test -n "$AWK"; then
1974 { echo "$as_me:$LINENO: result: $AWK" >&5
1975 echo "${ECHO_T}$AWK" >&6; }
1977 { echo "$as_me:$LINENO: result: no" >&5
1978 echo "${ECHO_T}no" >&6; }
1982 test -n "$AWK" && break
1985 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1986 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1987 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1988 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1989 echo $ECHO_N "(cached) $ECHO_C" >&6
1991 cat >conftest.
make <<\_ACEOF
1994 @
echo '@@@%%%=$(MAKE)=@@@%%%'
1996 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1997 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1999 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2001 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2005 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2006 { echo "$as_me:$LINENO: result: yes" >&5
2007 echo "${ECHO_T}yes" >&6; }
2010 { echo "$as_me:$LINENO: result: no" >&5
2011 echo "${ECHO_T}no" >&6; }
2012 SET_MAKE
="MAKE=${MAKE-make}"
2015 rm -rf .tst
2>/dev
/null
2016 mkdir .tst
2>/dev
/null
2017 if test -d .tst
; then
2022 rmdir .tst
2>/dev
/null
2024 # test to see if srcdir already configured
2025 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2026 test -f $srcdir/config.status
; then
2027 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2028 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2029 { (exit 1); exit 1; }; }
2032 # test whether we have cygpath
2033 if test -z "$CYGPATH_W"; then
2034 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2035 CYGPATH_W
='cygpath -w'
2042 # Define the identity of the package.
2047 cat >>confdefs.h
<<_ACEOF
2048 #define PACKAGE "$PACKAGE"
2052 cat >>confdefs.h
<<_ACEOF
2053 #define VERSION "$VERSION"
2056 # Some tools Automake needs.
2058 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2061 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2064 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2067 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2070 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2072 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2074 # Installed binaries are usually stripped using `strip' when the user
2075 # run `make install-strip'. However `strip' might not be the right
2076 # tool to use in cross-compilation environments, therefore Automake
2077 # will honor the `STRIP' environment variable to overrule this program.
2078 if test "$cross_compiling" != no
; then
2079 if test -n "$ac_tool_prefix"; then
2080 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2081 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2084 if test "${ac_cv_prog_STRIP+set}" = set; then
2085 echo $ECHO_N "(cached) $ECHO_C" >&6
2087 if test -n "$STRIP"; then
2088 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2094 test -z "$as_dir" && as_dir
=.
2095 for ac_exec_ext
in '' $ac_executable_extensions; do
2096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2097 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2107 STRIP
=$ac_cv_prog_STRIP
2108 if test -n "$STRIP"; then
2109 { echo "$as_me:$LINENO: result: $STRIP" >&5
2110 echo "${ECHO_T}$STRIP" >&6; }
2112 { echo "$as_me:$LINENO: result: no" >&5
2113 echo "${ECHO_T}no" >&6; }
2118 if test -z "$ac_cv_prog_STRIP"; then
2120 # Extract the first word of "strip", so it can be a program name with args.
2121 set dummy strip
; ac_word
=$2
2122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2124 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2125 echo $ECHO_N "(cached) $ECHO_C" >&6
2127 if test -n "$ac_ct_STRIP"; then
2128 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2134 test -z "$as_dir" && as_dir
=.
2135 for ac_exec_ext
in '' $ac_executable_extensions; do
2136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2137 ac_cv_prog_ac_ct_STRIP
="strip"
2138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2147 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2148 if test -n "$ac_ct_STRIP"; then
2149 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2150 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2152 { echo "$as_me:$LINENO: result: no" >&5
2153 echo "${ECHO_T}no" >&6; }
2156 if test "x$ac_ct_STRIP" = x
; then
2159 case $cross_compiling:$ac_tool_warned in
2161 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2162 whose name does not start with the host triplet. If you think this
2163 configuration is useful to you, please write to autoconf@gnu.org." >&5
2164 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2165 whose name does not start with the host triplet. If you think this
2166 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2167 ac_tool_warned
=yes ;;
2172 STRIP
="$ac_cv_prog_STRIP"
2176 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2178 # We need awk for the "check" target. The system "awk" is bad on
2180 # Always define AMTAR for backward compatibility.
2182 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2184 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2191 # Checks for programs.
2193 ac_cpp
='$CPP $CPPFLAGS'
2194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2197 if test -n "$ac_tool_prefix"; then
2198 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2199 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2200 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2202 if test "${ac_cv_prog_CC+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6
2205 if test -n "$CC"; then
2206 ac_cv_prog_CC
="$CC" # Let the user override the test.
2208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2212 test -z "$as_dir" && as_dir
=.
2213 for ac_exec_ext
in '' $ac_executable_extensions; do
2214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2215 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2226 if test -n "$CC"; then
2227 { echo "$as_me:$LINENO: result: $CC" >&5
2228 echo "${ECHO_T}$CC" >&6; }
2230 { echo "$as_me:$LINENO: result: no" >&5
2231 echo "${ECHO_T}no" >&6; }
2236 if test -z "$ac_cv_prog_CC"; then
2238 # Extract the first word of "gcc", so it can be a program name with args.
2239 set dummy gcc
; ac_word
=$2
2240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2242 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2243 echo $ECHO_N "(cached) $ECHO_C" >&6
2245 if test -n "$ac_ct_CC"; then
2246 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2252 test -z "$as_dir" && as_dir
=.
2253 for ac_exec_ext
in '' $ac_executable_extensions; do
2254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2255 ac_cv_prog_ac_ct_CC
="gcc"
2256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2265 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2266 if test -n "$ac_ct_CC"; then
2267 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2268 echo "${ECHO_T}$ac_ct_CC" >&6; }
2270 { echo "$as_me:$LINENO: result: no" >&5
2271 echo "${ECHO_T}no" >&6; }
2274 if test "x$ac_ct_CC" = x
; then
2277 case $cross_compiling:$ac_tool_warned in
2279 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2280 whose name does not start with the host triplet. If you think this
2281 configuration is useful to you, please write to autoconf@gnu.org." >&5
2282 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2283 whose name does not start with the host triplet. If you think this
2284 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2285 ac_tool_warned
=yes ;;
2293 if test -z "$CC"; then
2294 if test -n "$ac_tool_prefix"; then
2295 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2296 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2299 if test "${ac_cv_prog_CC+set}" = set; then
2300 echo $ECHO_N "(cached) $ECHO_C" >&6
2302 if test -n "$CC"; then
2303 ac_cv_prog_CC
="$CC" # Let the user override the test.
2305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2309 test -z "$as_dir" && as_dir
=.
2310 for ac_exec_ext
in '' $ac_executable_extensions; do
2311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2312 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2323 if test -n "$CC"; then
2324 { echo "$as_me:$LINENO: result: $CC" >&5
2325 echo "${ECHO_T}$CC" >&6; }
2327 { echo "$as_me:$LINENO: result: no" >&5
2328 echo "${ECHO_T}no" >&6; }
2334 if test -z "$CC"; then
2335 # Extract the first word of "cc", so it can be a program name with args.
2336 set dummy cc
; ac_word
=$2
2337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2339 if test "${ac_cv_prog_CC+set}" = set; then
2340 echo $ECHO_N "(cached) $ECHO_C" >&6
2342 if test -n "$CC"; then
2343 ac_cv_prog_CC
="$CC" # Let the user override the test.
2346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2350 test -z "$as_dir" && as_dir
=.
2351 for ac_exec_ext
in '' $ac_executable_extensions; do
2352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2353 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2354 ac_prog_rejected
=yes
2358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2365 if test $ac_prog_rejected = yes; then
2366 # We found a bogon in the path, so make sure we never use it.
2367 set dummy
$ac_cv_prog_CC
2369 if test $# != 0; then
2370 # We chose a different compiler from the bogus one.
2371 # However, it has the same basename, so the bogon will be chosen
2372 # first if we set CC to just the basename; use the full file name.
2374 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2380 if test -n "$CC"; then
2381 { echo "$as_me:$LINENO: result: $CC" >&5
2382 echo "${ECHO_T}$CC" >&6; }
2384 { echo "$as_me:$LINENO: result: no" >&5
2385 echo "${ECHO_T}no" >&6; }
2390 if test -z "$CC"; then
2391 if test -n "$ac_tool_prefix"; then
2392 for ac_prog
in cl.exe
2394 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2395 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2398 if test "${ac_cv_prog_CC+set}" = set; then
2399 echo $ECHO_N "(cached) $ECHO_C" >&6
2401 if test -n "$CC"; then
2402 ac_cv_prog_CC
="$CC" # Let the user override the test.
2404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2408 test -z "$as_dir" && as_dir
=.
2409 for ac_exec_ext
in '' $ac_executable_extensions; do
2410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2411 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2422 if test -n "$CC"; then
2423 { echo "$as_me:$LINENO: result: $CC" >&5
2424 echo "${ECHO_T}$CC" >&6; }
2426 { echo "$as_me:$LINENO: result: no" >&5
2427 echo "${ECHO_T}no" >&6; }
2431 test -n "$CC" && break
2434 if test -z "$CC"; then
2436 for ac_prog
in cl.exe
2438 # Extract the first word of "$ac_prog", so it can be a program name with args.
2439 set dummy
$ac_prog; ac_word
=$2
2440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2442 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2443 echo $ECHO_N "(cached) $ECHO_C" >&6
2445 if test -n "$ac_ct_CC"; then
2446 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2452 test -z "$as_dir" && as_dir
=.
2453 for ac_exec_ext
in '' $ac_executable_extensions; do
2454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2455 ac_cv_prog_ac_ct_CC
="$ac_prog"
2456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2465 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2466 if test -n "$ac_ct_CC"; then
2467 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2468 echo "${ECHO_T}$ac_ct_CC" >&6; }
2470 { echo "$as_me:$LINENO: result: no" >&5
2471 echo "${ECHO_T}no" >&6; }
2475 test -n "$ac_ct_CC" && break
2478 if test "x$ac_ct_CC" = x
; then
2481 case $cross_compiling:$ac_tool_warned in
2483 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2484 whose name does not start with the host triplet. If you think this
2485 configuration is useful to you, please write to autoconf@gnu.org." >&5
2486 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2487 whose name does not start with the host triplet. If you think this
2488 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2489 ac_tool_warned
=yes ;;
2498 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2499 See \`config.log' for more details." >&5
2500 echo "$as_me: error: no acceptable C compiler found in \$PATH
2501 See \`config.log' for more details." >&2;}
2502 { (exit 1); exit 1; }; }
2504 # Provide some information about the compiler.
2505 echo "$as_me:$LINENO: checking for C compiler version" >&5
2506 ac_compiler
=`set X $ac_compile; echo $2`
2507 { (ac_try
="$ac_compiler --version >&5"
2509 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2510 *) ac_try_echo=$ac_try;;
2512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2513 (eval "$ac_compiler --version >&5") 2>&5
2515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516 (exit $ac_status); }
2517 { (ac_try="$ac_compiler -v >&5"
2519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2520 *) ac_try_echo
=$ac_try;;
2522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2523 (eval "$ac_compiler -v >&5") 2>&5
2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526 (exit $ac_status); }
2527 { (ac_try
="$ac_compiler -V >&5"
2529 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2530 *) ac_try_echo=$ac_try;;
2532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2533 (eval "$ac_compiler -V >&5") 2>&5
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536 (exit $ac_status); }
2538 cat >conftest.$ac_ext <<_ACEOF
2541 cat confdefs.h >>conftest.$ac_ext
2542 cat >>conftest.$ac_ext <<_ACEOF
2543 /* end confdefs.h. */
2553 ac_clean_files_save=$ac_clean_files
2554 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2555 # Try to create an executable without -o first, disregard a.out.
2556 # It will help us diagnose broken compilers, and finding out an intuition
2558 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2559 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2560 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2562 # List of possible output files, starting from the most likely.
2563 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2564 # only as a last resort. b.out is created by i960 compilers.
2565 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2567 # The IRIX 6 linker writes into existing files which may not be
2568 # executable, retaining their permissions. Remove them first so a
2569 # subsequent execution test works.
2571 for ac_file in $ac_files
2574 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2575 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2580 if { (ac_try="$ac_link_default"
2582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2583 *) ac_try_echo=$ac_try;;
2585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2586 (eval "$ac_link_default") 2>&5
2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); }; then
2590 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2591 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2592 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2593 # so that the user can short-circuit this test for compilers unknown to
2595 for ac_file
in $ac_files
2597 test -f "$ac_file" ||
continue
2599 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2602 # We found the default executable, but exeext='' is most
2606 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2608 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2610 # We set ac_cv_exeext here because the later test for it is not
2611 # safe: cross compilers may not add the suffix if given an `-o'
2612 # argument, so we may need to know it at that point already.
2613 # Even if this section looks crufty: it has the advantage of
2620 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2623 echo "$as_me: failed program was:" >&5
2624 sed 's/^/| /' conftest.
$ac_ext >&5
2626 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2627 See \`config.log' for more details." >&5
2628 echo "$as_me: error: C compiler cannot create executables
2629 See \`config.log' for more details." >&2;}
2630 { (exit 77); exit 77; }; }
2633 ac_exeext
=$ac_cv_exeext
2634 { echo "$as_me:$LINENO: result: $ac_file" >&5
2635 echo "${ECHO_T}$ac_file" >&6; }
2637 # Check that the compiler produces executables we can run. If not, either
2638 # the compiler is broken, or we cross compile.
2639 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2640 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2641 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2642 # If not cross compiling, check that we can run a simple program.
2643 if test "$cross_compiling" != yes; then
2644 if { ac_try
='./$ac_file'
2645 { (case "(($ac_try" in
2646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2647 *) ac_try_echo=$ac_try;;
2649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2650 (eval "$ac_try") 2>&5
2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653 (exit $ac_status); }; }; then
2656 if test "$cross_compiling" = maybe; then
2659 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2660 If you meant to cross compile, use \`--host'.
2661 See \`config.log' for more details.
" >&5
2662 echo "$as_me: error
: cannot run C compiled programs.
2663 If you meant to cross compile
, use \
`--host'.
2664 See \`config.log
' for more details." >&2;}
2665 { (exit 1); exit 1; }; }
2669 { echo "$as_me:$LINENO: result: yes" >&5
2670 echo "${ECHO_T}yes" >&6; }
2672 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2673 ac_clean_files=$ac_clean_files_save
2674 # Check that the compiler produces executables we can run. If not, either
2675 # the compiler is broken, or we cross compile.
2676 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2677 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2678 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2679 echo "${ECHO_T}$cross_compiling" >&6; }
2681 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2682 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2683 if { (ac_try="$ac_link"
2685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2686 *) ac_try_echo=$ac_try;;
2688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2689 (eval "$ac_link") 2>&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); }; then
2693 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2694 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2695 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2697 for ac_file
in conftest.exe conftest conftest.
*; do
2698 test -f "$ac_file" ||
continue
2700 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2701 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2707 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2708 See \`config.log' for more details." >&5
2709 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2710 See \`config.log' for more details." >&2;}
2711 { (exit 1); exit 1; }; }
2714 rm -f conftest
$ac_cv_exeext
2715 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2716 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2718 rm -f conftest.
$ac_ext
2719 EXEEXT
=$ac_cv_exeext
2721 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2722 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2723 if test "${ac_cv_objext+set}" = set; then
2724 echo $ECHO_N "(cached) $ECHO_C" >&6
2726 cat >conftest.
$ac_ext <<_ACEOF
2729 cat confdefs.h
>>conftest.
$ac_ext
2730 cat >>conftest.
$ac_ext <<_ACEOF
2731 /* end confdefs.h. */
2741 rm -f conftest.o conftest.obj
2742 if { (ac_try
="$ac_compile"
2744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2745 *) ac_try_echo=$ac_try;;
2747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2748 (eval "$ac_compile") 2>&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); }; then
2752 for ac_file in conftest.o conftest.obj conftest.*; do
2753 test -f "$ac_file" || continue;
2755 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2756 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2761 echo "$as_me: failed program was:" >&5
2762 sed 's/^/| /' conftest.$ac_ext >&5
2764 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2765 See \`config.log
' for more details." >&5
2766 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2767 See \`config.log' for more details.
" >&2;}
2768 { (exit 1); exit 1; }; }
2771 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2773 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2774 echo "${ECHO_T}$ac_cv_objext" >&6; }
2775 OBJEXT=$ac_cv_objext
2777 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2778 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2779 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2780 echo $ECHO_N "(cached
) $ECHO_C" >&6
2782 cat >conftest.$ac_ext <<_ACEOF
2785 cat confdefs.h >>conftest.$ac_ext
2786 cat >>conftest.$ac_ext <<_ACEOF
2787 /* end confdefs.h. */
2800 rm -f conftest.$ac_objext
2801 if { (ac_try="$ac_compile"
2803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2804 *) ac_try_echo=$ac_try;;
2806 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2807 (eval "$ac_compile") 2>conftest.er1
2809 grep -v '^ *+' conftest.er1 >conftest.err
2811 cat conftest.err >&5
2812 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2813 (exit $ac_status); } &&
2814 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2815 { (case "(($ac_try" in
2816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2817 *) ac_try_echo=$ac_try;;
2819 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2820 (eval "$ac_try") 2>&5
2822 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2823 (exit $ac_status); }; } &&
2824 { ac_try='test -s conftest.$ac_objext'
2825 { (case "(($ac_try" in
2826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2827 *) ac_try_echo=$ac_try;;
2829 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2830 (eval "$ac_try") 2>&5
2832 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2833 (exit $ac_status); }; }; then
2836 echo "$as_me: failed program was
:" >&5
2837 sed 's/^/| /' conftest.$ac_ext >&5
2842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2843 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2846 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2847 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2848 GCC=`test $ac_compiler_gnu = yes && echo yes`
2849 ac_test_CFLAGS=${CFLAGS+set}
2850 ac_save_CFLAGS=$CFLAGS
2851 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2852 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2853 if test "${ac_cv_prog_cc_g+set}" = set; then
2854 echo $ECHO_N "(cached
) $ECHO_C" >&6
2856 ac_save_c_werror_flag=$ac_c_werror_flag
2857 ac_c_werror_flag=yes
2860 cat >conftest.$ac_ext <<_ACEOF
2863 cat confdefs.h >>conftest.$ac_ext
2864 cat >>conftest.$ac_ext <<_ACEOF
2865 /* end confdefs.h. */
2875 rm -f conftest.$ac_objext
2876 if { (ac_try="$ac_compile"
2878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2879 *) ac_try_echo=$ac_try;;
2881 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2882 (eval "$ac_compile") 2>conftest.er1
2884 grep -v '^ *+' conftest.er1 >conftest.err
2886 cat conftest.err >&5
2887 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2888 (exit $ac_status); } &&
2889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2890 { (case "(($ac_try" in
2891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2892 *) ac_try_echo=$ac_try;;
2894 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2895 (eval "$ac_try") 2>&5
2897 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2898 (exit $ac_status); }; } &&
2899 { ac_try='test -s conftest.$ac_objext'
2900 { (case "(($ac_try" in
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2904 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2905 (eval "$ac_try") 2>&5
2907 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2908 (exit $ac_status); }; }; then
2911 echo "$as_me: failed program was
:" >&5
2912 sed 's/^/| /' conftest.$ac_ext >&5
2915 cat >conftest.$ac_ext <<_ACEOF
2918 cat confdefs.h >>conftest.$ac_ext
2919 cat >>conftest.$ac_ext <<_ACEOF
2920 /* end confdefs.h. */
2930 rm -f conftest.$ac_objext
2931 if { (ac_try="$ac_compile"
2933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2934 *) ac_try_echo=$ac_try;;
2936 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2937 (eval "$ac_compile") 2>conftest.er1
2939 grep -v '^ *+' conftest.er1 >conftest.err
2941 cat conftest.err >&5
2942 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2943 (exit $ac_status); } &&
2944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2945 { (case "(($ac_try" in
2946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2947 *) ac_try_echo=$ac_try;;
2949 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2950 (eval "$ac_try") 2>&5
2952 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2953 (exit $ac_status); }; } &&
2954 { ac_try='test -s conftest.$ac_objext'
2955 { (case "(($ac_try" in
2956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2957 *) ac_try_echo=$ac_try;;
2959 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2960 (eval "$ac_try") 2>&5
2962 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2963 (exit $ac_status); }; }; then
2966 echo "$as_me: failed program was
:" >&5
2967 sed 's/^/| /' conftest.$ac_ext >&5
2969 ac_c_werror_flag=$ac_save_c_werror_flag
2971 cat >conftest.$ac_ext <<_ACEOF
2974 cat confdefs.h >>conftest.$ac_ext
2975 cat >>conftest.$ac_ext <<_ACEOF
2976 /* end confdefs.h. */
2986 rm -f conftest.$ac_objext
2987 if { (ac_try="$ac_compile"
2989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2990 *) ac_try_echo=$ac_try;;
2992 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2993 (eval "$ac_compile") 2>conftest.er1
2995 grep -v '^ *+' conftest.er1 >conftest.err
2997 cat conftest.err >&5
2998 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2999 (exit $ac_status); } &&
3000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3001 { (case "(($ac_try" in
3002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3003 *) ac_try_echo=$ac_try;;
3005 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3006 (eval "$ac_try") 2>&5
3008 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3009 (exit $ac_status); }; } &&
3010 { ac_try='test -s conftest.$ac_objext'
3011 { (case "(($ac_try" in
3012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3013 *) ac_try_echo=$ac_try;;
3015 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3016 (eval "$ac_try") 2>&5
3018 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3019 (exit $ac_status); }; }; then
3022 echo "$as_me: failed program was
:" >&5
3023 sed 's/^/| /' conftest.$ac_ext >&5
3028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3035 ac_c_werror_flag=$ac_save_c_werror_flag
3037 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3038 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3039 if test "$ac_test_CFLAGS" = set; then
3040 CFLAGS=$ac_save_CFLAGS
3041 elif test $ac_cv_prog_cc_g = yes; then
3042 if test "$GCC" = yes; then
3048 if test "$GCC" = yes; then
3054 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3055 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3056 if test "${ac_cv_prog_cc_c89+set}" = set; then
3057 echo $ECHO_N "(cached
) $ECHO_C" >&6
3059 ac_cv_prog_cc_c89=no
3061 cat >conftest.$ac_ext <<_ACEOF
3064 cat confdefs.h >>conftest.$ac_ext
3065 cat >>conftest.$ac_ext <<_ACEOF
3066 /* end confdefs.h. */
3069 #include <sys/types.h>
3070 #include <sys/stat.h>
3071 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3072 struct buf { int x; };
3073 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3074 static char *e (p, i)
3080 static char *f (char * (*g) (char **, int), char **p, ...)
3085 s = g (p, va_arg (v,int));
3090 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3091 function prototypes and stuff, but not '\xHH' hex character constants.
3092 These don't provoke an error unfortunately, instead are silently treated
3093 as 'x'. The following induces an error, until -std is added to get
3094 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3095 array size at least. It's necessary to write '\x00'==0 to get something
3096 that's true only with -std. */
3097 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3099 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3100 inside strings and character constants. */
3102 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3104 int test (int i, double x);
3105 struct s1 {int (*f) (int a);};
3106 struct s2 {int (*f) (double a);};
3107 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3113 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3118 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3119 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3121 CC="$ac_save_CC $ac_arg"
3122 rm -f conftest.$ac_objext
3123 if { (ac_try="$ac_compile"
3125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3126 *) ac_try_echo=$ac_try;;
3128 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3129 (eval "$ac_compile") 2>conftest.er1
3131 grep -v '^ *+' conftest.er1 >conftest.err
3133 cat conftest.err >&5
3134 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3135 (exit $ac_status); } &&
3136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3137 { (case "(($ac_try" in
3138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139 *) ac_try_echo=$ac_try;;
3141 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3142 (eval "$ac_try") 2>&5
3144 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3145 (exit $ac_status); }; } &&
3146 { ac_try='test -s conftest.$ac_objext'
3147 { (case "(($ac_try" in
3148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3149 *) ac_try_echo=$ac_try;;
3151 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3152 (eval "$ac_try") 2>&5
3154 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3155 (exit $ac_status); }; }; then
3156 ac_cv_prog_cc_c89=$ac_arg
3158 echo "$as_me: failed program was
:" >&5
3159 sed 's/^/| /' conftest.$ac_ext >&5
3164 rm -f core conftest.err conftest.$ac_objext
3165 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3167 rm -f conftest.$ac_ext
3172 case "x
$ac_cv_prog_cc_c89" in
3174 { echo "$as_me:$LINENO: result
: none needed
" >&5
3175 echo "${ECHO_T}none needed
" >&6; } ;;
3177 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3178 echo "${ECHO_T}unsupported
" >&6; } ;;
3180 CC="$CC $ac_cv_prog_cc_c89"
3181 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3182 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3187 ac_cpp='$CPP $CPPFLAGS'
3188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3191 DEPDIR="${am__leading_dot}deps
"
3193 ac_config_commands="$ac_config_commands depfiles
"
3196 am_make=${MAKE-make}
3197 cat > confinc << 'END'
3202 # If we don't find an include directive, just comment out the code.
3203 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3204 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3208 # First try GNU make style include.
3209 echo "include confinc" > confmf
3210 # We grep out `Entering directory' and `Leaving directory'
3211 # messages which can occur if `w' ends up in MAKEFLAGS.
3212 # In particular we don't look at `^make:' because GNU make might
3213 # be invoked under some other name (usually "gmake"), in which
3214 # case it prints its new name instead of `make'.
3215 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3220 # Now try BSD make style include.
3221 if test "$am__include" = "#"; then
3222 echo '.include "confinc"' > confmf
3223 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3224 am__include
=.include
3231 { echo "$as_me:$LINENO: result: $_am_result" >&5
3232 echo "${ECHO_T}$_am_result" >&6; }
3233 rm -f confinc confmf
3235 # Check whether --enable-dependency-tracking was given.
3236 if test "${enable_dependency_tracking+set}" = set; then
3237 enableval
=$enable_dependency_tracking;
3240 if test "x$enable_dependency_tracking" != xno
; then
3241 am_depcomp
="$ac_aux_dir/depcomp"
3246 if test "x$enable_dependency_tracking" != xno; then
3257 depcc
="$CC" am_compiler_list
=
3259 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3260 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3261 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3262 echo $ECHO_N "(cached) $ECHO_C" >&6
3264 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3265 # We make a subdir and do the tests there. Otherwise we can end up
3266 # making bogus files that we don't know about and never remove. For
3267 # instance it was reported that on HP-UX the gcc test will end up
3268 # making a dummy file named `D' -- because `-MD' means `put the output
3271 # Copy depcomp to subdir because otherwise we won't find it if we're
3272 # using a relative directory.
3273 cp "$am_depcomp" conftest.dir
3275 # We will build objects and dependencies in a subdirectory because
3276 # it helps to detect inapplicable dependency modes. For instance
3277 # both Tru64's cc and ICC support -MD to output dependencies as a
3278 # side effect of compilation, but ICC will put the dependencies in
3279 # the current directory while Tru64 will put them in the object
3283 am_cv_CC_dependencies_compiler_type
=none
3284 if test "$am_compiler_list" = ""; then
3285 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3287 for depmode
in $am_compiler_list; do
3288 # Setup a source with many dependencies, because some compilers
3289 # like to wrap large dependency lists on column 80 (with \), and
3290 # we should not choose a depcomp mode which is confused by this.
3292 # We need to recreate these files for each test, as the compiler may
3293 # overwrite some of them when testing with obscure command lines.
3294 # This happens at least with the AIX C compiler.
3296 for i
in 1 2 3 4 5 6; do
3297 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3298 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3299 # Solaris 8's {/usr,}/bin/sh.
3300 touch sub
/conftst
$i.h
3302 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3306 # after this tag, mechanisms are not by side-effect, so they'll
3307 # only be used when explicitly requested
3308 if test "x$enable_dependency_tracking" = xyes
; then
3316 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3317 # mode. It turns out that the SunPro C++ compiler does not properly
3318 # handle `-M -o', and we need to detect this.
3319 if depmode
=$depmode \
3320 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3321 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3322 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3323 >/dev
/null
2>conftest.err
&&
3324 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3325 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3326 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3327 # icc doesn't choke on unknown options, it will just issue warnings
3328 # or remarks (even with -Werror). So we grep stderr for any message
3329 # that says an option was ignored or not supported.
3330 # When given -MP, icc 7.0 and 7.1 complain thusly:
3331 # icc: Command line warning: ignoring option '-M'; no argument required
3332 # The diagnosis changed in icc 8.0:
3333 # icc: Command line remark: option '-MP' not supported
3334 if (grep 'ignoring option' conftest.err ||
3335 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3336 am_cv_CC_dependencies_compiler_type
=$depmode
3345 am_cv_CC_dependencies_compiler_type
=none
3349 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3350 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3351 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3356 test "x$enable_dependency_tracking" != xno \
3357 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3359 am__fastdepCC_FALSE
='#'
3361 am__fastdepCC_TRUE
='#'
3362 am__fastdepCC_FALSE
=
3366 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3367 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3368 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3369 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3370 echo $ECHO_N "(cached) $ECHO_C" >&6
3372 cat >conftest.
make <<\_ACEOF
3375 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3377 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3378 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3380 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3382 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3386 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3387 { echo "$as_me:$LINENO: result: yes" >&5
3388 echo "${ECHO_T}yes" >&6; }
3391 { echo "$as_me:$LINENO: result: no" >&5
3392 echo "${ECHO_T}no" >&6; }
3393 SET_MAKE
="MAKE=${MAKE-make}"
3396 # Extract the first word of "perl", so it can be a program name with args.
3397 set dummy perl
; ac_word
=$2
3398 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3400 if test "${ac_cv_path_PERL+set}" = set; then
3401 echo $ECHO_N "(cached) $ECHO_C" >&6
3405 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
3408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3412 test -z "$as_dir" && as_dir
=.
3413 for ac_exec_ext
in '' $ac_executable_extensions; do
3414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3415 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
3416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3426 PERL
=$ac_cv_path_PERL
3427 if test -n "$PERL"; then
3428 { echo "$as_me:$LINENO: result: $PERL" >&5
3429 echo "${ECHO_T}$PERL" >&6; }
3431 { echo "$as_me:$LINENO: result: no" >&5
3432 echo "${ECHO_T}no" >&6; }
3437 # Checks for host-system types
3438 # Make sure we can run config.sub.
3439 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3440 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3441 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3442 { (exit 1); exit 1; }; }
3444 { echo "$as_me:$LINENO: checking build system type" >&5
3445 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3446 if test "${ac_cv_build+set}" = set; then
3447 echo $ECHO_N "(cached) $ECHO_C" >&6
3449 ac_build_alias
=$build_alias
3450 test "x$ac_build_alias" = x
&&
3451 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3452 test "x$ac_build_alias" = x
&&
3453 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3454 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3455 { (exit 1); exit 1; }; }
3456 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3457 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3458 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3459 { (exit 1); exit 1; }; }
3462 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3463 echo "${ECHO_T}$ac_cv_build" >&6; }
3464 case $ac_cv_build in
3466 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3467 echo "$as_me: error: invalid value of canonical build" >&2;}
3468 { (exit 1); exit 1; }; };;
3471 ac_save_IFS
=$IFS; IFS
='-'
3477 # Remember, the first character of IFS is used to create $*,
3478 # except with old shells:
3481 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3484 { echo "$as_me:$LINENO: checking host system type" >&5
3485 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3486 if test "${ac_cv_host+set}" = set; then
3487 echo $ECHO_N "(cached) $ECHO_C" >&6
3489 if test "x$host_alias" = x
; then
3490 ac_cv_host
=$ac_cv_build
3492 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3493 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3494 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3495 { (exit 1); exit 1; }; }
3499 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3500 echo "${ECHO_T}$ac_cv_host" >&6; }
3503 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3504 echo "$as_me: error: invalid value of canonical host" >&2;}
3505 { (exit 1); exit 1; }; };;
3508 ac_save_IFS
=$IFS; IFS
='-'
3514 # Remember, the first character of IFS is used to create $*,
3515 # except with old shells:
3518 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3524 cat >>confdefs.h
<<\_ACEOF
3525 #define __DARWIN__ 1
3529 cat >>confdefs.h
<<\_ACEOF
3530 #define _BSD_SOCKLEN_T_
3536 cat >>confdefs.h
<<\_ACEOF
3537 #define __FREEBSD__ 1
3543 cat >>confdefs.h
<<\_ACEOF
3550 cat >>confdefs.h
<<\_ACEOF
3551 #define __SOLARIS__ 1
3558 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3559 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
3560 if test "${ac_cv_c_const+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3563 cat >conftest.
$ac_ext <<_ACEOF
3566 cat confdefs.h
>>conftest.
$ac_ext
3567 cat >>conftest.
$ac_ext <<_ACEOF
3568 /* end confdefs.h. */
3573 /* FIXME: Include the comments suggested by Paul. */
3575 /* Ultrix mips cc rejects this. */
3576 typedef int charset[2];
3578 /* SunOS 4.1.1 cc rejects this. */
3579 char const *const *ccp;
3581 /* NEC SVR4.0.2 mips cc rejects this. */
3582 struct point {int x, y;};
3583 static struct point const zero = {0,0};
3584 /* AIX XL C 1.02.0.0 rejects this.
3585 It does not let you subtract one const X* pointer from another in
3586 an arm of an if-expression whose if-part is not a constant
3588 const char *g = "string";
3589 ccp = &g + (g ? g-g : 0);
3590 /* HPUX 7.0 cc rejects these. */
3593 ccp = (char const *const *) p;
3594 { /* SCO 3.2v4 cc rejects this. */
3596 char const *s = 0 ? (char *) 0 : (char const *) 0;
3601 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3603 const int *foo = &x[0];
3606 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3607 typedef const int *iptr;
3611 { /* AIX XL C 1.02.0.0 rejects this saying
3612 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3613 struct s { int j; const int *ap[3]; };
3614 struct s *b; b->j = 5;
3616 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3620 return !x[0] && !zero.x;
3627 rm -f conftest.
$ac_objext
3628 if { (ac_try
="$ac_compile"
3630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3631 *) ac_try_echo=$ac_try;;
3633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3634 (eval "$ac_compile") 2>conftest.er1
3636 grep -v '^ *+' conftest.er1 >conftest.err
3638 cat conftest.err >&5
3639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640 (exit $ac_status); } &&
3641 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3642 { (case "(($ac_try" in
3643 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3644 *) ac_try_echo
=$ac_try;;
3646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3647 (eval "$ac_try") 2>&5
3649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650 (exit $ac_status); }; } &&
3651 { ac_try
='test -s conftest.$ac_objext'
3652 { (case "(($ac_try" in
3653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3654 *) ac_try_echo=$ac_try;;
3656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3657 (eval "$ac_try") 2>&5
3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); }; }; then
3663 echo "$as_me: failed program was:" >&5
3664 sed 's/^/| /' conftest.$ac_ext >&5
3669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3671 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3672 echo "${ECHO_T}$ac_cv_c_const" >&6; }
3673 if test $ac_cv_c_const = no; then
3675 cat >>confdefs.h <<\_ACEOF
3681 { echo "$as_me:$LINENO: checking for inline" >&5
3682 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
3683 if test "${ac_cv_c_inline+set}" = set; then
3684 echo $ECHO_N "(cached) $ECHO_C" >&6
3687 for ac_kw in inline __inline__ __inline; do
3688 cat >conftest.$ac_ext <<_ACEOF
3691 cat confdefs.h >>conftest.$ac_ext
3692 cat >>conftest.$ac_ext <<_ACEOF
3693 /* end confdefs.h. */
3696 static $ac_kw foo_t static_foo () {return 0; }
3697 $ac_kw foo_t foo () {return 0; }
3701 rm -f conftest.$ac_objext
3702 if { (ac_try="$ac_compile"
3704 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3705 *) ac_try_echo
=$ac_try;;
3707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3708 (eval "$ac_compile") 2>conftest.er1
3710 grep -v '^ *+' conftest.er1
>conftest.err
3712 cat conftest.err
>&5
3713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3714 (exit $ac_status); } &&
3715 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3716 { (case "(($ac_try" in
3717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3718 *) ac_try_echo=$ac_try;;
3720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3721 (eval "$ac_try") 2>&5
3723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724 (exit $ac_status); }; } &&
3725 { ac_try='test -s conftest.$ac_objext'
3726 { (case "(($ac_try" in
3727 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3728 *) ac_try_echo
=$ac_try;;
3730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3731 (eval "$ac_try") 2>&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); }; }; then
3735 ac_cv_c_inline
=$ac_kw
3737 echo "$as_me: failed program was:" >&5
3738 sed 's/^/| /' conftest.
$ac_ext >&5
3743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3744 test "$ac_cv_c_inline" != no
&& break
3748 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3749 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
3752 case $ac_cv_c_inline in
3755 case $ac_cv_c_inline in
3757 *) ac_val
=$ac_cv_c_inline;;
3759 cat >>confdefs.h
<<_ACEOF
3761 #define inline $ac_val
3769 ac_cpp
='$CPP $CPPFLAGS'
3770 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3771 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3772 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3773 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3774 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3775 # On Suns, sometimes $CPP names a directory.
3776 if test -n "$CPP" && test -d "$CPP"; then
3779 if test -z "$CPP"; then
3780 if test "${ac_cv_prog_CPP+set}" = set; then
3781 echo $ECHO_N "(cached) $ECHO_C" >&6
3783 # Double quotes because CPP needs to be expanded
3784 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3787 for ac_c_preproc_warn_flag
in '' yes
3789 # Use a header file that comes with gcc, so configuring glibc
3790 # with a fresh cross-compiler works.
3791 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3792 # <limits.h> exists even on freestanding compilers.
3793 # On the NeXT, cc -E runs the code through the compiler's parser,
3794 # not just through cpp. "Syntax error" is here to catch this case.
3795 cat >conftest.
$ac_ext <<_ACEOF
3798 cat confdefs.h
>>conftest.
$ac_ext
3799 cat >>conftest.
$ac_ext <<_ACEOF
3800 /* end confdefs.h. */
3802 # include <limits.h>
3804 # include <assert.h>
3808 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3810 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3811 *) ac_try_echo=$ac_try;;
3813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3814 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3816 grep -v '^ *+' conftest.er1 >conftest.err
3818 cat conftest.err >&5
3819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820 (exit $ac_status); } >/dev/null; then
3821 if test -s conftest.err; then
3822 ac_cpp_err=$ac_c_preproc_warn_flag
3823 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3830 if test -z "$ac_cpp_err"; then
3833 echo "$as_me: failed program was:" >&5
3834 sed 's/^/| /' conftest.$ac_ext >&5
3836 # Broken: fails on valid input.
3840 rm -f conftest.err conftest.$ac_ext
3842 # OK, works on sane cases. Now check whether nonexistent headers
3843 # can be detected and how.
3844 cat >conftest.$ac_ext <<_ACEOF
3847 cat confdefs.h >>conftest.$ac_ext
3848 cat >>conftest.$ac_ext <<_ACEOF
3849 /* end confdefs.h. */
3850 #include <ac_nonexistent.h>
3852 if { (ac_try="$ac_cpp conftest.$ac_ext"
3854 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3855 *) ac_try_echo
=$ac_try;;
3857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3858 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3860 grep -v '^ *+' conftest.er1
>conftest.err
3862 cat conftest.err
>&5
3863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864 (exit $ac_status); } >/dev
/null
; then
3865 if test -s conftest.err
; then
3866 ac_cpp_err
=$ac_c_preproc_warn_flag
3867 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3874 if test -z "$ac_cpp_err"; then
3875 # Broken: success on invalid input.
3878 echo "$as_me: failed program was:" >&5
3879 sed 's/^/| /' conftest.
$ac_ext >&5
3881 # Passes both tests.
3886 rm -f conftest.err conftest.
$ac_ext
3889 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3890 rm -f conftest.err conftest.
$ac_ext
3891 if $ac_preproc_ok; then
3903 { echo "$as_me:$LINENO: result: $CPP" >&5
3904 echo "${ECHO_T}$CPP" >&6; }
3906 for ac_c_preproc_warn_flag
in '' yes
3908 # Use a header file that comes with gcc, so configuring glibc
3909 # with a fresh cross-compiler works.
3910 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3911 # <limits.h> exists even on freestanding compilers.
3912 # On the NeXT, cc -E runs the code through the compiler's parser,
3913 # not just through cpp. "Syntax error" is here to catch this case.
3914 cat >conftest.
$ac_ext <<_ACEOF
3917 cat confdefs.h
>>conftest.
$ac_ext
3918 cat >>conftest.
$ac_ext <<_ACEOF
3919 /* end confdefs.h. */
3921 # include <limits.h>
3923 # include <assert.h>
3927 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3930 *) ac_try_echo=$ac_try;;
3932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3933 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3935 grep -v '^ *+' conftest.er1 >conftest.err
3937 cat conftest.err >&5
3938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3939 (exit $ac_status); } >/dev/null; then
3940 if test -s conftest.err; then
3941 ac_cpp_err=$ac_c_preproc_warn_flag
3942 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3949 if test -z "$ac_cpp_err"; then
3952 echo "$as_me: failed program was:" >&5
3953 sed 's/^/| /' conftest.$ac_ext >&5
3955 # Broken: fails on valid input.
3959 rm -f conftest.err conftest.$ac_ext
3961 # OK, works on sane cases. Now check whether nonexistent headers
3962 # can be detected and how.
3963 cat >conftest.$ac_ext <<_ACEOF
3966 cat confdefs.h >>conftest.$ac_ext
3967 cat >>conftest.$ac_ext <<_ACEOF
3968 /* end confdefs.h. */
3969 #include <ac_nonexistent.h>
3971 if { (ac_try="$ac_cpp conftest.$ac_ext"
3973 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3974 *) ac_try_echo
=$ac_try;;
3976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3977 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3979 grep -v '^ *+' conftest.er1
>conftest.err
3981 cat conftest.err
>&5
3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983 (exit $ac_status); } >/dev
/null
; then
3984 if test -s conftest.err
; then
3985 ac_cpp_err
=$ac_c_preproc_warn_flag
3986 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3993 if test -z "$ac_cpp_err"; then
3994 # Broken: success on invalid input.
3997 echo "$as_me: failed program was:" >&5
3998 sed 's/^/| /' conftest.
$ac_ext >&5
4000 # Passes both tests.
4005 rm -f conftest.err conftest.
$ac_ext
4008 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4009 rm -f conftest.err conftest.
$ac_ext
4010 if $ac_preproc_ok; then
4013 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4014 See \`config.log' for more details." >&5
4015 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4016 See \`config.log' for more details." >&2;}
4017 { (exit 1); exit 1; }; }
4021 ac_cpp
='$CPP $CPPFLAGS'
4022 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4023 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4024 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4027 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4028 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4029 if test "${ac_cv_path_GREP+set}" = set; then
4030 echo $ECHO_N "(cached) $ECHO_C" >&6
4032 # Extract the first word of "grep ggrep" to use in msg output
4033 if test -z "$GREP"; then
4034 set dummy
grep ggrep
; ac_prog_name
=$2
4035 if test "${ac_cv_path_GREP+set}" = set; then
4036 echo $ECHO_N "(cached) $ECHO_C" >&6
4038 ac_path_GREP_found
=false
4039 # Loop through the user's path and test for each of PROGNAME-LIST
4040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4041 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4044 test -z "$as_dir" && as_dir
=.
4045 for ac_prog
in grep ggrep
; do
4046 for ac_exec_ext
in '' $ac_executable_extensions; do
4047 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4048 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
4049 # Check for GNU ac_path_GREP and select it if it is found.
4050 # Check for GNU $ac_path_GREP
4051 case `"$ac_path_GREP" --version 2>&1` in
4053 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4056 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4059 cat "conftest.in" "conftest.in" >"conftest.tmp"
4060 mv "conftest.tmp" "conftest.in"
4061 cp "conftest.in" "conftest.nl"
4062 echo 'GREP' >> "conftest.nl"
4063 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4064 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4065 ac_count
=`expr $ac_count + 1`
4066 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4067 # Best one so far, save it but keep looking for a better one
4068 ac_cv_path_GREP
="$ac_path_GREP"
4069 ac_path_GREP_max
=$ac_count
4071 # 10*(2^10) chars as input seems more than enough
4072 test $ac_count -gt 10 && break
4074 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4078 $ac_path_GREP_found && break 3
4088 GREP
="$ac_cv_path_GREP"
4089 if test -z "$GREP"; then
4090 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4091 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4092 { (exit 1); exit 1; }; }
4096 ac_cv_path_GREP
=$GREP
4101 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4102 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4103 GREP
="$ac_cv_path_GREP"
4106 { echo "$as_me:$LINENO: checking for egrep" >&5
4107 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4108 if test "${ac_cv_path_EGREP+set}" = set; then
4109 echo $ECHO_N "(cached) $ECHO_C" >&6
4111 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4112 then ac_cv_path_EGREP
="$GREP -E"
4114 # Extract the first word of "egrep" to use in msg output
4115 if test -z "$EGREP"; then
4116 set dummy
egrep; ac_prog_name
=$2
4117 if test "${ac_cv_path_EGREP+set}" = set; then
4118 echo $ECHO_N "(cached) $ECHO_C" >&6
4120 ac_path_EGREP_found
=false
4121 # Loop through the user's path and test for each of PROGNAME-LIST
4122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4123 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4126 test -z "$as_dir" && as_dir
=.
4127 for ac_prog
in egrep; do
4128 for ac_exec_ext
in '' $ac_executable_extensions; do
4129 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4130 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
4131 # Check for GNU ac_path_EGREP and select it if it is found.
4132 # Check for GNU $ac_path_EGREP
4133 case `"$ac_path_EGREP" --version 2>&1` in
4135 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4138 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4141 cat "conftest.in" "conftest.in" >"conftest.tmp"
4142 mv "conftest.tmp" "conftest.in"
4143 cp "conftest.in" "conftest.nl"
4144 echo 'EGREP' >> "conftest.nl"
4145 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4146 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4147 ac_count
=`expr $ac_count + 1`
4148 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4149 # Best one so far, save it but keep looking for a better one
4150 ac_cv_path_EGREP
="$ac_path_EGREP"
4151 ac_path_EGREP_max
=$ac_count
4153 # 10*(2^10) chars as input seems more than enough
4154 test $ac_count -gt 10 && break
4156 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4160 $ac_path_EGREP_found && break 3
4170 EGREP
="$ac_cv_path_EGREP"
4171 if test -z "$EGREP"; then
4172 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4173 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4174 { (exit 1); exit 1; }; }
4178 ac_cv_path_EGREP
=$EGREP
4184 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4185 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4186 EGREP
="$ac_cv_path_EGREP"
4189 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4190 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4191 if test "${ac_cv_header_stdc+set}" = set; then
4192 echo $ECHO_N "(cached) $ECHO_C" >&6
4194 cat >conftest.
$ac_ext <<_ACEOF
4197 cat confdefs.h
>>conftest.
$ac_ext
4198 cat >>conftest.
$ac_ext <<_ACEOF
4199 /* end confdefs.h. */
4213 rm -f conftest.
$ac_objext
4214 if { (ac_try
="$ac_compile"
4216 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4217 *) ac_try_echo=$ac_try;;
4219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4220 (eval "$ac_compile") 2>conftest.er1
4222 grep -v '^ *+' conftest.er1 >conftest.err
4224 cat conftest.err >&5
4225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4226 (exit $ac_status); } &&
4227 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4228 { (case "(($ac_try" in
4229 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4230 *) ac_try_echo
=$ac_try;;
4232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4233 (eval "$ac_try") 2>&5
4235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236 (exit $ac_status); }; } &&
4237 { ac_try
='test -s conftest.$ac_objext'
4238 { (case "(($ac_try" in
4239 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4240 *) ac_try_echo=$ac_try;;
4242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4243 (eval "$ac_try") 2>&5
4245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4246 (exit $ac_status); }; }; then
4247 ac_cv_header_stdc=yes
4249 echo "$as_me: failed program was:" >&5
4250 sed 's/^/| /' conftest.$ac_ext >&5
4252 ac_cv_header_stdc=no
4255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4257 if test $ac_cv_header_stdc = yes; then
4258 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4259 cat >conftest.$ac_ext <<_ACEOF
4262 cat confdefs.h >>conftest.$ac_ext
4263 cat >>conftest.$ac_ext <<_ACEOF
4264 /* end confdefs.h. */
4268 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4269 $EGREP "memchr" >/dev/null 2>&1; then
4272 ac_cv_header_stdc=no
4278 if test $ac_cv_header_stdc = yes; then
4279 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4280 cat >conftest.$ac_ext <<_ACEOF
4283 cat confdefs.h >>conftest.$ac_ext
4284 cat >>conftest.$ac_ext <<_ACEOF
4285 /* end confdefs.h. */
4289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4290 $EGREP "free" >/dev/null 2>&1; then
4293 ac_cv_header_stdc=no
4299 if test $ac_cv_header_stdc = yes; then
4300 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4301 if test "$cross_compiling" = yes; then
4304 cat >conftest.$ac_ext <<_ACEOF
4307 cat confdefs.h >>conftest.$ac_ext
4308 cat >>conftest.$ac_ext <<_ACEOF
4309 /* end confdefs.h. */
4312 #if ((' ' & 0x0FF) == 0x020)
4313 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4314 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4316 # define ISLOWER(c) \
4317 (('a' <= (c) && (c) <= 'i') \
4318 || ('j' <= (c) && (c) <= 'r') \
4319 || ('s' <= (c) && (c) <= 'z'))
4320 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4323 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4328 for (i = 0; i < 256; i++)
4329 if (XOR (islower (i), ISLOWER (i))
4330 || toupper (i) != TOUPPER (i))
4335 rm -f conftest$ac_exeext
4336 if { (ac_try="$ac_link"
4338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4339 *) ac_try_echo
=$ac_try;;
4341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4342 (eval "$ac_link") 2>&5
4344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4345 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4346 { (case "(($ac_try" in
4347 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4348 *) ac_try_echo=$ac_try;;
4350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4351 (eval "$ac_try") 2>&5
4353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4354 (exit $ac_status); }; }; then
4357 echo "$as_me: program exited with status $ac_status" >&5
4358 echo "$as_me: failed program was:" >&5
4359 sed 's/^/| /' conftest.$ac_ext >&5
4362 ac_cv_header_stdc=no
4364 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4370 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4371 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4372 if test $ac_cv_header_stdc = yes; then
4374 cat >>confdefs.h <<\_ACEOF
4375 #define STDC_HEADERS 1
4380 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4390 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4391 inttypes.h stdint.h unistd.h
4393 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4394 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4396 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4397 echo $ECHO_N "(cached) $ECHO_C" >&6
4399 cat >conftest.$ac_ext <<_ACEOF
4402 cat confdefs.h >>conftest.$ac_ext
4403 cat >>conftest.$ac_ext <<_ACEOF
4404 /* end confdefs.h. */
4405 $ac_includes_default
4407 #include <$ac_header>
4409 rm -f conftest.$ac_objext
4410 if { (ac_try="$ac_compile"
4412 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4413 *) ac_try_echo
=$ac_try;;
4415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4416 (eval "$ac_compile") 2>conftest.er1
4418 grep -v '^ *+' conftest.er1
>conftest.err
4420 cat conftest.err
>&5
4421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422 (exit $ac_status); } &&
4423 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4424 { (case "(($ac_try" in
4425 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4426 *) ac_try_echo=$ac_try;;
4428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4429 (eval "$ac_try") 2>&5
4431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4432 (exit $ac_status); }; } &&
4433 { ac_try='test -s conftest.$ac_objext'
4434 { (case "(($ac_try" in
4435 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4436 *) ac_try_echo
=$ac_try;;
4438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4439 (eval "$ac_try") 2>&5
4441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442 (exit $ac_status); }; }; then
4443 eval "$as_ac_Header=yes"
4445 echo "$as_me: failed program was:" >&5
4446 sed 's/^/| /' conftest.
$ac_ext >&5
4448 eval "$as_ac_Header=no"
4451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4453 ac_res
=`eval echo '${'$as_ac_Header'}'`
4454 { echo "$as_me:$LINENO: result: $ac_res" >&5
4455 echo "${ECHO_T}$ac_res" >&6; }
4456 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4457 cat >>confdefs.h
<<_ACEOF
4458 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4466 { echo "$as_me:$LINENO: checking for error_at_line" >&5
4467 echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6; }
4468 if test "${ac_cv_lib_error_at_line+set}" = set; then
4469 echo $ECHO_N "(cached) $ECHO_C" >&6
4471 cat >conftest.
$ac_ext <<_ACEOF
4474 cat confdefs.h
>>conftest.
$ac_ext
4475 cat >>conftest.
$ac_ext <<_ACEOF
4476 /* end confdefs.h. */
4477 $ac_includes_default
4481 error_at_line (0, 0, "", 0, "");
4486 rm -f conftest.
$ac_objext conftest
$ac_exeext
4487 if { (ac_try
="$ac_link"
4489 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4490 *) ac_try_echo=$ac_try;;
4492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4493 (eval "$ac_link") 2>conftest.er1
4495 grep -v '^ *+' conftest.er1 >conftest.err
4497 cat conftest.err >&5
4498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4499 (exit $ac_status); } &&
4500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4501 { (case "(($ac_try" in
4502 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4503 *) ac_try_echo
=$ac_try;;
4505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4506 (eval "$ac_try") 2>&5
4508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509 (exit $ac_status); }; } &&
4510 { ac_try
='test -s conftest$ac_exeext'
4511 { (case "(($ac_try" in
4512 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4513 *) ac_try_echo=$ac_try;;
4515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4516 (eval "$ac_try") 2>&5
4518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519 (exit $ac_status); }; }; then
4520 ac_cv_lib_error_at_line=yes
4522 echo "$as_me: failed program was:" >&5
4523 sed 's/^/| /' conftest.$ac_ext >&5
4525 ac_cv_lib_error_at_line=no
4528 rm -f core conftest.err conftest.$ac_objext \
4529 conftest$ac_exeext conftest.$ac_ext
4531 { echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5
4532 echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6; }
4533 if test $ac_cv_lib_error_at_line = no; then
4534 case " $LIBOBJS " in
4535 *" error.$ac_objext "* ) ;;
4536 *) LIBOBJS="$LIBOBJS error.$ac_objext"
4542 { echo "$as_me:$LINENO: checking for pid_t" >&5
4543 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
4544 if test "${ac_cv_type_pid_t+set}" = set; then
4545 echo $ECHO_N "(cached) $ECHO_C" >&6
4547 cat >conftest.$ac_ext <<_ACEOF
4550 cat confdefs.h >>conftest.$ac_ext
4551 cat >>conftest.$ac_ext <<_ACEOF
4552 /* end confdefs.h. */
4553 $ac_includes_default
4554 typedef pid_t ac__type_new_;
4558 if ((ac__type_new_ *) 0)
4560 if (sizeof (ac__type_new_))
4566 rm -f conftest.$ac_objext
4567 if { (ac_try="$ac_compile"
4569 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4570 *) ac_try_echo
=$ac_try;;
4572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4573 (eval "$ac_compile") 2>conftest.er1
4575 grep -v '^ *+' conftest.er1
>conftest.err
4577 cat conftest.err
>&5
4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); } &&
4580 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4581 { (case "(($ac_try" in
4582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4583 *) ac_try_echo=$ac_try;;
4585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4586 (eval "$ac_try") 2>&5
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); }; } &&
4590 { ac_try='test -s conftest.$ac_objext'
4591 { (case "(($ac_try" in
4592 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4593 *) ac_try_echo
=$ac_try;;
4595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4596 (eval "$ac_try") 2>&5
4598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599 (exit $ac_status); }; }; then
4600 ac_cv_type_pid_t
=yes
4602 echo "$as_me: failed program was:" >&5
4603 sed 's/^/| /' conftest.
$ac_ext >&5
4608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4610 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
4611 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
4612 if test $ac_cv_type_pid_t = yes; then
4616 cat >>confdefs.h
<<_ACEOF
4623 for ac_header
in vfork.h
4625 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4626 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4627 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4629 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4630 echo $ECHO_N "(cached) $ECHO_C" >&6
4632 ac_res
=`eval echo '${'$as_ac_Header'}'`
4633 { echo "$as_me:$LINENO: result: $ac_res" >&5
4634 echo "${ECHO_T}$ac_res" >&6; }
4636 # Is the header compilable?
4637 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4638 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4639 cat >conftest.
$ac_ext <<_ACEOF
4642 cat confdefs.h
>>conftest.
$ac_ext
4643 cat >>conftest.
$ac_ext <<_ACEOF
4644 /* end confdefs.h. */
4645 $ac_includes_default
4646 #include <$ac_header>
4648 rm -f conftest.
$ac_objext
4649 if { (ac_try
="$ac_compile"
4651 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4652 *) ac_try_echo=$ac_try;;
4654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4655 (eval "$ac_compile") 2>conftest.er1
4657 grep -v '^ *+' conftest.er1 >conftest.err
4659 cat conftest.err >&5
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); } &&
4662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4663 { (case "(($ac_try" in
4664 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4665 *) ac_try_echo
=$ac_try;;
4667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4668 (eval "$ac_try") 2>&5
4670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4671 (exit $ac_status); }; } &&
4672 { ac_try
='test -s conftest.$ac_objext'
4673 { (case "(($ac_try" in
4674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4675 *) ac_try_echo=$ac_try;;
4677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4678 (eval "$ac_try") 2>&5
4680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4681 (exit $ac_status); }; }; then
4682 ac_header_compiler=yes
4684 echo "$as_me: failed program was:" >&5
4685 sed 's/^/| /' conftest.$ac_ext >&5
4687 ac_header_compiler=no
4690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4691 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4692 echo "${ECHO_T}$ac_header_compiler" >&6; }
4694 # Is the header present?
4695 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4696 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4697 cat >conftest.$ac_ext <<_ACEOF
4700 cat confdefs.h >>conftest.$ac_ext
4701 cat >>conftest.$ac_ext <<_ACEOF
4702 /* end confdefs.h. */
4703 #include <$ac_header>
4705 if { (ac_try="$ac_cpp conftest.$ac_ext"
4707 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4708 *) ac_try_echo
=$ac_try;;
4710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4711 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4713 grep -v '^ *+' conftest.er1
>conftest.err
4715 cat conftest.err
>&5
4716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717 (exit $ac_status); } >/dev
/null
; then
4718 if test -s conftest.err
; then
4719 ac_cpp_err
=$ac_c_preproc_warn_flag
4720 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4727 if test -z "$ac_cpp_err"; then
4728 ac_header_preproc
=yes
4730 echo "$as_me: failed program was:" >&5
4731 sed 's/^/| /' conftest.
$ac_ext >&5
4733 ac_header_preproc
=no
4736 rm -f conftest.err conftest.
$ac_ext
4737 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4738 echo "${ECHO_T}$ac_header_preproc" >&6; }
4740 # So? What about this header?
4741 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4743 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4744 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4746 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4747 ac_header_preproc
=yes
4750 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4751 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4752 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4753 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4754 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4755 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4756 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4757 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4758 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4759 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4760 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4761 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4763 ## ---------------------------------------- ##
4764 ## Report this to daniel.schaffrath@mac.com ##
4765 ## ---------------------------------------- ##
4767 ) |
sed "s/^/$as_me: WARNING: /" >&2
4770 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4772 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4773 echo $ECHO_N "(cached) $ECHO_C" >&6
4775 eval "$as_ac_Header=\$ac_header_preproc"
4777 ac_res
=`eval echo '${'$as_ac_Header'}'`
4778 { echo "$as_me:$LINENO: result: $ac_res" >&5
4779 echo "${ECHO_T}$ac_res" >&6; }
4782 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4783 cat >>confdefs.h
<<_ACEOF
4784 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4793 for ac_func
in fork vfork
4795 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4796 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4798 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4799 echo $ECHO_N "(cached) $ECHO_C" >&6
4801 cat >conftest.
$ac_ext <<_ACEOF
4804 cat confdefs.h
>>conftest.
$ac_ext
4805 cat >>conftest.
$ac_ext <<_ACEOF
4806 /* end confdefs.h. */
4807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4809 #define $ac_func innocuous_$ac_func
4811 /* System header to define __stub macros and hopefully few prototypes,
4812 which can conflict with char $ac_func (); below.
4813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4814 <limits.h> exists even on freestanding compilers. */
4817 # include <limits.h>
4819 # include <assert.h>
4824 /* Override any GCC internal prototype to avoid an error.
4825 Use char because int might match the return type of a GCC
4826 builtin and then its argument prototype would still apply. */
4831 /* The GNU C library defines this for functions which it implements
4832 to always fail with ENOSYS. Some functions are actually named
4833 something starting with __ and the normal name is an alias. */
4834 #if defined __stub_$ac_func || defined __stub___$ac_func
4846 rm -f conftest.
$ac_objext conftest
$ac_exeext
4847 if { (ac_try
="$ac_link"
4849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4850 *) ac_try_echo=$ac_try;;
4852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4853 (eval "$ac_link") 2>conftest.er1
4855 grep -v '^ *+' conftest.er1 >conftest.err
4857 cat conftest.err >&5
4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859 (exit $ac_status); } &&
4860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4861 { (case "(($ac_try" in
4862 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4863 *) ac_try_echo
=$ac_try;;
4865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4866 (eval "$ac_try") 2>&5
4868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4869 (exit $ac_status); }; } &&
4870 { ac_try
='test -s conftest$ac_exeext'
4871 { (case "(($ac_try" in
4872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4873 *) ac_try_echo=$ac_try;;
4875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4876 (eval "$ac_try") 2>&5
4878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4879 (exit $ac_status); }; }; then
4880 eval "$as_ac_var=yes"
4882 echo "$as_me: failed program was:" >&5
4883 sed 's/^/| /' conftest.$ac_ext >&5
4885 eval "$as_ac_var=no"
4888 rm -f core conftest.err conftest.$ac_objext \
4889 conftest$ac_exeext conftest.$ac_ext
4891 ac_res=`eval echo '${'$as_ac_var'}'`
4892 { echo "$as_me:$LINENO: result: $ac_res" >&5
4893 echo "${ECHO_T}$ac_res" >&6; }
4894 if test `eval echo '${'$as_ac_var'}'` = yes; then
4895 cat >>confdefs.h <<_ACEOF
4896 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
4902 if test "x$ac_cv_func_fork" = xyes; then
4903 { echo "$as_me:$LINENO: checking for working fork" >&5
4904 echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
4905 if test "${ac_cv_func_fork_works+set}" = set; then
4906 echo $ECHO_N "(cached) $ECHO_C" >&6
4908 if test "$cross_compiling" = yes; then
4909 ac_cv_func_fork_works=cross
4911 cat >conftest.$ac_ext <<_ACEOF
4914 cat confdefs.h >>conftest.$ac_ext
4915 cat >>conftest.$ac_ext <<_ACEOF
4916 /* end confdefs.h. */
4917 $ac_includes_default
4922 /* By Ruediger Kuhlmann. */
4929 rm -f conftest$ac_exeext
4930 if { (ac_try="$ac_link"
4932 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4933 *) ac_try_echo
=$ac_try;;
4935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4936 (eval "$ac_link") 2>&5
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4940 { (case "(($ac_try" in
4941 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4942 *) ac_try_echo=$ac_try;;
4944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4945 (eval "$ac_try") 2>&5
4947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948 (exit $ac_status); }; }; then
4949 ac_cv_func_fork_works=yes
4951 echo "$as_me: program exited with status $ac_status" >&5
4952 echo "$as_me: failed program was:" >&5
4953 sed 's/^/| /' conftest.$ac_ext >&5
4956 ac_cv_func_fork_works=no
4958 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4963 { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
4964 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
4967 ac_cv_func_fork_works=$ac_cv_func_fork
4969 if test "x$ac_cv_func_fork_works" = xcross; then
4971 *-*-amigaos* | *-*-msdosdjgpp*)
4972 # Override, as these systems have only a dummy fork() stub
4973 ac_cv_func_fork_works=no
4976 ac_cv_func_fork_works=yes
4979 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
4980 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
4982 ac_cv_func_vfork_works=$ac_cv_func_vfork
4983 if test "x$ac_cv_func_vfork" = xyes; then
4984 { echo "$as_me:$LINENO: checking for working vfork" >&5
4985 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
4986 if test "${ac_cv_func_vfork_works+set}" = set; then
4987 echo $ECHO_N "(cached) $ECHO_C" >&6
4989 if test "$cross_compiling" = yes; then
4990 ac_cv_func_vfork_works=cross
4992 cat >conftest.$ac_ext <<_ACEOF
4995 cat confdefs.h >>conftest.$ac_ext
4996 cat >>conftest.$ac_ext <<_ACEOF
4997 /* end confdefs.h. */
4998 /* Thanks to Paul Eggert for this test. */
4999 $ac_includes_default
5000 #include <sys/wait.h>
5004 /* On some sparc systems, changes by the child to local and incoming
5005 argument registers are propagated back to the parent. The compiler
5006 is told about this with #include <vfork.h>, but some compilers
5007 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
5008 static variable whose address is put into a register that is
5009 clobbered by the vfork. */
5012 sparc_address_test (int arg)
5014 sparc_address_test (arg) int arg;
5035 pid_t parent = getpid ();
5038 sparc_address_test (0);
5043 /* Here is another test for sparc vfork register problems. This
5044 test uses lots of local variables, at least as many local
5045 variables as main has allocated so far including compiler
5046 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
5047 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
5048 reuse the register of parent for one of the local variables,
5049 since it will think that parent can't possibly be used any more
5050 in this routine. Assigning to the local variable will thus
5051 munge parent in the parent process. */
5053 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
5054 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
5055 /* Convince the compiler that p..p7 are live; otherwise, it might
5056 use the same hardware register for all 8 local variables. */
5057 if (p != p1 || p != p2 || p != p3 || p != p4
5058 || p != p5 || p != p6 || p != p7)
5061 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
5062 from child file descriptors. If the child closes a descriptor
5063 before it execs or exits, this munges the parent's descriptor
5064 as well. Test for this by closing stdout in the child. */
5065 _exit(close(fileno(stdout)) != 0);
5070 while (wait(&status) != child)
5073 /* Was there some problem with vforking? */
5076 /* Did the child fail? (This shouldn't happen.) */
5079 /* Did the vfork/compiler bug occur? */
5080 || parent != getpid()
5082 /* Did the file descriptor bug occur? */
5083 || fstat(fileno(stdout), &st) != 0
5088 rm -f conftest$ac_exeext
5089 if { (ac_try="$ac_link"
5091 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5092 *) ac_try_echo
=$ac_try;;
5094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5095 (eval "$ac_link") 2>&5
5097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5098 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5099 { (case "(($ac_try" in
5100 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5101 *) ac_try_echo=$ac_try;;
5103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5104 (eval "$ac_try") 2>&5
5106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107 (exit $ac_status); }; }; then
5108 ac_cv_func_vfork_works=yes
5110 echo "$as_me: program exited with status $ac_status" >&5
5111 echo "$as_me: failed program was:" >&5
5112 sed 's/^/| /' conftest.$ac_ext >&5
5115 ac_cv_func_vfork_works=no
5117 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5122 { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
5123 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
5126 if test "x$ac_cv_func_fork_works" = xcross; then
5127 ac_cv_func_vfork_works=$ac_cv_func_vfork
5128 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
5129 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
5132 if test "x$ac_cv_func_vfork_works" = xyes; then
5134 cat >>confdefs.h <<\_ACEOF
5135 #define HAVE_WORKING_VFORK 1
5140 cat >>confdefs.h <<\_ACEOF
5145 if test "x$ac_cv_func_fork_works" = xyes; then
5147 cat >>confdefs.h <<\_ACEOF
5148 #define HAVE_WORKING_FORK 1
5154 for ac_header in stdlib.h
5156 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5157 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5158 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5160 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5161 echo $ECHO_N "(cached) $ECHO_C" >&6
5163 ac_res=`eval echo '${'$as_ac_Header'}'`
5164 { echo "$as_me:$LINENO: result: $ac_res" >&5
5165 echo "${ECHO_T}$ac_res" >&6; }
5167 # Is the header compilable?
5168 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5169 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5170 cat >conftest.$ac_ext <<_ACEOF
5173 cat confdefs.h >>conftest.$ac_ext
5174 cat >>conftest.$ac_ext <<_ACEOF
5175 /* end confdefs.h. */
5176 $ac_includes_default
5177 #include <$ac_header>
5179 rm -f conftest.$ac_objext
5180 if { (ac_try="$ac_compile"
5182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5183 *) ac_try_echo
=$ac_try;;
5185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5186 (eval "$ac_compile") 2>conftest.er1
5188 grep -v '^ *+' conftest.er1
>conftest.err
5190 cat conftest.err
>&5
5191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192 (exit $ac_status); } &&
5193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5194 { (case "(($ac_try" in
5195 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5196 *) ac_try_echo=$ac_try;;
5198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5199 (eval "$ac_try") 2>&5
5201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5202 (exit $ac_status); }; } &&
5203 { ac_try='test -s conftest.$ac_objext'
5204 { (case "(($ac_try" in
5205 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5206 *) ac_try_echo
=$ac_try;;
5208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5209 (eval "$ac_try") 2>&5
5211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212 (exit $ac_status); }; }; then
5213 ac_header_compiler
=yes
5215 echo "$as_me: failed program was:" >&5
5216 sed 's/^/| /' conftest.
$ac_ext >&5
5218 ac_header_compiler
=no
5221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5222 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5223 echo "${ECHO_T}$ac_header_compiler" >&6; }
5225 # Is the header present?
5226 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5227 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5228 cat >conftest.
$ac_ext <<_ACEOF
5231 cat confdefs.h
>>conftest.
$ac_ext
5232 cat >>conftest.
$ac_ext <<_ACEOF
5233 /* end confdefs.h. */
5234 #include <$ac_header>
5236 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5238 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5239 *) ac_try_echo=$ac_try;;
5241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5242 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5244 grep -v '^ *+' conftest.er1 >conftest.err
5246 cat conftest.err >&5
5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5248 (exit $ac_status); } >/dev/null; then
5249 if test -s conftest.err; then
5250 ac_cpp_err=$ac_c_preproc_warn_flag
5251 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5258 if test -z "$ac_cpp_err"; then
5259 ac_header_preproc=yes
5261 echo "$as_me: failed program was:" >&5
5262 sed 's/^/| /' conftest.$ac_ext >&5
5264 ac_header_preproc=no
5267 rm -f conftest.err conftest.$ac_ext
5268 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5269 echo "${ECHO_T}$ac_header_preproc" >&6; }
5271 # So? What about this header?
5272 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5274 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5275 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5277 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5278 ac_header_preproc=yes
5281 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5282 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5283 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5284 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5285 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5286 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5287 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5288 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5290 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5291 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5292 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5294 ## ---------------------------------------- ##
5295 ## Report this to daniel.schaffrath@mac.com ##
5296 ## ---------------------------------------- ##
5298 ) | sed "s/^/$as_me: WARNING: /" >&2
5301 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5303 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5304 echo $ECHO_N "(cached) $ECHO_C" >&6
5306 eval "$as_ac_Header=\$ac_header_preproc"
5308 ac_res=`eval echo '${'$as_ac_Header'}'`
5309 { echo "$as_me:$LINENO: result: $ac_res" >&5
5310 echo "${ECHO_T}$ac_res" >&6; }
5313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5314 cat >>confdefs.h <<_ACEOF
5315 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5322 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
5323 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
5324 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
5325 echo $ECHO_N "(cached) $ECHO_C" >&6
5327 if test "$cross_compiling" = yes; then
5328 ac_cv_func_malloc_0_nonnull=no
5330 cat >conftest.$ac_ext <<_ACEOF
5333 cat confdefs.h >>conftest.$ac_ext
5334 cat >>conftest.$ac_ext <<_ACEOF
5335 /* end confdefs.h. */
5336 #if STDC_HEADERS || HAVE_STDLIB_H
5337 # include <stdlib.h>
5345 return ! malloc (0);
5350 rm -f conftest$ac_exeext
5351 if { (ac_try="$ac_link"
5353 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5354 *) ac_try_echo
=$ac_try;;
5356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5357 (eval "$ac_link") 2>&5
5359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5360 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5361 { (case "(($ac_try" in
5362 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5363 *) ac_try_echo=$ac_try;;
5365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5366 (eval "$ac_try") 2>&5
5368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5369 (exit $ac_status); }; }; then
5370 ac_cv_func_malloc_0_nonnull=yes
5372 echo "$as_me: program exited with status $ac_status" >&5
5373 echo "$as_me: failed program was:" >&5
5374 sed 's/^/| /' conftest.$ac_ext >&5
5377 ac_cv_func_malloc_0_nonnull=no
5379 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5384 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
5385 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
5386 if test $ac_cv_func_malloc_0_nonnull = yes; then
5388 cat >>confdefs.h <<\_ACEOF
5389 #define HAVE_MALLOC 1
5393 cat >>confdefs.h <<\_ACEOF
5394 #define HAVE_MALLOC 0
5397 case " $LIBOBJS " in
5398 *" malloc.$ac_objext "* ) ;;
5399 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5404 cat >>confdefs.h <<\_ACEOF
5405 #define malloc rpl_malloc
5412 { echo "$as_me:$LINENO: checking for working memcmp" >&5
5413 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
5414 if test "${ac_cv_func_memcmp_working+set}" = set; then
5415 echo $ECHO_N "(cached) $ECHO_C" >&6
5417 if test "$cross_compiling" = yes; then
5418 ac_cv_func_memcmp_working=no
5420 cat >conftest.$ac_ext <<_ACEOF
5423 cat confdefs.h >>conftest.$ac_ext
5424 cat >>conftest.$ac_ext <<_ACEOF
5425 /* end confdefs.h. */
5426 $ac_includes_default
5431 /* Some versions of memcmp are not 8-bit clean. */
5432 char c0 = '\100', c1 = '\200', c2 = '\201';
5433 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
5436 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
5437 or more and with at least one buffer not starting on a 4-byte boundary.
5438 William Lewis provided this test program. */
5443 for (i = 0; i < 4; i++)
5447 strcpy (a, "--------01111111");
5448 strcpy (b, "--------10000000");
5449 if (memcmp (a, b, 16) >= 0)
5459 rm -f conftest$ac_exeext
5460 if { (ac_try="$ac_link"
5462 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5463 *) ac_try_echo
=$ac_try;;
5465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5466 (eval "$ac_link") 2>&5
5468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5469 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5470 { (case "(($ac_try" in
5471 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5472 *) ac_try_echo=$ac_try;;
5474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5475 (eval "$ac_try") 2>&5
5477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5478 (exit $ac_status); }; }; then
5479 ac_cv_func_memcmp_working=yes
5481 echo "$as_me: program exited with status $ac_status" >&5
5482 echo "$as_me: failed program was:" >&5
5483 sed 's/^/| /' conftest.$ac_ext >&5
5486 ac_cv_func_memcmp_working=no
5488 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5493 { echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
5494 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
5495 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
5496 *" memcmp.$ac_objext "* ) ;;
5497 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
5504 for ac_header in sys/select.h sys/socket.h
5506 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5507 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5508 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5510 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5511 echo $ECHO_N "(cached) $ECHO_C" >&6
5513 ac_res=`eval echo '${'$as_ac_Header'}'`
5514 { echo "$as_me:$LINENO: result: $ac_res" >&5
5515 echo "${ECHO_T}$ac_res" >&6; }
5517 # Is the header compilable?
5518 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5519 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5520 cat >conftest.$ac_ext <<_ACEOF
5523 cat confdefs.h >>conftest.$ac_ext
5524 cat >>conftest.$ac_ext <<_ACEOF
5525 /* end confdefs.h. */
5526 $ac_includes_default
5527 #include <$ac_header>
5529 rm -f conftest.$ac_objext
5530 if { (ac_try="$ac_compile"
5532 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5533 *) ac_try_echo
=$ac_try;;
5535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5536 (eval "$ac_compile") 2>conftest.er1
5538 grep -v '^ *+' conftest.er1
>conftest.err
5540 cat conftest.err
>&5
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); } &&
5543 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5544 { (case "(($ac_try" in
5545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5546 *) ac_try_echo=$ac_try;;
5548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5549 (eval "$ac_try") 2>&5
5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552 (exit $ac_status); }; } &&
5553 { ac_try='test -s conftest.$ac_objext'
5554 { (case "(($ac_try" in
5555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5556 *) ac_try_echo
=$ac_try;;
5558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5559 (eval "$ac_try") 2>&5
5561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5562 (exit $ac_status); }; }; then
5563 ac_header_compiler
=yes
5565 echo "$as_me: failed program was:" >&5
5566 sed 's/^/| /' conftest.
$ac_ext >&5
5568 ac_header_compiler
=no
5571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5572 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5573 echo "${ECHO_T}$ac_header_compiler" >&6; }
5575 # Is the header present?
5576 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5577 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5578 cat >conftest.
$ac_ext <<_ACEOF
5581 cat confdefs.h
>>conftest.
$ac_ext
5582 cat >>conftest.
$ac_ext <<_ACEOF
5583 /* end confdefs.h. */
5584 #include <$ac_header>
5586 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5588 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5589 *) ac_try_echo=$ac_try;;
5591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5592 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5594 grep -v '^ *+' conftest.er1 >conftest.err
5596 cat conftest.err >&5
5597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598 (exit $ac_status); } >/dev/null; then
5599 if test -s conftest.err; then
5600 ac_cpp_err=$ac_c_preproc_warn_flag
5601 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5608 if test -z "$ac_cpp_err"; then
5609 ac_header_preproc=yes
5611 echo "$as_me: failed program was:" >&5
5612 sed 's/^/| /' conftest.$ac_ext >&5
5614 ac_header_preproc=no
5617 rm -f conftest.err conftest.$ac_ext
5618 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5619 echo "${ECHO_T}$ac_header_preproc" >&6; }
5621 # So? What about this header?
5622 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5624 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5625 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5627 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5628 ac_header_preproc=yes
5631 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5632 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5633 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5634 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5635 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5636 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5637 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5638 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5639 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5640 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5641 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5642 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5644 ## ---------------------------------------- ##
5645 ## Report this to daniel.schaffrath@mac.com ##
5646 ## ---------------------------------------- ##
5648 ) | sed "s/^/$as_me: WARNING: /" >&2
5651 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5653 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5654 echo $ECHO_N "(cached) $ECHO_C" >&6
5656 eval "$as_ac_Header=\$ac_header_preproc"
5658 ac_res=`eval echo '${'$as_ac_Header'}'`
5659 { echo "$as_me:$LINENO: result: $ac_res" >&5
5660 echo "${ECHO_T}$ac_res" >&6; }
5663 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5664 cat >>confdefs.h <<_ACEOF
5665 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5672 { echo "$as_me:$LINENO: checking types of arguments for select" >&5
5673 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; }
5674 if test "${ac_cv_func_select_args+set}" = set; then
5675 echo $ECHO_N "(cached) $ECHO_C" >&6
5677 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
5678 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
5679 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
5680 cat >conftest.$ac_ext <<_ACEOF
5683 cat confdefs.h >>conftest.$ac_ext
5684 cat >>conftest.$ac_ext <<_ACEOF
5685 /* end confdefs.h. */
5686 $ac_includes_default
5687 #if HAVE_SYS_SELECT_H
5688 # include <sys/select.h>
5690 #if HAVE_SYS_SOCKET_H
5691 # include <sys/socket.h>
5697 extern int select ($ac_arg1,
5698 $ac_arg234, $ac_arg234, $ac_arg234,
5704 rm -f conftest.$ac_objext
5705 if { (ac_try="$ac_compile"
5707 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5708 *) ac_try_echo
=$ac_try;;
5710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5711 (eval "$ac_compile") 2>conftest.er1
5713 grep -v '^ *+' conftest.er1
>conftest.err
5715 cat conftest.err
>&5
5716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5717 (exit $ac_status); } &&
5718 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5719 { (case "(($ac_try" in
5720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5721 *) ac_try_echo=$ac_try;;
5723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5724 (eval "$ac_try") 2>&5
5726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5727 (exit $ac_status); }; } &&
5728 { ac_try='test -s conftest.$ac_objext'
5729 { (case "(($ac_try" in
5730 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5731 *) ac_try_echo
=$ac_try;;
5733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5734 (eval "$ac_try") 2>&5
5736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737 (exit $ac_status); }; }; then
5738 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
5740 echo "$as_me: failed program was:" >&5
5741 sed 's/^/| /' conftest.
$ac_ext >&5
5746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5750 # Provide a safe default value.
5751 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
5754 { echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
5755 echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
5756 ac_save_IFS
=$IFS; IFS
=','
5757 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
5761 cat >>confdefs.h
<<_ACEOF
5762 #define SELECT_TYPE_ARG1 $1
5766 cat >>confdefs.h
<<_ACEOF
5767 #define SELECT_TYPE_ARG234 ($2)
5771 cat >>confdefs.h
<<_ACEOF
5772 #define SELECT_TYPE_ARG5 ($3)
5778 for ac_func
in strftime
5780 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5781 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5783 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5784 echo $ECHO_N "(cached) $ECHO_C" >&6
5786 cat >conftest.
$ac_ext <<_ACEOF
5789 cat confdefs.h
>>conftest.
$ac_ext
5790 cat >>conftest.
$ac_ext <<_ACEOF
5791 /* end confdefs.h. */
5792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5794 #define $ac_func innocuous_$ac_func
5796 /* System header to define __stub macros and hopefully few prototypes,
5797 which can conflict with char $ac_func (); below.
5798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5799 <limits.h> exists even on freestanding compilers. */
5802 # include <limits.h>
5804 # include <assert.h>
5809 /* Override any GCC internal prototype to avoid an error.
5810 Use char because int might match the return type of a GCC
5811 builtin and then its argument prototype would still apply. */
5816 /* The GNU C library defines this for functions which it implements
5817 to always fail with ENOSYS. Some functions are actually named
5818 something starting with __ and the normal name is an alias. */
5819 #if defined __stub_$ac_func || defined __stub___$ac_func
5831 rm -f conftest.
$ac_objext conftest
$ac_exeext
5832 if { (ac_try
="$ac_link"
5834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5835 *) ac_try_echo=$ac_try;;
5837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5838 (eval "$ac_link") 2>conftest.er1
5840 grep -v '^ *+' conftest.er1 >conftest.err
5842 cat conftest.err >&5
5843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5844 (exit $ac_status); } &&
5845 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5846 { (case "(($ac_try" in
5847 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5848 *) ac_try_echo
=$ac_try;;
5850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5851 (eval "$ac_try") 2>&5
5853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5854 (exit $ac_status); }; } &&
5855 { ac_try
='test -s conftest$ac_exeext'
5856 { (case "(($ac_try" in
5857 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5858 *) ac_try_echo=$ac_try;;
5860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5861 (eval "$ac_try") 2>&5
5863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864 (exit $ac_status); }; }; then
5865 eval "$as_ac_var=yes"
5867 echo "$as_me: failed program was:" >&5
5868 sed 's/^/| /' conftest.$ac_ext >&5
5870 eval "$as_ac_var=no"
5873 rm -f core conftest.err conftest.$ac_objext \
5874 conftest$ac_exeext conftest.$ac_ext
5876 ac_res=`eval echo '${'$as_ac_var'}'`
5877 { echo "$as_me:$LINENO: result: $ac_res" >&5
5878 echo "${ECHO_T}$ac_res" >&6; }
5879 if test `eval echo '${'$as_ac_var'}'` = yes; then
5880 cat >>confdefs.h <<_ACEOF
5881 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
5885 # strftime is in -lintl on SCO UNIX.
5886 { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
5887 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; }
5888 if test "${ac_cv_lib_intl_strftime+set}" = set; then
5889 echo $ECHO_N "(cached) $ECHO_C" >&6
5891 ac_check_lib_save_LIBS=$LIBS
5893 cat >conftest.$ac_ext <<_ACEOF
5896 cat confdefs.h >>conftest.$ac_ext
5897 cat >>conftest.$ac_ext <<_ACEOF
5898 /* end confdefs.h. */
5900 /* Override any GCC internal prototype to avoid an error.
5901 Use char because int might match the return type of a GCC
5902 builtin and then its argument prototype would still apply. */
5915 rm -f conftest.$ac_objext conftest$ac_exeext
5916 if { (ac_try="$ac_link"
5918 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5919 *) ac_try_echo
=$ac_try;;
5921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5922 (eval "$ac_link") 2>conftest.er1
5924 grep -v '^ *+' conftest.er1
>conftest.err
5926 cat conftest.err
>&5
5927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5928 (exit $ac_status); } &&
5929 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5930 { (case "(($ac_try" in
5931 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5932 *) ac_try_echo=$ac_try;;
5934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5935 (eval "$ac_try") 2>&5
5937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938 (exit $ac_status); }; } &&
5939 { ac_try='test -s conftest$ac_exeext'
5940 { (case "(($ac_try" in
5941 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5942 *) ac_try_echo
=$ac_try;;
5944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5945 (eval "$ac_try") 2>&5
5947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5948 (exit $ac_status); }; }; then
5949 ac_cv_lib_intl_strftime
=yes
5951 echo "$as_me: failed program was:" >&5
5952 sed 's/^/| /' conftest.
$ac_ext >&5
5954 ac_cv_lib_intl_strftime
=no
5957 rm -f core conftest.err conftest.
$ac_objext \
5958 conftest
$ac_exeext conftest.
$ac_ext
5959 LIBS
=$ac_check_lib_save_LIBS
5961 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
5962 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
5963 if test $ac_cv_lib_intl_strftime = yes; then
5964 cat >>confdefs.h
<<\_ACEOF
5965 #define HAVE_STRFTIME 1
5974 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5975 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
5976 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5977 echo $ECHO_N "(cached) $ECHO_C" >&6
5979 cat >conftest.
$ac_ext <<_ACEOF
5982 cat confdefs.h
>>conftest.
$ac_ext
5983 cat >>conftest.
$ac_ext <<_ACEOF
5984 /* end confdefs.h. */
5985 #include <sys/types.h>
5986 #include <sys/wait.h>
5988 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
5991 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5999 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6004 rm -f conftest.
$ac_objext
6005 if { (ac_try
="$ac_compile"
6007 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6008 *) ac_try_echo=$ac_try;;
6010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6011 (eval "$ac_compile") 2>conftest.er1
6013 grep -v '^ *+' conftest.er1 >conftest.err
6015 cat conftest.err >&5
6016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6017 (exit $ac_status); } &&
6018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6019 { (case "(($ac_try" in
6020 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6021 *) ac_try_echo
=$ac_try;;
6023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6024 (eval "$ac_try") 2>&5
6026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6027 (exit $ac_status); }; } &&
6028 { ac_try
='test -s conftest.$ac_objext'
6029 { (case "(($ac_try" in
6030 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6031 *) ac_try_echo=$ac_try;;
6033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6034 (eval "$ac_try") 2>&5
6036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6037 (exit $ac_status); }; }; then
6038 ac_cv_header_sys_wait_h=yes
6040 echo "$as_me: failed program was:" >&5
6041 sed 's/^/| /' conftest.$ac_ext >&5
6043 ac_cv_header_sys_wait_h=no
6046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6048 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6049 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
6050 if test $ac_cv_header_sys_wait_h = yes; then
6052 cat >>confdefs.h <<\_ACEOF
6053 #define HAVE_SYS_WAIT_H 1
6058 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6059 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6060 if test "${ac_cv_header_time+set}" = set; then
6061 echo $ECHO_N "(cached) $ECHO_C" >&6
6063 cat >conftest.$ac_ext <<_ACEOF
6066 cat confdefs.h >>conftest.$ac_ext
6067 cat >>conftest.$ac_ext <<_ACEOF
6068 /* end confdefs.h. */
6069 #include <sys/types.h>
6070 #include <sys/time.h>
6076 if ((struct tm *) 0)
6082 rm -f conftest.$ac_objext
6083 if { (ac_try="$ac_compile"
6085 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6086 *) ac_try_echo
=$ac_try;;
6088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6089 (eval "$ac_compile") 2>conftest.er1
6091 grep -v '^ *+' conftest.er1
>conftest.err
6093 cat conftest.err
>&5
6094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6095 (exit $ac_status); } &&
6096 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6097 { (case "(($ac_try" in
6098 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6099 *) ac_try_echo=$ac_try;;
6101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6102 (eval "$ac_try") 2>&5
6104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6105 (exit $ac_status); }; } &&
6106 { ac_try='test -s conftest.$ac_objext'
6107 { (case "(($ac_try" in
6108 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6109 *) ac_try_echo
=$ac_try;;
6111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6112 (eval "$ac_try") 2>&5
6114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115 (exit $ac_status); }; }; then
6116 ac_cv_header_time
=yes
6118 echo "$as_me: failed program was:" >&5
6119 sed 's/^/| /' conftest.
$ac_ext >&5
6121 ac_cv_header_time
=no
6124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6126 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6127 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6128 if test $ac_cv_header_time = yes; then
6130 cat >>confdefs.h
<<\_ACEOF
6131 #define TIME_WITH_SYS_TIME 1
6136 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6137 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
6138 if test "${ac_cv_struct_tm+set}" = set; then
6139 echo $ECHO_N "(cached) $ECHO_C" >&6
6141 cat >conftest.
$ac_ext <<_ACEOF
6144 cat confdefs.h
>>conftest.
$ac_ext
6145 cat >>conftest.
$ac_ext <<_ACEOF
6146 /* end confdefs.h. */
6147 #include <sys/types.h>
6153 struct tm *tp; tp->tm_sec;
6158 rm -f conftest.
$ac_objext
6159 if { (ac_try
="$ac_compile"
6161 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6162 *) ac_try_echo=$ac_try;;
6164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6165 (eval "$ac_compile") 2>conftest.er1
6167 grep -v '^ *+' conftest.er1 >conftest.err
6169 cat conftest.err >&5
6170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6171 (exit $ac_status); } &&
6172 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6173 { (case "(($ac_try" in
6174 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6175 *) ac_try_echo
=$ac_try;;
6177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6178 (eval "$ac_try") 2>&5
6180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181 (exit $ac_status); }; } &&
6182 { ac_try
='test -s conftest.$ac_objext'
6183 { (case "(($ac_try" in
6184 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6185 *) ac_try_echo=$ac_try;;
6187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6188 (eval "$ac_try") 2>&5
6190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6191 (exit $ac_status); }; }; then
6192 ac_cv_struct_tm=time.h
6194 echo "$as_me: failed program was:" >&5
6195 sed 's/^/| /' conftest.$ac_ext >&5
6197 ac_cv_struct_tm=sys/time.h
6200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6202 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6203 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
6204 if test $ac_cv_struct_tm = sys/time.h; then
6206 cat >>confdefs.h <<\_ACEOF
6207 #define TM_IN_SYS_TIME 1
6212 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6213 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
6214 if test "${ac_cv_type_signal+set}" = set; then
6215 echo $ECHO_N "(cached) $ECHO_C" >&6
6217 cat >conftest.$ac_ext <<_ACEOF
6220 cat confdefs.h >>conftest.$ac_ext
6221 cat >>conftest.$ac_ext <<_ACEOF
6222 /* end confdefs.h. */
6223 #include <sys/types.h>
6229 return *(signal (0, 0)) (0) == 1;
6234 rm -f conftest.$ac_objext
6235 if { (ac_try="$ac_compile"
6237 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6238 *) ac_try_echo
=$ac_try;;
6240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6241 (eval "$ac_compile") 2>conftest.er1
6243 grep -v '^ *+' conftest.er1
>conftest.err
6245 cat conftest.err
>&5
6246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6247 (exit $ac_status); } &&
6248 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6249 { (case "(($ac_try" in
6250 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6251 *) ac_try_echo=$ac_try;;
6253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6254 (eval "$ac_try") 2>&5
6256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257 (exit $ac_status); }; } &&
6258 { ac_try='test -s conftest.$ac_objext'
6259 { (case "(($ac_try" in
6260 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6261 *) ac_try_echo
=$ac_try;;
6263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6264 (eval "$ac_try") 2>&5
6266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6267 (exit $ac_status); }; }; then
6268 ac_cv_type_signal
=int
6270 echo "$as_me: failed program was:" >&5
6271 sed 's/^/| /' conftest.
$ac_ext >&5
6273 ac_cv_type_signal
=void
6276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6278 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6279 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
6281 cat >>confdefs.h
<<_ACEOF
6282 #define RETSIGTYPE $ac_cv_type_signal
6286 { echo "$as_me:$LINENO: checking for size_t" >&5
6287 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
6288 if test "${ac_cv_type_size_t+set}" = set; then
6289 echo $ECHO_N "(cached) $ECHO_C" >&6
6291 cat >conftest.
$ac_ext <<_ACEOF
6294 cat confdefs.h
>>conftest.
$ac_ext
6295 cat >>conftest.
$ac_ext <<_ACEOF
6296 /* end confdefs.h. */
6297 $ac_includes_default
6298 typedef size_t ac__type_new_;
6302 if ((ac__type_new_ *) 0)
6304 if (sizeof (ac__type_new_))
6310 rm -f conftest.
$ac_objext
6311 if { (ac_try
="$ac_compile"
6313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6314 *) ac_try_echo=$ac_try;;
6316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6317 (eval "$ac_compile") 2>conftest.er1
6319 grep -v '^ *+' conftest.er1 >conftest.err
6321 cat conftest.err >&5
6322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6323 (exit $ac_status); } &&
6324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6325 { (case "(($ac_try" in
6326 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6327 *) ac_try_echo
=$ac_try;;
6329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6330 (eval "$ac_try") 2>&5
6332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333 (exit $ac_status); }; } &&
6334 { ac_try
='test -s conftest.$ac_objext'
6335 { (case "(($ac_try" in
6336 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6337 *) ac_try_echo=$ac_try;;
6339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6340 (eval "$ac_try") 2>&5
6342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6343 (exit $ac_status); }; }; then
6344 ac_cv_type_size_t=yes
6346 echo "$as_me: failed program was:" >&5
6347 sed 's/^/| /' conftest.$ac_ext >&5
6349 ac_cv_type_size_t=no
6352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6354 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6355 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
6356 if test $ac_cv_type_size_t = yes; then
6360 cat >>confdefs.h <<_ACEOF
6361 #define size_t unsigned int
6366 { echo "$as_me:$LINENO: checking for ssize_t" >&5
6367 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
6368 if test "${ac_cv_type_ssize_t+set}" = set; then
6369 echo $ECHO_N "(cached) $ECHO_C" >&6
6371 cat >conftest.$ac_ext <<_ACEOF
6374 cat confdefs.h >>conftest.$ac_ext
6375 cat >>conftest.$ac_ext <<_ACEOF
6376 /* end confdefs.h. */
6377 $ac_includes_default
6378 typedef ssize_t ac__type_new_;
6382 if ((ac__type_new_ *) 0)
6384 if (sizeof (ac__type_new_))
6390 rm -f conftest.$ac_objext
6391 if { (ac_try="$ac_compile"
6393 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6394 *) ac_try_echo
=$ac_try;;
6396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6397 (eval "$ac_compile") 2>conftest.er1
6399 grep -v '^ *+' conftest.er1
>conftest.err
6401 cat conftest.err
>&5
6402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6403 (exit $ac_status); } &&
6404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6405 { (case "(($ac_try" in
6406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6407 *) ac_try_echo=$ac_try;;
6409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6410 (eval "$ac_try") 2>&5
6412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6413 (exit $ac_status); }; } &&
6414 { ac_try='test -s conftest.$ac_objext'
6415 { (case "(($ac_try" in
6416 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6417 *) ac_try_echo
=$ac_try;;
6419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6420 (eval "$ac_try") 2>&5
6422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423 (exit $ac_status); }; }; then
6424 ac_cv_type_ssize_t
=yes
6426 echo "$as_me: failed program was:" >&5
6427 sed 's/^/| /' conftest.
$ac_ext >&5
6429 ac_cv_type_ssize_t
=no
6432 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6434 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
6435 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
6436 if test $ac_cv_type_ssize_t = yes; then
6440 cat >>confdefs.h
<<_ACEOF
6447 { echo "$as_me:$LINENO: checking for uint32_t" >&5
6448 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
6449 if test "${ac_cv_c_uint32_t+set}" = set; then
6450 echo $ECHO_N "(cached) $ECHO_C" >&6
6453 for ac_type
in 'uint32_t' 'unsigned int' 'unsigned long int' \
6454 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
6455 cat >conftest.
$ac_ext <<_ACEOF
6458 cat confdefs.h
>>conftest.
$ac_ext
6459 cat >>conftest.
$ac_ext <<_ACEOF
6460 /* end confdefs.h. */
6461 $ac_includes_default
6465 static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
6472 rm -f conftest.
$ac_objext
6473 if { (ac_try
="$ac_compile"
6475 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6476 *) ac_try_echo=$ac_try;;
6478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6479 (eval "$ac_compile") 2>conftest.er1
6481 grep -v '^ *+' conftest.er1 >conftest.err
6483 cat conftest.err >&5
6484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6485 (exit $ac_status); } &&
6486 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6487 { (case "(($ac_try" in
6488 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6489 *) ac_try_echo
=$ac_try;;
6491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6492 (eval "$ac_try") 2>&5
6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 (exit $ac_status); }; } &&
6496 { ac_try
='test -s conftest.$ac_objext'
6497 { (case "(($ac_try" in
6498 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6499 *) ac_try_echo=$ac_try;;
6501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6502 (eval "$ac_try") 2>&5
6504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6505 (exit $ac_status); }; }; then
6507 uint32_t) ac_cv_c_uint32_t=yes ;;
6508 *) ac_cv_c_uint32_t=$ac_type ;;
6512 echo "$as_me: failed program was:" >&5
6513 sed 's/^/| /' conftest.$ac_ext >&5
6518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6519 test "$ac_cv_c_uint32_t" != no && break
6522 { echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
6523 echo "${ECHO_T}$ac_cv_c_uint32_t" >&6; }
6524 case $ac_cv_c_uint32_t in #(
6528 cat >>confdefs.h <<\_ACEOF
6533 cat >>confdefs.h <<_ACEOF
6534 #define uint32_t $ac_cv_c_uint32_t
6540 { echo "$as_me:$LINENO: checking for uint64_t" >&5
6541 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
6542 if test "${ac_cv_c_uint64_t+set}" = set; then
6543 echo $ECHO_N "(cached) $ECHO_C" >&6
6546 for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \
6547 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
6548 cat >conftest.$ac_ext <<_ACEOF
6551 cat confdefs.h >>conftest.$ac_ext
6552 cat >>conftest.$ac_ext <<_ACEOF
6553 /* end confdefs.h. */
6554 $ac_includes_default
6558 static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)];
6565 rm -f conftest.$ac_objext
6566 if { (ac_try="$ac_compile"
6568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6569 *) ac_try_echo
=$ac_try;;
6571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6572 (eval "$ac_compile") 2>conftest.er1
6574 grep -v '^ *+' conftest.er1
>conftest.err
6576 cat conftest.err
>&5
6577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6578 (exit $ac_status); } &&
6579 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6580 { (case "(($ac_try" in
6581 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6582 *) ac_try_echo=$ac_try;;
6584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6585 (eval "$ac_try") 2>&5
6587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6588 (exit $ac_status); }; } &&
6589 { ac_try='test -s conftest.$ac_objext'
6590 { (case "(($ac_try" in
6591 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6592 *) ac_try_echo
=$ac_try;;
6594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6595 (eval "$ac_try") 2>&5
6597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6598 (exit $ac_status); }; }; then
6600 uint64_t
) ac_cv_c_uint64_t
=yes ;;
6601 *) ac_cv_c_uint64_t
=$ac_type ;;
6605 echo "$as_me: failed program was:" >&5
6606 sed 's/^/| /' conftest.
$ac_ext >&5
6611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6612 test "$ac_cv_c_uint64_t" != no
&& break
6615 { echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5
6616 echo "${ECHO_T}$ac_cv_c_uint64_t" >&6; }
6617 case $ac_cv_c_uint64_t in #(
6621 cat >>confdefs.h
<<\_ACEOF
6626 cat >>confdefs.h
<<_ACEOF
6627 #define uint64_t $ac_cv_c_uint64_t
6633 { echo "$as_me:$LINENO: checking for uint8_t" >&5
6634 echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6; }
6635 if test "${ac_cv_c_uint8_t+set}" = set; then
6636 echo $ECHO_N "(cached) $ECHO_C" >&6
6639 for ac_type
in 'uint8_t' 'unsigned int' 'unsigned long int' \
6640 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
6641 cat >conftest.
$ac_ext <<_ACEOF
6644 cat confdefs.h
>>conftest.
$ac_ext
6645 cat >>conftest.
$ac_ext <<_ACEOF
6646 /* end confdefs.h. */
6647 $ac_includes_default
6651 static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
6658 rm -f conftest.
$ac_objext
6659 if { (ac_try
="$ac_compile"
6661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6662 *) ac_try_echo=$ac_try;;
6664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6665 (eval "$ac_compile") 2>conftest.er1
6667 grep -v '^ *+' conftest.er1 >conftest.err
6669 cat conftest.err >&5
6670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6671 (exit $ac_status); } &&
6672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6673 { (case "(($ac_try" in
6674 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6675 *) ac_try_echo
=$ac_try;;
6677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6678 (eval "$ac_try") 2>&5
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); }; } &&
6682 { ac_try
='test -s conftest.$ac_objext'
6683 { (case "(($ac_try" in
6684 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6685 *) ac_try_echo=$ac_try;;
6687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6688 (eval "$ac_try") 2>&5
6690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6691 (exit $ac_status); }; }; then
6693 uint8_t) ac_cv_c_uint8_t=yes ;;
6694 *) ac_cv_c_uint8_t=$ac_type ;;
6698 echo "$as_me: failed program was:" >&5
6699 sed 's/^/| /' conftest.$ac_ext >&5
6704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6705 test "$ac_cv_c_uint8_t" != no && break
6708 { echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
6709 echo "${ECHO_T}$ac_cv_c_uint8_t" >&6; }
6710 case $ac_cv_c_uint8_t in #(
6714 cat >>confdefs.h <<\_ACEOF
6719 cat >>confdefs.h <<_ACEOF
6720 #define uint8_t $ac_cv_c_uint8_t
6745 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6746 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6748 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6749 echo $ECHO_N "(cached) $ECHO_C" >&6
6751 cat >conftest.$ac_ext <<_ACEOF
6754 cat confdefs.h >>conftest.$ac_ext
6755 cat >>conftest.$ac_ext <<_ACEOF
6756 /* end confdefs.h. */
6757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6759 #define $ac_func innocuous_$ac_func
6761 /* System header to define __stub macros and hopefully few prototypes,
6762 which can conflict with char $ac_func (); below.
6763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6764 <limits.h> exists even on freestanding compilers. */
6767 # include <limits.h>
6769 # include <assert.h>
6774 /* Override any GCC internal prototype to avoid an error.
6775 Use char because int might match the return type of a GCC
6776 builtin and then its argument prototype would still apply. */
6781 /* The GNU C library defines this for functions which it implements
6782 to always fail with ENOSYS. Some functions are actually named
6783 something starting with __ and the normal name is an alias. */
6784 #if defined __stub_$ac_func || defined __stub___$ac_func
6796 rm -f conftest.$ac_objext conftest$ac_exeext
6797 if { (ac_try="$ac_link"
6799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6800 *) ac_try_echo
=$ac_try;;
6802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6803 (eval "$ac_link") 2>conftest.er1
6805 grep -v '^ *+' conftest.er1
>conftest.err
6807 cat conftest.err
>&5
6808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6809 (exit $ac_status); } &&
6810 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6811 { (case "(($ac_try" in
6812 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6813 *) ac_try_echo=$ac_try;;
6815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6816 (eval "$ac_try") 2>&5
6818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6819 (exit $ac_status); }; } &&
6820 { ac_try='test -s conftest$ac_exeext'
6821 { (case "(($ac_try" in
6822 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6823 *) ac_try_echo
=$ac_try;;
6825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6826 (eval "$ac_try") 2>&5
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); }; }; then
6830 eval "$as_ac_var=yes"
6832 echo "$as_me: failed program was:" >&5
6833 sed 's/^/| /' conftest.
$ac_ext >&5
6835 eval "$as_ac_var=no"
6838 rm -f core conftest.err conftest.
$ac_objext \
6839 conftest
$ac_exeext conftest.
$ac_ext
6841 ac_res
=`eval echo '${'$as_ac_var'}'`
6842 { echo "$as_me:$LINENO: result: $ac_res" >&5
6843 echo "${ECHO_T}$ac_res" >&6; }
6844 if test `eval echo '${'$as_ac_var'}'` = yes; then
6845 cat >>confdefs.h
<<_ACEOF
6846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6854 { echo "$as_me:$LINENO: checking for log in -lm" >&5
6855 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6; }
6856 if test "${ac_cv_lib_m_log+set}" = set; then
6857 echo $ECHO_N "(cached) $ECHO_C" >&6
6859 ac_check_lib_save_LIBS
=$LIBS
6861 cat >conftest.
$ac_ext <<_ACEOF
6864 cat confdefs.h
>>conftest.
$ac_ext
6865 cat >>conftest.
$ac_ext <<_ACEOF
6866 /* end confdefs.h. */
6868 /* Override any GCC internal prototype to avoid an error.
6869 Use char because int might match the return type of a GCC
6870 builtin and then its argument prototype would still apply. */
6883 rm -f conftest.
$ac_objext conftest
$ac_exeext
6884 if { (ac_try
="$ac_link"
6886 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6887 *) ac_try_echo=$ac_try;;
6889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6890 (eval "$ac_link") 2>conftest.er1
6892 grep -v '^ *+' conftest.er1 >conftest.err
6894 cat conftest.err >&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); } &&
6897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6898 { (case "(($ac_try" in
6899 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6900 *) ac_try_echo
=$ac_try;;
6902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6903 (eval "$ac_try") 2>&5
6905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906 (exit $ac_status); }; } &&
6907 { ac_try
='test -s conftest$ac_exeext'
6908 { (case "(($ac_try" in
6909 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6910 *) ac_try_echo=$ac_try;;
6912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6913 (eval "$ac_try") 2>&5
6915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6916 (exit $ac_status); }; }; then
6919 echo "$as_me: failed program was:" >&5
6920 sed 's/^/| /' conftest.$ac_ext >&5
6925 rm -f core conftest.err conftest.$ac_objext \
6926 conftest$ac_exeext conftest.$ac_ext
6927 LIBS=$ac_check_lib_save_LIBS
6929 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
6930 echo "${ECHO_T}$ac_cv_lib_m_log" >&6; }
6931 if test $ac_cv_lib_m_log = yes; then
6932 cat >>confdefs.h <<_ACEOF
6941 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
6942 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
6943 if test "${ac_cv_lib_socket_socket+set}" = set; then
6944 echo $ECHO_N "(cached) $ECHO_C" >&6
6946 ac_check_lib_save_LIBS=$LIBS
6947 LIBS="-lsocket $LIBS"
6948 cat >conftest.$ac_ext <<_ACEOF
6951 cat confdefs.h >>conftest.$ac_ext
6952 cat >>conftest.$ac_ext <<_ACEOF
6953 /* end confdefs.h. */
6955 /* Override any GCC internal prototype to avoid an error.
6956 Use char because int might match the return type of a GCC
6957 builtin and then its argument prototype would still apply. */
6970 rm -f conftest.$ac_objext conftest$ac_exeext
6971 if { (ac_try="$ac_link"
6973 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6974 *) ac_try_echo
=$ac_try;;
6976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6977 (eval "$ac_link") 2>conftest.er1
6979 grep -v '^ *+' conftest.er1
>conftest.err
6981 cat conftest.err
>&5
6982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6983 (exit $ac_status); } &&
6984 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6985 { (case "(($ac_try" in
6986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6987 *) ac_try_echo=$ac_try;;
6989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6990 (eval "$ac_try") 2>&5
6992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6993 (exit $ac_status); }; } &&
6994 { ac_try='test -s conftest$ac_exeext'
6995 { (case "(($ac_try" in
6996 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6997 *) ac_try_echo
=$ac_try;;
6999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7000 (eval "$ac_try") 2>&5
7002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7003 (exit $ac_status); }; }; then
7004 ac_cv_lib_socket_socket
=yes
7006 echo "$as_me: failed program was:" >&5
7007 sed 's/^/| /' conftest.
$ac_ext >&5
7009 ac_cv_lib_socket_socket
=no
7012 rm -f core conftest.err conftest.
$ac_objext \
7013 conftest
$ac_exeext conftest.
$ac_ext
7014 LIBS
=$ac_check_lib_save_LIBS
7016 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
7017 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
7018 if test $ac_cv_lib_socket_socket = yes; then
7019 cat >>confdefs.h
<<_ACEOF
7020 #define HAVE_LIBSOCKET 1
7023 LIBS
="-lsocket $LIBS"
7028 { echo "$as_me:$LINENO: checking for socket in -lnsl" >&5
7029 echo $ECHO_N "checking for socket in -lnsl... $ECHO_C" >&6; }
7030 if test "${ac_cv_lib_nsl_socket+set}" = set; then
7031 echo $ECHO_N "(cached) $ECHO_C" >&6
7033 ac_check_lib_save_LIBS
=$LIBS
7035 cat >conftest.
$ac_ext <<_ACEOF
7038 cat confdefs.h
>>conftest.
$ac_ext
7039 cat >>conftest.
$ac_ext <<_ACEOF
7040 /* end confdefs.h. */
7042 /* Override any GCC internal prototype to avoid an error.
7043 Use char because int might match the return type of a GCC
7044 builtin and then its argument prototype would still apply. */
7057 rm -f conftest.
$ac_objext conftest
$ac_exeext
7058 if { (ac_try
="$ac_link"
7060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7061 *) ac_try_echo=$ac_try;;
7063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7064 (eval "$ac_link") 2>conftest.er1
7066 grep -v '^ *+' conftest.er1 >conftest.err
7068 cat conftest.err >&5
7069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7070 (exit $ac_status); } &&
7071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7072 { (case "(($ac_try" in
7073 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7074 *) ac_try_echo
=$ac_try;;
7076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7077 (eval "$ac_try") 2>&5
7079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7080 (exit $ac_status); }; } &&
7081 { ac_try
='test -s conftest$ac_exeext'
7082 { (case "(($ac_try" in
7083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7084 *) ac_try_echo=$ac_try;;
7086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7087 (eval "$ac_try") 2>&5
7089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7090 (exit $ac_status); }; }; then
7091 ac_cv_lib_nsl_socket=yes
7093 echo "$as_me: failed program was:" >&5
7094 sed 's/^/| /' conftest.$ac_ext >&5
7096 ac_cv_lib_nsl_socket=no
7099 rm -f core conftest.err conftest.$ac_objext \
7100 conftest$ac_exeext conftest.$ac_ext
7101 LIBS=$ac_check_lib_save_LIBS
7103 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_socket" >&5
7104 echo "${ECHO_T}$ac_cv_lib_nsl_socket" >&6; }
7105 if test $ac_cv_lib_nsl_socket = yes; then
7106 cat >>confdefs.h <<_ACEOF
7107 #define HAVE_LIBNSL 1
7115 { echo "$as_me:$LINENO: checking for herror in -lresolv" >&5
7116 echo $ECHO_N "checking for herror in -lresolv... $ECHO_C" >&6; }
7117 if test "${ac_cv_lib_resolv_herror+set}" = set; then
7118 echo $ECHO_N "(cached) $ECHO_C" >&6
7120 ac_check_lib_save_LIBS=$LIBS
7121 LIBS="-lresolv $LIBS"
7122 cat >conftest.$ac_ext <<_ACEOF
7125 cat confdefs.h >>conftest.$ac_ext
7126 cat >>conftest.$ac_ext <<_ACEOF
7127 /* end confdefs.h. */
7129 /* Override any GCC internal prototype to avoid an error.
7130 Use char because int might match the return type of a GCC
7131 builtin and then its argument prototype would still apply. */
7144 rm -f conftest.$ac_objext conftest$ac_exeext
7145 if { (ac_try="$ac_link"
7147 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7148 *) ac_try_echo
=$ac_try;;
7150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7151 (eval "$ac_link") 2>conftest.er1
7153 grep -v '^ *+' conftest.er1
>conftest.err
7155 cat conftest.err
>&5
7156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7157 (exit $ac_status); } &&
7158 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7159 { (case "(($ac_try" in
7160 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7161 *) ac_try_echo=$ac_try;;
7163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7164 (eval "$ac_try") 2>&5
7166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7167 (exit $ac_status); }; } &&
7168 { ac_try='test -s conftest$ac_exeext'
7169 { (case "(($ac_try" in
7170 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7171 *) ac_try_echo
=$ac_try;;
7173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7174 (eval "$ac_try") 2>&5
7176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7177 (exit $ac_status); }; }; then
7178 ac_cv_lib_resolv_herror
=yes
7180 echo "$as_me: failed program was:" >&5
7181 sed 's/^/| /' conftest.
$ac_ext >&5
7183 ac_cv_lib_resolv_herror
=no
7186 rm -f core conftest.err conftest.
$ac_objext \
7187 conftest
$ac_exeext conftest.
$ac_ext
7188 LIBS
=$ac_check_lib_save_LIBS
7190 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_herror" >&5
7191 echo "${ECHO_T}$ac_cv_lib_resolv_herror" >&6; }
7192 if test $ac_cv_lib_resolv_herror = yes; then
7193 cat >>confdefs.h
<<_ACEOF
7194 #define HAVE_LIBRESOLV 1
7197 LIBS
="-lresolv $LIBS"
7202 { echo "$as_me:$LINENO: checking for nanosleep in -lrt" >&5
7203 echo $ECHO_N "checking for nanosleep in -lrt... $ECHO_C" >&6; }
7204 if test "${ac_cv_lib_rt_nanosleep+set}" = set; then
7205 echo $ECHO_N "(cached) $ECHO_C" >&6
7207 ac_check_lib_save_LIBS
=$LIBS
7209 cat >conftest.
$ac_ext <<_ACEOF
7212 cat confdefs.h
>>conftest.
$ac_ext
7213 cat >>conftest.
$ac_ext <<_ACEOF
7214 /* end confdefs.h. */
7216 /* Override any GCC internal prototype to avoid an error.
7217 Use char because int might match the return type of a GCC
7218 builtin and then its argument prototype would still apply. */
7226 return nanosleep ();
7231 rm -f conftest.
$ac_objext conftest
$ac_exeext
7232 if { (ac_try
="$ac_link"
7234 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7235 *) ac_try_echo=$ac_try;;
7237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7238 (eval "$ac_link") 2>conftest.er1
7240 grep -v '^ *+' conftest.er1 >conftest.err
7242 cat conftest.err >&5
7243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7244 (exit $ac_status); } &&
7245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7246 { (case "(($ac_try" in
7247 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7248 *) ac_try_echo
=$ac_try;;
7250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7251 (eval "$ac_try") 2>&5
7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254 (exit $ac_status); }; } &&
7255 { ac_try
='test -s conftest$ac_exeext'
7256 { (case "(($ac_try" in
7257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7258 *) ac_try_echo=$ac_try;;
7260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7261 (eval "$ac_try") 2>&5
7263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7264 (exit $ac_status); }; }; then
7265 ac_cv_lib_rt_nanosleep=yes
7267 echo "$as_me: failed program was:" >&5
7268 sed 's/^/| /' conftest.$ac_ext >&5
7270 ac_cv_lib_rt_nanosleep=no
7273 rm -f core conftest.err conftest.$ac_objext \
7274 conftest$ac_exeext conftest.$ac_ext
7275 LIBS=$ac_check_lib_save_LIBS
7277 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_nanosleep" >&5
7278 echo "${ECHO_T}$ac_cv_lib_rt_nanosleep" >&6; }
7279 if test $ac_cv_lib_rt_nanosleep = yes; then
7280 cat >>confdefs.h <<_ACEOF
7281 #define HAVE_LIBRT 1
7289 { echo "$as_me:$LINENO: checking for fasttime_init_context in -lfasttime" >&5
7290 echo $ECHO_N "checking for fasttime_init_context in -lfasttime... $ECHO_C" >&6; }
7291 if test "${ac_cv_lib_fasttime_fasttime_init_context+set}" = set; then
7292 echo $ECHO_N "(cached) $ECHO_C" >&6
7294 ac_check_lib_save_LIBS=$LIBS
7295 LIBS="-lfasttime $LIBS"
7296 cat >conftest.$ac_ext <<_ACEOF
7299 cat confdefs.h >>conftest.$ac_ext
7300 cat >>conftest.$ac_ext <<_ACEOF
7301 /* end confdefs.h. */
7303 /* Override any GCC internal prototype to avoid an error.
7304 Use char because int might match the return type of a GCC
7305 builtin and then its argument prototype would still apply. */
7309 char fasttime_init_context ();
7313 return fasttime_init_context ();
7318 rm -f conftest.$ac_objext conftest$ac_exeext
7319 if { (ac_try="$ac_link"
7321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7322 *) ac_try_echo
=$ac_try;;
7324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7325 (eval "$ac_link") 2>conftest.er1
7327 grep -v '^ *+' conftest.er1
>conftest.err
7329 cat conftest.err
>&5
7330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7331 (exit $ac_status); } &&
7332 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7333 { (case "(($ac_try" in
7334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7335 *) ac_try_echo=$ac_try;;
7337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7338 (eval "$ac_try") 2>&5
7340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7341 (exit $ac_status); }; } &&
7342 { ac_try='test -s conftest$ac_exeext'
7343 { (case "(($ac_try" in
7344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7345 *) ac_try_echo
=$ac_try;;
7347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7348 (eval "$ac_try") 2>&5
7350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7351 (exit $ac_status); }; }; then
7352 ac_cv_lib_fasttime_fasttime_init_context
=yes
7354 echo "$as_me: failed program was:" >&5
7355 sed 's/^/| /' conftest.
$ac_ext >&5
7357 ac_cv_lib_fasttime_fasttime_init_context
=no
7360 rm -f core conftest.err conftest.
$ac_objext \
7361 conftest
$ac_exeext conftest.
$ac_ext
7362 LIBS
=$ac_check_lib_save_LIBS
7364 { echo "$as_me:$LINENO: result: $ac_cv_lib_fasttime_fasttime_init_context" >&5
7365 echo "${ECHO_T}$ac_cv_lib_fasttime_fasttime_init_context" >&6; }
7366 if test $ac_cv_lib_fasttime_fasttime_init_context = yes; then
7367 cat >>confdefs.h
<<_ACEOF
7368 #define HAVE_LIBFASTTIME 1
7371 LIBS
="-lfasttime $LIBS"
7376 { echo "$as_me:$LINENO: checking for tsci2_init in -ltsci2" >&5
7377 echo $ECHO_N "checking for tsci2_init in -ltsci2... $ECHO_C" >&6; }
7378 if test "${ac_cv_lib_tsci2_tsci2_init+set}" = set; then
7379 echo $ECHO_N "(cached) $ECHO_C" >&6
7381 ac_check_lib_save_LIBS
=$LIBS
7382 LIBS
="-ltsci2 $LIBS"
7383 cat >conftest.
$ac_ext <<_ACEOF
7386 cat confdefs.h
>>conftest.
$ac_ext
7387 cat >>conftest.
$ac_ext <<_ACEOF
7388 /* end confdefs.h. */
7390 /* Override any GCC internal prototype to avoid an error.
7391 Use char because int might match the return type of a GCC
7392 builtin and then its argument prototype would still apply. */
7400 return tsci2_init ();
7405 rm -f conftest.
$ac_objext conftest
$ac_exeext
7406 if { (ac_try
="$ac_link"
7408 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7409 *) ac_try_echo=$ac_try;;
7411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7412 (eval "$ac_link") 2>conftest.er1
7414 grep -v '^ *+' conftest.er1 >conftest.err
7416 cat conftest.err >&5
7417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7418 (exit $ac_status); } &&
7419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7420 { (case "(($ac_try" in
7421 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7422 *) ac_try_echo
=$ac_try;;
7424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7425 (eval "$ac_try") 2>&5
7427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7428 (exit $ac_status); }; } &&
7429 { ac_try
='test -s conftest$ac_exeext'
7430 { (case "(($ac_try" in
7431 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7432 *) ac_try_echo=$ac_try;;
7434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7435 (eval "$ac_try") 2>&5
7437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7438 (exit $ac_status); }; }; then
7439 ac_cv_lib_tsci2_tsci2_init=yes
7441 echo "$as_me: failed program was:" >&5
7442 sed 's/^/| /' conftest.$ac_ext >&5
7444 ac_cv_lib_tsci2_tsci2_init=no
7447 rm -f core conftest.err conftest.$ac_objext \
7448 conftest$ac_exeext conftest.$ac_ext
7449 LIBS=$ac_check_lib_save_LIBS
7451 { echo "$as_me:$LINENO: result: $ac_cv_lib_tsci2_tsci2_init" >&5
7452 echo "${ECHO_T}$ac_cv_lib_tsci2_tsci2_init" >&6; }
7453 if test $ac_cv_lib_tsci2_tsci2_init = yes; then
7454 cat >>confdefs.h <<_ACEOF
7455 #define HAVE_LIBTSCI2 1
7458 LIBS="-ltsci2 $LIBS"
7464 # Check whether --with-pcap was given.
7465 if test "${with_pcap+set}" = set; then
7467 if test $withval = no
7470 elif test $withval = yes
7485 if test "x$want_pcap" = "xno" ; then
7486 { echo "$as_me:$LINENO: result: no" >&5
7487 echo "${ECHO_T}no" >&6; }
7489 { echo "$as_me:$LINENO: result: yes" >&5
7490 echo "${ECHO_T}yes" >&6; }
7492 if test -z "$pcap_dir"
7494 # Pcap header checks
7495 # XXX need to set a var AC_CHECK_HEADER(pcap.h,,)
7498 # The user didn't specify a directory in which libpcap resides;
7499 # we assume that the current library search path will work,
7500 # but we may have to look for the header in a "pcap"
7501 # subdirectory of "/usr/include" or "/usr/local/include",
7502 # as some systems apparently put "pcap.h" in a "pcap"
7503 # subdirectory, and we also check "$prefix/include" - and
7504 # "$prefix/include/pcap", in case $prefix is set to
7505 # "/usr/include" or "/usr/local/include".
7507 # XXX - should we just add "$prefix/include" to the include
7508 # search path and "$prefix/lib" to the library search path?
7510 { echo "$as_me:$LINENO: checking for extraneous pcap header directories" >&5
7511 echo $ECHO_N "checking for extraneous pcap header directories... $ECHO_C" >&6; }
7513 pcap_dir_list="/usr/include/pcap $prefix/include/pcap $prefix/include"
7514 if test "x$ac_cv_enable_usr_local" = "xyes" ; then
7515 pcap_dir_list="$pcap_dir_list /usr/local/include/pcap"
7517 for pcap_dir in $pcap_dir_list
7519 if test -d $pcap_dir ; then
7520 if test x$pcap_dir != x/usr/include -a x$pcap_dir != x/usr/local/include ; then
7521 CFLAGS="$CFLAGS -I$pcap_dir"
7522 CPPFLAGS="$CPPFLAGS -I$pcap_dir"
7524 found_pcap_dir=" $found_pcap_dir -I$pcap_dir"
7529 if test "$found_pcap_dir" != "" ; then
7530 { echo "$as_me:$LINENO: result: found --$found_pcap_dir added to CFLAGS" >&5
7531 echo "${ECHO_T}found --$found_pcap_dir added to CFLAGS" >&6; }
7533 { echo "$as_me:$LINENO: result: not found" >&5
7534 echo "${ECHO_T}not found" >&6; }
7538 # The user specified a directory in which libpcap resides,
7539 # so add the "include" subdirectory of that directory to
7540 # the include file search path and the "lib" subdirectory
7541 # of that directory to the library search path.
7543 # XXX - if there's also a libpcap in a directory that's
7544 # already in CFLAGS, CPPFLAGS, or LDFLAGS, this won't
7545 # make us find the version in the specified directory,
7546 # as the compiler and/or linker will search that other
7547 # directory before it searches the specified directory.
7549 CFLAGS="$CFLAGS -I$pcap_dir/include"
7550 CPPFLAGS="$CPPFLAGS -I$pcap_dir/include"
7551 LDFLAGS="$LDFLAGS -L$pcap_dir/lib"
7554 LDFLAGS="$LDFLAGS -R$pcap_dir/lib"
7561 if test "${ac_cv_header_pcap_h+set}" = set; then
7562 { echo "$as_me:$LINENO: checking for pcap.h" >&5
7563 echo $ECHO_N "checking for pcap.h... $ECHO_C" >&6; }
7564 if test "${ac_cv_header_pcap_h+set}" = set; then
7565 echo $ECHO_N "(cached) $ECHO_C" >&6
7567 { echo "$as_me:$LINENO: result: $ac_cv_header_pcap_h" >&5
7568 echo "${ECHO_T}$ac_cv_header_pcap_h" >&6; }
7570 # Is the header compilable?
7571 { echo "$as_me:$LINENO: checking pcap.h usability" >&5
7572 echo $ECHO_N "checking pcap.h usability... $ECHO_C" >&6; }
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
7582 rm -f conftest.$ac_objext
7583 if { (ac_try="$ac_compile"
7585 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7586 *) ac_try_echo
=$ac_try;;
7588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7589 (eval "$ac_compile") 2>conftest.er1
7591 grep -v '^ *+' conftest.er1
>conftest.err
7593 cat conftest.err
>&5
7594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7595 (exit $ac_status); } &&
7596 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7597 { (case "(($ac_try" in
7598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7599 *) ac_try_echo=$ac_try;;
7601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7602 (eval "$ac_try") 2>&5
7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605 (exit $ac_status); }; } &&
7606 { ac_try='test -s conftest.$ac_objext'
7607 { (case "(($ac_try" in
7608 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7609 *) ac_try_echo
=$ac_try;;
7611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7612 (eval "$ac_try") 2>&5
7614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7615 (exit $ac_status); }; }; then
7616 ac_header_compiler
=yes
7618 echo "$as_me: failed program was:" >&5
7619 sed 's/^/| /' conftest.
$ac_ext >&5
7621 ac_header_compiler
=no
7624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7625 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7626 echo "${ECHO_T}$ac_header_compiler" >&6; }
7628 # Is the header present?
7629 { echo "$as_me:$LINENO: checking pcap.h presence" >&5
7630 echo $ECHO_N "checking pcap.h presence... $ECHO_C" >&6; }
7631 cat >conftest.
$ac_ext <<_ACEOF
7634 cat confdefs.h
>>conftest.
$ac_ext
7635 cat >>conftest.
$ac_ext <<_ACEOF
7636 /* end confdefs.h. */
7639 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7641 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7642 *) ac_try_echo=$ac_try;;
7644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7645 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7647 grep -v '^ *+' conftest.er1 >conftest.err
7649 cat conftest.err >&5
7650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7651 (exit $ac_status); } >/dev/null; then
7652 if test -s conftest.err; then
7653 ac_cpp_err=$ac_c_preproc_warn_flag
7654 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7661 if test -z "$ac_cpp_err"; then
7662 ac_header_preproc=yes
7664 echo "$as_me: failed program was:" >&5
7665 sed 's/^/| /' conftest.$ac_ext >&5
7667 ac_header_preproc=no
7670 rm -f conftest.err conftest.$ac_ext
7671 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7672 echo "${ECHO_T}$ac_header_preproc" >&6; }
7674 # So? What about this header?
7675 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7677 { echo "$as_me:$LINENO: WARNING: pcap.h: accepted by the compiler, rejected by the preprocessor!" >&5
7678 echo "$as_me: WARNING: pcap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7679 { echo "$as_me:$LINENO: WARNING: pcap.h: proceeding with the compiler's result" >&5
7680 echo "$as_me: WARNING: pcap.h: proceeding with the compiler's result" >&2;}
7681 ac_header_preproc=yes
7684 { echo "$as_me:$LINENO: WARNING: pcap.h: present but cannot be compiled" >&5
7685 echo "$as_me: WARNING: pcap.h: present but cannot be compiled" >&2;}
7686 { echo "$as_me:$LINENO: WARNING: pcap.h: check for missing prerequisite headers?" >&5
7687 echo "$as_me: WARNING: pcap.h: check for missing prerequisite headers?" >&2;}
7688 { echo "$as_me:$LINENO: WARNING: pcap.h: see the Autoconf documentation" >&5
7689 echo "$as_me: WARNING: pcap.h: see the Autoconf documentation" >&2;}
7690 { echo "$as_me:$LINENO: WARNING: pcap.h: section \"Present But Cannot Be Compiled\"" >&5
7691 echo "$as_me: WARNING: pcap.h: section \"Present But Cannot Be Compiled\"" >&2;}
7692 { echo "$as_me:$LINENO: WARNING: pcap.h: proceeding with the preprocessor's result" >&5
7693 echo "$as_me: WARNING: pcap.h: proceeding with the preprocessor's result" >&2;}
7694 { echo "$as_me:$LINENO: WARNING: pcap.h: in the future, the compiler will take precedence" >&5
7695 echo "$as_me: WARNING: pcap.h: in the future, the compiler will take precedence" >&2;}
7697 ## ---------------------------------------- ##
7698 ## Report this to daniel.schaffrath@mac.com ##
7699 ## ---------------------------------------- ##
7701 ) | sed "s/^/$as_me: WARNING: /" >&2
7704 { echo "$as_me:$LINENO: checking for pcap.h" >&5
7705 echo $ECHO_N "checking for pcap.h... $ECHO_C" >&6; }
7706 if test "${ac_cv_header_pcap_h+set}" = set; then
7707 echo $ECHO_N "(cached) $ECHO_C" >&6
7709 ac_cv_header_pcap_h=$ac_header_preproc
7711 { echo "$as_me:$LINENO: result: $ac_cv_header_pcap_h" >&5
7712 echo "${ECHO_T}$ac_cv_header_pcap_h" >&6; }
7715 if test $ac_cv_header_pcap_h = yes; then
7718 { { echo "$as_me:$LINENO: error: Header file pcap.h not found; if you installed libpcap
7719 from source, did you also do \"make install-incl\", and if you installed a
7720 binary package of libpcap, is there also a developer's package of libpcap,
7721 and did you also install that package?" >&5
7722 echo "$as_me: error: Header file pcap.h not found; if you installed libpcap
7723 from source, did you also do \"make install-incl\", and if you installed a
7724 binary package of libpcap, is there also a developer's package of libpcap,
7725 and did you also install that package?" >&2;}
7726 { (exit 1); exit 1; }; }
7732 # Check to see if we find "pcap_open_live" in "-lpcap".
7733 # Also check for various additional libraries that libpcap might
7736 { echo "$as_me:$LINENO: checking for pcap_open_live in -lpcap" >&5
7737 echo $ECHO_N "checking for pcap_open_live in -lpcap... $ECHO_C" >&6; }
7738 if test "${ac_cv_lib_pcap_pcap_open_live+set}" = set; then
7739 echo $ECHO_N "(cached) $ECHO_C" >&6
7741 ac_check_lib_save_LIBS=$LIBS
7742 LIBS="-lpcap $SOCKET_LIBS $NSL_LIBS $LIBS"
7743 cat >conftest.$ac_ext <<_ACEOF
7746 cat confdefs.h >>conftest.$ac_ext
7747 cat >>conftest.$ac_ext <<_ACEOF
7748 /* end confdefs.h. */
7750 /* Override any GCC internal prototype to avoid an error.
7751 Use char because int might match the return type of a GCC
7752 builtin and then its argument prototype would still apply. */
7756 char pcap_open_live ();
7760 return pcap_open_live ();
7765 rm -f conftest.$ac_objext conftest$ac_exeext
7766 if { (ac_try="$ac_link"
7768 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7769 *) ac_try_echo
=$ac_try;;
7771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7772 (eval "$ac_link") 2>conftest.er1
7774 grep -v '^ *+' conftest.er1
>conftest.err
7776 cat conftest.err
>&5
7777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7778 (exit $ac_status); } &&
7779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7780 { (case "(($ac_try" in
7781 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7782 *) ac_try_echo=$ac_try;;
7784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7785 (eval "$ac_try") 2>&5
7787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7788 (exit $ac_status); }; } &&
7789 { ac_try='test -s conftest$ac_exeext'
7790 { (case "(($ac_try" in
7791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7792 *) ac_try_echo
=$ac_try;;
7794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7795 (eval "$ac_try") 2>&5
7797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7798 (exit $ac_status); }; }; then
7799 ac_cv_lib_pcap_pcap_open_live
=yes
7801 echo "$as_me: failed program was:" >&5
7802 sed 's/^/| /' conftest.
$ac_ext >&5
7804 ac_cv_lib_pcap_pcap_open_live
=no
7807 rm -f core conftest.err conftest.
$ac_objext \
7808 conftest
$ac_exeext conftest.
$ac_ext
7809 LIBS
=$ac_check_lib_save_LIBS
7811 { echo "$as_me:$LINENO: result: $ac_cv_lib_pcap_pcap_open_live" >&5
7812 echo "${ECHO_T}$ac_cv_lib_pcap_pcap_open_live" >&6; }
7813 if test $ac_cv_lib_pcap_pcap_open_live = yes; then
7817 cat >>confdefs.h
<<\_ACEOF
7818 #define HAVE_LIBPCAP 1
7824 ac_wireshark_extras_found
=no
7825 ac_save_LIBS
="$LIBS"
7826 for extras
in "-lcfg -lodm" "-lpfring"
7828 { echo "$as_me:$LINENO: checking for pcap_open_live in -lpcap with $extras" >&5
7829 echo $ECHO_N "checking for pcap_open_live in -lpcap with $extras... $ECHO_C" >&6; }
7830 LIBS
="-lpcap $extras"
7832 # XXX - can't we use AC_CHECK_LIB here?
7834 cat >conftest.
$ac_ext <<_ACEOF
7837 cat confdefs.h
>>conftest.
$ac_ext
7838 cat >>conftest.
$ac_ext <<_ACEOF
7839 /* end confdefs.h. */
7847 pcap_open_live(NULL, 0, 0, 0, NULL);
7853 rm -f conftest.
$ac_objext conftest
$ac_exeext
7854 if { (ac_try
="$ac_link"
7856 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7857 *) ac_try_echo=$ac_try;;
7859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7860 (eval "$ac_link") 2>conftest.er1
7862 grep -v '^ *+' conftest.er1 >conftest.err
7864 cat conftest.err >&5
7865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7866 (exit $ac_status); } &&
7867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7868 { (case "(($ac_try" in
7869 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7870 *) ac_try_echo
=$ac_try;;
7872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7873 (eval "$ac_try") 2>&5
7875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7876 (exit $ac_status); }; } &&
7877 { ac_try
='test -s conftest$ac_exeext'
7878 { (case "(($ac_try" in
7879 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7880 *) ac_try_echo=$ac_try;;
7882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7883 (eval "$ac_try") 2>&5
7885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7886 (exit $ac_status); }; }; then
7888 ac_wireshark_extras_found=yes
7889 { echo "$as_me:$LINENO: result: yes" >&5
7890 echo "${ECHO_T}yes" >&6; }
7891 PCAP_LIBS="-lpcap $extras"
7893 cat >>confdefs.h <<\_ACEOF
7894 #define HAVE_LIBPCAP 1
7899 echo "$as_me: failed program was:" >&5
7900 sed 's/^/| /' conftest.$ac_ext >&5
7903 { echo "$as_me:$LINENO: result: no" >&5
7904 echo "${ECHO_T}no" >&6; }
7908 rm -f core conftest.err conftest.$ac_objext \
7909 conftest$ac_exeext conftest.$ac_ext
7910 if test x$ac_wireshark_extras_found = xyes
7915 if test x$ac_wireshark_extras_found = xno
7917 { { echo "$as_me:$LINENO: error: Can't link with library libpcap." >&5
7918 echo "$as_me: error: Can't link with library libpcap." >&2;}
7919 { (exit 1); exit 1; }; }
7928 # Check whether various variables and functions are defined by
7931 ac_save_LIBS="$LIBS"
7932 { echo "$as_me:$LINENO: checking whether pcap_version is defined by libpcap" >&5
7933 echo $ECHO_N "checking whether pcap_version is defined by libpcap... $ECHO_C" >&6; }
7934 LIBS="$PCAP_LIBS $SOCKET_LIBS $NSL_LIBS $LIBS"
7935 cat >conftest.$ac_ext <<_ACEOF
7938 cat confdefs.h >>conftest.$ac_ext
7939 cat >>conftest.$ac_ext <<_ACEOF
7940 /* end confdefs.h. */
7943 extern char *pcap_version;
7949 printf ("%s\n", pcap_version);
7955 rm -f conftest.$ac_objext conftest$ac_exeext
7956 if { (ac_try="$ac_link"
7958 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7959 *) ac_try_echo
=$ac_try;;
7961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7962 (eval "$ac_link") 2>conftest.er1
7964 grep -v '^ *+' conftest.er1
>conftest.err
7966 cat conftest.err
>&5
7967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7968 (exit $ac_status); } &&
7969 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7970 { (case "(($ac_try" in
7971 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7972 *) ac_try_echo=$ac_try;;
7974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7975 (eval "$ac_try") 2>&5
7977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7978 (exit $ac_status); }; } &&
7979 { ac_try='test -s conftest$ac_exeext'
7980 { (case "(($ac_try" in
7981 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7982 *) ac_try_echo
=$ac_try;;
7984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7985 (eval "$ac_try") 2>&5
7987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7988 (exit $ac_status); }; }; then
7989 ac_cv_pcap_version_defined
=yes
7991 echo "$as_me: failed program was:" >&5
7992 sed 's/^/| /' conftest.
$ac_ext >&5
7994 ac_cv_pcap_version_defined
=no
7997 rm -f core conftest.err conftest.
$ac_objext \
7998 conftest
$ac_exeext conftest.
$ac_ext
7999 if test "$ac_cv_pcap_version_defined" = yes ; then
8000 { echo "$as_me:$LINENO: result: yes" >&5
8001 echo "${ECHO_T}yes" >&6; }
8003 cat >>confdefs.h
<<\_ACEOF
8004 #define HAVE_PCAP_VERSION 1
8008 { echo "$as_me:$LINENO: result: no" >&5
8009 echo "${ECHO_T}no" >&6; }
8014 for ac_func
in pcap_open_dead pcap_freecode pcap_breakloop
8016 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8017 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8019 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8020 echo $ECHO_N "(cached) $ECHO_C" >&6
8022 cat >conftest.
$ac_ext <<_ACEOF
8025 cat confdefs.h
>>conftest.
$ac_ext
8026 cat >>conftest.
$ac_ext <<_ACEOF
8027 /* end confdefs.h. */
8028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8030 #define $ac_func innocuous_$ac_func
8032 /* System header to define __stub macros and hopefully few prototypes,
8033 which can conflict with char $ac_func (); below.
8034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8035 <limits.h> exists even on freestanding compilers. */
8038 # include <limits.h>
8040 # include <assert.h>
8045 /* Override any GCC internal prototype to avoid an error.
8046 Use char because int might match the return type of a GCC
8047 builtin and then its argument prototype would still apply. */
8052 /* The GNU C library defines this for functions which it implements
8053 to always fail with ENOSYS. Some functions are actually named
8054 something starting with __ and the normal name is an alias. */
8055 #if defined __stub_$ac_func || defined __stub___$ac_func
8067 rm -f conftest.
$ac_objext conftest
$ac_exeext
8068 if { (ac_try
="$ac_link"
8070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8071 *) ac_try_echo=$ac_try;;
8073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8074 (eval "$ac_link") 2>conftest.er1
8076 grep -v '^ *+' conftest.er1 >conftest.err
8078 cat conftest.err >&5
8079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8080 (exit $ac_status); } &&
8081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8082 { (case "(($ac_try" in
8083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8084 *) ac_try_echo
=$ac_try;;
8086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8087 (eval "$ac_try") 2>&5
8089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8090 (exit $ac_status); }; } &&
8091 { ac_try
='test -s conftest$ac_exeext'
8092 { (case "(($ac_try" in
8093 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8094 *) ac_try_echo=$ac_try;;
8096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8097 (eval "$ac_try") 2>&5
8099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8100 (exit $ac_status); }; }; then
8101 eval "$as_ac_var=yes"
8103 echo "$as_me: failed program was:" >&5
8104 sed 's/^/| /' conftest.$ac_ext >&5
8106 eval "$as_ac_var=no"
8109 rm -f core conftest.err conftest.$ac_objext \
8110 conftest$ac_exeext conftest.$ac_ext
8112 ac_res=`eval echo '${'$as_ac_var'}'`
8113 { echo "$as_me:$LINENO: result: $ac_res" >&5
8114 echo "${ECHO_T}$ac_res" >&6; }
8115 if test `eval echo '${'$as_ac_var'}'` = yes; then
8116 cat >>confdefs.h <<_ACEOF
8117 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
8124 # Later versions of Mac OS X 10.3[.x] ship a pcap.h that
8125 # doesn't define pcap_if_t but ship an 0.8[.x] libpcap,
8126 # so the library has "pcap_findalldevs()", but pcap.h
8127 # doesn't define "pcap_if_t" so you can't actually *use*
8128 # "pcap_findalldevs()".
8130 # That even appears to be true of systems shipped with
8131 # 10.3.4, so it doesn't appear only to be a case of
8132 # Software Update not updating header files.
8134 # (You can work around this by installing the 0.8 header
8137 { echo "$as_me:$LINENO: checking whether pcap_findalldevs is present and usable" >&5
8138 echo $ECHO_N "checking whether pcap_findalldevs is present and usable... $ECHO_C" >&6; }
8139 if test "${ac_cv_func_pcap_findalldevs+set}" = set; then
8140 echo $ECHO_N "(cached) $ECHO_C" >&6
8143 cat >conftest.$ac_ext <<_ACEOF
8147 cat confdefs.h >>conftest.$ac_ext
8148 cat >>conftest.$ac_ext <<_ACEOF
8149 /* end confdefs.h. */
8154 pcap_if_t *devpointer;
8157 pcap_findalldevs(&devpointer, errbuf);
8162 rm -f conftest.$ac_objext conftest$ac_exeext
8163 if { (ac_try="$ac_link"
8165 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8166 *) ac_try_echo
=$ac_try;;
8168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8169 (eval "$ac_link") 2>conftest.er1
8171 grep -v '^ *+' conftest.er1
>conftest.err
8173 cat conftest.err
>&5
8174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8175 (exit $ac_status); } &&
8176 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8177 { (case "(($ac_try" in
8178 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8179 *) ac_try_echo=$ac_try;;
8181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8182 (eval "$ac_try") 2>&5
8184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8185 (exit $ac_status); }; } &&
8186 { ac_try='test -s conftest$ac_exeext'
8187 { (case "(($ac_try" in
8188 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8189 *) ac_try_echo
=$ac_try;;
8191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8192 (eval "$ac_try") 2>&5
8194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195 (exit $ac_status); }; }; then
8197 ac_cv_func_pcap_findalldevs
=yes
8200 echo "$as_me: failed program was:" >&5
8201 sed 's/^/| /' conftest.
$ac_ext >&5
8204 ac_cv_func_pcap_findalldevs
=no
8208 rm -f core conftest.err conftest.
$ac_objext \
8209 conftest
$ac_exeext conftest.
$ac_ext
8212 { echo "$as_me:$LINENO: result: $ac_cv_func_pcap_findalldevs" >&5
8213 echo "${ECHO_T}$ac_cv_func_pcap_findalldevs" >&6; }
8215 # Don't check for other new routines that showed up after
8216 # "pcap_findalldevs()" if we don't have a usable
8217 # "pcap_findalldevs()", so we don't end up using them if the
8218 # "pcap.h" is crufty and old and doesn't declare them.
8220 if test $ac_cv_func_pcap_findalldevs = "yes" ; then
8222 cat >>confdefs.h
<<\_ACEOF
8223 #define HAVE_PCAP_FINDALLDEVS 1
8228 for ac_func
in pcap_datalink_val_to_name pcap_datalink_name_to_val
8230 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8231 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8233 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8234 echo $ECHO_N "(cached) $ECHO_C" >&6
8236 cat >conftest.
$ac_ext <<_ACEOF
8239 cat confdefs.h
>>conftest.
$ac_ext
8240 cat >>conftest.
$ac_ext <<_ACEOF
8241 /* end confdefs.h. */
8242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8244 #define $ac_func innocuous_$ac_func
8246 /* System header to define __stub macros and hopefully few prototypes,
8247 which can conflict with char $ac_func (); below.
8248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8249 <limits.h> exists even on freestanding compilers. */
8252 # include <limits.h>
8254 # include <assert.h>
8259 /* Override any GCC internal prototype to avoid an error.
8260 Use char because int might match the return type of a GCC
8261 builtin and then its argument prototype would still apply. */
8266 /* The GNU C library defines this for functions which it implements
8267 to always fail with ENOSYS. Some functions are actually named
8268 something starting with __ and the normal name is an alias. */
8269 #if defined __stub_$ac_func || defined __stub___$ac_func
8281 rm -f conftest.
$ac_objext conftest
$ac_exeext
8282 if { (ac_try
="$ac_link"
8284 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8285 *) ac_try_echo=$ac_try;;
8287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8288 (eval "$ac_link") 2>conftest.er1
8290 grep -v '^ *+' conftest.er1 >conftest.err
8292 cat conftest.err >&5
8293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8294 (exit $ac_status); } &&
8295 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8296 { (case "(($ac_try" in
8297 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8298 *) ac_try_echo
=$ac_try;;
8300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8301 (eval "$ac_try") 2>&5
8303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8304 (exit $ac_status); }; } &&
8305 { ac_try
='test -s conftest$ac_exeext'
8306 { (case "(($ac_try" in
8307 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8308 *) ac_try_echo=$ac_try;;
8310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8311 (eval "$ac_try") 2>&5
8313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8314 (exit $ac_status); }; }; then
8315 eval "$as_ac_var=yes"
8317 echo "$as_me: failed program was:" >&5
8318 sed 's/^/| /' conftest.$ac_ext >&5
8320 eval "$as_ac_var=no"
8323 rm -f core conftest.err conftest.$ac_objext \
8324 conftest$ac_exeext conftest.$ac_ext
8326 ac_res=`eval echo '${'$as_ac_var'}'`
8327 { echo "$as_me:$LINENO: result: $ac_res" >&5
8328 echo "${ECHO_T}$ac_res" >&6; }
8329 if test `eval echo '${'$as_ac_var'}'` = yes; then
8330 cat >>confdefs.h <<_ACEOF
8331 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
8340 for ac_func in pcap_list_datalinks pcap_set_datalink pcap_lib_version
8342 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
8343 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8345 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8346 echo $ECHO_N "(cached) $ECHO_C" >&6
8348 cat >conftest.$ac_ext <<_ACEOF
8351 cat confdefs.h >>conftest.$ac_ext
8352 cat >>conftest.$ac_ext <<_ACEOF
8353 /* end confdefs.h. */
8354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8356 #define $ac_func innocuous_$ac_func
8358 /* System header to define __stub macros and hopefully few prototypes,
8359 which can conflict with char $ac_func (); below.
8360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8361 <limits.h> exists even on freestanding compilers. */
8364 # include <limits.h>
8366 # include <assert.h>
8371 /* Override any GCC internal prototype to avoid an error.
8372 Use char because int might match the return type of a GCC
8373 builtin and then its argument prototype would still apply. */
8378 /* The GNU C library defines this for functions which it implements
8379 to always fail with ENOSYS. Some functions are actually named
8380 something starting with __ and the normal name is an alias. */
8381 #if defined __stub_$ac_func || defined __stub___$ac_func
8393 rm -f conftest.$ac_objext conftest$ac_exeext
8394 if { (ac_try="$ac_link"
8396 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8397 *) ac_try_echo
=$ac_try;;
8399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8400 (eval "$ac_link") 2>conftest.er1
8402 grep -v '^ *+' conftest.er1
>conftest.err
8404 cat conftest.err
>&5
8405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); } &&
8407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8408 { (case "(($ac_try" in
8409 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8410 *) ac_try_echo=$ac_try;;
8412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8413 (eval "$ac_try") 2>&5
8415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8416 (exit $ac_status); }; } &&
8417 { ac_try='test -s conftest$ac_exeext'
8418 { (case "(($ac_try" in
8419 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8420 *) ac_try_echo
=$ac_try;;
8422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8423 (eval "$ac_try") 2>&5
8425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8426 (exit $ac_status); }; }; then
8427 eval "$as_ac_var=yes"
8429 echo "$as_me: failed program was:" >&5
8430 sed 's/^/| /' conftest.
$ac_ext >&5
8432 eval "$as_ac_var=no"
8435 rm -f core conftest.err conftest.
$ac_objext \
8436 conftest
$ac_exeext conftest.
$ac_ext
8438 ac_res
=`eval echo '${'$as_ac_var'}'`
8439 { echo "$as_me:$LINENO: result: $ac_res" >&5
8440 echo "${ECHO_T}$ac_res" >&6; }
8441 if test `eval echo '${'$as_ac_var'}'` = yes; then
8442 cat >>confdefs.h
<<_ACEOF
8443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8450 for ac_func
in pcap_get_selectable_fd
8452 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8453 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8455 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8456 echo $ECHO_N "(cached) $ECHO_C" >&6
8458 cat >conftest.
$ac_ext <<_ACEOF
8461 cat confdefs.h
>>conftest.
$ac_ext
8462 cat >>conftest.
$ac_ext <<_ACEOF
8463 /* end confdefs.h. */
8464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8466 #define $ac_func innocuous_$ac_func
8468 /* System header to define __stub macros and hopefully few prototypes,
8469 which can conflict with char $ac_func (); below.
8470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8471 <limits.h> exists even on freestanding compilers. */
8474 # include <limits.h>
8476 # include <assert.h>
8481 /* Override any GCC internal prototype to avoid an error.
8482 Use char because int might match the return type of a GCC
8483 builtin and then its argument prototype would still apply. */
8488 /* The GNU C library defines this for functions which it implements
8489 to always fail with ENOSYS. Some functions are actually named
8490 something starting with __ and the normal name is an alias. */
8491 #if defined __stub_$ac_func || defined __stub___$ac_func
8503 rm -f conftest.
$ac_objext conftest
$ac_exeext
8504 if { (ac_try
="$ac_link"
8506 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8507 *) ac_try_echo=$ac_try;;
8509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8510 (eval "$ac_link") 2>conftest.er1
8512 grep -v '^ *+' conftest.er1 >conftest.err
8514 cat conftest.err >&5
8515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516 (exit $ac_status); } &&
8517 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8518 { (case "(($ac_try" in
8519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8520 *) ac_try_echo
=$ac_try;;
8522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8523 (eval "$ac_try") 2>&5
8525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8526 (exit $ac_status); }; } &&
8527 { ac_try
='test -s conftest$ac_exeext'
8528 { (case "(($ac_try" in
8529 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8530 *) ac_try_echo=$ac_try;;
8532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8533 (eval "$ac_try") 2>&5
8535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 (exit $ac_status); }; }; then
8537 eval "$as_ac_var=yes"
8539 echo "$as_me: failed program was:" >&5
8540 sed 's/^/| /' conftest.$ac_ext >&5
8542 eval "$as_ac_var=no"
8545 rm -f core conftest.err conftest.$ac_objext \
8546 conftest$ac_exeext conftest.$ac_ext
8548 ac_res=`eval echo '${'$as_ac_var'}'`
8549 { echo "$as_me:$LINENO: result: $ac_res" >&5
8550 echo "${ECHO_T}$ac_res" >&6; }
8551 if test `eval echo '${'$as_ac_var'}'` = yes; then
8552 cat >>confdefs.h <<_ACEOF
8553 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
8560 LIBS="$ac_save_LIBS"
8564 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8565 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
8566 if test "${ac_cv_header_stdc+set}" = set; then
8567 echo $ECHO_N "(cached) $ECHO_C" >&6
8569 cat >conftest.$ac_ext <<_ACEOF
8572 cat confdefs.h >>conftest.$ac_ext
8573 cat >>conftest.$ac_ext <<_ACEOF
8574 /* end confdefs.h. */
8588 rm -f conftest.$ac_objext
8589 if { (ac_try="$ac_compile"
8591 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8592 *) ac_try_echo
=$ac_try;;
8594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8595 (eval "$ac_compile") 2>conftest.er1
8597 grep -v '^ *+' conftest.er1
>conftest.err
8599 cat conftest.err
>&5
8600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601 (exit $ac_status); } &&
8602 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8603 { (case "(($ac_try" in
8604 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8605 *) ac_try_echo=$ac_try;;
8607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8608 (eval "$ac_try") 2>&5
8610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8611 (exit $ac_status); }; } &&
8612 { ac_try='test -s conftest.$ac_objext'
8613 { (case "(($ac_try" in
8614 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8615 *) ac_try_echo
=$ac_try;;
8617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8618 (eval "$ac_try") 2>&5
8620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621 (exit $ac_status); }; }; then
8622 ac_cv_header_stdc
=yes
8624 echo "$as_me: failed program was:" >&5
8625 sed 's/^/| /' conftest.
$ac_ext >&5
8627 ac_cv_header_stdc
=no
8630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8632 if test $ac_cv_header_stdc = yes; then
8633 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8634 cat >conftest.
$ac_ext <<_ACEOF
8637 cat confdefs.h
>>conftest.
$ac_ext
8638 cat >>conftest.
$ac_ext <<_ACEOF
8639 /* end confdefs.h. */
8643 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8644 $EGREP "memchr" >/dev
/null
2>&1; then
8647 ac_cv_header_stdc
=no
8653 if test $ac_cv_header_stdc = yes; then
8654 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8655 cat >conftest.
$ac_ext <<_ACEOF
8658 cat confdefs.h
>>conftest.
$ac_ext
8659 cat >>conftest.
$ac_ext <<_ACEOF
8660 /* end confdefs.h. */
8664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8665 $EGREP "free" >/dev
/null
2>&1; then
8668 ac_cv_header_stdc
=no
8674 if test $ac_cv_header_stdc = yes; then
8675 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8676 if test "$cross_compiling" = yes; then
8679 cat >conftest.
$ac_ext <<_ACEOF
8682 cat confdefs.h
>>conftest.
$ac_ext
8683 cat >>conftest.
$ac_ext <<_ACEOF
8684 /* end confdefs.h. */
8687 #if ((' ' & 0x0FF) == 0x020)
8688 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8689 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8691 # define ISLOWER(c) \
8692 (('a' <= (c) && (c) <= 'i') \
8693 || ('j' <= (c) && (c) <= 'r') \
8694 || ('s' <= (c) && (c) <= 'z'))
8695 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8698 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8703 for (i = 0; i < 256; i++)
8704 if (XOR (islower (i), ISLOWER (i))
8705 || toupper (i) != TOUPPER (i))
8710 rm -f conftest
$ac_exeext
8711 if { (ac_try
="$ac_link"
8713 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8714 *) ac_try_echo=$ac_try;;
8716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8717 (eval "$ac_link") 2>&5
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8721 { (case "(($ac_try" in
8722 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8723 *) ac_try_echo
=$ac_try;;
8725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8726 (eval "$ac_try") 2>&5
8728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8729 (exit $ac_status); }; }; then
8732 echo "$as_me: program exited with status $ac_status" >&5
8733 echo "$as_me: failed program was:" >&5
8734 sed 's/^/| /' conftest.
$ac_ext >&5
8737 ac_cv_header_stdc
=no
8739 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8745 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8746 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8747 if test $ac_cv_header_stdc = yes; then
8749 cat >>confdefs.h
<<\_ACEOF
8750 #define STDC_HEADERS 1
8784 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8785 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8786 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8788 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8789 echo $ECHO_N "(cached) $ECHO_C" >&6
8791 ac_res
=`eval echo '${'$as_ac_Header'}'`
8792 { echo "$as_me:$LINENO: result: $ac_res" >&5
8793 echo "${ECHO_T}$ac_res" >&6; }
8795 # Is the header compilable?
8796 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8797 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8798 cat >conftest.
$ac_ext <<_ACEOF
8801 cat confdefs.h
>>conftest.
$ac_ext
8802 cat >>conftest.
$ac_ext <<_ACEOF
8803 /* end confdefs.h. */
8804 $ac_includes_default
8805 #include <$ac_header>
8807 rm -f conftest.
$ac_objext
8808 if { (ac_try
="$ac_compile"
8810 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8811 *) ac_try_echo=$ac_try;;
8813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8814 (eval "$ac_compile") 2>conftest.er1
8816 grep -v '^ *+' conftest.er1 >conftest.err
8818 cat conftest.err >&5
8819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820 (exit $ac_status); } &&
8821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8822 { (case "(($ac_try" in
8823 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8824 *) ac_try_echo
=$ac_try;;
8826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8827 (eval "$ac_try") 2>&5
8829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830 (exit $ac_status); }; } &&
8831 { ac_try
='test -s conftest.$ac_objext'
8832 { (case "(($ac_try" in
8833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8834 *) ac_try_echo=$ac_try;;
8836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8837 (eval "$ac_try") 2>&5
8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8840 (exit $ac_status); }; }; then
8841 ac_header_compiler=yes
8843 echo "$as_me: failed program was:" >&5
8844 sed 's/^/| /' conftest.$ac_ext >&5
8846 ac_header_compiler=no
8849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8850 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8851 echo "${ECHO_T}$ac_header_compiler" >&6; }
8853 # Is the header present?
8854 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8855 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8856 cat >conftest.$ac_ext <<_ACEOF
8859 cat confdefs.h >>conftest.$ac_ext
8860 cat >>conftest.$ac_ext <<_ACEOF
8861 /* end confdefs.h. */
8862 #include <$ac_header>
8864 if { (ac_try="$ac_cpp conftest.$ac_ext"
8866 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8867 *) ac_try_echo
=$ac_try;;
8869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8870 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8872 grep -v '^ *+' conftest.er1
>conftest.err
8874 cat conftest.err
>&5
8875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8876 (exit $ac_status); } >/dev
/null
; then
8877 if test -s conftest.err
; then
8878 ac_cpp_err
=$ac_c_preproc_warn_flag
8879 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8886 if test -z "$ac_cpp_err"; then
8887 ac_header_preproc
=yes
8889 echo "$as_me: failed program was:" >&5
8890 sed 's/^/| /' conftest.
$ac_ext >&5
8892 ac_header_preproc
=no
8895 rm -f conftest.err conftest.
$ac_ext
8896 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8897 echo "${ECHO_T}$ac_header_preproc" >&6; }
8899 # So? What about this header?
8900 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8902 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8903 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8904 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8905 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8906 ac_header_preproc
=yes
8909 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8910 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8911 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8912 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8913 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8914 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8915 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8916 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8917 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8918 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8919 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8920 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8922 ## ---------------------------------------- ##
8923 ## Report this to daniel.schaffrath@mac.com ##
8924 ## ---------------------------------------- ##
8926 ) |
sed "s/^/$as_me: WARNING: /" >&2
8929 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8931 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8932 echo $ECHO_N "(cached) $ECHO_C" >&6
8934 eval "$as_ac_Header=\$ac_header_preproc"
8936 ac_res
=`eval echo '${'$as_ac_Header'}'`
8937 { echo "$as_me:$LINENO: result: $ac_res" >&5
8938 echo "${ECHO_T}$ac_res" >&6; }
8941 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8942 cat >>confdefs.h
<<_ACEOF
8943 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8951 ac_config_headers
="$ac_config_headers config.h"
8953 ac_config_files
="$ac_config_files Makefile src/Makefile"
8956 cat >confcache
<<\_ACEOF
8957 # This file is a shell script that caches the results of configure
8958 # tests run on this system so they can be shared between configure
8959 # scripts and configure runs, see configure's option --config-cache.
8960 # It is not useful on other systems. If it contains results you don't
8961 # want to keep, you may remove or edit it.
8963 # config.status only pays attention to the cache file if you give it
8964 # the --recheck option to rerun configure.
8966 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8967 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8972 # The following way of writing the cache mishandles newlines in values,
8973 # but we know of no workaround that is simple, portable, and efficient.
8974 # So, we kill variables containing newlines.
8975 # Ultrix sh set writes to stderr and can't be redirected directly,
8976 # and sets the high bit in the cache file unless we assign to the vars.
8978 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8979 eval ac_val
=\$
$ac_var
8983 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
8984 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
8987 _ | IFS | as_nl
) ;; #(
8988 *) $as_unset $ac_var ;;
8994 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8995 *${as_nl}ac_space
=\
*)
8996 # `set' does not quote correctly, so add quotes (double-quote
8997 # substitution turns \\\\ into \\, and sed turns \\ into \).
9000 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9003 # `set' quotes correctly as required by POSIX, so do not add quotes.
9004 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9013 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9015 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9017 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
9018 if test -w "$cache_file"; then
9019 test "x$cache_file" != "x/dev/null" &&
9020 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
9021 echo "$as_me: updating cache $cache_file" >&6;}
9022 cat confcache
>$cache_file
9024 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
9025 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9030 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9031 # Let make expand exec_prefix.
9032 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9034 DEFS
=-DHAVE_CONFIG_H
9038 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
9039 # 1. Remove the extension, and $U if already installed.
9040 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
9041 ac_i
=`echo "$ac_i" | sed "$ac_script"`
9042 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9043 # will be set to the directory where LIBOBJS objects are built.
9044 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9045 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
9049 LTLIBOBJS
=$ac_ltlibobjs
9052 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9053 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
9054 Usually this means the macro was only invoked conditionally." >&5
9055 echo "$as_me: error: conditional \"AMDEP\" was never defined.
9056 Usually this means the macro was only invoked conditionally." >&2;}
9057 { (exit 1); exit 1; }; }
9059 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9060 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9061 Usually this means the macro was only invoked conditionally." >&5
9062 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9063 Usually this means the macro was only invoked conditionally." >&2;}
9064 { (exit 1); exit 1; }; }
9067 : ${CONFIG_STATUS=./config.status}
9068 ac_clean_files_save
=$ac_clean_files
9069 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9070 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9071 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9072 cat >$CONFIG_STATUS <<_ACEOF
9074 # Generated by $as_me.
9075 # Run this file to recreate the current configuration.
9076 # Compiler output produced by configure, useful for debugging
9077 # configure, is in config.log if it exists.
9082 SHELL=\${CONFIG_SHELL-$SHELL}
9085 cat >>$CONFIG_STATUS <<\_ACEOF
9086 ## --------------------- ##
9087 ## M4sh Initialization. ##
9088 ## --------------------- ##
9090 # Be Bourne compatible
9091 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
9094 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9095 # is contrary to our usage. Disable this feature.
9096 alias -g '${1+"$@"}'='"$@"'
9097 setopt NO_GLOB_SUBST
9099 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
9101 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
9102 DUALCASE
=1; export DUALCASE
# for MKS sh
9106 # Avoid depending upon Character Ranges.
9107 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9108 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9109 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9110 as_cr_digits
='0123456789'
9111 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9113 # The user is always right.
9114 if test "${PATH_SEPARATOR+set}" != set; then
9115 echo "#! /bin/sh" >conf$$.sh
9116 echo "exit 0" >>conf$$.sh
9118 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9126 # Support unset when possible.
9127 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
9135 # We need space, tab and new line, in precisely that order. Quoting is
9136 # there to prevent editors from complaining about space-tab.
9137 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9138 # splitting by setting IFS to empty value.)
9143 # Find who we are. Look in the path if we contain no directory separator.
9145 *[\\/]* ) as_myself
=$0 ;;
9146 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9150 test -z "$as_dir" && as_dir
=.
9151 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
9157 # We did not find ourselves, most probably we were run as `sh COMMAND'
9158 # in which case we are not to be found in the path.
9159 if test "x$as_myself" = x
; then
9162 if test ! -f "$as_myself"; then
9163 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9164 { (exit 1); exit 1; }
9167 # Work around bugs in pre-3.0 UWIN ksh.
9168 for as_var
in ENV MAIL MAILPATH
9169 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
9177 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9178 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9179 LC_TELEPHONE LC_TIME
9181 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9182 eval $as_var=C
; export $as_var
9184 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
9188 # Required to use basename.
9189 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9190 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9196 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9197 as_basename
=basename
9203 # Name of the executable.
9204 as_me
=`$as_basename -- "$0" ||
9205 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9206 X"$0" : 'X\(//\)$' \| \
9207 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9209 sed '/^.*\/\([^/][^/]*\)\/*$/{
9230 test "x$as_lineno_1" != "x$as_lineno_2" &&
9231 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
9233 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9234 # uniformly replaced by the line number. The first 'sed' inserts a
9235 # line-number line after each line using $LINENO; the second 'sed'
9236 # does the real work. The second script uses 'N' to pair each
9237 # line-number line with the line containing $LINENO, and appends
9238 # trailing '-' during substitution so that $LINENO is not a special
9240 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9241 # scripts with optimization help from Paolo Bonzini. Blame Lee
9242 # E. McMahon (1931-1989) for sed's syntax. :-)
9254 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9258 chmod +x
"$as_me.lineno" ||
9259 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9260 { (exit 1); exit 1; }; }
9262 # Don't try to exec as it changes $[0], causing all sort of problems
9263 # (the dirname of $[0] is not the place where we might find the
9264 # original and so on. Autoconf is especially sensitive to this).
9266 # Exit status is that of the last command.
9271 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
9277 ECHO_C
= ECHO_N
= ECHO_T
=
9280 case `echo 'x\c'` in
9281 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
9288 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9289 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9295 rm -f conf$$ conf$$.exe conf$$.
file
9296 if test -d conf$$.dir
; then
9297 rm -f conf$$.dir
/conf$$.
file
9303 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9305 # ... but there are two gotchas:
9306 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9307 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9308 # In both cases, we have to default to `cp -p'.
9309 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
9311 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9316 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
9317 rmdir conf$$.dir
2>/dev
/null
9319 if mkdir
-p .
2>/dev
/null
; then
9322 test -d .
/-p && rmdir .
/-p
9326 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
9327 # systems may use methods other than mode bits to determine executability.
9328 cat >conf$$.
file <<_ASEOF
9332 chmod +x conf$$.
file
9333 if test -x conf$$.
file >/dev
/null
2>&1; then
9334 as_executable_p
="test -x"
9340 # Sed expression to map a string onto a valid CPP name.
9341 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9343 # Sed expression to map a string onto a valid variable name.
9344 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9349 # Save the log message, to keep $[0] and so on meaningful, and to
9350 # report actual input values of CONFIG_FILES etc. instead of their
9351 # values after options handling.
9353 This file was extended by flowgrind $as_me 0.12, which was
9354 generated by GNU Autoconf 2.60. Invocation command line was
9356 CONFIG_FILES = $CONFIG_FILES
9357 CONFIG_HEADERS = $CONFIG_HEADERS
9358 CONFIG_LINKS = $CONFIG_LINKS
9359 CONFIG_COMMANDS = $CONFIG_COMMANDS
9362 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9367 cat >>$CONFIG_STATUS <<_ACEOF
9368 # Files that config.status was made for.
9369 config_files="$ac_config_files"
9370 config_headers="$ac_config_headers"
9371 config_commands="$ac_config_commands"
9375 cat >>$CONFIG_STATUS <<\_ACEOF
9377 \`$as_me' instantiates files from templates according to the
9378 current configuration.
9380 Usage: $0 [OPTIONS] [FILE]...
9382 -h, --help print this help, then exit
9383 -V, --version print version number, then exit
9384 -q, --quiet do not print progress messages
9385 -d, --debug don't remove temporary files
9386 --recheck update $as_me by reconfiguring in the same conditions
9387 --file=FILE[:TEMPLATE]
9388 instantiate the configuration file FILE
9389 --header=FILE[:TEMPLATE]
9390 instantiate the configuration header FILE
9392 Configuration files:
9395 Configuration headers:
9398 Configuration commands:
9401 Report bugs to <bug-autoconf@gnu.org>."
9404 cat >>$CONFIG_STATUS <<_ACEOF
9406 flowgrind config.status 0.12
9407 configured by $0, generated by GNU Autoconf 2.60,
9408 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9410 Copyright (C) 2006 Free Software Foundation, Inc.
9411 This config.status script is free software; the Free Software Foundation
9412 gives unlimited permission to copy, distribute and modify it."
9419 cat >>$CONFIG_STATUS <<\_ACEOF
9420 # If no file are specified by the user, then we need to provide default
9421 # value. By we need to know if files were specified by the user.
9427 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9428 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
9439 # Handling of the options.
9440 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9442 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
9443 echo "$ac_cs_version"; exit ;;
9444 --debug |
--debu |
--deb |
--de |
--d |
-d )
9446 --file |
--fil |
--fi |
--f )
9448 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9449 ac_need_defaults
=false
;;
9450 --header |
--heade |
--head |
--hea )
9452 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9453 ac_need_defaults
=false
;;
9455 # Conflict between --help and --header
9456 { echo "$as_me: error: ambiguous option: $1
9457 Try \`$0 --help' for more information." >&2
9458 { (exit 1); exit 1; }; };;
9459 --help |
--hel |
-h )
9460 echo "$ac_cs_usage"; exit ;;
9461 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9462 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9466 -*) { echo "$as_me: error: unrecognized option: $1
9467 Try \`$0 --help' for more information." >&2
9468 { (exit 1); exit 1; }; } ;;
9470 *) ac_config_targets
="$ac_config_targets $1"
9471 ac_need_defaults
=false
;;
9477 ac_configure_extra_args
=
9479 if $ac_cs_silent; then
9481 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9485 cat >>$CONFIG_STATUS <<_ACEOF
9486 if \$ac_cs_recheck; then
9487 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9490 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9494 cat >>$CONFIG_STATUS <<\_ACEOF
9498 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9499 ## Running $as_me. ##
9505 cat >>$CONFIG_STATUS <<_ACEOF
9509 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9513 cat >>$CONFIG_STATUS <<\_ACEOF
9515 # Handling of arguments.
9516 for ac_config_target
in $ac_config_targets
9518 case $ac_config_target in
9519 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
9520 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
9521 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9522 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
9524 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9525 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9526 { (exit 1); exit 1; }; };;
9531 # If the user did not use the arguments to specify the items to instantiate,
9532 # then the envvar interface is used. Set only those that are not.
9533 # We use the long form for the default assignment because of an extremely
9534 # bizarre bug on SunOS 4.1.3.
9535 if $ac_need_defaults; then
9536 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9537 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9538 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9541 # Have a temporary directory for convenience. Make it in the build tree
9542 # simply because there is no reason against having it here, and in addition,
9543 # creating and moving files from /tmp can sometimes cause problems.
9544 # Hook for its removal unless debugging.
9545 # Note that there is a small window in which the directory will not be cleaned:
9546 # after its creation but before its name has been assigned to `$tmp'.
9550 trap 'exit_status=$?
9551 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9553 trap '{ (exit 1); exit 1; }' 1 2 13 15
9555 # Create a (secure) tmp directory for tmp files.
9558 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9559 test -n "$tmp" && test -d "$tmp"
9562 tmp
=.
/conf$$
-$RANDOM
9563 (umask 077 && mkdir
"$tmp")
9566 echo "$me: cannot create a temporary directory in ." >&2
9567 { (exit 1); exit 1; }
9571 # Set up the sed scripts for CONFIG_FILES section.
9574 # No need to generate the scripts if there are no CONFIG_FILES.
9575 # This happens for instance when ./config.status config.h
9576 if test -n "$CONFIG_FILES"; then
9583 for ac_last_try
in false false false false false
:; do
9584 cat >conf$
$subs.
sed <<_ACEOF
9585 SHELL!$SHELL$ac_delim
9586 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
9587 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
9588 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
9589 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
9590 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
9591 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
9592 exec_prefix!$exec_prefix$ac_delim
9593 prefix!$prefix$ac_delim
9594 program_transform_name!$program_transform_name$ac_delim
9595 bindir!$bindir$ac_delim
9596 sbindir!$sbindir$ac_delim
9597 libexecdir!$libexecdir$ac_delim
9598 datarootdir!$datarootdir$ac_delim
9599 datadir!$datadir$ac_delim
9600 sysconfdir!$sysconfdir$ac_delim
9601 sharedstatedir!$sharedstatedir$ac_delim
9602 localstatedir!$localstatedir$ac_delim
9603 includedir!$includedir$ac_delim
9604 oldincludedir!$oldincludedir$ac_delim
9605 docdir!$docdir$ac_delim
9606 infodir!$infodir$ac_delim
9607 htmldir!$htmldir$ac_delim
9608 dvidir!$dvidir$ac_delim
9609 pdfdir!$pdfdir$ac_delim
9610 psdir!$psdir$ac_delim
9611 libdir!$libdir$ac_delim
9612 localedir!$localedir$ac_delim
9613 mandir!$mandir$ac_delim
9615 ECHO_C!$ECHO_C$ac_delim
9616 ECHO_N!$ECHO_N$ac_delim
9617 ECHO_T!$ECHO_T$ac_delim
9619 build_alias!$build_alias$ac_delim
9620 host_alias!$host_alias$ac_delim
9621 target_alias!$target_alias$ac_delim
9622 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
9623 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
9624 INSTALL_DATA!$INSTALL_DATA$ac_delim
9625 CYGPATH_W!$CYGPATH_W$ac_delim
9626 PACKAGE!$PACKAGE$ac_delim
9627 VERSION!$VERSION$ac_delim
9628 ACLOCAL!$ACLOCAL$ac_delim
9629 AUTOCONF!$AUTOCONF$ac_delim
9630 AUTOMAKE!$AUTOMAKE$ac_delim
9631 AUTOHEADER!$AUTOHEADER$ac_delim
9632 MAKEINFO!$MAKEINFO$ac_delim
9633 install_sh!$install_sh$ac_delim
9634 STRIP!$STRIP$ac_delim
9635 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
9636 mkdir_p!$mkdir_p$ac_delim
9638 SET_MAKE!$SET_MAKE$ac_delim
9639 am__leading_dot!$am__leading_dot$ac_delim
9640 AMTAR!$AMTAR$ac_delim
9641 am__tar!$am__tar$ac_delim
9642 am__untar!$am__untar$ac_delim
9644 CFLAGS!$CFLAGS$ac_delim
9645 LDFLAGS!$LDFLAGS$ac_delim
9646 CPPFLAGS!$CPPFLAGS$ac_delim
9647 ac_ct_CC!$ac_ct_CC$ac_delim
9648 EXEEXT!$EXEEXT$ac_delim
9649 OBJEXT!$OBJEXT$ac_delim
9650 DEPDIR!$DEPDIR$ac_delim
9651 am__include!$am__include$ac_delim
9652 am__quote!$am__quote$ac_delim
9653 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
9654 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
9655 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
9656 CCDEPMODE!$CCDEPMODE$ac_delim
9657 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
9658 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
9660 build!$build$ac_delim
9661 build_cpu!$build_cpu$ac_delim
9662 build_vendor!$build_vendor$ac_delim
9663 build_os!$build_os$ac_delim
9665 host_cpu!$host_cpu$ac_delim
9666 host_vendor!$host_vendor$ac_delim
9667 host_os!$host_os$ac_delim
9670 EGREP!$EGREP$ac_delim
9671 LIBOBJS!$LIBOBJS$ac_delim
9672 PCAP_LIBS!$PCAP_LIBS$ac_delim
9673 LTLIBOBJS!$LTLIBOBJS$ac_delim
9676 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 89; then
9678 elif $ac_last_try; then
9679 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9680 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9681 { (exit 1); exit 1; }; }
9683 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
9687 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9688 if test -n "$ac_eof"; then
9689 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
9690 ac_eof
=`expr $ac_eof + 1`
9693 cat >>$CONFIG_STATUS <<_ACEOF
9694 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
9695 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
9698 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9699 s/^/s,@/; s/!/@,|#_!!_#|/
9702 s/'"$ac_delim"'$/,g/; t
9704 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9705 ' >>$CONFIG_STATUS <conf$
$subs.
sed
9706 rm -f conf$
$subs.
sed
9707 cat >>$CONFIG_STATUS <<_ACEOF
9714 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9715 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9716 # trailing colons and then remove the whole line if VPATH becomes empty
9717 # (actually we leave an empty line to preserve line numbers).
9718 if test "x$srcdir" = x.
; then
9719 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
9723 s/^\([^=]*=[ ]*\):*/\1/
9729 cat >>$CONFIG_STATUS <<\_ACEOF
9730 fi # test -n "$CONFIG_FILES"
9733 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
9736 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9738 case $ac_mode$ac_tag in
9740 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
9741 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
9742 { (exit 1); exit 1; }; };;
9743 :[FH
]-) ac_tag
=-:-;;
9744 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9761 -) ac_f
="$tmp/stdin";;
9762 *) # Look for the file first in the build tree, then in the source tree
9763 # (if the path is not absolute). The absolute path cannot be DOS-style,
9764 # because $ac_f cannot contain `:'.
9768 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9770 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9771 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9772 { (exit 1); exit 1; }; };;
9774 ac_file_inputs
="$ac_file_inputs $ac_f"
9777 # Let's still pretend it is `configure' which instantiates (i.e., don't
9778 # use $as_me), people would be surprised to read:
9779 # /* config.h. Generated by config.status. */
9780 configure_input
="Generated from "`IFS=:
9781 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
9782 if test x
"$ac_file" != x-
; then
9783 configure_input
="$ac_file. $configure_input"
9784 { echo "$as_me:$LINENO: creating $ac_file" >&5
9785 echo "$as_me: creating $ac_file" >&6;}
9789 *:-:* |
*:-) cat >"$tmp/stdin";;
9794 ac_dir
=`$as_dirname -- "$ac_file" ||
9795 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9796 X"$ac_file" : 'X\(//\)[^/]' \| \
9797 X"$ac_file" : 'X\(//\)$' \| \
9798 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9800 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9819 -*) as_dir
=.
/$as_dir;;
9821 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9825 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9826 *) as_qdir
=$as_dir;;
9828 as_dirs
="'$as_qdir' $as_dirs"
9829 as_dir
=`$as_dirname -- "$as_dir" ||
9830 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9831 X"$as_dir" : 'X\(//\)[^/]' \| \
9832 X"$as_dir" : 'X\(//\)$' \| \
9833 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9852 test -d "$as_dir" && break
9854 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9855 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9856 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9857 { (exit 1); exit 1; }; }; }
9861 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9863 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9864 # A ".." for each directory in $ac_dir_suffix.
9865 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9866 case $ac_top_builddir_sub in
9867 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9868 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9871 ac_abs_top_builddir
=$ac_pwd
9872 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9873 # for backward compatibility:
9874 ac_top_builddir
=$ac_top_build_prefix
9877 .
) # We are building in place.
9879 ac_top_srcdir
=$ac_top_builddir_sub
9880 ac_abs_top_srcdir
=$ac_pwd ;;
9881 [\\/]* | ?
:[\\/]* ) # Absolute name.
9882 ac_srcdir
=$srcdir$ac_dir_suffix;
9883 ac_top_srcdir
=$srcdir
9884 ac_abs_top_srcdir
=$srcdir ;;
9886 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9887 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9888 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9890 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9900 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9901 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9905 cat >>$CONFIG_STATUS <<\_ACEOF
9906 # If the template does not know about datarootdir, expand it.
9907 # FIXME: This hack should be removed a few years after 2.60.
9908 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9910 case `sed -n '/datarootdir/ {
9919 ' $ac_file_inputs` in
9920 *datarootdir
*) ac_datarootdir_seen
=yes;;
9921 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9922 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9923 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9925 cat >>$CONFIG_STATUS <<_ACEOF
9926 ac_datarootdir_hack='
9927 s&@datadir@&$datadir&g
9928 s&@docdir@&$docdir&g
9929 s&@infodir@&$infodir&g
9930 s&@localedir@&$localedir&g
9931 s&@mandir@&$mandir&g
9932 s&\\\${datarootdir}&$datarootdir&g' ;;
9936 # Neutralize VPATH when `$srcdir' = `.'.
9937 # Shell code in configure.ac might set extrasub.
9938 # FIXME: do we really want to maintain this feature?
9939 cat >>$CONFIG_STATUS <<_ACEOF
9943 cat >>$CONFIG_STATUS <<\_ACEOF
9945 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9946 s
&@configure_input@
&$configure_input&;t t
9947 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9948 s
&@srcdir@
&$ac_srcdir&;t t
9949 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9950 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9951 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9952 s
&@builddir@
&$ac_builddir&;t t
9953 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9954 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9955 s
&@INSTALL@
&$ac_INSTALL&;t t
9956 $ac_datarootdir_hack
9957 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" >$tmp/out
9959 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9960 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9961 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9962 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9963 which seems to be undefined. Please make sure it is defined." >&5
9964 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9965 which seems to be undefined. Please make sure it is defined." >&2;}
9969 -) cat "$tmp/out"; rm -f "$tmp/out";;
9970 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
9979 # Transform confdefs.h into a sed script `conftest.defines', that
9980 # substitutes the proper values into config.h.in to produce config.h.
9981 rm -f conftest.defines conftest.
tail
9982 # First, append a space to every undef/define line, to ease matching.
9983 echo 's/$/ /' >conftest.defines
9984 # Then, protect against being on the right side of a sed subst, or in
9985 # an unquoted here document, in config.status. If some macros were
9986 # called several times there might be several #defines for the same
9987 # symbol, which is useless. But do not sort them, since the last
9988 # AC_DEFINE must be honored.
9989 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
9990 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
9991 # NAME is the cpp macro being defined, VALUE is the value it is being given.
9992 # PARAMS is the parameter list in the macro definition--in most cases, it's
9993 # just an empty string.
9994 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
9995 ac_dB
='\\)[ (].*,\\1define\\2'
10003 s/^[ ]*#[ ]*define[ ][ ]*//
10008 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
10009 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
10010 ' >>conftest.defines
10012 # Remove the space that was appended to ease matching.
10013 # Then replace #undef with comments. This is necessary, for
10014 # example, in the case of _POSIX_SOURCE, which is predefined and required
10015 # on some systems where configure will not decide to define it.
10016 # (The regexp can be short, since the line contains either #define or #undef.)
10018 s,^[ #]*u.*,/* & */,' >>conftest.defines
10020 # Break up conftest.defines:
10021 ac_max_sed_lines
=50
10023 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
10024 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
10025 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
10027 ac_in
='$ac_file_inputs'
10028 ac_out
='"$tmp/out1"'
10029 ac_nxt
='"$tmp/out2"'
10033 # Write a here document:
10034 cat >>$CONFIG_STATUS <<_ACEOF
10035 # First, check the format of the line:
10036 cat >"\$tmp/defines.sed" <<\\CEOF
10037 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
10038 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
10042 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
10044 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
10045 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
10046 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
10047 grep . conftest.
tail >/dev
/null ||
break
10048 rm -f conftest.defines
10049 mv conftest.
tail conftest.defines
10051 rm -f conftest.defines conftest.
tail
10053 echo "ac_result=$ac_in" >>$CONFIG_STATUS
10054 cat >>$CONFIG_STATUS <<\_ACEOF
10055 if test x
"$ac_file" != x-
; then
10056 echo "/* $configure_input */" >"$tmp/config.h"
10057 cat "$ac_result" >>"$tmp/config.h"
10058 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
10059 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10060 echo "$as_me: $ac_file is unchanged" >&6;}
10063 mv "$tmp/config.h" $ac_file
10066 echo "/* $configure_input */"
10070 # Compute $ac_file's index in $config_headers.
10072 for _am_header
in $config_headers :; do
10073 case $_am_header in
10074 $ac_file |
$ac_file:* )
10077 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
10080 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
10081 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10082 X$ac_file : 'X\(//\)[^/]' \| \
10083 X$ac_file : 'X\(//\)$' \| \
10084 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
10086 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10090 /^X\(\/\/\)[^/].*/{
10102 s/.*/./; q'`/stamp-h
$_am_stamp_count
10105 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
10106 echo "$as_me: executing $ac_file commands" >&6;}
10111 case $ac_file$ac_mode in
10112 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
10113 # Strip MF so we end up with the name of the file.
10114 mf
=`echo "$mf" | sed -e 's/:.*$//'`
10115 # Check whether this is an Automake generated Makefile or not.
10116 # We used to match only the files named `Makefile.in', but
10117 # some people rename them; so instead we look at the file content.
10118 # Grep'ing the first line is not enough: some people post-process
10119 # each Makefile.in and add a new line on top of each file to say so.
10120 # So let's grep whole file.
10121 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
10122 dirpart
=`$as_dirname -- "$mf" ||
10123 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10124 X"$mf" : 'X\(//\)[^/]' \| \
10125 X"$mf" : 'X\(//\)$' \| \
10126 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10128 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10132 /^X\(\/\/\)[^/].*/{
10148 # Extract the definition of DEPDIR, am__include, and am__quote
10149 # from the Makefile without running `make'.
10150 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
10151 test -z "$DEPDIR" && continue
10152 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
10153 test -z "am__include" && continue
10154 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
10155 # When using ansi2knr, U may be empty or an underscore; expand it
10156 U
=`sed -n 's/^U = //p' < "$mf"`
10157 # Find all dependency output files, they are included files with
10158 # $(DEPDIR) in their names. We invoke sed twice because it is the
10159 # simplest approach to changing $(DEPDIR) to its actual value in the
10161 for file in `sed -n "
10162 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10163 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10164 # Make sure the directory exists.
10165 test -f "$dirpart/$file" && continue
10166 fdir
=`$as_dirname -- "$file" ||
10167 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10168 X"$file" : 'X\(//\)[^/]' \| \
10169 X"$file" : 'X\(//\)$' \| \
10170 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10176 /^X\(\/\/\)[^/].*/{
10189 { as_dir
=$dirpart/$fdir
10191 -*) as_dir
=.
/$as_dir;;
10193 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10197 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10198 *) as_qdir
=$as_dir;;
10200 as_dirs
="'$as_qdir' $as_dirs"
10201 as_dir
=`$as_dirname -- "$as_dir" ||
10202 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10203 X"$as_dir" : 'X\(//\)[^/]' \| \
10204 X"$as_dir" : 'X\(//\)$' \| \
10205 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10211 /^X\(\/\/\)[^/].*/{
10224 test -d "$as_dir" && break
10226 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10227 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10228 echo "$as_me: error: cannot create directory $as_dir" >&2;}
10229 { (exit 1); exit 1; }; }; }
10230 # echo "creating $dirpart/$file"
10231 echo '# dummy' > "$dirpart/$file"
10240 { (exit 0); exit 0; }
10242 chmod +x
$CONFIG_STATUS
10243 ac_clean_files
=$ac_clean_files_save
10246 # configure is writing to config.log, and then calls config.status.
10247 # config.status does its own redirection, appending to config.log.
10248 # Unfortunately, on DOS this fails, as config.log is still kept open
10249 # by configure, so config.status won't be able to write to it; its
10250 # output is simply discarded. So we exec the FD to /dev/null,
10251 # effectively closing config.log, so it can be properly (re)opened and
10252 # appended to by config.status. When coming back to configure, we
10253 # need to make the FD available again.
10254 if test "$no_create" != yes; then
10256 ac_config_status_args
=
10257 test "$silent" = yes &&
10258 ac_config_status_args
="$ac_config_status_args --quiet"
10260 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10262 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10263 # would make configure fail if this is the last instruction.
10264 $ac_cs_success ||
{ (exit 1); exit 1; }