From 0e64f3b7e5579043e51ddc49415cdac9ed35c6de Mon Sep 17 00:00:00 2001 From: Jamie Wilkinson Date: Thu, 19 Sep 2002 06:04:37 +0000 Subject: [PATCH] - Fiddled with configure.in, making it sensible. --- configure.in | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/configure.in b/configure.in index 20ef428..577a6ed 100644 --- a/configure.in +++ b/configure.in @@ -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 -------------------