Commit graph

30 commits

Author SHA1 Message Date
Jamie Wilkinson
abc8f0841e - Noted the requirement for automake 1.6 in the README
- Got configure to work out the BUILDSTRING (now BUILDHOST)
  for common.c
- Code cleanups.
2002-07-05 12:41:58 +00:00
Jamie Wilkinson
b1e6dd79d7 - Made the configure message from the assembler test a
little more clearer
- The floating point exception when using the assembler
  refreshers no longer occurs, which seems to be a
  by-product of the recent auto* changes.  If you can make
  quake2 FPE again, I'd like to know.  (Closes: #22)
2002-07-05 00:28:04 +00:00
Jamie Wilkinson
8ccc351f99 - Applied NetBSD patch from Quentin Garnier.
- Added a configure test for ossaudio for NetBSD.
- Added a configure test for POSIX threads, from the GNU
  autoconf macro repository.
- Fixed up some typos in the Rogue and Xatrix makefiles
2002-07-04 14:17:24 +00:00
Jamie Wilkinson
3973c870cc - Fixed up make install target, so that the dynamic modules
are installed into the correct places.
- Added libltdl, the libtool dynamic loader to the code, as
  the libraries are now under libtool control.  Libtool and
  libltdl are evil.
- Fixed various paths inside the code to point to PKGLIBDIR
  for the game and refresher modules, and PKGDATADIR for the
  game data.
- updated .gitignore
2002-07-04 00:50:09 +00:00
Jamie Wilkinson
9743e9dcce - Added library detection to configure.in, to detect
SVGAlib, X, GL, SDL, and GLIDE.  Modified the
  Makefile.am's to match the new configure variables.
  Now people don't have to manually hack src/Makefile.am to
  build their targets.
- Fixed a typo in src/qgl.h with the #define
- Added new automake generated files to bootstrap's clean
  command.
- Added build requirements to HACKING, as we now need
  automake 1.6.
- Removed note in README about the asm FPE bug, as I seem to
  have inadvertently fixed this without meaning to.
2002-07-01 04:53:50 +00:00
Jamie Wilkinson
d3f9102a3f - Fixed configure so that if xatrix and roge *are* found
then they actually get built!  Third time lucky!
2002-05-20 05:12:04 +00:00
Jamie Wilkinson
51cda7f820 - Fixed configure so that if xatrix and rogue *aren't* found
it still works.
2002-05-20 05:01:40 +00:00
Jamie Wilkinson
ebc1f99b81 - configure now checks for xatrix and rogue, so no need for
punters to have to manually edit src/Makefile.am (and now
  I don't have to remember to swap it back before checking
  in anymore!)
2002-05-20 04:49:54 +00:00
Jamie Wilkinson
0c01954c76 - Added CCAS and CCASFLAGS to configure.in, so that automake
1.5 does the right thing with assembler.
- Updated TODO list.
2002-05-03 03:53:38 +00:00
Jamie Wilkinson
5f2ed6f1ef - Created acinclude.m4 with checks for VA_COPY and
VA_LIST_IS_ARRAY.  Currently not needed, but I suspect we
  may need them as we gain functionality; cf. dstring.c in
  quakeforge.
- Updated configure.in to check for above tests.
- Updated TODO list noting the va_list audit.
2002-05-02 15:45:55 +00:00
Jamie Wilkinson
404101bc00 - Changed -lpthread to -pthread in quake2_LDFLAGS. Should
probably be a configure test
- Added configure test for AFMT_S16_NE (FreeBSD doesn't have
  _NE, only _LE or _BE)
- Wrapped the use of AFMT_S16_NE in ifdef HAVE_AFMT_S16_NE
2002-04-11 00:38:25 +00:00
Jamie Wilkinson
740faf6966 - used USE_ASM in assembler files and c files, to build asm
when needed and c routines otherwise
- HAVE_MASM is off always (in configure.in), only switch it on
  if you've got masm and you're on windows...
2002-04-10 06:57:39 +00:00
Jamie Wilkinson
dff9b25105 - cosmetic changes to configure.in 2002-04-10 01:41:52 +00:00
Jamie Wilkinson
076eccb5c0 - Added configure test for sys/soundcard.h
- Renamed linux/soundcard.h in src/snd.c to sys/soundcard.h
  as it's portable
2002-04-10 01:23:13 +00:00
Jamie Wilkinson
76847ab8a3 - Added configure test for -ldl
- Using HAVE_DLOPEN in source files
2002-04-10 01:18:41 +00:00
Jamie Wilkinson
4aaa3094a3 * src/rw*svgalib.c compile fine without src/vt.h, so
commented it out in them, and removed from configure test
2002-04-09 02:01:36 +00:00
Jamie Wilkinson
5dfca94f1c * bootstrap tries to detect if you have gmake instead of
make for bsd systems
* cleaned out the header file checks in configure, now add
  them as they're needed
* check for sys/vt.h in src/rw*svgalib.c
2002-04-09 01:49:38 +00:00
Bill Currie
81b31308fa fix the _ symbol prefix detection. software rendering now works 2002-04-08 06:17:02 +00:00
Bill Currie
4ef52da08a when linking, libs should go in *_LDADD rather than *_LDFLAGS as LDADD gets
added /after/ the object files, but LDFLAGS /before/ the object files
2002-04-08 05:42:08 +00:00
Bill Currie
c17021f01b set AS and ASFLAGS 2002-04-08 05:09:37 +00:00
Jamie Wilkinson
4bd5535532 * Moved everything in game/ to src/ so that hopefully quake2
will run out of the source tree.
* Added the LICENSE files from xatrix and rogue, someone can
  look at them and decide if we can put the rest of them
  into CVS.
* Moved 2do.txt from ctf into docs/TODO-ctf.txt
2002-04-06 06:30:19 +00:00
Jamie Wilkinson
2e21941abd * no longer link every fucking binary against libdl, libm,
libpthread.
2002-04-06 05:56:23 +00:00
Jamie Wilkinson
1c775689ab * Got rid of that ugly -DLINUX_VERSION from the makefile,
instead source files now use config.h
2002-04-05 01:02:17 +00:00
Jamie Wilkinson
28147f7e1a * Moved ref_gl into src/ so that when it builds, the video
refreshers are in the same directory as the quake2 binary
2002-04-05 00:24:29 +00:00
Jamie Wilkinson
84d1c018f2 * configure creates the rogue and xatrix makefiles
* game.h comments and ifdef wrapper cleaned up
2002-04-03 03:07:00 +00:00
Jamie Wilkinson
f10de7dd58 * Moved game/baseq2/game.h into game/game.h as it is the
api that the quake2 binary uses
2002-04-03 02:05:47 +00:00
Jamie Wilkinson
520789f9d3 * Enabled build of game/game.so
* Removed files in client/ qcommon/ and server/
2002-04-03 00:52:42 +00:00
Jamie Wilkinson
24fb12814e * Replaced gnu.txt with COPYING
* added my TODO list, and the cvs bootstrap script
* Small mods to configure.in, Makefile.am
2002-04-03 00:27:05 +00:00
Jamie Wilkinson
8ff1601081 * Moved qcommon/ into src/ as well.
* Removed ARCH from compile options, this means that there
  is no longer a game$(ARCH).so built -- game.so instead.
* Added src/Makefile.am
* Fixed up include paths in main.c, menu.c, vid_menu.c,
  vid_so.c
2002-04-02 06:23:02 +00:00
Jamie Wilkinson
460d5d8dfd * Doing some renovations so I can autoconfiscate the source.
In this installment, I move all of client/ and server/
  into src/
2002-04-02 05:47:23 +00:00