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++.

This commit is contained in:
Steve Checkoway
2003-05-09 22:13:27 +00:00
parent 2c814f4fda
commit 433dda1d1f
+1 -1
View File
@@ -41,7 +41,7 @@ AH_VERBATIM([ALSA],
AM_CONDITIONAL(ALSA, test x$alsa = xtrue ) AM_CONDITIONAL(ALSA, test x$alsa = xtrue )
# We could do this more cleanly with an AC_CHECK_FUNCS wrapper. # 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], AH_VERBATIM([VA_ZZZ_NEEDED_FUNCS],
[#if !defined(HAVE_POWF) [#if !defined(HAVE_POWF)
#define NEED_POWF #define NEED_POWF