From: Bruno Haible Date: Sat, 7 May 2011 11:47:27 +0000 (+0200) Subject: fwritable: Move AC_LIBOBJ invocations to module description. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44cfacd039e9e8b039767b58c9842f9eec51d5c7;p=pspp fwritable: Move AC_LIBOBJ invocations to module description. * m4/fwritable.m4 (gl_FUNC_FWRITABLE): Move AC_LIBOBJ invocation from here... * modules/fwritable (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index 515c76a879..58060ac72b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-07 Bruno Haible + + fwritable: Move AC_LIBOBJ invocations to module description. + * m4/fwritable.m4 (gl_FUNC_FWRITABLE): Move AC_LIBOBJ invocation from + here... + * modules/fwritable (configure.ac): ... to here. + 2011-05-07 Bruno Haible futimens: Move AC_LIBOBJ invocations to module description. diff --git a/m4/fwritable.m4 b/m4/fwritable.m4 index daa46cf4a6..a08e7800e2 100644 --- a/m4/fwritable.m4 +++ b/m4/fwritable.m4 @@ -1,4 +1,4 @@ -# fwritable.m4 serial 1 +# fwritable.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_FWRITABLE], [ AC_CHECK_FUNCS_ONCE([__fwritable]) - if test $ac_cv_func___fwritable = no; then - AC_LIBOBJ([fwritable]) - fi ]) diff --git a/modules/fwritable b/modules/fwritable index 56d698e33f..935bb4f7fc 100644 --- a/modules/fwritable +++ b/modules/fwritable @@ -12,6 +12,9 @@ stdbool configure.ac: gl_FUNC_FWRITABLE +if test $ac_cv_func___fwritable = no; then + AC_LIBOBJ([fwritable]) +fi Makefile.am: