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

ChangeLog
m4/time_r.m4
modules/time_r

index 43ee29ebb54ce14c86e64796f0dd576866116b8f..dbc4f5789938538118cb96c0a8ea55bf6c873fb4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-22  Bruno Haible  <bruno@clisp.org>
+
+       time_r: Move AC_LIBOBJ invocations to module description.
+       * m4/time_r.m4 (gl_TIME_R): Move AC_LIBOBJ and gl_PREREQ_TIME_R
+       invocations from here...
+       * modules/time_r (configure.ac): ... to here.
+
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
        timegm: Move AC_LIBOBJ invocations to module description.
index 9bb28005fc0021f834ce64a17d5ded2de013608d..d646edc2d3c6f74f9ef5d342c39e1b7ec599b53d 100644 (file)
@@ -50,10 +50,6 @@ AC_DEFUN([gl_TIME_R],
   else
     HAVE_LOCALTIME_R=0
   fi
-  if test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1; then
-    AC_LIBOBJ([time_r])
-    gl_PREREQ_TIME_R
-  fi
 ])
 
 # Prerequisites of lib/time_r.c.
index c7874a91dc6550af8a358b325d63a8f0ca4f07fd..c235e08bb2ff507e5a217abc64b3adb26444175d 100644 (file)
@@ -11,6 +11,10 @@ time
 
 configure.ac:
 gl_TIME_R
+if test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1; then
+  AC_LIBOBJ([time_r])
+  gl_PREREQ_TIME_R
+fi
 gl_TIME_MODULE_INDICATOR([time_r])
 
 Makefile.am: