~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/mktime.m4

  • Committer: rm
  • Date: 2009-07-28 00:45:16 UTC
  • mto: (1093.7.2 pandora-build)
  • mto: This revision was merged to the branch mainline in revision 1105.
  • Revision ID: rm@ralph.local-20090728004516-ewvbfbcpc9dnl9hu
fix for gnulib mktime test & replacement (adaptation of patch from Bruno Haible)

Show diffs side-by-side

added added

removed removed

Lines of Context:
211
211
 
212
212
AC_DEFUN([gl_FUNC_MKTIME],
213
213
[
 
214
  AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS])
214
215
  AC_FUNC_MKTIME
215
 
  dnl Note: AC_FUNC_MKTIME does AC_LIBOBJ(mktime).
 
216
  dnl Note: AC_FUNC_MKTIME does AC_LIBOBJ([mktime]).
216
217
  if test $ac_cv_func_working_mktime = no; then
217
 
    AC_DEFINE(mktime, rpl_mktime,
218
 
      [Define to rpl_mktime if the replacement function should be used.])
 
218
    REPLACE_MKTIME=1
219
219
    gl_PREREQ_MKTIME
220
220
  fi
221
221
])