diff options
| author | Sam Varshavchik | 2017-03-11 10:21:17 -0500 |
|---|---|---|
| committer | Sam Varshavchik | 2017-03-11 10:21:17 -0500 |
| commit | 2fbe4c6aa77fd64b3d6598e6158e10076159b0c1 (patch) | |
| tree | ba2930c7066274d09387982684ec1d214e5bad64 /unicode/book.xml | |
| parent | 19717bb6b4bea979efc5b441f91ae11b982f6fd4 (diff) | |
| download | courier-libs-2fbe4c6aa77fd64b3d6598e6158e10076159b0c1.tar.bz2 | |
courier-unicode: add autoconf macros.
Diffstat (limited to 'unicode/book.xml')
| -rw-r--r-- | unicode/book.xml | 42 |
1 files changed, 40 insertions, 2 deletions
diff --git a/unicode/book.xml b/unicode/book.xml index abd4115..6568762 100644 --- a/unicode/book.xml +++ b/unicode/book.xml @@ -9,7 +9,7 @@ <!-- -Copyright 2014-2015 Double Precision, Inc. +Copyright 2014-2017 Double Precision, Inc. See COPYING for distribution information. --> @@ -109,7 +109,45 @@ See COPYING for distribution information. </para> <para> - The starting point is + The Courier Unicode library installs an + <application>autoconf</application> macro to probe for C++11 support. + In your <filename>configure.ac</filename> + </para> + + <blockquote> + <informalexample> + <programlisting> + AX_COURIER_UNICODE_VERSION + AX_COURIER_UNICODE_CXXFLAGS + + AC_SUBST(COURIER_UNICODE_CXXFLAGS) + </programlisting> + </informalexample> + </blockquote> + + <para> + Then, in <filename>Makefile.am</filename>: + </para> + + <blockquote> + <informalexample> + <programlisting> + AM_CXXFLAGS = @COURIER_UNICODE_CXXFLAGS@ + </programlisting> + </informalexample> + </blockquote> + + <para> + The <varname>AX_COURIER_UNICODE_VERSION</varname> macro + checks the minimum library version. + <varname>AX_COURIER_UNICODE_CXXFLAGS</varname> sets + <varname>COURIER_UNICODE_CXXFLAGS</varname> to the appropriate option + for older gcc compilers that require an option to enable C++11 + support. + </para> + + <para> + The starting point for the library documentation is <link linkend="courier-unicode"> <citerefentry> <refentrytitle>courier-unicode</refentrytitle> |
