X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=configure.ac;h=c4fe184a3c00a43de75b7bceeab29ea88efafc18;hb=c4d5f5b874a10dfa71915a1e2c64cbe708db92ec;hp=1b4b66b5375b066c94826b860b4c91320b180610;hpb=7057e733c1465661c410b65d90e4c5d0939f1617;p=deb_libnfs.git diff --git a/configure.ac b/configure.ac index 1b4b66b..c4fe184 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ(2.50) -AC_INIT([libnfs], [1.6.0], [ronniesahlberg@gmail.com]) +AC_INIT([libnfs], [1.9.5], [ronniesahlberg@gmail.com]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([foreign]) AC_CANONICAL_HOST @@ -89,6 +89,22 @@ AC_CHECK_HEADERS([poll.h]) dnl Check for unistd.h AC_CHECK_HEADERS([unistd.h]) +# check for netdb.h +dnl Check for netdb.h +AC_CHECK_HEADERS([netdb.h]) + +# check for utime.h +dnl Check for utime.h +AC_CHECK_HEADERS([utime.h]) + +# check for net/if.h +dnl Check for net/if.h +AC_CHECK_HEADERS([net/if.h]) + +# check for sys/time.h +dnl Check for sys/time.h +AC_CHECK_HEADERS([sys/time.h]) + # check for sys/ioctl.h dnl Check for sys/ioctl.h AC_CHECK_HEADERS([sys/ioctl.h]) @@ -105,10 +121,18 @@ AC_CHECK_HEADERS([sys/statvfs.h]) dnl Check for sys/socket.h AC_CHECK_HEADERS([sys/socket.h]) +# check for netinet/tcp.h +dnl Check for netinet/tcp.h +AC_CHECK_HEADERS([netinet/tcp.h]) + # check for netinet/in.h dnl Check for netinet/in.h AC_CHECK_HEADERS([netinet/in.h]) +# check for arpa/inet.h +dnl Check for arpa/inet.h +AC_CHECK_HEADERS([arpa/inet.h]) + # check for SA_LEN dnl Check if sockaddr data structure includes a "sa_len" AC_CHECK_MEMBER([struct sockaddr.sa_len], @@ -129,15 +153,23 @@ AC_CHECK_MEMBER([struct sockaddr_storage.ss_family], #include ]) +AC_CHECK_MEMBERS([struct stat.st_mtim.tv_nsec]) + +# check where makedev is defined +AC_HEADER_MAJOR + #output AC_CONFIG_FILES([Makefile] + [doc/Makefile] [include/Makefile] [lib/Makefile] [mount/Makefile] [nfs/Makefile] [nlm/Makefile] + [nsm/Makefile] [portmap/Makefile] [rquota/Makefile] + [utils/Makefile] [examples/Makefile] )