Skip to content

Commit

Permalink
add some checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Freddy DISSAUX committed Feb 20, 2016
1 parent c1f06ef commit c158aac
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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 <sys/param.h>
])

AC_CHECK_FUNCS([dirfd])

AC_CHECK_MEMBERS([DIR.dd_fd, DIR.d_fd],,,
[#include <sys/types.h>
#include <dirent.h>
])

AC_CONFIG_FILES([Makefile musl-fts.pc])
AC_OUTPUT

0 comments on commit c158aac

Please sign in to comment.