Commit graph

112 commits

Author SHA1 Message Date
Bill Currie
61bf2de3ef common/mdfour.c common/pr_edict.c common/pr_exec.c uquake/r_main.c:
various warning cleanups
configure.in:
	check for XShm before enabling X
2000-01-14 03:41:40 +00:00
Bill Currie
d38e0313cc autoconf 2.13 required 2000-01-14 02:46:08 +00:00
Marcus Sundberg
cf4671f0e9 Hopefully fixed detection of XShmQueryExtension. 2000-01-13 18:09:17 +00:00
Bill Currie
6f2a7047bc configure.in:
add quakeforge.spec to list of files configure is to creat.
quakeforge.spec.in:
	initial checkin. still needs work/testing.
2000-01-13 04:50:52 +00:00
Marcus Sundberg
9b8565da9c Add check for X11/extensions/xf86vmode.h 2000-01-11 01:16:26 +00:00
Zephaniah E. Hull
ac1b243f38 -pedantic is gone, GONE!
Never to return its GONE! *bounce*
2000-01-10 08:49:58 +00:00
Marcus Sundberg
532867283c Check for sys/io.h and asm/io.h 2000-01-09 02:18:10 +00:00
Marcus Sundberg
a3ae628e5a Replaced don't with do not so emacs font-lock-mode works ;) 2000-01-08 23:27:17 +00:00
Marcus Sundberg
669c43509f Fix libraries being accidentally added to 2000-01-08 22:56:05 +00:00
Marcus Sundberg
5001f7a5e8 Removed CVS conflict. 2000-01-08 22:38:53 +00:00
Joseph Carter
8f503d8209 Reverted Neal's GL fullbright patch till we can actually fix it properly
after the release
2000-01-08 22:28:07 +00:00
Marcus Sundberg
40297513b6 Don't clear *_LIBS and *_CFLAGS. Now users can add extra flags on the commandline when running configure. 2000-01-08 22:12:04 +00:00
Marcus Sundberg
5c89b5d944 Don't randomly change to non-standard values. If you prefer stuff in games instead of bin you can use --bindir 2000-01-08 21:36:31 +00:00
Marcus Sundberg
9f6a386d6d Fixed detection and defining of XMESA. 2000-01-08 21:20:02 +00:00
Marcus Sundberg
529ba80f9a Check for struct ioc_read_toc_single_entry in sys/cdio.h 2000-01-08 20:39:28 +00:00
Joseph Carter
237063449c configure now defines XMESA if you have GL/xmesa.h. Also added #undef for
_EXPERIMENTAL_.  Code that really isn't ready for production should go
under this define (which you must currently specifically turn on..)  This
is primarily for things like the GL waterwarp and multitexture which are
in some ways broken and otherwise not a good idea to use at the moemnt in
the release without having to remove the code.
2000-01-08 08:28:23 +00:00
Joseph Carter
0da23b9a52 We can't -I$x_includes, it might not be set. -I${x_includes:-.} instead. 2000-01-07 17:29:46 +00:00
Marcus Sundberg
2d1bf07b6c Check for fcntl.h and fcntl().
Some DOS-support.
Define HAVE_UDP in Makefiles if we have UDP support.
Define HAVE_WSOCK in Makefiles if we are using winsock.
2000-01-07 01:15:48 +00:00
Marcus Sundberg
ad0b6604f6 Added checks for sys/time.h, sys/timeb.h, ftime() and _ftime() 2000-01-06 18:28:24 +00:00
Marcus Sundberg
62a2ef817c Check for stat() and sys/stat.h 2000-01-06 17:36:36 +00:00
Nelson Rush
b794e155b0 applied tim's patch
The following patch allows Quakeforge to be compiled with the
native compilers on Solaris, Irix, and AIX.
2000-01-06 17:29:23 +00:00
Marcus Sundberg
8e9d7f6b4b Detect Linux and BSD CD-ROM APIs. 2000-01-06 02:31:32 +00:00
Marcus Sundberg
98e1681e6b Define HAVE_SYM_PREFIX_UNDERSCORE if C symbols are prefixed by an underscore (should be a real check in the future). 2000-01-06 00:54:51 +00:00
Marcus Sundberg
e0bfb15dcf Check for vsnprintf() in libdb if we don't have it elsewhere. 2000-01-05 22:42:06 +00:00
Zephaniah E. Hull
b68f84619e Fixes for portability issues.. 2000-01-05 16:55:01 +00:00
Marcus Sundberg
cfbbf80801 Added checks for snprintf, _snprintf and _vsnprintf 2000-01-05 00:34:44 +00:00
Marcus Sundberg
d5be43dd1b Do AC_SUBST() on HAS_MGL, MGL_CFLAGS and MGL_LIBS. 2000-01-04 23:28:12 +00:00
Marcus Sundberg
c4e15e0eed Added checks for networking headers and initguid.h.
Added AC_C_CONST - for (ancient/weird) compilers that don't support const.
Added AC_C_INLINE - you can now use the "inline" keyword portably, it will
be defined to nothing, __inline, __inline__ or empty depending on the
compiler.
Added checks for a bunch of functions. All are not used yet, but most
should be.
Added checks for MGL (the graphics library that vid_win.c uses.
Aligned help messages properly. ;)
Link with -lwinmm when using Windows sound code.
Check for networking functions in common libraries.
Use sys_win.c when compiling for mingw32.
2000-01-04 22:00:41 +00:00
Nelson Rush
5f20ff0bd7 added loring's multi-platform, non-mesa OpenGL patch. 2000-01-04 05:33:00 +00:00
Joseph Carter
e1c130cef8 Erf, small fix to configure.in 2000-01-04 02:38:54 +00:00
Joseph Carter
0b8df448c2 Major configure.in update, applied BigM's gl_rsurf.c merge patch 2000-01-04 01:03:18 +00:00
Joseph Carter
95dc2c6ebf Heavy Makefile.in updates. Real install target, clean now removes bins,
and make is now a little smarter about knowing when to rerun ./configure
and ./bootstrap
2000-01-03 08:03:01 +00:00
Nelson Rush
a841b90d2d SDLQuake merge with our tree made possible by Sam Lantinga and Maas van den Berg, currently the video and cdrom audio are supported. 2000-01-03 06:18:32 +00:00
Joseph Carter
ceb0162eb0 fixed bashism 2000-01-03 00:49:51 +00:00
Joseph Carter
5656077ed5 a couple of x86 freebsd things added 2000-01-02 22:38:37 +00:00
Joseph Carter
8ee8699d16 Sound cleanups from Marcus: snd_linux.c -> snd_oss.c, the OSS API is used
on a lot more than just Linux.  Updated Autoconf to check for OSS rather
than check for Linux and just assume OSS is there.
2000-01-02 16:18:22 +00:00
Joseph Carter
247158c517 Marcus' GGI targets added, fear! 2000-01-02 08:50:13 +00:00
Joseph Carter
4a291f544e fixed VERSION not getting defined/used properly hopefully once and for all 2000-01-02 05:34:27 +00:00
Joseph Carter
233d0af85f Added autoheader support. Also added ./bootstrap to go from a freshly
checked out tree to something ./configure'able.
2000-01-01 20:45:27 +00:00
Joseph Carter
5011f5c5e4 This should fix Deek's problem with failure to find -lGL properly. 2000-01-01 14:20:42 +00:00
Jeff Teunissen
0e47377fd9 Fix for APIENTRY detection 2000-01-01 13:51:49 +00:00
Jeff Teunissen
5fa34c3456 Fixed silly bug in OpenGL detection. 2000-01-01 13:30:54 +00:00
Joseph Carter
509647ba1d Added .gitignore files. Added clean-autoconf target to Makefile.in and
made distclean remove *~ files
2000-01-01 08:10:02 +00:00
Zephaniah E. Hull
555871f7e2 Some GL fixes in configure.in
Merged the uquake and qw_client gl_vidlinux.c into common/gl_vidlinux_3dfx.c
2000-01-01 04:21:44 +00:00
Joseph Carter
84f1730855 The Autoconf Merge from Hell, part II! Rewrote much of the configure.in
rules, check out the help for ./configure to see what's changed.  Added
the beginnings of autoconf DGA support (it is detected properly though it
isn't yet complete---HAS_DGA isn't getting defined in config.h for some
reason..)
1999-12-31 23:03:00 +00:00
Joseph Carter
ec75dc0dc6 Added missing quotes around variable assignments that need them. 1999-12-31 08:16:25 +00:00
Joseph Carter
94dae8608e Moved config.h.in to common/, updated Makefile.in's so configure works
from any dir, and removed a couple of autoconf errors when extensions that
aren't required happen to be unavailable.
1999-12-31 06:54:05 +00:00
Nelson Rush
60be1a206d pandr reworked marcus's MME Digital UNIX sound support to fit with out changes.
just have to add snd_mme.c next
1999-12-31 05:53:52 +00:00
Zephaniah E. Hull
f5c91c88af Compile fix on some stuff..
Mass movement of completely common files between qw_client and uquake.
1999-12-31 04:39:06 +00:00
Zephaniah E. Hull
c2681485bf Updated the authors file..
Tweaked configure.in to reflect the removal of sys_sun.c.
1999-12-31 03:26:08 +00:00
Zephaniah E. Hull
e468985ee1 Added common/config.h.in, moving the version and a few other variables
there, more will be added later as needed..

Added -Wall to the cflags on a few things, may have missed some stuff..

Changed the tests on HAVE_GL_COLOR_INDEX8_EXT to actually function..
(Fixes the GL texture problem..)

Added tests for GLAPIENTRY and APIENTRY, there will alweys be
something..

Fixed the check for the 3dfxgl lib..

Some makefile tweaking..

Changed VERSION into a string so it can easily be 0.1.0..

Removed the generated configure script, does not merge sanely..
1999-12-31 02:59:25 +00:00
Joseph Carter
69168b6695 pandr's autoconf cleanup. Now uses common/cd_wrapper.c to replace some of
the things autoconf was doing before but really shouldn't have been.
1999-12-31 02:10:33 +00:00
Joseph Carter
37dab64154 Made the Makefile checks ifeq(VAR,yes) rather than ifneq(VAR,) to make
things more robust.  Fixed HAS_TDFX in configure.in for real this time.
1999-12-30 16:08:34 +00:00
Joseph Carter
120e2e9252 make sure that HAVE_TDFX="no" if we don't find it 1999-12-30 15:53:52 +00:00
Joseph Carter
27c3b62efc use AC_DEFINE() instead of the confdefs.h hack 1999-12-30 15:25:45 +00:00
Joseph Carter
f7cb194142 autoconf updates, several autoconf options have changed how they are run,
please run ./configure --help to see what's what.  Also made --help output
worth looking at.
1999-12-30 14:26:53 +00:00
Joseph Carter
ee9f745b14 Unrolled all the {client,post,pre,rules,srcfiles}.in files into the proper
places in the various Makefile.in's.  Having them all in the module root
like that may make it easy to make a change that affects everything all
at once but it's real bitch to try and maintain those files.  They're all
gone now and we'll just have to maintain the seperate makefiles.
1999-12-30 13:40:47 +00:00
Joseph Carter
b3c951d26b INDEX8 fix--doh! 1999-12-30 12:33:53 +00:00
Joseph Carter
4a75740f5f autoconf support is just about complete now! the -3dfx targets build and
were tested successfully.  There are a few hardwired LDFLAGS to clean up
(-lm, -ldl, -lvga, and -lGL) in various targets still.  In order to build
with Mesa versions  prior to 3.1 you'll need to change -lGL to -lMesaGL.        I'll teach autoconf how to do this tonight.  It's safe to come out from         behind your pre_autoconf branch now guys.  ;>
1999-12-30 11:58:44 +00:00
Joseph Carter
195ac96784 autoconf now looks for lib3dfxgl.so to figure out whether or not to build
the -glide targets (now named -3dfx..)  Thid doesn't mean that I have
actually written the makefile stuff for these targets, but rather that I
have written the foundation needed to create them.
1999-12-30 10:35:52 +00:00
Joseph Carter
36b6af4cd2 Another commit from hell! Fixes to autoconf for Utah GLX and the base of
support for the return of a glide target.  Things are still a bit broken
however as I need to write glide build rules.  I probably have more to do
in configure.in, I want to make libGL detection work more like Glide's
does now.  The Glide detection rule was lifted almost wholesale from Mesa
because it works and I couldn't write anything that would work better.
1999-12-30 08:23:07 +00:00
Joseph Carter
e3ac6357dc Loring Holden's autoconf support. {qw-client,quake}-glide is currently not built since neither of us has the hardware available at the moment to test the 3dfx MiniGL target. Someone who does (Mercury?) will have to fix that. Bins all build in odd places for the moment. Thanks for staying up so late to help get this working Loring, you rock! 1999-12-29 13:58:47 +00:00