]> git.cworth.org Git - ttt/blob - configure.in
Second draft attempt at ttt_board_is_won
[ttt] / configure.in
1 AC_INIT(src/ttt.h)
2
3 dnl ===========================================================================
4
5 # Package version number
6 TTT_VERSION=0.1.0
7
8 dnl ===========================================================================
9
10 AM_INIT_AUTOMAKE(ttt, $TTT_VERSION)
11 AM_CONFIG_HEADER(config.h)
12
13 AM_MAINTAINER_MODE
14
15 AC_PROG_CC
16 AC_STDC_HEADERS
17 AM_PROG_LEX
18
19 dnl ===========================================================================
20 dnl Use lots of warning flags with GCC
21
22 WARN_CFLAGS=""
23 if test "x$GCC" = "xyes"; then
24         WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes \
25         -Wmissing-prototypes -Wmissing-declarations \
26         -Wnested-externs -fno-strict-aliasing"
27 fi
28 AC_SUBST(WARN_CFLAGS)
29
30 dnl ===========================================================================
31
32 # Use a check like this if ttt depends on some package that
33 # provides pkg-config data. The version check is optional. Multiple
34 # packages may be listed, separated by spaces.
35 #
36 #PKG_CHECK_MODULES(TTT, somepackage >= X.Y.Z)
37 #AC_SUBST(TTT_CFLAGS)
38 #AC_SUBST(TTT_LIBS)
39
40 AC_OUTPUT([
41 Makefile
42 src/Makefile
43 ])