X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=aclocal.m4;h=0dcfd2e021288b25e480037b1e985f532ae9b6d1;hp=7e20505f3137a0687beff437f1c6d5956efb27f5;hb=166ba1350d802535b6a6ea7ea0bc29c56a71b7ec;hpb=1cc5b779cb8755e01e02aead4fba711c06158b90 diff --git a/aclocal.m4 b/aclocal.m4 index 7e20505..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 @@ -313,12 +313,13 @@ if test -z "$LTLD"; then # Accept absolute paths. /*) if test -z "$LTLD"; then - case "$ac_prog" in - *gcc-lib*) LTLD="$CC" - ;; - *) LTLD="$ac_prog" - ;; - esac +# case "$ac_prog" in +# *gcc-lib*) LTLD="$CC" +# ;; +# *) + LTLD="$ac_prog" +# ;; +# esac fi ;; "")