#!/bin/sh # create configure from the autotools and invoke rm -rf autom4te.cache aclocal autoheader autoconf libtoolize -f ln -s `which libtool` 2>/dev/null automake -a --foreign ext="@EXTENSION_DIR@" pld="@phplibdir@" sh ./configure "$@" --with-extdir="$ext" --libdir="$pld" --datadir="$pld" --bindir="$pld"