[Date Prev][Date Next] [Chronological] [Thread] [Top]

[patch] openldap.m4



Hi,

please apply the following patch.
It corrects AC_CACHE_CHECK behaviour in the check for DB_THREAD.
(see autoconf manual:  7.3 Caching Results)

--- openldap-2.1.5/build/openldap.m4.orig	Sun Oct  6 21:40:16 2002
+++ openldap-2.1.5/build/openldap.m4	Sun Oct  6 21:40:29 2002
@@ -401,12 +401,13 @@
 	[ol_cv_berkeley_db_thread=cross])

 	LIBS="$ol_LIBS"
+])

 	if test $ol_cv_berkeley_db_thread != no ; then
 		AC_DEFINE(HAVE_BERKELEY_DB_THREAD, 1,
 			[define if Berkeley DB has DB_THREAD support])
 	fi
-])])dnl
+])dnl
 dnl
 dnl --------------------------------------------------------------------
 dnl Find any DB


BTW: are there any plans on switch to a more recent version of
     autotools ?

-- 
Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT
56 69 73 69 74				http://www.zabbadoz.net/