fwriting: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sat, 7 May 2011 11:48:53 +0000 (13:48 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:02 +0000 (00:06 +0200)
* m4/fwriting.m4 (gl_FUNC_FWRITINT): Move AC_LIBOBJ invocation from
here...
* modules/fwriting (configure.ac): ... to here.

ChangeLog
m4/fwriting.m4
modules/fwriting

index 58060ac..d7b8efc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-05-07  Bruno Haible  <bruno@clisp.org>
 
+       fwriting: Move AC_LIBOBJ invocations to module description.
+       * m4/fwriting.m4 (gl_FUNC_FWRITINT): Move AC_LIBOBJ invocation from
+       here...
+       * modules/fwriting (configure.ac): ... to here.
+
+2011-05-07  Bruno Haible  <bruno@clisp.org>
+
        fwritable: Move AC_LIBOBJ invocations to module description.
        * m4/fwritable.m4 (gl_FUNC_FWRITABLE): Move AC_LIBOBJ invocation from
        here...
index 17076f8..5a664ca 100644 (file)
@@ -1,4 +1,4 @@
-# fwriting.m4 serial 1
+# fwriting.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_FWRITING],
 [
   AC_CHECK_FUNCS_ONCE([__fwriting])
-  if test $ac_cv_func___fwriting = no; then
-    AC_LIBOBJ([fwriting])
-  fi
 ])
index f3e94a3..522bdb3 100644 (file)
@@ -12,6 +12,9 @@ stdbool
 
 configure.ac:
 gl_FUNC_FWRITING
+if test $ac_cv_func___fwriting = no; then
+  AC_LIBOBJ([fwriting])
+fi
 
 Makefile.am: