mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-30 10:35:02 +08:00
d0941a315e
2000-11-13 Phil Edwards <pme@sources.redhat.com> * acinclude.m4 (GLIBCPP_CHECK_TARGET): New macro, replacing GLIBCPP_CHECK_CPU and GLIBCPP_CHECK_OS, sourcing configure.target. (GLIBCPP_CONFIGURE): Call new macro here. * configure.host: Cleanup. * configure.in: Remove those two macros. * configure.target: New file. * aclocal.m4: Regenerated. * configure: Ditto. * Makefile.in: Ditto. * libio/Makefile.in: Ditto. * libmath/Makefile.in: Ditto. * libsupc++/Makefile.in: Ditto. * src/Makefile.in: Ditto. * mkcheck.in: Use libtool. Split things out into functions. From-SVN: r37443
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
# configure.host
|
|
|
|
# This shell script handles all host based configuration for libstdc++.
|
|
# It sets various shell variables based on the the host and the
|
|
# configuration options. You can modify this shell script without
|
|
# needing to rerun autoconf.
|
|
|
|
# This shell script should be invoked as
|
|
# . configure.host
|
|
# If it encounters an error, it will exit with a message.
|
|
|
|
# It uses the following shell variables:
|
|
# host The configuration host
|
|
# host_cpu The configuration host CPU
|
|
# target_optspace --enable-target-optspace ("yes", "no", "")
|
|
|
|
# It sets the following shell variables:
|
|
# glibcpp_cflags Special CFLAGS to use when building
|
|
# glibcpp_cxxflags Special CXXFLAGS to use when building
|
|
|
|
|
|
AM_RUNTESTFLAGS=
|
|
|
|
# Set any host dependent compiler flags.
|
|
# THIS TABLE IS SORTED. KEEP IT THAT WAY.
|
|
|
|
|
|
DIVIDESPEC=-fuse-divide-subroutine
|
|
|
|
case "${host}" in
|
|
i686-*|i586-*)
|
|
;;
|
|
sparc-*)
|
|
;;
|
|
*)
|
|
;;
|
|
esac
|
|
|
|
glibcpp_cflags="${glibcpp_cflags} ${libgcj_flags}"
|
|
glibcpp_cxxflags="${glibcpp_cxxflags} ${libgcj_flags}"
|
|
|