comparison configure.ac @ 7373:1dbf83536d83

[gaim-migrate @ 7968] Patch by Etan Reisner that lets people compiling gaim specify exactly what prpls to compile dynamically, rather than having to compile them all. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 29 Oct 2003 23:46:19 +0000
parents d5ed905a8ccd
children 259210cf5dfa
comparison
equal deleted inserted replaced
7372:4ce6952d7908 7373:1dbf83536d83
119 AM_CONDITIONAL(STATIC_ZEPHYR, test "x$static_zephyr" = "xyes") 119 AM_CONDITIONAL(STATIC_ZEPHYR, test "x$static_zephyr" = "xyes")
120 AC_SUBST(STATIC_LINK_LIBS) 120 AC_SUBST(STATIC_LINK_LIBS)
121 AC_DEFINE_UNQUOTED(STATIC_PROTO_INIT, $extern_init void static_proto_init() { $load_proto }, 121 AC_DEFINE_UNQUOTED(STATIC_PROTO_INIT, $extern_init void static_proto_init() { $load_proto },
122 [Loads static protocol plugin module initialization functions.]) 122 [Loads static protocol plugin module initialization functions.])
123 123
124 AC_ARG_WITH(dynamic_prpls, [ --with-dynamic-prpls specify which protocols to build dynamically],[DYNAMIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`],DYNAMIC_PRPLS="all")
125 if test "x$DYNAMIC_PRPLS" = "xall" ; then
126 DYNAMIC_PRPLS="gg irc jabber msn napster oscar toc yahoo zephyr"
127 fi
128 AC_SUBST(DYNAMIC_PRPLS)
129 for i in $DYNAMIC_PRPLS ; do
130 case $i in
131 gg) dynamic_gg=yes ;;
132 irc) dynamic_irc=yes ;;
133 jabber) dynamic_jabber=yes ;;
134 msn) dynamic_msn=yes ;;
135 napster) dynamic_napster=yes ;;
136 oscar) dynamic_oscar=yes ;;
137 toc) dynamic_toc=yes ;;
138 trepia) dynamic_trepia=yes ;;
139 yahoo) dynamic_yahoo=yes ;;
140 zephyr) dynamic_zephyr=yes ;;
141 *) echo "Invalid dynamic protocol $i!!" ; exit ;;
142 esac
143 done
144 AM_CONDITIONAL(DYNAMIC_GG, test "x$dynamic_gg" = "xyes")
145 AM_CONDITIONAL(DYNAMIC_IRC, test "x$dynamic_irc" = "xyes")
146 AM_CONDITIONAL(DYNAMIC_JABBER, test "x$dynamic_jabber" = "xyes")
147 AM_CONDITIONAL(DYNAMIC_MSN, test "x$dynamic_msn" = "xyes")
148 AM_CONDITIONAL(DYNAMIC_NAPSTER, test "x$dynamic_napster" = "xyes")
149 AM_CONDITIONAL(DYNAMIC_OSCAR, test "x$dynamic_oscar" = "xyes")
150 AM_CONDITIONAL(DYNAMIC_TOC, test "x$dynamic_toc" = "xyes")
151 AM_CONDITIONAL(DYNAMIC_TREPIA, test "x$dynamic_trepia" = "xyes")
152 AM_CONDITIONAL(DYNAMIC_YAHOO, test "x$dynamic_yahoo" = "xyes")
153 AM_CONDITIONAL(DYNAMIC_ZEPHYR, test "x$dynamic_zephyr" = "xyes")
154
124 AC_ARG_ENABLE(audio, [ --disable-audio compile without libao/libaudiofile for sound playing],,enable_audio=yes) 155 AC_ARG_ENABLE(audio, [ --disable-audio compile without libao/libaudiofile for sound playing],,enable_audio=yes)
125 AC_ARG_ENABLE(nas, [ --enable-nas enable NAS (Network Audio System) support],,enable_nas=no) 156 AC_ARG_ENABLE(nas, [ --enable-nas enable NAS (Network Audio System) support],,enable_nas=no)
126 AC_ARG_ENABLE(plugins, [ --disable-plugins compile without plugin support],,enable_plugins=yes) 157 AC_ARG_ENABLE(plugins, [ --disable-plugins compile without plugin support],,enable_plugins=yes)
127 AC_ARG_ENABLE(perl, [ --disable-perl compile without perl scripting],,enable_perl=yes) 158 AC_ARG_ENABLE(perl, [ --disable-perl compile without perl scripting],,enable_perl=yes)
128 AC_ARG_ENABLE(tcl, [ --disable-tcl compile without Tcl scripting],,enable_tcl=yes) 159 AC_ARG_ENABLE(tcl, [ --disable-tcl compile without Tcl scripting],,enable_tcl=yes)
995 1026
996 echo 1027 echo
997 echo Allow Multiple Connections.... : $enable_multi 1028 echo Allow Multiple Connections.... : $enable_multi
998 echo Build Protocol Plugins........ : $enable_prpls 1029 echo Build Protocol Plugins........ : $enable_prpls
999 echo Protocols to link statically.. : $STATIC_PRPLS 1030 echo Protocols to link statically.. : $STATIC_PRPLS
1031 echo Protocols to build dynamically : $DYNAMIC_PRPLS
1000 echo 1032 echo
1001 echo UI Library.................... : GTK 2.x 1033 echo UI Library.................... : GTK 2.x
1002 echo SSL Library/Libraries......... : $msg_ssl 1034 echo SSL Library/Libraries......... : $msg_ssl
1003 echo 1035 echo
1004 echo Build with Plugin support..... : $enable_plugins 1036 echo Build with Plugin support..... : $enable_plugins