summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
authorPavel Roskin <proskin@src.gnome.org>2001-08-20 08:00:31 +0000
committerPavel Roskin <proskin@src.gnome.org>2001-08-20 08:00:31 +0000
commitbc24ef92030b2f666185b1fa66531b6f01290524 (patch)
treed62a84a1374d59d9afff72f98173bcd2bf5ce5cd /macros
parent620f647cfea0d1ff5347accc2cd2679cb57c5bbc (diff)
downloadshared-mime-info-bc24ef92030b2f666185b1fa66531b6f01290524.tar.gz
Specify additional includes when testing for rpc/pmap_clnt.h. Needed for
* 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
Diffstat (limited to 'macros')
-rw-r--r--macros/ChangeLog7
-rw-r--r--macros/gnome-vfs.m48
2 files changed, 14 insertions, 1 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index 8ab81e5a..dbd00dcb 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,3 +1,10 @@
+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.
diff --git a/macros/gnome-vfs.m4 b/macros/gnome-vfs.m4
index 8ca361f2..6dce3077 100644
--- a/macros/gnome-vfs.m4
+++ b/macros/gnome-vfs.m4
@@ -48,7 +48,13 @@ AC_DEFUN([GNOME_WITH_VFS],[
])])
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