Skip to contentSkip to conversation

site/common-linux: Add some macros to avoid sleeps during configure

PATCH New Richard Purdie 1 participant 1 message Dec 7, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

meta/site/common-linux +4 -0
index 8b5be68..448758b 100644
@@ -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}