From: Melvin Hadasht Date: Sun, 17 Feb 2002 20:04:13 +0000 (+0000) Subject: Added PSPELL_PATH configuration macro X-Git-Tag: rel_0_7_2~6 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=aaad8b99b196c1bed165a0d43d019f2093d4247a Added PSPELL_PATH configuration macro --- diff --git a/ChangeLog.claws b/ChangeLog.claws index 6a99657c1..1ebe9742f 100644 --- a/ChangeLog.claws +++ b/ChangeLog.claws @@ -1,3 +1,13 @@ +2002-02-17 [melvin] 0.7.1claws10 + + * acconfig.h + * configure.in + Added PSPELL_PATH macro and removed obsolete ISPELL_PATH + * src/prefs_common.c + Pspell data package directory no more hard coded but + set during configuration (PSPELL_PATH). (Thanks to + Gustavo Noronha Silva.) + 2002-02-17 [melvin] 0.7.1claws9 * src/gtkspell.c diff --git a/acconfig.h b/acconfig.h index 296030529..e46d58af1 100644 --- a/acconfig.h +++ b/acconfig.h @@ -21,6 +21,9 @@ /* Define if you use PSPELL to support spell checking */ #undef USE_PSPELL +/* Define PSPELL's default directory */ +#undef PSPELL_PATH + /* Define if you use OpenSSL to support SSL */ #undef USE_SSL @@ -40,6 +43,3 @@ #undef CLAWS #undef PACKAGE_DATA_DIR - -/* Has ispell path */ -#undef ISPELL_PATH diff --git a/configure.in b/configure.in index e141644e5..3dfbd791d 100644 --- a/configure.in +++ b/configure.in @@ -8,7 +8,7 @@ MINOR_VERSION=7 MICRO_VERSION=1 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=claws9 +EXTRA_VERSION=claws10 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION dnl set $target diff --git a/src/prefs_common.c b/src/prefs_common.c index a64a107bc..4b9af4997 100644 --- a/src/prefs_common.c +++ b/src/prefs_common.c @@ -358,7 +358,7 @@ static PrefParam param[] = { {"enable_pspell", "TRUE", &prefs_common.enable_pspell, P_BOOL, &spelling.checkbtn_enable_pspell, prefs_set_data_from_toggle, prefs_set_toggle}, - {"pspell_path", "/usr/local/share/pspell/", &prefs_common.pspell_path, + {"pspell_path", PSPELL_PATH, &prefs_common.pspell_path, P_STRING, &spelling.entry_pspell_path, prefs_set_data_from_entry, prefs_set_entry}, {"dictionary", "", &prefs_common.dictionary,