1#!/bin/sh
2
3dir=$1; shift
4for stubfile in $dir/*/config0.m4 $dir/*/config.m4 $dir/*/config9.m4; do
5    echo "dnl Define where extension directories are located in the configure context
6AC_DEFUN([PHP_EXT_BUILDDIR], [`dirname $stubfile`])
7AC_DEFUN([PHP_EXT_DIR], [`dirname $stubfile`])
8AC_DEFUN([PHP_EXT_SRCDIR], [\$abs_srcdir/`dirname $stubfile`])
9sinclude($stubfile)"
10done
11