From: Hugo Villeneuve Date: Sun, 6 Oct 2013 02:19:13 +0000 (-0400) Subject: Remove unused configure option --enable-debug X-Git-Tag: v2.0.0~149 X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=0ddadb203a71a62ea2be1cc9825305ccde1fbfed;p=emu8051.git Remove unused configure option --enable-debug --- diff --git a/Makefile.am b/Makefile.am index ace901c..623e0b9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 diff --git a/config/.gitignore b/config/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/config/debug.m4 b/config/debug.m4 deleted file mode 100644 index f8fc330..0000000 --- a/config/debug.m4 +++ /dev/null @@ -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 ) -]) - diff --git a/configure.ac b/configure.ac index 2f0407a..dd13336 100644 --- a/configure.ac +++ b/configure.ac @@ -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.