Bug #2468
closedThe autoconf process fails when some options are disabled
Description
Hello, everyone!!
Some of the autoconf's configure script options make the configuration process fail if libraries for the functionality I want to disable, is not present. For example:
--disable-nflog
causes the configure to fail with
configure: error: libnetfilter_log.h not found ...
There are other switches that make the 'configure' script fail, if libraries for what I'm about to disable, aren't present, such as
Tried to explicitly disable DAG support
checking for dagapi.h... no
ERROR! libdag library not found
Tried to explicitly disable Napatech support
checking for nt.h... no
ERROR! libntapi library not found
Tried to explicitly disable hiredis support
checking for hiredis/hiredis.h... no
ERROR! libhiredis library not found, go get it
The configuration process behaves as if I was trying to enable them, thus it checks if libraries and header files are present, then it disables that functionality.
The correct action here would be to not bother checking for header files, since we are not going to use them anyway.