From: Marco Nenciarini Date: Thu, 29 Jun 2017 12:01:33 +0000 (+0200) Subject: Fix --with-cares=auto X-Git-Tag: pgbouncer_1_8~22^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5264cda544cedd89fa4c160a4cf1063386f30822;p=pgbouncer Fix --with-cares=auto --- 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