]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* configure.in: fix AC_OUTPUT_COMMANDS for ltconfig and ltmain.sh
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Thu, 11 Mar 1999 00:31:22 +0000 (00:31 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Thu, 11 Mar 1999 00:31:22 +0000 (00:31 +0000)
so that they work if srcdir is relative too

ChangeLog
configure.in

index c4e2cae3f548669f2dd2507b48f03d80c163b4a8..43143992be86bbed8dec9d0252b7c5e7fcfb055c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1999-03-10  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
+       * 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
index 3ee51d707b928540918a2dd3448838768c1ac830..ac25f30fed5288d85e599a505f50d5887d3f7ee0 100644 (file)
@@ -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: