Patch looks good. On Tue, Apr 27, 2010 at 6:47 PM, Andreas Färber <andreas.faer...@web.de>wrote:
> Hey Rodrigo, > > Can you ack this reworked patch please? A similar check was introduced for > eglib already. > > Thanks, > Andreas > > Am 05.04.2010 um 01:52 schrieb Andreas Färber: > > > Haiku has math functions in libroot.so and no libm.so. >> >> v1 -> v2: >> * Use autoconf check instead of platform-based switch >> >> This commit is licensed under the MIT X11 license. >> --- >> configure.in | 2 +- >> 1 files changed, 1 insertions(+), 1 deletions(-) >> >> diff --git a/configure.in b/configure.in >> index 45b970b..bc9e755 100644 >> --- a/configure.in >> +++ b/configure.in >> @@ -1515,7 +1515,7 @@ if test x$target_win32 = xno; then >> dnl ********************************* >> dnl *** Checks for math functions *** >> dnl ********************************* >> - LIBS="$LIBS -lm"; >> + AC_SEARCH_LIBS(sqrtf, m) >> if test "x$has_broken_apple_cpp" != "xyes"; then >> AC_CHECK_FUNCS(finite, , AC_MSG_CHECKING(for finite in >> math.h) >> AC_TRY_LINK([#include <math.h>], >> -- >> 1.7.0.4.297.g6555b1 >> > >
_______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list