Commit 211ab3ef authored by Sam Hocevar's avatar Sam Hocevar
Browse files

* ./configure.ac.in: fiddled with linking flags for the KDE plugin.

parent 0ea89b23
......@@ -2411,7 +2411,21 @@ AC_ARG_ENABLE(kde,
[if test "x${enable_kde}" = "xyes"; then
PLUGINS="${PLUGINS} kde"
ALIASES="${ALIASES} kvlc"
LDFLAGS_kde="${LDFLAGS_kde} -L${KDEDIR}/lib -lkfile"
LDFLAGS_kde="${LDFLAGS_kde} -L${KDEDIR}/lib"
dnl Check for -lkfile (only in KDE 2) or -lkdeui -lkio (KDE 3)
LDFLAGS="${LDFLAGS_save} ${LDFLAGS_kde}"
AC_CHECK_LIB(kfile,main,[
LDFLAGS_kde="${LDFLAGS_kde} -lkfile"
])
LDFLAGS="${LDFLAGS_save} ${LDFLAGS_kde}"
AC_CHECK_LIB(kdeui,main,[
LDFLAGS_kde="${LDFLAGS_kde} -lkdeui"
])
LDFLAGS="${LDFLAGS_save} ${LDFLAGS_kde}"
AC_CHECK_LIB(kio,main,[
LDFLAGS_kde="${LDFLAGS_kde} -lkio"
])
LDFLAGS="${LDFLAGS_save}"
CPPFLAGS_kde="${CPPFLAGS_kde} -I/usr/include/kde -I/usr/include/qt"
CPPFLAGS_kde="${CPPFLAGS_kde} -I${KDEDIR}/include -I${QTDIR}/include"
if test -x ${QTDIR}/bin/moc
......
Supports Markdown
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