diff options
| author | Stig Bakken <ssb@php.net> | 2001-01-10 01:01:59 +0000 |
|---|---|---|
| committer | Stig Bakken <ssb@php.net> | 2001-01-10 01:01:59 +0000 |
| commit | 6792978aed5a5aaa0a3548a41b2ba8f14a5a1aba (patch) | |
| tree | 4f0f28925de00334431fc73955c3e5db8a5444ef /pear/scripts/phpize.in | |
| parent | c172daa6d1059abfd6454e53a88a4797183bc97d (diff) | |
| download | php-git-6792978aed5a5aaa0a3548a41b2ba8f14a5a1aba.tar.gz | |
* updated copyrights (thanks Colin)
* moved scripts to own directory (bug #7635)
Diffstat (limited to 'pear/scripts/phpize.in')
| -rw-r--r-- | pear/scripts/phpize.in | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pear/scripts/phpize.in b/pear/scripts/phpize.in new file mode 100644 index 0000000000..33b5ad2cfb --- /dev/null +++ b/pear/scripts/phpize.in @@ -0,0 +1,31 @@ +#! /bin/sh + +prefix='@prefix@' +phpdir="$prefix/lib/php/build" +builddir="`pwd`" +FILES_BUILD="dynlib.mk fastgen.sh library.mk ltlib.mk mkdep.awk program.mk rules.mk rules_common.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 + +(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 + +touch install-sh mkinstalldirs missing + +aclocal +autoconf +autoheader +libtoolize -f -c |
