summaryrefslogtreecommitdiff
path: root/genif.sh
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-05-21 10:06:25 +0000
committerSascha Schumann <sas@php.net>1999-05-21 10:06:25 +0000
commitb57dc275950b228f2399990471c4f22b7d154c6c (patch)
treea89fe99e356b218591b0b0b392862e0b9ddd4e7e /genif.sh
parent4fe8fe715e4347a4063a57e1a9fd6dc013ca9ee0 (diff)
downloadphp-git-b57dc275950b228f2399990471c4f22b7d154c6c.tar.gz
- run ext sources through conv_proto
- add necessary phpext_*_ptr
Diffstat (limited to 'genif.sh')
-rw-r--r--genif.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/genif.sh b/genif.sh
index b04486bf83..09194b7741 100644
--- a/genif.sh
+++ b/genif.sh
@@ -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