diff --git a/Configure b/Configure index b3220c058..414f0283e 100755 --- a/Configure +++ b/Configure @@ -1501,7 +1501,7 @@ while () } 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"; }