[glom] Fix check for SQLite and libgettextpo



commit 01c621898d2f053f7a938cb086a7b18f6dd33f2d
Author: David King <davidk openismus com>
Date:   Fri Nov 13 15:22:49 2009 +0100

    Fix check for SQLite and libgettextpo
    
    * configure.ac: Fix check for SQLite and libgettextpo.

 ChangeLog    |    4 ++++
 configure.ac |    4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 3e23036..d0ad585 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-11-13  David King  <davidk openismus com>
+
+	* configure.ac: Fix check for SQLite and libgettextpo.
+
 2009-11-12  David King  <davidk openismus com>
 
 	* glom/glom_document.dtd: Update to more completely validate example
diff --git a/configure.ac b/configure.ac
index 128c258..92eb163 100644
--- a/configure.ac
+++ b/configure.ac
@@ -48,7 +48,7 @@ AC_DEFINE_UNQUOTED([GLOM_ABI_VERSION_UNDERLINED], ["AS_TR_SH([$GLOM_ABI_VERSION]
                    [Define to the Glom ABI version with '.' replaced by '_'.])
 
 # Only check for libgettextpo on non-Maemo platforms.
-AS_IF([test "x$glom_enable_maemo" = xyes],
+AS_IF([test "x$glom_enable_maemo" != xyes],
       [
         # libgettext-po changed its API, changing the error handler struct
         # from po_error_handler to po_xerror_handler:
@@ -121,7 +121,7 @@ AC_ARG_ENABLE([sqlite],
 
 AM_CONDITIONAL([GLOM_ENABLE_SQLITE], [test "x$glom_enable_sqlite" = xyes])
 
-AS_IF([test "x$glom_enable_sqlite" != xyes],
+AS_IF([test "x$glom_enable_sqlite" = xyes],
       [AC_DEFINE([GLOM_ENABLE_SQLITE], [1],
                  [Whether to enable support for SQLite databases.])])
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]