X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=configure.ac;h=5b8f1fa994f3aae70125e80b5da93c128c7831be;hb=4a75cfa21496112df81d290fca2a8e0ec245c802;hp=9689a1f57a721d7a001fb5bfd872be57cc180329;hpb=fc01d2a96189edc0c08fb1d757f83c63077b0516;p=deb_libnfs.git diff --git a/configure.ac b/configure.ac index 9689a1f..5b8f1fa 100644 --- a/configure.ac +++ b/configure.ac @@ -52,6 +52,10 @@ case $host in ;; *solaris*) AC_CHECK_HEADERS([sys/filio.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 ;; *) ;;