]> Savannah Git Hosting - gnulib.git/commitdiff
hypot: Prepare for hypotf module.
authorBruno Haible <bruno@clisp.org>
Wed, 29 Feb 2012 12:20:37 +0000 (13:20 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 29 Feb 2012 12:20:37 +0000 (13:20 +0100)
* m4/hypot.m4: New file.
* modules/hypot (Files): Add m4/hypot.m4.
(configure.ac): Invoke gl_FUNC_HYPOT.

ChangeLog
m4/hypot.m4 [new file with mode: 0644]
modules/hypot

index 18647d66c7635ff27efee8de0f10fd5ec2ad7db0..7a727f1a8f68d1f168e4fdafc4ac9eb9abc68a3d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-02-29  Bruno Haible  <bruno@clisp.org>
+
+       hypot: Prepare for hypotf module.
+       * m4/hypot.m4: New file.
+       * modules/hypot (Files): Add m4/hypot.m4.
+       (configure.ac): Invoke gl_FUNC_HYPOT.
+
 2012-02-29  Bruno Haible  <bruno@clisp.org>
 
        hypot tests: More tests.
diff --git a/m4/hypot.m4 b/m4/hypot.m4
new file mode 100644 (file)
index 0000000..b8faf88
--- /dev/null
@@ -0,0 +1,11 @@
+# hypot.m4 serial 1
+dnl Copyright (C) 2012 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+AC_DEFUN([gl_FUNC_HYPOT],
+[
+  dnl Determine HYPOT_LIBM.
+  gl_COMMON_DOUBLE_MATHFUNC([hypot])
+])
index fc13752cec3aa51a6f44bf37c823ee2f358eff94..de856ec512afd1c631f846ab13e8835cfe255800 100644 (file)
@@ -2,12 +2,13 @@ Description:
 hypot() function: length of a vector in the plane.
 
 Files:
+m4/hypot.m4
 m4/mathfunc.m4
 
 Depends-on:
 
 configure.ac:
-gl_COMMON_DOUBLE_MATHFUNC([hypot])
+gl_FUNC_HYPOT
 
 Makefile.am: