summaryrefslogtreecommitdiff
path: root/cflags.SH
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2009-01-04 16:48:27 +0100
committerYves Orton <demerphq@gmail.com>2009-01-04 23:32:40 +0100
commitdcff826f70bf3f64ced085d87d733c26aacda219 (patch)
tree78b69c0e058cb0278870514d6e35a89a115bb76e /cflags.SH
parentf22725be88de3e535d7cb5ec4c1b09c92c9a722e (diff)
downloadperl-dcff826f70bf3f64ced085d87d733c26aacda219.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
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) ;;