[Libreoffice-commits] .: configure.in
Tor Lillqvist
tml at kemper.freedesktop.org
Wed Oct 27 05:10:05 PDT 2010
configure.in | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 112ed994f22eeff81d31465b8884532db6236ee5
Author: Martin Gallwey <martin at gallwey.com>
Date: Wed Oct 27 15:06:18 2010 +0300
Fail if trying to build as root on Cygwin
Building as root on Cygwin has been knnown to fail in various way, so
prevent that.
diff --git a/configure.in b/configure.in
index d9111cd..af31797 100644
--- a/configure.in
+++ b/configure.in
@@ -981,6 +981,11 @@ dnl ===================================================================
dnl Configure pre-requisites.
dnl ===================================================================
cat /dev/null > warn
+
+if test "$EUID" -eq "0" -a "z`uname -o 2>/dev/null`" = "zCygwin" ; then
+ AC_MSG_ERROR([You must build LibreOffice as a normal user - not using an administrative account])
+fi
+
AC_PROG_EGREP
AC_PROG_AWK
AC_PATH_PROG( AWK, $AWK)
More information about the Libreoffice-commits
mailing list