[ooo-build-commit] .: configure.in
Tor Lillqvist
tml at kemper.freedesktop.org
Wed Oct 6 06:09:01 PDT 2010
configure.in | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
New commits:
commit 514a560f73e710c24555f8edb812ef5407c7e836
Author: Tor Lillqvist <tlillqvist at novell.com>
Date: Wed Oct 6 16:06:44 2010 +0300
Warn if building in a potentially too deep folder structure on Windows
diff --git a/configure.in b/configure.in
index c5194a5..43cf1c7 100644
--- a/configure.in
+++ b/configure.in
@@ -1827,6 +1827,23 @@ if test "$BUILD_WIN32" != "yes" -a "$ENABLE_ICECREAM" != "yes"; then
"
fi
+if test "$BUILD_WIN32" = "yes"; then
+ pwd=`pwd`
+ pwd=`cygpath -m $pwd`
+ pwdlen=`expr length $pwd`
+ known_to_work=17
+ if test $pwdlen -gt $known_to_work; then
+ echo "WARNING"
+ echo "You are in a folder with a quite long pathname."
+ echo "That might cause the build to eventually fail"
+ echo "in some more or less weird way."
+ echo
+ echo "If your build does succeed, please update the"
+ echo "'known_to_work' value above in configure.in, and tell"
+ echo "the LibreOffice mailing list. Thanks."
+ fi
+fi
+
if test "$OOO_GIT" = "" ; then
echo "You are not using git for the upstream sources.
Consider configuring via --with-git
More information about the ooo-build-commit
mailing list