| $! Quick script to check how well including individual header files works |
| $! on VMS, even when the VMS macro isn't defined. |
| $ sav_def = f$env("DEFAULT") |
| $ here = f$parse("A.;0",f$ENV("PROCEDURE")) - "A.;0" |
| $ set default [-.include.openssl] |
| $ define openssl 'f$env("DEFAULT")' |
| $ f = f$search("openssl:*.h") |
| $ if f .eqs. "" then goto loop_end |
| $ write sys$output "Checking ",f |
| $ write foo "#include <stdio.h>" |
| $ write foo "#include <openssl/",f$parse(f,,,"NAME"),".h>" |
| $ write foo "{printf(""foo\n"");}" |
| $ cc/STANDARD=ANSI89/NOLIST/PREFIX=ALL foo.c |