|
version 1.6.2.1, 2011/02/10 22:07:59
|
version 1.20.2.1, 2012/05/19 00:01:24
|
|
Line 1
|
Line 1
|
| #! /bin/sh |
#! /bin/sh |
| # Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
| # Generated by GNU Autoconf 2.68 for libaitio 1.5. | # Generated by GNU Autoconf 2.68 for libaitio 3.1. |
| # |
# |
| # Report bugs to <misho@openbsd-bg.org>. | # Report bugs to <misho@elwix.org>. |
| # |
# |
| # |
# |
| # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
|
Line 238 fi
|
Line 238 fi
|
| $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
| $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
| else |
else |
| $as_echo "$0: Please tell bug-autoconf@gnu.org and | $as_echo "$0: Please tell bug-autoconf@gnu.org and misho@elwix.org |
| $0: misho@openbsd-bg.org about your system, including any | $0: about your system, including any error possibly output |
| $0: error possibly output before this message. Then install | $0: before this message. Then install a modern shell, or |
| $0: a modern shell, or manually run the script under such a | $0: manually run the script under such a shell if you do |
| $0: shell if you do have one." | $0: have one." |
| fi |
fi |
| exit 1 |
exit 1 |
| fi |
fi |
|
Line 560 MAKEFLAGS=
|
Line 560 MAKEFLAGS=
|
| # Identity of this package. |
# Identity of this package. |
| PACKAGE_NAME='libaitio' |
PACKAGE_NAME='libaitio' |
| PACKAGE_TARNAME='libaitio' |
PACKAGE_TARNAME='libaitio' |
| PACKAGE_VERSION='1.5' | PACKAGE_VERSION='3.1' |
| PACKAGE_STRING='libaitio 1.5' | PACKAGE_STRING='libaitio 3.1' |
| PACKAGE_BUGREPORT='misho@openbsd-bg.org' | PACKAGE_BUGREPORT='misho@elwix.org' |
| PACKAGE_URL='' |
PACKAGE_URL='' |
| |
|
| ac_unique_file="src/aitio.c" |
ac_unique_file="src/aitio.c" |
|
Line 682 CFLAGS
|
Line 682 CFLAGS
|
| LDFLAGS |
LDFLAGS |
| LIBS |
LIBS |
| CPPFLAGS |
CPPFLAGS |
| CPP | CPP' |
| CPPFLAGS' | |
| |
|
| |
|
| # Initialize some variables set by options. |
# Initialize some variables set by options. |
|
Line 1226 if test "$ac_init_help" = "long"; then
|
Line 1225 if test "$ac_init_help" = "long"; then
|
| # Omit some internal or obsolete options to make the list less imposing. |
# Omit some internal or obsolete options to make the list less imposing. |
| # This message is too long to be a string in the A/UX 3.1 sh. |
# This message is too long to be a string in the A/UX 3.1 sh. |
| cat <<_ACEOF |
cat <<_ACEOF |
| \`configure' configures libaitio 1.5 to adapt to many kinds of systems. | \`configure' configures libaitio 3.1 to adapt to many kinds of systems. |
| |
|
| Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
| |
|
|
Line 1292 fi
|
Line 1291 fi
|
| |
|
| if test -n "$ac_init_help"; then |
if test -n "$ac_init_help"; then |
| case $ac_init_help in |
case $ac_init_help in |
| short | recursive ) echo "Configuration of libaitio 1.5:";; | short | recursive ) echo "Configuration of libaitio 3.1:";; |
| esac |
esac |
| cat <<\_ACEOF |
cat <<\_ACEOF |
| |
|
|
Line 1316 Some influential environment variables:
|
Line 1315 Some influential environment variables:
|
| Use these variables to override the choices made by `configure' or to help |
Use these variables to override the choices made by `configure' or to help |
| it to find libraries and programs with nonstandard names/locations. |
it to find libraries and programs with nonstandard names/locations. |
| |
|
| Report bugs to <misho@openbsd-bg.org>. | Report bugs to <misho@elwix.org>. |
| _ACEOF |
_ACEOF |
| ac_status=$? |
ac_status=$? |
| fi |
fi |
|
Line 1379 fi
|
Line 1378 fi
|
| test -n "$ac_init_help" && exit $ac_status |
test -n "$ac_init_help" && exit $ac_status |
| if $ac_init_version; then |
if $ac_init_version; then |
| cat <<\_ACEOF |
cat <<\_ACEOF |
| libaitio configure 1.5 | libaitio configure 3.1 |
| generated by GNU Autoconf 2.68 |
generated by GNU Autoconf 2.68 |
| |
|
| Copyright (C) 2010 Free Software Foundation, Inc. |
Copyright (C) 2010 Free Software Foundation, Inc. |
|
Line 1431 fi
|
Line 1430 fi
|
| |
|
| } # ac_fn_c_try_compile |
} # ac_fn_c_try_compile |
| |
|
| |
# ac_fn_c_try_link LINENO |
| |
# ----------------------- |
| |
# Try to link conftest.$ac_ext, and return whether this succeeded. |
| |
ac_fn_c_try_link () |
| |
{ |
| |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| |
rm -f conftest.$ac_objext conftest$ac_exeext |
| |
if { { ac_try="$ac_link" |
| |
case "(($ac_try" in |
| |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| |
*) ac_try_echo=$ac_try;; |
| |
esac |
| |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| |
$as_echo "$ac_try_echo"; } >&5 |
| |
(eval "$ac_link") 2>conftest.err |
| |
ac_status=$? |
| |
if test -s conftest.err; then |
| |
grep -v '^ *+' conftest.err >conftest.er1 |
| |
cat conftest.er1 >&5 |
| |
mv -f conftest.er1 conftest.err |
| |
fi |
| |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| |
test $ac_status = 0; } && { |
| |
test -z "$ac_c_werror_flag" || |
| |
test ! -s conftest.err |
| |
} && test -s conftest$ac_exeext && { |
| |
test "$cross_compiling" = yes || |
| |
$as_test_x conftest$ac_exeext |
| |
}; then : |
| |
ac_retval=0 |
| |
else |
| |
$as_echo "$as_me: failed program was:" >&5 |
| |
sed 's/^/| /' conftest.$ac_ext >&5 |
| |
|
| |
ac_retval=1 |
| |
fi |
| |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
| |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
| |
# interfere with the next link command; also delete a directory that is |
| |
# left behind by Apple's compiler. We do this before executing the actions. |
| |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| |
as_fn_set_status $ac_retval |
| |
|
| |
} # ac_fn_c_try_link |
| |
|
| # ac_fn_c_try_cpp LINENO |
# ac_fn_c_try_cpp LINENO |
| # ---------------------- |
# ---------------------- |
| # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
|
Line 1538 $as_echo "$as_me: WARNING: $2: see the Autoconf docume
|
Line 1583 $as_echo "$as_me: WARNING: $2: see the Autoconf docume
|
| $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
| { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
| $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| ( $as_echo "## ----------------------------------- ## | ( $as_echo "## ------------------------------ ## |
| ## Report this to misho@openbsd-bg.org ## | ## Report this to misho@elwix.org ## |
| ## ----------------------------------- ##" | ## ------------------------------ ##" |
| ) | sed "s/^/$as_me: WARNING: /" >&2 |
) | sed "s/^/$as_me: WARNING: /" >&2 |
| ;; |
;; |
| esac |
esac |
|
Line 1632 $as_echo "$ac_res" >&6; }
|
Line 1677 $as_echo "$ac_res" >&6; }
|
| |
|
| } # ac_fn_c_check_header_compile |
} # ac_fn_c_check_header_compile |
| |
|
| # ac_fn_c_try_link LINENO |
|
| # ----------------------- |
|
| # Try to link conftest.$ac_ext, and return whether this succeeded. |
|
| ac_fn_c_try_link () |
|
| { |
|
| as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
| rm -f conftest.$ac_objext conftest$ac_exeext |
|
| if { { ac_try="$ac_link" |
|
| case "(($ac_try" in |
|
| *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
| *) ac_try_echo=$ac_try;; |
|
| esac |
|
| eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
| $as_echo "$ac_try_echo"; } >&5 |
|
| (eval "$ac_link") 2>conftest.err |
|
| ac_status=$? |
|
| if test -s conftest.err; then |
|
| grep -v '^ *+' conftest.err >conftest.er1 |
|
| cat conftest.er1 >&5 |
|
| mv -f conftest.er1 conftest.err |
|
| fi |
|
| $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
| test $ac_status = 0; } && { |
|
| test -z "$ac_c_werror_flag" || |
|
| test ! -s conftest.err |
|
| } && test -s conftest$ac_exeext && { |
|
| test "$cross_compiling" = yes || |
|
| $as_test_x conftest$ac_exeext |
|
| }; then : |
|
| ac_retval=0 |
|
| else |
|
| $as_echo "$as_me: failed program was:" >&5 |
|
| sed 's/^/| /' conftest.$ac_ext >&5 |
|
| |
|
| ac_retval=1 |
|
| fi |
|
| # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
|
| # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
|
| # interfere with the next link command; also delete a directory that is |
|
| # left behind by Apple's compiler. We do this before executing the actions. |
|
| rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
| eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
| as_fn_set_status $ac_retval |
|
| |
|
| } # ac_fn_c_try_link |
|
| |
|
| # ac_fn_c_check_func LINENO FUNC VAR |
# ac_fn_c_check_func LINENO FUNC VAR |
| # ---------------------------------- |
# ---------------------------------- |
| # Tests whether FUNC exists, setting the cache variable VAR accordingly |
# Tests whether FUNC exists, setting the cache variable VAR accordingly |
|
Line 1748 cat >config.log <<_ACEOF
|
Line 1747 cat >config.log <<_ACEOF
|
| This file contains any messages produced by compilers while |
This file contains any messages produced by compilers while |
| running configure, to aid debugging if configure makes a mistake. |
running configure, to aid debugging if configure makes a mistake. |
| |
|
| It was created by libaitio $as_me 1.5, which was | It was created by libaitio $as_me 3.1, which was |
| generated by GNU Autoconf 2.68. Invocation command line was |
generated by GNU Autoconf 2.68. Invocation command line was |
| |
|
| $ $0 $@ |
$ $0 $@ |
|
Line 3222 fi
|
Line 3221 fi
|
| CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}" |
CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}" |
| LDFLAGS="-L/usr/local/lib ${LDFLAGS}" |
LDFLAGS="-L/usr/local/lib ${LDFLAGS}" |
| |
|
| # Checks for header files. |
|
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherInit_ex in -lcrypto" >&5 |
| |
$as_echo_n "checking for EVP_CipherInit_ex in -lcrypto... " >&6; } |
| |
if ${ac_cv_lib_crypto_EVP_CipherInit_ex+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
ac_check_lib_save_LIBS=$LIBS |
| |
LIBS="-lcrypto $LIBS" |
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
|
| |
/* Override any GCC internal prototype to avoid an error. |
| |
Use char because int might match the return type of a GCC |
| |
builtin and then its argument prototype would still apply. */ |
| |
#ifdef __cplusplus |
| |
extern "C" |
| |
#endif |
| |
char EVP_CipherInit_ex (); |
| |
int |
| |
main () |
| |
{ |
| |
return EVP_CipherInit_ex (); |
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
if ac_fn_c_try_link "$LINENO"; then : |
| |
ac_cv_lib_crypto_EVP_CipherInit_ex=yes |
| |
else |
| |
ac_cv_lib_crypto_EVP_CipherInit_ex=no |
| |
fi |
| |
rm -f core conftest.err conftest.$ac_objext \ |
| |
conftest$ac_exeext conftest.$ac_ext |
| |
LIBS=$ac_check_lib_save_LIBS |
| |
fi |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherInit_ex" >&5 |
| |
$as_echo "$ac_cv_lib_crypto_EVP_CipherInit_ex" >&6; } |
| |
if test "x$ac_cv_lib_crypto_EVP_CipherInit_ex" = xyes; then : |
| |
cat >>confdefs.h <<_ACEOF |
| |
#define HAVE_LIBCRYPTO 1 |
| |
_ACEOF |
| |
|
| |
LIBS="-lcrypto $LIBS" |
| |
|
| |
fi |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for forkpty in -lutil" >&5 |
| |
$as_echo_n "checking for forkpty in -lutil... " >&6; } |
| |
if ${ac_cv_lib_util_forkpty+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
ac_check_lib_save_LIBS=$LIBS |
| |
LIBS="-lutil $LIBS" |
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
|
| |
/* Override any GCC internal prototype to avoid an error. |
| |
Use char because int might match the return type of a GCC |
| |
builtin and then its argument prototype would still apply. */ |
| |
#ifdef __cplusplus |
| |
extern "C" |
| |
#endif |
| |
char forkpty (); |
| |
int |
| |
main () |
| |
{ |
| |
return forkpty (); |
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
if ac_fn_c_try_link "$LINENO"; then : |
| |
ac_cv_lib_util_forkpty=yes |
| |
else |
| |
ac_cv_lib_util_forkpty=no |
| |
fi |
| |
rm -f core conftest.err conftest.$ac_objext \ |
| |
conftest$ac_exeext conftest.$ac_ext |
| |
LIBS=$ac_check_lib_save_LIBS |
| |
fi |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_forkpty" >&5 |
| |
$as_echo "$ac_cv_lib_util_forkpty" >&6; } |
| |
if test "x$ac_cv_lib_util_forkpty" = xyes; then : |
| |
cat >>confdefs.h <<_ACEOF |
| |
#define HAVE_LIBUTIL 1 |
| |
_ACEOF |
| |
|
| |
LIBS="-lutil $LIBS" |
| |
|
| |
fi |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for aio_read in -lrt" >&5 |
| |
$as_echo_n "checking for aio_read in -lrt... " >&6; } |
| |
if ${ac_cv_lib_rt_aio_read+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
ac_check_lib_save_LIBS=$LIBS |
| |
LIBS="-lrt $LIBS" |
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
|
| |
/* Override any GCC internal prototype to avoid an error. |
| |
Use char because int might match the return type of a GCC |
| |
builtin and then its argument prototype would still apply. */ |
| |
#ifdef __cplusplus |
| |
extern "C" |
| |
#endif |
| |
char aio_read (); |
| |
int |
| |
main () |
| |
{ |
| |
return aio_read (); |
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
if ac_fn_c_try_link "$LINENO"; then : |
| |
ac_cv_lib_rt_aio_read=yes |
| |
else |
| |
ac_cv_lib_rt_aio_read=no |
| |
fi |
| |
rm -f core conftest.err conftest.$ac_objext \ |
| |
conftest$ac_exeext conftest.$ac_ext |
| |
LIBS=$ac_check_lib_save_LIBS |
| |
fi |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_aio_read" >&5 |
| |
$as_echo "$ac_cv_lib_rt_aio_read" >&6; } |
| |
if test "x$ac_cv_lib_rt_aio_read" = xyes; then : |
| |
cat >>confdefs.h <<_ACEOF |
| |
#define HAVE_LIBRT 1 |
| |
_ACEOF |
| |
|
| |
LIBS="-lrt $LIBS" |
| |
|
| |
fi |
| |
|
| |
|
| |
# Checks for header files. |
| ac_ext=c |
ac_ext=c |
| ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
Line 3851 fi
|
Line 3986 fi
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEBUG" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEBUG" >&5 |
| $as_echo "$DEBUG" >&6; } |
$as_echo "$DEBUG" >&6; } |
| |
|
| AIO=yes | AIO=no |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking AIO Build" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking AIO Build" >&5 |
| $as_echo_n "checking AIO Build... " >&6; } |
$as_echo_n "checking AIO Build... " >&6; } |
| # Check whether --enable-aio was given. |
# Check whether --enable-aio was given. |
|
Line 3866 $as_echo "#define AIO_OPS /**/" >>confdefs.h
|
Line 4001 $as_echo "#define AIO_OPS /**/" >>confdefs.h
|
| *) |
*) |
| ;; |
;; |
| esac |
esac |
| else |
|
| |
|
| $as_echo "#define AIO_OPS /**/" >>confdefs.h |
|
| |
|
| fi |
fi |
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIO" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIO" >&5 |
|
Line 4395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
Line 4526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
| # report actual input values of CONFIG_FILES etc. instead of their |
# report actual input values of CONFIG_FILES etc. instead of their |
| # values after options handling. |
# values after options handling. |
| ac_log=" |
ac_log=" |
| This file was extended by libaitio $as_me 1.5, which was | This file was extended by libaitio $as_me 3.1, which was |
| generated by GNU Autoconf 2.68. Invocation command line was |
generated by GNU Autoconf 2.68. Invocation command line was |
| |
|
| CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
|
Line 4451 $config_files
|
Line 4582 $config_files
|
| Configuration headers: |
Configuration headers: |
| $config_headers |
$config_headers |
| |
|
| Report bugs to <misho@openbsd-bg.org>." | Report bugs to <misho@elwix.org>." |
| |
|
| _ACEOF |
_ACEOF |
| cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| ac_cs_version="\\ |
ac_cs_version="\\ |
| libaitio config.status 1.5 | libaitio config.status 3.1 |
| configured by $0, generated by GNU Autoconf 2.68, |
configured by $0, generated by GNU Autoconf 2.68, |
| with options \\"\$ac_cs_config\\" |
with options \\"\$ac_cs_config\\" |
| |
|