diff options
| author | Jan Djärv | 2012-09-18 20:13:01 +0200 |
|---|---|---|
| committer | Jan Djärv | 2012-09-18 20:13:01 +0200 |
| commit | 5fb91e7197bd800240e39a05c070ca37860af68a (patch) | |
| tree | 57fc9a6960b2cd7093e1d43064b80e70f01a88f9 | |
| parent | ae97707fa29a4413d23d44402dbe7dacb6e4f09a (diff) | |
| download | emacs-5fb91e7197bd800240e39a05c070ca37860af68a.tar.gz emacs-5fb91e7197bd800240e39a05c070ca37860af68a.zip | |
* configure.ac (HAVE_GTK): Mention if we use GTK2 or GTK3.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | configure.ac | 4 |
2 files changed, 7 insertions, 1 deletions
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-09-18 Jan Djärv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * configure.ac (HAVE_GTK): Mention if we use GTK2 or GTK3. | ||
| 4 | |||
| 1 | 2012-09-17 Andreas Schwab <schwab@linux-m68k.org> | 5 | 2012-09-17 Andreas Schwab <schwab@linux-m68k.org> |
| 2 | 6 | ||
| 3 | * Makefile.in (bootstrap): Revert last change. Run config.status | 7 | * Makefile.in (bootstrap): Revert last change. Run config.status |
diff --git a/configure.ac b/configure.ac index d0cbabf3d3d..a6462f7959a 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -1914,6 +1914,7 @@ if test "${with_gtk3}" = "yes" || test "${with_gtk}" = "yes" || test "$USE_X_TOO | |||
| 1914 | AC_DEFINE(HAVE_GTK3, 1, [Define to 1 if using GTK 3 or later.]) | 1914 | AC_DEFINE(HAVE_GTK3, 1, [Define to 1 if using GTK 3 or later.]) |
| 1915 | GTK_OBJ=emacsgtkfixed.o | 1915 | GTK_OBJ=emacsgtkfixed.o |
| 1916 | term_header=gtkutil.h | 1916 | term_header=gtkutil.h |
| 1917 | USE_GTK_TOOLKIT="GTK3" | ||
| 1917 | else | 1918 | else |
| 1918 | check_gtk2=yes | 1919 | check_gtk2=yes |
| 1919 | gtk3_pkg_errors="$GTK_PKG_ERRORS " | 1920 | gtk3_pkg_errors="$GTK_PKG_ERRORS " |
| @@ -1932,6 +1933,7 @@ if test "${with_gtk2}" = "yes" || test "$check_gtk2" = "yes"; then | |||
| 1932 | then | 1933 | then |
| 1933 | AC_MSG_ERROR($gtk3_pkg_errors$GTK_PKG_ERRORS) | 1934 | AC_MSG_ERROR($gtk3_pkg_errors$GTK_PKG_ERRORS) |
| 1934 | fi | 1935 | fi |
| 1936 | test "$pkg_check_gtk" = "yes" && USE_GTK_TOOLKIT="GTK2" | ||
| 1935 | fi | 1937 | fi |
| 1936 | 1938 | ||
| 1937 | if test x"$pkg_check_gtk" = xyes; then | 1939 | if test x"$pkg_check_gtk" = xyes; then |
| @@ -4396,7 +4398,7 @@ End: | |||
| 4396 | #### It makes printing result more understandable as using GTK sets | 4398 | #### It makes printing result more understandable as using GTK sets |
| 4397 | #### toolkit_scroll_bars to yes by default. | 4399 | #### toolkit_scroll_bars to yes by default. |
| 4398 | if test "${HAVE_GTK}" = "yes"; then | 4400 | if test "${HAVE_GTK}" = "yes"; then |
| 4399 | USE_X_TOOLKIT=GTK | 4401 | USE_X_TOOLKIT="$USE_GTK_TOOLKIT" |
| 4400 | fi | 4402 | fi |
| 4401 | 4403 | ||
| 4402 | echo " | 4404 | echo " |