Browse Source

bc with old bsd for devel

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@52 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.1
Xuefer 15 years ago
parent
commit
1622685da7
  1. 2
      mkopcode.awk
  2. 2
      mkopcode_spec.awk
  3. 2
      mkstructinfo.awk
  4. 2
      phpdc.phpr
  5. 2
      phpdop.phpr
  6. 8
      prepare.devel
  7. 2
      test.mak

2
mkopcode.awk

@ -1,4 +1,4 @@
#!/usr/bin/awk -f
#! /usr/bin/awk -f
# vim:ts=4:sw=4
# process zend_vm_def.h or zend_compile.h
BEGIN {

2
mkopcode_spec.awk

@ -1,4 +1,4 @@
#!/usr/bin/awk -f
#! /usr/bin/awk -f
# vim:ts=4:sw=4
# process eaccelerator/opcodes.c
BEGIN {

2
mkstructinfo.awk

@ -1,4 +1,4 @@
#!/usr/bin/awk -f
#! /usr/bin/awk -f
# vim:ts=4:sw=4
BEGIN {
brace = 0;

2
phpdc.phpr

@ -1,4 +1,4 @@
#!/usr/bin/php -dopen_basedir=
#! /usr/bin/php -dopen_basedir=
<?php
$srcdir = dirname(__FILE__);

2
phpdop.phpr

@ -1,4 +1,4 @@
#!/usr/bin/php
#! /usr/bin/php
<?php
$srcdir = dirname(__FILE__);

8
prepare.devel

@ -1,4 +1,4 @@
#!/bin/bash
#! /bin/bash
SELF="$0"
if test -e prepare.devel.inc ; then
@ -40,7 +40,7 @@ make_const_string_opcodes_php4.x.h() {
}
make_const_string_opcodes_php5.0.h() {
precheck const_string_opcodes_php5.0.h "${PHP5_0_DIR}/Zend/zend_vm_def.h" && "$AWK" -f ./mkopcode.awk < "$I" > "$O.tmp" && mv "$O.tmp" "$O"
precheck const_string_opcodes_php5.0.h "${PHP5_0_DIR}/Zend/zend_compile.h" && "$AWK" -f ./mkopcode.awk < "$I" > "$O.tmp" && mv "$O.tmp" "$O"
}
make_const_string_opcodes_php5.1.h() {
@ -75,11 +75,11 @@ error() {
}
precheck() {
if ! test -e "$2" ; then
if test -e "$2" ; then :; else
error X skipping "$1" because "$2" not found
return 1
fi
if ! test "$1" -ot "$2" ; then
if test "$1" -ot "$2" ; then :; else
echo O "$1" is up to date.
return 1
fi

2
test.mak

@ -1,4 +1,4 @@
#!/usr/bin/make -f
#! /usr/bin/make -f
EXES=mem_test
OBJS=mem.o

Loading…
Cancel
Save