219 Commits

Author SHA1 Message Date
wchang0222%aol.com
46f340e40a Bugzilla bug 259001: ported NSPR to Solaris on AMD64 architecture. The
patch is contributed by Julien Pierre <julien.pierre.bugs@sun.com>. r=wtc.
Modified Files: configure configure.in _solaris.h _solaris64.cfg
Added Files: os_SunOS_x86_64.s


git-svn-id: svn://10.0.0.236/trunk@163274 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-06 00:52:57 +00:00
bryner%brianryner.com
e2aa3295e4 Add support for generating PDB-format debug symbols with MSVC, by setting MOZ_DEBUG_SYMBOLS=1 in the environment. This is to be used in place of MOZ_PROFILE. Bug 244231, r=wtc, dmose.
git-svn-id: svn://10.0.0.236/trunk@161363 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 23:08:28 +00:00
wchang0222%aol.com
d340f1e399 Bugzilla bug 235381: use the -features=tmplife flag for Sun compilers to
enable Standard C++ lifetime of temporary objects. The patch is contributed
by Andreas Lange <anlan@ida.liu.se>. r=wtc. sr=darin.


git-svn-id: svn://10.0.0.236/trunk@156736 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-21 21:28:43 +00:00
seawood%netscape.com
756e671d43 Use the proper flags when building with --enable-debug --enable-optimize.
Thanks to Wan-Teh Chang <wchang0222@aol.com> for the patch.
Bug #243079 r=cls


git-svn-id: svn://10.0.0.236/trunk@156655 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-20 20:15:18 +00:00
wchang0222%aol.com
4b9b562dd6 Regenerated using a better version of autoconf 2.13.
git-svn-id: svn://10.0.0.236/trunk@156037 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 18:37:34 +00:00
wchang0222%aol.com
de6f3c867a Bugzilla bug 242741: MSVC .NET 2003 does not support the /PDB:NONE linker
option, so we need to generate PDB files and ship them with our binary
distributions when compiling with MSVC version > 6.0.  r=cls.
Modified Files: configure configure.in autoconf.mk.in rules.mk


git-svn-id: svn://10.0.0.236/trunk@156030 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 14:01:42 +00:00
seawood%netscape.com
8496dc51c1 Allow nspr to accept multiple --{enable,disable}-{debug,optimize} args.
Bug #54828 r=wtc


git-svn-id: svn://10.0.0.236/trunk@155551 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-26 22:48:29 +00:00
seawood%netscape.com
0adc7d086f Add support for cross-compiling to i386-mingw32.
Bug #222013
r=wtc


git-svn-id: svn://10.0.0.236/trunk@154718 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:31:36 +00:00
wchang0222%aol.com
6d2175af2b It is not necessary to define _THREAD_SAFE when using pthreads on OpenBSD.
(See Bugzilla bug 236599 comment 41).


git-svn-id: svn://10.0.0.236/trunk@153858 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-11 02:26:25 +00:00
seawood%netscape.com
8d44a18e24 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


git-svn-id: svn://10.0.0.236/trunk@153782 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 23:36:25 +00:00
wchang0222%aol.com
0140af82ab 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


git-svn-id: svn://10.0.0.236/trunk@153721 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 03:10:32 +00:00
wchang0222%aol.com
22a3bbe81e 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.


git-svn-id: svn://10.0.0.236/trunk@152679 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 21:08:09 +00:00
wchang0222%aol.com
6318e14d2d 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.


git-svn-id: svn://10.0.0.236/trunk@152476 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 15:23:49 +00:00
wchang0222%aol.com
7d1ab463c4 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


git-svn-id: svn://10.0.0.236/trunk@152264 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 01:40:56 +00:00
wchang0222%aol.com
51a83dbb0e Bugzilla bug 231504: made --disable-strip work. r=bryner.
git-svn-id: svn://10.0.0.236/trunk@152049 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:41:50 +00:00
wchang0222%aol.com
00bcaa852a 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


git-svn-id: svn://10.0.0.236/trunk@151972 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 21:11:04 +00:00
wchang0222%aol.com
a09da9d17c 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.


git-svn-id: svn://10.0.0.236/trunk@151922 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-27 23:10:18 +00:00
wchang0222%aol.com
d4d9a26b21 Regenerated the configure script with the right version of autoconf.
git-svn-id: svn://10.0.0.236/trunk@150658 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 05:10:44 +00:00
wchang0222%aol.com
ed8c0fd1a2 Updated for NSPR 4.5.
Modified Files: configure configure.in repackage.sh vercheck.c


git-svn-id: svn://10.0.0.236/trunk@149706 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-25 01:20:40 +00:00
wchang0222%aol.com
f8f63444a5 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>.


git-svn-id: svn://10.0.0.236/trunk@149694 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-24 22:20:01 +00:00
wchang0222%aol.com
ea406ede5f 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


git-svn-id: svn://10.0.0.236/trunk@149388 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-16 01:10:49 +00:00
wchang0222%aol.com
0199ff8322 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


git-svn-id: svn://10.0.0.236/trunk@149380 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-15 23:39:36 +00:00
wchang0222%aol.com
4480041b25 Bugzilla bug 225260: link NSPR dynamic shared libraries with the
-headerpad_max_install_names option. sr=sfraser.


git-svn-id: svn://10.0.0.236/trunk@149226 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 02:03:44 +00:00
wtc%netscape.com
2ae4080507 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.


git-svn-id: svn://10.0.0.236/trunk@146941 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-16 01:58:03 +00:00
seawood%netscape.com
a41d67cd3b When calling windres, use a temp file to work around resource issues.
Bug #213281 r=wtc


git-svn-id: svn://10.0.0.236/trunk@146890 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-15 03:48:56 +00:00
darin%meer.net
5d644844e4 landing patch for bug 211501 "NSPR should provide getaddrinfo" r=wtc
git-svn-id: svn://10.0.0.236/trunk@146800 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 21:42:16 +00:00
wtc%netscape.com
f12c3534ee 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>.


git-svn-id: svn://10.0.0.236/trunk@146401 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-27 23:41:12 +00:00
seawood%netscape.com
7504f919a5 Avoid pulling in libdl on OSX.
Thanks to Josh Soref <timeless@bemail.org> for the patch.
Bug #212708 r=wtc


git-svn-id: svn://10.0.0.236/trunk@144940 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 02:09:19 +00:00
wtc%netscape.com
ac366f4acc Set MOD_MINOR_VERSION to 4 for NSPR 4.4.
git-svn-id: svn://10.0.0.236/trunk@144683 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-10 17:34:08 +00:00
wtc%netscape.com
cd4c3c23d6 Bug 204092: build NSPR on Solaris with -xO4 optimization.
git-svn-id: svn://10.0.0.236/trunk@142558 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-16 20:33:14 +00:00
wtc%netscape.com
f70dc678d7 Merged the recent OS/2 changes from NSPRPUB_PRE_4_2_CLIENT_BRANCH to the
trunk.


git-svn-id: svn://10.0.0.236/trunk@142407 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-14 01:34:47 +00:00
wtc%netscape.com
16760941c5 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


git-svn-id: svn://10.0.0.236/trunk@141956 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-30 00:44:16 +00:00
seawood%netscape.com
b06385def3 Change mksnt* checks to mks*
Bug #202598 r=wtc


git-svn-id: svn://10.0.0.236/trunk@141432 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-19 01:47:57 +00:00
seawood%netscape.com
dc1de8c614 Add -s to default optimization flags for os2gcc builds.
Thanks to Javier Pedemonte <pedemont@us.ibm.com> for the patch.
Bug #201555 r=cls


git-svn-id: svn://10.0.0.236/trunk@141406 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 19:27:09 +00:00
wtc%netscape.com
a64d015107 Bug 199324: changed all i?86 checks to i*86 because Cygwin's "uname -m"
returns i1586 on Intel Xeon processors. r=cls.


git-svn-id: svn://10.0.0.236/trunk@140374 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-27 02:21:20 +00:00
wtc%netscape.com
2edc559488 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


git-svn-id: svn://10.0.0.236/trunk@140069 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 15:36:13 +00:00
wtc%netscape.com
bd50639fc2 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.


git-svn-id: svn://10.0.0.236/trunk@140007 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 01:10:47 +00:00
wtc%netscape.com
abd09a9794 Renamed MOD_REVISION_VERSION to MOD_PATCH_VERSION.
Modified Files: configure configure.in autoconf.mk.in nspr-config.in


git-svn-id: svn://10.0.0.236/trunk@138668 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 01:48:15 +00:00
wtc%netscape.com
3b710a04cb 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


git-svn-id: svn://10.0.0.236/trunk@138506 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 02:00:33 +00:00
wtc%netscape.com
e6d72154c0 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


git-svn-id: svn://10.0.0.236/trunk@138187 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 15:00:13 +00:00
wtc%netscape.com
b9c97da375 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


git-svn-id: svn://10.0.0.236/trunk@137346 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-04 01:45:28 +00:00
wtc%netscape.com
783f471234 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


git-svn-id: svn://10.0.0.236/trunk@136698 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 20:52:48 +00:00
wtc%netscape.com
7d9945c67e 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


git-svn-id: svn://10.0.0.236/trunk@136681 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 16:26:24 +00:00
wtc%netscape.com
295a99a9a3 MACOS_DEPLOYMENT_TARGET only needs to be defined if we are building on
Mac OS X.


git-svn-id: svn://10.0.0.236/trunk@136348 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-15 00:07:02 +00:00
wtc%netscape.com
ae0fe3d699 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


git-svn-id: svn://10.0.0.236/trunk@135990 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:19:01 +00:00
wtc%netscape.com
632edaed3f 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


git-svn-id: svn://10.0.0.236/trunk@135940 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 20:49:41 +00:00
wtc%netscape.com
d26e21b83e Bug 158704: removed the workaround of using the non-existent pkg/Makefile
to cause AC_OUTPUT to create the pkg directory.  Create it explicitly.


git-svn-id: svn://10.0.0.236/trunk@135912 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-06 23:34:47 +00:00
wtc%netscape.com
f38ca95e78 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.


git-svn-id: svn://10.0.0.236/trunk@135843 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-04 02:14:13 +00:00
wtc%netscape.com
b4939c1915 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


git-svn-id: svn://10.0.0.236/trunk@135156 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-12 01:41:31 +00:00
wtc%netscape.com
e8cfa137a1 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


git-svn-id: svn://10.0.0.236/trunk@135142 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 23:10:41 +00:00