Fix example linkage under solaris

libnfs-4.0.0-vitalif
Trent Nelson 2011-06-28 03:54:44 -04:00
parent fc01d2a961
commit 4a75cfa214
1 changed files with 4 additions and 0 deletions

View File

@ -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
;;
*)
;;