From 3a30913ae2d3f88307019affb11c7bc934a13838 Mon Sep 17 00:00:00 2001 From: sof Date: Sat, 7 Feb 1998 12:58:49 +0000 Subject: [PATCH] [project @ 1998-02-07 12:58:49 by sof] Changed translation of backward slashes to forward ones (now in perl.) --- aclocal.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 1.7.10.4