From cbbfba3152f61bf3b2007a80f06468151f48b83f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 15 Feb 2010 23:43:05 +0000 Subject: [PATCH] configure: fix up GST_CXXFLAGS properly We don't want C specific flags in GST_CXXFLAGS, so base it on the GST_CFLAGS that only contains the pkg-config CFLAGS but none of the GST_OPTION_CFLAGS. Also, we only need the local includes once. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index d011ad2670..f9ef118d6d 100644 --- a/configure.ac +++ b/configure.ac @@ -1587,8 +1587,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 GST_OPTION_CFLAGS, but overridable -GST_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs $GST_CFLAGS \$(GST_OPTION_CFLAGS)" 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)" AC_SUBST(GST_CFLAGS) AC_SUBST(GST_CXXFLAGS) AC_SUBST(GST_LIBS)