diff options
author | Dom Lachowicz <domlachowicz@gmail.com> | 2006-07-22 17:35:34 +0000 |
---|---|---|
committer | Dom Lachowicz <domlachowicz@gmail.com> | 2006-07-22 17:35:34 +0000 |
commit | 107a0e5a7c4e64ff7f44411caa24cdae7fb4a0bc (patch) | |
tree | 902b5ac56188794b9557d268c3b00e7c89b79022 | |
parent | 62bb9255ea1f6bf26cea4abedff97a7d34cb8b25 (diff) | |
download | enchant-107a0e5a7c4e64ff7f44411caa24cdae7fb4a0bc.tar.gz |
* configure.in: Grab the value of `aspell config prefix` and
use that if available (bug 10308)
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@21141 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | configure.in | 7 |
2 files changed, 6 insertions, 3 deletions
@@ -8,6 +8,8 @@ * src/*/Makefile.am: add '-module' to LDFLAGS so that things get built correctly on Mac OSX (bug 10398) * src/enchant.c: Fix C99-ism (bug 10387) + * configure.in: Grab the value of `aspell config prefix` and + use that if available (bug 10308) 2006-05-06 Dom Lachowicz <cinamod@hotmail.com> diff --git a/configure.in b/configure.in index 5e14efc..eb50c0b 100644 --- a/configure.in +++ b/configure.in @@ -158,9 +158,10 @@ if test "x$check_aspell" != "xno"; then AC_MSG_CHECKING([For Aspell >= 0.50.0]) aspell_major=`aspell -v | awk -F. '{print $4;}' | awk -F")" '{print $1;}'` if test "$aspell_major" -ge "50"; then - LDFLAGS="-L`aspell config prefix`/lib "$LDFLAGS - ASPELL_INC="-I`aspell config prefix`/include" - ASPELL_LIBS="-L`aspell config prefix`/lib -laspell" + aspell_prefix=`aspell config prefix` + LDFLAGS="-L${aspell_prefix}/lib "$LDFLAGS + ASPELL_INC="-I${aspell_prefix}/include" + ASPELL_LIBS="-L${aspell_prefix}/lib -laspell" AC_MSG_RESULT([yes]) else AC_MSG_RESULT([unknown]) |