* gnome-vfs.m4 (GNOME_WITH_VFS): Specify additional includes
when testing for rpc/pmap_clnt.h. Needed for Autoconf 2.50+
only - older versions don't try to compile headers and ignore
this argument.
svn path=/trunk/; revision=1944
+2001-08-20 Pavel Roskin <proski@gnu.org>
+
+ * gnome-vfs.m4 (GNOME_WITH_VFS): Specify additional includes
+ when testing for rpc/pmap_clnt.h. Needed for Autoconf 2.50+
+ only - older versions don't try to compile headers and ignore
+ this argument.
+
2001-08-04 Darin Adler <darin@bentspoon.com>
* .cvsignore: Ignore generated .dep file.
])])
AC_CHECK_FUNCS(pmap_getport pmap_getmaps rresvport)
dnl add for source routing support setsockopt
- AC_CHECK_HEADERS(rpc/pmap_clnt.h)
+ AC_CHECK_HEADERS(rpc/pmap_clnt.h, , , [
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <rpc/rpc.h>
+#include <rpc/pmap_prot.h>
+ ])
vfs_flags="$vfs_flags, mcfs, ftpfs, fish"
use_net_code=true
fi