From c4d7535d2375be3e0b9ace22e72ba3d16d4377de Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Thu, 4 Jul 2002 16:24:07 +0000 Subject: [PATCH] re-enable debug with -g Original commit message from CVS: re-enable debug with -g --- configure.ac | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index d3beed1c8d..bf0ab6d681 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ AC_CANONICAL_TARGET([]) dnl when going to/from release please set the nano (fourth number) right ! dnl releases only do Wall, cvs and prerelease does Werror too -AS_VERSION(gstreamer, GST_VERSION, 0, 3, 4, 2, GST_ERROR="-Wall", GST_ERROR="-Wall -Werror") +AS_VERSION(gstreamer, GST_VERSION, 0, 3, 4, 3, GST_ERROR="-Wall", GST_ERROR="-Wall -Werror") AM_INIT_AUTOMAKE($PACKAGE,$VERSION) AS_LIBTOOL(GST, 0, 0, 0, yes) @@ -305,9 +305,9 @@ if test "x$PLUGINS_USE_BUILDDIR" = xyes; then AC_DEFINE(PLUGINS_USE_BUILDDIR, 1, [Define if plugins should be loaded from the build tree - only developers should use this]) fi -dnl if test "x$USE_DEBUG" = xyes; then -dnl CFLAGS="$CFLAGS -g" -dnl fi +if test "x$USE_DEBUG" = xyes; then + GST_INT_CFLAGS="$GST_INT_CFLAGS -g" +fi if test "x$USE_PROFILING" = xyes; then dnl CFLAGS="$CFLAGS -pg -fprofile-arcs" @@ -379,7 +379,7 @@ AC_SUBST(LIBGST_CFLAGS) dnl Vars for everyone else GST_INT_LIBS="\$(top_builddir)/gst/libgstreamer.la" -GST_INT_CFLAGS="-I\$(top_srcdir)/libs -I\$(top_srcdir)/include" +GST_INT_CFLAGS="$GST_INT_CFLAGS -I\$(top_srcdir)/libs -I\$(top_srcdir)/include" AC_SUBST(GST_CFLAGS, "$LIBGST_CFLAGS $GST_INT_CFLAGS") AC_SUBST(GST_LIBS, "$LIBGST_LIBS $GST_INT_LIBS")