On Tue 07/Mar/2017 03:43:45 +0100 Sam Varshavchik wrote:
> Download: http://www.courier-mta.org/download.html#unicode
>
> This is a test build of the courier-unicode package, that uses C++11's unicode
> support. Please report any build issues to the courier-users list.
Yes, it works, but I had to manually set CXXFLAGS="-std=c++11". That could be
avoided by using AX_CXX_COMPILE_STDCXX in configure. I found no m4 dir, so I
added it and saved there the file I found in:
https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html
I attach other minor changes. I didn't test it on a "difficult" system. I
guess that if 'optional' works as advertised, the behavior won't get worse.
Ale
diff -u courier-unicode-1.5.20170306/configure.ac
courier-unicode-1.5.20170306-patched/configure.ac
--- courier-unicode-1.5.20170306/configure.ac 2017-03-06 23:31:39.000000000
+0100
+++ courier-unicode-1.5.20170306-patched/configure.ac 2017-03-07
10:35:40.201282969 +0100
@@ -6,6 +6,8 @@
AC_CONFIG_SRCDIR(unicodecpp.C)
+AC_CONFIG_MACRO_DIR([m4])
+
LPATH="$PATH:/usr/local/bin"
AC_CONFIG_HEADERS(unicode_config.h)
@@ -18,6 +20,7 @@
AC_PROG_LN_S
AC_PROG_CC
AC_PROG_CXX
+AX_CXX_COMPILE_STDCXX([11],,[optional])
AC_PATH_PROGS(PERL, perl5 perl, perl, $LPATH)
if test "$PERL" = "perl"
diff -u courier-unicode-1.5.20170306/Makefile.am
courier-unicode-1.5.20170306-patched/Makefile.am
--- courier-unicode-1.5.20170306/Makefile.am 2017-03-06 22:30:17.000000000
+0100
+++ courier-unicode-1.5.20170306-patched/Makefile.am 2017-03-07
10:28:50.700591252 +0100
@@ -2,6 +2,7 @@
# Copyright 2000-2017 Double Precision, Inc. See COPYING for
# distribution information.
+ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4
noinst_SCRIPTS=update.sh \
mkultcase.pl unicodefilter.pl \
------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users