summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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