--- libaitio/configure 2013/07/09 00:35:35 1.37 +++ libaitio/configure 2014/02/08 22:06:15 1.51 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for libaitio 5.5. +# Generated by GNU Autoconf 2.69 for libaitio 6.9. # # Report bugs to . # @@ -580,8 +580,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='libaitio' PACKAGE_TARNAME='libaitio' -PACKAGE_VERSION='5.5' -PACKAGE_STRING='libaitio 5.5' +PACKAGE_VERSION='6.9' +PACKAGE_STRING='libaitio 6.9' PACKAGE_BUGREPORT='misho@elwix.org' PACKAGE_URL='' @@ -694,6 +694,7 @@ ac_user_opts=' enable_option_checking enable_debug enable_aio +enable_zcpy_buffer ' ac_precious_vars='build_alias host_alias @@ -1244,7 +1245,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 5.5 to adapt to many kinds of systems. +\`configure' configures libaitio 6.9 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1310,7 +1311,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libaitio 5.5:";; + short | recursive ) echo "Configuration of libaitio 6.9:";; esac cat <<\_ACEOF @@ -1320,6 +1321,7 @@ Optional Features: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-debug Build library with debug information and additional messages --enable-aio Build library with AIO operations + --enable-zcpy-buffer Build library with zero-copy buffer Some influential environment variables: CC C compiler command @@ -1397,7 +1399,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libaitio configure 5.5 +libaitio configure 6.9 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1766,7 +1768,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 5.5, which was +It was created by libaitio $as_me 6.9, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3242,8 +3244,8 @@ fi -CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}" -LDFLAGS="-L/usr/local/lib ${LDFLAGS}" +CFLAGS="-Wall -O2 -fPIC ${CFLAGS}" +LDFLAGS="${LDFLAGS}" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherInit_ex in -lcrypto" >&5 @@ -3471,7 +3473,52 @@ _ACEOF fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for schedRead in -laitsched" >&5 +$as_echo_n "checking for schedRead in -laitsched... " >&6; } +if ${ac_cv_lib_aitsched_schedRead+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-laitsched $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 schedRead (); +int +main () +{ +return schedRead (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_aitsched_schedRead=yes +else + ac_cv_lib_aitsched_schedRead=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_aitsched_schedRead" >&5 +$as_echo "$ac_cv_lib_aitsched_schedRead" >&6; } +if test "x$ac_cv_lib_aitsched_schedRead" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBAITSCHED 1 +_ACEOF + + LIBS="-laitsched $LIBS" + +fi + + # Checks for header files. ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -4242,6 +4289,26 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIO" >&5 $as_echo "$AIO" >&6; } +ZCBUF=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Zero-copy buffer Build" >&5 +$as_echo_n "checking Zero-copy buffer Build... " >&6; } +# Check whether --enable-zcpy-buffer was given. +if test "${enable_zcpy_buffer+set}" = set; then : + enableval=$enable_zcpy_buffer; ZCBUF=$enableval + case "$enableval" in + yes) + +$as_echo "#define ZCBUF_ENABLE /**/" >>confdefs.h + + ;; + *) + ;; + esac +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZCBUF" >&5 +$as_echo "$ZCBUF" >&6; } + ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile" cat >confcache <<\_ACEOF @@ -4750,7 +4817,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 5.5, which was +This file was extended by libaitio $as_me 6.9, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4812,7 +4879,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 5.5 +libaitio config.status 6.9 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\"