summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorpme <pme@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-05 21:07:13 +0000
committerpme <pme@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-05 21:07:13 +0000
commit03c6509158a5c6dc7e491eecbf84a73a53f7c591 (patch)
tree3972f3b3bf0807488af44e5337a9b1386ed05fff /configure.in
parent777972d15f7133d3ef89e71c7389bd1ec95af1ec (diff)
downloadgcc-03c6509158a5c6dc7e491eecbf84a73a53f7c591.tar.gz
2004-07-05 Phil Edwards <phil@codesourcery.com>
* configure.in: Do not prepend $srcdir to /dev/null in makefile fragments. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84132 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 7 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index a66e946c0b2..44cbd8854d7 100644
--- a/configure.in
+++ b/configure.in
@@ -2039,10 +2039,13 @@ CXX_FOR_TARGET_FOR_RECURSIVE_MAKE="\$(STAGE_CC_WRAPPER) ${qqCXX_FOR_TARGET}"
RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE="\$(STAGE_CC_WRAPPER) ${qqRAW_CXX_FOR_TARGET}"
# Makefile fragments.
-host_makefile_frag=${srcdir}/${host_makefile_frag}
-target_makefile_frag=${srcdir}/${target_makefile_frag}
-alphaieee_frag=${srcdir}/${alphaieee_frag}
-ospace_frag=${srcdir}/${ospace_frag}
+for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
+do
+ eval fragval=\$$frag
+ if test $fragval != /dev/null; then
+ eval $frag=${srcdir}/$fragval
+ fi
+done
AC_SUBST_FILE(host_makefile_frag)
AC_SUBST_FILE(target_makefile_frag)
AC_SUBST_FILE(alphaieee_frag)