tweaks: stop 'autoupdate' from failing with "end of file in string"

master
Benno Schulenberg 2020-09-17 13:17:52 +02:00
parent 30016a7e19
commit 65f14624c8
1 changed files with 2 additions and 2 deletions

View File

@ -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)