diff options
author | Yves Orton <demerphq@gmail.com> | 2009-01-04 16:48:27 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2009-04-11 16:42:49 +0100 |
commit | e4453ab0df0b930d5c045a5144fd0a24b52dcc41 (patch) | |
tree | 1572be2df02539f1b06c55e6a43cd0939fe3c3ae /cflags.SH | |
parent | a255408473af9189652cf7cea83c0219c24bf2ea (diff) | |
download | perl-e4453ab0df0b930d5c045a5144fd0a24b52dcc41.tar.gz |
eliminate .patchnum and related infrastrcuture from *nix based build process
Rename the old "unpushed.h" to "git_version.h" and make it hold the defines that used to come from cflags magic
(cherry picked from commit dcff826f70bf3f64ced085d87d733c26aacda219)
Diffstat (limited to 'cflags.SH')
-rwxr-xr-x | cflags.SH | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -213,6 +213,8 @@ warn="$warn" stdflags="$stdflags" # Extra extra. extra="$extra" +# what do executables look like? +_exe="$_exe" !GROK!THIS! @@ -296,14 +298,7 @@ for file do op) ;; opmini) ;; pad) ;; - perl) - if [ -f .patchnum -a -n "`awk 'BEGIN{ORS=""} /describe:/ {print $1}' .patchnum`" ] ; then - ccflags="-DPERL_PATCHNUM=`awk 'BEGIN{ORS=""} /describe:/ {print $2}' .patchnum` $ccflags" - fi - if [ -f .patchnum -a -n "`awk 'BEGIN{ORS=""} /status:/ {print $2}' .patchnum`" ] ; then - ccflags="-DPERL_GIT_UNCOMMITTED_CHANGES=`awk 'BEGIN{ORS=""} /status:/ {print $2}' .patchnum` $ccflags" - fi - ;; + perl) ;; perlapi) ;; perlmain) ;; perly) ;; |