summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-06-21 13:47:38 +0000
committerfoobar <sniper@php.net>2005-06-21 13:47:38 +0000
commit846007437222d5cdc98ae10efad658a8baf484d3 (patch)
tree6d6ebdc374711f34c884cbcb3f61ee66b8925bde /build
parentc594f47f76315b1f60654058d2dbd6650a2810bf (diff)
downloadphp-git-846007437222d5cdc98ae10efad658a8baf484d3.tar.gz
- Partial revert: It does not matter if awk works or not but helps if it does :)
Diffstat (limited to 'build')
-rw-r--r--build/genif.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/genif.sh b/build/genif.sh
index f40ad57a83..61d1f00454 100644
--- a/build/genif.sh
+++ b/build/genif.sh
@@ -1,6 +1,6 @@
#! /bin/sh
-# $Id: genif.sh,v 1.5 2005-06-17 09:39:20 dmitry Exp $
+# $Id: genif.sh,v 1.6 2005-06-21 13:47:38 sniper Exp $
# replacement for genif.pl
infile=$1
@@ -17,13 +17,13 @@ if test -z "$infile" || test -z "$srcdir"; then
exit 1
fi
-module_ptrs=$extra_module_ptrs
header_list=
olddir=`pwd`
cd $srcdir
+module_ptrs="$extra_module_ptrs`echo $@ | $awk -f ./build/order_by_dep.awk`"
+
for ext in ${1+"$@"} ; do
- module_ptrs=" phpext_${ext}_ptr,@NEWLINE@$module_ptrs"
header_list="$header_list ext/$ext/*.h"
done