timegm: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sun, 22 May 2011 13:06:04 +0000 (15:06 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:07:00 +0000 (00:07 +0200)
* m4/timegm.m4 (gl_FUNC_TIMEGM): Move AC_LIBOBJ and gl_PREREQ_TIMEGM
invocations from here...
* modules/timegm (configure.ac): ... to here.

ChangeLog
m4/timegm.m4
modules/timegm

index fb057cf74a013d47759bc8020f57bfd40b996c40..43ee29ebb54ce14c86e64796f0dd576866116b8f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-22  Bruno Haible  <bruno@clisp.org>
+
+       timegm: Move AC_LIBOBJ invocations to module description.
+       * m4/timegm.m4 (gl_FUNC_TIMEGM): Move AC_LIBOBJ and gl_PREREQ_TIMEGM
+       invocations from here...
+       * modules/timegm (configure.ac): ... to here.
+
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
        tcgetsid: Move AC_LIBOBJ invocations to module description.
index f18568c5af9d0e1240b3dbf5f441a7e58e2ec1a6..caabc86ade6c350c379b56ac065cce24eb3a7cb0 100644 (file)
@@ -1,4 +1,4 @@
-# timegm.m4 serial 10
+# timegm.m4 serial 11
 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,
@@ -18,10 +18,6 @@ AC_DEFUN([gl_FUNC_TIMEGM],
   else
     HAVE_TIMEGM=0
   fi
-  if test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1; then
-    AC_LIBOBJ([timegm])
-    gl_PREREQ_TIMEGM
-  fi
 ])
 
 # Prerequisites of lib/timegm.c.
index ade34754fff25a37786af403654caa3153463cfd..0ec9d65e7b7a1aeef2efb761fae8452cf9094da1 100644 (file)
@@ -13,6 +13,10 @@ time_r          [test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1]
 
 configure.ac:
 gl_FUNC_TIMEGM
+if test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1; then
+  AC_LIBOBJ([timegm])
+  gl_PREREQ_TIMEGM
+fi
 gl_TIME_MODULE_INDICATOR([timegm])
 
 Makefile.am: