1 |
cebix |
1.1 |
dnl Process this file with autoconf to produce a configure script. |
2 |
|
|
dnl Written in 2000 by Christian Bauer <Christian.Bauer@uni-mainz.de> |
3 |
|
|
|
4 |
|
|
AC_INIT(src/main.cpp) |
5 |
|
|
AC_PREREQ(2.13) |
6 |
|
|
|
7 |
|
|
dnl This defines PACKAGE and VERSION. |
8 |
cebix |
1.3 |
AM_INIT_AUTOMAKE([SIDPlayer], [4.1]) |
9 |
cebix |
1.1 |
AM_CONFIG_HEADER(config.h) |
10 |
|
|
|
11 |
|
|
dnl Checks for programs. |
12 |
|
|
AC_PROG_CXX |
13 |
|
|
AC_PROG_CXXCPP |
14 |
|
|
AC_PROG_INSTALL |
15 |
|
|
|
16 |
|
|
dnl Check for SDL. |
17 |
|
|
AM_PATH_SDL(1.1.4, , AC_MSG_ERROR([You need SDL to run Aleph One.])) |
18 |
|
|
CXXFLAGS="$CXXFLAGS $SDL_CFLAGS -DSDL -DSID_PLAYER" |
19 |
|
|
LIBS="$LIBS $SDL_LIBS" |
20 |
|
|
|
21 |
|
|
dnl Generate Makefiles. |
22 |
|
|
AC_OUTPUT([ |
23 |
|
|
Makefile |
24 |
cebix |
1.2 |
SIDPlayer.spec |
25 |
cebix |
1.1 |
src/Makefile |
26 |
|
|
src/clamp_includes/Makefile |
27 |
|
|
]) |
28 |
|
|
|
29 |
|
|
dnl Print summary. |
30 |
|
|
echo "Configuration done. Now type \"make\"." |