quake2forge/bootstrap
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

31 lines
569 B
Bash
Executable file

#!/bin/sh
# bootstrap the build when checking out from CVS
# dodgy hack to use gmake if we're on bsd systems
if [ -x /usr/local/bin/gmake ]; then
MAKE=/usr/local/bin/gmake
else
MAKE=make
fi
if [ "$1" = "clean" ]; then
# clean up junk
if [ -f Makefile ]; then
$MAKE distclean
fi
find . -name Makefile.in -print | xargs rm -f
rm -f aclocal.m4 install-sh missing mkinstalldirs \
stamp-h.in tags configure config.* \
compile depcomp stamp-h
rm -rf autom4te.cache
else
aclocal
autoheader
automake --foreign --add-missing --copy
autoconf
fi