summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-01-23 10:19:26 +0000
committerJim Meyering <jim@meyering.net>2000-01-23 10:19:26 +0000
commit5adc8fd591914b6c1875f72e236080fda055db4f (patch)
tree3770c1fd5f464fa5a9b505c300f970cddbe47ce3 /m4
parent47b4e7f1aad89e7edbe183cf1bba7929b62edaa3 (diff)
downloadcoreutils-5adc8fd591914b6c1875f72e236080fda055db4f.tar.xz
(AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
(AC_SUBST(POW_LIBM)): Likewise.
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,