Changeset 20aac0cb70064af0988e83315bdac9e197eae9a5

Show
Ignore:
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:
2 modified

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r77ca41d r20aac0c  
     12011-02-27  Armin Burgmeier  <armin@arbur.net> 
     2 
     3        * configure.ac: Use unique-3.0 when compiling against GTK+ 3.0. 
     4 
    152011-01-30  Armin Burgmeier  <armin@arbur.net> 
    26 
  • configure.ac

    r124c09a r20aac0c  
    110110            [use_unique=$withval], [use_unique=auto]) 
    111111 
    112 # Ignore this setting if not using unique, 
    113 # we might later use GtkApplication instead 
    114112if 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" 
    124114else 
    125   use_unique="no" 
     115  unique_req="unique-3.0" 
     116fi 
     117 
     118if test "x$use_unique" = "xauto"; then 
     119  PKG_CHECK_MODULES([unique], [$unique_req], [use_unique=yes], [use_unique=no]) 
     120elif test "x$use_unique" = "xyes"; then 
     121  PKG_CHECK_MODULES([unique], [$unique_req]) 
     122fi 
     123 
     124if test "x$use_unique" = "xyes"; then 
     125  AC_DEFINE([WITH_UNIQUE], 1, [Whether support for unique is enabled]) 
    126126fi 
    127127