[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
"unknown extension in source" perl error (with patch)
From: |
edward |
Subject: |
"unknown extension in source" perl error (with patch) |
Date: |
Tue, 13 Mar 2001 03:29:31 -0800 (PST) |
hi peeps:
given the following Makefile.am:
noinst_PROGRAMS = foo
foo_SOURCES = foo.i
automake will die with:
+ perl ../../automake --amdir=/usr/beta/src/automake/tests/.. --foreign
-a
Use of uninitialized value in string eq at ../../automake line 5417.
unknown extensions are not tested before used.
ChangeLog:
2001-03-13 Edward M. Lee <address@hidden>
* automake.in (handle_single_transform_list): test (and warn the
user) for unknown extensions before doing language features.
Suggested Patch:
--- automake.in.orig Tue Mar 13 04:49:55 2001
+++ automake.in Tue Mar 13 06:28:11 2001
@@ -1633,6 +1633,11 @@
my $renamed = 0;
my ($linker, $object);
+ if (!defined($extension_map{$extension}))
+ {
+ &am_error ("unknown extension for `$full' in $var");
+ next;
+ }
$extension = &derive_suffix ($extension);
my $lang = $extension_map{$extension};
if ($lang)
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
- "unknown extension in source" perl error (with patch),
edward <=