From 7f4300223d86e9687f2c420834c18ac0e23b4e68 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Tue, 17 Nov 1998 22:11:43 +0000 Subject: We need to check for and conditionally include it before 1998-11-17 Martin Baulig * gnome-libgtop-sysdeps.m4: We need to check for and conditionally include it before in the code that check for I4B to make it work on FreeBSD 3.0. svn path=/trunk/; revision=478 --- macros/ChangeLog | 6 ++++++ macros/gnome-libgtop-sysdeps.m4 | 11 +++++++++++ 2 files changed, 17 insertions(+) diff --git a/macros/ChangeLog b/macros/ChangeLog index 4e44c28eff..4d87d78530 100644 --- a/macros/ChangeLog +++ b/macros/ChangeLog @@ -1,3 +1,9 @@ +1998-11-17 Martin Baulig + + * gnome-libgtop-sysdeps.m4: We need to check for + and conditionally include it before in the code + that check for I4B to make it work on FreeBSD 3.0. + 1998-10-25 Marius Vollmer * gnome-guile-checks.m4: Add GUILE_LIBS to LIBS when checking 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 @@ -149,6 +150,11 @@ main (void) #include #include + +#ifdef HAVE_NET_IF_VAR_H +#include +#endif + #include #include @@ -170,6 +176,11 @@ main (void) #include #include + +#ifdef HAVE_NET_IF_VAR_H +#include +#endif + #include #include -- cgit v1.2.3