From 9471982c0017da5aa2cba6218ae9927ac47d2174 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 13 Dec 2004 20:22:23 +0000 Subject: [PATCH] Define YAZ_USE_NEW_LOG=1 if app require YAZ > 2.0.28 --- yaz.m4 | 3 +++ 1 file changed, 3 insertions(+) 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 ]) -- 1.7.10.4