diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 6c1dd73e0b72..7f992a547e12 100644 --- a/configure.ac +++ b/configure.ac @@ -12,6 +12,11 @@ dnl in order to create a configure script. AC_INIT([LibreOffice],[4.2.0.0.alpha0+],[],[],[http://documentfoundation.org/]) AC_PREREQ([2.59]) + +if test -n "$BUILD_TYPE"; 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 + save_CC=$CC save_CXX=$CXX @@ -73,10 +78,6 @@ add_warning() echo "$COLORWARN $@" >> warn } -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." |