summaryrefslogtreecommitdiffstats
path: root/libjava/configure.in
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-06 23:13:37 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-06 23:13:37 +0000
commitf51ffd87f2f14ce7ba750ffbbe52ea9b51311e8f (patch)
treeda6674e93eb2d439b53b47319cee3df7a2e66f82 /libjava/configure.in
parentcc38e9f998d8575aeb7bae35dc754322be8825c9 (diff)
downloadppe42-gcc-f51ffd87f2f14ce7ba750ffbbe52ea9b51311e8f.tar.gz
ppe42-gcc-f51ffd87f2f14ce7ba750ffbbe52ea9b51311e8f.zip
* configure.in (GCJ): Define as "target-gcj", not "target/gcj"
when building Canadian cross. (NATIVE): Don't define when cross-compiling. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29848 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/configure.in')
-rw-r--r--libjava/configure.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/libjava/configure.in b/libjava/configure.in
index a6557d14b3d..11706c520fc 100644
--- a/libjava/configure.in
+++ b/libjava/configure.in
@@ -271,6 +271,7 @@ AM_CONDITIONAL(USING_GCC, test "$GCC" = yes)
CANADIAN=no
NULL_TARGET=no
+NATIVE=yes
# Find eh-common.h and support headers. If we're in the tree with
# gcc, then look there. Otherwise look in compat-include. If all else
@@ -309,10 +310,11 @@ if test -n "${with_cross_host}"; then
if test "$build" != "$with_cross_host"; then
CANADIAN=yes
EH_COMMON_INCLUDE=
- GCJ="${target_alias}/gcj"
+ GCJ="${target_alias}-gcj"
else
GCJ=
fi
+ NATIVE=no
else
AC_CHECK_FUNCS(strerror ioctl select fstat open fsync sleep)
AC_CHECK_FUNCS(gmtime_r localtime_r readdir_r getpwuid_r)
@@ -520,7 +522,7 @@ AC_SUBST(DIVIDESPEC)
AM_CONDITIONAL(CANADIAN, test "$CANADIAN" = yes)
AM_CONDITIONAL(NULL_TARGET, test "$NULL_TARGET" = yes)
-AM_CONDITIONAL(NATIVE, test "$CANADIAN" = no || test "$NULL_TARGET" = yes)
+AM_CONDITIONAL(NATIVE, test "$NATIVE" = yes || test "$NULL_TARGET" = yes)
AM_CONDITIONAL(USE_LIBDIR, test -z "$with_cross_host")
AC_SUBST(EH_COMMON_INCLUDE)
OpenPOWER on IntegriCloud