| 1 | #! /bin/bash
|
|---|
| 2 | ##############################################################################
|
|---|
| 3 |
|
|---|
| 4 | ## This file is a shell script fragment that supplies the information
|
|---|
| 5 | ## necessary to tailor a template configure script into the configure
|
|---|
| 6 | ## script appropriate for this directory. For more information, check
|
|---|
| 7 | ## any existing configure script.
|
|---|
| 8 |
|
|---|
| 9 | ## Be warned, there are two types of configure.in files. There are those
|
|---|
| 10 | ## used by Autoconf, which are macros which are expanded into a configure
|
|---|
| 11 | ## script by autoconf. The other sort, of which this is one, is executed
|
|---|
| 12 | ## by Cygnus configure.
|
|---|
| 13 |
|
|---|
| 14 | ## For more information on these two systems, check out the documentation
|
|---|
| 15 | ## for 'Autoconf' (autoconf.texi) and 'Configure' (configure.texi).
|
|---|
| 16 |
|
|---|
| 17 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
|---|
| 18 | # 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
|---|
| 19 | #
|
|---|
| 20 | # This file is free software; you can redistribute it and/or modify it
|
|---|
| 21 | # under the terms of the GNU General Public License as published by
|
|---|
| 22 | # the Free Software Foundation; either version 2 of the License, or
|
|---|
| 23 | # (at your option) any later version.
|
|---|
| 24 | #
|
|---|
| 25 | # This program is distributed in the hope that it will be useful, but
|
|---|
| 26 | # WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 27 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|---|
| 28 | # General Public License for more details.
|
|---|
| 29 | #
|
|---|
| 30 | # You should have received a copy of the GNU General Public License
|
|---|
| 31 | # along with this program; if not, write to the Free Software
|
|---|
| 32 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|---|
| 33 |
|
|---|
| 34 | ##############################################################################
|
|---|
| 35 |
|
|---|
| 36 | ### To add a new directory to the tree, first choose whether it is a target
|
|---|
| 37 | ### or a host dependent tool. Then put it into the appropriate list
|
|---|
| 38 | ### (library or tools, host or target), doing a dependency sort. For
|
|---|
| 39 | ### example, gdb requires that byacc (or bison) be built first, so it is in
|
|---|
| 40 | ### the ${host_tools} list after byacc and bison.
|
|---|
| 41 |
|
|---|
| 42 |
|
|---|
| 43 | # these libraries are used by various programs built for the host environment
|
|---|
| 44 | #
|
|---|
| 45 | host_libs="intl mmalloc libiberty opcodes bfd readline gash db tcl tk tcl8.1 tk8.1 tclX itcl tix libgui zlib"
|
|---|
| 46 |
|
|---|
| 47 | if [ "${enable_gdbgui}" = "yes" ] ; then
|
|---|
| 48 | host_libs="${host_libs} libgui"
|
|---|
| 49 | fi
|
|---|
| 50 |
|
|---|
| 51 | libstdcxx_version="target-libstdc++-v3"
|
|---|
| 52 | # Don't use libstdc++-v3's flags to configure/build itself.
|
|---|
| 53 | libstdcxx_flags='`case $$dir in libstdc++-v3 | libjava) ;; *) test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags --build-includes;; esac` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
|
|---|
| 54 |
|
|---|
| 55 | # these tools are built for the host environment
|
|---|
| 56 | # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
|
|---|
| 57 | # know that we are building the simulator.
|
|---|
| 58 | host_tools="texinfo byacc flex bison binutils ld gas gcc sim gdb make patch prms send-pr gprof gdbtest tgas etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool ispell grep diff rcs cvssrc fileutils shellutils time textutils wdiff find emacs emacs19 uudecode hello tar gzip indent recode release sed utils guile perl apache inet gawk findutils snavigator libtool gettext zip fastjar"
|
|---|
| 59 |
|
|---|
| 60 | # libgcj represents the runtime libraries only used by gcj.
|
|---|
| 61 | libgcj="target-libffi \
|
|---|
| 62 | target-boehm-gc \
|
|---|
| 63 | target-zlib \
|
|---|
| 64 | target-qthreads \
|
|---|
| 65 | target-libjava"
|
|---|
| 66 |
|
|---|
| 67 | # these libraries are built for the target environment, and are built after
|
|---|
| 68 | # the host libraries and the host tools (which may be a cross compiler)
|
|---|
| 69 | #
|
|---|
| 70 | target_libs="target-libiberty \
|
|---|
| 71 | target-libgloss \
|
|---|
| 72 | target-newlib \
|
|---|
| 73 | target-librx \
|
|---|
| 74 | ${libstdcxx_version} \
|
|---|
| 75 | target-libf2c \
|
|---|
| 76 | ${libgcj}
|
|---|
| 77 | target-libobjc"
|
|---|
| 78 |
|
|---|
| 79 | # these tools are built using the target libs, and are intended to run only
|
|---|
| 80 | # in the target environment
|
|---|
| 81 | #
|
|---|
| 82 | # note: any program that *uses* libraries that are in the "target_libs"
|
|---|
| 83 | # list belongs in this list. those programs are also very likely
|
|---|
| 84 | # candidates for the "native_only" list which follows
|
|---|
| 85 | #
|
|---|
| 86 | target_tools="target-examples target-groff target-gperf"
|
|---|
| 87 |
|
|---|
| 88 | ################################################################################
|
|---|
| 89 |
|
|---|
| 90 | ## These two lists are of directories that are to be removed from the
|
|---|
| 91 | ## ${configdirs} list for either cross-compilations or for native-
|
|---|
| 92 | ## compilations. For example, it doesn't make that much sense to
|
|---|
| 93 | ## cross-compile Emacs, nor is it terribly useful to compile target-libiberty in
|
|---|
| 94 | ## a native environment.
|
|---|
| 95 |
|
|---|
| 96 | # directories to be built in the native environment only
|
|---|
| 97 | #
|
|---|
| 98 | # This must be a single line because of the way it is searched by grep in
|
|---|
| 99 | # the code below.
|
|---|
| 100 | native_only="autoconf automake libtool cvssrc emacs emacs19 fileutils find gawk gettext grep gzip hello indent ispell m4 rcs recode sed shellutils tar textutils gash uudecode wdiff gprof target-groff guile perl apache inet time ash bash bzip2 prms snavigator gnuserv target-gperf"
|
|---|
| 101 |
|
|---|
| 102 | # directories to be built in a cross environment only
|
|---|
| 103 | #
|
|---|
| 104 | cross_only="target-libgloss target-newlib target-cygmon target-opcodes target-libstub"
|
|---|
| 105 |
|
|---|
| 106 | ## All tools belong in one of the four categories, and are assigned above
|
|---|
| 107 | ## We assign ${configdirs} this way to remove all embedded newlines. This
|
|---|
| 108 | ## is important because configure will choke if they ever get through.
|
|---|
| 109 | ## ${configdirs} is directories we build using the host tools.
|
|---|
| 110 | ## ${target_configdirs} is directories we build using the target tools.
|
|---|
| 111 | #
|
|---|
| 112 | configdirs=`echo ${host_libs} ${host_tools}`
|
|---|
| 113 | target_configdirs=`echo ${target_libs} ${target_tools}`
|
|---|
| 114 |
|
|---|
| 115 | ################################################################################
|
|---|
| 116 |
|
|---|
| 117 | srctrigger=move-if-change
|
|---|
| 118 | srcname="gnu development package"
|
|---|
| 119 |
|
|---|
| 120 | # This gets set non-empty for some net releases of packages.
|
|---|
| 121 | appdirs=""
|
|---|
| 122 |
|
|---|
| 123 | # per-host:
|
|---|
| 124 |
|
|---|
| 125 | # Work in distributions that contain no compiler tools, like Autoconf.
|
|---|
| 126 | if [ -d ${srcdir}/config ]; then
|
|---|
| 127 | case "${host}" in
|
|---|
| 128 | m68k-hp-hpux*)
|
|---|
| 129 | host_makefile_frag="${host_makefile_frag} config/mh-hp300"
|
|---|
| 130 | ;;
|
|---|
| 131 | m68k-apollo-sysv*)
|
|---|
| 132 | host_makefile_frag="${host_makefile_frag} config/mh-apollo68"
|
|---|
| 133 | ;;
|
|---|
| 134 | m68k-apollo-bsd*)
|
|---|
| 135 | host_makefile_frag="${host_makefile_frag} config/mh-a68bsd"
|
|---|
| 136 | ;;
|
|---|
| 137 | m88k-dg-dgux*)
|
|---|
| 138 | host_makefile_frag="${host_makefile_frag} config/mh-dgux"
|
|---|
| 139 | ;;
|
|---|
| 140 | m88k-harris-cxux*)
|
|---|
| 141 | host_makefile_frag="${host_makefile_frag} config/mh-cxux"
|
|---|
| 142 | ;;
|
|---|
| 143 | m88k-motorola-sysv*)
|
|---|
| 144 | host_makefile_frag="${host_makefile_frag} config/mh-delta88"
|
|---|
| 145 | ;;
|
|---|
| 146 | mips*-dec-ultrix*)
|
|---|
| 147 | host_makefile_frag="${host_makefile_frag} config/mh-decstation"
|
|---|
| 148 | ;;
|
|---|
| 149 | mips*-nec-sysv4*)
|
|---|
| 150 | host_makefile_frag="${host_makefile_frag} config/mh-necv4"
|
|---|
| 151 | ;;
|
|---|
| 152 | mips*-sgi-irix6*)
|
|---|
| 153 | host_makefile_frag="${host_makefile_frag} config/mh-irix6"
|
|---|
| 154 | ;;
|
|---|
| 155 | mips*-sgi-irix5*)
|
|---|
| 156 | host_makefile_frag="${host_makefile_frag} config/mh-irix5"
|
|---|
| 157 | ;;
|
|---|
| 158 | mips*-sgi-irix4*)
|
|---|
| 159 | host_makefile_frag="${host_makefile_frag} config/mh-irix4"
|
|---|
| 160 | ;;
|
|---|
| 161 | mips*-sgi-irix3*)
|
|---|
| 162 | host_makefile_frag="${host_makefile_frag} config/mh-sysv"
|
|---|
| 163 | ;;
|
|---|
| 164 | mips*-*-sysv4*)
|
|---|
| 165 | host_makefile_frag="${host_makefile_frag} config/mh-sysv4"
|
|---|
| 166 | ;;
|
|---|
| 167 | mips*-*-sysv*)
|
|---|
| 168 | host_makefile_frag="${host_makefile_frag} config/mh-riscos"
|
|---|
| 169 | ;;
|
|---|
| 170 | i370-ibm-opened*)
|
|---|
| 171 | host_makefile_frag="${host_makefile_frag} config/mh-openedition"
|
|---|
| 172 | ;;
|
|---|
| 173 | i[3456]86-*-sysv5*)
|
|---|
| 174 | host_makefile_frag="${host_makefile_frag} config/mh-sysv5"
|
|---|
| 175 | ;;
|
|---|
| 176 | i[3456]86-*-dgux*)
|
|---|
| 177 | host_makefile_frag="${host_makefile_frag} config/mh-dgux386"
|
|---|
| 178 | ;;
|
|---|
| 179 | i[3456]86-ncr-sysv4.3*)
|
|---|
| 180 | host_makefile_frag="${host_makefile_frag} config/mh-ncrsvr43"
|
|---|
| 181 | ;;
|
|---|
| 182 | i[3456]86-ncr-sysv4*)
|
|---|
| 183 | host_makefile_frag="${host_makefile_frag} config/mh-ncr3000"
|
|---|
| 184 | ;;
|
|---|
| 185 | i[3456]86-*-sco3.2v5*)
|
|---|
| 186 | host_makefile_frag="${host_makefile_frag} config/mh-sysv"
|
|---|
| 187 | ;;
|
|---|
| 188 | i[3456]86-*-sco*)
|
|---|
| 189 | host_makefile_frag="${host_makefile_frag} config/mh-sco"
|
|---|
| 190 | ;;
|
|---|
| 191 | i[3456]86-*-udk*)
|
|---|
| 192 | host_makefile_frag="${host_makefile_frag} config/mh-sysv5"
|
|---|
| 193 | ;;
|
|---|
| 194 | i[3456]86-*-isc*)
|
|---|
| 195 | host_makefile_frag="${host_makefile_frag} config/mh-sysv"
|
|---|
| 196 | ;;
|
|---|
| 197 | i[3456]86-*-solaris2*)
|
|---|
| 198 | host_makefile_frag="${host_makefile_frag} config/mh-sysv4"
|
|---|
| 199 | ;;
|
|---|
| 200 | i[3456]86-*-aix*)
|
|---|
| 201 | host_makefile_frag="${host_makefile_frag} config/mh-aix386"
|
|---|
| 202 | ;;
|
|---|
| 203 | i[3456]86-*-msdosdjgpp*)
|
|---|
| 204 | host_makefile_frag="${host_makefile_frag} config/mh-djgpp"
|
|---|
| 205 | ;;
|
|---|
| 206 | *-cygwin*)
|
|---|
| 207 | host_makefile_frag="${host_makefile_frag} config/mh-cygwin"
|
|---|
| 208 | ;;
|
|---|
| 209 | *-mingw32*)
|
|---|
| 210 | host_makefile_frag="${host_makefile_frag} config/mh-mingw32"
|
|---|
| 211 | ;;
|
|---|
| 212 | *-interix*)
|
|---|
| 213 | host_makefile_frag="${host_makefile_frag} config/mh-interix"
|
|---|
| 214 | ;;
|
|---|
| 215 | *-windows*)
|
|---|
| 216 | host_makefile_frag="${host_makefile_frag} config/mh-windows"
|
|---|
| 217 | ;;
|
|---|
| 218 | vax-*-ultrix2*)
|
|---|
| 219 | host_makefile_frag="${host_makefile_frag} config/mh-vaxult2"
|
|---|
| 220 | ;;
|
|---|
| 221 | *-*-solaris2*)
|
|---|
| 222 | host_makefile_frag="${host_makefile_frag} config/mh-solaris"
|
|---|
| 223 | ;;
|
|---|
| 224 | m68k-sun-sunos*)
|
|---|
| 225 | host_makefile_frag="${host_makefile_frag} config/mh-sun3"
|
|---|
| 226 | ;;
|
|---|
| 227 | *-hp-hpux[78]*)
|
|---|
| 228 | host_makefile_frag="${host_makefile_frag} config/mh-hpux8"
|
|---|
| 229 | ;;
|
|---|
| 230 | *-hp-hpux*)
|
|---|
| 231 | host_makefile_frag="${host_makefile_frag} config/mh-hpux"
|
|---|
| 232 | ;;
|
|---|
| 233 | *-*-hiux*)
|
|---|
| 234 | host_makefile_frag="${host_makefile_frag} config/mh-hpux"
|
|---|
| 235 | ;;
|
|---|
| 236 | rs6000-*-lynxos*)
|
|---|
| 237 | host_makefile_frag="${host_makefile_frag} config/mh-lynxrs6k"
|
|---|
| 238 | ;;
|
|---|
| 239 | *-*-lynxos*)
|
|---|
| 240 | host_makefile_frag="${host_makefile_frag} config/mh-lynxos"
|
|---|
| 241 | ;;
|
|---|
| 242 | *-*-sysv4*)
|
|---|
| 243 | host_makefile_frag="${host_makefile_frag} config/mh-sysv4"
|
|---|
| 244 | ;;
|
|---|
| 245 | *-*-sysv*)
|
|---|
| 246 | host_makefile_frag="${host_makefile_frag} config/mh-sysv"
|
|---|
| 247 | ;;
|
|---|
| 248 | i[3456]86-*-os2*)
|
|---|
| 249 | host_makefile_frag="${host_makefile_frag} config/mh-emx"
|
|---|
| 250 | ;;
|
|---|
| 251 | esac
|
|---|
| 252 | fi
|
|---|
| 253 |
|
|---|
| 254 | # If we aren't going to be using gcc, see if we can extract a definition
|
|---|
| 255 | # of CC from the fragment.
|
|---|
| 256 | if [ -z "${CC}" ] && [ "${build}" = "${host}" ]; then
|
|---|
| 257 | IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:"
|
|---|
| 258 | found=
|
|---|
| 259 | for dir in $PATH; do
|
|---|
| 260 | test -z "$dir" && dir=.
|
|---|
| 261 | if test -f $dir/gcc; then
|
|---|
| 262 | found=yes
|
|---|
| 263 | break
|
|---|
| 264 | fi
|
|---|
| 265 | done
|
|---|
| 266 | IFS="$save_ifs"
|
|---|
| 267 | if [ -z "${found}" ] && [ -n "${host_makefile_frag}" ] && [ -f "${srcdir}/${host_makefile_frag}" ]; then
|
|---|
| 268 | xx=`sed -n -e 's/^[ ]*CC[ ]*=[ ]*\(.*\)$/\1/p' < ${srcdir}/${host_makefile_frag}`
|
|---|
| 269 | if [ -n "${xx}" ] ; then
|
|---|
| 270 | CC=$xx
|
|---|
| 271 | fi
|
|---|
| 272 | fi
|
|---|
| 273 | fi
|
|---|
| 274 |
|
|---|
| 275 | # We default to --with-shared on platforms where -fpic is meaningless.
|
|---|
| 276 | # Well, we don't yet, but we will.
|
|---|
| 277 | if false && [ "${host}" = "${target}" ] && [ x${enable_shared} = x ]; then
|
|---|
| 278 | case "${target}" in
|
|---|
| 279 | alpha*-dec-osf*) enable_shared=yes ;;
|
|---|
| 280 | alpha*-*-linux*) enable_shared=yes ;;
|
|---|
| 281 | mips-sgi-irix5*) enable_shared=yes ;;
|
|---|
| 282 | *) enable_shared=no ;;
|
|---|
| 283 | esac
|
|---|
| 284 | fi
|
|---|
| 285 |
|
|---|
| 286 | # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
|
|---|
| 287 | # them automatically.
|
|---|
| 288 | case "${host}" in
|
|---|
| 289 | hppa*64*-*-hpux11*)
|
|---|
| 290 | withoptions="$withoptions -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
|
|---|
| 291 | ;;
|
|---|
| 292 | esac
|
|---|
| 293 |
|
|---|
| 294 | case "${enable_shared}" in
|
|---|
| 295 | yes) shared=yes ;;
|
|---|
| 296 | no) shared=no ;;
|
|---|
| 297 | "") shared=no ;;
|
|---|
| 298 | *) shared=yes ;;
|
|---|
| 299 | esac
|
|---|
| 300 |
|
|---|
| 301 | if [ x${shared} = xyes ]; then
|
|---|
| 302 | case "${host}" in
|
|---|
| 303 | alpha*-*-linux*)
|
|---|
| 304 | host_makefile_frag="${host_makefile_frag} config/mh-elfalphapic"
|
|---|
| 305 | ;;
|
|---|
| 306 | arm*-*-*)
|
|---|
| 307 | host_makefile_frag="${host_makefile_frag} config/mh-armpic"
|
|---|
| 308 | ;;
|
|---|
| 309 | parisc*-*-* | hppa*-*-*)
|
|---|
| 310 | host_makefile_frag="${host_makefile_frag} config/mh-papic"
|
|---|
| 311 | ;;
|
|---|
| 312 | i[3456]86-*-cygwin*)
|
|---|
| 313 | # We don't want -fPIC on Cygwin.
|
|---|
| 314 | ;;
|
|---|
| 315 | i[3456]86-*-*)
|
|---|
| 316 | host_makefile_frag="${host_makefile_frag} config/mh-x86pic"
|
|---|
| 317 | ;;
|
|---|
| 318 | i370-*-*)
|
|---|
| 319 | host_makefile_frag="${host_makefile_frag} config/mh-i370pic"
|
|---|
| 320 | ;;
|
|---|
| 321 | ia64-*-*)
|
|---|
| 322 | host_makefile_frag="${host_makefile_frag} config/mh-ia64pic"
|
|---|
| 323 | ;;
|
|---|
| 324 | sparc64-*-*)
|
|---|
| 325 | host_makefile_frag="${host_makefile_frag} config/mh-sparcpic"
|
|---|
| 326 | ;;
|
|---|
| 327 | powerpc*-*-aix*)
|
|---|
| 328 | # We don't want -fPIC on AIX.
|
|---|
| 329 | ;;
|
|---|
| 330 | powerpc*-*-*)
|
|---|
| 331 | host_makefile_frag="${host_makefile_frag} config/mh-ppcpic"
|
|---|
| 332 | ;;
|
|---|
| 333 | *-*-*)
|
|---|
| 334 | if test -f ${srcdir}/config/mh-${host_cpu}pic; then
|
|---|
| 335 | host_makefile_frag="${host_makefile_frag} config/mh-${host_cpu}pic"
|
|---|
| 336 | fi
|
|---|
| 337 | ;;
|
|---|
| 338 | esac
|
|---|
| 339 | fi
|
|---|
| 340 |
|
|---|
| 341 | rm -f mh-frag
|
|---|
| 342 | if [ -n "${host_makefile_frag}" ] ; then
|
|---|
| 343 | for f in ${host_makefile_frag}
|
|---|
| 344 | do
|
|---|
| 345 | cat ${srcdir}/$f >> mh-frag
|
|---|
| 346 | done
|
|---|
| 347 | host_makefile_frag=mh-frag
|
|---|
| 348 | fi
|
|---|
| 349 |
|
|---|
| 350 | # per-target:
|
|---|
| 351 |
|
|---|
| 352 | case "${target}" in
|
|---|
| 353 | v810*)
|
|---|
| 354 | target_makefile_frag="${target_makefile_frag} config/mt-v810"
|
|---|
| 355 | ;;
|
|---|
| 356 | i[3456]86-*-netware*)
|
|---|
| 357 | target_makefile_frag="${target_makefile_frag} config/mt-netware"
|
|---|
| 358 | ;;
|
|---|
| 359 | powerpc-*-netware*)
|
|---|
| 360 | target_makefile_frag="${target_makefile_frag} config/mt-netware"
|
|---|
| 361 | ;;
|
|---|
| 362 | alpha*-*-linux*)
|
|---|
| 363 | target_makefile_frag="${target_makefile_frag} config/mt-linux"
|
|---|
| 364 | target_makefile_frag="${target_makefile_frag} config/mt-alphaieee"
|
|---|
| 365 | ;;
|
|---|
| 366 | alpha*-*-*)
|
|---|
| 367 | target_makefile_frag="${target_makefile_frag} config/mt-alphaieee"
|
|---|
| 368 | ;;
|
|---|
| 369 | *-*-linux*)
|
|---|
| 370 | target_makefile_frag="${target_makefile_frag} config/mt-linux"
|
|---|
| 371 | ;;
|
|---|
| 372 | *-*-aix4.[3456789]* | *-*-aix[56789].*)
|
|---|
| 373 | target_makefile_frag="${target_makefile_frag} config/mt-aix43"
|
|---|
| 374 | ;;
|
|---|
| 375 | mips*-*-pe | sh*-*-pe | *arm-wince-pe)
|
|---|
| 376 | target_makefile_frag="${target_makefile_frag} config/mt-wince"
|
|---|
| 377 | ;;
|
|---|
| 378 | esac
|
|---|
| 379 |
|
|---|
| 380 | # If --enable-target-optspace always use -Os instead of -O2 to build
|
|---|
| 381 | # the target libraries, similarly if it is not specified, use -Os
|
|---|
| 382 | # on selected platforms.
|
|---|
| 383 | case "${enable_target_optspace}:${target}" in
|
|---|
| 384 | yes:*)
|
|---|
| 385 | target_makefile_frag="${target_makefile_frag} config/mt-ospace"
|
|---|
| 386 | ;;
|
|---|
| 387 | :d30v-*)
|
|---|
| 388 | target_makefile_frag="${target_makefile_frag} config/mt-d30v"
|
|---|
| 389 | ;;
|
|---|
| 390 | :m32r-* | :d10v-* | :fr30-*)
|
|---|
| 391 | target_makefile_frag="${target_makefile_frag} config/mt-ospace"
|
|---|
| 392 | ;;
|
|---|
| 393 | no:* | :*)
|
|---|
| 394 | ;;
|
|---|
| 395 | *)
|
|---|
| 396 | echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
|
|---|
| 397 | ;;
|
|---|
| 398 | esac
|
|---|
| 399 |
|
|---|
| 400 | skipdirs=
|
|---|
| 401 | gasdir=gas
|
|---|
| 402 | use_gnu_ld=
|
|---|
| 403 | use_gnu_as=
|
|---|
| 404 |
|
|---|
| 405 | # some tools are so dependent upon X11 that if we're not building with X,
|
|---|
| 406 | # it's not even worth trying to configure, much less build, that tool.
|
|---|
| 407 |
|
|---|
| 408 | case ${with_x} in
|
|---|
| 409 | yes | "") # the default value for this tree is that X11 is available
|
|---|
| 410 | ;;
|
|---|
| 411 | no)
|
|---|
| 412 | skipdirs="${skipdirs} tk libgui gash"
|
|---|
| 413 | ;;
|
|---|
| 414 | *)
|
|---|
| 415 | echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2
|
|---|
| 416 | ;;
|
|---|
| 417 | esac
|
|---|
|
|---|