]> granicus.if.org Git - gc/commitdiff
2008-05-19 Zoltan Varga <vargaz@gmail.com>
authorZoltan Varga <vargaz@gmail.com>
Mon, 19 May 2008 14:30:46 +0000 (14:30 +0000)
committerguest <ivmai@mail.ru>
Fri, 29 Jul 2011 11:31:21 +0000 (15:31 +0400)
* configure.in: Add two variables for passing CPPFLAGS/CFLAGS from the parent
configure.

svn path=/trunk/mono/; revision=103474

ChangeLog
configure.in

index 9d5df58837d527c427a3389d8c612b171b79de08..9cc106114156c1bfd42c06e32b2ff7652efcf1f6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-05-19  Zoltan Varga  <vargaz@gmail.com>
+
+       * configure.in: Add two variables for passing CPPFLAGS/CFLAGS from the parent
+       configure.
+
 2008-04-28  Kornél Pál  <kornelpal@gmail.com>
 
        * include/gc.h: Add GC_DllMain.
index d2681cc9a278fa1bc89ae26dab359fd74024cf87..9a696698824494bdabb259f6b4528fde4bf03494 100644 (file)
@@ -39,6 +39,15 @@ AM_MAINTAINER_MODE
 
 . [$]{srcdir}/configure.host
 
+# We use a separate variable to pass down CPPFLAGS and CFLAGS from the main mono 
+# configure, because of autoconf brokeness
+if test "x$CPPFLAGS_FOR_LIBGC" != "x"; then
+   CPPFLAGS=$CPPFLAGS_FOR_LIBGC
+fi
+if test "x$CFLAGS_FOR_LIBGC" != "x"; then
+   CFLAGS=$CFLAGS_FOR_LIBGC
+fi
+
 GC_CFLAGS=${gc_cflags}
 AC_SUBST(GC_CFLAGS)