From: sof Date: Thu, 12 Feb 1998 22:25:13 +0000 (+0000) Subject: [project @ 1998-02-12 22:25:13 by sof] X-Git-Tag: Approx_2487_patches~959 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=cb0a5790c28b4b25b0bb707e43e0857b0778e2ef;p=ghc-hetmet.git [project @ 1998-02-12 22:25:13 by sof] New attempt at converting backslashes into forward ones. --- diff --git a/aclocal.m4 b/aclocal.m4 index 5b31f35..9f526b0 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,4 +1,4 @@ -# $Id: aclocal.m4,v 1.17 1998/02/12 12:37:22 simonm Exp $ +# $Id: aclocal.m4,v 1.18 1998/02/12 22:25:13 sof Exp $ # # Extra autoconf macros for the Glasgow fptools # @@ -274,7 +274,8 @@ AC_DEFUN(AC_PROG_GNUCPP, [if test "$HaveGcc" = "YES"; then echo > conftest.c gcc -v -E conftest.c >/dev/null 2>conftest.out - echo '/(\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