+2004-09-28 Alexandre Duret-Lutz <adl@gnu.org>
+
+ * automake.in (handle_languages, define_compiler_variable): Output
+ Libtool's --tag= option before --mode=compile, because depcomp use
+ --mode=compile as end marker for libtool arguments.
+ (define_linker_variable): Likewise before --mode=link, for
+ uniformity.
+ * tests/pr307.test: Make sure dependency files are updated. That
+ was not the case because depcomp thought `--tag=CC' was the
+ compiler to get dependencies from.
+ Report from Пухальский Юрий Андреевич.
+
2004-09-26 Alexandre Duret-Lutz <adl@gnu.org>
* configure.ac: Require Perl 5.6.
* tests/txinfo24.test, tests/txinfo25.test, tests/txinfo28.test:
Require texi2dvi-o.
- Report from Václav Haisman.
+ Report from Václav Haisman.
2003-12-10 Alexandre Duret-Lutz <adl@gnu.org>
2003-05-22 Alexandre Duret-Lutz <adl@gnu.org>
- * automake.texi (maintainer-mode): s/François/Fran@,{c}ois/.
+ * automake.texi (maintainer-mode): s/François/Fran@,{c}ois/.
- * lib/elisp-comp: s/François/Franc,ois/.
+ * lib/elisp-comp: s/François/Franc,ois/.
Suggested by Paul Eggert.
* automake.in: Move the "main" code at the end.
along with autoconf; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
+
+;; Variables:
+;; coding: utf-8
+;; End:
Esben Haabendal Soerensen bart@kom.aau.dk
Ezra Peisach epeisach@MED-XTAL.BU.EDU
Flavien Astraud flav42@yahoo.fr
-François Pinard pinard@iro.umontreal.ca
+François Pinard pinard@iro.umontreal.ca
Fred Fish fnf@ninemoons.com
Ganesan Rajagopal rganesan@novell.com
Garrett D'Amore garrett@qualcomm.com
Jeff Garzik jgarzik@pobox.com
Jeff Squyres jsquyres@lam-mpi.org
Jens Elkner elkner@imsgroup.de
-Jens Krüger jens_krueger@physik.tu-muenchen.de
+Jens Krüger jens_krueger@physik.tu-muenchen.de
Jens Petersen petersen@redhat.com
Jeremy Nimmer jwnimmer@alum.mit.edu
Jerome Lovy jlovy@multimania.com
Phil Nelson phil@cs.wwu.edu
Philip Fong pwlfong@users.sourceforge.net
Philip S Tellis philip@ncst.ernet.in
+Пухальский Юрий Андреевич pooh@cryptopro.ru
Rainer Orth ro@techfak.uni-bielefeld.de
Rafael Laboissiere laboissiere@psy.mpg.de
Raja R Harinath harinath@cs.umn.edu
Ralf Corsepius corsepiu@faw.uni-ulm.de
Ralf Wildenhues Ralf.Wildenhues@gmx.de
Ralph Schleicher rs@purple.UL.BaWue.DE
-Ramón García Fernández ramon@jl1.quim.ucm.es
+Ramón García Fernández ramon@jl1.quim.ucm.es
Rich Wales richw@webcom.com
Richard Boulton richard@tartarus.org
Richard Dawe rich@phekda.freeserve.co.uk
Tom Epperly tepperly@llnl.gov
Ulrich Drepper drepper@gnu.ai.mit.edu
Ulrich Eckhardt eckhardt@satorlaser.com
-Václav Haisman V.Haisman@sh.cvut.cz
+Václav Haisman V.Haisman@sh.cvut.cz
Vadim Zeitlin Vadim.zeitlin@dptmaths.ens-cachan.fr
Volker Boerchers vboerchers@tecon.de
Werner John john@oswf.de
Werner Koch wk@isil.d.shuttle.de
William S Fulton wsf@fultondesigns.co.uk
Yann Droneaud ydroneaud@meuh.eu.org
+
+;; Local Variables:
+;; mode: text
+;; coding: utf-8
+;; End:
}
my $obj_ltcompile =
- '$(LIBTOOL) --mode=compile ' . $libtool_tag . $obj_compile;
+ "\$(LIBTOOL) $libtool_tag--mode=compile $obj_compile";
# We _need_ `-o' for per object rules.
my $output_flag = $lang->output_flag || '-o';
if $lang->libtool_tag && exists $libtool_tags{$lang->libtool_tag};
&define_variable ($var, $value, INTERNAL);
&define_variable ("LT$var",
- "\$(LIBTOOL) --mode=compile $libtool_tag$value",
+ "\$(LIBTOOL) $libtool_tag--mode=compile $value",
INTERNAL)
if var ('LIBTOOL');
}
# CCLINK = $(CCLD) blah blah...
&define_variable ($lang->linker,
((var ('LIBTOOL') ?
- '$(LIBTOOL) --mode=link ' . $libtool_tag : '')
+ "\$(LIBTOOL) $libtool_tag--mode=link " : '')
. $lang->link),
INTERNAL);
}
#! /bin/sh
-# Copyright (C) 2002 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2004 Free Software Foundation, Inc.
#
# This file is part of GNU Automake.
#
cat > Makefile.am << 'END'
check_LTLIBRARIES = librace.la
librace_la_SOURCES = a.c b.c c.c d.c e.c f.c g.c h.c
+
+# Make sure the dependencies are updated.
+check-local:
+ for i in $(librace_la_SOURCES:.c=.Plo); do \
+ echo checking ./$(DEPDIR)/$$i; \
+ grep foo.h ./$(DEPDIR)/$$i >tst || exit 1; \
+ test `wc -l <tst` -eq 2 || exit 1; \
+ done
END
+: >foo.h
+
for i in a b c d e f g h; do
- echo "int $i() { return 0; }" > $i.c
+ cat >$i.c <<EOF
+#include "foo.h"
+int $i() { return 0; }
+EOF
done
set -e
# (This may happen on `f' or on some other files.)
test -f librace.la
+test -f tst # a proof that check-local was run