Browse Source

Make the emoji version configurable.

master
Reece H. Dunn 7 years ago
parent
commit
b618f01059
2 changed files with 10 additions and 1 deletions
  1. 1
    1
      Makefile.am
  2. 9
    0
      configure.ac

+ 1
- 1
Makefile.am View File

@@ -55,7 +55,7 @@ EXTRA_DIST += ChangeLog

############################# Unicode Data ####################################

EMOJI_VERSION=5.0
EMOJI_VERSION=@EMOJI_VERSION@
UCD_VERSION=@UCD_VERSION@
UCD_ROOTDIR=data/ucd
UCD_SRCDIR=http://www.unicode.org/Public

+ 9
- 0
configure.ac View File

@@ -41,6 +41,14 @@ AC_ARG_WITH([unicode-version],

AC_SUBST(UCD_VERSION)

AC_ARG_WITH([emoji-version],
[AS_HELP_STRING([--with-emoji-version], [Unicode emoji version to support @<:@default=5.0@:>@])],
[AS_IF([test x"$withval" != x],
[EMOJI_VERSION="$withval"])],
[EMOJI_VERSION="5.0"])

AC_SUBST(EMOJI_VERSION)

dnl ================================================================
dnl Compiler warnings.
dnl
@@ -70,4 +78,5 @@ AC_MSG_NOTICE([
C++ Compiler flags: ${CXXFLAGS}

Unicode version: ${UCD_VERSION}
Emoji version: ${EMOJI_VERSION}
])

Loading…
Cancel
Save