ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SIDPlayer/configure.ac
Revision: 1.1
Committed: 2002-08-03T15:13:20Z (21 years, 7 months ago) by cebix
Branch: MAIN
Log Message:
updated autoconf stuff

File Contents

# Content
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
5 AC_CONFIG_SRCDIR(src/main.cpp)
6 AC_PREREQ(2.50)
7
8 dnl This defines PACKAGE and VERSION.
9 AM_CONFIG_HEADER(config.h)
10 AM_INIT_AUTOMAKE([SIDPlayer], [4.2])
11
12 dnl Checks for programs.
13 AC_PROG_CXX
14 AC_PROG_CXXCPP
15 AC_PROG_INSTALL
16
17 dnl Check for SDL.
18 AM_PATH_SDL(1.2.0, , AC_MSG_ERROR([You need SDL 1.2 to SIDPlayer.]))
19 CPPFLAGS="$CPPFLAGS $SDL_CFLAGS -DSDL -DSID_PLAYER"
20 LIBS="$LIBS $SDL_LIBS"
21
22 dnl Generate Makefiles.
23 AC_OUTPUT([
24 Makefile
25 SIDPlayer.spec
26 src/Makefile
27 src/clamp_includes/Makefile
28 src/soundplay_includes/Makefile
29 ])
30
31 dnl Print summary.
32 echo "Configuration done. Now type \"make\"."