diff options
| author | Sam Varshavchik | 2017-03-06 19:51:02 -0500 | 
|---|---|---|
| committer | Sam Varshavchik | 2017-03-06 19:51:02 -0500 | 
| commit | f25724f8807dddededb347e4740bfed93fda7bf5 (patch) | |
| tree | f91dab87d22a2363fb95eca8071d9b72be1ea0cb /unicode/configure.ac | |
| parent | 7b444198abbc9d46d1ae191f3153b959a13b11a1 (diff) | |
| download | courier-libs-f25724f8807dddededb347e4740bfed93fda7bf5.tar.bz2 | |
courier-unicode: C++11 update.
* Migrate to C++11: remove unicode_char, use char32_t. Replace
std::vector<unicode_char> with std::u32string.
Diffstat (limited to 'unicode/configure.ac')
| -rw-r--r-- | unicode/configure.ac | 17 | 
1 files changed, 16 insertions, 1 deletions
| diff --git a/unicode/configure.ac b/unicode/configure.ac index 079f461..7d71cf8 100644 --- a/unicode/configure.ac +++ b/unicode/configure.ac @@ -1,6 +1,6 @@  dnl Process this file with autoconf to produce a configure script. -AC_INIT([courier-unicode], [1.5], [courier-users@lists.sourceforge.net]) +AC_INIT([courier-unicode], [1.5.20170306], [courier-users@lists.sourceforge.net])  >confdefs.h  # Kill PACKAGE_ macros @@ -54,6 +54,21 @@ else       AC_SUBST(LANGINFO_L,0)  fi + +AC_TRY_COMPILE([ +#include <uchar.h> +],[ +char32_t c=0; +], +[ +HAVE_UCHAR_H=1 +], +[ +HAVE_UCHAR_H=0 +]) + +AC_SUBST(HAVE_UCHAR_H) +  AM_CONDITIONAL(UPDATE_UNICODE, test -f ${srcdir}/UnicodeData.txt)  AC_SYS_LARGEFILE | 
