Skip to content

Commit

Permalink
Merge pull request #3 from bsdsx/solaris_check
Browse files Browse the repository at this point in the history
add some checks
  • Loading branch information
pullmoll committed Feb 22, 2016
2 parents c1f06ef + c158aac commit 959e560
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 959e560

Please sign in to comment.