Commit Graph

406 Commits

Author SHA1 Message Date
Mike Hommey
5bab729026 Bug 938437 - Replace nsStaticXULComponents.cpp with smart use of sections. r=bsmedberg,irc-r=decoder,r=nfroyd 2013-11-19 13:45:31 +09:00
retornam
19e779794c Bug 941889 - Make configure recognize Android 19 tools. r=nalexander 2013-11-21 20:19:20 -08:00
Mike Hommey
c288856178 Bug 935857 - Add AC_SUBST_SET to create a set() of strings in config.status and use it for NECKO_PROTOCOLS. r=gps 2013-11-12 07:52:32 +09:00
Makoto Kato
fd7ed72724 Bug 891718 - Can override CPP/CC/CXX on Android. r=glandium 2013-11-07 17:39:13 +09:00
Mike Hommey
00d79e8c27 Bug 933047 - Add a configure check whether the C++ compiler actually is a C++ compiler. r=ted 2013-11-01 10:30:46 +09:00
Gregory Szorc
8a2d15ca5d Bug 927837 - Don't manage generated files in configure; r=glandium
--HG--
extra : rebase_source : b502ce209de6a0ae10e130644e424687e4fae85e
2013-10-23 14:43:32 -07:00
Mike Hommey
0c4a62a1c5 Bug 930454 - Remove --with-android-platform. r=ted 2013-10-25 08:23:40 +09:00
Brad Lassey
04f87a3c75 bug 890985 - crash in nsStandardURL::SetSpec @ nsStandardURL::BuildNormalizedSpec r=glandium 2013-10-23 10:44:20 +02:00
Mike Hommey
10ecd3d981 Bug 926733 - Enable bug 921003. r=gps 2013-10-22 15:15:21 +09:00
Vladimir Vukicevic
7ca8e1bd07 b=927719; DEVELOPER_OPTIONS set too late; r=gps 2013-10-18 13:12:14 -04:00
Nathan Froyd
d3528984b7 Bug 781171 - delete JS_BYTES_PER_WORD/JS_BITS_PER_WORD from configure.in; r=glandium 2013-10-11 15:13:35 -04:00
Mike Hommey
20446d8895 Bug 926126 - Enable pseudo derecurse on releng builds, and enable parallel export; r=gps 2013-10-13 09:19:46 +09:00
Mike Hommey
7eea2d2f7f Bug 921003 - Make directory skipping opt-in, as initially intended. r=me 2013-10-02 11:32:15 +09:00
Mike Hommey
203467bcab Bug 920919 - Set MOZ_PSEUDO_DERECURSE to no-parallel-export by default on developer builds... when not using pymake. r=gps 2013-09-27 08:12:19 +09:00
Mike Hommey
5bf049b80d Bug 906225 - Add a --enable/disable-gold configure flag. r=gps 2013-09-27 08:07:30 +09:00
Mike Hommey
efc297fb0e Bug 920353 - Use PYCOMMANDPATH paths as site packages in pymake, and set it to the virtualenv site packages instead of $(topsrcdir)/config. r=gps 2013-09-26 16:43:53 +09:00
Panos Astithas
8fe44c78c6 Search for Android SDK build tools version 18.1.0 (bug 919466). r=glandium 2013-09-24 10:14:33 +03:00
Gregory Szorc
fda57a4bf9 Bug 794506 - Part 1: Move virtualenv code under mozbuild; r=ted
--HG--
rename : build/virtualenv/packages.txt => build/virtualenv_packages.txt
rename : build/virtualenv/populate_virtualenv.py => python/mozbuild/mozbuild/virtualenv.py
2013-09-20 15:46:23 -07:00
Mike Hommey
107771f6d5 Bug 907365 - Pseudo-derecursify the build (opt-in). r=gps
Also remove the compile tier added in bug 912856 when pseudo-derecursify is disabled.
2013-09-20 10:44:11 +09:00
Nathan Froyd
844f4a72e4 Bug 914293 - ensure check_debug_ranges.py can cope with a nonexistant DW_AT_ranges; r=glandium 2013-09-10 11:53:21 -04:00
Makoto Kato
bc5feb94b6 Bug 911893 - cannot use --enable-android-libstdcxx configure option. r=glandium 2013-09-06 14:40:48 +09:00
Mike Hommey
3cee26c564 Bug 911634 - Create a .mozconfig.mk in the objdir when starting a build, and include it from config.mk. r=gps 2013-09-05 09:01:44 +09:00
Dan Gohman
48281d4a3c Bug 910814 - SpiderMonkey: Disable errno for math functions. r=glandium 2013-09-02 17:21:21 -07:00
Mike Hommey
9ca1f4b4a7 Bug 907650 - Move debugging options configure.in goop in compiler-opts.m4. r=gps 2013-08-30 11:10:33 +09:00
Doug Turner
5dc544505a Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -07:00
Irving Reid
e590e311ff Bug 905315: Work around android ADT path naming scheme change; r=nalexander 2013-08-26 11:16:18 -04:00
Mike Hommey
be41d52866 Bug 903369 - Wrap subconfigure invocation and restore config.status produced file timestamps if they haven't changed. r=gps 2013-08-20 15:23:28 +09:00
Mike Hommey
cc6f9e625a Bug 906260 - Make MOZILLA_OFFICIAL turn --enable-release on automatically. r=khuey
Still allow MOZILLA_OFFICIAL + --disable-release
2013-08-17 14:18:55 +09:00
Mike Hommey
e086b73f5d Bug 904979 - Disable ICF and dead code removal on local builds. r=ted 2013-08-15 23:45:10 +09:00
Mike Hommey
28a56d37be Bug 904979 - Force use gold, if possible, when the default linker is BFD ld, for local builds. r=ted 2013-08-15 23:45:10 +09:00
Mike Hommey
f60d915205 Bug 904979 - Add build option for rel-eng type builds. r=ted 2013-08-15 23:45:09 +09:00
Mike Hommey
54a79a8f76 Bug 888549 - Don't print config.log when config.status fails. r=ted 2013-08-15 23:45:08 +09:00
Mike Hommey
073c0ef26d Bug 861285 - Print AC_MSG_ERROR messages in config.log too. r=ted 2013-08-15 23:45:07 +09:00
JW Wang
0a419b70d3 Bug 882171 - Part 2: Call NEON implementation. r=ehsan, r=glandium 2013-08-13 17:30:18 +08:00
JW Wang
99015508fd Bug 882171 - Part 1: Add NEON implementation of AudioNodeEngine.cpp. r=roc, r=padenot, r=derf, r=glandium 2013-08-13 15:39:42 +08:00
Mike Hommey
fb9eaf3a84 Bug 901149 - Add the clang workaround for __float128 to HOST_CXXFLAGS when not cross-compiling. r=ted 2013-08-06 10:08:23 +09:00
Mike Hommey
84666eea2a Bug 900775 - Add -std=gnu++0x to HOST_CXXFLAGS when not cross-compiling. r=gps 2013-08-02 10:29:38 +09:00
Jeff Muizelaar
df89698ddf Bug 900594. Support Android SDK v18.0.1 r=glandium
This makes configure use build-tools instead of platform-tools

--HG--
extra : rebase_source : 7cf330f178b81dc30dc1cc15af52a03329330c3a
2013-08-01 20:41:19 -04:00
Mike Hommey
10c4603a7b Bug 899405 - Allow host and target compilers to depend on stdc++-compat independently. r=ted 2013-07-31 14:04:23 +09:00
Nick Alexander
f37aeaf3b5 Bug 898296 - Search for Android SDK build tools version 18.0.0. r=gps
This patch also tries to verify that the tools are actually found
early in the configure process, rather than failing with difficult to
parse errors at the end of the build.

Since the Android developer tools are defined earlier in the build
process, we can remove a work-around needed for |make install|.
2013-07-30 09:15:50 -07:00
Mike Hommey
c34b466603 Bug 895915 - Enforce host gcc/clang support for C++11. r=gps 2013-07-30 08:57:28 +09:00
Mike Hommey
718e8ca64e Bug 894763 - Default objdir should reflect target, not host. r=gps 2013-07-23 07:26:09 +09:00
Roberta De Viti
2f60adc1ac Bug 894717 - Fix 'plase upgrade' typo in autoconf files. r=khuey 2013-07-19 10:47:15 -07:00
Mike Hommey
82b9fd31cd Bug 850576 - Statically link stlport on b2g and android, and always use a custom built stlport for that. r=ted 2013-07-15 18:48:39 +09:00
Mike Hommey
5377dc0e9d Bug 892361 - Default to gcc 4.7 from the NDK if it's there. r=ted 2013-07-12 09:16:11 +09:00
Nathan Froyd
2eaa2c7e22 Bug 887902 - move --enable-debug{,-symbols} option processing before MOZ_COMPILER_OPTS; r=glandium
MOZ_COMPILER_OPTS depends on MOZ_DEBUG_FLAGS being set for proper checking of
linker dead code deletion when using GCC.

GC'ing sections saves ~1.5MB off of mobile libxul according to size(1):

[froydnj@cerebro eideticker]$ size /opt/build/froydnj/build-android/dist/bin/libxul.so
   text	   data	    bss	    dec	    hex	filename
23733400	2314816	1495973	27544189	1a44a7d	/opt/build/froydnj/build-android/dist/bin/libxul.so
[froydnj@cerebro eideticker]$ size /opt/build/froydnj/build-android/dist/bin/libxul.so
   text	   data	    bss	    dec	    hex	filename
22261936	2145116	1494533	25901585	18b3a11	/opt/build/froydnj/build-android/dist/bin/libxul.so
2013-06-27 13:50:54 -04:00
Ehsan Akhgari
58586425f5 Bug 752034 - Use the Windows SDK when building with Clang on Windows; r=ted 2013-06-13 13:09:22 -04:00
Ehsan Akhgari
178e23b597 Bug 882766 - Recognize clang even when it doesn't #define __GNUC__; r=ted
Clang on Windows #defines _MSC_VER but not __GNUC__, so we need to make sure
that the build system can recognize it even when __GNUC__ is not defined.
2013-06-13 13:03:13 -04:00
Nathan Froyd
c6742b25b1 Bug 874132 - Part 1: Handle SDK layout differences in the Android r22 SDK. r=nalexander
Author:    Nathan Froyd <froydnj@gmail.com>

--HG--
extra : rebase_source : 614b386efc0a2b13c6570c99d09d6ec99146c3e1
2013-06-18 09:25:15 -07:00
Jed Davis
25d9dcb405 Bug 873332 - Don't use -fno-omit-frame-pointer on ARM to avoid a GCC bug. r=glandium
The flag would not be useful for profiling on our current ARM platforms
even if it worked correctly, so we can just remove it.
2013-05-30 08:10:02 -04:00
Gregory Szorc
797800b43c Bug 873325 - Normalize topobjdir to an absolute path; r=glandium 2013-05-20 09:45:54 -07:00
James Willcox
6a67e06783 Bug 867750 - Add a --with-compiler-wrapper configure option r=glandium
--HG--
extra : rebase_source : a9cdc227652214c21835fa9921c7960f8b1a0b1d
2013-05-02 09:26:13 -04:00
Nathan Froyd
f408f1f34f Bug 837618 - teach expandlibs_exec.py about OS X's -filelist linker option; r=glandium 2013-04-16 11:13:50 -04:00
Mike Hommey
8c58d3bec3 Bug 850332 - Use jemalloc inside mozglue. r=kats,r=mwu 2013-03-17 08:03:05 +01:00
Chris Peterson
34d5ef65a4 Bug 861073 - Add configure check that --with-android-version is at least 9. r=glandium 2013-04-11 23:07:27 -07:00
Gian-Carlo Pascutto
8a5221dd01 Bug 823375 - Don't build or try to link NEON libs when the target doesn't support it. r=glandium 2013-04-12 12:00:29 +02:00
Vicamo Yang
020c221ba5 Bug 859830: determine Android API level through android/api-leve.h instead. r=glandium 2013-04-12 13:39:42 +08:00
Mike Hommey
e6f599425e Bug 788613 - Dump config.log when configure fails. r=ted 2013-04-10 16:15:01 +02:00
Mike Hommey
d777e5c622 Bug 860184 - Automatically use the x86-64 NDK toolchain when possible. r=ted 2013-04-10 16:12:57 +02:00
Kyle Huey
7638f224e8 Back out Bug 788613 for breaking the build on Windows. 2013-04-08 06:22:50 -07:00
Mike Hommey
79be4729ee Bug 788613 - Dump config.log when configure fails. r=ted 2013-04-08 08:31:50 +02:00
Gregory Szorc
a658cf762d Bug 841713 - Add objdir paths to virtualenv; r=ted 2013-03-26 10:35:57 -07:00
Makoto Kato
6b8bd5e0d5 Bug 837598 - cannot build WebRTC for Linux/arm. r=glandium 2013-03-15 11:50:17 +09:00
Paul Adenot
cd51bc591a Bug 850713 - Bump the required NDK version to 9. r=blassey.bugs,mh+mozilla 2013-03-15 16:28:07 +13:00
Phil Ringnalda
69c6475c27 Back out 0044e4c2dc53 (bug 851149), 3080f18ba53d (bug 698328), 0b147c3f682b (bug 850713) for Android bustage
CLOSED TREE
2013-03-14 21:19:40 -07:00
Paul Adenot
327a511bd4 Bug 850713 - Bump the required NDK version to 9. r=blassey.bugs,mh+mozilla
--HG--
extra : rebase_source : d6886dcfe87747e77c3828289b1184a58e6a0c09
2013-03-15 16:28:07 +13:00
Gregory Szorc
803629b9c6 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
16f0413b0c Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
4c3d4dc8a4 Bug 784841 - Part 19: Remove allmakefiles.sh and friends; r=ted 2013-02-25 14:09:16 -08:00
Ehsan Akhgari
60360c9ef7 Bug 780474 - Disable the struct/class mismatch warning on MSVC as well; r=glandium
--HG--
extra : rebase_source : 3e593b71e589df349abc41f9182739305478690f
2013-02-25 12:10:41 -05:00
Joshua Cranmer
11274b83c3 Bug 648980 - Add a hook for projects to have custom configure scripts. r=glandium
--HG--
extra : rebase_source : e020071adc89e07fd45d468aabe518027df7ba44
2013-02-26 13:45:52 -06:00
Gregory Szorc
21c12f5774 Bug 784841 - Part 13: Properly normalize topsrcdir in config.status; r=glandium 2013-02-21 10:55:55 -08:00
Gregory Szorc
d63d28cf51 Backout 4682ed369545 (bug 841713) for reftest make target bustage
--HG--
extra : rebase_source : 6bf45c9f33563109cf6d17197f9184a3a336efe0
2013-02-20 09:16:02 -08:00
Gregory Szorc
007c5b7899 Bug 841713 - Add objdir paths to virtualenv; r=ted 2013-02-19 15:23:21 -08:00
Landry Breuil
78bac09dbb Bug 842131 - Use egrep to detect clang version, fixes build without GNU grep. r=glandium 2013-02-18 10:42:22 +01:00
Felix S. Klock II
3af2c6afc5 Bug 840512 - Generalize toolchain.m4 to match newer Apple clang version string. r=glandium 2013-02-13 11:24:09 +01:00
Mike Hommey
a2be08467d Bug 836161 - Fix gcc version test from bug 833627 to be properly quoted by m4. r=ted 2013-01-31 10:32:18 +01:00
Mike Hommey
045aa6ad61 Bug 833627 - Reject gcc < 4.4, and remove a few unused Xcode related variables. r=ted 2013-01-23 10:13:02 +01:00
Gregory Szorc
ea0dd7348c Bug 784841 - Part 5: Integrate virtualenv into SpiderMonkey configure; r=glandium
Python and virtualenv logic is now contained within an m4 file.
SpiderMonkey now requires the mozilla-central virtualenv environment to
build. If SpiderMonkey configure is invoked by mozilla-central's
configure, the virtualenv will be reused. If SpiderMonkey configure is
invoked in isolation, it will search for the virtualenv in the
mozilla-central root.
2013-01-16 00:21:06 -08:00
Kartikaya Gupta
3518fd0948 Bug 828660 - Try to autodetect the compiler version in the android NDK. r=glandium 2013-01-14 09:35:40 -05:00
Makoto Kato
a59ffbb9b9 Bug 802527 - Support Android NDK r8b for x86 android build. r=glandium 2012-12-19 11:49:44 +09:00
Mike Hommey
c50c70fc80 Bug 818092 - Properly use CC/CXX from mozconfig on non-cross-compile Mac builds. r=ted 2012-12-06 17:06:37 +01:00
Surith Thekkiam
2a22c3bfce Bug 807423 - Support use of GNU libstdc++ on Android. r=ted
* For android-ndk versions r7, r7b, r8, r8b
 * std::ifstream broken in earlier versions of ndk
 * ... used in jscntxt.cpp by ComputeIsJITBroken()
 * Default gnu_compiler_version is 4.4.3
 * If android_toolchain is not set, attempt to infer it from gnu_compiler_version.
 * Copy changes from js/src/build/autoconf/android.m4 to build/autoconf/android.m4
2012-11-06 09:41:16 -08:00
Vladimir Vukicevic
06309ae278 no bug; fix configure.in message on Android to not be lies and give useful info; r=sparky 2012-11-13 14:20:54 -05:00
Wes Johnston
abfa99d444 Bug 810398 - Update support library error message to be clearer. r=blassey 2012-11-09 11:07:40 -08:00
Wes Johnston
f6535051b7 Bug 759041 - Bring in Android compatibility libraries. r=blassey 2012-11-08 07:45:29 -08:00
Brad Lassey
7283b31b70 bug 802616 - don't use software floating point math on ARMv6 r=glandium
--HG--
rename : dom/bindings/ExampleGen.py => dom/bindings/BindingGen.py
extra : rebase_source : 4171bc4cccbd6cc82d50a1d2544e362bd615fdf9
2012-10-17 11:40:55 -04:00
Gregory Szorc
766648241e Bug 795499 - Export ANDROID_CPU_ARCH via AC_SUBST. r=glandium 2012-09-29 00:49:24 -07:00
Rafael Ávila de Espíndola
25866c642b Bug 789941 - Remove stdc++compat.cpp support on OS X. r=benjamin. 2012-09-13 19:17:08 -04:00
Rafael Ávila de Espíndola
3cb8cabf2e Bug 788276 - Properly check for broken (deprecated) compilers. r=gps.
Check for old gcc versions.
2012-09-12 14:54:40 -04:00
Rafael Ávila de Espíndola
10b56fe547 Bug 788276 - Properly check for broken (deprecated) compilers. r=gps.
Check for old versions of llvm.
2012-09-12 14:48:16 -04:00
Rafael Ávila de Espíndola
3eb66169b5 Bug 787931 - Add better error message. r=gps. 2012-09-11 09:02:20 -04:00
Rafael Ávila de Espíndola
231e51481f Bug 787931 - update the default compiler on OS X because we can't build with gcc 4.2 any longer. r=gps. 2012-09-10 14:52:26 -04:00
Mike Hommey
e76d23d064 Bug 785871 - Make config.status importable. r=gps 2012-08-29 08:55:58 +02:00
Mike Hommey
08d483c83a Bug 781461 - Work around mksh/pdksh bug in config.status.m4. r=ted 2012-08-18 11:17:29 +02:00
Aryeh Gregor
8a876c035b Bug 780474 - Set -Wno-mismatched-tags for clang; r=glandium 2012-08-14 12:10:42 +03:00
Ed Morley
7858e8e170 Backout 19ec214f806c (bug 782916), 88b802832f52 (bug 782919), f16429aa2210 (bug 780474) for Android build failures 2012-08-17 12:25:12 +01:00
Aryeh Gregor
ac0a0cdcc7 Bug 780474 - Set -Wno-mismatched-tags for clang; r=glandium 2012-08-14 12:10:42 +03:00
Siddharth Agarwal
c87b1488fa Bug 781431 - A few minor build system improvements. r=ted
1. mozconfig2client-mk still refers to $HOME/.mozconfig, even though we
removed it a while ago. Thanks to Neil for pointing it out.
2. MOZCONFIG_FIND and MOZCONFIG_MODULES are no longer used by client.mk.
3. Make CONFIG_GUESS a script that runs just once per client.mk invocation.

--HG--
extra : rebase_source : ec75ebcc5cea004f64abafb8a219e828234237de
2012-08-15 22:06:43 +05:30
Siddharth Agarwal
0bbcca7f47 Bug 779922 - Export Windows-style paths in the in-tree mozconfig.vs2010 when building under Pymake. r=ted
--HG--
extra : rebase_source : bb3dff7e94b53efe79801a2b3bfc6cd78ef47ac3
2012-08-07 02:37:11 +05:30
Makoto Kato
a18bf0b4ed Bug 780072 - default value of android api version should be 9 on x86 or mipsel. r=glandium 2012-08-06 12:06:30 +09:00
Mike Hommey
4624ad2add Bug 780357 - Allow m-c's ConfigStatus.py to be used from c-c. r=khuey 2012-08-05 17:52:47 +02:00
Masatoshi Kimura
3893673ec4 Bug 780430 - Declare encoding in config.status. r=glandium 2012-08-05 12:42:59 +02:00
Mike Hommey
e04333c977 Bug 778740 - Allow to use Linux kernel headers for perf events. r=khuey 2012-08-04 08:55:00 +02:00
Mike Hommey
69991fde10 Bug 774032 part 7 - Remove make-makefile and acoutput-fast.pl. r=ted 2012-08-04 08:47:28 +02:00
Mike Hommey
6de82c7f66 Bug 774032 part 6 - Replace autoconf handling of config files and headers with our own. r=ted 2012-08-04 08:47:28 +02:00
Rafael Ávila de Espíndola
2ef8d511ed Bug 755145 - Define CCACHE_CPP2 when using ccache and Clang. r=glandium. 2012-07-19 09:20:46 -04:00
Mike Hommey
882d156651 Bug 763651 - Link the javascript engine against zlib. r=khuey 2012-07-12 08:30:59 +02:00
Mike Hommey
ff3ca94566 Bug 767024 - Allow dependentlibs.py to work when cross-compiling for Android on OSX. r=khuey 2012-06-22 18:33:17 +02:00
Mike Hommey
3beac338fb Bug 734125 - Fail configure when acoutputfast.pl fails to find one of the input files. r=ted 2012-06-20 09:45:45 +02:00
Mike Hommey
95bbba592a Backout changeset efc2f07a829b (bug 734125) because of bustage 2012-06-20 09:23:41 +02:00
Mike Hommey
2026efa911 Bug 734125 - Fail configure when acoutputfast.pl fails to find one of the input files. r=ted 2012-06-20 09:00:48 +02:00
Mike Hommey
92dba1256b Bug 762358 - Don't create a .mozconfig.mk file, and re-run configure when .mozconfig changed. r=ted 2012-06-19 09:12:43 +02:00
Mike Hommey
5f21feb5c0 Bug 759115 - Move Android SDK/NDK checks in build/autoconf/android.m4, and bump minimum Android SDK API level we require to 14 for mobile/android. r=ted 2012-06-11 08:10:28 +02:00
Mike Hommey
ed3f1040f5 Backout changeset a78601d88586 (bug 759115) because of B2G bustage 2012-06-11 08:23:29 +02:00
Mike Hommey
c50ce57fb4 Bug 759115 - Move Android SDK/NDK checks in build/autoconf/android.m4, and bump minimum Android SDK API level we require to 14 for mobile/android. r=ted 2012-06-11 08:10:28 +02:00
Rafael Ávila de Espíndola
56a8e9f66c Bug 762071 - JS is being compiled with exceptions enabled. r=khuey. 2012-06-08 13:31:28 -04:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Chris Coulson
a33095deaf Bug 756167 - Fix make-makefile test failure when the source path contains perl regexp metacharacters. r=coop 2012-05-17 17:55:33 -04:00
Rafael Ávila de Espíndola
f292482b86 Bug 555727 - Select clang over llvm-gcc if gcc-4.2 is not available. r=ted. 2012-05-03 17:01:29 -04:00
Makoto Kato
2b5e50a71b Bug 743601 - Remove GLIB check for OSX. r=khuey 2012-04-27 12:28:16 +09:00
Makoto Kato
6b21bcc4e1 Bug 716354 - freetype2 detection doesn't consider cross-compiling. r=glandium 2012-04-06 11:36:24 +09:00
Nicholas Nethercote
ba5600fd65 Bug 711895 - Tweak the warning options used for GCC builds (3rd attempt). r=waldo,derf,khuey,mhommey.
--HG--
extra : rebase_source : 20540c9b838ee3be6cb0847c1b90fdc3bd44059d
2012-03-21 22:21:16 -07:00
Nicholas Nethercote
256772d52e Backed out changeset 0124795a8cbb (bug 711895) due to i10n build bustage. r=me. 2012-03-21 21:46:27 -07:00
Nicholas Nethercote
1859bc3ea6 Bug 711895 - Tweak the warning options used for GCC builds (2nd attempt). r=waldo,derf,khuey,mhommey,jwatt. 2012-03-15 19:40:00 -07:00
Mike Hommey
603769b284 Bug 733773 - Reset default values for thumb, float-abi, etc. when --with-arch is specified. r=ted 2012-03-13 09:47:03 +01:00
Mike Hommey
f3c213484d Backout changeset 03394bda1d0f (bug 733773) because of Windows red. 2012-03-13 10:05:38 +01:00
Mike Hommey
b71a0c557f Bug 733773 - Reset default values for thumb, float-abi, etc. when --with-arch is specified. r=ted 2012-03-13 09:47:03 +01:00
Mike Hommey
6b0bf74fce Bug 603370 - Avoid Identical Code Folding messing with symbol reordering. r=khuey 2012-03-08 08:56:28 +01:00
Mike Hommey
afd6044b69 Bug 603370 - Add an option to expandlibs-exec to allow to reorder the symbols when linking. r=khuey 2012-03-08 08:56:27 +01:00
Mike Hommey
544b7a606d Bug 695711 - Always add -ffunction-sections and -fdata-sections when building with GCC, and port bug 670659 and bug 675867 to js/src. r=khuey
--HG--
rename : build/unix/check_debug_ranges.py => build/autoconf/check_debug_ranges.py
rename : build/unix/check_debug_ranges.py => js/src/build/autoconf/check_debug_ranges.py
2012-02-27 16:35:44 +01:00
Ehsan Akhgari
9fc675a3c3 Bug 732162 - Build mobile profiling builds with -funwind-tables; r=khuey
--HG--
extra : transplant_source : 4O%F7%BA%94%0Fh%F6%5E%EA%10%E1%08%9E%D9S%A2XEd
2012-03-01 16:24:04 -05:00
Irving Reid
f62ddb349e Bug 731316: override warning about unsupported compiler warning flag on clang. r=respindola. 2012-02-29 10:20:42 -05:00
Rafael Ávila de Espíndola
49845c6bf7 Bug 727145 - Pass -Wno-return-type-c-linkage to clang. r=glandium. 2012-02-16 09:53:08 -05:00
Gavin Sharp
b9b31576d9 Remove outdated reference to "build configurator" webtool, rs=khuey, no bug 2012-01-20 18:07:10 -08:00
Rafael Ávila de Espíndola
c96397dc02 Bug 715930 - Use stdc++compat.cpp on OS X too. r=:glandium. 2012-01-10 15:01:03 -05:00
Daniel Holbert
6bc23dbdce Bug 716663: Fix check for PR49911 to use "=" instead of "==" for string-equality-check with 'test'. r=respindola 2012-01-09 14:17:00 -08:00
Rafael Ávila de Espíndola
9799f824dd Bug 705466 - Use MOZ_CHECK_HEADERS to check for cpuid.h. r=ted.
--HG--
extra : rebase_source : ecd108d166017cbd64c5be459a76cb2522723dfb
2011-11-28 15:32:32 -05:00
Rafael Ávila de Espíndola
0ea58cfe7f Bug 705461 - Use MOZ_CHECK_HEADER(S) everywhere. r=neil. 2011-11-26 16:05:17 -05:00
Joey Armstrong
42efcd221d Bug 687511 - make-makefile enhancements; r=khuey,coop 2011-11-20 11:18:27 +00:00
Kyle Huey
04aaba1c02 Merge m-c to b-s. 2011-09-29 08:38:20 -04:00
Siddharth Agarwal
e64212b81b Bug 687275 - mozconfig detection code: remove an unnecessary pipe -> string -> pipe redirection and use FOUND_MOZCONFIG instead of MOZCONFIG. r=ted 2011-09-23 23:22:44 +05:30
Matheus Kerschbaum
3d31a8f676 Bug 687766 part 1: Remove build-time dependency on libIDL. r=khuey 2011-09-27 10:09:54 +02:00
Siddharth Agarwal
56fe36ae20 Bug 681659 - Execute mozconfig-find just once and make sure mozconfig detection errors are handled properly. r=ted 2011-09-09 02:00:31 +05:30
Jeff Walden
a5697731ec Bug 684782 - Readd support for $topsrcdir/mozconfig, exclusive with support for $topsrcdir/.mozconfig (no more than one may be present). f=callek r=ted 2011-09-07 13:42:03 +02:00
Rafael Ávila de Espíndola
a8c970acc2 Bug 680277 - Debug builds should always be compiled with frame pointers. r=khuey.
This patch creates a new MOZ_FRAMEPTR_FLAGS variable that is used only to
control the frame pointer flags passed to the compiler. It also computes this
flag in a macro so that the toplevel configure and js/src/configure stay in
sync.
2011-09-03 13:36:18 -04:00
Ehsan Akhgari
27c450d474 Keep changeset e3626f903f9f backed out on the reverted tree 2011-09-02 09:06:01 -04:00
Ehsan Akhgari
a171549936 Revert to changeset e6fc4594c22e which was the last one to get a green Win7 tp run 2011-09-02 09:03:08 -04:00
Rafael Ávila de Espíndola
e281bb7586 revert 11247af82311, e3626f903f9f and 7ee51f8ea940.
CLOSED TREE
2011-09-01 22:01:56 -04:00
Rafael Ávila de Espíndola
59412356d4 Bug 680277 - Add missing file.
CLOSED TREE
2011-09-01 16:17:50 -04:00
Rafael Ávila de Espíndola
be6ade2240 Bug 678558 - Detect broken vrp and disable it.
Test if the gcc we are using has PR49911 and if so disable value range
propagation to avoid.

--HG--
extra : rebase_source : d539914fa66a44f69399f2964740315f0723378f
2011-08-26 15:39:34 -04:00
Siddharth Agarwal
b7dd4c5482 Bug 675691 - Get rid of mozconfig guesswork. r=ted
- MOZCONFIG is now the only environment variable we recognize. We used to
  recognize MOZ_MYCONFIG as well, but we now error out if that is set.

- $topsrcdir/.mozconfig is now the only implicit location we recognize. We used
  to recognize a number of other implicit locations, but we now error out where
  we would have used one of them.
2011-08-24 12:09:29 +05:30
Siddharth Agarwal
8d7591a3ec Bug 678475 - Make mozconfig-find always return an absolute path. Patch adapted from code by Hiroyuki Ikezoe <hiikezoe@mozilla-japan.org>. r=ted 2011-08-14 22:04:46 +05:30
ABE Hiroki
f1193d87d2 Bug 672980 - M4 macro name should be quoted in AC_DEFUN. r=ted
fixes for js/src f+=Callek
2011-08-09 14:27:00 -04:00
Mounir Lamouri
6aee473a58 Backout bug 563462, bug 675519, bug 674647, bug 341223 and bug 672980 to fix perma-orange. 2011-08-09 14:50:55 +02:00
Hiroyuki Ikezoe
7b8e37b540 Bug 672980 - M4 macro name should be quoted in AC_DEFUN. r=ted 2011-07-20 16:00:00 -04:00
Hiroyuki Ikezoe
c7615957ba Bug 341223 - Make $MOZCONFIG try $topsrcdir-local paths too 2011-08-02 18:48:00 -04:00
Brad Lassey
1185ce19f4 backout bug 341223, changeset backout_4d794b0ef38d because it breaks some developer's builds 2011-08-01 19:03:06 -04:00
Hiroyuki Ikezoe
a471ea6945 Bug 341223 - Make $MOZCONFIG try $topsrcdir-local paths too. r=ted 2011-08-01 09:22:25 +02:00
Brad Lassey
d7d64adac1 bug 672939 - fennec package name repeats itself with NDKr5 and greater r=khuey 2011-07-20 17:02:04 -04:00
Mike Hommey
a7a8485bcb Bug 669866 - Export CXX instead of defaulting to c++. r=ted 2011-07-11 07:51:01 +02:00
Jezreel Ng
5219048da2 Bug 666140: Error out if MOZCONFIG points to a non-existent file. r=khuey 2011-06-24 07:22:40 -07:00
Marco Bonardo
acc6a474c6 Revert to changeset a87ee7550f6a due to incomplete backout 2011-06-24 17:23:04 +02:00
Jezreel Ng
d30d7fe381 Bug 666140: Error out if MOZCONFIG points to a non-existent file. r=khuey 2011-06-24 07:22:40 -07:00
Mike Hommey
d2b1bad1a2 Bug 664340 - Fallback to c++ when CXX is not set. r=khuey 2011-06-15 02:14:33 +02:00
Rafael Ávila de Espíndola
eb595ddfc3 Bug 657653. Check for libstdc++ versions in stdc++compat.cpp; r=ted,glandium 2011-06-08 22:35:24 -04:00
Brad Lassey
66de27b901 bug 617115 - support building with andorid NDKr5 r=ted 2011-04-01 16:47:37 -07:00
Rafael Ávila de Espíndola
1dc7419b16 Bug 638149 - Need a way to disable -dead_strip on OS X. r=ted 2011-04-09 05:23:27 +10:00
Ehsan Akhgari
df5b0c2ac1 Backed out changeset eb6edf77b7c8 (bug 638149) because of build bustage 2011-03-27 15:30:22 -04:00
Rafael Ávila de Espíndola
5594fa16cf Bug 638149 - Need a way to disable -dead_strip on OS X; r=ted 2011-03-02 21:29:00 -05:00
Neil Rashbrook
48b15e424f Bug 632344 - Speed up header checks. r=ted 2011-03-01 21:38:21 +11:00
Mounir Lamouri
ce749fb7f5 Bug 620788 - Do not silently fall back to bundled NSS/NSPR if system ones can't be used. r=khuey a=bsmedberg 2011-02-03 00:13:07 +01:00
Eli Friedman
87a30182c7 Bug 579689 - Fix cases of return without expression in a function returning "int". r=khuey 2010-07-18 11:19:48 +02:00
Vladimir Vukicevic
836d2f6c3a b=?; fix make-makefile and cairo-features.h.in hack; r=ted 2010-07-02 11:20:29 -07:00
Jacek Caban
f8de08b4af Bug 559854 - Compile target xpidl only if libIDL is configured when cross compiling. [r=ted]
(transplanted from 0388c837c9867762bcc10a1fb88428050d158479)

--HG--
extra : transplant_source : %03%88%C87%C9%86wb%BC%C1%0A%1F%B8%84%28%05%0D%15%84y
2010-06-02 10:08:00 -04:00
L. David Baron
49a08f5156 Fix indentation in configure --help. (Bug 569261) r=ted 2010-06-02 14:04:21 -07:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Brad Lassey
e496cd2077 bug 515748 - differentiate between wince and winmo (change windows mobile ABI to arm-wince-winmo) r=ted 2009-12-04 14:14:18 -05:00
Ted Mielczarek
9dee7ceee5 back out accidental changes (on a CLOSED TREE, no less) 2009-11-11 13:27:09 -05:00
Ted Mielczarek
4d199d793a add some debug output to investigate bug 522729 (on a CLOSED TREE) 2009-11-11 12:32:07 -05:00
Benjamin Smedberg
56a8d84c46 Bug 485409 - Handle a Windows-style path as $srcdir in configure, by modifying the default autoconf M4 macros so that they recognize Z:/ as an absolute path. r=ted 2009-09-22 09:05:48 -04:00
Josh Aas
621cf29067 Add executable bits back to config.guess files. b=515002 2009-09-09 08:20:25 -04:00
Josh Aas
099411b764 Sync config.guess to latest version from gnu, include fix for GNU Savannah bug 6827. b=515002 r=ted 2009-09-08 14:55:19 -04:00
Phil Ringnalda
961c1d7e61 Bug 504239. Remove useless chunk of barely-used script. r=ted 2009-08-04 09:50:18 +12:00
Jim Blandy
337d1489a6 Bug 475654: Allow workaround for NSPR installations with no nspr-config script. a=wes, r=jimb 2009-07-28 13:18:50 -07:00
Brad Lassey
0162065e05 bug 50070 - mozconfig2configure can't handle paths with parenthesis r=ted 2009-06-24 16:21:14 -04:00
Josh Aas
109f956de0 Sync config.guess with latest from gnu "config" package. See bug for changelog. b=492623 r=ted 2009-05-12 23:47:03 -04:00
Ginn Chen
1e9057e2f1 Bug 487602 Failed to compile firefox on Solaris r=bsmedberg 2009-04-20 15:22:06 +08:00
Makoto Kato
b68fa392fb Bug 485264 followup - quote things to death, r=bsmedberg 2009-04-03 13:48:08 -04:00
Benjamin Smedberg
b7dbb7cee0 Bug 485264 - Not enough quotes in mozprog.m4 when suggestions contain spaces r=ted 2009-03-31 08:41:50 -04:00
Ginn Chen
1233d3dcd9 Bug 480967 Don't leak MSYS paths into makefiles, fix Solaris bustage r=bsmedberg 2009-03-11 16:51:47 +08:00
Benjamin Smedberg
c4cc33cfae Bug 40967 - Avoid leaking MSYS paths in Makefiles: use c:/dir/path paths whenever possible, r=ted 2009-03-09 10:55:41 -04:00
Jim Blandy
ae65f2b142 Bug 475064: Use 'test !', not '! test' in configure scripts. r=bsmedberg 2009-01-28 09:01:40 -08:00
Ted Mielczarek
79e7690f7c bug 474973 - make config.{guess,sub} executable 2009-01-23 07:56:51 -05:00
Benjamin Smedberg
82ba665418 Bug 269538 - use stdint types instead of jscpucfg types, now that we have them auto-configured
* Various code inside and outside of JS uses JS_BYTES_PER_WORD, so I added it to js-config.h
* Existing code uses JS_BYTES_PER_DOUBLE, JS_BITS_PER_WORD_LOG2, and JS_ALIGN_OF_POINTER so I've added autoconf tests for those

r=crowder r=jimb
2009-01-14 15:56:30 -05:00
Arpad Borsos
4af1852ab6 Bug 472332 - Remove unused files from build/autoconf; +aclocal cleanup; r+sr=ted.mielczarek 2009-01-22 19:01:24 +01:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Benjamin Smedberg
09ffef3261 Backed out changeset 525e42406396, bug 269538 (jscpucfg-ectomy) due to Windows TUnit bustage. 2009-01-21 17:34:28 -05:00
Benjamin Smedberg
db11be65b9 Bug 269538 - use stdint types instead of jscpucfg types, now that we have them auto-configured
* Various code inside and outside of JS uses JS_BYTES_PER_WORD, so I added it to js-config.h
* Existing code uses JS_BYTES_PER_DOUBLE, JS_BITS_PER_WORD_LOG2, and JS_ALIGN_OF_POINTER so I've added autoconf tests for those

r=crowder r=jimb
2009-01-14 15:56:30 -05:00
Jim Blandy
a04892f62e Bug 465640: Use autoconf to declare stdint types on platforms that don't have stdint.h r=bsmedberg
At configure time, check for <stdint.h>.  If we don't have it, find
integer types of various sizes.  On Windows, where we can't run
compilation tests in configure, hard-code definitions suggesting the
use of the built-in __intN types for the exact-size types, and
<stddef.h> for the pointer-sized types.

Use namespace-clean names for the preprocessor macros we define.
Since these types are used in the public JavaScript API, the configure
script needs to place the definitions it finds in js-config.h, the
installed configure-generated header, so it can be used by jsapi.h and
that gang.

New header js/src/jsstdint.h does what it takes to get definitions for
the exact-size and pointer-size integral types.  It includes
<stdint.h> when available, uses the types found by configure.in to
define the {,u}int{8,16,32,64,ptr}_t types itself, or uses the __intN
types and the <stddef.h> header.

Remove now-unnecessary and possibly conflicting definitions of intN_t
types from js/src/nanojit/avmplus.h.
2009-01-13 10:50:24 -08:00
Jim Blandy
131bb67d60 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
58d54a2e69 Bug 426205 - Fix implicit declaration of exit() warning running configure r=bsmedberg a=beltzner 2008-04-03 19:09:06 -07:00
reed@reedloden.com
24346568f5 Bug 405290 - "Implement version checking for nspr and nss" (build/autoconf part) [p=mh+mozilla@glandium.org (Mike Hommey) r=bsmedberg a1.9=schrep] 2007-12-11 02:21:59 -08:00
axel@pike.org
7e2df56d76 bug 383463, --disable-compile-environment checks too much, r=bsmedberg 2007-06-11 08:56:41 -07:00
bent.mozilla@gmail.com
9b9df8d5de Bug 382759 - "MozillaBuild 1.1's 'mkdir -p' command is unreliable". r=bsmedberg. 2007-06-04 17:33:21 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00