diff --git a/configure.in b/configure.in index a2dd4b33b..fc402d380 100644 --- a/configure.in +++ b/configure.in @@ -649,10 +649,13 @@ AC_DEFUN([GUILE_FUNC_DECLARED], [ fi ]) -GUILE_FUNC_DECLARED(strptime, time.h) GUILE_FUNC_DECLARED(sleep, unistd.h) GUILE_FUNC_DECLARED(usleep, unistd.h) +AC_CHECK_DECLS([strptime],,, +[#define _GNU_SOURCE /* ask glibc to give strptime prototype */ +#include ]) + ### On some systems usleep has no return value. If it does have one, ### we'd like to return it; otherwise, we'll fake it. AC_CACHE_CHECK([return type of usleep], guile_cv_func_usleep_return_type,