[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: add m4 dependencies on preopened modules [m4--devo--1.0--patch-14]
From: |
Gary V. Vaughan |
Subject: |
FYI: add m4 dependencies on preopened modules [m4--devo--1.0--patch-14] |
Date: |
Sat, 7 May 2005 20:46:48 +0100 (BST) |
User-agent: |
mailnotify/0.6 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Applied to HEAD.
* looking for address@hidden/m4--devo--1.0--patch-13 to compare with
* comparing to address@hidden/m4--devo--1.0--patch-13
M configure.ac
M ChangeLog
M Makefile.am
* modified files
Index: Changelog
from Gary V. Vaughan <address@hidden>
Since most of the build is handled from a single Makefile.am now,
we can teach make about the dependencies between the m4 binary and
the preopened modules it is built against:
* configure.ac (PREOPEN_DEPENDENCIES): Substitute for a list of
preopened modules.
* Makefile.am (src_m4_DEPENDENCIES): Rebuild the m4 program if any
of the preopened modules have changed.
2005-05-07 Gary V. Vaughan <address@hidden>
--- orig/Makefile.am
+++ mod/Makefile.am
@@ -81,6 +81,7 @@
src_m4_CPPFLAGS = $(AM_CPPFLAGS) -Isrc -I$(srcdir)/src $(LTDLINCL)
src_m4_LDFLAGS = $(AM_LDFLAGS) $(DLPREOPEN)
src_m4_LDADD = m4/libm4.la
+src_m4_DEPENDENCIES = $(PREOPEN_DEPENDENCIES)
## ##
## --- PASTED MANUALLY FROM GNULIB --- ##
--- orig/configure.ac
+++ mod/configure.ac
@@ -73,6 +73,7 @@
[use_modules="$withval"],
[use_modules="$m4_default_preload"])
+ PREOPEN_DEPENDENCIES=
DLPREOPEN="-dlpreopen force"
if test -z "$use_modules"; then
use_modules=none
@@ -80,11 +81,13 @@
if test "$use_modules" != yes; then
for module in $use_modules; do
DLPREOPEN="$DLPREOPEN -dlpreopen modules/$module.la"
+ PREOPEN_DEPENDENCIES="$PREOPEN_DEPENDENCIES modules/$module.la"
done
fi
fi
AC_MSG_RESULT($use_modules)
AC_SUBST(DLPREOPEN)
+AC_SUBST(PREOPEN_DEPENDENCIES)
- --
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.9
http://tkd.kicks-ass.net/arch/address@hidden/cvs-utils--tla--1.0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFCfRsmFRMICSmD1gYRAonrAKDO8abrHLyejloU/nyDwgYSp32fVQCcDY0u
8il0lb00BokVPcw6lrJYdC0=
=UaML
-----END PGP SIGNATURE-----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: add m4 dependencies on preopened modules [m4--devo--1.0--patch-14],
Gary V. Vaughan <=