1 configure.ac: Fetch link flags for libaudiofile explicitly for ESD.
3 This was done for PulseAudio, but not for ESD, for some reason. It
4 causes a build failure with the new Debian -Wl,--as-needed rules.
5 Index: build/configure.ac
6 ===================================================================
7 --- build.orig/configure.ac 2011-06-02 15:12:39.000000000 +0100
8 +++ build/configure.ac 2011-06-02 15:12:42.000000000 +0100
10 AC_DEFINE(HAVE_SOUND, 1, [Sound support])
11 AC_DEFINE(HAVE_SOUND_ESD, 1, [EsounD sound support])
12 AC_DEFINE(USE_SOUND_LOADER_AUDIOFILE, 1, [Use audiofile sound loader])
13 + PKG_CHECK_MODULES(AUDIOFILE, audiofile,,)
15 + ESD_LIBS="$ESD_LIBS $AUDIOFILE_LIBS"
17 AM_CONDITIONAL(USE_LIBESD, test "x$enable_sound_esound" = "xyes")