ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SIDPlayer/configure.in
Revision: 1.1
Committed: 2000-09-19T15:34:09Z (22 years, 6 months ago) by cebix
Branch: MAIN
Log Message:
can now compile as a portable command-line SDL-based application

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(src/main.cpp)
5     AC_PREREQ(2.13)
6    
7     dnl This defines PACKAGE and VERSION.
8     AM_INIT_AUTOMAKE([SIDPlayer], [4.0])
9     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     src/Makefile
25     src/clamp_includes/Makefile
26     ])
27    
28     dnl Print summary.
29     echo "Configuration done. Now type \"make\"."