--- libaitcli/configure 2013/01/17 15:45:47 1.6 +++ libaitcli/configure 2016/08/18 09:27:36 1.17 @@ -1,8 +1,8 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for libaitcli 2.3. +# Generated by GNU Autoconf 2.69 for libaitcli 4.0. # -# Report bugs to . +# Report bugs to . # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -266,11 +266,11 @@ fi $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else - $as_echo "$0: Please tell bug-autoconf@gnu.org and -$0: misho@openbsd-bg.org about your system, including any -$0: error possibly output before this message. Then install -$0: a modern shell, or manually run the script under such a -$0: shell if you do have one." + $as_echo "$0: Please tell bug-autoconf@gnu.org and misho@elwix.org +$0: about your system, including any error possibly output +$0: before this message. Then install a modern shell, or +$0: manually run the script under such a shell if you do +$0: have one." fi exit 1 fi @@ -580,9 +580,9 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='libaitcli' PACKAGE_TARNAME='libaitcli' -PACKAGE_VERSION='2.3' -PACKAGE_STRING='libaitcli 2.3' -PACKAGE_BUGREPORT='misho@openbsd-bg.org' +PACKAGE_VERSION='4.0' +PACKAGE_STRING='libaitcli 4.0' +PACKAGE_BUGREPORT='misho@elwix.org' PACKAGE_URL='' ac_unique_file="src/aitcli.c" @@ -640,6 +640,7 @@ build_os build_vendor build_cpu build +RANLIB INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM @@ -1242,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 libaitcli 2.3 to adapt to many kinds of systems. +\`configure' configures libaitcli 4.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1308,7 +1309,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libaitcli 2.3:";; + short | recursive ) echo "Configuration of libaitcli 4.0:";; esac cat <<\_ACEOF @@ -1331,7 +1332,7 @@ Some influential environment variables: Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. -Report bugs to . +Report bugs to . _ACEOF ac_status=$? fi @@ -1394,7 +1395,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libaitcli configure 2.3 +libaitcli configure 4.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1599,9 +1600,9 @@ $as_echo "$as_me: WARNING: $2: see the Autoconf docume $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} -( $as_echo "## ----------------------------------- ## -## Report this to misho@openbsd-bg.org ## -## ----------------------------------- ##" +( $as_echo "## ------------------------------ ## +## Report this to misho@elwix.org ## +## ------------------------------ ##" ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac @@ -1763,7 +1764,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 libaitcli $as_me 2.3, which was +It was created by libaitcli $as_me 4.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2115,6 +2116,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu 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' @@ -3027,7 +3031,99 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +$as_echo "$RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 +$as_echo "$ac_ct_RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_RANLIB" = x; then + RANLIB=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + RANLIB=$ac_ct_RANLIB + fi +else + RANLIB="$ac_cv_prog_RANLIB" +fi + + # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 @@ -3217,7 +3313,7 @@ $as_echo "no" >&6; } fi if test "x$ac_ct_MKDEP" = x; then - MKDEP="no" + MKDEP="../mkdep" else case $cross_compiling:$ac_tool_warned in yes:) @@ -3233,8 +3329,8 @@ fi -CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}" -LDFLAGS="-L/usr/local/lib ${LDFLAGS}" +CFLAGS="-Wall -O2 -fPIC ${CFLAGS}" +LDFLAGS="${LDFLAGS}" # Checks for libraries. @@ -3283,13 +3379,13 @@ _ACEOF 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 : +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for str_Trim in -lelwix" >&5 +$as_echo_n "checking for str_Trim in -lelwix... " >&6; } +if ${ac_cv_lib_elwix_str_Trim+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-laitio $LIBS" +LIBS="-lelwix $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -3299,32 +3395,32 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext #ifdef __cplusplus extern "C" #endif -char io_TrimStr (); +char str_Trim (); int main () { -return io_TrimStr (); +return str_Trim (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_aitio_io_TrimStr=yes + ac_cv_lib_elwix_str_Trim=yes else - ac_cv_lib_aitio_io_TrimStr=no + ac_cv_lib_elwix_str_Trim=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_TrimStr" >&5 -$as_echo "$ac_cv_lib_aitio_io_TrimStr" >&6; } -if test "x$ac_cv_lib_aitio_io_TrimStr" = xyes; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elwix_str_Trim" >&5 +$as_echo "$ac_cv_lib_elwix_str_Trim" >&6; } +if test "x$ac_cv_lib_elwix_str_Trim" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LIBAITIO 1 +#define HAVE_LIBELWIX 1 _ACEOF - LIBS="-laitio $LIBS" + LIBS="-lelwix $LIBS" fi @@ -3798,12 +3894,12 @@ _ACEOF fi done -for ac_func in io_TrimStr +for ac_func in str_Trim do : - ac_fn_c_check_func "$LINENO" "io_TrimStr" "ac_cv_func_io_TrimStr" -if test "x$ac_cv_func_io_TrimStr" = xyes; then : + ac_fn_c_check_func "$LINENO" "str_Trim" "ac_cv_func_str_Trim" +if test "x$ac_cv_func_str_Trim" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_IO_TRIMSTR 1 +#define HAVE_STR_TRIM 1 _ACEOF fi @@ -4353,7 +4449,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 libaitcli $as_me 2.3, which was +This file was extended by libaitcli $as_me 4.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4409,13 +4505,13 @@ $config_files Configuration headers: $config_headers -Report bugs to ." +Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -libaitcli config.status 2.3 +libaitcli config.status 4.0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\"