From a61c001cd35ff70a314ef417c4beda9c7e68d3ad Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Fri, 13 Jun 2014 19:52:04 +0000
Subject: [PATCH] It works, png is output. The only problem is that some triangles are missing

---
 configure.ac |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 2ebed26..8ba481f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,6 +14,17 @@
 AC_CHECK_LIB([confuse], [cfg_parse])
 # FIXME: Replace `main' with a function in `-lm':
 AC_CHECK_LIB([m], [pow])
+# Checks for libcairo
+
+## cairographics needs pkg-config
+#AC_PATH_PROG(PKGCONF, pkg-config , [], 
+#	     [$PATH:/usr/local/bin:/ext/bin:/ext:/sw/bin:/opt/bin])
+AC_CHECK_HEADERS([cairo/cairo.h cairo/cairo-png.h])
+AC_CHECK_HEADERS([cairo.h cairo-png.h])
+AC_CHECK_LIB([cairo],[cairo_move_to])
+#PKG_CHECK_MODULES(CAIRO, cairo)
+#AC_SUBST(CAIRO_CFLAGS)
+#AC_SUBST(CAIRO_LIBS)
 
 AC_CHECK_LIB([gslcblas],[cblas_dgemm])
 AC_CHECK_LIB([gsl],[gsl_blas_dgemm])

--
Gitblit v1.9.3