diff options
| author | Sam Varshavchik | 2021-02-13 23:30:50 -0500 |
|---|---|---|
| committer | Sam Varshavchik | 2021-02-13 23:30:50 -0500 |
| commit | 688f31b2d1a5e0735661a829d7f743f9a0b68050 (patch) | |
| tree | c2a23e4d760d8d1b72f07e0c8b108f2d46315ce2 /unicode/m4 | |
| parent | 2db8a28d72bee3746ce6d06bf5c0896e46269492 (diff) | |
| download | courier-libs-688f31b2d1a5e0735661a829d7f743f9a0b68050.tar.bz2 | |
2021-02-13 Sam Varshavchik <mrsam@courier-mta.com>
* courier-unicode-version.m4: split version checking macro into its
own m4 file.
* unicode::bidi_calc - an empty string with an explicit embedding
level should return the requested embedding level.
Diffstat (limited to 'unicode/m4')
| -rw-r--r-- | unicode/m4/courier-unicode.m4 | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/unicode/m4/courier-unicode.m4 b/unicode/m4/courier-unicode.m4 index dadf321..673bc65 100644 --- a/unicode/m4/courier-unicode.m4 +++ b/unicode/m4/courier-unicode.m4 @@ -50,44 +50,3 @@ AC_MSG_ERROR([*** A compiler with C++11 Unicode support was not found]) CXXFLAGS="$save_FLAGS" AC_LANG_POP([C++]) ]) - -AC_DEFUN([AX_COURIER_UNICODE_VERSION],[ - -AC_MSG_CHECKING(courier-unicode library and version) - -v="$1" - -if test "$v" = "" -then - v=2.2 -fi - -set -- `echo "$v" | tr '.' ' '` - -v=$[]1 -r=$[]2 -p=$[]3 - -if test "$p" = "" - then p="0" -fi - -AC_TRY_COMPILE([ -#include <courier-unicode.h> -#ifndef COURIER_UNICODE_VERSION -#define COURIER_UNICODE_VERSION 0 -#endif - -#if COURIER_UNICODE_VERSION < ]$v$r$p[ -#error "courier-unicode ]$1[ library is required" -#endif - -],[],[], -AC_MSG_ERROR([ -ERROR: The Courier Unicode Library ]$1[ header files appear not to be installed. -You may need to upgrade the library or install a separate development -subpackage in addition to the main package.]) -) - -AC_MSG_RESULT([ok]) -]) |
