Bug 1249441 - Remove topsrcdir!=objdir exemption for l10n builds. r=mshal
authorMike Hommey <mh+mozilla@glandium.org>
Fri, 19 Feb 2016 08:11:59 +0900
changeset 308587 9db8842448dc0899f1c3cf32799fc70cfc582e92
parent 308586 3374795cf41595b25f0ef25c2a70e364cb24c94d
child 308588 b5cb7c366d84cc51a7aa50431173d03dbb21f5bb
push idunknown
push userunknown
push dateunknown
reviewersmshal
bugs1249441
milestone47.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1249441 - Remove topsrcdir!=objdir exemption for l10n builds. r=mshal
configure.in
--- a/configure.in
+++ b/configure.in
@@ -91,18 +91,17 @@ dnl ====================================
 MOZ_USE_PTHREADS=
 _PTHREAD_LDFLAGS=""
 
 dnl Do not allow objdir == srcdir builds.
 dnl ==============================================================
 _topsrcdir=`cd \`dirname $0\`; pwd -W 2>/dev/null || pwd -P`
 _objdir=`pwd -P`
 
-dnl TODO Don't exempt L10N builds once bug 842760 is resolved.
-if test "$_topsrcdir" = "$_objdir" -a "${with_l10n_base+set}" != set; then
+if test "$_topsrcdir" = "$_objdir"; then
   echo "  ***"
   echo "  * Building directly in the main source directory is not allowed."
   echo "  *"
   echo "  * To build, you must run configure from a separate directory"
   echo "  * (referred to as an object directory)."
   echo "  *"
   echo "  * If you are building with a mozconfig, you will need to change your"
   echo "  * mozconfig to point to a different object directory."