changeset 15192:feefe0d50259

dirent-safer: Move AC_LIBOBJ invocations to module description. * m4/dirent-safer.m4 (gl_DIRENT_SAFER): Remove AC_LIBOBJ invocation. * modules/dirent-safer (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Mon, 23 May 2011 23:01:21 +0200
parents 95b653fc1a8a
children ef29860fb433
files ChangeLog m4/dirent-safer.m4 modules/dirent-safer
diffstat 3 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
+	dirent-safer: Move AC_LIBOBJ invocations to module description.
+	* m4/dirent-safer.m4 (gl_DIRENT_SAFER): Remove AC_LIBOBJ invocation.
+	* modules/dirent-safer (Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	crypto/des: Move AC_LIBOBJ invocations to module description.
--- a/m4/dirent-safer.m4
+++ b/m4/dirent-safer.m4
@@ -1,4 +1,4 @@
-#serial 1
+#serial 2
 dnl Copyright (C) 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,5 +7,4 @@
 AC_DEFUN([gl_DIRENT_SAFER],
 [
   AC_CHECK_FUNCS_ONCE([fdopendir])
-  AC_LIBOBJ([opendir-safer])
 ])
--- a/modules/dirent-safer
+++ b/modules/dirent-safer
@@ -17,6 +17,7 @@
 gl_MODULE_INDICATOR([dirent-safer])
 
 Makefile.am:
+lib_SOURCES += opendir-safer.c
 
 Include:
 "dirent-safer.h"