autoconf: portability fixes
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 24 Mar 2015 13:12:52 +0000 (13:12 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 24 Mar 2015 13:12:52 +0000 (13:12 +0000)
commit75b66f398cb375f7139082187c8c088b4655afdf
treecff64a63c3e496a2e4d222456fe0affa2745dee9
parent8f359a64d43230a8a77bd351fd5b6fe26da34cf8
autoconf: portability fixes

The rework of the host tools discovery caused autoconf to embed
absolute paths to staging_dir/host/bin/perl into the shebang
of the generated autoconfig 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@44971 3c298f89-4303-0410-b956-a3cf2f4a3e73
tools/autoconf/Makefile
tools/autoconf/patches/000-relocatable.patch
tools/autoconf/patches/001-no_emacs_lib.patch