From bea5ed53cbbc20e8097e43d51e60433819173196 Mon Sep 17 00:00:00 2001 From: psychon Date: Tue, 5 Jan 2010 21:35:16 +0000 Subject: [PATCH] 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 --- znc-buildmod.in | 9 --------- 1 file changed, 9 deletions(-) diff --git a/znc-buildmod.in b/znc-buildmod.in index bfb1dd09..04c9c928 100755 --- a/znc-buildmod.in +++ b/znc-buildmod.in @@ -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