summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-06-04 19:01:01 +0200
committerMichael Stahl <mstahl@redhat.com>2012-06-04 19:17:27 +0200
commita87f45ab78b61dba6b615a88846682b0c35d7d40 (patch)
tree710ad776dafc9c0b77c36372912f696249e0dda8 /configure.in
parent30aa036181480c76f909c2dda86b2682cac1fd73 (diff)
configure.in: refuse to run in sourced solar environment
revert one hunk from 909cd34b7b0982078a50b9ed46cf57811d9571df Change-Id: I9eb3f3c1cdab2c0624ab65f540b9c3d6b8f1bfb5
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 6d6155f81425..09600f126def 100644
--- a/configure.in
+++ b/configure.in
@@ -49,6 +49,10 @@ PathFormat()
fi
}
+if test -n "$SOLARENV" ; then
+ AC_MSG_ERROR([You have sourced config_host.mk in this shell. This may lead to trouble, please run in a fresh (login) shell.])
+fi
+
echo "********************************************************************"
echo "*"
echo "* Running ${PACKAGE_NAME} build configuration."