From: Ian Lynagh Date: Sat, 1 Aug 2009 18:28:17 +0000 (+0000) Subject: Fix configure when alex/happy are installed to a directory containing spaces X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=62b88256262035a4475126debc0dd694baa7aedb;p=ghc-hetmet.git Fix configure when alex/happy are installed to a directory containing spaces --- diff --git a/aclocal.m4 b/aclocal.m4 index f98d5f3..8a81f8e 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -237,8 +237,8 @@ fi AC_CACHE_CHECK([for version of happy], fptools_cv_happy_version, changequote(, )dnl [if test x"$HappyCmd" != x; then - fptools_cv_happy_version="`$HappyCmd -v | - grep 'Happy Version' | sed -e 's/Happy Version \([^ ]*\).*/\1/g'`" ; + fptools_cv_happy_version=`"$HappyCmd" -v | + grep 'Happy Version' | sed -e 's/Happy Version \([^ ]*\).*/\1/g'` ; else fptools_cv_happy_version=""; fi; @@ -272,8 +272,8 @@ fi AC_CACHE_CHECK([for version of alex], fptools_cv_alex_version, changequote(, )dnl [if test x"$AlexCmd" != x; then - fptools_cv_alex_version="`$AlexCmd -v | - grep 'Alex [Vv]ersion' | sed -e 's/Alex [Vv]ersion \([0-9\.]*\).*/\1/g'`" ; + fptools_cv_alex_version=`"$AlexCmd" -v | + grep 'Alex [Vv]ersion' | sed -e 's/Alex [Vv]ersion \([0-9\.]*\).*/\1/g'` ; else fptools_cv_alex_version=""; fi;