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

293 Коммитов

Автор SHA1 Сообщение Дата
wtchang%redhat.com b187888740 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.).
2005-08-16 00:15:15 +00:00
wtchang%redhat.com 7411fa21d9 Set NSPR version to 4.6.1 Beta.
Modified files: configure configure.in repackage.sh prinit.h vercheck.c
2005-08-15 17:38:07 +00:00
wtchang%redhat.com 28f934f1b0 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.
2005-08-04 02:04:39 +00:00
wtchang%redhat.com 0ca78e5bfb 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
2005-07-05 20:29:28 +00:00
wtchang%redhat.com b568af749a 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
2005-07-01 22:26:37 +00:00
wtchang%redhat.com d988cabaf9 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
2005-07-01 01:19:30 +00:00
wtchang%redhat.com cd4a74f2bd 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
2005-06-28 22:35:01 +00:00
cls%seawood.org 508598b2a5 Path translation fixes for msys.
Thanks to Howard Chu <hyc@symas.com> for the patches.
Bug #294122 r=cls a=shaver
2005-06-02 04:21:17 +00:00
cls%seawood.org 67150fef30 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
2005-06-01 15:30:48 +00:00
cls%seawood.org 2dea2a81ae Allow --enable-debug to accept compiler flags like --enable-optimize
Bug #284767 r=bsmedberg a=shaver
2005-06-01 13:54:02 +00:00
cls%seawood.org 5dcb6e70c4 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
2005-06-01 13:26:38 +00:00
wtchang%redhat.com b0170f2ead 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.
2005-05-19 17:37:23 +00:00
wtchang%redhat.com 613e40a79e 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.)
2005-05-18 21:49:45 +00:00
wtchang%redhat.com df6e435fe9 Bugzilla Bug 273336: fixed an incorrect variable name. 2005-05-13 01:42:35 +00:00
wtchang%redhat.com 69023d11b1 Bugzilla Bug 273336: arguments to the test command should be quoted. r=cls. 2005-05-11 16:53:41 +00:00
wtchang%redhat.com 2122f732c0 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
2005-04-29 21:02:55 +00:00
wtchang%redhat.com d8423cfc35 Bugzilla Bug 291631: changed MOD_MINOR_VERSION to 6 for NSPR 4.6.
r=mozilla@rosenauer.org.
Modified files: configure.in configure
2005-04-27 16:52:43 +00:00
wtchang%redhat.com 23451bee91 Regenerated using the official autoconf 2.13 (as opposed to the autoconf
2.13 in Red Hat Enterprise Linux 3).
2005-03-09 21:42:11 +00:00
wtchang%redhat.com 1e29ef0a95 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
2005-03-09 21:14:48 +00:00
christophe.ravel.bugs%sun.com 2a0a6c6020 238319: Sun packaging changes.
Hook-up SUNWprd package. Remove SUNWprx package.
2004-11-30 17:05:33 +00:00
wchang0222%aol.com 7a0d926ad2 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
2004-11-08 02:52:56 +00:00
wchang0222%aol.com b2e80a1c83 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
2004-10-22 00:10:07 +00:00
wchang0222%aol.com bce0903f61 Regenerated using official autoconf 2.13, with manual change to eliminate
\015.
2004-10-06 01:31:55 +00:00
wchang0222%aol.com 9bb83f27a5 Regenerated using autoconf-2.13 on Red Hat Enterprise Linux 3. 2004-10-06 01:14:40 +00:00
wchang0222%aol.com 130fda3cda 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
2004-10-06 00:52:57 +00:00
bryner%brianryner.com a6147dad9a 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. 2004-08-26 23:08:28 +00:00
wchang0222%aol.com 03b5160d92 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.
2004-05-21 21:28:43 +00:00
seawood%netscape.com 1663b91e0b 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
2004-05-20 20:15:18 +00:00
wchang0222%aol.com 186a99cac5 Regenerated using a better version of autoconf 2.13. 2004-05-06 18:37:34 +00:00
wchang0222%aol.com 72060c75c9 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
2004-05-06 14:01:42 +00:00
seawood%netscape.com e9c5f0550a Allow nspr to accept multiple --{enable,disable}-{debug,optimize} args.
Bug #54828 r=wtc
2004-04-26 22:48:29 +00:00
seawood%netscape.com 94b1b6fd03 Add support for cross-compiling to i386-mingw32.
Bug #222013
r=wtc
2004-04-12 22:31:36 +00:00
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 744c635783 Regenerated the configure script with the right version of autoconf. 2003-12-23 05:10:44 +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 75c4feef90 Merged the recent OS/2 changes from NSPRPUB_PRE_4_2_CLIENT_BRANCH to the
trunk.
2003-05-14 01:34:47 +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
seawood%netscape.com 80134bd76b Add compiler test for +Olit=all support for hpux cc.
Bug #146426 r=wtc
2002-08-10 04:32:49 +00:00
seawood%netscape.com 5e8299e14b Misc build cleanup v1:
Cleanup win32 configure output
Bug #161461 r=bryner
2002-08-08 21:39:26 +00:00
seawood%netscape.com b44a58c8ff 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
2002-08-07 11:34:04 +00:00
wtc%netscape.com 08a33ff10b Bug 151711: gcc on OSF1 needs to use the -mieee flag. 2002-06-14 05:05:59 +00:00
wtc%netscape.com 0a9c72d9e8 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
2002-06-14 03:24:33 +00:00
wtc%netscape.com d6f40acc86 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
2002-06-13 22:00:29 +00:00
seawood%netscape.com 3141f4534b 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
2002-05-29 08:01:42 +00:00
wtc%netscape.com 521b18afe1 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
2002-05-07 01:43:40 +00:00
wtc%netscape.com 5be0633a19 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.
2002-05-03 17:39:01 +00:00
wtc%netscape.com 6fa9237285 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
2002-04-27 03:12:25 +00:00
wtc%netscape.com b7780de45c 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
2002-03-30 15:35:06 +00:00
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 8137434163 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 06:01:46 +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