fln / addrwatch

A tool similar to arpwatch for IPv4/IPv6 and ethernet address pairing monitoring.
GNU General Public License v3.0
184 stars 30 forks source link

No explicit control over what features are enabled/disabled #31

Open 0n-s opened 2 years ago

0n-s commented 2 years ago

The autotools scripts for this project don't allow you to override autodetection of libraries. This is important for distributors so they can let package build flags control what features are enabled.

E.g. ./configure --disable-sqlite3 --disable-mysql results in:

checking for sqlite3_open in -lsqlite3... yes
checking for mysql_real_connect in -lmysqlclient... no
configure: error: Unable to find libmysqlclient.

This is based on autodetection of libraries on my system, whereas it should just skip this check & not build with those features since that's what was requested.