219 Commits

Author SHA1 Message Date
wtc%google.com
abd067a3ce Bug 401768: enable us to build with gcc 3.3 and an SDK on Mac OS X 10.5
Leopard.  The patch is contributed by Mark Mentovai <mark@moxienet.com>.
r=wtc.


git-svn-id: svn://10.0.0.236/trunk@238389 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-31 17:56:18 +00:00
julien.pierre.boogz%sun.com
b0459dbfd9 Fix for bug 383857 . NSPR still uses the MSVC -G5 flag . r=wtc
git-svn-id: svn://10.0.0.236/trunk@235925 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-13 01:37:34 +00:00
wtc%google.com
84af1c7d32 Bug 350616: detect and use Microsoft (R) Manifest Tool. The patch is
contributed by Ted Mielczarek <ted.mielczarek@gmail.com>.  r=wtc
Modified files: configure configure.in autoconf.mk.in rules.mk


git-svn-id: svn://10.0.0.236/trunk@227729 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-09 16:28:46 +00:00
wtc%google.com
86376b8166 Bug 371247: checked in some changes for OpenBSD. The patch is contributed
by Martynas Venckus <martynas@openbsd.org>. r=nelsonb,wtc.
Modified Files: configure configure.in lib/tests/Makefile.in
	_openbsd.cfg _openbsd.h prnetdb.c


git-svn-id: svn://10.0.0.236/trunk@227047 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-26 00:13:08 +00:00
wtchang%redhat.com
f978dd74f5 Bug 329807: set USE_IPV6=1 (define _PR_INET6) on HP-UX B.11.23 or later,
based on information from HP.  r=nelsonb,darin
Modified files: configure configure.in _hpux.h


git-svn-id: svn://10.0.0.236/trunk@218255 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-13 00:32:39 +00:00
wtchang%redhat.com
2e366638ed [OS/2] Bug 351246: Load Mozilla into Highmem on OS/2. Part 2, changes to
NSPR. By Peter Weilbacher <mozilla@weilbacher.org>. r=mkaply, sr=wtc


git-svn-id: svn://10.0.0.236/trunk@216989 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 19:29:25 +00:00
wtchang%redhat.com
861ea09ed1 Bugzilla Bug 363092: made 10.2 the default Mac OS X ppc deployment target.
r=josh.aas


git-svn-id: svn://10.0.0.236/trunk@216774 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 22:56:43 +00:00
cls%seawood.org
e28aae0d32 Remove all generated Makefiles upon distclean.
Thanks to Mike Hommey <mh+mozilla@glandium.org> for the patch.
Bug #333308 r=cls


git-svn-id: svn://10.0.0.236/trunk@195620 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 00:53:35 +00:00
wtchang%redhat.com
c981b6753f Bugzilla Bug 322578: Support ppc<->x86 cross builds for Mac OS X. The
patch is contributed by Mark Mentovai <mark@moxienet.com>.  r=wtc.
Modified Files: configure configure.in autoconf.mk.in rules.mk _darwin.cfg


git-svn-id: svn://10.0.0.236/trunk@190786 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 02:39:59 +00:00
wtchang%redhat.com
c5545aa0ec Bugzilla Bug 327544: set OBJDIR to $(OBJDIR_NAME) to ensure that OBJDIR
and OBJDIR_NAME have the same value even if OBJDIR_NAME is overriden.
r=cls.


git-svn-id: svn://10.0.0.236/trunk@190601 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-20 19:20:13 +00:00
wtchang%redhat.com
e60f0ee77b Bugzilla Bug 322287: Implemented NSPR atomic routines in x86 assembly code
for Intel Macs.  The patch is contributed by Josh Aas <joshmoz@gmail.com>.
r=mark.mentovai,wtc.
Modified files: configure configure.in _darwin.h
Added file: os_Darwin_x86.s


git-svn-id: svn://10.0.0.236/trunk@187174 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-09 18:38:54 +00:00
wtchang%redhat.com
96c0b254cf Bugzilla bug 322427: do not compile NSPR with -ansi and with _POSIX_SOURCE,
_BSD_SOURCE, _SVID_SOURCE, _LARGEFILE64_SOURCE, and _XOPEN_SOURCE defined.
Instead, just define _GNU_SOURCE.  r=kengert.
Modified files: configure configure.in pr/src/linking/Makefile.in
                pr/src/pthreads/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@187112 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-07 00:51:39 +00:00
wtchang%redhat.com
979d43900e Bugzilla Bug 261649: added GNU/k*BSD and preliminary GNU/Hurd support. The
patch is contributed by Robert Millan <rmh@aybabtu.com>. r=wtc.
Modified files: configure configure.in _linux.cfg _pth.h _unixos.h
prosdep.h pr/src/linking/Makefile.in prlink.c prosdep.c unix.c uxproces.c
uxrng.c prnetdb.c ptio.c pr/tests/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@186557 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-24 08:25:31 +00:00
wtchang%redhat.com
c3ec518bab Bugzilla Bug 321230: don't link with libdl on BeOS. The patch is
contributed by Christian Biesinger <cbiesinger@gmx.at>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@186463 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-22 22:40:37 +00:00
wtchang%redhat.com
c413f57723 Bugzilla Bug 316964: use the -z ignore linker flag on Solaris. The patch
is contributed by Boying Lu <brian.lu@sun.com>. r=wtc,sr=benjamin.smedberg.


git-svn-id: svn://10.0.0.236/trunk@186176 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-16 18:25:47 +00:00
wtchang%redhat.com
089e9a65f2 Bugzilla Bug 225859: allow one to do Windows x64 builds with the x86
version of Cygwin or MKS uname.  The patch is contributed by Julien
Pierre of Sun.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@185819 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-08 22:45:22 +00:00
cls%seawood.org
69e6cdd386 Explicitly disable pthread support for win32, os2 & beos.
Bug #312662 r=wtc


git-svn-id: svn://10.0.0.236/trunk@185188 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-23 05:59:05 +00:00
wtchang%redhat.com
39824e4332 Bugzilla bug 195219: implemented the atomic routines in IA-64 assembly for
HP-UX IPF.  Thanks to Dennis Handly of HP for reviewing the assembly code
and suggesting the use of the addp4 instruction to convert a 32-bit address
to a 64-bit one in 32-bit builds.
Modified files: configure configure.in _hpux.h
Added file: os_HPUX_ia64.s


git-svn-id: svn://10.0.0.236/trunk@185087 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-21 22:15:55 +00:00
wtchang%redhat.com
85d3afc6ee Bugzilla Bug 312199: HP-UX IPF (Itanium) changes contributed by Grace Lu
of HP: use .so as shared library suffix, link shared libraries with
+b $ORIGIN. r=wtc,darin.
Modified Files: configure configure.in _hpux.h


git-svn-id: svn://10.0.0.236/trunk@184485 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 22:23:08 +00:00
wtchang%redhat.com
f1b33b3619 Bugzilla Bug 302212: allow Mac OS X x86 builds to target SDKs. The patch
was contributed by Mark Mentovai <mark@moxienet.com>.  r=wtc,joshmoz.
Modified Files:
        configure configure.in config/autoconf.mk.in
        pr/src/linking/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@184275 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-07 22:51:44 +00:00
wtchang%redhat.com
e598025edd Bugzilla Bug 225859: added 64-bit Windows support. Peter Armistead
contributed the first 64-bit Windows patch (for IA64) in 2001.  Portions
of this checkin are based on the patch contributed by Makoto Kato
<m_kato@ga2.so-net.ne.jp>. r=wtc.
Modified Files: configure configure.in prtypes.h _win95.cfg _win95.h
                _winnt.cfg _winnt.h probslet.h pprio.h primpl.h
                pr/src/Makefile.in prfile.c prio.c prsocket.c ntgc.c ntio.c
                ntmisc.c w32rng.c w32shm.c w95io.c w95sock.c w95thred.c
                prinit.c pr/tests/prpoll.c


git-svn-id: svn://10.0.0.236/trunk@182722 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 18:21:43 +00:00
wtchang%redhat.com
4272aa3a2b Bugzilla Bug 263952: backed out the previous checkin (to define the Solaris
feature test macros for SUS (XPG4v2) with extensions) because it is
reported to introduce a small performance regression and break Firefox
build on Solaris 10.


git-svn-id: svn://10.0.0.236/trunk@181912 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 17:47:03 +00:00
wtchang%redhat.com
a8b3afdf16 Bugzilla Bug 263952: define the Solaris feature test macros for SUS
(XPG4v2) with extensions to eliminate compiler warnings about mmap64,
shm_open and shm_unlink.  The patch is contributed by Julien Pierre of Sun.
r=wtc.
Set NSPR version to 4.7 Beta.


git-svn-id: svn://10.0.0.236/trunk@180255 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-14 23:32:45 +00:00
cls%seawood.org
b997d3bcd0 Skip libpthread check in Darwin builds
Bug #212708 r=wtc


git-svn-id: svn://10.0.0.236/trunk@179528 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 02:44:37 +00:00
wtchang%redhat.com
8269161d80 Bugzilla Bug 266123: support 64-bit PowerPC builds on Linux distributions
(such as Red Hat and Fedora) whose GCC generates 32-bit code by default.
r=cls.


git-svn-id: svn://10.0.0.236/trunk@178177 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 17:57:12 +00:00
wtchang%redhat.com
c7e17a8fa0 Bugzilla Bug 304526: cleaned up the "configure --help" message: put default
value in brackets and wrapped long lines. r=cls.


git-svn-id: svn://10.0.0.236/trunk@178172 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 17:15:16 +00:00
wtchang%redhat.com
db0e9c0bd2 Bugzilla bug 294122: made the changes I suggested and Howard Chu agreed
on -- removed incomplete WINCE support and support for old Cygwin betas
(before beta 20). (See comments 55 and 57 in the bug report.).


git-svn-id: svn://10.0.0.236/trunk@177795 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 00:15:15 +00:00
wtchang%redhat.com
61a42f9170 Set NSPR version to 4.6.1 Beta.
Modified files: configure configure.in repackage.sh prinit.h vercheck.c


git-svn-id: svn://10.0.0.236/trunk@177758 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 17:38:07 +00:00
wtchang%redhat.com
d8e0453d04 Bugzilla Bug 303169: worked around a link error with gcc on Solaris SPARC
in debug builds.  os_SunOS.s is only used by the _PR_GLOBAL_THREADS_ONLY
configuration, so we don't use it in the default (pthreads) configuration.
r=jpierre.


git-svn-id: svn://10.0.0.236/trunk@177089 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-04 02:04:39 +00:00
wtchang%redhat.com
229e9b19e2 Bugzilla Bug 290725: implement USE_64 for x86_64. Now we do a 32-bit x86
build on x86_64 by default (if USE_64 is not set).
Modified files: configure configure.in


git-svn-id: svn://10.0.0.236/trunk@175633 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-05 20:29:28 +00:00
wtchang%redhat.com
18c6b69164 Bugzilla Bug 298674: initial checkin of the RISC OS port contributed by
Peter Naulls <peter@chocky.org>. r=wtc.
Modified files: configure configure.in _pth.h prosdep.h prlink.c
                prmem.c unix.c uxrng.c prsystem.c ptio.c ptthread.c
Added files: _riscos.cfg _riscos.h riscos.c


git-svn-id: svn://10.0.0.236/trunk@175501 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 22:26:37 +00:00
wtchang%redhat.com
2ce9dce99e Bugzilla Bug 298543: eliminated MACOS_DEPLOYMENT_TARGET. Replaced the
env var by MACOSX_DEPLOYMENT_TARGET and the macro by
MAC_OS_X_VERSION_MIN_REQUIRED. The patch is contributed by Mark Mentovai
<mark@moxienet.com>. r=wtc.
Modified files: configure configure.in _darwin.h prdtoa.c prnetdb.c


git-svn-id: svn://10.0.0.236/trunk@175448 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 01:19:30 +00:00
wtchang%redhat.com
fe5912b2aa Bugzilla Bug 298531: updated for Mac 10.4u ("universal") SDK, which adds
support for Intel CPUs.  The patch is contributed by Mark Mentovai
<mark@moxienet.com>. r=wtc.
Modified files: configure configure.in config/autoconf.mk.in


git-svn-id: svn://10.0.0.236/trunk@175266 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-28 22:35:01 +00:00
cls%seawood.org
da2cda38ed Path translation fixes for msys.
Thanks to Howard Chu <hyc@symas.com> for the patches.
Bug #294122 r=cls a=shaver


git-svn-id: svn://10.0.0.236/trunk@174037 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 04:21:17 +00:00
cls%seawood.org
fcbaf06a5c Add support for msys uname & cleanup OS_ARCH checks.
Thanks to Howard Chu <hyc@symas.com> for the patch.
Bug #294122 r=cls sr=wtc a=shaver


git-svn-id: svn://10.0.0.236/trunk@173917 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 15:30:48 +00:00
cls%seawood.org
6903c9bf4c Allow --enable-debug to accept compiler flags like --enable-optimize
Bug #284767 r=bsmedberg a=shaver


git-svn-id: svn://10.0.0.236/trunk@173897 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 13:54:02 +00:00
cls%seawood.org
5d7920d854 Update SDK support to build on OSX 10.4 (Tiger)
Thanks to Mark Mentovai <mark@moxienet.com> for the patch.
Bug #292530 r=wtc a=brendan


git-svn-id: svn://10.0.0.236/trunk@173889 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 13:26:38 +00:00
wtchang%redhat.com
a04b387e63 Bugzilla bug 293438: use -fvisibility=hidden, without wrapped system
headers and without gcc_hidden.h, because we can't build on Linux x86-64
with the GCC visibility pragmas. r=bryner.


git-svn-id: svn://10.0.0.236/trunk@173584 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-19 17:37:23 +00:00
wtchang%redhat.com
ad2204a5aa Moved code that only applies to MSVC to the MSVC section. The patch is
contributed by Howard Chu <hyc@symas.com>. r=wtc.  (See Bugzilla bug
294122 comment 35.)


git-svn-id: svn://10.0.0.236/trunk@173555 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-18 21:49:45 +00:00
wtchang%redhat.com
16ed34f985 Bugzilla Bug 273336: fixed an incorrect variable name.
git-svn-id: svn://10.0.0.236/trunk@173356 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-13 01:42:35 +00:00
wtchang%redhat.com
36705e93df Bugzilla Bug 273336: arguments to the test command should be quoted. r=cls.
git-svn-id: svn://10.0.0.236/trunk@173292 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-11 16:53:41 +00:00
wtchang%redhat.com
4b867d6ca5 Bugzilla Bug 273336: Checked in Brian Ryner's patch:
Add support for using gcc's visibility pragma to treat all function and
method declarations as "hidden" unless declared otherwise.  Create wrappers
for system headers that cause them to be treated as default-visibility
declarations.  This gives a substantial code size and performance win on
compilers that support it.  r=darin sr=dbaron.
Modified Files:
	configure configure.in config/Makefile.in
	config/autoconf.mk.in config/config.mk pr/include/prtypes.h
	pr/src/md/unix/uxproces.c pr/tests/sel_spd.c
Added Files:
	config/gcc_hidden.h config/make-system-wrappers.pl
	config/system-headers


git-svn-id: svn://10.0.0.236/trunk@172884 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 21:02:55 +00:00
wtchang%redhat.com
87dc2ff993 Bugzilla Bug 291631: changed MOD_MINOR_VERSION to 6 for NSPR 4.6.
r=mozilla@rosenauer.org.
Modified files: configure.in configure


git-svn-id: svn://10.0.0.236/trunk@172777 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-27 16:52:43 +00:00
wtchang%redhat.com
ba7cc45d3b Regenerated using the official autoconf 2.13 (as opposed to the autoconf
2.13 in Red Hat Enterprise Linux 3).


git-svn-id: svn://10.0.0.236/trunk@170466 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-09 21:42:11 +00:00
wtchang%redhat.com
0b064f33e7 Bugzilla bug 256508: make --with-pthreads the default on OpenBSD. The
fix was tested by Jim Rees <rees@umich.edu>.
Modified Files: configure.in configure


git-svn-id: svn://10.0.0.236/trunk@170462 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-09 21:14:48 +00:00
christophe.ravel.bugs%sun.com
9bc3ba053f 238319: Sun packaging changes.
Hook-up SUNWprd package. Remove SUNWprx package.


git-svn-id: svn://10.0.0.236/trunk@165941 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-30 17:05:33 +00:00
wchang0222%aol.com
009e14e1f4 Bugzilla bug 249782: make NSPR compile with Microsoft Visual Studio 2005.
The -DEBUGTYPE flag is no longer supported. Since -DEBUGTYPE:CV is the
default, we simply delete it.  We added support for VC 5.0 (MSC_VER=1100)
back.  The patch is contributed by Stephen Walker <sdwalker@myrealbox.com>.
r=wtc.
Modified Files:
	configure configure.in config/rules.mk
	lib/msgc/tests/Makefile.in
	lib/prstreams/tests/testprstrm/Makefile.in
	lib/tests/Makefile.in lib/tests/windows/makefile
	pr/src/cplus/tests/Makefile.in pr/src/misc/Makefile.in
	tools/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@165104 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-08 02:52:56 +00:00
wchang0222%aol.com
1c75ce268f Bugzilla bug 265501: merged 32 and 64 bit versions of prcpucfg.h on
Solaris.  The patch is contributed by Christophe Ravel of Sun. r=wtc.
Modified Files: configure configure.in
Added Files: _solaris.cfg
Removed Files: _solaris32.cfg _solaris64.cfg


git-svn-id: svn://10.0.0.236/trunk@164168 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-22 00:10:07 +00:00
wchang0222%aol.com
fd21027d95 Regenerated using official autoconf 2.13, with manual change to eliminate
\015.


git-svn-id: svn://10.0.0.236/trunk@163279 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-06 01:31:55 +00:00
wchang0222%aol.com
78c0f94d45 Regenerated using autoconf-2.13 on Red Hat Enterprise Linux 3.
git-svn-id: svn://10.0.0.236/trunk@163278 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-06 01:14:40 +00:00