   Link: Courier Unicode Library (start)
   Link: Courier Unicode Library (parent)
   Link: Courier Unicode Library (previous)
   Link: Manual pages (next)

                             Installation and usage
   Prev                                                                  Next

   --------------------------------------------------------------------------


Installation and usage

   Download the current version of the library from
   http://www.courier-mta.org/download.html#unicode. After unpacking the
   tarball, run the configure script, which takes the usual options, followed
   by make, then make install.

   To use the library, “#include <courier-unicode.h>” and link with
   -lcourier-unicode. The C++ compiler must have C++11 support. Minimum
   usable version of gcc appears to be gcc 4.4 with the -std=c++0x flag.
   Current versions of gcc use C++11, or higher, by default and do not
   require extra flags. Like with all C++ code, the same compiler, and flags,
   must be used to build code that uses this library that was used to build
   the library itself.

   The Courier Unicode library installs an autoconf macro to prove for C++11
   support. In your configure.ac

           AX_COURIER_UNICODE_VERSION
           AX_COURIER_UNICODE_CXXFLAGS

           AC_SUBST(COURIER_UNICODE_CXXFLAGS)


   Then, in Makefile.am:

           AM_CXXFLAGS = @COURIER_UNICODE_CXXFLAGS@


   The AX_COURIER_UNICODE_VERSION macro checks the minimum library version.
   AX_COURIER_UNICODE_CXXFLAGS sets COURIER_UNICODE_CXXFLAGS to the
   appropriate option for older gcc compilers that require an option to
   enable C++11 support.

   The starting point for the library documentation is courier-unicode(7).
   Refer to the included manual pages, and the HTML version of the man pages
   for more information.

   --------------------------------------------------------------------------

   Prev                                                                  Next
   Courier Unicode Library                  Home                 Manual pages
