summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/autoconf/autoconf_2.69.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-07 18:28:56 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-14 22:30:56 +0000
commit98dcdcb47c7fd797761703ea27092b4ca2558d62 (patch)
tree5f525cd12fa2ee2b9a2c14468192c8ec4b72f5db /meta/recipes-devtools/autoconf/autoconf_2.69.bb
parent28fa3044d5e978de5801cf9fa02ae596e9ebc833 (diff)
downloadpoky-98dcdcb47c7fd797761703ea27092b4ca2558d62.tar.gz
autoconf: Disable macro which causes excessive delays when using dash as sh
At the start of every configure script, the check for solaris 'print' causes significant problems on a linux machine with dash as /bin/sh since it triggers the execution of "print" which on some linux systems is a perl script which is part of mailcap. Worse, this perl script calls "which file" and if successful ignores the path file was found in and just runs "file" without a path. Each execution causes PATH to be searched. In something like gettext with multiple configure scripts, this is worth something like 30,000 syscalls of which 3,000 are execs. Simply assuming the shell's printf function works cuts out all the fork overhead and when parallel tasks are running, this overhead appears to be significant. (From OE-Core rev: 421eb8fce9856c63bf62fc3a61fe39d1e5253ff8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/autoconf/autoconf_2.69.bb')
-rw-r--r--meta/recipes-devtools/autoconf/autoconf_2.69.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/autoconf/autoconf_2.69.bb b/meta/recipes-devtools/autoconf/autoconf_2.69.bb
index b9f6883c39..adb6ad7ccf 100644
--- a/meta/recipes-devtools/autoconf/autoconf_2.69.bb
+++ b/meta/recipes-devtools/autoconf/autoconf_2.69.bb
@@ -14,6 +14,7 @@ SRC_URI += "file://autoreconf-include.patch \
14 file://preferbash.patch \ 14 file://preferbash.patch \
15 file://autotest-automake-result-format.patch \ 15 file://autotest-automake-result-format.patch \
16 file://add_musl_config.patch \ 16 file://add_musl_config.patch \
17 file://performance.patch \
17 " 18 "
18 19
19SRC_URI[md5sum] = "82d05e03b93e45f5a39b828dc9c6c29b" 20SRC_URI[md5sum] = "82d05e03b93e45f5a39b828dc9c6c29b"