fdf3e1e28e824a562b895c8c6b5d77d70146d357 |
|
12-Sep-2016 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
configure: hardening logic is backwards
Before this change, the argument parsing was busted. The --help string only
compounded the incorrect behavior by suggesting that --disable-hardening
could take a yes/no argument.
| before | after
------------------------------+----------+--------
<no option> | enable | enable
--enable-hardening | disable | enable
--enable-hardening=yes | disable | enable
--enable-hardening=no | enable | disable
--disable-hardening | enable | disable
--disable-hardening=yes | error | error
--disable-hardening=no | error | error |