* gcse.c (delete_null_pointer_checks): Fix typo in this change:
[official-gcc.git] / libjava / configure.host
blobd54d8be64dcbebc434171aecf27e86d45d84f901
1 # configure.host
3 # This shell script handles all host based configuration for libgcj.
4 # It sets various shell variables based on the the host and the
5 # configuration options.  You can modify this shell script without
6 # needing to rerun autoconf.
8 # This shell script should be invoked as
9 #   . configure.host
10 # If it encounters an error, it will exit with a message.
12 # It uses the following shell variables:
13 #   host                The configuration host
14 #   host_cpu            The configuration host CPU
15 #   target_optspace     --enable-target-optspace ("yes", "no", "")
17 # It sets the following shell variables:
18 #   libgcj_cflags       Special CFLAGS to use when building
19 #   libgcj_cxxflags     Special CXXFLAGS to use when building
20 #   libgcj_javaflags    Special JAVAFLAGS to use when building
22 libgcj_flags=
23 libgcj_cflags=
24 libgcj_cxxflags=
25 libgcj_javaflags=
27 case "${target_optspace}:${host}" in
28   yes:*)
29     libgcj_flags="${libgcj_flags} -Os"
30     ;;
31   :m32r-* | :d10v-* | :d30v-*)
32     libgcj_flags="${libgcj_flags} -Os"
33     ;;
34   no:* | :*)
35     # Nothing.
36     ;;
37 esac
39 AM_RUNTESTFLAGS= 
41 # Set any host dependent compiler flags.
42 # THIS TABLE IS SORTED.  KEEP IT THAT WAY.
44 echo "$target"
46 DIVIDESPEC=-fuse-divide-subroutine
48 case "${host}" in
49   mips-tx39-*|mipstx39-unknown-*)
50         libgcj_flags="${libgcj_flags} -G 0"
51         LDFLAGS="$LDFLAGS -Tjmr3904dram.ld"
52         AM_RUNTESTFLAGS="--target_board=jmr3904-sim"    
53         # Use "Ecos" processes since they are a no-op.
54         PROCESS=Ecos
55         enable_java_net_default=no
56         enable_getenv_properties_default=no
57         ;;
58   i686-*|i586-*)
59         libgcj_flags="${libgcj_flags} -ffloat-store"
60         DIVIDESPEC=-fno-use-divide-subroutine
61         ;;
62   *)
63         ;;
64 esac
66 libgcj_cflags="${libgcj_cflags} ${libgcj_flags}"
67 libgcj_cxxflags="${libgcj_cxxflags} ${libgcj_flags}"
68 libgcj_javaflags="${libgcj_javaflags} ${libgcj_flags}"