File:
[ELWIX - Embedded LightWeight unIX -] /
embedaddon /
php /
ext /
dba /
config.w32
Revision
1.1.1.2 (vendor branch):
download - view:
text,
annotated -
select for diffs -
revision graph
Tue May 29 12:34:37 2012 UTC (12 years, 5 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:37 misho Exp $
2: // vim:ft=javascript
3:
4: ARG_WITH("dba", "DBA support", "no");
5:
6: if (PHP_DBA != "no") {
7: if (CHECK_LIB("libdb31s.lib", "dba", PHP_DBA) &&
8: CHECK_HEADER_ADD_INCLUDE("db.h", "CFLAGS_DBA")) {
9: EXTENSION("dba", "dba.c dba_cdb.c dba_db1.c dba_db2.c dba_db3.c dba_dbm.c dba_flatfile.c dba_gdbm.c dba_ndbm.c dba_inifile.c");
10: ADD_SOURCES("ext/dba/libcdb", "cdb.c cdb_make.c uint32.c", "dba");
11: ADD_SOURCES("ext/dba/libflatfile", "flatfile.c", "dba");
12: ADD_SOURCES("ext/dba/libinifile", "inifile.c", "dba");
13: AC_DEFINE('HAVE_DBA', 1, 'DBA support');
14: ADD_FLAG("CFLAGS_DBA", "/D DBA_DB1=0 /D DB1_VERSION=\"\\\"Berkeley DB 1.85 emulation in DB3\\\"\" /D DB1_INCLUDE_FILE=\"\\\"db_185.h\\\"\" /D DBA_DB3=1 /D DB3_INCLUDE_FILE=\"\\\"db.h\\\"\" /D DBA_FLATFILE=1 /D DBA_CDB=1 /D DBA_CDB_MAKE=1 /D DBA_CDB_BUILTIN=1 /D DBA_INIFILE=1");
15: } else {
16: WARNING("dba not enabled; libraries and headers not found");
17: }
18: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>