--- suX/configure 2013/04/09 07:39:36 1.2.2.1 +++ suX/configure 2013/04/09 08:17:40 1.2.2.2 @@ -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 cfgLoadConfig in -laitcfg" >&5 +$as_echo_n "checking for cfgLoadConfig in -laitcfg... " >&6; } +if test "${ac_cv_lib_aitcfg_cfgLoadConfig+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 cfgLoadConfig (); int main () { -return LoadConfig (); +return cfgLoadConfig (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_aitcfg_LoadConfig=yes + ac_cv_lib_aitcfg_cfgLoadConfig=yes else - ac_cv_lib_aitcfg_LoadConfig=no + ac_cv_lib_aitcfg_cfgLoadConfig=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_cfgLoadConfig" >&5 +$as_echo "$ac_cv_lib_aitcfg_cfgLoadConfig" >&6; } +if test "x$ac_cv_lib_aitcfg_cfgLoadConfig" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBAITCFG 1 _ACEOF