changeset 15200:d4118b26b79e

fts: Move AC_LIBOBJ invocations to module description. * m4/fts.m4 (gl_FUNC_FTS_CORE): Move AC_LIBOBJ invocation from here... * modules/fts (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Mon, 23 May 2011 23:31:06 +0200
parents b41b964bc255
children 2e040f472436
files ChangeLog m4/fts.m4 modules/fts
diffstat 3 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
+	fts: Move AC_LIBOBJ invocations to module description.
+	* m4/fts.m4 (gl_FUNC_FTS_CORE): Move AC_LIBOBJ invocation from here...
+	* modules/fts (configure.ac): ... to here.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	file-type: Move AC_LIBOBJ invocations to module description.
--- a/m4/fts.m4
+++ b/m4/fts.m4
@@ -1,4 +1,4 @@
-#serial 18
+#serial 19
 dnl Copyright (C) 2005-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,
@@ -11,10 +11,6 @@
 
 AC_DEFUN([gl_FUNC_FTS_CORE],
 [
-  dnl Use this version of fts unconditionally, since the GNU libc and
-  dnl NetBSD versions have bugs and/or unnecessary limitations.
-  AC_LIBOBJ([fts])
-
   dnl Prerequisites of lib/fts.c.
   AC_REQUIRE([AC_C_INLINE])
   gl_FUNC_OPENAT
--- a/modules/fts
+++ b/modules/fts
@@ -26,6 +26,9 @@
 
 configure.ac:
 gl_FUNC_FTS
+dnl Use this version of fts unconditionally, since the GNU libc and
+dnl NetBSD versions have bugs and/or unnecessary limitations.
+AC_LIBOBJ([fts])
 
 Makefile.am: