automake: portability fixes

The rework of the host tools discovery caused automake to embed
absolute paths to staging_dir/host/bin/perl into the shebang
of the generated automake executables.

Switch to the portable "/usr/bin/env perl" and enable global
warnings through "$^W" instead of the "-w" interpreter argument.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44972
This commit is contained in:
Jo-Philipp Wich
2015-03-24 13:13:01 +00:00
parent e0c8e20f8c
commit f6c581cc3e
3 changed files with 59 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
--- a/bin/aclocal.in
+++ b/bin/aclocal.in
@@ -354,6 +354,12 @@ sub scan_m4_dirs ($$@)
@@ -356,6 +356,12 @@ sub scan_m4_dirs ($$@)
foreach my $m4dir (@dirlist)
{