configure.in fix

Jeffrey Stedfast fejj at novell.com
Wed Jun 8 08:08:56 PDT 2005


if AC_PATH_PROG(QT_MOC, moc, no) fails to find moc, it sets QT_MOC to
"no" but this is never checked and so it's possible that it tries
building the qt bindings even when there is no moc

the fix seems to be to chnge the following line:

if test -n "$QTDIR" -a -f "$QTDIR/include/qglobal.h"; then

to something along the lines of:

if test -n "$QTDIR" -a -f "$QTDIR/include/qglobal.h" -a "$QT_MOC" !=
"no"; then

(for some oddball reason, SuSE 9.3 doesn't seem to have moc installed
even tho qt3 and qt3-devel are... no clue where else moc could come
from)

-- 
Jeffrey Stedfast
Evolution Hacker - Novell, Inc.
fejj at ximian.com  - www.novell.com



More information about the dbus mailing list