1 AC_DEFUN([MOONLIGHT_CHECK_FIREFOX_XPI],
3 avutil_libdir="$(pkg-config --variable=libdir libavutil)"
4 avcodec_libdir="$(pkg-config --variable=libdir libavcodec)"
5 AC_SUBST([avutil_libdir])
6 AC_SUBST([avcodec_libdir])
9 if test x$with_ff3 = xno -a x$with_ff2 = xno; then
13 AM_CONDITIONAL(PLUGIN_INSTALL, [test x$user_plugin = xyes])
17 TARGET_PLATFORM="Linux"
20 AC_MSG_ERROR([Target os $target_os is unknown.
21 Please add the appropriate string to configure.ac.
22 See http://developer.mozilla.org/en/docs/OS_TARGET])
28 TARGET_PLATFORM="$TARGET_PLATFORM"_x86-gcc3
32 TARGET_PLATFORM="$TARGET_PLATFORM"_x86_64-gcc3
36 TARGET_PLATFORM="$TARGET_PLATFORM"_ppc-gcc3
40 TARGET_PLATFORM="$TARGET_PLATFORM"_sparc64-gcc3
44 AC_MSG_ERROR([Target cpu $target_cpu is unknown.
45 Please add the appropriate string to configure.ac.
46 See http://developer.mozilla.org/en/docs/XPCOM_ABI])
50 AC_SUBST(TARGET_PLATFORM)
51 AC_SUBST(INSTALL_ARCH)