summaryrefslogtreecommitdiff
path: root/build/genif.sh
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2002-05-19 13:54:38 +0000
committerSVN Migration <svn@php.net>2002-05-19 13:54:38 +0000
commit62e263f01ef567ae3926739f37d13cac17fe7739 (patch)
tree353ff240a432d453632dcad134524cbb9e0ea610 /build/genif.sh
parente3490f1429d8f03c16d8cef7cd835c3fb2d5b43e (diff)
downloadphp-git-php-4.3.0dev-ZendEngine2.tar.gz
This commit was manufactured by cvs2svn to create tagphp-4.3.0dev-ZendEngine2
'php_4_3_0_dev_ZendEngine2'.
Diffstat (limited to 'build/genif.sh')
-rw-r--r--build/genif.sh41
1 files changed, 0 insertions, 41 deletions
diff --git a/build/genif.sh b/build/genif.sh
deleted file mode 100644
index cb5233b5ac..0000000000
--- a/build/genif.sh
+++ /dev/null
@@ -1,41 +0,0 @@
-#! /bin/sh
-
-# $Id: genif.sh,v 1.3 2002-03-22 10:22:41 sas Exp $
-# replacement for genif.pl
-
-infile=$1
-shift
-srcdir=$1
-shift
-extra_module_ptrs=$1
-shift
-awk=$1
-shift
-
-if test -z "$infile" || test -z "$srcdir"; then
- echo "please supply infile and srcdir"
- exit 1
-fi
-
-module_ptrs=$extra_module_ptrs
-header_list=
-olddir=`pwd`
-cd $srcdir
-
-for ext in ${1+"$@"} ; do
- module_ptrs=" phpext_${ext}_ptr,@NEWLINE@$module_ptrs"
- header_list="$header_list ext/$ext/*.h"
-done
-
-includes=`$awk -f ./build/print_include.awk $header_list`
-
-cd $olddir
-
-cat $infile | \
- sed \
- -e "s'@EXT_INCLUDE_CODE@'$includes'" \
- -e "s'@EXT_MODULE_PTRS@'$module_ptrs'" \
- -e 's/@NEWLINE@/\
-/g'
-
-