summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-05-30 18:07:30 +0000
committerRichard Levitte <levitte@openssl.org>2002-05-30 18:07:30 +0000
commitea4df8ad620165d25b8af58479b39fe06144374d (patch)
tree80cf3504021546d17944e5f673e8d1b62836149b /Configure
parentdbf50f36c41390d61099ebb72cd8a85dc0a65b61 (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 bc4f9a9bd0..5ebff785a9 100755
--- a/Configure
+++ b/Configure
@@ -900,6 +900,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";