--- configure.old	2015-03-09 21:25:16.565788946 -0400
+++ configure	2015-03-09 21:26:18.240586161 -0400
@@ -363,7 +363,7 @@
     echo "  QTDIR environment variable not set!"
     printf "  Checking for Qt..."
     for d in /usr/{lib,share,qt}/{qt-4,qt4,qt,qt*,4} /usr; do
-      for e in qmake gmake-qt4; do
+      for e in qmake qmake-qt4; do
         if test -x "$d/bin/$e"; then
           QTDIR=$d
           QMAKEEXE=$e
@@ -372,7 +372,7 @@
       done
     done
   else
-    for e in qmake gmake-qt4; do
+    for e in qmake qmake-qt4; do
       if test -x "$QTDIR/bin/$e"; then
         if test -e "$QTDIR/bin/$e"; then
           printf "  Detected Qt via the QTDIR environment variable..."
