Fix:Core:Some minor cleanups
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Fri, 3 Jul 2009 07:05:01 +0000 (07:05 +0000)
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Fri, 3 Jul 2009 07:05:01 +0000 (07:05 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit@2387 ffa7fe5e-494d-0410-b361-a75ebd5db220

configure.in

index 35d5a37..01ec002 100644 (file)
@@ -653,8 +653,8 @@ if test "x${graphics_qt_qpainter}" = "xyes" -a "x${QT_GUI_CFLAGS}" = "x" -a "x${
 fi
 if test "x${graphics_qt_qpainter}" = "xyes" ; then
        AC_DEFINE(USE_GRAPICS_QT_QPAINTER, 1, [Build with graphics qt_qpainter])
-       MOC=`pkg-config QtGui --variable=moc_location`
-       if test -z "$MOC" ; then
+       MOC=`$PKGCONFIG QtGui --variable=moc_location`
+       if test "x${MOC}" = "x"; then
                AC_CHECK_PROG(MOC, moc, moc)
        fi
        AC_SUBST(MOC)