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

ChangeLog
m4/times.m4
modules/times

index dbc4f5789938538118cb96c0a8ea55bf6c873fb4..2f4ce70e6998ed7e33d9647a4dfaaac8c10e0fb0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-22  Bruno Haible  <bruno@clisp.org>
+
+       times: Move AC_LIBOBJ invocations to module description.
+       * m4/times.m4 (gl_FUNC_TIMES): Move AC_LIBOBJ invocation from here...
+       * modules/times (configure.ac): ... to here.
+
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
        time_r: Move AC_LIBOBJ invocations to module description.
index 8f22f4615db1c5986cee913ab060c4a49263c3bc..76f7cdca1cca71c2813d7d634e9d93cc36ea4c7d 100644 (file)
@@ -1,4 +1,4 @@
-# times.m4 serial 1
+# times.m4 serial 2
 dnl Copyright (C) 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,
@@ -10,6 +10,5 @@ AC_DEFUN([gl_FUNC_TIMES],
   AC_CHECK_FUNCS_ONCE([times])
   if test $ac_cv_func_times = no; then
     HAVE_TIMES=0
-    AC_LIBOBJ([times])
   fi
 ])
index dad7eb9b7ba7e408da475c5bafff9963a0fdbde6..aab3703f6a0fe142660b92863ba0b4b35213f08f 100644 (file)
@@ -10,6 +10,9 @@ sys_times
 
 configure.ac:
 gl_FUNC_TIMES
+if test $HAVE_TIMES = 0; then
+  AC_LIBOBJ([times])
+fi
 gl_SYS_TIMES_MODULE_INDICATOR([times])
 
 Makefile.am: