Remove the check for the include dir in znc-buildmod

znc-config --include was removed in r1251 from Oct 2008. Ever since this check
was broken and no one noticed. I guess this means no one needs this check... ;)


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1690 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2010-01-05 21:35:16 +00:00
parent 985c096f6f
commit 44fb494d66
-9
View File
@@ -43,18 +43,9 @@ if test -z "$1"; then
fi
CXXFLAGS="`${ZNC_CONFIG} --cflags` $CXXFLAGS"
INCLUDES="`${ZNC_CONFIG} --include` $INCLUDES"
LIBS="`${ZNC_CONFIG} --libs` $LIBS"
LDFLAGS="`${ZNC_CONFIG} --libznc` $LDFLAGS"
# Get the first word and strip away the first two chars (which is -I)
INC_PATH=`echo ${INCLUDES} | ${SED} 's: .*::' | ${SED} 's:^..::'`
if test ! -d "${INC_PATH}"; then
echo "${ERROR} Unable to find znc include dir [${INC_PATH}]. Please (re)install ZNC."
exit 1
fi
while test ! -z "$1"
do
FILE=$1