diff options
author | Ian Lynagh <igloo@earth.li> | 2009-08-01 18:28:17 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-08-01 18:28:17 +0000 |
commit | 62b88256262035a4475126debc0dd694baa7aedb (patch) | |
tree | b519b70f06df2713d180c2e55e0dbf7a8e57ad3f /aclocal.m4 | |
parent | 5615397b9348e68ea2bfe0813c4b4c2beac96ef8 (diff) | |
download | haskell-62b88256262035a4475126debc0dd694baa7aedb.tar.gz |
Fix configure when alex/happy are installed to a directory containing spaces
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index f98d5f3f08..8a81f8e3b3 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; |