xstrtol: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Tue, 24 May 2011 01:34:20 +0000 (03:34 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:07:44 +0000 (00:07 +0200)
* m4/xstrtol.m4 (gl_XSTRTOL): Remove AC_LIBOBJ invocations.
* modules/xstrtol (Makefile.am): Augment lib_SOURCES.

ChangeLog
m4/xstrtol.m4
modules/xstrtol

index 71c7c1f..1c94380 100644 (file)
--- 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.
index 99b7db4..e87f8c0 100644 (file)
@@ -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 @@ dnl with or without modifications, as long as this notice is preserved.
 
 AC_DEFUN([gl_XSTRTOL],
 [
-  AC_LIBOBJ([xstrtol])
-  AC_LIBOBJ([xstrtoul])
-  AC_LIBOBJ([xstrtol-error])
+  :
 ])
index b48a4bb..66e5342 100644 (file)
@@ -20,6 +20,7 @@ configure.ac:
 gl_XSTRTOL
 
 Makefile.am:
+lib_SOURCES += xstrtol.c xstrtoul.c xstrtol-error.c
 
 Include:
 "xstrtol.h"