projects
/
chise
/
xemacs-chise.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reformatted.
[chise/xemacs-chise.git]
/
aclocal.m4
diff --git
a/aclocal.m4
b/aclocal.m4
index
08c81c1
..
0dcfd2e
100644
(file)
--- a/
aclocal.m4
+++ b/
aclocal.m4
@@
-84,7
+84,7
@@
AC_MSG_CHECKING(how to produce PIC code)
wl=
can_build_shared=yes
wl=
can_build_shared=yes
-if test "$XEGCC" = yes; then
+if test "$XEGCC" = yes -o "$__ICC" = yes; then
wl='-Wl,'
case "$xehost_os" in
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)
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
xcldf="-shared"
xldf="-shared"
else # Not using GCC