]> git.eshelyaron.com Git - emacs.git/commitdiff
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 219c9240d27ca7acc7c6ae8b793c3f107bbcc6aa..03f4291a634c64bb53a7a37a72175963fb7d922e 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 12869e14e77d9b29147a0ab4619f08b3fc4c7747..fba98513825e1704cf1948c789601b14bd83a74b 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 "