1
0
Fork 0

--disable-debug didn't work

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2523
This commit is contained in:
Peter Veenstra 2006-02-27 19:48:56 +00:00
parent 1859bf4f5d
commit c1e01a4cb0

View file

@ -82,7 +82,9 @@ AC_ARG_ENABLE(debug,AC_HELP_STRING([--enable-debug],[Enable debug mode]),[
AC_CHECK_LIB(curses, initscr, have_curses_lib=yes, , )
AC_CHECK_LIB(pdcurses, initscr, have_pdcurses_lib=yes, , )
if test x$have_curses_lib = xyes -a x$have_curses_h = xyes ; then
if test x$enable_debug = xno; then
AC_MSG_RESULT([Debugger not enabled])
elif test x$have_curses_lib = xyes -a x$have_curses_h = xyes ; then
LIBS="$LIBS -lcurses"
AC_DEFINE(C_DEBUG,1)
if test x$enable_debug = xheavy ; then