diff options
author | Reuben Thomas <rrt@sc3d.org> | 2017-04-29 22:40:32 +0100 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2017-04-30 17:49:59 +0100 |
commit | fd306d6f364690037e01527e9398f69b33218db6 (patch) | |
tree | eec4be8edac193a052c664a3ff1ac4de237ddb65 /src/Makefile.am | |
parent | a1167a25f2c0a22d18c5f3cb6b19e044d3f7d950 (diff) | |
download | enchant-fd306d6f364690037e01527e9398f69b33218db6.tar.gz |
Get AppleSpell back-end working again, and add list_dicts method
It transpired that owing to a problem in configure.ac, the backend was
not being built, even on macOS. Fix this.
As a result, some compilation errors recently introduced emerged. Fix
them.
Note that AppleSpell.config wasn't being installed. Fix this. Also fix
its loading: it was being looked for in pkglibdir, but should be
installed in pkgdatadir (and now is).
In order to find the config file, promote enchant_get_conf_dirs to
enchant-provider.h, which now therefore needs to include glib.h again.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index b901b92..21d94f6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -21,15 +21,14 @@ endif libenchant_includedir = $(includedir)/enchant libenchant_include_HEADERS = enchant.h enchant-provider.h enchant++.h -orderingdir=$(datadir)/enchant -ordering_DATA = enchant.ordering +pkgdata_DATA = enchant.ordering dist_man_MANS = enchant.1 LDADD = libenchant.la $(ENCHANT_LIBS) $(top_builddir)/lib/libgnu.la bin_PROGRAMS = enchant-lsmod enchant -EXTRA_DIST = $(ordering_DATA) +EXTRA_DIST = $(pkgdata_DATA) .rc.lo: $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --tag=RC --mode=compile $(RC) $(RCFLAGS) $< -o $@ |