projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
exp10 replaced with pow when exp10 is not available
[pspp]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index 1d68d55a7ef45219b2e53b47592796c4abc5e106..cb36b4d624f900f36ca516732484d43095520767 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-296,6
+296,9
@@
if test x"$enable_debug" = x"yes" ; then
AC_DEFINE(DEBUGGING, 1, [Define to 1 if debugging is enabled.])
fi
AC_DEFINE(DEBUGGING, 1, [Define to 1 if debugging is enabled.])
fi
+# exp10 is not available on all systems (MacOS)
+AC_CHECK_LIB(m, exp10, [AC_DEFINE([HAVE_EXP10],[1],[Define to 1 if your system has 'exp10'.])])
+
# iconv is required
AM_ICONV
if test "$am_cv_func_iconv" != "yes"; then
# iconv is required
AM_ICONV
if test "$am_cv_func_iconv" != "yes"; then