ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SIDPlayer/configure.ac
Revision: 1.2
Committed: 2002-08-03T15:15:16Z (20 years, 4 months ago) by cebix
Branch: MAIN
Changes since 1.1: +4 -0 lines
Log Message:
updated autoconf stuff

File Contents

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