From 49dbdd4940aa78021f4ba516f4edb632058262bf Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@fe.uni-lj.si>
Date: Wed, 25 Jun 2014 09:44:48 +0000
Subject: [PATCH] Fixes bugs in creating IsakPrograms compatible image

---
 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