From 61f4228fc4090346199c3b773f2945b6a81205a9 Mon Sep 17 00:00:00 2001 From: Darshit Shah
Date: Thu, 20 Nov 2014 19:55:51 +0530 Subject: [PATCH] Assertions are now disabled by default --- ChangeLog | 7 +++++++ NEWS | 2 +- README.checkout | 10 +++++++++- configure.ac | 18 ++++++++++++------ 4 files changed, 29 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9fb175e..5c45b0c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2014-11-20 Darshit Shah + + * configure.ac: Change option to --enable-assert. Assertions are disabled by + default. + * NEWS: Edit to reflect default option. + * README.checkout: Document --enable-assert for developers + 2014-11-20 Tim Ruehsen * configure.ac: Fix libpsl<0.6.0 detection diff --git a/NEWS b/NEWS index 4fc61c1..50e41ad 100644 --- a/NEWS +++ b/NEWS @@ -9,7 +9,7 @@ Please send GNU Wget bug reports to . * Changes in Wget X.Y.Z -** Add --disable-assert configure option. Recommended for distro maintainers. +** Add --enable-assert configure option. ** Use pkg-config to check for libraries presence. diff --git a/README.checkout b/README.checkout index 0513bfe..2bfc83f 100644 --- a/README.checkout +++ b/README.checkout @@ -85,12 +85,20 @@ Compiling From Repository Sources configuring the package: $ ./bootstrap 3. Configure the package and compile it: - $ ./configure [some_parameters] + $ ./configure --enable-assert [some_parameters] $ make 4. Hack, compile, test, hack, compile, test... $ src/wget --version GNU Wget 1.12-devel (9cb2563197bc) + All developers are requested to enable the assertions on their development + builds to ensure a stable codebase. Assertions are added to state certain + assumptions about the code and its data which all developers should be mindful + of. To enable assertions, run the configure command with the --enable-assert + option, like this: + + $ ./configure --enable-assert [other configure options] + Copyright © 2008,2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later