Ignore:
Timestamp:
2010-01-15T15:31:34+13:00 (14 years ago)
Author:
mdewsnip
Message:

Changed the SQLite configure stuff so USE_SQLITE is only defined if it is enabled (and undefined if it is disabled). This is required because the C++ code just uses "#ifdef USE_SQLITE", and previously this was always defined.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gs2-core/common-src/configure.ac

    r21467 r21474  
    5454
    5555# Option: SQLite support
    56 AC_ARG_ENABLE(sqlite, [ --enable-sqlite  Enable SQLite support], USE_SQLITE=1, USE_SQLITE=0)
    57 AC_DEFINE_UNQUOTED([USE_SQLITE], $USE_SQLITE, [SQLite support])
     56AC_ARG_ENABLE(sqlite, [ --enable-sqlite  Enable SQLite support], USE_SQLITE=1 && AC_DEFINE(USE_SQLITE, 1, [SQLite support]), USE_SQLITE=0)
    5857AM_CONDITIONAL(USE_SQLITE, test "$USE_SQLITE" = 1)
    5958
Note: See TracChangeset for help on using the changeset viewer.