mirror of
http://git.hugovil.com/git/emu8051.git
synced 2025-05-09 00:51:03 +08:00
Remove unused configure option --enable-debug
This commit is contained in:
parent
0d3230092d
commit
0ddadb203a
@ -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
0
config/.gitignore
vendored
Normal 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 )
|
||||
])
|
||||
|
15
configure.ac
15
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user