From: Dr. Stephen Henson Date: Thu, 5 Jun 2008 15:09:40 +0000 (+0000) Subject: Configure options of form -Dfoo=bar should get added to CFLAGS in mk1mf.pl X-Git-Tag: OpenSSL_0_9_8i~54 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f01f085cb9195ae8832dced7568b8b3ff045cebe;p=oweals%2Fopenssl.git Configure options of form -Dfoo=bar should get added to CFLAGS in mk1mf.pl --- diff --git a/util/mk1mf.pl b/util/mk1mf.pl index 2b129ff36b..7ba804ce33 100755 --- a/util/mk1mf.pl +++ b/util/mk1mf.pl @@ -1102,7 +1102,7 @@ sub read_options } } } - elsif (/^([^=]*)=(.*)$/){ $VARS{$1}=$2; } + elsif (/^([^=]*)=(.*)$/ && !/^-D/){ $VARS{$1}=$2; } elsif (/^-[lL].*$/) { $l_flags.="$_ "; } elsif ((!/^-help/) && (!/^-h/) && (!/^-\?/) && /^-.*$/) { $c_flags.="$_ "; }