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

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