Define QT_CLEAN_NAMESPACE during libmng checks

r14.0.x
Timothy Pearson 13 years ago
parent 8c3eaf5ea1
commit 59c7639f5e

@ -98,6 +98,8 @@ AC_SUBST(GV_ASM_DEFS)
# libmng check (for gvmngformattype.*)
#
LIBMNG=
CXXFLAGS_SAVE="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -DQT_CLEAN_NAMESPACE"
KDE_CHECK_HEADER(libmng.h,
[
KDE_CHECK_LIB(mng, mng_initialize,
@ -106,6 +108,7 @@ KDE_CHECK_HEADER(libmng.h,
LIBMNG="-lmng $LIBZ -lm"
], [], $LIBZ -lm)
])
CXXFLAGS="$CXXFLAGS_SAVE"
AC_SUBST(LIBMNG)
if test -z "$LIBMNG"; then
AC_WARN([Can't find libmng.h, Gwenview won't be compiled with MNG support])

Loading…
Cancel
Save