Don't replace whole AR line
authorDr. Stephen Henson <steve@openssl.org>
Wed, 28 Oct 2009 15:33:32 +0000 (15:33 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 28 Oct 2009 15:33:32 +0000 (15:33 +0000)
Configure

index b3220c058f1add55fc798b3faaf8adaaa9ef8834..414f0283ec3b4015b0b79e93327437ea9e426f0f 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1501,7 +1501,7 @@ while (<IN>)
                }
        else    {
                s/^CC=.*$/CC= $cc/;
                }
        else    {
                s/^CC=.*$/CC= $cc/;
-               s/^AR=.*/AR= $ar/;
+               s/^AR=\s*ar/AR= $ar/;
                s/^RANLIB=.*/RANLIB= $ranlib/;
                s/^MAKEDEPPROG=.*$/MAKEDEPPROG= $cc/ if $cc eq "gcc";
                }
                s/^RANLIB=.*/RANLIB= $ranlib/;
                s/^MAKEDEPPROG=.*$/MAKEDEPPROG= $cc/ if $cc eq "gcc";
                }