Provide CFLAGS and PLATFORM information on Windows platforms.
authorBodo Möller <bodo@openssl.org>
Fri, 9 Jul 1999 14:04:57 +0000 (14:04 +0000)
committerBodo Möller <bodo@openssl.org>
Fri, 9 Jul 1999 14:04:57 +0000 (14:04 +0000)
Configure

index 8f5285c..782cbcc 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -688,6 +688,14 @@ 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
+#define CFLAGS "$cc $cflags"
+#endif
+#ifndef PLATFORM
+#define PLATFORM "$target"
+#endif
+EOF
        close(OUT);
        system "perl crypto/objects/obj_dat.pl <crypto/objects/objects.h >crypto/objects/obj_dat.h";
 } else {