Mercurial > pidgin
comparison configure.ac @ 17562:6f54b1e84610
This started off as a patch from OpenSolaris to fix compiling with static
protocols outside of the source directory, but then I found I had to fix
static compilation of jabber & oscar too.
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 09 Jun 2007 14:10:21 +0000 |
parents | 89adae2f1a6e |
children | 980a104267da |
comparison
equal
deleted
inserted
replaced
17561:3bc25e19ce1c | 17562:6f54b1e84610 |
---|---|
801 STATIC_LINK_LIBS= | 801 STATIC_LINK_LIBS= |
802 extern_init= | 802 extern_init= |
803 load_proto= | 803 load_proto= |
804 for i in $STATIC_PRPLS ; do | 804 for i in $STATIC_PRPLS ; do |
805 dnl Ugly special case for "libsilcpurple.a": | 805 dnl Ugly special case for "libsilcpurple.a": |
806 if test "x$i" = "xsilc"; then | 806 dnl ... and Ugly special case for multi-protocol oscar |
807 STATIC_LINK_LIBS="$STATIC_LINK_LIBS protocols/$i/lib${i}purple.a" | 807 if test \( "x$i" = "xoscar" -o "x$i" = "xaim" -o "x$i" = "xicq" \) -a "x$static_oscar" != "xyes"; then |
808 STATIC_LINK_LIBS="$STATIC_LINK_LIBS \$(top_builddir)/libpurple/protocols/oscar/liboscar.a" | |
809 extern_init="$extern_init extern gboolean purple_init_aim_plugin();" | |
810 extern_init="$extern_init extern gboolean purple_init_icq_plugin();" | |
811 load_proto="$load_proto purple_init_aim_plugin();" | |
812 load_proto="$load_proto purple_init_icq_plugin();" | |
808 else | 813 else |
809 STATIC_LINK_LIBS="$STATIC_LINK_LIBS protocols/$i/lib$i.a" | 814 if test "x$i" = "xsilc"; then |
810 fi | 815 STATIC_LINK_LIBS="$STATIC_LINK_LIBS \$(top_builddir)/libpurple/protocols/$i/lib${i}purple.a" |
811 extern_init="$extern_init extern gboolean purple_init_${i}_plugin();" | 816 else |
812 load_proto="$load_proto purple_init_${i}_plugin();" | 817 STATIC_LINK_LIBS="$STATIC_LINK_LIBS \$(top_builddir)/libpurple/protocols/$i/lib$i.a" |
818 fi | |
819 extern_init="$extern_init extern gboolean purple_init_${i}_plugin();" | |
820 load_proto="$load_proto purple_init_${i}_plugin();" | |
821 fi | |
813 case $i in | 822 case $i in |
814 bonjour) static_bonjour=yes ;; | 823 bonjour) static_bonjour=yes ;; |
815 gg) static_gg=yes ;; | 824 gg) static_gg=yes ;; |
816 irc) static_irc=yes ;; | 825 irc) static_irc=yes ;; |
817 jabber) static_jabber=yes ;; | 826 jabber) static_jabber=yes ;; |