aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/configure.local.example
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-06-22 20:00:38 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-06-22 20:00:38 +0000
commit1542428e49efefc79fdacc5797aee55722164987 (patch)
treec5f0a628164575199aecebcebf108a089efa1aad /configure.local.example
parente6e331420a7d737bb26d35ecef4180cc569577a4 (diff)
downloadmandoc-1542428e49efefc79fdacc5797aee55722164987.tar.gz
mandoc-1542428e49efefc79fdacc5797aee55722164987.tar.zst
mandoc-1542428e49efefc79fdacc5797aee55722164987.zip
Provide a real feature test for __attribute__().
Looking at version numbers like __GNUC__ is always a bad idea. Believe it or not, this even makes ./configure shorter by one line.
Diffstat (limited to 'configure.local.example')
-rw-r--r--configure.local.example3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.local.example b/configure.local.example
index bfb2e3fd..63f16865 100644
--- a/configure.local.example
+++ b/configure.local.example
@@ -1,4 +1,4 @@
-# $Id: configure.local.example,v 1.37 2020/02/05 15:12:11 schwarze Exp $
+# $Id: configure.local.example,v 1.38 2020/06/22 20:00:38 schwarze Exp $
#
# Copyright (c) 2014-2019 Ingo Schwarze <schwarze@openbsd.org>
#
@@ -288,6 +288,7 @@ CFLAGS="-g"
# and will be regarded as failed) or 1 (test will not be run and will
# be regarded as successful).
+HAVE_ATTRIBUTE=0
HAVE_DIRENT_NAMLEN=0
HAVE_ENDIAN=0
HAVE_EFTYPE=0