Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl


Modified Files:
        configure.in 


Log Message:
- make debug part of the configure system

===================================================================
RCS file: /cvs/e/e17/libs/ewl/configure.in,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -3 -r1.99 -r1.100
--- configure.in        6 Feb 2007 12:00:52 -0000       1.99
+++ configure.in        5 Mar 2007 23:13:35 -0000       1.100
@@ -241,6 +241,15 @@
 
 CFLAGS=$EPSILON_CFLAGS" "$CFLAGS
 
+AC_ARG_ENABLE(debug,
+       [AC_HELP_STRING([--enable-debug],[enable debug support])],
+       [enable_debug=$enableval], [enable_debug="yes"])
+if test "x$enable_debug" = xyes ; then
+    AC_DEFINE(EWL_ENABLE_DEBUG, 1, [Enable debug support])
+else
+    AC_DEFINE(EWL_ENABLE_DEBUG, 0, [Enable debug support])
+fi
+
 ###
 # Define these at the bottom as they are not release versions, but API
 # revisions numbers.
@@ -367,6 +376,8 @@
 echo
 echo "  Emotion Support..........................: $have_emotion"
 echo "  Epsilon Support..........................: $have_epsilon"
+echo 
+echo "Debug Support..............................: $enable_debug"
 echo
 echo "Now type 'make' ('gmake' on some systems) to compile $PACKAGE."
 echo



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to