X-Git-Url: https://git.piment-noir.org/?p=deb_libnfs.git;a=blobdiff_plain;f=configure.ac;h=b790b0677a805f53cf3b2bce1d16f193d4d93863;hp=c4fe184a3c00a43de75b7bceeab29ea88efafc18;hb=5fe97d108860c35e28f1d01e1766e6a2cef6d548;hpb=bce63d849cdc3870d3e99fe8a968924a836aa63e diff --git a/configure.ac b/configure.ac index c4fe184..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])]) ;; *) ;;