1 1.1 christos #! /usr/bin/env perl 2 1.1 christos # Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved. 3 1.1 christos # 4 1.1 christos # Licensed under the OpenSSL license (the "License"). You may not use 5 1.1 christos # this file except in compliance with the License. You can obtain a copy 6 1.1 christos # in the file LICENSE in the source distribution or at 7 1.1 christos # https://www.openssl.org/source/license.html 8 1.1 christos 9 1.1 christos use strict; 10 1.1 christos use warnings; 11 1.1 christos 12 1.1 christos # First argument is name; 13 1.1 christos my $name = shift @ARGV; 14 1.1 christos my $name_uc = uc $name; 15 1.1 christos # All other arguments are ignored for now 16 1.1 christos 17 1.1 christos print <<"_____"; 18 1.1 christos /* 19 1.1 christos * Generated with test/generate_buildtest.pl, to check that such a simple 20 1.1 christos * program builds. 21 1.1 christos */ 22 1.1 christos #include <openssl/opensslconf.h> 23 1.1 christos #ifndef OPENSSL_NO_STDIO 24 1.1 christos # include <stdio.h> 25 1.1 christos #endif 26 1.1 christos #ifndef OPENSSL_NO_${name_uc} 27 1.1 christos # include <openssl/$name.h> 28 1.1 christos #endif 29 1.1 christos 30 1.1 christos int main(void) 31 1.1 christos { 32 1.1 christos return 0; 33 1.1 christos } 34 1.1 christos _____ 35