Commit cc35b1d0 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Added compiler and link flags to --enable-opie (not tested).

parent c14ee391
...@@ -1784,19 +1784,29 @@ AC_ARG_ENABLE(opie, ...@@ -1784,19 +1784,29 @@ AC_ARG_ENABLE(opie,
[ --with-qte=PATH Qt Embedded headers and libraries]) [ --with-qte=PATH Qt Embedded headers and libraries])
if test "x${with_qte}" = "x" if test "x${with_qte}" = "x"
then then
test_LDFLAGS="-L$(QTDIR)/lib" test_LDFLAGS="-L$(QTDIR)/lib -lqte"
test_CFLAGS="-I${QTDIR}/include" test_CFLAGS="-I${QTDIR}/include -DQT_QWS_IPAQ -DQWS -fno-exceptions -fno-rtti"
else else
test_LDFLAGS="-L${with_qte}/lib" test_LDFLAGS="-L${with_qte}/lib"
test_CFLAGS="-I${with_qte}/include" test_CFLAGS="-I${with_qte}/include"
fi fi
PLUGINS="${PLUGINS} gui/opie/opie" CPPFLAGS="${save_CPPFLAGS} ${test_CFLAGS}"
opie_LDFLAGS="${opie_LDFLAGS} ${test_LDFLAGS} -lqte" AC_CHECK_HEADERS(qt.h, [
opie_CFLAGS="${opie_CFLAGS} ${test_CFLAGS}" opie_CFLAGS="${opie_CFLAGS} ${test_CFLAGS}"
if test -x ${QTEDIR}/bin/moc opie_LDFLAGS="${opie_LDFLAGS} -lqpe ${test_LDFLAGS}"
if test "x${with_qte}" = "x"
then
PLUGINS="${PLUGINS} gui/opie/opie"
else
BUILTINS="${BUILTINS} gui/opie/opie"
fi
])
CPPFLAGS="${save_CPPFLAGS}"
if test -x ${QTDIR}/bin/moc
then then
MOC=${QTEDIR}/bin/moc MOC=${QTDIR}/bin/moc
else else
MOC=moc MOC=moc
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment