summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-07-21 20:49:15 +0000
committerBodo Möller <bodo@openssl.org>1999-07-21 20:49:15 +0000
commit664b99853cbefd2dc9f6ee56631f36b0f63d0d06 (patch)
tree45b4de7ba626a2ce59ad2c12de987e3e85663715 /Configure
parent16bc9fea4dd8cfbfefa9173f36859885d8ede705 (diff)
downloadopenssl-new-664b99853cbefd2dc9f6ee56631f36b0f63d0d06.tar.gz
avoid -DPLATFORM=\"...\" and -DCFLAGS=\"...\" command lines,
use new file buildinf.h instead.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure14
1 files changed, 7 insertions, 7 deletions
diff --git a/Configure b/Configure
index 4b68a097dd..2bc2ad001e 100755
--- a/Configure
+++ b/Configure
@@ -266,6 +266,8 @@ my %table=(
"BC-16","bcc:::(unknown)::BN_LLONG DES_PTR RC4_INDEX SIXTEEN_BIT:::",
# CygWin32
+# (Note: the real CFLAGS for Windows builds are defined by util/mk1mf.pl
+# and its library files in util/pl/*)
"CygWin32", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::::BN_LLONG $x86_gcc_des $x86_gcc_opts:",
"Mingw32", "gcc:-DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::::BN_LLONG $x86_gcc_des $x86_gcc_opts:",
@@ -686,16 +688,14 @@ print "BF_PTR used\n" if $bf_ptr == 1;
print "BF_PTR2 used\n" if $bf_ptr == 2;
if($IsWindows) {
- open (OUT,">crypto/date.h") || die "Can't open date.h";
- printf OUT "#define DATE \"%s\"\n", scalar gmtime();
- printf OUT <<EOF; # Kludge -- usually those are passed on the command line
-#ifndef CFLAGS
+ open (OUT,">crypto/buildinf.h") || die "Can't open buildinf.h";
+ printf OUT <<EOF;
+/* auto-generated by Configure for crypto/cversion.c */
+/* (Unix builds: auto-generated by crypto/Makefile.ssl) */
#define CFLAGS "$cc $cflags"
-#endif
-#ifndef PLATFORM
#define PLATFORM "$target"
-#endif
EOF
+ printf OUT "#define DATE \"%s\"\n", scalar gmtime();
close(OUT);
system "perl crypto/objects/obj_dat.pl <crypto/objects/objects.h >crypto/objects/obj_dat.h";
} else {