#!/bin/sh

. config/options $1

cd $PKG_BUILD
ac_cv_path_GLIB_GENMARSHAL=$ROOT/$TOOLCHAIN/bin/glib-genmarshal \
./configure --host=$TARGET_NAME \
            --build=$HOST_NAME \
            --prefix=/usr \
            --sysconfdir=/etc \
            --localstatedir=/var \
            --disable-static \
            --enable-shared \
            --disable-glibtest \
            --enable-modules \
            --enable-explicit-deps=no \
            --disable-debug \
            --enable-shm \
            --disable-cups \
            --disable-papi \
            --enable-xkb \
            --disable-xinerama \
            --with-xinput

make SRC_SUBDIRS="gdk gtk modules"

$MAKEINSTALL SRC_SUBDIRS="gdk gtk modules"
