diff --git a/stix/Makefile.in b/stix/Makefile.in index 9dbcd3b..4e4c52b 100644 --- a/stix/Makefile.in +++ b/stix/Makefile.in @@ -79,15 +79,14 @@ build_triplet = @build@ host_triplet = @host@ subdir = . DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ - $(top_srcdir)/configure $(am__configure_deps) COPYING INSTALL \ - ac/ar-lib ac/compile ac/config.guess ac/config.sub ac/depcomp \ + $(top_srcdir)/configure $(am__configure_deps) ac/ar-lib \ + ac/compile ac/config.guess ac/config.sub ac/depcomp \ ac/install-sh ac/missing ac/ltmain.sh $(top_srcdir)/ac/ar-lib \ $(top_srcdir)/ac/compile $(top_srcdir)/ac/config.guess \ $(top_srcdir)/ac/config.sub $(top_srcdir)/ac/install-sh \ $(top_srcdir)/ac/ltmain.sh $(top_srcdir)/ac/missing ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/argz.m4 \ - $(top_srcdir)/m4/ax_check_sign.m4 \ $(top_srcdir)/m4/ax_cxx_namespace.m4 \ $(top_srcdir)/m4/ax_numval.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltdl.m4 $(top_srcdir)/m4/ltoptions.m4 \ @@ -284,11 +283,8 @@ RANLIB = @RANLIB@ RM = @RM@ RMDIR = @RMDIR@ SED = @SED@ -SENDFILE_LIBS = @SENDFILE_LIBS@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ -SOCKET_LIBS = @SOCKET_LIBS@ -SSL_LIBS = @SSL_LIBS@ STIX_PROJECT_AUTHOR = @STIX_PROJECT_AUTHOR@ STIX_PROJECT_URL = @STIX_PROJECT_URL@ STIX_SIZEOF_CHAR = @STIX_SIZEOF_CHAR@ diff --git a/stix/aclocal.m4 b/stix/aclocal.m4 index 9050d11..9d6a1ad 100644 --- a/stix/aclocal.m4 +++ b/stix/aclocal.m4 @@ -1208,7 +1208,6 @@ AC_SUBST([am__untar]) ]) # _AM_PROG_TAR m4_include([m4/argz.m4]) -m4_include([m4/ax_check_sign.m4]) m4_include([m4/ax_cxx_namespace.m4]) m4_include([m4/ax_numval.m4]) m4_include([m4/libtool.m4]) diff --git a/stix/configure b/stix/configure index af49a39..bc497ef 100755 --- a/stix/configure +++ b/stix/configure @@ -665,10 +665,7 @@ PACKAGE_VERSION_PATCH PACKAGE_VERSION_MINOR PACKAGE_VERSION_MAJOR QUADMATH_LIBS -SSL_LIBS UNICOWS_LIBS -SENDFILE_LIBS -SOCKET_LIBS LIBM WIN32_FALSE WIN32_TRUE @@ -832,7 +829,6 @@ with_included_ltdl with_ltdl_include with_ltdl_lib enable_ltdl_install -enable_ssl enable_debug enable_cxx ' @@ -1479,7 +1475,6 @@ Optional Features: optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) --enable-ltdl-install install libltdl - --enable-ssl build the library in the ssl mode (default. yes) --enable-debug build the library in the debug mode (default. no) --enable-cxx build the library for C++ if a C++ compiler is available (default. yes) @@ -2163,63 +2158,6 @@ fi } # ac_fn_c_check_header_mongrel -# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES -# ---------------------------------------------------- -# Tries to find if the field MEMBER exists in type AGGR, after including -# INCLUDES, setting cache variable VAR accordingly. -ac_fn_c_check_member () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 -$as_echo_n "checking for $2.$3... " >&6; } -if eval \${$4+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$5 -int -main () -{ -static $2 ac_aggr; -if (ac_aggr.$3) -return 0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - eval "$4=yes" -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$5 -int -main () -{ -static $2 ac_aggr; -if (sizeof ac_aggr.$3) -return 0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - eval "$4=yes" -else - eval "$4=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$4 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_member - # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES # -------------------------------------------- # Tries to find the compile-time value of EXPR in a program that includes @@ -18560,210 +18498,9 @@ fi done -for ac_header in sys/resource.h sys/wait.h sys/syscall.h sys/ioctl.h -do : - 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" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - -for ac_header in sys/sendfile.h sys/epoll.h sys/event.h -do : - 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" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - -for ac_header in sys/sysctl.h sys/socket.h sys/sockio.h sys/un.h -do : - 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" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - -for ac_header in ifaddrs.h tiuser.h linux/netfilter_ipv4.h netinet/sctp.h -do : - 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" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - -for ac_header in net/if.h net/if_dl.h -do : - 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" " - #include - #include -" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - -for ac_header in sys/stropts.h sys/macstat.h linux/ethtool.h linux/sockios.h -do : - 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" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - -for ac_header in quadmath.h crt_externs.h sys/prctl.h uci.h -do : - 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" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - -for ac_func in uselocale -do : - ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale" -if test "x$ac_cv_func_uselocale" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_USELOCALE 1 -_ACEOF - -fi -done - -for ac_func in mbrlen mbrtowc wcrtomb -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mbsnrtowcs mbsrtowcs wcsnrtombs wcsrtombs -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in wctype iswctype wctrans towctrans -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in isblank iswblank -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in lseek64 stat64 fstat64 lstat64 ftruncate64 readdir64 dirfd -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in lstat fchmod fsync ftruncate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in timegm timelocal localtime_r gettimeofday settimeofday -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in utime utimes futimes lutimes futimens -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in sysconf prctl fdopendir setrlimit getrlimit getpgid getpgrp +for ac_func in gettimeofday settimeofday clock_gettime clock_settime do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" @@ -18787,18 +18524,6 @@ _ACEOF fi done -for ac_func in fork vfork posix_spawn gettid nanosleep select -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - for ac_func in makecontext swapcontext getcontext setcontext do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` @@ -18824,470 +18549,6 @@ fi done -OLDLIBS="$LIBS" -LIBS="$LIBM $LIBS" -for ac_func in powl fmodl sinl cosl tanl sinhl coshl tanhl asinl acosl atanl atan2l logl log10l expl sqrtl ceill floorl roundl -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in pow fmod sin cos tan sinh cosh tanh asin acos atan atan2 log log10 exp sqrt ceil floor round -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in powf fmodf sinf cosf tanf sinhf coshf tanhf asinf acosf atanf atan2f logf log10f expf sqrtf ceilf floorf roundf -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -LIBS="$OLDLIBS" - -for ac_func in connect gethostbyname -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test "x$ac_cv_func_gethostbyname" = "xno" -then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 -$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } -if ${ac_cv_lib_nsl_gethostbyname+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lnsl $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 gethostbyname (); -int -main () -{ -return gethostbyname (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_nsl_gethostbyname=yes -else - ac_cv_lib_nsl_gethostbyname=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_nsl_gethostbyname" >&5 -$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } -if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : - - SOCKET_LIBS="$SOCKET_LIBS -lnsl" - $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h - - -fi - -fi -if test "x$ac_cv_func_connect" = "xno" -then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 -$as_echo_n "checking for connect in -lsocket... " >&6; } -if ${ac_cv_lib_socket_connect+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lsocket $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 connect (); -int -main () -{ -return connect (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_socket_connect=yes -else - ac_cv_lib_socket_connect=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_socket_connect" >&5 -$as_echo "$ac_cv_lib_socket_connect" >&6; } -if test "x$ac_cv_lib_socket_connect" = xyes; then : - - SOCKET_LIBS="$SOCKET_LIBS -lsocket" - $as_echo "#define HAVE_CONNECT 1" >>confdefs.h - - -fi - - - if test "x$ac_cv_lib_socket_connect" = xno - then - for ac_func in t_connect -do : - ac_fn_c_check_func "$LINENO" "t_connect" "ac_cv_func_t_connect" -if test "x$ac_cv_func_t_connect" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_T_CONNECT 1 -_ACEOF - -fi -done - - if test "x$ac_cv_func_t_connect" = "xno" - then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for t_connect in -lnsl_s" >&5 -$as_echo_n "checking for t_connect in -lnsl_s... " >&6; } -if ${ac_cv_lib_nsl_s_t_connect+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lnsl_s $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 t_connect (); -int -main () -{ -return t_connect (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_nsl_s_t_connect=yes -else - ac_cv_lib_nsl_s_t_connect=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_nsl_s_t_connect" >&5 -$as_echo "$ac_cv_lib_nsl_s_t_connect" >&6; } -if test "x$ac_cv_lib_nsl_s_t_connect" = xyes; then : - - SOCKET_LIBS="$SOCKET_LIBS -lnsl_s" - $as_echo "#define HAVE_T_CONNECT 1" >>confdefs.h - - -fi - - fi - fi -fi -if test "x${platform_win32}" = "xyes" -then - SOCKET_LIBS="$SOCKET_LIBS -lws2_32" -fi - - -OLDLIBS="$LIBS" -LIBS="$SOCKET_LIBS $LIBS" -for ac_func in if_nametoindex if_indextoname getifaddrs -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -LIBS="$OLDLIBS" - -for ac_func in sendfile sendfile64 sendfilev sendfilev64 -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test "$ac_cv_func_sendfile" = "no" -then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile in -lsendfile" >&5 -$as_echo_n "checking for sendfile in -lsendfile... " >&6; } -if ${ac_cv_lib_sendfile_sendfile+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lsendfile $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 sendfile (); -int -main () -{ -return sendfile (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_sendfile_sendfile=yes -else - ac_cv_lib_sendfile_sendfile=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_sendfile_sendfile" >&5 -$as_echo "$ac_cv_lib_sendfile_sendfile" >&6; } -if test "x$ac_cv_lib_sendfile_sendfile" = xyes; then : - - SENDFILE_LIBS="-lsendfile" - $as_echo "#define HAVE_SENDFILE 1" >>confdefs.h - - -fi - -fi -if test "$ac_cv_func_sendfile64" = "no" -then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile64 in -lsendfile" >&5 -$as_echo_n "checking for sendfile64 in -lsendfile... " >&6; } -if ${ac_cv_lib_sendfile_sendfile64+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lsendfile $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 sendfile64 (); -int -main () -{ -return sendfile64 (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_sendfile_sendfile64=yes -else - ac_cv_lib_sendfile_sendfile64=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_sendfile_sendfile64" >&5 -$as_echo "$ac_cv_lib_sendfile_sendfile64" >&6; } -if test "x$ac_cv_lib_sendfile_sendfile64" = xyes; then : - - SENDFILE_LIBS="-lsendfile" - $as_echo "#define HAVE_SENDFILE64 1" >>confdefs.h - - -fi - -fi -if test "$ac_cv_func_sendfilev" = "no" -then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfilev in -lsendfile" >&5 -$as_echo_n "checking for sendfilev in -lsendfile... " >&6; } -if ${ac_cv_lib_sendfile_sendfilev+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lsendfile $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 sendfilev (); -int -main () -{ -return sendfilev (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_sendfile_sendfilev=yes -else - ac_cv_lib_sendfile_sendfilev=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_sendfile_sendfilev" >&5 -$as_echo "$ac_cv_lib_sendfile_sendfilev" >&6; } -if test "x$ac_cv_lib_sendfile_sendfilev" = xyes; then : - - SENDFILE_LIBS="-lsendfile" - $as_echo "#define HAVE_SENDFILEV 1" >>confdefs.h - - -fi - -fi -if test "$ac_cv_func_sendfilev64" = "no" -then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfilev64 in -lsendfile" >&5 -$as_echo_n "checking for sendfilev64 in -lsendfile... " >&6; } -if ${ac_cv_lib_sendfile_sendfilev64+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lsendfile $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 sendfilev64 (); -int -main () -{ -return sendfilev64 (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_sendfile_sendfilev64=yes -else - ac_cv_lib_sendfile_sendfilev64=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_sendfile_sendfilev64" >&5 -$as_echo "$ac_cv_lib_sendfile_sendfilev64" >&6; } -if test "x$ac_cv_lib_sendfile_sendfilev64" = xyes; then : - - SENDFILE_LIBS="-lsendfile" - $as_echo "#define HAVE_SENDFILEV64 1" >>confdefs.h - - -fi - -fi - - -for ac_func in epoll_create epoll_create1 -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -if test "$ac_cv_func_epoll_create" = "yes" -then - -$as_echo "#define HAVE_EPOLL 1" >>confdefs.h - -fi - -for ac_func in kqueue kqueue1 kevent -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5 $as_echo_n "checking for main in -lunicows... " >&6; } if ${ac_cv_lib_unicows_main+:} false; then : @@ -19324,54 +18585,13 @@ fi -# Check whether --enable-ssl was given. -if test "${enable_ssl+set}" = set; then : - enableval=$enable_ssl; enable_ssl_is=$enableval -else - enable_ssl_is=yes -fi - -if test "x$enable_ssl_is" = "xyes" -then - for ac_header in openssl/ssl.h openssl/err.h openssl/engine.h -do : - 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" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - - for ac_func in SSL_library_init -do : - ac_fn_c_check_func "$LINENO" "SSL_library_init" "ac_cv_func_SSL_library_init" -if test "x$ac_cv_func_SSL_library_init" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SSL_LIBRARY_INIT 1 -_ACEOF - -fi -done - - - if test "x$ac_cv_func_SSL_library_init" = "xyes" - then - -$as_echo "#define HAVE_SSL 1" >>confdefs.h - - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 -$as_echo_n "checking for SSL_library_init in -lssl... " >&6; } -if ${ac_cv_lib_ssl_SSL_library_init+:} false; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 +$as_echo_n "checking for clock_gettime in -lrt... " >&6; } +if ${ac_cv_lib_rt_clock_gettime+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lssl $LIBS" +LIBS="-lrt $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -19381,465 +18601,28 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext #ifdef __cplusplus extern "C" #endif -char SSL_library_init (); +char clock_gettime (); int main () { -return SSL_library_init (); +return clock_gettime (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_ssl_SSL_library_init=yes + ac_cv_lib_rt_clock_gettime=yes else - ac_cv_lib_ssl_SSL_library_init=no + ac_cv_lib_rt_clock_gettime=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_ssl_SSL_library_init" >&5 -$as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } -if test "x$ac_cv_lib_ssl_SSL_library_init" = xyes; then : - - SSL_LIBS="-lssl" - -$as_echo "#define HAVE_SSL 1" >>confdefs.h - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_get_error in -lcrypto" >&5 -$as_echo_n "checking for ERR_get_error in -lcrypto... " >&6; } -if ${ac_cv_lib_crypto_ERR_get_error+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lcrypto $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 ERR_get_error (); -int -main () -{ -return ERR_get_error (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_crypto_ERR_get_error=yes -else - ac_cv_lib_crypto_ERR_get_error=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_crypto_ERR_get_error" >&5 -$as_echo "$ac_cv_lib_crypto_ERR_get_error" >&6; } -if test "x$ac_cv_lib_crypto_ERR_get_error" = xyes; then : - - SSL_LIBS="${SSL_LIBS} -lcrypto" - -fi - - - $as_echo "#define HAVE_SSL_LIBRARY_INIT 1" >>confdefs.h - - -fi - - fi - - OLDLIBS="$LIBS" - LIBS="$SSL_LIBS $LIBS" - for ac_func in ENGINE_cleanup CRYPTO_cleanup_all_ex_data -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - LIBS="$OLDLIBS" -fi - - -ac_header_dirent=no -for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do - as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 -$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } -if eval \${$as_ac_Header+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include <$ac_hdr> - -int -main () -{ -if ((DIR *) 0) -return 0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - eval "$as_ac_Header=yes" -else - eval "$as_ac_Header=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$as_ac_Header - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 -_ACEOF - -ac_header_dirent=$ac_hdr; break -fi - -done -# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. -if test $ac_header_dirent = dirent.h; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 -$as_echo_n "checking for library containing opendir... " >&6; } -if ${ac_cv_search_opendir+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$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 opendir (); -int -main () -{ -return opendir (); - ; - return 0; -} -_ACEOF -for ac_lib in '' dir; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_c_try_link "$LINENO"; then : - ac_cv_search_opendir=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_opendir+:} false; then : - break -fi -done -if ${ac_cv_search_opendir+:} false; then : - -else - ac_cv_search_opendir=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 -$as_echo "$ac_cv_search_opendir" >&6; } -ac_res=$ac_cv_search_opendir -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 -$as_echo_n "checking for library containing opendir... " >&6; } -if ${ac_cv_search_opendir+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$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 opendir (); -int -main () -{ -return opendir (); - ; - return 0; -} -_ACEOF -for ac_lib in '' x; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_c_try_link "$LINENO"; then : - ac_cv_search_opendir=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_opendir+:} false; then : - break -fi -done -if ${ac_cv_search_opendir+:} false; then : - -else - ac_cv_search_opendir=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 -$as_echo "$ac_cv_search_opendir" >&6; } -ac_res=$ac_cv_search_opendir -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - -fi - - - - ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" " -#include -#ifdef HAVE_DIRENT_H -# include -#else -# define dirent direct -# ifdef HAVE_SYS_NDIR_H -# include -# endif -# ifdef HAVE_SYS_DIR_H -# include -# endif -# ifdef HAVE_NDIR_H -# include -# endif -#endif - -" -if test "x$ac_cv_member_struct_dirent_d_type" = xyes; then : - -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_DIRENT_D_TYPE 1 -_ACEOF - - -fi - - -ac_fn_c_check_member "$LINENO" "DIR" "d_fd" "ac_cv_member_DIR_d_fd" "#include -" -if test "x$ac_cv_member_DIR_d_fd" = xyes; then : - -cat >>confdefs.h <<_ACEOF -#define HAVE_DIR_D_FD 1 -_ACEOF - - -fi -ac_fn_c_check_member "$LINENO" "DIR" "dd_fd" "ac_cv_member_DIR_dd_fd" "#include -" -if test "x$ac_cv_member_DIR_dd_fd" = xyes; then : - -cat >>confdefs.h <<_ACEOF -#define HAVE_DIR_DD_FD 1 -_ACEOF - - -fi - -ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default" -if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then : - -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1 -_ACEOF - - -fi - -ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim.tv_nsec" "ac_cv_member_struct_stat_st_mtim_tv_nsec" "$ac_includes_default" -if test "x$ac_cv_member_struct_stat_st_mtim_tv_nsec" = xyes; then : - -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 -_ACEOF - - -fi - -ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim.tv_nsec" "ac_cv_member_struct_stat_st_birthtim_tv_nsec" "$ac_includes_default" -if test "x$ac_cv_member_struct_stat_st_birthtim_tv_nsec" = xyes; then : - -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC 1 -_ACEOF - - -fi - -ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec.tv_nsec" "ac_cv_member_struct_stat_st_mtimespec_tv_nsec" "$ac_includes_default" -if test "x$ac_cv_member_struct_stat_st_mtimespec_tv_nsec" = xyes; then : - -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC 1 -_ACEOF - - -fi - -ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec.tv_nsec" "ac_cv_member_struct_stat_st_birthtimespec_tv_nsec" "$ac_includes_default" -if test "x$ac_cv_member_struct_stat_st_birthtimespec_tv_nsec" = xyes; then : - -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC 1 -_ACEOF - - -fi - - - -ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_ifindex" "ac_cv_member_struct_ifreq_ifr_ifindex" "#include - #include - #ifdef HAVE_NET_IF_H - #include - #endif -" -if test "x$ac_cv_member_struct_ifreq_ifr_ifindex" = xyes; then : - -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_IFREQ_IFR_IFINDEX 1 -_ACEOF - - -fi -ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_mtu" "ac_cv_member_struct_ifreq_ifr_mtu" "#include - #include - #ifdef HAVE_NET_IF_H - #include - #endif -" -if test "x$ac_cv_member_struct_ifreq_ifr_mtu" = xyes; then : - -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_IFREQ_IFR_MTU 1 -_ACEOF - - -fi - - -ac_fn_c_check_type "$LINENO" "struct lifconf" "ac_cv_type_struct_lifconf" "#include - #include - #ifdef HAVE_NET_IF_H - #include - #endif -" -if test "x$ac_cv_type_struct_lifconf" = xyes; then : - -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_LIFCONF 1 -_ACEOF - - -fi -ac_fn_c_check_type "$LINENO" "struct lifreq" "ac_cv_type_struct_lifreq" "#include - #include - #ifdef HAVE_NET_IF_H - #include - #endif -" -if test "x$ac_cv_type_struct_lifreq" = xyes; then : - -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_LIFREQ 1 -_ACEOF - - -fi -ac_fn_c_check_type "$LINENO" "struct if_laddrreq" "ac_cv_type_struct_if_laddrreq" "#include - #include - #ifdef HAVE_NET_IF_H - #include - #endif -" -if test "x$ac_cv_type_struct_if_laddrreq" = xyes; then : - -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_IF_LADDRREQ 1 -_ACEOF - - -fi - - -ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#include - #include - #include -" -if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then : - -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 -_ACEOF - - -fi - - -ac_fn_c_check_type "$LINENO" "struct timespec" "ac_cv_type_struct_timespec" "#include - #ifdef HAVE_TIME_H - #include - #endif - #ifdef HAVE_SYS_TIME_H - #include - #endif -" -if test "x$ac_cv_type_struct_timespec" = xyes; then : - -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_TIMESPEC 1 -_ACEOF - - +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 +$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } +if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : + LIBS="$LIBS -lrt" fi @@ -20750,385 +19533,6 @@ _ACEOF -if test "x${platform_win32}" = "xyes" -then - # The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of struct sockaddr_in" >&5 -$as_echo_n "checking size of struct sockaddr_in... " >&6; } -if ${ac_cv_sizeof_struct_sockaddr_in+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (struct sockaddr_in))" "ac_cv_sizeof_struct_sockaddr_in" " - #include - #include -"; then : - -else - if test "$ac_cv_type_struct_sockaddr_in" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (struct sockaddr_in) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_struct_sockaddr_in=0 - fi -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_struct_sockaddr_in" >&5 -$as_echo "$ac_cv_sizeof_struct_sockaddr_in" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_STRUCT_SOCKADDR_IN $ac_cv_sizeof_struct_sockaddr_in -_ACEOF - - - # The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of struct sockaddr_in6" >&5 -$as_echo_n "checking size of struct sockaddr_in6... " >&6; } -if ${ac_cv_sizeof_struct_sockaddr_in6+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (struct sockaddr_in6))" "ac_cv_sizeof_struct_sockaddr_in6" " - #include - #include -"; then : - -else - if test "$ac_cv_type_struct_sockaddr_in6" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (struct sockaddr_in6) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_struct_sockaddr_in6=0 - fi -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_struct_sockaddr_in6" >&5 -$as_echo "$ac_cv_sizeof_struct_sockaddr_in6" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_STRUCT_SOCKADDR_IN6 $ac_cv_sizeof_struct_sockaddr_in6 -_ACEOF - - - # The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of struct sockaddr_un" >&5 -$as_echo_n "checking size of struct sockaddr_un... " >&6; } -if ${ac_cv_sizeof_struct_sockaddr_un+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (struct sockaddr_un))" "ac_cv_sizeof_struct_sockaddr_un" " - #include - #include -"; then : - -else - if test "$ac_cv_type_struct_sockaddr_un" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (struct sockaddr_un) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_struct_sockaddr_un=0 - fi -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_struct_sockaddr_un" >&5 -$as_echo "$ac_cv_sizeof_struct_sockaddr_un" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_STRUCT_SOCKADDR_UN $ac_cv_sizeof_struct_sockaddr_un -_ACEOF - - - # The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of socklen_t" >&5 -$as_echo_n "checking size of socklen_t... " >&6; } -if ${ac_cv_sizeof_socklen_t+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (socklen_t))" "ac_cv_sizeof_socklen_t" " - #include - #include -"; then : - -else - if test "$ac_cv_type_socklen_t" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (socklen_t) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_socklen_t=0 - fi -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_socklen_t" >&5 -$as_echo "$ac_cv_sizeof_socklen_t" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_SOCKLEN_T $ac_cv_sizeof_socklen_t -_ACEOF - - - - if test ${ac_cv_sizeof_socklen_t} -gt 0 - then - - typename=`echo socklen_t | sed "s/[^a-zA-Z0-9_]/_/g"` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether socklen_t is signed" >&5 -$as_echo_n "checking whether socklen_t is signed... " >&6; } -if eval \${ax_cv_decl_${typename}_signed+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #include -int -main () -{ - int foo [ 1 - 2 * !(((socklen_t) -1) < 0) ] - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - eval "ax_cv_decl_${typename}_signed=\"yes\"" -else - eval "ax_cv_decl_${typename}_signed=\"no\"" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$ax_cv_decl_${typename}_signed - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - symbolname=`echo socklen_t | sed "s/[^a-zA-Z0-9_]/_/g" | tr "a-z" "A-Z"` - if eval "test \"\${ax_cv_decl_${typename}_signed}\" = \"yes\""; then - -$as_echo "#define STIX_SOCKLEN_T_IS_SIGNED 1" >>confdefs.h - - elif eval "test \"\${ax_cv_decl_${typename}_signed}\" = \"no\""; then - $as_echo_n "" - fi - - fi -else - # The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of struct sockaddr_in" >&5 -$as_echo_n "checking size of struct sockaddr_in... " >&6; } -if ${ac_cv_sizeof_struct_sockaddr_in+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (struct sockaddr_in))" "ac_cv_sizeof_struct_sockaddr_in" " - #include - #include -"; then : - -else - if test "$ac_cv_type_struct_sockaddr_in" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (struct sockaddr_in) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_struct_sockaddr_in=0 - fi -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_struct_sockaddr_in" >&5 -$as_echo "$ac_cv_sizeof_struct_sockaddr_in" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_STRUCT_SOCKADDR_IN $ac_cv_sizeof_struct_sockaddr_in -_ACEOF - - - # The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of struct sockaddr_in6" >&5 -$as_echo_n "checking size of struct sockaddr_in6... " >&6; } -if ${ac_cv_sizeof_struct_sockaddr_in6+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (struct sockaddr_in6))" "ac_cv_sizeof_struct_sockaddr_in6" " - #include - #include -"; then : - -else - if test "$ac_cv_type_struct_sockaddr_in6" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (struct sockaddr_in6) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_struct_sockaddr_in6=0 - fi -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_struct_sockaddr_in6" >&5 -$as_echo "$ac_cv_sizeof_struct_sockaddr_in6" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_STRUCT_SOCKADDR_IN6 $ac_cv_sizeof_struct_sockaddr_in6 -_ACEOF - - - # The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of struct sockaddr_un" >&5 -$as_echo_n "checking size of struct sockaddr_un... " >&6; } -if ${ac_cv_sizeof_struct_sockaddr_un+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (struct sockaddr_un))" "ac_cv_sizeof_struct_sockaddr_un" " - #include - #include -"; then : - -else - if test "$ac_cv_type_struct_sockaddr_un" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (struct sockaddr_un) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_struct_sockaddr_un=0 - fi -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_struct_sockaddr_un" >&5 -$as_echo "$ac_cv_sizeof_struct_sockaddr_un" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_STRUCT_SOCKADDR_UN $ac_cv_sizeof_struct_sockaddr_un -_ACEOF - - - # The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of socklen_t" >&5 -$as_echo_n "checking size of socklen_t... " >&6; } -if ${ac_cv_sizeof_socklen_t+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (socklen_t))" "ac_cv_sizeof_socklen_t" " - #include - #include -"; then : - -else - if test "$ac_cv_type_socklen_t" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (socklen_t) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_socklen_t=0 - fi -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_socklen_t" >&5 -$as_echo "$ac_cv_sizeof_socklen_t" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_SOCKLEN_T $ac_cv_sizeof_socklen_t -_ACEOF - - - - if test ${ac_cv_sizeof_socklen_t} -gt 0 - then - - typename=`echo socklen_t | sed "s/[^a-zA-Z0-9_]/_/g"` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether socklen_t is signed" >&5 -$as_echo_n "checking whether socklen_t is signed... " >&6; } -if eval \${ax_cv_decl_${typename}_signed+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - int foo [ 1 - 2 * !(((socklen_t) -1) < 0) ] - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - eval "ax_cv_decl_${typename}_signed=\"yes\"" -else - eval "ax_cv_decl_${typename}_signed=\"no\"" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$ax_cv_decl_${typename}_signed - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - symbolname=`echo socklen_t | sed "s/[^a-zA-Z0-9_]/_/g" | tr "a-z" "A-Z"` - if eval "test \"\${ax_cv_decl_${typename}_signed}\" = \"yes\""; then - -$as_echo "#define STIX_SOCKLEN_T_IS_SIGNED 1" >>confdefs.h - - elif eval "test \"\${ax_cv_decl_${typename}_signed}\" = \"no\""; then - $as_echo_n "" - fi - - fi -fi - - if test ${ac_cv_sizeof___int128_t} -gt 0 then { $as_echo "$as_me:${as_lineno-$LINENO}: checking __int128_t with %" >&5 @@ -24649,8 +23053,5 @@ echo " C compiler: ${CC} ${CFLAGS}" echo " C++ compiler: ${CXX} ${CXXFLAGS}" echo " C++ support: ${enable_cxx_is}" echo " Math library: ${LIBM}" -echo " Socket library: ${SOCKET_LIBS}" -echo " Sendfile library: ${SENDFILE_LIBS}" -echo " SSL library: ${SSL_LIBS}" echo "-------------------------------------------------------------------------" diff --git a/stix/configure.ac b/stix/configure.ac index 33f5f91..ec74e8d 100644 --- a/stix/configure.ac +++ b/stix/configure.ac @@ -155,15 +155,6 @@ dnl check header files. AC_HEADER_STDC AC_CHECK_HEADERS([stddef.h wchar.h wctype.h errno.h signal.h fcntl.h dirent.h]) AC_CHECK_HEADERS([time.h sys/time.h utime.h spawn.h execinfo.h ucontext.h]) -AC_CHECK_HEADERS([sys/resource.h sys/wait.h sys/syscall.h sys/ioctl.h]) -AC_CHECK_HEADERS([sys/sendfile.h sys/epoll.h sys/event.h]) -AC_CHECK_HEADERS([sys/sysctl.h sys/socket.h sys/sockio.h sys/un.h]) -AC_CHECK_HEADERS([ifaddrs.h tiuser.h linux/netfilter_ipv4.h netinet/sctp.h]) -AC_CHECK_HEADERS([net/if.h net/if_dl.h], [], [], [ - #include - #include ]) -AC_CHECK_HEADERS([sys/stropts.h sys/macstat.h linux/ethtool.h linux/sockios.h]) -AC_CHECK_HEADERS([quadmath.h crt_externs.h sys/prctl.h uci.h]) dnl check data types dnl AC_CHECK_TYPE([wchar_t], @@ -173,119 +164,11 @@ dnl [], dnl [#include ]) dnl check functions -AC_CHECK_FUNCS([uselocale]) -AC_CHECK_FUNCS([mbrlen mbrtowc wcrtomb]) -AC_CHECK_FUNCS([mbsnrtowcs mbsrtowcs wcsnrtombs wcsrtombs]) -AC_CHECK_FUNCS([wctype iswctype wctrans towctrans]) -AC_CHECK_FUNCS([isblank iswblank]) -AC_CHECK_FUNCS([lseek64 stat64 fstat64 lstat64 ftruncate64 readdir64 dirfd]) -AC_CHECK_FUNCS([lstat fchmod fsync ftruncate]) -AC_CHECK_FUNCS([timegm timelocal localtime_r gettimeofday settimeofday]) -AC_CHECK_FUNCS([utime utimes futimes lutimes futimens]) -AC_CHECK_FUNCS([sysconf prctl fdopendir setrlimit getrlimit getpgid getpgrp]) +AC_CHECK_FUNCS([gettimeofday settimeofday clock_gettime clock_settime]) AC_CHECK_FUNCS([backtrace backtrace_symbols]) -AC_CHECK_FUNCS([fork vfork posix_spawn gettid nanosleep select]) AC_CHECK_FUNCS([makecontext swapcontext getcontext setcontext]) AC_CHECK_FUNCS([snprintf _vsnprintf _vsnwprintf]) -OLDLIBS="$LIBS" -LIBS="$LIBM $LIBS" -AC_CHECK_FUNCS([powl fmodl sinl cosl tanl sinhl coshl tanhl asinl acosl atanl atan2l logl log10l expl sqrtl ceill floorl roundl]) -AC_CHECK_FUNCS([pow fmod sin cos tan sinh cosh tanh asin acos atan atan2 log log10 exp sqrt ceil floor round]) -AC_CHECK_FUNCS([powf fmodf sinf cosf tanf sinhf coshf tanhf asinf acosf atanf atan2f logf log10f expf sqrtf ceilf floorf roundf]) -LIBS="$OLDLIBS" - -dnl OLDLIBS="$LIBS" -dnl AC_SEARCH_LIBS([connect], [socket]) -dnl LIBS="$OLDLIBS" -dnl if test "$ac_cv_search_connect" != "none required" -a "$ac_cv_search_connect" != "no" -dnl then -dnl SOCKET_LIBS="$SOCKET_LIBS -lsocket" -dnl fi -dnl AC_SUBST(SOCKET_LIBS) -AC_CHECK_FUNCS([connect gethostbyname]) -if test "x$ac_cv_func_gethostbyname" = "xno" -then - AC_CHECK_LIB([nsl], [gethostbyname], [ - SOCKET_LIBS="$SOCKET_LIBS -lnsl" - AC_DEFINE(HAVE_GETHOSTBYNAME, 1) - ]) -fi -if test "x$ac_cv_func_connect" = "xno" -then - AC_CHECK_LIB([socket], [connect], [ - SOCKET_LIBS="$SOCKET_LIBS -lsocket" - AC_DEFINE(HAVE_CONNECT, 1) - ]) - - if test "x$ac_cv_lib_socket_connect" = xno - then - AC_CHECK_FUNCS([t_connect]) - if test "x$ac_cv_func_t_connect" = "xno" - then - AC_CHECK_LIB([nsl_s], [t_connect], [ - SOCKET_LIBS="$SOCKET_LIBS -lnsl_s" - AC_DEFINE(HAVE_T_CONNECT, 1) - ]) - fi - fi -fi -if test "x${platform_win32}" = "xyes" -then - SOCKET_LIBS="$SOCKET_LIBS -lws2_32" -fi -AC_SUBST(SOCKET_LIBS) - -OLDLIBS="$LIBS" -LIBS="$SOCKET_LIBS $LIBS" -AC_CHECK_FUNCS([if_nametoindex if_indextoname getifaddrs]) -LIBS="$OLDLIBS" - -dnl check if sendfile and its variants exist in the standard c library -dnl it inspects the existence of each missing function in the sendfile library. -AC_CHECK_FUNCS([sendfile sendfile64 sendfilev sendfilev64]) -if test "$ac_cv_func_sendfile" = "no" -then - AC_CHECK_LIB([sendfile], [sendfile], [ - SENDFILE_LIBS="-lsendfile" - dnl only for consistency with AC_CHECK_FUNCS - AC_DEFINE(HAVE_SENDFILE, 1) - ]) -fi -if test "$ac_cv_func_sendfile64" = "no" -then - AC_CHECK_LIB([sendfile], [sendfile64], [ - SENDFILE_LIBS="-lsendfile" - dnl only for consistency with AC_CHECK_FUNCS - AC_DEFINE(HAVE_SENDFILE64, 1) - ]) -fi -if test "$ac_cv_func_sendfilev" = "no" -then - AC_CHECK_LIB([sendfile], [sendfilev], [ - SENDFILE_LIBS="-lsendfile" - dnl only for consistency with AC_CHECK_FUNCS - AC_DEFINE(HAVE_SENDFILEV, 1) - ]) -fi -if test "$ac_cv_func_sendfilev64" = "no" -then - AC_CHECK_LIB([sendfile], [sendfilev64], [ - SENDFILE_LIBS="-lsendfile" - dnl only for consistency with AC_CHECK_FUNCS - AC_DEFINE(HAVE_SENDFILEV64, 1) - ]) -fi -AC_SUBST(SENDFILE_LIBS) - -AC_CHECK_FUNCS([epoll_create epoll_create1]) -if test "$ac_cv_func_epoll_create" = "yes" -then - AC_DEFINE(HAVE_EPOLL, 1, [epoll support]) -fi - -AC_CHECK_FUNCS([kqueue kqueue1 kevent]) - dnl check is the import library for unicows.dll exists dnl this check doesn't look for a particular symbol dnl but for the symbol 'main' since i want to check @@ -293,76 +176,7 @@ dnl the existence of the libaray. AC_CHECK_LIB([unicows], [main], [UNICOWS_LIBS="-lunicows"]) AC_SUBST(UNICOWS_LIBS) -AC_ARG_ENABLE([ssl], [AS_HELP_STRING([--enable-ssl],[build the library in the ssl mode (default. yes)])], - enable_ssl_is=$enableval,enable_ssl_is=yes) -if test "x$enable_ssl_is" = "xyes" -then - AC_CHECK_HEADERS([openssl/ssl.h openssl/err.h openssl/engine.h]) - - dnl check for an SSL library - AC_CHECK_FUNCS([SSL_library_init]) - - if test "x$ac_cv_func_SSL_library_init" = "xyes" - then - AC_DEFINE(HAVE_SSL, 1, [ssl support]) - else - AC_CHECK_LIB([ssl], [SSL_library_init], [ - SSL_LIBS="-lssl" - AC_DEFINE(HAVE_SSL, 1, [ssl support]) - - dnl additional check - AC_CHECK_LIB([crypto], [ERR_get_error], [ - SSL_LIBS="${SSL_LIBS} -lcrypto" - ]) - - dnl only for consistency with AC_CHECK_FUNCS - AC_DEFINE(HAVE_SSL_LIBRARY_INIT, 1) - ]) - fi - - OLDLIBS="$LIBS" - LIBS="$SSL_LIBS $LIBS" - AC_CHECK_FUNCS([ENGINE_cleanup CRYPTO_cleanup_all_ex_data]) - LIBS="$OLDLIBS" -fi -AC_SUBST(SSL_LIBS) - -AC_STRUCT_DIRENT_D_TYPE -AC_CHECK_MEMBERS([DIR.d_fd, DIR.dd_fd],,,[[#include ]]) -AC_CHECK_MEMBERS([struct stat.st_birthtime]) -AC_CHECK_MEMBERS([struct stat.st_mtim.tv_nsec]) -AC_CHECK_MEMBERS([struct stat.st_birthtim.tv_nsec]) -AC_CHECK_MEMBERS([struct stat.st_mtimespec.tv_nsec]) -AC_CHECK_MEMBERS([struct stat.st_birthtimespec.tv_nsec]) - - -AC_CHECK_MEMBERS([struct ifreq.ifr_ifindex, struct ifreq.ifr_mtu], [], [], - [#include - #include - #ifdef HAVE_NET_IF_H - #include - #endif]) - -AC_CHECK_TYPES([struct lifconf, struct lifreq, struct if_laddrreq], [], [], - [#include - #include - #ifdef HAVE_NET_IF_H - #include - #endif]) - -AC_CHECK_MEMBERS([struct sockaddr_in6.sin6_scope_id], [], [], - [#include - #include - #include ]) - -AC_CHECK_TYPES([struct timespec], [], [], - [#include - #ifdef HAVE_TIME_H - #include - #endif - #ifdef HAVE_SYS_TIME_H - #include - #endif]) +AC_CHECK_LIB([rt], [clock_gettime], [LIBS="$LIBS -lrt"]) AC_MSG_CHECKING([for va_copy]) AC_TRY_LINK( @@ -422,53 +236,6 @@ AC_CHECK_SIZEOF(off64_t) AC_CHECK_SIZEOF(mbstate_t,,[#include ]) AX_CHECK_NUMVALOF(MB_LEN_MAX,[32],[#include ]) -if test "x${platform_win32}" = "xyes" -then - AC_CHECK_SIZEOF(struct sockaddr_in,,[ - #include - #include ]) - AC_CHECK_SIZEOF(struct sockaddr_in6,,[ - #include - #include ]) - AC_CHECK_SIZEOF(struct sockaddr_un,,[ - #include - #include ]) - AC_CHECK_SIZEOF(socklen_t,, [ - #include - #include ]) - - if test ${ac_cv_sizeof_socklen_t} -gt 0 - then - AX_CHECK_SIGN([socklen_t], - [ AC_DEFINE(STIX_SOCKLEN_T_IS_SIGNED, 1, [Define if socklen_t is signed]) ], - [ AS_ECHO_N("") ], - [#include - #include ]) - fi -else - AC_CHECK_SIZEOF(struct sockaddr_in,,[ - #include - #include ]) - AC_CHECK_SIZEOF(struct sockaddr_in6,,[ - #include - #include ]) - AC_CHECK_SIZEOF(struct sockaddr_un,,[ - #include - #include ]) - AC_CHECK_SIZEOF(socklen_t,, [ - #include - #include ]) - - if test ${ac_cv_sizeof_socklen_t} -gt 0 - then - AX_CHECK_SIGN([socklen_t], - [ AC_DEFINE(STIX_SOCKLEN_T_IS_SIGNED, 1, [Define if socklen_t is signed]) ], - [ AS_ECHO_N("") ], - [#include ]) - fi -fi - - dnl gcc 3.4.3 on opensolaris x86 gave this warning without -msse or dnl something similar. dnl SSE vector argument without SSE enabled changes the ABI @@ -689,8 +456,5 @@ echo " C compiler: ${CC} ${CFLAGS}" echo " C++ compiler: ${CXX} ${CXXFLAGS}" echo " C++ support: ${enable_cxx_is}" echo " Math library: ${LIBM}" -echo " Socket library: ${SOCKET_LIBS}" -echo " Sendfile library: ${SENDFILE_LIBS}" -echo " SSL library: ${SSL_LIBS}" echo "-------------------------------------------------------------------------" ] diff --git a/stix/lib/Makefile.in b/stix/lib/Makefile.in index d8b6e51..916af2b 100644 --- a/stix/lib/Makefile.in +++ b/stix/lib/Makefile.in @@ -90,7 +90,6 @@ DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(pkginclude_HEADERS) ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/argz.m4 \ - $(top_srcdir)/m4/ax_check_sign.m4 \ $(top_srcdir)/m4/ax_cxx_namespace.m4 \ $(top_srcdir)/m4/ax_numval.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltdl.m4 $(top_srcdir)/m4/ltoptions.m4 \ @@ -322,11 +321,8 @@ RANLIB = @RANLIB@ RM = @RM@ RMDIR = @RMDIR@ SED = @SED@ -SENDFILE_LIBS = @SENDFILE_LIBS@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ -SOCKET_LIBS = @SOCKET_LIBS@ -SSL_LIBS = @SSL_LIBS@ STIX_PROJECT_AUTHOR = @STIX_PROJECT_AUTHOR@ STIX_PROJECT_URL = @STIX_PROJECT_URL@ STIX_SIZEOF_CHAR = @STIX_SIZEOF_CHAR@ diff --git a/stix/lib/stix-cfg.h.in b/stix/lib/stix-cfg.h.in index 4e67c02..4127223 100644 --- a/stix/lib/stix-cfg.h.in +++ b/stix/lib/stix-cfg.h.in @@ -3,15 +3,6 @@ /* Define if building universal (internal helper macro) */ #undef AC_APPLE_UNIVERSAL_BUILD -/* Define to 1 if you have the `acos' function. */ -#undef HAVE_ACOS - -/* Define to 1 if you have the `acosf' function. */ -#undef HAVE_ACOSF - -/* Define to 1 if you have the `acosl' function. */ -#undef HAVE_ACOSL - /* Define to 1 if you have the `acosq' function. */ #undef HAVE_ACOSQ @@ -39,39 +30,12 @@ /* Define to 1 if you have the `argz_stringify' function. */ #undef HAVE_ARGZ_STRINGIFY -/* Define to 1 if you have the `asin' function. */ -#undef HAVE_ASIN - -/* Define to 1 if you have the `asinf' function. */ -#undef HAVE_ASINF - -/* Define to 1 if you have the `asinl' function. */ -#undef HAVE_ASINL - /* Define to 1 if you have the `asinq' function. */ #undef HAVE_ASINQ -/* Define to 1 if you have the `atan' function. */ -#undef HAVE_ATAN - -/* Define to 1 if you have the `atan2' function. */ -#undef HAVE_ATAN2 - -/* Define to 1 if you have the `atan2f' function. */ -#undef HAVE_ATAN2F - -/* Define to 1 if you have the `atan2l' function. */ -#undef HAVE_ATAN2L - /* Define to 1 if you have the `atan2q' function. */ #undef HAVE_ATAN2Q -/* Define to 1 if you have the `atanf' function. */ -#undef HAVE_ATANF - -/* Define to 1 if you have the `atanl' function. */ -#undef HAVE_ATANL - /* Define to 1 if you have the `atanq' function. */ #undef HAVE_ATANQ @@ -81,54 +45,24 @@ /* Define to 1 if you have the `backtrace_symbols' function. */ #undef HAVE_BACKTRACE_SYMBOLS -/* Define to 1 if you have the `ceil' function. */ -#undef HAVE_CEIL - -/* Define to 1 if you have the `ceilf' function. */ -#undef HAVE_CEILF - -/* Define to 1 if you have the `ceill' function. */ -#undef HAVE_CEILL - /* Define to 1 if you have the `ceilq' function. */ #undef HAVE_CEILQ +/* Define to 1 if you have the `clock_gettime' function. */ +#undef HAVE_CLOCK_GETTIME + +/* Define to 1 if you have the `clock_settime' function. */ +#undef HAVE_CLOCK_SETTIME + /* Define to 1 if you have the `closedir' function. */ #undef HAVE_CLOSEDIR -/* Define to 1 if you have the `connect' function. */ -#undef HAVE_CONNECT - -/* Define to 1 if you have the `cos' function. */ -#undef HAVE_COS - -/* Define to 1 if you have the `cosf' function. */ -#undef HAVE_COSF - -/* Define to 1 if you have the `cosh' function. */ -#undef HAVE_COSH - -/* Define to 1 if you have the `coshf' function. */ -#undef HAVE_COSHF - -/* Define to 1 if you have the `coshl' function. */ -#undef HAVE_COSHL - /* Define to 1 if you have the `coshq' function. */ #undef HAVE_COSHQ -/* Define to 1 if you have the `cosl' function. */ -#undef HAVE_COSL - /* Define to 1 if you have the `cosq' function. */ #undef HAVE_COSQ -/* Define to 1 if you have the header file. */ -#undef HAVE_CRT_EXTERNS_H - -/* Define to 1 if you have the `CRYPTO_cleanup_all_ex_data' function. */ -#undef HAVE_CRYPTO_CLEANUP_ALL_EX_DATA - /* Define if c++ supports namespace std. */ #undef HAVE_CXX_NAMESPACE_STD @@ -136,19 +70,9 @@ you don't. */ #undef HAVE_DECL_CYGWIN_CONV_PATH -/* Define to 1 if you have the header file, and it defines `DIR'. - */ +/* Define to 1 if you have the header file. */ #undef HAVE_DIRENT_H -/* Define to 1 if you have the `dirfd' function. */ -#undef HAVE_DIRFD - -/* Define to 1 if `dd_fd' is a member of `DIR'. */ -#undef HAVE_DIR_DD_FD - -/* Define to 1 if `d_fd' is a member of `DIR'. */ -#undef HAVE_DIR_D_FD - /* Define if you have the GNU dld library. */ #undef HAVE_DLD @@ -167,18 +91,6 @@ /* Define if you have the _dyld_func_lookup function. */ #undef HAVE_DYLD -/* Define to 1 if you have the `ENGINE_cleanup' function. */ -#undef HAVE_ENGINE_CLEANUP - -/* epoll support */ -#undef HAVE_EPOLL - -/* Define to 1 if you have the `epoll_create' function. */ -#undef HAVE_EPOLL_CREATE - -/* Define to 1 if you have the `epoll_create1' function. */ -#undef HAVE_EPOLL_CREATE1 - /* Define to 1 if you have the header file. */ #undef HAVE_ERRNO_H @@ -188,126 +100,27 @@ /* Define to 1 if you have the header file. */ #undef HAVE_EXECINFO_H -/* Define to 1 if you have the `exp' function. */ -#undef HAVE_EXP - -/* Define to 1 if you have the `expf' function. */ -#undef HAVE_EXPF - -/* Define to 1 if you have the `expl' function. */ -#undef HAVE_EXPL - /* Define to 1 if you have the `expq' function. */ #undef HAVE_EXPQ -/* Define to 1 if you have the `fchmod' function. */ -#undef HAVE_FCHMOD - /* Define to 1 if you have the header file. */ #undef HAVE_FCNTL_H -/* Define to 1 if you have the `fdopendir' function. */ -#undef HAVE_FDOPENDIR - -/* Define to 1 if you have the `floor' function. */ -#undef HAVE_FLOOR - -/* Define to 1 if you have the `floorf' function. */ -#undef HAVE_FLOORF - -/* Define to 1 if you have the `floorl' function. */ -#undef HAVE_FLOORL - /* Define to 1 if you have the `floorq' function. */ #undef HAVE_FLOORQ -/* Define to 1 if you have the `fmod' function. */ -#undef HAVE_FMOD - -/* Define to 1 if you have the `fmodf' function. */ -#undef HAVE_FMODF - -/* Define to 1 if you have the `fmodl' function. */ -#undef HAVE_FMODL - /* Define to 1 if you have the `fmodq' function. */ #undef HAVE_FMODQ -/* Define to 1 if you have the `fork' function. */ -#undef HAVE_FORK - -/* Define to 1 if you have the `fstat64' function. */ -#undef HAVE_FSTAT64 - -/* Define to 1 if you have the `fsync' function. */ -#undef HAVE_FSYNC - -/* Define to 1 if you have the `ftruncate' function. */ -#undef HAVE_FTRUNCATE - -/* Define to 1 if you have the `ftruncate64' function. */ -#undef HAVE_FTRUNCATE64 - -/* Define to 1 if you have the `futimens' function. */ -#undef HAVE_FUTIMENS - -/* Define to 1 if you have the `futimes' function. */ -#undef HAVE_FUTIMES - /* Define to 1 if you have the `getcontext' function. */ #undef HAVE_GETCONTEXT -/* Define to 1 if you have the `gethostbyname' function. */ -#undef HAVE_GETHOSTBYNAME - -/* Define to 1 if you have the `getifaddrs' function. */ -#undef HAVE_GETIFADDRS - -/* Define to 1 if you have the `getpgid' function. */ -#undef HAVE_GETPGID - -/* Define to 1 if you have the `getpgrp' function. */ -#undef HAVE_GETPGRP - -/* Define to 1 if you have the `getrlimit' function. */ -#undef HAVE_GETRLIMIT - -/* Define to 1 if you have the `gettid' function. */ -#undef HAVE_GETTID - /* Define to 1 if you have the `gettimeofday' function. */ #undef HAVE_GETTIMEOFDAY -/* Define to 1 if you have the header file. */ -#undef HAVE_IFADDRS_H - -/* Define to 1 if you have the `if_indextoname' function. */ -#undef HAVE_IF_INDEXTONAME - -/* Define to 1 if you have the `if_nametoindex' function. */ -#undef HAVE_IF_NAMETOINDEX - /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H -/* Define to 1 if you have the `isblank' function. */ -#undef HAVE_ISBLANK - -/* Define to 1 if you have the `iswblank' function. */ -#undef HAVE_ISWBLANK - -/* Define to 1 if you have the `iswctype' function. */ -#undef HAVE_ISWCTYPE - -/* Define to 1 if you have the `kevent' function. */ -#undef HAVE_KEVENT - -/* Define to 1 if you have the `kqueue' function. */ -#undef HAVE_KQUEUE - -/* Define to 1 if you have the `kqueue1' function. */ -#undef HAVE_KQUEUE1 - /* Define if you have the libdl library or equivalent. */ #undef HAVE_LIBDL @@ -317,171 +130,45 @@ /* Define to 1 if you have the `ltdl' library (-lltdl). */ #undef HAVE_LIBLTDL -/* Define to 1 if you have the header file. */ -#undef HAVE_LINUX_ETHTOOL_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_LINUX_NETFILTER_IPV4_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_LINUX_SOCKIOS_H - -/* Define to 1 if you have the `localtime_r' function. */ -#undef HAVE_LOCALTIME_R - -/* Define to 1 if you have the `log' function. */ -#undef HAVE_LOG - -/* Define to 1 if you have the `log10' function. */ -#undef HAVE_LOG10 - -/* Define to 1 if you have the `log10f' function. */ -#undef HAVE_LOG10F - -/* Define to 1 if you have the `log10l' function. */ -#undef HAVE_LOG10L - /* Define to 1 if you have the `log10q' function. */ #undef HAVE_LOG10Q -/* Define to 1 if you have the `logf' function. */ -#undef HAVE_LOGF - -/* Define to 1 if you have the `logl' function. */ -#undef HAVE_LOGL - /* Define to 1 if you have the `logq' function. */ #undef HAVE_LOGQ -/* Define to 1 if you have the `lseek64' function. */ -#undef HAVE_LSEEK64 - -/* Define to 1 if you have the `lstat' function. */ -#undef HAVE_LSTAT - -/* Define to 1 if you have the `lstat64' function. */ -#undef HAVE_LSTAT64 - /* Define this if a modern libltdl is already installed */ #undef HAVE_LTDL -/* Define to 1 if you have the `lutimes' function. */ -#undef HAVE_LUTIMES - /* Define to 1 if you have the header file. */ #undef HAVE_MACH_O_DYLD_H /* Define to 1 if you have the `makecontext' function. */ #undef HAVE_MAKECONTEXT -/* Define to 1 if you have the `mbrlen' function. */ -#undef HAVE_MBRLEN - -/* Define to 1 if you have the `mbrtowc' function. */ -#undef HAVE_MBRTOWC - -/* Define to 1 if you have the `mbsnrtowcs' function. */ -#undef HAVE_MBSNRTOWCS - -/* Define to 1 if you have the `mbsrtowcs' function. */ -#undef HAVE_MBSRTOWCS - /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H -/* Define to 1 if you have the `nanosleep' function. */ -#undef HAVE_NANOSLEEP - -/* Define to 1 if you have the header file, and it defines `DIR'. */ -#undef HAVE_NDIR_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_NETINET_SCTP_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_NET_IF_DL_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_NET_IF_H - /* Define to 1 if you have the `opendir' function. */ #undef HAVE_OPENDIR -/* Define to 1 if you have the header file. */ -#undef HAVE_OPENSSL_ENGINE_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_OPENSSL_ERR_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_OPENSSL_SSL_H - -/* Define to 1 if you have the `posix_spawn' function. */ -#undef HAVE_POSIX_SPAWN - -/* Define to 1 if you have the `pow' function. */ -#undef HAVE_POW - -/* Define to 1 if you have the `powf' function. */ -#undef HAVE_POWF - -/* Define to 1 if you have the `powl' function. */ -#undef HAVE_POWL - /* Define to 1 if you have the `powq' function. */ #undef HAVE_POWQ -/* Define to 1 if you have the `prctl' function. */ -#undef HAVE_PRCTL - /* Define if libtool can extract symbol lists from object files. */ #undef HAVE_PRELOADED_SYMBOLS -/* Define to 1 if you have the header file. */ -#undef HAVE_QUADMATH_H - /* Define to 1 if you have the `quadmath_snprintf' function. */ #undef HAVE_QUADMATH_SNPRINTF /* Define to 1 if you have the `readdir' function. */ #undef HAVE_READDIR -/* Define to 1 if you have the `readdir64' function. */ -#undef HAVE_READDIR64 - -/* Define to 1 if you have the `round' function. */ -#undef HAVE_ROUND - -/* Define to 1 if you have the `roundf' function. */ -#undef HAVE_ROUNDF - -/* Define to 1 if you have the `roundl' function. */ -#undef HAVE_ROUNDL - /* Define to 1 if you have the `roundq' function. */ #undef HAVE_ROUNDQ -/* Define to 1 if you have the `select' function. */ -#undef HAVE_SELECT - -/* Define to 1 if you have the `sendfile' function. */ -#undef HAVE_SENDFILE - -/* Define to 1 if you have the `sendfile64' function. */ -#undef HAVE_SENDFILE64 - -/* Define to 1 if you have the `sendfilev' function. */ -#undef HAVE_SENDFILEV - -/* Define to 1 if you have the `sendfilev64' function. */ -#undef HAVE_SENDFILEV64 - /* Define to 1 if you have the `setcontext' function. */ #undef HAVE_SETCONTEXT -/* Define to 1 if you have the `setrlimit' function. */ -#undef HAVE_SETRLIMIT - /* Define to 1 if you have the `settimeofday' function. */ #undef HAVE_SETTIMEOFDAY @@ -491,27 +178,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SIGNAL_H -/* Define to 1 if you have the `sin' function. */ -#undef HAVE_SIN - -/* Define to 1 if you have the `sinf' function. */ -#undef HAVE_SINF - -/* Define to 1 if you have the `sinh' function. */ -#undef HAVE_SINH - -/* Define to 1 if you have the `sinhf' function. */ -#undef HAVE_SINHF - -/* Define to 1 if you have the `sinhl' function. */ -#undef HAVE_SINHL - /* Define to 1 if you have the `sinhq' function. */ #undef HAVE_SINHQ -/* Define to 1 if you have the `sinl' function. */ -#undef HAVE_SINL - /* Define to 1 if you have the `sinq' function. */ #undef HAVE_SINQ @@ -521,27 +190,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SPAWN_H -/* Define to 1 if you have the `sqrt' function. */ -#undef HAVE_SQRT - -/* Define to 1 if you have the `sqrtf' function. */ -#undef HAVE_SQRTF - -/* Define to 1 if you have the `sqrtl' function. */ -#undef HAVE_SQRTL - /* Define to 1 if you have the `sqrtq' function. */ #undef HAVE_SQRTQ -/* ssl support */ -#undef HAVE_SSL - -/* Define to 1 if you have the `SSL_library_init' function. */ -#undef HAVE_SSL_LIBRARY_INIT - -/* Define to 1 if you have the `stat64' function. */ -#undef HAVE_STAT64 - /* Define to 1 if you have the header file. */ #undef HAVE_STDDEF_H @@ -566,200 +217,45 @@ /* Define to 1 if you have the `strtoflt128' function. */ #undef HAVE_STRTOFLT128 -/* Define to 1 if `d_type' is a member of `struct dirent'. */ -#undef HAVE_STRUCT_DIRENT_D_TYPE - -/* Define to 1 if `ifr_ifindex' is a member of `struct ifreq'. */ -#undef HAVE_STRUCT_IFREQ_IFR_IFINDEX - -/* Define to 1 if `ifr_mtu' is a member of `struct ifreq'. */ -#undef HAVE_STRUCT_IFREQ_IFR_MTU - -/* Define to 1 if the system has the type `struct if_laddrreq'. */ -#undef HAVE_STRUCT_IF_LADDRREQ - -/* Define to 1 if the system has the type `struct lifconf'. */ -#undef HAVE_STRUCT_LIFCONF - -/* Define to 1 if the system has the type `struct lifreq'. */ -#undef HAVE_STRUCT_LIFREQ - -/* Define to 1 if `sin6_scope_id' is a member of `struct sockaddr_in6'. */ -#undef HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID - -/* Define to 1 if `st_birthtime' is a member of `struct stat'. */ -#undef HAVE_STRUCT_STAT_ST_BIRTHTIME - -/* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ -#undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC - -/* Define to 1 if `st_birthtim.tv_nsec' is a member of `struct stat'. */ -#undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC - -/* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */ -#undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - -/* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ -#undef HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - -/* Define to 1 if the system has the type `struct timespec'. */ -#undef HAVE_STRUCT_TIMESPEC - /* Define to 1 if you have the `swapcontext' function. */ #undef HAVE_SWAPCONTEXT -/* Define to 1 if you have the `sysconf' function. */ -#undef HAVE_SYSCONF - -/* Define to 1 if you have the header file, and it defines `DIR'. - */ -#undef HAVE_SYS_DIR_H - /* Define to 1 if you have the header file. */ #undef HAVE_SYS_DL_H -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_EPOLL_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_EVENT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_IOCTL_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_MACSTAT_H - -/* Define to 1 if you have the header file, and it defines `DIR'. - */ -#undef HAVE_SYS_NDIR_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_PRCTL_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_RESOURCE_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_SENDFILE_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_SOCKET_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_SOCKIO_H - /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_STROPTS_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_SYSCALL_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_SYSCTL_H - /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TIME_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_UN_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_WAIT_H - -/* Define to 1 if you have the `tan' function. */ -#undef HAVE_TAN - -/* Define to 1 if you have the `tanf' function. */ -#undef HAVE_TANF - -/* Define to 1 if you have the `tanh' function. */ -#undef HAVE_TANH - -/* Define to 1 if you have the `tanhf' function. */ -#undef HAVE_TANHF - -/* Define to 1 if you have the `tanhl' function. */ -#undef HAVE_TANHL - /* Define to 1 if you have the `tanhq' function. */ #undef HAVE_TANHQ -/* Define to 1 if you have the `tanl' function. */ -#undef HAVE_TANL - /* Define to 1 if you have the `tanq' function. */ #undef HAVE_TANQ -/* Define to 1 if you have the `timegm' function. */ -#undef HAVE_TIMEGM - -/* Define to 1 if you have the `timelocal' function. */ -#undef HAVE_TIMELOCAL - /* Define to 1 if you have the header file. */ #undef HAVE_TIME_H -/* Define to 1 if you have the header file. */ -#undef HAVE_TIUSER_H - -/* Define to 1 if you have the `towctrans' function. */ -#undef HAVE_TOWCTRANS - -/* Define to 1 if you have the `t_connect' function. */ -#undef HAVE_T_CONNECT - -/* Define to 1 if you have the header file. */ -#undef HAVE_UCI_H - /* Define to 1 if you have the header file. */ #undef HAVE_UCONTEXT_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H -/* Define to 1 if you have the `uselocale' function. */ -#undef HAVE_USELOCALE - -/* Define to 1 if you have the `utime' function. */ -#undef HAVE_UTIME - -/* Define to 1 if you have the `utimes' function. */ -#undef HAVE_UTIMES - /* Define to 1 if you have the header file. */ #undef HAVE_UTIME_H /* va_copy is available */ #undef HAVE_VA_COPY -/* Define to 1 if you have the `vfork' function. */ -#undef HAVE_VFORK - /* Define to 1 if you have the header file. */ #undef HAVE_WCHAR_H -/* Define to 1 if you have the `wcrtomb' function. */ -#undef HAVE_WCRTOMB - -/* Define to 1 if you have the `wcsnrtombs' function. */ -#undef HAVE_WCSNRTOMBS - -/* Define to 1 if you have the `wcsrtombs' function. */ -#undef HAVE_WCSRTOMBS - -/* Define to 1 if you have the `wctrans' function. */ -#undef HAVE_WCTRANS - -/* Define to 1 if you have the `wctype' function. */ -#undef HAVE_WCTYPE - /* Define to 1 if you have the header file. */ #undef HAVE_WCTYPE_H @@ -873,18 +369,6 @@ /* The size of `short', as computed by sizeof. */ #undef SIZEOF_SHORT -/* The size of `socklen_t', as computed by sizeof. */ -#undef SIZEOF_SOCKLEN_T - -/* The size of `struct sockaddr_in', as computed by sizeof. */ -#undef SIZEOF_STRUCT_SOCKADDR_IN - -/* The size of `struct sockaddr_in6', as computed by sizeof. */ -#undef SIZEOF_STRUCT_SOCKADDR_IN6 - -/* The size of `struct sockaddr_un', as computed by sizeof. */ -#undef SIZEOF_STRUCT_SOCKADDR_UN - /* The size of `void *', as computed by sizeof. */ #undef SIZEOF_VOID_P @@ -1035,9 +519,6 @@ /* sizeof(__int8) */ #undef STIX_SIZEOF___INT8 -/* Define if socklen_t is signed */ -#undef STIX_SOCKLEN_T_IS_SIGNED - /* Version number of package */ #undef VERSION