summaryrefslogtreecommitdiff
path: root/genif.sh
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-05-11 00:01:47 +0000
committerZeev Suraski <zeev@php.net>1999-05-11 00:01:47 +0000
commit0b77132507dad64295a1521f9d4abfc5fbb747c9 (patch)
tree57f46ebcb35676eadbd260a9a1d368220a557e54 /genif.sh
parent957616cd2d9fa3bf1e1409fe9a18e9b33835ef10 (diff)
downloadphp-git-0b77132507dad64295a1521f9d4abfc5fbb747c9.tar.gz
* Get Apache to work. POST doesn't work yet.
* There are now -I directives for the absolute path of php4, php4/libzend and the builddir for the Apache module, so we can #include any php/Zend header. * Rename config.h to php_config.h
Diffstat (limited to 'genif.sh')
-rw-r--r--genif.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/genif.sh b/genif.sh
index b074f84ed8..b04486bf83 100644
--- a/genif.sh
+++ b/genif.sh
@@ -1,6 +1,6 @@
#! /bin/sh
-# $Id: genif.sh,v 1.4 1999-05-08 22:00:02 sas Exp $
+# $Id: genif.sh,v 1.5 1999-05-11 00:01:41 zeev Exp $
# replacement for genif.pl
infile="$1"
@@ -20,7 +20,7 @@ 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"
- if test -f $hdrfile ; then
+ if test -f "$srcdir/$hdrfile" ; then
includes="#include \"$hdrfile\"\\\n$includes"
fi
done