From 5f7021a179e85dfe3c18b57b0dc3d2e12a35babb Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Thu, 18 Aug 2005 22:32:31 +0000 Subject: [PATCH] don't grab in -mdynamic-no-pic when using icc, note that you need at least version 9.0.25 (build 20050809) to have a working binary --- SheepShaver/src/Unix/configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SheepShaver/src/Unix/configure.ac b/SheepShaver/src/Unix/configure.ac index a7a91d5d..5bd2352c 100644 --- a/SheepShaver/src/Unix/configure.ac +++ b/SheepShaver/src/Unix/configure.ac @@ -1235,8 +1235,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],