X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=configure.ac;h=d76896adccbc7b37d7005457ae293653a716a3b4;hb=728970051cb7420c08c3c4860f09f971880e3244;hp=1183bd25038d43fdf43472899ad0cf84f78becf2;hpb=ec70621f42e2074b454637813c1985b35552b2b3;p=deb_libnfs.git diff --git a/configure.ac b/configure.ac index 1183bd2..d76896a 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ(2.50) -AC_INIT([libnfs], [1.5.0], [ronniesahlberg@gmail.com]) +AC_INIT([libnfs], [1.6.0], [ronniesahlberg@gmail.com]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([foreign]) AC_CANONICAL_HOST @@ -81,6 +81,30 @@ case $host in ;; esac +# check for poll.h +dnl Check for poll.h +AC_CHECK_HEADERS([poll.h]) + +# check for unistd.h +dnl Check for unistd.h +AC_CHECK_HEADERS([unistd.h]) + +# check for sys/ioctl.h +dnl Check for sys/ioctl.h +AC_CHECK_HEADERS([sys/ioctl.h]) + +# check for sys/vfs.h +dnl Check for sys/vfs.h +AC_CHECK_HEADERS([sys/vfs.h]) + +# check for sys/statvfs.h +dnl Check for sys/statvfs.h +AC_CHECK_HEADERS([sys/statvfs.h]) + +# check for netinet/in.h +dnl Check for netinet/in.h +AC_CHECK_HEADERS([netinet/in.h]) + # check for SA_LEN dnl Check if sockaddr data structure includes a "sa_len" AC_CHECK_MEMBER([struct sockaddr.sa_len], @@ -91,6 +115,16 @@ AC_CHECK_MEMBER([struct sockaddr.sa_len], #include ]) +# check for sockaddr_storage +dnl Check if sockaddr structure includes a "ss_family" +AC_CHECK_MEMBER([struct sockaddr_storage.ss_family], + [ AC_DEFINE(HAVE_SOCKADDR_STORAGE,1,[Whether we have sockaddr_Storage]) ], + [], + [ +#include +#include +]) + #output AC_CONFIG_FILES([Makefile] [include/Makefile]