Mercurial > hg > xemacs-beta
comparison aclocal.m4 @ 1756:b5db5c9230b1
[xemacs-hg @ 2003-10-16 19:44:34 by james]
Support icc, the Intel compiler.
author | james |
---|---|
date | Thu, 16 Oct 2003 19:44:37 +0000 |
parents | 2422c1cd1afd |
children | 9402c85dcf6f |
comparison
equal
deleted
inserted
replaced
1755:e2e5b8d4abd5 | 1756:b5db5c9230b1 |
---|---|
82 | 82 |
83 AC_MSG_CHECKING(how to produce PIC code) | 83 AC_MSG_CHECKING(how to produce PIC code) |
84 wl= | 84 wl= |
85 | 85 |
86 can_build_shared=yes | 86 can_build_shared=yes |
87 if test "$XEGCC" = yes; then | 87 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
88 wl='-Wl,' | 88 wl='-Wl,' |
89 | 89 |
90 case "$xehost_os" in | 90 case "$xehost_os" in |
91 aix[[3-9]]* | irix[[5-9]]* | osf[[3-9]]) | 91 aix[[3-9]]* | irix[[5-9]]* | osf[[3-9]]) |
92 # PIC is the default for these OSes. | 92 # PIC is the default for these OSes. |
244 if test "$can_build_shared" = "yes"; then | 244 if test "$can_build_shared" = "yes"; then |
245 cc_produces_so=no | 245 cc_produces_so=no |
246 xldf= | 246 xldf= |
247 xcldf= | 247 xcldf= |
248 AC_MSG_CHECKING(if C compiler can produce shared libraries) | 248 AC_MSG_CHECKING(if C compiler can produce shared libraries) |
249 if test "$XEGCC" = yes; then | 249 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
250 case "$xehost_os" in | 250 case "$xehost_os" in |
251 *darwin*) | 251 *darwin*) |
252 xcldf='-bundle' | 252 xcldf='-bundle' |
253 xldf='-bundle -bundle_loader ../../src/xemacs' | 253 xldf='-bundle -bundle_loader ../../src/xemacs' |
254 ;; | 254 ;; |