mirror of
https://git.code.sf.net/p/quake/quake2forge
synced 2024-12-12 13:42:21 +00:00
- Fiddled with configure.in, making it sensible.
This commit is contained in:
parent
51886d0095
commit
0e64f3b7e5
1 changed files with 9 additions and 7 deletions
16
configure.in
16
configure.in
|
@ -5,22 +5,24 @@ dnl stick the revision info into the resulting configure script
|
||||||
AC_REVISION($Revision$) dnl
|
AC_REVISION($Revision$) dnl
|
||||||
AC_PREREQ(2.50)
|
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)
|
AM_CONFIG_HEADER(config.h)
|
||||||
|
|
||||||
dnl get the build and target hosts
|
dnl get the build and target hosts
|
||||||
AC_CANONICAL_SYSTEM
|
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([1.6 foreign])
|
||||||
AM_INIT_AUTOMAKE(quake2, 0.1)
|
|
||||||
AC_SUBST(PROGRAM)
|
|
||||||
AC_SUBST(VERSION)
|
|
||||||
|
|
||||||
dnl configure --enable-maintainer-mode gets some extra targets
|
dnl configure --enable-maintainer-mode gets some extra targets
|
||||||
AM_MAINTAINER_MODE
|
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 -------------------
|
||||||
dnl Checks for programs
|
dnl Checks for programs
|
||||||
dnl -------------------
|
dnl -------------------
|
||||||
|
|
Loading…
Reference in a new issue