Protect shell variables in berkeley db tests.

This commit is contained in:
Kurt Zeilenga 1999-01-28 19:28:07 +00:00
parent f878e9b3e3
commit c790a508d2
2 changed files with 4 additions and 3 deletions

View File

@ -6,6 +6,7 @@ Changes included in OpenLDAP 1.2
Update ldap_open(3) man page to note ldap_init() is preferred.
Build environment
Fixed mkdep to handle multiple dependent files on one line
Fixed openldap.m4 to "protect" shell variable
Changes included in OpenLDAP 1.2
CVS Tag: OPENLDAP_REL_ENG_1_2_BETA

View File

@ -109,7 +109,7 @@ AC_DEFUN([OL_BERKELEY_DB2],
[AC_REQUIRE([OL_LIB_BERKELEY_DB2])
AC_REQUIRE([OL_HEADER_BERKELEY_DB2])
AC_CACHE_CHECK([for Berkeley DB2], [ol_cv_berkeley_db2], [
if test $ol_cv_lib_db2 = no -o $ol_cv_header_db2 = no ; then
if test "$ol_cv_lib_db2" = no -o "$ol_cv_header_db2" = no ; then
ol_cv_berkeley_db2=no
else
ol_cv_berkeley_db2=yes
@ -132,7 +132,7 @@ dnl
AC_DEFUN([OL_HEADER_BERKELEY_DB],
[AC_REQUIRE([OL_HEADER_BERKELEY_DB2])
AC_CHECK_HEADERS(db_185.h)
if test $ol_cv_header_db2 = yes ; then
if test "$ol_cv_header_db2" = yes ; then
dnl db.h is db2!
ol_cv_header_db=$ac_cv_header_db_185_h
@ -175,7 +175,7 @@ AC_DEFUN([OL_BERKELEY_DB],
[AC_REQUIRE([OL_LIB_BERKELEY_DB])
AC_REQUIRE([OL_HEADER_BERKELEY_DB])
AC_CACHE_CHECK([for Berkeley DB], [ol_cv_berkeley_db], [
if test $ol_cv_lib_db = no -o $ol_cv_header_db = no ; then
if test "$ol_cv_lib_db" = no -o "$ol_cv_header_db" = no ; then
ol_cv_berkeley_db=no
else
ol_cv_berkeley_db=yes