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