Remove unused configure option --enable-debug

This commit is contained in:
Hugo Villeneuve 2013-10-05 22:19:13 -04:00
parent 0d3230092d
commit 0ddadb203a
4 changed files with 0 additions and 34 deletions

View File

@ -6,7 +6,6 @@ SUBDIRS = src data doc
## We want these in the dist tarball
EXTRA_DIST = autogen.sh \
$(ac_aux_dir)/debug.m4 \
pixmaps \
test-files

0
config/.gitignore vendored Normal file
View File

View File

@ -1,18 +0,0 @@
dnl
dnl Macro for adding an option to 'configure' for enabling debugging messages
dnl
AC_DEFUN([HV_CHECK_FOR_DEBUG],[
AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug],
[enable debugging messages on console
(default is NO)]),[
if test x"${enableval}" = xyes; then
debug_messages=1
AC_DEFINE([DEBUG],1,[Set to 1 to enable debugging messages.])
elif test x"${enableval}" = xno; then
debug_messages=0
else
AC_MSG_ERROR(bad value for --enable-debug option)
fi
], debug_messages=0 )
])

View File

@ -21,14 +21,6 @@ AC_TYPE_SIZE_T
dnl Basic CFLAGS values
CFLAGS="${CFLAGS} -Wall"
dnl Checks for '--enable-debug' option
HV_CHECK_FOR_DEBUG
if test x"${debug_messages}" = x1; then
dnl -g is for GDB debugging
CFLAGS="${CFLAGS} -g -gdwarf-2 -g3"
fi
PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.26.0])
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
@ -77,13 +69,6 @@ else
echo "no"
fi
echo -n " Debugging messages: "
if test x"${debug_messages}" = x1; then
echo "yes"
else
echo "no"
fi
echo \
"
See config.h for further configuration information.