From 5264cda544cedd89fa4c160a4cf1063386f30822 Mon Sep 17 00:00:00 2001 From: Marco Nenciarini Date: Thu, 29 Jun 2017 14:01:33 +0200 Subject: [PATCH] Fix --with-cares=auto --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index c4af0bd..dcfa040 100644 --- a/configure.ac +++ b/configure.ac @@ -91,8 +91,8 @@ AC_ARG_WITH(cares, AC_HELP_STRING([--with-cares=prefix],[Specify where c-ares is installed]), [ if test "$withval" = "no"; then use_cares=no - elif test "$withval" = "yes"; then - use_cares=yes + elif test "$withval" = "yes" || test "$withval" = "auto"; then + use_cares="$withval" CARES_CFLAGS="" CARES_LIBS="-lcares" else -- 2.40.0