changeset 15181:16767f684368

chdir-safer: Move AC_LIBOBJ invocations to module description. * m4/chdir-safer.m4 (gl_CHDIR_SAFER): Remove AC_LIBOBJ invocation. * modules/chdir-safer (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Mon, 23 May 2011 22:37:28 +0200
parents 7d9297067a18
children 1ffbfb364335
files ChangeLog m4/chdir-safer.m4 modules/chdir-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>
+
+	chdir-safer: Move AC_LIBOBJ invocations to module description.
+	* m4/chdir-safer.m4 (gl_CHDIR_SAFER): Remove AC_LIBOBJ invocation.
+	* modules/chdir-safer (Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	canonicalize: Move AC_LIBOBJ invocations to module description.
--- a/m4/chdir-safer.m4
+++ b/m4/chdir-safer.m4
@@ -1,4 +1,4 @@
-#serial 4
+#serial 5
 dnl Copyright (C) 2005-2006, 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,
@@ -6,6 +6,5 @@
 
 AC_DEFUN([gl_CHDIR_SAFER],
 [
-  AC_LIBOBJ([chdir-safer])
   AC_CHECK_FUNCS_ONCE([readlink])
 ])
--- a/modules/chdir-safer
+++ b/modules/chdir-safer
@@ -18,6 +18,7 @@
 gl_CHDIR_SAFER
 
 Makefile.am:
+lib_SOURCES += chdir-safer.c
 
 Include:
 "chdir-safer.h"