Use @naikel's suggestions for previous commit.

This commit is contained in:
sledgehammer999 2017-02-06 23:00:22 +02:00
parent 32b7f0745f
commit 49332ab12c
No known key found for this signature in database
GPG Key ID: 6E4A2D025B7CC9A2

View File

@ -12,9 +12,9 @@ AC_DEFUN([FIND_QT4],
[QT_QMAKE=`AS_DIRNAME(["$QT_QMAKE"])`])
])
AS_IF([$QT_QMAKE/qmake],
AS_IF([test -f "$QT_QMAKE/qmake"],
[QT_QMAKE="$QT_QMAKE/qmake"],
[AS_IF([$QT_QMAKE/qmake-qt4],
[AS_IF([test -f "$QT_QMAKE/qmake-qt4"],
[QT_QMAKE="$QT_QMAKE/qmake-qt4"],
[QT_QMAKE=""])
])
@ -38,7 +38,7 @@ AC_DEFUN([FIND_QT5],
AS_IF([test -f "$QT_QMAKE/qmake"],
[QT_QMAKE="$QT_QMAKE/qmake"],
[AS_IF([test -f "$QT_QMAKE/qmake-qt5"]
[AS_IF([test -f "$QT_QMAKE/qmake-qt5"],
[QT_QMAKE="$QT_QMAKE/qmake-qt5"],
[QT_QMAKE=""])
])