mirror of
https://github.com/znc/znc.git
synced 2026-08-06 17:03:14 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user