8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 10:00:38 +01:00

Fixed MacOS deployment target issue

This commit is contained in:
AlexPeshkoff 2018-02-10 19:53:05 +03:00
parent f15d2d05c1
commit fc63c40abf

View File

@ -871,8 +871,10 @@ AC_CHECK_FUNCS(pthread_mutexattr_setrobust_np)
AC_CHECK_FUNCS(pthread_mutex_consistent_np)
dnl Check for time function
AC_SEARCH_LIBS(clock_gettime, rt)
AC_CHECK_FUNCS(clock_gettime)
if test "$PLATFORM" != "DARWIN"; then
AC_SEARCH_LIBS(clock_gettime, rt)
AC_CHECK_FUNCS(clock_gettime)
fi
dnl Check for fallocate() system call
AC_CHECK_FUNCS(fallocate)