aboutsummaryrefslogtreecommitdiff
path: root/util/mk1mf.pl
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>2000-07-21 19:00:38 +0000
committerUlf Möller <ulf@openssl.org>2000-07-21 19:00:38 +0000
commitd55a3cf19ddf163df97d6b636ba1f3817e682192 (patch)
tree0e57f191623b7a57b95daa89db8dbf5e9a354ec8 /util/mk1mf.pl
parentfa729135d8833d4e2a3429b47957a1c8f09affbf (diff)
downloadopenssl-d55a3cf19ddf163df97d6b636ba1f3817e682192.zip
openssl-d55a3cf19ddf163df97d6b636ba1f3817e682192.tar.gz
openssl-d55a3cf19ddf163df97d6b636ba1f3817e682192.tar.bz2
Profiling option for mk1mf.pl
Diffstat (limited to 'util/mk1mf.pl')
-rwxr-xr-xutil/mk1mf.pl9
1 files changed, 6 insertions, 3 deletions
diff --git a/util/mk1mf.pl b/util/mk1mf.pl
index ffb3c10..367484a 100755
--- a/util/mk1mf.pl
+++ b/util/mk1mf.pl
@@ -65,6 +65,7 @@ and [options] can be one of
no-err - No error strings
dll/shlib - Build shared libraries (MS)
debug - Debug build
+ profile - Profiling build
gcc - Use Gcc (unix)
rsaref - Build to require RSAref
@@ -217,9 +218,10 @@ $cflags.=" -DNO_SSL3" if $no_ssl3;
$cflags.=" -DNO_ERR" if $no_err;
$cflags.=" -DRSAref" if $rsaref ne "";
-if ($unix)
- { $cflags="$c_flags" if ($c_flags ne ""); }
-else { $cflags="$c_flags$cflags" if ($c_flags ne ""); }
+## if ($unix)
+## { $cflags="$c_flags" if ($c_flags ne ""); }
+##else
+ { $cflags="$c_flags$cflags" if ($c_flags ne ""); }
$ex_libs="$l_flags$ex_libs" if ($l_flags ne "");
@@ -878,6 +880,7 @@ sub read_options
elsif (/^rsaref$/) { $rsaref=1; }
elsif (/^gcc$/) { $gcc=1; }
elsif (/^debug$/) { $debug=1; }
+ elsif (/^profile$/) { $profile=1; }
elsif (/^shlib$/) { $shlib=1; }
elsif (/^dll$/) { $shlib=1; }
elsif (/^([^=]*)=(.*)$/){ $VARS{$1}=$2; }