Fixes for './Config -quick'

This commit is contained in:
Bram Matthys 2016-11-14 12:50:25 +01:00
parent 0733751730
commit 1bb90bec50

6
Config
View file

@ -91,6 +91,10 @@ ARG="$ARG $EXTRAPARA "
CONF="./configure $ARG"
# remove possibly old instances of curl in ~/unrealircd/lib/
rm -f $LIBDIR/*curl* 1>/dev/null 2>&1
# Ensure we install curl even if someone does ./Config -quick...
if [ "x$CURLDIR" = "x$UNREALCWD/extras/curl" ]; then
INSTALLCURL=1
fi
if [ "x$INSTALLCURL" = "x1" ]; then
extras/curlinstall "$LIBDIR" || exit 1
fi
@ -700,7 +704,7 @@ if [ "$REMOTEINC" = "1" ] ; then
case "$cc" in
[Yy]*)
INSTALLCURL="1"
CURLDIR="$HOME/curl"
CURLDIR="$UNREALCWD/extras/curl"
;;
[Nn]*)
INSTALLCURL="0"