--- libaitio/configure 2012/05/17 11:08:12 1.19.2.2 +++ libaitio/configure 2012/11/19 21:12:03 1.29 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for libaitio 2.8. +# Generated by GNU Autoconf 2.69 for libaitio 3.9. # # Report bugs to . # @@ -580,8 +580,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='libaitio' PACKAGE_TARNAME='libaitio' -PACKAGE_VERSION='2.8' -PACKAGE_STRING='libaitio 2.8' +PACKAGE_VERSION='3.9' +PACKAGE_STRING='libaitio 3.9' PACKAGE_BUGREPORT='misho@elwix.org' PACKAGE_URL='' @@ -1243,7 +1243,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 2.8 to adapt to many kinds of systems. +\`configure' configures libaitio 3.9 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1309,7 +1309,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libaitio 2.8:";; + short | recursive ) echo "Configuration of libaitio 3.9:";; esac cat <<\_ACEOF @@ -1396,7 +1396,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libaitio configure 2.8 +libaitio configure 3.9 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1765,7 +1765,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 2.8, which was +It was created by libaitio $as_me 3.9, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3284,6 +3284,51 @@ _ACEOF fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5 +$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; } +if ${ac_cv_lib_pthread_pthread_mutex_init+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lpthread $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 pthread_mutex_init (); +int +main () +{ +return pthread_mutex_init (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_pthread_pthread_mutex_init=yes +else + ac_cv_lib_pthread_pthread_mutex_init=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_pthread_pthread_mutex_init" >&5 +$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; } +if test "x$ac_cv_lib_pthread_pthread_mutex_init" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBPTHREAD 1 +_ACEOF + + LIBS="-lpthread $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 : @@ -3374,7 +3419,52 @@ _ACEOF fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for crcFletcher16 in -laitcrc" >&5 +$as_echo_n "checking for crcFletcher16 in -laitcrc... " >&6; } +if ${ac_cv_lib_aitcrc_crcFletcher16+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-laitcrc $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 crcFletcher16 (); +int +main () +{ +return crcFletcher16 (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_aitcrc_crcFletcher16=yes +else + ac_cv_lib_aitcrc_crcFletcher16=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_aitcrc_crcFletcher16" >&5 +$as_echo "$ac_cv_lib_aitcrc_crcFletcher16" >&6; } +if test "x$ac_cv_lib_aitcrc_crcFletcher16" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBAITCRC 1 +_ACEOF + + LIBS="-laitcrc $LIBS" + +fi + + # Checks for header files. ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -3987,9 +4077,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}" ;; *) @@ -4023,6 +4110,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 @@ -4531,7 +4632,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 2.8, which was +This file was extended by libaitio $as_me 3.9, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4593,7 +4694,7 @@ _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 2.8 +libaitio config.status 3.9 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\"