libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libtool--gary--1.0--patch-37


From: Gary V. Vaughan
Subject: libtool--gary--1.0--patch-37
Date: Mon, 9 Aug 2004 12:31:38 +0100 (BST)
User-agent: mailnotify/0.3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Okay to commit?
- -- 
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook
_________________________________________________________
This patch notification generated by tlaapply version 0.5
http://tkd.kicks-ass.net/arch/address@hidden/cvs-utils--tla--1.0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)

iD8DBQFBF2CaFRMICSmD1gYRAupgAJwJs8SYY4yKlo2tqdcW3YLlCUXe5ACfX+U2
U0SamR9Itj5zxdpZSrVJ5jI=
=aNLG
-----END PGP SIGNATURE-----
* looking for address@hidden/libtool--gary--1.0--patch-36 to compare with
* comparing to address@hidden/libtool--gary--1.0--patch-36
M  ChangeLog
M  Makefile.am

* modified files

Index: Changelog
from  Gary V. Vaughan  <address@hidden>

        * Makefile.am ($(top_srcdir)/config/ltmain.sh): Continue
        gracefully when $srcdir is read-only, such as during make
        distcheck.
        ($(top_srcdir)/m4/ltversion.m4): Ditto.

--- orig/Makefile.am
+++ mod/Makefile.am
@@ -82,29 +82,33 @@
 # how ltversion.m4 appears in our dependencies.
 EXTRA_DIST += m4/ltversion.in m4/ltversion.m4
 $(top_srcdir)/m4/ltversion.m4: m4/ltversion.in configure.ac stamp-vcl
-       set -- `$(MKSTAMP) < $(top_srcdir)/ChangeLog`; \
-       cd $(top_srcdir); \
-       rm -f m4/ltversion.tmp; \
-       serial=`echo $$1 | sed 's,^1[.],,g'`; \
-       input="ltversion.in"; \
-       $(edit) -e "s,@MACRO_REVISION\@,$$1,g" \
-               -e "s,@MACRO_SERIAL\@,$$serial,g" \
-               m4/ltversion.in > m4/ltversion.tmp; \
-       chmod a-w m4/ltversion.tmp; \
-       mv -f m4/ltversion.tmp m4/ltversion.m4
+       -set -- `$(MKSTAMP) < $(top_srcdir)/ChangeLog`; \
+       cd $(top_srcdir); touch m4/.fnord 2>/dev/null; \
+       test -f m4/.fnord && \
+       { rm -f m4/.fnord m4/ltversion.tmp; \
+         serial=`echo $$1 | sed 's,^1[.],,g'`; \
+         input="ltversion.in"; \
+         $(edit) -e "s,@MACRO_REVISION\@,$$1,g" \
+                 -e "s,@MACRO_SERIAL\@,$$serial,g" \
+                 m4/ltversion.in > m4/ltversion.tmp; \
+         chmod a-w m4/ltversion.tmp; \
+         mv -f m4/ltversion.tmp m4/ltversion.m4; \
+       }
 
 ## And for similar reasons, ltmain.sh can't be built from config.status.
 EXTRA_DIST += config/ltmain.sh
 $(top_srcdir)/config/ltmain.sh: config/ltmain.in configure.ac stamp-vcl 
Makefile
-       $(timestamp); \
-       cd $(top_srcdir); \
-       rm -f config/ltmain.tmp; \
-       input="ltmain.in"; \
-       $(edit) -e "s,@TIMESTAMP\@,$$TIMESTAMP,g" \
-               -e "s,@package_revision\@,$$1,g" \
-               config/ltmain.in > config/ltmain.tmp; \
-       chmod a-w config/ltmain.tmp; \
-       mv -f config/ltmain.tmp config/ltmain.sh
+       -$(timestamp); \
+       cd $(top_srcdir); touch config/.fnord 2>/dev/null; \
+       test -f config/.fnord && \
+       { rm -f config/.fnord && config/ltmain.tmp; \
+         input="ltmain.in"; \
+         $(edit) -e "s,@TIMESTAMP\@,$$TIMESTAMP,g" \
+                 -e "s,@package_revision\@,$$1,g" \
+                 config/ltmain.in > config/ltmain.tmp; \
+         chmod a-w config/ltmain.tmp; \
+         mv -f config/ltmain.tmp config/ltmain.sh; \
+       }
 
 # The libtool distributor and the standalone libtool script.
 bin_SCRIPTS = libtoolize libtool




reply via email to

[Prev in Thread] Current Thread [Next in Thread]