diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-11-26 19:17:21 -0800 |
---|---|---|
committer | david <david@david-desktop.(none)> | 2014-11-21 09:41:00 +0800 |
commit | 456e2c41927b67d26b563711acdf382e1d1e0d4a (patch) | |
tree | e99d6a64976dea0ec2257937ee6f5db912a92d1b | |
parent | 4a514fc12b5de87d8ee009b1e5d313af73505ec2 (diff) | |
download | libsoup-456e2c41927b67d26b563711acdf382e1d1e0d4a.tar.gz libsoup-456e2c41927b67d26b563711acdf382e1d1e0d4a.tar.bz2 libsoup-456e2c41927b67d26b563711acdf382e1d1e0d4a.zip |
adapt configure script
-rw-r--r-- | configure.ac | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 96bb378a..369e9317 100644 --- a/configure.ac +++ b/configure.ac @@ -128,6 +128,30 @@ dnl *** Misc checks *** dnl ******************* AC_CHECK_FUNCS(gmtime_r) +dnl ************************* +dnl *** SQL Lite support independently of gnome for Tizen *** +dnl ************************* + +AC_ARG_ENABLE(sqllite, + AS_HELP_STRING([--enable-sqllite], [Enable SQL lite support ]), , + enable_sqllite=no) + +if test "$enable_sqllite" != "no"; then + PKG_CHECK_MODULES(SQLITE, sqlite3, :, [AC_MSG_ERROR(dnl +[Could not find sqlite3 devel files: + +$SQLITE_PKG_ERRORS + +Pass "--without-sqlite" to configure if you want to build libsoup +without sql lite support.])]) + +fi + +AC_SUBST(SQLITE_CFLAGS) +AC_SUBST(SQLITE_LIBS) + +AM_CONDITIONAL(SQLLITE_SUPPORT, [test $enable_sqllite = yes]) + dnl ********************* dnl *** GNOME support *** dnl ********************* |