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



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


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

+ 9
- 0
configure.ac View File



AC_SUBST(UCD_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 ================================================================
dnl Compiler warnings. dnl Compiler warnings.
dnl dnl
C++ Compiler flags: ${CXXFLAGS} C++ Compiler flags: ${CXXFLAGS}


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

Loading…
Cancel
Save