Commit Graph

154 Commits

Author SHA1 Message Date
wtc%netscape.com
d4de9f5eb0 Fixed OS_RELEASE for AIX. Modified files: configure configure.in 2002-03-30 04:54:06 +00:00
wtc%netscape.com
94e3c24b61 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
2002-03-29 21:51:45 +00:00
wtc%netscape.com
f72bec36c3 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.
2002-03-10 15:22:51 +00:00
seawood%netscape.com
3edb8225ec 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
2002-02-26 10:17:10 +00:00
seawood%netscape.com
543a721959 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
2002-02-26 09:44:34 +00:00
wtc%netscape.com
428662ab0a 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
2002-01-27 04:51:01 +00:00
wtc%netscape.com
40ab8dd16c Added support for new HP-UX platform.
Modified files: configure configure.in _hpux.h _hpux64.cfg uxrng.c
prsystem.c pr/tests/Makefile.in
2002-01-23 02:56:36 +00:00
wtc%netscape.com
3b54ba6a7a 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
2002-01-18 01:27:20 +00:00
seawood%netscape.com
7fd9ab2b4e Landing BeOS BONE support.
Thanks to Matthew Zahorik <maz@albany.net> & Paul Ashford <arougthopher@lizardland.net> for the patch.
Bug #71697 r=wtc/cls
2002-01-10 09:50:36 +00:00
wtc%netscape.com
b6c546b54e Make building for Darwin/x86 work. The patch is from Matt Watson. 2002-01-02 19:50:07 +00:00
wtc%netscape.com
484044538a 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
2001-12-07 02:10:10 +00:00
seawood%netscape.com
98711ccbcd 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-02 22:16:28 +00:00
seawood%netscape.com
c4fc71cdb0 Adding test for gcc -pipe feature.
Bug #81031 r=wtc
2001-12-02 22:08:42 +00:00
seawood%netscape.com
3e771f6d39 Use -no-cpp-precomp instead of -traditional-cpp for darwin
Bug #106617
2001-11-14 04:01:43 +00:00
seawood%netscape.com
62aa54a1ec Tell BSD strip to just strip local & debug symbols rather than all symbols for darwin. 2001-11-03 06:01:31 +00:00
seawood%netscape.com
0772c7c59b Moved darwin section to proper platform location.
Added note about why -traditional-cpp is used for darwin.
Added Mac OSX linker options to be used in darwin builds.
Bug #106617
2001-11-03 03:57:36 +00:00
wtc%netscape.com
0cdb544041 Added lib/tests/Makefile to the list of makefiles to be generated by
configure.
Modified files: configure configure.in
Bugzilla bug 106372: added new function PL_strtok_r.  The function was
implemented by Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de>.
Modified files: lib/libc/include/plstr.h lib/libc/src/Makefile.in
    lib/tests/string.c
Added file: lib/libc/src/strtok.c
2001-10-31 23:49:52 +00:00
wtc%netscape.com
04e4931568 Bugzilla bug 106771: support building on HP-UX 11.11. The patch is from
Jim Dunn <jdunn@netscape.com>.
Modified files: configure configure.in
2001-10-26 21:13:06 +00:00
seawood%netscape.com
10a2363233 Convert all rhapsody (pre-beta-macosx) references to darwin.
Bug #106617 r=wtc
2001-10-26 04:55:58 +00:00
wtc%netscape.com
4dd8967518 Bugzilla bug 77188: checked in a configure patch for Neutrino from
dinglis@qnx.com (Dave Inglis).  r=wtc.
Modified files: configure configure.in
2001-10-17 20:50:51 +00:00
wtc%netscape.com
c5c3f04f07 Bugzilla bug 104269: allow one to specify an includedir or dist_includedir
that doesn't end in "/nspr".  This patch is due to cls.  r=wtc.
The only problem with this solution is that the default value for
--includedir shown in the --help output is wrong.
Modified files: configure.in configure config/autoconf.mk.in
2001-10-16 23:31:02 +00:00
wtc%netscape.com
e2347d20cd Bugzilla bug 104286: teach the configure script about MKS Toolkit. r=cls.
Modified files: configure configure.in config.guess config.sub
2001-10-12 20:44:02 +00:00
cls%seawood.org
bdd892cb8d Adding --enable-strip option.
Bug #88045 r=wtc sr=waterson
2001-08-12 03:40:04 +00:00
wtc%netscape.com
ee05eeeee7 Bugzilla bug 88535: backed out some of the changes made in the previous
checkin.  Modified files: configure configure.in
2001-07-01 18:02:46 +00:00
wtc%netscape.com
cab7ee91e0 Bugzilla bug 88535: Use _OPTIMIZE_FLAGS and _DEBUG_FLAGS instead of
OPTIMIZER on Windows.  Set OPTIMIZER to _OPTIMIZE_FLAGS or _DEBUG_FLAGS.
Modified files: configure configure.in
2001-06-30 15:06:26 +00:00
wtc%netscape.com
da5c3e2ff8 Bugzilla bug 86730: checked in optimization-related changes for OS/2
from Javier Pedemonte <pedemont@us.ibm.com>.
Modified files: configure configure.in
2001-06-27 03:02:24 +00:00
wtc%netscape.com
143d18e059 Bugzilla bug 84361: added large file support for Linux.
Modified files: configure configure.in _linux.h
Removed an unnecessary undefine of _FILE_OFFSET_BITS in solaris.c.
2001-06-27 03:00:34 +00:00
wtc%netscape.com
67b5417285 Bugzilla Bug 63049: 64-bit Solaris does not need the libultrasparc4.so
(-f libatomic.so) filter library.
Modified files: configure configure.in _solaris.h pr/src/md/unix/Makefile
solaris.c.
Added file: os_SunOS_sparcv9.s.
2001-06-24 01:39:51 +00:00
wtc%netscape.com
6df226985b Bugzilla bug #86797: made the configure script recognize darwin and
deleted the old name rhapsody.
Modified files: configure configure.in
2001-06-23 04:37:20 +00:00
wtc%netscape.com
3aeb80d883 Bugzilla bug #85673: added assembly implementation of the atomic routines
for OS/2 contributed by Michael Kaply of IBM.
Modified files: configure configure.in autoconf.mk.in rules.mk _os2.h
pr/src/md/os2/Makefile.in pr/src/md/os2/objs.mk os2misc.c
2001-06-23 04:09:19 +00:00
wtc%netscape.com
eee2b1ecba Bugzilla bug #85979: always use the -xs compiler option in Solaris debug
builds.
Modified files: configure.in configure
2001-06-14 21:45:39 +00:00
wtc%netscape.com
1cf158507c Set CPU_ARCH for Linux.
Modified files: configure configure.in
2001-06-14 06:20:55 +00:00
wtc%netscape.com
14221aabfd Added Netscape/iPlanet internal binary release support. The new
variable RELEASE_OBJDIR_NAME is the object directory name used in
the "/share/builds/components" binary distribution area.  Also fixed
two typos (USE_USER_PTHREADS => USE_NSPR_THREADS).
Modified files: Makefile.in, configure, configure.in, config/autoconf.mk.in
2001-06-14 05:49:20 +00:00
wtc%netscape.com
296b3a2153 Added comments to explain the -Wp,-P compiler option for gcc on IRIX. 2001-06-07 01:15:32 +00:00
wtc%netscape.com
b6a0ede958 Bugzilla bug #70834: made configure work on NetBSD. Thanks to
taya@sm.sony.co.jp (Shin'ichiro TAYA) for the patch.
Also fixed some typos.
Modified files: configure.in, configure.
2001-06-06 16:05:57 +00:00
wtc%netscape.com
024cd628f9 Bugzilla bug #83880: deleted code for turning off shared libraries.
Shared libraries, if supported by the platform, must be built.  Thanks
to Chris Seawood for the patch.
Modified files: configure.in, configure.
2001-06-06 04:52:44 +00:00
wtc%netscape.com
73fbfd545b Bugzilla bug #51135: IPv6 support on OpenVMS. Thanks to Colin Blakes
<colin@theblakes.com> for the patch.
Modified files: configure configure.in OpenVMS.mk _openvms.h pripv6.c
2001-05-22 18:50:21 +00:00
wtc%netscape.com
640403e3e4 Bugzilla bug #28711: enabled gcc to assemble os_Irix.s on IRIX. Thanks to
John Vandenberg <zeroJ@null.net> for the research and the fix.
Modified files: configure.in configure
2001-05-22 13:28:34 +00:00
wtc%netscape.com
b8e2e4c788 On Linux, use $(CC) to link the shared library. Define _REENTRANT in just
one place for Solaris.  Use the null command : instead of 'true'.
Modified files: configure.in, configure.
2001-05-21 22:55:09 +00:00
wtc%netscape.com
876c033b3a Don't use classic build system's OBJDIR_NAME and OBJDIR for Win32.
I am temporarily commenting out the code.  It needs to be clearned
up later.
Modified files: configure.in configure
2001-05-17 21:50:12 +00:00
wtc%netscape.com
274d022c97 Eliminated more differences between the autoconf build system and the
(obsolete) classic build system.
Modified Files:
	configure.in configure lib/prstreams/Makefile.in
	lib/tests/Makefile.in pr/src/cplus/Makefile.in
	pr/src/threads/combined/Makefile.in pr/tests/Makefile.in
2001-05-17 21:42:09 +00:00
wtc%netscape.com
00096755cf Removed MOZ_WIN32_TARGET, which is just a synonym of OS_TARGET.
Modified Files:
	configure configure.in config/autoconf.mk.in
	pr/src/md/windows/Makefile.in pr/src/md/windows/objs.mk
2001-05-17 02:27:02 +00:00
wtc%netscape.com
b959068cb0 Added the --enable-debug-rtl option for setting USE_DEBUG_RTL.
Modified Files:
	configure.in configure
2001-05-17 02:02:06 +00:00
wtc%netscape.com
ccf6d9f539 Verified that the autoconf build system is equivalent to the classic
build system on Win32.
Modified Files:
	configure configure.in
2001-05-17 01:46:09 +00:00
wtc%netscape.com
58625f3acb Verified that the autoconf build system is equivalent to the classic
build system on OSF1, IRIX, and FreeBSD.
	configure configure.in config/autoconf.mk.in config/config.mk
	lib/ds/Makefile.in lib/libc/src/Makefile.in pr/src/Makefile.in
2001-05-17 00:56:25 +00:00
wtc%netscape.com
17680c472c Verified that the autoconf build system is equivalent to the classic
build system on AIX, HP-UX, Linux, and Solaris.  The 'release' makefile
target still doesn't quite work.
Modified Files:
	configure configure.in config/Makefile.in
	config/autoconf.mk.in config/config.mk config/nsinstall.c
	config/rules.mk lib/ds/Makefile.in lib/libc/src/Makefile.in
	pr/include/md/Makefile.in pr/src/misc/Makefile.in
2001-05-15 22:57:39 +00:00
wtc%netscape.com
4a9139a3c8 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 05:31:44 +00:00
cls%seawood.org
235ca23653 Compaq changed uname to use osf as a basename instead of osf1 2001-04-16 23:21:31 +00:00
cls%seawood.org
8030422902 Add -lc to OS_LIBS for Linux.
Bug #72766
2001-03-25 04:44:02 +00:00
cls%seawood.org
448c273013 Fix for OS/2 emx build bustage.
Thanks to Dmitry Kubov <dmitry@north.cs.msu.su> for the patch.
Bug #72471 r=cls
2001-03-21 15:56:31 +00:00
cls%seawood.org
0172f6aa18 Irix requires the -f option when stripping non-executables. 2001-03-11 11:27:29 +00:00
cls%seawood.org
6ff6ea0cfd Actually use CPPFLAGS when passed to configure. 2001-03-09 04:51:09 +00:00
cls%seawood.org
143bbdb763 Set MD specific files for openbsd. 2001-03-07 04:20:28 +00:00
cls%seawood.org
70a68f932e Fix nspr autoconf for OpenVMS.
Thanks to Colin Blake <colin@theblakes.com> for the patch.
Bug #69842 r=cls
2001-02-25 21:50:47 +00:00
wtc%netscape.com
21f455e99f Bugzilla bug #70116: make NSPR build on Win 98 with autoconf. Thanks to
David Avery <daa@distributed.net> for the bug report.
Modified files: configure, configure.in
2001-02-25 07:36:26 +00:00
wtc%netscape.com
2186cff612 Bugzilla bug #70058: define XP_UNIX on FreeBSD. Thanks to
Eric Hodel <drbrain-bugzilla@segment7.net> for the bug report.
Modified files: configure, configure.in
2001-02-24 22:00:46 +00:00
cls%seawood.org
1f2ef9daa4 Fix for OS/2 nspr autoconf bustage.
Thanks to Mike Kaply <mkaply@us.ibm.com> for the patch
Bug #70015 r=cls
2001-02-24 05:43:14 +00:00
cls%seawood.org
b8fad76766 Initial OS/2 nspr autoconf support. Bug #58804
Thanks to "Javier H Pedemonte" <pedemont@us.ibm.com> for the patch.
2001-02-24 05:39:43 +00:00
cls%seawood.org
a3b2b44ba1 Allow spaces in --enable-optimize args. Bug #68246 r=leaf a=brendan 2001-02-09 21:30:09 +00:00
cls%seawood.org
12ee1785dc Add -d to STRIP for bsdi 4.x 2001-02-04 04:59:26 +00:00
cls%seawood.org
a9db8787f2 bsdi 4.2 needs _PR_HAVE_GETPROTO_R & _PR_HAVE_GETPROTO_R_POINTER 2001-02-02 00:58:11 +00:00
cls%seawood.org
aa5a3e82db Landing autoconf support for all platforms except OS/2. 2001-01-29 05:36:31 +00:00
cls%seawood.org
5acc9729dd 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:57:59 +00:00
cls%seawood.org
ef94d9c12b Landing the following HPUX changes from the client branch:
1.18.19 - 1.18.2.22

Bring hpux section inline with HPUX.mk

Do not add +DA & +DS flags to CFLAGS until we figure out exactly how user define
d CFLAGS are supposed to interact with those.

Bug 58804
2001-01-27 22:55:12 +00:00
cls%seawood.org
a72d6e9220 Skip AC_PATH_PROG* checks for win32. r=bryner 2001-01-24 04:08:09 +00:00
cls%seawood.org
bf882c78fb Add --enable-boehm to nspr autoconf 2001-01-23 15:55:29 +00:00
cls%seawood.org
d343689a28 If MOZILLA_CLIENT is set and building on win32, set OS_TARGET to win95 like nsprpub/makefile.win does. 2001-01-21 06:42:27 +00:00
cls%seawood.org
5fe7b6a29d Landing changes to use autoconf on win32. Bug #58804 2001-01-19 09:44:03 +00:00
cls%seawood.org
2d4718acaa Add check for libpthreads (AIX). Set USE_PTHREADS properly for AIX. 2001-01-17 19:13:44 +00:00
cls%seawood.org
e84cc06cfd Added BSDI logic from BSD_OS.mk 2001-01-04 23:37:29 +00:00
cls%seawood.org
d67e0d81fc Preparations for building on win32 with autoconf Makefile.ins. 2000-12-30 05:44:01 +00:00
cls%seawood.org
cac0928185 Change --enable-optimize to take an argument.
Bug #53486 r=timeless
2000-12-01 13:21:43 +00:00
cls%seawood.org
cc726f2a63 Add gcc check for -pthreads if -pthread check fails. bug #44504 Thanks to madams
@janna.com (Mark G. Adams) for the patch.
2000-10-26 07:53:51 +00:00
cls%seawood.org
8a83c1e7af Treat irix64 builds as normal irix builds. 2000-10-25 21:36:02 +00:00
cls%seawood.org
d660fbbbb4 Fix Irix sections to properly handle USE_N32 2000-10-25 21:24:11 +00:00
cls%seawood.org
6d635df17c Fixed the strip check to work for cross-compile builds. Bug #11893 2000-10-25 03:30:47 +00:00
cls%seawood.org
08c9d5ab81 Set CROSS_COMPILE variable as appropriate so that cross-compiling works again. Bug #11890 2000-10-18 20:03:41 +00:00
cls%seawood.org
c890f95706 Apply fixes for previous attempt to add STRIP to nspr build. 2000-09-30 03:24:19 +00:00
larryh%netscape.com
eaca9c4309 Bugzilla: 51465. strip binaries on optimized builds 2000-09-28 17:47:22 +00:00
cls%seawood.org
d5963df738 Changing default debug & opt flags for qnx Bug #44133. Removed autoconf 2.13 specific macro 2000-07-08 11:25:25 +00:00
wtc%netscape.com
86c2cf5d36 Bugzilla bug #40941: added assembly language implementation of atomic
routines for IA-64 Linux.  Thanks to David Mosberger <davidm@hpl.hp.com>
for the code review.
Modifies files: configure, configure.in, _linux.h, pr/src/md/unix/Makefile,
pr/src/md/unix/Makefile.in, pr/src/md/unix/objs.mk
Added files: os_Linux_ia64.s
2000-06-20 22:22:23 +00:00
larryh%netscape.com
dc5530d464 BugZilla: 42367. Fix copyright date, Original Code 2000-06-20 21:48:45 +00:00
larryh%netscape.com
07cb73b3c8 BugZilla 42367. change license to dual-license 2000-06-13 20:59:02 +00:00
wtc%netscape.com
f3882a2574 Adjusted white space. 2000-05-09 20:15:18 +00:00
wtc%netscape.com
93fcbd20b8 Adjusted white space. 2000-05-09 19:07:28 +00:00
cls%seawood.org
1a3f693ffa Set PR_MD_ASFILES for Linux.
Set default AS to $(CC).
2000-05-02 06:53:54 +00:00
wtc%netscape.com
c52840b576 Bugzilla bug #29427: implemented the 'distclean' target and made
'realclean' and 'clobber_all' synonymous with 'distclean'.  This
patch is contributed by Chris Seawood <cls@seawood.org>. r=wtc@netscape.com
Modified files: Makefile, Makefile.in, configure, configure.in,
config/Makefile.in, config/config.mk, config/rules.mk
2000-03-16 22:46:02 +00:00
wtc%netscape.com
3e932b885d Landed NSPRPUB_RELEASE_4_0_20000223 onto the main trunk. 2000-02-23 23:38:19 +00:00
cls%seawood.org
f37f49f09b Ok, that was lame. The comment: 'Added check for GNU as as we can only use certain ASFLAGS under solaris with Sun's as.' should have gone with this set of configure*.
The previous checkin with the above comment should've had the comment: 'Use values from config.guess for OS_ARCH, OS_TARGET, etc when cross-compiling.  Don't check for /dev/zero when cross-compiling.  Don't override the determined values for linking with GNU ld with the hardcode values of Sun ld under solaris. Added TARGET_NSPR_MDCPUCFG to the solaris build.  Don't assume NSPR is installed on the system when cross-compiling.'
2000-01-11 05:31:08 +00:00
cls%seawood.org
1721c271f5 Cleaned up BeOS autoconf build.
Added RESOLVE_LINK_SYMBOLS for platforms that need to resolve all symbols when linking shared libs.
Removed use of EXTRA_LIBS from configure.
1999-12-22 00:07:07 +00:00
cls%seawood.org
bf8e695ff0 Another attempt to fix bug #18966. Added $(INCLUDES) to AS and fixed irix6.5 detection. 1999-12-06 03:28:31 +00:00
cls%seawood.org
61be0b4cb6 Make the autoconf build use the same defines under Linux as the non-autoconf NSPR build. 1999-12-04 23:49:35 +00:00
cls%seawood.org
7fb3ed3d9f Added use of OS_* & LDFLAGS variables to autoconf build. 1999-12-03 10:32:18 +00:00
cls%seawood.org
bbb27e8d0e Fixed problem with solaris builds setting MDCPUCFG instead of MDCPUCFG_H
Removed -mt from CFLAGS.
1999-12-01 11:25:52 +00:00
cls%seawood.org
108efebf8a Oops, added '-o $@' to necessary MKSHLIB definitions. 1999-11-29 05:27:26 +00:00
cls%seawood.org
f0b3558b58 Added preliminary autoconf support for solaris. Untested. 1999-11-29 04:46:11 +00:00
cls%seawood.org
f3c93f2e86 Fixed tabbing problems with emacs caused by the mode header.
Added preliminary autoconf support for aix, dgux, freebsd and hpux.  All untested.
1999-11-29 02:15:22 +00:00
cls%seawood.org
efdd8f6f8c Added support for neutrino target to configure.in. Patch submitted by Jerry L. Kirk <Jerry.Kirk@Nexwarecorp.com>.
Split AR_FLAGS from AR for platforms that don't use the common syntax.
1999-11-23 06:23:52 +00:00
cls%seawood.org
ec924f35d9 Check for pthread symbols in libc if the checks in libpthread & libc_r fail.
Fix typo in MOZ_OPTIMIZE check.
1999-11-22 21:59:08 +00:00
cls%seawood.org
df6e2167e0 Previous checkin was incomplete.
Changed the debug/optimize setup to mimic the Mozilla setup.
Updated the irix target_os section to use the same logic as IRIX.mk in order to fix bug #18966.
Fixed call of whoami inside configure.
Added mode & license headers.
Added the following options:
    --enable-optimize
    --enable-n32 (IRIX only)
    --enable-64bit
    --enable-mdupdate
1999-11-22 15:40:10 +00:00