mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-21 08:09:35 +08:00
Use @naikel's suggestions for previous commit.
This commit is contained in:
parent
32b7f0745f
commit
49332ab12c
@ -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=""])
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user