Ignore:
Timestamp:
2010-01-18T16:56:17+13:00 (14 years ago)
Author:
mdewsnip
Message:

Fixing up inclusion/exclusion of SQLite support, and changing default to be included.

File:
1 edited

Legend:

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

    r21517 r21519  
    5353AC_SUBST(COMPAT32BITFLAGS)
    5454
    55 # Option: SQLite support
    56 AC_ARG_ENABLE(sqlite, [ --enable-sqlite  Enable SQLite support], USE_SQLITE=1 && AC_DEFINE(USE_SQLITE, 1, [SQLite support]), USE_SQLITE=0)
    57 AM_CONDITIONAL(USE_SQLITE, test "$USE_SQLITE" = 1)
     55# Option: SQLite support (enabled by default)
     56AC_ARG_ENABLE([sqlite], [AS_HELP_STRING([--disable-sqlite], [Disable SQLite support])], [], [enable_sqlite=yes])
     57if test "x$enable_sqlite" != xno; then
     58  AC_DEFINE(USE_SQLITE, 1, [SQLite support])
     59fi
     60AM_CONDITIONAL(USE_SQLITE, test "x$enable_sqlite" != xno)
    5861
    5962# Configure the common-src subdirectory
Note: See TracChangeset for help on using the changeset viewer.