mirror of
https://github.com/php/php-src.git
synced 2024-12-01 05:43:38 +08:00
13 lines
381 B
Bash
Executable File
13 lines
381 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $Id$
|
|
|
|
dir=$1; shift
|
|
for stubfile in $dir/*/config0.m4 $dir/*/config.m4 $dir/*/config9.m4; do
|
|
echo "dnl Define where extension directories are located in the configure context
|
|
AC_DEFUN([PHP_EXT_BUILDDIR], [`dirname $stubfile`])
|
|
AC_DEFUN([PHP_EXT_DIR], [`dirname $stubfile`])
|
|
AC_DEFUN([PHP_EXT_SRCDIR], [\$abs_srcdir/`dirname $stubfile`])
|
|
sinclude($stubfile)"
|
|
done
|