AC_CHECK_FUNC(socket, ,
[AC_CHECK_LIB(socket, socket, , [AC_MSG_ERROR([socket not found])])])
dnl If all goes well, by this point the previous two checks will have
+@@ -1098,6 +1098,7 @@
+ PKG_CHECK_MODULES(LIBGADU, [libgadu >= 1.12.0], [have_libgadu=yes], [have_libgadu=no])
+
+ if test "x$have_libgadu" = "xyes"; then
++ save_LIBS="$LIBS"
+ AC_CHECK_LIB(gadu, gg_is_gpl_compliant, , [
+ LIBGADU_LIBS=""
+ LIBGADU_CFLAGS=""
+@@ -1112,6 +1113,7 @@
+ Falling back to using our own copy of libgadu.
+ ])
+ ])
++ LIBS="$save_LIBS"
+ fi
+
+ AM_CONDITIONAL(HAVE_LIBGADU, test "x$have_libgadu" = "xyes")
BuildRequires: glib2-devel >= 1:%{glib2_ver}
%{?with_gnutls:BuildRequires: gnutls-devel}
BuildRequires: gstreamer-devel >= 1.0
+BuildRequires: gstreamer-plugins-base-devel >= 1.0
BuildRequires: gtk+2-devel >= 2:%{gtk2_ver}
%{?with_gtkspell:BuildRequires: gtkspell-devel >= 1:2.0.16-2}
BuildRequires: intltool
Requires: dbus-glib-devel >= 0.70
%endif
Requires: farstream-devel >= 0.2.7
+Requires: glib2-devel >= 1:%{glib2_ver}
+Requires: gstreamer-devel >= 1.0
+Requires: gstreamer-plugins-base-devel >= 1.0
+Requires: libidn-devel
Requires: libxml2-devel >= 1:2.6.26
Obsoletes: pidgin-devel < 2.6.6-2