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
commit174927d999ec7256ddbf875a5308242d5a744a66 (patch)
tree6c596ab47e67f6a2a0de8329421921bfcdb2e46a
parent73d5bfb1b3736d3dca00fe6e76c1e719c753dea1 (diff)
downloadnohands-174927d999ec7256ddbf875a5308242d5a744a66.tar.gz
Support building without X11 headers.
git-svn-id: http://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([[