--- suX/configure 2013/04/09 07:39:36 1.2.2.1 +++ suX/configure 2014/03/26 00:32:01 1.4.2.2 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.64 for suX 3.0. +# Generated by GNU Autoconf 2.64 for suX 3.2. # # Report bugs to . # @@ -549,8 +549,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='suX' PACKAGE_TARNAME='sux' -PACKAGE_VERSION='3.0' -PACKAGE_STRING='suX 3.0' +PACKAGE_VERSION='3.2' +PACKAGE_STRING='suX 3.2' PACKAGE_BUGREPORT='misho@aitnet.org' PACKAGE_URL='' @@ -1213,7 +1213,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 suX 3.0 to adapt to many kinds of systems. +\`configure' configures suX 3.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1279,7 +1279,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of suX 3.0:";; + short | recursive ) echo "Configuration of suX 3.2:";; esac cat <<\_ACEOF @@ -1366,7 +1366,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -suX configure 3.0 +suX configure 3.2 generated by GNU Autoconf 2.64 Copyright (C) 2009 Free Software Foundation, Inc. @@ -1737,7 +1737,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 suX $as_me 3.0, which was +It was created by suX $as_me 3.2, which was generated by GNU Autoconf 2.64. Invocation command line was $ $0 $@ @@ -3183,6 +3183,51 @@ LDFLAGS="-L/usr/local/lib ${LDFLAGS}" # Checks for libraries. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 +$as_echo_n "checking for pthread_create in -lpthread... " >&6; } +if test "${ac_cv_lib_pthread_pthread_create+set}" = set; 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_create (); +int +main () +{ +return pthread_create (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_pthread_pthread_create=yes +else + ac_cv_lib_pthread_pthread_create=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_create" >&5 +$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } +if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBPTHREAD 1 +_ACEOF + + LIBS="-lpthread $LIBS" + +fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setusercontext in -lutil" >&5 $as_echo_n "checking for setusercontext in -lutil... " >&6; } if test "${ac_cv_lib_util_setusercontext+set}" = set; then : @@ -3228,13 +3273,13 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for io_arrayMake in -laitio" >&5 -$as_echo_n "checking for io_arrayMake in -laitio... " >&6; } -if test "${ac_cv_lib_aitio_io_arrayMake+set}" = set; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for array_Args in -lelwix" >&5 +$as_echo_n "checking for array_Args in -lelwix... " >&6; } +if test "${ac_cv_lib_elwix_array_Args+set}" = set; 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. */ @@ -3244,38 +3289,38 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext #ifdef __cplusplus extern "C" #endif -char io_arrayMake (); +char array_Args (); int main () { -return io_arrayMake (); +return array_Args (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_aitio_io_arrayMake=yes + ac_cv_lib_elwix_array_Args=yes else - ac_cv_lib_aitio_io_arrayMake=no + ac_cv_lib_elwix_array_Args=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_arrayMake" >&5 -$as_echo "$ac_cv_lib_aitio_io_arrayMake" >&6; } -if test "x$ac_cv_lib_aitio_io_arrayMake" = x""yes; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elwix_array_Args" >&5 +$as_echo "$ac_cv_lib_elwix_array_Args" >&6; } +if test "x$ac_cv_lib_elwix_array_Args" = x""yes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LIBAITIO 1 +#define HAVE_LIBELWIX 1 _ACEOF - LIBS="-laitio $LIBS" + LIBS="-lelwix $LIBS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LoadConfig in -laitcfg" >&5 -$as_echo_n "checking for LoadConfig in -laitcfg... " >&6; } -if test "${ac_cv_lib_aitcfg_LoadConfig+set}" = set; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cfg_getAttribute in -laitcfg" >&5 +$as_echo_n "checking for cfg_getAttribute in -laitcfg... " >&6; } +if test "${ac_cv_lib_aitcfg_cfg_getAttribute+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -3289,27 +3334,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext #ifdef __cplusplus extern "C" #endif -char LoadConfig (); +char cfg_getAttribute (); int main () { -return LoadConfig (); +return cfg_getAttribute (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_aitcfg_LoadConfig=yes + ac_cv_lib_aitcfg_cfg_getAttribute=yes else - ac_cv_lib_aitcfg_LoadConfig=no + ac_cv_lib_aitcfg_cfg_getAttribute=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_aitcfg_LoadConfig" >&5 -$as_echo "$ac_cv_lib_aitcfg_LoadConfig" >&6; } -if test "x$ac_cv_lib_aitcfg_LoadConfig" = x""yes; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitcfg_cfg_getAttribute" >&5 +$as_echo "$ac_cv_lib_aitcfg_cfg_getAttribute" >&6; } +if test "x$ac_cv_lib_aitcfg_cfg_getAttribute" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBAITCFG 1 _ACEOF @@ -4345,7 +4390,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 suX $as_me 3.0, which was +This file was extended by suX $as_me 3.2, which was generated by GNU Autoconf 2.64. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4405,7 +4450,7 @@ Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ -suX config.status 3.0 +suX config.status 3.2 configured by $0, generated by GNU Autoconf 2.64, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"