build: fix compiler warning when srcdir != builddir
authorRob Clark <rob@ti.com>
Tue, 30 Mar 2010 12:34:07 +0000 (07:34 -0500)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 30 Mar 2010 12:52:12 +0000 (13:52 +0100)
Fixes '../../gst-libs: No such file or directory' warning/error when
the build directory is not the same as the source directory.

Fixes #614354.

configure.ac

index 474f80d..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="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs $GST_CFLAGS \$(GST_OPTION_CXXFLAGS)"
-GST_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs $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)