mirror of
https://github.com/status-im/miniupnp.git
synced 2025-02-04 10:23:50 +00:00
miniupnpd: improve detection of iptables 1.4.16+
This commit is contained in:
parent
f80bb2e111
commit
f0ff3a4f4d
5
miniupnpd/configure
vendored
5
miniupnpd/configure
vendored
@ -615,7 +615,10 @@ case $FW in
|
||||
fi
|
||||
elif [ -z "${PKG_CONFIG}" ] ; then
|
||||
# IPTABLESPATH not defined and no pkg-config
|
||||
if test -f /usr/include/xtables.h && \
|
||||
echo "WARNING: no pkg-config and IPTABLESPATH not defined. checking /usr/include/xtables.h"
|
||||
# since 1.4.16, XTABLES_VERSION_CODE has been moved to xtables-version.h
|
||||
if test -f /usr/include/xtables-version.h || \
|
||||
test -f /usr/include/xtables.h && \
|
||||
grep -q "XTABLES_VERSION_CODE" /usr/include/xtables.h ; then
|
||||
IPTABLES_143=1
|
||||
echo "LDLIBS += -liptc" >> ${CONFIG_MK}
|
||||
|
Loading…
x
Reference in New Issue
Block a user