src_compile() {
local myregexp="posix"
local mymmx=""
use pcre && myregexp="pcre"
if use amd64; then
mymmx="--enable-mmx"
else
mymmx=`use_enable mmx`
fi
econf \
$(use_with imlib) \
$(use_enable mmx) \
${mymmx} \
--with-regexp=${myregexp} \
|| die
emake || die