php-src/pear/phpize.in

32 lines
670 B
Plaintext
Raw Normal View History

#! /bin/sh
prefix='@PREFIX@'
phpdir="$prefix/lib/php/build"
2000-05-02 20:10:46 +00:00
builddir="`pwd`"
FILES_BUILD="dynlib.mk fastgen.sh library.mk ltlib.mk program.mk rules.mk rules_pear.mk shtool"
FILES="acinclude.m4 dynlib.m4"
if test ! -r config.m4; then
echo "Cannot find config.m4. "
echo "Make sure that you run $0 in the top level source directory of the module"
exit 1
fi
test -d build || mkdir build
2000-05-02 20:10:46 +00:00
(cd $phpdir && cp $FILES_BUILD $builddir/build)
(cd $phpdir && cp $FILES $builddir)
mv build/rules_pear.mk build/rules.mk
sed \
-e "s#@prefix@#$prefix#" \
< $phpdir/pear.m4 > configure.in
2000-05-02 20:10:46 +00:00
touch install-sh mkinstalldirs missing
aclocal
autoconf
autoheader
libtoolize -f -c