Project:
Liferea
Code Location:
git://liferea.git.sourceforge.net/gitroot/liferea/lifereamaster
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
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
dnl Process this file with autoconf to produce a configure script. AC_INIT([liferea],[1.10-RC1],[liferea-devel@lists.sourceforge.net]) AC_CANONICAL_HOST AC_CONFIG_SRCDIR([src/feedlist.c]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([1.11 foreign std-options -Wall -Werror]) AM_SILENT_RULES([yes]) dnl Needed for automake 1.12 m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) AC_PREREQ(2.59) LT_INIT IT_PROG_INTLTOOL([0.35.0]) AC_PROG_CC AM_PROG_CC_C_O AC_HEADER_STDC AC_PROG_INSTALL AC_PROG_MAKE_SET AC_SYS_LARGEFILE GLIB_GSETTINGS AC_ARG_ENABLE(libnotify, AS_HELP_STRING([--disable-libnotify],[compile without libnotify support]),,enable_libnotify=yes) AC_ARG_ENABLE(libindicate, AS_HELP_STRING([--disable-libindicate],[compile without libindicate support]),,enable_libindicate=yes) AC_CHECK_HEADERS([locale.h stdlib.h string.h unistd.h]) AC_CHECK_FUNCS([strsep]) PKG_PROG_PKG_CONFIG() dnl ********* dnl libnotify dnl ********* if test "x$enable_libnotify" = "xyes"; then PKG_CHECK_MODULES([LIBNOTIFY], libnotify >= 0.7,enable_libnotify=yes,enable_libnotify=no) if test "x$enable_libnotify" = "xyes"; then AC_DEFINE(HAVE_LIBNOTIFY, 4, [Define if libnotify.so.4 support is enabled]) fi if test "x$enable_libnotify" = "xno"; then PKG_CHECK_MODULES([LIBNOTIFY], libnotify >= 0.3.2,enable_libnotify=yes,enable_libnotify=no) if test "x$enable_libnotify" = "xyes"; then AC_DEFINE(HAVE_LIBNOTIFY, 1, [Define if libnotify.so.1 support is enabled]) fi fi AC_SUBST(LIBNOTIFY_CFLAGS) AC_SUBST(LIBNOTIFY_LIBS) else enable_libnotify=no fi AM_CONDITIONAL(WITH_LIBNOTIFY, test "x$enable_libnotify" = "xyes") dnl ********* dnl libindicate dnl ********* if test "x$enable_libindicate" = "xyes"; then dnl Try 0.7 first PKG_CHECK_MODULES([LIBINDICATE], indicate-0.7 indicate-gtk-0.7,enable_libindicate=yes,enable_libindicate=no) AC_SUBST(LIBINDICATE_CFLAGS) AC_SUBST(LIBINDICATE_LIBS) dnl But 0.6 will also do... if test "x$enable_libindicate" = "xno"; then PKG_CHECK_MODULES([LIBINDICATE], indicate-0.6 indicate-gtk-0.6,enable_libindicate=yes,enable_libindicate=no) AC_SUBST(LIBINDICATE_CFLAGS) AC_SUBST(LIBINDICATE_LIBS) fi else enable_libindicate=no fi if test "x$enable_libindicate" = "xyes"; then AC_DEFINE(HAVE_LIBINDICATE, 1, [Define if libindicate support is enabled]) fi AM_CONDITIONAL(WITH_LIBINDICATE, test "x$enable_libindicate" = "xyes") ################################################################################ # Mandatory library dependencies pkg_modules=" gtk+-3.0 >= 3.4.0 glib-2.0 >= 2.24.0 gio-2.0 >= 2.26.0 pango >= 1.4.0 libxml-2.0 >= 2.6.27 libxslt >= 1.1.19 sqlite3 >= 3.7.0 gmodule-2.0 >= 2.0.0 gthread-2.0 libsoup-2.4 >= 2.28.2 webkitgtk-3.0 json-glib-1.0 gsettings-desktop-schemas libpeas-1.0 >= 1.0.0 libpeas-gtk-1.0 >= 1.0.0" ################################################################################ # Plugins via Introspection GOBJECT_INTROSPECTION_CHECK([0.9.3]) GLIB_GSETTINGS ################################################################################ PKG_CHECK_MODULES(PACKAGE, [$pkg_modules]) AC_SUBST(PACKAGE_CFLAGS) AC_SUBST(PACKAGE_LIBS) uname=`uname` AC_DEFINE_UNQUOTED(OS, $uname, [defines a OS version string, used for OS specific code]) AC_DEFINE_UNQUOTED(OSNAME, "$uname", [defines a OS version string, used for the user agent string]) AC_MSG_RESULT(user agent OS = $uname) AM_GLIB_GNU_GETTEXT GETTEXT_PACKAGE=liferea AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["${GETTEXT_PACKAGE}"], [gettext domain]) AC_CONFIG_FILES([ Makefile src/Makefile src/webkit/Makefile src/parsers/Makefile src/fl_sources/Makefile src/notification/Makefile src/ui/Makefile doc/Makefile doc/html/Makefile xslt/Makefile man/Makefile man/pl/Makefile pixmaps/Makefile pixmaps/16x16/Makefile pixmaps/22x22/Makefile pixmaps/24x24/Makefile pixmaps/32x32/Makefile pixmaps/48x48/Makefile pixmaps/scalable/Makefile opml/Makefile glade/Makefile po/Makefile.in src/liferea-add-feed ]) AC_OUTPUT echo echo "$PACKAGE $VERSION" echo echo "Use libnotify................... : $enable_libnotify" echo "Use libindicate................. : $enable_libindicate" echo eval eval echo Liferea will be installed in $bindir. echo echo configure complete, now type \'make\' echo
