check for qt's moc preprocessor explicitly and use it

Original commit message from CVS:
* configure.ac:
* ext/kio/Makefile.am:
check for qt's moc preprocessor explicitly and use it
This commit is contained in:
Benjamin Otte 2004-06-05 14:34:02 +00:00
parent cdb0c05c98
commit 4455243d07
2 changed files with 63 additions and 52 deletions

View file

@ -1,3 +1,9 @@
2004-06-05 Benjamin Otte <otte@gnome.org>
* configure.ac:
* ext/kio/Makefile.am:
check for qt's moc preprocessor explicitly and use it
2004-06-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
* gst/tcp/gsttcp.c: (gst_tcp_socket_write):

View file

@ -1072,6 +1072,10 @@ dnl * KDE *
translit(dnm, m, l) AM_CONDITIONAL(USE_KIO, true)
GST_CHECK_FEATURE(KIO, [kio], kio, [
AC_PATH_PROG(KDE_MOC, moc, no)
if test x$KDE_MOC = xno; then
HAVE_KIO="false"
else
AC_PATH_PROG(KDE_CONFIG, kde-config, no)
if test x$KDE_CONFIG != xno; then
@ -1116,7 +1120,7 @@ GST_CHECK_FEATURE(KIO, [kio], kio, [
AC_TRY_LINK([
#include <kio/job.h>
], [
KIO::get ("bla")
KIO::get ("bla")
], HAVE_KIO="yes", HAVE_KIO="no")
LIBS="$save_LIBS"
CPPFLAGS="$save_CPPFLAGS"
@ -1126,6 +1130,7 @@ KIO::get ("bla")
else
HAVE_KIO="false"
fi
fi
])
dnl *** ladspa ***