summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/jm-macros.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4
index 2f69dfd1f..bc83d4eb4 100644
--- a/m4/jm-macros.m4
+++ b/m4/jm-macros.m4
@@ -168,6 +168,11 @@ AC_DEFUN(jm_MACROS,
AC_CHECK_FUNCS(getdelim)
fi
AM_FUNC_OBSTACK
+
+ AM_FUNC_STRTOD
+ AC_SUBST(POW_LIBM)
+ test $am_cv_func_strtod_needs_libm = yes && POW_LIBM=-lm
+
])
AC_DEFUN(jm_CHECK_ALL_TYPES,