From b5765e1d53dbb9696187d1ad465a02582b5fbafe Mon Sep 17 00:00:00 2001 From: tim Date: Fri, 3 Jun 2005 03:28:29 +0000 Subject: [PATCH] - (tim) [configure.ac] Some platforms need sys/types.h for arpa/nameser.h. Take AC_CHECK_HEADERS test out of ultrix section. It caused other platforms to skip builtin standard includes tests. (first AC_CHECK_HEADERS test must be run on all platforms) Add missing ;; to case statement. OK dtucker@ --- ChangeLog | 6 ++++++ configure.ac | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ec048a7d..57d27415 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +20050602 + - (tim) [configure.ac] Some platforms need sys/types.h for arpa/nameser.h. + Take AC_CHECK_HEADERS test out of ultrix section. It caused other platforms + to skip builtin standard includes tests. (first AC_CHECK_HEADERS test + must be run on all platforms) Add missing ;; to case statement. OK dtucker@ + 20050601 - (dtucker) [configure.ac] Look for _getshort and _getlong in arpa/nameser.h. diff --git a/configure.ac b/configure.ac index 7b86760c..d6f322a0 100644 --- a/configure.ac +++ b/configure.ac @@ -479,7 +479,8 @@ mips-sony-bsd|mips-sony-newsos4) AC_DEFINE(BROKEN_GETGROUPS, [], [getgroups(0,NULL) will return -1]) AC_DEFINE(BROKEN_MMAP, [], [Ultrix mmap can't map files]) AC_DEFINE(NEED_SETPRGP, [], [Need setpgrp to acquire controlling tty]) - AC_CHECK_HEADERS(sys/syslog.h) + AC_DEFINE(HAVE_SYS_SYSLOG_H, 1, [Force use of sys/syslog.h on Ultrix]) + ;; esac # Allow user to specify flags @@ -2540,7 +2541,8 @@ int main() ]) AC_CHECK_FUNCS(_getshort _getlong) AC_CHECK_DECLS([_getshort, _getlong], , , - [#include ]) + [#include + #include ]) AC_CHECK_MEMBER(HEADER.ad, [AC_DEFINE(HAVE_HEADER_AD)],, [#include ]) -- 2.45.2