summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2001-06-21 15:37:23 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-06-21 15:37:23 +0000
commit87d3aa32043313b2f4da3c994b59706750662c76 (patch)
treeef0d0fd3a7b06abe6c58c0dc0b599fdf76f17708
parent2d5742d067dbaf08b2ba4e7125fb239cb802bb60 (diff)
downloadgnome-common-87d3aa32043313b2f4da3c994b59706750662c76.tar.gz
fix to include the CFLAGS for extra libraries
2001-06-20 Havoc Pennington <hp@redhat.com> * gnome.m4: fix to include the CFLAGS for extra libraries svn path=/trunk/; revision=1797
-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 f8274d4..30a8943 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 659c22c..2d23de8 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
])