X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=configure.ac;h=b790b0677a805f53cf3b2bce1d16f193d4d93863;hb=5fe97d108860c35e28f1d01e1766e6a2cef6d548;hp=b84a8c52db40c017202669beee7ea43beecbf46a;hpb=8dea7c3e2dce362f7a49a2193881a3e291f2fdbe;p=deb_libnfs.git diff --git a/configure.ac b/configure.ac index b84a8c5..b790b06 100644 --- a/configure.ac +++ b/configure.ac @@ -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]