X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.ac;h=cb36b4d624f900f36ca516732484d43095520767;hb=5f1ab307d380c4d60410b911a272b6870b65c2d8;hp=1d68d55a7ef45219b2e53b47592796c4abc5e106;hpb=fd5bffd255a87432a2d64a5dd03f98e142f2130f;p=pspp diff --git a/configure.ac b/configure.ac index 1d68d55a7e..cb36b4d624 100644 --- 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 +# 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