-}
- >>,
-changequote([, ])dnl
- jm_am_cv_func_working_mktime=yes, jm_am_cv_func_working_mktime=no,
- dnl When crosscompiling, assume mktime is missing or broken.
- jm_am_cv_func_working_mktime=no)
- ])
- if test $jm_am_cv_func_working_mktime = no; then
- LIBOBJS="$LIBOBJS mktime.o"
+}]])],
+ [ac_cv_func_working_mktime=yes],
+ [ac_cv_func_working_mktime=no],
+ [ac_cv_func_working_mktime=no])])
+if test $ac_cv_func_working_mktime = no; then
+ AC_LIBOBJ([mktime])
+fi
+])# AC_FUNC_MKTIME
+
+AC_DEFUN([gl_FUNC_MKTIME],
+[
+ AC_REQUIRE([AC_FUNC_MKTIME])
+ if test $ac_cv_func_working_mktime = no; then
+ AC_DEFINE(mktime, rpl_mktime,
+ [Define to rpl_mktime if the replacement function should be used.])
+ gl_PREREQ_MKTIME