-
Notifications
You must be signed in to change notification settings - Fork 1
/
configure.in
75 lines (57 loc) · 1.62 KB
/
configure.in
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.52)
AC_INIT(ho22bus, 0.9.1, http://code.google.com/p/ho22bus)
AC_CONFIG_SRCDIR(src/reciteword.cpp)
AM_INIT_AUTOMAKE([dist-bzip2])
AM_MAINTAINER_MODE
AM_CONFIG_HEADER(config.h)
AM_DISABLE_STATIC
AC_PROG_INTLTOOL([0.22])
AM_PROG_LIBTOOL
AC_ISC_POSIX
AC_PROG_CC
AC_PROG_CXX
AC_PROG_INSTALL
AC_PROG_MAKE_SET
dnl ================================================================
dnl some var
dnl ================================================================
AC_SUBST(PROGRAM_NAME)
PROGRAM_NAME=ho22bus
dnl ================================================================
dnl Gettext stuff.
dnl ================================================================
GETTEXT_PACKAGE=ho22bus
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package])
ALL_LINGUAS="zh_CN"
AM_GLIB_GNU_GETTEXT
dnl ================================================================
dnl Start of pkg-config checks
dnl ================================================================
PKG_CHECK_MODULES(HO22BUS, gtk+-2.0 >= 2.2.0 gthread-2.0 >= 2.2.0 gstreamer-0.10)
HO22BUS_LIBS="${HO22BUS_LIBS}"
HO22BUS_CFLAGS="\
-Wall \
$HO22BUS_CFLAGS"
AC_SUBST(HO22BUS_LIBS)
AC_SUBST(HO22BUS_CFLAGS)
dnl ==========================================================================
AC_OUTPUT([
Makefile
books/Makefile
books/ho22bus/Makefile
po/Makefile.in
doc/Makefile
spec/Makefile
src/Makefile
src/modules/Makefile
src/skins/Makefile
src/skins/en/Makefile
src/skins/zh_CN/Makefile
src/win32/Makefile
src/win32/nsis/Makefile
])
echo "
Type \"make\" to compile ho22bus.
"