builddir="`pwd`"
SED="@SED@"
-FILES_BUILD="php.m4 shtool libtool.m4 ax_check_compile_flag.m4 ax_gcc_func_attribute.m4 php_cxx_compile_stdcxx.m4 pkg.m4 \
+aclocaldir="$prefix/share/aclocal"
+FILES_BUILD="php.m4 shtool ax_check_compile_flag.m4 ax_gcc_func_attribute.m4 php_cxx_compile_stdcxx.m4 \
config.guess config.sub ltmain.sh Makefile.global gen_stub.php"
FILES="run-tests*.php"
+LIBTOOL_FILES="pkg.m4 libtool.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 lt~obsolete.m4"
CLEAN_FILES="$FILES *.o *.lo *.la .libs/ build/ modules/ \
config.nice configure configure.ac \
config.h config.h.in conftest* libtool config.cache autom4te.cache/ \
test -d build || mkdir build
(cd "$phpdir" && cp $FILES_BUILD "$builddir"/build)
+ (cd "$aclocaldir" && cp $LIBTOOL_FILES "$builddir"/build)
(cd "$phpdir" && cp $FILES "$builddir")
}