Revert "configure: fix out of source dir builds"
authorStefan Kost <ensonic@users.sf.net>
Sun, 4 Apr 2010 19:07:33 +0000 (22:07 +0300)
committerStefan Kost <ensonic@users.sf.net>
Sun, 4 Apr 2010 19:12:07 +0000 (22:12 +0300)
This reverts commit ca0bd3a8cea31f9ea0df798a83d3007e696958ba.

configure.ac

index 8faa21b..70debd8 100644 (file)
@@ -1040,8 +1040,8 @@ dnl FIXME: do we want to rename to GST_ALL_* ?
 dnl prefer internal headers to already installed ones
 dnl also add builddir include for enumtypes and marshal
 dnl add ERROR_CFLAGS, but overridable
-GST_CXXFLAGS="$GST_CFLAGS \$(GST_OPTION_CXXFLAGS)"
-GST_CFLAGS="$GST_CFLAGS \$(GST_OPTION_CFLAGS)"
+GST_CXXFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS \$(GST_OPTION_CXXFLAGS)"
+GST_CFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS \$(GST_OPTION_CFLAGS)"
 AC_SUBST(GST_CFLAGS)
 AC_SUBST(GST_CXXFLAGS)
 AC_SUBST(GST_LIBS)