Commit graph

99 commits

Author SHA1 Message Date
Bill Currie
91779b04f7 new tool: qfprogs. currently only disassembles progs, but the idea is for it
to become a progs oriented nm, objdump etc
2002-05-13 19:37:36 +00:00
Bill Currie
08f12355c5 this /should/ fix CoolMoDee's autoconf 2.53 issues 2002-04-29 19:19:26 +00:00
Bill Currie
7afea4094e alpha gcc doesn't like -malign-* 2002-04-26 18:03:16 +00:00
Bill Currie
ef81af9245 the "two birds with one stone" commit
1) when /not/ building static plugins, the plugin info name is, once again,
   PluginInfo, but is still type_name_PluginInfo for static plugins. This
   allows plugins to be symlinked (highly desirable for the debian packages,
   and likely others). This also requires plugins to /not/ be loaded with
   RTLD_GLOBAL.
2) because of 1, snd_alsa_0_9 has to explicitly load libasound itself. This
   just happens to fix my segfault on shutdown in RedHat 6.2.
2002-04-19 20:08:54 +00:00
Bill Currie
e677b4acf3 correct some cut&paste errors pointed out by Jaq 2002-04-17 06:33:48 +00:00
Bill Currie
55a5c39187 Turns out that on PPC, va_list is an array (effectivly typedef struct
__va_list_tag va_list[1];) which causes grief when attempting to reuse
va_list variables (eg, in vsnprintf retry loops). This is the reason for
MisterP's crashes as the pointers in va_list no longer point to valid data.

acinclude.m4:
	shamelessly steal the va_list, va_copy and __va_copy macros from
	cdda2wav but modified so AC_DEFINE includes the description (so
	acconfig.h can remain gone)
configure.ac:
	use AC_TYPE_VA_LIST, AC_FUNC_VA_COPY and AC_FUNC_VA__COPY
dstring.c:
	stash the incoming va_list args in a temp var before calling vsnprintf
	then restore them each time before retrying, but only if va_list is an
	array (hopefully this is ok for when va_list is a structure)
2002-04-15 22:17:02 +00:00
Bill Currie
9fa9f6af52 need to explicitly include sys/uio.h on older libc 2002-04-15 14:35:10 +00:00
Bill Currie
2e69aa787c need to use $CC instead of raw gcc when testing the version 2002-04-13 19:52:24 +00:00
Bill Currie
97bc11a902 Closes: #26
include Xlib.h when checking for xf86vmode.h and xf86dga.h
2002-04-12 19:02:06 +00:00
Bill Currie
0a62c2687a compress progs files (and symbol tables) when zlib is available 2002-04-10 19:11:19 +00:00
Bill Currie
ba1da79bd6 add --with-arch to give more control over which architecture gcc compiles
for. this is espeically useful when (eg) config.guess provies the arch as
i686 but a i586 is more correct.
2002-04-10 18:22:46 +00:00
Bill Currie
d2954ce4d0 explicitly require bison and flex 2002-04-10 17:56:00 +00:00
Bill Currie
bad8b0fcf2 make the linux/solaris variant of CPP_NAME the default 2002-04-07 06:00:13 +00:00
Bill Currie
e49672591a oops, sh isn't C :) 2002-04-07 05:53:33 +00:00
Bill Currie
e230d1a8c3 make CPP_NAME get set for solaris 2002-04-07 05:52:27 +00:00
Bill Currie
568e7ecdb2 make pak get built with the rest of the system 2002-03-18 22:01:51 +00:00
Bill Currie
5e74e7a158 fixes for most recent autoconf. fortunatly ac 2.13 is happy with them so
acconfig.h is now gone :)
2002-03-14 20:49:16 +00:00
Bill Currie
f945907cff another missed gib reference 2002-03-08 21:04:46 +00:00
Bill Currie
26d7463be7 the majority of raptor's sgi build patch. I'll look at the last two bits
(server.c and vid_sdl.c) later.
2002-03-03 06:03:51 +00:00
Bill Currie
8eba01b3d3 another, probably vain, attempt at getting qf to at least /work/ with
gcc- 2.96 :/
2002-02-26 05:18:08 +00:00
Bill Currie
7db3eaeefe more problems pointed out by raorn 2002-02-23 17:43:58 +00:00
Bill Currie
f3944a8eda fix a couple mistakes pointed out by raorn 2002-02-23 17:09:41 +00:00
Bill Currie
29706477d4 gl_driver default is now configurable 2002-02-22 08:55:24 +00:00
Bill Currie
d47533ad2e hopefully fix strcasecmp and strnlen for those systems that don't hide them 2002-02-06 19:06:05 +00:00
Bill Currie
f2a8f8ff28 make cpp command line selection more intelligent. This should take care of
the stuck cpp problem on openbsd.
2002-02-05 18:40:47 +00:00
Bill Currie
8b33d29848 make sure -fno-strict-aliasing gets set for gcc 2.96 (dunno if this will
work, but worth a try)
2002-01-23 04:12:53 +00:00
Bill Currie
f882e8400e enable -fstrict-aliasing by default for gcc 3 2002-01-23 03:13:31 +00:00
Bill Currie
0eea94723b get qfcc to build for win32 (cross building will need QFCC to be
over-ridden)
2002-01-22 07:10:18 +00:00
Bill Currie
cfa3591a76 d'oh, should be installing into fs_sharepath :P 2002-01-22 06:22:52 +00:00
Bill Currie
8a24b28d97 scary, but the only changes qfcc needed to build as part of quakeforge was
to auto-substitued the libs and headers.

 o  unconditionally build qfcc (for now, anyway) when building quakeforge
    (needed for cs-code compilation)
 o  when built as part of quakeforge (qfcc should still be buildable
    independently) always enable cpp
 o  autoconfiscate the client-side code
 o  build the client-side code using the built qfcc
 o  install the client-side code in $(datadir)/quakeforge/id1
2002-01-22 05:48:03 +00:00
Bill Currie
9dedd21158 start getting the shared console code working 2002-01-16 16:27:56 +00:00
Bill Currie
a619739bab fix the server console for static builds (hmm, non-curses only?) 2001-12-02 20:11:21 +00:00
Bill Currie
0be2a31f2e lots of code cleanup. Merge Mod_LoadAllSkins, merge the sw32 model loading
code into the sw model loading code, remove all refs to r_pixbytes from the
sw renderer (it was never anything but 1), kill libQFmodels_sw32, remove
all the 16 bit code from the 8 bit sw renderer.
2001-11-21 19:13:53 +00:00
Chris Ison
3e34fc83e4 -3dfx re-enabled 2001-11-21 02:36:48 +00:00
Bill Currie
60289d86e4 new option: --enable-strict-aliasing which adds -fstrict-aliasing to the
gcc CFLAGS when optimizing. This does /very/ nice things to the progs code
and seems to work in general (which means gcc 2.96 shouldsn't be such a cow),
but I am not yet confident enough to enable it by default (would probably
need gcc version chedking for it anyway).
2001-11-20 04:50:21 +00:00
Jeff Teunissen
9579b07349 Take the texinfo makefile out of configure. 2001-10-31 11:12:00 +00:00
Bill Currie
85c9e0ab1e more externs cleaned up 2001-10-29 17:46:03 +00:00
Bill Currie
33a180099b hopefully fix --enable-optimize 2001-10-27 00:23:51 +00:00
Bill Currie
552a486d87 fix the libQFrenderer_sw.lai installation error. libtool requires -rpath
for /any/ installed lib, static or not.
2001-10-24 17:54:56 +00:00
Bill Currie
b5341f0d13 we now compile and link with -fno-common. this cleans up the multiple,
uninitialized declarations of variables.
2001-10-23 16:55:23 +00:00
Chris Ison
70619f195e added compile switch to cygwin-mingw32 and added win32 defs 2001-10-21 21:20:59 +00:00
Chris Ison
6b53cbf5dc changes to get mingw builds happening under cygwin 2001-10-17 10:41:25 +00:00
Bill Currie
8557d50235 redundant checks cleanup 2001-10-16 18:38:28 +00:00
Bill Currie
fdf0313f42 remove a redundant check for vga.h 2001-10-16 17:02:40 +00:00
Jeff Teunissen
ce740fb4ec Joystick target fixed. 2001-10-16 05:06:31 +00:00
Jeff Teunissen
b89ff39bd3 Ooops, forgot to nuke a couple lines from configure. 2001-10-15 22:33:35 +00:00
Jeff Teunissen
2e4d8d1473 Makefile fixes -- video driver libs are gone. 2001-10-15 22:32:28 +00:00
Bill Currie
371c11173b make plugindir actually /work/ (ie, it can be overridden at install time) 2001-10-15 20:35:47 +00:00
Bill Currie
579d78407d config results report cleanup 2001-10-11 23:21:40 +00:00
Bill Currie
483c56b7a5 put the .lsm file in the top level 2001-10-11 05:10:46 +00:00