freebsd-ports/irc/tircproxy/scripts/pre-configure
Jim Mock 1bcf073199 Import of tircproxy.
This program is designed to proxy IRC connections, intercepting and
proxying both DCC CHAT and DCC SEND requests transparently to the user.

PR:		13066
Submitted by:	Eugeny Kuzakov <CoreDumped@lab321.ru>
1999-08-26 09:21:23 +00:00

14 lines
307 B
Bash

#!/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