aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorbeber <beber>2005-12-09 00:22:02 +0000
committerbeber <beber>2005-12-09 00:22:02 +0000
commitd8165b49b1de1afdef33969959469a06723c47c7 (patch)
treebb5b41c99ceb64473be11b0bfc86471481319b0b /configure.in
parentm4 for debug (diff)
downloadespik-d8165b49b1de1afdef33969959469a06723c47c7.tar.xz
m4 for debug
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in24
1 files changed, 1 insertions, 23 deletions
diff --git a/configure.in b/configure.in
index e8c870a..32baa0d 100644
--- a/configure.in
+++ b/configure.in
@@ -20,29 +20,7 @@ dnl espik specific check (include in m4)
AC_C___ATTRIBUTE__
# AC___GNUC__
# AC___GLIBC__
-
-dnl Debug mode
-AC_ARG_ENABLE(
- [debug],
- AC_HELP_STRING(
- [--enable-debug], [Enable debug mode (default=yes)]),
- [if test "$enable_debug" = "no" ; then
- debug="no"
- else
- if test "$enable_debug" = "yes" ; then
- debug="yes"
- fi
- fi], [debug="yes"])
-
-dnl Check debug mode
-if test "$debug" = "yes" ; then
- DEBUG_CFLAGS="-g -D_ESPIK_DEBUG_"
-else
- DEBUG_LDFLAGS="-s"
-fi
-
-AC_SUBST(DEBUG_CFLAGS)
-AC_SUBST(DEBUG_LDFLAGS)
+AC_ESPIK_DEBUG
AC_ARG_WITH(ecore-config,
[ --with-ecore-config=ECORE_CONFIG use ecore-config specified ],