135 Commits

Author SHA1 Message Date
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
seawood%netscape.com
ae0f08c6b0 Fix egrep syntax.
git-svn-id: svn://10.0.0.236/trunk@134365 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-23 09:59:07 +00:00
seawood%netscape.com
f7a5f8eec0 Properly detect OS_ARCH when building on Win32 ME.
Bug #180822 r=dmose,wtc


git-svn-id: svn://10.0.0.236/trunk@134362 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-23 06:06:12 +00:00
seawood%netscape.com
4ee80820c1 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


git-svn-id: svn://10.0.0.236/trunk@133114 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 05:10:22 +00:00
wtc%netscape.com
cf0e5f700d 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


git-svn-id: svn://10.0.0.236/trunk@130523 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 12:51:34 +00:00
wtc%netscape.com
c0e111cf86 Bug 169569: always use the Solaris ld (/usr/ccs/bin/ld) to link NSPR
shared libraries.  r=cls.


git-svn-id: svn://10.0.0.236/trunk@129980 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-19 00:11:54 +00:00
wtc%netscape.com
96fe5c4899 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


git-svn-id: svn://10.0.0.236/trunk@129351 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 15:04:22 +00:00
wtc%netscape.com
6deb776e17 Use cygwin-wrapper only when we are using cygwin (the mingw and cygwin
targets).


git-svn-id: svn://10.0.0.236/trunk@128368 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 19:53:05 +00:00
wtc%netscape.com
3f7c990b78 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.


git-svn-id: svn://10.0.0.236/trunk@127914 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 01:11:26 +00:00
seawood%netscape.com
28a70f6839 Fix build problem caused by having spaces in the username.
Bug #137059 r=dmose r=mcs


git-svn-id: svn://10.0.0.236/trunk@126994 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 10:37:25 +00:00
seawood%netscape.com
73319c11ca Add compiler test for +Olit=all support for hpux cc.
Bug #146426 r=wtc


git-svn-id: svn://10.0.0.236/trunk@126959 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 04:32:49 +00:00
seawood%netscape.com
fb4b9df951 Misc build cleanup v1:
Cleanup win32 configure output
Bug #161461 r=bryner


git-svn-id: svn://10.0.0.236/trunk@126803 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 21:39:26 +00:00
seawood%netscape.com
8e768703b6 Remove explicitly linking against -lc on linux as it could break backwards binary compatibility. Linking using gcc/g++ should automatically link against libc.
Thanks to Franz.Sirl-kernel@lauterbach.com for the patch.
Bug #72766 r=wtc,cls


git-svn-id: svn://10.0.0.236/trunk@126659 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 11:34:44 +00:00
wtc%netscape.com
6dfc18db5c Bug 151711: gcc on OSF1 needs to use the -mieee flag.
git-svn-id: svn://10.0.0.236/trunk@123298 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 05:05:59 +00:00
wtc%netscape.com
b6972ae532 Bug 125819: fixed problems compiling using gcc on OSF1. The patch is
contributed by Chris Seawood <seawood@netscape.com>.
Modified Files: configure configure.in unix.c uxrng.c


git-svn-id: svn://10.0.0.236/trunk@123293 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 03:24:33 +00:00
wtc%netscape.com
0a777bafa2 Bug 136458: removed the old -O workaround and use -m68020-60. The patch is
contributed by Richard Zidlicky <rz@linux-m68k.org>.  r=wtc.
Modified Files: configure.in configure Linux.mk


git-svn-id: svn://10.0.0.236/trunk@123252 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 22:00:29 +00:00
seawood%netscape.com
8c815c3701 Fix typo that was causing pthreads to be selected by default on OpenBSD even though we default to NSPR threads on that platform.
Bug #145560 r=wtc


git-svn-id: svn://10.0.0.236/trunk@122256 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 08:01:42 +00:00
wtc%netscape.com
7084b5beaa Bugzilla bug 142677: made --disable-ipv6 work on AIX. Removed the obsolete
file _aix32in6.cfg.
Modified files: configure.in configure _aix32.cfg
Removed file: _aix32in6.cfg


git-svn-id: svn://10.0.0.236/trunk@120910 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 01:43:40 +00:00
wtc%netscape.com
712f922229 Bugzilla bug 137736: Use "return 0" instead of exit(0) in the main()
functions of the configure test programs.  Miscellaneous changes to fix
compiler warnings about the configure test programs.


git-svn-id: svn://10.0.0.236/trunk@120704 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 17:39:01 +00:00
wtc%netscape.com
e97087c610 Backed out the fix for bug 121975. It doesn't work on Windows 95.
Modified Files: configure configure.in WIN32.mk _win95.h w95dllmain.c
w95thred.c


git-svn-id: svn://10.0.0.236/trunk@120074 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 03:12:25 +00:00
wtc%netscape.com
29aaa34205 Added OS_RELEASE processing for FreeBSD and Linux to match NSS's coreconf
build system, which the OBJ directory names of our binary distributions on
ftp.mozilla.org emulate.
Modified files: configure configure.in


git-svn-id: svn://10.0.0.236/trunk@117753 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-30 15:35:06 +00:00
wtc%netscape.com
ab6848717b Fixed OS_RELEASE for AIX. Modified files: configure configure.in
git-svn-id: svn://10.0.0.236/trunk@117751 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-30 04:54:06 +00:00
wtc%netscape.com
612678ab79 Bugzilla bug 121975: allow the WIN95 version of NSPR to use static TLS when
possible.  Thanks to Daniel Bratell <bratell@lysator.liu.se> for suggesting
this change and performing the measurements to show its improvement.
Modified files: configure configure.in WIN32.mk _win95.h w95dllmain.c
w95thred.c


git-svn-id: svn://10.0.0.236/trunk@117737 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-29 21:51:45 +00:00
wtc%netscape.com
065a627d95 Bugzilla bug 129633: changed the default select for OS/2 to BSD_SELECT.
The patch is contributed by Michael Kaply <mkaply@us.ibm.com>.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@116306 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-10 15:22:51 +00:00
seawood%netscape.com
6f1cc2c23d Add -lrt/-lposix4 to OS_LIBS on Solaris so that Purify doesn't complain about the missing library when instrumenting libnspr.
Bug #124493 r=bryner a=asa


git-svn-id: svn://10.0.0.236/trunk@115369 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 10:19:08 +00:00
seawood%netscape.com
83a45e96da Create shared libraries using $(CC) for FreeBSD.
Use -pthread as a linker flag instead of a compile flag on FreeBSD.
Thanks to Jeremy Lea <reg@shale.csir.co.za> for the patch.
bug #125857 r=wtc/cls a=asa


git-svn-id: svn://10.0.0.236/trunk@115366 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 09:44:34 +00:00
wtc%netscape.com
658de28599 Bugzilla bug 113152: do not define or test the macro 'linux'. Thanks to
david@blue-labs.org for the patch.
Modified files: configure configure.in Linux.mk prinet.h


git-svn-id: svn://10.0.0.236/trunk@112985 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 04:51:01 +00:00
wtc%netscape.com
57008423af Added support for new HP-UX platform.
Modified files: configure configure.in _hpux.h _hpux64.cfg uxrng.c
prsystem.c pr/tests/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@112570 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-23 02:56:36 +00:00
wtc%netscape.com
6925a25d2b Bugzilla bug 100776: handle non-blocking connect correctly on OS/2.
The fix is contributed by Javier Pedemonte <pedemont@us.ibm.com>.
r=mkaply.
Modified files: configure configure.in _os2.h _os2_errors.h prsocket.c
os2_errors.c os2poll.c os2sock.c


git-svn-id: svn://10.0.0.236/trunk@112412 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 01:27:20 +00:00
seawood%netscape.com
36ec67a6b0 Landing BeOS BONE support.
Thanks to Matthew Zahorik <maz@albany.net> & Paul Ashford <arougthopher@lizardland.net> for the patch.
Bug #71697 r=wtc/cls


git-svn-id: svn://10.0.0.236/trunk@111802 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 09:50:36 +00:00
wtc%netscape.com
03c3f528d8 Make building for Darwin/x86 work. The patch is from Matt Watson.
git-svn-id: svn://10.0.0.236/trunk@111240 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-02 19:50:07 +00:00
wtc%netscape.com
15b6ce139b Bugzilla bug 113740: do not use the 32-bit SPARC assembly implementation of
PRStack because it may cause starvation of the lock owner, leaving the
other threads spinning trying to acquire the lock.
Modified files: configure configure.in pr/include/md/_solaris.h


git-svn-id: svn://10.0.0.236/trunk@109955 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 02:10:10 +00:00
seawood%netscape.com
c3a0ae9bc7 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


git-svn-id: svn://10.0.0.236/trunk@109500 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 22:16:28 +00:00
seawood%netscape.com
c88ac2817e Adding test for gcc -pipe feature.
Bug #81031 r=wtc


git-svn-id: svn://10.0.0.236/trunk@109497 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 22:08:42 +00:00
seawood%netscape.com
977f1f7fe7 Use -no-cpp-precomp instead of -traditional-cpp for darwin
Bug #106617


git-svn-id: svn://10.0.0.236/trunk@108011 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 04:01:43 +00:00