chiark / gitweb /
+ * Don't use <sys/select.h> any more, it was a mistake made in pre-1.0
authorian <ian>
Tue, 18 Dec 2001 00:03:20 +0000 (00:03 +0000)
committerian <ian>
Tue, 18 Dec 2001 00:03:20 +0000 (00:03 +0000)
@@ -3,6 +3,8 @@
   Bugfixes:
+  * Don't use <sys/select.h> any more, it was a mistake made in pre-1.0
+    (and there doesn't seem to be much explanation why).

acconfig.h
changelog
configure
configure.in
src/config.h.in

index 96f0889d932e9f68c8e8fa285bf3ef72818fe3f5..1d0e671435ccf6c653897c1c5915da9d51ee0ce0 100644 (file)
@@ -114,7 +114,3 @@ struct pollfd { int fd; short events; short revents; };
 #ifdef HAVEUSE_RPCTYPES_H
 #include <rpc/types.h>
 #endif
 #ifdef HAVEUSE_RPCTYPES_H
 #include <rpc/types.h>
 #endif
-
-#ifdef HAVE_SYS_SELECT_H
-#include <sys/select.h>
-#endif
index 0cea1961abe616d31c15a4a6a06080ad804b6575..8c9a3acefb08db27f9fd627f6b6ef1104c6d5fe9 100644 (file)
--- a/changelog
+++ b/changelog
@@ -3,6 +3,8 @@ adns (1.1); urgency=medium
   Bugfixes:
   * Stop searching on a CNAME (even if it's broken).
   * When search list runs out, _qf_owner sets owner to query domain.
   Bugfixes:
   * Stop searching on a CNAME (even if it's broken).
   * When search list runs out, _qf_owner sets owner to query domain.
+  * Don't use <sys/select.h> any more, it was a mistake made in pre-1.0
+    (and there doesn't seem to be much explanation why).
 
  --
 
 
  --
 
index da114e90f000f2656a542479bd446d3ef39fc123..e5d26ec9d0ebbf1bbd51581c5ea82fbd5522f68e 100755 (executable)
--- a/configure
+++ b/configure
@@ -1668,46 +1668,6 @@ EOF
  fi
 
 
  fi
 
 
-for ac_hdr in sys/select.h
-do
-ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:1676: checking for $ac_hdr" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
-else
-  cat > conftest.$ac_ext <<EOF
-#line 1681 "configure"
-#include "confdefs.h"
-#include <$ac_hdr>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
-  rm -rf conftest*
-  eval "ac_cv_header_$ac_safe=yes"
-else
-  echo "$ac_err" >&5
-  echo "configure: failed program was:" >&5
-  cat conftest.$ac_ext >&5
-  rm -rf conftest*
-  eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
-  echo "$ac_t""yes" 1>&6
-    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
-  cat >> confdefs.h <<EOF
-#define $ac_tr_hdr 1
-EOF
-else
-  echo "$ac_t""no" 1>&6
-fi
-done
-
 
 
 
 
 
 
index 55b81287e9dc519f1b79a15976d7da74b40e2c74..096396d1e9eaacef1d63e9d97ed85fa457e2392e 100644 (file)
@@ -113,7 +113,6 @@ DPKG_CACHED_TRY_COMPILE(inlines,dpkg_cv_c_inline,,
  AC_MSG_RESULT(no))
 
 ADNS_C_GCCATTRIB
  AC_MSG_RESULT(no))
 
 ADNS_C_GCCATTRIB
-AC_CHECK_HEADERS(sys/select.h)
 
 AC_SUBST(WARNS)
 
 
 AC_SUBST(WARNS)
 
index a22abe8a7206aeaea1e39079a5f3d1185f17d482..c583fc0fecf03a3159418cb1f09d29c0afaa2613 100644 (file)
@@ -21,9 +21,6 @@
 /* Define if you have the poll function.  */
 #undef HAVE_POLL
 
 /* Define if you have the poll function.  */
 #undef HAVE_POLL
 
-/* Define if you have the <sys/select.h> header file.  */
-#undef HAVE_SYS_SELECT_H
-
 /* Define if you have the nsl library (-lnsl).  */
 #undef HAVE_LIBNSL
 
 /* Define if you have the nsl library (-lnsl).  */
 #undef HAVE_LIBNSL
 
@@ -99,7 +96,3 @@ struct pollfd { int fd; short events; short revents; };
 #ifdef HAVEUSE_RPCTYPES_H
 #include <rpc/types.h>
 #endif
 #ifdef HAVEUSE_RPCTYPES_H
 #include <rpc/types.h>
 #endif
-
-#ifdef HAVE_SYS_SELECT_H
-#include <sys/select.h>
-#endif