summaryrefslogtreecommitdiffstats
path: root/akode_artsplugin/configure.in.in
blob: 5456ac397332eb5b555e91a8a2f32aba3057d03d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
if test x$build_arts != xyes || test x$have_akode != xyes
then
  DO_NOT_COMPILE="$DO_NOT_COMPILE akode_artsplugin"
else
  KDE_CHECK_LIB(akode_mpeg_decoder,   mpeg_decoder,   have_akode_mpeg=yes,   have_akode_mpeg=no,   -lakode)
  KDE_CHECK_LIB(akode_mpc_decoder,    mpc_decoder,    have_akode_mpc=yes,    have_akode_mpc=no,    -lakode)
  KDE_CHECK_LIB(akode_xiph_decoder,   xiph_decoder,   have_akode_xiph=yes,   have_akode_xiph=no,   -lakode)
  KDE_CHECK_LIB(akode_ffmpeg_decoder, ffmpeg_decoder, have_akode_ffmpeg=yes, have_akode_ffmpeg=no, -lakode)
fi

# This must always be called to handle the --without-akode case, as autoconf
# will check these conditionals values it seems.
AM_CONDITIONAL(include_akode_mpeg,   test x$have_akode_mpeg = xyes)
AM_CONDITIONAL(include_akode_mpc,    test x$have_akode_mpc = xyes)
AM_CONDITIONAL(include_akode_xiph,   test x$have_akode_xiph = xyes)
AM_CONDITIONAL(include_akode_ffmpeg, test x$have_akode_ffmpeg = xyes)