Generate warning text
authorRichard Levitte <levitte@openssl.org>
Mon, 25 Jan 2016 20:19:59 +0000 (21:19 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 25 Jan 2016 20:19:59 +0000 (21:19 +0100)
commit9ab6fc5936be62f6fee1c433938eae4c89aa23da
tree0f0177f9d404741116b0c65c157db32c10410a35
parent52cdc9970de5f0e884d829d8dfa23c89c51527f9
Generate warning text

Now that we're using templates, we should warn people not to edit the
resulting file.  We do it through util/dofile.pl, which is enhanced
with an option to tell what file it was called from.  We also change
the calls so the template files are on the command line instead of
being redirected through standard input.  That way, we can display
something like this (example taken from include/openssl/opensslconf.h):

    /* WARNING: do not edit! */
    /* Generated by Configure from include/openssl/opensslconf.h.in */

Reviewed-by: Rich Salz <rsalz@openssl.org>
12 files changed:
Configure
Makefile.in
apps/CA.pl.in
apps/Makefile.in
crypto/include/internal/bf_conf.h.in
crypto/include/internal/bn_conf.h.in
crypto/include/internal/des_conf.h.in
crypto/include/internal/rc4_conf.h.in
include/openssl/opensslconf.h.in
tools/Makefile.in
tools/c_rehash.in
util/dofile.pl