- Fiddled with configure.in, making it sensible.

This commit is contained in:
Jamie Wilkinson 2002-09-19 06:04:37 +00:00
parent 51886d0095
commit 0e64f3b7e5

View file

@ -5,22 +5,24 @@ dnl stick the revision info into the resulting configure script
AC_REVISION($Revision$) dnl
AC_PREREQ(2.50)
AC_INIT(src/main.c)
AC_INIT(quake2, 0.1, quake2-devel@lists.quakeforge.net)
AC_CONFIG_SRCDIR(src/main.c)
AM_CONFIG_HEADER(config.h)
dnl get the build and target hosts
AC_CANONICAL_SYSTEM
AC_DEFINE_UNQUOTED(BUILDHOST, "${target_cpu}-${target_os}",
[Set to the canonical name of the target machine])
dnl set the program and version
AM_INIT_AUTOMAKE(quake2, 0.1)
AC_SUBST(PROGRAM)
AC_SUBST(VERSION)
AM_INIT_AUTOMAKE([1.6 foreign])
dnl configure --enable-maintainer-mode gets some extra targets
AM_MAINTAINER_MODE
dnl set some macros
AC_DEFINE_UNQUOTED(BUILDHOST, "${target_cpu}-${target_os}",
[Set to the canonical name of the target machine])
AC_SUBST(PROGRAM)
AC_SUBST(VERSION)
dnl -------------------
dnl Checks for programs
dnl -------------------