aktuelle.kurse/m133/Modul_Unterlagen_133_VOR/08-Uebungen/03 PHP Grundlagen/php-4.2.2-Win32/pear/scripts/phpize
Harald G. Mueller cdff097ef7 muh
2022-03-17 11:19:26 +01:00

32 lines
734 B
Bash

#! /bin/sh
prefix='/home/ek/projects/root/pear'
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#/home/ek/projects/root/pear#$prefix#" \
< $phpdir/pear.m4 > configure.in
touch install-sh mkinstalldirs missing
aclocal
autoconf
autoheader
libtoolize -f -c