configure.ac: Fix monotonic test harder
This was only introduced in a later version of POSIX, so define that version to get it from more conformant systems.
This commit is contained in:
parent
726dcd9e4e
commit
08073862f8
|
@ -734,7 +734,7 @@ if ! test "x$have_clock_gettime" = xno; then
|
||||||
CPPFLAGS_SAVE="$CPPFLAGS"
|
CPPFLAGS_SAVE="$CPPFLAGS"
|
||||||
|
|
||||||
if test x"$glibc" = xyes; then
|
if test x"$glibc" = xyes; then
|
||||||
CPPFLAGS="$CPPFLAGS -D_POSIX_C_SOURCE=199309L"
|
CPPFLAGS="$CPPFLAGS -D_POSIX_C_SOURCE=200112L"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_RUN_IFELSE([
|
AC_RUN_IFELSE([
|
||||||
|
|
Loading…
Reference in New Issue