Changeset 20aac0cb70064af0988e83315bdac9e197eae9a5
- Timestamp:
- 03/27/11 16:41:33 (2 years ago)
- Author:
- Armin Burgmeier <armin@…>
- Parents:
- 77ca41d9d889608a4373d0acaab6fbf8c822d5d1
- Children:
- 44eeb15f37d732cea9dc41fc72852c3231570ab0
- git-committer:
- Armin Burgmeier <armin@arbur.net> / 2011-03-27T16:41:33Z+0200
- Message:
-
Use unique-3.0 when compiling against GTK+ 3.0
2011-02-27 Armin Burgmeier <armin@…>
- configure.ac: Use unique-3.0 when compiling against GTK+ 3.0.
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r77ca41d
|
r20aac0c
|
|
| | 1 | 2011-02-27 Armin Burgmeier <armin@arbur.net> |
| | 2 | |
| | 3 | * configure.ac: Use unique-3.0 when compiling against GTK+ 3.0. |
| | 4 | |
| 1 | 5 | 2011-01-30 Armin Burgmeier <armin@arbur.net> |
| 2 | 6 | |
-
|
r124c09a
|
r20aac0c
|
|
| 110 | 110 | [use_unique=$withval], [use_unique=auto]) |
| 111 | 111 | |
| 112 | | # Ignore this setting if not using unique, |
| 113 | | # we might later use GtkApplication instead |
| 114 | 112 | if test "$with_gtk3" != "yes"; then |
| 115 | | if test "x$use_unique" = "xauto"; then |
| 116 | | PKG_CHECK_MODULES([unique], [unique-1.0 >= 1.1.2], [use_unique=yes], [use_unique=no]) |
| 117 | | elif test "x$use_unique" = "xyes"; then |
| 118 | | PKG_CHECK_MODULES([unique], [unique-1.0 >= 1.1.2]) |
| 119 | | fi |
| 120 | | |
| 121 | | if test "x$use_unique" = "xyes"; then |
| 122 | | AC_DEFINE([WITH_UNIQUE], 1, [Whether support for unique is enabled]) |
| 123 | | fi |
| | 113 | unique_req="unique-1.0 >= 1.1.2" |
| 124 | 114 | else |
| 125 | | use_unique="no" |
| | 115 | unique_req="unique-3.0" |
| | 116 | fi |
| | 117 | |
| | 118 | if test "x$use_unique" = "xauto"; then |
| | 119 | PKG_CHECK_MODULES([unique], [$unique_req], [use_unique=yes], [use_unique=no]) |
| | 120 | elif test "x$use_unique" = "xyes"; then |
| | 121 | PKG_CHECK_MODULES([unique], [$unique_req]) |
| | 122 | fi |
| | 123 | |
| | 124 | if test "x$use_unique" = "xyes"; then |
| | 125 | AC_DEFINE([WITH_UNIQUE], 1, [Whether support for unique is enabled]) |
| 126 | 126 | fi |
| 127 | 127 | |