From 91e6c883fe1b705b69546662fbc0ee1a5b688163 Mon Sep 17 00:00:00 2001 From: ian Date: Tue, 18 Dec 2001 00:03:20 +0000 Subject: [PATCH] + * Don't use any more, it was a mistake made in pre-1.0 @@ -3,6 +3,8 @@ Bugfixes: + * Don't use any more, it was a mistake made in pre-1.0 + (and there doesn't seem to be much explanation why). --- acconfig.h | 4 ---- changelog | 2 ++ configure | 40 ---------------------------------------- configure.in | 1 - src/config.h.in | 7 ------- 5 files changed, 2 insertions(+), 52 deletions(-) diff --git a/acconfig.h b/acconfig.h index 96f0889..1d0e671 100644 --- a/acconfig.h +++ b/acconfig.h @@ -114,7 +114,3 @@ struct pollfd { int fd; short events; short revents; }; #ifdef HAVEUSE_RPCTYPES_H #include #endif - -#ifdef HAVE_SYS_SELECT_H -#include -#endif diff --git a/changelog b/changelog index 0cea196..8c9a3ac 100644 --- 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. + * Don't use any more, it was a mistake made in pre-1.0 + (and there doesn't seem to be much explanation why). -- diff --git a/configure b/configure index da114e9..e5d26ec 100755 --- a/configure +++ b/configure @@ -1668,46 +1668,6 @@ EOF 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 -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 <&6 -fi -done - diff --git a/configure.in b/configure.in index 55b8128..096396d 100644 --- a/configure.in +++ b/configure.in @@ -113,7 +113,6 @@ DPKG_CACHED_TRY_COMPILE(inlines,dpkg_cv_c_inline,, AC_MSG_RESULT(no)) ADNS_C_GCCATTRIB -AC_CHECK_HEADERS(sys/select.h) AC_SUBST(WARNS) diff --git a/src/config.h.in b/src/config.h.in index a22abe8..c583fc0 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -21,9 +21,6 @@ /* Define if you have the poll function. */ #undef HAVE_POLL -/* Define if you have the header file. */ -#undef HAVE_SYS_SELECT_H - /* 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 #endif - -#ifdef HAVE_SYS_SELECT_H -#include -#endif -- 2.30.2