"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "autom4te.cache/output.0" between
bahamut-2.1.4.tar.gz and bahamut-2.1.5.tar.gz

About: Bahamut is an Internet Relay Chat Daemon (IRCd) designed for DALnet, one of the major IRC networks in the world.

output.0  (bahamut-2.1.4):output.0  (bahamut-2.1.5)
skipping to change at line 5145 skipping to change at line 5145
{ $as_echo "$as_me:$LINENO: checking for OpenSSL" >&5 $as_echo_n { $as_echo "$as_me:$LINENO: checking for OpenSSL" >&5 $as_echo_n
"checking for OpenSSL... " >&6; } "checking for OpenSSL... " >&6; }
if test "X$cf_enable_openssl" != "Xno" ; then if test "X$cf_enable_openssl" != "Xno" ; then
cf_openssl_basedir="" cf_openssl_basedir=""
if test "X$cf_enable_openssl" != "Xauto" && if test "X$cf_enable_openssl" != "Xauto" &&
test "X$cf_enable_openssl" != "Xyes"; then test "X$cf_enable_openssl" != "Xyes"; then
cf_openssl_basedir="${cf_enable_openssl}" cf_openssl_basedir="${cf_enable_openssl}"
else else
for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib for dirs in $HOME/openssl /usr/local/ssl /usr/pkg
/usr/lib/ssl /opt /opt/openssl /usr/local/openssl /usr/local /usr/lib /usr/lib/ssl /opt /opt/openssl
; do /usr/local/openssl ; do
if test ‐f "${dirs}/include/openssl/opensslv.h" ; then if test ‐f "${dirs}/include/openssl/opensslv.h" ; then
cf_openssl_basedir="${dirs}" cf_openssl_basedir="${dirs}"
break break
fi fi
done done
unset dirs unset dirs
fi fi
if test "X$cf_openssl_basedir" != "X" ; then if test "X$cf_openssl_basedir" != "X" ; then
if test ‐f "${cf_openssl_basedir}/include/openssl/opensslv.h" if test ‐f "${cf_openssl_basedir}/include/openssl/opensslv.h"
; then ; then
SSL_INCLUDES="‐I${cf_openssl_basedir}/include" SSL_INCLUDES="‐I${cf_openssl_basedir}/include"
SSL_LDFLAGS="‐L${cf_openssl_basedir}/lib" SSL_LDFLAGS="‐L${cf_openssl_basedir}/lib"
if test "$cf_openssl_basedir" = "$HOME/openssl"; then
SSL_LDFLAGS="‐L${cf_openssl_basedir}/lib
‐Wl,‐rpath,${cf_openssl_basedir}/lib"
fi
else else
cf_openssl_basedir="" cf_openssl_basedir=""
fi fi
else else
if test ‐f "/usr/in- if test ‐f "/usr/in-
clude/openssl/opensslv.h" ; then clude/openssl/opensslv.h" ; then
cf_openssl_basedir="/usr" cf_openssl_basedir="/usr"
fi fi
fi fi
if test "X$cf_openssl_basedir" != "X" ; then if test "X$cf_openssl_basedir" != "X" ; then
CPPFLAGS="$CPPFLAGS $SSL_INCLUDES" CPPFLAGS="$CPPFLAGS $SSL_INCLUDES"
LDFLAGS="$LDFLAGS $SSL_LDFLAGS" LDFLAGS="$LDFLAGS $SSL_LDFLAGS"
LIBS="‐lssl ‐lcrypto $save_LIBS" LIBS="‐lssl ‐lcrypto $save_LIBS"
{ $as_echo "$as_me:$LINENO: result: $cf_openssl_basedir" >&5 { $as_echo "$as_me:$LINENO: result: $cf_openssl_basedir" >&5
$as_echo "$cf_openssl_basedir" >&6; } $as_echo "$cf_openssl_basedir" >&6; }
cf_enable_openssl="yes" cf_enable_openssl="yes"
encryption="enabled" encryption="enabled"
cat >>confdefs.h <<_ACEOF @%:@define HAVE_ENCRYPTION_ON 1 cat >>confdefs.h <<_ACEOF @%:@define HAVE_ENCRYPTION_ON 1
_ACEOF _ACEOF
ENCRYPT_SRC="rc4.c dh.c" ENCRYPT_SRC="rc4.c dh.c libcrypto‐compat.c"
else else
{ $as_echo "$as_me:$LINENO: result: not found. Please check { $as_echo "$as_me:$LINENO: result: not found. Please check
your path." >&5 $as_echo "not found. Please check your path." your path." >&5 $as_echo "not found. Please check your path."
>&6; } >&6; }
cf_enable_openssl="no" cf_enable_openssl="no"
encryption="disabled" encryption="disabled"
fi fi
unset cf_openssl_basedir else unset cf_openssl_basedir else
encryption="disabled" encryption="disabled"
{ $as_echo "$as_me:$LINENO: result: disabled" >&5 $as_echo { $as_echo "$as_me:$LINENO: result: disabled" >&5 $as_echo
"disabled" >&6; } fi "disabled" >&6; } fi
unset save_LIBS unset save_LIBS
if test "$check_sengine" = "yes"; then if test "$check_sengine" = "yes"; then
engine="select" engine="select"
if test "$freebsd" = "yes"; then if test "$freebsd" = "yes"; then
{ $as_echo "$as_me:$LINENO: checking for kevent" >&5 { $as_echo "$as_me:$LINENO: checking for kevent" >&5
$as_echo_n "checking for kevent... " >&6; } if test $as_echo_n "checking for kevent... " >&6; } if test
"${ac_cv_func_kevent+set}" = set; then "${ac_cv_func_kevent+set}" = set; then
$as_echo_n "(cached) " >&6 else $as_echo_n "(cached) " >&6 else
cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat
confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /*
end confdefs.h. */ /* Define kevent to an innocuous variant, in end confdefs.h. */ /* Define kevent to an innocuous variant, in
case <limits.h> declares kevent. case <limits.h> declares kevent.
For example, HP‐UX 11i <limits.h> declares gettimeofday. */ For example, HP‐UX 11i <limits.h> declares gettimeofday. */
#define kevent innocuous_kevent #define kevent innocuous_kevent
/* System header to define __stub macros and hopefully few proto- /* System header to define __stub macros and hopefully few proto-
types, types,
which can conflict with char kevent (); below. which can conflict with char kevent (); below.
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
<limits.h> exists even on freestanding compilers. */ <limits.h> exists even on freestanding compilers. */
#ifdef __STDC__ # include <limits.h> #else # include <assert.h> #ifdef __STDC__ # include <limits.h> #else # include <assert.h>
#endif #endif
#undef kevent #undef kevent
/* Override any GCC internal prototype to avoid an error. /* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
#ifdef __cplusplus extern "C" #endif char kevent (); /* The GNU C #ifdef __cplusplus extern "C" #endif char kevent (); /* The GNU C
library defines this for functions which it implements library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually to always fail with ENOSYS. Some functions are actually
named named
something starting with __ and the normal name is an alias. something starting with __ and the normal name is an alias.
*/ #if defined __stub_kevent || defined __stub___kevent choke me */ #if defined __stub_kevent || defined __stub___kevent choke me
#endif #endif
int main () { return kevent (); int main () { return kevent ();
; ;
return 0; } _ACEOF rm ‐f conftest.$ac_objext conftest$ac_exeext return 0; } _ACEOF rm ‐f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link" case "(($ac_try" in if { (ac_try="$ac_link" case "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_link") 2>conftest.er1 (eval "$ac_link") 2>conftest.er1
ac_status=$? ac_status=$?
grep ‐v ’^ *+’ conftest.er1 >conftest.err grep ‐v ’^ *+’ conftest.er1 >conftest.err
rm ‐f conftest.er1 rm ‐f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } && { test ‐z "$ac_c_werror_flag" (exit $ac_status); } && { test ‐z "$ac_c_werror_flag"
|| test ! ‐s conftest.err || test ! ‐s conftest.err
} && test ‐s conftest$ac_exeext && { test } && test ‐s conftest$ac_exeext && { test
"$cross_compiling" = yes || $as_test_x conftest$ac_exe- "$cross_compiling" = yes || $as_test_x conftest$ac_exe-
ext ext
}; then }; then
ac_cv_func_kevent=yes else ac_cv_func_kevent=yes else
$as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con- $as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con-
ftest.$ac_ext >&5 ftest.$ac_ext >&5
ac_cv_func_kevent=no fi ac_cv_func_kevent=no fi
rm ‐rf conftest.dSYM rm ‐f core conftest.err conftest.$ac_objext rm ‐rf conftest.dSYM rm ‐f core conftest.err conftest.$ac_objext
conftest_ipa8_conftest.oo conftest$ac_exeext con- conftest_ipa8_conftest.oo conftest$ac_exeext con-
ftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: ftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result:
$ac_cv_func_kevent" >&5 $as_echo "$ac_cv_func_kevent" >&6; } if $ac_cv_func_kevent" >&5 $as_echo "$ac_cv_func_kevent" >&6; } if
test "x$ac_cv_func_kevent" = x""yes; then test "x$ac_cv_func_kevent" = x""yes; then
engine="kqueue" fi engine="kqueue" fi
elif test "$solaris2" = "yes"; then elif test "$solaris2" = "yes"; then
engine="poll" engine="poll"
if test "${ac_cv_header_sys_devpoll_h+set}" = set; then if test "${ac_cv_header_sys_devpoll_h+set}" = set; then
{ $as_echo "$as_me:$LINENO: checking for sys/devpoll.h" >&5 { $as_echo "$as_me:$LINENO: checking for sys/devpoll.h" >&5
$as_echo_n "checking for sys/devpoll.h... " >&6; } if test $as_echo_n "checking for sys/devpoll.h... " >&6; } if test
"${ac_cv_header_sys_devpoll_h+set}" = set; then "${ac_cv_header_sys_devpoll_h+set}" = set; then
$as_echo_n "(cached) " >&6 fi { $as_echo "$as_me:$LINENO: re- $as_echo_n "(cached) " >&6 fi { $as_echo "$as_me:$LINENO: re-
sult: $ac_cv_header_sys_devpoll_h" >&5 $as_echo "$ac_cv_head- sult: $ac_cv_header_sys_devpoll_h" >&5 $as_echo "$ac_cv_head-
er_sys_devpoll_h" >&6; } else er_sys_devpoll_h" >&6; } else
# Is the header compilable? { $as_echo "$as_me:$LINENO: check- # Is the header compilable? { $as_echo "$as_me:$LINENO: check-
ing sys/devpoll.h usability" >&5 $as_echo_n "checking sys/de- ing sys/devpoll.h usability" >&5 $as_echo_n "checking sys/de-
vpoll.h usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* vpoll.h usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /*
confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat
>>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_in- >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_in-
cludes_default @%:@include <sys/devpoll.h> _ACEOF rm ‐f con- cludes_default @%:@include <sys/devpoll.h> _ACEOF rm ‐f con-
ftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in ftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_compile") 2>conftest.er1 (eval "$ac_compile") 2>conftest.er1
ac_status=$? ac_status=$?
grep ‐v ’^ *+’ conftest.er1 >conftest.err grep ‐v ’^ *+’ conftest.er1 >conftest.err
rm ‐f conftest.er1 rm ‐f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } && { test ‐z "$ac_c_werror_flag" (exit $ac_status); } && { test ‐z "$ac_c_werror_flag"
|| test ! ‐s conftest.err || test ! ‐s conftest.err
} && test ‐s conftest.$ac_objext; then } && test ‐s conftest.$ac_objext; then
ac_header_compiler=yes else ac_header_compiler=yes else
$as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con- $as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con-
ftest.$ac_ext >&5 ftest.$ac_ext >&5
ac_header_compiler=no fi ac_header_compiler=no fi
rm ‐f core conftest.err conftest.$ac_objext conftest.$ac_ext { rm ‐f core conftest.err conftest.$ac_objext conftest.$ac_ext {
$as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
$as_echo "$ac_header_compiler" >&6; } $as_echo "$ac_header_compiler" >&6; }
# Is the header present? { $as_echo "$as_me:$LINENO: checking # Is the header present? { $as_echo "$as_me:$LINENO: checking
sys/devpoll.h presence" >&5 $as_echo_n "checking sys/devpoll.h sys/devpoll.h presence" >&5 $as_echo_n "checking sys/devpoll.h
presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /*
confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat
>>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ @%:@include >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ @%:@include
<sys/devpoll.h> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" <sys/devpoll.h> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in case "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
ac_status=$? ac_status=$?
grep ‐v ’^ *+’ conftest.er1 >conftest.err grep ‐v ’^ *+’ conftest.er1 >conftest.err
rm ‐f conftest.er1 rm ‐f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } >/dev/null && { test ‐z (exit $ac_status); } >/dev/null && { test ‐z
"$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! ‐s "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! ‐s
conftest.err conftest.err
}; then }; then
ac_header_preproc=yes else ac_header_preproc=yes else
$as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con- $as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con-
ftest.$ac_ext >&5 ftest.$ac_ext >&5
ac_header_preproc=no fi ac_header_preproc=no fi
rm ‐f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: rm ‐f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO:
result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc"
>&6; } >&6; }
# So? What about this header? case $ac_header_compil- # So? What about this header? case $ac_header_compil-
er:$ac_header_preproc:$ac_c_preproc_warn_flag in er:$ac_header_preproc:$ac_c_preproc_warn_flag in
yes:no: ) yes:no: )
{ $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: accepted { $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: accepted
by the compiler, rejected by the preprocessor!" >&5 $as_echo by the compiler, rejected by the preprocessor!" >&5 $as_echo
"$as_me: WARNING: sys/devpoll.h: accepted by the compiler, re- "$as_me: WARNING: sys/devpoll.h: accepted by the compiler, re-
jected by the preprocessor!" >&2;} jected by the preprocessor!" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: proceed- { $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: proceed-
ing with the compiler’s result" >&5 $as_echo "$as_me: WARNING: ing with the compiler’s result" >&5 $as_echo "$as_me: WARNING:
sys/devpoll.h: proceeding with the compiler’s result" >&2;} sys/devpoll.h: proceeding with the compiler’s result" >&2;}
ac_header_preproc=yes ac_header_preproc=yes
;; ;;
no:yes:* ) no:yes:* )
{ $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: present { $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: present
but cannot be compiled" >&5 $as_echo "$as_me: WARNING: sys/de- but cannot be compiled" >&5 $as_echo "$as_me: WARNING: sys/de-
vpoll.h: present but cannot be compiled" >&2;} vpoll.h: present but cannot be compiled" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: check { $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: check
for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING:
sys/devpoll.h: check for missing prerequisite headers?" >&2;} sys/devpoll.h: check for missing prerequisite headers?" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: see the { $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: see the
Autoconf documentation" >&5 $as_echo "$as_me: WARNING: sys/de- Autoconf documentation" >&5 $as_echo "$as_me: WARNING: sys/de-
vpoll.h: see the Autoconf documentation" >&2;} vpoll.h: see the Autoconf documentation" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: sec- { $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: sec-
tion $as_echo "$as_me: WARNING: sys/devpoll.h: section tion $as_echo "$as_me: WARNING: sys/devpoll.h: section
{ $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: proceed- { $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: proceed-
ing with the preprocessor’s result" >&5 $as_echo "$as_me: WARN- ing with the preprocessor’s result" >&5 $as_echo "$as_me: WARN-
ING: sys/devpoll.h: proceeding with the preprocessor’s result" ING: sys/devpoll.h: proceeding with the preprocessor’s result"
>&2;} >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: in the { $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: in the
future, the compiler will take precedence" >&5 $as_echo "$as_me: future, the compiler will take precedence" >&5 $as_echo "$as_me:
WARNING: sys/devpoll.h: in the future, the compiler will take WARNING: sys/devpoll.h: in the future, the compiler will take
precedence" >&2;} precedence" >&2;}
;; esac { $as_echo "$as_me:$LINENO: checking for sys/de- ;; esac { $as_echo "$as_me:$LINENO: checking for sys/de-
vpoll.h" >&5 $as_echo_n "checking for sys/devpoll.h... " >&6; } vpoll.h" >&5 $as_echo_n "checking for sys/devpoll.h... " >&6; }
if test "${ac_cv_header_sys_devpoll_h+set}" = set; then if test "${ac_cv_header_sys_devpoll_h+set}" = set; then
$as_echo_n "(cached) " >&6 else $as_echo_n "(cached) " >&6 else
ac_cv_header_sys_devpoll_h=$ac_header_preproc fi { $as_echo ac_cv_header_sys_devpoll_h=$ac_header_preproc fi { $as_echo
"$as_me:$LINENO: result: $ac_cv_header_sys_devpoll_h" >&5 "$as_me:$LINENO: result: $ac_cv_header_sys_devpoll_h" >&5
$as_echo "$ac_cv_header_sys_devpoll_h" >&6; } $as_echo "$ac_cv_header_sys_devpoll_h" >&6; }
fi if test "x$ac_cv_header_sys_devpoll_h" = x""yes; then fi if test "x$ac_cv_header_sys_devpoll_h" = x""yes; then
engine="devpoll" fi engine="devpoll" fi
elif test "$linux" = "yes"; then elif test "$linux" = "yes"; then
{ $as_echo "$as_me:$LINENO: checking for poll" >&5 { $as_echo "$as_me:$LINENO: checking for poll" >&5
$as_echo_n "checking for poll... " >&6; } if test $as_echo_n "checking for poll... " >&6; } if test
"${ac_cv_func_poll+set}" = set; then "${ac_cv_func_poll+set}" = set; then
$as_echo_n "(cached) " >&6 else $as_echo_n "(cached) " >&6 else
cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat
confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /*
end confdefs.h. */ /* Define poll to an innocuous variant, in end confdefs.h. */ /* Define poll to an innocuous variant, in
case <limits.h> declares poll. case <limits.h> declares poll.
For example, HP‐UX 11i <limits.h> declares gettimeofday. */ For example, HP‐UX 11i <limits.h> declares gettimeofday. */
#define poll innocuous_poll #define poll innocuous_poll
/* System header to define __stub macros and hopefully few proto- /* System header to define __stub macros and hopefully few proto-
types, types,
which can conflict with char poll (); below. which can conflict with char poll (); below.
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
<limits.h> exists even on freestanding compilers. */ <limits.h> exists even on freestanding compilers. */
#ifdef __STDC__ # include <limits.h> #else # include <assert.h> #ifdef __STDC__ # include <limits.h> #else # include <assert.h>
#endif #endif
#undef poll #undef poll
/* Override any GCC internal prototype to avoid an error. /* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
#ifdef __cplusplus extern "C" #endif char poll (); /* The GNU C #ifdef __cplusplus extern "C" #endif char poll (); /* The GNU C
library defines this for functions which it implements library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually to always fail with ENOSYS. Some functions are actually
named named
something starting with __ and the normal name is an alias. something starting with __ and the normal name is an alias.
*/ #if defined __stub_poll || defined __stub___poll choke me #en- */ #if defined __stub_poll || defined __stub___poll choke me #en-
dif dif
int main () { return poll (); int main () { return poll ();
; ;
return 0; } _ACEOF rm ‐f conftest.$ac_objext conftest$ac_exeext return 0; } _ACEOF rm ‐f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link" case "(($ac_try" in if { (ac_try="$ac_link" case "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_link") 2>conftest.er1 (eval "$ac_link") 2>conftest.er1
ac_status=$? ac_status=$?
grep ‐v ’^ *+’ conftest.er1 >conftest.err grep ‐v ’^ *+’ conftest.er1 >conftest.err
rm ‐f conftest.er1 rm ‐f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } && { test ‐z "$ac_c_werror_flag" (exit $ac_status); } && { test ‐z "$ac_c_werror_flag"
|| test ! ‐s conftest.err || test ! ‐s conftest.err
} && test ‐s conftest$ac_exeext && { test } && test ‐s conftest$ac_exeext && { test
"$cross_compiling" = yes || $as_test_x conftest$ac_exe- "$cross_compiling" = yes || $as_test_x conftest$ac_exe-
ext ext
}; then }; then
ac_cv_func_poll=yes else ac_cv_func_poll=yes else
$as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con- $as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con-
ftest.$ac_ext >&5 ftest.$ac_ext >&5
ac_cv_func_poll=no fi ac_cv_func_poll=no fi
rm ‐rf conftest.dSYM rm ‐f core conftest.err conftest.$ac_objext rm ‐rf conftest.dSYM rm ‐f core conftest.err conftest.$ac_objext
conftest_ipa8_conftest.oo conftest$ac_exeext con- conftest_ipa8_conftest.oo conftest$ac_exeext con-
ftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: ftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result:
$ac_cv_func_poll" >&5 $as_echo "$ac_cv_func_poll" >&6; } if test $ac_cv_func_poll" >&5 $as_echo "$ac_cv_func_poll" >&6; } if test
"x$ac_cv_func_poll" = x""yes; then "x$ac_cv_func_poll" = x""yes; then
engine="poll" fi engine="poll" fi
ax_have_epoll_cppflags="${CPPFLAGS}" ax_have_epoll_cppflags="${CPPFLAGS}"
if test "${ac_cv_header_linux_version_h+set}" = set; then if test "${ac_cv_header_linux_version_h+set}" = set; then
{ $as_echo "$as_me:$LINENO: checking for linux/version.h" >&5 { $as_echo "$as_me:$LINENO: checking for linux/version.h" >&5
$as_echo_n "checking for linux/version.h... " >&6; } if test $as_echo_n "checking for linux/version.h... " >&6; } if test
"${ac_cv_header_linux_version_h+set}" = set; then "${ac_cv_header_linux_version_h+set}" = set; then
$as_echo_n "(cached) " >&6 fi { $as_echo "$as_me:$LINENO: re- $as_echo_n "(cached) " >&6 fi { $as_echo "$as_me:$LINENO: re-
sult: $ac_cv_header_linux_version_h" >&5 $as_echo "$ac_cv_head- sult: $ac_cv_header_linux_version_h" >&5 $as_echo "$ac_cv_head-
er_linux_version_h" >&6; } else er_linux_version_h" >&6; } else
# Is the header compilable? { $as_echo "$as_me:$LINENO: check- # Is the header compilable? { $as_echo "$as_me:$LINENO: check-
ing linux/version.h usability" >&5 $as_echo_n "checking lin- ing linux/version.h usability" >&5 $as_echo_n "checking lin-
ux/version.h usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF ux/version.h usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat
>>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_in- >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_in-
cludes_default @%:@include <linux/version.h> _ACEOF rm ‐f con- cludes_default @%:@include <linux/version.h> _ACEOF rm ‐f con-
ftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in ftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_compile") 2>conftest.er1 (eval "$ac_compile") 2>conftest.er1
ac_status=$? ac_status=$?
grep ‐v ’^ *+’ conftest.er1 >conftest.err grep ‐v ’^ *+’ conftest.er1 >conftest.err
rm ‐f conftest.er1 rm ‐f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } && { test ‐z "$ac_c_werror_flag" (exit $ac_status); } && { test ‐z "$ac_c_werror_flag"
|| test ! ‐s conftest.err || test ! ‐s conftest.err
} && test ‐s conftest.$ac_objext; then } && test ‐s conftest.$ac_objext; then
ac_header_compiler=yes else ac_header_compiler=yes else
$as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con- $as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con-
ftest.$ac_ext >&5 ftest.$ac_ext >&5
ac_header_compiler=no fi ac_header_compiler=no fi
rm ‐f core conftest.err conftest.$ac_objext conftest.$ac_ext { rm ‐f core conftest.err conftest.$ac_objext conftest.$ac_ext {
$as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
$as_echo "$ac_header_compiler" >&6; } $as_echo "$ac_header_compiler" >&6; }
# Is the header present? { $as_echo "$as_me:$LINENO: checking # Is the header present? { $as_echo "$as_me:$LINENO: checking
linux/version.h presence" >&5 $as_echo_n "checking linux/ver- linux/version.h presence" >&5 $as_echo_n "checking linux/ver-
sion.h presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* sion.h presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /*
confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat
>>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ @%:@include >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ @%:@include
<linux/version.h> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" <linux/version.h> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in case "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
ac_status=$? ac_status=$?
grep ‐v ’^ *+’ conftest.er1 >conftest.err grep ‐v ’^ *+’ conftest.er1 >conftest.err
rm ‐f conftest.er1 rm ‐f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } >/dev/null && { test ‐z (exit $ac_status); } >/dev/null && { test ‐z
"$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! ‐s "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! ‐s
conftest.err conftest.err
}; then }; then
ac_header_preproc=yes else ac_header_preproc=yes else
$as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con- $as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con-
ftest.$ac_ext >&5 ftest.$ac_ext >&5
ac_header_preproc=no fi ac_header_preproc=no fi
rm ‐f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: rm ‐f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO:
result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc"
>&6; } >&6; }
# So? What about this header? case $ac_header_compil- # So? What about this header? case $ac_header_compil-
er:$ac_header_preproc:$ac_c_preproc_warn_flag in er:$ac_header_preproc:$ac_c_preproc_warn_flag in
yes:no: ) yes:no: )
{ $as_echo "$as_me:$LINENO: WARNING: linux/version.h: accept- { $as_echo "$as_me:$LINENO: WARNING: linux/version.h: accept-
ed by the compiler, rejected by the preprocessor!" >&5 $as_echo ed by the compiler, rejected by the preprocessor!" >&5 $as_echo
"$as_me: WARNING: linux/version.h: accepted by the compiler, re- "$as_me: WARNING: linux/version.h: accepted by the compiler, re-
jected by the preprocessor!" >&2;} jected by the preprocessor!" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: linux/version.h: pro- { $as_echo "$as_me:$LINENO: WARNING: linux/version.h: pro-
ceeding with the compiler’s result" >&5 $as_echo "$as_me: WARN- ceeding with the compiler’s result" >&5 $as_echo "$as_me: WARN-
ING: linux/version.h: proceeding with the compiler’s result" ING: linux/version.h: proceeding with the compiler’s result"
>&2;} >&2;}
ac_header_preproc=yes ac_header_preproc=yes
;; ;;
no:yes:* ) no:yes:* )
{ $as_echo "$as_me:$LINENO: WARNING: linux/version.h: present { $as_echo "$as_me:$LINENO: WARNING: linux/version.h: present
but cannot be compiled" >&5 $as_echo "$as_me: WARNING: linux/ver- but cannot be compiled" >&5 $as_echo "$as_me: WARNING: linux/ver-
sion.h: present but cannot be compiled" >&2;} sion.h: present but cannot be compiled" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: linux/version.h: { $as_echo "$as_me:$LINENO: WARNING: linux/version.h:
check for missing prerequisite headers?" >&5 $as_echo "$as_me: check for missing prerequisite headers?" >&5 $as_echo "$as_me:
WARNING: linux/version.h: check for missing prerequisite WARNING: linux/version.h: check for missing prerequisite
headers?" >&2;} headers?" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: linux/version.h: see the { $as_echo "$as_me:$LINENO: WARNING: linux/version.h: see the
Autoconf documentation" >&5 $as_echo "$as_me: WARNING: linux/ver- Autoconf documentation" >&5 $as_echo "$as_me: WARNING: linux/ver-
sion.h: see the Autoconf documentation" >&2;} sion.h: see the Autoconf documentation" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: linux/version.h: { $as_echo "$as_me:$LINENO: WARNING: linux/version.h:
section $as_echo "$as_me: WARNING: linux/version.h: section section $as_echo "$as_me: WARNING: linux/version.h: section
{ $as_echo "$as_me:$LINENO: WARNING: linux/version.h: pro- { $as_echo "$as_me:$LINENO: WARNING: linux/version.h: pro-
ceeding with the preprocessor’s result" >&5 $as_echo "$as_me: ceeding with the preprocessor’s result" >&5 $as_echo "$as_me:
WARNING: linux/version.h: proceeding with the preprocessor’s re- WARNING: linux/version.h: proceeding with the preprocessor’s re-
sult" >&2;} sult" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: linux/version.h: in the { $as_echo "$as_me:$LINENO: WARNING: linux/version.h: in the
future, the compiler will take precedence" >&5 $as_echo "$as_me: future, the compiler will take precedence" >&5 $as_echo "$as_me:
WARNING: linux/version.h: in the future, the compiler will take WARNING: linux/version.h: in the future, the compiler will take
precedence" >&2;} precedence" >&2;}
;; esac { $as_echo "$as_me:$LINENO: checking for linux/ver- ;; esac { $as_echo "$as_me:$LINENO: checking for linux/ver-
sion.h" >&5 $as_echo_n "checking for linux/version.h... " >&6; } sion.h" >&5 $as_echo_n "checking for linux/version.h... " >&6; }
if test "${ac_cv_header_linux_version_h+set}" = set; then if test "${ac_cv_header_linux_version_h+set}" = set; then
$as_echo_n "(cached) " >&6 else $as_echo_n "(cached) " >&6 else
ac_cv_header_linux_version_h=$ac_header_preproc fi { $as_echo ac_cv_header_linux_version_h=$ac_header_preproc fi { $as_echo
"$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5 "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
$as_echo "$ac_cv_header_linux_version_h" >&6; } $as_echo "$ac_cv_header_linux_version_h" >&6; }
fi if test "x$ac_cv_header_linux_version_h" = x""yes; then fi if test "x$ac_cv_header_linux_version_h" = x""yes; then
CPPFLAGS="${CPPFLAGS} ‐DHAVE_LINUX_VERSION_H" fi CPPFLAGS="${CPPFLAGS} ‐DHAVE_LINUX_VERSION_H" fi
{ $as_echo "$as_me:$LINENO: checking for Linux epoll(7) inter- { $as_echo "$as_me:$LINENO: checking for Linux epoll(7) inter-
face" >&5 $as_echo_n "checking for Linux epoll(7) interface... " face" >&5 $as_echo_n "checking for Linux epoll(7) interface... "
>&6; } >&6; }
if test "${ax_cv_have_epoll+set}" = set; then if test "${ax_cv_have_epoll+set}" = set; then
$as_echo_n "(cached) " >&6 else $as_echo_n "(cached) " >&6 else
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include
<sys/epoll.h> #ifdef HAVE_LINUX_VERSION_H # include <linux/ver- <sys/epoll.h> #ifdef HAVE_LINUX_VERSION_H # include <linux/ver-
sion.h> # if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,45) # sion.h> # if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,45) #
error linux kernel version is too old to have epoll # endif #en- error linux kernel version is too old to have epoll # endif #en-
dif dif
int main () { int fd, rc; struct epoll_event ev; fd = epoll_cre- int main () { int fd, rc; struct epoll_event ev; fd = epoll_cre-
ate(128); rc = epoll_wait(fd, &ev, 1, 0); ate(128); rc = epoll_wait(fd, &ev, 1, 0);
; ;
return 0; } _ACEOF rm ‐f conftest.$ac_objext conftest$ac_exeext return 0; } _ACEOF rm ‐f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link" case "(($ac_try" in if { (ac_try="$ac_link" case "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_link") 2>conftest.er1 (eval "$ac_link") 2>conftest.er1
ac_status=$? ac_status=$?
grep ‐v ’^ *+’ conftest.er1 >conftest.err grep ‐v ’^ *+’ conftest.er1 >conftest.err
rm ‐f conftest.er1 rm ‐f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } && { test ‐z "$ac_c_werror_flag" (exit $ac_status); } && { test ‐z "$ac_c_werror_flag"
|| test ! ‐s conftest.err || test ! ‐s conftest.err
} && test ‐s conftest$ac_exeext && { test } && test ‐s conftest$ac_exeext && { test
"$cross_compiling" = yes || $as_test_x conftest$ac_exe- "$cross_compiling" = yes || $as_test_x conftest$ac_exe-
ext ext
}; then }; then
ax_cv_have_epoll=yes else ax_cv_have_epoll=yes else
$as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con- $as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con-
ftest.$ac_ext >&5 ftest.$ac_ext >&5
ax_cv_have_epoll=no fi ax_cv_have_epoll=no fi
rm ‐rf conftest.dSYM rm ‐f core conftest.err conftest.$ac_objext rm ‐rf conftest.dSYM rm ‐f core conftest.err conftest.$ac_objext
conftest_ipa8_conftest.oo conftest$ac_exeext con- conftest_ipa8_conftest.oo conftest$ac_exeext con-
ftest.$ac_ext fi ftest.$ac_ext fi
CPPFLAGS="${ax_have_epoll_cppflags}" CPPFLAGS="${ax_have_epoll_cppflags}"
if test "${ax_cv_have_epoll}" = "yes"; then if test "${ax_cv_have_epoll}" = "yes"; then
{ $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes"
>&6; } >&6; }
engine="epoll" else engine="epoll" else
{ $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6;
} }
fi fi
if test "${ac_cv_header_sys_epoll_h+set}" = set; then if test "${ac_cv_header_sys_epoll_h+set}" = set; then
{ $as_echo "$as_me:$LINENO: checking for sys/epoll.h" >&5 { $as_echo "$as_me:$LINENO: checking for sys/epoll.h" >&5
$as_echo_n "checking for sys/epoll.h... " >&6; } if test $as_echo_n "checking for sys/epoll.h... " >&6; } if test
"${ac_cv_header_sys_epoll_h+set}" = set; then "${ac_cv_header_sys_epoll_h+set}" = set; then
$as_echo_n "(cached) " >&6 fi { $as_echo "$as_me:$LINENO: re- $as_echo_n "(cached) " >&6 fi { $as_echo "$as_me:$LINENO: re-
sult: $ac_cv_header_sys_epoll_h" >&5 $as_echo "$ac_cv_head- sult: $ac_cv_header_sys_epoll_h" >&5 $as_echo "$ac_cv_head-
er_sys_epoll_h" >&6; } else er_sys_epoll_h" >&6; } else
# Is the header compilable? { $as_echo "$as_me:$LINENO: check- # Is the header compilable? { $as_echo "$as_me:$LINENO: check-
ing sys/epoll.h usability" >&5 $as_echo_n "checking sys/epoll.h ing sys/epoll.h usability" >&5 $as_echo_n "checking sys/epoll.h
usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /*
confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat
>>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_in- >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_in-
cludes_default @%:@include <sys/epoll.h> _ACEOF rm ‐f con- cludes_default @%:@include <sys/epoll.h> _ACEOF rm ‐f con-
ftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in ftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_compile") 2>conftest.er1 (eval "$ac_compile") 2>conftest.er1
ac_status=$? ac_status=$?
grep ‐v ’^ *+’ conftest.er1 >conftest.err grep ‐v ’^ *+’ conftest.er1 >conftest.err
rm ‐f conftest.er1 rm ‐f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } && { test ‐z "$ac_c_werror_flag" (exit $ac_status); } && { test ‐z "$ac_c_werror_flag"
|| test ! ‐s conftest.err || test ! ‐s conftest.err
} && test ‐s conftest.$ac_objext; then } && test ‐s conftest.$ac_objext; then
ac_header_compiler=yes else ac_header_compiler=yes else
$as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con- $as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con-
ftest.$ac_ext >&5 ftest.$ac_ext >&5
ac_header_compiler=no fi ac_header_compiler=no fi
rm ‐f core conftest.err conftest.$ac_objext conftest.$ac_ext { rm ‐f core conftest.err conftest.$ac_objext conftest.$ac_ext {
$as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
$as_echo "$ac_header_compiler" >&6; } $as_echo "$ac_header_compiler" >&6; }
# Is the header present? { $as_echo "$as_me:$LINENO: checking # Is the header present? { $as_echo "$as_me:$LINENO: checking
sys/epoll.h presence" >&5 $as_echo_n "checking sys/epoll.h pres- sys/epoll.h presence" >&5 $as_echo_n "checking sys/epoll.h pres-
ence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. ence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h.
*/ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>con- */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>con-
ftest.$ac_ext <<_ACEOF /* end confdefs.h. */ @%:@include ftest.$ac_ext <<_ACEOF /* end confdefs.h. */ @%:@include
<sys/epoll.h> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case <sys/epoll.h> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case
"(($ac_try" in "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
ac_status=$? ac_status=$?
grep ‐v ’^ *+’ conftest.er1 >conftest.err grep ‐v ’^ *+’ conftest.er1 >conftest.err
rm ‐f conftest.er1 rm ‐f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } >/dev/null && { test ‐z (exit $ac_status); } >/dev/null && { test ‐z
"$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! ‐s "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! ‐s
conftest.err conftest.err
}; then }; then
ac_header_preproc=yes else ac_header_preproc=yes else
$as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con- $as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con-
ftest.$ac_ext >&5 ftest.$ac_ext >&5
ac_header_preproc=no fi ac_header_preproc=no fi
rm ‐f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: rm ‐f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO:
result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc"
>&6; } >&6; }
# So? What about this header? case $ac_header_compil- # So? What about this header? case $ac_header_compil-
er:$ac_header_preproc:$ac_c_preproc_warn_flag in er:$ac_header_preproc:$ac_c_preproc_warn_flag in
yes:no: ) yes:no: )
{ $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: accepted by { $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: accepted by
the compiler, rejected by the preprocessor!" >&5 $as_echo the compiler, rejected by the preprocessor!" >&5 $as_echo
"$as_me: WARNING: sys/epoll.h: accepted by the compiler, rejected "$as_me: WARNING: sys/epoll.h: accepted by the compiler, rejected
by the preprocessor!" >&2;} by the preprocessor!" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: proceeding { $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: proceeding
with the compiler’s result" >&5 $as_echo "$as_me: WARNING: with the compiler’s result" >&5 $as_echo "$as_me: WARNING:
sys/epoll.h: proceeding with the compiler’s result" >&2;} sys/epoll.h: proceeding with the compiler’s result" >&2;}
ac_header_preproc=yes ac_header_preproc=yes
;; ;;
no:yes:* ) no:yes:* )
{ $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: present but { $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: present but
cannot be compiled" >&5 $as_echo "$as_me: WARNING: sys/epoll.h: cannot be compiled" >&5 $as_echo "$as_me: WARNING: sys/epoll.h:
present but cannot be compiled" >&2;} present but cannot be compiled" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: check { $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: check
for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING:
sys/epoll.h: check for missing prerequisite headers?" >&2;} sys/epoll.h: check for missing prerequisite headers?" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: see the Au- { $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: see the Au-
toconf documentation" >&5 $as_echo "$as_me: WARNING: sys/epoll.h: toconf documentation" >&5 $as_echo "$as_me: WARNING: sys/epoll.h:
see the Autoconf documentation" >&2;} see the Autoconf documentation" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: section { $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: section
$as_echo "$as_me: WARNING: sys/epoll.h: section $as_echo "$as_me: WARNING: sys/epoll.h: section
{ $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: proceeding { $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: proceeding
with the preprocessor’s result" >&5 $as_echo "$as_me: WARNING: with the preprocessor’s result" >&5 $as_echo "$as_me: WARNING:
sys/epoll.h: proceeding with the preprocessor’s result" >&2;} sys/epoll.h: proceeding with the preprocessor’s result" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: in the fu- { $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: in the fu-
ture, the compiler will take precedence" >&5 $as_echo "$as_me: ture, the compiler will take precedence" >&5 $as_echo "$as_me:
WARNING: sys/epoll.h: in the future, the compiler will take WARNING: sys/epoll.h: in the future, the compiler will take
precedence" >&2;} precedence" >&2;}
;; esac { $as_echo "$as_me:$LINENO: checking for sys/epoll.h" ;; esac { $as_echo "$as_me:$LINENO: checking for sys/epoll.h"
>&5 $as_echo_n "checking for sys/epoll.h... " >&6; } if test >&5 $as_echo_n "checking for sys/epoll.h... " >&6; } if test
"${ac_cv_header_sys_epoll_h+set}" = set; then "${ac_cv_header_sys_epoll_h+set}" = set; then
$as_echo_n "(cached) " >&6 else $as_echo_n "(cached) " >&6 else
ac_cv_header_sys_epoll_h=$ac_header_preproc fi { $as_echo ac_cv_header_sys_epoll_h=$ac_header_preproc fi { $as_echo
"$as_me:$LINENO: result: $ac_cv_header_sys_epoll_h" >&5 $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_epoll_h" >&5 $as_echo
"$ac_cv_header_sys_epoll_h" >&6; } "$ac_cv_header_sys_epoll_h" >&6; }
fi if test "x$ac_cv_header_sys_epoll_h" = x""yes; then fi if test "x$ac_cv_header_sys_epoll_h" = x""yes; then
HAVE_EPOLL_H=yes else HAVE_EPOLL_H=yes else
HAVE_EPOLL_H=no fi HAVE_EPOLL_H=no fi
# AC_CHECK_LIB(epoll, epoll_create, # AC_CHECK_LIB(epoll, epoll_create,
# [LIBS="$LIBS ‐lepoll"; have_epoll_lib="yes"; en- # [LIBS="$LIBS ‐lepoll"; have_epoll_lib="yes"; en-
gine="epoll"], gine="epoll"],
# have_epoll_lib="no") # have_epoll_lib="no")
skipping to change at line 5733 skipping to change at line 5737
# AC_MSG_CHECKING(for epoll_create [without ‐lepoll]) # AC_MSG_CHECKING(for epoll_create [without ‐lepoll])
# AC_RUN_IFELSE([AC_LANG_SOURCE([[ # AC_RUN_IFELSE([AC_LANG_SOURCE([[
# #include <stdint.h> # #include <stdint.h>
# #include <sys/epoll.h> # #include <sys/epoll.h>
# #include <errno.h> # #include <errno.h>
# #
# #include <asm/unistd.h> # #include <asm/unistd.h>
# #
# _syscall1(int, epoll_create, int, size) # _syscall1(int, epoll_create, int, size)
# #
# int main(int argc, char **argv) { return # int main(int argc, char **argv) { return
epoll_create(5) < 1; } epoll_create(5) < 1; }
# #
]])],[have_epoll_lib="yes"],[have_epoll_lib="no"],[]) ]])],[have_epoll_lib="yes"],[have_epoll_lib="no"],[])
# AC_MSG_RESULT($have_epoll_lib) # AC_MSG_RESULT($have_epoll_lib)
# if test "$have_epoll_lib" = "yes"; then # if test "$have_epoll_lib" = "yes"; then
# AC_DEFINE(NEED_EPOLL_DEFS) # AC_DEFINE(NEED_EPOLL_DEFS)
# fi # fi
# fi # fi
# if test "$HAVE_EPOLL_H $have_epoll_lib" = "yes yes"; # if test "$HAVE_EPOLL_H $have_epoll_lib" = "yes yes";
then then
# engine="epoll"; # engine="epoll";
# fi # fi
else else
{ $as_echo "$as_me:$LINENO: checking for poll" >&5 { $as_echo "$as_me:$LINENO: checking for poll" >&5
$as_echo_n "checking for poll... " >&6; } if test $as_echo_n "checking for poll... " >&6; } if test
"${ac_cv_func_poll+set}" = set; then "${ac_cv_func_poll+set}" = set; then
$as_echo_n "(cached) " >&6 else $as_echo_n "(cached) " >&6 else
cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat
confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /*
end confdefs.h. */ /* Define poll to an innocuous variant, in end confdefs.h. */ /* Define poll to an innocuous variant, in
case <limits.h> declares poll. case <limits.h> declares poll.
For example, HP‐UX 11i <limits.h> declares gettimeofday. */ For example, HP‐UX 11i <limits.h> declares gettimeofday. */
#define poll innocuous_poll #define poll innocuous_poll
/* System header to define __stub macros and hopefully few proto- /* System header to define __stub macros and hopefully few proto-
types, types,
which can conflict with char poll (); below. which can conflict with char poll (); below.
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
<limits.h> exists even on freestanding compilers. */ <limits.h> exists even on freestanding compilers. */
#ifdef __STDC__ # include <limits.h> #else # include <assert.h> #ifdef __STDC__ # include <limits.h> #else # include <assert.h>
#endif #endif
#undef poll #undef poll
/* Override any GCC internal prototype to avoid an error. /* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
#ifdef __cplusplus extern "C" #endif char poll (); /* The GNU C #ifdef __cplusplus extern "C" #endif char poll (); /* The GNU C
library defines this for functions which it implements library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually to always fail with ENOSYS. Some functions are actually
named named
something starting with __ and the normal name is an alias. something starting with __ and the normal name is an alias.
*/ #if defined __stub_poll || defined __stub___poll choke me #en- */ #if defined __stub_poll || defined __stub___poll choke me #en-
dif dif
int main () { return poll (); int main () { return poll ();
; ;
return 0; } _ACEOF rm ‐f conftest.$ac_objext conftest$ac_exeext return 0; } _ACEOF rm ‐f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link" case "(($ac_try" in if { (ac_try="$ac_link" case "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_link") 2>conftest.er1 (eval "$ac_link") 2>conftest.er1
ac_status=$? ac_status=$?
grep ‐v ’^ *+’ conftest.er1 >conftest.err grep ‐v ’^ *+’ conftest.er1 >conftest.err
rm ‐f conftest.er1 rm ‐f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } && { test ‐z "$ac_c_werror_flag" (exit $ac_status); } && { test ‐z "$ac_c_werror_flag"
|| test ! ‐s conftest.err || test ! ‐s conftest.err
} && test ‐s conftest$ac_exeext && { test } && test ‐s conftest$ac_exeext && { test
"$cross_compiling" = yes || $as_test_x conftest$ac_exe- "$cross_compiling" = yes || $as_test_x conftest$ac_exe-
ext ext
}; then }; then
ac_cv_func_poll=yes else ac_cv_func_poll=yes else
$as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con- $as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con-
ftest.$ac_ext >&5 ftest.$ac_ext >&5
ac_cv_func_poll=no fi ac_cv_func_poll=no fi
rm ‐rf conftest.dSYM rm ‐f core conftest.err conftest.$ac_objext rm ‐rf conftest.dSYM rm ‐f core conftest.err conftest.$ac_objext
conftest_ipa8_conftest.oo conftest$ac_exeext con- conftest_ipa8_conftest.oo conftest$ac_exeext con-
ftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: ftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result:
$ac_cv_func_poll" >&5 $as_echo "$ac_cv_func_poll" >&6; } if test $ac_cv_func_poll" >&5 $as_echo "$ac_cv_func_poll" >&6; } if test
"x$ac_cv_func_poll" = x""yes; then "x$ac_cv_func_poll" = x""yes; then
engine="poll" fi engine="poll" fi
fi elif test "$check_sengine" = "kqueue"; then fi elif test "$check_sengine" = "kqueue"; then
{ $as_echo "$as_me:$LINENO: checking for kevent" >&5 { $as_echo "$as_me:$LINENO: checking for kevent" >&5
$as_echo_n "checking for kevent... " >&6; } if test $as_echo_n "checking for kevent... " >&6; } if test
"${ac_cv_func_kevent+set}" = set; then "${ac_cv_func_kevent+set}" = set; then
$as_echo_n "(cached) " >&6 else $as_echo_n "(cached) " >&6 else
cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat
confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /*
end confdefs.h. */ /* Define kevent to an innocuous variant, in end confdefs.h. */ /* Define kevent to an innocuous variant, in
case <limits.h> declares kevent. case <limits.h> declares kevent.
For example, HP‐UX 11i <limits.h> declares gettimeofday. */ For example, HP‐UX 11i <limits.h> declares gettimeofday. */
#define kevent innocuous_kevent #define kevent innocuous_kevent
/* System header to define __stub macros and hopefully few proto- /* System header to define __stub macros and hopefully few proto-
types, types,
which can conflict with char kevent (); below. which can conflict with char kevent (); below.
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
<limits.h> exists even on freestanding compilers. */ <limits.h> exists even on freestanding compilers. */
#ifdef __STDC__ # include <limits.h> #else # include <assert.h> #ifdef __STDC__ # include <limits.h> #else # include <assert.h>
#endif #endif
#undef kevent #undef kevent
/* Override any GCC internal prototype to avoid an error. /* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
#ifdef __cplusplus extern "C" #endif char kevent (); /* The GNU C #ifdef __cplusplus extern "C" #endif char kevent (); /* The GNU C
library defines this for functions which it implements library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually to always fail with ENOSYS. Some functions are actually
named named
something starting with __ and the normal name is an alias. something starting with __ and the normal name is an alias.
*/ #if defined __stub_kevent || defined __stub___kevent choke me */ #if defined __stub_kevent || defined __stub___kevent choke me
#endif #endif
int main () { return kevent (); int main () { return kevent ();
; ;
return 0; } _ACEOF rm ‐f conftest.$ac_objext conftest$ac_exeext return 0; } _ACEOF rm ‐f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link" case "(($ac_try" in if { (ac_try="$ac_link" case "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_link") 2>conftest.er1 (eval "$ac_link") 2>conftest.er1
ac_status=$? ac_status=$?
grep ‐v ’^ *+’ conftest.er1 >conftest.err grep ‐v ’^ *+’ conftest.er1 >conftest.err
rm ‐f conftest.er1 rm ‐f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } && { test ‐z "$ac_c_werror_flag" (exit $ac_status); } && { test ‐z "$ac_c_werror_flag"
|| test ! ‐s conftest.err || test ! ‐s conftest.err
} && test ‐s conftest$ac_exeext && { test } && test ‐s conftest$ac_exeext && { test
"$cross_compiling" = yes || $as_test_x conftest$ac_exe- "$cross_compiling" = yes || $as_test_x conftest$ac_exe-
ext ext
}; then }; then
ac_cv_func_kevent=yes else ac_cv_func_kevent=yes else
$as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con- $as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con-
ftest.$ac_ext >&5 ftest.$ac_ext >&5
ac_cv_func_kevent=no fi ac_cv_func_kevent=no fi
rm ‐rf conftest.dSYM rm ‐f core conftest.err conftest.$ac_objext rm ‐rf conftest.dSYM rm ‐f core conftest.err conftest.$ac_objext
conftest_ipa8_conftest.oo conftest$ac_exeext con- conftest_ipa8_conftest.oo conftest$ac_exeext con-
ftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: ftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result:
$ac_cv_func_kevent" >&5 $as_echo "$ac_cv_func_kevent" >&6; } if $ac_cv_func_kevent" >&5 $as_echo "$ac_cv_func_kevent" >&6; } if
test "x$ac_cv_func_kevent" = x""yes; then test "x$ac_cv_func_kevent" = x""yes; then
engine="kqueue" fi engine="kqueue" fi
if test "X$engine" = "X"; then if test "X$engine" = "X"; then
{ $as_echo "$as_me:$LINENO: " >&5 $as_echo "$as_me: " { $as_echo "$as_me:$LINENO: " >&5 $as_echo "$as_me: "
>&6;} >&6;}
{ $as_echo "$as_me:$LINENO: kqueue not supported on this { $as_echo "$as_me:$LINENO: kqueue not supported on this
platform!" >&5 $as_echo "$as_me: kqueue not supported on this platform!" >&5 $as_echo "$as_me: kqueue not supported on this
platform!" >&6;} platform!" >&6;}
{ { $as_echo "$as_me:$LINENO: error: " >&5 $as_echo { { $as_echo "$as_me:$LINENO: error: " >&5 $as_echo
"$as_me: error: " >&2;} "$as_me: error: " >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
{ $as_echo "$as_me:$LINENO: setting socketengine type to { $as_echo "$as_me:$LINENO: setting socketengine type to
kqueue" >&5 $as_echo "$as_me: setting socketengine type to kqueue" >&5 $as_echo "$as_me: setting socketengine type to
kqueue" >&6;} elif test "$check_sengine" = "poll"; then kqueue" >&6;} elif test "$check_sengine" = "poll"; then
{ $as_echo "$as_me:$LINENO: checking for poll" >&5 $as_echo_n { $as_echo "$as_me:$LINENO: checking for poll" >&5 $as_echo_n
"checking for poll... " >&6; } if test "${ac_cv_func_poll+set}" = "checking for poll... " >&6; } if test "${ac_cv_func_poll+set}" =
set; then set; then
$as_echo_n "(cached) " >&6 else $as_echo_n "(cached) " >&6 else
cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat
confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /*
end confdefs.h. */ /* Define poll to an innocuous variant, in end confdefs.h. */ /* Define poll to an innocuous variant, in
case <limits.h> declares poll. case <limits.h> declares poll.
For example, HP‐UX 11i <limits.h> declares gettimeofday. */ For example, HP‐UX 11i <limits.h> declares gettimeofday. */
#define poll innocuous_poll #define poll innocuous_poll
/* System header to define __stub macros and hopefully few proto- /* System header to define __stub macros and hopefully few proto-
types, types,
which can conflict with char poll (); below. which can conflict with char poll (); below.
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
<limits.h> exists even on freestanding compilers. */ <limits.h> exists even on freestanding compilers. */
#ifdef __STDC__ # include <limits.h> #else # include <assert.h> #ifdef __STDC__ # include <limits.h> #else # include <assert.h>
#endif #endif
#undef poll #undef poll
/* Override any GCC internal prototype to avoid an error. /* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
#ifdef __cplusplus extern "C" #endif char poll (); /* The GNU C #ifdef __cplusplus extern "C" #endif char poll (); /* The GNU C
library defines this for functions which it implements library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually to always fail with ENOSYS. Some functions are actually
named named
something starting with __ and the normal name is an alias. something starting with __ and the normal name is an alias.
*/ #if defined __stub_poll || defined __stub___poll choke me #en- */ #if defined __stub_poll || defined __stub___poll choke me #en-
dif dif
int main () { return poll (); int main () { return poll ();
; ;
return 0; } _ACEOF rm ‐f conftest.$ac_objext conftest$ac_exeext return 0; } _ACEOF rm ‐f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link" case "(($ac_try" in if { (ac_try="$ac_link" case "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_link") 2>conftest.er1 (eval "$ac_link") 2>conftest.er1
ac_status=$? ac_status=$?
grep ‐v ’^ *+’ conftest.er1 >conftest.err grep ‐v ’^ *+’ conftest.er1 >conftest.err
rm ‐f conftest.er1 rm ‐f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } && { test ‐z "$ac_c_werror_flag" (exit $ac_status); } && { test ‐z "$ac_c_werror_flag"
|| test ! ‐s conftest.err || test ! ‐s conftest.err
} && test ‐s conftest$ac_exeext && { test } && test ‐s conftest$ac_exeext && { test
"$cross_compiling" = yes || $as_test_x conftest$ac_exe- "$cross_compiling" = yes || $as_test_x conftest$ac_exe-
ext ext
}; then }; then
ac_cv_func_poll=yes else ac_cv_func_poll=yes else
$as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con- $as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con-
ftest.$ac_ext >&5 ftest.$ac_ext >&5
ac_cv_func_poll=no fi ac_cv_func_poll=no fi
rm ‐rf conftest.dSYM rm ‐f core conftest.err conftest.$ac_objext rm ‐rf conftest.dSYM rm ‐f core conftest.err conftest.$ac_objext
conftest_ipa8_conftest.oo conftest$ac_exeext con- conftest_ipa8_conftest.oo conftest$ac_exeext con-
ftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: ftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result:
$ac_cv_func_poll" >&5 $as_echo "$ac_cv_func_poll" >&6; } if test $ac_cv_func_poll" >&5 $as_echo "$ac_cv_func_poll" >&6; } if test
"x$ac_cv_func_poll" = x""yes; then "x$ac_cv_func_poll" = x""yes; then
engine="poll" fi engine="poll" fi
if test "X$engine" = "X"; then if test "X$engine" = "X"; then
{ $as_echo "$as_me:$LINENO: " >&5 $as_echo "$as_me: " { $as_echo "$as_me:$LINENO: " >&5 $as_echo "$as_me: "
>&6;} >&6;}
{ $as_echo "$as_me:$LINENO: poll not supported on this { $as_echo "$as_me:$LINENO: poll not supported on this
platform!" >&5 $as_echo "$as_me: poll not supported on this plat- platform!" >&5 $as_echo "$as_me: poll not supported on this plat-
form!" >&6;} form!" >&6;}
{ { $as_echo "$as_me:$LINENO: error: " >&5 $as_echo { { $as_echo "$as_me:$LINENO: error: " >&5 $as_echo
"$as_me: error: " >&2;} "$as_me: error: " >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
{ $as_echo "$as_me:$LINENO: setting socketengine type to { $as_echo "$as_me:$LINENO: setting socketengine type to
poll" >&5 $as_echo "$as_me: setting socketengine type to poll" poll" >&5 $as_echo "$as_me: setting socketengine type to poll"
>&6;} elif test "$check_sengine" = "devpoll"; then >&6;} elif test "$check_sengine" = "devpoll"; then
if test "${ac_cv_header_sys_devpoll_h+set}" = set; then if test "${ac_cv_header_sys_devpoll_h+set}" = set; then
{ $as_echo "$as_me:$LINENO: checking for sys/devpoll.h" >&5 { $as_echo "$as_me:$LINENO: checking for sys/devpoll.h" >&5
$as_echo_n "checking for sys/devpoll.h... " >&6; } if test $as_echo_n "checking for sys/devpoll.h... " >&6; } if test
"${ac_cv_header_sys_devpoll_h+set}" = set; then "${ac_cv_header_sys_devpoll_h+set}" = set; then
$as_echo_n "(cached) " >&6 fi { $as_echo "$as_me:$LINENO: re- $as_echo_n "(cached) " >&6 fi { $as_echo "$as_me:$LINENO: re-
sult: $ac_cv_header_sys_devpoll_h" >&5 $as_echo "$ac_cv_head- sult: $ac_cv_header_sys_devpoll_h" >&5 $as_echo "$ac_cv_head-
er_sys_devpoll_h" >&6; } else er_sys_devpoll_h" >&6; } else
# Is the header compilable? { $as_echo "$as_me:$LINENO: check- # Is the header compilable? { $as_echo "$as_me:$LINENO: check-
ing sys/devpoll.h usability" >&5 $as_echo_n "checking sys/de- ing sys/devpoll.h usability" >&5 $as_echo_n "checking sys/de-
vpoll.h usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* vpoll.h usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /*
confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat
>>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_in- >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_in-
cludes_default @%:@include <sys/devpoll.h> _ACEOF rm ‐f con- cludes_default @%:@include <sys/devpoll.h> _ACEOF rm ‐f con-
ftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in ftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_compile") 2>conftest.er1 (eval "$ac_compile") 2>conftest.er1
ac_status=$? ac_status=$?
grep ‐v ’^ *+’ conftest.er1 >conftest.err grep ‐v ’^ *+’ conftest.er1 >conftest.err
rm ‐f conftest.er1 rm ‐f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } && { test ‐z "$ac_c_werror_flag" (exit $ac_status); } && { test ‐z "$ac_c_werror_flag"
|| test ! ‐s conftest.err || test ! ‐s conftest.err
} && test ‐s conftest.$ac_objext; then } && test ‐s conftest.$ac_objext; then
ac_header_compiler=yes else ac_header_compiler=yes else
$as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con- $as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con-
ftest.$ac_ext >&5 ftest.$ac_ext >&5
ac_header_compiler=no fi ac_header_compiler=no fi
rm ‐f core conftest.err conftest.$ac_objext conftest.$ac_ext { rm ‐f core conftest.err conftest.$ac_objext conftest.$ac_ext {
$as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
$as_echo "$ac_header_compiler" >&6; } $as_echo "$ac_header_compiler" >&6; }
# Is the header present? { $as_echo "$as_me:$LINENO: checking # Is the header present? { $as_echo "$as_me:$LINENO: checking
sys/devpoll.h presence" >&5 $as_echo_n "checking sys/devpoll.h sys/devpoll.h presence" >&5 $as_echo_n "checking sys/devpoll.h
presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /*
confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat
>>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ @%:@include >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ @%:@include
<sys/devpoll.h> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" <sys/devpoll.h> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in case "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
ac_status=$? ac_status=$?
grep ‐v ’^ *+’ conftest.er1 >conftest.err grep ‐v ’^ *+’ conftest.er1 >conftest.err
rm ‐f conftest.er1 rm ‐f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } >/dev/null && { test ‐z (exit $ac_status); } >/dev/null && { test ‐z
"$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! ‐s "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! ‐s
conftest.err conftest.err
}; then }; then
ac_header_preproc=yes else ac_header_preproc=yes else
$as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con- $as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con-
ftest.$ac_ext >&5 ftest.$ac_ext >&5
ac_header_preproc=no fi ac_header_preproc=no fi
rm ‐f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: rm ‐f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO:
result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc"
>&6; } >&6; }
# So? What about this header? case $ac_header_compil- # So? What about this header? case $ac_header_compil-
er:$ac_header_preproc:$ac_c_preproc_warn_flag in er:$ac_header_preproc:$ac_c_preproc_warn_flag in
yes:no: ) yes:no: )
{ $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: accepted { $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: accepted
by the compiler, rejected by the preprocessor!" >&5 $as_echo by the compiler, rejected by the preprocessor!" >&5 $as_echo
"$as_me: WARNING: sys/devpoll.h: accepted by the compiler, re- "$as_me: WARNING: sys/devpoll.h: accepted by the compiler, re-
jected by the preprocessor!" >&2;} jected by the preprocessor!" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: proceed- { $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: proceed-
ing with the compiler’s result" >&5 $as_echo "$as_me: WARNING: ing with the compiler’s result" >&5 $as_echo "$as_me: WARNING:
sys/devpoll.h: proceeding with the compiler’s result" >&2;} sys/devpoll.h: proceeding with the compiler’s result" >&2;}
ac_header_preproc=yes ac_header_preproc=yes
;; ;;
no:yes:* ) no:yes:* )
{ $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: present { $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: present
but cannot be compiled" >&5 $as_echo "$as_me: WARNING: sys/de- but cannot be compiled" >&5 $as_echo "$as_me: WARNING: sys/de-
vpoll.h: present but cannot be compiled" >&2;} vpoll.h: present but cannot be compiled" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: check { $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: check
for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING:
sys/devpoll.h: check for missing prerequisite headers?" >&2;} sys/devpoll.h: check for missing prerequisite headers?" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: see the { $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: see the
Autoconf documentation" >&5 $as_echo "$as_me: WARNING: sys/de- Autoconf documentation" >&5 $as_echo "$as_me: WARNING: sys/de-
vpoll.h: see the Autoconf documentation" >&2;} vpoll.h: see the Autoconf documentation" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: sec- { $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: sec-
tion $as_echo "$as_me: WARNING: sys/devpoll.h: section tion $as_echo "$as_me: WARNING: sys/devpoll.h: section
{ $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: proceed- { $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: proceed-
ing with the preprocessor’s result" >&5 $as_echo "$as_me: WARN- ing with the preprocessor’s result" >&5 $as_echo "$as_me: WARN-
ING: sys/devpoll.h: proceeding with the preprocessor’s result" ING: sys/devpoll.h: proceeding with the preprocessor’s result"
>&2;} >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: in the { $as_echo "$as_me:$LINENO: WARNING: sys/devpoll.h: in the
future, the compiler will take precedence" >&5 $as_echo "$as_me: future, the compiler will take precedence" >&5 $as_echo "$as_me:
WARNING: sys/devpoll.h: in the future, the compiler will take WARNING: sys/devpoll.h: in the future, the compiler will take
precedence" >&2;} precedence" >&2;}
;; esac { $as_echo "$as_me:$LINENO: checking for sys/de- ;; esac { $as_echo "$as_me:$LINENO: checking for sys/de-
vpoll.h" >&5 $as_echo_n "checking for sys/devpoll.h... " >&6; } vpoll.h" >&5 $as_echo_n "checking for sys/devpoll.h... " >&6; }
if test "${ac_cv_header_sys_devpoll_h+set}" = set; then if test "${ac_cv_header_sys_devpoll_h+set}" = set; then
$as_echo_n "(cached) " >&6 else $as_echo_n "(cached) " >&6 else
ac_cv_header_sys_devpoll_h=$ac_header_preproc fi { $as_echo ac_cv_header_sys_devpoll_h=$ac_header_preproc fi { $as_echo
"$as_me:$LINENO: result: $ac_cv_header_sys_devpoll_h" >&5 "$as_me:$LINENO: result: $ac_cv_header_sys_devpoll_h" >&5
$as_echo "$ac_cv_header_sys_devpoll_h" >&6; } $as_echo "$ac_cv_header_sys_devpoll_h" >&6; }
fi if test "x$ac_cv_header_sys_devpoll_h" = x""yes; then fi if test "x$ac_cv_header_sys_devpoll_h" = x""yes; then
engine="devpoll" fi engine="devpoll" fi
if test "X$engine" = "X"; then if test "X$engine" = "X"; then
{ $as_echo "$as_me:$LINENO: " >&5 $as_echo "$as_me: " { $as_echo "$as_me:$LINENO: " >&5 $as_echo "$as_me: "
>&6;} >&6;}
{ $as_echo "$as_me:$LINENO: /dev/poll not supported on { $as_echo "$as_me:$LINENO: /dev/poll not supported on
this system" >&5 $as_echo "$as_me: /dev/poll not supported on this system" >&5 $as_echo "$as_me: /dev/poll not supported on
this system" >&6;} this system" >&6;}
{ { $as_echo "$as_me:$LINENO: error: " >&5 $as_echo { { $as_echo "$as_me:$LINENO: error: " >&5 $as_echo
"$as_me: error: " >&2;} "$as_me: error: " >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
{ $as_echo "$as_me:$LINENO: setting socketengine to devpoll" { $as_echo "$as_me:$LINENO: setting socketengine to devpoll"
>&5 $as_echo "$as_me: setting socketengine to devpoll" >&6;} elif >&5 $as_echo "$as_me: setting socketengine to devpoll" >&6;} elif
test "$check_sengine" = "epoll"; then test "$check_sengine" = "epoll"; then
if test "${ac_cv_header_sys_epoll_h+set}" = set; then if test "${ac_cv_header_sys_epoll_h+set}" = set; then
{ $as_echo "$as_me:$LINENO: checking for sys/epoll.h" >&5 { $as_echo "$as_me:$LINENO: checking for sys/epoll.h" >&5
$as_echo_n "checking for sys/epoll.h... " >&6; } if test $as_echo_n "checking for sys/epoll.h... " >&6; } if test
"${ac_cv_header_sys_epoll_h+set}" = set; then "${ac_cv_header_sys_epoll_h+set}" = set; then
$as_echo_n "(cached) " >&6 fi { $as_echo "$as_me:$LINENO: re- $as_echo_n "(cached) " >&6 fi { $as_echo "$as_me:$LINENO: re-
sult: $ac_cv_header_sys_epoll_h" >&5 $as_echo "$ac_cv_head- sult: $ac_cv_header_sys_epoll_h" >&5 $as_echo "$ac_cv_head-
er_sys_epoll_h" >&6; } else er_sys_epoll_h" >&6; } else
# Is the header compilable? { $as_echo "$as_me:$LINENO: check- # Is the header compilable? { $as_echo "$as_me:$LINENO: check-
ing sys/epoll.h usability" >&5 $as_echo_n "checking sys/epoll.h ing sys/epoll.h usability" >&5 $as_echo_n "checking sys/epoll.h
usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /*
confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat
>>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_in- >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_in-
cludes_default @%:@include <sys/epoll.h> _ACEOF rm ‐f con- cludes_default @%:@include <sys/epoll.h> _ACEOF rm ‐f con-
ftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in ftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_compile") 2>conftest.er1 (eval "$ac_compile") 2>conftest.er1
ac_status=$? ac_status=$?
grep ‐v ’^ *+’ conftest.er1 >conftest.err grep ‐v ’^ *+’ conftest.er1 >conftest.err
rm ‐f conftest.er1 rm ‐f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } && { test ‐z "$ac_c_werror_flag" (exit $ac_status); } && { test ‐z "$ac_c_werror_flag"
|| test ! ‐s conftest.err || test ! ‐s conftest.err
} && test ‐s conftest.$ac_objext; then } && test ‐s conftest.$ac_objext; then
ac_header_compiler=yes else ac_header_compiler=yes else
$as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con- $as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con-
ftest.$ac_ext >&5 ftest.$ac_ext >&5
ac_header_compiler=no fi ac_header_compiler=no fi
rm ‐f core conftest.err conftest.$ac_objext conftest.$ac_ext { rm ‐f core conftest.err conftest.$ac_objext conftest.$ac_ext {
$as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
$as_echo "$ac_header_compiler" >&6; } $as_echo "$ac_header_compiler" >&6; }
# Is the header present? { $as_echo "$as_me:$LINENO: checking # Is the header present? { $as_echo "$as_me:$LINENO: checking
sys/epoll.h presence" >&5 $as_echo_n "checking sys/epoll.h pres- sys/epoll.h presence" >&5 $as_echo_n "checking sys/epoll.h pres-
ence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. ence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h.
*/ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>con- */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>con-
ftest.$ac_ext <<_ACEOF /* end confdefs.h. */ @%:@include ftest.$ac_ext <<_ACEOF /* end confdefs.h. */ @%:@include
<sys/epoll.h> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case <sys/epoll.h> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case
"(($ac_try" in "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
ac_status=$? ac_status=$?
grep ‐v ’^ *+’ conftest.er1 >conftest.err grep ‐v ’^ *+’ conftest.er1 >conftest.err
rm ‐f conftest.er1 rm ‐f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } >/dev/null && { test ‐z (exit $ac_status); } >/dev/null && { test ‐z
"$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! ‐s "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! ‐s
conftest.err conftest.err
}; then }; then
ac_header_preproc=yes else ac_header_preproc=yes else
$as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con- $as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con-
ftest.$ac_ext >&5 ftest.$ac_ext >&5
ac_header_preproc=no fi ac_header_preproc=no fi
rm ‐f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: rm ‐f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO:
result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc"
>&6; } >&6; }
# So? What about this header? case $ac_header_compil- # So? What about this header? case $ac_header_compil-
er:$ac_header_preproc:$ac_c_preproc_warn_flag in er:$ac_header_preproc:$ac_c_preproc_warn_flag in
yes:no: ) yes:no: )
{ $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: accepted by { $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: accepted by
the compiler, rejected by the preprocessor!" >&5 $as_echo the compiler, rejected by the preprocessor!" >&5 $as_echo
"$as_me: WARNING: sys/epoll.h: accepted by the compiler, rejected "$as_me: WARNING: sys/epoll.h: accepted by the compiler, rejected
by the preprocessor!" >&2;} by the preprocessor!" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: proceeding { $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: proceeding
with the compiler’s result" >&5 $as_echo "$as_me: WARNING: with the compiler’s result" >&5 $as_echo "$as_me: WARNING:
sys/epoll.h: proceeding with the compiler’s result" >&2;} sys/epoll.h: proceeding with the compiler’s result" >&2;}
ac_header_preproc=yes ac_header_preproc=yes
;; ;;
no:yes:* ) no:yes:* )
{ $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: present but { $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: present but
cannot be compiled" >&5 $as_echo "$as_me: WARNING: sys/epoll.h: cannot be compiled" >&5 $as_echo "$as_me: WARNING: sys/epoll.h:
present but cannot be compiled" >&2;} present but cannot be compiled" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: check { $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: check
for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING:
sys/epoll.h: check for missing prerequisite headers?" >&2;} sys/epoll.h: check for missing prerequisite headers?" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: see the Au- { $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: see the Au-
toconf documentation" >&5 $as_echo "$as_me: WARNING: sys/epoll.h: toconf documentation" >&5 $as_echo "$as_me: WARNING: sys/epoll.h:
see the Autoconf documentation" >&2;} see the Autoconf documentation" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: section { $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: section
$as_echo "$as_me: WARNING: sys/epoll.h: section $as_echo "$as_me: WARNING: sys/epoll.h: section
{ $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: proceeding { $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: proceeding
with the preprocessor’s result" >&5 $as_echo "$as_me: WARNING: with the preprocessor’s result" >&5 $as_echo "$as_me: WARNING:
sys/epoll.h: proceeding with the preprocessor’s result" >&2;} sys/epoll.h: proceeding with the preprocessor’s result" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: in the fu- { $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h: in the fu-
ture, the compiler will take precedence" >&5 $as_echo "$as_me: ture, the compiler will take precedence" >&5 $as_echo "$as_me:
WARNING: sys/epoll.h: in the future, the compiler will take WARNING: sys/epoll.h: in the future, the compiler will take
precedence" >&2;} precedence" >&2;}
;; esac { $as_echo "$as_me:$LINENO: checking for sys/epoll.h" ;; esac { $as_echo "$as_me:$LINENO: checking for sys/epoll.h"
>&5 $as_echo_n "checking for sys/epoll.h... " >&6; } if test >&5 $as_echo_n "checking for sys/epoll.h... " >&6; } if test
"${ac_cv_header_sys_epoll_h+set}" = set; then "${ac_cv_header_sys_epoll_h+set}" = set; then
$as_echo_n "(cached) " >&6 else $as_echo_n "(cached) " >&6 else
ac_cv_header_sys_epoll_h=$ac_header_preproc fi { $as_echo ac_cv_header_sys_epoll_h=$ac_header_preproc fi { $as_echo
"$as_me:$LINENO: result: $ac_cv_header_sys_epoll_h" >&5 $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_epoll_h" >&5 $as_echo
"$ac_cv_header_sys_epoll_h" >&6; } "$ac_cv_header_sys_epoll_h" >&6; }
fi if test "x$ac_cv_header_sys_epoll_h" = x""yes; then fi if test "x$ac_cv_header_sys_epoll_h" = x""yes; then
HAVE_EPOLL_H=yes else HAVE_EPOLL_H=yes else
HAVE_EPOLL_H=no fi HAVE_EPOLL_H=no fi
{ $as_echo "$as_me:$LINENO: checking for epoll_create in { $as_echo "$as_me:$LINENO: checking for epoll_create in
‐lepoll" >&5 $as_echo_n "checking for epoll_create in ‐lepoll... ‐lepoll" >&5 $as_echo_n "checking for epoll_create in ‐lepoll...
" >&6; } if test "${ac_cv_lib_epoll_epoll_create+set}" = set; " >&6; } if test "${ac_cv_lib_epoll_epoll_create+set}" = set;
then then
$as_echo_n "(cached) " >&6 else $as_echo_n "(cached) " >&6 else
ac_check_lib_save_LIBS=$LIBS LIBS="‐lepoll $LIBS" cat >con- ac_check_lib_save_LIBS=$LIBS LIBS="‐lepoll $LIBS" cat >con-
ftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h ftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h
>>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end
confdefs.h. */ confdefs.h. */
/* Override any GCC internal prototype to avoid an error. /* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
#ifdef __cplusplus extern "C" #endif char epoll_create (); int #ifdef __cplusplus extern "C" #endif char epoll_create (); int
main () { return epoll_create (); main () { return epoll_create ();
; ;
return 0; } _ACEOF rm ‐f conftest.$ac_objext conftest$ac_exeext return 0; } _ACEOF rm ‐f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link" case "(($ac_try" in if { (ac_try="$ac_link" case "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_link") 2>conftest.er1 (eval "$ac_link") 2>conftest.er1
ac_status=$? ac_status=$?
grep ‐v ’^ *+’ conftest.er1 >conftest.err grep ‐v ’^ *+’ conftest.er1 >conftest.err
rm ‐f conftest.er1 rm ‐f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } && { test ‐z "$ac_c_werror_flag" (exit $ac_status); } && { test ‐z "$ac_c_werror_flag"
|| test ! ‐s conftest.err || test ! ‐s conftest.err
} && test ‐s conftest$ac_exeext && { test } && test ‐s conftest$ac_exeext && { test
"$cross_compiling" = yes || $as_test_x conftest$ac_exe- "$cross_compiling" = yes || $as_test_x conftest$ac_exe-
ext ext
}; then }; then
ac_cv_lib_epoll_epoll_create=yes else ac_cv_lib_epoll_epoll_create=yes else
$as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con- $as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con-
ftest.$ac_ext >&5 ftest.$ac_ext >&5
ac_cv_lib_epoll_epoll_create=no fi ac_cv_lib_epoll_epoll_create=no fi
rm ‐rf conftest.dSYM rm ‐f core conftest.err conftest.$ac_objext rm ‐rf conftest.dSYM rm ‐f core conftest.err conftest.$ac_objext
conftest_ipa8_conftest.oo conftest$ac_exeext con- conftest_ipa8_conftest.oo conftest$ac_exeext con-
ftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo ftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo
"$as_me:$LINENO: result: $ac_cv_lib_epoll_epoll_create" >&5 "$as_me:$LINENO: result: $ac_cv_lib_epoll_epoll_create" >&5
$as_echo "$ac_cv_lib_epoll_epoll_create" >&6; } if test $as_echo "$ac_cv_lib_epoll_epoll_create" >&6; } if test
"x$ac_cv_lib_epoll_epoll_create" = x""yes; then "x$ac_cv_lib_epoll_epoll_create" = x""yes; then
LIBS="$LIBS ‐lepoll"; have_epoll_lib="yes"; engine="epoll" else LIBS="$LIBS ‐lepoll"; have_epoll_lib="yes"; engine="epoll" else
have_epoll_lib="no" fi have_epoll_lib="no" fi
if test "$HAVE_EPOLL_H $have_epoll_lib" = "yes no"; then if test "$HAVE_EPOLL_H $have_epoll_lib" = "yes no"; then
{ $as_echo "$as_me:$LINENO: checking for epoll_create { $as_echo "$as_me:$LINENO: checking for epoll_create
without ‐lepoll" >&5 $as_echo_n "checking for epoll_create with- without ‐lepoll" >&5 $as_echo_n "checking for epoll_create with-
out ‐lepoll... " >&6; } out ‐lepoll... " >&6; }
if test "$cross_compiling" = yes; then if test "$cross_compiling" = yes; then
{ { $as_echo "$as_me:$LINENO: error: in `$ac_pwd’:" >&5 { { $as_echo "$as_me:$LINENO: error: in `$ac_pwd’:" >&5
$as_echo "$as_me: error: in `$ac_pwd’:" >&2;} { { $as_echo $as_echo "$as_me: error: in `$ac_pwd’:" >&2;} { { $as_echo
"$as_me:$LINENO: error: cannot run test program while cross com- "$as_me:$LINENO: error: cannot run test program while cross com-
piling See `config.log’ for more details." >&5 $as_echo "$as_me: piling See `config.log’ for more details." >&5 $as_echo "$as_me:
error: cannot run test program while cross compiling See `con- error: cannot run test program while cross compiling See `con-
fig.log’ for more details." >&2;} fig.log’ for more details." >&2;}
{ (exit 1); exit 1; }; }; } else { (exit 1); exit 1; }; }; } else
cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat
confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /*
end confdefs.h. */ end confdefs.h. */
#include <stdint.h> #include <stdint.h>
#include <sys/epoll.h> #include <sys/epoll.h>
#include <errno.h> #include <errno.h>
#include <asm/unistd.h> #include <asm/unistd.h>
_syscall1(int, epoll_create, int, size) _syscall1(int, epoll_create, int, size)
int main(int argc, char **argv) { return int main(int argc, char **argv) { return
epoll_create(5) < 1; } epoll_create(5) < 1; }
_ACEOF rm ‐f conftest$ac_exeext if { (ac_try="$ac_link" case _ACEOF rm ‐f conftest$ac_exeext if { (ac_try="$ac_link" case
"(($ac_try" in "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_link") 2>&5 (eval "$ac_link") 2>&5
ac_status=$? ac_status=$?
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } && { ac_try=’./conftest$ac_exeext’ (exit $ac_status); } && { ac_try=’./conftest$ac_exeext’
{ (case "(($ac_try" in { (case "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_try") 2>&5 (eval "$ac_try") 2>&5
ac_status=$? ac_status=$?
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
have_epoll_lib="yes" else have_epoll_lib="yes" else
$as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: program exited with status $ac_status" >&5
$as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con- $as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con-
ftest.$ac_ext >&5 ftest.$ac_ext >&5
( exit $ac_status ) have_epoll_lib="no" fi rm ‐rf conftest.dSYM ( exit $ac_status ) have_epoll_lib="no" fi rm ‐rf conftest.dSYM
rm ‐f core *.core core.conftest.* gmon.out bb.out conftest$ac_ex- rm ‐f core *.core core.conftest.* gmon.out bb.out conftest$ac_ex-
eext conftest.$ac_objext conftest.$ac_ext fi eext conftest.$ac_objext conftest.$ac_ext fi
{ $as_echo "$as_me:$LINENO: result: $have_epoll_lib" >&5 { $as_echo "$as_me:$LINENO: result: $have_epoll_lib" >&5
$as_echo "$have_epoll_lib" >&6; } $as_echo "$have_epoll_lib" >&6; }
if test "$have_epoll_lib" = "yes"; then if test "$have_epoll_lib" = "yes"; then
cat >>confdefs.h <<_ACEOF @%:@define NEED_EPOLL_DEFS cat >>confdefs.h <<_ACEOF @%:@define NEED_EPOLL_DEFS
1 _ACEOF 1 _ACEOF
fi fi
fi fi
if test "$HAVE_EPOLL_H $have_epoll_lib" != "yes yes"; then if test "$HAVE_EPOLL_H $have_epoll_lib" != "yes yes"; then
{ $as_echo "$as_me:$LINENO: " >&5 $as_echo "$as_me: " { $as_echo "$as_me:$LINENO: " >&5 $as_echo "$as_me: "
>&6;} >&6;}
{ { $as_echo "$as_me:$LINENO: error: epoll is not sup- { { $as_echo "$as_me:$LINENO: error: epoll is not sup-
ported on this machine" >&5 $as_echo "$as_me: error: epoll is not ported on this machine" >&5 $as_echo "$as_me: error: epoll is not
supported on this machine" >&2;} supported on this machine" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
{ { $as_echo "$as_me:$LINENO: error: " >&5 $as_echo { { $as_echo "$as_me:$LINENO: error: " >&5 $as_echo
"$as_me: error: " >&2;} "$as_me: error: " >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
{ $as_echo "$as_me:$LINENO: setting socketengine type to { $as_echo "$as_me:$LINENO: setting socketengine type to
epoll" >&5 $as_echo "$as_me: setting socketengine type to epoll" epoll" >&5 $as_echo "$as_me: setting socketengine type to epoll"
>&6;} >&6;}
engine="epoll"; elif test "$check_sengine" = "select"; then engine="epoll"; elif test "$check_sengine" = "select"; then
{ $as_echo "$as_me:$LINENO: setting socketengine type to se- { $as_echo "$as_me:$LINENO: setting socketengine type to se-
lect.. for some stupid reason" >&5 $as_echo "$as_me: setting lect.. for some stupid reason" >&5 $as_echo "$as_me: setting
socketengine type to select.. for some stupid reason" >&6;} socketengine type to select.. for some stupid reason" >&6;}
engine="select" else engine="select" else
{ $as_echo "$as_me:$LINENO: " >&5 $as_echo "$as_me: " >&6;} { $as_echo "$as_me:$LINENO: " >&5 $as_echo "$as_me: " >&6;}
{ $as_echo "$as_me:$LINENO: socket engine type incorrect!" { $as_echo "$as_me:$LINENO: socket engine type incorrect!"
>&5 $as_echo "$as_me: socket engine type incorrect!" >&6;} >&5 $as_echo "$as_me: socket engine type incorrect!" >&6;}
{ { $as_echo "$as_me:$LINENO: error: " >&5 $as_echo "$as_me: { { $as_echo "$as_me:$LINENO: error: " >&5 $as_echo "$as_me:
error: " >&2;} error: " >&2;}
{ (exit 1); exit 1; }; } fi { (exit 1); exit 1; }; } fi
SENGINE="socketengine_$engine.c" SENGINE="socketengine_$engine.c"
if test $engine = "select"; then if test $engine = "select"; then
{ $as_echo "$as_me:$LINENO: checking to see if FD_SETSIZE is { $as_echo "$as_me:$LINENO: checking to see if FD_SETSIZE is
broken" >&5 $as_echo_n "checking to see if FD_SETSIZE is bro- broken" >&5 $as_echo_n "checking to see if FD_SETSIZE is bro-
ken... " >&6; } ken... " >&6; }
if test "$cross_compiling" = yes; then if test "$cross_compiling" = yes; then
{ $as_echo "$as_me:$LINENO: result: can’t tell" >&5 $as_echo { $as_echo "$as_me:$LINENO: result: can’t tell" >&5 $as_echo
"can’t tell" >&6; } else "can’t tell" >&6; } else
cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat
confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /*
end confdefs.h. */ end confdefs.h. */
#define FD_SETSIZE 666 #define FD_SETSIZE 666
#include <sys/types.h> #include <sys/types.h>
#include <sys/time.h> #include <sys/time.h>
int main() int main()
{ {
if(FD_SETSIZE != 666) if(FD_SETSIZE != 666)
exit(1); exit(1);
exit(0); exit(0);
} }
_ACEOF rm ‐f conftest$ac_exeext if { (ac_try="$ac_link" case _ACEOF rm ‐f conftest$ac_exeext if { (ac_try="$ac_link" case
"(($ac_try" in "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_link") 2>&5 (eval "$ac_link") 2>&5
ac_status=$? ac_status=$?
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } && { ac_try=’./conftest$ac_exeext’ (exit $ac_status); } && { ac_try=’./conftest$ac_exeext’
{ (case "(($ac_try" in { (case "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_try") 2>&5 (eval "$ac_try") 2>&5
ac_status=$? ac_status=$?
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
{ $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6;
} else } else
$as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: program exited with status $ac_status" >&5
$as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con- $as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con-
ftest.$ac_ext >&5 ftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
{ $as_echo "$as_me:$LINENO: result: YES" >&5 $as_echo "YES" { $as_echo "$as_me:$LINENO: result: YES" >&5 $as_echo "YES"
>&6; } >&6; }
{ $as_echo "$as_me:$LINENO: WARNING: FD_SETSIZE is hard set { $as_echo "$as_me:$LINENO: WARNING: FD_SETSIZE is hard set
by your operating system" >&5 $as_echo "$as_me: WARNING: FD_SET- by your operating system" >&5 $as_echo "$as_me: WARNING: FD_SET-
SIZE is hard set by your operating system" >&2;} SIZE is hard set by your operating system" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: MAXCONNECTIONS must be { $as_echo "$as_me:$LINENO: WARNING: MAXCONNECTIONS must be
no higher than the hardwired FD_SETSIZE" >&5 $as_echo "$as_me: no higher than the hardwired FD_SETSIZE" >&5 $as_echo "$as_me:
WARNING: MAXCONNECTIONS must be no higher than the hardwired WARNING: MAXCONNECTIONS must be no higher than the hardwired
FD_SETSIZE" >&2;} FD_SETSIZE" >&2;}
cat >>confdefs.h <<_ACEOF @%:@define BROKEN_FD_SETSIZE 1 cat >>confdefs.h <<_ACEOF @%:@define BROKEN_FD_SETSIZE 1
_ACEOF _ACEOF
broken_fd_setsize="yes" broken_fd_setsize="yes"
fi rm ‐rf conftest.dSYM rm ‐f core *.core core.conftest.* fi rm ‐rf conftest.dSYM rm ‐f core *.core core.conftest.*
gmon.out bb.out conftest$ac_exeext conftest.$ac_objext con- gmon.out bb.out conftest$ac_exeext conftest.$ac_objext con-
ftest.$ac_ext fi ftest.$ac_ext fi
fi fi
if test "$solaris2" != "yes" && test "$aix" != "yes" && if test "$solaris2" != "yes" && test "$aix" != "yes" &&
test "$set_hmodules" = "enabled"; then test "$set_hmodules" = "enabled"; then
LDFLAGS="$LDFLAGS $MOD_LDFLAGS" fi LDFLAGS="$LDFLAGS $MOD_LDFLAGS" fi
if test "$check_maxconnections" = "auto"; then if test "$check_maxconnections" = "auto"; then
{ $as_echo "$as_me:$LINENO: checking Maximum file descrip- { $as_echo "$as_me:$LINENO: checking Maximum file descrip-
tors" >&5 $as_echo_n "checking Maximum file descriptors... " >&6; tors" >&5 $as_echo_n "checking Maximum file descriptors... " >&6;
}; };
if test "${bh_cv_maxconnections+set}" = set; then if test "${bh_cv_maxconnections+set}" = set; then
$as_echo_n "(cached) " >&6 else $as_echo_n "(cached) " >&6 else
cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat
confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /*
end confdefs.h. */ end confdefs.h. */
#include <sys/types.h> #include <sys/types.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/resource.h> #include <sys/resource.h>
#include <stdio.h> #include <stdio.h>
#ifdef RLIMIT_FDMAX #ifdef RLIMIT_FDMAX
#define RLIMIT_FD_MAX RLIMIT_FDMAX #define RLIMIT_FD_MAX RLIMIT_FDMAX
#else #else
#ifdef RLIMIT_NOFILE #ifdef RLIMIT_NOFILE
skipping to change at line 6484 skipping to change at line 6488
cat >>confdefs.h <<_ACEOF @%:@define MAXCONNECTIONS ${maxcon- cat >>confdefs.h <<_ACEOF @%:@define MAXCONNECTIONS ${maxcon-
nections} _ACEOF nections} _ACEOF
else else
maxconnections=$check_maxconnections maxconnections=$check_maxconnections
cat >>confdefs.h <<_ACEOF @%:@define MAXCONNECTIONS ${maxcon- cat >>confdefs.h <<_ACEOF @%:@define MAXCONNECTIONS ${maxcon-
nections} _ACEOF nections} _ACEOF
fi fi
# zlib test # ripped from http://autoconf‐ar- # zlib test # ripped from http://autoconf‐ar-
chive.cryp.to/check_zlib.html # ZLIB_HOME=/usr/local if test ! ‐f chive.cryp.to/check_zlib.html # ZLIB_HOME=/usr/local if test ! ‐f
"${ZLIB_HOME}/include/zlib.h" then "${ZLIB_HOME}/include/zlib.h" then
ZLIB_HOME=/usr fi if test ‐n "${ZLIB_HOME}" then ZLIB_HOME=/usr fi if test ‐n "${ZLIB_HOME}" then
ZLIB_OLD_CPPFLAGS="$CPPFLAGS" ZLIB_OLD_CPPFLAGS="$CPPFLAGS"
ZLIB_OLD_LDFLAGS="$LDFLAGS" if test "x$ZLIB_HOME" ZLIB_OLD_LDFLAGS="$LDFLAGS" if test "x$ZLIB_HOME"
= "x/usr"; then : else = "x/usr"; then : else
CPPFLAGS="$CPPFLAGS ‐I${ZLIB_HOME}/include" LD- CPPFLAGS="$CPPFLAGS ‐I${ZLIB_HOME}/include" LD-
FLAGS="$LDFLAGS ‐L${ZLIB_HOME}/lib" fi ac_ext=c FLAGS="$LDFLAGS ‐L${ZLIB_HOME}/lib" fi ac_ext=c
ac_cpp=’$CPP $CPPFLAGS’ ac_compile=’$CC ‐c $CFLAGS $CPPFLAGS con- ac_cpp=’$CPP $CPPFLAGS’ ac_compile=’$CC ‐c $CFLAGS $CPPFLAGS con-
ftest.$ac_ext >&5’ ac_link=’$CC ‐o conftest$ac_exeext $CFLAGS ftest.$ac_ext >&5’ ac_link=’$CC ‐o conftest$ac_exeext $CFLAGS
$CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5’ ac_compil- $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5’ ac_compil-
er_gnu=$ac_cv_c_compiler_gnu er_gnu=$ac_cv_c_compiler_gnu
{ $as_echo "$as_me:$LINENO: checking for inflateEnd in { $as_echo "$as_me:$LINENO: checking for inflateEnd in
‐lz" >&5 $as_echo_n "checking for inflateEnd in ‐lz... " >&6; } ‐lz" >&5 $as_echo_n "checking for inflateEnd in ‐lz... " >&6; }
if test "${ac_cv_lib_z_inflateEnd+set}" = set; then if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
$as_echo_n "(cached) " >&6 else $as_echo_n "(cached) " >&6 else
ac_check_lib_save_LIBS=$LIBS LIBS="‐lz $LIBS" cat >con- ac_check_lib_save_LIBS=$LIBS LIBS="‐lz $LIBS" cat >con-
ftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h ftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h
>>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end
confdefs.h. */ confdefs.h. */
/* Override any GCC internal prototype to avoid an error. /* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
#ifdef __cplusplus extern "C" #endif char inflateEnd (); int main #ifdef __cplusplus extern "C" #endif char inflateEnd (); int main
() { return inflateEnd (); () { return inflateEnd ();
; ;
return 0; } _ACEOF rm ‐f conftest.$ac_objext conftest$ac_exeext return 0; } _ACEOF rm ‐f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link" case "(($ac_try" in if { (ac_try="$ac_link" case "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_link") 2>conftest.er1 (eval "$ac_link") 2>conftest.er1
ac_status=$? ac_status=$?
grep ‐v ’^ *+’ conftest.er1 >conftest.err grep ‐v ’^ *+’ conftest.er1 >conftest.err
rm ‐f conftest.er1 rm ‐f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } && { test ‐z "$ac_c_werror_flag" (exit $ac_status); } && { test ‐z "$ac_c_werror_flag"
|| test ! ‐s conftest.err || test ! ‐s conftest.err
} && test ‐s conftest$ac_exeext && { test } && test ‐s conftest$ac_exeext && { test
"$cross_compiling" = yes || $as_test_x conftest$ac_exe- "$cross_compiling" = yes || $as_test_x conftest$ac_exe-
ext ext
}; then }; then
ac_cv_lib_z_inflateEnd=yes else ac_cv_lib_z_inflateEnd=yes else
$as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con- $as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con-
ftest.$ac_ext >&5 ftest.$ac_ext >&5
ac_cv_lib_z_inflateEnd=no fi ac_cv_lib_z_inflateEnd=no fi
rm ‐rf conftest.dSYM rm ‐f core conftest.err conftest.$ac_objext rm ‐rf conftest.dSYM rm ‐f core conftest.err conftest.$ac_objext
conftest_ipa8_conftest.oo conftest$ac_exeext con- conftest_ipa8_conftest.oo conftest$ac_exeext con-
ftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo ftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo
"$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5 $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5 $as_echo
"$ac_cv_lib_z_inflateEnd" >&6; } if test "x$ac_cv_lib_z_infla- "$ac_cv_lib_z_inflateEnd" >&6; } if test "x$ac_cv_lib_z_infla-
teEnd" = x""yes; then teEnd" = x""yes; then
zlib_cv_libz=yes else zlib_cv_libz=yes else
zlib_cv_libz=no fi zlib_cv_libz=no fi
if test "${ac_cv_header_zlib_h+set}" = set; then if test "${ac_cv_header_zlib_h+set}" = set; then
{ $as_echo "$as_me:$LINENO: checking for zlib.h" >&5 $as_echo_n { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5 $as_echo_n
"checking for zlib.h... " >&6; } if test "${ac_cv_head- "checking for zlib.h... " >&6; } if test "${ac_cv_head-
er_zlib_h+set}" = set; then er_zlib_h+set}" = set; then
$as_echo_n "(cached) " >&6 fi { $as_echo "$as_me:$LINENO: re- $as_echo_n "(cached) " >&6 fi { $as_echo "$as_me:$LINENO: re-
sult: $ac_cv_header_zlib_h" >&5 $as_echo "$ac_cv_header_zlib_h" sult: $ac_cv_header_zlib_h" >&5 $as_echo "$ac_cv_header_zlib_h"
>&6; } else >&6; } else
# Is the header compilable? { $as_echo "$as_me:$LINENO: check- # Is the header compilable? { $as_echo "$as_me:$LINENO: check-
ing zlib.h usability" >&5 $as_echo_n "checking zlib.h usabili- ing zlib.h usability" >&5 $as_echo_n "checking zlib.h usabili-
ty... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ ty... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */
_ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext
<<_ACEOF /* end confdefs.h. */ $ac_includes_default @%:@include <<_ACEOF /* end confdefs.h. */ $ac_includes_default @%:@include
<zlib.h> _ACEOF rm ‐f conftest.$ac_objext if { (ac_try="$ac_com- <zlib.h> _ACEOF rm ‐f conftest.$ac_objext if { (ac_try="$ac_com-
pile" case "(($ac_try" in pile" case "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_compile") 2>conftest.er1 (eval "$ac_compile") 2>conftest.er1
ac_status=$? ac_status=$?
grep ‐v ’^ *+’ conftest.er1 >conftest.err grep ‐v ’^ *+’ conftest.er1 >conftest.err
rm ‐f conftest.er1 rm ‐f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } && { test ‐z "$ac_c_werror_flag" (exit $ac_status); } && { test ‐z "$ac_c_werror_flag"
|| test ! ‐s conftest.err || test ! ‐s conftest.err
} && test ‐s conftest.$ac_objext; then } && test ‐s conftest.$ac_objext; then
ac_header_compiler=yes else ac_header_compiler=yes else
$as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con- $as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con-
ftest.$ac_ext >&5 ftest.$ac_ext >&5
ac_header_compiler=no fi ac_header_compiler=no fi
rm ‐f core conftest.err conftest.$ac_objext conftest.$ac_ext { rm ‐f core conftest.err conftest.$ac_objext conftest.$ac_ext {
$as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
$as_echo "$ac_header_compiler" >&6; } $as_echo "$ac_header_compiler" >&6; }
# Is the header present? { $as_echo "$as_me:$LINENO: checking # Is the header present? { $as_echo "$as_me:$LINENO: checking
zlib.h presence" >&5 $as_echo_n "checking zlib.h presence... " zlib.h presence" >&5 $as_echo_n "checking zlib.h presence... "
>&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF
cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ @%:@include <zlib.h> _ACEOF if { /* end confdefs.h. */ @%:@include <zlib.h> _ACEOF if {
(ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
ac_status=$? ac_status=$?
grep ‐v ’^ *+’ conftest.er1 >conftest.err grep ‐v ’^ *+’ conftest.er1 >conftest.err
rm ‐f conftest.er1 rm ‐f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } >/dev/null && { test ‐z (exit $ac_status); } >/dev/null && { test ‐z
"$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! ‐s "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! ‐s
conftest.err conftest.err
}; then }; then
ac_header_preproc=yes else ac_header_preproc=yes else
$as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con- $as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con-
ftest.$ac_ext >&5 ftest.$ac_ext >&5
ac_header_preproc=no fi ac_header_preproc=no fi
rm ‐f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: rm ‐f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO:
result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc"
>&6; } >&6; }
# So? What about this header? case $ac_header_compil- # So? What about this header? case $ac_header_compil-
er:$ac_header_preproc:$ac_c_preproc_warn_flag in er:$ac_header_preproc:$ac_c_preproc_warn_flag in
yes:no: ) yes:no: )
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the { $as_echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the
compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me:
WARNING: zlib.h: accepted by the compiler, rejected by the pre- WARNING: zlib.h: accepted by the compiler, rejected by the pre-
processor!" >&2;} processor!" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with { $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with
the compiler’s result" >&5 $as_echo "$as_me: WARNING: zlib.h: the compiler’s result" >&5 $as_echo "$as_me: WARNING: zlib.h:
proceeding with the compiler’s result" >&2;} proceeding with the compiler’s result" >&2;}
ac_header_preproc=yes ac_header_preproc=yes
;; ;;
no:yes:* ) no:yes:* )
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: present but can- { $as_echo "$as_me:$LINENO: WARNING: zlib.h: present but can-
not be compiled" >&5 $as_echo "$as_me: WARNING: zlib.h: present not be compiled" >&5 $as_echo "$as_me: WARNING: zlib.h: present
but cannot be compiled" >&2;} but cannot be compiled" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: check for { $as_echo "$as_me:$LINENO: WARNING: zlib.h: check for
missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING:
zlib.h: check for missing prerequisite headers?" >&2;} zlib.h: check for missing prerequisite headers?" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf { $as_echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf
documentation" >&5 $as_echo "$as_me: WARNING: zlib.h: see the Au- documentation" >&5 $as_echo "$as_me: WARNING: zlib.h: see the Au-
toconf documentation" >&2;} toconf documentation" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: section { $as_echo "$as_me:$LINENO: WARNING: zlib.h: section
$as_echo "$as_me: WARNING: zlib.h: section $as_echo "$as_me: WARNING: zlib.h: section
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with { $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with
the preprocessor’s result" >&5 $as_echo "$as_me: WARNING: zlib.h: the preprocessor’s result" >&5 $as_echo "$as_me: WARNING: zlib.h:
proceeding with the preprocessor’s result" >&2;} proceeding with the preprocessor’s result" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: in the future, { $as_echo "$as_me:$LINENO: WARNING: zlib.h: in the future,
the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: the compiler will take precedence" >&5 $as_echo "$as_me: WARNING:
zlib.h: in the future, the compiler will take precedence" >&2;} zlib.h: in the future, the compiler will take precedence" >&2;}
;; esac { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5 ;; esac { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
$as_echo_n "checking for zlib.h... " >&6; } if test $as_echo_n "checking for zlib.h... " >&6; } if test
"${ac_cv_header_zlib_h+set}" = set; then "${ac_cv_header_zlib_h+set}" = set; then
$as_echo_n "(cached) " >&6 else $as_echo_n "(cached) " >&6 else
ac_cv_header_zlib_h=$ac_header_preproc fi { $as_echo ac_cv_header_zlib_h=$ac_header_preproc fi { $as_echo
"$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 $as_echo
"$ac_cv_header_zlib_h" >&6; } "$ac_cv_header_zlib_h" >&6; }
fi if test "x$ac_cv_header_zlib_h" = x""yes; then fi if test "x$ac_cv_header_zlib_h" = x""yes; then
zlib_cv_zlib_h=yes else zlib_cv_zlib_h=yes else
zlib_cv_zlib_h=no fi zlib_cv_zlib_h=no fi
ac_ext=c ac_cpp=’$CPP $CPPFLAGS’ ac_compile=’$CC ‐c ac_ext=c ac_cpp=’$CPP $CPPFLAGS’ ac_compile=’$CC ‐c
$CFLAGS $CPPFLAGS conftest.$ac_ext >&5’ ac_link=’$CC ‐o con- $CFLAGS $CPPFLAGS conftest.$ac_ext >&5’ ac_link=’$CC ‐o con-
ftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS ftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS
>&5’ ac_compiler_gnu=$ac_cv_c_compiler_gnu >&5’ ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test "$zlib_cv_libz" = "yes" ‐a "$zlib_cv_zlib_h" = if test "$zlib_cv_libz" = "yes" ‐a "$zlib_cv_zlib_h" =
"yes" "yes"
then then
# #
# If both library and header were found, use them # If both library and header were found, use them
# #
{ $as_echo "$as_me:$LINENO: checking for inflateEnd in ‐lz" >&5 { $as_echo "$as_me:$LINENO: checking for inflateEnd in ‐lz" >&5
$as_echo_n "checking for inflateEnd in ‐lz... " >&6; } if test $as_echo_n "checking for inflateEnd in ‐lz... " >&6; } if test
"${ac_cv_lib_z_inflateEnd+set}" = set; then "${ac_cv_lib_z_inflateEnd+set}" = set; then
$as_echo_n "(cached) " >&6 else $as_echo_n "(cached) " >&6 else
ac_check_lib_save_LIBS=$LIBS LIBS="‐lz $LIBS" cat >con- ac_check_lib_save_LIBS=$LIBS LIBS="‐lz $LIBS" cat >con-
ftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h ftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h
>>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end
confdefs.h. */ confdefs.h. */
/* Override any GCC internal prototype to avoid an error. /* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
#ifdef __cplusplus extern "C" #endif char inflateEnd (); int main #ifdef __cplusplus extern "C" #endif char inflateEnd (); int main
() { return inflateEnd (); () { return inflateEnd ();
; ;
return 0; } _ACEOF rm ‐f conftest.$ac_objext conftest$ac_exeext return 0; } _ACEOF rm ‐f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link" case "(($ac_try" in if { (ac_try="$ac_link" case "(($ac_try" in
* *
*) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo *) ac_try_echo=$ac_try;; esac eval ac_try_echo=" $as_echo
"$ac_try_echo") >&5 "$ac_try_echo") >&5
(eval "$ac_link") 2>conftest.er1 (eval "$ac_link") 2>conftest.er1
ac_status=$? ac_status=$?
grep ‐v ’^ *+’ conftest.er1 >conftest.err grep ‐v ’^ *+’ conftest.er1 >conftest.err
rm ‐f conftest.er1 rm ‐f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
$as_echo "$as_me:$LINENO: = $ac_status" >&5 $as_echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } && { test ‐z "$ac_c_werror_flag" (exit $ac_status); } && { test ‐z "$ac_c_werror_flag"
|| test ! ‐s conftest.err || test ! ‐s conftest.err
} && test ‐s conftest$ac_exeext && { test } && test ‐s conftest$ac_exeext && { test
"$cross_compiling" = yes || $as_test_x conftest$ac_exe- "$cross_compiling" = yes || $as_test_x conftest$ac_exe-
ext ext
}; then }; then
ac_cv_lib_z_inflateEnd=yes else ac_cv_lib_z_inflateEnd=yes else
$as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con- $as_echo "$as_me: failed program was:" >&5 sed ’s/^/| /’ con-
ftest.$ac_ext >&5 ftest.$ac_ext >&5
ac_cv_lib_z_inflateEnd=no fi ac_cv_lib_z_inflateEnd=no fi
rm ‐rf conftest.dSYM rm ‐f core conftest.err conftest.$ac_objext rm ‐rf conftest.dSYM rm ‐f core conftest.err conftest.$ac_objext
conftest_ipa8_conftest.oo conftest$ac_exeext con- conftest_ipa8_conftest.oo conftest$ac_exeext con-
ftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo ftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo
"$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5 $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5 $as_echo
"$ac_cv_lib_z_inflateEnd" >&6; } if test "x$ac_cv_lib_z_infla- "$ac_cv_lib_z_inflateEnd" >&6; } if test "x$ac_cv_lib_z_infla-
teEnd" = x""yes; then teEnd" = x""yes; then
cat >>confdefs.h <<_ACEOF @%:@define HAVE_LIBZ 1 _ACEOF cat >>confdefs.h <<_ACEOF @%:@define HAVE_LIBZ 1 _ACEOF
LIBS="‐lz $LIBS" LIBS="‐lz $LIBS"
fi fi
{ $as_echo "$as_me:$LINENO: checking zlib in { $as_echo "$as_me:$LINENO: checking zlib in
${ZLIB_HOME}" >&5 $as_echo_n "checking zlib in ${ZLIB_HOME}... " ${ZLIB_HOME}" >&5 $as_echo_n "checking zlib in ${ZLIB_HOME}... "
>&6; } >&6; }
{ $as_echo "$as_me:$LINENO: result: ok" >&5 { $as_echo "$as_me:$LINENO: result: ok" >&5
$as_echo "ok" >&6; } $as_echo "ok" >&6; }
else else
# #
# If either header or library was not found, re- # If either header or library was not found, re-
vert and bomb vert and bomb
# #
{ $as_echo "$as_me:$LINENO: checking zlib in { $as_echo "$as_me:$LINENO: checking zlib in
${ZLIB_HOME}" >&5 $as_echo_n "checking zlib in ${ZLIB_HOME}... " ${ZLIB_HOME}" >&5 $as_echo_n "checking zlib in ${ZLIB_HOME}... "
>&6; } CPPFLAGS="$ZLIB_OLD_CPPFLAGS" >&6; } CPPFLAGS="$ZLIB_OLD_CPPFLAGS"
LDFLAGS="$ZLIB_OLD_LDFLAGS" LDFLAGS="$ZLIB_OLD_LDFLAGS"
{ $as_echo "$as_me:$LINENO: result: failed" >&5 { $as_echo "$as_me:$LINENO: result: failed" >&5
$as_echo "failed" >&6; } $as_echo "failed" >&6; }
{ { $as_echo "$as_me:$LINENO: error: either spec- { { $as_echo "$as_me:$LINENO: error: either spec-
ify a valid zlib installation with ‐‐with‐zlib=DIR or disable ify a valid zlib installation with ‐‐with‐zlib=DIR or disable
zlib usage with ‐‐without‐zlib" >&5 $as_echo "$as_me: error: ei- zlib usage with ‐‐without‐zlib" >&5 $as_echo "$as_me: error: ei-
ther specify a valid zlib installation with ‐‐with‐zlib=DIR or ther specify a valid zlib installation with ‐‐with‐zlib=DIR or
disable zlib usage with ‐‐without‐zlib" >&2;} disable zlib usage with ‐‐without‐zlib" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi fi fi
if test "$engine" = "select" && test "$broken_fd_setsize" != if test "$engine" = "select" && test "$broken_fd_setsize" !=
"yes"; then "yes"; then
CFLAGS="$CFLAGS ‐DFD_SETSIZE=$maxconnections" fi CFLAGS="$CFLAGS ‐DFD_SETSIZE=$maxconnections" fi
if test $prefix = NONE; then if test $prefix = NONE; then
prefix=${HOME}/ircd fi prefix=${HOME}/ircd
if test ‐f "${HOME}/bahamut/ircd" ; then
prefix=${HOME}/bahamut
fi
if test ‐f "${HOME}/dalnet/ircd" ; then
prefix=${HOME}/dalnet
fi fi
INSTALL_DIR="${prefix}" INSTALL_DIR="${prefix}"
ac_config_files="$ac_config_files Makefile src/Makefile ac_config_files="$ac_config_files Makefile src/Makefile
tools/Makefile doc/Makefile" tools/Makefile doc/Makefile"
cat >confcache <<_ACEOF # This file is a shell script that caches cat >confcache <<_ACEOF # This file is a shell script that caches
the results of configure # tests run on this system so they can the results of configure # tests run on this system so they can
be shared between configure # scripts and configure runs, see be shared between configure # scripts and configure runs, see
configure’s option ‐‐config‐cache. # It is not useful on other configure’s option ‐‐config‐cache. # It is not useful on other
systems. If it contains results you don’t # want to keep, you systems. If it contains results you don’t # want to keep, you
may remove or edit it. # # config.status only pays attention to may remove or edit it. # # config.status only pays attention to
the cache file if you give it # the ‐‐recheck option to rerun the cache file if you give it # the ‐‐recheck option to rerun
configure. # # ‘ac_cv_env_foo’ variables (set or unset) will be configure. # # ‘ac_cv_env_foo’ variables (set or unset) will be
overridden when # loading this file, other *unset* ‘ac_cv_foo’ overridden when # loading this file, other *unset* ‘ac_cv_foo’
will be assigned the # following values. will be assigned the # following values.
_ACEOF _ACEOF
# The following way of writing the cache mishandles newlines in # The following way of writing the cache mishandles newlines in
values, # but we know of no workaround that is simple, portable, values, # but we know of no workaround that is simple, portable,
and efficient. # So, we kill variables containing newlines. # and efficient. # So, we kill variables containing newlines. #
Ultrix sh set writes to stderr and can’t be redirected directly, Ultrix sh set writes to stderr and can’t be redirected directly,
# and sets the high bit in the cache file unless we assign to the # and sets the high bit in the cache file unless we assign to the
vars. ( vars. (
for ac_var in ‘(set) 2>&1 | sed ‐n ’s/^‐zA‐Z_][a‐zA‐ for ac_var in ‘(set) 2>&1 | sed ‐n ’s/^‐zA‐Z_][a‐zA‐
Z0‐9_]*=.*/1/p’‘; do Z0‐9_]*=.*/1/p’‘; do
eval ac_val=ac_var eval ac_val=ac_var
case $ac_val in #( case $ac_val in #(
*${as_nl}*) *${as_nl}*)
case $ac_var in #( case $ac_var in #(
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable
$ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache
variable $ac_var contains a newline" >&2;} ;; variable $ac_var contains a newline" >&2;} ;;
esac esac
case $ac_var in #( case $ac_var in #(
_ | IFS | as_nl) ;; #( _ | IFS | as_nl) ;; #(
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
*) $as_unset $ac_var ;; *) $as_unset $ac_var ;;
esac ;; esac ;;
esac esac
done done
(set) 2>&1 | (set) 2>&1 |
case $as_nl‘(ac_space=’ ’; set) 2>&1‘ in #( case $as_nl‘(ac_space=’ ’; set) 2>&1‘ in #(
*${as_nl}ac_space= *) *${as_nl}ac_space= *)
# ‘set’ does not quote correctly, so add quotes (double‐ # ‘set’ does not quote correctly, so add quotes (double‐
quote quote
# substitution turns \\ into \, and sed turns \ into . # substitution turns \\ into \, and sed turns \ into .
sed ‐n "s/’/’\\’’/g; s/^\([_$as_cr_al- sed ‐n "s/’/’\\’’/g; s/^\([_$as_cr_al-
num]*_cv_[_$as_cr_alnum]*\)=\(.*\)/\1=’\2’/p" num]*_cv_[_$as_cr_alnum]*\)=\(.*\)/\1=’\2’/p"
;; #( ;; #(
*) *)
# ‘set’ quotes correctly as required by POSIX, so do not # ‘set’ quotes correctly as required by POSIX, so do not
add quotes. add quotes.
sed ‐n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" sed ‐n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
;; ;;
esac | esac |
sort ) | sort ) |
sed ’ sed ’
/^ac_cv_env_/b end /^ac_cv_env_/b end
t clear t clear
:clear :clear
s/^=]*=[{}].*$/test "${1+set}" = set || &/ s/^=]*=[{}].*$/test "${1+set}" = set || &/
t end t end
s/^=]*=$/1=${1=2}/ s/^=]*=$/1=${1=2}/
:end’ >>confcache if diff "$cache_file" confcache >/dev/null :end’ >>confcache if diff "$cache_file" confcache >/dev/null
2>&1; then :; else 2>&1; then :; else
if test ‐w "$cache_file"; then if test ‐w "$cache_file"; then
test "x$cache_file" != "x/dev/null" && test "x$cache_file" != "x/dev/null" &&
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
$as_echo "$as_me: updating cache $cache_file" >&6;} $as_echo "$as_me: updating cache $cache_file" >&6;}
cat confcache >$cache_file cat confcache >$cache_file
else else
{ $as_echo "$as_me:$LINENO: not updating unwritable cache { $as_echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;} $cache_file" >&6;}
fi fi rm ‐f confcache fi fi rm ‐f confcache
test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make
expand exec_prefix. test "x$exec_prefix" = xNONE && exec_pre- expand exec_prefix. test "x$exec_prefix" = xNONE && exec_pre-
fix=’${prefix}’ fix=’${prefix}’
DEFS=‐DHAVE_CONFIG_H DEFS=‐DHAVE_CONFIG_H
ac_libobjs= ac_ltlibobjs= for ac_i in : $LIB@&t@OBJS; do test ac_libobjs= ac_ltlibobjs= for ac_i in : $LIB@&t@OBJS; do test
"x$ac_i" = x: && continue "x$ac_i" = x: && continue
# 1. Remove the extension, and $U if already installed. # 1. Remove the extension, and $U if already installed.
ac_script=’s/././;s/.o$//;s/.obj$//’ ac_script=’s/././;s/.o$//;s/.obj$//’
ac_i=‘$as_echo "$ac_i" | sed "$ac_script"‘ ac_i=‘$as_echo "$ac_i" | sed "$ac_script"‘
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOB- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOB-
JDIR JDIR
# will be set to the directory where LIBOBJS objects are # will be set to the directory where LIBOBJS objects are
built. built.
ac_libobjs="$ac_libobjs LIBOBJDIR}$ac_i.$ac_objext" ac_libobjs="$ac_libobjs LIBOBJDIR}$ac_i.$ac_objext"
ac_ltlibobjs="$ac_ltlibobjs LIBOBJDIR}$ac_i"’$U.lo’ done ac_ltlibobjs="$ac_ltlibobjs LIBOBJDIR}$ac_i"’$U.lo’ done
LIB@&t@OBJS=$ac_libobjs LIB@&t@OBJS=$ac_libobjs
LTLIBOBJS=$ac_ltlibobjs LTLIBOBJS=$ac_ltlibobjs
: ${CONFIG_STATUS=./config.status} ac_write_fail=0 : ${CONFIG_STATUS=./config.status} ac_write_fail=0
ac_clean_files_save=$ac_clean_files ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo
"$as_me:$LINENO: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 $as_echo "$as_me:
creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF || creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF ||
ac_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file ac_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file
to recreate the current configuration. # Compiler output pro- to recreate the current configuration. # Compiler output pro-
duced by configure, useful for debugging # configure, is in con- duced by configure, useful for debugging # configure, is in con-
fig.log if it exists. fig.log if it exists.
debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=CON- debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=CON-
FIG_SHELL‐$SHELL} _ACEOF FIG_SHELL‐$SHELL} _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ## cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ##
‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ ## ## M4sh Initialization. ## ## ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ ## ## M4sh Initialization. ## ##
‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ ## ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ ##
# Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS
sh if test ‐n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null sh if test ‐n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null
2>&1; then 2>&1; then
emulate sh emulate sh
NULLCMD=: NULLCMD=:
# Pre‐4.2 versions of Zsh do word splitting on ${1+"$@"}, which # Pre‐4.2 versions of Zsh do word splitting on ${1+"$@"}, which
# is contrary to our usage. Disable this feature. # is contrary to our usage. Disable this feature.
alias ‐g ’${1+"$@"}’=’"$@"’ alias ‐g ’${1+"$@"}’=’"$@"’
setopt NO_GLOB_SUBST else setopt NO_GLOB_SUBST else
case ‘(set ‐o) 2>/dev/null‘ in case ‘(set ‐o) 2>/dev/null‘ in
*posix*) set ‐o posix ;; esac *posix*) set ‐o posix ;; esac
fi fi
# PATH needs CR # Avoid depending upon Character Ranges. # PATH needs CR # Avoid depending upon Character Ranges.
as_cr_letters=’abcdefghijklmnopqrstuvwxyz’ as_cr_LETTERS=’ABCDE- as_cr_letters=’abcdefghijklmnopqrstuvwxyz’ as_cr_LETTERS=’ABCDE-
FGHIJKLMNOPQRSTUVWXYZ’ as_cr_Letters=$as_cr_letters$as_cr_LETTERS FGHIJKLMNOPQRSTUVWXYZ’ as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits=’0123456789’ as_cr_alnum=$as_cr_Letters$as_cr_digits as_cr_digits=’0123456789’ as_cr_alnum=$as_cr_Letters$as_cr_digits
as_nl=’ export as_nl # Printing a long string crashes Solaris 7 as_nl=’ export as_nl # Printing a long string crashes Solaris 7
/usr/bin/printf. /usr/bin/printf.
as_echo=’\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\´ as_echo=’\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\´
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo if (test as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo if (test
"X‘printf %s $as_echo‘" = "X$as_echo") 2>/dev/null; then "X‘printf %s $as_echo‘" = "X$as_echo") 2>/dev/null; then
as_echo=’printf %s0 as_echo=’printf %s0
as_echo_n=’printf %s’ else as_echo_n=’printf %s’ else
if test "X‘(/usr/ucb/echo ‐n ‐n $as_echo) 2>/dev/null‘" = "X‐n if test "X‘(/usr/ucb/echo ‐n ‐n $as_echo) 2>/dev/null‘" = "X‐n
$as_echo"; then $as_echo"; then
as_echo_body=’eval /usr/ucb/echo ‐n "$1$as_nl"’ as_echo_body=’eval /usr/ucb/echo ‐n "$1$as_nl"’
as_echo_n=’/usr/ucb/echo ‐n’ as_echo_n=’/usr/ucb/echo ‐n’
else else
as_echo_body=’eval expr "X$1" : "X\(.*\)"’ as_echo_body=’eval expr "X$1" : "X\(.*\)"’
as_echo_n_body=’eval as_echo_n_body=’eval
arg=$1; arg=$1;
case $arg in case $arg in
*"$as_nl"*) expr "X$arg" : "X\(.*\)$as_nl"; *"$as_nl"*) expr "X$arg" : "X\(.*\)$as_nl";
arg=‘expr "X$arg" : ".*$as_nl\(.*\)"‘;; arg=‘expr "X$arg" : ".*$as_nl\(.*\)"‘;;
esac; esac;
expr "X$arg" : "X\(.*\)" | tr ‐d "$as_nl" expr "X$arg" : "X\(.*\)" | tr ‐d "$as_nl"
export as_echo_n_body export as_echo_n_body
as_echo_n=’sh ‐c $as_echo_n_body as_echo’ as_echo_n=’sh ‐c $as_echo_n_body as_echo’
fi fi
export as_echo_body export as_echo_body
as_echo=’sh ‐c $as_echo_body as_echo’ fi as_echo=’sh ‐c $as_echo_body as_echo’ fi
# The user is always right. if test "${PATH_SEPARATOR+set}" != # The user is always right. if test "${PATH_SEPARATOR+set}" !=
set; then set; then
PATH_SEPARATOR=: PATH_SEPARATOR=:
(PATH=’/bin;/bin’; FPATH=$PATH; sh ‐c :) >/dev/null 2>&1 && { (PATH=’/bin;/bin’; FPATH=$PATH; sh ‐c :) >/dev/null 2>&1 && {
(PATH=’/bin:/bin’; FPATH=$PATH; sh ‐c :) >/dev/null 2>&1 || (PATH=’/bin:/bin’; FPATH=$PATH; sh ‐c :) >/dev/null 2>&1 ||
PATH_SEPARATOR=’;’ PATH_SEPARATOR=’;’
} fi } fi
# Support unset when possible. if ( (MAIL=60; unset MAIL) || ex- # Support unset when possible. if ( (MAIL=60; unset MAIL) || ex-
it) >/dev/null 2>&1; then it) >/dev/null 2>&1; then
as_unset=unset else as_unset=unset else
as_unset=false fi as_unset=false fi
# IFS # We need space, tab and new line, in precisely that order. # IFS # We need space, tab and new line, in precisely that order.
Quoting is # there to prevent editors from complaining about Quoting is # there to prevent editors from complaining about
space‐tab. # (If _AS_PATH_WALK were called with IFS unset, it space‐tab. # (If _AS_PATH_WALK were called with IFS unset, it
would disable word # splitting by setting IFS to empty value.) would disable word # splitting by setting IFS to empty value.)
IFS=" "" $as_nl" IFS=" "" $as_nl"
# Find who we are. Look in the path if we contain no directory # Find who we are. Look in the path if we contain no directory
separator. case $0 in separator. case $0 in
*[\/]* ) as_myself=$0 ;; *[\/]* ) as_myself=$0 ;;
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
IFS=$as_save_IFS IFS=$as_save_IFS
test ‐z "$as_dir" && as_dir=. test ‐z "$as_dir" && as_dir=.
test ‐r "$as_dir/$0" && as_myself=$as_dir/$0 && break done test ‐r "$as_dir/$0" && as_myself=$as_dir/$0 && break done
IFS=$as_save_IFS IFS=$as_save_IFS
;; esac # We did not find ourselves, most probably we were ;; esac # We did not find ourselves, most probably we were
run as ‘sh COMMAND’ # in which case we are not to be found in the run as ‘sh COMMAND’ # in which case we are not to be found in the
path. if test "x$as_myself" = x; then path. if test "x$as_myself" = x; then
as_myself=$0 fi if test ! ‐f "$as_myself"; then as_myself=$0 fi if test ! ‐f "$as_myself"; then
$as_echo "$as_myself: error: cannot find myself; rerun with an $as_echo "$as_myself: error: cannot find myself; rerun with an
absolute file name" >&2 absolute file name" >&2
{ (exit 1); exit 1; } fi { (exit 1); exit 1; } fi
# Work around bugs in pre‐3.0 UWIN ksh. for as_var in ENV MAIL # Work around bugs in pre‐3.0 UWIN ksh. for as_var in ENV MAIL
MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset
$as_var done PS1=’$ ’ PS2=’> ’ PS4=’+ ’ $as_var done PS1=’$ ’ PS2=’> ’ PS4=’+ ’
# NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LAN- # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LAN-
GUAGE GUAGE
# Required to use basename. if expr a : ’’ >/dev/null 2>&1 && # Required to use basename. if expr a : ’’ >/dev/null 2>&1 &&
test "X‘expr 00001 : ’.*.’‘" = X001; then test "X‘expr 00001 : ’.*.’‘" = X001; then
as_expr=expr else as_expr=expr else
as_expr=false fi as_expr=false fi
if (basename ‐‐ /) >/dev/null 2>&1 && test "X‘basename ‐‐ / if (basename ‐‐ /) >/dev/null 2>&1 && test "X‘basename ‐‐ /
2>&1‘" = "X/"; then 2>&1‘" = "X/"; then
as_basename=basename else as_basename=basename else
as_basename=false fi as_basename=false fi
# Name of the executable. as_me=‘$as_basename ‐‐ "$0" || $as_ex- # Name of the executable. as_me=‘$as_basename ‐‐ "$0" || $as_ex-
pr X/"$0" : ’.*//][^/]*/*$’ X"$0" : ’X$’ X"$0" : ’X’ . pr X/"$0" : ’.*//][^/]*/*$’ X"$0" : ’X$’ X"$0" : ’X’ .
2>/dev/null || $as_echo X/"$0" | 2>/dev/null || $as_echo X/"$0" |
sed ’/^.*/][^/]**$/{ s//1/ q sed ’/^.*/][^/]**$/{ s//1/ q
} /^X$/{ s//1/ q } } /^X$/{ s//1/ q }
/^X.*/{ s//1/ q } /^X.*/{ s//1/ q }
s/.*/./; q’‘ s/.*/./; q’‘
# CDPATH. $as_unset CDPATH # CDPATH. $as_unset CDPATH
as_lineno_1=$LINENO as_lineno_1=$LINENO
as_lineno_2=$LINENO as_lineno_2=$LINENO
test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_1" != "x$as_lineno_2" &&
test "x‘expr $as_lineno_1 + 1‘" = "x$as_lineno_2" || { test "x‘expr $as_lineno_1 + 1‘" = "x$as_lineno_2" || {
# Create $as_me.lineno as a copy of $as_myself, but with # Create $as_me.lineno as a copy of $as_myself, but with
$LINENO $LINENO
# uniformly replaced by the line number. The first ’sed’ in- # uniformly replaced by the line number. The first ’sed’ in-
serts a serts a
# line‐number line after each line using $LINENO; the second # line‐number line after each line using $LINENO; the second
’sed’ ’sed’
# does the real work. The second script uses ’N’ to pair each # does the real work. The second script uses ’N’ to pair each
# line‐number line with the line containing $LINENO, and ap- # line‐number line with the line containing $LINENO, and ap-
pends pends
# trailing ’‐’ during substitution so that $LINENO is not a # trailing ’‐’ during substitution so that $LINENO is not a
special special
# case at line end. # case at line end.
# (Raja R Harinath suggested sed ’=’, and Paul Eggert wrote the # (Raja R Harinath suggested sed ’=’, and Paul Eggert wrote the
# scripts with optimization help from Paolo Bonzini. Blame Lee # scripts with optimization help from Paolo Bonzini. Blame Lee
# E. McMahon (1931‐1989) for sed’s syntax. :‐) # E. McMahon (1931‐1989) for sed’s syntax. :‐)
sed ‐n ’ sed ‐n ’
p p
/[$]LINENO/= /[$]LINENO/=
’ <$as_myself | ’ <$as_myself |
sed ’ sed ’
skipping to change at line 7012 skipping to change at line 7022
:loop :loop
s/[$]LINENO’$as_cr_alnum’_].*/212/ s/[$]LINENO’$as_cr_alnum’_].*/212/
t loop t loop
s/‐0*// s/‐0*//
’ >$as_me.lineno && ’ >$as_me.lineno &&
chmod +x "$as_me.lineno" || chmod +x "$as_me.lineno" ||
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun
with a POSIX shell" >&2 with a POSIX shell" >&2
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
# Don’t try to exec as it changes $[0], causing all sort of # Don’t try to exec as it changes $[0], causing all sort of
problems problems
# (the dirname of $[0] is not the place where we might find the # (the dirname of $[0] is not the place where we might find the
# original and so on. Autoconf is especially sensitive to # original and so on. Autoconf is especially sensitive to
this). this).
. "./$as_me.lineno" . "./$as_me.lineno"
# Exit status is that of the last command. # Exit status is that of the last command.
exit } exit }
if (as_dir=‘dirname ‐‐ /‘ && test "X$as_dir" = X/) >/dev/null if (as_dir=‘dirname ‐‐ /‘ && test "X$as_dir" = X/) >/dev/null
2>&1; then 2>&1; then
as_dirname=dirname else as_dirname=dirname else
as_dirname=false fi as_dirname=false fi
ECHO_C= ECHO_N= ECHO_T= case ‘echo ‐n x‘ in ‐n*) ECHO_C= ECHO_N= ECHO_T= case ‘echo ‐n x‘ in ‐n*)
case ‘echo ’x *c*) ECHO_T=’ ’;; # ECHO_T is single tab case ‘echo ’x *c*) ECHO_T=’ ’;; # ECHO_T is single tab
character. character.
*) ECHO_C=’ esac;; *) *) ECHO_C=’ esac;; *)
ECHO_N=’‐n’;; esac if expr a : ’’ >/dev/null 2>&1 && ECHO_N=’‐n’;; esac if expr a : ’’ >/dev/null 2>&1 &&
test "X‘expr 00001 : ’.*.’‘" = X001; then test "X‘expr 00001 : ’.*.’‘" = X001; then
as_expr=expr else as_expr=expr else
as_expr=false fi as_expr=false fi
rm ‐f conf$$ conf$$.exe conf$$.file if test ‐d conf$$.dir; then rm ‐f conf$$ conf$$.exe conf$$.file if test ‐d conf$$.dir; then
rm ‐f conf$$.dir/conf$$.file else rm ‐f conf$$.dir/conf$$.file else
rm ‐f conf$$.dir rm ‐f conf$$.dir
mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file)
2>/dev/null; then 2>/dev/null; then
if ln ‐s conf$$.file conf$$ 2>/dev/null; then if ln ‐s conf$$.file conf$$ 2>/dev/null; then
as_ln_s=’ln ‐s’ as_ln_s=’ln ‐s’
# ... but there are two gotchas: # ... but there are two gotchas:
# 1) On MSYS, both ‘ln ‐s file dir’ and ‘ln file dir’ fail. # 1) On MSYS, both ‘ln ‐s file dir’ and ‘ln file dir’ fail.
# 2) DJGPP < 2.04 has no symlinks; ‘ln ‐s’ creates a wrapper # 2) DJGPP < 2.04 has no symlinks; ‘ln ‐s’ creates a wrapper
executable. executable.
# In both cases, we have to default to ‘cp ‐p’. # In both cases, we have to default to ‘cp ‐p’.
ln ‐s conf$$.file conf$$.dir 2>/dev/null && test ! ‐f ln ‐s conf$$.file conf$$.dir 2>/dev/null && test ! ‐f
conf$$.exe || conf$$.exe ||
as_ln_s=’cp ‐p’ as_ln_s=’cp ‐p’
elif ln conf$$.file conf$$ 2>/dev/null; then elif ln conf$$.file conf$$ 2>/dev/null; then
as_ln_s=ln as_ln_s=ln
else else
as_ln_s=’cp ‐p’ as_ln_s=’cp ‐p’
fi else fi else
as_ln_s=’cp ‐p’ fi rm ‐f conf$$ conf$$.exe as_ln_s=’cp ‐p’ fi rm ‐f conf$$ conf$$.exe
conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null
if mkdir ‐p . 2>/dev/null; then if mkdir ‐p . 2>/dev/null; then
as_mkdir_p=: else as_mkdir_p=: else
test ‐d ./‐p && rmdir ./‐p test ‐d ./‐p && rmdir ./‐p
as_mkdir_p=false fi as_mkdir_p=false fi
if test ‐x / >/dev/null 2>&1; then if test ‐x / >/dev/null 2>&1; then
as_test_x=’test ‐x’ else as_test_x=’test ‐x’ else
if ls ‐dL / >/dev/null 2>&1; then if ls ‐dL / >/dev/null 2>&1; then
as_ls_L_option=L as_ls_L_option=L
else else
as_ls_L_option= as_ls_L_option=
fi fi
as_test_x=’ as_test_x=’
eval sh ‐c ’´’ eval sh ‐c ’´’
if test ‐d "$1"; then test ‐d "$1/."; if test ‐d "$1"; then test ‐d "$1/.";
else case $1 in ‐*)set "./$1";; else case $1 in ‐*)set "./$1";;
esac; case ‘ls ‐ld’$as_ls_L_option’ "$1" esac; case ‘ls ‐ld’$as_ls_L_option’ "$1"
2>/dev/null‘ in ???[sx]*):;;*)false;;esac;fi 2>/dev/null‘ in ???[sx]*):;;*)false;;esac;fi
’´’ sh ’´’ sh
’ fi as_executable_p=$as_test_x ’ fi as_executable_p=$as_test_x
# Sed expression to map a string onto a valid CPP name. # Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed ’y%*$as_cr_letters%P$as_cr_LET- as_tr_cpp="eval sed ’y%*$as_cr_letters%P$as_cr_LET-
TERS%;s%[^_$as_cr_alnum]%_%g’" TERS%;s%[^_$as_cr_alnum]%_%g’"
# Sed expression to map a string onto a valid variable name. # Sed expression to map a string onto a valid variable name.
as_tr_sh="eval sed ’y%*+%pp%;s%[^_$as_cr_alnum]%_%g’" as_tr_sh="eval sed ’y%*+%pp%;s%[^_$as_cr_alnum]%_%g’"
exec 6>&1 exec 6>&1
# Save the log message, to keep $[0] and so on meaningful, and to # Save the log message, to keep $[0] and so on meaningful, and to
# report actual input values of CONFIG_FILES etc. instead of # report actual input values of CONFIG_FILES etc. instead of
their # values after options handling. ac_log=" This file was their # values after options handling. ac_log=" This file was
extended by $as_me, which was generated by GNU Autoconf 2.63. extended by $as_me, which was generated by GNU Autoconf 2.63.
Invocation command line was Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_HEADERS = $CONFIG_HEADERS
CONFIG_LINKS = $CONFIG_LINKS CONFIG_LINKS = $CONFIG_LINKS
CONFIG_COMMANDS = $CONFIG_COMMANDS CONFIG_COMMANDS = $CONFIG_COMMANDS
$ $0 $@ $ $0 $@
on ‘(hostname || uname ‐n) 2>/dev/null | sed 1q‘ " on ‘(hostname || uname ‐n) 2>/dev/null | sed 1q‘ "
_ACEOF _ACEOF
case $ac_config_files in *" "*) set x $ac_config_files; shift; case $ac_config_files in *" "*) set x $ac_config_files; shift;
ac_config_files=$*;; esac ac_config_files=$*;; esac
case $ac_config_headers in *" "*) set x $ac_config_headers; case $ac_config_headers in *" "*) set x $ac_config_headers;
shift; ac_config_headers=$*;; esac shift; ac_config_headers=$*;; esac
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that
config.status was made for. config_files="$ac_config_files" con- config.status was made for. config_files="$ac_config_files" con-
fig_headers="$ac_config_headers" fig_headers="$ac_config_headers"
_ACEOF _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_us- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_us-
age="`$as_me’ instantiates files from templates according to the age="`$as_me’ instantiates files from templates according to the
current configuration. current configuration.
Usage: $0 [OPTION]... [FILE]... Usage: $0 [OPTION]... [FILE]...
‐h, ‐‐help print this help, then exit ‐h, ‐‐help print this help, then exit
‐V, ‐‐version print version number and configuration set- ‐V, ‐‐version print version number and configuration set-
tings, then exit tings, then exit
‐q, ‐‐quiet, ‐‐silent ‐q, ‐‐quiet, ‐‐silent
do not print progress messages do not print progress messages
‐d, ‐‐debug don’t remove temporary files ‐d, ‐‐debug don’t remove temporary files
‐‐recheck update $as_me by reconfiguring in the same ‐‐recheck update $as_me by reconfiguring in the same
conditions conditions
‐‐file=FILE[:TEMPLATE] ‐‐file=FILE[:TEMPLATE]
instantiate the configuration file FILE instantiate the configuration file FILE
‐‐header=FILE[:TEMPLATE] ‐‐header=FILE[:TEMPLATE]
instantiate the configuration header FILE instantiate the configuration header FILE
Configuration files: $config_files Configuration files: $config_files
Configuration headers: $config_headers Configuration headers: $config_headers
Report bugs to <bug‐autoconf@gnu.org>." Report bugs to <bug‐autoconf@gnu.org>."
_ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\ config.status configured by $0, generated by GNU ac_cs_version="\ config.status configured by $0, generated by GNU
Autoconf 2.63, Autoconf 2.63,
with options \"‘$as_echo "$ac_configure_args" | sed ’s/^ //; with options \"‘$as_echo "$ac_configure_args" | sed ’s/^ //;
s/[\""`/\\&/g’‘\" s/[\""`/\\&/g’‘\"
Copyright (C) 2008 Free Software Foundation, Inc. This con- Copyright (C) 2008 Free Software Foundation, Inc. This con-
fig.status script is free software; the Free Software Foundation fig.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it." gives unlimited permission to copy, distribute and modify it."
ac_pwd=’$ac_pwd’ srcdir=’$srcdir’ INSTALL=’$INSTALL’ test ‐n "WK" ac_pwd=’$ac_pwd’ srcdir=’$srcdir’ INSTALL=’$INSTALL’ test ‐n "WK"
|| AWK=awk _ACEOF || AWK=awk _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # The default cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # The default
lists apply if the user does not specify any file. ac_need_de- lists apply if the user does not specify any file. ac_need_de-
faults=: while test $# != 0 do faults=: while test $# != 0 do
case $1 in case $1 in
‐‐*=*) ‐‐*=*)
ac_option=‘expr "X$1" : ’X=]*=’‘ ac_option=‘expr "X$1" : ’X=]*=’‘
ac_optarg=‘expr "X$1" : ’X[^=]*=’‘ ac_optarg=‘expr "X$1" : ’X[^=]*=’‘
ac_shift=: ac_shift=:
;; ;;
*) *)
ac_option=$1 ac_option=$1
ac_optarg=$2 ac_optarg=$2
ac_shift=shift ac_shift=shift
;; ;;
esac esac
case $ac_option in case $ac_option in
# Handling of the options. # Handling of the options.
‐recheck | ‐‐recheck | ‐‐rechec | ‐‐reche | ‐‐rech | ‐‐rec | ‐recheck | ‐‐recheck | ‐‐rechec | ‐‐reche | ‐‐rech | ‐‐rec |
‐‐re | ‐‐r) ‐‐re | ‐‐r)
ac_cs_recheck=: ;; ac_cs_recheck=: ;;
‐‐version | ‐‐versio | ‐‐versi | ‐‐vers | ‐‐ver | ‐‐ve | ‐‐v | ‐‐version | ‐‐versio | ‐‐versi | ‐‐vers | ‐‐ver | ‐‐ve | ‐‐v |
‐V ) ‐V )
$as_echo "$ac_cs_version"; exit ;; $as_echo "$ac_cs_version"; exit ;;
‐‐debug | ‐‐debu | ‐‐deb | ‐‐de | ‐‐d | ‐d ) ‐‐debug | ‐‐debu | ‐‐deb | ‐‐de | ‐‐d | ‐d )
debug=: ;; debug=: ;;
‐‐file | ‐‐fil | ‐‐fi | ‐‐f ) ‐‐file | ‐‐fil | ‐‐fi | ‐‐f )
$ac_shift $ac_shift
case $ac_optarg in case $ac_optarg in
*´*) ac_optarg=‘$as_echo "$ac_optarg" | sed "s/’/’\\\\’’/g"‘ *´*) ac_optarg=‘$as_echo "$ac_optarg" | sed "s/’/’\\\\’’/g"‘
;; ;;
esac esac
CONFIG_FILES="$CONFIG_FILES ’$ac_optarg’" CONFIG_FILES="$CONFIG_FILES ’$ac_optarg’"
ac_need_defaults=false;; ac_need_defaults=false;;
‐‐header | ‐‐heade | ‐‐head | ‐‐hea ) ‐‐header | ‐‐heade | ‐‐head | ‐‐hea )
$ac_shift $ac_shift
case $ac_optarg in case $ac_optarg in
*´*) ac_optarg=‘$as_echo "$ac_optarg" | sed "s/’/’\\\\’’/g"‘ *´*) ac_optarg=‘$as_echo "$ac_optarg" | sed "s/’/’\\\\’’/g"‘
;; ;;
esac esac
CONFIG_HEADERS="$CONFIG_HEADERS ’$ac_optarg’" CONFIG_HEADERS="$CONFIG_HEADERS ’$ac_optarg’"
ac_need_defaults=false;; ac_need_defaults=false;;
‐‐he | ‐‐h) ‐‐he | ‐‐h)
# Conflict between ‐‐help and ‐‐header # Conflict between ‐‐help and ‐‐header
{ $as_echo "$as_me: error: ambiguous option: $1 Try `$0 { $as_echo "$as_me: error: ambiguous option: $1 Try `$0
‐‐help’ for more information." >&2 ‐‐help’ for more information." >&2
{ (exit 1); exit 1; }; };; { (exit 1); exit 1; }; };;
‐‐help | ‐‐hel | ‐h ) ‐‐help | ‐‐hel | ‐h )
$as_echo "$ac_cs_usage"; exit ;; $as_echo "$ac_cs_usage"; exit ;;
‐q | ‐quiet | ‐‐quiet | ‐‐quie | ‐‐qui | ‐‐qu | ‐‐q | ‐silent ‐q | ‐quiet | ‐‐quiet | ‐‐quie | ‐‐qui | ‐‐qu | ‐‐q | ‐silent
| ‐‐silent | ‐‐silen | ‐‐sile | ‐‐sil | ‐‐si | ‐‐s) | ‐‐silent | ‐‐silen | ‐‐sile | ‐‐sil | ‐‐si | ‐‐s)
ac_cs_silent=: ;; ac_cs_silent=: ;;
# This is an error. # This is an error.
‐*) { $as_echo "$as_me: error: unrecognized option: $1 Try `$0 ‐*) { $as_echo "$as_me: error: unrecognized option: $1 Try `$0
‐‐help’ for more information." >&2 ‐‐help’ for more information." >&2
{ (exit 1); exit 1; }; } ;; { (exit 1); exit 1; }; } ;;
*) ac_config_targets="$ac_config_targets $1" *) ac_config_targets="$ac_config_targets $1"
ac_need_defaults=false ;; ac_need_defaults=false ;;
esac esac
shift done shift done
ac_configure_extra_args= ac_configure_extra_args=
if $ac_cs_silent; then if $ac_cs_silent; then
exec 6>/dev/null exec 6>/dev/null
ac_configure_extra_args="$ac_configure_extra_args ‐‐silent" fi ac_configure_extra_args="$ac_configure_extra_args ‐‐silent" fi
_ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if
c_cs_recheck; then c_cs_recheck; then
set X ’$SHELL’ ’$0’ $ac_configure_args c_configure_extra_args set X ’$SHELL’ ’$0’ $ac_configure_args c_configure_extra_args
‐‐no‐create ‐‐no‐recursion ‐‐no‐create ‐‐no‐recursion
shift shift
s_echo "running CONFIG_SHELL=$SHELL " >&6 s_echo "running CONFIG_SHELL=$SHELL " >&6
CONFIG_SHELL=’$SHELL’ CONFIG_SHELL=’$SHELL’
export CONFIG_SHELL export CONFIG_SHELL
exec "" fi exec "" fi
_ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 exec _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 exec
5>>config.log { 5>>config.log {
echo echo
sed ’h;s/./‐/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x’ sed ’h;s/./‐/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x’
<<_ASBOX @%:@@%:@ Running $as_me. @%:@@%:@ _ASBOX <<_ASBOX @%:@@%:@ Running $as_me. @%:@@%:@ _ASBOX
$as_echo "$ac_log" } >&5 $as_echo "$ac_log" } >&5
_ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACEOF _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
# Handling of arguments. for ac_config_target in $ac_config_tar- # Handling of arguments. for ac_config_target in $ac_config_tar-
gets do gets do
case $ac_config_target in case $ac_config_target in
"include/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS in- "include/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS in-
clude/setup.h" ;; clude/setup.h" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile"
;; ;;
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: *) { { $as_echo "$as_me:$LINENO: error: invalid argument:
$ac_config_target" >&5 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&5 $as_echo "$as_me: error: invalid argument:
$ac_config_target" >&2;} $ac_config_target" >&2;}
{ (exit 1); exit 1; }; };; { (exit 1); exit 1; }; };;
esac done esac done
# If the user did not use the arguments to specify the items to # If the user did not use the arguments to specify the items to
instantiate, # then the envvar interface is used. Set only those instantiate, # then the envvar interface is used. Set only those
that are not. # We use the long form for the default assignment that are not. # We use the long form for the default assignment
because of an extremely # bizarre bug on SunOS 4.1.3. if because of an extremely # bizarre bug on SunOS 4.1.3. if
$ac_need_defaults; then $ac_need_defaults; then
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$con- test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$con-
fig_headers fi fig_headers fi
# Have a temporary directory for convenience. Make it in the # Have a temporary directory for convenience. Make it in the
build tree # simply because there is no reason against having it build tree # simply because there is no reason against having it
here, and in addition, # creating and moving files from /tmp can here, and in addition, # creating and moving files from /tmp can
sometimes cause problems. # Hook for its removal unless debug- sometimes cause problems. # Hook for its removal unless debug-
ging. # Note that there is a small window in which the directory ging. # Note that there is a small window in which the directory
will not be cleaned: # after its creation but before its name has will not be cleaned: # after its creation but before its name has
been assigned to ‘$tmp’. $debug || { been assigned to ‘$tmp’. $debug || {
tmp= tmp=
trap ’exit_status=$? trap ’exit_status=$?
{ test ‐z "$tmp" || test ! ‐d "$tmp" || rm ‐fr "$tmp"; } && ex- { test ‐z "$tmp" || test ! ‐d "$tmp" || rm ‐fr "$tmp"; } && ex-
it $exit_status it $exit_status
trap ’{ (exit 1); exit 1; }’ 1 2 13 15 } # Create a (secure) trap ’{ (exit 1); exit 1; }’ 1 2 13 15 } # Create a (secure)
tmp directory for tmp files. tmp directory for tmp files.
{ {
tmp=‘(umask 077 && mktemp ‐d "./confXXXXXX") 2>/dev/null‘ && tmp=‘(umask 077 && mktemp ‐d "./confXXXXXX") 2>/dev/null‘ &&
test ‐n "$tmp" && test ‐d "$tmp" } || { test ‐n "$tmp" && test ‐d "$tmp" } || {
tmp=./conf$$‐$RANDOM tmp=./conf$$‐$RANDOM
(umask 077 && mkdir "$tmp") } || { (umask 077 && mkdir "$tmp") } || {
$as_echo "$as_me: cannot create a temporary directory in ." $as_echo "$as_me: cannot create a temporary directory in ."
>&2 >&2
{ (exit 1); exit 1; } } { (exit 1); exit 1; } }
# Set up the scripts for CONFIG_FILES section. # No need to gen- # Set up the scripts for CONFIG_FILES section. # No need to gen-
erate them if there are no CONFIG_FILES. # This happens for in- erate them if there are no CONFIG_FILES. # This happens for in-
stance with ‘./config.status config.h’. if test ‐n "$CON- stance with ‘./config.status config.h’. if test ‐n "$CON-
FIG_FILES"; then FIG_FILES"; then
b" }’ </dev/null b" }’ </dev/null
ac_cr=’’ ac_cs_awk_cr=‘$AWK ’BEGIN { print "a ac_cr=’’ ac_cs_awk_cr=‘$AWK ’BEGIN { print "a
2>/dev/null‘ if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 2>/dev/null‘ if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
ac_cs_awk_cr=’\r’ else ac_cs_awk_cr=’\r’ else
ac_cs_awk_cr=$ac_cr fi ac_cs_awk_cr=$ac_cr fi
echo ’BEGIN {’ >"$tmp/subs1.awk" && _ACEOF echo ’BEGIN {’ >"$tmp/subs1.awk" && _ACEOF
{ {
echo "cat >conf$$subs.awk <<_ACEOF" && echo "cat >conf$$subs.awk <<_ACEOF" &&
echo "$ac_subst_vars" | sed ’s/.*/&!$&$ac_delim/’ && echo "$ac_subst_vars" | sed ’s/.*/&!$&$ac_delim/’ &&
echo "_ACEOF" } >conf$$subs.sh || echo "_ACEOF" } >conf$$subs.sh ||
{ { $as_echo "$as_me:$LINENO: error: could not make $CON- { { $as_echo "$as_me:$LINENO: error: could not make $CON-
FIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CON- FIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CON-
FIG_STATUS" >&2;} FIG_STATUS" >&2;}
{ (exit 1); exit 1; }; } ac_delim_num=‘echo "$ac_subst_vars" | { (exit 1); exit 1; }; } ac_delim_num=‘echo "$ac_subst_vars" |
grep ‐c ’$’‘ ac_delim=’%!_!# ’ for ac_last_try in false false grep ‐c ’$’‘ ac_delim=’%!_!# ’ for ac_last_try in false false
false false false :; do false false false :; do
. ./conf$$subs.sh || . ./conf$$subs.sh ||
{ { $as_echo "$as_me:$LINENO: error: could not make $CON- { { $as_echo "$as_me:$LINENO: error: could not make $CON-
FIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CON- FIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CON-
FIG_STATUS" >&2;} FIG_STATUS" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
ac_delim_n=‘sed ‐n "s/.*$ac_delimX/p" conf$$subs.awk | grep ‐c ac_delim_n=‘sed ‐n "s/.*$ac_delimX/p" conf$$subs.awk | grep ‐c
X‘ X‘
if test $ac_delim_n = $ac_delim_num; then if test $ac_delim_n = $ac_delim_num; then
break break
elif $ac_last_try; then elif $ac_last_try; then
{ { $as_echo "$as_me:$LINENO: error: could not make $CON- { { $as_echo "$as_me:$LINENO: error: could not make $CON-
FIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CON- FIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CON-
FIG_STATUS" >&2;} FIG_STATUS" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
else else
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
fi done rm ‐f conf$$subs.sh fi done rm ‐f conf$$subs.sh
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat
>>"mp/subs1.awk" <<\_ACAWK && _ACEOF sed ‐n ’ h s/^/S["/; >>"mp/subs1.awk" <<\_ACAWK && _ACEOF sed ‐n ’ h s/^/S["/;
s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/’"$ac_delim"’$// t de- s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/’"$ac_delim"’$// t de-
lim :nl h s/148.*/1/ t more1 s/["\]/\&/g; s/^/"/; s/$/\n"\/ p n b lim :nl h s/148.*/1/ t more1 s/["\]/\&/g; s/^/"/; s/$/\n"\/ p n b
repl :more1 s/["\]/\&/g; s/^/"/; s/$/"\/ p g s/.148// t nl :delim repl :more1 s/["\]/\&/g; s/^/"/; s/$/"\/ p g s/.148// t nl :delim
h s/148.*/1/ t more2 s/["\]/\&/g; s/^/"/; s/$/"/ p b :more2 h s/148.*/1/ t more2 s/["\]/\&/g; s/^/"/; s/$/"/ p b :more2
s/["\]/\&/g; s/^/"/; s/$/"\/ p g s/.148// t delim /^[^""]/{ s/["\]/\&/g; s/^/"/; s/$/"\/ p g s/.148// t delim /^[^""]/{
N N
s/0/ } rm ‐f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || s/0/ } rm ‐f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF ||
ac_write_fail=1 _ACAWK cat >>"mp/subs1.awk" <<_ACAWK && ac_write_fail=1 _ACAWK cat >>"mp/subs1.awk" <<_ACAWK &&
for (key in S) S_is_set[key] = 1 for (key in S) S_is_set[key] = 1
FS = "" FS = ""
} { } {
line = $ 0 line = $ 0
nfields = split(line, field, "@") nfields = split(line, field, "@")
substed = 0 substed = 0
len = length(field[1]) len = length(field[1])
for (i = 2; i < nfields; i++) { for (i = 2; i < nfields; i++) {
key = field[i] key = field[i]
keylen = length(key) keylen = length(key)
if (S_is_set[key]) { if (S_is_set[key]) {
value = S[key] value = S[key]
line = substr(line, 1, len) "" value "" substr(line, len + line = substr(line, 1, len) "" value "" substr(line, len +
keylen + 3) keylen + 3)
len += length(value) + length(field[++i]) len += length(value) + length(field[++i])
substed = 1 substed = 1
} else } else
len += 1 + keylen len += 1 + keylen
} }
print line } print line }
_ACAWK _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if _ACAWK _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if
sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
sed "s/$ac_cr/; s/$ac_cr/$ac_cs_awk_cr/g" else sed "s/$ac_cr/; s/$ac_cr/$ac_cs_awk_cr/g" else
cat fi < "$tmp/subs1.awk" > "$tmp/subs.awk" || { { $as_echo cat fi < "$tmp/subs1.awk" > "$tmp/subs.awk" || { { $as_echo
"$as_me:$LINENO: error: could not setup config files machinery" "$as_me:$LINENO: error: could not setup config files machinery"
>&5 $as_echo "$as_me: error: could not setup config files machin- >&5 $as_echo "$as_me: error: could not setup config files machin-
ery" >&2;} ery" >&2;}
{ (exit 1); exit 1; }; } _ACEOF { (exit 1); exit 1; }; } _ACEOF
# VPATH may cause trouble with some makes, so we remove $(sr- # VPATH may cause trouble with some makes, so we remove $(sr-
cdir), # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", cdir), # ${srcdir} and @srcdir@ from VPATH if srcdir is ".",
strip leading and # trailing colons and then remove the whole strip leading and # trailing colons and then remove the whole
line if VPATH becomes empty # (actually we leave an empty line to line if VPATH becomes empty # (actually we leave an empty line to
preserve line numbers). if test "x$srcdir" = x.; then preserve line numbers). if test "x$srcdir" = x.; then
ac_vpsub=’/^[ ]*VPATH[ ]*=/{ s/:*cdir):*/:/ s/:*sr- ac_vpsub=’/^[ ]*VPATH[ ]*=/{ s/:*cdir):*/:/ s/:*sr-
cdir}:*/:/ s/:*@srcdir@:*/:/ s/^=]*=[ ]*:*/1/ s/:*$// cdir}:*/:/ s/:*@srcdir@:*/:/ s/^=]*=[ ]*:*/1/ s/:*$//
s/^[^=]*=[ ]*$// }’ fi s/^[^=]*=[ ]*$// }’ fi
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 fi # test ‐n cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 fi # test ‐n
"$CONFIG_FILES" "$CONFIG_FILES"
# Set up the scripts for CONFIG_HEADERS section. # No need to # Set up the scripts for CONFIG_HEADERS section. # No need to
generate them if there are no CONFIG_HEADERS. # This happens for generate them if there are no CONFIG_HEADERS. # This happens for
instance with ‘./config.status Makefile’. if test ‐n "$CON- instance with ‘./config.status Makefile’. if test ‐n "$CON-
FIG_HEADERS"; then cat >"$tmp/defines.awk" <<_ACAWK || BEGIN { FIG_HEADERS"; then cat >"$tmp/defines.awk" <<_ACAWK || BEGIN {
_ACEOF _ACEOF
# Transform confdefs.h into an awk script ‘defines.awk’, embedded # Transform confdefs.h into an awk script ‘defines.awk’, embedded
as # here‐document in config.status, that substitutes the proper as # here‐document in config.status, that substitutes the proper
values into # config.h.in to produce config.h. values into # config.h.in to produce config.h.
# Create a delimiter string that does not exist in confdefs.h, to # Create a delimiter string that does not exist in confdefs.h, to
ease # handling of long lines. ac_delim=’%!_!# ’ for ac_last_try ease # handling of long lines. ac_delim=’%!_!# ’ for ac_last_try
in false false :; do in false false :; do
ac_t=‘sed ‐n "/$ac_delim/p" confdefs.h‘ ac_t=‘sed ‐n "/$ac_delim/p" confdefs.h‘
if test ‐z "$ac_t"; then if test ‐z "$ac_t"; then
break break
elif $ac_last_try; then elif $ac_last_try; then
{ { $as_echo "$as_me:$LINENO: error: could not make $CON- { { $as_echo "$as_me:$LINENO: error: could not make $CON-
FIG_HEADERS" >&5 $as_echo "$as_me: error: could not make $CON- FIG_HEADERS" >&5 $as_echo "$as_me: error: could not make $CON-
FIG_HEADERS" >&2;} FIG_HEADERS" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
else else
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
fi done fi done
# For the awk script, D is an array of macro values keyed by # For the awk script, D is an array of macro values keyed by
name, # likewise P contains macro parameters if any. Preserve name, # likewise P contains macro parameters if any. Preserve
backslash # newline sequences. backslash # newline sequences.
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed ‐n ’ ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed ‐n ’
s/.148/&’"$ac_delim"’/g t rset :rset s/^[ ]*#[ ]*de- s/.148/&’"$ac_delim"’/g t rset :rset s/^[ ]*#[ ]*de-
fine[ ][ ]*/ / t def d :def s/\$// t bsnl s/["\]/\&/g fine[ ][ ]*/ / t def d :def s/\$// t bsnl s/["\]/\&/g
s/^ $ac_word_re"’^()]*)[ ]*/P["1"]="2"D["1"]=" 3"/p s/^ s/^ $ac_word_re"’^()]*)[ ]*/P["1"]="2"D["1"]=" 3"/p s/^
$ac_word_re"’[ ]*/D["1"]=" 2"/p d :bsnl s/["\]/\&/g s/^ $ac_word_re"’[ ]*/D["1"]=" 2"/p d :bsnl s/["\]/\&/g s/^
$ac_word_re"’^()]*)[ ]*/P["1"]="2"D["1"]=" 3\\\n"\/p t $ac_word_re"’^()]*)[ ]*/P["1"]="2"D["1"]=" 3\\\n"\/p t
cont s/^ $ac_word_re"’[ ]*/D["1"]=" 2\\\n"\/p t cont d cont s/^ $ac_word_re"’[ ]*/D["1"]=" 2\\\n"\/p t cont d
:cont n s/.148/&’"$ac_delim"’/g t clear :clear s/\$// t bsnlc :cont n s/.148/&’"$ac_delim"’/g t clear :clear s/\$// t bsnlc
s/["\]/\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\]/\&/g; s/^/"/; s/["\]/\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\]/\&/g; s/^/"/;
s/$/\\\n"\/p b cont s/’"$ac_delim"’/"\"/g’ >>$CONFIG_STATUS || s/$/\\\n"\/p b cont s/’"$ac_delim"’/"\"/g’ >>$CONFIG_STATUS ||
ac_write_fail=1 ac_write_fail=1
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
for (key in D) D_is_set[key] = 1 for (key in D) D_is_set[key] = 1
FS = "" } /^[ ]*#[ ]*(define|undef)[ ]+$ac_word_re([ (]|/ { FS = "" } /^[ ]*#[ ]*(define|undef)[ ]+$ac_word_re([ (]|/ {
line = 0 line = 0
split(line, arg, " ") split(line, arg, " ")
if (arg[1] == "#") { if (arg[1] == "#") {
defundef = arg[2] defundef = arg[2]
mac1 = arg[3] mac1 = arg[3]
skipping to change at line 7453 skipping to change at line 7463
split(mac1, mac2, "(") #) split(mac1, mac2, "(") #)
macro = mac2[1] macro = mac2[1]
prefix = substr(line, 1, index(line, defundef) ‐ 1) prefix = substr(line, 1, index(line, defundef) ‐ 1)
if (D_is_set[macro]) { if (D_is_set[macro]) {
# Preserve the white space surrounding the "#". # Preserve the white space surrounding the "#".
print prefix "define", macro P[macro] D[macro] print prefix "define", macro P[macro] D[macro]
next next
} else { } else {
# Replace #undef with comments. This is necessary, for exam- # Replace #undef with comments. This is necessary, for exam-
ple, ple,
# in the case of _POSIX_SOURCE, which is predefined and re- # in the case of _POSIX_SOURCE, which is predefined and re-
quired quired
# on some systems where configure will not decide to define # on some systems where configure will not decide to define
it. it.
if (defundef == "undef") { if (defundef == "undef") {
print "/*", prefix defundef, macro, "*/" print "/*", prefix defundef, macro, "*/"
next next
} }
} } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ||
ac_write_fail=1 ac_write_fail=1
{ { $as_echo "$as_me:$LINENO: error: could not setup config { { $as_echo "$as_me:$LINENO: error: could not setup config
headers machinery" >&5 $as_echo "$as_me: error: could not setup headers machinery" >&5 $as_echo "$as_me: error: could not setup
config headers machinery" >&2;} config headers machinery" >&2;}
{ (exit 1); exit 1; }; } fi # test ‐n "$CONFIG_HEADERS" { (exit 1); exit 1; }; } fi # test ‐n "$CONFIG_HEADERS"
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " shift for eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " shift for
ac_tag do ac_tag do
case $ac_tag in case $ac_tag in
:[FHLC]) ac_mode=$ac_tag; continue;; :[FHLC]) ac_mode=$ac_tag; continue;;
esac esac
case $ac_mode$ac_tag in case $ac_mode$ac_tag in
:[FHL]*:*);; :[FHL]*:*);;
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag
$ac_tag" >&5 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} $ac_tag" >&5 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
{ (exit 1); exit 1; }; };; { (exit 1); exit 1; }; };;
:[FH]‐) ac_tag=‐:‐;; :[FH]‐) ac_tag=‐:‐;;
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
esac esac
ac_save_IFS=$IFS ac_save_IFS=$IFS
IFS=: IFS=:
set x $ac_tag set x $ac_tag
IFS=$ac_save_IFS IFS=$ac_save_IFS
shift shift
skipping to change at line 7498 skipping to change at line 7508
case $ac_mode in case $ac_mode in
:L) ac_source=$1;; :L) ac_source=$1;;
:[FH]) :[FH])
ac_file_inputs= ac_file_inputs=
for ac_f for ac_f
do do
case $ac_f in case $ac_f in
‐) ac_f="$tmp/stdin";; ‐) ac_f="$tmp/stdin";;
*) # Look for the file first in the build tree, then in the *) # Look for the file first in the build tree, then in the
source tree # (if the path is not absolute). The abso- source tree # (if the path is not absolute). The abso-
lute path cannot be DOS‐style, # because $ac_f cannot lute path cannot be DOS‐style, # because $ac_f cannot
contain ‘:’. test ‐f "$ac_f" || case $ac_f contain ‘:’. test ‐f "$ac_f" || case $ac_f
in [\/$]*) false;; *) test ‐f "$sr- in [\/$]*) false;; *) test ‐f "$sr-
cdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || cdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac ||
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: { { $as_echo "$as_me:$LINENO: error: cannot find input file:
$ac_f" >&5 $as_echo "$as_me: error: cannot find input file: $ac_f" >&5 $as_echo "$as_me: error: cannot find input file:
$ac_f" >&2;} $ac_f" >&2;}
{ (exit 1); exit 1; }; };; { (exit 1); exit 1; }; };;
esac esac
case $ac_f in *´*) ac_f=‘$as_echo "$ac_f" | sed case $ac_f in *´*) ac_f=‘$as_echo "$ac_f" | sed
"s/’/’\\\\’’/g"‘;; esac "s/’/’\\\\’’/g"‘;; esac
ac_file_inputs="$ac_file_inputs ’$ac_f’" ac_file_inputs="$ac_file_inputs ’$ac_f’"
done done
# Let’s still pretend it is ‘configure’ which instantiates # Let’s still pretend it is ‘configure’ which instantiates
(i.e., don’t (i.e., don’t
# use $as_me), people would be surprised to read: # use $as_me), people would be surprised to read:
# /* config.h. Generated by config.status. */ # /* config.h. Generated by config.status. */
configure_input=’Generated from ’‘ $as_echo "$*" | configure_input=’Generated from ’‘ $as_echo "$*" |
sed ’s|^[^:]*/||;s|:[^:]*/|, |g’ ‘’ by configure.’ sed ’s|^[^:]*/||;s|:[^:]*/|, |g’ ‘’ by configure.’
if test x"$ac_file" != x‐; then if test x"$ac_file" != x‐; then
configure_input="$ac_file. $configure_input" configure_input="$ac_file. $configure_input"
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5 $as_echo { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 $as_echo
"$as_me: creating $ac_file" >&6;} "$as_me: creating $ac_file" >&6;}
fi fi
# Neutralize special characters interpreted by sed in re- # Neutralize special characters interpreted by sed in re-
placement strings. placement strings.
case $configure_input in #( case $configure_input in #(
** | ** | *\* ) ** | ** | *\* )
ac_sed_conf_input=‘$as_echo "$configure_input" | ac_sed_conf_input=‘$as_echo "$configure_input" |
sed ’s/[\\&|]/\\&/g’‘;; #( sed ’s/[\\&|]/\\&/g’‘;; #(
*) ac_sed_conf_input=$configure_input;; *) ac_sed_conf_input=$configure_input;;
esac esac
case $ac_tag in case $ac_tag in
*:‐:* | *:‐) cat >"$tmp/stdin" || { { $as_echo *:‐:* | *:‐) cat >"$tmp/stdin" || { { $as_echo
"$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo
"$as_me: error: could not create $ac_file" >&2;} "$as_me: error: could not create $ac_file" >&2;}
{ (exit 1); exit 1; }; } ;; { (exit 1); exit 1; }; } ;;
esac esac
;; ;;
esac esac
ac_dir=‘$as_dirname ‐‐ "$ac_file" || $as_expr X"$ac_file" : ac_dir=‘$as_dirname ‐‐ "$ac_file" || $as_expr X"$ac_file" :
’X[^/]//*[^/][^/]*/*$’ X"$ac_file" : ’X[^/]’ ’X[^/]//*[^/][^/]*/*$’ X"$ac_file" : ’X[^/]’
X"$ac_file" : ’X$’ X"$ac_file" : ’X’ . 2>/dev/null || X"$ac_file" : ’X$’ X"$ac_file" : ’X’ . 2>/dev/null ||
$as_echo X"$ac_file" | $as_echo X"$ac_file" |
sed ’/^X[^/]*[^/][^/]**$/{ s//1/ q sed ’/^X[^/]*[^/][^/]**$/{ s//1/ q
} /^X[^/].*/{ s//1/ q } /^X[^/].*/{ s//1/ q
} /^X$/{ s//1/ q } /^X$/{ s//1/ q
} /^X.*/{ s//1/ q } /^X.*/{ s//1/ q
} s/.*/./; q’‘ } s/.*/./; q’‘
{ as_dir="$ac_dir" { as_dir="$ac_dir"
case $as_dir in #( case $as_dir in #(
‐*) as_dir=./$as_dir;; ‐*) as_dir=./$as_dir;;
esac esac
test ‐d "$as_dir" || { $as_mkdir_p && mkdir ‐p "$as_dir"; } || test ‐d "$as_dir" || { $as_mkdir_p && mkdir ‐p "$as_dir"; } ||
{ {
as_dirs= as_dirs=
while :; do while :; do
case $as_dir in #( case $as_dir in #(
*´*) as_qdir=‘$as_echo "$as_dir" | sed "s/’/’\\\\’’/g"‘;; *´*) as_qdir=‘$as_echo "$as_dir" | sed "s/’/’\\\\’’/g"‘;;
#’( #’(
*) as_qdir=$as_dir;; *) as_qdir=$as_dir;;
esac esac
as_dirs="’$as_qdir’ $as_dirs" as_dirs="’$as_qdir’ $as_dirs"
as_dir=‘$as_dirname ‐‐ "$as_dir" || $as_expr X"$as_dir" : as_dir=‘$as_dirname ‐‐ "$as_dir" || $as_expr X"$as_dir" :
’X[^/]//*[^/][^/]*/*$’ X"$as_dir" : ’X[^/]’ X"$as_dir" : ’X[^/]//*[^/][^/]*/*$’ X"$as_dir" : ’X[^/]’ X"$as_dir" :
’X$’ X"$as_dir" : ’X’ . 2>/dev/null || $as_echo X"$as_dir" | ’X$’ X"$as_dir" : ’X’ . 2>/dev/null || $as_echo X"$as_dir" |
sed ’/^X[^/]*[^/][^/]**$/{ s//1/ q sed ’/^X[^/]*[^/][^/]**$/{ s//1/ q
} /^X[^/].*/{ s//1/ q } /^X[^/].*/{ s//1/ q
} /^X$/{ s//1/ q } /^X$/{ s//1/ q
} /^X.*/{ s//1/ q } /^X.*/{ s//1/ q
} s/.*/./; q’‘ } s/.*/./; q’‘
test ‐d "$as_dir" && break test ‐d "$as_dir" && break
done done
test ‐z "$as_dirs" || eval "mkdir $as_dirs" test ‐z "$as_dirs" || eval "mkdir $as_dirs"
} || test ‐d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: } || test ‐d "$as_dir" || { { $as_echo "$as_me:$LINENO: error:
cannot create directory $as_dir" >&5 $as_echo "$as_me: error: cannot create directory $as_dir" >&5 $as_echo "$as_me: error:
cannot create directory $as_dir" >&2;} cannot create directory $as_dir" >&2;}
{ (exit 1); exit 1; }; }; } { (exit 1); exit 1; }; }; }
ac_builddir=. ac_builddir=.
case "$ac_dir" in *) case "$ac_dir" in *)
ac_dir_suffix=/‘$as_echo "$ac_dir" | sed ’s|^.[\/]||’‘ ac_dir_suffix=/‘$as_echo "$ac_dir" | sed ’s|^.[\/]||’‘
# A ".." for each directory in $ac_dir_suffix. # A ".." for each directory in $ac_dir_suffix.
ac_top_builddir_sub=‘$as_echo "$ac_dir_suffix" | sed ac_top_builddir_sub=‘$as_echo "$ac_dir_suffix" | sed
’s|/[^\/]*|/..|g;s|/||’‘ ’s|/[^\/]*|/..|g;s|/||’‘
case $ac_top_builddir_sub in case $ac_top_builddir_sub in
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_build- esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_build-
dir=$ac_pwd$ac_dir_suffix # for backward compatibility: dir=$ac_pwd$ac_dir_suffix # for backward compatibility:
ac_top_builddir=$ac_top_build_prefix ac_top_builddir=$ac_top_build_prefix
case $srcdir in case $srcdir in
.) # We are building in place. .) # We are building in place.
ac_srcdir=. ac_srcdir=.
ac_top_srcdir=$ac_top_builddir_sub ac_top_srcdir=$ac_top_builddir_sub
ac_abs_top_srcdir=$ac_pwd ;; ac_abs_top_srcdir=$ac_pwd ;;
[\/]* | ?:[\/]* ) # Absolute name. [\/]* | ?:[\/]* ) # Absolute name.
ac_srcdir=$srcdir$ac_dir_suffix; ac_srcdir=$srcdir$ac_dir_suffix;
ac_top_srcdir=$srcdir ac_top_srcdir=$srcdir
skipping to change at line 7620 skipping to change at line 7630
:F) :F)
# #
# CONFIG_FILE # CONFIG_FILE
# #
case $INSTALL in case $INSTALL in
[\/$]* | ?:[\/]* ) ac_INSTALL=$INSTALL ;; [\/$]* | ?:[\/]* ) ac_INSTALL=$INSTALL ;;
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
esac _ACEOF esac _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # If the tem- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # If the tem-
plate does not know about datarootdir, expand it. # FIXME: This plate does not know about datarootdir, expand it. # FIXME: This
hack should be removed a few years after 2.60. ac_dataroot- hack should be removed a few years after 2.60. ac_dataroot-
dir_hack=; ac_datarootdir_seen= dir_hack=; ac_datarootdir_seen=
ac_sed_dataroot=’ /datarootdir/ { ac_sed_dataroot=’ /datarootdir/ {
p p
q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p
/@mandir@/p case ‘eval "sed ‐n *datarootdir*) ac_dataroot- /@mandir@/p case ‘eval "sed ‐n *datarootdir*) ac_dataroot-
dir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@lo- dir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@lo-
caledir@*|*@mandir@*) caledir@*|*@mandir@*)
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to
ignore the ‐‐datarootdir setting" >&5 $as_echo "$as_me: WARNING: ignore the ‐‐datarootdir setting" >&5 $as_echo "$as_me: WARNING:
$ac_file_inputs seems to ignore the ‐‐datarootdir setting" >&2;} $ac_file_inputs seems to ignore the ‐‐datarootdir setting" >&2;}
_ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_datarootdir_hack=’ ac_datarootdir_hack=’
s&@datadir@&$datadir&g s&@datadir@&$datadir&g
s&@docdir@&$docdir&g s&@docdir@&$docdir&g
s&@infodir@&$infodir&g s&@infodir@&$infodir&g
s&@localedir@&$localedir&g s&@localedir@&$localedir&g
s&@mandir@&$mandir&g s&@mandir@&$mandir&g
s&\datarootdir}&$datarootdir&g’ ;; esac _ACEOF s&\datarootdir}&$datarootdir&g’ ;; esac _ACEOF
# Neutralize VPATH when ‘$srcdir’ = ‘.’. # Shell code in config- # Neutralize VPATH when ‘$srcdir’ = ‘.’. # Shell code in config-
ure.ac might set extrasub. # FIXME: do we really want to main- ure.ac might set extrasub. # FIXME: do we really want to main-
tain this feature? cat >>$CONFIG_STATUS <<_ACEOF || tain this feature? cat >>$CONFIG_STATUS <<_ACEOF ||
ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat
>>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 :t /@[a‐zA‐Z_][a‐zA‐ >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 :t /@[a‐zA‐Z_][a‐zA‐
Z_0‐9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t Z_0‐9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t
s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_pre- s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_pre-
fix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t fix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t
s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_sr- s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_sr-
cdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@build- cdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@build-
dir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t dir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@IN- s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@IN-
STALL@&$ac_INSTALL&;t t $ac_datarootdir_hack " eval sed STALL@&$ac_INSTALL&;t t $ac_datarootdir_hack " eval sed
|| { { $as_echo "$as_me:$LINENO: error: could not create || { { $as_echo "$as_me:$LINENO: error: could not create
$ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file"
>&2;} >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
test ‐z "$ac_datarootdir_hack$ac_datarootdir_seen" && test ‐z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
{ ac_out=‘sed ‐n ’/datarootdir}/p’ "$tmp/out"‘; test ‐n { ac_out=‘sed ‐n ’/datarootdir}/p’ "$tmp/out"‘; test ‐n
"$ac_out"; } && "$ac_out"; } &&
{ ac_out=‘sed ‐n ’/^[ ]*datarootdir[ ]*:*=/p’ "$tmp/out"‘; { ac_out=‘sed ‐n ’/^[ ]*datarootdir[ ]*:*=/p’ "$tmp/out"‘;
test ‐z "$ac_out"; } && test ‐z "$ac_out"; } &&
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a refer- { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a refer-
ence to the variable `datarootdir’ which seems to be undefined. ence to the variable `datarootdir’ which seems to be undefined.
Please make sure it is defined." >&5 $as_echo "$as_me: WARNING: Please make sure it is defined." >&5 $as_echo "$as_me: WARNING:
$ac_file contains a reference to the variable `datarootdir’ which $ac_file contains a reference to the variable `datarootdir’ which
seems to be undefined. Please make sure it is defined." >&2;} seems to be undefined. Please make sure it is defined." >&2;}
rm ‐f "$tmp/stdin" rm ‐f "$tmp/stdin"
case $ac_file in case $ac_file in
‐) cat "$tmp/out" && rm ‐f "$tmp/out";; ‐) cat "$tmp/out" && rm ‐f "$tmp/out";;
*) rm ‐f "$ac_file" && mv "$tmp/out" "$ac_file";; *) rm ‐f "$ac_file" && mv "$tmp/out" "$ac_file";;
esac || { { $as_echo "$as_me:$LINENO: error: could not create esac || { { $as_echo "$as_me:$LINENO: error: could not create
$ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file"
>&2;} >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
;; ;;
:H) :H)
# #
# CONFIG_HEADER # CONFIG_HEADER
# #
if test x"$ac_file" != x‐; then if test x"$ac_file" != x‐; then
{ {
$as_echo "/* $configure_input */" && eval ’$AWK ‐f $as_echo "/* $configure_input */" && eval ’$AWK ‐f
"$tmp/defines.awk"’ "$ac_file_inputs" "$tmp/defines.awk"’ "$ac_file_inputs"
} >"$tmp/config.h" || { { $as_echo "$as_me:$LINENO: er- } >"$tmp/config.h" || { { $as_echo "$as_me:$LINENO: er-
ror: could not create $ac_file" >&5 $as_echo "$as_me: error: ror: could not create $ac_file" >&5 $as_echo "$as_me: error:
could not create $ac_file" >&2;} could not create $ac_file" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
$as_echo "$as_me: $ac_file is unchanged" >&6;} $as_echo "$as_me: $ac_file is unchanged" >&6;}
else else
rm ‐f "$ac_file" rm ‐f "$ac_file"
mv "$tmp/config.h" "$ac_file" || { { $as_echo mv "$tmp/config.h" "$ac_file" || { { $as_echo
"$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo
"$as_me: error: could not create $ac_file" >&2;} "$as_me: error: could not create $ac_file" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
else else
$as_echo "/* $configure_input */" && eval ’$AWK ‐f $as_echo "/* $configure_input */" && eval ’$AWK ‐f
"$tmp/defines.awk"’ "$ac_file_inputs" || { { $as_echo "$tmp/defines.awk"’ "$ac_file_inputs" || { { $as_echo
"$as_me:$LINENO: error: could not create ‐" >&5 $as_echo "$as_me: "$as_me:$LINENO: error: could not create ‐" >&5 $as_echo "$as_me:
error: could not create ‐" >&2;} error: could not create ‐" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
;; ;;
esac esac
done # for ac_tag done # for ac_tag
{ (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS
ac_clean_files=$ac_clean_files_save ac_clean_files=$ac_clean_files_save
test $ac_write_fail = 0 || test $ac_write_fail = 0 ||
{ { $as_echo "$as_me:$LINENO: error: write failure creating { { $as_echo "$as_me:$LINENO: error: write failure creating
$CONFIG_STATUS" >&5 $as_echo "$as_me: error: write failure creat- $CONFIG_STATUS" >&5 $as_echo "$as_me: error: write failure creat-
ing $CONFIG_STATUS" >&2;} ing $CONFIG_STATUS" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
# configure is writing to config.log, and then calls config.sta- # configure is writing to config.log, and then calls config.sta-
tus. # config.status does its own redirection, appending to con- tus. # config.status does its own redirection, appending to con-
fig.log. # Unfortunately, on DOS this fails, as config.log is fig.log. # Unfortunately, on DOS this fails, as config.log is
still kept open # by configure, so config.status won’t be able to still kept open # by configure, so config.status won’t be able to
write to it; its # output is simply discarded. So we exec the FD write to it; its # output is simply discarded. So we exec the FD
to /dev/null, # effectively closing config.log, so it can be to /dev/null, # effectively closing config.log, so it can be
properly (re)opened and # appended to by config.status. When properly (re)opened and # appended to by config.status. When
coming back to configure, we # need to make the FD available coming back to configure, we # need to make the FD available
again. if test "$no_create" != yes; then again. if test "$no_create" != yes; then
ac_cs_success=: ac_cs_success=:
ac_config_status_args= ac_config_status_args=
test "$silent" = yes && test "$silent" = yes &&
ac_config_status_args="$ac_config_status_args ‐‐quiet" ac_config_status_args="$ac_config_status_args ‐‐quiet"
exec 5>/dev/null exec 5>/dev/null
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_suc- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_suc-
cess=false cess=false
exec 5>>config.log exec 5>>config.log
# Use ||, not &&, to avoid exiting from the if with $? = 1, # Use ||, not &&, to avoid exiting from the if with $? = 1,
which which
# would make configure fail if this is the last instruction. # would make configure fail if this is the last instruction.
$ac_cs_success || { (exit 1); exit 1; } fi if test ‐n "$ac_un- $ac_cs_success || { (exit 1); exit 1; } fi if test ‐n "$ac_un-
recognized_opts" && test "$enable_option_checking" != no; then recognized_opts" && test "$enable_option_checking" != no; then
{ $as_echo "$as_me:$LINENO: WARNING: unrecognized options: { $as_echo "$as_me:$LINENO: WARNING: unrecognized options:
$ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecog- $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecog-
nized options: $ac_unrecognized_opts" >&2;} fi nized options: $ac_unrecognized_opts" >&2;} fi
echo "" echo " ******* Bahamut Configuration Settings echo "" echo " ******* Bahamut Configuration Settings
*******" echo " System Build Type: $target" *******" echo " System Build Type: $target"
echo " Socket Engine Type: $engine" echo " echo " Socket Engine Type: $engine" echo "
Encryption: $encryption" echo " Loadable Encryption: $encryption" echo " Loadable
Modules: $set_hmodules" echo " Maximum Connec- Modules: $set_hmodules" echo " Maximum Connec-
tions: $maxconnections" echo " Install Directory: tions: $maxconnections" echo " Install Directory:
$prefix" echo "" $prefix" echo ""
 End of changes. 437 change blocks. 
676 lines changed or deleted 686 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)