Re: SQLite does not depend on zlib, was: Re: [PATCH] Split sql drivers from lib-sql to plugins

2015-05-04 Thread Teemu Huovila
On 04/22/2015 10:19 PM, Bernd Kuhls wrote:
 Bernd Kuhls bernd.ku...@t-online.de wrote in 
 news:xnsa3df68dcaef69berndkuhlspkbjnfx...@bernd-kuhls.de:
 
 Tomas Janousek tjano...@redhat.com wrote in news:20070413132731.GA8281
 @redhat.com:

 -   SQL_LIBS=$SQL_LIBS -lsqlite3 -lz
 +   SQLITE_LIBS=$SQLITE_LIBS -lsqlite3 -lz

 Hi,

 this patch fixes a build error during cross compilation to a system without 
 the libz target package:

 --- dovecot-2.2.15.org/configure.ac 2014-10-25 05:57:08.0 +0200
 +++ dovecot-2.2.15/configure.ac 2014-11-08 10:06:23.015570150 +0100
 @@ -2293,7 +2293,7 @@
  if test $want_sqlite != no; then
 AC_CHECK_LIB(sqlite3, sqlite3_open, [
 AC_CHECK_HEADER(sqlite3.h, [
 -   SQLITE_LIBS=$SQLITE_LIBS -lsqlite3 -lz
 +   SQLITE_LIBS=$SQLITE_LIBS -lsqlite3

 AC_DEFINE(HAVE_SQLITE,, Build with SQLite3 support)
 found_sql_drivers=$found_sql_drivers sqlite

 Regards, Bernd


 
 ping ;)
 
Thank you for the report http://hg.dovecot.org/dovecot-2.2/rev/e4ad83ed88c9

br,
Teemu Huovila


Re: SQLite does not depend on zlib, was: Re: [PATCH] Split sql drivers from lib-sql to plugins

2015-04-22 Thread Bernd Kuhls
Bernd Kuhls bernd.ku...@t-online.de wrote in 
news:xnsa3df68dcaef69berndkuhlspkbjnfx...@bernd-kuhls.de:

 Tomas Janousek tjano...@redhat.com wrote in news:20070413132731.GA8281
 @redhat.com:
 
 -   SQL_LIBS=$SQL_LIBS -lsqlite3 -lz
 +   SQLITE_LIBS=$SQLITE_LIBS -lsqlite3 -lz
 
 Hi,
 
 this patch fixes a build error during cross compilation to a system without 
 the libz target package:
 
 --- dovecot-2.2.15.org/configure.ac 2014-10-25 05:57:08.0 +0200
 +++ dovecot-2.2.15/configure.ac 2014-11-08 10:06:23.015570150 +0100
 @@ -2293,7 +2293,7 @@
  if test $want_sqlite != no; then
 AC_CHECK_LIB(sqlite3, sqlite3_open, [
 AC_CHECK_HEADER(sqlite3.h, [
 -   SQLITE_LIBS=$SQLITE_LIBS -lsqlite3 -lz
 +   SQLITE_LIBS=$SQLITE_LIBS -lsqlite3
 
 AC_DEFINE(HAVE_SQLITE,, Build with SQLite3 support)
 found_sql_drivers=$found_sql_drivers sqlite
 
 Regards, Bernd
 
 

ping ;)