comparison m4/mktime.m4 @ 11744:6fff409b3230

mktime: correct setting of REPLACE_MKTIME * m4/mktime.m4 (gl_FUNC_MKTIME): Set REPLACE_MKTIME=0, when required.
author Jim Meyering <meyering@redhat.com>
date Wed, 29 Jul 2009 19:30:21 +0200
parents 531d4547f010
children e8d2c6fc33ad
comparison
equal deleted inserted replaced
11743:38afe8f79841 11744:6fff409b3230
219 AC_FUNC_MKTIME 219 AC_FUNC_MKTIME
220 dnl Note: AC_FUNC_MKTIME does AC_LIBOBJ([mktime]). 220 dnl Note: AC_FUNC_MKTIME does AC_LIBOBJ([mktime]).
221 if test $ac_cv_func_working_mktime = no; then 221 if test $ac_cv_func_working_mktime = no; then
222 REPLACE_MKTIME=1 222 REPLACE_MKTIME=1
223 gl_PREREQ_MKTIME 223 gl_PREREQ_MKTIME
224 else
225 REPLACE_MKTIME=0
224 fi 226 fi
225 ]) 227 ])
226 228
227 # Prerequisites of lib/mktime.c. 229 # Prerequisites of lib/mktime.c.
228 AC_DEFUN([gl_PREREQ_MKTIME], 230 AC_DEFUN([gl_PREREQ_MKTIME],