summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-05-07 13:48:53 +0200
committerBruno Haible <bruno@clisp.org>2011-06-16 00:06:02 +0200
commitdc6a7661772308dc7561ab13d7dfc60ce53cf3a0 (patch)
tree29076384c364ffbca756757422763a8a50237e65
parent44cfacd039e9e8b039767b58c9842f9eec51d5c7 (diff)
downloadgnulib-dc6a7661772308dc7561ab13d7dfc60ce53cf3a0.tar.gz
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.
-rw-r--r--ChangeLog7
-rw-r--r--m4/fwriting.m45
-rw-r--r--modules/fwriting3
3 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 58060ac72b..d7b8efc1ee 100644
--- 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...
diff --git a/m4/fwriting.m4 b/m4/fwriting.m4
index 17076f8f62..5a664ca8d3 100644
--- a/m4/fwriting.m4
+++ b/m4/fwriting.m4
@@ -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
])
diff --git a/modules/fwriting b/modules/fwriting
index f3e94a312b..522bdb332b 100644
--- a/modules/fwriting
+++ b/modules/fwriting
@@ -12,6 +12,9 @@ stdbool
configure.ac:
gl_FUNC_FWRITING
+if test $ac_cv_func___fwriting = no; then
+ AC_LIBOBJ([fwriting])
+fi
Makefile.am: