source: ttyvaders/trunk/configure.ac @ 20

Last change on this file since 20 was 20, checked in by Sam Hocevar, 17 years ago
  • real Debian package files.
  • two new types of aliens. only one rules.
  • removed gfx_write in favor of gfx_putchar and gfx_putstr.
  • added bonuses at alien death. they do nothing yet.
  • seeker missiles. 'b' to test.
  • weapon resolution is now 16*char. needs to be generalized.
  • fixed the supernova bugs. center could collide with the tunnel, and the last frame was badly displayed.
  • lots of cleanups everywhere.
File size: 794 bytes
Line 
1dnl Autoconf settings for ttyvaders
2
3AC_INIT(ttyvaders,0.0cvs)
4
5AC_PREREQ(2.50)
6AC_CONFIG_SRCDIR(src/main.c)
7AC_CANONICAL_SYSTEM
8
9AM_INIT_AUTOMAKE(ttyvaders,0.0cvs)
10AM_CONFIG_HEADER(config.h)
11
12AM_PROG_CC_C_O
13AC_PROG_CPP
14
15AC_ARG_ENABLE(ncurses,
16  [  --enable-ncurses        ncurses interface support (default is slang)])
17
18if test "${enable_ncurses}" = "yes"
19then
20  AC_CHECK_HEADER(ncurses.h,:,AC_MSG_ERROR([cannot find ncurses headers]))
21  AC_CHECK_LIB(ncurses,initscr,:,AC_MSG_ERROR([cannot find ncurses library]))
22else
23  AC_CHECK_HEADER(slang.h,:,AC_MSG_ERROR([cannot find slang headers]))
24  AC_CHECK_LIB(slang,SLkp_init,:,AC_MSG_ERROR([cannot find slang library]))
25fi
26
27AM_CONDITIONAL(USE_NCURSES, test "${enable_ncurses}" = "yes")
28
29AC_OUTPUT([
30  Makefile
31  src/Makefile
32  debian/Makefile
33])
34
Note: See TracBrowser for help on using the repository browser.