From ebb6c180efb803d4117a4067561c703ca86cd4aa 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 ++++++++++++------ src/progress.c | 1 + 5 files changed, 30 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index db0c489..b8eed28 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 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 Darshit Shah + * .gitignore: po/stamp-po should be ignored 2014-11-20 Darshit Shah diff --git a/NEWS b/NEWS index 21905ef..f86f12e 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