1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-02 00:06:37 +02:00

Do not try to delete libcares when not using PRIVATELIBDIR.

This commit is contained in:
Nathan Phillip Brink
2017-07-06 06:43:20 +00:00
parent 2b94733cbe
commit 6591e6bcee
+1 -1
View File
@@ -786,7 +786,7 @@ dnl Use system c-ares when available, unless --without-system-cares.
has_system_cares="no"
AS_IF([test "x$with_system_cares" = "xyes"],[
PKG_CHECK_MODULES([CARES], libcares >= 1.6.0,[has_system_cares=yes
rm -f "$PRIVATELIBDIR/"libcares*],[has_system_cares=no])])
AS_IF([test "x$PRIVATELIBDIR" != "x"], [rm -f "$PRIVATELIBDIR/"libcares*])],[has_system_cares=no])])
AS_IF([test "$has_system_cares" = "no"], [
dnl REMEMBER TO CHANGE WITH A NEW C-ARES RELEASE!