projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
.
[gnulib.git]
/
m4
/
nanosleep.m4
diff --git
a/m4/nanosleep.m4
b/m4/nanosleep.m4
index
5ed4c47
..
b431456
100644
(file)
--- a/
m4/nanosleep.m4
+++ b/
m4/nanosleep.m4
@@
-1,11
+1,11
@@
-#serial
6
+#serial
8
dnl From Jim Meyering.
dnl Check for the nanosleep function.
dnl If not found, use the supplied replacement.
dnl
dnl From Jim Meyering.
dnl Check for the nanosleep function.
dnl If not found, use the supplied replacement.
dnl
-AC_DEFUN(
jm_FUNC_NANOSLEEP
,
+AC_DEFUN(
[jm_FUNC_NANOSLEEP]
,
[
nanosleep_save_libs=$LIBS
[
nanosleep_save_libs=$LIBS
@@
-45,9
+45,8
@@
AC_DEFUN(jm_FUNC_NANOSLEEP,
jm_cv_func_nanosleep_works=no)
])
if test $jm_cv_func_nanosleep_works = no; then
jm_cv_func_nanosleep_works=no)
])
if test $jm_cv_func_nanosleep_works = no; then
- AC_SUBST(LIBOBJS)
- LIBOBJS="$LIBOBJS nanosleep.$ac_objext"
- AC_DEFINE_UNQUOTED(nanosleep, rpl_nanosleep,
+ AC_LIBOBJ(nanosleep)
+ AC_DEFINE(nanosleep, rpl_nanosleep,
[Define to rpl_nanosleep if the replacement function should be used.])
fi
[Define to rpl_nanosleep if the replacement function should be used.])
fi