From 30da7aa93492bbe72c27b4bfca4a30fcf9a11f79 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 14 Jun 2020 23:40:31 +0000 Subject: 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 --- mandocd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mandocd.c') diff --git a/mandocd.c b/mandocd.c index 1a597b38..60e40fed 100644 --- a/mandocd.c +++ b/mandocd.c @@ -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 * Copyright (c) 2017, 2019 Ingo Schwarze @@ -17,7 +17,7 @@ */ #include "config.h" -#if HAVE_CMSG_XPG42 +#if NEED_XPG4_2 #define _XPG4_2 #endif -- cgit v1.2.3-56-ge451