summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2005-06-02 20:28:29 -0700
committerTim Rice <tim@multitalents.net>2005-06-02 20:28:29 -0700
commitfcc7ff1de8db0647357a5846e4d629f4ca54a6b9 (patch)
tree9115ef0b1fe1f11321bd4d7dbf2aab87ac6d9c82
parent4dbacffe7bd6160c66c89093969eba469fb90b55 (diff)
- (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@
-rw-r--r--ChangeLog8
-rw-r--r--configure.ac8
2 files changed, 12 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 67d44780c..a24199236 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
120050602
2 - (tim) [configure.ac] Some platforms need sys/types.h for arpa/nameser.h.
3 Take AC_CHECK_HEADERS test out of ultrix section. It caused other platforms
4 to skip builtin standard includes tests. (first AC_CHECK_HEADERS test
5 must be run on all platforms) Add missing ;; to case statement. OK dtucker@
6
120050601 720050601
2 - (dtucker) [configure.ac] Look for _getshort and _getlong in 8 - (dtucker) [configure.ac] Look for _getshort and _getlong in
3 arpa/nameser.h. 9 arpa/nameser.h.
@@ -2667,4 +2673,4 @@
2667 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 2673 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
2668 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 2674 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
2669 2675
2670$Id: ChangeLog,v 1.3809 2005/06/02 03:09:28 tim Exp $ 2676$Id: ChangeLog,v 1.3810 2005/06/03 03:28:29 tim Exp $
diff --git a/configure.ac b/configure.ac
index 61132acd0..bca35a633 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.271 2005/06/02 03:09:28 tim Exp $ 1# $Id: configure.ac,v 1.272 2005/06/03 03:28:29 tim Exp $
2# 2#
3# Copyright (c) 1999-2004 Damien Miller 3# Copyright (c) 1999-2004 Damien Miller
4# 4#
@@ -479,7 +479,8 @@ mips-sony-bsd|mips-sony-newsos4)
479 AC_DEFINE(BROKEN_GETGROUPS, [], [getgroups(0,NULL) will return -1]) 479 AC_DEFINE(BROKEN_GETGROUPS, [], [getgroups(0,NULL) will return -1])
480 AC_DEFINE(BROKEN_MMAP, [], [Ultrix mmap can't map files]) 480 AC_DEFINE(BROKEN_MMAP, [], [Ultrix mmap can't map files])
481 AC_DEFINE(NEED_SETPRGP, [], [Need setpgrp to acquire controlling tty]) 481 AC_DEFINE(NEED_SETPRGP, [], [Need setpgrp to acquire controlling tty])
482 AC_CHECK_HEADERS(sys/syslog.h) 482 AC_DEFINE(HAVE_SYS_SYSLOG_H, 1, [Force use of sys/syslog.h on Ultrix])
483 ;;
483esac 484esac
484 485
485# Allow user to specify flags 486# Allow user to specify flags
@@ -2540,7 +2541,8 @@ int main()
2540 ]) 2541 ])
2541 AC_CHECK_FUNCS(_getshort _getlong) 2542 AC_CHECK_FUNCS(_getshort _getlong)
2542 AC_CHECK_DECLS([_getshort, _getlong], , , 2543 AC_CHECK_DECLS([_getshort, _getlong], , ,
2543 [#include <arpa/nameser.h>]) 2544 [#include <sys/types.h>
2545 #include <arpa/nameser.h>])
2544 AC_CHECK_MEMBER(HEADER.ad, 2546 AC_CHECK_MEMBER(HEADER.ad,
2545 [AC_DEFINE(HAVE_HEADER_AD)],, 2547 [AC_DEFINE(HAVE_HEADER_AD)],,
2546 [#include <arpa/nameser.h>]) 2548 [#include <arpa/nameser.h>])