From: Adam Dickmeiss Date: Mon, 13 Dec 2004 20:22:23 +0000 (+0000) Subject: Define YAZ_USE_NEW_LOG=1 if app require YAZ > 2.0.28 X-Git-Tag: YAZPROXY.0.9~16 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=9471982c0017da5aa2cba6218ae9927ac47d2174;p=yazproxy-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 ])