changeset 22620:589803e5ce7b

I've personally seen a few people have problems because they tried to build from a path containing spaces. After seeing the ticket on trac dealing with that, I decided to put this hack in. Anyone who doesn't want this should feel free to make use of 'mtn disapprove'. Fixes #2949.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Fri, 11 Apr 2008 02:08:42 +0000
parents 2804e45e77f6
children efc232f1822b
files configure.ac
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Wed Apr 09 22:01:41 2008 +0000
+++ b/configure.ac	Fri Apr 11 02:08:42 2008 +0000
@@ -64,6 +64,14 @@
 
 AC_INIT([pidgin], [purple_display_version], [devel@pidgin.im])
 
+if test `pwd | wc -w` -ne 1; then
+	AC_MSG_ERROR([
+You are attempting to build in a path that contains spaces.  This
+will fail.  Relocate this source tree to a path that does not contain
+spaces and run configure again.
+])
+fi
+
 AC_CANONICAL_SYSTEM
 AM_CONFIG_HEADER(config.h)
 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)