summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-10-08 22:09:55 +0200
committerBruno Haible <bruno@clisp.org>2011-10-08 22:09:55 +0200
commitba82f2877733278a887f1754c2f9e4a726dc2251 (patch)
tree556c13ba81fa32f5a22b8c969e2e2ca043988bd8
parentea614820d83bec9349aa8cbfdacbd09773ae5fd5 (diff)
downloadgnulib-ba82f2877733278a887f1754c2f9e4a726dc2251.tar.gz
exp: Use a .m4 file.
* m4/exp.m4: New file. * modules/exp (Files): Add it. (configure.ac): Just invoke gl_FUNC_EXP.
-rw-r--r--ChangeLog7
-rw-r--r--m4/exp.m411
-rw-r--r--modules/exp3
3 files changed, 20 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 49270c783e..1a5b3d05ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2011-10-08 Bruno Haible <bruno@clisp.org>
+ exp: Use a .m4 file.
+ * m4/exp.m4: New file.
+ * modules/exp (Files): Add it.
+ (configure.ac): Just invoke gl_FUNC_EXP.
+
+2011-10-08 Bruno Haible <bruno@clisp.org>
+
Tests for module 'sqrtf'.
* modules/sqrtf-tests: New file.
* tests/test-sqrtf.c: New file.
diff --git a/m4/exp.m4 b/m4/exp.m4
new file mode 100644
index 0000000000..f6593266b9
--- /dev/null
+++ b/m4/exp.m4
@@ -0,0 +1,11 @@
+# exp.m4 serial 1
+dnl Copyright (C) 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,
+dnl with or without modifications, as long as this notice is preserved.
+
+AC_DEFUN([gl_FUNC_EXP],
+[
+ dnl Determine EXP_LIBM.
+ gl_COMMON_DOUBLE_MATHFUNC([exp])
+])
diff --git a/modules/exp b/modules/exp
index f90548a00a..b8110dae22 100644
--- a/modules/exp
+++ b/modules/exp
@@ -2,12 +2,13 @@ Description:
exp() function: exponential function.
Files:
+m4/exp.m4
m4/mathfunc.m4
Depends-on:
configure.ac:
-gl_COMMON_DOUBLE_MATHFUNC([exp])
+gl_FUNC_EXP
Makefile.am: