From: Gildas Bazin Date: Thu, 4 Aug 2005 21:58:02 +0000 (+0000) Subject: * configure.ac: another fix for libavutil detection. X-Git-Tag: 0.8.4~1005 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=7088b9a6804f2892d560cb78c732acc4f2126d47;p=vlc * configure.ac: another fix for libavutil detection. --- diff --git a/configure.ac b/configure.ac index d768d15af7..d89c3fc344 100644 --- a/configure.ac +++ b/configure.ac @@ -2069,7 +2069,7 @@ then AC_CHECK_LIB(avutil, av_add_i, [ VLC_ADD_LDFLAGS([ffmpeg],[-lavutil]) - LDFLAGS="${LDFLAGS} -lavutil"]) + LDAVUTIL="-lavutil"]) AC_CHECK_LIB(avcodec, avcodec_init, [ VLC_ADD_BUILTINS([ffmpeg]) @@ -2077,7 +2077,7 @@ then if test "${enable_sout}" != "no"; then VLC_ADD_BUILTINS([stream_out_switcher]) fi], - [ AC_MSG_ERROR([Could not find ffmpeg on your system: you may get it from http://ffmpeg.sf.net/ (cvs version is recommended). Alternatively you can use --disable-ffmpeg to disable the ffmpeg plugins.]) ]) + [ AC_MSG_ERROR([Could not find ffmpeg on your system: you may get it from http://ffmpeg.sf.net/ (cvs version is recommended). Alternatively you can use --disable-ffmpeg to disable the ffmpeg plugins.]) ], [$LDAVUTIL]) AC_CHECK_LIB(avformat, av_open_input_stream, [ AC_DEFINE(HAVE_LIBAVFORMAT, 1, [Define if you have ffmpeg's libavformat.])