X-Git-Url: https://git.piment-noir.org/?p=deb_libnfs.git;a=blobdiff_plain;f=configure.ac;h=2e64295be8b37d782639bc579ac25a5dbc9f6eaa;hp=2cb979eb8a7dc4680689e86b3090821346f00c5b;hb=HEAD;hpb=3c769bb1bd1fd46b1c73283cd333020ad075619b diff --git a/configure.ac b/configure.ac index 2cb979e..2e64295 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ(2.50) -AC_INIT([libnfs], [1.9.4], [ronniesahlberg@gmail.com]) +AC_INIT([libnfs], [1.9.6], [ronniesahlberg@gmail.com]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([foreign]) AC_CANONICAL_HOST @@ -72,10 +72,8 @@ case $host in *solaris*) AC_CHECK_HEADERS([sys/filio.h]) AC_CHECK_HEADERS([sys/sockio.h]) - if test x$ENABLE_EXAMPLES = xyes; then - AC_CHECK_LIB([socket], [main], , [AC_MSG_ERROR([Can not find required library])]) - AC_CHECK_LIB([nsl], [main], , [AC_MSG_ERROR([Can not find required library])]) - fi + AC_CHECK_LIB([socket], [main], , [AC_MSG_ERROR([Can not find required library])]) + AC_CHECK_LIB([nsl], [main], , [AC_MSG_ERROR([Can not find required library])]) ;; *) ;; @@ -153,6 +151,11 @@ 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]