add support to create a pkgconfig file 'libnfs.pc' on build, and install this with...
[deb_libnfs.git] / configure.ac
index a569f7016d914ac7839d69a0f61a138c0e0e1c38..24400c377857832dd8d756c1f91db8130b74d7b5 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])])
@@ -87,4 +88,4 @@ AC_CONFIG_FILES([Makefile]
                 [examples/Makefile]
                )
 
-AC_OUTPUT
+AC_OUTPUT([libnfs.pc])