Mercurial > pidgin
comparison configure.ac @ 4581:4b1e24835bbf
[gaim-migrate @ 4864]
put NAS sound support back in, and re-wrote a lot of the libao stuff
this should mostly put an end to people having to make a ~/.libao file
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Fri, 14 Feb 2003 20:57:32 +0000 |
parents | 27354602734d |
children | 42d53c416bb9 |
comparison
equal
deleted
inserted
replaced
4580:3fef2d45dce0 | 4581:4b1e24835bbf |
---|---|
121 AC_SUBST(STATIC_LINK_LIBS) | 121 AC_SUBST(STATIC_LINK_LIBS) |
122 AC_DEFINE_UNQUOTED(STATIC_PROTO_INIT, $extern_init void static_proto_init() { $load_proto }, | 122 AC_DEFINE_UNQUOTED(STATIC_PROTO_INIT, $extern_init void static_proto_init() { $load_proto }, |
123 [Loads static protocol plugin module initialization functions.]) | 123 [Loads static protocol plugin module initialization functions.]) |
124 | 124 |
125 AC_ARG_ENABLE(audio, [ --disable-audio compile without libao/libaudiofile for sound playing],,enable_audio=yes) | 125 AC_ARG_ENABLE(audio, [ --disable-audio compile without libao/libaudiofile for sound playing],,enable_audio=yes) |
126 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) | 127 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) | 128 AC_ARG_ENABLE(perl, [ --disable-perl compile without perl scripting],,enable_perl=yes) |
128 AC_ARG_ENABLE(gtkspell, [ --disable-gtkspell compile without GtkSpell automatic spell checking],,enable_gtkspell=yes) | 129 AC_ARG_ENABLE(gtkspell, [ --disable-gtkspell compile without GtkSpell automatic spell checking],,enable_gtkspell=yes) |
129 AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no) | 130 AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no) |
130 AC_ARG_ENABLE(screensaver, [ --disable-screensaver compile without X screensaver extension],,enable_xss=yes) | 131 AC_ARG_ENABLE(screensaver, [ --disable-screensaver compile without X screensaver extension],,enable_xss=yes) |
269 AC_SUBST(GTKSPELL_LIBS) | 270 AC_SUBST(GTKSPELL_LIBS) |
270 AC_DEFINE(USE_GTKSPELL,,[do we have gtkspell?]) | 271 AC_DEFINE(USE_GTKSPELL,,[do we have gtkspell?]) |
271 fi | 272 fi |
272 fi | 273 fi |
273 | 274 |
275 if test "$enable_nas" = yes ; then | |
276 AC_DEFINE(USE_NAS_AUDIO, 1, [Define if we have NAS sound support.]) | |
277 SOUND_LIBS="$SOUND_LIBS -laudio -lXt" | |
278 fi | |
279 | |
274 if test "$enable_audio" = yes ; then | 280 if test "$enable_audio" = yes ; then |
275 GAIM_PATH_AO(found_ao_lib=true) | 281 GAIM_PATH_AO(found_ao_lib=true) |
276 | 282 |
277 AM_PATH_AUDIOFILE([0.2.0], found_af_lib=true) | 283 AM_PATH_AUDIOFILE([0.2.0], found_af_lib=true) |
278 | 284 |
279 if test "$found_ao_lib" = "true" -a "$found_af_lib" = "true"; then | 285 if test "$found_ao_lib" = "true" -a "$found_af_lib" = "true"; then |
280 SOUND_LIBS="$AO_LIBS $AUDIOFILE_LIBS" | 286 SOUND_LIBS="$SOUND_LIBS $AO_LIBS $AUDIOFILE_LIBS" |
281 AC_SUBST(SOUND_LIBS) | 287 AC_SUBST(SOUND_LIBS) |
282 AC_DEFINE(USE_AO, 1, [Define if we're using libao and libaudiofile for sound playing]) | 288 AC_DEFINE(USE_AO, 1, [Define if we're using libao and libaudiofile for sound playing]) |
283 enable_audio=yes | 289 enable_audio=yes |
284 else | 290 else |
285 enable_audio=no | 291 enable_audio=no |
419 echo UI Library.................... : GTK 2.x | 425 echo UI Library.................... : GTK 2.x |
420 echo | 426 echo |
421 echo Build with Plugin support..... : $enable_plugins | 427 echo Build with Plugin support..... : $enable_plugins |
422 echo Build with Perl support....... : $enable_perl | 428 echo Build with Perl support....... : $enable_perl |
423 echo Build with Audio support...... : $enable_audio | 429 echo Build with Audio support...... : $enable_audio |
430 echo Build with NAS support........ : $enable_nas | |
424 echo Build with GtkSpell support... : $enable_gtkspell | 431 echo Build with GtkSpell support... : $enable_gtkspell |
425 echo | 432 echo |
426 echo Use XScreenSaver Extension.... : $enable_xss | 433 echo Use XScreenSaver Extension.... : $enable_xss |
427 echo Use X Session Management...... : $enable_sm | 434 echo Use X Session Management...... : $enable_sm |
428 echo | 435 echo |