diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index fed7167e65d..e49de9e4f04 100644 --- a/configure.ac +++ b/configure.ac @@ -1816,10 +1816,10 @@ AC_CHECK_DECLS(posix_fadvise, [], [], [#include <fcntl.h>]) AC_CHECK_DECLS(fdatasync, [], [], [#include <unistd.h>]) AC_CHECK_DECLS([strlcat, strlcpy, strnlen]) -# We can't use AC_REPLACE_FUNCS to replace these functions, because it +# We can't use AC_CHECK_FUNCS to detect these functions, because it # won't handle deployment target restrictions on macOS -AC_CHECK_DECLS([preadv], [], [AC_LIBOBJ(preadv)], [#include <sys/uio.h>]) -AC_CHECK_DECLS([pwritev], [], [AC_LIBOBJ(pwritev)], [#include <sys/uio.h>]) +AC_CHECK_DECLS([preadv], [], [], [#include <sys/uio.h>]) +AC_CHECK_DECLS([pwritev], [], [], [#include <sys/uio.h>]) # This is probably only present on macOS, but may as well check always AC_CHECK_DECLS(F_FULLFSYNC, [], [], [#include <fcntl.h>]) |