summaryrefslogtreecommitdiff
path: root/irc/tircproxy/scripts/pre-configure
blob: a18a14fa5d10260c1717f020c763279881e6869d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
#
paths="/sys /usr/include /usr/src/sys"
for i in ${paths}; do
    if [ -f $i/netinet/ip_nat.h ]; then
	exit 0
    fi
done
echo Unable find netinet/ip_nat.h
echo This header file from ipfilter package
echo Try to locate ip_nat.h and manually create links in following catalogs:
echo $paths
exit 1