remove odd/even debug rule
we had debugging auto-enable in odd minor releases, get rid of this
This commit is contained in:
parent
504daa1509
commit
7aebe94b9e
@ -73,7 +73,7 @@ Then build the build system with:
|
||||
Debug build:
|
||||
|
||||
$ CFLAGS="-g -Wall" CXXFLAGS="-g -Wall" \
|
||||
./configure --prefix=/home/john/vips
|
||||
./configure --prefix=/home/john/vips --enable-debug
|
||||
$ make
|
||||
$ make install
|
||||
|
||||
@ -120,8 +120,7 @@ Build with the GCC auto-vectorizer and diagnostics (or just -O3):
|
||||
$ FLAGS="-O2 -msse4.2 -ffast-math"
|
||||
$ FLAGS="$FLAGS -ftree-vectorize -fdump-tree-vect-details"
|
||||
$ CFLAGS="$FLAGS" CXXFLAGS="$FLAGS" \
|
||||
./configure --prefix=/home/john/vips --disable-introspection \
|
||||
--enable-debug=no
|
||||
./configure --prefix=/home/john/vips --disable-introspection
|
||||
|
||||
Static analysis with:
|
||||
|
||||
|
@ -124,10 +124,7 @@ AC_CANONICAL_HOST
|
||||
|
||||
AC_DEFINE_UNQUOTED(G_LOG_DOMAIN, "VIPS", [Domain for glib logging messages.])
|
||||
|
||||
# disable debugging by default for production releases
|
||||
m4_define([debug_default],
|
||||
m4_if(m4_eval(vips_minor_version() % 2), [1], [yes], [no]))
|
||||
|
||||
m4_define([debug_default], [no])
|
||||
AC_ARG_ENABLE(debug,
|
||||
AC_HELP_STRING([--enable-debug=@<:@no/minimum/yes@:>@],
|
||||
[turn on debugging @<:@default=debug_default()@:>@]),,
|
||||
|
Loading…
Reference in New Issue
Block a user