Project

General

Profile

Actions

Bug #2797

closed

configure.ac: broken --{enable,disable}-xxx options

Added by Fabrice Fontaine almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
low
Label:

Description

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, all of them should be fixed by using
$enableval


Related issues 2 (0 open2 closed)

Has duplicate Suricata - Bug #1835: AC_ARG_ENABLE usage is incorrectClosedActions
Copied to Suricata - Bug #2823: configure.ac: broken --{enable,disable}-xxx options (4.1.x)ClosedVictor JulienActions
Actions

Also available in: Atom PDF