bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

timegm.m4 simplification


From: Bruno Haible
Subject: timegm.m4 simplification
Date: Sun, 22 May 2011 15:19:44 +0200
User-agent: KMail/1.9.9

Hi Paul, Jim,

> True.  Good change.  That's obviously correct.

A similar one is here. 'timegm' depends on 'time_r' as a module, therefore
I'm applying this:


2011-05-22  Bruno Haible  <address@hidden>

        timegm: Simplify autoconf macro.
        * m4/timegm.m4 (gl_PREREQ_TIMEGM): Don't require gl_TIME_R.

--- a/m4/timegm.m4
+++ b/m4/timegm.m4
@@ -1,4 +1,4 @@
-# timegm.m4 serial 8
+# timegm.m4 serial 9
 dnl Copyright (C) 2003, 2007, 2009-2011 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -26,7 +26,6 @@ AC_DEFUN([gl_FUNC_TIMEGM],
 
 # Prerequisites of lib/timegm.c.
 AC_DEFUN([gl_PREREQ_TIMEGM], [
-  AC_REQUIRE([gl_TIME_R])
   AC_REQUIRE([gl_FUNC_MKTIME])
   if test $ac_cv_func_working_mktime = yes; then
     AC_CHECK_FUNC([__mktime_internal], ,


-- 
In memoriam Richard Friedmann <http://de.wikipedia.org/wiki/Richard_Friedmann>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]