From d0df7bb2932cb4304fdc4476786f252672799ee1 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 16 Apr 2001 15:52:49 +0000 Subject: Pull up fix from the branch: Check for Editor.idl in the GNOME_PATH as well. Add `doc' to the SUBDIRS in the top-level Makefile. svn path=/trunk/; revision=9376 --- ChangeLog | 6 ++++++ Makefile.am | 1 + configure.in | 24 ++++++++++++++++++++---- 3 files changed, 27 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index c8dbd2ccf3..4cf098da8e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-04-16 Ettore Perazzoli + + * Makefile.am (SUBDIRS): Add `doc'. + + * configure.in: Check for Editor.idl using `$GNOME_PATH' as well. + 2001-04-12 Christopher James Lahey * configure.in: Updated the required version of gal to 0.6.99.0. diff --git a/Makefile.am b/Makefile.am index cc6c804035..316f53fbfd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -14,6 +14,7 @@ EXTRA_DIST = \ xml-i18n-extract.in SUBDIRS = \ + doc \ intl \ macros \ data \ diff --git a/configure.in b/configure.in index 26665c9231..ae6910c3aa 100644 --- a/configure.in +++ b/configure.in @@ -369,14 +369,30 @@ fi AC_MSG_CHECKING(for Editor.idl in `gnome-config --datadir`/gtkhtml or ${html_prefix}/share/gtkhtml) if test -f `gnome-config --datadir`/gtkhtml/Editor.idl; then GTK_HTML_EDITOR_IDL=`gnome-config --datadir`/gtkhtml/Editor.idl - AC_MSG_RESULT(found) + AC_MSG_RESULT(found - $GTK_HTML_EDITOR_IDL) else if test -f ${html_prefix}/share/gtkhtml/Editor.idl; then GTK_HTML_EDITOR_IDL=${html_prefix}/share/gtkhtml/Editor.idl - AC_MSG_RESULT(found) + AC_MSG_RESULT(found - $GTK_HTML_EDITOR_IDL) else - AC_MSG_ERROR(Editor.idl is required to compile Evolution composer, it's included in GtkHTML -You need GtkHTML build with html-editor-control) + AC_MSG_RESULT(not found) + if test "x$GNOME_PATH" != "x" ; then + for dir in `echo $GNOME_PATH | sed -e "s/:/ /" `; do + AC_MSG_CHECKING(for Editor.idl in ${dir}) + if test -f ${dir}/share/gtkhtml/Editor.idl ; then + GTK_HTML_EDITOR_IDL=${dir}/share/gtkhtml/Editor.idl + AC_MSG_RESULT(found - $GTK_HTML_EDITOR_IDL) + break + else + AC_MSG_RESULT(not found) + fi + done + fi + + if test "x$GTK_HTML_EDITOR_IDL" = "x" ; then + AC_MSG_ERROR(Editor.idl is required to compile Evolution; it's included in GtkHTML. +You need GtkHTML built with html-editor-control) + fi fi fi -- cgit