ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/configure.ac
(Generate patch)

Comparing BasiliskII/src/Unix/configure.ac (file contents):
Revision 1.55 by gbeauche, 2005-12-04T15:03:11Z vs.
Revision 1.57 by gbeauche, 2006-01-15T11:38:41Z

# Line 136 | Line 136 | dnl Checks for libraries.
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
# Line 429 | Line 430 | AC_DEFUN([AC_CHECK_FRAMEWORK], [
430      saved_LIBS="$LIBS"
431      LIBS="$LIBS -framework $1"
432      AC_TRY_LINK(
433 <      [$2], [int main(void) { return 0; }],
433 >      [$2], [],
434        [AS_VAR_SET(ac_Framework, yes)], [AS_VAR_SET(ac_Framework, no); LIBS="$saved_LIBS"]
435      )
436    ])
# Line 502 | Line 503 | irix*)
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*)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines