From f0e5090137e39162ceb73a2384ecd3352023f92b Mon Sep 17 00:00:00 2001 From: arpi Date: Fri, 17 Aug 2001 00:38:10 +0000 Subject: [PATCH] exporting DEBUG git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1566 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure b/configure index a6f1d02125..d8d5222d7b 100755 --- a/configure +++ b/configure @@ -1834,6 +1834,11 @@ else _decorelibs='-Lopendivx -ldecore' fi +if [ "$_debug" != "" ]; then + _debugdef='#define MP_DEBUG' +else + _debugdef='#undef MP_DEBUG' +fi echo echo "Creating $MCONF" @@ -1892,6 +1897,8 @@ cat > $CCONF << EOF #define USE_OSD #define USE_SUB +$_debugdef + /* Common data directory (for fonts, etc) */ #define DATADIR "$_datadir"