mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-31 14:50:34 +08:00
Protect shell variables in berkeley db tests.
This commit is contained in:
parent
f878e9b3e3
commit
c790a508d2
1
CHANGES
1
CHANGES
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user