mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 16:43:03 +01:00
On HPUX problems happen when linking C++ program using posix_fadvice()
This commit is contained in:
parent
17ff6256ac
commit
21834f9957
@ -672,7 +672,7 @@ AC_CHECK_FUNCS(semtimedop)
|
||||
# HPUX has a bug in .h files. To detect it we need C++ here.
|
||||
AC_LANG_PUSH(C++)
|
||||
#AC_CHECK_FUNCS(posix_fadvise)
|
||||
AC_COMPILE_IFELSE(
|
||||
AC_LINK_IFELSE(
|
||||
[AC_LANG_PROGRAM([[#include <fcntl.h>]], [[posix_fadvise(0, 0, 0, 0);]])],
|
||||
AC_DEFINE(HAVE_POSIX_FADVISE, 1, [Define this if posix_fadvise() is present on the platform]))
|
||||
AC_LANG_POP(C++)
|
||||
|
Loading…
Reference in New Issue
Block a user