From: Bruno Haible Date: Sat, 7 May 2011 10:31:11 +0000 (+0200) Subject: freadable: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2581 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=33efecf695b620bd32a56fed34677b8bde8983f9;p=gnulib.git freadable: Move AC_LIBOBJ invocations to module description. * m4/freadable.m4 (gl_FUNC_FREADABLE): Move AC_LIBOBJ invocation from here... * modules/freadable (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index 520b57339..3d4ac35bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-05-07 Bruno Haible + freadable: Move AC_LIBOBJ invocations to module description. + * m4/freadable.m4 (gl_FUNC_FREADABLE): Move AC_LIBOBJ invocation from + here... + * modules/freadable (configure.ac): ... to here. + +2011-05-07 Bruno Haible + fpurge: Move AC_LIBOBJ invocations to module description. * m4/fpurge.m4 (gl_FUNC_FPURGE): Set HAVE_FPURGE. Move AC_LIBOBJ invocations from here... diff --git a/m4/freadable.m4 b/m4/freadable.m4 index 468dafc65..918641490 100644 --- a/m4/freadable.m4 +++ b/m4/freadable.m4 @@ -1,4 +1,4 @@ -# freadable.m4 serial 1 +# freadable.m4 serial 2 dnl Copyright (C) 2007, 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, @@ -7,7 +7,4 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_FREADABLE], [ AC_CHECK_FUNCS_ONCE([__freadable]) - if test $ac_cv_func___freadable = no; then - AC_LIBOBJ([freadable]) - fi ]) diff --git a/modules/freadable b/modules/freadable index 2c69d9601..5da0aebf8 100644 --- a/modules/freadable +++ b/modules/freadable @@ -12,6 +12,9 @@ stdbool configure.ac: gl_FUNC_FREADABLE +if test $ac_cv_func___freadable = no; then + AC_LIBOBJ([freadable]) +fi Makefile.am: