- configure.ac: removed tests for select() and sys/poll.h
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Wed, 31 Dec 2014 14:46:57 +0000 (14:46 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Wed, 31 Dec 2014 14:46:57 +0000 (14:46 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5230 82007160-df01-0410-b94d-b575c5fd34c7

configure
configure.ac
src/libopm/configure
src/libopm/configure.ac
src/libopm/src/setup.h.in
src/setup.h.in

index e416a28d4bb939267cf3e03442e02082993158d4..356e1a4522ffbe775164399dbb83ccaab5a29779 100755 (executable)
--- 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`
index 68145b9f4d44fe9e4ba51c88d9dd209ab4b6e7ab..d9db3301c376cd37a9a9b84baad8f2bce6e99de1 100644 (file)
@@ -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.
index dd7923e12f2d5136476ad131bf120d6d5daeee6c..55e1f304ca3ea9f797af3eaf226e4ced693b9bb9 100755 (executable)
@@ -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 :
index f4b5cda8a72e66f4c7d4e709f7f68448e70bfcdc..c0c9896d6af4ae823b5be096eac27af0a5dc1969 100644 (file)
@@ -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
 
index dda3e2b4a16a5e0a5b8aa9fface0fc236e1c2cca..e0e39281894a920efa3bd530f6830f528124b91e 100644 (file)
@@ -15,9 +15,6 @@
 /* Define to 1 if you have the <memory.h> 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 <stdint.h> header file. */
 #undef HAVE_STDINT_H
 
@@ -30,9 +27,6 @@
 /* Define to 1 if you have the <string.h> header file. */
 #undef HAVE_STRING_H
 
-/* Define to 1 if you have the <sys/poll.h> header file. */
-#undef HAVE_SYS_POLL_H
-
 /* Define to 1 if you have the <sys/stat.h> header file. */
 #undef HAVE_SYS_STAT_H
 
index 1797f626995eed7fd3276faa18e8da7edc44d450..a08173db4dbc4ae63006b72a059b230f608354ed 100644 (file)
@@ -36,9 +36,6 @@
 /* Define to 1 if you have the `strlcpy' function. */
 #undef HAVE_STRLCPY
 
-/* Define to 1 if you have the <sys/poll.h> header file. */
-#undef HAVE_SYS_POLL_H
-
 /* Define to 1 if you have the <sys/stat.h> header file. */
 #undef HAVE_SYS_STAT_H