Bug 1137515 part 1 - Change to configure.in r=mwu

This commit is contained in:
Sotaro Ikeda 2015-03-11 12:32:14 -07:00
parent d56642e463
commit 8d7ea4a3fd

View File

@ -292,6 +292,8 @@ if test -n "$gonkdir" ; then
GONK_INCLUDES="-I$gonkdir/frameworks/native/include -I$gonkdir/frameworks/av/include -I$gonkdir/frameworks/av/include/media -I$gonkdir/frameworks/av/include/camera -I$gonkdir/frameworks/native/include/media/openmax -I$gonkdir/frameworks/av/media/libstagefright/include"
MOZ_AUDIO_OFFLOAD=1
MOZ_OMX_DECODER=1
MOZ_OMX_ENCODER=1
AC_DEFINE(MOZ_OMX_ENCODER)
AC_SUBST(MOZ_AUDIO_OFFLOAD)
AC_DEFINE(MOZ_AUDIO_OFFLOAD)
MOZ_FMP4=
@ -5084,11 +5086,6 @@ if test -n "$MOZ_WEBRTC"; then
esac
fi
dnl Temporary until webrtc works on gonk-L
if test -n "$gonkdir" && test "$ANDROID_VERSION" -ge 21; then
MOZ_WEBRTC=
fi
AC_TRY_COMPILE([#include <linux/ethtool.h>],
[ struct ethtool_cmd cmd; cmd.speed_hi = 0; ],
MOZ_WEBRTC_HAVE_ETHTOOL_SPEED_HI=1)