From: Martin Winter Date: Thu, 29 Aug 2019 01:49:14 +0000 (+0200) Subject: build: Fix checks for c_ares X-Git-Tag: base_7.2~26^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=2d82431a95c90c81d2be6a83dd0101c57df6963c;p=matthieu%2Ffrr.git build: Fix checks for c_ares Signed-off-by: Martin Winter --- 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 ;;