version 1.35, 1998/06/04 17:10:30
|
version 1.39, 1998/10/18 23:16:51
|
Line 69 EOF
|
Line 69 EOF
|
fi |
fi |
|
|
AC_SUBST(CC) |
AC_SUBST(CC) |
AC_SUBST(GCCLDFLAGS) |
|
AC_SUBST(DEBUGFLAG) |
AC_SUBST(DEBUGFLAG) |
|
|
dnl the following macro produces a warning with autoconf-2.1 |
dnl the following macro produces a warning with autoconf-2.1 |
Line 145 AC_CANONICAL_HOST
|
Line 144 AC_CANONICAL_HOST
|
case "$host_cpu" in |
case "$host_cpu" in |
hppa*) |
hppa*) |
machine=hppa |
machine=hppa |
LIBOBJS="$LIBOBJS cache.o" |
LIBOBJS="$LIBOBJS ../arch/hppa/cache.o" |
LDFLAGS="-Xlinker -N" |
LDFLAGS="-Xlinker -N" |
LIBS="-L/lib/pa1.1/" |
LIBS="-L/lib/pa1.1/" |
if test "${enable_direct_threaded+set}" = "" |
if test "${enable_direct_threaded+set}" = "" |
Line 197 case "$host_cpu" in
|
Line 196 case "$host_cpu" in
|
mips*) |
mips*) |
machine=mips |
machine=mips |
#link text and data segment into the same 256M region! |
#link text and data segment into the same 256M region! |
GCCLDFLAGS="-Xlinker -T -Xlinker 10000000 -Xlinker -D -Xlinker 10400000" |
AC_MSG_CHECKING([whether the linker accepts -D]) |
|
OLDLDFLAGS=$LDFLAGS |
|
LDFLAGS="$LDFLAGS -Xlinker -T -Xlinker 10000000 -Xlinker -D -Xlinker 10400000" |
|
AC_TRY_LINK(,,ac_link_mips_d=yes,ac_link_mips_d=no) |
|
test $ac_link_mips_d = yes||LDFLAGS="$OLDLDFLAGS -Xlinker -T -Xlinker 10000000" |
|
AC_MSG_RESULT($ac_link_mips_d) |
;; |
;; |
alpha*) |
alpha*) |
machine=alpha |
machine=alpha |
;; |
;; |
power*) |
power*) |
machine=power |
machine=power |
|
AC_CHECK_FUNC(_sync_cache_range,true,LIBOBJS="$LIBOBJS ../arch/power/_sync_cache_range.o") |
;; |
;; |
*) |
*) |
echo "No direct threading support for $host_cpu, using indirect threading." |
echo "No direct threading support for $host_cpu, using indirect threading." |
Line 216 esac
|
Line 221 esac
|
AC_SUBST(host) |
AC_SUBST(host) |
AC_SUBST(ENGINE_FLAGS) |
AC_SUBST(ENGINE_FLAGS) |
|
|
|
case "$host_os" in |
|
*win32) |
|
EXE=".exe" |
|
;; |
|
*) |
|
EXE="" |
|
;; |
|
esac |
|
AC_SUBST(EXE) |
|
|
dnl Now a little support for DOS/DJGCC |
dnl Now a little support for DOS/DJGCC |
AC_SUBST(GFORTH_EXE) |
AC_SUBST(GFORTH_EXE) |
GFORTH_EXE="" |
GFORTH_EXE="" |