automake: portability fixes
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 24 Mar 2015 13:13:01 +0000 (13:13 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 24 Mar 2015 13:13:01 +0000 (13:13 +0000)
commitd383631c0a9c827a493e5239437670389fc6dfb1
treece8d0f4efdab65a5231d3710def90910faa8d32c
parent75b66f398cb375f7139082187c8c088b4655afdf
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44972 3c298f89-4303-0410-b956-a3cf2f4a3e73
tools/automake/Makefile
tools/automake/patches/000-relocatable.patch
tools/automake/patches/100-aclocal-skip-not-existing-directories.patch