summaryrefslogtreecommitdiff
path: root/cflags.SH
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2009-01-04 16:48:27 +0100
committerDavid Mitchell <davem@iabyn.com>2009-04-11 16:42:49 +0100
commite4453ab0df0b930d5c045a5144fd0a24b52dcc41 (patch)
tree1572be2df02539f1b06c55e6a43cd0939fe3c3ae /cflags.SH
parenta255408473af9189652cf7cea83c0219c24bf2ea (diff)
downloadperl-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-xcflags.SH11
1 files changed, 3 insertions, 8 deletions
diff --git a/cflags.SH b/cflags.SH
index 80b50b1165..ef1c8b5b37 100755
--- a/cflags.SH
+++ b/cflags.SH
@@ -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) ;;