case "${target_os}" in
freebsd*)
CPPFLAGS_save="${CPPFLAGS_save} -I/usr/local/include"
- CPPFLAGS="${CPPFLAGS}"
+ CPPFLAGS="${CPPFLAGS_save}"
LDFLAGS_save="${LDFLAGS_save} -L/usr/local/lib"
LDFLAGS="${LDLFAGS_save}"
;;
AC_DEFINE(HAVE_INCLUDED_GETTEXT, 1, Define if we use the local libintl)
INCLUDES="${INCLUDES} -I\$(top_builddir)/intl"
else
- AC_CHECK_FUNCS(textdomain,,[
- AC_CHECK_LIB(intl,textdomain,
- VLC_ADD_LDFLAGS([vlc],[${LIBINTL}]),,
- ${LIBINTL}
- )
- ])
+ VLC_ADD_LDFLAGS([vlc],[${LIBINTL}])
fi
AM_CONDITIONAL(BUILD_INTL, test "${nls_cv_force_use_gnu_gettext}" = "yes")
XGETTEXT="${XGETTEXT} --keyword=_NS --keyword=_ANS"
LDFLAGS="${LDFLAGS_save}"
fi])
+ AC_ARG_WITH(ffmpeg-vorbis,
+ [ --with-ffmpeg-vorbis specify if ffmpeg has been compiled with vorbis support],
+ [
+ if test "$with_ffmpeg_vorbis" = "yes"; then
+ VLC_ADD_LDFLAGS([ffmpeg],[-lvorbisenc -lvorbis])
+ fi])
+
+ AC_ARG_WITH(ffmpeg-theora,
+ [ --with-ffmpeg-theora specify if ffmpeg has been compiled with theora support],
+ [
+ if test "$with_ffmpeg_theora" = "yes"; then
+ VLC_ADD_LDFLAGS([ffmpeg],[-ltheora])
+ fi])
+
+ AC_ARG_WITH(ffmpeg-ogg,
+ [ --with-ffmpeg-ogg specify if ffmpeg has been compiled with ogg support],
+ [
+ if test "$with_ffmpeg_ogg" = "yes"; then
+ VLC_ADD_LDFLAGS([ffmpeg],[-logg])
+ fi])
+
AC_ARG_WITH(ffmpeg-zlib,
[ --with-ffmpeg-zlib specify if ffmpeg has been compiled with zlib support],
[
m4/Makefile
po/Makefile.in
share/Makefile
+ src/Makefile
])
AC_CONFIG_FILES([