Commit bc809783 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Revert "configure: Replace enable-debug by enable-release"

This reverts commit 3b10e820.
parent a31ae85e
......@@ -271,15 +271,10 @@ AS_IF([test "$SYS" = mingw32],[
AH_TOP([#endif])
])
AC_ARG_ENABLE(release, [AC_HELP_STRING([--enable-release], [build for release mode. Otherwise, enable run-time assertions (default disabled)])])
AC_ARG_ENABLE(debug, [AC_HELP_STRING([--enable-debug], [build with run-time assertions (default enabled)])])
AH_TEMPLATE(NDEBUG, [Define to 1 if debug code should NOT be compiled])
AS_IF([test "${enable_release}" = "yes"],[
AS_IF([test "${enable_debug}" = "no"],[
AC_DEFINE(NDEBUG)
CFLAGS="${CFLAGS} -O3"
CXXFLAGS="${CXXFLAGS} -O3"
],[
CFLAGS="${CFLAGS} -O0 -g"
CXXFLAGS="${CXXFLAGS} -O0 -g"
])
PKG_CHECK_MODULES(SQLITE, sqlite3)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment