Commit Graph

473 Commits

Author SHA1 Message Date
Makoto Kato
a3d571fcb9 Bug 837598 - cannot build WebRTC for Linux/arm. r=glandium 2013-03-15 11:50:17 +09:00
Paul Adenot
50b59f2b0b Bug 850713 - Bump the required NDK version to 9. r=blassey.bugs,mh+mozilla 2013-03-15 16:28:07 +13:00
Phil Ringnalda
d0d78e1063 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
80dcb414f4 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
0c8ee65118 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
45faa95b04 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
bbaccdd804 Bug 784841 - Part 19: Remove allmakefiles.sh and friends; r=ted 2013-02-25 14:09:16 -08:00
Ehsan Akhgari
e0ecd62fb0 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
d381f677ac 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
2b30ef2b1f Bug 784841 - Part 13: Properly normalize topsrcdir in config.status; r=glandium 2013-02-21 10:55:55 -08:00
Gregory Szorc
a9616cce11 Backout 4682ed369545 (bug 841713) for reftest make target bustage
--HG--
extra : rebase_source : 6bf45c9f33563109cf6d17197f9184a3a336efe0
2013-02-20 09:16:02 -08:00
Gregory Szorc
787467a938 Bug 841713 - Add objdir paths to virtualenv; r=ted 2013-02-19 15:23:21 -08:00
Landry Breuil
5f2a0e8a19 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
9283a8f0e6 Bug 840512 - Generalize toolchain.m4 to match newer Apple clang version string. r=glandium 2013-02-13 11:24:09 +01:00
Mike Hommey
4d1a776995 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
a286285ba4 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
276d934426 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
875807e9db Bug 828660 - Try to autodetect the compiler version in the android NDK. r=glandium 2013-01-14 09:35:40 -05:00
Makoto Kato
9a7ebf8914 Bug 802527 - Support Android NDK r8b for x86 android build. r=glandium 2012-12-19 11:49:44 +09:00
Mike Hommey
0657fb3eda 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
cabc76aba3 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
4b3c2a973e 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
0c2cb7022e Bug 810398 - Update support library error message to be clearer. r=blassey 2012-11-09 11:07:40 -08:00
Wes Johnston
a3cbbff917 Bug 759041 - Bring in Android compatibility libraries. r=blassey 2012-11-08 07:45:29 -08:00
Brad Lassey
b66de766f1 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
5bca2c570a Bug 795499 - Export ANDROID_CPU_ARCH via AC_SUBST. r=glandium 2012-09-29 00:49:24 -07:00
Rafael Ávila de Espíndola
d064a53b8a 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
1886002408 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
3d13bf4ea3 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
62336e94a7 Bug 787931 - Add better error message. r=gps. 2012-09-11 09:02:20 -04:00
Rafael Ávila de Espíndola
f4d6413e4f 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
e149104528 Bug 785871 - Make config.status importable. r=gps 2012-08-29 08:55:58 +02:00
Mike Hommey
f458811d34 Bug 781461 - Work around mksh/pdksh bug in config.status.m4. r=ted 2012-08-18 11:17:29 +02:00
Aryeh Gregor
42126d1579 Bug 780474 - Set -Wno-mismatched-tags for clang; r=glandium 2012-08-14 12:10:42 +03:00
Ed Morley
26dd8a729c Backout 19ec214f806c (bug 782916), 88b802832f52 (bug 782919), f16429aa2210 (bug 780474) for Android build failures 2012-08-17 12:25:12 +01:00
Aryeh Gregor
69e275395b Bug 780474 - Set -Wno-mismatched-tags for clang; r=glandium 2012-08-14 12:10:42 +03:00
Siddharth Agarwal
4a2d60c32f 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
c18e108e90 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
80fa2135af 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
240057c8e9 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
4d843c6645 Bug 780430 - Declare encoding in config.status. r=glandium 2012-08-05 12:42:59 +02:00
Mike Hommey
785c8354f9 Bug 778740 - Allow to use Linux kernel headers for perf events. r=khuey 2012-08-04 08:55:00 +02:00
Mike Hommey
c162fe08b3 Bug 774032 part 7 - Remove make-makefile and acoutput-fast.pl. r=ted 2012-08-04 08:47:28 +02:00
Mike Hommey
e5d69586e3 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
acf9bca19f Bug 755145 - Define CCACHE_CPP2 when using ccache and Clang. r=glandium. 2012-07-19 09:20:46 -04:00
Mike Hommey
125aebf06d Bug 763651 - Link the javascript engine against zlib. r=khuey 2012-07-12 08:30:59 +02:00
Mike Hommey
4f54c3b9c9 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
8ff35bd942 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
d0e97f794d Backout changeset efc2f07a829b (bug 734125) because of bustage 2012-06-20 09:23:41 +02:00
Mike Hommey
de370a6c93 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
39147d2cc2 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
ba21415d70 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
3459e353ed Backout changeset a78601d88586 (bug 759115) because of B2G bustage 2012-06-11 08:23:29 +02:00
Mike Hommey
215721bd12 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
ae42c5daba Bug 762071 - JS is being compiled with exceptions enabled. r=khuey. 2012-06-08 13:31:28 -04:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Chris Coulson
7cc8ba8beb 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
a40d9ded69 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
5ffa61e41d Bug 743601 - Remove GLIB check for OSX. r=khuey 2012-04-27 12:28:16 +09:00
Makoto Kato
48061f5c96 Bug 716354 - freetype2 detection doesn't consider cross-compiling. r=glandium 2012-04-06 11:36:24 +09:00
Nicholas Nethercote
6ca9f23930 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
7ac3a573ad Backed out changeset 0124795a8cbb (bug 711895) due to i10n build bustage. r=me. 2012-03-21 21:46:27 -07:00
Nicholas Nethercote
e2181e8fb2 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
9f3fedc235 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
3cc5d73203 Backout changeset 03394bda1d0f (bug 733773) because of Windows red. 2012-03-13 10:05:38 +01:00
Mike Hommey
33ccccaa45 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
4c8468cfa1 Bug 603370 - Avoid Identical Code Folding messing with symbol reordering. r=khuey 2012-03-08 08:56:28 +01:00
Mike Hommey
9648e0fa39 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
ee47a4d338 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
8ae425ecb6 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
beab7f108b 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
b028fa6446 Bug 727145 - Pass -Wno-return-type-c-linkage to clang. r=glandium. 2012-02-16 09:53:08 -05:00
Gavin Sharp
ededb6124f Remove outdated reference to "build configurator" webtool, rs=khuey, no bug 2012-01-20 18:07:10 -08:00
Rafael Ávila de Espíndola
fba1d057c9 Bug 715930 - Use stdc++compat.cpp on OS X too. r=:glandium. 2012-01-10 15:01:03 -05:00
Daniel Holbert
7787c56627 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
3c3fda4257 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
982a02da7f Bug 705461 - Use MOZ_CHECK_HEADER(S) everywhere. r=neil. 2011-11-26 16:05:17 -05:00
Joey Armstrong
675d93816f Bug 687511 - make-makefile enhancements; r=khuey,coop 2011-11-20 11:18:27 +00:00
Kyle Huey
9feabd77b1 Merge m-c to b-s. 2011-09-29 08:38:20 -04:00
Siddharth Agarwal
d12d316bd4 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
b833cdd785 Bug 687766 part 1: Remove build-time dependency on libIDL. r=khuey 2011-09-27 10:09:54 +02:00
Siddharth Agarwal
ecf8e75d9b 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
e5154a071f 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
562cee8ff8 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
19e3aec907 Keep changeset e3626f903f9f backed out on the reverted tree 2011-09-02 09:06:01 -04:00
Ehsan Akhgari
44916171a8 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
a9e50eeac8 revert 11247af82311, e3626f903f9f and 7ee51f8ea940.
CLOSED TREE
2011-09-01 22:01:56 -04:00
Rafael Ávila de Espíndola
ac8f6dc961 Bug 680277 - Add missing file.
CLOSED TREE
2011-09-01 16:17:50 -04:00
Rafael Ávila de Espíndola
540dd95eb4 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
93d6cc55ea 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
f6b582d2dc 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
b25c6f7a91 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
56646d07b2 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
fdce7cfaf5 Bug 672980 - M4 macro name should be quoted in AC_DEFUN. r=ted 2011-07-20 16:00:00 -04:00
Hiroyuki Ikezoe
488305c21e Bug 341223 - Make $MOZCONFIG try $topsrcdir-local paths too 2011-08-02 18:48:00 -04:00
Brad Lassey
78624d4f58 backout bug 341223, changeset backout_4d794b0ef38d because it breaks some developer's builds 2011-08-01 19:03:06 -04:00
Hiroyuki Ikezoe
aedac9410d Bug 341223 - Make $MOZCONFIG try $topsrcdir-local paths too. r=ted 2011-08-01 09:22:25 +02:00
Brad Lassey
7606f9b515 bug 672939 - fennec package name repeats itself with NDKr5 and greater r=khuey 2011-07-20 17:02:04 -04:00
Mike Hommey
16bd625fde Bug 669866 - Export CXX instead of defaulting to c++. r=ted 2011-07-11 07:51:01 +02:00
Jezreel Ng
be1946a257 Bug 666140: Error out if MOZCONFIG points to a non-existent file. r=khuey 2011-06-24 07:22:40 -07:00
Marco Bonardo
da3f6b77ac Revert to changeset a87ee7550f6a due to incomplete backout 2011-06-24 17:23:04 +02:00
Jezreel Ng
a0fb99c06b Bug 666140: Error out if MOZCONFIG points to a non-existent file. r=khuey 2011-06-24 07:22:40 -07:00
Mike Hommey
fec988f7a0 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
1dba5e3383 Bug 657653. Check for libstdc++ versions in stdc++compat.cpp; r=ted,glandium 2011-06-08 22:35:24 -04:00
Brad Lassey
c398b11302 bug 617115 - support building with andorid NDKr5 r=ted 2011-04-01 16:47:37 -07:00
Rafael Ávila de Espíndola
12c9483287 Bug 638149 - Need a way to disable -dead_strip on OS X. r=ted 2011-04-09 05:23:27 +10:00
Ehsan Akhgari
0b1646bd2d Backed out changeset eb6edf77b7c8 (bug 638149) because of build bustage 2011-03-27 15:30:22 -04:00
Rafael Ávila de Espíndola
3659cf3071 Bug 638149 - Need a way to disable -dead_strip on OS X; r=ted 2011-03-02 21:29:00 -05:00
Neil Rashbrook
c5b0864947 Bug 632344 - Speed up header checks. r=ted 2011-03-01 21:38:21 +11:00
Mounir Lamouri
1f84275cee 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
406336b84f 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
4cd467403f b=?; fix make-makefile and cairo-features.h.in hack; r=ted 2010-07-02 11:20:29 -07:00
Jacek Caban
21b911d85f 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
65c3d85b93 Fix indentation in configure --help. (Bug 569261) r=ted 2010-06-02 14:04:21 -07:00
Michael Kohler
6c0f59f4a6 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Brad Lassey
7316a1c605 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
a6c23d0999 back out accidental changes (on a CLOSED TREE, no less) 2009-11-11 13:27:09 -05:00
Ted Mielczarek
be7ae61cc0 add some debug output to investigate bug 522729 (on a CLOSED TREE) 2009-11-11 12:32:07 -05:00
Benjamin Smedberg
2ddee4d280 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
c015876638 Add executable bits back to config.guess files. b=515002 2009-09-09 08:20:25 -04:00
Josh Aas
5d3659c9b7 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
f2aeeb5dd4 Bug 504239. Remove useless chunk of barely-used script. r=ted 2009-08-04 09:50:18 +12:00
Jim Blandy
5f5d38207c 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
a6223e7bd0 bug 50070 - mozconfig2configure can't handle paths with parenthesis r=ted 2009-06-24 16:21:14 -04:00
Josh Aas
f1fcda13ba 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
fafc91bc85 Bug 487602 Failed to compile firefox on Solaris r=bsmedberg 2009-04-20 15:22:06 +08:00
Makoto Kato
8f97a8f052 Bug 485264 followup - quote things to death, r=bsmedberg 2009-04-03 13:48:08 -04:00
Benjamin Smedberg
93f76e0a2b Bug 485264 - Not enough quotes in mozprog.m4 when suggestions contain spaces r=ted 2009-03-31 08:41:50 -04:00
Ginn Chen
5e766555ac Bug 480967 Don't leak MSYS paths into makefiles, fix Solaris bustage r=bsmedberg 2009-03-11 16:51:47 +08:00
Benjamin Smedberg
ea55eb615e 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
5151951c4e Bug 475064: Use 'test !', not '! test' in configure scripts. r=bsmedberg 2009-01-28 09:01:40 -08:00
Ted Mielczarek
6bc76472c3 bug 474973 - make config.{guess,sub} executable 2009-01-23 07:56:51 -05:00
Benjamin Smedberg
ed4d0102a4 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
db101ef41d Bug 472332 - Remove unused files from build/autoconf; +aclocal cleanup; r+sr=ted.mielczarek 2009-01-22 19:01:24 +01:00
Daniel Holbert
4301671b45 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
4eaabd38fe Backed out changeset 525e42406396, bug 269538 (jscpucfg-ectomy) due to Windows TUnit bustage. 2009-01-21 17:34:28 -05:00
Benjamin Smedberg
52f4f5da62 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
8d8846acd1 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
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
reed@reedloden.com
b074b18de4 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
22e73e11a0 bug 383463, --disable-compile-environment checks too much, r=bsmedberg 2007-06-11 08:56:41 -07:00
bent.mozilla@gmail.com
f658bb05b3 Bug 382759 - "MozillaBuild 1.1's 'mkdir -p' command is unreliable". r=bsmedberg. 2007-06-04 17:33:21 -07:00
benjamin%smedbergs.us
7d49b2d286 Bug 367127 - Make mozconfig-find space-safe (e.g. spaces in C:\Documents and Settings\bsmedberg), r=dbaron 2007-01-17 20:17:19 +00:00
benjamin%smedbergs.us
202456bc3d Bug 353559 - add_app_options doesn't work with non-bash shells, patch by Walter Meinl <wuno@lsvw.de>, r=me 2006-10-04 16:15:47 +00: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
timeless%mozdev.org
1ce5986f6b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
mark%moxienet.com
48c9cc3d29 307311 needs a double-quote r=bsmedberg r=me 2006-02-03 19:54:38 +00:00
kaie%kuix.de
55526430f9 b=255408 Need to be able to build mozilla --with-system-nss
r=wtc/bsmedberg
Note: patches for bugs 288647 and 317620 might be required before enabling this build feature works.
2005-12-20 09:47:11 +00:00
cls%seawood.org
de7fb68a6e Sync config.guess & config.sub with official GNU CVS copies.
Bug #312352 r=bsmedberg
2005-10-14 17:30:30 +00:00
bsmedberg%covad.net
1cfaf285d2 Bug 307311 - allow client.mk to build xulrunner + multiple apps in one pass r=darin 2005-09-30 17:39:16 +00:00
dbaron%dbaron.org
e55dd20286 Accept anything from pkg-config --libs except -Wl,--export-dynamic. Patch from Patrick Welche <pw-fb@newn.cam.ac.uk>. r=cls sr=dbaron b=298455 2005-09-11 19:51:51 +00:00
roc+%cs.cmu.edu
41bf2924b1 Bug 288438. Turn off SVG <foreignobject> because it's pretty broken. r=benjamin,sr=dbaron,a=benjamin,patch by jwatt,tor and roc 2005-06-29 03:51:44 +00:00
shaver%mozilla.org
b8abe09892 283156: teach make-makefile how to deal properly with .. components in DIRS, sr=bsmedberg 2005-03-04 13:37:14 +00:00
silver%warwickcompsoc.co.uk
b8ea089315 Bug 283156 - Make make-makefile cope with ../ in DIRS.
r=shaver
sr=bsmedberg
2005-03-03 21:12:22 +00:00
bsmedberg%covad.net
fa01ef8027 Bug 232003 - AS perl and cygwin GNU make 3.80 don't play well together r=cls 2005-02-07 14:55:07 +00:00
dbaron%dbaron.org
88ea789602 Use only the -L and -l parts of what pkg-config gives for *_LIBS so we don't pick up evil options like -Wl,--export-dynamic. b=261090 r=bryner sr=darin 2004-09-30 05:19:29 +00:00
cls%seawood.org
7f246234b3 Use standard AM_LANGINFO_CODESET macro instead of assume CODESET is available if nl_langinfo is.
Thanks to Adrian Bunk <bunk@fs.tum.de> for the patch.
Bug #160180 r=cls
2004-05-13 03:12:49 +00:00
gerv%gerv.net
31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
bsmedberg%covad.net
a16da231df Bug 216366 - fix for activestate perl using GNU make 3.80 r=bryner 2003-10-30 21:05:56 +00:00
bryner%brianryner.com
3fc9975ef6 Support using $topsrcdir for bash statements in mozconfig files (bug 216505). r=cls, a=asa. 2003-08-25 21:59:07 +00:00
seawood%netscape.com
6911f0e7e0 Sync config.guess & config.sub with official GNU copies.
Bug #199343
2003-04-18 10:20:15 +00:00
blizzard%redhat.com
7aa07050e1 Part of bug #126919. Set up configure options for using an external version of xft. r=cls 2002-10-03 00:37:12 +00:00
bolian.yin%sun.com
7e67351fac bug 156593, Remove the dependence to gtk1 when the default toolkit is gtk2.
patch by john.sun@sun.com, r=cls
2002-08-29 10:30:58 +00:00
seawood%netscape.com
07e47dd696 Restoring unlabelled 'MozillaHack's. Fixing Netscape uname bustage.
Bug #140869
2002-05-03 10:02:05 +00:00
seawood%netscape.com
33df5008ab Sync config.guess & config.sub with official GNU copies.
Bug #140869 r=bryner
2002-05-03 08:28:56 +00:00
seawood%netscape.com
08d41f0f6b Aligning ./configure --help output. 2002-02-28 07:17:21 +00:00
seawood%netscape.com
42fad90eb1 Explicitly use <STDIN> instead of <> as some newer ports of perl seem to have problems with <>.
Bug #122412
2002-02-17 21:08:44 +00:00
bstell%ix.netcom.com
44eae503ad bug 116148, *.m4 file to test for FreeType2. Slightly modified from
the FreeType2 src. r=cls
2002-01-09 14:32:28 +00:00
timeless%mac.com
61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
bbaetz%cs.mcgill.ca
a6f482e97d Left this out of bug 80142 checkin 2001-12-12 08:24:16 +00:00
seawood%netscape.com
995026559f Revert to using standard config.sub & config.guess entries for OS/2.
Thanks to pedemont@us.ibm.com (Javier Pedemonte) for the patch.
Bug #112244 r=cls
2001-12-01 18:54:36 +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
seawood%netscape.com
51e788aaa4 Add support for mips*el 2001-10-13 05:59:55 +00:00
wtc%netscape.com
0cd96ac069 Bugzilla bug 104286: teach config.guess and config.sub about MKS Toolkit.
r=cls.
2001-10-12 20:46:34 +00:00
seawood%netscape.com
9812fbb51b Updating config.guess & config.sub with 2001-10-07 changes from the GNU master c
opy at :pserver:anoncvs@subversions.gnu.org:/cvs /config .
2001-10-07 23:08:11 +00:00
blizzard%redhat.com
7e5d62053b Add basic infastructure for gtk2 work. Bug #92034. r=cls 2001-07-24 23:30:00 +00:00
cls%seawood.org
d175d34a44 Removing references to unused gdk-pixbuf.m4 2001-07-06 11:27:52 +00:00
cls%seawood.org
de2432686f Mozilla copy of nspr's .m4 file bug 73919 2001-04-07 04:41:30 +00:00
cls%seawood.org
19d364b964 Updating config.guess & config.sub with 2001-03-30 changes from the GNU master copy at :pserver:anoncvs@subversions.gnu.org:/cvs /config . 2001-04-05 04:46:56 +00:00
pavlov%netscape.com
0ac5f40e02 turning on new imagelib on linux bugs 73161 and 70938 r=bryner,syd sr=waterson 2001-03-30 07:05:02 +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
mkaply%us.ibm.com
01551e02b6 #65880
r=cls
Enable OBJDIR builds for OS/2
2001-01-27 15:36:41 +00:00
cls%seawood.org
b1df93dd18 Fix makefile creation problem when full path contains meta chars. Bug 50431. Thanks to ume@mahoroba.org for the patch. 2000-10-26 19:43:39 +00:00
mkaply%us.ibm.com
ea8f6fee09 r=leaf, a=leaf, bad tabs in config.guess 2000-08-30 02:13:03 +00:00
cls%seawood.org
ca8c11e15e Commented out check for multiple variables on a single line as this causes Makefiles that have multiple dir VPATHs to be only partially generated. Uncommented warning for unknown variables. 2000-06-28 10:21:53 +00:00
mkaply%us.ibm.com
4f8d17dd8c # 40177
r = cls, a = brendan
OS/2 bring-up for M16 - add OS/2 to config.* files - also submitting to autoconf
2000-06-16 14:06:23 +00:00
slamm%netscape.com
5898c54054 No need to compare is this is the first run (cmp was printing an error on BSD when one of the files did not exist) 2000-05-11 22:56:41 +00:00
slamm%netscape.com
46f78f58ef Readd for 'webconfig' target of client.mk 2000-05-08 20:51:14 +00:00
colin%theblakes.com
baddc19866 Make OpenVMS get auto-detected. r=leaf 2000-05-08 20:17:42 +00:00
cls%seawood.org
2ecacd28c4 Updating config.guess & config.sub to latest GNU versions. Bug #22599, r=wtc 2000-03-30 03:12:16 +00:00
slamm%netscape.com
7a1e344489 Move for-loop's do to next line for Solaris. Fix configurator url. 2000-03-23 02:04:22 +00:00
slamm%netscape.com
1d13ff8814 Only output the options that are used. 2000-03-22 21:56:49 +00:00
slamm%netscape.com
b99284cb21 Silly little comment change. 2000-03-21 21:09:33 +00:00
slamm%netscape.com
65ad49148d Output options from mozconfig. 2000-03-21 21:09:11 +00:00
slamm%netscape.com
cbb3476a41 Move non-autoconf tools to build/unix 2000-03-14 03:20:14 +00:00
slamm%netscape.com
74e166dd10 Rename find-mozconfig.sh to mozconfig-find. Rename load-mozconfig.sh to mozconfig2configure. Rename mozconfig2defs.sh to mozconfig2client-mk. Also, take an extra parameter for topsrcdir. 2000-03-14 03:18:54 +00:00
slamm%netscape.com
28bfcf54b6 Rename load-mozconfig.sh to mozconfig2configure. 2000-03-14 03:00:00 +00:00
jim_nance%yahoo.com
8998c1cac6 Changes to make this work under Unicies other than Linux. I so did like
that hack :-(
r=sford
2000-03-06 23:53:52 +00:00
jim_nance%yahoo.com
3e93a89b0c Initial Checking. Not part of the default build (yet).
Shell script for use with Makefiles.  Prints out failing
commands to make "make -s" more useful.
2000-02-26 02:34:15 +00:00
jim_nance%yahoo.com
8007f16444 For some reason a few systems though that the -F/ in the original script was
a file name instead of a switch.  I dont know why.  This version seems to work
better.  Ramiro said I could check it in if I wanted to own it, so I put my
email address where his used to be.
r=ramiro
2000-02-12 01:58:28 +00:00
briano%netscape.com
5ae757f6f3 QNX-specific fix. An echo was left out, resulting in an (ignored) error. 1999-12-07 03:23:55 +00:00
cls%seawood.org
685f31abad Removing --disable-editor (and MOZ_EDITOR) from the build as the editor module now handles all of the text fields for Mozilla and using this option will result in a "non-working" browser (text fields are not editable). Bug #20369 1999-12-01 06:08:25 +00:00
cls%seawood.org
bc3b33bd63 Removed unneeded -e argument to grep.
Changed print-depth-path.sh to check for Makefile instead of Makefile.in for objdir builds.
1999-11-29 06:15:04 +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
cls%seawood.org
1f9bd12490 Added detection for alphaev6. Submitted by Matt Wilson <msw@redhat.com>. 1999-11-02 01:24:16 +00:00
briano%netscape.com
e4a67cc61d Added support for SCO UnixWare 7. 1999-10-02 02:49:32 +00:00
cls%seawood.org
d09f12c8b2 Approved by leaf.
Removed --enable-random-options and --enable-cross-compile options.  Set CROSS_COMPILE in the environment if you want to use the cross-compiling setup for now.

Gave into my pedantic side and cleaned up the help messages so that the output from --help actually looks reasonable.  For the curious, they are lined up on column 27.

Marked --disable-client-wallet & --disable-cookie-management as broken.
1999-09-27 20:47:51 +00:00
slamm%netscape.com
579f94044b Add a command-line option to specify the source tree path. 1999-09-27 17:28:33 +00:00
slamm%netscape.com
4101725b28 If creating directories all at once fails, create them one-by-one. Thanks to Colin <colin@theblakes.com> for the patch. 1999-09-10 23:08:07 +00:00
slamm%netscape.com
1740057db9 Simplify mkdir command by using '-p' option. 1999-09-09 19:26:19 +00:00
cls%seawood.org
868e1692ef Make --enable-insure work when building outside of the source dir. 1999-09-09 19:19:37 +00:00
cls%seawood.org
6177e2fb70 Turn off debug messages 1999-09-03 04:57:25 +00:00
slamm%netscape.com
3b30c64384 Simplify cls's fix. Remove tabs. 1999-09-02 21:55:32 +00:00
cls%seawood.org
aa099723c6 Fixed make-makefile so that it works in the relative srcdir (../configure) case. It was breaking for at least myself & pavlov. Tested with ./configure, ../configure & /path/to/configure. Added a few debugging msgs along the way. 1999-09-02 04:58:40 +00:00
slamm%netscape.com
3eda270867 Create multiple levels of directories is needed. 1999-09-01 23:37:05 +00:00
slamm%netscape.com
d97809014e Rerun configure if PATH changes. 1999-08-27 23:03:27 +00:00
slamm%netscape.com
bfa8c2b4ac Dumb it down for perl 4.0 (blech!). 1999-08-27 22:56:24 +00:00
slamm%netscape.com
86da56c34f Split up into subroutines and add comments. 1999-08-25 22:09:05 +00:00
ramiro%netscape.com
42edf79460 Recommit slamm's changes. Thanks slamm. 1999-08-25 11:50:44 +00:00
slamm%netscape.com
a35210d2f7 Whoops tree red. backout. 1999-08-25 06:37:58 +00:00
slamm%netscape.com
758141a596 Handle single Makefile case with relative paths. 1999-08-25 06:36:25 +00:00
slamm%netscape.com
e94c323d07 Check for Makefile.in before Makefile. 1999-08-24 21:45:30 +00:00
slamm%netscape.com
69dbf6a476 Add --enable-incremental-makefiles. Has gmake generate the Makefiles just before it uses them. Eliminates a need for allmakefiles.sh. 1999-08-24 21:45:06 +00:00
slamm%netscape.com
7fedeb241d Rewrite. Add '-d <dir>' param for updating a Makefile in a subdir. Fix objdir case of no Makefile present in directory. 1999-08-20 14:47:53 +00:00
slamm%netscape.com
e02585cd7d Only write output file if it has changed (fix for no mozconfig case) 1999-08-19 19:58:05 +00:00
slamm%netscape.com
9c78fdc462 Re-enable creating directories incrementally. Thanks to Colin Blakes <colin@theblakes.com> for pointing out that OpenVMS needs this. Also, only update Makefiles if their Makefile.in's have changed. 1999-08-19 19:56:26 +00:00
briano%netscape.com
49bf6048b2 Added support for BeOS. Contributed by Duncan Wilcox (duncan@be.com). 1999-06-15 03:24:25 +00:00
briano%netscape.com
c9adf54b01 Fix for bug 7756. Thanks to jim_nance@yahoo.com for the original idea. 1999-06-08 22:32:31 +00:00
briano%netscape.com
f14d3ce52a Added support for QNX Neutrino. 1999-06-07 23:08:13 +00:00
briano%netscape.com
9fdb531955 Added support for alphapca56. 1999-05-29 00:49:32 +00:00
briano%netscape.com
b7975ee73c Added support for Rhapsody. 1999-05-28 01:10:22 +00:00
mcafee%netscape.com
ff1af3c347 Adding support for rhapsody build. r=briano, this change got stomped a while back. 1999-05-28 00:25:23 +00:00
alecf%netscape.com
2de8995776 fix script to use "Makefile.in" in addition to Makefile 1999-05-27 22:09:55 +00:00
slamm%netscape.com
1637bb236b Fix pull by date. 1999-05-17 22:36:09 +00:00
briano%netscape.com
30ccbc6e6e Fix for bug 5184. Force checks for GLib, GTK, and libIDL to prevent cached values from interfering if these have been upgraded since the last time configure ran. 1999-05-14 00:01:54 +00:00
slamm%netscape.com
dc283ce5fd Properly escape the url for client.mk's webconfig target. 1999-05-05 23:20:46 +00:00
slamm%netscape.com
255a21151b Skip files that do not exist or cannot be created. (Previously it gave up in this case). 1999-04-26 18:08:50 +00:00
slamm%netscape.com
0a25e8ed81 Improve recovering from conflicting objdir/srcdir builds. Add cleansrcdir target to client.mk. Update the objdir vs. srcdir build instructions in configure. 1999-04-23 20:46:22 +00:00
slamm%netscape.com
da70952345 add partial replacement for AC_OUTPUT() 1999-04-21 01:11:55 +00:00
alecf%netscape.com
4ad7d4d32d oops, quotes were going the wrong way 1999-04-19 22:52:31 +00:00
alecf%netscape.com
99ecfeb9bb workaround for broken libIDL-config in libIDL 0.6.7 and lower (so we don't have to force people to upgrade so quickly) 1999-04-19 22:07:12 +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
2632005114 Let configure deal with nspr and pthreads insteads of client.mk 1999-04-14 02:33:58 +00:00
slamm%netscape.com
6af1a991d4 Pthreads is on by default now for configure. Make client.mk do the same. 1999-04-12 21:20:59 +00:00
alecf%netscape.com
e85e44c0e0 fix libIDL checking in configure script. For now require 0.6.3 1999-04-10 00:25:55 +00:00
briano%netscape.com
640cf3d8af Added a pointer to ftp.gtk.org if gtk-config can't be found. 1999-04-08 02:06:55 +00:00
slamm%netscape.com
8b45a2073d Checkout find-mozconfig.sh if needed. 1999-03-26 00:00:22 +00:00
slamm%netscape.com
b6c9516763 Standardize on '.mozconfig' for configure script name. 1999-03-22 20:42:58 +00:00
slamm%netscape.com
94a2c7265e Use an even simpler name, mozconfig (no .sh). 1999-03-10 21:34:17 +00:00