summaryrefslogtreecommitdiff
path: root/pear/phpize.in
blob: ac4424dd1cc7a87274988602ac8d9d6f5f831f77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#! /bin/sh

prefix='@PREFIX@'

phpdir="$prefix/lib/php/build"

test -d build || mkdir build

for i in fastgen.sh library.mk ltlib.mk program.mk rules.mk rules_pear.mk shtool; do
	cp $phpdir/$i build
done

mv build/rules_pear.mk build/rules.mk

cp $phpdir/acinclude.m4 .

sed \
-e "s#@prefix@#$prefix#" \
< $phpdir/pear.m4 > configure.in

touch .deps install-sh mkinstalldirs missing

aclocal
autoconf
autoheader
libtoolize -f -c