changeset 15189:baa289766f6b

c-strtold: Move AC_LIBOBJ invocations to module description. * m4/c-strtod.m4 (gl_C_STRTOLD): Remove AC_LIBOBJ invocation. * modules/c-strtold (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Mon, 23 May 2011 22:55:29 +0200
parents b17e131e479b
children 7e79f275f979
files ChangeLog m4/c-strtod.m4 modules/c-strtold
diffstat 3 files changed, 9 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
+	c-strtold: Move AC_LIBOBJ invocations to module description.
+	* m4/c-strtod.m4 (gl_C_STRTOLD): Remove AC_LIBOBJ invocation.
+	* modules/c-strtold (Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	c-strtod: Move AC_LIBOBJ invocations to module description.
--- a/m4/c-strtod.m4
+++ b/m4/c-strtod.m4
@@ -1,4 +1,4 @@
-# c-strtod.m4 serial 13
+# c-strtod.m4 serial 14
 
 # Copyright (C) 2004-2006, 2009-2011 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
@@ -43,11 +43,9 @@
   :
 ])
 
+dnl Prerequisites of lib/c-strtold.c.
 AC_DEFUN([gl_C_STRTOLD],
 [
-  AC_LIBOBJ([c-strtold])
-
-  dnl Prerequisites of lib/c-strtold.c.
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
   AC_REQUIRE([gl_C99_STRTOLD])
   AC_CHECK_FUNCS([strtold_l])
--- a/modules/c-strtold
+++ b/modules/c-strtold
@@ -16,6 +16,7 @@
 gl_C_STRTOLD
 
 Makefile.am:
+lib_SOURCES += c-strtold.c
 
 Include:
 "c-strtod.h"