From 9b0d3821e9285c7bf3801001f4c0efc434055d70 Mon Sep 17 00:00:00 2001 From: Mitchell Field Date: Sat, 26 Mar 2011 01:49:06 +1100 Subject: [PATCH] Bug 644861 - --enable-application should default to browser. r=ted --- configure.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 0611aa5853b..2372dd60bb7 100644 --- a/configure.in +++ b/configure.in @@ -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