aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-libgtop-sysdeps.m4
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1998-11-18 06:11:43 +0800
committerMartin Baulig <martin@src.gnome.org>1998-11-18 06:11:43 +0800
commit7f4300223d86e9687f2c420834c18ac0e23b4e68 (patch)
treee83d5d664b205da812b70e1ca9650a63d262f092 /macros/gnome-libgtop-sysdeps.m4
parent9988b00f0a24e9e022bca997195d97aba43f4a13 (diff)
downloadgsoc2013-evolution-7f4300223d86e9687f2c420834c18ac0e23b4e68.tar
gsoc2013-evolution-7f4300223d86e9687f2c420834c18ac0e23b4e68.tar.gz
gsoc2013-evolution-7f4300223d86e9687f2c420834c18ac0e23b4e68.tar.bz2
gsoc2013-evolution-7f4300223d86e9687f2c420834c18ac0e23b4e68.tar.lz
gsoc2013-evolution-7f4300223d86e9687f2c420834c18ac0e23b4e68.tar.xz
gsoc2013-evolution-7f4300223d86e9687f2c420834c18ac0e23b4e68.tar.zst
gsoc2013-evolution-7f4300223d86e9687f2c420834c18ac0e23b4e68.zip
We need to check for <net/if_var.h> and conditionally include it before
1998-11-17 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-sysdeps.m4: We need to check for <net/if_var.h> and conditionally include it before <net/if_isppp.h> in the code that check for I4B to make it work on FreeBSD 3.0. svn path=/trunk/; revision=478
Diffstat (limited to 'macros/gnome-libgtop-sysdeps.m4')
-rw-r--r--macros/gnome-libgtop-sysdeps.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/macros/gnome-libgtop-sysdeps.m4 b/macros/gnome-libgtop-sysdeps.m4
index f2ff2d9f73..6a96214673 100644
--- a/macros/gnome-libgtop-sysdeps.m4
+++ b/macros/gnome-libgtop-sysdeps.m4
@@ -142,6 +142,7 @@ main (void)
case "$host_os" in
*bsd*)
+ AC_CHECK_HEADERS(net/if_var.h)
AC_MSG_CHECKING([for I4B])
AC_TRY_COMPILE([
#include <sys/types.h>
@@ -149,6 +150,11 @@ main (void)
#include <net/if.h>
#include <net/if_types.h>
+
+#ifdef HAVE_NET_IF_VAR_H
+#include <net/if_var.h>
+#endif
+
#include <net/netisr.h>
#include <net/route.h>
@@ -170,6 +176,11 @@ main (void)
#include <net/if.h>
#include <net/if_types.h>
+
+#ifdef HAVE_NET_IF_VAR_H
+#include <net/if_var.h>
+#endif
+
#include <net/netisr.h>
#include <net/route.h>