From: sof Date: Sat, 7 Feb 1998 12:58:49 +0000 (+0000) Subject: [project @ 1998-02-07 12:58:49 by sof] X-Git-Tag: Approx_2487_patches~985 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=sidebyside;h=3a30913ae2d3f88307019affb11c7bc934a13838;p=ghc-hetmet.git [project @ 1998-02-07 12:58:49 by sof] Changed translation of backward slashes to forward ones (now in perl.) --- diff --git a/aclocal.m4 b/aclocal.m4 index de6b421..0e3d91c 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -273,8 +273,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 - ac_cv_gnu_cpp="`eval $PerlCmd -n conftest.pl conftest.out | tr '\\\' / `" + echo '/(\S+(\/|\\)cpp)/ && ([$]foo = [$]1) =~ tr/\\/\// && print "[$]foo";' > conftest.pl + ac_cv_gnu_cpp="`eval $PerlCmd -n conftest.pl conftest.out`" rm -fr conftest* else # We need to be able to invoke CPP directly, preferably