Ignore:
Timestamp:
Mar 21, 2006, 10:48:02 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Use the asm versions of sin and cos when available.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/configure.ac

    r629 r652  
    5959 [AC_MSG_RESULT(yes)
    6060  AC_DEFINE(HAVE_SLEEP, 1, [Define to 1 if you have the `Sleep' function.])],
     61 [AC_MSG_RESULT(no)])
     62AC_MSG_CHECKING(for fsin/fcos)
     63AC_TRY_COMPILE([],[asm("fsin\n\tfcos");],
     64 [AC_MSG_RESULT(yes)
     65  AC_DEFINE(HAVE_FSIN_FCOS, 1, [Define to 1 if you have the `fsin' and `fcos' operands.])],
    6166 [AC_MSG_RESULT(no)])
    6267AC_CHECK_LIB(m, sin, MATH_LIBS="${MATH_LIBS} -lm")
Note: See TracChangeset for help on using the changeset viewer.