зеркало из https://github.com/mozilla/pjs.git
Bug 644861 - --enable-application should default to browser. r=ted
This commit is contained in:
Родитель
c5fc986dca
Коммит
9b0d3821e9
|
@ -5083,13 +5083,18 @@ if test -z "$XULRUNNER_STUB_NAME"; then
|
|||
fi
|
||||
AC_SUBST(XULRUNNER_STUB_NAME)
|
||||
|
||||
AC_MSG_CHECKING([for application to build])
|
||||
if test -z "$MOZ_BUILD_APP"; then
|
||||
AC_MSG_ERROR([--enable-application=APP was not specified and is required.])
|
||||
AC_MSG_RESULT([browser])
|
||||
MOZ_BUILD_APP=browser
|
||||
else
|
||||
# We have a valid application only if it has a build.mk file in its top
|
||||
# directory.
|
||||
if test ! -f "${srcdir}/${MOZ_BUILD_APP}/build.mk" ; then
|
||||
AC_MSG_RESULT([none])
|
||||
AC_MSG_ERROR([--enable-application value not recognized (${MOZ_BUILD_APP}/build.mk does not exist).])
|
||||
else
|
||||
AC_MSG_RESULT([$MOZ_BUILD_APP])
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче