summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/configure.in
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-18 18:03:08 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-18 18:03:08 +0000
commit7bb22cfbbe450c5d393b647abd6554df3d7b9acd (patch)
tree836c0fcb573f83255df1c5a899bd1a4bdb1cd4b8 /libstdc++-v3/configure.in
parentd550dfb2fcf6ed621b99093a5371b3d694763c3a (diff)
downloadppe42-gcc-7bb22cfbbe450c5d393b647abd6554df3d7b9acd.tar.gz
ppe42-gcc-7bb22cfbbe450c5d393b647abd6554df3d7b9acd.zip
2000-12-18 Benjamin Kosnik <bkoz@redhat.com>
* configure.in: Set os_include_dir for cross_compiles. * configure: Regenerate. * configure.target (l_glibcpp_cxxflags): Don't try to be clever when assigning ATOMICITYH. Only special case the special cases... 2000-12-15 Benjamin Kosnik <bkoz@redhat.com> * configure.in (gxx_target_include_dir): Install target-dependent include files in a target-dependent place. * configure: Regenerate. * src/Makefile.am: Add in support here. * src/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38354 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/configure.in')
-rw-r--r--libstdc++-v3/configure.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/libstdc++-v3/configure.in b/libstdc++-v3/configure.in
index cc2533697b8..2e8ee1d6090 100644
--- a/libstdc++-v3/configure.in
+++ b/libstdc++-v3/configure.in
@@ -162,6 +162,7 @@ if test -n "$with_cross_host"; then
AC_DEFINE(HAVE_ISINFF)
ctype_include_dir="config/os/newlib"
+ os_include_dir="config/os/newlib"
AC_DEFINE(_GLIBCPP_BUGGY_FLOAT_COMPLEX)
AC_DEFINE(_GLIBCPP_BUGGY_COMPLEX)
@@ -203,10 +204,10 @@ include/bits/ctype_inline.h)
AC_LINK_FILES($ctype_include_dir/bits/ctype_noninline.h, \
include/bits/ctype_noninline.h)
-AM_CONDITIONAL(CANADIAN, test "$CANADIAN" = yes)
AM_CONDITIONAL(NULL_TARGET, test "$NULL_TARGET" = yes)
AM_CONDITIONAL(NATIVE, test "$NATIVE" = yes || test "$NULL_TARGET" = yes)
AM_CONDITIONAL(USE_LIBDIR, test -z "$with_cross_host")
+AM_CONDITIONAL(CANADIAN, test "$CANADIAN" = yes)
AC_CACHE_SAVE
AC_LC_MESSAGES
@@ -274,6 +275,12 @@ if test x${version_specific_libs} = xyes; then
AC_MSG_WARN(version specific directory is: $gcc_version)
fi
+# We have to install all the generated or linked includes files
+# specified as build_headers in src/Makefile.am in a target-dependent
+# place, or else multiple installs for different compilers will
+# overwrite these files.
+gxx_target_include_dir='$(exec_prefix)/$(target_alias)/include/g++-$(libstdcxx_interface)'
+AC_SUBST(gxx_target_include_dir)
# Export all the include and flag information to makefiles.
OpenPOWER on IntegriCloud