summaryrefslogtreecommitdiffstats
path: root/libjava/configure
diff options
context:
space:
mode:
authordaney <daney@138bc75d-0d04-0410-961f-82ee72b054a4>2006-07-21 20:49:06 +0000
committerdaney <daney@138bc75d-0d04-0410-961f-82ee72b054a4>2006-07-21 20:49:06 +0000
commit717b8f50b4eec158500c99e4082f97471b9a21f3 (patch)
tree9fcd0f6a9d2462c3af8f610d3c9c28c9c15dccc1 /libjava/configure
parentf05a163ef31c826d6c7f1c92e289bd93f230f868 (diff)
downloadppe42-gcc-717b8f50b4eec158500c99e4082f97471b9a21f3.tar.gz
ppe42-gcc-717b8f50b4eec158500c99e4082f97471b9a21f3.zip
libstdc++-v3/
PR libgcj/28426 * acinclude.m4: Added a comment. config/ PR libgcj/28426 * gxx-include-dir.m4: Use target_alias in path for cross build. libjava/ PR libgcj/28426 * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115650 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/configure')
-rwxr-xr-xlibjava/configure8
1 files changed, 7 insertions, 1 deletions
diff --git a/libjava/configure b/libjava/configure
index abdda6d87f8..c2c5ddc8e61 100755
--- a/libjava/configure
+++ b/libjava/configure
@@ -15055,7 +15055,13 @@ echo "$as_me: error: --with-gxx-include-dir=[dir] requires a directory" >&2;}
yes) gxx_include_dir='$(libsubdir)/include/c++' ;;
*)
libstdcxx_incdir='c++/$(gcc_version)'
- gxx_include_dir='$(prefix)/include/$(libstdcxx_incdir)' ;;
+ gxx_include_dir='include/$(libstdcxx_incdir)'
+ if test -n "$with_cross_host" &&
+ test x"$with_cross_host" != x"no"; then
+ gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
+ else
+ gxx_include_dir='${prefix}/'"$gxx_include_dir"
+ fi;;
esac ;;
*) gxx_include_dir=${with_gxx_include_dir} ;;
esac
OpenPOWER on IntegriCloud