diff options
-rw-r--r-- | configure.in | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/configure.in b/configure.in index 746dc9f..c9f1e59 100644 --- a/configure.in +++ b/configure.in @@ -247,15 +247,20 @@ if test $use_nghost = "yes"; then fi -have_qt=no +have_qt=maybe if test $want_qt != no; then + AC_PATH_X + if test "$no_x" = yes; then + have_qt=no + fi +fi +if test $have_qt = "maybe"; then QT_CHECK_COMPILERS QT_PATH - if test $have_qt = "no" -a $want_qt = "maybe"; then - want_qt=no - fi fi - +if test $have_qt = "no" -a $want_qt = "maybe"; then + want_qt=no +fi if test $want_qt = "yes"; then if test $have_qt = "no"; then AC_MSG_ERROR([[ |