summaryrefslogtreecommitdiffstats
path: root/catman.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-06-14 23:40:31 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-06-14 23:40:31 +0000
commit66f5654476f96c127a607e83ee80b64405dcfc8c (patch)
tree1519ffcab0757df16b5251b492710382ed8e96a2 /catman.c
parent9bc4b66772565189056af67d2f6ebf5f9fbd142b (diff)
downloadmandoc-66f5654476f96c127a607e83ee80b64405dcfc8c.tar.gz
Make the ./configure script simpler, more robust, and 23 lines shorter:
* three rather than four arguments for singletest() * let runtest() support testing two variants of compiler flags * always report a failed test, even when another test follows * run all tests before detecting fatal conditions * rename HAVE_CMSG_XPG42 to NEED_XPG4_2 for consistency * consistently use braces for shell variable interpolation * drop archaic "X${" syntax and unusual "==" in string comparisons
Diffstat (limited to 'catman.c')
-rw-r--r--catman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/catman.c b/catman.c
index 871b995b..b1fe9f13 100644
--- a/catman.c
+++ b/catman.c
@@ -17,7 +17,7 @@
*/
#include "config.h"
-#if HAVE_CMSG_XPG42
+#if NEED_XPG4_2
#define _XPG4_2
#endif