From: michael Date: Wed, 31 Dec 2014 14:46:11 +0000 (+0000) Subject: - configure.ac: removed tests for select() and sys/poll.h X-Git-Tag: 1.0.0beta2~5 X-Git-Url: http://git.serene-ircd.net/?a=commitdiff_plain;h=fe237a788f55c1b194f43dd229ffe13f64aef4bd;p=hopm.git - configure.ac: removed tests for select() and sys/poll.h git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/branches/1.0.x@5229 82007160-df01-0410-b94d-b575c5fd34c7 --- diff --git a/configure b/configure index e416a28..356e1a4 100755 --- a/configure +++ b/configure @@ -12076,21 +12076,6 @@ CC=$lt_save_CC -for ac_header in sys/poll.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_poll_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SYS_POLL_H 1 -_ACEOF - have_poll_sys_h=yes -else - have_sys_poll_h=no -fi - -done - - for ac_header in fcntl.h sys/time.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` diff --git a/configure.ac b/configure.ac index 68145b9..d9db330 100644 --- a/configure.ac +++ b/configure.ac @@ -14,9 +14,6 @@ AC_PROG_LIBTOOL dnl Checks for libraries. -dnl Checks for header files. -AC_CHECK_HEADERS(sys/poll.h, have_poll_sys_h=yes, have_sys_poll_h=no) - AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h) dnl Checks for typedefs, structures, and compiler characteristics. diff --git a/src/libopm/configure b/src/libopm/configure index dd7923e..55e1f30 100755 --- a/src/libopm/configure +++ b/src/libopm/configure @@ -12062,21 +12062,6 @@ CC=$lt_save_CC -for ac_header in sys/poll.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_poll_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SYS_POLL_H 1 -_ACEOF - have_poll_sys_h=yes -else - have_sys_poll_h=no -fi - -done - - for ac_header in fcntl.h sys/time.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` @@ -12127,25 +12112,6 @@ $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h fi -if test "$have_sys_poll_h" = "no"; then - for ac_func in select -do : - ac_fn_c_check_func "$LINENO" "select" "ac_cv_func_select" -if test "x$ac_cv_func_select" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SELECT 1 -_ACEOF - have_select=yes -else - have_select=no -fi -done - - if test "$have_select" = "no"; then - as_fn_error $? "No select() implementation found" "$LINENO" 5 - fi -fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } if ${ac_cv_c_bigendian+:} false; then : diff --git a/src/libopm/configure.ac b/src/libopm/configure.ac index f4b5cda..c0c9896 100644 --- a/src/libopm/configure.ac +++ b/src/libopm/configure.ac @@ -13,23 +13,11 @@ AS_IF([test "$ac_cv_prog_cc_c99" = "no"], AC_PROG_LIBTOOL AC_SUBST(LIBTOOL_DEPS) -dnl Checks for header files. -AC_CHECK_HEADERS(sys/poll.h, have_poll_sys_h=yes, have_sys_poll_h=no) - AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_HEADER_TIME -dnl if they want select() or they don't have poll() then we need to check -dnl that we actually have select() -if test "$have_sys_poll_h" = "no"; then - AC_CHECK_FUNCS(select, have_select=yes, have_select=no) - if test "$have_select" = "no"; then - AC_MSG_ERROR([No select() implementation found]) - fi -fi - dnl AIX fun AC_C_BIGENDIAN diff --git a/src/libopm/src/setup.h.in b/src/libopm/src/setup.h.in index dda3e2b..e0e3928 100644 --- a/src/libopm/src/setup.h.in +++ b/src/libopm/src/setup.h.in @@ -15,9 +15,6 @@ /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H -/* Define to 1 if you have the `select' function. */ -#undef HAVE_SELECT - /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H @@ -30,9 +27,6 @@ /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_POLL_H - /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H diff --git a/src/setup.h.in b/src/setup.h.in index 1797f62..a08173d 100644 --- a/src/setup.h.in +++ b/src/setup.h.in @@ -36,9 +36,6 @@ /* Define to 1 if you have the `strlcpy' function. */ #undef HAVE_STRLCPY -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_POLL_H - /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H