Commit graph

116 commits

Author SHA1 Message Date
Bill Currie
d6c05fd5ab update the autoconf requirement 2002-08-01 20:05:03 +00:00
Bill Currie
2ce0f2ded2 we now require modern autoconf (2.52+), automake (1.6+) and libtool (1.4+).
This gives us a bunch more flexibility. plugins no longer have the "lib"
prefix or the version suffix, they're now installed in
$fs_sharepath/QFplugins,, builds should take much less time (in general,
only one of pic or non-pic versions are build), bins and libs can have
individual CFLAGS
2002-08-01 19:49:10 +00:00
Bill Currie
25c869324d start working on a tool to sxtract the loop info from wav files 2002-07-22 16:17:58 +00:00
Bill Currie
21a4d6f547 update the menu code to be built using separate compilation 2002-07-17 19:00:56 +00:00
Bill Currie
e5d8781150 win32 compile fixes. still have problems with DDActive, but Despair's going
to look at that.
2002-07-02 18:45:50 +00:00
Chris Ison
70d8026067 Removing -3dfx's dependancy on clide 2002-06-24 15:56:01 +00:00
Bill Currie
ba4b11da24 fix CCVER gathering for cross-compiling (the i386-mingw32msvc-gcc was
throwing the regex off)
2002-06-16 01:27:56 +00:00
Bill Currie
f2f6041e05 at long last, vorbis support :) load time only, though, so not yet suitable
for huge samples.
Also, change the file search order so that .gz is checked before the
requested file.
2002-06-14 20:36:28 +00:00
Bill Currie
7985deefb8 and the other part of it 2002-06-11 14:55:13 +00:00
Bill Currie
c7e5375554 put in deek's gl_driver patch (he's got too many local changes) 2002-06-11 14:52:51 +00:00
Bill Currie
0f9adc182d win32 compile fixes 2002-06-04 16:17:10 +00:00
Bill Currie
be28957dff kill USE_CPP (and --enable-cpp) it's not needed any more 2002-06-04 04:48:21 +00:00
Bill Currie
d7c7ac7891 don't add -version-info for static plugins 2002-06-03 16:34:46 +00:00
Bill Currie
9e5f8c3bd9 win32 compile fixes 2002-05-31 19:24:56 +00:00
Bill Currie
3af96782da make qwaq build as part of the main tree (but /not/ install) 2002-05-31 06:55:35 +00:00
Bill Currie
35c2a4c4d7 fix the gcc version checking for gcc 3.1 2002-05-23 21:51:36 +00:00
Bill Currie
6240c62cec this should fix the problems with building the master server on bsd systems 2002-05-13 21:53:52 +00:00
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