Fix __STDC_LIMIT_MACROS autoconf check

This commit is contained in:
Frank Denis 2013-04-27 13:42:55 -07:00
parent 318d54e990
commit 46f5ec89a6

View File

@ -195,10 +195,9 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
(void) SIZE_MAX; (void) SIZE_MAX;
(void) UINT64_MAX; (void) UINT64_MAX;
]])], ]])],
[AC_MSG_RESULT(no) [AC_MSG_RESULT(no)],
CPPFLAGS="$CPPFLAGS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS"
],
[AC_MSG_RESULT(yes) [AC_MSG_RESULT(yes)
CPPFLAGS="$CPPFLAGS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS"
]) ])
AC_MSG_CHECKING(whether we can assemble basic amd64 code) AC_MSG_CHECKING(whether we can assemble basic amd64 code)