diff options
author | David Mitchell <davem@iabyn.com> | 2013-12-03 16:17:56 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2013-12-25 20:30:46 +0000 |
commit | cb9238a74bae69edc848d03a50c29d86772d1d22 (patch) | |
tree | 7cbd9364fb6f920ccc731c403df6114507f770d2 /cflags.SH | |
parent | c5cc3237190cc21fd5e0be13a3bf06942e5303a3 (diff) | |
download | perl-cb9238a74bae69edc848d03a50c29d86772d1d22.tar.gz |
cflags.SH - add commentary
Add comments to the top of cflags.SH to explain what it does.
Also make it output comments at the top of the generated cflags
script explaining that its auto-generated.
Diffstat (limited to 'cflags.SH')
-rwxr-xr-x | cflags.SH | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -1,5 +1,17 @@ #!/bin/sh +# Generate the cflags script, which is used to determine what cflags +# to pass to the compiler. +# We create a temporary test c program and repeatedly compile it with +# various candidate flags, and from the compiler output, determine what +# flags are supported. +# From this we initialise the following variables in the cflags script: +# +# $warn +# $stdflags +# $extra +# $_exe + case $PERL_CONFIG_SH in '') if test -f config.sh; then TOP=.; @@ -210,6 +222,11 @@ rm -f cflags $spitshell >cflags <<!GROK!THIS! $startsh +# !!!!!!! DO NOT EDIT THIS FILE !!!!!!! + +# This file is generated by cflags.SH + + # Extra warnings, used e.g. for gcc. warn="$warn" # Extra standardness. |