Reformat the CFLAG string so it can be made part of a C string.
[openssl.git] / Configure
index 2a8b2251d79129b25a52449e2edaf3049c1167e1..8fe14d8a41dd025a4e23b8cfba5478cdaf79ce52 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1124,6 +1124,10 @@ if ($rmd160_obj =~ /\.o$/)
        $cflags.=" -DRMD160_ASM";
        }
 
        $cflags.=" -DRMD160_ASM";
        }
 
+# "Stringify" the C flags string.  This permits it to be made part of a string
+# and works as well on command lines.
+$cflags =~ s/([\\\"])/\\\1/g;
+
 my $version = "unknown";
 my $major = "unknown";
 my $minor = "unknown";
 my $version = "unknown";
 my $major = "unknown";
 my $minor = "unknown";