summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDom Lachowicz <domlachowicz@gmail.com>2004-04-01 13:43:39 +0000
committerDom Lachowicz <domlachowicz@gmail.com>2004-04-01 13:43:39 +0000
commitb42aef506000e17e845647f972c06968b1c76b4e (patch)
tree4bb773b54ff0dd50c41dd5c24f54170bea2c940a
parent7e4f0d43711c1f53bd6fb86c84e576afa66fb752 (diff)
downloadenchant-b42aef506000e17e845647f972c06968b1c76b4e.tar.gz
EXTRA_DIST the swig wrappers
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@20923 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rw-r--r--configure.in8
-rw-r--r--src/Makefile.am2
2 files changed, 6 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index 74814cf..52912d2 100644
--- a/configure.in
+++ b/configure.in
@@ -129,7 +129,7 @@ if test "x$check_aspell" != "xno"; then
LDFLAGS="-L$with_aspell_prefix/lib "$LDFLAGS
ASPELL_INC="-I$with_aspell_prefix/include"
ASPELL_LIBS="-L$with_aspell_prefix/lib -laspell"
- ASPELL_DICT_DIR="'\"$with_aspell_prefix/lib/aspell\"'"
+ ASPELL_CFLAGS="-DASPELL_DICT_DIR='\"$with_aspell_prefix/lib/aspell\"'"
else
aspell_prefix=${prefix}
if test "x$prefix" = "xNONE"; then
@@ -145,7 +145,7 @@ if test "x$check_aspell" != "xno"; then
LDFLAGS="-L`aspell config prefix`/lib "$LDFLAGS
ASPELL_INC="-I`aspell config prefix`/include"
ASPELL_LIBS="-L`aspell config prefix`/lib -laspell"
- ASPELL_DICT_DIR="'\"`aspell config dict-dir`\"'"
+ ASPELL_CFLAGS="-DASPELL_0_50_0=1 -DASPELL_DICT_DIR='\"`aspell config dict-dir`\"'"
AC_MSG_RESULT([yes])
else
@@ -156,7 +156,7 @@ 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_CFLAGS="-DASPELL_DICT_DIR='\"$aspell_prefix/lib/aspell\"'"
fi
fi
@@ -167,7 +167,7 @@ if test "x$check_aspell" != "xno"; then
AC_SUBST(ASPELL_INC)
AC_SUBST(ASPELL_LIBS)
- AC_SUBST(ASPELL_DICT_DIR)
+ AC_SUBST(ASPELL_CFLAGS)
fi
AM_CONDITIONAL(WITH_ASPELL, test "$build_aspell" = yes)
diff --git a/src/Makefile.am b/src/Makefile.am
index fed607d..5100da8 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -10,3 +10,5 @@ libenchant_la_SOURCES = enchant.c enchant.h
libenchant_includedir = $(includedir)/enchant/
libenchant_include_HEADERS = enchant.h enchant-provider.h enchant++.h
+
+EXTRA_DIST=enchant.i