Show
Ignore:
Timestamp:
18.01.2010 16:56:17 (10 years ago)
Author:
mdewsnip
Message:

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

Files:
1 modified

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