summaryrefslogtreecommitdiff
path: root/m4/hypot.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-02-29 13:20:37 +0100
committerBruno Haible <bruno@clisp.org>2012-02-29 13:20:37 +0100
commitfb88b295e090486496c869d44a7b47ee8cbc4071 (patch)
tree1a3601a4aefc56487773fdd144890d32a1c75de2 /m4/hypot.m4
parent260aec2c20bc33e0a8117efe9435939caded3747 (diff)
downloadgnulib-fb88b295e090486496c869d44a7b47ee8cbc4071.tar.gz
hypot: Prepare for hypotf module.
* m4/hypot.m4: New file. * modules/hypot (Files): Add m4/hypot.m4. (configure.ac): Invoke gl_FUNC_HYPOT.
Diffstat (limited to 'm4/hypot.m4')
-rw-r--r--m4/hypot.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/m4/hypot.m4 b/m4/hypot.m4
new file mode 100644
index 0000000000..b8faf88932
--- /dev/null
+++ b/m4/hypot.m4
@@ -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])
+])