summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/log106
-rw-r--r--modules/math2
2 files changed, 8 insertions, 0 deletions
diff --git a/modules/log10 b/modules/log10
index 4385288451..3918d1f659 100644
--- a/modules/log10
+++ b/modules/log10
@@ -2,13 +2,19 @@ Description:
log10() function: base 10 logarithmic function.
Files:
+lib/log10.c
m4/log10.m4
m4/mathfunc.m4
Depends-on:
+math
configure.ac:
gl_FUNC_LOG10
+if test $REPLACE_LOG10 = 1; then
+ AC_LIBOBJ([log10])
+fi
+gl_MATH_MODULE_INDICATOR([log10])
Makefile.am:
diff --git a/modules/math b/modules/math
index 51db89e0a6..ceb77884af 100644
--- a/modules/math
+++ b/modules/math
@@ -84,6 +84,7 @@ math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(
-e 's/@''GNULIB_LOG''@/$(GNULIB_LOG)/g' \
-e 's/@''GNULIB_LOGF''@/$(GNULIB_LOGF)/g' \
-e 's/@''GNULIB_LOGL''@/$(GNULIB_LOGL)/g' \
+ -e 's/@''GNULIB_LOG10''@/$(GNULIB_LOG10)/g' \
-e 's/@''GNULIB_LOG10F''@/$(GNULIB_LOG10F)/g' \
-e 's/@''GNULIB_LOG10L''@/$(GNULIB_LOG10L)/g' \
-e 's/@''GNULIB_LOG1P''@/$(GNULIB_LOG1P)/g' \
@@ -244,6 +245,7 @@ math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(
-e 's|@''REPLACE_LOG''@|$(REPLACE_LOG)|g' \
-e 's|@''REPLACE_LOGF''@|$(REPLACE_LOGF)|g' \
-e 's|@''REPLACE_LOGL''@|$(REPLACE_LOGL)|g' \
+ -e 's|@''REPLACE_LOG10''@|$(REPLACE_LOG10)|g' \
-e 's|@''REPLACE_LOG1P''@|$(REPLACE_LOG1P)|g' \
-e 's|@''REPLACE_LOG1PF''@|$(REPLACE_LOG1PF)|g' \
-e 's|@''REPLACE_LOG1PL''@|$(REPLACE_LOG1PL)|g' \