diff options
author | Martin Winter <mwinter@opensourcerouting.org> | 2019-08-29 03:49:14 +0200 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2019-08-30 19:22:29 +0200 |
commit | 2d82431a95c90c81d2be6a83dd0101c57df6963c (patch) | |
tree | 9a569443a0a4e5b7fce62e87172e5aa8a9592026 /configure.ac | |
parent | build: make BMP optional (diff) | |
download | frr-2d82431a95c90c81d2be6a83dd0101c57df6963c.tar.xz frr-2d82431a95c90c81d2be6a83dd0101c57df6963c.zip |
build: Fix checks for c_ares
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 02deac909..a940739ae 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 ;; |