mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 00:35:44 +00:00
Bug 920551 - 1/2: Allow building b2g without MOZ_B2G_RIL. r=khuey
This commit is contained in:
parent
93dbfcd1bc
commit
93f8f63ddf
11
configure.in
11
configure.in
@ -1942,7 +1942,7 @@ ia64*-hpux*)
|
||||
no_x=yes
|
||||
if test -n "$gonkdir"; then
|
||||
_PLATFORM_DEFAULT_TOOLKIT=cairo-gonk
|
||||
MOZ_B2G_RIL=1
|
||||
_PLATFORM_HAVE_RIL=1
|
||||
MOZ_B2G_FM=1
|
||||
MOZ_SYNTH_PICO=1
|
||||
else
|
||||
@ -7275,9 +7275,14 @@ dnl ========================================================
|
||||
MOZ_ARG_ENABLE_BOOL(b2g-ril,
|
||||
[ --enable-b2g-ril Set compile flags necessary for testing B2G Radio Interface Layer via network sockets ],
|
||||
MOZ_B2G_RIL=1,
|
||||
MOZ_B2G_RIL= )
|
||||
MOZ_B2G_RIL=,
|
||||
MOZ_B2G_RIL=$_PLATFORM_HAVE_RIL )
|
||||
if test -n "$MOZ_B2G_RIL"; then
|
||||
AC_DEFINE(MOZ_B2G_RIL)
|
||||
if test -n "$_PLATFORM_HAVE_RIL"; then
|
||||
AC_DEFINE(MOZ_B2G_RIL)
|
||||
else
|
||||
AC_MSG_ERROR([b2g-ril cannot be enabled because target platform doesn't support it.])
|
||||
fi
|
||||
fi
|
||||
AC_SUBST(MOZ_B2G_RIL)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user