diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-05-02 16:40:01 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-05-02 16:40:01 (GMT) |
commit | 0a2b8b8e0bc2e91a9f10659b30e2e4f5b79ce692 (patch) | |
tree | 3d0871d05cfd11f60b86829d2d93704034dad24e /openssl/util/mkbuildinf.pl | |
parent | e9abe0dba896d2b0fc22301588336e89ff246ba7 (diff) | |
download | blt-0a2b8b8e0bc2e91a9f10659b30e2e4f5b79ce692.zip blt-0a2b8b8e0bc2e91a9f10659b30e2e4f5b79ce692.tar.gz blt-0a2b8b8e0bc2e91a9f10659b30e2e4f5b79ce692.tar.bz2 |
reinstall
Diffstat (limited to 'openssl/util/mkbuildinf.pl')
-rwxr-xr-x | openssl/util/mkbuildinf.pl | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/openssl/util/mkbuildinf.pl b/openssl/util/mkbuildinf.pl deleted file mode 100755 index ffa8a39..0000000 --- a/openssl/util/mkbuildinf.pl +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/local/bin/perl - -my ($cflags, $platform) = @ARGV; - -$cflags = "compiler: $cflags"; -$date = localtime(); -print <<"END_OUTPUT"; -#ifndef MK1MF_BUILD - /* auto-generated by util/mkbuildinf.pl for crypto/cversion.c */ - #define CFLAGS cflags - /* - * Generate CFLAGS as an array of individual characters. This is a - * workaround for the situation where CFLAGS gets too long for a C90 string - * literal - */ - static const char cflags[] = { -END_OUTPUT -my $ctr = 0; -foreach my $c (split //, $cflags) { - # Max 18 characters per line - if (($ctr++ % 18) == 0) { - if ($ctr != 1) { - print "\n"; - } - print " "; - } - print "'$c',"; -} -print <<"END_OUTPUT"; -'\\0' - }; - #define PLATFORM "platform: $platform" - #define DATE "built on: $date" -#endif -END_OUTPUT |