2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for libenet 10-12-2007.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev
/null
6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix
=/usr
/local
564 ac_config_libobj_dir
=.
570 SHELL
=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
573 PACKAGE_NAME
='libenet'
574 PACKAGE_TARNAME
='libenet'
575 PACKAGE_VERSION
='10-12-2007'
576 PACKAGE_STRING
='libenet 10-12-2007'
588 program_transform_name
629 INSTALL_STRIP_PROGRAM
660 ac_precious_vars
='build_alias
671 # Initialize some variables set by options.
673 ac_init_version
=false
674 # The variables have the same names as the options, with
675 # dashes changed to underlines.
683 program_transform_name
=s
,x
,x
,
691 # Installation directory options.
692 # These are left unexpanded so users can "make install exec_prefix=/foo"
693 # and all the variables that are supposed to be based on exec_prefix
694 # by default will actually change.
695 # Use braces instead of parens because sh, perl, etc. also accept them.
696 # (The list follows the same order as the GNU Coding Standards.)
697 bindir
='${exec_prefix}/bin'
698 sbindir
='${exec_prefix}/sbin'
699 libexecdir
='${exec_prefix}/libexec'
700 datarootdir
='${prefix}/share'
701 datadir
='${datarootdir}'
702 sysconfdir
='${prefix}/etc'
703 sharedstatedir
='${prefix}/com'
704 localstatedir
='${prefix}/var'
705 includedir
='${prefix}/include'
706 oldincludedir
='/usr/include'
707 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
708 infodir
='${datarootdir}/info'
713 libdir
='${exec_prefix}/lib'
714 localedir
='${datarootdir}/locale'
715 mandir
='${datarootdir}/man'
721 # If the previous option needs an argument, assign it.
722 if test -n "$ac_prev"; then
723 eval $ac_prev=\
$ac_option
729 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
733 # Accept the important Cygnus configure options, so we can diagnose typos.
735 case $ac_dashdash$ac_option in
739 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
741 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
744 -build |
--build |
--buil |
--bui |
--bu)
745 ac_prev
=build_alias
;;
746 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
747 build_alias
=$ac_optarg ;;
749 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
750 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
751 ac_prev
=cache_file
;;
752 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
753 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
754 cache_file
=$ac_optarg ;;
757 cache_file
=config.cache
;;
759 -datadir |
--datadir |
--datadi |
--datad)
761 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
762 datadir
=$ac_optarg ;;
764 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
765 |
--dataroo |
--dataro |
--datar)
766 ac_prev
=datarootdir
;;
767 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
768 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
769 datarootdir
=$ac_optarg ;;
771 -disable-* |
--disable-*)
772 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
773 # Reject names that are not valid shell variable names.
774 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
775 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
776 { (exit 1); exit 1; }; }
777 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
778 eval enable_
$ac_feature=no
;;
780 -docdir |
--docdir |
--docdi |
--doc |
--do)
782 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
785 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
787 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
790 -enable-* |
--enable-*)
791 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
792 # Reject names that are not valid shell variable names.
793 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
794 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
795 { (exit 1); exit 1; }; }
796 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
797 eval enable_
$ac_feature=\
$ac_optarg ;;
799 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
800 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
801 |
--exec |
--exe |
--ex)
802 ac_prev
=exec_prefix
;;
803 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
804 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
805 |
--exec=* |
--exe=* |
--ex=*)
806 exec_prefix
=$ac_optarg ;;
808 -gas |
--gas |
--ga |
--g)
809 # Obsolete; use --with-gas.
812 -help |
--help |
--hel |
--he |
-h)
814 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
815 ac_init_help
=recursive
;;
816 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
817 ac_init_help
=short
;;
819 -host |
--host |
--hos |
--ho)
820 ac_prev
=host_alias
;;
821 -host=* |
--host=* |
--hos=* |
--ho=*)
822 host_alias
=$ac_optarg ;;
824 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
826 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
828 htmldir
=$ac_optarg ;;
830 -includedir |
--includedir |
--includedi |
--included |
--include \
831 |
--includ |
--inclu |
--incl |
--inc)
832 ac_prev
=includedir
;;
833 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
834 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
835 includedir
=$ac_optarg ;;
837 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
839 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
840 infodir
=$ac_optarg ;;
842 -libdir |
--libdir |
--libdi |
--libd)
844 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
847 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
848 |
--libexe |
--libex |
--libe)
849 ac_prev
=libexecdir
;;
850 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
851 |
--libexe=* |
--libex=* |
--libe=*)
852 libexecdir
=$ac_optarg ;;
854 -localedir |
--localedir |
--localedi |
--localed |
--locale)
856 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
857 localedir
=$ac_optarg ;;
859 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
860 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
861 ac_prev
=localstatedir
;;
862 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
863 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
864 localstatedir
=$ac_optarg ;;
866 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
868 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
872 # Obsolete; use --without-fp.
875 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
876 |
--no-cr |
--no-c |
-n)
879 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
880 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
883 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
884 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
885 |
--oldin |
--oldi |
--old |
--ol |
--o)
886 ac_prev
=oldincludedir
;;
887 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
888 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
889 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
890 oldincludedir
=$ac_optarg ;;
892 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
894 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
897 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
898 |
--program-pre |
--program-pr |
--program-p)
899 ac_prev
=program_prefix
;;
900 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
901 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
902 program_prefix
=$ac_optarg ;;
904 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
905 |
--program-suf |
--program-su |
--program-s)
906 ac_prev
=program_suffix
;;
907 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
908 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
909 program_suffix
=$ac_optarg ;;
911 -program-transform-name |
--program-transform-name \
912 |
--program-transform-nam |
--program-transform-na \
913 |
--program-transform-n |
--program-transform- \
914 |
--program-transform |
--program-transfor \
915 |
--program-transfo |
--program-transf \
916 |
--program-trans |
--program-tran \
917 |
--progr-tra |
--program-tr |
--program-t)
918 ac_prev
=program_transform_name
;;
919 -program-transform-name=* |
--program-transform-name=* \
920 |
--program-transform-nam=* |
--program-transform-na=* \
921 |
--program-transform-n=* |
--program-transform-=* \
922 |
--program-transform=* |
--program-transfor=* \
923 |
--program-transfo=* |
--program-transf=* \
924 |
--program-trans=* |
--program-tran=* \
925 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
926 program_transform_name
=$ac_optarg ;;
928 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
930 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
933 -psdir |
--psdir |
--psdi |
--psd |
--ps)
935 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
938 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
939 |
-silent |
--silent |
--silen |
--sile |
--sil)
942 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
944 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
946 sbindir
=$ac_optarg ;;
948 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
949 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
950 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
952 ac_prev
=sharedstatedir
;;
953 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
954 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
955 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
957 sharedstatedir
=$ac_optarg ;;
959 -site |
--site |
--sit)
961 -site=* |
--site=* |
--sit=*)
964 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
966 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
969 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
970 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
971 ac_prev
=sysconfdir
;;
972 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
973 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
974 sysconfdir
=$ac_optarg ;;
976 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
977 ac_prev
=target_alias
;;
978 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
979 target_alias
=$ac_optarg ;;
981 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
984 -version |
--version |
--versio |
--versi |
--vers |
-V)
988 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
989 # Reject names that are not valid shell variable names.
990 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
991 { echo "$as_me: error: invalid package name: $ac_package" >&2
992 { (exit 1); exit 1; }; }
993 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
994 eval with_
$ac_package=\
$ac_optarg ;;
996 -without-* |
--without-*)
997 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
998 # Reject names that are not valid shell variable names.
999 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1000 { echo "$as_me: error: invalid package name: $ac_package" >&2
1001 { (exit 1); exit 1; }; }
1002 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1003 eval with_
$ac_package=no
;;
1006 # Obsolete; use --with-x.
1009 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1010 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1011 ac_prev
=x_includes
;;
1012 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1013 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1014 x_includes
=$ac_optarg ;;
1016 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1017 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1018 ac_prev
=x_libraries
;;
1019 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1020 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1021 x_libraries
=$ac_optarg ;;
1023 -*) { echo "$as_me: error: unrecognized option: $ac_option
1024 Try \`$0 --help' for more information." >&2
1025 { (exit 1); exit 1; }; }
1029 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1030 # Reject names that are not valid shell variable names.
1031 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1032 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1033 { (exit 1); exit 1; }; }
1034 eval $ac_envvar=\
$ac_optarg
1035 export $ac_envvar ;;
1038 # FIXME: should be removed in autoconf 3.0.
1039 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1040 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1041 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1042 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1048 if test -n "$ac_prev"; then
1049 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1050 { echo "$as_me: error: missing argument to $ac_option" >&2
1051 { (exit 1); exit 1; }; }
1054 # Be sure to have absolute directory names.
1055 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1056 datadir sysconfdir sharedstatedir localstatedir includedir \
1057 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1058 libdir localedir mandir
1060 eval ac_val
=\$
$ac_var
1062 [\\/$
]* | ?
:[\\/]* ) continue;;
1063 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1065 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1066 { (exit 1); exit 1; }; }
1069 # There might be people who depend on the old broken behavior: `$host'
1070 # used to hold the argument of --host etc.
1071 # FIXME: To remove some day.
1074 target
=$target_alias
1076 # FIXME: To remove some day.
1077 if test "x$host_alias" != x
; then
1078 if test "x$build_alias" = x
; then
1079 cross_compiling
=maybe
1080 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1081 If a cross compiler is detected then cross compile mode will be used." >&2
1082 elif test "x$build_alias" != "x$host_alias"; then
1088 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1090 test "$silent" = yes && exec 6>/dev
/null
1093 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1094 ac_ls_di
=`ls -di .` &&
1095 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1096 { echo "$as_me: error: Working directory cannot be determined" >&2
1097 { (exit 1); exit 1; }; }
1098 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1099 { echo "$as_me: error: pwd does not report name of working directory" >&2
1100 { (exit 1); exit 1; }; }
1103 # Find the source files, if location was not specified.
1104 if test -z "$srcdir"; then
1105 ac_srcdir_defaulted
=yes
1106 # Try the directory containing this script, then the parent directory.
1107 ac_confdir
=`$as_dirname -- "$0" ||
1108 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1109 X"$0" : 'X\(//\)[^/]' \| \
1110 X"$0" : 'X\(//\)$' \| \
1111 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1131 if test ! -r "$srcdir/$ac_unique_file"; then
1135 ac_srcdir_defaulted
=no
1137 if test ! -r "$srcdir/$ac_unique_file"; then
1138 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1139 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1140 { (exit 1); exit 1; }; }
1142 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1144 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1145 { (exit 1); exit 1; }; }
1147 # When building in place, set srcdir=.
1148 if test "$ac_abs_confdir" = "$ac_pwd"; then
1151 # Remove unnecessary trailing slashes from srcdir.
1152 # Double slashes in file names in object file debugging info
1153 # mess up M-x gdb in Emacs.
1155 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1157 for ac_var
in $ac_precious_vars; do
1158 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1159 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1160 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1161 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1165 # Report the --help message.
1167 if test "$ac_init_help" = "long"; then
1168 # Omit some internal or obsolete options to make the list less imposing.
1169 # This message is too long to be a string in the A/UX 3.1 sh.
1171 \`configure' configures libenet 10-12-2007 to adapt to many kinds of systems.
1173 Usage: $0 [OPTION]... [VAR=VALUE]...
1175 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1176 VAR=VALUE. See below for descriptions of some of the useful variables.
1178 Defaults for the options are specified in brackets.
1181 -h, --help display this help and exit
1182 --help=short display options specific to this package
1183 --help=recursive display the short help of all the included packages
1184 -V, --version display version information and exit
1185 -q, --quiet, --silent do not print \`checking...' messages
1186 --cache-file=FILE cache test results in FILE [disabled]
1187 -C, --config-cache alias for \`--cache-file=config.cache'
1188 -n, --no-create do not create output files
1189 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1191 Installation directories:
1192 --prefix=PREFIX install architecture-independent files in PREFIX
1193 [$ac_default_prefix]
1194 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1197 By default, \`make install' will install all the files in
1198 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1199 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1200 for instance \`--prefix=\$HOME'.
1202 For better control, use the options below.
1204 Fine tuning of the installation directories:
1205 --bindir=DIR user executables [EPREFIX/bin]
1206 --sbindir=DIR system admin executables [EPREFIX/sbin]
1207 --libexecdir=DIR program executables [EPREFIX/libexec]
1208 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1209 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1210 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1211 --libdir=DIR object code libraries [EPREFIX/lib]
1212 --includedir=DIR C header files [PREFIX/include]
1213 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1214 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1215 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1216 --infodir=DIR info documentation [DATAROOTDIR/info]
1217 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1218 --mandir=DIR man documentation [DATAROOTDIR/man]
1219 --docdir=DIR documentation root [DATAROOTDIR/doc/libenet]
1220 --htmldir=DIR html documentation [DOCDIR]
1221 --dvidir=DIR dvi documentation [DOCDIR]
1222 --pdfdir=DIR pdf documentation [DOCDIR]
1223 --psdir=DIR ps documentation [DOCDIR]
1229 --program-prefix=PREFIX prepend PREFIX to installed program names
1230 --program-suffix=SUFFIX append SUFFIX to installed program names
1231 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1235 if test -n "$ac_init_help"; then
1236 case $ac_init_help in
1237 short | recursive
) echo "Configuration of libenet 10-12-2007:";;
1242 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1243 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1244 --disable-dependency-tracking speeds up one-time build
1245 --enable-dependency-tracking do not reject slow dependency extractors
1246 --enable-crc32 enable CRC32 packet verification
1248 Some influential environment variables
:
1249 CC C compiler
command
1250 CFLAGS C compiler flags
1251 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1252 nonstandard directory
<lib dir
>
1253 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1254 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1255 you have headers
in a nonstandard directory
<include dir
>
1258 Use these variables to override the choices made by
`configure' or to help
1259 it to find libraries and programs with nonstandard names/locations.
1265 if test "$ac_init_help" = "recursive"; then
1266 # If there are subdirs, report their specific --help.
1267 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1268 test -d "$ac_dir" || continue
1272 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1274 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1275 # A ".." for each directory in $ac_dir_suffix.
1276 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1277 case $ac_top_builddir_sub in
1278 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1279 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1282 ac_abs_top_builddir=$ac_pwd
1283 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1284 # for backward compatibility:
1285 ac_top_builddir=$ac_top_build_prefix
1288 .) # We are building in place.
1290 ac_top_srcdir=$ac_top_builddir_sub
1291 ac_abs_top_srcdir=$ac_pwd ;;
1292 [\\/]* | ?:[\\/]* ) # Absolute name.
1293 ac_srcdir=$srcdir$ac_dir_suffix;
1294 ac_top_srcdir=$srcdir
1295 ac_abs_top_srcdir=$srcdir ;;
1297 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1298 ac_top_srcdir=$ac_top_build_prefix$srcdir
1299 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1301 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1303 cd "$ac_dir" || { ac_status=$?; continue; }
1304 # Check for guested configure.
1305 if test -f "$ac_srcdir/configure.gnu"; then
1307 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1308 elif test -f "$ac_srcdir/configure"; then
1310 $SHELL "$ac_srcdir/configure" --help=recursive
1312 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1314 cd "$ac_pwd" || { ac_status=$?; break; }
1318 test -n "$ac_init_help" && exit $ac_status
1319 if $ac_init_version; then
1321 libenet configure 10-12-2007
1322 generated by GNU Autoconf 2.61
1324 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1325 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1326 This configure script is free software; the Free Software Foundation
1327 gives unlimited permission to copy, distribute and modify it.
1331 cat >config.log <<_ACEOF
1332 This file contains any messages produced by compilers while
1333 running configure, to aid debugging if configure makes a mistake.
1335 It was created by libenet $as_me 10-12-2007, which was
1336 generated by GNU Autoconf 2.61. Invocation command line was
1348 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1349 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1350 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1351 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1352 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1354 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1355 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1357 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1358 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1359 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1360 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1361 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1362 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1363 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1371 test -z "$as_dir" && as_dir=.
1372 echo "PATH: $as_dir"
1388 # Keep a trace of the command line.
1389 # Strip out --no-create and --no-recursion so they do not pile up.
1390 # Strip out --silent because we don't want to record it for future runs.
1391 # Also quote any args containing shell meta-characters.
1392 # Make two passes to allow for proper duplicate-argument suppression.
1396 ac_must_keep_next=false
1402 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1403 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1404 | -silent | --silent | --silen | --sile | --sil)
1407 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1410 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1412 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1413 if test $ac_must_keep_next = true; then
1414 ac_must_keep_next=false # Got value, back to normal.
1417 *=* | --config-cache | -C | -disable-* | --disable-* \
1418 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1419 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1420 | -with-* | --with-* | -without-* | --without-* | --x)
1421 case "$ac_configure_args0 " in
1422 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1425 -* ) ac_must_keep_next=true ;;
1428 ac_configure_args="$ac_configure_args '$ac_arg'"
1433 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1434 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1436 # When interrupted or exit'd, cleanup temporary files, and complete
1437 # config.log. We remove comments because anyway the quotes in there
1438 # would cause problems or look ugly.
1439 # WARNING: Use '\'' to represent an apostrophe within the trap.
1440 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1441 trap 'exit_status=$?
1442 # Save into config.log some information that might help in debugging.
1447 ## ---------------- ##
1448 ## Cache variables. ##
1449 ## ---------------- ##
1452 # The following way of writing the cache mishandles newlines in values,
1454 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1455 eval ac_val=\$$ac_var
1459 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1460 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1463 _ | IFS | as_nl) ;; #(
1464 *) $as_unset $ac_var ;;
1469 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1470 *${as_nl}ac_space=\ *)
1472 "s/'\''/'\''\\\\'\'''\''/g;
1473 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1476 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1484 ## ----------------- ##
1485 ## Output variables. ##
1486 ## ----------------- ##
1489 for ac_var in $ac_subst_vars
1491 eval ac_val=\$$ac_var
1493 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1495 echo "$ac_var='\''$ac_val'\''"
1499 if test -n "$ac_subst_files"; then
1501 ## ------------------- ##
1502 ## File substitutions. ##
1503 ## ------------------- ##
1506 for ac_var in $ac_subst_files
1508 eval ac_val=\$$ac_var
1510 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1512 echo "$ac_var='\''$ac_val'\''"
1517 if test -s confdefs.h; then
1527 test "$ac_signal" != 0 &&
1528 echo "$as_me: caught signal $ac_signal"
1529 echo "$as_me: exit $exit_status"
1531 rm -f core *.core core.conftest.* &&
1532 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1535 for ac_signal in 1 2 13 15; do
1536 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1540 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1541 rm -f -r conftest* confdefs.h
1543 # Predefined preprocessor variables.
1545 cat >>confdefs.h <<_ACEOF
1546 #define PACKAGE_NAME "$PACKAGE_NAME"
1550 cat >>confdefs.h <<_ACEOF
1551 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1555 cat >>confdefs.h <<_ACEOF
1556 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1560 cat >>confdefs.h <<_ACEOF
1561 #define PACKAGE_STRING "$PACKAGE_STRING"
1565 cat >>confdefs.h <<_ACEOF
1566 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1570 # Let the site file select an alternate cache file if it wants to.
1571 # Prefer explicitly selected file to automatically selected ones.
1572 if test -n "$CONFIG_SITE"; then
1573 set x "$CONFIG_SITE"
1574 elif test "x$prefix" != xNONE; then
1575 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1577 set x "$ac_default_prefix/share/config.site" \
1578 "$ac_default_prefix/etc/config.site"
1583 if test -r "$ac_site_file"; then
1584 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1585 echo "$as_me: loading site script $ac_site_file" >&6;}
1586 sed 's/^/| /' "$ac_site_file" >&5
1591 if test -r "$cache_file"; then
1592 # Some versions of bash will fail to source /dev/null (special
1593 # files actually), so we avoid doing that.
1594 if test -f "$cache_file"; then
1595 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1596 echo "$as_me: loading cache $cache_file" >&6;}
1598 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1599 *) . "./$cache_file";;
1603 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1604 echo "$as_me: creating cache $cache_file" >&6;}
1608 # Check that the precious variables saved in the cache have kept the same
1610 ac_cache_corrupted=false
1611 for ac_var in $ac_precious_vars; do
1612 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1613 eval ac_new_set=\$ac_env_${ac_var}_set
1614 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1615 eval ac_new_val=\$ac_env_${ac_var}_value
1616 case $ac_old_set,$ac_new_set in
1618 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1619 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1620 ac_cache_corrupted=: ;;
1622 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1623 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1624 ac_cache_corrupted=: ;;
1627 if test "x$ac_old_val" != "x$ac_new_val"; then
1628 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1629 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1630 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1631 echo "$as_me: former value
: $ac_old_val" >&2;}
1632 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1633 echo "$as_me: current value
: $ac_new_val" >&2;}
1634 ac_cache_corrupted=:
1637 # Pass precious variables to config.status.
1638 if test "$ac_new_set" = set; then
1640 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1641 *) ac_arg=$ac_var=$ac_new_val ;;
1643 case " $ac_configure_args " in
1644 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1645 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1649 if $ac_cache_corrupted; then
1650 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1651 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1652 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1653 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1654 { (exit 1); exit 1; }; }
1682 ac_cpp='$CPP $CPPFLAGS'
1683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1688 am__api_version="1.9"
1690 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1691 if test -f "$ac_dir/install-sh"; then
1693 ac_install_sh="$ac_aux_dir/install-sh -c"
1695 elif test -f "$ac_dir/install.sh"; then
1697 ac_install_sh="$ac_aux_dir/install.sh -c"
1699 elif test -f "$ac_dir/shtool"; then
1701 ac_install_sh="$ac_aux_dir/shtool install -c"
1705 if test -z "$ac_aux_dir"; then
1706 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1707 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1708 { (exit 1); exit 1; }; }
1711 # These three variables are undocumented and unsupported,
1712 # and are intended to be withdrawn in a future Autoconf release.
1713 # They can cause serious problems if a builder's source tree is in a directory
1714 # whose full name contains unusual characters.
1715 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1716 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1717 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1720 # Find a good install program. We prefer a C program (faster),
1721 # so one script is as good as another. But avoid the broken or
1722 # incompatible versions:
1723 # SysV /etc/install, /usr/sbin/install
1724 # SunOS /usr/etc/install
1725 # IRIX /sbin/install
1727 # AmigaOS /C/install, which installs bootblocks on floppy discs
1728 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1729 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1730 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1731 # OS/2's system install, which has a completely different semantic
1732 # ./install, which can be erroneously created by make from ./install.sh.
1733 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1734 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1735 if test -z "$INSTALL"; then
1736 if test "${ac_cv_path_install+set}" = set; then
1737 echo $ECHO_N "(cached) $ECHO_C" >&6
1739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1743 test -z "$as_dir" && as_dir=.
1744 # Account for people who put trailing slashes in PATH elements.
1746 ./ | .// | /cC/* | \
1747 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1748 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1751 # OSF1 and SCO ODT 3.0 have their own names for install.
1752 # Don't use installbsd from OSF since it installs stuff as root
1754 for ac_prog in ginstall scoinst install; do
1755 for ac_exec_ext in '' $ac_executable_extensions; do
1756 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1757 if test $ac_prog = install &&
1758 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1759 # AIX install. It has an incompatible calling convention.
1761 elif test $ac_prog = install &&
1762 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1763 # program-specific install script used by HP pwplus--don't use.
1766 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1779 if test "${ac_cv_path_install+set}" = set; then
1780 INSTALL=$ac_cv_path_install
1782 # As a last resort, use the slow shell script. Don't cache a
1783 # value for INSTALL within a source directory, because that will
1784 # break other packages using the cache if that directory is
1785 # removed, or if the value is a relative name.
1786 INSTALL=$ac_install_sh
1789 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1790 echo "${ECHO_T}$INSTALL" >&6; }
1792 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1793 # It thinks the first close brace ends the variable substitution.
1794 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1796 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1798 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1800 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1801 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1804 echo timestamp > conftest.file
1805 # Do `set' in a subshell so we don't clobber the current shell
's
1806 # arguments. Must try -L first in case configure is actually a
1807 # symlink; some systems play weird games with the mod time of symlinks
1808 # (eg FreeBSD returns the mod time of the symlink's containing
1811 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1812 if test "$*" = "X"; then
1814 set X
`ls -t $srcdir/configure conftest.file`
1817 if test "$*" != "X $srcdir/configure conftest.file" \
1818 && test "$*" != "X conftest.file $srcdir/configure"; then
1820 # If neither matched, then we have a broken ls. This can happen
1821 # if, for instance, CONFIG_SHELL is bash and it inherits a
1822 # broken ls alias from the environment. This has actually
1823 # happened. Such a system could not be considered "sane".
1824 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1825 alias in your environment" >&5
1826 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1827 alias in your environment" >&2;}
1828 { (exit 1); exit 1; }; }
1831 test "$2" = conftest.
file
1837 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1838 Check your system clock" >&5
1839 echo "$as_me: error: newly created file is older than distributed files!
1840 Check your system clock" >&2;}
1841 { (exit 1); exit 1; }; }
1843 { echo "$as_me:$LINENO: result: yes" >&5
1844 echo "${ECHO_T}yes" >&6; }
1845 test "$program_prefix" != NONE
&&
1846 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1847 # Use a double $ so make ignores it.
1848 test "$program_suffix" != NONE
&&
1849 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1850 # Double any \ or $. echo might interpret backslashes.
1851 # By default was `s,x,x', remove it if useless.
1852 cat <<\_ACEOF
>conftest.
sed
1853 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1855 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1858 # expand $ac_aux_dir to an absolute path
1859 am_aux_dir
=`cd $ac_aux_dir && pwd`
1861 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1862 # Use eval to expand $SHELL
1863 if eval "$MISSING --run true"; then
1864 am_missing_run
="$MISSING --run "
1867 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1868 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1871 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1872 # We used to keeping the `.' as first argument, in order to
1873 # allow $(mkdir_p) to be used without argument. As in
1874 # $(mkdir_p) $(somedir)
1875 # where $(somedir) is conditionally defined. However this is wrong
1877 # 1. if the package is installed by a user who cannot write `.'
1878 # make install will fail,
1879 # 2. the above comment should most certainly read
1880 # $(mkdir_p) $(DESTDIR)$(somedir)
1881 # so it does not work when $(somedir) is undefined and
1882 # $(DESTDIR) is not.
1883 # To support the latter case, we have to write
1884 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1885 # so the `.' trick is pointless.
1886 mkdir_p
='mkdir -p --'
1888 # On NextStep and OpenStep, the `mkdir' command does not
1889 # recognize any option. It will interpret all options as
1890 # directories to create, and then abort because `.' already
1892 for d
in .
/-p .
/--version;
1894 test -d $d && rmdir $d
1896 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1897 if test -f "$ac_aux_dir/mkinstalldirs"; then
1898 mkdir_p
='$(mkinstalldirs)'
1900 mkdir_p
='$(install_sh) -d'
1904 for ac_prog
in gawk mawk nawk
awk
1906 # Extract the first word of "$ac_prog", so it can be a program name with args.
1907 set dummy
$ac_prog; ac_word
=$2
1908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1910 if test "${ac_cv_prog_AWK+set}" = set; then
1911 echo $ECHO_N "(cached) $ECHO_C" >&6
1913 if test -n "$AWK"; then
1914 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1920 test -z "$as_dir" && as_dir
=.
1921 for ac_exec_ext
in '' $ac_executable_extensions; do
1922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1923 ac_cv_prog_AWK
="$ac_prog"
1924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1934 if test -n "$AWK"; then
1935 { echo "$as_me:$LINENO: result: $AWK" >&5
1936 echo "${ECHO_T}$AWK" >&6; }
1938 { echo "$as_me:$LINENO: result: no" >&5
1939 echo "${ECHO_T}no" >&6; }
1943 test -n "$AWK" && break
1946 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1947 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1948 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1949 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1950 echo $ECHO_N "(cached) $ECHO_C" >&6
1952 cat >conftest.
make <<\_ACEOF
1955 @
echo '@@@%%%=$(MAKE)=@@@%%%'
1957 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1958 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1960 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
1962 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
1966 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
1967 { echo "$as_me:$LINENO: result: yes" >&5
1968 echo "${ECHO_T}yes" >&6; }
1971 { echo "$as_me:$LINENO: result: no" >&5
1972 echo "${ECHO_T}no" >&6; }
1973 SET_MAKE
="MAKE=${MAKE-make}"
1976 rm -rf .tst
2>/dev
/null
1977 mkdir .tst
2>/dev
/null
1978 if test -d .tst
; then
1983 rmdir .tst
2>/dev
/null
1985 # test to see if srcdir already configured
1986 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1987 test -f $srcdir/config.status
; then
1988 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1989 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1990 { (exit 1); exit 1; }; }
1993 # test whether we have cygpath
1994 if test -z "$CYGPATH_W"; then
1995 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1996 CYGPATH_W
='cygpath -w'
2003 # Define the identity of the package.
2008 cat >>confdefs.h
<<_ACEOF
2009 #define PACKAGE "$PACKAGE"
2013 cat >>confdefs.h
<<_ACEOF
2014 #define VERSION "$VERSION"
2017 # Some tools Automake needs.
2019 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2022 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2025 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2028 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2031 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2033 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2035 # Installed binaries are usually stripped using `strip' when the user
2036 # run `make install-strip'. However `strip' might not be the right
2037 # tool to use in cross-compilation environments, therefore Automake
2038 # will honor the `STRIP' environment variable to overrule this program.
2039 if test "$cross_compiling" != no
; then
2040 if test -n "$ac_tool_prefix"; then
2041 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2042 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2045 if test "${ac_cv_prog_STRIP+set}" = set; then
2046 echo $ECHO_N "(cached) $ECHO_C" >&6
2048 if test -n "$STRIP"; then
2049 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2055 test -z "$as_dir" && as_dir
=.
2056 for ac_exec_ext
in '' $ac_executable_extensions; do
2057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2058 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2068 STRIP
=$ac_cv_prog_STRIP
2069 if test -n "$STRIP"; then
2070 { echo "$as_me:$LINENO: result: $STRIP" >&5
2071 echo "${ECHO_T}$STRIP" >&6; }
2073 { echo "$as_me:$LINENO: result: no" >&5
2074 echo "${ECHO_T}no" >&6; }
2079 if test -z "$ac_cv_prog_STRIP"; then
2081 # Extract the first word of "strip", so it can be a program name with args.
2082 set dummy strip
; ac_word
=$2
2083 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2085 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2086 echo $ECHO_N "(cached) $ECHO_C" >&6
2088 if test -n "$ac_ct_STRIP"; then
2089 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2095 test -z "$as_dir" && as_dir
=.
2096 for ac_exec_ext
in '' $ac_executable_extensions; do
2097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2098 ac_cv_prog_ac_ct_STRIP
="strip"
2099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2108 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2109 if test -n "$ac_ct_STRIP"; then
2110 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2111 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2113 { echo "$as_me:$LINENO: result: no" >&5
2114 echo "${ECHO_T}no" >&6; }
2117 if test "x$ac_ct_STRIP" = x
; then
2120 case $cross_compiling:$ac_tool_warned in
2122 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2123 whose name does not start with the host triplet. If you think this
2124 configuration is useful to you, please write to autoconf@gnu.org." >&5
2125 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2126 whose name does not start with the host triplet. If you think this
2127 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2128 ac_tool_warned
=yes ;;
2133 STRIP
="$ac_cv_prog_STRIP"
2137 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2139 # We need awk for the "check" target. The system "awk" is bad on
2141 # Always define AMTAR for backward compatibility.
2143 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2145 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2153 ac_cpp
='$CPP $CPPFLAGS'
2154 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2155 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2156 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2157 if test -n "$ac_tool_prefix"; then
2158 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2159 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2160 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2162 if test "${ac_cv_prog_CC+set}" = set; then
2163 echo $ECHO_N "(cached) $ECHO_C" >&6
2165 if test -n "$CC"; then
2166 ac_cv_prog_CC
="$CC" # Let the user override the test.
2168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2172 test -z "$as_dir" && as_dir
=.
2173 for ac_exec_ext
in '' $ac_executable_extensions; do
2174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2175 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2186 if test -n "$CC"; then
2187 { echo "$as_me:$LINENO: result: $CC" >&5
2188 echo "${ECHO_T}$CC" >&6; }
2190 { echo "$as_me:$LINENO: result: no" >&5
2191 echo "${ECHO_T}no" >&6; }
2196 if test -z "$ac_cv_prog_CC"; then
2198 # Extract the first word of "gcc", so it can be a program name with args.
2199 set dummy 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_ac_ct_CC+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6
2205 if test -n "$ac_ct_CC"; then
2206 ac_cv_prog_ac_ct_CC
="$ac_ct_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_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2215 ac_cv_prog_ac_ct_CC
="gcc"
2216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2225 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2226 if test -n "$ac_ct_CC"; then
2227 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2228 echo "${ECHO_T}$ac_ct_CC" >&6; }
2230 { echo "$as_me:$LINENO: result: no" >&5
2231 echo "${ECHO_T}no" >&6; }
2234 if test "x$ac_ct_CC" = x
; then
2237 case $cross_compiling:$ac_tool_warned in
2239 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2240 whose name does not start with the host triplet. If you think this
2241 configuration is useful to you, please write to autoconf@gnu.org." >&5
2242 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2243 whose name does not start with the host triplet. If you think this
2244 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2245 ac_tool_warned
=yes ;;
2253 if test -z "$CC"; then
2254 if test -n "$ac_tool_prefix"; then
2255 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2256 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2259 if test "${ac_cv_prog_CC+set}" = set; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2262 if test -n "$CC"; then
2263 ac_cv_prog_CC
="$CC" # Let the user override the test.
2265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2269 test -z "$as_dir" && as_dir
=.
2270 for ac_exec_ext
in '' $ac_executable_extensions; do
2271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2272 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2283 if test -n "$CC"; then
2284 { echo "$as_me:$LINENO: result: $CC" >&5
2285 echo "${ECHO_T}$CC" >&6; }
2287 { echo "$as_me:$LINENO: result: no" >&5
2288 echo "${ECHO_T}no" >&6; }
2294 if test -z "$CC"; then
2295 # Extract the first word of "cc", so it can be a program name with args.
2296 set dummy 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.
2306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2310 test -z "$as_dir" && as_dir
=.
2311 for ac_exec_ext
in '' $ac_executable_extensions; do
2312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2313 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2314 ac_prog_rejected
=yes
2318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2325 if test $ac_prog_rejected = yes; then
2326 # We found a bogon in the path, so make sure we never use it.
2327 set dummy
$ac_cv_prog_CC
2329 if test $# != 0; then
2330 # We chose a different compiler from the bogus one.
2331 # However, it has the same basename, so the bogon will be chosen
2332 # first if we set CC to just the basename; use the full file name.
2334 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2340 if test -n "$CC"; then
2341 { echo "$as_me:$LINENO: result: $CC" >&5
2342 echo "${ECHO_T}$CC" >&6; }
2344 { echo "$as_me:$LINENO: result: no" >&5
2345 echo "${ECHO_T}no" >&6; }
2350 if test -z "$CC"; then
2351 if test -n "$ac_tool_prefix"; then
2352 for ac_prog
in cl.exe
2354 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2355 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2356 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2358 if test "${ac_cv_prog_CC+set}" = set; then
2359 echo $ECHO_N "(cached) $ECHO_C" >&6
2361 if test -n "$CC"; then
2362 ac_cv_prog_CC
="$CC" # Let the user override the test.
2364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2368 test -z "$as_dir" && as_dir
=.
2369 for ac_exec_ext
in '' $ac_executable_extensions; do
2370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2371 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2382 if test -n "$CC"; then
2383 { echo "$as_me:$LINENO: result: $CC" >&5
2384 echo "${ECHO_T}$CC" >&6; }
2386 { echo "$as_me:$LINENO: result: no" >&5
2387 echo "${ECHO_T}no" >&6; }
2391 test -n "$CC" && break
2394 if test -z "$CC"; then
2396 for ac_prog
in cl.exe
2398 # Extract the first word of "$ac_prog", so it can be a program name with args.
2399 set dummy
$ac_prog; ac_word
=$2
2400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2402 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2403 echo $ECHO_N "(cached) $ECHO_C" >&6
2405 if test -n "$ac_ct_CC"; then
2406 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2412 test -z "$as_dir" && as_dir
=.
2413 for ac_exec_ext
in '' $ac_executable_extensions; do
2414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2415 ac_cv_prog_ac_ct_CC
="$ac_prog"
2416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2425 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2426 if test -n "$ac_ct_CC"; then
2427 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2428 echo "${ECHO_T}$ac_ct_CC" >&6; }
2430 { echo "$as_me:$LINENO: result: no" >&5
2431 echo "${ECHO_T}no" >&6; }
2435 test -n "$ac_ct_CC" && break
2438 if test "x$ac_ct_CC" = x
; then
2441 case $cross_compiling:$ac_tool_warned in
2443 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2444 whose name does not start with the host triplet. If you think this
2445 configuration is useful to you, please write to autoconf@gnu.org." >&5
2446 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2447 whose name does not start with the host triplet. If you think this
2448 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2449 ac_tool_warned
=yes ;;
2458 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2459 See \`config.log' for more details." >&5
2460 echo "$as_me: error: no acceptable C compiler found in \$PATH
2461 See \`config.log' for more details." >&2;}
2462 { (exit 1); exit 1; }; }
2464 # Provide some information about the compiler.
2465 echo "$as_me:$LINENO: checking for C compiler version" >&5
2466 ac_compiler
=`set X $ac_compile; echo $2`
2467 { (ac_try
="$ac_compiler --version >&5"
2469 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2470 *) ac_try_echo=$ac_try;;
2472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2473 (eval "$ac_compiler --version >&5") 2>&5
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); }
2477 { (ac_try="$ac_compiler -v >&5"
2479 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2480 *) ac_try_echo
=$ac_try;;
2482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2483 (eval "$ac_compiler -v >&5") 2>&5
2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486 (exit $ac_status); }
2487 { (ac_try
="$ac_compiler -V >&5"
2489 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2490 *) ac_try_echo=$ac_try;;
2492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2493 (eval "$ac_compiler -V >&5") 2>&5
2495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496 (exit $ac_status); }
2498 cat >conftest.$ac_ext <<_ACEOF
2501 cat confdefs.h >>conftest.$ac_ext
2502 cat >>conftest.$ac_ext <<_ACEOF
2503 /* end confdefs.h. */
2513 ac_clean_files_save=$ac_clean_files
2514 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2515 # Try to create an executable without -o first, disregard a.out.
2516 # It will help us diagnose broken compilers, and finding out an intuition
2518 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2519 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2520 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2522 # List of possible output files, starting from the most likely.
2523 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2524 # only as a last resort. b.out is created by i960 compilers.
2525 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2527 # The IRIX 6 linker writes into existing files which may not be
2528 # executable, retaining their permissions. Remove them first so a
2529 # subsequent execution test works.
2531 for ac_file in $ac_files
2534 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2535 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2540 if { (ac_try="$ac_link_default"
2542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2543 *) ac_try_echo=$ac_try;;
2545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2546 (eval "$ac_link_default") 2>&5
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); }; then
2550 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2551 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2552 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2553 # so that the user can short-circuit this test for compilers unknown to
2555 for ac_file
in $ac_files ''
2557 test -f "$ac_file" ||
continue
2559 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2562 # We found the default executable, but exeext='' is most
2566 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2568 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2570 # We set ac_cv_exeext here because the later test for it is not
2571 # safe: cross compilers may not add the suffix if given an `-o'
2572 # argument, so we may need to know it at that point already.
2573 # Even if this section looks crufty: it has the advantage of
2580 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2586 { echo "$as_me:$LINENO: result: $ac_file" >&5
2587 echo "${ECHO_T}$ac_file" >&6; }
2588 if test -z "$ac_file"; then
2589 echo "$as_me: failed program was:" >&5
2590 sed 's/^/| /' conftest.
$ac_ext >&5
2592 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2593 See \`config.log' for more details." >&5
2594 echo "$as_me: error: C compiler cannot create executables
2595 See \`config.log' for more details." >&2;}
2596 { (exit 77); exit 77; }; }
2599 ac_exeext
=$ac_cv_exeext
2601 # Check that the compiler produces executables we can run. If not, either
2602 # the compiler is broken, or we cross compile.
2603 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2604 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2605 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2606 # If not cross compiling, check that we can run a simple program.
2607 if test "$cross_compiling" != yes; then
2608 if { ac_try
='./$ac_file'
2609 { (case "(($ac_try" in
2610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2611 *) ac_try_echo=$ac_try;;
2613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2614 (eval "$ac_try") 2>&5
2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); }; }; then
2620 if test "$cross_compiling" = maybe; then
2623 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2624 If you meant to cross compile, use \`--host'.
2625 See \`config.log' for more details.
" >&5
2626 echo "$as_me: error
: cannot run C compiled programs.
2627 If you meant to cross compile
, use \
`--host'.
2628 See \`config.log
' for more details." >&2;}
2629 { (exit 1); exit 1; }; }
2633 { echo "$as_me:$LINENO: result: yes" >&5
2634 echo "${ECHO_T}yes" >&6; }
2636 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2637 ac_clean_files=$ac_clean_files_save
2638 # Check that the compiler produces executables we can run. If not, either
2639 # the compiler is broken, or we cross compile.
2640 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2641 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2642 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2643 echo "${ECHO_T}$cross_compiling" >&6; }
2645 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2646 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2647 if { (ac_try="$ac_link"
2649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2650 *) ac_try_echo=$ac_try;;
2652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2653 (eval "$ac_link") 2>&5
2655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); }; then
2657 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2658 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2659 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2661 for ac_file
in conftest.exe conftest conftest.
*; do
2662 test -f "$ac_file" ||
continue
2664 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2665 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2671 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2672 See \`config.log' for more details." >&5
2673 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2674 See \`config.log' for more details." >&2;}
2675 { (exit 1); exit 1; }; }
2678 rm -f conftest
$ac_cv_exeext
2679 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2680 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2682 rm -f conftest.
$ac_ext
2683 EXEEXT
=$ac_cv_exeext
2685 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2686 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2687 if test "${ac_cv_objext+set}" = set; then
2688 echo $ECHO_N "(cached) $ECHO_C" >&6
2690 cat >conftest.
$ac_ext <<_ACEOF
2693 cat confdefs.h
>>conftest.
$ac_ext
2694 cat >>conftest.
$ac_ext <<_ACEOF
2695 /* end confdefs.h. */
2705 rm -f conftest.o conftest.obj
2706 if { (ac_try
="$ac_compile"
2708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2709 *) ac_try_echo=$ac_try;;
2711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2712 (eval "$ac_compile") 2>&5
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); }; then
2716 for ac_file in conftest.o conftest.obj conftest.*; do
2717 test -f "$ac_file" || continue;
2719 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2720 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2725 echo "$as_me: failed program was:" >&5
2726 sed 's/^/| /' conftest.$ac_ext >&5
2728 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2729 See \`config.log
' for more details." >&5
2730 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2731 See \`config.log' for more details.
" >&2;}
2732 { (exit 1); exit 1; }; }
2735 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2737 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2738 echo "${ECHO_T}$ac_cv_objext" >&6; }
2739 OBJEXT=$ac_cv_objext
2741 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2742 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2743 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2744 echo $ECHO_N "(cached
) $ECHO_C" >&6
2746 cat >conftest.$ac_ext <<_ACEOF
2749 cat confdefs.h >>conftest.$ac_ext
2750 cat >>conftest.$ac_ext <<_ACEOF
2751 /* end confdefs.h. */
2764 rm -f conftest.$ac_objext
2765 if { (ac_try="$ac_compile"
2767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768 *) ac_try_echo=$ac_try;;
2770 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2771 (eval "$ac_compile") 2>conftest.er1
2773 grep -v '^ *+' conftest.er1 >conftest.err
2775 cat conftest.err >&5
2776 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2777 (exit $ac_status); } && {
2778 test -z "$ac_c_werror_flag" ||
2779 test ! -s conftest.err
2780 } && test -s conftest.$ac_objext; then
2783 echo "$as_me: failed program was
:" >&5
2784 sed 's/^/| /' conftest.$ac_ext >&5
2789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2790 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2793 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2794 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2795 GCC=`test $ac_compiler_gnu = yes && echo yes`
2796 ac_test_CFLAGS=${CFLAGS+set}
2797 ac_save_CFLAGS=$CFLAGS
2798 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2799 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2800 if test "${ac_cv_prog_cc_g+set}" = set; then
2801 echo $ECHO_N "(cached
) $ECHO_C" >&6
2803 ac_save_c_werror_flag=$ac_c_werror_flag
2804 ac_c_werror_flag=yes
2807 cat >conftest.$ac_ext <<_ACEOF
2810 cat confdefs.h >>conftest.$ac_ext
2811 cat >>conftest.$ac_ext <<_ACEOF
2812 /* end confdefs.h. */
2822 rm -f conftest.$ac_objext
2823 if { (ac_try="$ac_compile"
2825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2826 *) ac_try_echo=$ac_try;;
2828 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2829 (eval "$ac_compile") 2>conftest.er1
2831 grep -v '^ *+' conftest.er1 >conftest.err
2833 cat conftest.err >&5
2834 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2835 (exit $ac_status); } && {
2836 test -z "$ac_c_werror_flag" ||
2837 test ! -s conftest.err
2838 } && test -s conftest.$ac_objext; then
2841 echo "$as_me: failed program was
:" >&5
2842 sed 's/^/| /' conftest.$ac_ext >&5
2845 cat >conftest.$ac_ext <<_ACEOF
2848 cat confdefs.h >>conftest.$ac_ext
2849 cat >>conftest.$ac_ext <<_ACEOF
2850 /* end confdefs.h. */
2860 rm -f conftest.$ac_objext
2861 if { (ac_try="$ac_compile"
2863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2864 *) ac_try_echo=$ac_try;;
2866 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2867 (eval "$ac_compile") 2>conftest.er1
2869 grep -v '^ *+' conftest.er1 >conftest.err
2871 cat conftest.err >&5
2872 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2873 (exit $ac_status); } && {
2874 test -z "$ac_c_werror_flag" ||
2875 test ! -s conftest.err
2876 } && test -s conftest.$ac_objext; then
2879 echo "$as_me: failed program was
:" >&5
2880 sed 's/^/| /' conftest.$ac_ext >&5
2882 ac_c_werror_flag=$ac_save_c_werror_flag
2884 cat >conftest.$ac_ext <<_ACEOF
2887 cat confdefs.h >>conftest.$ac_ext
2888 cat >>conftest.$ac_ext <<_ACEOF
2889 /* end confdefs.h. */
2899 rm -f conftest.$ac_objext
2900 if { (ac_try="$ac_compile"
2902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2903 *) ac_try_echo=$ac_try;;
2905 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2906 (eval "$ac_compile") 2>conftest.er1
2908 grep -v '^ *+' conftest.er1 >conftest.err
2910 cat conftest.err >&5
2911 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2912 (exit $ac_status); } && {
2913 test -z "$ac_c_werror_flag" ||
2914 test ! -s conftest.err
2915 } && test -s conftest.$ac_objext; then
2918 echo "$as_me: failed program was
:" >&5
2919 sed 's/^/| /' conftest.$ac_ext >&5
2924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2931 ac_c_werror_flag=$ac_save_c_werror_flag
2933 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2934 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2935 if test "$ac_test_CFLAGS" = set; then
2936 CFLAGS=$ac_save_CFLAGS
2937 elif test $ac_cv_prog_cc_g = yes; then
2938 if test "$GCC" = yes; then
2944 if test "$GCC" = yes; then
2950 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2951 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2952 if test "${ac_cv_prog_cc_c89+set}" = set; then
2953 echo $ECHO_N "(cached
) $ECHO_C" >&6
2955 ac_cv_prog_cc_c89=no
2957 cat >conftest.$ac_ext <<_ACEOF
2960 cat confdefs.h >>conftest.$ac_ext
2961 cat >>conftest.$ac_ext <<_ACEOF
2962 /* end confdefs.h. */
2965 #include <sys/types.h>
2966 #include <sys/stat.h>
2967 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2968 struct buf { int x; };
2969 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2970 static char *e (p, i)
2976 static char *f (char * (*g) (char **, int), char **p, ...)
2981 s = g (p, va_arg (v,int));
2986 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2987 function prototypes and stuff, but not '\xHH' hex character constants.
2988 These don't provoke an error unfortunately, instead are silently treated
2989 as 'x'. The following induces an error, until -std is added to get
2990 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2991 array size at least. It's necessary to write '\x00'==0 to get something
2992 that's true only with -std. */
2993 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2995 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2996 inside strings and character constants. */
2998 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3000 int test (int i, double x);
3001 struct s1 {int (*f) (int a);};
3002 struct s2 {int (*f) (double a);};
3003 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3009 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3014 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3015 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3017 CC="$ac_save_CC $ac_arg"
3018 rm -f conftest.$ac_objext
3019 if { (ac_try="$ac_compile"
3021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3022 *) ac_try_echo=$ac_try;;
3024 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3025 (eval "$ac_compile") 2>conftest.er1
3027 grep -v '^ *+' conftest.er1 >conftest.err
3029 cat conftest.err >&5
3030 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3031 (exit $ac_status); } && {
3032 test -z "$ac_c_werror_flag" ||
3033 test ! -s conftest.err
3034 } && test -s conftest.$ac_objext; then
3035 ac_cv_prog_cc_c89=$ac_arg
3037 echo "$as_me: failed program was
:" >&5
3038 sed 's/^/| /' conftest.$ac_ext >&5
3043 rm -f core conftest.err conftest.$ac_objext
3044 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3046 rm -f conftest.$ac_ext
3051 case "x
$ac_cv_prog_cc_c89" in
3053 { echo "$as_me:$LINENO: result
: none needed
" >&5
3054 echo "${ECHO_T}none needed
" >&6; } ;;
3056 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3057 echo "${ECHO_T}unsupported
" >&6; } ;;
3059 CC="$CC $ac_cv_prog_cc_c89"
3060 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3061 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3066 ac_cpp='$CPP $CPPFLAGS'
3067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3070 DEPDIR="${am__leading_dot}deps
"
3072 ac_config_commands="$ac_config_commands depfiles
"
3075 am_make=${MAKE-make}
3076 cat > confinc << 'END'
3081 # If we don't find an include directive, just comment out the code.
3082 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3083 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3087 # First try GNU make style include.
3088 echo "include confinc" > confmf
3089 # We grep out `Entering directory' and `Leaving directory'
3090 # messages which can occur if `w' ends up in MAKEFLAGS.
3091 # In particular we don't look at `^make:' because GNU make might
3092 # be invoked under some other name (usually "gmake"), in which
3093 # case it prints its new name instead of `make'.
3094 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3099 # Now try BSD make style include.
3100 if test "$am__include" = "#"; then
3101 echo '.include "confinc"' > confmf
3102 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3103 am__include
=.include
3110 { echo "$as_me:$LINENO: result: $_am_result" >&5
3111 echo "${ECHO_T}$_am_result" >&6; }
3112 rm -f confinc confmf
3114 # Check whether --enable-dependency-tracking was given.
3115 if test "${enable_dependency_tracking+set}" = set; then
3116 enableval
=$enable_dependency_tracking;
3119 if test "x$enable_dependency_tracking" != xno
; then
3120 am_depcomp
="$ac_aux_dir/depcomp"
3125 if test "x$enable_dependency_tracking" != xno; then
3136 depcc
="$CC" am_compiler_list
=
3138 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3139 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3140 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3141 echo $ECHO_N "(cached) $ECHO_C" >&6
3143 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3144 # We make a subdir and do the tests there. Otherwise we can end up
3145 # making bogus files that we don't know about and never remove. For
3146 # instance it was reported that on HP-UX the gcc test will end up
3147 # making a dummy file named `D' -- because `-MD' means `put the output
3150 # Copy depcomp to subdir because otherwise we won't find it if we're
3151 # using a relative directory.
3152 cp "$am_depcomp" conftest.dir
3154 # We will build objects and dependencies in a subdirectory because
3155 # it helps to detect inapplicable dependency modes. For instance
3156 # both Tru64's cc and ICC support -MD to output dependencies as a
3157 # side effect of compilation, but ICC will put the dependencies in
3158 # the current directory while Tru64 will put them in the object
3162 am_cv_CC_dependencies_compiler_type
=none
3163 if test "$am_compiler_list" = ""; then
3164 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3166 for depmode
in $am_compiler_list; do
3167 # Setup a source with many dependencies, because some compilers
3168 # like to wrap large dependency lists on column 80 (with \), and
3169 # we should not choose a depcomp mode which is confused by this.
3171 # We need to recreate these files for each test, as the compiler may
3172 # overwrite some of them when testing with obscure command lines.
3173 # This happens at least with the AIX C compiler.
3175 for i
in 1 2 3 4 5 6; do
3176 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3177 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3178 # Solaris 8's {/usr,}/bin/sh.
3179 touch sub
/conftst
$i.h
3181 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3185 # after this tag, mechanisms are not by side-effect, so they'll
3186 # only be used when explicitly requested
3187 if test "x$enable_dependency_tracking" = xyes
; then
3195 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3196 # mode. It turns out that the SunPro C++ compiler does not properly
3197 # handle `-M -o', and we need to detect this.
3198 if depmode
=$depmode \
3199 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3200 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3201 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3202 >/dev
/null
2>conftest.err
&&
3203 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3204 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3205 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3206 # icc doesn't choke on unknown options, it will just issue warnings
3207 # or remarks (even with -Werror). So we grep stderr for any message
3208 # that says an option was ignored or not supported.
3209 # When given -MP, icc 7.0 and 7.1 complain thusly:
3210 # icc: Command line warning: ignoring option '-M'; no argument required
3211 # The diagnosis changed in icc 8.0:
3212 # icc: Command line remark: option '-MP' not supported
3213 if (grep 'ignoring option' conftest.err ||
3214 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3215 am_cv_CC_dependencies_compiler_type
=$depmode
3224 am_cv_CC_dependencies_compiler_type
=none
3228 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3229 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3230 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3235 test "x$enable_dependency_tracking" != xno \
3236 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3238 am__fastdepCC_FALSE
='#'
3240 am__fastdepCC_TRUE
='#'
3241 am__fastdepCC_FALSE
=
3245 if test -n "$ac_tool_prefix"; then
3246 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3247 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3248 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3250 if test "${ac_cv_prog_RANLIB+set}" = set; then
3251 echo $ECHO_N "(cached) $ECHO_C" >&6
3253 if test -n "$RANLIB"; then
3254 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3260 test -z "$as_dir" && as_dir
=.
3261 for ac_exec_ext
in '' $ac_executable_extensions; do
3262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3263 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3273 RANLIB
=$ac_cv_prog_RANLIB
3274 if test -n "$RANLIB"; then
3275 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3276 echo "${ECHO_T}$RANLIB" >&6; }
3278 { echo "$as_me:$LINENO: result: no" >&5
3279 echo "${ECHO_T}no" >&6; }
3284 if test -z "$ac_cv_prog_RANLIB"; then
3285 ac_ct_RANLIB
=$RANLIB
3286 # Extract the first word of "ranlib", so it can be a program name with args.
3287 set dummy ranlib
; ac_word
=$2
3288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3290 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3291 echo $ECHO_N "(cached) $ECHO_C" >&6
3293 if test -n "$ac_ct_RANLIB"; then
3294 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3300 test -z "$as_dir" && as_dir
=.
3301 for ac_exec_ext
in '' $ac_executable_extensions; do
3302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3303 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3313 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3314 if test -n "$ac_ct_RANLIB"; then
3315 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3316 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3318 { echo "$as_me:$LINENO: result: no" >&5
3319 echo "${ECHO_T}no" >&6; }
3322 if test "x$ac_ct_RANLIB" = x
; then
3325 case $cross_compiling:$ac_tool_warned in
3327 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3328 whose name does not start with the host triplet. If you think this
3329 configuration is useful to you, please write to autoconf@gnu.org." >&5
3330 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3331 whose name does not start with the host triplet. If you think this
3332 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3333 ac_tool_warned
=yes ;;
3335 RANLIB
=$ac_ct_RANLIB
3338 RANLIB
="$ac_cv_prog_RANLIB"
3343 { echo "$as_me:$LINENO: checking for gethostbyaddr_r" >&5
3344 echo $ECHO_N "checking for gethostbyaddr_r... $ECHO_C" >&6; }
3345 if test "${ac_cv_func_gethostbyaddr_r+set}" = set; then
3346 echo $ECHO_N "(cached) $ECHO_C" >&6
3348 cat >conftest.
$ac_ext <<_ACEOF
3351 cat confdefs.h
>>conftest.
$ac_ext
3352 cat >>conftest.
$ac_ext <<_ACEOF
3353 /* end confdefs.h. */
3354 /* Define gethostbyaddr_r to an innocuous variant, in case <limits.h> declares gethostbyaddr_r.
3355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3356 #define gethostbyaddr_r innocuous_gethostbyaddr_r
3358 /* System header to define __stub macros and hopefully few prototypes,
3359 which can conflict with char gethostbyaddr_r (); below.
3360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3361 <limits.h> exists even on freestanding compilers. */
3364 # include <limits.h>
3366 # include <assert.h>
3369 #undef gethostbyaddr_r
3371 /* Override any GCC internal prototype to avoid an error.
3372 Use char because int might match the return type of a GCC
3373 builtin and then its argument prototype would still apply. */
3377 char gethostbyaddr_r ();
3378 /* The GNU C library defines this for functions which it implements
3379 to always fail with ENOSYS. Some functions are actually named
3380 something starting with __ and the normal name is an alias. */
3381 #if defined __stub_gethostbyaddr_r || defined __stub___gethostbyaddr_r
3388 return gethostbyaddr_r ();
3393 rm -f conftest.
$ac_objext conftest
$ac_exeext
3394 if { (ac_try
="$ac_link"
3396 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3397 *) ac_try_echo=$ac_try;;
3399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3400 (eval "$ac_link") 2>conftest.er1
3402 grep -v '^ *+' conftest.er1 >conftest.err
3404 cat conftest.err >&5
3405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3406 (exit $ac_status); } && {
3407 test -z "$ac_c_werror_flag" ||
3408 test ! -s conftest.err
3409 } && test -s conftest$ac_exeext &&
3410 $as_test_x conftest$ac_exeext; then
3411 ac_cv_func_gethostbyaddr_r=yes
3413 echo "$as_me: failed program was:" >&5
3414 sed 's/^/| /' conftest.$ac_ext >&5
3416 ac_cv_func_gethostbyaddr_r=no
3419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3420 conftest$ac_exeext conftest.$ac_ext
3422 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyaddr_r" >&5
3423 echo "${ECHO_T}$ac_cv_func_gethostbyaddr_r" >&6; }
3424 if test $ac_cv_func_gethostbyaddr_r = yes; then
3425 cat >>confdefs.h <<\_ACEOF
3426 #define HAS_GETHOSTBYADDR_R 1
3431 { echo "$as_me:$LINENO: checking for gethostbyname_r" >&5
3432 echo $ECHO_N "checking for gethostbyname_r... $ECHO_C" >&6; }
3433 if test "${ac_cv_func_gethostbyname_r+set}" = set; then
3434 echo $ECHO_N "(cached) $ECHO_C" >&6
3436 cat >conftest.$ac_ext <<_ACEOF
3439 cat confdefs.h >>conftest.$ac_ext
3440 cat >>conftest.$ac_ext <<_ACEOF
3441 /* end confdefs.h. */
3442 /* Define gethostbyname_r to an innocuous variant, in case <limits.h> declares gethostbyname_r.
3443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3444 #define gethostbyname_r innocuous_gethostbyname_r
3446 /* System header to define __stub macros and hopefully few prototypes,
3447 which can conflict with char gethostbyname_r (); below.
3448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3449 <limits.h> exists even on freestanding compilers. */
3452 # include <limits.h>
3454 # include <assert.h>
3457 #undef gethostbyname_r
3459 /* Override any GCC internal prototype to avoid an error.
3460 Use char because int might match the return type of a GCC
3461 builtin and then its argument prototype would still apply. */
3465 char gethostbyname_r ();
3466 /* The GNU C library defines this for functions which it implements
3467 to always fail with ENOSYS. Some functions are actually named
3468 something starting with __ and the normal name is an alias. */
3469 #if defined __stub_gethostbyname_r || defined __stub___gethostbyname_r
3476 return gethostbyname_r ();
3481 rm -f conftest.$ac_objext conftest$ac_exeext
3482 if { (ac_try="$ac_link"
3484 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3485 *) ac_try_echo
=$ac_try;;
3487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3488 (eval "$ac_link") 2>conftest.er1
3490 grep -v '^ *+' conftest.er1
>conftest.err
3492 cat conftest.err
>&5
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); } && {
3495 test -z "$ac_c_werror_flag" ||
3496 test ! -s conftest.err
3497 } && test -s conftest
$ac_exeext &&
3498 $as_test_x conftest
$ac_exeext; then
3499 ac_cv_func_gethostbyname_r
=yes
3501 echo "$as_me: failed program was:" >&5
3502 sed 's/^/| /' conftest.
$ac_ext >&5
3504 ac_cv_func_gethostbyname_r
=no
3507 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3508 conftest
$ac_exeext conftest.
$ac_ext
3510 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname_r" >&5
3511 echo "${ECHO_T}$ac_cv_func_gethostbyname_r" >&6; }
3512 if test $ac_cv_func_gethostbyname_r = yes; then
3513 cat >>confdefs.h
<<\_ACEOF
3514 #define HAS_GETHOSTBYNAME_R 1
3519 { echo "$as_me:$LINENO: checking for poll" >&5
3520 echo $ECHO_N "checking for poll... $ECHO_C" >&6; }
3521 if test "${ac_cv_func_poll+set}" = set; then
3522 echo $ECHO_N "(cached) $ECHO_C" >&6
3524 cat >conftest.
$ac_ext <<_ACEOF
3527 cat confdefs.h
>>conftest.
$ac_ext
3528 cat >>conftest.
$ac_ext <<_ACEOF
3529 /* end confdefs.h. */
3530 /* Define poll to an innocuous variant, in case <limits.h> declares poll.
3531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3532 #define poll innocuous_poll
3534 /* System header to define __stub macros and hopefully few prototypes,
3535 which can conflict with char poll (); below.
3536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3537 <limits.h> exists even on freestanding compilers. */
3540 # include <limits.h>
3542 # include <assert.h>
3547 /* Override any GCC internal prototype to avoid an error.
3548 Use char because int might match the return type of a GCC
3549 builtin and then its argument prototype would still apply. */
3554 /* The GNU C library defines this for functions which it implements
3555 to always fail with ENOSYS. Some functions are actually named
3556 something starting with __ and the normal name is an alias. */
3557 #if defined __stub_poll || defined __stub___poll
3569 rm -f conftest.
$ac_objext conftest
$ac_exeext
3570 if { (ac_try
="$ac_link"
3572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3573 *) ac_try_echo=$ac_try;;
3575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3576 (eval "$ac_link") 2>conftest.er1
3578 grep -v '^ *+' conftest.er1 >conftest.err
3580 cat conftest.err >&5
3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3582 (exit $ac_status); } && {
3583 test -z "$ac_c_werror_flag" ||
3584 test ! -s conftest.err
3585 } && test -s conftest$ac_exeext &&
3586 $as_test_x conftest$ac_exeext; then
3589 echo "$as_me: failed program was:" >&5
3590 sed 's/^/| /' conftest.$ac_ext >&5
3595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3596 conftest$ac_exeext conftest.$ac_ext
3598 { echo "$as_me:$LINENO: result: $ac_cv_func_poll" >&5
3599 echo "${ECHO_T}$ac_cv_func_poll" >&6; }
3600 if test $ac_cv_func_poll = yes; then
3601 cat >>confdefs.h <<\_ACEOF
3607 { echo "$as_me:$LINENO: checking for fcntl" >&5
3608 echo $ECHO_N "checking for fcntl... $ECHO_C" >&6; }
3609 if test "${ac_cv_func_fcntl+set}" = set; then
3610 echo $ECHO_N "(cached) $ECHO_C" >&6
3612 cat >conftest.$ac_ext <<_ACEOF
3615 cat confdefs.h >>conftest.$ac_ext
3616 cat >>conftest.$ac_ext <<_ACEOF
3617 /* end confdefs.h. */
3618 /* Define fcntl to an innocuous variant, in case <limits.h> declares fcntl.
3619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3620 #define fcntl innocuous_fcntl
3622 /* System header to define __stub macros and hopefully few prototypes,
3623 which can conflict with char fcntl (); below.
3624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3625 <limits.h> exists even on freestanding compilers. */
3628 # include <limits.h>
3630 # include <assert.h>
3635 /* Override any GCC internal prototype to avoid an error.
3636 Use char because int might match the return type of a GCC
3637 builtin and then its argument prototype would still apply. */
3642 /* The GNU C library defines this for functions which it implements
3643 to always fail with ENOSYS. Some functions are actually named
3644 something starting with __ and the normal name is an alias. */
3645 #if defined __stub_fcntl || defined __stub___fcntl
3657 rm -f conftest.$ac_objext conftest$ac_exeext
3658 if { (ac_try="$ac_link"
3660 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3661 *) ac_try_echo
=$ac_try;;
3663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3664 (eval "$ac_link") 2>conftest.er1
3666 grep -v '^ *+' conftest.er1
>conftest.err
3668 cat conftest.err
>&5
3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 (exit $ac_status); } && {
3671 test -z "$ac_c_werror_flag" ||
3672 test ! -s conftest.err
3673 } && test -s conftest
$ac_exeext &&
3674 $as_test_x conftest
$ac_exeext; then
3675 ac_cv_func_fcntl
=yes
3677 echo "$as_me: failed program was:" >&5
3678 sed 's/^/| /' conftest.
$ac_ext >&5
3683 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3684 conftest
$ac_exeext conftest.
$ac_ext
3686 { echo "$as_me:$LINENO: result: $ac_cv_func_fcntl" >&5
3687 echo "${ECHO_T}$ac_cv_func_fcntl" >&6; }
3688 if test $ac_cv_func_fcntl = yes; then
3689 cat >>confdefs.h
<<\_ACEOF
3695 { echo "$as_me:$LINENO: checking for inet_pton" >&5
3696 echo $ECHO_N "checking for inet_pton... $ECHO_C" >&6; }
3697 if test "${ac_cv_func_inet_pton+set}" = set; then
3698 echo $ECHO_N "(cached) $ECHO_C" >&6
3700 cat >conftest.
$ac_ext <<_ACEOF
3703 cat confdefs.h
>>conftest.
$ac_ext
3704 cat >>conftest.
$ac_ext <<_ACEOF
3705 /* end confdefs.h. */
3706 /* Define inet_pton to an innocuous variant, in case <limits.h> declares inet_pton.
3707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3708 #define inet_pton innocuous_inet_pton
3710 /* System header to define __stub macros and hopefully few prototypes,
3711 which can conflict with char inet_pton (); below.
3712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3713 <limits.h> exists even on freestanding compilers. */
3716 # include <limits.h>
3718 # include <assert.h>
3723 /* Override any GCC internal prototype to avoid an error.
3724 Use char because int might match the return type of a GCC
3725 builtin and then its argument prototype would still apply. */
3730 /* The GNU C library defines this for functions which it implements
3731 to always fail with ENOSYS. Some functions are actually named
3732 something starting with __ and the normal name is an alias. */
3733 #if defined __stub_inet_pton || defined __stub___inet_pton
3740 return inet_pton ();
3745 rm -f conftest.
$ac_objext conftest
$ac_exeext
3746 if { (ac_try
="$ac_link"
3748 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3749 *) ac_try_echo=$ac_try;;
3751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3752 (eval "$ac_link") 2>conftest.er1
3754 grep -v '^ *+' conftest.er1 >conftest.err
3756 cat conftest.err >&5
3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3758 (exit $ac_status); } && {
3759 test -z "$ac_c_werror_flag" ||
3760 test ! -s conftest.err
3761 } && test -s conftest$ac_exeext &&
3762 $as_test_x conftest$ac_exeext; then
3763 ac_cv_func_inet_pton=yes
3765 echo "$as_me: failed program was:" >&5
3766 sed 's/^/| /' conftest.$ac_ext >&5
3768 ac_cv_func_inet_pton=no
3771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3772 conftest$ac_exeext conftest.$ac_ext
3774 { echo "$as_me:$LINENO: result: $ac_cv_func_inet_pton" >&5
3775 echo "${ECHO_T}$ac_cv_func_inet_pton" >&6; }
3776 if test $ac_cv_func_inet_pton = yes; then
3777 cat >>confdefs.h <<\_ACEOF
3778 #define HAS_INET_PTON 1
3783 { echo "$as_me:$LINENO: checking for inet_ntop" >&5
3784 echo $ECHO_N "checking for inet_ntop... $ECHO_C" >&6; }
3785 if test "${ac_cv_func_inet_ntop+set}" = set; then
3786 echo $ECHO_N "(cached) $ECHO_C" >&6
3788 cat >conftest.$ac_ext <<_ACEOF
3791 cat confdefs.h >>conftest.$ac_ext
3792 cat >>conftest.$ac_ext <<_ACEOF
3793 /* end confdefs.h. */
3794 /* Define inet_ntop to an innocuous variant, in case <limits.h> declares inet_ntop.
3795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3796 #define inet_ntop innocuous_inet_ntop
3798 /* System header to define __stub macros and hopefully few prototypes,
3799 which can conflict with char inet_ntop (); below.
3800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3801 <limits.h> exists even on freestanding compilers. */
3804 # include <limits.h>
3806 # include <assert.h>
3811 /* Override any GCC internal prototype to avoid an error.
3812 Use char because int might match the return type of a GCC
3813 builtin and then its argument prototype would still apply. */
3818 /* The GNU C library defines this for functions which it implements
3819 to always fail with ENOSYS. Some functions are actually named
3820 something starting with __ and the normal name is an alias. */
3821 #if defined __stub_inet_ntop || defined __stub___inet_ntop
3828 return inet_ntop ();
3833 rm -f conftest.$ac_objext conftest$ac_exeext
3834 if { (ac_try="$ac_link"
3836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3837 *) ac_try_echo
=$ac_try;;
3839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3840 (eval "$ac_link") 2>conftest.er1
3842 grep -v '^ *+' conftest.er1
>conftest.err
3844 cat conftest.err
>&5
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); } && {
3847 test -z "$ac_c_werror_flag" ||
3848 test ! -s conftest.err
3849 } && test -s conftest
$ac_exeext &&
3850 $as_test_x conftest
$ac_exeext; then
3851 ac_cv_func_inet_ntop
=yes
3853 echo "$as_me: failed program was:" >&5
3854 sed 's/^/| /' conftest.
$ac_ext >&5
3856 ac_cv_func_inet_ntop
=no
3859 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3860 conftest
$ac_exeext conftest.
$ac_ext
3862 { echo "$as_me:$LINENO: result: $ac_cv_func_inet_ntop" >&5
3863 echo "${ECHO_T}$ac_cv_func_inet_ntop" >&6; }
3864 if test $ac_cv_func_inet_ntop = yes; then
3865 cat >>confdefs.h
<<\_ACEOF
3866 #define HAS_INET_NTOP 1
3872 { echo "$as_me:$LINENO: checking for struct msghdr.msg_flags" >&5
3873 echo $ECHO_N "checking for struct msghdr.msg_flags... $ECHO_C" >&6; }
3874 if test "${ac_cv_member_struct_msghdr_msg_flags+set}" = set; then
3875 echo $ECHO_N "(cached) $ECHO_C" >&6
3877 cat >conftest.
$ac_ext <<_ACEOF
3880 cat confdefs.h
>>conftest.
$ac_ext
3881 cat >>conftest.
$ac_ext <<_ACEOF
3882 /* end confdefs.h. */
3883 #include <sys/socket.h>
3888 static struct msghdr ac_aggr;
3889 if (ac_aggr.msg_flags)
3895 rm -f conftest.
$ac_objext
3896 if { (ac_try
="$ac_compile"
3898 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3899 *) ac_try_echo=$ac_try;;
3901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3902 (eval "$ac_compile") 2>conftest.er1
3904 grep -v '^ *+' conftest.er1 >conftest.err
3906 cat conftest.err >&5
3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); } && {
3909 test -z "$ac_c_werror_flag" ||
3910 test ! -s conftest.err
3911 } && test -s conftest.$ac_objext; then
3912 ac_cv_member_struct_msghdr_msg_flags=yes
3914 echo "$as_me: failed program was:" >&5
3915 sed 's/^/| /' conftest.$ac_ext >&5
3917 cat >conftest.$ac_ext <<_ACEOF
3920 cat confdefs.h >>conftest.$ac_ext
3921 cat >>conftest.$ac_ext <<_ACEOF
3922 /* end confdefs.h. */
3923 #include <sys/socket.h>
3928 static struct msghdr ac_aggr;
3929 if (sizeof ac_aggr.msg_flags)
3935 rm -f conftest.$ac_objext
3936 if { (ac_try="$ac_compile"
3938 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3939 *) ac_try_echo
=$ac_try;;
3941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3942 (eval "$ac_compile") 2>conftest.er1
3944 grep -v '^ *+' conftest.er1
>conftest.err
3946 cat conftest.err
>&5
3947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948 (exit $ac_status); } && {
3949 test -z "$ac_c_werror_flag" ||
3950 test ! -s conftest.err
3951 } && test -s conftest.
$ac_objext; then
3952 ac_cv_member_struct_msghdr_msg_flags
=yes
3954 echo "$as_me: failed program was:" >&5
3955 sed 's/^/| /' conftest.
$ac_ext >&5
3957 ac_cv_member_struct_msghdr_msg_flags
=no
3960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3965 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_flags" >&5
3966 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_flags" >&6; }
3967 if test $ac_cv_member_struct_msghdr_msg_flags = yes; then
3968 cat >>confdefs.h
<<\_ACEOF
3969 #define HAS_MSGHDR_FLAGS 1
3975 { echo "$as_me:$LINENO: checking for socklen_t" >&5
3976 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
3977 if test "${ac_cv_type_socklen_t+set}" = set; then
3978 echo $ECHO_N "(cached) $ECHO_C" >&6
3980 cat >conftest.
$ac_ext <<_ACEOF
3983 cat confdefs.h
>>conftest.
$ac_ext
3984 cat >>conftest.
$ac_ext <<_ACEOF
3985 /* end confdefs.h. */
3986 #include <sys/types.h>
3987 #include <sys/socket.h>
3990 typedef socklen_t ac__type_new_;
3994 if ((ac__type_new_ *) 0)
3996 if (sizeof (ac__type_new_))
4002 rm -f conftest.
$ac_objext
4003 if { (ac_try
="$ac_compile"
4005 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4006 *) ac_try_echo=$ac_try;;
4008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4009 (eval "$ac_compile") 2>conftest.er1
4011 grep -v '^ *+' conftest.er1 >conftest.err
4013 cat conftest.err >&5
4014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4015 (exit $ac_status); } && {
4016 test -z "$ac_c_werror_flag" ||
4017 test ! -s conftest.err
4018 } && test -s conftest.$ac_objext; then
4019 ac_cv_type_socklen_t=yes
4021 echo "$as_me: failed program was:" >&5
4022 sed 's/^/| /' conftest.$ac_ext >&5
4024 ac_cv_type_socklen_t=no
4027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4029 { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
4030 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
4031 if test $ac_cv_type_socklen_t = yes; then
4032 cat >>confdefs.h <<\_ACEOF
4033 #define HAS_SOCKLEN_T 1
4040 ac_cpp='$CPP $CPPFLAGS'
4041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4044 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4045 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4046 # On Suns, sometimes $CPP names a directory.
4047 if test -n "$CPP" && test -d "$CPP"; then
4050 if test -z "$CPP"; then
4051 if test "${ac_cv_prog_CPP+set}" = set; then
4052 echo $ECHO_N "(cached) $ECHO_C" >&6
4054 # Double quotes because CPP needs to be expanded
4055 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4058 for ac_c_preproc_warn_flag in '' yes
4060 # Use a header file that comes with gcc, so configuring glibc
4061 # with a fresh cross-compiler works.
4062 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4063 # <limits.h> exists even on freestanding compilers.
4064 # On the NeXT, cc -E runs the code through the compiler's parser,
4065 # not just through cpp. "Syntax error" is here to catch this case.
4066 cat >conftest.$ac_ext <<_ACEOF
4069 cat confdefs.h >>conftest.$ac_ext
4070 cat >>conftest.$ac_ext <<_ACEOF
4071 /* end confdefs.h. */
4073 # include <limits.h>
4075 # include <assert.h>
4079 if { (ac_try="$ac_cpp conftest.$ac_ext"
4081 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4082 *) ac_try_echo
=$ac_try;;
4084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4085 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4087 grep -v '^ *+' conftest.er1
>conftest.err
4089 cat conftest.err
>&5
4090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4091 (exit $ac_status); } >/dev
/null
&& {
4092 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4093 test ! -s conftest.err
4097 echo "$as_me: failed program was:" >&5
4098 sed 's/^/| /' conftest.
$ac_ext >&5
4100 # Broken: fails on valid input.
4104 rm -f conftest.err conftest.
$ac_ext
4106 # OK, works on sane cases. Now check whether nonexistent headers
4107 # can be detected and how.
4108 cat >conftest.
$ac_ext <<_ACEOF
4111 cat confdefs.h
>>conftest.
$ac_ext
4112 cat >>conftest.
$ac_ext <<_ACEOF
4113 /* end confdefs.h. */
4114 #include <ac_nonexistent.h>
4116 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4118 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4119 *) ac_try_echo=$ac_try;;
4121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4122 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4124 grep -v '^ *+' conftest.er1 >conftest.err
4126 cat conftest.err >&5
4127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4128 (exit $ac_status); } >/dev/null && {
4129 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4130 test ! -s conftest.err
4132 # Broken: success on invalid input.
4135 echo "$as_me: failed program was:" >&5
4136 sed 's/^/| /' conftest.$ac_ext >&5
4138 # Passes both tests.
4143 rm -f conftest.err conftest.$ac_ext
4146 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4147 rm -f conftest.err conftest.
$ac_ext
4148 if $ac_preproc_ok; then
4160 { echo "$as_me:$LINENO: result: $CPP" >&5
4161 echo "${ECHO_T}$CPP" >&6; }
4163 for ac_c_preproc_warn_flag
in '' yes
4165 # Use a header file that comes with gcc, so configuring glibc
4166 # with a fresh cross-compiler works.
4167 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4168 # <limits.h> exists even on freestanding compilers.
4169 # On the NeXT, cc -E runs the code through the compiler's parser,
4170 # not just through cpp. "Syntax error" is here to catch this case.
4171 cat >conftest.
$ac_ext <<_ACEOF
4174 cat confdefs.h
>>conftest.
$ac_ext
4175 cat >>conftest.
$ac_ext <<_ACEOF
4176 /* end confdefs.h. */
4178 # include <limits.h>
4180 # include <assert.h>
4184 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4186 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4187 *) ac_try_echo=$ac_try;;
4189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4190 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4192 grep -v '^ *+' conftest.er1 >conftest.err
4194 cat conftest.err >&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); } >/dev/null && {
4197 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4198 test ! -s conftest.err
4202 echo "$as_me: failed program was:" >&5
4203 sed 's/^/| /' conftest.$ac_ext >&5
4205 # Broken: fails on valid input.
4209 rm -f conftest.err conftest.$ac_ext
4211 # OK, works on sane cases. Now check whether nonexistent headers
4212 # can be detected and how.
4213 cat >conftest.$ac_ext <<_ACEOF
4216 cat confdefs.h >>conftest.$ac_ext
4217 cat >>conftest.$ac_ext <<_ACEOF
4218 /* end confdefs.h. */
4219 #include <ac_nonexistent.h>
4221 if { (ac_try="$ac_cpp conftest.$ac_ext"
4223 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4224 *) ac_try_echo
=$ac_try;;
4226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4227 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4229 grep -v '^ *+' conftest.er1
>conftest.err
4231 cat conftest.err
>&5
4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); } >/dev
/null
&& {
4234 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4235 test ! -s conftest.err
4237 # Broken: success on invalid input.
4240 echo "$as_me: failed program was:" >&5
4241 sed 's/^/| /' conftest.
$ac_ext >&5
4243 # Passes both tests.
4248 rm -f conftest.err conftest.
$ac_ext
4251 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4252 rm -f conftest.err conftest.
$ac_ext
4253 if $ac_preproc_ok; then
4256 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4257 See \`config.log' for more details." >&5
4258 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4259 See \`config.log' for more details." >&2;}
4260 { (exit 1); exit 1; }; }
4264 ac_cpp
='$CPP $CPPFLAGS'
4265 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4266 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4267 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4270 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4271 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4272 if test "${ac_cv_path_GREP+set}" = set; then
4273 echo $ECHO_N "(cached) $ECHO_C" >&6
4275 # Extract the first word of "grep ggrep" to use in msg output
4276 if test -z "$GREP"; then
4277 set dummy
grep ggrep
; ac_prog_name
=$2
4278 if test "${ac_cv_path_GREP+set}" = set; then
4279 echo $ECHO_N "(cached) $ECHO_C" >&6
4281 ac_path_GREP_found
=false
4282 # Loop through the user's path and test for each of PROGNAME-LIST
4283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4284 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4287 test -z "$as_dir" && as_dir
=.
4288 for ac_prog
in grep ggrep
; do
4289 for ac_exec_ext
in '' $ac_executable_extensions; do
4290 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4291 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4292 # Check for GNU ac_path_GREP and select it if it is found.
4293 # Check for GNU $ac_path_GREP
4294 case `"$ac_path_GREP" --version 2>&1` in
4296 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4299 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4302 cat "conftest.in" "conftest.in" >"conftest.tmp"
4303 mv "conftest.tmp" "conftest.in"
4304 cp "conftest.in" "conftest.nl"
4305 echo 'GREP' >> "conftest.nl"
4306 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4307 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4308 ac_count
=`expr $ac_count + 1`
4309 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4310 # Best one so far, save it but keep looking for a better one
4311 ac_cv_path_GREP
="$ac_path_GREP"
4312 ac_path_GREP_max
=$ac_count
4314 # 10*(2^10) chars as input seems more than enough
4315 test $ac_count -gt 10 && break
4317 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4321 $ac_path_GREP_found && break 3
4331 GREP
="$ac_cv_path_GREP"
4332 if test -z "$GREP"; then
4333 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4334 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4335 { (exit 1); exit 1; }; }
4339 ac_cv_path_GREP
=$GREP
4344 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4345 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4346 GREP
="$ac_cv_path_GREP"
4349 { echo "$as_me:$LINENO: checking for egrep" >&5
4350 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4351 if test "${ac_cv_path_EGREP+set}" = set; then
4352 echo $ECHO_N "(cached) $ECHO_C" >&6
4354 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4355 then ac_cv_path_EGREP
="$GREP -E"
4357 # Extract the first word of "egrep" to use in msg output
4358 if test -z "$EGREP"; then
4359 set dummy
egrep; ac_prog_name
=$2
4360 if test "${ac_cv_path_EGREP+set}" = set; then
4361 echo $ECHO_N "(cached) $ECHO_C" >&6
4363 ac_path_EGREP_found
=false
4364 # Loop through the user's path and test for each of PROGNAME-LIST
4365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4366 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4369 test -z "$as_dir" && as_dir
=.
4370 for ac_prog
in egrep; do
4371 for ac_exec_ext
in '' $ac_executable_extensions; do
4372 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4373 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4374 # Check for GNU ac_path_EGREP and select it if it is found.
4375 # Check for GNU $ac_path_EGREP
4376 case `"$ac_path_EGREP" --version 2>&1` in
4378 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4381 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4384 cat "conftest.in" "conftest.in" >"conftest.tmp"
4385 mv "conftest.tmp" "conftest.in"
4386 cp "conftest.in" "conftest.nl"
4387 echo 'EGREP' >> "conftest.nl"
4388 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4389 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4390 ac_count
=`expr $ac_count + 1`
4391 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4392 # Best one so far, save it but keep looking for a better one
4393 ac_cv_path_EGREP
="$ac_path_EGREP"
4394 ac_path_EGREP_max
=$ac_count
4396 # 10*(2^10) chars as input seems more than enough
4397 test $ac_count -gt 10 && break
4399 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4403 $ac_path_EGREP_found && break 3
4413 EGREP
="$ac_cv_path_EGREP"
4414 if test -z "$EGREP"; then
4415 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4416 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4417 { (exit 1); exit 1; }; }
4421 ac_cv_path_EGREP
=$EGREP
4427 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4428 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4429 EGREP
="$ac_cv_path_EGREP"
4432 cat >conftest.
$ac_ext <<_ACEOF
4435 cat confdefs.h
>>conftest.
$ac_ext
4436 cat >>conftest.
$ac_ext <<_ACEOF
4437 /* end confdefs.h. */
4438 #include </usr/include/sys/socket.h>
4441 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4442 $EGREP "MSG_MAXIOVLEN" >/dev
/null
2>&1; then
4443 cat >>confdefs.h
<<\_ACEOF
4444 #define ENET_BUFFER_MAXIMUM MSG_MAXIOVLEN
4450 cat >conftest.
$ac_ext <<_ACEOF
4453 cat confdefs.h
>>conftest.
$ac_ext
4454 cat >>conftest.
$ac_ext <<_ACEOF
4455 /* end confdefs.h. */
4459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4460 $EGREP "MSG_MAXIOVLEN" >/dev
/null
2>&1; then
4461 cat >>confdefs.h
<<\_ACEOF
4462 #define ENET_BUFFER_MAXIMUM MSG_MAXIOVLEN
4469 { echo "$as_me:$LINENO: checking whether to use CRC32" >&5
4470 echo $ECHO_N "checking whether to use CRC32... $ECHO_C" >&6; }
4471 # Check whether --enable-crc32 was given.
4472 if test "${enable_crc32+set}" = set; then
4473 enableval
=$enable_crc32; if test "$enableval" = yes; then
4474 { echo "$as_me:$LINENO: result: yes" >&5
4475 echo "${ECHO_T}yes" >&6; }
4476 cat >>confdefs.h
<<\_ACEOF
4481 { echo "$as_me:$LINENO: result: no" >&5
4482 echo "${ECHO_T}no" >&6; }
4485 { echo "$as_me:$LINENO: result: no" >&5
4486 echo "${ECHO_T}no" >&6; }
4490 ac_config_files
="$ac_config_files Makefile include/Makefile include/enet/Makefile"
4492 cat >confcache
<<\_ACEOF
4493 # This file is a shell script that caches the results of configure
4494 # tests run on this system so they can be shared between configure
4495 # scripts and configure runs, see configure's option --config-cache.
4496 # It is not useful on other systems. If it contains results you don't
4497 # want to keep, you may remove or edit it.
4499 # config.status only pays attention to the cache file if you give it
4500 # the --recheck option to rerun configure.
4502 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4503 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4508 # The following way of writing the cache mishandles newlines in values,
4509 # but we know of no workaround that is simple, portable, and efficient.
4510 # So, we kill variables containing newlines.
4511 # Ultrix sh set writes to stderr and can't be redirected directly,
4512 # and sets the high bit in the cache file unless we assign to the vars.
4514 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4515 eval ac_val
=\$
$ac_var
4519 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4520 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4523 _ | IFS | as_nl
) ;; #(
4524 *) $as_unset $ac_var ;;
4530 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4531 *${as_nl}ac_space
=\
*)
4532 # `set' does not quote correctly, so add quotes (double-quote
4533 # substitution turns \\\\ into \\, and sed turns \\ into \).
4536 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4539 # `set' quotes correctly as required by POSIX, so do not add quotes.
4540 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4549 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4551 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4553 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4554 if test -w "$cache_file"; then
4555 test "x$cache_file" != "x/dev/null" &&
4556 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4557 echo "$as_me: updating cache $cache_file" >&6;}
4558 cat confcache
>$cache_file
4560 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4561 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4566 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4567 # Let make expand exec_prefix.
4568 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4570 # Transform confdefs.h into DEFS.
4571 # Protect against shell expansion while executing Makefile rules.
4572 # Protect against Makefile macro expansion.
4574 # If the first sed substitution is executed (which looks for macros that
4575 # take arguments), then branch to the quote section. Otherwise,
4576 # look for a macro that doesn't take arguments.
4580 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4582 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4586 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4599 DEFS
=`sed -n "$ac_script" confdefs.h`
4604 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4605 # 1. Remove the extension, and $U if already installed.
4606 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4607 ac_i
=`echo "$ac_i" | sed "$ac_script"`
4608 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4609 # will be set to the directory where LIBOBJS objects are built.
4610 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4611 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4615 LTLIBOBJS
=$ac_ltlibobjs
4618 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4619 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4620 Usually this means the macro was only invoked conditionally." >&5
4621 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4622 Usually this means the macro was only invoked conditionally." >&2;}
4623 { (exit 1); exit 1; }; }
4625 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4626 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4627 Usually this means the macro was only invoked conditionally." >&5
4628 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4629 Usually this means the macro was only invoked conditionally." >&2;}
4630 { (exit 1); exit 1; }; }
4633 : ${CONFIG_STATUS=./config.status}
4634 ac_clean_files_save
=$ac_clean_files
4635 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4636 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4637 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4638 cat >$CONFIG_STATUS <<_ACEOF
4640 # Generated by $as_me.
4641 # Run this file to recreate the current configuration.
4642 # Compiler output produced by configure, useful for debugging
4643 # configure, is in config.log if it exists.
4648 SHELL=\${CONFIG_SHELL-$SHELL}
4651 cat >>$CONFIG_STATUS <<\_ACEOF
4652 ## --------------------- ##
4653 ## M4sh Initialization. ##
4654 ## --------------------- ##
4656 # Be more Bourne compatible
4657 DUALCASE
=1; export DUALCASE
# for MKS sh
4658 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
4661 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4662 # is contrary to our usage. Disable this feature.
4663 alias -g '${1+"$@"}'='"$@"'
4664 setopt NO_GLOB_SUBST
4666 case `(set -o) 2>/dev/null` in
4667 *posix
*) set -o posix
;;
4676 # Avoid depending upon Character Ranges.
4677 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4678 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4679 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4680 as_cr_digits
='0123456789'
4681 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4683 # The user is always right.
4684 if test "${PATH_SEPARATOR+set}" != set; then
4685 echo "#! /bin/sh" >conf$$.sh
4686 echo "exit 0" >>conf$$.sh
4688 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4696 # Support unset when possible.
4697 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
4705 # We need space, tab and new line, in precisely that order. Quoting is
4706 # there to prevent editors from complaining about space-tab.
4707 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4708 # splitting by setting IFS to empty value.)
4713 # Find who we are. Look in the path if we contain no directory separator.
4715 *[\\/]* ) as_myself
=$0 ;;
4716 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4720 test -z "$as_dir" && as_dir
=.
4721 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
4727 # We did not find ourselves, most probably we were run as `sh COMMAND'
4728 # in which case we are not to be found in the path.
4729 if test "x$as_myself" = x
; then
4732 if test ! -f "$as_myself"; then
4733 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4734 { (exit 1); exit 1; }
4737 # Work around bugs in pre-3.0 UWIN ksh.
4738 for as_var
in ENV MAIL MAILPATH
4739 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
4747 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4748 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4749 LC_TELEPHONE LC_TIME
4751 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4752 eval $as_var=C
; export $as_var
4754 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
4758 # Required to use basename.
4759 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4760 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4766 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4767 as_basename
=basename
4773 # Name of the executable.
4774 as_me
=`$as_basename -- "$0" ||
4775 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4776 X"$0" : 'X\(//\)$' \| \
4777 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4779 sed '/^.*\/\([^/][^/]*\)\/*$/{
4800 test "x$as_lineno_1" != "x$as_lineno_2" &&
4801 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
4803 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4804 # uniformly replaced by the line number. The first 'sed' inserts a
4805 # line-number line after each line using $LINENO; the second 'sed'
4806 # does the real work. The second script uses 'N' to pair each
4807 # line-number line with the line containing $LINENO, and appends
4808 # trailing '-' during substitution so that $LINENO is not a special
4810 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4811 # scripts with optimization help from Paolo Bonzini. Blame Lee
4812 # E. McMahon (1931-1989) for sed's syntax. :-)
4824 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4828 chmod +x
"$as_me.lineno" ||
4829 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4830 { (exit 1); exit 1; }; }
4832 # Don't try to exec as it changes $[0], causing all sort of problems
4833 # (the dirname of $[0] is not the place where we might find the
4834 # original and so on. Autoconf is especially sensitive to this).
4836 # Exit status is that of the last command.
4841 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4847 ECHO_C
= ECHO_N
= ECHO_T
=
4850 case `echo 'x\c'` in
4851 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4858 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4859 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4865 rm -f conf$$ conf$$.exe conf$$.
file
4866 if test -d conf$$.dir
; then
4867 rm -f conf$$.dir
/conf$$.
file
4873 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4875 # ... but there are two gotchas:
4876 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4877 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4878 # In both cases, we have to default to `cp -p'.
4879 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4881 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4886 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4887 rmdir conf$$.dir
2>/dev
/null
4889 if mkdir
-p .
2>/dev
/null
; then
4892 test -d .
/-p && rmdir .
/-p
4896 if test -x / >/dev
/null
2>&1; then
4899 if ls -dL / >/dev
/null
2>&1; then
4906 if test -d "$1"; then
4912 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4913 ???[sx]*):;;*)false;;esac;fi
4917 as_executable_p
=$as_test_x
4919 # Sed expression to map a string onto a valid CPP name.
4920 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4922 # Sed expression to map a string onto a valid variable name.
4923 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4928 # Save the log message, to keep $[0] and so on meaningful, and to
4929 # report actual input values of CONFIG_FILES etc. instead of their
4930 # values after options handling.
4932 This file was extended by libenet $as_me 10-12-2007, which was
4933 generated by GNU Autoconf 2.61. Invocation command line was
4935 CONFIG_FILES = $CONFIG_FILES
4936 CONFIG_HEADERS = $CONFIG_HEADERS
4937 CONFIG_LINKS = $CONFIG_LINKS
4938 CONFIG_COMMANDS = $CONFIG_COMMANDS
4941 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4946 cat >>$CONFIG_STATUS <<_ACEOF
4947 # Files that config.status was made for.
4948 config_files="$ac_config_files"
4949 config_commands="$ac_config_commands"
4953 cat >>$CONFIG_STATUS <<\_ACEOF
4955 \`$as_me' instantiates files from templates according to the
4956 current configuration.
4958 Usage: $0 [OPTIONS] [FILE]...
4960 -h, --help print this help, then exit
4961 -V, --version print version number and configuration settings, then exit
4962 -q, --quiet do not print progress messages
4963 -d, --debug don't remove temporary files
4964 --recheck update $as_me by reconfiguring in the same conditions
4965 --file=FILE[:TEMPLATE]
4966 instantiate the configuration file FILE
4968 Configuration files:
4971 Configuration commands:
4974 Report bugs to <bug-autoconf@gnu.org>."
4977 cat >>$CONFIG_STATUS <<_ACEOF
4979 libenet config.status 10-12-2007
4980 configured by $0, generated by GNU Autoconf 2.61,
4981 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4983 Copyright (C) 2006 Free Software Foundation, Inc.
4984 This config.status script is free software; the Free Software Foundation
4985 gives unlimited permission to copy, distribute and modify it."
4992 cat >>$CONFIG_STATUS <<\_ACEOF
4993 # If no file are specified by the user, then we need to provide default
4994 # value. By we need to know if files were specified by the user.
5000 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5001 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5012 # Handling of the options.
5013 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5015 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5016 echo "$ac_cs_version"; exit ;;
5017 --debug |
--debu |
--deb |
--de |
--d |
-d )
5019 --file |
--fil |
--fi |
--f )
5021 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5022 ac_need_defaults
=false
;;
5023 --he |
--h |
--help |
--hel |
-h )
5024 echo "$ac_cs_usage"; exit ;;
5025 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5026 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5030 -*) { echo "$as_me: error: unrecognized option: $1
5031 Try \`$0 --help' for more information." >&2
5032 { (exit 1); exit 1; }; } ;;
5034 *) ac_config_targets
="$ac_config_targets $1"
5035 ac_need_defaults
=false
;;
5041 ac_configure_extra_args
=
5043 if $ac_cs_silent; then
5045 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5049 cat >>$CONFIG_STATUS <<_ACEOF
5050 if \$ac_cs_recheck; then
5051 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5054 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5058 cat >>$CONFIG_STATUS <<\_ACEOF
5062 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5063 ## Running $as_me. ##
5069 cat >>$CONFIG_STATUS <<_ACEOF
5073 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5077 cat >>$CONFIG_STATUS <<\_ACEOF
5079 # Handling of arguments.
5080 for ac_config_target
in $ac_config_targets
5082 case $ac_config_target in
5083 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
5084 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5085 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
5086 "include/enet/Makefile") CONFIG_FILES
="$CONFIG_FILES include/enet/Makefile" ;;
5088 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5089 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5090 { (exit 1); exit 1; }; };;
5095 # If the user did not use the arguments to specify the items to instantiate,
5096 # then the envvar interface is used. Set only those that are not.
5097 # We use the long form for the default assignment because of an extremely
5098 # bizarre bug on SunOS 4.1.3.
5099 if $ac_need_defaults; then
5100 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5101 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5104 # Have a temporary directory for convenience. Make it in the build tree
5105 # simply because there is no reason against having it here, and in addition,
5106 # creating and moving files from /tmp can sometimes cause problems.
5107 # Hook for its removal unless debugging.
5108 # Note that there is a small window in which the directory will not be cleaned:
5109 # after its creation but before its name has been assigned to `$tmp'.
5113 trap 'exit_status=$?
5114 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5116 trap '{ (exit 1); exit 1; }' 1 2 13 15
5118 # Create a (secure) tmp directory for tmp files.
5121 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5122 test -n "$tmp" && test -d "$tmp"
5125 tmp
=.
/conf$$
-$RANDOM
5126 (umask 077 && mkdir
"$tmp")
5129 echo "$me: cannot create a temporary directory in ." >&2
5130 { (exit 1); exit 1; }
5134 # Set up the sed scripts for CONFIG_FILES section.
5137 # No need to generate the scripts if there are no CONFIG_FILES.
5138 # This happens for instance when ./config.status config.h
5139 if test -n "$CONFIG_FILES"; then
5146 for ac_last_try
in false false false false false
:; do
5147 cat >conf$
$subs.
sed <<_ACEOF
5148 SHELL!$SHELL$ac_delim
5149 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5150 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5151 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5152 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5153 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5154 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5155 exec_prefix!$exec_prefix$ac_delim
5156 prefix!$prefix$ac_delim
5157 program_transform_name!$program_transform_name$ac_delim
5158 bindir!$bindir$ac_delim
5159 sbindir!$sbindir$ac_delim
5160 libexecdir!$libexecdir$ac_delim
5161 datarootdir!$datarootdir$ac_delim
5162 datadir!$datadir$ac_delim
5163 sysconfdir!$sysconfdir$ac_delim
5164 sharedstatedir!$sharedstatedir$ac_delim
5165 localstatedir!$localstatedir$ac_delim
5166 includedir!$includedir$ac_delim
5167 oldincludedir!$oldincludedir$ac_delim
5168 docdir!$docdir$ac_delim
5169 infodir!$infodir$ac_delim
5170 htmldir!$htmldir$ac_delim
5171 dvidir!$dvidir$ac_delim
5172 pdfdir!$pdfdir$ac_delim
5173 psdir!$psdir$ac_delim
5174 libdir!$libdir$ac_delim
5175 localedir!$localedir$ac_delim
5176 mandir!$mandir$ac_delim
5178 ECHO_C!$ECHO_C$ac_delim
5179 ECHO_N!$ECHO_N$ac_delim
5180 ECHO_T!$ECHO_T$ac_delim
5182 build_alias!$build_alias$ac_delim
5183 host_alias!$host_alias$ac_delim
5184 target_alias!$target_alias$ac_delim
5185 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5186 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5187 INSTALL_DATA!$INSTALL_DATA$ac_delim
5188 CYGPATH_W!$CYGPATH_W$ac_delim
5189 PACKAGE!$PACKAGE$ac_delim
5190 VERSION!$VERSION$ac_delim
5191 ACLOCAL!$ACLOCAL$ac_delim
5192 AUTOCONF!$AUTOCONF$ac_delim
5193 AUTOMAKE!$AUTOMAKE$ac_delim
5194 AUTOHEADER!$AUTOHEADER$ac_delim
5195 MAKEINFO!$MAKEINFO$ac_delim
5196 install_sh!$install_sh$ac_delim
5197 STRIP!$STRIP$ac_delim
5198 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5199 mkdir_p!$mkdir_p$ac_delim
5201 SET_MAKE!$SET_MAKE$ac_delim
5202 am__leading_dot!$am__leading_dot$ac_delim
5203 AMTAR!$AMTAR$ac_delim
5204 am__tar!$am__tar$ac_delim
5205 am__untar!$am__untar$ac_delim
5207 CFLAGS!$CFLAGS$ac_delim
5208 LDFLAGS!$LDFLAGS$ac_delim
5209 CPPFLAGS!$CPPFLAGS$ac_delim
5210 ac_ct_CC!$ac_ct_CC$ac_delim
5211 EXEEXT!$EXEEXT$ac_delim
5212 OBJEXT!$OBJEXT$ac_delim
5213 DEPDIR!$DEPDIR$ac_delim
5214 am__include!$am__include$ac_delim
5215 am__quote!$am__quote$ac_delim
5216 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5217 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5218 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5219 CCDEPMODE!$CCDEPMODE$ac_delim
5220 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5221 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5222 RANLIB!$RANLIB$ac_delim
5225 EGREP!$EGREP$ac_delim
5226 LIBOBJS!$LIBOBJS$ac_delim
5227 LTLIBOBJS!$LTLIBOBJS$ac_delim
5230 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 80; then
5232 elif $ac_last_try; then
5233 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5234 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5235 { (exit 1); exit 1; }; }
5237 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
5241 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5242 if test -n "$ac_eof"; then
5243 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
5244 ac_eof
=`expr $ac_eof + 1`
5247 cat >>$CONFIG_STATUS <<_ACEOF
5248 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5249 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5252 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5253 s/^/s,@/; s/!/@,|#_!!_#|/
5256 s/'"$ac_delim"'$/,g/; t
5258 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5259 ' >>$CONFIG_STATUS <conf$
$subs.
sed
5260 rm -f conf$
$subs.
sed
5261 cat >>$CONFIG_STATUS <<_ACEOF
5268 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5269 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5270 # trailing colons and then remove the whole line if VPATH becomes empty
5271 # (actually we leave an empty line to preserve line numbers).
5272 if test "x$srcdir" = x.
; then
5273 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5277 s/^\([^=]*=[ ]*\):*/\1/
5283 cat >>$CONFIG_STATUS <<\_ACEOF
5284 fi # test -n "$CONFIG_FILES"
5287 for ac_tag
in :F
$CONFIG_FILES :C
$CONFIG_COMMANDS
5290 :[FHLC
]) ac_mode
=$ac_tag; continue;;
5292 case $ac_mode$ac_tag in
5294 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5295 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5296 { (exit 1); exit 1; }; };;
5297 :[FH
]-) ac_tag
=-:-;;
5298 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
5315 -) ac_f
="$tmp/stdin";;
5316 *) # Look for the file first in the build tree, then in the source tree
5317 # (if the path is not absolute). The absolute path cannot be DOS-style,
5318 # because $ac_f cannot contain `:'.
5322 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
5324 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5325 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5326 { (exit 1); exit 1; }; };;
5328 ac_file_inputs
="$ac_file_inputs $ac_f"
5331 # Let's still pretend it is `configure' which instantiates (i.e., don't
5332 # use $as_me), people would be surprised to read:
5333 # /* config.h. Generated by config.status. */
5334 configure_input
="Generated from "`IFS=:
5335 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5336 if test x
"$ac_file" != x-
; then
5337 configure_input
="$ac_file. $configure_input"
5338 { echo "$as_me:$LINENO: creating $ac_file" >&5
5339 echo "$as_me: creating $ac_file" >&6;}
5343 *:-:* |
*:-) cat >"$tmp/stdin";;
5348 ac_dir
=`$as_dirname -- "$ac_file" ||
5349 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5350 X"$ac_file" : 'X\(//\)[^/]' \| \
5351 X"$ac_file" : 'X\(//\)$' \| \
5352 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5373 -*) as_dir
=.
/$as_dir;;
5375 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
5379 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5380 *) as_qdir
=$as_dir;;
5382 as_dirs
="'$as_qdir' $as_dirs"
5383 as_dir
=`$as_dirname -- "$as_dir" ||
5384 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5385 X"$as_dir" : 'X\(//\)[^/]' \| \
5386 X"$as_dir" : 'X\(//\)$' \| \
5387 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5406 test -d "$as_dir" && break
5408 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5409 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5410 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5411 { (exit 1); exit 1; }; }; }
5415 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5417 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5418 # A ".." for each directory in $ac_dir_suffix.
5419 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5420 case $ac_top_builddir_sub in
5421 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5422 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5425 ac_abs_top_builddir
=$ac_pwd
5426 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5427 # for backward compatibility:
5428 ac_top_builddir
=$ac_top_build_prefix
5431 .
) # We are building in place.
5433 ac_top_srcdir
=$ac_top_builddir_sub
5434 ac_abs_top_srcdir
=$ac_pwd ;;
5435 [\\/]* | ?
:[\\/]* ) # Absolute name.
5436 ac_srcdir
=$srcdir$ac_dir_suffix;
5437 ac_top_srcdir
=$srcdir
5438 ac_abs_top_srcdir
=$srcdir ;;
5440 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5441 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5442 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5444 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5454 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5455 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
5459 cat >>$CONFIG_STATUS <<\_ACEOF
5460 # If the template does not know about datarootdir, expand it.
5461 # FIXME: This hack should be removed a few years after 2.60.
5462 ac_datarootdir_hack
=; ac_datarootdir_seen
=
5464 case `sed -n '/datarootdir/ {
5473 ' $ac_file_inputs` in
5474 *datarootdir
*) ac_datarootdir_seen
=yes;;
5475 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
5476 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5477 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5479 cat >>$CONFIG_STATUS <<_ACEOF
5480 ac_datarootdir_hack='
5481 s&@datadir@&$datadir&g
5482 s&@docdir@&$docdir&g
5483 s&@infodir@&$infodir&g
5484 s&@localedir@&$localedir&g
5485 s&@mandir@&$mandir&g
5486 s&\\\${datarootdir}&$datarootdir&g' ;;
5490 # Neutralize VPATH when `$srcdir' = `.'.
5491 # Shell code in configure.ac might set extrasub.
5492 # FIXME: do we really want to maintain this feature?
5493 cat >>$CONFIG_STATUS <<_ACEOF
5497 cat >>$CONFIG_STATUS <<\_ACEOF
5499 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5500 s
&@configure_input@
&$configure_input&;t t
5501 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5502 s
&@srcdir@
&$ac_srcdir&;t t
5503 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5504 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5505 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5506 s
&@builddir@
&$ac_builddir&;t t
5507 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5508 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5509 s
&@INSTALL@
&$ac_INSTALL&;t t
5510 $ac_datarootdir_hack
5511 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" >$tmp/out
5513 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5514 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
5515 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
5516 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5517 which seems to be undefined. Please make sure it is defined." >&5
5518 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5519 which seems to be undefined. Please make sure it is defined." >&2;}
5523 -) cat "$tmp/out"; rm -f "$tmp/out";;
5524 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5529 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5530 echo "$as_me: executing $ac_file commands" >&6;}
5535 case $ac_file$ac_mode in
5536 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5537 # Strip MF so we end up with the name of the file.
5538 mf=`echo "$mf" | sed -e 's
/:.
*$
//'`
5539 # Check whether this is an Automake generated Makefile or not.
5540 # We used to match only the files named `Makefile.in', but
5541 # some people rename them; so instead we look at the file content.
5542 # Grep'ing the first line is not enough: some people post-process
5543 # each Makefile.in and add a new line on top of each file to say so.
5544 # So let's grep whole file.
5545 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
5546 dirpart
=`$as_dirname -- "$mf" ||
5547 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5548 X"$mf" : 'X\(//\)[^/]' \| \
5549 X"$mf" : 'X\(//\)$' \| \
5550 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5552 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5572 # Extract the definition of DEPDIR, am__include, and am__quote
5573 # from the Makefile without running `make'.
5574 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
5575 test -z "$DEPDIR" && continue
5576 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
5577 test -z "am__include" && continue
5578 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
5579 # When using ansi2knr, U may be empty or an underscore; expand it
5580 U
=`sed -n 's/^U = //p' < "$mf"`
5581 # Find all dependency output files, they are included files with
5582 # $(DEPDIR) in their names. We invoke sed twice because it is the
5583 # simplest approach to changing $(DEPDIR) to its actual value in the
5585 for file in `sed -n "
5586 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5587 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5588 # Make sure the directory exists.
5589 test -f "$dirpart/$file" && continue
5590 fdir
=`$as_dirname -- "$file" ||
5591 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5592 X"$file" : 'X\(//\)[^/]' \| \
5593 X"$file" : 'X\(//\)$' \| \
5594 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5596 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5613 { as_dir
=$dirpart/$fdir
5615 -*) as_dir
=.
/$as_dir;;
5617 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
5621 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5622 *) as_qdir
=$as_dir;;
5624 as_dirs
="'$as_qdir' $as_dirs"
5625 as_dir
=`$as_dirname -- "$as_dir" ||
5626 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5627 X"$as_dir" : 'X\(//\)[^/]' \| \
5628 X"$as_dir" : 'X\(//\)$' \| \
5629 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5648 test -d "$as_dir" && break
5650 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5651 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5652 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5653 { (exit 1); exit 1; }; }; }
5654 # echo "creating $dirpart/$file"
5655 echo '# dummy' > "$dirpart/$file"
5664 { (exit 0); exit 0; }
5666 chmod +x
$CONFIG_STATUS
5667 ac_clean_files
=$ac_clean_files_save
5670 # configure is writing to config.log, and then calls config.status.
5671 # config.status does its own redirection, appending to config.log.
5672 # Unfortunately, on DOS this fails, as config.log is still kept open
5673 # by configure, so config.status won't be able to write to it; its
5674 # output is simply discarded. So we exec the FD to /dev/null,
5675 # effectively closing config.log, so it can be properly (re)opened and
5676 # appended to by config.status. When coming back to configure, we
5677 # need to make the FD available again.
5678 if test "$no_create" != yes; then
5680 ac_config_status_args
=
5681 test "$silent" = yes &&
5682 ac_config_status_args
="$ac_config_status_args --quiet"
5684 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5686 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5687 # would make configure fail if this is the last instruction.
5688 $ac_cs_success ||
{ (exit 1); exit 1; }