configure.in
changeset 83 c95d43cc6d38
parent 81 763eb10dd564
child 85 834fceca3d7d
     1.1 --- a/configure.in	Thu Apr 05 21:18:09 2001 +0000
     1.2 +++ b/configure.in	Thu Apr 05 21:25:56 2001 +0000
     1.3 @@ -125,18 +125,11 @@
     1.4  [  --enable-music-mp3      enable MP3 music via smpeg [default=yes]],
     1.5                , enable_music_mp3=yes)
     1.6  if test x$enable_music_mp3 = xyes; then
     1.7 -    AC_MSG_CHECKING(for SMPEG headers and libraries)
     1.8 -    have_smpeg=no
     1.9 -    AC_TRY_COMPILE([
    1.10 -     #include <smpeg/smpeg.h>
    1.11 -    ],[
    1.12 -    ],[
    1.13 -    have_smpeg=yes
    1.14 -    ])
    1.15 -    AC_MSG_RESULT($have_smpeg)
    1.16 +    SMPEG_VERSION=0.4.3
    1.17 +    AM_PATH_SMPEG($SMPEG_VERSION, have_smpeg=yes, have_smpeg=no)
    1.18      if test x$have_smpeg = xyes; then
    1.19 -        CFLAGS="$CFLAGS -DMP3_MUSIC"
    1.20 -        LIBS="$LIBS -lsmpeg"
    1.21 +        CFLAGS="$CFLAGS $SMPEG_CFLAGS"
    1.22 +        LIBS="$LIBS $SMPEG_LIBS"
    1.23      fi
    1.24  fi
    1.25