comparison configure.ac @ 7783:565369d12874

[gaim-migrate @ 8428] I just deprecated the shit out of NO_MULTI. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 07 Dec 2003 08:55:37 +0000
parents 76e5f748654e
children ea4f65164307
comparison
equal deleted inserted replaced
7782:795b71216887 7783:565369d12874
92 ]) 92 ])
93 ]) 93 ])
94 94
95 AC_ARG_ENABLE(distrib,,,enable_distrib=no) 95 AC_ARG_ENABLE(distrib,,,enable_distrib=no)
96 AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes") 96 AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes")
97 AC_ARG_ENABLE(multi, [ --disable-multi disable multiple connections],,enable_multi=yes)
98 AC_ARG_ENABLE(prpls, [ --disable-prpls don't build dynamic protocol plugins],,enable_prpls=yes) 97 AC_ARG_ENABLE(prpls, [ --disable-prpls don't build dynamic protocol plugins],,enable_prpls=yes)
99 AC_ARG_WITH(static-prpls, [ --with-static-prpls link in certain protocols statically],[STATIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`],STATIC_PRPLS="") 98 AC_ARG_WITH(static-prpls, [ --with-static-prpls link in certain protocols statically],[STATIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`],STATIC_PRPLS="")
100 if test "x$STATIC_PRPLS" = "xall" ; then 99 if test "x$STATIC_PRPLS" = "xall" ; then
101 STATIC_PRPLS="gg irc jabber msn napster oscar toc yahoo zephyr" 100 STATIC_PRPLS="gg irc jabber msn napster oscar toc yahoo zephyr"
102 fi 101 fi
921 fi 920 fi
922 921
923 AC_SUBST(DEBUG_CFLAGS) 922 AC_SUBST(DEBUG_CFLAGS)
924 AC_SUBST(LDADD) 923 AC_SUBST(LDADD)
925 AC_SUBST(LIBS) 924 AC_SUBST(LIBS)
926
927 if test "x$enable_multi" != "xyes" ; then
928 AC_DEFINE(NO_MULTI, 1, [Define if multiple connections is disabled.])
929 enable_multi=no
930 fi
931 925
932 if test "x$enable_plugins" = "xyes" ; then 926 if test "x$enable_plugins" = "xyes" ; then
933 AC_DEFINE(GAIM_PLUGINS, 1, [Define if plugins are enabled.]) 927 AC_DEFINE(GAIM_PLUGINS, 1, [Define if plugins are enabled.])
934 AM_CONDITIONAL(PLUGINS, test "x$enable_plugins" = "xyes") 928 AM_CONDITIONAL(PLUGINS, test "x$enable_plugins" = "xyes")
935 else 929 else
1039 1033
1040 echo 1034 echo
1041 echo $PACKAGE $VERSION 1035 echo $PACKAGE $VERSION
1042 1036
1043 echo 1037 echo
1044 echo Allow Multiple Connections.... : $enable_multi
1045 echo Build Protocol Plugins........ : $enable_prpls 1038 echo Build Protocol Plugins........ : $enable_prpls
1046 echo Protocols to link statically.. : $STATIC_PRPLS 1039 echo Protocols to link statically.. : $STATIC_PRPLS
1047 echo Protocols to build dynamically : $DYNAMIC_PRPLS 1040 echo Protocols to build dynamically : $DYNAMIC_PRPLS
1048 echo 1041 echo
1049 echo UI Library.................... : GTK 2.x 1042 echo UI Library.................... : GTK 2.x