--- configure.ac.orig 2007-12-12 13:00:30.000000000 +0100 +++ configure.ac 2007-12-12 13:07:11.000000000 +0100 @@ -2646,6 +2646,12 @@ if fgrep -s "CONFIG_XVID=yes" "${real_ffmpeg_tree}/config.mak"; then VLC_ADD_LDFLAGS([ffmpeg],[-lxvidcore]) fi + if fgrep -s "CONFIG_AMR=yes" "${real_ffmpeg_tree}/config.mak"; then + VLC_ADD_LDFLAGS([ffmpeg],[-lamrnb]) + fi + if fgrep -s "CONFIG_AMR_WB=yes" "${real_ffmpeg_tree}/config.mak"; then + VLC_ADD_LDFLAGS([ffmpeg],[-lamrwb]) + fi VLC_ADD_BUILTINS([ffmpeg]) if test "${enable_sout}" != "no"; then