From 441efe9fdd79cfbfc2122054e1be52f0006b9f53 Mon Sep 17 00:00:00 2001 From: Dmitry Antipov Date: Tue, 17 Jul 2012 11:30:25 +0400 Subject: [PATCH] Fix toolkit configuration report. * configure.ac (USE_X_TOOLKIT): Report toolkit as GTK3 if --with-x-toolkit=gtk3 is used. --- ChangeLog | 6 ++++++ configure.ac | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 219c9240d2..03f4291a63 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-07-17 Dmitry Antipov + + 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 Fix regression with pthread_sigmask on FreeBSD (Bug#11884). diff --git a/configure.ac b/configure.ac index 12869e14e7..fba9851382 100644 --- a/configure.ac +++ b/configure.ac @@ -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 " -- 2.20.1