Error out if building separately but srcdir has build remnants.
/: PR bootstrap/32272 * configure.ac: Error out if $srcdir isn't '.' but contains host-${host_noncanonical}. * configure: Regenerate. From-SVN: r152037
This commit is contained in:
parent
7c5c5c6e00
commit
0db770bd0a
3 changed files with 17 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2009-09-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||||
|
|
||||||
|
PR bootstrap/32272
|
||||||
|
* configure.ac: Error out if $srcdir isn't '.' but contains
|
||||||
|
host-${host_noncanonical}.
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
2009-09-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
2009-09-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||||
|
|
||||||
* MAINTAINERS (OS Port Maintainers): Add myself as Solaris
|
* MAINTAINERS (OS Port Maintainers): Add myself as Solaris
|
||||||
|
|
5
configure
vendored
5
configure
vendored
|
@ -2743,6 +2743,11 @@ fi
|
||||||
# No prefix.
|
# No prefix.
|
||||||
target_subdir=${target_noncanonical}
|
target_subdir=${target_noncanonical}
|
||||||
|
|
||||||
|
# Be sure to cover against remnants of an in-tree build.
|
||||||
|
if test $srcdir != . && test -d $srcdir/host-${host_noncanonical}; then
|
||||||
|
as_fn_error "building out of tree but $srcdir contains host-${host_noncanonical}.
|
||||||
|
Use a pristine source tree when building in a separate tree" "$LINENO" 5
|
||||||
|
fi
|
||||||
|
|
||||||
# Skipdirs are removed silently.
|
# Skipdirs are removed silently.
|
||||||
skipdirs=
|
skipdirs=
|
||||||
|
|
|
@ -235,6 +235,11 @@ fi
|
||||||
|
|
||||||
# Find the build and target subdir names.
|
# Find the build and target subdir names.
|
||||||
GCC_TOPLEV_SUBDIRS
|
GCC_TOPLEV_SUBDIRS
|
||||||
|
# Be sure to cover against remnants of an in-tree build.
|
||||||
|
if test $srcdir != . && test -d $srcdir/host-${host_noncanonical}; then
|
||||||
|
AC_MSG_ERROR([building out of tree but $srcdir contains host-${host_noncanonical}.
|
||||||
|
Use a pristine source tree when building in a separate tree])
|
||||||
|
fi
|
||||||
|
|
||||||
# Skipdirs are removed silently.
|
# Skipdirs are removed silently.
|
||||||
skipdirs=
|
skipdirs=
|
||||||
|
|
Loading…
Add table
Reference in a new issue