From: Bruno Haible Date: Sun, 22 May 2011 13:09:59 +0000 (+0200) Subject: times: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2399 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=cff16a1c09cc8dbc7923836cd5855c91b298840c;p=gnulib.git 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. --- diff --git a/ChangeLog b/ChangeLog index dbc4f5789..2f4ce70e6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-05-22 Bruno Haible + 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 + 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... diff --git a/m4/times.m4 b/m4/times.m4 index 8f22f4615..76f7cdca1 100644 --- a/m4/times.m4 +++ b/m4/times.m4 @@ -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 ]) diff --git a/modules/times b/modules/times index dad7eb9b7..aab3703f6 100644 --- a/modules/times +++ b/modules/times @@ -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: