From 53a07fe60bdd9837041cd6f0988b38f5c38c73e0 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 29 Nov 2002 11:53:55 +0000 Subject: [PATCH] Fix creation of lib/yaz-config. --- CHANGELOG | 3 +++ configure.in | 9 ++------- doc/credits.xml | 5 ++++- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 3eb84d5..2f72252 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,8 @@ Possible compatibility problems with earlier versions marked with '*'. +Fix creation of lib/yaz-config so it works if srcdir != objdir. Patch +from Kang-Jin Lee. + --- 1.9.2 2002/11/26 yaz_marc_decode uses OAI MARC as XML format for ISO2709 records. diff --git a/configure.in b/configure.in index 255c4d4..4f984ae 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ dnl YAZ Toolkit, Index Data 1994-2002 dnl See the file LICENSE for details. -dnl $Id: configure.in,v 1.96 2002-11-26 13:42:35 adam Exp $ +dnl $Id: configure.in,v 1.97 2002-11-29 11:53:55 adam Exp $ AC_INIT(include/yaz/yaz-version.h) AM_INIT_AUTOMAKE(yaz, 1.9.2) dnl @@ -320,11 +320,6 @@ AC_SUBST(YAZ_BUILD_ROOT) YAZ_SRC_ROOT=`cd ${srcdir}; pwd` YAZ_BUILD_ROOT=`pwd` dnl -if test -f ${srcdir}/lib/yaz-config.in; then - rm ${srcdir}/lib/yaz-config.in -fi -sed s%yaz_echo_source=yes%yaz_echo_source=no%g < ${srcdir}/yaz-config.in >${srcdir}/lib/yaz-config.in -dnl dnl ------ Makefiles dnl AC_OUTPUT([ @@ -352,4 +347,4 @@ doc/yazprint.dsl doc/tkl.xsl yaz-config lib/yaz-config -],[chmod +x yaz-config lib/yaz-config]) +],[sed s%yaz_echo_source=yes%yaz_echo_source=no%g < yaz-config > lib/yaz-config && chmod +x yaz-config lib/yaz-config]) diff --git a/doc/credits.xml b/doc/credits.xml index 1782aa8..fd8aee4 100644 --- a/doc/credits.xml +++ b/doc/credits.xml @@ -1,4 +1,4 @@ - + Credits This appendix lists individuals that have contributed in the development @@ -54,6 +54,9 @@ Oleg Kolobov + Kang-Jin Lee + + Stefan Lohrum -- 1.7.10.4