-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
52 lines (39 loc) · 1.13 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
AC_PREREQ(2.61)
# package version number (not shared library version)
# odd micro numbers indicate in-progress development
# even micro numbers indicate released versions
m4_define(kinetic_list_version_major, 0)
m4_define(kinetic_list_version_minor, 1)
m4_define(kinetic_list_version_micro, 0)
m4_define([kinetic_list_version],
[kinetic_list_version_major.kinetic_list_version_minor.kinetic_list_version_micro])
m4_define([kinetic_list_api_version],
[kinetic_list_version_major.kinetic_list_version_minor])
AC_INIT(kinetic_list, kinetic_list_version)
AM_INIT_AUTOMAKE([0.1])
AC_CONFIG_HEADERS(config.h)
# Checks for programs.
AC_PROG_CC
#AC_PROG_LIBTOOL
# Checks for header files.
AC_HEADER_STDC
# enable pkg-config
PKG_PROG_PKG_CONFIG
# Checks for library functions.
#AC_CHECK_FUNCS([memset])
PKG_CHECK_MODULES(CLUTTER, clutter-1.0)
AC_SUBST(CLUTTER_CFLAGS)
AC_SUBST(CLUTTER_LIBS)
PKG_CHECK_MODULES(MX, mx-1.0)
AC_SUBST(MX_CFLAGS)
AC_SUBST(MX_LIBS)
AC_OUTPUT([
Makefile
src/Makefile
])
echo ""
echo " ${PACKAGE_NAME} $VERSION"
echo " ====================="
echo ""
echo " To build the project, run \"make\""
echo ""