commit 65f14624c82ab28fcf73a1d93e1372eefa8abcbb
parent 30016a7e1985cfcc826e65a8c80f5441c5e6d0d0
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Thu, 17 Sep 2020 13:17:52 +0200
tweaks: stop 'autoupdate' from failing with "end of file in string"
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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)