diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2020-06-14 23:40:31 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2020-06-14 23:40:31 +0000 |
commit | 66f5654476f96c127a607e83ee80b64405dcfc8c (patch) | |
tree | 1519ffcab0757df16b5251b492710382ed8e96a2 /catman.c | |
parent | 9bc4b66772565189056af67d2f6ebf5f9fbd142b (diff) | |
download | mandoc-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ */ #include "config.h" -#if HAVE_CMSG_XPG42 +#if NEED_XPG4_2 #define _XPG4_2 #endif |