Displaying 2 results from an estimated 2 matches for "sql_moduledir".
2009 Sep 27
1
Sieve: problems installing in different prefix
...ok at the Dovecot source distribution. Here all
libraries are installed correctly under the specified prefix. An example
is src/lib-sql. The generated Makefile includes these lines, which are
correctly honouring the prefix:
exec_prefix = ${prefix}
...
moduledir = ${exec_prefix}/lib/dovecot
...
#sql_moduledir = $(moduledir)/sql
AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib \
-DMODULEDIR=\""$(moduledir)"\" \
$(SQL_CFLAGS)
The last few lines seems to make sure that gcc uses the defined
moduledir, but as usual generated code is not immediately comprehensible
for the casual view...
2010 Apr 14
4
PostgreSQL driver supporting [round-robin] load balancing and redundancy [LONG]
...SQLITE_LIB = libdriver_sqlite.la
SQL_DRIVER_PLUGINS += sqlite
endif
+if BUILD_MULTI_PGSQL
+MULTI_PGSQL_LIB = libdriver_multi_pgsql.la
+SQL_DRIVER_PLUGINS += multi_pgsql
+endif
sql_module_LTLIBRARIES = \
$(MYSQL_LIB) \
$(PGSQL_LIB) \
- $(SQLITE_LIB)
+ $(SQLITE_LIB) \
+ $(MULTI_PGSQL_LIB)
sql_moduledir = $(moduledir)/sql
endif
@@ -39,7 +44,8 @@
driver_sources = \
driver-mysql.c \
driver-pgsql.c \
- driver-sqlite.c
+ driver-sqlite.c \
+ driver-multi-pgsql.c
endif
libsql_a_SOURCES = \
@@ -62,6 +68,11 @@
libdriver_sqlite_la_LIBADD = $(SQLITE_LIBS)
libdriver_sqlite_la_CPPFLAGS = -I$(top_s...