Commit Graph

257 Commits

Author SHA1 Message Date
ramiro%netscape.com
6099c444e2 Uncouple MOZ_DEBUG from --enable-debug. 1999-04-11 19:36:21 +00:00
ramiro%netscape.com
c8e42cc318 Undo hack that made -O and -g were mutually exclusive. 1999-04-11 17:43:06 +00:00
ramiro%netscape.com
83adc821ca Add support for building NSPR from the source tree. If the NSPR detection
fails, use build and use mozilla/nsprpub as if nspr were part of the build
system.  A small tweak to NSPR is needed before this can be activated.
Also make sure the USE_PTHREADS environment var for NSPR is properly set
and not hard coded.
1999-04-11 14:12:39 +00:00
ramiro%netscape.com
2c1a52ac46 Fixing the pthread check. Step 1. Un-couple -lpthread from NSPR_LIBS.
Im doing this very carefully I steps in order not to break the complicated
pthread and nspr hackery.
1999-04-11 11:17:43 +00:00
ramiro%netscape.com
d09af540ef Simplify further. Use only one one variable to indicate whether NSPR is
native or not.

Remove a bunch of AC_DEFINE() statements for a previous rpm support checkin
I made (it was not needed).  Use MOZ_ instead of MOZILLA_ to be consistent
with the rest of configure.in.

Added build/nsprenv.mk support.  Setting the NSPR environment via a file.
This doesnt work yet, since it needs 2 small tweaks to NSPR.

Added support for non native nspr.  Not turned on yet.  Until NSPR includes
2 small tweaks.

Since comments are free, added a bunch of them.
1999-04-11 10:32:45 +00:00
ramiro%netscape.com
0e5be6eb6b Simplyfi a bit. If NSPR is detected in the system, dont build nsprpub
automatically witout having to specify --disable-build-nspr.
1999-04-11 08:04:59 +00:00
blizzard%redhat.com
da077dd5a5 add makefiles for xlib and add toolkit option 1999-04-10 15:30:19 +00:00
braddr%puremagic.com
31a8e9a70c Add build and build/package to the exceptions list so that build/package/rpm/Makefile can be created 1999-04-10 06:52:59 +00:00
briano%netscape.com
aef7288ea9 Minor change to make IRIX happier. 1999-04-10 01:42:21 +00:00
slamm%netscape.com
bda1288daa nevermind the AC_LANG stuff. it's not universal. 1999-04-10 01:18:06 +00:00
briano%netscape.com
1215530486 Change to allow us to find statfs, or statvfs if available, and do away with platform-specific ifdefs in the places this is used. 1999-04-10 01:09:22 +00:00
slamm%netscape.com
85bcdf7d37 Use autoconf magic to switch AC_ tests to use C++ instead of C. 1999-04-10 00:27:24 +00:00
alecf%netscape.com
e85e44c0e0 fix libIDL checking in configure script. For now require 0.6.3 1999-04-10 00:25:55 +00:00
ramiro%netscape.com
51b881225c Fix for bug 4855. Packaging info for m4 on Linux. 1999-04-09 23:01:46 +00:00
briano%netscape.com
3fcac139cd Added a check for compat.h. Yes, it's an extremely obscure case for extremely obsolete SunOS versions, but what the hell. 1999-04-09 00:01:43 +00:00
briano%netscape.com
99483ca2d9 Define _REENTRANT for any compiler on OSF/1. Fixes the problem with mkautocf.c. 1999-04-08 01:31:49 +00:00
briano%netscape.com
ea65a6fa55 Turned off -pipe for BSDI builds. 1999-04-07 21:48:19 +00:00
sspitzer%netscape.com
491ffe47ea fix typos 1999-04-06 23:53:32 +00:00
alecf%netscape.com
e497f4f934 give nice long message when user does not have libIDL 1999-04-06 23:33:14 +00:00
briano%netscape.com
4f526a3668 Need to eliminate -pipe from CXXFLAGS as well on Solaris. 1999-04-06 00:18:34 +00:00
briano%netscape.com
0e5a5ab85f Fix for NetBSD. Submitted by gduzan@acm.org. 1999-04-05 23:11:57 +00:00
briano%netscape.com
e37d4ad85f Fix for Solaris/x86 build. Sun's as doesn't like having gcc flags passed to it. 1999-04-05 22:31:53 +00:00
akkana%netscape.com
757ae91c44 Turn editor on by default; use --disable-editor to turn it off 1999-04-05 22:21:02 +00:00
mcafee%netscape.com
4710b95522 Backing out the -pedantic is on by default change, until we don't get a warning for every file that gets compiled. Ressurecting the --enable-pedantic configure flag. 1999-04-05 17:49:28 +00:00
toshok%hungry.com
a26f40c149 add check for pthread_attr_init in -lc_r if it's not in -lpthread, and the gethostbyname_r check fails. this gets pthreads on freebsd working. Also, add another AC_SUBST for the NSPR include dir, since the OJI stuff needs NSPR_INCLUDE_DIR/private 1999-04-05 02:48:00 +00:00
alecf%netscape.com
c22c74a0b2 make -pedantic the default on gcc builds 1999-04-02 23:20:28 +00:00
waterson%netscape.com
37fc13ab90 Added AC_DEFINE for MOZ_BRPROF. 1999-04-02 20:19:17 +00:00
briano%netscape.com
42b83a7b34 Moved the checks for X and the toolkits closer to the beginning. 1999-04-02 03:39:13 +00:00
briano%netscape.com
64444cd637 Fix for the Solaris breakage. 1999-04-02 03:21:38 +00:00
briano%netscape.com
52bec6d9b4 Now we check for ld support of archive extraction flags (only know three sets of flags at this point). 1999-04-02 02:29:11 +00:00
waterson%netscape.com
63fd4df6aa Added BRPROF into the build, --disable-brprof to disable it. 1999-04-01 07:26:42 +00:00
briano%netscape.com
8e45b42247 Fix (sort of) for NetBSD/alpha 1.3H specifically, but perhaps others as well. 1999-03-27 02:09:04 +00:00
slamm%netscape.com
c7c9b0bf0a 1. Turn --enable-md on by default if using GNU tools.
2. Remove "-include" test again. I thought we needed it but we don't.
3. Standardize GNU_CC and GNU_CXX usage.
4. General clean-up.
1999-03-26 05:37:38 +00:00
slamm%netscape.com
e6662e548e Restore -include test (for BSD/OS 3.1 port). 1999-03-24 01:27:01 +00:00
mcafee%netscape.com
458a079388 Adding --enable-new-clipboard to turn on NEW_CLIPBOARD_SUPPORT ifdef. 1999-03-23 22:55:22 +00:00
slamm%netscape.com
8d4c93c740 Quote shell variable in comparison (otherwise it gives an error when undefined). 1999-03-22 20:42:40 +00:00
briano%netscape.com
ca4a50633d Fixed the typo in the check for C++ unused methods, and hard-coded ac_ext=C
for the C++ checks (needed to make Watcom's QNX compiler notice that it's
dealing with C++ not C <sigh...>).
1999-03-18 03:11:15 +00:00
donm%netscape.com
2aa16c1b66 script oopsy. fixed now. 1999-03-17 23:38:44 +00:00
leaf%mozilla.org
4ad9f70d5d Landing nspr library name change, and plevent function call change. 1999-03-17 21:32:03 +00:00
pavlov%pavlov.net
422d5a83c5 attempt to see what tinderbox machines don't have gtk 1.2 on them... will
revert this in a minute.
1999-03-15 00:47:55 +00:00
alecf%netscape.com
8dde0ca8f9 use BUILD_IDLC to refer to the DOM idl compiler 1999-03-12 19:34:25 +00:00
ramiro%netscape.com
6c54bd614d Take out exception tests, it breaks --enable-tests. 1999-03-12 11:42:10 +00:00
briano%netscape.com
b91bd9b1d1 Fix for the NetBSD build breakage (hopefully). 1999-03-11 23:16:49 +00:00
slamm%netscape.com
1a7856ba2e Fix for -MD flags. Filter-out the rule if the rule if it is bogus. A better way around the problem would be to take CFLAGS off the link line, but I am not sure if we can do this. 1999-03-11 19:46:00 +00:00
mcafee%netscape.com
dafaa316d9 Adding -xildoff linker flag to Solaris/CC build; removing -z defaultextract MKSHLIB_UNFORCE_ALL option, this works with ld but not CC. CC just picks the last -z option and uses that for the whole line, ld behaves as advertized in the ld man page. 1999-03-11 09:16:56 +00:00
briano%netscape.com
e88afe135b Added tests for int16_t, int32_t, and uint16_t for AIX and BSDI. 1999-03-11 02:32:53 +00:00
ramiro%netscape.com
f77615a3a9 Reverted donm's solaris linker flag changes. You need to detect that gcc
is built to use the gnu linker.  You cant assume that here.
1999-03-10 05:09:54 +00:00
alecf%netscape.com
e262485d07 don't #define MOZ_MAIL_NEWS, only set it in the make system 1999-03-10 01:41:09 +00:00
donm%netscape.com
35fe91b9b2 solaris gcc needs different command line options to link a
set of static libs into a shared lib.
1999-03-10 00:27:20 +00:00
slamm%netscape.com
f910ef9462 Give error if building in objdir and have previously built in srcdir. Move '-Wall' and '-include' to GNU-only section (silly to test for GNU-only features). Change '-MMD' to '-MD' to include standard headers. Clean '-O' from CFLAGS/CXXFLAGS if MOZ_DEBUG is set. 1999-03-09 01:30:26 +00:00