--- configure.ac.orig 2013-07-16 21:37:30.000000000 -0500 +++ configure.ac 2013-07-16 21:37:49.000000000 -0500 @@ -292,7 +292,7 @@ # autodetection of Qt4 dependencies m4_include([configure.qt.inc]) - if [[[ $QT4INC != "" && $QT4MOC != "" ]]] ; then + if [[ "$QT4INC" -a "$QT4MOC" ]] ; then # we have moc4 and path to Qt4 include files, # so we can build xcwcp WITH_XCWCP='yes'