summaryrefslogtreecommitdiffstats
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
commit992351efb7c048f2feace7e85c00a1735739edcf (patch)
treeb53548bb95a750eb0ffdf178fea1584bf8e54ee5 /configure.local.example
parent23725517c855826c2ed76257c280b26e55e87c09 (diff)
downloadmandoc-992351efb7c048f2feace7e85c00a1735739edcf.tar.gz
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.example1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.local.example b/configure.local.example
index 2affe47b..f9d39200 100644
--- a/configure.local.example
+++ b/configure.local.example
@@ -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