- AC_REQUIRE([gl_FUNC_MKTIME])
- if test $ac_cv_func_working_mktime = yes; then
- AC_CHECK_FUNC([__mktime_internal], ,
- [# mktime works but it doesn't export __mktime_internal,
- # so we need to substitute our own mktime implementation.
- AC_LIBOBJ([mktime])
- REPLACE_MKTIME=1
- gl_PREREQ_MKTIME])
- fi