diff options
author | J M Maurer <uwog@uwog.net> | 2003-10-20 15:39:34 +0000 |
---|---|---|
committer | J M Maurer <uwog@uwog.net> | 2003-10-20 15:39:34 +0000 |
commit | 8ab3d86b2618f1940d7d011acbe709452e1e5d51 (patch) | |
tree | af0259c2728d136846d28ecf51d00d0ebbffc360 | |
parent | 9582e8b41f0d39842726cd3ef53c01a5b1b2ddc7 (diff) | |
download | enchant-8ab3d86b2618f1940d7d011acbe709452e1e5d51.tar.gz |
Fix aspell detection for stock RH systems
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@20882 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rw-r--r-- | configure.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.in b/configure.in index b1ee4f4..1e58b8c 100644 --- a/configure.in +++ b/configure.in @@ -145,13 +145,15 @@ if test "x$check_aspell" != "xno"; then if test "x$ASPELL_DICT_DIR" = "x"; then AC_MSG_WARN([Didn't find aspell >= 0.50.0 and no explicit path aspell specified. Guessing at $aspell_prefix]) ASPELL_LIBS="-L$aspell_prefix/lib -laspell" - ASPELL_DICT_DIR="\"$aspell_prefix/lib/aspell\"" + ASPELL_DICT_DIR="'\"$aspell_prefix/lib/aspell\"'" fi fi - AC_CHECK_LIB(aspell,new_aspell_config,build_aspell=yes,AC_MSG_WARN([Enchant building without the aspell library]),) + AC_CHECK_LIB(aspell,new_aspell_config,build_aspell=yes, + [AC_CHECK_LIB(pspell, new_pspell_config, build_aspell=yes, AC_MSG_WARN([Enchant building without the aspell library]))] + ,) LDFLAGS=$saved_LDFLAGS - + AC_SUBST(ASPELL_INC) AC_SUBST(ASPELL_LIBS) AC_SUBST(ASPELL_DICT_DIR) |