Skip to content
Snippets Groups Projects
Commit ec2d5cb2 authored by sof's avatar sof
Browse files

[project @ 1998-02-04 19:02:54 by sof]

AC_PROG_GNUCPP: look for (\/|\\)cpp, not (\/|\\\\)cpp
parent 1b24d0cc
No related merge requests found
...@@ -269,7 +269,7 @@ AC_DEFUN(AC_PROG_GNUCPP, ...@@ -269,7 +269,7 @@ AC_DEFUN(AC_PROG_GNUCPP,
[if test "$HaveGcc" = "YES"; then [if test "$HaveGcc" = "YES"; then
echo > conftest.c echo > conftest.c
gcc -v -E conftest.c >/dev/null 2>conftest.out gcc -v -E conftest.c >/dev/null 2>conftest.out
echo '/(\S+(\/|\\\\)cpp)/ && print "[$]1";' > conftest.pl echo '/(\S+(\/|\\)cpp)/ && print "[$]1";' > conftest.pl
ac_cv_gnu_cpp="`eval $PerlCmd -n conftest.pl conftest.out | tr '\\\' / `" ac_cv_gnu_cpp="`eval $PerlCmd -n conftest.pl conftest.out | tr '\\\' / `"
rm -fr conftest* rm -fr conftest*
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment