aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
blob: 9fa9ab94ab068c51979dca166a5290e41925905d (plain) (blame)
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
# Process this file with autoconf to produce a configure script.
AC_INIT(camel)
AM_CONFIG_HEADER(config.h)

cflags_set=${CFLAGS+set}

EVOLUTION_MAJOR_VERSION=0
EVOLUTION_MINOR_VERSION=0
EVOLUTION_MICRO_VERSION=1
VERSION=$EVOLUTION_MAJOR_VERSION.$EVOLUTION_MINOR_VERSION.$EVOLUTION_MICRO_VERSION
PACKAGE=evolution

AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
AC_SUBST(VERSION)


dnl Initialize libtool
AM_PROG_LIBTOOL

dnl Initialize maintainer mode
AM_MAINTAINER_MODE

AC_CANONICAL_HOST

AM_ACLOCAL_INCLUDE(macros)
GNOME_INIT(capplet)
GNOME_COMPILE_WARNINGS
AC_ISC_POSIX
AC_PROG_CC
AC_PROG_CPP
AM_PROG_LEX
AC_PROG_YACC
AC_STDC_HEADERS
AC_ARG_PROGRAM
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PATH_PROG(SENDMAIL, sendmail, /usr/sbin/sendmail, /usr/sbin:/usr/lib)
AC_DEFINE_UNQUOTED(SENDMAIL_PATH, "$SENDMAIL")

ALL_LINGUAS=""

AM_GNOME_GETTEXT

GNOME_X_CHECKS



dnl **************************************************
dnl * Posix thread support
dnl **************************************************

have_pthread=false

AC_ARG_WITH(threads, [--with-threads inculde threads support],
            [GNOME_PTHREAD_CHECK])

if test "x$PTHREAD_LIB" = "x" ; then
   have_pthread=false
else
   have_pthread=true
fi

AM_CONDITIONAL(ENABLE_THREADS, $have_pthread)


dnl **************************************************
dnl * Print check
dnl **************************************************
AC_MSG_CHECKING(for GnomePrint libraries >= 0.10)
if gnome-config --libs print > /dev/null 2>&1; then 
    vers=`gnome-config --modversion print | sed -e "s/gnome-print-//" | \
        awk 'BEGIN { FS = "."; } { print $1 * 1000 + $2;}'`
    if test "$vers" -ge 10; then
        AC_MSG_RESULT(found)
    else
        AC_MSG_ERROR(You need at least GNOME print 0.10 for this version of Gnumeric)
    fi
else
    AC_MSG_ERROR(Did not find GnomePrint installed)
fi
GNOME_PRINT_LIBS=`gnome-config --libs print`
GNOME_PRINT_CFLAGS=`gnome-config --cflags print`
AC_SUBST(GNOME_PRINT_LIBS)
AC_SUBST(GNOME_PRINT_CFLAGS)

dnl **************************************************
dnl * ORBit support
dnl **************************************************
dnl GNOMEGNORBA_LIBS="$GNOMEGNORBA_LIBS"
dnl AC_SUBST(GNOMEGNORBA_LIBS)


dnl ******************************
dnl Check for Bonobo
dnl ******************************
AC_MSG_CHECKING(for Bonobo > 0.5)
if gnome-config --libs bonobo > /dev/null 2>&1; then
    vers=`gnome-config --modversion bonobo`
    case $vers
    in
        bonobo-0.[[012345]]) bonobo_ok=false ;;
        *) bonobo_ok=true ;;
    esac
else
    bonobo_ok=false
fi

if $bonobo_ok; then
    AC_MSG_RESULT(found)
else
    AC_MSG_ERROR(Bonobo 0.5 is required to compile Evolution)
fi


dnl ******************************
dnl LibGlade checking
dnl ******************************
AC_MSG_CHECKING(For Glade libraries)
if gnome-config --libs libglade > /dev/null 2>&1; then 
    AC_MSG_RESULT(found)
else
    AC_MSG_ERROR(Did not find libGlade installed)
fi

dnl ******************************
dnl libunicode checking
dnl ******************************
AC_MSG_CHECKING(For libunicode)
if unicode-config --libs > /dev/null 2>&1; then 
    UNICODE_LIBS=`unicode-config --libs`
    UNICODE_CFLAGS=`unicode-config --cflags`
    AC_SUBST(UNICODE_LIBS)
    AC_SUBST(UNICODE_CFLAGS)
    AC_MSG_RESULT(found)
else
    AC_MSG_ERROR(libunicode not found)
fi

dnl ******************************
dnl GdkPixbuf checking
dnl ******************************
AC_MSG_CHECKING(For Gdkpixbuf libraries)
if gnome-config --libs gdk_pixbuf gnomecanvaspixbuf > /dev/null 2>&1; then 
    AC_MSG_RESULT(found)
else
    AC_MSG_ERROR(Did not find gdkpixbuf installed)
fi

if $have_pthread; then 
    THREADS_LIBS="$PTHREAD_LIB `glib-config --libs gthread`"
    THREADS_CFLAGS="`glib-config --cflags gthread`"
else
    THREADS_LIBS=""
    THREADS_CFLAGS=""
fi

GLIB_CFLAGS="`glib-config --cflags`"
GLIB_LIBS="`glib-config --libs`"

AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)


EXTRA_GNOME_LIBS="`gnome-config --libs libglade gdk_pixbuf gnomecanvaspixbuf gnomeui ` $THREADS_LIBS `unicode-config --libs`"
EXTRA_GNOME_CFLAGS="`gnome-config --cflags libglade gdk_pixbuf gnomecanvaspixbuf gnomeui ` $THREADS_CFLAGS `unicode-config --cflags`"

AC_SUBST(EXTRA_GNOME_LIBS)
AC_SUBST(EXTRA_GNOME_CFLAGS)


BONOBO_GNOME_LIBS="`gnome-config --libs bonobo libglade gdk_pixbuf gnomecanvaspixbuf gnomeui`"
BONOBO_GNOME_CFLAGS="`gnome-config --cflags bonobo libglade gdk_pixbuf gnomecanvaspixbuf gnomeui `"
AC_SUBST(BONOBO_GNOME_LIBS)
AC_SUBST(BONOBO_GNOME_CFLAGS)

BONOBO_HTML_GNOME_LIBS="`gnome-config --libs bonobo libglade gdk_pixbuf gtkhtml gnomecanvaspixbuf gnomeui ` `glib-config --libs gthread`"
BONOBO_HTML_GNOME_CFLAGS="`gnome-config --cflags bonobo libglade gdk_pixbuf gtkhtml gnomecanvaspixbuf gnomeui ` `glib-config --cflags gthread`"
AC_SUBST(BONOBO_HTML_GNOME_LIBS)
AC_SUBST(BONOBO_HTML_GNOME_CFLAGS)

dnl ******************************
dnl GtkHTML checking
dnl ******************************

AC_MSG_CHECKING(for GtkHTML)
if gnome-config --libs gtkhtml > /dev/null 2>&1; then
    gtkhtml_ok=true
else
    gtkhtml_ok=false
fi

if $gtkhtml_ok; then
    AC_MSG_RESULT(found)
else
    AC_MSG_ERROR(GtkHTML is required to compile Evolution)
fi

GTKHTML_CFLAGS="`gnome-config --cflags gtkhtml`"
GTKHTML_LIBS="`gnome-config --libs gtkhtml`"

AC_SUBST(GTKHTML_CFLAGS)
AC_SUBST(GTKHTML_LIBS)

dnl ******************************
dnl Gnome-VFS checking
dnl ******************************
AC_MSG_CHECKING(for GNOME-VFS)
if gnome-config --libs vfs > /dev/null 2>&1; then
    vfs_ok=true
else
    vfs_ok=false
fi

if $vfs_ok; then
    AC_MSG_RESULT(found)
else
    AC_MSG_ERROR(GNOME-VFS is required to compile Evolution)
fi

BONOBO_VFS_GNOME_LIBS="`gnome-config --libs bonobo libglade gdk_pixbuf gnomecanvaspixbuf vfs gnomeui `"
BONOBO_VFS_GNOME_CFLAGS="`gnome-config --cflags bonobo libglade gdk_pixbuf gnomecanvaspixbuf vfs gnomeui `"
AC_SUBST(BONOBO_VFS_GNOME_LIBS)
AC_SUBST(BONOBO_VFS_GNOME_CFLAGS)

dnl ******************************
dnl Pilot checking
dnl ******************************
GNOME_PILOT_CHECK


AC_ARG_WITH(camel-hard-log-level, [  --with-camel-hard-log-level=level  value of log level in camel (0-10)],
            camel_hard_log_level="$withval", camel_hard_log_level="0")
AC_DEFINE_UNQUOTED(CAMEL_HARD_LOG_LEVEL, $camel_hard_log_level)

AC_CONFIG_SUBDIRS(libical)

AC_SUBST(CAPPLET_LIBS)
    
AC_OUTPUT([
Makefile
macros/Makefile
intl/Makefile
po/Makefile.in
e-util/Makefile
doc/Makefile
libibex/Makefile
camel/Makefile
camel/providers/Makefile
camel/providers/MH/Makefile
camel/providers/maildir/Makefile
camel/providers/mbox/Makefile
camel/providers/sendmail/Makefile
composer/Makefile
devel-docs/Makefile
devel-docs/camel/Makefile
tests/Makefile
tests/ui-tests/Makefile
widgets/Makefile
widgets/e-text/Makefile
widgets/e-minicard/Makefile
widgets/meeting-time-sel/Makefile
widgets/shortcut-bar/Makefile
widgets/e-table/Makefile
addressbook/Makefile
addressbook/contact-editor/Makefile
addressbook/printing/Makefile
shell/Makefile
mail/Makefile
data/Makefile
libversit/Makefile
libical/Makefile
libical/src/Makefile
libical/src/libical/Makefile
libical/src/libicalss/Makefile
libibex/Makefile
calendar/Makefile
calendar/doc/Makefile
calendar/doc/C/Makefile
calendar/idl/Makefile
calendar/cal-client/Makefile
calendar/pcs/Makefile
filter/Makefile
])
='deletions'>-1/+1819 * net-im/matterircd: Update to 0.16.8Danilo G. Baio2018-04-072-4/+4 * Update klogDiane Bruce2018-04-073-18/+14 * Attempt to fix buildAntoine Brodin2018-04-071-0/+10 * net/mosquitto: Unbreak the rc script; Fix the licenseYuri Victorovich2018-04-072-3/+3 * New port: accessibility/kmag, accessibility/kmousetool, accessibility/kmouthTobias C. Berner2018-04-0714-3/+331 * net/google-cloud-sdk: update to 196.0.0Steve Wills2018-04-073-16/+20 * New port: archivers/arkTobias C. Berner2018-04-076-1/+148 * sysutils/google-compute-engine-oslogin: update to version 1.1.5Steve Wills2018-04-078-33/+24 * Extend kde.mk by plist handlingTobias C. Berner2018-04-073-114/+5 * Update lang/erlang-runtime19 to version 19.3.6.8.Jimmy Olgeni2018-04-072-6/+8 * games/assaultcube: LLD_UNSAFE additionsLarry Rosenman2018-04-071-2/+3 * databases/py-fakeredis: update to 0.10.2Rene Ladan2018-04-072-4/+4 * emulators/fuse: update to 1.5.2Rene Ladan2018-04-072-4/+4 * Update sysutils/cpupdate:Eugene Grosbein2018-04-071-2/+3 * Fix again.Mathieu Arnold2018-04-071-9/+9 * Fix package name colision.Mathieu Arnold2018-04-071-1/+1 * The commit r466676 failed to remove an obsolete file, this commit fixes this.Matthias Fechner2018-04-071-13/+0 * Update gitlab to version 10.5.6.Matthias Fechner2018-04-0710-322/+641 * Update distinfoSunpoet Po-Chuan Hsieh2018-04-072-3/+4 * Fix Gemfile for rubygem-roadie 3.3.0 updateSunpoet Po-Chuan Hsieh2018-04-072-2/+3 * Update to 1.3.0Sunpoet Po-Chuan Hsieh2018-04-072-4/+4 * Update to 3.3.0Sunpoet Po-Chuan Hsieh2018-04-072-4/+4 * Update to 2.8.8Sunpoet Po-Chuan Hsieh2018-04-072-4/+4 * Update to 4.11.0Sunpoet Po-Chuan Hsieh2018-04-072-4/+4 * Add LICENSESunpoet Po-Chuan Hsieh2018-04-072-1/+4 * Update to 1.47Sunpoet Po-Chuan Hsieh2018-04-072-4/+4 * Update to 5.4.10Sunpoet Po-Chuan Hsieh2018-04-072-4/+4 * New ports required for gitlab update to 10.5.x.Matthias Fechner2018-04-077-2/+120 * Update to 1.0.2Sunpoet Po-Chuan Hsieh2018-04-072-4/+5 * Update to 5.0.14Sunpoet Po-Chuan Hsieh2018-04-072-4/+4 * Update to 3.8.0Sunpoet Po-Chuan Hsieh2018-04-072-4/+4 * Update to 6.0.1Sunpoet Po-Chuan Hsieh2018-04-072-4/+4 * Update to 1.6.3Sunpoet Po-Chuan Hsieh2018-04-072-4/+4 * Update to 1.9.1Sunpoet Po-Chuan Hsieh2018-04-072-7/+4 * Update to 1.043Sunpoet Po-Chuan Hsieh2018-04-072-4/+4 * Update to 3.005Sunpoet Po-Chuan Hsieh2018-04-072-4/+5 * Remove CONFLICTS: 4 ports have been removed over 7.5 yearsSunpoet Po-Chuan Hsieh2018-04-071-2/+0 * Fix USES=python logicSunpoet Po-Chuan Hsieh2018-04-072-8/+6 * Update to 3.3.1Sunpoet Po-Chuan Hsieh2018-04-072-4/+4 * Update to 1.8.4Sunpoet Po-Chuan Hsieh2018-04-072-4/+4 * Update to 5.8.0Sunpoet Po-Chuan Hsieh2018-04-073-446/+405 * Add rubygem-ovirt-engine-sdk 4.2.3Sunpoet Po-Chuan Hsieh2018-04-074-0/+30 * Add p5-Test-Log-Log4perl 0.32Sunpoet Po-Chuan Hsieh2018-04-075-0/+39 * databases/timescaledb: Update to 0.9.1Steve Wills2018-04-072-19/+20 * check_ssl_cert: update to 1.66.0Christoph Moench-Tegeder2018-04-072-5/+5 * devel/icu: update to 61.1Jan Beich2018-04-06117-90/+120 * met/librdkafka: fix pkg-plist, remove python dependencyLuca Pizzamiglio2018-04-062-2/+4 * devel/py-setuptools_scm: update to 1.17.0William Grzybowski2018-04-062-4/+4 * update sysutils/terraform to 0.11.6Nikolai Lifanov2018-04-062-4/+4 * - Update to 1.4Ashish SHUKLA2018-04-064-9/+21 * - Update to 1.0.3Ashish SHUKLA2018-04-062-4/+4 * - Update to 0.6.0Ashish SHUKLA2018-04-062-4/+4 * - Update to 6.2.30Wen Heping2018-04-065-117/+106 * devel/renpy: update to 6.99.14.3Jan Beich2018-04-064-8/+8 * The find module for QScintilla included with sqlitebrowser has never workedAdriaan de Groot2018-04-062-1/+30 * MOVED: fix wrong date for www/piwik to www/matomo renamingTorsten Zuehlsdorff2018-04-061-1/+1 * Tablib is an format-agnostic tabular dataset library, written in Python. ItWen Heping2018-04-064-0/+37 * Reflect port-renaming of www/piwik to www/matomo in www/MakefileTorsten Zuehlsdorff2018-04-061-1/+1 * www/piwik: Update from 3.2.1 to 3.4.0Torsten Zuehlsdorff2018-04-067-49/+102 * - Update to 0.8.0TAKATSU Tomonari2018-04-062-10/+12 * - Add LICENSE_FILEDmitry Marakasov2018-04-062-1/+2 * - Add LICENSEDmitry Marakasov2018-04-061-0/+3 * - Update to 6.0-79TAKATSU Tomonari2018-04-062-4/+4 * devel/lfcbase: update 1.11.7 -> 1.11.8Kurt Jaeger2018-04-062-4/+4 * New port: textproc/py-mkdocs-nature: MkDocs theme, a clone of the "greenish" ...Yuri Victorovich2018-04-064-0/+32 * New port: textproc/py-mkdocs: Project documentation with MarkdownYuri Victorovich2018-04-065-0/+42 * science/psychopy: Update 1.90.0 -> 1.90.1Yuri Victorovich2018-04-062-4/+4 * Update to 1.10.1.Vanilla I. Shu2018-04-062-5/+4 * Update to 1.10.1.Vanilla I. Shu2018-04-062-5/+4 * Update to 1.10.1.Vanilla I. Shu2018-04-062-4/+4 * Update to 1.10.1.Vanilla I. Shu2018-04-063-9/+9 * New port: www/py-livereload: WSGI for web developers to watch changes in real...Yuri Victorovich2018-04-064-0/+32 * www/node4: fix portlint errors and relevant warningsBradley T. Hughes2018-04-061-4/+4 * Update to version 2.6.0Kirill Ponomarev2018-04-064-33/+24 * math/mppp: Update 0.9-33 -> 0.10Yuri Victorovich2018-04-062-5/+4 * devel/git-town: Update 6.0.2 -> 7.1.0Yuri Victorovich2018-04-062-4/+4 * devel/flatbuffers: Update 1.8.0 -> 1.9.0Yuri Victorovich2018-04-064-19/+14 * Add compilation of i18n for multi-language supportRichard Gallamore2018-04-062-3/+86 * shells/oksh: Update to 20180401Tobias Kortkamp2018-04-062-4/+4 * - Update to 8.5.29Wen Heping2018-04-063-4/+6 * - Update to 9.0.6Wen Heping2018-04-063-4/+6 * games/openastromenace: fix build when lld is the system linkerEd Maste2018-04-061-0/+1 * games/scorched3d: fix build when lld is the system linkerEd Maste2018-04-061-0/+1 * games/el: fix build when lld is the system linkerEd Maste2018-04-061-0/+1 * games/allacrost: fix build when lld is the system linkerEd Maste2018-04-061-0/+1 * Update to 1.6.57Jason E. Hale2018-04-063-6/+6 * - Update to 0.7.4Jason E. Hale2018-04-063-12/+8 * . Tweak message.Greg Lewis2018-04-061-1/+1 * . Tweak message.Greg Lewis2018-04-061-1/+1 * . Tweak message.Greg Lewis2018-04-061-1/+1 * . Correct description.Greg Lewis2018-04-062-2/+2 * dns/nsnotifyd: Add basic rc scriptMark Felder2018-04-062-0/+40 * www/webkit2-gtk3: Update to 2.20.0Tobias Kortkamp2018-04-0642-145/+169 * Update sysutils/libcdio to 2.0.0Jason E. Hale2018-04-06