Bug 629576 - MOZ_NATIVE_SQLITE is not defined for C++ code. r=bugspam.Callek
authorGinn Chen <ginn.chen@oracle.com>
Thu, 07 Apr 2011 12:59:20 +0800
changeset 7516 951966cbdc390c6198fe0508febce0a30fe228f1
parent 7515 64f6a4022713d7264506eedc9163d23986974d99
child 7517 f8f7eaacaf0fffbe6e8d4efaf74be073b9ef3d52
push idunknown
push userunknown
push dateunknown
reviewersbugspam.Callek
bugs629576
Bug 629576 - MOZ_NATIVE_SQLITE is not defined for C++ code. r=bugspam.Callek
configure.in
--- a/configure.in
+++ b/configure.in
@@ -5599,16 +5599,19 @@ MOZ_NATIVE_SQLITE= )
 if test -z "$MOZ_NATIVE_SQLITE"
 then
     SQLITE_CFLAGS=
     SQLITE_LIBS='$(call EXPAND_LIBNAME_PATH,mozsqlite3,$(DIST)/lib)'
 else
     PKG_CHECK_MODULES(SQLITE, sqlite3 >= $SQLITE_VERSION)
 fi
 
+if test -n "$MOZ_NATIVE_SQLITE"; then
+    AC_DEFINE(MOZ_NATIVE_SQLITE)
+fi
 AC_SUBST(MOZ_NATIVE_SQLITE)
 
 dnl ========================================================
 dnl = Enable help viewer (off by default)
 dnl ========================================================
 if test -n "$MOZ_HELP_VIEWER"; then
      dnl Do this if defined in confvars.sh
      AC_DEFINE(MOZ_HELP_VIEWER)