diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-07-14 17:22:11 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-07-14 17:22:11 +1000 |
commit | 4a42257b06fed3f2ec60ca27175d7db76761aebc (patch) | |
tree | e163fa7e0c64e9161a84d031a41f614242c1a8fd /configure.ac | |
parent | 8e2eb308d09f6bbf5c66c029090c527bc9346db8 (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.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e7475a9e..e3d696cd 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# $Id: configure.ac,v 1.277 2005/07/07 10:33:36 dtucker Exp $ +# $Id: configure.ac,v 1.278 2005/07/14 07:22:11 dtucker Exp $ # # Copyright (c) 1999-2004 Damien Miller # @@ -368,6 +368,9 @@ mips-sony-bsd|mips-sony-newsos4) AC_DEFINE(USE_PIPES) AC_DEFINE(BROKEN_SAVED_UIDS) ;; +*-*-openbsd*) + AC_DEFINE(HAVE_ATTRIBUTE__SENTINEL__, 1, [OpenBSD's gcc has sentinel]) + ;; *-*-solaris*) if test "x$withval" != "xno" ; then need_dash_r=1 |