diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-10-28 17:19:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-28 17:19:05 +0100 |
| commit | 8accc6e8409819316fa296642c1d23e5638fcb2d (patch) | |
| tree | 33c6237919989f120f2179cb1e7b410cb7cdd01e /configure.ac | |
| parent | f718943e6fbcf89297e61466068405452d7f8ae6 (diff) | |
Pango ps (#148)
Use cairo-PostScript to output PostScript when pango is available.
This allows to draw in vectorial form any script.
Before, only the Latin script could be drawn to PostScript in vectorial form.
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 800ef780a..d2202c469 100644 --- a/configure.ac +++ b/configure.ac @@ -1108,7 +1108,14 @@ case $host_os_gui in if test x$PKGCONFIG != x; then CXXFLAGS="`$PKGCONFIG --cflags pangoxft` $CXXFLAGS" LIBS="`$PKGCONFIG --libs pangoxft` $LIBS" - else + CXXFLAGS="`$PKGCONFIG --cflags pangocairo` $CXXFLAGS" + LIBS="`$PKGCONFIG --libs pangocairo` $LIBS" + case $host_os in + darwin*) + LDFLAGS="-L/opt/sw/lib -L/sw/lib $LDFLAGS" + ;; + esac + else case $host_os in linux*) CXXFLAGS="-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include $CXXFLAGS" |
