Ignore:
Timestamp:
2010-01-19T15:38:38+13:00 (14 years ago)
Author:
mdewsnip
Message:

Added stuff for unpacking, configuring and compiling the SQLite package.

File:
1 edited

Legend:

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

    r21519 r21532  
    5757if test "x$enable_sqlite" != xno; then
    5858  AC_DEFINE(USE_SQLITE, 1, [SQLite support])
     59
     60  # Unpack SQLite (if it hasn't already been done)
     61  if test ! -d "packages/sqlite/sqlite-amalgamation-3.5.9"; then
     62    cd packages/sqlite
     63    gzip -dc sqlite-amalgamation-3.5.9.tar.gz | tar -xf -
     64    cd ../..
     65  fi
     66
     67  # Configure SQLite manually
     68  cd packages/sqlite/sqlite-amalgamation-3.5.9
     69  ./configure --prefix=`pwd`/..
     70  cd ../../..
    5971fi
    6072AM_CONDITIONAL(USE_SQLITE, test "x$enable_sqlite" != xno)
Note: See TracChangeset for help on using the changeset viewer.