summaryrefslogtreecommitdiff
path: root/meta/site/common-linux
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-07 18:27:29 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-12 23:43:09 +0000
commitae49c16816e23fcfdcfb88d2d763e91be78f9dc0 (patch)
tree6f8f446b2303f9db438aef8306374e0c1c312823 /meta/site/common-linux
parent8807f4fd8a9ccdcdec016d87fd18fd0717f35dca (diff)
downloadopenembedded-core-ae49c16816e23fcfdcfb88d2d763e91be78f9dc0.tar.gz
openembedded-core-ae49c16816e23fcfdcfb88d2d763e91be78f9dc0.tar.bz2
openembedded-core-ae49c16816e23fcfdcfb88d2d763e91be78f9dc0.zip
site/common-linux: Add some macros to avoid sleeps during configure
If you profile gettext do_configure you notice it has some "sleep 1" type events occurring. This patch ensures we cache the right values to avoid those pointless delays there and in any other configure scripts using the same macros. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/site/common-linux')
-rw-r--r--meta/site/common-linux4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/site/common-linux b/meta/site/common-linux
index 8b5be68be9..448758b5f1 100644
--- a/meta/site/common-linux
+++ b/meta/site/common-linux
@@ -1,3 +1,7 @@
+# gettext - these add sleep delays otherwise
+gl_cv_func_sleep_works=${gl_cv_func_sleep_works=yes}
+gl_cv_header_working_fcntl_h=${gl_cv_header_working_fcntl_h=yes}
+
# apr
ac_cv_file__dev_zero=${ac_cv_file__dev_zero=yes}
ac_cv_sizeof_pid_t=${ac_cv_sizeof_pid_t=4}