aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbeber <beber>2005-12-09 00:18:49 +0000
committerbeber <beber>2005-12-09 00:18:49 +0000
commitc7510aca0d0a1e37460fc6baea23b91cddc507d6 (patch)
treea7c93e065a32562508916a2bfb08a733d2e57e13
parenttypos (diff)
downloadespik-c7510aca0d0a1e37460fc6baea23b91cddc507d6.tar.xz
debug is now passed by configure
-rw-r--r--configure.in15
1 files changed, 7 insertions, 8 deletions
diff --git a/configure.in b/configure.in
index 86d4c75..e8c870a 100644
--- a/configure.in
+++ b/configure.in
@@ -25,25 +25,24 @@ dnl Debug mode
AC_ARG_ENABLE(
[debug],
AC_HELP_STRING(
- [--enable-debug],
- [Enable debug mode (default=yes)]),
+ [--enable-debug], [Enable debug mode (default=yes)]),
[if test "$enable_debug" = "no" ; then
- enable_debug="no"
+ debug="no"
else
if test "$enable_debug" = "yes" ; then
- enable_debug="yes"
+ debug="yes"
fi
- fi],
- [enable_debug="yes"])
+ fi], [debug="yes"])
dnl Check debug mode
-if test "$enable_debug" = "yes" ; then
+if test "$debug" = "yes" ; then
DEBUG_CFLAGS="-g -D_ESPIK_DEBUG_"
else
DEBUG_LDFLAGS="-s"
fi
-AC_SUBST(DEBUG_MODE_CFLAGS)
+AC_SUBST(DEBUG_CFLAGS)
+AC_SUBST(DEBUG_LDFLAGS)
AC_ARG_WITH(ecore-config,
[ --with-ecore-config=ECORE_CONFIG use ecore-config specified ],