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

[project @ 1998-02-12 22:25:13 by sof]

New attempt at converting backslashes into forward ones.
parent b099104f
No related merge requests found
# $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
......
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