dnl $Id: config.m4,v 1.7 2002/04/11 02:19:45 andrei Exp $ dnl config.m4 for extension php-gtk PHP_ARG_ENABLE(php-gtk,for PHP-GTK support, [ PHP-GTK Options ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --enable-php-gtk Enable PHP-GTK support]) if test "$PHP_PHP_GTK" != "no"; then AC_PROG_AWK PHP_SUBST(AWK) PHP_PREFIX=`php-config --prefix` AC_MSG_CHECKING(for PHP executable in $PHP_PREFIX/bin) if test -x $PHP_PREFIX/bin/php; then PHP=$PHP_PREFIX/bin/php AC_MSG_RESULT(found) else AC_MSG_ERROR(Could not locate PHP executable) fi PHP_SUBST(PHP) BSD_MAKEFILE=no case $host_alias in *bsdi*) BSD_MAKEFILE=yes;; esac sinclude(php_gtk.m4) AC_DEFINE(HAVE_PHP_GTK, 1, [If PHP-GTK support is enabled]) fi