--- mqtt/configure 2013/01/18 09:43:26 1.3 +++ mqtt/configure 2017/10/08 22:49:24 1.4 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for mqtt 1.3. +# Generated by GNU Autoconf 2.69 for mqtt 2.0. # # Report bugs to . # @@ -580,8 +580,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='mqtt' PACKAGE_TARNAME='mqtt' -PACKAGE_VERSION='1.3' -PACKAGE_STRING='mqtt 1.3' +PACKAGE_VERSION='2.0' +PACKAGE_STRING='mqtt 2.0' PACKAGE_BUGREPORT='misho@elwix.org' PACKAGE_URL='' @@ -1246,7 +1246,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 mqtt 1.3 to adapt to many kinds of systems. +\`configure' configures mqtt 2.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1312,7 +1312,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of mqtt 1.3:";; + short | recursive ) echo "Configuration of mqtt 2.0:";; esac cat <<\_ACEOF @@ -1403,7 +1403,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -mqtt configure 1.3 +mqtt configure 2.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1826,7 +1826,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 mqtt $as_me 1.3, which was +It was created by mqtt $as_me 2.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2181,6 +2181,9 @@ ac_config_headers="$ac_config_headers inc/config.h" +ac_cv_func_malloc_0_nonnull="yes" +ac_cv_func_realloc_0_nonnull="yes" + # Checks for programs. ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -3577,13 +3580,13 @@ _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 "$as_me:${as_lineno-$LINENO}: checking for ait_allocVar in -lelwix" >&5 +$as_echo_n "checking for ait_allocVar in -lelwix... " >&6; } +if ${ac_cv_lib_elwix_ait_allocVar+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-laitcrc $LIBS" +LIBS="-lelwix $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -3593,80 +3596,35 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext #ifdef __cplusplus extern "C" #endif -char crcFletcher16 (); +char ait_allocVar (); int main () { -return crcFletcher16 (); +return ait_allocVar (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_aitcrc_crcFletcher16=yes + ac_cv_lib_elwix_ait_allocVar=yes else - ac_cv_lib_aitcrc_crcFletcher16=no + ac_cv_lib_elwix_ait_allocVar=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 : +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elwix_ait_allocVar" >&5 +$as_echo "$ac_cv_lib_elwix_ait_allocVar" >&6; } +if test "x$ac_cv_lib_elwix_ait_allocVar" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LIBAITCRC 1 +#define HAVE_LIBELWIX 1 _ACEOF - LIBS="-laitcrc $LIBS" + LIBS="-lelwix $LIBS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for io_allocVar in -laitio" >&5 -$as_echo_n "checking for io_allocVar in -laitio... " >&6; } -if ${ac_cv_lib_aitio_io_allocVar+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-laitio $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 io_allocVar (); -int -main () -{ -return io_allocVar (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_aitio_io_allocVar=yes -else - ac_cv_lib_aitio_io_allocVar=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_aitio_io_allocVar" >&5 -$as_echo "$ac_cv_lib_aitio_io_allocVar" >&6; } -if test "x$ac_cv_lib_aitio_io_allocVar" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBAITIO 1 -_ACEOF - - LIBS="-laitio $LIBS" - -fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cfgLoadConfig in -laitcfg" >&5 $as_echo_n "checking for cfgLoadConfig in -laitcfg... " >&6; } if ${ac_cv_lib_aitcfg_cfgLoadConfig+:} false; then : @@ -5381,7 +5339,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 mqtt $as_me 1.3, which was +This file was extended by mqtt $as_me 2.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -5443,7 +5401,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="\\ -mqtt config.status 1.3 +mqtt config.status 2.0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\"