Bill Currie
56e79e32b5
configure fixes from MrFixit (+ a buch of "x..." for test) and make
...
qwaq.dat depend on qfcc
2003-08-06 18:20:48 +00:00
Bill Currie
c1b9f1c814
freebsd is happy with "cpp %d %i %o"
2003-08-06 17:20:46 +00:00
Bill Currie
ff6e0ab1b3
not all systems have _SC_PAGESIZE
2003-07-21 20:51:03 +00:00
Bill Currie
075f270fcb
back to -CVS
2003-07-17 22:53:10 +00:00
Bill Currie
78f8e4570b
good grief, 0.5.3 not even announced and 0.5.4 getting released :P
2003-07-17 22:35:48 +00:00
Bill Currie
b36bd6a98c
not all systems (eg, QNX) that have mprotect have getpagesize
2003-07-17 21:01:25 +00:00
Bill Currie
68357d7fb3
forgot rpm doesn't allow - in the version, so hack around it :)
2003-07-12 07:26:16 +00:00
Bill Currie
42aeb83c32
update version to 0.5.3-CVS
2003-07-10 22:02:06 +00:00
Bill Currie
3537d67eff
target_cpu makes much more sense for -march
2003-07-10 05:10:34 +00:00
Bill Currie
855fc53709
handle alloca properly
2003-07-09 06:28:09 +00:00
Bill Currie
acb4e8dd87
try to handle pthread better
2003-06-25 22:41:58 +00:00
Bill Currie
2aee6a7734
preliminary doxygen support
2003-03-10 23:42:27 +00:00
Bill Currie
cbd2c42178
WildCode's win32 sound fixes
2003-03-10 21:21:22 +00:00
Bill Currie
55d61f4269
put the plugins back into ${libdir}/quakeforge ('twas a mis-understanding)
2003-02-12 22:51:14 +00:00
Bill Currie
aee559cd4c
don't ask for the qw and nq net libs :P
2003-02-12 15:38:39 +00:00
Bill Currie
21d8b4f8dc
link in hw, move the qw and nq networking code into libs/net and make
...
hw-master use libnetchan. there are evil include hacks that will need to be
taken care of in net*.[ch]
2003-02-11 22:48:57 +00:00
Bill Currie
b141f2b38e
move $fs_sharepath/QFplugins to $fs_sharepath/QF/plugins
2003-02-07 22:52:17 +00:00
Bill Currie
3fcc6ae176
a bit more cleanup with more _null deaths
2003-01-31 23:16:28 +00:00
Bill Currie
205933bf7c
it was the test that was wrong :P
2003-01-15 17:09:08 +00:00
Bill Currie
e8d8ac8f23
damn, had it right the first time
2003-01-15 17:01:24 +00:00
Bill Currie
5cc9bce4d8
fix a braino left over from a previous itteration
2003-01-15 17:00:14 +00:00
Bill Currie
761a7546dd
re-arrange things so __attribute__ and __builtin_expect are properly
...
autoconfiscated so rcsid will continue to work with gcc 3.3
2003-01-15 15:31:36 +00:00
Bill Currie
71196fedf6
make gcc more anal about prototypes, string constants and function
...
visibility (ie, global functions must have a prototype)
2003-01-06 18:28:13 +00:00
Bill Currie
c0fbd45968
d'oh, I forgot pthread_attr_setstacksize took two arguments. hope this still
...
works
2002-11-20 02:15:32 +00:00
Timothy C. McGrath
630a762239
Taniwha fixed a problem for me - gcc on my ps2 at least when -pthread
...
isn't a valid option does not bomb out with a error status so this is
the workaround.
Tim McGrath (Hikaru/Misty/Misty-chan)
2002-11-20 01:27:03 +00:00
Bill Currie
2a1d8555d2
Import Matthew Wong's bsp2bmp utility using quakeio functions, creating an
...
image_t type for the line point drawing, ditching the raw and bmp formats
in favor of pcx (for now), and renaming to bsp2img. I plan on working on
getopt, bspfile and other image formats in the future as well as generally
cleaning up the code.
2002-11-18 20:48:29 +00:00
Brian Koropoff
7b0c24a386
Added carne, the stand-alone GIB interpreter. Made a few changes to GIB
...
to accommodate it. Added the strict flag to cbufs, which causes an error
to be generated when a command is not found instead of just warning the
user. GIB buffers have the strict flag set by default.
2002-11-14 02:10:55 +00:00
Brian Koropoff
b40400d59c
Moved GIB into libs/gib and made util no longer depend on it. Cleaned up
...
some cruft from a previous incarnation of GIB.
2002-11-09 07:13:52 +00:00
Bill Currie
7f69f593d3
configure.ac:
...
define default include and lib paths for qfcc
ruamoko:
{cl_menu,game}/Makefile.am:
conform to the new qfcc library linking rules
lib/Makefile.am:
install the libs to ${prefix}/lib/ruamoko
qfcc:
linker.[ch]:
support path searching for -llib and make linker_add_lib search for
libfoo.a for -lfoo in the paths, or just a single dir search for the
libname otherwise.
options.c:
support -L libpath and setup the default include and lib paths
also change most strdup calls to save_string
qfcc.c:
check for foo.a as well as -lfoo when deciding whether the file is
an object file or lib file.
2002-11-01 18:05:12 +00:00
Bill Currie
667efab4e0
clean out the old win32 support. it's obsolete or dead or only semi-legal
2002-10-30 06:06:57 +00:00
Bill Currie
6554701dc9
nuke --with-amd in favor of --with-arch
2002-09-30 21:52:08 +00:00
Bill Currie
fd8f019d57
nuke quakeforge-config.in and quakeforge-config as it's broken and will be
...
replaced with a better setup (pkg-config)
2002-09-30 18:19:38 +00:00
Ragnvald Maartmann-Moe IV
d88f2a255b
Bump version to 0.5.2.
2002-09-30 05:01:10 +00:00
Bill Currie
5904859cca
split the base vis functions out of flow.c, add -D_REENTRANT to the compile
...
for qfvis and a bunch of whitespace
2002-09-24 02:46:03 +00:00
Bill Currie
afa0b21336
Whee, now we have qfbsp. It compiles, but won't work as it hasn't been
...
`ported' to the new bspfile stuff when it comes to creating/editing a bsp.
2002-09-19 16:58:48 +00:00
Bill Currie
317c02539b
macro-ize --with-{clients,servers} and implement --with-tools using the new
...
macro
2002-09-17 22:19:14 +00:00
Bill Currie
013743931d
forgot to remove my debug :P
2002-09-13 21:02:01 +00:00
Bill Currie
3ca9a8042a
detect whether to use -pthread or -lpthread
2002-09-13 20:53:49 +00:00
Bill Currie
774b0adc2b
get qfvis working, including pthreads
2002-09-12 06:48:05 +00:00
Bill Currie
c784b4375a
bring in modelgel, quakeforgeized :) (more work needs to be done, though)
2002-09-11 20:22:17 +00:00
Ragnvald Maartmann-Moe IV
2e3d4a603f
Add a --disable-vorbis hack, for people with broken ogg vorbis installs (bleh, just fix it you silly people *grmbl*)
2002-09-01 20:02:12 +00:00
Chris Ison
070aee9a0c
added --with-efence
2002-08-27 00:27:33 +00:00
Ragnvald Maartmann-Moe IV
ed2ad9880a
Remove some unneeded libraries from qflight/qfvis.
2002-08-26 23:08:34 +00:00
Ragnvald Maartmann-Moe IV
cfedb80d1d
Rest of support for qflight/qfvis. bspfile.c and quakefs.c will need cleaning up, compare to previous cvs versions...
2002-08-25 23:10:57 +00:00
Ragnvald Maartmann-Moe IV
5567a694d3
Whitespace, plus hopefully make it more clear when Ogg Vorbis support isn't being compiled.
2002-08-25 20:47:13 +00:00
Bill Currie
099e2739b5
various msvc fixes thanks to muzzy (hope he doesn't give up:)
2002-08-20 19:16:11 +00:00
Bill Currie
d850f0a529
build qfdefs by default now. remember to bootstrap and configure
2002-08-18 04:35:31 +00:00
Bill Currie
300f638647
finalize the move of the menu code
2002-08-16 22:58:44 +00:00
Bill Currie
f8e365553f
should have committed this with the previous commit
2002-08-16 21:58:48 +00:00
Bill Currie
75ec07705c
bugger the dependencies, I want to be able to use this stuff for the menus!
2002-08-15 19:08:44 +00:00
Jeff Teunissen
87fd1adadb
Enable compiling the null plugin by default.
2002-08-14 05:16:11 +00:00
Bill Currie
e16e087deb
hopefully a more accurate check for bison and flex
2002-08-13 04:22:26 +00:00
Bill Currie
cde6b7e45d
clean up some unneeded sets
2002-08-08 03:06:26 +00:00
Bill Currie
64b608b20d
put *sys_sdl.c into a lib so it doesn't get compiled more than once and do
...
more macroizing
2002-08-07 18:20:23 +00:00
Bill Currie
96f81b69b8
start using macros the clean up the mess
2002-08-02 19:03:16 +00:00
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
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
Bill Currie
a192f049f6
fix our -g -O2 -g -O3 fun
2001-10-11 03:04:28 +00:00
Bill Currie
6cd058738e
d'oh, forgot to AC_SUBST(PLUGIN_RPATH)
2001-10-10 18:40:06 +00:00
Bill Currie
8b2da8cbec
make the static plugins link properly with older libtool
2001-10-10 15:44:35 +00:00
Bill Currie
eee1aaf283
static plugins (--with-static-plugins to force on, --without-static-plugins
...
to force off, defaults to off for *nix and on for win32). does not work yet
due to lack of support in libs/util/plugin.c, but that's next.
2001-10-10 05:52:14 +00:00
Chris Ison
188688f835
fixed missing $
2001-10-09 22:26:38 +00:00
Chris Ison
15bdd4ad67
disabled -lm checking for cygwin and mingw32 and added plugin_LDFLAGS and plugin_LIBADD for win32 builds
2001-10-09 21:36:57 +00:00
Bill Currie
d4ad0cd659
whitespace
2001-10-08 05:52:56 +00:00
Bill Currie
6eb4958952
don't attempt to build xmms support in mingw
2001-10-08 04:24:27 +00:00
Bill Currie
c7d1f961c3
INSTALL:
...
move the bootstrap comment to where people are more likely to notice it
bootstrap:
hopefully put the auto*/libtool commands in the right order
configure.ac:
make enable/disable help messages less confusing
2001-10-08 03:41:23 +00:00
Chris Ison
2f8efd7360
changes to get mingw32 sw clients to compile under cygwin
2001-10-07 12:45:47 +00:00
Bill Currie
963c7592ee
clean up zlib checking a little. this should fix HAVE_ZLIB getting defined
...
when it shouldn't be
2001-10-06 01:07:24 +00:00
Bill Currie
a39ccf4a34
XMMS support from _Muz_ (Alexis Paul Musgrave <muz@cwcom.net>)
2001-10-05 19:36:35 +00:00
Bill Currie
bbc83c30ca
hey, it segs, but who cares? so does nq-glx -dedicated :P
2001-10-03 19:52:03 +00:00
Bill Currie
e0a1947565
fix a typo that prevented --with-servers working
2001-10-03 19:05:45 +00:00
Bill Currie
95d3600452
fix skybox/skydom map vis issues. I hope this works on all drivers.
2001-10-03 02:51:30 +00:00
Bill Currie
b866bcae61
seems automake isn't too happy about nested conditionals and main vars
2001-10-02 22:36:08 +00:00
Bill Currie
32643c3ec8
the forced libz.so link doesn't work well with libtool, so if X11 has an old
...
libz.a, just give up on compression support making a lot of noise in the
process.
2001-10-02 04:55:05 +00:00
Bill Currie
9102fceef7
remove debug info
2001-10-02 02:35:33 +00:00
Chris Ison
284da345ef
fixes to get qf to compile cygwin->mingw32
2001-10-02 01:53:26 +00:00
Bill Currie
f5c6312743
--with-server is now --with-servers and works like --with-clients (master,
...
nq and qw with nq defaulting to no). add DISK to SOUND_TYPES output. try to
fix AR gaff
2001-10-01 22:52:38 +00:00
Bill Currie
27d302f9c9
bootstrap:
...
make it so bootstrap can be run out of dir (like configure)
configure.ac:
evil hack to get $AR working with older libtool (1.3)
2001-10-01 20:49:38 +00:00
Bill Currie
20f702b5fe
fix out-of-tree builds for asm (this also sets up ASFLAGS more correctly)
2001-10-01 18:02:46 +00:00
Jeff Teunissen
edea800aeb
Okay, WildCode, check this.
2001-09-30 22:59:28 +00:00
Chris Ison
b0dc19310a
more compile under cygwin patches
2001-09-30 13:05:20 +00:00
Chris Ison
60107fd19c
changes to get cygwin to compile server. still debugging result
2001-09-29 09:39:27 +00:00
Bill Currie
8e27422c72
partial fixes for mingw cross builds. still have issues with ar :(
2001-09-28 16:03:45 +00:00
Jeff Teunissen
d63243380f
Aaaaaaand, it's done!
...
Special note: I hope to never do this again. :)
2001-09-28 10:31:20 +00:00
Jeff Teunissen
e9c9c8bab6
fix up installs for -svga.
2001-09-28 06:55:27 +00:00