diff options
| author | Cori Barker <coribarker2@gmail.com> | 2026-04-19 20:44:42 +0100 |
|---|---|---|
| committer | Cori Barker <coribarker2@gmail.com> | 2026-04-19 20:44:42 +0100 |
| commit | f9867b33453047343aef2bc08e347455187c3e60 (patch) | |
| tree | ce6c2809334265684b28645ba0e6b70382011f13 /configure | |
| parent | d311c0726e5864bd01f30f3cbefc9a2bb3ad2159 (diff) | |
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -609,6 +609,8 @@ ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS +DEBUG_FALSE +DEBUG_TRUE am__fastdepCXX_FALSE am__fastdepCXX_TRUE CXXDEPMODE @@ -700,6 +702,7 @@ ac_user_opts=' enable_option_checking enable_silent_rules enable_dependency_tracking +enable_debug ' ac_precious_vars='build_alias host_alias @@ -1339,6 +1342,7 @@ Optional Features: do not reject slow dependency extractors --disable-dependency-tracking speeds up one-time build + --enable-debug Build with debug flags Some influential environment variables: CXX C++ compiler command @@ -2776,6 +2780,7 @@ fi + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -3623,6 +3628,26 @@ ac_config_headers="$ac_config_headers config.h" ac_config_files="$ac_config_files Makefile src/Makefile" +# Debug flag +# Check whether --enable-debug was given. +if test ${enable_debug+y} +then : + enableval=$enable_debug; debug=$enableval +else case e in #( + e) debug=no ;; +esac +fi + + + if test "$debug" = "yes"; then + DEBUG_TRUE= + DEBUG_FALSE='#' +else + DEBUG_TRUE='#' + DEBUG_FALSE= +fi + + cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure @@ -3756,6 +3781,10 @@ if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then + as_fn_error $? "conditional \"DEBUG\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 |
