[project @ 1998-02-07 12:58:49 by sof]
authorsof <unknown>
Sat, 7 Feb 1998 12:58:49 +0000 (12:58 +0000)
committersof <unknown>
Sat, 7 Feb 1998 12:58:49 +0000 (12:58 +0000)
Changed translation of backward slashes to forward ones (now in perl.)

aclocal.m4

index de6b421..0e3d91c 100644 (file)
@@ -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