From ee6855ea0843b56e6d9c3d6abde368ab22e5befe Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 7 May 2011 12:46:04 +0200 Subject: [PATCH] free: Move AC_LIBOBJ invocations to module description. * m4/free.m4 (gl_FUNC_FREE): Move AC_LIBOBJ and missing gl_PREREQ_FREE invocations from here... * modules/free (configure.ac): ... to here. --- ChangeLog | 7 +++++++ m4/free.m4 | 1 - modules/free | 4 ++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3d4ac35bb4..30a32c8cce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-07 Bruno Haible + + free: Move AC_LIBOBJ invocations to module description. + * m4/free.m4 (gl_FUNC_FREE): Move AC_LIBOBJ and missing gl_PREREQ_FREE + invocations from here... + * modules/free (configure.ac): ... to here. + 2011-05-07 Bruno Haible freadable: Move AC_LIBOBJ invocations to module description. diff --git a/m4/free.m4 b/m4/free.m4 index 702e805248..24bbbb184f 100644 --- a/m4/free.m4 +++ b/m4/free.m4 @@ -30,7 +30,6 @@ AC_DEFUN([gl_FUNC_FREE], [gl_cv_func_free=no])]) if test $gl_cv_func_free = no; then - AC_LIBOBJ([free]) AC_DEFINE([free], [rpl_free], [Define to rpl_free if the replacement function should be used.]) fi diff --git a/modules/free b/modules/free index 26ef70b115..ec91f8889d 100644 --- a/modules/free +++ b/modules/free @@ -12,6 +12,10 @@ Depends-on: configure.ac: gl_FUNC_FREE +if test $gl_cv_func_free = no; then + AC_LIBOBJ([free]) + gl_PREREQ_FREE +fi Makefile.am: -- 2.30.2