~ubuntu-branches/ubuntu/hoary/kdemultimedia/hoary

« back to all changes in this revision

Viewing changes to oggvorbis_artsplugin/configure.in.in

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2003-01-22 15:00:51 UTC
  • Revision ID: james.westby@ubuntu.com-20030122150051-uihwkdoxf15mi1tn
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
HAVE_VORBIS=1
 
2
AC_CHECK_HEADER(vorbis/vorbisfile.h,
 
3
        [USELESS_VAR=1],
 
4
        [HAVE_VORBIS=""])
 
5
 
 
6
AC_CHECK_LIB(vorbisfile, ov_open,
 
7
        [USELESS_VAR=1],
 
8
        [HAVE_VORBIS=""], -lvorbis -logg)
 
9
 
 
10
AC_CHECK_LIB(vorbis, vorbis_info_init,
 
11
        [USELESS_VAR=1],
 
12
        [HAVE_VORBIS=""])
 
13
 
 
14
AC_CHECK_LIB(ogg, ogg_page_version,
 
15
        [USELESS_VAR=1],
 
16
        [HAVE_VORBIS=""])
 
17
 
 
18
if test "$kde_mpeglib_compiles" = "yes" -o "$HAVE_VORBIS" = ""
 
19
then
 
20
echo "OggVorbis plugin was disabled, either you're compiling mpeglib"
 
21
echo "or you lack the necesary headers and libraries."
 
22
DO_NOT_COMPILE="$DO_NOT_COMPILE oggvorbis_artsplugin"
 
23
fi