diff --git a/configure b/configure index 14b66993..cdf2ce6d 100755 --- a/configure +++ b/configure @@ -2958,9 +2958,9 @@ fi if test -z "$PKG_CONFIG" then { { $as_echo "$as_me:$LINENO: error: pkg-config not found. Try --disable-c-ares. -Disabling c-ares may result in a slight performance decrease, but will not have any other side-effects" >&5 +Disabling c-ares may result in a slight performance decrease but will not have any other side-effects" >&5 $as_echo "$as_me: error: pkg-config not found. Try --disable-c-ares. -Disabling c-ares may result in a slight performance decrease, but will not have any other side-effects" >&2;} +Disabling c-ares may result in a slight performance decrease but will not have any other side-effects" >&2;} { (exit 1); exit 1; }; } fi @@ -3025,10 +3025,16 @@ fi { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:$LINENO: error: c-ares not found. Try --disable-c-ares. -Disabling c-ares may result in a slight performance decrease +Disabling c-ares may result in a slight performance decrease but will not have any other side-effects" >&5 +$as_echo "$as_me: error: c-ares not found. Try --disable-c-ares. +Disabling c-ares may result in a slight performance decrease but will not have any other side-effects" >&2;} + { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { $as_echo "$as_me:$LINENO: error: c-ares not found. Try --disable-c-ares. -Disabling c-ares may result in a slight performance decrease +Disabling c-ares may result in a slight performance decrease but will not have any other side-effects" >&5 +$as_echo "$as_me: error: c-ares not found. Try --disable-c-ares. +Disabling c-ares may result in a slight performance decrease but will not have any other side-effects" >&2;} + { (exit 1); exit 1; }; } else c_ares_CFLAGS=$pkg_cv_c_ares_CFLAGS c_ares_LIBS=$pkg_cv_c_ares_LIBS diff --git a/configure.in b/configure.in index 24f48723..ab74641f 100644 --- a/configure.in +++ b/configure.in @@ -121,11 +121,10 @@ if test "x$ARES" = "xyes"; then if test -z "$PKG_CONFIG" then AC_MSG_ERROR([pkg-config not found. Try --disable-c-ares. -Disabling c-ares may result in a slight performance decrease, but will not have any other side-effects]) +Disabling c-ares may result in a slight performance decrease but will not have any other side-effects]) fi - PKG_CHECK_MODULES([c_ares], [libcares],, - AC_MSG_ERROR([c-ares not found. Try --disable-c-ares. -Disabling c-ares may result in a slight performance decrease, but will not have any other side-effects])) + PKG_CHECK_MODULES([c_ares], [libcares],, AC_MSG_ERROR([c-ares not found. Try --disable-c-ares. +Disabling c-ares may result in a slight performance decrease but will not have any other side-effects])) appendCXX $c_ares_CFLAGS -DHAVE_ARES appendLib $c_ares_LIBS fi