summaryrefslogtreecommitdiff
path: root/libstdc++-v3/configure.host
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-21 20:33:34 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-21 20:33:34 +0000
commitb9e8095bd7c7b1492baf175e1ebf336dc3ff6e4d (patch)
treee72cc26bb321e8bf90f4e68330674848db54eddf /libstdc++-v3/configure.host
parent61dfea14dbc2e4d8b70a6f1df61bce8aa70340ce (diff)
downloadgcc-b9e8095bd7c7b1492baf175e1ebf336dc3ff6e4d.tar.gz
2000-04-21 Benjamin Kosnik <bkoz@redhat.com>
* libstdc++-v3: New directory. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33317 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/configure.host')
-rw-r--r--libstdc++-v3/configure.host43
1 files changed, 43 insertions, 0 deletions
diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host
new file mode 100644
index 00000000000..6c896c65348
--- /dev/null
+++ b/libstdc++-v3/configure.host
@@ -0,0 +1,43 @@
+# 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
+
+glibcpp_cflags=
+glibcpp_cxxflags=
+
+AM_RUNTESTFLAGS=
+
+# Set any host dependent compiler flags.
+# THIS TABLE IS SORTED. KEEP IT THAT WAY.
+
+echo "$target"
+
+DIVIDESPEC=-fuse-divide-subroutine
+
+case "${host}" in
+ i686-*|i586-*)
+ ;;
+ sparc-*)
+ ;;
+ *)
+ ;;
+esac
+
+glibcpp_cflags="${glibcpp_cflags} ${libgcj_flags}"
+glibcpp_cxxflags="${glibcpp_cxxflags} ${libgcj_flags}"