diff options
author | Jan Holesovsky <kendy@suse.cz> | 2011-09-26 13:12:41 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-09-26 13:13:25 +0200 |
commit | ad655dbcccff932fcf62bc01e2fea88de4371a7b (patch) | |
tree | b4858641a3d0af73343d0b7ac0a0591105d2a7b0 /configure.in | |
parent | b778d1a03c0cdf4d0ab0352e08e00ca4d27aef03 (diff) |
Fail to configure when running in a shell with a sourced Env.Host.sh.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in index a934071c6181..4d59a3a6397c 100644 --- a/configure.in +++ b/configure.in @@ -1453,6 +1453,10 @@ BUILD_TYPE="LibO" SCPDEFS="" GIT_REPO_NAMES="" +if test -n "$SOLARENV" ; then + AC_MSG_ERROR([You have sourced Env.Host.sh in this shell. This may lead to trouble, please run in a fresh (login) shell.]) +fi + echo "********************************************************************" echo "*" echo "* Running ${PACKAGE_NAME} build configuration." |