summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-05-30 18:06:35 +0000
committerRichard Levitte <levitte@openssl.org>2002-05-30 18:06:35 +0000
commit1ed0c6621b082636caf55334b3ada25a6bbcd0c7 (patch)
treea7b120f48c213389d1c0f97cb7f2a72f57f82a57 /Configure
parent5f8453587eeea3f32747189f84e69f547b6d7b39 (diff)
Reformat the CFLAG string so it can be made part of a C string.
Incidently, this works pretty well on the command line as well. PR: 52
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/Configure b/Configure
index 2a8b2251d7..8fe14d8a41 100755
--- a/Configure
+++ b/Configure
@@ -1124,6 +1124,10 @@ if ($rmd160_obj =~ /\.o$/)
$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";