dnl dnl $Id: config.m4,v 1.14 2005/02/09 05:16:03 wez Exp $ dnl PHP_ARG_WITH(dbdo, for dbdo support, [ --with-dbdo Include dbdo support]) if test "$PHP_DBDO" != "no"; then dnl we dont require much here -> other than pdo's include path? if test -f $prefix/include/php/ext/pdo/php_pdo_driver.h; then pdo_inc_path=$prefix/include/php/ext elif test -f $abs_srcdir/include/php/ext/pdo/php_pdo_driver.h; then pdo_inc_path=$abs_srcdir/ext elif test -f ext/pdo/php_pdo_driver.h; then pdo_inc_path=ext else AC_MSG_ERROR([Cannot find php_pdo_driver.h.]) fi dnl PHP_NEW_EXTENSION(dbdo, dbdo.c dbdo_object.c, $ext_shared,,-I$pdo_inc_path) PHP_NEW_EXTENSION(dbdo, dbdo.c, $ext_shared,,-I$pdo_inc_path) dnl PHP_ADD_EXTENSION_DEP(pdo_mysql, pdo) fi