Mercurial > pidgin.yaz
comparison configure.in @ 1418:baef6e30f3a7
[gaim-migrate @ 1428]
patch from decklin to not build prpls/plugins if disabled
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 20 Jan 2001 23:56:25 +0000 |
parents | f8f9c68960ea |
children | 3d1c4e5f375b |
comparison
equal
deleted
inserted
replaced
1417:dce1731178ba | 1418:baef6e30f3a7 |
---|---|
39 CFLAGS="$CFLAGS -I/usr/local/include -I/opt/include -I\$(top_srcdir)" | 39 CFLAGS="$CFLAGS -I/usr/local/include -I/opt/include -I\$(top_srcdir)" |
40 | 40 |
41 AC_ARG_ENABLE(distrib,,,enable_distrib=no) | 41 AC_ARG_ENABLE(distrib,,,enable_distrib=no) |
42 AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes") | 42 AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes") |
43 AC_ARG_ENABLE(multi, [ --disable-multi disable multiple connections],,enable_multi=yes) | 43 AC_ARG_ENABLE(multi, [ --disable-multi disable multiple connections],,enable_multi=yes) |
44 AC_ARG_ENABLE(prpls, [ --disable-prpls don't build protocol plugins],,enable_prpls=yes) | |
44 AC_ARG_ENABLE(gnome, [ --disable-gnome compile without Gnome bits],,enable_gnome=yes) | 45 AC_ARG_ENABLE(gnome, [ --disable-gnome compile without Gnome bits],,enable_gnome=yes) |
45 AC_ARG_ENABLE(panel, [ --enable-panel compile as a GNOME applet],,enable_panel=$enable_distrib) | 46 AC_ARG_ENABLE(panel, [ --enable-panel compile as a GNOME applet],,enable_panel=$enable_distrib) |
46 AM_CONDITIONAL(GNOMEAPPLET, test "x$enable_panel" = "xyes") | 47 AM_CONDITIONAL(GNOMEAPPLET, test "x$enable_panel" = "xyes") |
47 AC_ARG_ENABLE(esd, [ --disable-esd Turn off ESD (default=auto)],,enable_esd=yes) | 48 AC_ARG_ENABLE(esd, [ --disable-esd Turn off ESD (default=auto)],,enable_esd=yes) |
48 AC_ARG_ENABLE(nas, [ --enable-nas Enable NAS (Network Audio System) support],,enable_nas=no) | 49 AC_ARG_ENABLE(nas, [ --enable-nas Enable NAS (Network Audio System) support],,enable_nas=no) |
178 AC_SUBST(LDADD) | 179 AC_SUBST(LDADD) |
179 AC_SUBST(LIBS) | 180 AC_SUBST(LIBS) |
180 | 181 |
181 if test "x$enable_multi" != "xyes" ; then | 182 if test "x$enable_multi" != "xyes" ; then |
182 AC_DEFINE(NO_MULTI) | 183 AC_DEFINE(NO_MULTI) |
183 fi | 184 enable_multi=no |
184 | 185 fi |
185 if test "x$enable_plugins" = xyes ; then | 186 |
187 if test "x$enable_plugins" = "xyes" ; then | |
188 AC_DEFINE(GAIM_PLUGINS) | |
189 AM_CONDITIONAL(PLUGINS, test "x$enable_plugins" = "xyes") | |
190 else | |
191 enable_plugins=no | |
192 enable_prpls=no | |
193 fi | |
194 | |
195 if test "x$enable_prpls" = "xyes" ; then | |
186 dnl checks for icqlib | 196 dnl checks for icqlib |
187 AC_CHECK_HEADERS(asm/byteorder.h byteswap.h endian.h machine/endian.h arpa/nameser_compat.h) | 197 AC_CHECK_HEADERS(asm/byteorder.h byteswap.h endian.h machine/endian.h arpa/nameser_compat.h) |
188 AC_CHECK_FUNCS(bswap_32 bswap_16) | 198 AC_CHECK_FUNCS(bswap_32 bswap_16) |
189 | 199 |
190 dnl checks for jabber | 200 dnl checks for jabber |
191 dnl AC_CHECK_SIZEOF(short) | 201 dnl AC_CHECK_SIZEOF(short) |
192 AC_CHECK_FUNCS(snprintf connect) | 202 AC_CHECK_FUNCS(snprintf connect) |
193 AC_CHECK_LIB(nsl, gethostent) | 203 AC_CHECK_LIB(nsl, gethostent) |
194 | 204 |
195 AC_DEFINE(GAIM_PLUGINS) | 205 AM_CONDITIONAL(PRPLS, test "x$enable_plugins" = "xyes") |
196 AM_CONDITIONAL(PLUGINS, test "x$enable_plugins" = "xyes") | 206 else |
207 enable_prpls=no | |
197 fi | 208 fi |
198 | 209 |
199 AC_OUTPUT([Makefile | 210 AC_OUTPUT([Makefile |
200 src/Makefile | 211 src/Makefile |
201 intl/Makefile | 212 intl/Makefile |
215 | 226 |
216 echo | 227 echo |
217 echo $PACKAGE $VERSION | 228 echo $PACKAGE $VERSION |
218 | 229 |
219 echo | 230 echo |
231 echo Allow Multiple Connections. : $enable_multi | |
232 echo Build Protocol Plugins..... : $enable_prpls | |
233 echo | |
220 echo Build with GNOME bits...... : $enable_gnome | 234 echo Build with GNOME bits...... : $enable_gnome |
221 echo Build as GNOME applet...... : $enable_panel | 235 echo Build as GNOME applet...... : $enable_panel |
222 echo | 236 echo |
223 echo Build with Plugin support.. : $enable_plugins | 237 echo Build with Plugin support.. : $enable_plugins |
224 echo Build with Perl support.... : $enable_perl | 238 echo Build with Perl support.... : $enable_perl |