/soc/2013/ankitkv/gobjectification: e94d995eaeeb: Removed the ug...

Ankit Vani a at nevitus.org
Tue Sep 3 17:14:45 EDT 2013


Changeset: e94d995eaeeb28beb6760b08058fb16a1ff11acc
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-09-04 02:44 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/e94d995eaeeb

Description:

Removed the ugly special cases for oscar and yahoo from configure.ac

diffstat:

 configure.ac |  38 ++++++++------------------------------
 1 files changed, 8 insertions(+), 30 deletions(-)

diffs (50 lines):

diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -1304,38 +1304,16 @@ extern_unload=
 unload_proto=
 for i in $STATIC_PRPLS ; do
 	dnl Ugly special case for "libsilcpurple.la":
-	dnl ... and Ugly special case for multi-protocol oscar and yahoo
-	if test \( "x$i" = "xoscar" -o "x$i" = "xaim" -o "x$i" = "xicq" \) -a "x$static_oscar" != "xyes"; then
-		STATIC_LINK_LIBS="$STATIC_LINK_LIBS \$(top_builddir)/libpurple/protocols/oscar/liboscar.la"
-		extern_load="$extern_load extern gboolean aim_plugin_load();"
-		extern_load="$extern_load extern gboolean icq_plugin_load();"
-		load_proto="$load_proto aim_plugin_load();"
-		load_proto="$load_proto icq_plugin_load();"
-		extern_unload="$extern_unload extern gboolean aim_plugin_unload();"
-		extern_unload="$extern_unload extern gboolean icq_plugin_unload();"
-		unload_proto="$unload_proto aim_plugin_unload();"
-		unload_proto="$unload_proto icq_plugin_unload();"
-	elif test "x$i" = "xyahoo"; then
-		STATIC_LINK_LIBS="$STATIC_LINK_LIBS \$(top_builddir)/libpurple/protocols/yahoo/libymsg.la"
-		extern_load="$extern_load extern gboolean yahoo_plugin_load();"
-		extern_load="$extern_load extern gboolean yahoojp_plugin_load();"
-		load_proto="$load_proto yahoo_plugin_load();"
-		load_proto="$load_proto yahoojp_plugin_load();"
-		extern_unload="$extern_unload extern gboolean yahoo_plugin_unload();"
-		extern_unload="$extern_unload extern gboolean yahoojp_plugin_unload();"
-		unload_proto="$unload_proto yahoo_plugin_unload();"
-		unload_proto="$unload_proto yahoojp_plugin_unload();"
+	if test "x$i" = "xsilc"; then
+		STATIC_LINK_LIBS="$STATIC_LINK_LIBS \$(top_builddir)/libpurple/protocols/$i/lib${i}purple.la"
 	else
-		if test "x$i" = "xsilc"; then
-			STATIC_LINK_LIBS="$STATIC_LINK_LIBS \$(top_builddir)/libpurple/protocols/$i/lib${i}purple.la"
-		else
-			STATIC_LINK_LIBS="$STATIC_LINK_LIBS \$(top_builddir)/libpurple/protocols/$i/lib$i.la"
-		fi
-		extern_load="$extern_load extern gboolean ${i}_plugin_load();"
-		load_proto="$load_proto ${i}_plugin_load();"
-		extern_unload="$extern_unload extern gboolean ${i}_plugin_unload();"
-		unload_proto="$unload_proto ${i}_plugin_unload();"
+		STATIC_LINK_LIBS="$STATIC_LINK_LIBS \$(top_builddir)/libpurple/protocols/$i/lib$i.la"
 	fi
+	extern_load="$extern_load extern gboolean ${i}_plugin_load();"
+	load_proto="$load_proto ${i}_plugin_load();"
+	extern_unload="$extern_unload extern gboolean ${i}_plugin_unload();"
+	unload_proto="$unload_proto ${i}_plugin_unload();"
+
 	case $i in
 		bonjour)	static_bonjour=yes ;;
 		gg)			static_gg=yes ;;



More information about the Commits mailing list