136 |
|
AC_CHECK_LIB(posix4, sem_init) |
137 |
|
AC_CHECK_LIB(rt, timer_create) |
138 |
|
AC_CHECK_LIB(rt, shm_open) |
139 |
+ |
AC_CHECK_LIB(m, cos) |
140 |
|
|
141 |
|
dnl Do we need SDL? |
142 |
|
WANT_SDL=no |
503 |
|
CFLAGS=`echo "$CFLAGS -IPA" | sed -e "s/-g//g"` |
504 |
|
AC_MSG_CHECKING(if "-IPA" works) |
505 |
|
dnl Do a test compile of an empty function |
506 |
< |
AC_TRY_COMPILE(,, [AC_MSG_RESULT(yes); HAVE_IPA=yes], AC_MSG_RESULT(no)) |
506 |
> |
AC_TRY_COMPILE([#if defined __GNUC__ |
507 |
> |
# error GCC does not support IPA yet |
508 |
> |
#endif],, [AC_MSG_RESULT(yes); HAVE_IPA=yes], AC_MSG_RESULT(no)) |
509 |
|
CFLAGS="$ocflags" |
510 |
|
;; |
511 |
|
darwin*) |