]> git.sur5r.net Git - openldap/commitdiff
Fix variable names in res_search check.
authorKurt Zeilenga <kurt@openldap.org>
Thu, 14 Jan 1999 03:14:46 +0000 (03:14 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 14 Jan 1999 03:14:46 +0000 (03:14 +0000)
configure
configure.in

index bf4bda8cddaf2bf9c4bcfd8a7ba7623b203d4b61..aebf0120e252a6c054fdada9d9dbeff02c79086b 100755 (executable)
--- 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_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_lib_resolv_res_search" = "yes" ; then
                        cat >> confdefs.h <<\EOF
 #define HAVE_RES_SEARCH 1
 EOF
index ae32fa312e3428a4c8810c1ec029cf627cfdcafd..3173223b3fb62806ff7ec151c292b71991ae7d29 100644 (file)
@@ -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_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_lib_resolv_res_search" = "yes" ; then
                        AC_DEFINE(HAVE_RES_SEARCH,1)
                fi
        fi