From: Arun Persaud <arun@nubati.net>
Date: Sat, 5 Mar 2016 21:03:04 +0000 (-0800)
Subject: fixed configure script: GTK default was enabled even with --with-Xaw
X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=d6438404a762693449d28ebe6986da4d49a194b6;p=xboard.git

fixed configure script: GTK default was enabled even with --with-Xaw
---

diff --git a/configure.ac b/configure.ac
index de6eadb..c958b5b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -144,11 +144,15 @@ AC_ARG_WITH([Xaw3d],
             [AS_HELP_STRING([--with-Xaw3d],[use Xaw3d front-end (not fully supported anymore)])],
             [with_Xaw3d="$withval"],
             [with_Xaw3d="no"])
+dnl | overwrite default gtk
+AS_IF([test "x$with_Xaw3d" = xyes], [with_GTK="no"])
 
 AC_ARG_WITH([Xaw],
             [AS_HELP_STRING([--with-Xaw],[use Xaw front-end])],
             [with_Xaw="$withval"],
             [with_Xaw="no"])
+dnl | overwrite default gtk
+AS_IF([test "x$with_Xaw" = xyes], [with_GTK="no"])
 
 AC_ARG_WITH([iconsdir],
             [AS_HELP_STRING([--with-iconsdir=DIR],