--- suX/configure 2013/04/09 07:37:49 1.2 +++ suX/configure 2013/04/09 15:59:44 1.3 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.64 for suX 2.1. +# Generated by GNU Autoconf 2.64 for suX 3.0. # # Report bugs to . # @@ -549,8 +549,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='suX' PACKAGE_TARNAME='sux' -PACKAGE_VERSION='2.1' -PACKAGE_STRING='suX 2.1' +PACKAGE_VERSION='3.0' +PACKAGE_STRING='suX 3.0' 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 2.1 to adapt to many kinds of systems. +\`configure' configures suX 3.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1234,11 +1234,9 @@ Configuration: --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: - --prefix=PREFIX - install architecture-independent files in PREFIX + --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] - --exec-prefix=EPREFIX - install architecture-dependent files in EPREFIX + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in @@ -1263,8 +1261,7 @@ Fine tuning of the installation directories: --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR - documentation root [DATAROOTDIR/doc/sux] + --docdir=DIR documentation root [DATAROOTDIR/doc/sux] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] @@ -1282,7 +1279,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of suX 2.1:";; + short | recursive ) echo "Configuration of suX 3.0:";; esac cat <<\_ACEOF @@ -1294,20 +1291,14 @@ Optional Features: --enable-debug Build program with debug information and additional messages Some influential environment variables: - CC - C compiler command - CFLAGS - C compiler flags - LDFLAGS - linker flags, e.g. -L if you have libraries in a + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory - LIBS - libraries to pass to the linker, e.g. -l - CPPFLAGS - C/C++/Objective C preprocessor flags, e.g. -I if + LIBS libraries to pass to the linker, e.g. -l + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if you have headers in a nonstandard directory - CPP - C preprocessor + CPP C preprocessor Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. @@ -1375,7 +1366,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -suX configure 2.1 +suX configure 3.0 generated by GNU Autoconf 2.64 Copyright (C) 2009 Free Software Foundation, Inc. @@ -1746,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 2.1, which was +It was created by suX $as_me 3.0, which was generated by GNU Autoconf 2.64. Invocation command line was $ $0 $@ @@ -1961,32 +1952,26 @@ $as_echo "/* confdefs.h */" > confdefs.h cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" - _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" - _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" - _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" - _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" - _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" - _ACEOF @@ -3198,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 : @@ -3237,20 +3267,19 @@ $as_echo "$ac_cv_lib_util_setusercontext" >&6; } if test "x$ac_cv_lib_util_setusercontext" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBUTIL 1 - _ACEOF LIBS="-lutil $LIBS" 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. */ @@ -3260,39 +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 @@ -3306,30 +3334,29 @@ 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 LIBS="-laitcfg $LIBS" @@ -3714,8 +3741,7 @@ fi $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then -$as_echo "#define STDC_HEADERS 1 -" >>confdefs.h +$as_echo "#define STDC_HEADERS 1" >>confdefs.h fi @@ -3723,15 +3749,13 @@ fi for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header -" | $as_tr_sh` + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " eval as_val=\$$as_ac_Header if test "x$as_val" = x""yes; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 - _ACEOF fi @@ -3741,14 +3765,12 @@ done for ac_header in stdlib.h string.h sys/param.h syslog.h unistd.h do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header -" | $as_tr_sh` + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" eval as_val=\$$as_ac_Header if test "x$as_val" = x""yes; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 - _ACEOF fi @@ -3803,14 +3825,12 @@ esac # Checks for library functions. for ac_func in endgrent endpwent getcwd strcasecmp strerror strrchr strtol do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func -" | $as_tr_sh` + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" eval as_val=\$$as_ac_var if test "x$as_val" = x""yes; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 - _ACEOF fi @@ -3844,22 +3864,19 @@ if test "${enable_debug+set}" = set; then : case "$enableval" in yes) -$as_echo "#define __DEBUG /**/ -" >>confdefs.h +$as_echo "#define __DEBUG /**/" >>confdefs.h CFLAGS="-g ${CFLAGS}" ;; *) -$as_echo "#define NDEBUG /**/ -" >>confdefs.h +$as_echo "#define NDEBUG /**/" >>confdefs.h ;; esac else -$as_echo "#define NDEBUG /**/ -" >>confdefs.h +$as_echo "#define NDEBUG /**/" >>confdefs.h fi @@ -4373,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 2.1, which was +This file was extended by suX $as_me 3.0, which was generated by GNU Autoconf 2.64. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4418,10 +4435,8 @@ Usage: $0 [OPTION]... [TAG]... -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] - instantiate the configuration file FILE --header=FILE[:TEMPLATE] - instantiate the configuration header FILE Configuration files: @@ -4435,7 +4450,7 @@ Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ -suX config.status 2.1 +suX config.status 3.0 configured by $0, generated by GNU Autoconf 2.64, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"