--- SheepShaver/src/Unix/configure.ac 2005/07/25 19:46:24 1.38 +++ SheepShaver/src/Unix/configure.ac 2005/12/04 16:26:57 1.42 @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. dnl Written in 2002 by Christian Bauer -AC_INIT([SheepShaver], 2.2, [Christian.Bauer@uni-mainz.de], SheepShaver) +AC_INIT([SheepShaver], 2.3, [Christian.Bauer@uni-mainz.de], SheepShaver) AC_CONFIG_SRCDIR(main_unix.cpp) AC_PREREQ(2.52) AC_CONFIG_HEADER(config.h) @@ -125,6 +125,7 @@ AC_SUBST(MONSRCS) dnl Checks for libraries. AC_CHECK_LIB(posix4, sem_init) +AC_CHECK_LIB(m, cos) dnl Do we need SDL? WANT_SDL=no @@ -491,6 +492,12 @@ darwin*) EXTFSSRC=../MacOSX/extfs_macosx.mm fi ;; +irix*) + ETHERSRC=ether_unix.cpp + AUDIOSRC=Irix/audio_irix.cpp + LIBS="$LIBS -laudio" + WANT_ESD=no + ;; esac dnl Is the slirp library supported? @@ -1235,8 +1242,8 @@ if [[ "x$HAVE_GCC30" = "xyes" ]]; then CFLAGS="$SAVED_CFLAGS" fi -dnl Add -mdynamic-no-pic for MacOS X -if [[ "x$HAVE_GCC30" = "xyes" ]]; then +dnl Add -mdynamic-no-pic for MacOS X (XXX icc10 will support MacOS X) +if [[ "x$HAVE_GCC30" = "xyes" -a "x$HAVE_ICC" = "xno" ]]; then SAVED_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -mdynamic-no-pic" AC_CACHE_CHECK([whether the compiler supports -mdynamic-no-pic], @@ -1278,6 +1285,9 @@ if [[ "x$EMULATED_PPC" = "xyes" ]]; then powerpc:mach) ac_cv_use_dyngen=yes ;; + i?86:mach) + ac_cv_use_dyngen=yes + ;; *:*) ac_cv_use_dyngen=no ;;