--- libaitio/configure 2011/04/20 22:56:31 1.9 +++ libaitio/configure 2012/05/23 14:37:36 1.20.2.3 @@ -1,8 +1,8 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68 for libaitio 1.7. +# Generated by GNU Autoconf 2.68 for libaitio 3.1. # -# Report bugs to . +# Report bugs to . # # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -238,11 +238,11 @@ fi $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else - $as_echo "$0: Please tell bug-autoconf@gnu.org and -$0: misho@openbsd-bg.org about your system, including any -$0: error possibly output before this message. Then install -$0: a modern shell, or manually run the script under such a -$0: shell if you do have one." + $as_echo "$0: Please tell bug-autoconf@gnu.org and misho@elwix.org +$0: about your system, including any error possibly output +$0: before this message. Then install a modern shell, or +$0: manually run the script under such a shell if you do +$0: have one." fi exit 1 fi @@ -560,9 +560,9 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='libaitio' PACKAGE_TARNAME='libaitio' -PACKAGE_VERSION='1.7' -PACKAGE_STRING='libaitio 1.7' -PACKAGE_BUGREPORT='misho@openbsd-bg.org' +PACKAGE_VERSION='3.1' +PACKAGE_STRING='libaitio 3.1' +PACKAGE_BUGREPORT='misho@elwix.org' PACKAGE_URL='' ac_unique_file="src/aitio.c" @@ -1225,7 +1225,7 @@ if test "$ac_init_help" = "long"; then # 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. cat <<_ACEOF -\`configure' configures libaitio 1.7 to adapt to many kinds of systems. +\`configure' configures libaitio 3.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1291,7 +1291,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libaitio 1.7:";; + short | recursive ) echo "Configuration of libaitio 3.1:";; esac cat <<\_ACEOF @@ -1315,7 +1315,7 @@ Some influential environment variables: Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. -Report bugs to . +Report bugs to . _ACEOF ac_status=$? fi @@ -1378,7 +1378,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libaitio configure 1.7 +libaitio configure 3.1 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. @@ -1583,9 +1583,9 @@ $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:${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 "## ----------------------------------- ## -## Report this to misho@openbsd-bg.org ## -## ----------------------------------- ##" +( $as_echo "## ------------------------------ ## +## Report this to misho@elwix.org ## +## ------------------------------ ##" ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac @@ -1747,7 +1747,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libaitio $as_me 1.7, which was +It was created by libaitio $as_me 3.1, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ @@ -3267,7 +3267,97 @@ _ACEOF 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_cpp='$CPP $CPPFLAGS' @@ -3880,9 +3970,6 @@ if test "${enable_debug+set}" = set; then : enableval=$enable_debug; DEBUG=$enableval case "$enableval" in yes) - -$as_echo "#define __DEBUG /**/" >>confdefs.h - CFLAGS="-g ${CFLAGS}" ;; *) @@ -3916,6 +4003,20 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIO" >&5 $as_echo "$AIO" >&6; } +#MPOOL=no +#AC_MSG_CHECKING(Use ELWIX MPOOL) +#AC_ARG_ENABLE(mpool, +# [ --enable-mpool Build library with MPOOL operations ], +# [ MPOOL=$enableval +# case "$enableval" in +# yes) +# AC_DEFINE(USE_MPOOL,, [Build library with MPOOL operations]) +# ;; +# *) +# ;; +# esac ],) +#AC_MSG_RESULT($MPOOL) + ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile" cat >confcache <<\_ACEOF @@ -4436,7 +4537,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by libaitio $as_me 1.7, which was +This file was extended by libaitio $as_me 3.1, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4492,13 +4593,13 @@ $config_files Configuration headers: $config_headers -Report bugs to ." +Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -libaitio config.status 1.7 +libaitio config.status 3.1 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\"