summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsamr7 <samr7@126591fb-c623-4b62-a76d-97a8e4f34109>2008-12-06 23:58:33 +0000
committersamr7 <samr7@126591fb-c623-4b62-a76d-97a8e4f34109>2008-12-06 23:58:33 +0000
commit86d33611a7b545f7c82a4929ea463115aa67f4d4 (patch)
tree6c596ab47e67f6a2a0de8329421921bfcdb2e46a
parent774962fcc66e4c57e54ca1e6baa8691d5e4cb4d9 (diff)
downloadnohands-86d33611a7b545f7c82a4929ea463115aa67f4d4.tar.gz
Support building without X11 headers.
git-svn-id: https://nohands.svn.sourceforge.net/svnroot/nohands/trunk@59 126591fb-c623-4b62-a76d-97a8e4f34109
-rw-r--r--configure.in15
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([[