summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeva <deva>2006-08-12 14:28:28 +0000
committerdeva <deva>2006-08-12 14:28:28 +0000
commit1abb2b072dbab88691f314bcdebf6dc681aae6ba (patch)
tree77f09aeb4ac927910a2365ffe4fe32a708ce3ece
parent39cc65268b1a30c49423ade7f802b6b0d8815e59 (diff)
Added the debug flag option (for use when developing)
-rw-r--r--configure.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 3c77551..8645aaa 100644
--- a/configure.in
+++ b/configure.in
@@ -18,16 +18,19 @@ AC_OUTPUT(lib/Makefile)
AC_DEFINE_UNQUOTED(ETC, "$prefix/etc/miav", [The path to the config files])
AC_DEFINE_UNQUOTED(PIXMAPS, "$prefix/share/pixmaps", [The path to the pixmap files])
-AC_ARG_WITH(debug, [ --with-debug Build with debugging (-g -Wall -Werror and -lefence)])
+AC_ARG_WITH(debug, [ --with-debug Build with debugging (-g -Wall -Werror)])
if test x$with_debug != xno && test -z "$DEBUG"; then
CXXFLAGS="$CXXFLAGS -g -Wall -Werror"
dnl =====================
dnl Check for efence library
dnl =====================
+# AC_CHECK_HEADER(efencepp.h, , AC_MSG_ERROR([*** The electric fence include file not found!]))
# AC_CHECK_LIB(efence, malloc, , AC_MSG_ERROR([*** The electric fence library (libefence.a) was not found!]))
# LDFLAGS="$LDFLAGS -lefence"
+ AC_MSG_WARN([*** Building DEBUG support])
+
dnl Make code aware of debug
AC_DEFINE([USE_DEBUG], [], [Is defined if the project is configured to compile with debugging])
fi