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 --- catman.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'catman.c') 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 * Copyright (c) 2017 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