--- libaitcli/configure 2010/06/04 11:32:47 1.2 +++ libaitcli/configure 2011/03/16 17:24:03 1.3 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.62 for libaitcli 1.1. +# Generated by GNU Autoconf 2.62 for libaitcli 2.0. # # Report bugs to . # @@ -596,8 +596,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='libaitcli' PACKAGE_TARNAME='libaitcli' -PACKAGE_VERSION='1.1' -PACKAGE_STRING='libaitcli 1.1' +PACKAGE_VERSION='2.0' +PACKAGE_STRING='libaitcli 2.0' PACKAGE_BUGREPORT='misho@openbsd-bg.org' ac_unique_file="src/aitcli.c" @@ -1268,7 +1268,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 1.1 to adapt to many kinds of systems. +\`configure' configures libaitcli 2.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1334,7 +1334,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libaitcli 1.1:";; + short | recursive ) echo "Configuration of libaitcli 2.0:";; esac cat <<\_ACEOF @@ -1420,7 +1420,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libaitcli configure 1.1 +libaitcli configure 2.0 generated by GNU Autoconf 2.62 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1434,7 +1434,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 1.1, which was +It was created by libaitcli $as_me 2.0, which was generated by GNU Autoconf 2.62. Invocation command line was $ $0 $@ @@ -3092,13 +3092,13 @@ LDFLAGS="-L/usr/local/lib ${LDFLAGS}" # Checks for libraries. -{ $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5 -$as_echo_n "checking for readline in -lreadline... " >&6; } -if test "${ac_cv_lib_readline_readline+set}" = set; then +{ $as_echo "$as_me:$LINENO: checking for forkpty in -lutil" >&5 +$as_echo_n "checking for forkpty in -lutil... " >&6; } +if test "${ac_cv_lib_util_forkpty+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lreadline $LIBS" +LIBS="-lutil $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -3112,11 +3112,11 @@ cat >>conftest.$ac_ext <<_ACEOF #ifdef __cplusplus extern "C" #endif -char readline (); +char forkpty (); int main () { -return readline (); +return forkpty (); ; return 0; } @@ -3142,12 +3142,12 @@ $as_echo "$ac_try_echo") >&5 test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then - ac_cv_lib_readline_readline=yes + ac_cv_lib_util_forkpty=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_cv_lib_readline_readline=no + ac_cv_lib_util_forkpty=no fi rm -rf conftest.dSYM @@ -3155,25 +3155,25 @@ rm -f core conftest.err conftest.$ac_objext conftest_i conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5 -$as_echo "$ac_cv_lib_readline_readline" >&6; } -if test $ac_cv_lib_readline_readline = yes; then +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_forkpty" >&5 +$as_echo "$ac_cv_lib_util_forkpty" >&6; } +if test $ac_cv_lib_util_forkpty = yes; then cat >>confdefs.h <<_ACEOF -#define HAVE_LIBREADLINE 1 +#define HAVE_LIBUTIL 1 _ACEOF - LIBS="-lreadline $LIBS" + LIBS="-lutil $LIBS" fi -{ $as_echo "$as_me:$LINENO: checking for forkpty in -lutil" >&5 -$as_echo_n "checking for forkpty in -lutil... " >&6; } -if test "${ac_cv_lib_util_forkpty+set}" = set; then +{ $as_echo "$as_me:$LINENO: checking for io_TrimStr in -laitio" >&5 +$as_echo_n "checking for io_TrimStr in -laitio... " >&6; } +if test "${ac_cv_lib_aitio_io_TrimStr+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lutil $LIBS" +LIBS="-laitio $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -3187,11 +3187,11 @@ cat >>conftest.$ac_ext <<_ACEOF #ifdef __cplusplus extern "C" #endif -char forkpty (); +char io_TrimStr (); int main () { -return forkpty (); +return io_TrimStr (); ; return 0; } @@ -3217,12 +3217,12 @@ $as_echo "$ac_try_echo") >&5 test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then - ac_cv_lib_util_forkpty=yes + ac_cv_lib_aitio_io_TrimStr=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_cv_lib_util_forkpty=no + ac_cv_lib_aitio_io_TrimStr=no fi rm -rf conftest.dSYM @@ -3230,14 +3230,14 @@ rm -f core conftest.err conftest.$ac_objext conftest_i conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_forkpty" >&5 -$as_echo "$ac_cv_lib_util_forkpty" >&6; } -if test $ac_cv_lib_util_forkpty = yes; then +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_aitio_io_TrimStr" >&5 +$as_echo "$ac_cv_lib_aitio_io_TrimStr" >&6; } +if test $ac_cv_lib_aitio_io_TrimStr = yes; then cat >>confdefs.h <<_ACEOF -#define HAVE_LIBUTIL 1 +#define HAVE_LIBAITIO 1 _ACEOF - LIBS="-lutil $LIBS" + LIBS="-laitio $LIBS" fi @@ -4268,7 +4268,7 @@ fi done -for ac_func in readline +for ac_func in io_TrimStr do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -5018,7 +5018,7 @@ exec 6>&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 1.1, which was +This file was extended by libaitcli $as_me 2.0, which was generated by GNU Autoconf 2.62. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -5067,7 +5067,7 @@ Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ -libaitcli config.status 1.1 +libaitcli config.status 2.0 configured by $0, generated by GNU Autoconf 2.62, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"