File:
[ELWIX - Embedded LightWeight unIX -] /
embedaddon /
php /
ext /
odbc /
config.w32
Revision
1.1.1.2 (vendor branch):
download - view:
text,
annotated -
select for diffs -
revision graph
Tue May 29 12:34:41 2012 UTC (12 years, 10 months ago) by
misho
Branches:
php,
MAIN
CVS tags:
v5_4_3elwix,
v5_4_29p0,
v5_4_29,
v5_4_20p0,
v5_4_20,
v5_4_17p0,
v5_4_17,
HEAD
php 5.4.3+patches
1: // $Id: config.w32,v 1.1.1.2 2012/05/29 12:34:41 misho Exp $
2: // vim:ft=javascript
3:
4: ARG_ENABLE("odbc", "ODBC support", "yes");
5:
6: if (PHP_ODBC == "yes") {
7: if (CHECK_LIB("odbc32.lib", "odbc") && CHECK_LIB("odbccp32.lib", "odbc")
8: && CHECK_HEADER_ADD_INCLUDE("sql.h", "CFLAGS_ODBC")
9: && CHECK_HEADER_ADD_INCLUDE("sqlext.h", "CFLAGS_ODBC")) {
10: EXTENSION("odbc", "php_odbc.c");
11: AC_DEFINE("HAVE_UODBC", 1, "ODBC support");
12: } else {
13: WARNING("odbc support can't be enabled, libraries or header are missing (SDK)")
14: PHP_ODBC = "no"
15: }
16: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>