summaryrefslogtreecommitdiff
path: root/ext/pdo/config.m4
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2004-05-17 15:41:51 +0000
committerWez Furlong <wez@php.net>2004-05-17 15:41:51 +0000
commit684be9cf36c48893d98f980eafc4fe08ac98dbfa (patch)
tree2a6f986315c5eb1663a5295ac53fc1322c5fe388 /ext/pdo/config.m4
parent3a4f33e31ff77da46b24b2651fed259ca52104c6 (diff)
downloadphp-git-684be9cf36c48893d98f980eafc4fe08ac98dbfa.tar.gz
Hello PDO.
Still more to come. Give it a couple of days before starting to write drivers for the other databases; a few things might change, so I'd like to coordinate that, but in a couple of days.
Diffstat (limited to 'ext/pdo/config.m4')
-rwxr-xr-xext/pdo/config.m49
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/pdo/config.m4 b/ext/pdo/config.m4
new file mode 100755
index 0000000000..97688d28bf
--- /dev/null
+++ b/ext/pdo/config.m4
@@ -0,0 +1,9 @@
+dnl $Id$
+dnl config.m4 for extension pdo
+
+PHP_ARG_ENABLE(pdo, whether to enable PDO support,
+[ --enable-pdo Enable PHP Data Objects support])
+
+if test "$PHP_PDO" != "no"; then
+ PHP_NEW_EXTENSION(pdo, pdo.c pdo_dbh.c pdo_stmt.c, $ext_shared)
+fi