diff options
-rw-r--r-- | bootstrap.conf | 1 | ||||
-rw-r--r-- | m4/gnulib-cache.m4 | 3 | ||||
-rw-r--r-- | src/Makefile.am | 4 | ||||
-rw-r--r-- | src/enchant.h | 4 | ||||
-rw-r--r-- | src/enchant.i | 8 |
5 files changed, 7 insertions, 13 deletions
diff --git a/bootstrap.conf b/bootstrap.conf index adfcdfb..fc296ad 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -51,6 +51,7 @@ gnulib_modules=' relocatable-lib-lgpl snippet/unused-parameter strdup-posix + ssize_t ' diff --git a/m4/gnulib-cache.m4 b/m4/gnulib-cache.m4 index 11441e1..bb8b0b3 100644 --- a/m4/gnulib-cache.m4 +++ b/m4/gnulib-cache.m4 @@ -27,7 +27,7 @@ # Specification in the form of a command-line invocation: -# gnulib-tool --import --local-dir=gl --local-dir=gl-mod/bootstrap --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --libtool --macro-prefix=gl alloca bootstrap configmake flock manywarnings relocatable-lib-lgpl snippet/unused-parameter strdup-posix +# gnulib-tool --import --local-dir=gl --local-dir=gl-mod/bootstrap --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --libtool --macro-prefix=gl alloca bootstrap configmake flock manywarnings relocatable-lib-lgpl snippet/unused-parameter ssize_t strdup-posix # Specification in the form of a few gnulib-tool.m4 macro invocations: gl_LOCAL_DIR([gl:gl-mod/bootstrap]) @@ -39,6 +39,7 @@ gl_MODULES([ manywarnings relocatable-lib-lgpl snippet/unused-parameter + ssize_t strdup-posix ]) gl_AVOID([]) diff --git a/src/Makefile.am b/src/Makefile.am index 7f84eb9..b901b92 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -24,12 +24,12 @@ libenchant_include_HEADERS = enchant.h enchant-provider.h enchant++.h orderingdir=$(datadir)/enchant ordering_DATA = enchant.ordering -man_MANS = enchant.1 +dist_man_MANS = enchant.1 LDADD = libenchant.la $(ENCHANT_LIBS) $(top_builddir)/lib/libgnu.la bin_PROGRAMS = enchant-lsmod enchant -EXTRA_DIST = enchant.i $(ordering_DATA) $(man_MANS) +EXTRA_DIST = $(ordering_DATA) .rc.lo: $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --tag=RC --mode=compile $(RC) $(RCFLAGS) $< -o $@ diff --git a/src/enchant.h b/src/enchant.h index 7fc62d5..fd0e009 100644 --- a/src/enchant.h +++ b/src/enchant.h @@ -30,8 +30,8 @@ #ifndef ENCHANT_H #define ENCHANT_H -/* for size_t, ssize_t */ -#include <sys/types.h> +#include <sys/types.h> /* for size_t, ssize_t */ + #ifdef __cplusplus extern "C" { diff --git a/src/enchant.i b/src/enchant.i deleted file mode 100644 index 263092a..0000000 --- a/src/enchant.i +++ /dev/null @@ -1,8 +0,0 @@ -%module enchant -%{ -#include "enchant.h" -%} - -typedef unsigned long size_t; - -%include "enchant.h" |