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.

Location:
main/trunk/gs2-core/runtime-src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gs2-core/runtime-src/configure

    r21505 r21519  
    822822  --disable-dependency-tracking  speeds up one-time build
    823823  --enable-dependency-tracking   do not reject slow dependency extractors
    824  --enable-sqlite  Enable SQLite support
     824  --disable-sqlite        Disable SQLite support
    825825
    826826Some influential environment variables:
     
    35883588
    35893589
    3590 # Option: SQLite support
     3590# Option: SQLite support (enabled by default)
    35913591# Check whether --enable-sqlite or --disable-sqlite was given.
    35923592if test "${enable_sqlite+set}" = set; then
    35933593  enableval="$enable_sqlite"
    3594   USE_SQLITE=1 &&
     3594
     3595else
     3596  enable_sqlite=yes
     3597fi;
     3598if test "x$enable_sqlite" != xno; then
     3599
    35953600cat >>confdefs.h <<\_ACEOF
    35963601#define USE_SQLITE 1
    35973602_ACEOF
    35983603
    3599 else
    3600   USE_SQLITE=0
    3601 fi;
    3602 
    3603 
    3604 if test "$USE_SQLITE" = 1; then
     3604fi
     3605
     3606
     3607if test "x$enable_sqlite" != xno; then
    36053608  USE_SQLITE_TRUE=
    36063609  USE_SQLITE_FALSE='#'
  • main/trunk/gs2-core/runtime-src/configure.ac

    r21505 r21519  
    5656AC_SUBST(COMPAT32BITFLAGS)
    5757
    58 # Option: SQLite support
    59 AC_ARG_ENABLE(sqlite, [ --enable-sqlite  Enable SQLite support], USE_SQLITE=1 && AC_DEFINE(USE_SQLITE, 1, [SQLite support]), USE_SQLITE=0)
    60 AM_CONDITIONAL(USE_SQLITE, test "$USE_SQLITE" = 1)
     58# Option: SQLite support (enabled by default)
     59AC_ARG_ENABLE([sqlite], [AS_HELP_STRING([--disable-sqlite], [Disable SQLite support])], [], [enable_sqlite=yes])
     60if test "x$enable_sqlite" != xno; then
     61  AC_DEFINE(USE_SQLITE, 1, [SQLite support])
     62fi
     63AM_CONDITIONAL(USE_SQLITE, test "x$enable_sqlite" != xno)
    6164
    6265# Generate the Makefiles for this package
Note: See TracChangeset for help on using the changeset viewer.