# HG changeset patch # User Bruno Haible # Date 1306069799 -7200 # Node ID dc03b3279cc1c11c1824f60a6c15eb5f5fdb230e # Parent a54e54654635a2be9d79a5c32e11536acc52684c 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 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +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. diff --git a/m4/times.m4 b/m4/times.m4 --- 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_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 --- a/modules/times +++ b/modules/times @@ -10,6 +10,9 @@ configure.ac: gl_FUNC_TIMES +if test $HAVE_TIMES = 0; then + AC_LIBOBJ([times]) +fi gl_SYS_TIMES_MODULE_INDICATOR([times]) Makefile.am: