changeset 14913:7c541f65646d

ftello: Respect rules for use of AC_LIBOBJ. * m4/ftello.m4 (gl_REPLACE_FTELLO): Remove macro. (gl_FUNC_FTELLO): Inline it here. Move AC_LIBOBJ invocation from here... * modules/ftello (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sat, 07 May 2011 13:37:56 +0200
parents bd2854b5a2ef
children ef09e997c426
files ChangeLog m4/ftello.m4 modules/ftello
diffstat 3 files changed, 12 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-05-07  Bruno Haible  <bruno@clisp.org>
+
+	ftello: Respect rules for use of AC_LIBOBJ.
+	* m4/ftello.m4 (gl_REPLACE_FTELLO): Remove macro.
+	(gl_FUNC_FTELLO): Inline it here. Move AC_LIBOBJ invocation from
+	here...
+	* modules/ftello (configure.ac): ... to here.
+
 2011-05-07  Bruno Haible  <bruno@clisp.org>
 
 	fseeko: Simplify.
--- a/m4/ftello.m4
+++ b/m4/ftello.m4
@@ -1,4 +1,4 @@
-# ftello.m4 serial 9
+# ftello.m4 serial 10
 dnl Copyright (C) 2007-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,
@@ -124,12 +124,4 @@
       esac
     fi
   fi
-  if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then
-    gl_REPLACE_FTELLO
-  fi
 ])
-
-AC_DEFUN([gl_REPLACE_FTELLO],
-[
-  AC_LIBOBJ([ftello])
-])
--- a/modules/ftello
+++ b/modules/ftello
@@ -17,6 +17,9 @@
 
 configure.ac:
 gl_FUNC_FTELLO
+if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then
+  AC_LIBOBJ([ftello])
+fi
 gl_STDIO_MODULE_INDICATOR([ftello])
 
 Makefile.am: