From 433dda1d1fcbbfd9fc8f224740d3e0683faa50d1 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Fri, 9 May 2003 22:13:27 +0000 Subject: [PATCH] Added check for roundf function. If it's defined in a system library, redefining it in RageUtil.h causes stepmania to fail to link with g++. --- stepmania/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/configure.ac b/stepmania/configure.ac index ae29530589..292d3f4f78 100644 --- a/stepmania/configure.ac +++ b/stepmania/configure.ac @@ -41,7 +41,7 @@ AH_VERBATIM([ALSA], AM_CONDITIONAL(ALSA, test x$alsa = xtrue ) # We could do this more cleanly with an AC_CHECK_FUNCS wrapper. -AC_CHECK_FUNCS([powf sqrtf sinf tanf cosf acosf]) +AC_CHECK_FUNCS([powf sqrtf sinf tanf cosf acosf roundf]) AH_VERBATIM([VA_ZZZ_NEEDED_FUNCS], [#if !defined(HAVE_POWF) #define NEED_POWF