X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=aclocal.m4;h=0dcfd2e021288b25e480037b1e985f532ae9b6d1;hp=08c81c1ee6975421439f2ac050401cc29f2e428b;hb=7b241b273a632ab80d7c620b5add28d5f11b0fd3;hpb=02f4d2761a98c5cb9d5b423d2361160a5d8c9ee4 diff --git a/aclocal.m4 b/aclocal.m4 index 08c81c1..0dcfd2e 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -84,7 +84,7 @@ AC_MSG_CHECKING(how to produce PIC code) wl= can_build_shared=yes -if test "$XEGCC" = yes; then +if test "$XEGCC" = yes -o "$__ICC" = yes; then wl='-Wl,' case "$xehost_os" in @@ -243,7 +243,7 @@ cc_produces_so=no xldf= xcldf= AC_MSG_CHECKING(if C compiler can produce shared libraries) -if test "$XEGCC" = yes; then +if test "$XEGCC" = yes -o "$__ICC" = yes; then xcldf="-shared" xldf="-shared" else # Not using GCC