aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Green <green@redhat.com>2001-02-16 01:56:07 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2001-02-16 01:56:07 +0000
commit729338bb3893cc9cbbf8035785aed3668d661522 (patch)
tree80191ae09b72a9cc4967c230b4240262545536d2
parent07add946aac1a64e5e94c2282eb3b3c033ce3867 (diff)
downloadgcc-729338bb3893cc9cbbf8035785aed3668d661522.zip
gcc-729338bb3893cc9cbbf8035785aed3668d661522.tar.gz
gcc-729338bb3893cc9cbbf8035785aed3668d661522.tar.bz2
acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross compilation.
2001-02-15 Anthony Green <green@redhat.com> * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross compilation. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r39735
-rw-r--r--libstdc++-v3/ChangeLog7
-rw-r--r--libstdc++-v3/acinclude.m42
-rw-r--r--libstdc++-v3/aclocal.m42
-rwxr-xr-xlibstdc++-v3/configure2
4 files changed, 10 insertions, 3 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index eef8140..e6bc02a 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,10 @@
+2001-02-15 Anthony Green <green@redhat.com>
+
+ * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
+ compilation.
+ * aclocal.m4: Regenerate.
+ * configure: Regenerate.
+
2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
* acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4
index 81ef3c0..0c87780 100644
--- a/libstdc++-v3/acinclude.m4
+++ b/libstdc++-v3/acinclude.m4
@@ -1569,7 +1569,7 @@ fi
# Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
# Install a library built with a cross compiler in tooldir, not libdir.
if test x"$glibcpp_toolexecdir" = x"no"; then
- if test x"$with_cross_host" = x"yes"; then
+ if test -n "$with_cross_host" && test x"$with_cross_host" != x"no"; then
glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
else
diff --git a/libstdc++-v3/aclocal.m4 b/libstdc++-v3/aclocal.m4
index d92314c..a4a5e0a 100644
--- a/libstdc++-v3/aclocal.m4
+++ b/libstdc++-v3/aclocal.m4
@@ -1581,7 +1581,7 @@ fi
# Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
# Install a library built with a cross compiler in tooldir, not libdir.
if test x"$glibcpp_toolexecdir" = x"no"; then
- if test x"$with_cross_host" = x"yes"; then
+ if test -n "$with_cross_host" && test x"$with_cross_host" != x"no"; then
glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
else
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index 4cfd465..e74ea1b 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -15954,7 +15954,7 @@ fi
# Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
# Install a library built with a cross compiler in tooldir, not libdir.
if test x"$glibcpp_toolexecdir" = x"no"; then
- if test x"$with_cross_host" = x"yes"; then
+ if test -n "$with_cross_host" && test x"$with_cross_host" != x"no"; then
glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
else