From: Adam Dickmeiss Date: Mon, 13 Dec 2004 14:15:55 +0000 (+0000) Subject: Define YAZ_USE_NEW_LOG=1 if app require YAZ > 2.0.28 X-Git-Tag: YAZ.2.0.30~32 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=8894d816ae5a3dfaa800dde0d6442f2bef144782;p=yaz-moved-to-github.git Define YAZ_USE_NEW_LOG=1 if app require YAZ > 2.0.28 --- diff --git a/yaz.m4 b/yaz.m4 index f8c360e..9626319 100644 --- a/yaz.m4 +++ b/yaz.m4 @@ -129,6 +129,9 @@ AC_DEFUN([YAZ_INIT], if test "$have_yaz_version" -lt "$req_yaz_version"; then AC_MSG_ERROR([$YAZVERSION. Requires $2 or later]) fi + if test "$req_yaz_version" -gt "2000028"; then + YAZINC="$YAZINC -DYAZ_USE_NEW_LOG=1" + fi fi fi ])