From: Bruno Haible Date: Sat, 7 May 2011 10:46:04 +0000 (+0200) Subject: free: Move AC_LIBOBJ invocations to module description. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee6855ea0843b56e6d9c3d6abde368ab22e5befe;p=pspp 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. --- 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: