don't grab in -mdynamic-no-pic with icc, note that you need icc >= 9.0.25

to have a working build
This commit is contained in:
gbeauche 2005-08-18 22:10:15 +00:00
parent 82e6f0cbd4
commit a750963a94

View File

@ -1194,8 +1194,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],