Move the file and rename the configure flags.
The file is being kept around for iptables < 1.4.5 compatibility.
Signed-off-by: Andreas Henriksson <andreas@fatal.se>
if [ $? -eq 0 ]
then
- echo "TC_CONFIG_XT:=y" >>Config
+ echo "TC_CONFIG_XT_OLD:=y" >>Config
echo "using xtables seems no need for internal.h"
else
echo "failed test 2"
if [ $? -eq 0 ]
then
echo "using xtables instead of iptables (need for internal.h)"
- echo "TC_CONFIG_XT_H:=y" >>Config
+ echo "TC_CONFIG_XT_OLD_H:=y" >>Config
else
echo "failed test 3 using iptables"
TCMODULES += m_xt.o
LDLIBS += -lxtables
else
- ifeq ($(TC_CONFIG_XT_H),y)
+ ifeq ($(TC_CONFIG_XT_OLD),y)
+ TCMODULES += m_xt_old.o
+ LDLIBS += -lxtables
+ else
+ ifeq ($(TC_CONFIG_XT_OLD_H),y)
CFLAGS += -DTC_CONFIG_XT_H
- TCMODULES += m_xt.o
+ TCMODULES += m_xt_old.o
LDLIBS += -lxtables
- else
- TCMODULES += m_ipt.o
+ else
+ TCMODULES += m_ipt.o
+ endif
endif
endif