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 | 30da7aa93492bbe72c27b4bfca4a30fcf9a11f79 (patch) | |
tree | 6c9ff831b6b4b16a2a36e629a01f9bec82566b4f /mandocd.c | |
parent | bd0a544f0b4a0b27cceb27491da4eb567414c8ce (diff) | |
download | mandoc-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 'mandocd.c')
-rw-r--r-- | mandocd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandocd.c,v 1.11 2019/03/03 13:02:11 schwarze Exp $ */ +/* $Id: mandocd.c,v 1.12 2020/06/14 23:40:31 schwarze Exp $ */ /* * Copyright (c) 2017 Michael Stapelberg <stapelberg@debian.org> * Copyright (c) 2017, 2019 Ingo Schwarze <schwarze@openbsd.org> @@ -17,7 +17,7 @@ */ #include "config.h" -#if HAVE_CMSG_XPG42 +#if NEED_XPG4_2 #define _XPG4_2 #endif |