diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 15 |
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 ], |