+2003-02-02 Alexandre Duret-Lutz <adl@gnu.org>
+
+ * automake.in (handle_programs): Strip $(EXEEXT) before
+ calling &check_canonical_spelling.
+ * tests/exeext.test: Make sure we don't use a
+ maude3__EXEEXT__OBJECTS variable.
+
2003-02-02 Jeremy Nimmer <jwnimmer@alum.mit.edu> (tiny change)
For Debian Bug #39542:
my $seen_libobjs = 0;
my $obj = &get_object_extension ($one_file);
+ # Strip any $(EXEEXT) suffix the user might have added, or this
+ # will confuse &handle_source_transform and &check_canonical_spelling.
+ # We'll add $(EXEEXT) back later anyway.
+ $one_file =~ s/\$\(EXEEXT\)$//;
+
# Canonicalize names and check for misspellings.
my $xname = &check_canonical_spelling ($one_file, '_LDADD', '_LDFLAGS',
'_SOURCES', '_OBJECTS',
$where->push_context ("while processing program `$one_file'");
$where->set (INTERNAL->get);
- # Strip any $(EXEEXT) suffix the user might have added, or this
- # will confuse &handle_source_transform. We'll add $(EXEEXT) back
- # later anyway.
- $one_file =~ s/\$\(EXEEXT\)$//;
my $linker = &handle_source_transform ($xname, $one_file, $obj, $where);
my $xt = '';
grep '^mt$(EXEEXT):' Makefile.in
grep '^rmt$(EXEEXT):' Makefile.in
+# Make sure $(EXEEXT) gets stripped before canonicalization.
+grep 'maude3__EXEEXT__OBJECTS' Makefile.in && exit 1
+
./configure
EXEEXT=.foo $MAKE -e print > stdout