mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
Update Gnulib to v0.1-5703-g356a414e8c and add 'posix_spawn' module.
This is a followup to edfca3b7e5
, which
added the 'posix_spawnp' module but not 'posix_spawn'.
* m4/gnulib-cache.m4: Add 'posix_spawn' module.
* gnulib-local/m4/clock_time.m4.diff: Adjust.
* configure.ac: Move 'gl_EARLY' use right after 'AC_PROG_CC'.
This commit is contained in:
parent
4404b553a5
commit
aeb22f4861
509 changed files with 2764 additions and 1730 deletions
|
@ -4,25 +4,26 @@ See <http://lists.gnu.org/archive/html/bug-gnulib/2011-06/msg00227.html>
|
|||
for details.
|
||||
|
||||
diff --git a/m4/clock_time.m4 b/m4/clock_time.m4
|
||||
index 225355331..61373c4b7 100644
|
||||
index d624a73d35..7b2f5bf1ab 100644
|
||||
--- a/m4/clock_time.m4
|
||||
+++ b/m4/clock_time.m4
|
||||
@@ -25,8 +25,17 @@ AC_DEFUN([gl_CLOCK_TIME],
|
||||
AC_SUBST([LIB_CLOCK_GETTIME])
|
||||
@@ -25,9 +25,18 @@ AC_DEFUN([gl_CLOCK_TIME],
|
||||
AC_SUBST([CLOCK_TIME_LIB])
|
||||
gl_saved_libs=$LIBS
|
||||
AC_SEARCH_LIBS([clock_gettime], [rt posix4],
|
||||
+ [if test "$ac_cv_search_clock_gettime" = "none required"; then
|
||||
+ AC_SEARCH_LIBS([clock_getcpuclockid], [rt posix4],
|
||||
+ [test "$ac_cv_search_clock_getcpuclockid" = "none required" \
|
||||
+ || LIB_CLOCK_GETTIME=$ac_cv_search_clock_getcpuclockid],
|
||||
+ || CLOCK_TIME_LIB=$ac_cv_search_clock_getcpuclockid],
|
||||
+ [test "$ac_cv_search_clock_gettime" = "none required" \
|
||||
+ || LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime])
|
||||
+ || CLOCK_TIME_LIB=$ac_cv_search_clock_gettime])
|
||||
+ else
|
||||
+ LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime
|
||||
+ fi])
|
||||
+ CLOCK_TIME_LIB=$ac_cv_search_clock_gettime
|
||||
+ fi]
|
||||
[test "$ac_cv_search_clock_gettime" = "none required" ||
|
||||
LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime])
|
||||
CLOCK_TIME_LIB=$ac_cv_search_clock_gettime])
|
||||
- AC_CHECK_FUNCS([clock_getres clock_gettime clock_settime])
|
||||
+ AC_CHECK_FUNCS([clock_getres clock_gettime clock_settime clock_getcpuclockid])
|
||||
LIBS=$gl_saved_libs
|
||||
])
|
||||
# For backward compatibility.
|
||||
LIB_CLOCK_GETTIME="$CLOCK_TIME_LIB"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue