mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
using GST_DEBUGINFO
Original commit message from CVS: using GST_DEBUGINFO
This commit is contained in:
parent
735382108a
commit
5f1c9c689c
2 changed files with 2 additions and 45 deletions
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit fd02f1d955e13407fd27314b1568023bd2061df7
|
Subproject commit 92652b8acbf06e097070bc6055715b9fca405834
|
45
configure.ac
45
configure.ac
|
@ -183,50 +183,7 @@ AC_HELP_STRING([--enable-plugin-builddir][allow tests/demos to use non-installed
|
||||||
esac],
|
esac],
|
||||||
[PLUGINS_USE_BUILDDIR=no]) dnl Default value
|
[PLUGINS_USE_BUILDDIR=no]) dnl Default value
|
||||||
|
|
||||||
AC_ARG_ENABLE(debug,
|
GST_DEBUGINFO
|
||||||
AC_HELP_STRING([--disable-debug][disable addition of -g debugging info]),
|
|
||||||
[case "${enableval}" in
|
|
||||||
yes) USE_DEBUG=yes ;;
|
|
||||||
no) USE_DEBUG=no ;;
|
|
||||||
*) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;;
|
|
||||||
esac],
|
|
||||||
[USE_DEBUG=yes]) dnl Default value
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(DEBUG,
|
|
||||||
AC_HELP_STRING([--disable-DEBUG][disables compilation of debugging messages]),
|
|
||||||
[case "${enableval}" in
|
|
||||||
yes) ENABLE_DEBUG=yes ;;
|
|
||||||
no) ENABLE_DEBUG=no ;;
|
|
||||||
*) AC_MSG_ERROR(bad value ${enableval} for --enable-DEBUG) ;;
|
|
||||||
esac],
|
|
||||||
[ENABLE_DEBUG=yes]) dnl Default value
|
|
||||||
if test x$ENABLE_DEBUG = xyes; then
|
|
||||||
AC_DEFINE(GST_DEBUG_ENABLED, 1, [Define if DEBUG statements should be compiled in])
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(INFO,
|
|
||||||
AC_HELP_STRING([--disable-INFO][disables compilation of informational messages]),
|
|
||||||
[case "${enableval}" in
|
|
||||||
yes) ENABLE_INFO=yes ;;
|
|
||||||
no) ENABLE_INFO=no ;;
|
|
||||||
*) AC_MSG_ERROR(bad value ${enableval} for --enable-INFO) ;;
|
|
||||||
esac],
|
|
||||||
[ENABLE_INFO=yes]) dnl Default value
|
|
||||||
if test x$ENABLE_INFO = xyes; then
|
|
||||||
AC_DEFINE(GST_INFO_ENABLED, 1, [Define if INFO statements should be compiled in])
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(debug-color,
|
|
||||||
AC_HELP_STRING([--disable-debug-color][disables color output of DEBUG and INFO output]),
|
|
||||||
[case "${enableval}" in
|
|
||||||
yes) ENABLE_DEBUG_COLOR=yes ;;
|
|
||||||
no) ENABLE_DEBUG_COLOR=no ;;
|
|
||||||
*) AC_MSG_ERROR(bad value ${enableval} for --enable-debug-color) ;;
|
|
||||||
esac],
|
|
||||||
[ENABLE_DEBUG_COLOR=yes]) dnl Default value
|
|
||||||
if test "x$ENABLE_DEBUG_COLOR" = xyes; then
|
|
||||||
AC_DEFINE(GST_DEBUG_COLOR, 1, [Define if debugging messages should be colorized])
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(profiling,
|
AC_ARG_ENABLE(profiling,
|
||||||
AC_HELP_STRING([--enable-profiling][adds -pg to compiler commandline, for profiling]),
|
AC_HELP_STRING([--enable-profiling][adds -pg to compiler commandline, for profiling]),
|
||||||
|
|
Loading…
Reference in a new issue