Added safety check for spaces in GNUSTEP_MAKEFILES; emit a warning if any are found

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@25768 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2007-12-20 14:16:42 +00:00
parent c37ab1e567
commit e196fe254d
3 changed files with 17 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2007-12-20 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac: Emit a warning if GNUSTEP_MAKEFILES contains a
space.
* configure: Regenerated.
2007-12-20 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac (GNUSTEP_PREFIX): Removed double-quoting around

6
configure vendored
View file

@ -4251,6 +4251,12 @@ echo $ECHO_N "checking for GNUSTEP_MAKEFILES to use... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: result: $GNUSTEP_MAKEFILES" >&5
echo "${ECHO_T}$GNUSTEP_MAKEFILES" >&6; }
# If GNUSTEP_MAKEFILES contains a space, we may have problems later
# because make does not really support having spaces in filenames
if echo "$GNUSTEP_MAKEFILES" | grep " " >/dev/null 2>&1; then
{ echo "$as_me:$LINENO: WARNING: GNUSTEP_MAKEFILES ($GNUSTEP_MAKEFILES) contains spaces: this may not work" >&5
echo "$as_me: WARNING: GNUSTEP_MAKEFILES ($GNUSTEP_MAKEFILES) contains spaces: this may not work" >&2;}
fi
#--------------------------------------------------------------------
# Setting up the install-sh script

View file

@ -586,6 +586,11 @@ AC_SUBST(GNUSTEP_USER_DEFAULTS_DIR)
AC_MSG_CHECKING(for GNUSTEP_MAKEFILES to use)
AC_SUBST(GNUSTEP_MAKEFILES)
AC_MSG_RESULT($GNUSTEP_MAKEFILES)
# If GNUSTEP_MAKEFILES contains a space, we may have problems later
# because make does not really support having spaces in filenames
if echo "$GNUSTEP_MAKEFILES" | grep " " >/dev/null 2>&1; then
AC_MSG_WARN([GNUSTEP_MAKEFILES ($GNUSTEP_MAKEFILES) contains spaces: this may not work])
fi
#--------------------------------------------------------------------
# Setting up the install-sh script