From c158aacb37182318a3b9dadf0da6a1b77870345e Mon Sep 17 00:00:00 2001 From: Freddy DISSAUX Date: Sat, 20 Feb 2016 12:14:47 +0100 Subject: [PATCH] add some checks --- configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/configure.ac b/configure.ac index 7bba1ab..a01a6d0 100644 --- a/configure.ac +++ b/configure.ac @@ -15,5 +15,16 @@ LT_INIT AC_CHECK_HEADERS(assert.h dirent.h errno.h fcntl.h stdlib.h string.h unistd.h sys/param.h sys/stat.h) +AC_CHECK_DECLS([MAX], , , [ +#include + ]) + +AC_CHECK_FUNCS([dirfd]) + +AC_CHECK_MEMBERS([DIR.dd_fd, DIR.d_fd],,, +[#include +#include + ]) + AC_CONFIG_FILES([Makefile musl-fts.pc]) AC_OUTPUT