diff options
author | Sascha Schumann <sas@php.net> | 1999-05-21 10:06:25 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 1999-05-21 10:06:25 +0000 |
commit | b57dc275950b228f2399990471c4f22b7d154c6c (patch) | |
tree | a89fe99e356b218591b0b0b392862e0b9ddd4e7e /genif.sh | |
parent | 4fe8fe715e4347a4063a57e1a9fd6dc013ca9ee0 (diff) | |
download | php-git-b57dc275950b228f2399990471c4f22b7d154c6c.tar.gz |
- run ext sources through conv_proto
- add necessary phpext_*_ptr
Diffstat (limited to 'genif.sh')
-rw-r--r-- | genif.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ #! /bin/sh -# $Id: genif.sh,v 1.5 1999-05-11 00:01:41 zeev Exp $ +# $Id: genif.sh,v 1.6 1999-05-21 10:05:41 sas Exp $ # replacement for genif.pl infile="$1" @@ -18,8 +18,8 @@ includes="" for ext in ${1+"$@"} ; do module_ptrs=" phpext_${ext}_ptr,\\\n$module_ptrs" - for pre in php3 php php4 zend; do - hdrfile="ext/$ext/${pre}_${ext}.h" + for pre in php3_ php_ php4_ zend_ "" ; do + hdrfile="ext/$ext/${pre}${ext}.h" if test -f "$srcdir/$hdrfile" ; then includes="#include \"$hdrfile\"\\\n$includes" fi |