diff options
Diffstat (limited to 'macros')
-rw-r--r-- | macros/ChangeLog | 7 | ||||
-rw-r--r-- | macros/gnome-vfs.m4 | 8 |
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 |