From 65f14624c82ab28fcf73a1d93e1372eefa8abcbb Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 17 Sep 2020 13:17:52 +0200 Subject: [PATCH] tweaks: stop 'autoupdate' from failing with "end of file in string" --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 21e18a0f..b3864d9a 100644 --- a/configure.ac +++ b/configure.ac @@ -684,7 +684,7 @@ int main(void) int testcolor = COLOR_WHITE; return 0; }], AC_MSG_RESULT(no), - AC_TRY_RUN([ + AC_RUN_IFELSE([AC_LANG_SOURCE([[ #ifndef _XOPEN_SOURCE_EXTENDED #define _XOPEN_SOURCE_EXTENDED 1 #endif @@ -693,7 +693,7 @@ int main(void) { int testcolor = COLOR_WHITE; return 0; -}], +}]])], AC_DEFINE(NEED_XOPEN_SOURCE_EXTENDED, 1, [Define this if you need the _XOPEN_SOURCE_EXTENDED macro for color support.]) AC_MSG_RESULT(yes), AC_MSG_RESULT(not sure)