From 2f83e1ab14eab55ce68001e48c5808193ef6bf77 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 29 Nov 2002 15:43:23 +0000 Subject: [PATCH] Fix creation of yaz++-config when srcdir != objdir. --- ChangeLog | 2 ++ configure.in | 7 +------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4e32713..ce23ba4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ New autoconf m4 macro in yazpp.m4. +Fix creation of src/yaz++-config so that it works if srcdir != objdir. + Fixes for yaz++-config for libtool archives. --- 0.5 2002/11/04 Second release diff --git a/configure.in b/configure.in index a12e155..7e5e35f 100644 --- a/configure.in +++ b/configure.in @@ -66,21 +66,16 @@ AC_SUBST(YAZPP_BUILD_ROOT) YAZPP_SRC_ROOT=`cd ${srcdir}; pwd` YAZPP_BUILD_ROOT=`pwd` -if test -f ${srcdir}/src/yaz++-config.in; then - rm ${srcdir}/src/yaz++-config.in -fi -sed s%yaz_echo_source=yes%yaz_echo_source=no%g < ${srcdir}/yaz++-config.in >${srcdir}/src/yaz++-config.in AC_OUTPUT([ Makefile src/Makefile include/Makefile include/yaz++/Makefile yaz++-config - src/yaz++-config zoom/Makefile lib/Makefile doc/Makefile doc/yaz++.xml doc/yazprint.dsl doc/yazphp.dsl doc/yazhtml.dsl doc/tkl.xsl -],[chmod +x yaz++-config src/yaz++-config]) +],[sed s%yaz_echo_source=yes%yaz_echo_source=no%g < yaz++-config >src/yaz++-config && chmod +x yaz++-config src/yaz++-config]) -- 1.7.10.4