#! /bin/sh

export CPPFLAGS="-Os"

FEATURE_LIST=""
FEATURE_LIST="$FEATURE_LIST --enable-jit=yes --enable-debug=no"
FEATURE_LIST="$FEATURE_LIST --enable-xslt=no --enable-X11=no"
FEATURE_LIST="$FEATURE_LIST --enable-bml=yes --enable-dsm-cc=yes"
FEATURE_LIST="$FEATURE_LIST --enable-nettv=yes"
FEATURE_LIST="$FEATURE_LIST --enable-fast-malloc=yes"
FEATURE_LIST="$FEATURE_LIST --enable-web-sockets=yes"
FEATURE_LIST="$FEATURE_LIST --enable-indexed-database=yes"
FEATURE_LIST="$FEATURE_LIST --enable-geolocation=yes"
FEATURE_LIST="$FEATURE_LIST --enable-meter-tag=yes --enable-progress-tag=yes"
FEATURE_LIST="$FEATURE_LIST --enable-notifications=yes"
FEATURE_LIST="$FEATURE_LIST --enable-ipv6=yes"
FEATURE_LIST="$FEATURE_LIST --enable-complex-text=yes"

./autogen.sh --prefix=/usr/local/WebKit-r47744/ --enable-static=no --enable-shared=yes $FEATURE_LIST
