--- libaitcfg/configure 2012/03/30 11:59:11 1.5.4.2 +++ libaitcfg/configure 2012/04/04 13:14:01 1.6.2.1 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68 for libaitcfg 5.0. +# Generated by GNU Autoconf 2.68 for libaitcfg 5.1. # # Report bugs to . # @@ -560,8 +560,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='libaitcfg' PACKAGE_TARNAME='libaitcfg' -PACKAGE_VERSION='5.0' -PACKAGE_STRING='libaitcfg 5.0' +PACKAGE_VERSION='5.1' +PACKAGE_STRING='libaitcfg 5.1' PACKAGE_BUGREPORT='misho@elwix.org' PACKAGE_URL='' @@ -1224,7 +1224,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 libaitcfg 5.0 to adapt to many kinds of systems. +\`configure' configures libaitcfg 5.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1290,7 +1290,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libaitcfg 5.0:";; + short | recursive ) echo "Configuration of libaitcfg 5.1:";; esac cat <<\_ACEOF @@ -1376,7 +1376,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libaitcfg configure 5.0 +libaitcfg configure 5.1 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. @@ -1745,7 +1745,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 libaitcfg $as_me 5.0, which was +It was created by libaitcfg $as_me 5.1, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ @@ -3221,6 +3221,51 @@ LDFLAGS="-L/usr/local/lib ${LDFLAGS}" # Checks for libraries. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_lock in -lpthread" >&5 +$as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; } +if ${ac_cv_lib_pthread_pthread_mutex_lock+:} 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_lock (); +int +main () +{ +return pthread_mutex_lock (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_pthread_pthread_mutex_lock=yes +else + ac_cv_lib_pthread_pthread_mutex_lock=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_lock" >&5 +$as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; } +if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBPTHREAD 1 +_ACEOF + + LIBS="-lpthread $LIBS" + +fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for io_TrimStr in -laitio" >&5 $as_echo_n "checking for io_TrimStr in -laitio... " >&6; } if ${ac_cv_lib_aitio_io_TrimStr+:} false; then : @@ -3266,7 +3311,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. # Checks for typedefs, structures, and compiler characteristics. @@ -4482,7 +4572,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 libaitcfg $as_me 5.0, which was +This file was extended by libaitcfg $as_me 5.1, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4544,7 +4634,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="\\ -libaitcfg config.status 5.0 +libaitcfg config.status 5.1 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\"