changeset 15261:72ccb9cce511

xstrtol: Move AC_LIBOBJ invocations to module description. * m4/xstrtol.m4 (gl_XSTRTOL): Remove AC_LIBOBJ invocations. * modules/xstrtol (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Tue, 24 May 2011 03:34:20 +0200
parents 84c3ed33329f
children 5e2f99e0a66f
files ChangeLog m4/xstrtol.m4 modules/xstrtol
diffstat 3 files changed, 9 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
+	xstrtol: Move AC_LIBOBJ invocations to module description.
+	* m4/xstrtol.m4 (gl_XSTRTOL): Remove AC_LIBOBJ invocations.
+	* modules/xstrtol (Makefile.am): Augment lib_SOURCES.
+
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
 	xstrtold: Move AC_LIBOBJ invocations to module description.
 	* m4/xstrtod.m4 (gl_XSTRTOLD): Remove AC_LIBOBJ invocation.
 	* modules/xstrtold (Makefile.am): Augment lib_SOURCES.
--- a/m4/xstrtol.m4
+++ b/m4/xstrtol.m4
@@ -1,4 +1,4 @@
-#serial 10
+#serial 11
 dnl Copyright (C) 2002-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,
@@ -6,7 +6,5 @@
 
 AC_DEFUN([gl_XSTRTOL],
 [
-  AC_LIBOBJ([xstrtol])
-  AC_LIBOBJ([xstrtoul])
-  AC_LIBOBJ([xstrtol-error])
+  :
 ])
--- a/modules/xstrtol
+++ b/modules/xstrtol
@@ -20,6 +20,7 @@
 gl_XSTRTOL
 
 Makefile.am:
+lib_SOURCES += xstrtol.c xstrtoul.c xstrtol-error.c
 
 Include:
 "xstrtol.h"