diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 258 |
1 files changed, 0 insertions, 258 deletions
diff --git a/configure.in b/configure.in deleted file mode 100644 index 11aca764cb..0000000000 --- a/configure.in +++ /dev/null @@ -1,258 +0,0 @@ -# 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 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 -]) |