summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2020-10-28 17:19:05 +0100
committerGitHub <noreply@github.com>2020-10-28 17:19:05 +0100
commit8accc6e8409819316fa296642c1d23e5638fcb2d (patch)
tree33c6237919989f120f2179cb1e7b410cb7cdd01e /configure.ac
parentf718943e6fbcf89297e61466068405452d7f8ae6 (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.ac9
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"