summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-07-14 17:22:11 +1000
committerDarren Tucker <dtucker@zip.com.au>2005-07-14 17:22:11 +1000
commit4a42257b06fed3f2ec60ca27175d7db76761aebc (patch)
treee163fa7e0c64e9161a84d031a41f614242c1a8fd /configure.ac
parent8e2eb308d09f6bbf5c66c029090c527bc9346db8 (diff)
- (dtucker) [configure.ac defines.h] Define __sentinel__ to nothing if the
compiler doesn't understand it to prevent warnings. If any mainstream compiler versions acquire it we can test for those versions. Based on discussion with djm@.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e7475a9e5..e3d696cdd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.277 2005/07/07 10:33:36 dtucker Exp $ 1# $Id: configure.ac,v 1.278 2005/07/14 07:22:11 dtucker Exp $
2# 2#
3# Copyright (c) 1999-2004 Damien Miller 3# Copyright (c) 1999-2004 Damien Miller
4# 4#
@@ -368,6 +368,9 @@ mips-sony-bsd|mips-sony-newsos4)
368 AC_DEFINE(USE_PIPES) 368 AC_DEFINE(USE_PIPES)
369 AC_DEFINE(BROKEN_SAVED_UIDS) 369 AC_DEFINE(BROKEN_SAVED_UIDS)
370 ;; 370 ;;
371*-*-openbsd*)
372 AC_DEFINE(HAVE_ATTRIBUTE__SENTINEL__, 1, [OpenBSD's gcc has sentinel])
373 ;;
371*-*-solaris*) 374*-*-solaris*)
372 if test "x$withval" != "xno" ; then 375 if test "x$withval" != "xno" ; then
373 need_dash_r=1 376 need_dash_r=1