aboutsummaryrefslogtreecommitdiffstats
path: root/macros
diff options
context:
space:
mode:
authorPavel Roskin <proskin@src.gnome.org>2001-08-20 16:00:31 +0800
committerPavel Roskin <proskin@src.gnome.org>2001-08-20 16:00:31 +0800
commit135585f1fe9c6c4f4123e10994332da5cbdbad93 (patch)
tree1a81ddeaa69c9871a53ea21c76d0493fbf8e4fea /macros
parente16950f052b587748735e99e24ecab7a22daffd4 (diff)
downloadgsoc2013-evolution-135585f1fe9c6c4f4123e10994332da5cbdbad93.tar
gsoc2013-evolution-135585f1fe9c6c4f4123e10994332da5cbdbad93.tar.gz
gsoc2013-evolution-135585f1fe9c6c4f4123e10994332da5cbdbad93.tar.bz2
gsoc2013-evolution-135585f1fe9c6c4f4123e10994332da5cbdbad93.tar.lz
gsoc2013-evolution-135585f1fe9c6c4f4123e10994332da5cbdbad93.tar.xz
gsoc2013-evolution-135585f1fe9c6c4f4123e10994332da5cbdbad93.tar.zst
gsoc2013-evolution-135585f1fe9c6c4f4123e10994332da5cbdbad93.zip
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=12262
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 8ab81e5ac4..dbd00dcbfd 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 8ca361f28b..6dce307783 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