Commit Graph

21 Commits

Author SHA1 Message Date
Mike Hommey
74b4506047 Bug 1253203 - Move parts of configure.py into sandboxed moz.configure. r=nalexander,r=chmanchester
This moves all the reading mozconfig, finding autoconf, refreshing the
old configure, and running the old configure into sandboxed
moz.configure. This effectively bootstraps the sandboxed python configure.
2016-03-08 15:41:32 +09:00
Mike Hommey
bc0709dc9e Bug 762358 - Re-run configure when mozconfig changed in a significant way. r=gps
This adds a format option to mach environment and uses it in client.mk to
create a .mozconfig.json in the objdir, containing all the relevant data
from mozconfig. If the mozconfig doesn't change in a way that alters that
data, we still skip configure.

At the same time, use mach environment in place of mozconfig2configure and
mozconfig2client-mk, which makes us now have only one mozconfig reader.

Also, in the mozconfig reader, keep track of environment variables (as
opposed to shell variables), so that changes such as a variable that was
exported not being exported anymore is spotted. At the opposite, in order
for irrelevant environment variable changes not to incur in re-running
configure, only a set of environment variables are stored when they are
unmodified. Otherwise, changes such as using a different terminal window,
or even rebooting, would trigger reconfigures.

Finally, make mach environment emit both MOZ_OBJDIR and OBJDIR for
client.mk, and cleanup some objdir-related things in client.mk..
At the same time, make the mozconfig reader take MOZ_OBJDIR from the
environment if it is defined there and not in the mozconfig.
2014-07-03 07:15:31 +09:00
Mike Hommey
1e8bfcb8e4 Bug 1026469 - Use AC_CHECK_LIB instead of MOZ_CHECK_PTHREADS. r=ted 2014-06-21 09:13:58 +09:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Jim Blandy
4579219e06 To allow altoptions.m4 to be shared by both the main Mozilla and the
SpiderMonkey build code, sincluding it shouldn't have any side
effects.  Since only Mozilla wants the side effect, move it to
Mozilla's aclocal.m4.
2008-08-26 14:34:35 -07:00
caillon@redhat.com
db12b8abaf Bug 426205 - Fix implicit declaration of exit() warning running configure r=bsmedberg a=beltzner 2008-04-03 19:09:06 -07:00
cls%seawood.org
72a2b98461 Properly quote m4 macro definitions.
Thanks to Patrick Welche <pw-fb@newn.cam.ac.uk> for the patch.
Bug #298457 r=cls
2006-05-16 05:39:16 +00:00
gerv%gerv.net
31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
seawood%netscape.com
d139b3f6bb Fixing internal MOZ_TWO_STRINGS_TEST macro so that it doesn't always use enableval to test option arguments
Bug #107055 r=jesup
2001-10-29 22:59:31 +00:00
cls%seawood.org
bf562c2475 Create MOZ_CHECK_PTHREADS() macro that compiles a small test case using <pthread.h> so that systems like hpux & osf/1 will properly detect pthreads. 2001-01-27 22:47:16 +00:00
slamm%netscape.com
b99284cb21 Silly little comment change. 2000-03-21 21:09:33 +00:00
slamm%netscape.com
28bfcf54b6 Rename load-mozconfig.sh to mozconfig2configure. 2000-03-14 03:00:00 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
slamm%netscape.com
9bed426eaf Do not rely on PATH to load included scripts. Fix for BSDI bug #5189. 1999-04-16 18:46:54 +00:00
slamm%netscape.com
b6c9516763 Standardize on '.mozconfig' for configure script name. 1999-03-22 20:42:58 +00:00
slamm%netscape.com
9591ac5e96 Change myconfig to mozconfig. 1999-02-25 19:21:29 +00:00
slamm%netscape.com
799d7b222d Add a macro to label a group of options. 1999-02-19 17:25:47 +00:00
slamm%netscape.com
aa1e76f1c2 Look for '.mozmyconfig' in home directory 1999-02-18 18:51:02 +00:00
slamm%netscape.com
cc2a1cf9eb Use MOZ_ prefix for new autoconf macros. 1999-02-05 00:10:25 +00:00
slamm%netscape.com
04389f809d Fix typo. 1999-02-04 23:07:51 +00:00
slamm%netscape.com
1f38f5e26a Add support for file-based options, 'myconfig.sh'. 1999-02-04 22:52:56 +00:00