configure: remove --enable-debug.

Why? because the code intentionally uses assert(), and we want the code
to always run as was designed.

Signed-off-by: Juan RP <xtraeme@gmail.com>
This commit is contained in:
Juan RP 2019-06-12 19:41:40 +02:00 committed by Duncan Overbruck
parent fc98779ad1
commit 5d186053dd

6
configure vendored
View File

@ -15,6 +15,8 @@ BUILD_STATIC=
SILENT=yes SILENT=yes
HAVE_VISIBILITY=no HAVE_VISIBILITY=no
SET_RPATH= SET_RPATH=
DEBUG=yes
FULL_DEBUG=
usage() usage()
{ {
@ -42,7 +44,6 @@ for instance \`--prefix=\$HOME'.
--verbose Disable silent build to see compilation details --verbose Disable silent build to see compilation details
--enable-rpath Link binaries with rpath '\$ORIGIN/../lib' --enable-rpath Link binaries with rpath '\$ORIGIN/../lib'
--enable-api-docs Install XBPS API Library documentation (default disabled) --enable-api-docs Install XBPS API Library documentation (default disabled)
--enable-debug Build with debugging code and symbols (default disabled)
--enable-fulldebug Enables extra debugging code (default disabled) --enable-fulldebug Enables extra debugging code (default disabled)
--enable-static Build XBPS static utils (default disabled) --enable-static Build XBPS static utils (default disabled)
--enable-tests Build and install Kyua tests (default disabled) --enable-tests Build and install Kyua tests (default disabled)
@ -56,7 +57,6 @@ for x; do
opt=${x%%=*} opt=${x%%=*}
var=${x#*=} var=${x#*=}
case "$opt" in case "$opt" in
--enable-debug) DEBUG=yes;;
--enable-fulldebug) FULL_DEBUG=yes;; --enable-fulldebug) FULL_DEBUG=yes;;
--enable-rpath) SET_RPATH=yes;; --enable-rpath) SET_RPATH=yes;;
--prefix) PREFIX=$var;; --prefix) PREFIX=$var;;
@ -759,7 +759,7 @@ echo " Build API documentation = $BUILD_API_DOCS_VALUE"
echo " Build Kyua test suite = $BUILD_TESTS_VALUE" echo " Build Kyua test suite = $BUILD_TESTS_VALUE"
echo " Build programs as PIE = $BUILD_PIE_VALUE" echo " Build programs as PIE = $BUILD_PIE_VALUE"
echo " Build static programs = $BUILD_STATIC_VALUE" echo " Build static programs = $BUILD_STATIC_VALUE"
echo " Build with debug = $DEBUG" echo " Build with full debug = $FULL_DEBUG"
if [ -n "$HAVE_VISIBILITY" ]; then if [ -n "$HAVE_VISIBILITY" ]; then
echo " Symbol visibility = $HAVE_VISIBILITY" echo " Symbol visibility = $HAVE_VISIBILITY"
fi fi