From 4fc640e623c0de8ca2f90f291dabfd8a72521a5f Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 30 Jun 2003 04:39:06 +0000 Subject: [PATCH] add truncf --- stepmania/configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/stepmania/configure.ac b/stepmania/configure.ac index 80687a5d48..f77fa53fc7 100644 --- a/stepmania/configure.ac +++ b/stepmania/configure.ac @@ -40,7 +40,7 @@ AM_CONDITIONAL(ALSA, test x$alsa = xtrue ) AM_CONDITIONAL(HAVE_OSS, test x$ac_cv_header_linux_soundcard_h = xyes ) # We could do this more cleanly with an AC_CHECK_FUNCS wrapper. -AC_CHECK_FUNCS([powf sqrtf sinf tanf cosf acosf roundf]) +AC_CHECK_FUNCS([powf sqrtf sinf tanf cosf acosf roundf truncf]) AH_VERBATIM([VA_ZZZ_NEEDED_FUNCS], [#if !defined(HAVE_POWF) #define NEED_POWF @@ -60,6 +60,12 @@ AH_VERBATIM([VA_ZZZ_NEEDED_FUNCS], #if !defined(HAVE_ACOSF) #define NEED_ACOSF #endif +#if !defined(HAVE_ROUNDF) +#define NEED_ROUNDF +#endif +#if !defined(HAVE_TRUNCF) +#define NEED_TRUNCF +#endif ]) AC_CHECK_DECLS([SIGPWR],,,[#include ])