-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigure.ac
29 lines (24 loc) · 847 Bytes
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
% Prelude
AC_INIT([openalchemist], [1.0-rc1], [[email protected]])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([-Wall])
AC_CONFIG_SRCDIR([src/main.cpp])
% Check for programs
AC_PROG_CXX
% Check for header files
% AC_CHECK_HEADER([iostream string vector list])
% Check for libraries
REQUIRED_CLANLIB_VERSION="2.1.0"
PKG_CHECK_MODULES(clanlib,
[
clanCore-2.1 >= $REQUIRED_CLANLIB_VERSION
clanApp-2.1 >= $REQUIRED_CLANLIB_VERSION
clanDisplay-2.1 >= $REQUIRED_CLANLIB_VERSION
clanGL-2.1 >= $REQUIRED_CLANLIB_VERSION
clanSound-2.1 >= $REQUIRED_CLANLIB_VERSION
clanVorbis-2.1 >= $REQUIRED_CLANLIB_VERSION
], [], [echo "This program needs ClanLib >= 2.0 (clanCore, clanApp, clanDisplay, clanGL, clanSound, clanVorbis)"; exit])
% Outputfiles
% AC_CONFIG_HEADERS([src/config.h])
AC_CONFIG_FILES([Makefile build/Makefile])
AC_OUTPUT