aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit30da7aa93492bbe72c27b4bfca4a30fcf9a11f79 (patch)
tree6c9ff831b6b4b16a2a36e629a01f9bec82566b4f /catman.c
parentbd0a544f0b4a0b27cceb27491da4eb567414c8ce (diff)
downloadmandoc-30da7aa93492bbe72c27b4bfca4a30fcf9a11f79.tar.gz
mandoc-30da7aa93492bbe72c27b4bfca4a30fcf9a11f79.tar.zst
mandoc-30da7aa93492bbe72c27b4bfca4a30fcf9a11f79.zip
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/catman.c b/catman.c
index 7d62c0e7..b1bab0f6 100644
--- a/catman.c
+++ b/catman.c
@@ -1,4 +1,4 @@
-/* $Id: catman.c,v 1.21 2017/02/18 12:24:24 schwarze Exp $ */
+/* $Id: catman.c,v 1.22 2020/06/14 23:40:31 schwarze Exp $ */
/*
* Copyright (c) 2017 Michael Stapelberg <stapelberg@debian.org>
* Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -17,7 +17,7 @@
*/
#include "config.h"
-#if HAVE_CMSG_XPG42
+#if NEED_XPG4_2
#define _XPG4_2
#endif