Fix toolkit configuration report.
authorDmitry Antipov <dmantipov@yandex.ru>
Tue, 17 Jul 2012 07:30:25 +0000 (11:30 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Tue, 17 Jul 2012 07:30:25 +0000 (11:30 +0400)
* configure.ac (USE_X_TOOLKIT): Report toolkit as GTK3 if
--with-x-toolkit=gtk3 is used.

ChangeLog
configure.ac

index 219c924..03f4291 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-07-17  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       Fix toolkit configuration report.
+       * configure.ac (USE_X_TOOLKIT): Report toolkit as GTK3 if
+       --with-x-toolkit=gtk3 is used.
+
 2012-07-17  Paul Eggert  <eggert@cs.ucla.edu>
 
        Fix regression with pthread_sigmask on FreeBSD (Bug#11884).
index 12869e1..fba9851 100644 (file)
@@ -4298,7 +4298,11 @@ End:
 #### It makes printing result more understandable as using GTK sets
 #### toolkit_scroll_bars to yes by default.
 if test "${HAVE_GTK}" = "yes"; then
-  USE_X_TOOLKIT=GTK
+  if test "${with_gtk3}" = "yes"; then
+    USE_X_TOOLKIT=GTK3
+  else
+    USE_X_TOOLKIT=GTK
+  fi
 fi
 
 echo "