aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macros/ChangeLog4
-rw-r--r--macros/gnome.m42
2 files changed, 6 insertions, 0 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index f8274d4477..30a89439d8 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,3 +1,7 @@
+2001-06-20 Havoc Pennington <hp@redhat.com>
+
+ * gnome.m4: fix to include the CFLAGS for extra libraries
+
2001-06-13 Pavel Roskin <proski@gnu.org>
* gnome-fileutils.m4: Always explicitly declare main() with the
diff --git a/macros/gnome.m4 b/macros/gnome.m4
index 659c22c494..2d23de8772 100644
--- a/macros/gnome.m4
+++ b/macros/gnome.m4
@@ -115,6 +115,8 @@ AC_DEFUN([GNOME_INIT_HOOK],[
*)
AC_MSG_RESULT(unknown library)
esac
+ EXTRA_INCLUDEDIR=`$GNOME_CONFIG --cflags $i`
+ GNOME_INCLUDEDIR="$GNOME_INCLUDEDIR $EXTRA_INCLUDEDIR"
done
fi
])