ftell: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sat, 7 May 2011 11:40:26 +0000 (13:40 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 13 Jun 2011 11:05:49 +0000 (13:05 +0200)
* m4/ftell.m4 (gl_FUNC_FTELL): Move AC_LIBOBJ invocation from here...
* modules/ftell (configure.ac): ... to here.

ChangeLog
m4/ftell.m4
modules/ftell

index c90803333486ef7b2b2a8eea064d3384264ef6b9..6037c0c873fd8a7dea6922366beb75ef6c6cf310 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-07  Bruno Haible  <bruno@clisp.org>
+
+       ftell: Move AC_LIBOBJ invocations to module description.
+       * m4/ftell.m4 (gl_FUNC_FTELL): Move AC_LIBOBJ invocation from here...
+       * modules/ftell (configure.ac): ... to here.
+
 2011-05-07  Bruno Haible  <bruno@clisp.org>
 
        ftello: Respect rules for use of AC_LIBOBJ.
index 8d88485e51e63df4f2d6c9aca88221d30a6f6a86..00d7bbec91962f1adb8a2db16ebce094ad191f86 100644 (file)
@@ -1,4 +1,4 @@
-# ftell.m4 serial 1
+# ftell.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,
@@ -10,7 +10,6 @@ AC_DEFUN([gl_FUNC_FTELL],
   AC_REQUIRE([gl_FUNC_FTELLO])
   dnl When ftello needs fixes, ftell needs them too.
   if test $REPLACE_FTELLO != 0; then
-    AC_LIBOBJ([ftell])
     REPLACE_FTELL=1
   fi
 ])
index cc95d169f002a05c72d51e9d039341c10030a47b..8dbaf2e4c7f7d58726bc2e2be49f1c6978589ed2 100644 (file)
@@ -12,6 +12,9 @@ ftello          [test $REPLACE_FTELL = 1]
 
 configure.ac:
 gl_FUNC_FTELL
+if test $REPLACE_FTELL = 1; then
+  AC_LIBOBJ([ftell])
+fi
 gl_STDIO_MODULE_INDICATOR([ftell])
 
 Makefile.am: