Richard Yao 6f174823ce Make --enable-debug fail when given bogus args
Currently, bogus options to --enable-debug become --disable-debug. That
means that passing --enable-debug=true is analogous to --disable-debug,
but the result is counterintuitive. We switch to AS_CASE to allow us to
fail when given a bogus option.

Also, we modify the text printed to clarify that --enable-debug enables
assertions.

Reviewed-by: Chunwei Chen <tuxoko@gmail.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <richard.yao@clusterhq.com>
Closes #2734
2017-08-29 13:16:04 -04:00
..
2010-08-31 13:41:27 -07:00
2011-04-19 10:10:47 -07:00
2017-01-03 11:31:18 -06:00
2012-10-14 13:06:48 -07:00
2016-11-04 10:46:40 -07:00
2017-01-03 11:31:18 -06:00
2017-02-08 09:27:48 -08:00
2013-03-18 15:33:17 -07:00
2016-03-16 13:46:16 -07:00
2016-03-09 10:39:22 -08:00
2016-04-28 09:27:40 -07:00
2016-03-18 13:31:11 -07:00
2017-06-28 10:05:16 -07:00
2016-03-18 13:31:11 -07:00
2017-06-28 10:05:16 -07:00