summaryrefslogtreecommitdiff
path: root/gcc/Makefile.in
diff options
context:
space:
mode:
authorrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>2008-02-19 19:38:52 +0000
committerrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>2008-02-19 19:38:52 +0000
commitfbf9447e57c8dffae5ebf0faec6c7575b744c2e6 (patch)
treec704924990c6e8fa02080b3e7d47cabe1ebfcde3 /gcc/Makefile.in
parenta046ed2b468c886ed8a9ed0793312fd4e04fca5d (diff)
downloadgcc-fbf9447e57c8dffae5ebf0faec6c7575b744c2e6.tar.gz
PR bootstrap/35218
* Makefile.in (build_file_translate): New. (gcc-vers.texi): Use it for translating $(abs_srcdir). * config.build (build_file_translate): Set to `CMD //c' on MinGW. * configure.ac (build_file_translate): Substitute it. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132444 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r--gcc/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 9c91fb5fab6..be9faaa8d98 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -253,6 +253,8 @@ POD2MAN = pod2man --center="GNU" --release="gcc-$(version)"
# do not correctly set the timestamp due to buggy versions of `utime'
# in the kernel. So, we use `echo' instead.
STAMP = echo timestamp >
+# Translate absolute file names to w32 paths.
+build_file_translate = @build_file_translate@
# Make sure the $(MAKE) variable is defined.
@SET_MAKE@
@@ -3653,7 +3655,7 @@ gcc-vers.texi: $(BASEVER) $(DEVPHASE)
then echo "@set DEVELOPMENT"; \
else echo "@clear DEVELOPMENT"; \
fi) > $@T
- echo "@set srcdir $(abs_srcdir)" >> $@T
+ $(build_file_translate) echo @set srcdir $(abs_srcdir) >> $@T
if [ -n "$(PKGVERSION)" ]; then \
echo "@set VERSION_PACKAGE $(PKGVERSION)" >> $@T; \
fi