mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-05 14:47:26 +00:00
autotools: support specifying the Unicode/UCD version
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@ EXTRA_DIST += ChangeLog
|
||||
|
||||
############################# Unicode Character Database ######################
|
||||
|
||||
UCD_VERSION=6.2.0
|
||||
UCD_VERSION=@UCD_VERSION@
|
||||
UCD_ROOTDIR=data/ucd
|
||||
|
||||
data/language-subtag-registry:
|
||||
|
||||
@@ -19,6 +19,18 @@ AC_PROG_CXX
|
||||
AC_PROG_MAKE_SET
|
||||
AC_PROG_LIBTOOL
|
||||
|
||||
dnl ================================================================
|
||||
dnl UCD data configuration.
|
||||
dnl ================================================================
|
||||
|
||||
AC_ARG_WITH([unicode-version],
|
||||
[AS_HELP_STRING([--unicode-version], [Unicode version to support @<:@default=6.2.0@:>@])],
|
||||
[AS_IF([test x"$withval" != x],
|
||||
[UCD_VERSION="$withval"])],
|
||||
[UCD_VERSION="6.2.0"])
|
||||
|
||||
AC_SUBST(UCD_VERSION)
|
||||
|
||||
dnl ================================================================
|
||||
dnl Generate output.
|
||||
dnl ================================================================
|
||||
@@ -34,4 +46,6 @@ AC_MSG_NOTICE([
|
||||
|
||||
Compiler: ${CXX}
|
||||
Compiler flags: ${CXXFLAGS}
|
||||
|
||||
Unicode version: ${UCD_VERSION}
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user