diff options
author | Peng Wu <alexepico@gmail.com> | 2017-05-16 13:23:09 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2017-05-16 13:23:09 +0800 |
commit | 80cd413400656838023362ad13638d9aa91daf05 (patch) | |
tree | 176be39e1a67d8df7542b98ab0fd531a8c3fefdf /configure.ac | |
parent | c96110fd976e92b0f8de0a08a5cb278ef66c664b (diff) | |
download | libpinyin-80cd413400656838023362ad13638d9aa91daf05.tar.gz libpinyin-80cd413400656838023362ad13638d9aa91daf05.tar.xz libpinyin-80cd413400656838023362ad13638d9aa91daf05.zip |
update autoconf
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac index 3d2df33..e5e3fd6 100644 --- a/configure.ac +++ b/configure.ac @@ -112,20 +112,30 @@ fi AM_CONDITIONAL([KYOTOCABINET], [test x"$DBM" = x"KyotoCabinet"]) +# --enable-libzhuyin +AC_ARG_ENABLE(libzhuyin, + AC_HELP_STRING([--enable-libzhuyin], + [Support libzhuyin library.]), + [enable_libzhuyin=$enableval], + [enable_libzhuyin=no] +) +AM_CONDITIONAL(ENABLE_LIBZHUYIN, test x"$enable_libzhuyin" = x"yes") + + AC_CONFIG_FILES([libpinyin.pc libpinyin.spec - Makefile + Makefile doc/Makefile - data/Makefile - src/Makefile + data/Makefile + src/Makefile src/include/Makefile src/storage/Makefile - src/lookup/Makefile - tests/Makefile + src/lookup/Makefile + tests/Makefile tests/include/Makefile tests/storage/Makefile - tests/lookup/Makefile - utils/Makefile + tests/lookup/Makefile + utils/Makefile utils/storage/Makefile utils/segment/Makefile utils/training/Makefile @@ -138,4 +148,5 @@ Build options: Version $VERSION Install prefix $prefix DBM $DBM + enable libzhuyin $enable_libzhuyin ]) |