Enlightenment CVS committal

Author  : tsauerbeck
Project : misc
Module  : eplayer

Dir     : misc/eplayer


Modified Files:
        configure.ac 


Log Message:
Define DEBUG_LEVEL if --enable-debug is not used, too
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/configure.ac,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- configure.ac        7 Nov 2003 22:33:28 -0000       1.11
+++ configure.ac        9 Nov 2003 09:09:50 -0000       1.12
@@ -1,4 +1,4 @@
-dnl $Id: configure.ac,v 1.11 2003/11/07 22:33:28 tsauerbeck Exp $
+dnl $Id: configure.ac,v 1.12 2003/11/09 09:09:50 tsauerbeck Exp $
 
 AC_INIT(src/eplayer.c)
 
@@ -29,11 +29,13 @@
 
 AC_ARG_ENABLE(debug,
        [  --enable-debug          debug build (default: no)], [
-               AC_DEFINE([DEBUG_LEVEL], [999], [
-                       Define to 999 if you want much debugging output
-               ])
+               DEBUG_LVL=999
                CFLAGS=`echo "$CFLAGS -g -Wall" | sed s/" -s"//`
-       ])
+       ], DEBUG_LVL=1)
+
+AC_DEFINE_UNQUOTED([DEBUG_LEVEL], $DEBUG_LVL, [
+       Define to 999 if you want much debugging output
+])
 
 AC_PATH_GENERIC(ecore, , ,
        AC_MSG_ERROR(Cannot find ecore: Is ecore-config in path?))




-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to