diff options
author | Dom Lachowicz <domlachowicz@gmail.com> | 2006-04-18 01:42:10 +0000 |
---|---|---|
committer | Dom Lachowicz <domlachowicz@gmail.com> | 2006-04-18 01:42:10 +0000 |
commit | 1aa19d515509c282d0007d76136a1367aec9db6a (patch) | |
tree | 7b81b9c0f5de86f2037935b8e3a7213b068de451 | |
parent | fd6ea00930bbf015cc372ce1b860938df9da6e9f (diff) | |
download | enchant-1aa19d515509c282d0007d76136a1367aec9db6a.tar.gz |
bug 10190
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@21129 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rw-r--r-- | configure.in | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/configure.in b/configure.in index acaa9e3..aabda2a 100644 --- a/configure.in +++ b/configure.in @@ -137,16 +137,16 @@ build_aspell=no AC_ARG_ENABLE(aspell, [ --disable-aspell enable the aspell backend [default=auto]], check_aspell="$enableval", check_aspell=yes) AC_ARG_WITH(aspell-prefix, [ --with-aspell-prefix=DIR - specify under which prefix aspell is installed.], with_aspell_prefix="$withval", ) + specify under which prefix aspell is installed.], aspell_prefix="$withval", ) if test "x$check_aspell" != "xno"; then saved_LDFLAGS=$LDFLAGS ASPELL_CFLAGS= - if test "x$with_aspell_prefix" != "x"; then - LDFLAGS="-L$with_aspell_prefix/lib "$LDFLAGS - ASPELL_INC="-I$with_aspell_prefix/include" - ASPELL_LIBS="-L$with_aspell_prefix/lib -laspell" + if test "x$aspell_prefix" != "x"; then + LDFLAGS="-L$aspell_prefix/lib "$LDFLAGS + ASPELL_INC="-I$aspell_prefix/include" + ASPELL_LIBS="-L$aspell_prefix/lib -laspell" else aspell_prefix=${prefix} if test "x$prefix" = "xNONE"; then @@ -227,7 +227,7 @@ check_hspell=yes AC_ARG_ENABLE(hspell, [ --disable-hspell enable the hspell backend [default=auto]], check_hspell="$enableval", check_hspell=yes) AC_ARG_WITH(hspell-prefix, [ --with-hspell-prefix=DIR - specify under which prefix hspell is installed.], with_hspell_prefix="$withval", ) + specify under which prefix hspell is installed.], hspell_prefix="$withval", ) dnl change to pkg-config when hspell provides a hspell.pc file @@ -237,10 +237,10 @@ if test "x$check_hspell" != "xno"; then HSPELL_CFLAGS= HSPELL_LIBS=" -lhspell -lz" - if test "x$with_hspell_prefix" != "x"; then - LDFLAGS="-L$with_hspell_prefix/lib "$LDFLAGS - HSPELL_CFLAGS="-I$with_hspell_prefix/include" - HSPELL_LIBS="-L$with_hspell_prefix/lib "$HSPELL_LIBS + if test "x$hspell_prefix" != "x"; then + LDFLAGS="-L$hspell_prefix/lib "$LDFLAGS + HSPELL_CFLAGS="-I$hspell_prefix/include" + HSPELL_LIBS="-L$hspell_prefix/lib "$HSPELL_LIBS fi AC_CHECK_LIB(hspell, hspell_get_dictionary_path, build_hspell=yes, build_hspell=no, -lz) |