* configure.in: Add two variables for passing CPPFLAGS/CFLAGS from the parent
configure.
svn path=/trunk/mono/; revision=103474
+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.
. [$]{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)