From: Bruno Haible Date: Sun, 22 May 2011 13:07:41 +0000 (+0200) Subject: time_r: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2400 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=64e13d308b5004abd50ea7fc8c5a3066976f8afd;p=gnulib.git 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. --- diff --git a/ChangeLog b/ChangeLog index 43ee29ebb..dbc4f5789 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 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... + * modules/time_r (configure.ac): ... to here. + +2011-05-22 Bruno Haible + timegm: Move AC_LIBOBJ invocations to module description. * m4/timegm.m4 (gl_FUNC_TIMEGM): Move AC_LIBOBJ and gl_PREREQ_TIMEGM invocations from here... diff --git a/m4/time_r.m4 b/m4/time_r.m4 index 9bb28005f..d646edc2d 100644 --- a/m4/time_r.m4 +++ b/m4/time_r.m4 @@ -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. diff --git a/modules/time_r b/modules/time_r index c7874a91d..c235e08bb 100644 --- a/modules/time_r +++ b/modules/time_r @@ -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: