+# $Id: aclocal.m4,v 1.18 1998/02/12 22:25:13 sof Exp $
#
# Extra autoconf macros for the Glasgow fptools
#
fi;
])
HappyVersion=$ac_cv_happy_version;
-if test x"$HappyCmd" != x && expr "$HappyVersion" \<= "1.3" >/dev/null; then
- echo " Happy Version 1.3 or later is required to compile GHC."
- echo " Using the Happy sources in the tree.";
- HappyCmd=""
- AC_SUBST(HappyCmd)
-fi;
AC_SUBST(HappyVersion)
])
[if test "$HaveGcc" = "YES"; then
echo > conftest.c
gcc -v -E conftest.c >/dev/null 2>conftest.out
- echo 'tr/\\/\//; /(\S+\/cpp)/ && print "[$]1";' > conftest.pl
+ # \x5c = backslash
+ echo 'tr/\x5c/\//; /(\S+\/cpp)/ && print "[$]1";' > conftest.pl
ac_cv_gnu_cpp="`eval $PerlCmd -n conftest.pl conftest.out`"
rm -fr conftest*
else