## We want these in the dist tarball
EXTRA_DIST = autogen.sh \
- $(ac_aux_dir)/debug.m4 \
pixmaps \
test-files
+++ /dev/null
-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 )
-])
-
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)
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.