source: trunk/third/evolution/configure.in @ 17302

Revision 17302, 31.9 KB checked in by ghudson, 23 years ago (diff)
Only link camel with -lresolv if it is present.
Line 
1# Process this file with autoconf to produce a configure script.
2AC_INIT(camel)
3AM_CONFIG_HEADER(config.h)
4
5EVOLUTION_MAJOR_VERSION=1
6EVOLUTION_MINOR_VERSION=0
7EVOLUTION_MICRO_VERSION=2
8EVOLUTION_NANO_VERSION=99
9VERSION=$EVOLUTION_MAJOR_VERSION.$EVOLUTION_MINOR_VERSION.$EVOLUTION_MICRO_VERSION
10PACKAGE=evolution
11
12AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
13AC_SUBST(VERSION)
14
15AC_CHECK_LIB(resolv, res_query, RESOLV_LIBS="-lresolv")
16AC_SUBST(RESOLV_LIBS)
17
18AC_DEFINE_UNQUOTED(VERSION_COMMENT, "")
19
20AC_DEFUN(EVO_CHECK_LIB, [
21        dispname="$1"
22        pkgname="$2"
23        minvers="$3"
24        maxvers="$4"
25
26        AC_MSG_CHECKING(for $dispname)
27
28        if gnome-config --libs $pkgname > /dev/null 2>&1; then
29                pkgvers=`gnome-config --modversion $pkgname | sed -e 's/^[[^0-9]]*//'`
30        else
31                pkgvers=not
32        fi
33        AC_MSG_RESULT($pkgvers found)
34
35        pkgvers=`echo $pkgvers | awk -F. '{ print $[]1 * 1000000 + $[]2 * 10000 + $[]3 * 100 + $[]4;}'`
36        cmpminvers=`echo $minvers | awk -F. '{ print $[]1 * 1000000 + $[]2 * 10000 + $[]3 * 100 + $[]4;}'`
37        cmpmaxvers=`echo $maxvers | awk -F. '{ print $[]1 * 1000000 + $[]2 * 10000 + $[]3 * 100 + $[]4;}'`
38        ok=yes
39        if test "$pkgvers" -lt $cmpminvers; then
40                ok=no
41        elif test -n "$maxvers"; then
42                if test "$pkgvers" -gt $cmpmaxvers; then
43                        ok=no
44                elif test "$maxvers" != "$minvers" -a "$cmpmaxvers" -eq "$pkgvers"; then
45                        ok=no
46                fi
47        fi
48        if test $ok = no; then
49                case $maxvers in
50                "")
51                        dispvers="$minvers or higher"
52                        ;;
53                $minvers)
54                        dispvers="$minvers (exactly)"
55                        ;;
56                *)
57                        dispvers="$minvers or higher, but less than $maxvers,"
58                        ;;
59                esac
60
61                AC_MSG_ERROR([
62""
63"You need $dispname $dispvers to build Evolution"
64"If you think you already have this installed, consult the README."])
65        fi
66])
67
68SCROLLKEEPER_REQUIRED=0.1.4
69AC_SUBST(SCROLLKEEPER_REQUIRED)
70
71dnl Check for scrollkeeper
72AC_PATH_PROG(SCROLLKEEPER_CONFIG, scrollkeeper-config,no)
73if test x$SCROLLKEEPER_CONFIG = xno; then
74  AC_MSG_ERROR(Couldn't find scrollkeeper-config -- please install the scrollkeeper package)
75fi
76SCROLLKEEPER_LOCALSTATE_DIR=`scrollkeeper-config --pkglocalstatedir`
77AC_SUBST(SCROLLKEEPER_LOCALSTATE_DIR)
78
79dnl  Test whether jw is installed
80AC_PATH_PROG(JW,jw,no)
81if test x$JW = xno; then
82  HAVE_JW="no"
83else
84  HAVE_JW="yes"
85fi
86AM_CONDITIONAL(HAVE_JW, test "x$HAVE_JW" = "xyes")
87AC_SUBST(HAVE_JW)
88
89dnl Initialize maintainer mode
90AM_MAINTAINER_MODE
91
92AC_ISC_POSIX
93AC_PROG_CC
94AC_PROG_CPP
95AM_PROG_LEX
96AC_PROG_YACC
97case $YACC in
98*yacc*)
99        AC_MSG_ERROR(You need bison to build Evolution)
100        ;;
101esac
102AC_STDC_HEADERS
103AC_ARG_PROGRAM
104AC_PROG_INSTALL
105AC_PROG_LN_S
106AC_PROG_MAKE_SET
107
108dnl Initialize xml-i18n-tools
109AM_PROG_XML_I18N_TOOLS
110
111dnl Initialize libtool
112AM_PROG_LIBTOOL
113
114AM_ACLOCAL_INCLUDE(macros)
115GNOME_INIT()
116GNOME_COMPILE_WARNINGS
117GNOME_X_CHECKS
118EVO_CHECK_LIB(gnome-libs, gnome, 1.2.9)
119
120ALL_LINGUAS="az bg ca da de el en_AU en_GB es fi fr ga gl hu it ja ko lt lv nl nn no pl pt pt_BR ro ru sk sl sv tr uk zh_CN zh_TW"
121AM_GNOME_GETTEXT
122localedir='$(prefix)/$(DATADIRNAME)/locale'
123AC_SUBST(localedir)
124
125dnl
126dnl Purify support
127dnl
128AC_ARG_ENABLE(purify,
129[  --enable-purify=[no/yes]      Enable support for building executables with
130                                Purify.],,enable_purify=no)
131AC_PATH_PROG(PURIFY, purify, impure)
132AC_ARG_WITH(purify-options, [  --with-purify-options=OPTIONS      Options passed to the purify command line (defaults to PURIFYOPTIONS variable).])
133if test "x$with_purify_options" = "xno"; then
134  with_purify_options="-always-use-cache-dir=yes -cache-dir=/gnome/lib/purify"
135fi
136if test "x$PURIFYOPTIONS" = "x"; then
137  PURIFYOPTIONS=$with_purify_options
138fi
139AC_SUBST(PURIFY)
140AM_CONDITIONAL(ENABLE_PURIFY, test "x$enable_purify" = "xyes" -a "x$PURIFY" != "ximpure")
141PURIFY="$PURIFY $PURIFYOPTIONS"
142
143
144AC_PATH_PROG(SENDMAIL, sendmail, /usr/sbin/sendmail, /usr/sbin:/usr/lib)
145AC_DEFINE_UNQUOTED(SENDMAIL_PATH, "$SENDMAIL")
146
147AC_MSG_CHECKING(system mail directory)
148if test -d /var/mail -a '!' -h /var/mail ; then
149        system_mail_dir=/var/mail
150else
151        system_mail_dir=/var/spool/mail
152fi
153AC_DEFINE_UNQUOTED(SYSTEM_MAIL_DIR, "$system_mail_dir")
154
155case `ls -ld $system_mail_dir 2>&1 | awk '{print $1;}'` in
156d??????rw?)
157        CAMEL_LOCK_HELPER_USER=""
158        CAMEL_LOCK_HELPER_GROUP=""
159        system_mail_perm="world writable"
160        ;;
161
162d???rw????)
163        CAMEL_LOCK_HELPER_USER=""
164        CAMEL_LOCK_HELPER_GROUP=`ls -ld $system_mail_dir 2>&1 | awk '{print $4;}'`
165        system_mail_perm="writable by group $CAMEL_LOCK_HELPER_GROUP"
166        ;;
167
168drw???????)
169        CAMEL_LOCK_HELPER_USER=`ls -ld $system_mail_dir 2>&1 | awk '{print $3;}'`
170        CAMEL_LOCK_HELPER_GROUP=""
171        system_mail_perm="writable by user $CAMEL_LOCK_HELPER_USER"
172        ;;
173
174*)
175        CAMEL_LOCK_HELPER_USER=""
176        CAMEL_LOCK_HELPER_GROUP=""
177        system_mail_perm="???"
178        ;;
179esac
180
181AC_MSG_RESULT([$system_mail_dir, $system_mail_perm])
182AC_SUBST(CAMEL_LOCK_HELPER_USER)
183AC_SUBST(CAMEL_LOCK_HELPER_GROUP)
184
185dnl * Time zone stuff
186AC_CACHE_CHECK(for timezone variable, ac_cv_var_timezone,
187        AC_TRY_COMPILE([
188                #include <time.h>
189        ], [
190                timezone = 1;
191        ], ac_cv_var_timezone=yes, ac_cv_var_timezone=no))
192if test $ac_cv_var_timezone = yes; then
193        AC_DEFINE(HAVE_TIMEZONE)
194else
195        AC_CACHE_CHECK(for tm_gmtoff in struct tm, ac_cv_struct_tm_gmtoff,
196                AC_TRY_COMPILE([
197                        #include <time.h>
198                        ], [
199                        struct tm tm;
200                        tm.tm_gmtoff = 1;
201                        ], ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no))
202        if test $ac_cv_struct_tm_gmtoff = yes; then
203                AC_DEFINE(HAVE_TM_GMTOFF)
204        else
205                AC_ERROR(unable to find a way to determine timezone)
206        fi
207fi
208
209AC_CHECK_FUNCS(mkstemp mkdtemp isblank)
210
211dnl **************************************************
212dnl ctime_r prototype
213dnl **************************************************
214
215AC_CACHE_CHECK([if ctime_r wants three arguments], ac_cv_ctime_r_three_args,
216[
217        AC_TRY_COMPILE([
218                #include <time.h>
219        ],[
220                char *buf;
221                time_t date;
222                ctime_r( &date, buf, 100 );
223        ],[
224                ac_cv_ctime_r_three_args=yes
225        ],[
226                ac_cv_ctime_r_three_args=no
227        ])
228])
229       
230if test x"$ac_cv_ctime_r_three_args" = xyes ; then
231        AC_DEFINE(CTIME_R_THREE_ARGS)
232fi
233
234dnl **************************************************
235dnl gethostbyname_r prototype
236dnl **************************************************
237
238AC_CHECK_FUNCS(gethostbyname_r,[
239AC_CACHE_CHECK([if gethostbyname_r wants five arguments], ac_cv_gethostbyname_r_five_args,
240[
241        AC_TRY_COMPILE([
242                #include "confdefs.h"
243                #include <sys/types.h>
244                #include <sys/socket.h>
245                #include <netinet/in.h>
246                #include <netdb.h>
247
248                #define BUFSIZE (sizeof(struct hostent)+10)
249        ],[
250                struct hostent hent;
251                char buffer[BUFSIZE];
252                int bufsize=BUFSIZE;
253                int h_errno;
254
255                (void)gethostbyname_r( "www.ximian.com", &hent, buffer, bufsize, &h_errno);
256        ],[
257                ac_cv_gethostbyname_r_five_args=yes
258        ],[
259                ac_cv_gethostbyname_r_five_args=no
260        ])
261])])
262       
263if test x"$ac_cv_gethostbyname_r_five_args" = xyes ; then
264        AC_DEFINE(GETHOSTBYNAME_R_FIVE_ARGS)
265fi
266
267dnl ***********
268dnl * db3 stuff
269dnl ***********
270
271# To ensure that any copy of evolution of a given version can read
272# the data files of any other copy, we require a precise db3 version.
273# This can only change between Evolution versions (and then can only
274# go up.)
275evolution_db_version_major=3
276evolution_db_version_minor=1
277evolution_db_version_patch=17
278
279evolution_db_version=${evolution_db_version_major}.${evolution_db_version_minor}.${evolution_db_version_patch}
280AC_DEFINE_UNQUOTED(EVOLUTION_DB_VERSION_MAJOR,$evolution_db_version_major)
281AC_DEFINE_UNQUOTED(EVOLUTION_DB_VERSION_MINOR,$evolution_db_version_minor)
282AC_DEFINE_UNQUOTED(EVOLUTION_DB_VERSION_PATCH,$evolution_db_version_patch)
283
284
285AC_ARG_WITH(db3,          [  --with-db3=PREFIX              Location of db3],
286        [with_db3_includes="$withval/include"
287         with_db3_libs="$withval/lib"])
288AC_ARG_WITH(db3-includes, [  --with-db3-includes=PATH       Location of db3 includes],
289        with_db3_includes="$withval")
290AC_ARG_WITH(db3-libs,     [  --with-db3-libs=PATH           Location of db3 libs],
291        with_db3_libs="$withval")
292
293if test -z "$with_db3_libs"; then
294        with_db3_libs="/usr/lib"
295fi
296
297dnl The AC_CACHE_CHECK lets you avoid having to specify --with-db3
298dnl again with later configures
299AC_CACHE_CHECK([for db3 compiler flags], ac_cv_db3_cflags,
300[
301        if test -n "${with_db3_includes}"; then
302                ac_cv_db3_cflags="-I$with_db3_includes"
303        fi
304])
305DB3_CFLAGS=$ac_cv_db3_cflags
306AC_SUBST(DB3_CFLAGS)
307
308CPPFLAGS_save="$CPPFLAGS"
309CPPFLAGS="$DB3_CFLAGS $CPPFLAGS"
310AC_CHECK_HEADERS(db.h db3/db.h, break)
311
312AC_CACHE_CHECK([db3 header version], ac_cv_db3_header_version,
313[
314        AC_TRY_COMPILE([
315                #ifdef HAVE_DB3_DB_H
316                #include <db3/db.h>
317                #else
318                #include <db.h>
319                #endif
320        ],[
321                #if DB_VERSION_MAJOR != $evolution_db_version_major || \
322                    DB_VERSION_MINOR != $evolution_db_version_minor || \
323                    DB_VERSION_PATCH != $evolution_db_version_patch
324                #error
325                #endif
326        ], :, AC_MSG_ERROR(Found db.h is not version $evolution_db_version))
327
328        ac_cv_db3_header_version=$evolution_db_version
329])
330
331GNOME_PTHREAD_CHECK
332
333AC_CACHE_CHECK([for db3 library name], ac_cv_db3_ldadd,
334[
335        LIBS_save="$LIBS"
336        ac_cv_db3_ldadd=""
337
338        for name in db db3 db-3.1; do
339                LIBS="$LIBS_save $with_db3_libs/lib${name}.a $PTHREAD_LIB"
340                AC_TRY_LINK([
341                        #ifdef HAVE_DB3_DB_H
342                        #include <db3/db.h>
343                        #else
344                        #include <db.h>
345                        #endif
346                ],[
347                        DB *db;
348                        db_create (&db, 0, 0);
349                ], [
350                        ac_cv_db3_ldadd="$with_db3_libs/lib${name}.a $PTHREAD_LIB"
351                        break
352                ])
353        done
354        LIBS="$LIBS_save"
355
356        if test -z "$ac_cv_db3_ldadd"; then
357                AC_MSG_ERROR(Could not find db3 library)
358        fi
359])
360DB3_LDADD=$ac_cv_db3_ldadd
361AC_SUBST(DB3_LDADD)
362
363AC_CACHE_CHECK([that db3 library version matches header version], ac_cv_db3_lib_version_match,
364[
365        LIBS="$DB3_LDADD $LIBS"
366        AC_TRY_RUN([
367                #ifdef HAVE_DB3_DB_H
368                #include <db3/db.h>
369                #else
370                #include <db.h>
371                #endif
372
373                int
374                main (void)
375                {
376                        int major, minor, patch;
377
378                        db_version (&major, &minor, &patch);
379                        return !(major == DB_VERSION_MAJOR &&
380                                 minor == DB_VERSION_MINOR &&
381                                 patch == DB_VERSION_PATCH);
382                }
383        ], ac_cv_db3_lib_version_match=yes, ac_cv_db3_lib_version_match=no,
384        ac_cv_db3_lib_version_match=yes)
385])
386if test "$ac_cv_db3_lib_version_match" = no; then
387        AC_MSG_ERROR(db3 headers and library do not match... multiple copies installed?)
388fi
389
390CPPFLAGS="$CPPFLAGS_save"
391LIBS="$LIBS_save"
392
393
394dnl **************************************************
395dnl * ldap related stuff.
396dnl **************************************************
397AC_ARG_WITH(openldap,     [  --with-openldap=[no/yes/PREFIX]      Enable LDAP support in evolution])
398AC_ARG_WITH(static-ldap,  [  --with-static-ldap=[no/yes]          Link LDAP support statically into evolution ])
399AC_CACHE_CHECK([for OpenLDAP], ac_cv_with_openldap, ac_cv_with_openldap="${with_openldap:=no}")
400case $ac_cv_with_openldap in
401no|"")
402        msg_ldap=no
403        ;;
404yes)
405        with_openldap=/usr
406        msg_ldap=yes
407        ;;
408*)
409        with_openldap=$ac_cv_with_openldap
410        LDAP_CFLAGS="-I$ac_cv_with_openldap/include"
411        LDAP_LDFLAGS="-L$ac_cv_with_openldap/lib"
412        msg_ldap=yes
413        ;;
414esac
415
416if test "$msg_ldap" = yes; then
417
418        AC_DEFINE(HAVE_LDAP)
419
420        if test -f $with_openldap/lib/libldap.la; then
421                msg_ldap_linktype="(static)"
422        else
423                msg_ldap_linktype="(dynamic)"
424        fi
425
426
427        if test "${with_static_ldap+set}" = set; then
428                case $with_static_ldap in
429                no|"")
430                        msg_ldap_linktype="(dynamic)"
431                        ;;
432                *)
433                        msg_ldap_linktype="(static)"
434                        ;;
435                esac
436        fi
437
438        AC_CACHE_CHECK(if OpenLDAP is version 2.x, ac_cv_openldap_version2, [
439                CPPFLAGS_save="$CPPFLAGS"
440                CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
441                AC_EGREP_CPP(yes, [
442                        #include "ldap.h"
443                        #if LDAP_VENDOR_VERSION > 20000
444                        yes
445                        #endif
446                ], ac_cv_openldap_version2=yes, ac_cv_openldap_version2=no)
447                CPPFLAGS="$CPPFLAGS_save"
448        ])
449        if test "$ac_cv_openldap_version2" = no; then
450                AC_MSG_ERROR(evolution requires OpenLDAP version >= 2)
451        fi
452
453        AC_CHECK_LIB(resolv, res_query, LDAP_LIBS="-lresolv")
454        AC_CHECK_LIB(socket, bind, LDAP_LIBS="$LDAP_LIBS -lsocket")
455        AC_CHECK_LIB(nsl, gethostbyaddr, LDAP_LIBS="$LDAP_LIBS -lnsl")
456        AC_CHECK_LIB(lber, ber_get_tag, [
457                if test "$msg_ldap_linktype" = "(static)"; then
458                        LDAP_LIBS="$with_openldap/lib/liblber.a $LDAP_LIBS"
459
460                        # libldap might depend on OpenSSL... We need to pull
461                        # in the dependency libs explicitly here since we're
462                        # not using libtool for the configure test.
463                        if test -f $with_openldap/lib/libldap.la; then
464                                LDAP_LIBS="`. $with_openldap/lib/libldap.la; echo $dependency_libs` $LDAP_LIBS"
465                        fi
466                else
467                        LDAP_LIBS="-llber $LDAP_LIBS"
468                fi
469                AC_CHECK_LIB(ldap, ldap_open, [
470                                if test $msg_ldap_linktype = "(static)"; then
471                                        LDAP_LIBS="$with_openldap/lib/libldap.a $LDAP_LIBS"
472                                else
473                                        LDAP_LIBS="-lldap $LDAP_LIBS"
474                                fi],
475                        LDAP_LIBS="", $LDAP_LDFLAGS $LDAP_LIBS)
476                LDAP_LIBS="$LDAP_LDFLAGS $LDAP_LIBS"
477        ], LDAP_LIBS="", $LDAP_LDFLAGS $LDAP_LIBS)
478
479        if test -z "$LDAP_LIBS"; then
480                AC_MSG_ERROR(could not find OpenLDAP libraries)
481        elif test "$msg_ldap_linktype" = "(static)"; then
482                LDAP_LIBS="-Wl,-Bstatic $LDAP_LIBS -Wl,-Bdynamic"
483        fi
484
485        AC_SUBST(LDAP_CFLAGS)
486        AC_SUBST(LDAP_LIBS)
487fi
488AM_CONDITIONAL(ENABLE_LDAP, test $msg_ldap = yes)
489
490dnl **************************************************
491dnl NNTP support.
492dnl **************************************************
493AC_ARG_ENABLE(nntp,
494[  --enable-nntp=[no/yes]      Attempt to compile incomplete, unsupported NNTP code],,enable_nntp=no)
495if test "x$enable_nntp" = "xyes"; then
496        AC_DEFINE(ENABLE_NNTP)
497        msg_nntp=yes
498else
499        msg_nntp=no
500fi
501AM_CONDITIONAL(ENABLE_NNTP, test x$enable_nntp = xyes)
502
503dnl **************************************************
504dnl * Posix thread support
505dnl **************************************************
506
507dnl Hah! Threads are no longer an option
508dnl AC_ARG_WITH(threads, [  --with-threads          Include thread support],[
509dnl FIXME: support more thread types, pth at least
510
511GLIB_CONFIG=${GLIB_CONFIG-glib-config}
512GNOME_PTHREAD_CHECK
513
514if test "x$PTHREAD_LIB" = "x" ; then
515        AC_MSG_ERROR([POSIX threads are currently required for Evolution])
516fi
517
518dnl
519dnl Notice that this is a hack, and we wont be able to use this forever, but
520dnl at least for some time
521dnl
522
523THREADS_LIBS="$PTHREAD_LIB `$GLIB_CONFIG --libs gthread`"
524THREADS_CFLAGS="`$GLIB_CONFIG --cflags gthread`"
525
526AC_SUBST(THREADS_LIBS)
527AC_SUBST(THREADS_CFLAGS)
528AC_DEFINE(ENABLE_THREADS)
529
530dnl **************************************************
531dnl * File locking
532dnl **************************************************
533
534AC_ARG_ENABLE(dot-locking,
535[  --enable-dot-locking=[yes/no] Enable support for locking mail files with dot locking],,enable_dot_locking=yes)
536if test "x$enable_dot_locking" = "xyes"; then
537  AC_DEFINE(USE_DOT)
538  msg_dot=yes
539else
540  msg_dot=no   
541fi
542
543AC_ARG_ENABLE(file-locking,
544[  --enable-file-locking=[fcntl/flock/no] Enable support for locking mail files with file locking],,enable_file_locking=fcntl)
545if test "x$enable_file_locking" = "xfcntl"; then
546  AC_DEFINE(USE_FCNTL)
547  msg_file=fcntl
548else
549  if test "x$enable_file_locking" = "xflock"; then
550    AC_DEFINE(USE_FLOCK)
551    msg_file=flock
552  else
553    msg_file=no
554  fi
555fi
556
557dnl **************************************************
558dnl * sendmail operation
559dnl **************************************************
560
561AC_MSG_CHECKING(for SunOS broken spool format)
562if test "x$host_os" = "xsunos" ; then
563   with_broken_spool="yes"
564fi
565
566AC_ARG_WITH(broken-spool,
567[  --with-broken-spool=[yes/no] Using SunOS/Solaris sendmail which has a broken spool format],,with_broken_spool=${with_broken_spool:=no})
568
569if test "x$with_broken_spool" = "xyes"; then
570  AC_DEFINE(HAVE_BROKEN_SPOOL)
571fi
572
573AC_MSG_RESULT($with_broken_spool)
574
575dnl ***************
576dnl GNOME Libraries
577dnl ***************
578EVO_CHECK_LIB(Bonobo, bonobox, 1.0.3)
579EVO_CHECK_LIB(OAF, oaf, 0.6.2)
580EVO_CHECK_LIB(libglade, libglade, 0.14)
581EVO_CHECK_LIB(gdk-pixbuf with GNOME canvas support, gnomecanvaspixbuf, 0.9.0)
582EVO_CHECK_LIB(GNOME-VFS, vfs, 1.0)
583EVO_CHECK_LIB(libxml, xml, 1.8.10, 2.0)
584EVO_CHECK_LIB(bonobo-conf, bonobo_conf, 0.11)
585
586EVO_CHECK_LIB(GAL, gal, 0.19)
587EVO_CHECK_LIB(GtkHTML, gtkhtml, 1.0.1)
588
589dnl *************************
590dnl CFLAGS and LIBS and stuff
591dnl *************************
592GLIB_CFLAGS="`$GLIB_CONFIG --cflags`"
593GLIB_LIBS="`$GLIB_CONFIG --libs`"
594AC_SUBST(GLIB_CFLAGS)
595AC_SUBST(GLIB_LIBS)
596
597GAL_CFLAGS="`gnome-config --cflags gal`"
598GAL_LIBS="`gnome-config --libs gal`"
599AC_SUBST(GAL_CFLAGS)
600AC_SUBST(GAL_LIBS)
601
602BONOBO_CONF_CFLAGS="`gnome-config --cflags bonobo_conf`"
603BONOBO_CONF_LIBS="`gnome-config --libs bonobo_conf`"
604AC_SUBST(BONOBO_CONF_CFLAGS)
605AC_SUBST(BONOBO_CONF_LIBS)
606
607EXTRA_GNOME_LIBS="`gnome-config --libs bonobo libglade gdk_pixbuf libart gnomecanvaspixbuf gnomeui gal` $THREADS_LIBS"
608EXTRA_GNOME_CFLAGS="`gnome-config --cflags bonobo libglade gdk_pixbuf libart gnomecanvaspixbuf gnomeui gal` $THREADS_CFLAGS"
609
610AC_SUBST(EXTRA_GNOME_LIBS)
611AC_SUBST(EXTRA_GNOME_CFLAGS)
612
613BONOBO_GNOME_LIBS="`gnome-config --libs oaf bonobox_print libglade gdk_pixbuf gnomecanvaspixbuf gnomeui` $OAF_LIBS"
614BONOBO_GNOME_CFLAGS="`gnome-config --cflags oaf bonobox_print libglade gdk_pixbuf gnomecanvaspixbuf gnomeui` $OAF_CFLAGS"
615AC_SUBST(BONOBO_GNOME_LIBS)
616AC_SUBST(BONOBO_GNOME_CFLAGS)
617
618BONOBO_HTML_GNOME_LIBS="`gnome-config --libs oaf bonobox_print libglade gdk_pixbuf gtkhtml gnomecanvaspixbuf gnomeui ` $THREAD_LIBS"
619BONOBO_HTML_GNOME_CFLAGS="`gnome-config --cflags oaf bonobox_print libglade gdk_pixbuf gtkhtml gnomecanvaspixbuf gnomeui ` $THREAD_CFLAGS"
620AC_SUBST(BONOBO_HTML_GNOME_LIBS)
621AC_SUBST(BONOBO_HTML_GNOME_CFLAGS)
622
623GNOME_PRINT_LIBS=`gnome-config --libs print`
624GNOME_PRINT_CFLAGS=`gnome-config --cflags print`
625AC_SUBST(GNOME_PRINT_LIBS)
626AC_SUBST(GNOME_PRINT_CFLAGS)
627
628BONOBO_CONF_CFLAGS="`gnome-config --cflags bonobo_conf`"
629BONOBO_CONF_LIBS="`gnome-config --libs bonobo_conf`"
630AC_SUBST(BONOBO_CONF_CFLAGS)
631AC_SUBST(BONOBO_CONF_LIBS)
632
633GTKHTML_CFLAGS="`gnome-config --cflags gtkhtml`"
634GTKHTML_LIBS="`gnome-config --libs gtkhtml`"
635GTKHTML_DATADIR=`gnome-config --moddatadir gtkhtml`
636AC_SUBST(GTKHTML_CFLAGS)
637AC_SUBST(GTKHTML_LIBS)
638AC_SUBST(GTKHTML_DATADIR)
639
640GNOME_VFS_LIBS="`gnome-config --libs vfs`"
641GNOME_VFS_CFLAGS="`gnome-config --cflags vfs`"
642AC_SUBST(GNOME_VFS_LIBS)
643AC_SUBST(GNOME_VFS_CFLAGS)
644
645BONOBO_VFS_GNOME_LIBS="`gnome-config --libs oaf bonobox libglade gdk_pixbuf gnomecanvaspixbuf vfs gnomeui `"
646BONOBO_VFS_GNOME_CFLAGS="`gnome-config --cflags oaf bonobox libglade gdk_pixbuf gnomecanvaspixbuf vfs gnomeui `"
647AC_SUBST(BONOBO_VFS_GNOME_LIBS)
648AC_SUBST(BONOBO_VFS_GNOME_CFLAGS)
649
650CAMEL_CFLAGS="`gnome-config --cflags gal xml` $THREADS_CFLAGS"
651CAMEL_LIBS="`gnome-config --libs gal xml` $THREADS_LIBS"
652AC_SUBST(CAMEL_CFLAGS)
653AC_SUBST(CAMEL_LIBS)
654
655camel_providerdir='$(libdir)/evolution/camel-providers/'$EVOLUTION_MAJOR_VERSION.$EVOLUTION_MINOR_VERSION
656AC_SUBST(camel_providerdir)
657
658MAILER_CFLAGS="`gnome-config --cflags gtkhtml libglade gdk_pixbuf gnomecanvaspixbuf gnomeui gal bonobo_conf bonobox bonobox_print vfs oaf` $THREADS_CFLAGS"
659MAILER_LIBS="`gnome-config --libs gtkhtml libglade gdk_pixbuf gnomecanvaspixbuf gnomeui gal bonobo_conf bonobox bonobox_print vfs oaf` $THREADS_LIBS"
660AC_SUBST(MAILER_CFLAGS)
661AC_SUBST(MAILER_LIBS)
662
663dnl ******************************
664dnl Pilot checking
665dnl ******************************
666AC_ARG_ENABLE(pilot-conduits,
667[  --enable-pilot-conduits=[no/yes] Enable support for building pilot conduits.],,enable_pilot_conduits=no)
668if test "x$enable_pilot_conduits" = "xyes"; then
669        GNOME_PILOT_CHECK
670
671        CFLAGS_save="$CFLAGS"
672        CFLAGS="$CFLAGS $PISOCK_CFLAGS"
673        LDFLAGS_save="$LDFLAGS"
674        LDFLAGS="$LDFLAGS $PISOCK_LIBS"
675
676        AC_CACHE_CHECK([if pilot-link handles UTF-8 conversions], ac_cv_pilot_link_utf8, AC_TRY_RUN([
677
678#include <stdlib.h>
679#include <string.h>
680#include <pi-util.h>
681
682int main (int argc, char **argv)
683{
684        const char *utf8 = "\x66\x66\x66\x66\x66\x66\x66\xC2\xA9";
685        size_t utf8_real_len = strlen (utf8);
686        char *pstring; 
687
688        if (convert_ToPilotChar ("UTF-8", utf8, utf8_real_len, &pstring) == -1)
689                exit (1);
690
691        exit (0);
692}
693], ac_cv_pilot_link_utf8=yes, ac_cv_pilot_link_utf8=no, ac_cv_pilot_link_utf8=no))
694
695        CFLAGS="$CFLAGS_save"
696        LDFLAGS="$LDFLAGS_save"
697
698        if test "$ac_cv_pilot_link_utf8" = no; then
699                AC_MSG_ERROR(evolution requires pilot-link to have working UTF-8 conversion routines)
700        fi
701fi
702AM_CONDITIONAL(ENABLE_PILOT_CONDUITS, test "x$enable_pilot_conduits" = "xyes")
703if test x$enable_pilot_conduits = xyes; then
704   msg_pilot=yes
705else
706   msg_pilot=no
707fi
708
709dnl ********
710dnl Kerberos
711dnl ********
712AC_SEARCH_LIBS(gethostbyname, nsl)
713AC_SEARCH_LIBS(socket, socket)
714
715AC_ARG_WITH(krb5, [  --with-krb5=PREFIX      Location of Kerberos 5 libs/includes])
716AC_ARG_WITH(krb4, [  --with-krb4=PREFIX      Location of Kerberos 4 libs/includes])
717msg_krb5=no
718if test ${with_krb5:=no} != no; then
719        LDFLAGS_save="$LDFLAGS"
720        LIBS_save="$LIBS"
721
722        mitlibs="-lkrb5 -lk5crypto -lcom_err"
723        heimlibs="-lkrb5 -lcrypto -lasn1 -lcom_err -lroken"
724        AC_CACHE_CHECK([for Kerberos 5], ac_cv_lib_kerberos5,
725        [
726                LDFLAGS="$LDFLAGS -L$with_krb5/lib"
727                LIBS="$LIBS $mitlibs"
728                AC_TRY_LINK_FUNC(krb5_init_context, ac_cv_lib_kerberos5="$mitlibs",
729                [
730                        LDFLAGS="$LDFLAGS_save -L$with_krb5/lib"
731                        LIBS="$LIBS_save $heimlibs"
732                        AC_TRY_LINK_FUNC(krb5_init_context, ac_cv_lib_kerberos5="$heimlibs", ac_cv_lib_kerberos5=no)
733                ])
734                LDFLAGS="$LDFLAGS_save"
735                LIBS="$LIBS_save"
736        ])
737        if test "$ac_cv_lib_kerberos5" != no; then
738                AC_DEFINE(HAVE_KRB5)
739                msg_krb5=yes
740                KRB5_CFLAGS="-I$with_krb5/include/krb5"
741                KRB5_LDFLAGS="-L$with_krb5/lib"
742                KRB5_LIBS="$ac_cv_lib_kerberos5"
743        fi
744else
745        AC_MSG_CHECKING(for Kerberos 5)
746        AC_MSG_RESULT($with_krb5)
747fi
748
749msg_krb4=no
750if test x${with_krb4:=no} != xno; then
751        LDFLAGS_save="$LDFLAGS"
752        LIBS_save="$LIBS"
753        AC_CACHE_CHECK(for Kerberos 4, ac_cv_lib_kerberos4,
754        [
755                ac_cv_lib_kerberos4=no
756
757                case $ac_cv_lib_kerberos5 in
758                *k5crypto*)
759                        # Look for MIT krb5 compat krb4
760                        LDFLAGS="$LDFLAGS -L$with_krb4/lib $KRB5_LDFLAGS"
761                        LIBS="$LIBS -lkrb4 -ldes425 $KRB5_LIBS"
762                        AC_TRY_LINK_FUNC(krb_mk_req,
763                        [
764                                ac_cv_lib_kerberos4="-lkrb4 -ldes425 $KRB5_LIBS"
765                                ac_cv_ldflag_kerberos4="$KRB5_LDFLAGS"
766                        ])
767                        ;;
768                esac
769
770                if test "$ac_cv_lib_kerberos4" = no; then
771                        # Look for KTH krb4
772                        LDFLAGS="$LDFLAGS_save -L$with_krb4/lib"
773                        LIBS="$LIBS_save -lkrb -lcrypto -lcom_err -lroken"
774                        AC_TRY_LINK_FUNC(krb_mk_req, ac_cv_lib_kerberos4="-lkrb -lcrypto -lcom_err -lroken")
775                fi
776                if test "$ac_cv_lib_kerberos4" = no; then
777                        # Look for old MIT krb4
778                        LDFLAGS="$LDFLAGS_save -L$with_krb4/lib"
779                        LIBS="$LIBS_save -lkrb"
780                        AC_TRY_LINK_FUNC(krb_mk_req, ac_cv_lib_kerberos4=-lkrb,
781                        [
782                                LIBS="$LIBS -ldes"
783                                AC_TRY_LINK_FUNC(krb_mk_req, ac_cv_lib_kerberos4="-lkrb -ldes")
784                        ])
785                fi
786        ])
787        LDFLAGS="$LDFLAGS_save"
788        LIBS="$LIBS_save"
789        if test "$ac_cv_lib_kerberos4" != no; then
790                AC_DEFINE(HAVE_KRB4)
791                msg_krb4=yes
792                if test -f "$with_krb4/include/krb.h" -o -f "$with_krb4/include/port-sockets.h"; then
793                        KRB4_CFLAGS="-I$with_krb4/include"
794                else
795                        KRB4_CFLAGS="-I$with_krb4/include/kerberosIV"
796                fi
797                KRB4_LDFLAGS="-L$with_krb4/lib $ac_cv_ldflag_kerberos4"
798                KRB4_LIBS="$ac_cv_lib_kerberos4"
799
800                CFLAGS_save="$CFLAGS"
801                CFLAGS="$CFLAGS $KRB4_CFLAGS"
802                AC_TRY_COMPILE([#include "krb.h"
803                int krb_sendauth;
804                ],[return 0],[AC_DEFINE(NEED_KRB_SENDAUTH_PROTO)],)
805                CFLAGS="$CFLAGS_save"
806        fi
807else
808        AC_MSG_CHECKING(for Kerberos 4)
809        AC_MSG_RESULT(${with_krb4})
810fi
811
812AC_SUBST(KRB5_CFLAGS)
813AC_SUBST(KRB5_LDFLAGS)
814AC_SUBST(KRB5_LIBS)
815AC_SUBST(KRB4_CFLAGS)
816AC_SUBST(KRB4_LDFLAGS)
817AC_SUBST(KRB4_LIBS)
818
819
820dnl ==========================
821dnl Pedantic PGP/MIME
822dnl ==========================
823AC_ARG_ENABLE(pedantic-pgp-mime,
824[  --enable-pedantic-pgp-mime=[no/yes] Enable pedantic PGP/MIME handling (not recommended)],,enable_pedantic_pgp_mime=no)
825if test "x$enable_pedantic_pgp_mime" = "xyes"; then
826        AC_DEFINE(ENABLE_PEDANTIC_PGPMIME)
827fi
828
829
830dnl ********************************************************************************
831dnl security extension support (SSL and S/MIME)
832dnl
833dnl The following voodoo does detection of mozilla libraries (nspr and nss)
834dnl needed by Camel (SSL and S/MIME).
835dnl
836dnl The Evolution security extensions are only built if these libraries are found
837dnl ********************************************************************************
838msg_ssl=no
839AC_ARG_WITH(nspr-includes, [  --with-nspr-includes=PREFIX     Location of Mozilla nspr4 includes.],
840        with_nspr_includes="$withval", with_nspr_includes="/usr/include/nspr")
841have_nspr_includes="no"
842if test "x${with_nspr_includes}" != "xno"; then
843        CPPFLAGS_save="$CPPFLAGS"
844       
845        AC_MSG_CHECKING(for Mozilla nspr4 includes in $with_nspr_includes)
846        AC_MSG_RESULT("")
847       
848        CPPFLAGS="$CPPFLAGS -I$with_nspr_includes"
849        AC_CHECK_HEADERS(nspr.h prio.h, [ moz_nspr_includes="yes" ])
850        CPPFLAGS="$CPPFLAGS_save"
851       
852        if test "x{$moz_nspr_includes}" != "xno" -a "x{$moz_nspr_includes}" != "x" ; then
853                have_nspr_includes="yes"
854                NSPR_CFLAGS="-I$with_nspr_includes"
855        fi
856else
857        AC_MSG_CHECKING(for Mozilla nspr4 includes)
858        AC_MSG_RESULT(no)
859fi
860
861AC_ARG_WITH(nspr-libs, [  --with-nspr-libs=PREFIX     Location of Mozilla nspr4 libs.],
862        with_nspr_libs="$withval")
863have_nspr_libs="no"
864if test "x${with_nspr_libs}" != "xno" -a "x${have_nspr_includes}" != "xno"; then
865        CFLAGS_save="$CFLAGS"
866        LDFLAGS_save="$LDFLAGS"
867       
868        nsprlibs="-lplc4 -lplds4 -lnspr4 $PTHREAD_LIB"
869        AC_CACHE_CHECK([for Mozilla nspr libraries], moz_nspr_libs,
870        [
871                CFLAGS="$CFLAGS $NSPR_CFLAGS"
872               
873                if test "x${with_nspr_libs}" != "x"; then
874                        LDFLAGS="$LDFLAGS -L$with_nspr_libs $nsprlibs"
875                else
876                        LDFLAGS="$LDFLAGS $nsprlibs"
877                fi
878               
879                AC_TRY_LINK_FUNC(PR_Init, moz_nspr_libs="yes", moz_nspr_libs="no")
880                CFLAGS="$CFLAGS_save"
881                LDFLAGS="$LDFLAGS_save"
882        ])
883        if test "x$moz_nspr_libs" != "xno"; then
884                have_nspr_libs="yes"
885                NSPR_LDFLAGS="-L$with_nspr_libs $nsprlibs"
886        else
887                NSPR_CLFAGS=""
888        fi
889else
890        AC_MSG_CHECKING(for Mozilla nspr4 libraries)
891        AC_MSG_RESULT(no)
892fi
893
894AC_ARG_WITH(nss-includes, [  --with-nss-includes=PREFIX     Location of Mozilla nss3 includes.],
895        with_nss_includes="$withval", with_nss_includes="/usr/include/moznss")
896if test "x${with_nss_includes}" != "xno" -a "x${have_nspr_libs}" != "xno"; then
897        CPPFLAGS_save="$CPPFLAGS"
898       
899        AC_MSG_CHECKING(for Mozilla nss3 includes in $with_nss_includes)
900        AC_MSG_RESULT("")
901
902        if test "x${with_nspr_includes}" != "x"; then
903                CPPFLAGS="$CPPFLAGS -I$with_nspr_includes -I$with_nss_includes"
904        else
905                CPPFLAGS="$CPPFLAGS -I$with_nss_includes"
906        fi
907
908        AC_CHECK_HEADERS(nss.h ssl.h smime.h,
909                [ have_nss_includes="yes" ],
910                [ have_nss_includes="no" ])
911
912        CPPFLAGS="$CPPFLAGS_save"
913
914        if test "x${have_nss_includes}" = xyes ; then   
915                have_nss_includes="yes"
916                NSS_CFLAGS="-I$with_nss_includes"
917        else
918                NSPR_CFLAGS=""
919                NSPR_LDFLAGS=""
920        fi
921else
922        AC_MSG_CHECKING(for Mozilla nss3 includes)
923        AC_MSG_RESULT(no)
924fi
925
926AC_ARG_WITH(nss-libs, [  --with-nss-libs=PREFIX         Location of Mozilla nss3 libs.],
927        with_nss_libs="$withval")
928if test "x${with_nss_libs}" != "xno" -a "x${have_nss_includes}" != "xno"; then
929        LDFLAGS_save="$LDFLAGS"
930       
931        nsprlibs="-lplc4 -lplds4 -lnspr4 $PTHREAD_LIB"
932        nsslibs="-lssl3 -lsmime3 -lnss3"
933        AC_CACHE_CHECK([for Mozilla nss libraries], moz_nss_libs,
934        [
935                LDFLAGS="$LDFLAGS -L$with_nspr_libs $nsprlibs -L$with_nss_libs $nsslibs"
936                AC_TRY_LINK_FUNC(NSS_Init, moz_nss_libs="yes", moz_nss_libs="no")
937                LDFLAGS="$LDFLAGS_save"
938        ])
939        if test "$moz_nss_libs" != no; then
940                AC_DEFINE(HAVE_NSS)
941                AC_DEFINE(HAVE_SSL)
942                msg_ssl="yes (Mozilla NSS)"
943                NSS_LDFLAGS="-L$with_nss_libs $nsslibs"
944        else
945                NSS_CFLAGS=""
946                NSPR_CFLAGS=""
947                NSPR_LDFLAGS=""
948        fi
949else
950        AC_MSG_CHECKING(for Mozilla nss libraries)
951        AC_MSG_RESULT(no)
952fi
953
954AC_SUBST(NSPR_CFLAGS)
955AC_SUBST(NSPR_LDFLAGS)
956AC_SUBST(NSS_CFLAGS)
957AC_SUBST(NSS_LDFLAGS)
958
959##################################################
960# Check for gtk-doc.
961##################################################
962
963AC_ARG_WITH(html-dir, [  --with-html-dir=PATH path to installed docs ])
964
965if test "x$with_html_dir" = "x" ; then
966  HTML_DIR='${datadir}/gnome/html'
967else
968  HTML_DIR=$with_html_dir
969fi
970
971AC_SUBST(HTML_DIR)
972
973AC_CHECK_PROG(GTKDOC, gtkdoc-mkdb, true, false)
974
975gtk_doc_min_version=0.6
976if $GTKDOC ; then
977    gtk_doc_version=`gtkdoc-mkdb --version`
978    AC_MSG_CHECKING([gtk-doc version ($gtk_doc_version) >= $gtk_doc_min_version])
979    if perl <<EOF ; then
980      exit (("$gtk_doc_version" =~ /^[[0-9]]+\.[[0-9]]+$/) &&
981            ("$gtk_doc_version" >= "$gtk_doc_min_version") ? 0 : 1);
982EOF
983      AC_MSG_RESULT(yes)
984   else
985      AC_MSG_RESULT(no)
986      GTKDOC=false
987   fi
988fi
989
990dnl Let people disable the gtk-doc stuff.
991AC_ARG_ENABLE(gtk-doc, [  --enable-gtk-doc  Use gtk-doc to build documentation [default=auto]], enable_gtk_doc="$enableval", enable_gtk_doc=auto)
992
993if test x$enable_gtk_doc = xauto ; then
994  if test x$GTKDOC = xtrue ; then
995    enable_gtk_doc=yes
996  else
997    enable_gtk_doc=no
998  fi
999fi
1000
1001AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes)
1002
1003dnl ******************
1004dnl Sub-version number
1005dnl ******************
1006AC_ARG_WITH(sub-version, [  --with-sub-version=VERSION Specify a sub-version string])
1007AC_DEFINE_UNQUOTED(SUB_VERSION, "$with_sub_version")
1008
1009dnl ********************
1010dnl KDE applnk directory
1011dnl ********************
1012AC_ARG_WITH(kde-applnk-path, [  --with-kde-applnk-path=PATH    Location of KDE applnk files],
1013            [with_kde_applnk_path="$withval"])
1014AC_MSG_CHECKING(for the KDE applnk directory)
1015if test -z "$with_kde_applnk_path"; then
1016        with_kde_applnk_path="$prefix/share/applnk"
1017fi
1018if test -d "$with_kde_applnk_path" ; then
1019        AC_MSG_RESULT("$with_kde_applnk_path" found)
1020        AC_DEFINE(HAVE_KDE_APPLNK)
1021        KDE_APPLNK_DIR="$with_kde_applnk_path"
1022else
1023        AC_MSG_RESULT(not found)
1024        KDE_APPLNK_DIR=""
1025fi
1026AM_CONDITIONAL(HAVE_KDE_APPLNK, test x"$KDE_APPLNK_DIR" != x)
1027AC_SUBST(KDE_APPLNK_DIR)
1028
1029dnl ******************************
1030dnl Makefiles
1031dnl ******************************
1032
1033AC_CONFIG_SUBDIRS(libical)
1034
1035EVOLUTION_DIR=`(cd $srcdir; pwd)`
1036AC_SUBST(EVOLUTION_DIR)
1037
1038AC_OUTPUT([
1039Makefile
1040addressbook/Makefile
1041addressbook/backend/Makefile
1042addressbook/backend/ebook/Makefile
1043addressbook/backend/idl/Makefile
1044addressbook/backend/pas/Makefile
1045addressbook/conduit/Makefile
1046addressbook/gui/Makefile
1047addressbook/gui/component/Makefile
1048addressbook/gui/component/select-names/Makefile
1049addressbook/gui/contact-editor/Makefile
1050addressbook/gui/contact-list-editor/Makefile
1051addressbook/gui/merging/Makefile
1052addressbook/gui/search/Makefile
1053addressbook/gui/widgets/Makefile
1054addressbook/printing/Makefile
1055art/Makefile
1056calendar/Makefile
1057calendar/cal-client/Makefile
1058calendar/cal-util/Makefile
1059calendar/conduits/Makefile
1060calendar/conduits/calendar/Makefile
1061calendar/conduits/todo/Makefile
1062calendar/gui/Makefile
1063calendar/gui/alarm-notify/Makefile
1064calendar/gui/dialogs/Makefile
1065calendar/idl/Makefile
1066calendar/importers/Makefile
1067calendar/pcs/Makefile
1068camel/Makefile
1069camel/providers/Makefile
1070camel/providers/imap/Makefile
1071camel/providers/local/Makefile
1072camel/providers/nntp/Makefile
1073camel/providers/pop3/Makefile
1074camel/providers/sendmail/Makefile
1075camel/providers/smtp/Makefile
1076camel/tests/Makefile
1077camel/tests/folder/Makefile
1078camel/tests/lib/Makefile
1079camel/tests/message/Makefile
1080camel/tests/mime-filter/Makefile
1081camel/tests/misc/Makefile
1082camel/tests/smime/Makefile
1083camel/tests/stream/Makefile
1084composer/Makefile
1085data/Makefile
1086default_user/Makefile
1087default_user/local/Makefile
1088default_user/local/Calendar/Makefile
1089default_user/local/Contacts/Makefile
1090default_user/local/Drafts/Makefile
1091default_user/local/Inbox/Makefile
1092default_user/local/Outbox/Makefile
1093default_user/local/Sent/Makefile
1094default_user/local/Tasks/Makefile
1095default_user/local/Trash/Makefile
1096doc/Makefile
1097doc/devel/Makefile
1098doc/devel/calendar/Makefile
1099doc/devel/calendar/cal-client/Makefile
1100doc/devel/calendar/cal-util/Makefile
1101e-util/Makefile
1102e-util/ename/Makefile
1103filter/Makefile
1104help/Makefile
1105help/C/Makefile
1106help/no/Makefile
1107importers/Makefile
1108intl/Makefile
1109libibex/Makefile
1110libversit/Makefile
1111libwombat/Makefile
1112macros/Makefile
1113mail/Makefile
1114mail/importers/Makefile
1115my-evolution/Makefile
1116omf-install/Makefile
1117po/Makefile.in
1118shell/Makefile
1119shell/glade/Makefile
1120shell/importer/Makefile
1121tools/Makefile
1122ui/Makefile
1123views/Makefile
1124views/addressbook/Makefile
1125views/calendar/Makefile
1126views/mail/Makefile
1127views/tasks/Makefile
1128widgets/Makefile
1129widgets/e-timezone-dialog/Makefile
1130widgets/menus/Makefile
1131widgets/misc/Makefile
1132wombat/Makefile
1133])
1134
1135if test "x$with_sub_version" != "x"; then
1136echo "
1137        Evolution ($with_sub_version) has been configured as follows: "
1138else
1139echo "
1140        Evolution has been configured as follows: "
1141fi
1142
1143echo "
1144        Mail Directory:   $system_mail_dir, $system_mail_perm
1145        LDAP support:     $msg_ldap $msg_ldap_linktype"
1146if test "$msg_nntp" = "yes"; then
1147echo "\
1148        NNTP support:     $msg_nntp"
1149fi
1150echo "\
1151        Pilot conduits:   $msg_pilot
1152        Kerberos 4/5:     $msg_krb4/$msg_krb5
1153        SSL support:      $msg_ssl
1154        Dot Locking:      $msg_dot
1155        File Locking:     $msg_file
1156        Gtk-doc:          $enable_gtk_doc"
1157
1158if test x$enable_gtk_doc = xyes; then
1159echo "
1160        Programming documentation files will be built automatically.
1161"
1162else
1163echo "
1164        Programming documentation files will not be built.
1165        You may want to install the gtk-doc package
1166        so that you will get the Evolution Developer's Guide.
1167"
1168fi
Note: See TracBrowser for help on using the repository browser.