Commit Graph

214 Commits

Author SHA1 Message Date
Rafael Ávila de Espíndola
6c7b4adc54 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
543e39518d Bug 785871 - Make config.status importable. r=gps 2012-08-29 08:55:58 +02:00
Mike Hommey
daa472b3d2 Bug 781461 - Work around mksh/pdksh bug in config.status.m4. r=ted 2012-08-18 11:17:29 +02:00
Aryeh Gregor
03c970d57f Bug 780474 - Set -Wno-mismatched-tags for clang; r=glandium 2012-08-14 12:10:42 +03:00
Ed Morley
8f4f1ad013 Backout 19ec214f806c (bug 782916), 88b802832f52 (bug 782919), f16429aa2210 (bug 780474) for Android build failures 2012-08-17 12:25:12 +01:00
Aryeh Gregor
a23d8e7b07 Bug 780474 - Set -Wno-mismatched-tags for clang; r=glandium 2012-08-14 12:10:42 +03:00
Siddharth Agarwal
a92e1eae57 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
72385ee806 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
175e0eebf9 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
ebe1106fa3 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
8bebd64526 Bug 780430 - Declare encoding in config.status. r=glandium 2012-08-05 12:42:59 +02:00
Mike Hommey
ec0c9fcdad Bug 778740 - Allow to use Linux kernel headers for perf events. r=khuey 2012-08-04 08:55:00 +02:00
Mike Hommey
d004e4731d Bug 774032 part 7 - Remove make-makefile and acoutput-fast.pl. r=ted 2012-08-04 08:47:28 +02:00
Mike Hommey
98cf7cdf43 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
5964da33d6 Bug 755145 - Define CCACHE_CPP2 when using ccache and Clang. r=glandium. 2012-07-19 09:20:46 -04:00
Mike Hommey
d145a2d1a8 Bug 763651 - Link the javascript engine against zlib. r=khuey 2012-07-12 08:30:59 +02:00
Mike Hommey
fc130e8b4b 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
52dc0077b1 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
f5e949bd00 Backout changeset efc2f07a829b (bug 734125) because of bustage 2012-06-20 09:23:41 +02:00
Mike Hommey
7e280b5f1a 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
8d1470ed99 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
772ec44784 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
b41c60053d Backout changeset a78601d88586 (bug 759115) because of B2G bustage 2012-06-11 08:23:29 +02:00
Mike Hommey
80815c17fd 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
b13a48e799 Bug 762071 - JS is being compiled with exceptions enabled. r=khuey. 2012-06-08 13:31:28 -04:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Chris Coulson
00db9cbeaf 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
6f47befabe 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
2f60d1b760 Bug 743601 - Remove GLIB check for OSX. r=khuey 2012-04-27 12:28:16 +09:00
Makoto Kato
4ea1c093f3 Bug 716354 - freetype2 detection doesn't consider cross-compiling. r=glandium 2012-04-06 11:36:24 +09:00
Nicholas Nethercote
85b9728d6c 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
c4ee2f9bdc Backed out changeset 0124795a8cbb (bug 711895) due to i10n build bustage. r=me. 2012-03-21 21:46:27 -07:00
Nicholas Nethercote
5524d35c04 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
f6255df92e 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
1b47a89730 Backout changeset 03394bda1d0f (bug 733773) because of Windows red. 2012-03-13 10:05:38 +01:00
Mike Hommey
7beaf30867 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
f955d8086e Bug 603370 - Avoid Identical Code Folding messing with symbol reordering. r=khuey 2012-03-08 08:56:28 +01:00
Mike Hommey
934aace9a3 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
70f92bca22 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
3a282685d8 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
3675d8671d 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
3305146019 Bug 727145 - Pass -Wno-return-type-c-linkage to clang. r=glandium. 2012-02-16 09:53:08 -05:00
Gavin Sharp
a7f22e91c5 Remove outdated reference to "build configurator" webtool, rs=khuey, no bug 2012-01-20 18:07:10 -08:00
Rafael Ávila de Espíndola
a0187f466e Bug 715930 - Use stdc++compat.cpp on OS X too. r=:glandium. 2012-01-10 15:01:03 -05:00
Daniel Holbert
ec7f7986d7 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
c864603bb4 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
6bc4a658d3 Bug 705461 - Use MOZ_CHECK_HEADER(S) everywhere. r=neil. 2011-11-26 16:05:17 -05:00
Joey Armstrong
6042d35b4a 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