From: Randy Kunkee Date: Thu, 14 Jan 1999 02:58:56 +0000 (+0000) Subject: Protect some tests with quotes. X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~784 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=42ac550d4608576b1ad141669cd64e3f05340f9b;p=openldap Protect some tests with quotes. --- diff --git a/configure b/configure index 532b2f121e..bf4bda8cdd 100755 --- a/configure +++ b/configure @@ -2800,7 +2800,7 @@ else echo "$ac_t""no" 1>&6 fi - if test $ac_cv_libac_cv_lib_bind_res_search = "yes" ; then + if test "$ac_cv_libac_cv_lib_bind_res_search" = "yes" ; then cat >> confdefs.h <<\EOF #define HAVE_RES_SEARCH 1 EOF @@ -2853,7 +2853,7 @@ else echo "$ac_t""no" 1>&6 fi - if test $ac_cv_libac_cv_lib_resolv_res_search = "yes" ; then + if test "$ac_cv_libac_cv_lib_resolv_res_search" = "yes" ; then cat >> confdefs.h <<\EOF #define HAVE_RES_SEARCH 1 EOF diff --git a/configure.in b/configure.in index a6038dfbff..ae32fa312e 100644 --- a/configure.in +++ b/configure.in @@ -277,11 +277,11 @@ dnl Check for resolver routines AC_CHECK_FUNCS(res_search) if test $ac_cv_func_res_search = "no" ; then AC_CHECK_LIB(bind, res_search) - if test $ac_cv_libac_cv_lib_bind_res_search = "yes" ; then + if test "$ac_cv_libac_cv_lib_bind_res_search" = "yes" ; then AC_DEFINE(HAVE_RES_SEARCH,1) else AC_CHECK_LIB(resolv, res_search) - if test $ac_cv_libac_cv_lib_resolv_res_search = "yes" ; then + if test "$ac_cv_libac_cv_lib_resolv_res_search" = "yes" ; then AC_DEFINE(HAVE_RES_SEARCH,1) fi fi