summaryrefslogtreecommitdiffstats
path: root/database/libdbi-drivers/DEPENDS
blob: ee75d8cf6cd808884fe462cd7dd1680e249c0532 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
depends libdbi &&

optional_depends "FIREBIRD" \
                 "--with-firebird --with-firebird-dir=$INSTALL_ROOT/opt/firebird" \
                 "--without-firebird" \
                 "database support"  &&

optional_depends "postgresql" \
                 "--with-pgsql" \
                 "--without-pgsql" \
                 "database support" &&

optional_depends "MYSQL" \
                 "--with-mysql" \
                 "--without-mysql" \
                 "database support" &&

if is_depends_enabled $SPELL $(get_spell_provider $SPELL MYSQL); then
  config_query_option LIBDBI_DRIVERS_OPTS "Use threadsafe version of libmysqlclient?" y \
                                          "--enable-mysql-threadsafe" \
                                          "--disable-mysql-threadsafe"
fi &&

optional_depends "sqlite2" \
                 "--with-sqlite" \
                 "--without-sqlite" \
                 "database support"  &&

optional_depends "sqlite" \
                 "--with-sqlite3" \
                 "--without-sqlite3" \
                 "database support"  &&

optional_depends openjade \
                 "--enable-docs" \
                 "--disable-docs" \
                 "to build documentation"