# FIXME: 
# Some options are enabled or disabled by default with pragma, so we need to
# manually set CFLAGS. While some other options are set with autosetup, so we
# set them with `AUTOSETUP_AFTER` in `defines`
# see: 
# [^1] https://sqlite.org/compile.html#_options_to_enable_features_normally_turned_off
# [^2] https://sqlite.org/compile.html#_options_to_disable_features_normally_turned_on
abinfo "Fedora: Setting some extra flags for SQLite features ..."
export CFLAGS="${CFLAGS} \
                 -DSQLITE_ENABLE_COLUMN_METADATA=1 \
                 -DSQLITE_DISABLE_DIRSYNC=1 \
                 -DSQLITE_SECURE_DELETE=1 \
                 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 \
                 -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
                 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 \
                 -DSQLITE_ENABLE_DBPAGE_VTAB \
                 -DSQLITE_ENABLE_SESSION \
                 -DSQLITE_ENABLE_PREUPDATE_HOOK"
