strtod: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sun, 22 May 2011 11:58:24 +0000 (13:58 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:54 +0000 (00:06 +0200)
* m4/strtod.m4 (gl_FUNC_STRTOD): Move AC_LIBOBJ and gl_PREREQ_STRTOD
invocations from here...
* modules/strtod (configure.ac): ... to here.

ChangeLog
m4/strtod.m4
modules/strtod

index 1081c94a5f41e489efa7e8f14686f653b7f33ae2..3f7f0975dc357d50e68ab3a751261027277b93b9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-22  Bruno Haible  <bruno@clisp.org>
+
+       strtod: Move AC_LIBOBJ invocations to module description.
+       * m4/strtod.m4 (gl_FUNC_STRTOD): Move AC_LIBOBJ and gl_PREREQ_STRTOD
+       invocations from here...
+       * modules/strtod (configure.ac): ... to here.
+
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
        strstr*: Move AC_LIBOBJ invocations to module description.
index f40e342f4331cbac352c8cdc6aa67844dea3f6da..bd97667b26caad7ae233fff29b1d05f45d726d3e 100644 (file)
@@ -1,4 +1,4 @@
-# strtod.m4 serial 20
+# strtod.m4 serial 21
 dnl Copyright (C) 2002-2003, 2006-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,
@@ -118,10 +118,6 @@ numeric_equal (double x, double y)
       REPLACE_STRTOD=1
     fi
   fi
-  if test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1; then
-    AC_LIBOBJ([strtod])
-    gl_PREREQ_STRTOD
-  fi
 ])
 
 # Prerequisites of lib/strtod.c.
index 4c2151962a9815184303ecf07b663d527e8de7a3..e8b72b4ff30a61357ce3c17adf0d1951fcefeff3 100644 (file)
@@ -14,6 +14,10 @@ stdbool         [test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1]
 
 configure.ac:
 gl_FUNC_STRTOD
+if test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1; then
+  AC_LIBOBJ([strtod])
+  gl_PREREQ_STRTOD
+fi
 gl_STDLIB_MODULE_INDICATOR([strtod])
 
 Makefile.am: