All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] site/common-linux: Add some macros to avoid sleeps during configure
@ 2015-12-07 18:27 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2015-12-07 18:27 UTC (permalink / raw)
  To: openembedded-core

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>

diff --git a/meta/site/common-linux b/meta/site/common-linux
index 8b5be68..448758b 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}




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-07 18:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-07 18:27 [PATCH] site/common-linux: Add some macros to avoid sleeps during configure Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.