From 0cd022a962424dea6bf9a16b439bd87b90016687 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Thu, 11 Mar 1999 00:31:22 +0000 Subject: [PATCH] * configure.in: fix AC_OUTPUT_COMMANDS for ltconfig and ltmain.sh so that they work if srcdir is relative too --- ChangeLog | 3 +++ configure.in | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c4e2cae3f..43143992b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 1999-03-10 Alexandre Oliva + * configure.in: fix AC_OUTPUT_COMMANDS for ltconfig and ltmain.sh + so that they work if srcdir is relative too + * libtool.m4 (AC_LIBLTDL_INSTALLABLE, AC_LIBLTDL_CONVENIENCE): avoid introducing multiple --enable options when re-running config.status diff --git a/configure.in b/configure.in index 3ee51d707..ac25f30fe 100644 --- a/configure.in +++ b/configure.in @@ -68,8 +68,10 @@ done AC_SUBST(ACINCLUDE_M4_LIST) AC_SUBST(DIST_MAKEFILE_LIST) -AC_OUTPUT_COMMANDS([test -f ${top_srcdir}/ltconfig || ${MAKE-make} ${top_srcdir}/ltconfig]) -AC_OUTPUT_COMMANDS([test -f ${top_srcdir}/ltmain.sh || ${MAKE-make} ${top_srcdir}/ltmain.sh]) +AC_OUTPUT_COMMANDS([ + test -f ${saved_top_srcdir}/ltconfig || ${MAKE-make} ${saved_top_srcdir}/ltconfig + test -f ${saved_top_srcdir}/ltmain.sh || ${MAKE-make} ${saved_top_srcdir}/ltmain.sh +], [saved_top_srcdir=${srcdir}]) AC_OUTPUT([Makefile doc/Makefile tests/Makefile]) # Local Variables: -- 2.47.3