--- libaitmqtt/configure 2016/09/14 15:24:21 1.8.2.2 +++ libaitmqtt/configure 2022/09/15 16:03:44 1.8.2.6 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for libaitmqtt 1.8. +# Generated by GNU Autoconf 2.69 for libaitmqtt 2.0. # # Report bugs to . # @@ -580,8 +580,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='libaitmqtt' PACKAGE_TARNAME='libaitmqtt' -PACKAGE_VERSION='1.8' -PACKAGE_STRING='libaitmqtt 1.8' +PACKAGE_VERSION='2.0' +PACKAGE_STRING='libaitmqtt 2.0' PACKAGE_BUGREPORT='misho@elwix.org' PACKAGE_URL='' @@ -670,6 +670,7 @@ infodir docdir oldincludedir includedir +runstatedir localstatedir sharedstatedir sysconfdir @@ -693,6 +694,7 @@ ac_subst_files='' ac_user_opts=' enable_option_checking enable_debug +with_elwix ' ac_precious_vars='build_alias host_alias @@ -741,6 +743,7 @@ datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' +runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' @@ -993,6 +996,15 @@ do | -silent | --silent | --silen | --sile | --sil) silent=yes ;; + -runstatedir | --runstatedir | --runstatedi | --runstated \ + | --runstate | --runstat | --runsta | --runst | --runs \ + | --run | --ru | --r) + ac_prev=runstatedir ;; + -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ + | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ + | --run=* | --ru=* | --r=*) + runstatedir=$ac_optarg ;; + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ @@ -1130,7 +1142,7 @@ fi for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir + libdir localedir mandir runstatedir do eval ac_val=\$$ac_var # Remove trailing slashes. @@ -1243,7 +1255,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 libaitmqtt 1.8 to adapt to many kinds of systems. +\`configure' configures libaitmqtt 2.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1283,6 +1295,7 @@ Fine tuning of the installation directories: --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] @@ -1309,7 +1322,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libaitmqtt 1.8:";; + short | recursive ) echo "Configuration of libaitmqtt 2.0:";; esac cat <<\_ACEOF @@ -1319,6 +1332,11 @@ Optional Features: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-debug Build library with debug information and additional messages +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-elwix Build library with libelwix memory managemant + Some influential environment variables: CC C compiler command CFLAGS C compiler flags @@ -1395,7 +1413,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libaitmqtt configure 1.8 +libaitmqtt configure 2.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1764,7 +1782,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 libaitmqtt $as_me 1.8, which was +It was created by libaitmqtt $as_me 2.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3927,7 +3945,7 @@ $as_echo "#define realloc rpl_realloc" >>confdefs.h fi -for ac_func in memset strdup strerror strtol +for ac_func in memset strdup strerror strtol strlcpy strlcat do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" @@ -3968,6 +3986,29 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEBUG" >&5 $as_echo "$DEBUG" >&6; } +ELWIX=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking With libelwix Build" >&5 +$as_echo_n "checking With libelwix Build... " >&6; } + +# Check whether --with-elwix was given. +if test "${with_elwix+set}" = set; then : + withval=$with_elwix; ELWIX=$withval + case "$withval" in + yes) + +$as_echo "#define __ELWIX /**/" >>confdefs.h + + CFLAGS="-g ${CFLAGS}" + LIBS="-lelwix" + ;; + *) + ;; + esac +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ELWIX" >&5 +$as_echo "$ELWIX" >&6; } + ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile" cat >confcache <<\_ACEOF @@ -4476,7 +4517,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 libaitmqtt $as_me 1.8, which was +This file was extended by libaitmqtt $as_me 2.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4538,7 +4579,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="\\ -libaitmqtt config.status 1.8 +libaitmqtt config.status 2.0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\"