summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-19 00:51:33 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-19 00:51:33 +0000
commitcfaaca3e136a09008c83f8cf5663ac52a711b046 (patch)
tree9943d1ce3423a379881adfbb3c0ff864d36606e4 /configure.in
parent162b7e574b4e082f891702ab3f368cd0415f0c61 (diff)
downloadppe42-gcc-cfaaca3e136a09008c83f8cf5663ac52a711b046.tar.gz
ppe42-gcc-cfaaca3e136a09008c83f8cf5663ac52a711b046.zip
2002-12-18 H.J. Lu <hjl@gnu.org>
* Makefile.tpl: Add @build_prefix@ before $(BUILD_SUBDIR). * Makefile.in: Regenerated. * configure.in (build_prefix): New. Substitute. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60272 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index f16fe5baacb..fb379fcfda6 100644
--- a/configure.in
+++ b/configure.in
@@ -168,6 +168,10 @@ if test x"${build_alias}" != x"${host}" ; then
fi
fi
+if test x"${target_subdir}" = x"${build_subdir}" ; then
+ build_prefix=build-
+fi
+
# Skipdirs are removed silently.
skipdirs=
# Noconfigdirs are removed loudly.
@@ -1729,6 +1733,7 @@ s%@CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@%\$(STAGE_CC_WRAPPER) ${qqCXX_FOR_TARGET}%
s%@RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@%\$(STAGE_CC_WRAPPER) ${qqRAW_CXX_FOR_TARGET}%
s%@target_subdir@%${target_subdir}%
s%@build_subdir@%${build_subdir}%
+s%@build_prefix@%${build_prefix}%
s%@build_configargs@%${buildargs}%
s%@gxx_include_dir@%${gxx_include_dir}%
s%@host_configargs@%${hostargs}%
OpenPOWER on IntegriCloud