17 |
# Initialization |
# Initialization |
18 |
# ============== |
# ============== |
19 |
|
|
20 |
AC_INIT(gc,6.5,Hans.Boehm@hp.com) |
AC_INIT(gc,6.6,Hans.Boehm@hp.com) |
21 |
## version must conform to [0-9]+[.][0-9]+(alpha[0-9]+)? |
## version must conform to [0-9]+[.][0-9]+(alpha[0-9]+)? |
22 |
AC_CONFIG_SRCDIR(gcj_mlc.c) |
AC_CONFIG_SRCDIR(gcj_mlc.c) |
23 |
AC_CANONICAL_TARGET |
AC_CANONICAL_TARGET |
184 |
esac |
esac |
185 |
AM_CONDITIONAL(POWERPC_DARWIN,test x$powerpc_darwin = xtrue) |
AM_CONDITIONAL(POWERPC_DARWIN,test x$powerpc_darwin = xtrue) |
186 |
|
|
187 |
|
AC_MSG_CHECKING(for xlc) |
188 |
|
AC_TRY_COMPILE([],[ |
189 |
|
#ifndef __xlC__ |
190 |
|
# error |
191 |
|
#endif |
192 |
|
], [compiler_xlc=yes], [compiler_xlc=no]) |
193 |
|
AC_MSG_RESULT($compiler_xlc) |
194 |
|
AM_CONDITIONAL(COMPILER_XLC,test $compiler_xlc = yes) |
195 |
|
if test $compiler_xlc = yes -a "$powerpc_darwin" = true; then |
196 |
|
# the darwin stack-frame-walking code is completely broken on xlc |
197 |
|
AC_DEFINE(DARWIN_DONT_PARSE_STACK) |
198 |
|
fi |
199 |
|
|
200 |
# We never want libdl on darwin. It is a fake libdl that just ends up making |
# We never want libdl on darwin. It is a fake libdl that just ends up making |
201 |
# dyld calls anyway |
# dyld calls anyway |
202 |
case "$host" in |
case "$host" in |