diff -NurB katoob-0.3.5-orig/src/katoobdocument.c katoob-0.3.5/src/katoobdocument.c --- katoob-0.3.5-orig/src/katoobdocument.c 2003-10-02 06:22:00.000000000 -0500 +++ katoob-0.3.5/src/katoobdocument.c 2003-10-02 06:31:50.000000000 -0500 @@ -2836,10 +2836,12 @@ (GTK_TEXT_VIEW (doc->priv->textview)->buffer), FALSE); +#ifdef HAVE_SPELL if (config->spell_check) { katoob_document_enable_spell_checker (doc); } +#endif katoob_document_set_bidi (doc, config->text_dir); return; @@ -3027,7 +3029,9 @@ break; } } +#ifdef HAVE_SPELL katoob_document_disable_spell_checker (doc); +#endif katoob_document_set_bidi (doc, KATOOB_BIDI_LTR); } diff -NurB katoob-0.3.5-orig/src/Makefile.in katoob-0.3.5/src/Makefile.in --- katoob-0.3.5-orig/src/Makefile.in 2003-10-02 06:22:00.000000000 -0500 +++ katoob-0.3.5/src/Makefile.in 2003-10-02 06:23:29.000000000 -0500 @@ -134,11 +134,11 @@ EXTRA_DIST = katoobmarshalers.list bin_PROGRAMS = katoob -INCLUDES = $(SPELL_CFLAGS) $(KATOOB_CFLAGS) $(HIGHLIGHT_CFLAGS) -I./fribidi/ \ - $(PANGOFT2_CFLAGS) +INCLUDES = $(PANGOFT2_CFLAGS) $(SPELL_CFLAGS) $(KATOOB_CFLAGS) \ + $(HIGHLIGHT_CFLAGS) -I./fribidi/ -katoob_LDADD = -L./fribidi -lfribidi $(SPELL_LIBS) $(KATOOB_LIBS) \ - $(PANGOFT2_LIBS) $(HIGHLIGHT_LIBS) $(spell_cxx) +katoob_LDADD = -L./fribidi -lfribidi $(PANGOFT2_LIBS) $(SPELL_LIBS) \ + $(KATOOB_LIBS) $(HIGHLIGHT_LIBS) $(spell_cxx) katoob_DEPENDENCIES = fribidi/libfribidi.la