]> code.ossystems Code Review - openembedded-core.git/commitdiff
site/common-linux: Add some macros to avoid sleeps during configure
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Dec 2015 18:27:29 +0000 (18:27 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 Dec 2015 23:43:09 +0000 (23:43 +0000)
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>
meta/site/common-linux

index 8b5be68be985a4bbffae08fc7f74f0314e5e13f9..448758b5f1e7efea8159fa73815b2f1d86d3e0a8 100644 (file)
@@ -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}