]> git.ipfire.org Git - thirdparty/suricata.git/commit
configure.ac: fix --{disable,enable}-xxx options
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 31 Jan 2019 07:56:15 +0000 (08:56 +0100)
committerVictor Julien <victor@inliniac.net>
Sat, 16 Feb 2019 13:58:18 +0000 (14:58 +0100)
commit09f790576bf9fb7c1b6b3718a129ce3c731cffb2
treee668b200602477964d66ee126f2321c178ee6a7b
parent29164d95336a93436b774b8e565618fcd6f4e8db
configure.ac: fix --{disable,enable}-xxx options

Currently, if the user provides --enable-libmagic or
--disable-libmagic, libmagic will be disabled because $enableval is not
used to know if the user provided --enable or --disable

Most of the options have this issue so fix them all by using $enableval

Fixes:
 - https://redmine.openinfosecfoundation.org/issues/2797

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
configure.ac