syslog-ng: add optional support for libnet build
authorChris Packham <judge.packham@gmail.com>
Thu, 8 Sep 2016 10:01:17 +0000 (22:01 +1200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 8 Sep 2016 19:56:52 +0000 (21:56 +0200)
commit84a24e736250914ca51e8590de6cf5c6b666bfdb
tree9b92a57ef1ce3283537a09464f5b8512470a46a2
parent84c913035058e18cad9e95976233e193f0cf6b43
syslog-ng: add optional support for libnet build

If libnet is included pass --enable-spoof-source to configure otherwise
pass --disable-spoof-source. This stops syslog-ng's configure from
enabling address spoofing based on the build host having libnet
installed.

Fixes:

  http://autobuild.buildroot.net/results/71c733e4a7275f3a1b79cd19065d94e77af0309b
  http://autobuild.buildroot.net/results/d16ba0b9ef75d5a676a26db788be31556b69772a
  http://autobuild.buildroot.net/results/9659d1db1a128b269459fd9b8be797a9efbd35af

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/syslog-ng/syslog-ng.mk