projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
regex: no 'static inline'
[gnulib.git]
/
m4
/
time_r.m4
diff --git
a/m4/time_r.m4
b/m4/time_r.m4
index
c3579fb
..
9ddbd01
100644
(file)
--- a/
m4/time_r.m4
+++ b/
m4/time_r.m4
@@
-17,7
+17,7
@@
AC_DEFUN([gl_TIME_R],
dnl Some systems don't declare localtime_r() and gmtime_r() if _REENTRANT is
dnl not defined.
dnl Some systems don't declare localtime_r() and gmtime_r() if _REENTRANT is
dnl not defined.
- AC_CHECK_DECLS
_ONCE([localtime_r
])
+ AC_CHECK_DECLS
([localtime_r], [], [], [[#include <time.h>]
])
if test $ac_cv_have_decl_localtime_r = no; then
HAVE_DECL_LOCALTIME_R=0
fi
if test $ac_cv_have_decl_localtime_r = no; then
HAVE_DECL_LOCALTIME_R=0
fi