Skip to content

Commit

Permalink
Bug 995089 - GIO support shouldn't check GTK2 version if GTK3 build. …
Browse files Browse the repository at this point in the history
…r=glandium
  • Loading branch information
makotokato committed Apr 18, 2014
1 parent 8d94b01 commit c84ebf0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -4821,8 +4821,11 @@ then

if test "$MOZ_ENABLE_GIO" -a "$MOZ_ENABLE_GTK"
then
PKG_CHECK_MODULES(_GTKCHECK, gtk+-2.0 >= 2.14, ,
[AC_MSG_ERROR([* * * Could not find gtk+-2.0 > 2.14. Required for build with gio.])])
if test "$MOZ_ENABLE_GTK2"
then
PKG_CHECK_MODULES(_GTKCHECK, gtk+-2.0 >= 2.14, ,
[AC_MSG_ERROR([* * * Could not find gtk+-2.0 > 2.14. Required for build with gio.])])
fi
PKG_CHECK_MODULES(MOZ_GIO, gio-2.0 >= $GIO_VERSION,[
MOZ_GIO_LIBS=`echo $MOZ_GIO_LIBS | sed 's/-llinc\>//'`
MOZ_ENABLE_GIO=1
Expand Down

0 comments on commit c84ebf0

Please sign in to comment.