From 2d82431a95c90c81d2be6a83dd0101c57df6963c Mon Sep 17 00:00:00 2001 From: Martin Winter Date: Thu, 29 Aug 2019 03:49:14 +0200 Subject: [PATCH] build: Fix checks for c_ares Signed-off-by: Martin Winter --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 02deac909a..a940739ae4 100755 --- a/configure.ac +++ b/configure.ac @@ -1535,13 +1535,13 @@ case "$host_os" in no) ;; yes) - if [ "$c_ares_found" != "true" ]; then + if test "$c_ares_found" != "true" ; then AC_MSG_ERROR([nhrpd requires libcares. Please install c-ares and its -dev headers.]) fi NHRPD="nhrpd" ;; *) - if [ "$c_ares_found" = "true" ]; then + if test "$c_ares_found" = "true" ; then NHRPD="nhrpd" fi ;; @@ -1584,13 +1584,13 @@ case "${enable_bmp}" in no) ;; yes) - if [ "$c_ares_found" != "true" ]; then + if test "$c_ares_found" != "true" ; then AC_MSG_ERROR([BMP support requires libcares. Please install c-ares and its -dev headers.]) fi bgpd_bmp=true ;; *) - if [ "$c_ares_found" = "true" ]; then + if test "$c_ares_found" = "true" ; then bgpd_bmp=true fi ;; -- 2.39.5