add support for opensolaris
[deb_libnfs.git] / configure.ac
index a569f7016d914ac7839d69a0f61a138c0e0e1c38..1b21947fcd9ab8266bdc9b1914ca36dab854d24f 100644 (file)
@@ -49,6 +49,7 @@ 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])])