Граф коммитов

165 Коммитов

Автор SHA1 Сообщение Дата
wchang0222%aol.com bd1e342f9d It is not necessary to define _THREAD_SAFE when using pthreads on OpenBSD.
(See Bugzilla bug 236599 comment 41).
2004-03-11 02:26:25 +00:00
seawood%netscape.com e061a3bed9 Update openbsd support for openbsd >= 3.4
Thanks to Peter Str��mberg <wilfried@spamcop.net> for pulling these patches out of openbsd's ports tree.
Bug #236599 r=cls
2004-03-09 23:35:03 +00:00
wchang0222%aol.com 2d8066c3f2 Bugzilla bug 232742: added Linux/amd64 support. The patch came from Gentoo
Linux's portage and was sent by Henrik Lynggaard Hansen
<admin@mozillatranslator.org>.  r=wtc.
Modified Files: configure configure.in prprf.c _linux.cfg linux.h
Added Files: os_Linux_x86_64.s
2004-03-09 03:10:32 +00:00
wchang0222%aol.com 40052df83e Bugzilla bug 233048: support 64-bit Solaris SPARC build with gcc. The
patch is contributed by Vladim�r Marek <<Vladimir.Marek@printsoft.cz>.
r=wtc.
2004-02-11 21:08:09 +00:00
wchang0222%aol.com 5e9e4dc144 Bugzilla bug 224161: fixed a regression that was introduced in the fix
for this bug.  There was a missing '$' and the incorrect use of () around
variable names.
2004-02-07 15:23:49 +00:00
wchang0222%aol.com c9b18bb73f Bugzilla bug 232120: added support for NetBSD's pthread library. The patch
is contributed by Shin'ichiro TAYA <taya@netbsd.org>. r=wtc.
Modified Files: configure configure.in ptio.c
2004-02-04 01:40:56 +00:00
wchang0222%aol.com 449a23e66c Bugzilla bug 231504: made --disable-strip work. r=bryner. 2004-01-29 22:41:50 +00:00
wchang0222%aol.com 49a9e0bc2a Bugzilla bug 224161: added support for Mac OS X Panther SDK. We assume
that NEXT_ROOT is set in the environment.  The patch is contributed by
Mike Pinkerton <pinkerton@aol.net>. r=wtc.
Modified files: configure configure.in pr/src/linking/Makefile.in
2004-01-28 21:11:04 +00:00
wchang0222%aol.com 93dd453938 Bugzilla bug 232226: use the -bnortllib linker flag when building AIX
shared libraries so that they do not include a reference to the run time
linker library - only the main program needs to have a reference to the
run-time linker library.  The patch is contributed by Philip K. Warren
<pkw@us.ibm.com>. r=wtc.
2004-01-27 23:10:18 +00:00
wchang0222%aol.com 3fc84f2f96 Updated for NSPR 4.5.
Modified Files: configure configure.in repackage.sh vercheck.c
2003-11-25 01:20:40 +00:00
wchang0222%aol.com 5a848ad204 Bugzilla bug 226470: use a C compiler rather than a C++ compiler to compile
C code.  Removed -qarch=com, which is the default for the compiler now.
This patch is contributed by Philip K. Warren <pkw@us.ibm.com>.
2003-11-24 22:20:01 +00:00
wchang0222%aol.com ec93954362 Bugzilla bug 219913: define _PR_HAVE_THREADSAFE_GETHOST for OS/2 so that
we can issue concurrent gethostbyname calls.  Moved the definition of
_PR_GLOBAL_THREADS_ONLY, BSD_SELECT, and TCPV40HDRS from configure.in to
_os2.h.
Modified files: configure configure.in _os2.h
2003-11-16 01:10:49 +00:00
wchang0222%aol.com 47bef353af Bugzilla bug 207803: added 64-bit UltraSPARC FreeBSD support to NSPR. The
patch was contributed by Joe Marcus Clarke <marcus@freebsd.org>, Thomas
Moestl <tmm@FreeBSD.org>, and Kris Kennaway <kris@freebsd.org>.  r=wtc.
Modified Files: configure configure.in _freebsd.cfg _freebsd.h
2003-11-15 23:39:36 +00:00
wchang0222%aol.com fd41dbceb3 Bugzilla bug 225260: link NSPR dynamic shared libraries with the
-headerpad_max_install_names option. sr=sfraser.
2003-11-13 02:03:44 +00:00
wtc%netscape.com 61d464bad9 Bugzilla bug 215581: build with GCC 3.2.2 for OS/2. The patch is
contributed by Javier Pedemonte <pedemont@us.ibm.com>.  r=wtc.
2003-09-16 01:58:03 +00:00
seawood%netscape.com 47bee53cec When calling windres, use a temp file to work around resource issues.
Bug #213281 r=wtc
2003-09-15 03:48:56 +00:00
darin%meer.net ac4b50a610 landing patch for bug 211501 "NSPR should provide getaddrinfo" r=wtc 2003-09-11 21:42:16 +00:00
wtc%netscape.com 7aa1120b36 Bugzilla bug 217501: specify the standard AIX libpath (/usr/lib:/lib) when
building NSPR libraries, otherwise the path passed to the -L linker flag
is added to the head the libpath.  The patch is contributed by Philip K.
Warren <pkw@us.ibm.com>.
2003-08-27 23:41:12 +00:00
seawood%netscape.com 0ba88656e9 Avoid pulling in libdl on OSX.
Thanks to Josh Soref <timeless@bemail.org> for the patch.
Bug #212708 r=wtc
2003-07-18 02:09:19 +00:00
wtc%netscape.com 6816aeae50 Set MOD_MINOR_VERSION to 4 for NSPR 4.4. 2003-07-10 17:34:08 +00:00
wtc%netscape.com 580530075b Bug 204092: build NSPR on Solaris with -xO4 optimization. 2003-05-16 20:33:14 +00:00
wtc%netscape.com e6bc82925d Merged the changes from NSPRPUB_PRE_4_2_CLIENT_BRANCH onto the trunk. Most
of these changes are for OS/2.
Modified Files:
	configure.in build/cygwin-wrapper config/rules.mk
	lib/ds/Makefile.in lib/ds/plds.def lib/libc/src/Makefile.in
	lib/libc/src/plc.def pr/include/md/_os2.h pr/src/Makefile.in
	pr/src/nspr.def pr/src/linking/prlink.c
	pr/src/md/os2/Makefile.in pr/src/md/os2/objs.mk
	pr/src/md/os2/os2cv.c pr/src/md/os2/os2misc.c
	pr/src/md/os2/os2poll.c pr/src/md/os2/os2sock.c
	pr/src/md/os2/os2thred.c pr/tests/Makefile.in
	pr/tests/attach.c
2003-05-14 01:24:08 +00:00
wtc%netscape.com 8d52fefdd3 Bug 203317: getipnodebyxxx routines are not thread-safe on OpenVMS, so we
need to lock around them.  The patch is contributed by Colin Blake
<colin@theblakes.com>.  r=wtc.
Modified Files: configure configure.in prnetdb.c
2003-04-30 00:44:16 +00:00
seawood%netscape.com 371df59242 Change mksnt* checks to mks*
Bug #202598 r=wtc
2003-04-19 01:47:57 +00:00
seawood%netscape.com a3cf299860 Add -s to default optimization flags for os2gcc builds.
Thanks to Javier Pedemonte <pedemont@us.ibm.com> for the patch.
Bug #201555 r=cls
2003-04-18 19:27:09 +00:00
wtc%netscape.com 48e6728a90 Bug 199324: changed all i?86 checks to i*86 because Cygwin's "uname -m"
returns i1586 on Intel Xeon processors. r=cls.
2003-03-27 02:21:20 +00:00
wtc%netscape.com 708b88555e Bug 196004: support building with gcc on Solaris better, whether gcc uses
the GNU ld or Solaris ld. Do not pass -B/usr/ccs/bin/ to gcc.
Modified files: configure configure.in autoconf.mk.in
        lib/ds/Makefile.in lib/libc/src/Makefile.in pr/src/Makefile.in
2003-03-22 15:36:13 +00:00
wtc%netscape.com 86b5a0ee33 Do not use cygwin-wrapper if we are using MKS Korn Shell. We determine
whether we are using MKS Korn shell by searching for semicolons (;) in the
PATH.  Actually cygwin-wrapper works under MKS Korn shell, but it suddenly
stopped working on our Windows NT build machine recently, and I can't
figure out why.
2003-03-22 01:10:47 +00:00
wtc%netscape.com 87ac81bc93 Renamed MOD_REVISION_VERSION to MOD_PATCH_VERSION.
Modified Files: configure configure.in autoconf.mk.in nspr-config.in
2003-02-28 01:48:15 +00:00
wtc%netscape.com e428ae1e7c Bug 193380: added IPv6 support on HP-UX 11i or later. Cleaned up the
detection of HP-UX B.11.* in configure.in.
Modified Files: configure.in configure _hpux.h
2003-02-26 02:00:33 +00:00
wtc%netscape.com 891337d87e Bug 193969: implemented atomic routines for Darwin PPC in assembly.
Changed old name "Rhapsody" to new name "Darwin".
Modified files: configure configure.in _darwin.h darwin.c
Added file: os_Darwin_ppc.s
2003-02-22 15:00:13 +00:00
wtc%netscape.com 124fe04b9e Bug 189501: added support for building Linux RPMs. The patch and new files
are contributed by Kirk Erickson <kirk.erickson@sun.com>.
Modified Files: Makefile.in configure configure.in
Added Files:
	pkg/Makefile.in pkg/linux/Makefile.in pkg/linux/sun-nspr.spec
2003-02-04 01:45:28 +00:00
wtc%netscape.com 61591dded1 Bug 188439: fixed a bug in the PR_Poll implementation for
_PR_POLL_WITH_SELECT.  We could still call FD_SET if the osfd was larger
than FD_SETSIZE.  Fixed the bug that _PR_POLL_WITH_SELECT was defined after
the system header files had been included.  Need to define it on the
compile command line.  Define _USE_BIG_FDS on HP-UX.  Because that macro
increases the size of fd_set to about 7500 bytes and PR_Poll allocates 3
fd_sets on the stack, also increased the minimum thread stack size to 128KB
on HP-UX.
Modified Files: configure configure.in _hpux.h _osf1.h ptio.c
2003-01-20 20:52:48 +00:00
wtc%netscape.com eb31f14407 Bug 134113: make NSPR build on Win32 using MinGW gcc. The patch is
contributed by Chris Seawood <seawood@cls.org> and Dan Mosedale
<dmose@mozilla.org>. r=wtc.
Modified files: configure configure.in config/Makefile.in autoconf.mk.in
now.c rules.mk lib/ds/Makefile.in lib/libc/src/Makefile.in
lib/msgc/src/Makefile.in prtypes.h _winnt.h pr/src/Makefile.in prmapopt.c
pr/src/md/windows/Makefile.in ntio.c ntmisc.c pr/tests/Makefile.in
runtests.ksh pr/tests/dll/Makefile.in
2003-01-20 16:26:24 +00:00
wtc%netscape.com 54f5f9969b MACOS_DEPLOYMENT_TARGET only needs to be defined if we are building on
Mac OS X.
2003-01-15 00:07:02 +00:00
wtc%netscape.com 711db3c6bd 1. Use $(CC) (the compiler) to build shared libraries on Solaris. Added
the -z defs linker flag back.
Modified files: configure configure.in lib/ds/Makefile.in
lib/libc/src/Makefile.in pr/src/Makefile.in
2. Let pr/src/md/unix/Makefile.in be responsible for removing the
pr/src/cpu directory because it creates that directory.  Note that the
'clean' target does not remove the directory because it doesn't remove
the .so's either.
Modified files: pr/src/Makefile.in, pr/src/md/unix/Makefile.in
2003-01-08 19:19:01 +00:00
wtc%netscape.com e1efb9c8fb A temporary fix for the Solaris gcc build. Removed the -z defs linker flag
because gcc-compiled objects reference symbols not defined in -lc.  The
correct fix is to use gcc to build the shared libraries, as we do on Linux.
Modified Files: configure.in configure
2003-01-07 20:49:41 +00:00
wtc%netscape.com 664ebf4e1a Bug 158704: removed the workaround of using the non-existent pkg/Makefile
to cause AC_OUTPUT to create the pkg directory.  Create it explicitly.
2003-01-06 23:34:47 +00:00
wtc%netscape.com 7c67a9652b Bug 158704: merged the Solaris packaging stuff onto the trunk. The three
shared libraries are built with mapfiles that specify versioned export
symbols.  We use the $ORIGIN and $ISALIST linker keywords to specify the
location of the ultrasparc filtee.
2003-01-04 02:14:13 +00:00
wtc%netscape.com 259b6a8d8a Bug 180293: moved the OpenVMS build from the POSIX subsystem to native VMS
(GNV).  The patch is contributed by Colin Blakes <colin@theblakes.com>.
Modified Files: configure configure.in rules.mk pr/include/md/Makefile
        openvms.c
Added Files: plds_symvec.opt plc_symvec.opt nspr_symvec.opt
2002-12-12 01:41:31 +00:00
wtc%netscape.com 901980a0bb Bug 166412: ported NSPR to AIX 5.1. AIX 5.1 is the same as AIX 4.3 as far
as NSPR is concerned.  Invented a new macro AIX4_3_PLUS to indicate AIX 4.3
or higher.
Modified files: configure configure.in _pth.h prnetdb.c
2002-12-11 23:10:41 +00:00
seawood%netscape.com 1e654f2c3b Fix egrep syntax. 2002-11-23 09:59:07 +00:00
seawood%netscape.com 14c734c48d Properly detect OS_ARCH when building on Win32 ME.
Bug #180822 r=dmose,wtc
2002-11-23 06:06:12 +00:00
seawood%netscape.com efa6ee335b Add CFM, CFBundle and mach-o library loading support to OSX NSPR. Support is only available if the carbon toolkit is detected at build time.
Original patch by Patrick Beard <beard@netscape.com> with modifications by Wan-Teh Chang <wtc@netscape.com>.
Bug #131306 r=cls
2002-11-06 05:10:22 +00:00
wtc%netscape.com cc59e07bc8 Bug 165602: checked in Brian Ryner's changes to allow Mac OS X 10.2 builds
to run on 10.1. r=wtc.
Modified files: configure configure.in pr/src/misc/prdtoa.c
2002-09-26 12:51:34 +00:00
wtc%netscape.com 473fba6e09 Bug 169569: always use the Solaris ld (/usr/ccs/bin/ld) to link NSPR
shared libraries.  r=cls.
2002-09-19 00:11:54 +00:00
wtc%netscape.com 433fd93736 Bug 167375: configuration changes needed for building on BSD/OS 5.0.
The patch is contributed by lidl@pix.net.
Modified files: configure configure.in _bsdi.h
2002-09-12 15:04:22 +00:00
wtc%netscape.com ce2f2d9763 Use cygwin-wrapper only when we are using cygwin (the mingw and cygwin
targets).
2002-08-28 19:53:05 +00:00
wtc%netscape.com 9f499c3e8e 1. Checked in the fix for bug 157241 to enable debugging with gcc/gdb on
Linux with compiler optimizations on.
2. Cleaned up the fix for bug 137059. Replaced MOZ_DEBUG_ENABLE_DEFS by
DEFINES.
3. Backed out portions of the fix for bug 161461 that broke the build under
MKS toolkit.
4. Merged the fix for bug 141834 (using cygwin-wrapper) on the tip.
2002-08-23 01:11:26 +00:00
seawood%netscape.com 47eef2251f Fix build problem caused by having spaces in the username.
Bug #137059 r=dmose r=mcs
2002-08-10 10:37:25 +00:00