From: Alexandre Oliva Date: Thu, 11 Mar 1999 00:31:22 +0000 (+0000) Subject: * configure.in: fix AC_OUTPUT_COMMANDS for ltconfig and ltmain.sh X-Git-Tag: release-1-2f~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0cd022a962424dea6bf9a16b439bd87b90016687;p=thirdparty%2Flibtool.git * configure.in: fix AC_OUTPUT_COMMANDS for ltconfig and ltmain.sh so that they work if srcdir is relative too --- 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: