diff options
author | Reuben Thomas <rrt@sc3d.org> | 2017-03-07 13:02:37 +0000 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2017-04-04 22:33:33 +0100 |
commit | a8e771a58a996d210dc9d12a3896d04b27465cc1 (patch) | |
tree | 8775efa8a44f8472050706571e82d588f4a183ad /m4 | |
parent | 75d31e7c59cb10c269b30f9c9ff500a39e9d6fd5 (diff) | |
download | enchant-a8e771a58a996d210dc9d12a3896d04b27465cc1.tar.gz |
Make library relocatable using gnulib’s relocatable-lib-lgpl module
This adds a new API enchant_set_prefix_dir, which necessitated changing the
C++ API so that rather than constructing a broker instance statically, which
would pre-empt any setting of the prefix dir, the Broker object must now be
explicitly created. This also gives an easier way to have multiple Brokers,
if desired.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/.gitignore | 11 | ||||
-rw-r--r-- | m4/gnulib-cache.m4 | 4 |
2 files changed, 14 insertions, 1 deletions
diff --git a/m4/.gitignore b/m4/.gitignore index f5ac187..484f97f 100644 --- a/m4/.gitignore +++ b/m4/.gitignore @@ -40,3 +40,14 @@ /malloc.m4 /strdup.m4 /string_h.m4 +/dirname.m4 +/double-slash-root.m4 +/errno_h.m4 +/error.m4 +/getprogname.m4 +/relocatable-lib.m4 +/stdbool.m4 +/stdio_h.m4 +/strerror.m4 +/sys_socket_h.m4 +/configmake.m4 diff --git a/m4/gnulib-cache.m4 b/m4/gnulib-cache.m4 index e8e2c5b..5c74794 100644 --- a/m4/gnulib-cache.m4 +++ b/m4/gnulib-cache.m4 @@ -27,15 +27,17 @@ # Specification in the form of a command-line invocation: -# gnulib-tool --import --local-dir=gl --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 flock manywarnings snippet/unused-parameter strdup-posix +# gnulib-tool --import --local-dir=gl --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 # Specification in the form of a few gnulib-tool.m4 macro invocations: gl_LOCAL_DIR([gl]) gl_MODULES([ alloca bootstrap + configmake flock manywarnings + relocatable-lib-lgpl snippet/unused-parameter strdup-posix ]) |