From b5bd1cd686763d5bb3a48fe2b5accec4fcf679c6 Mon Sep 17 00:00:00 2001 From: Kai Krueger Date: Tue, 13 Aug 2013 09:59:18 -0600 Subject: [PATCH] Yet another attempt to fix the mapnik-config issue (probably not the last...) --- m4/ax_lib_mapnik.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/m4/ax_lib_mapnik.m4 b/m4/ax_lib_mapnik.m4 index fcd2a52..48dcde0 100644 --- a/m4/ax_lib_mapnik.m4 +++ b/m4/ax_lib_mapnik.m4 @@ -88,6 +88,9 @@ AC_DEFUN([AX_LIB_MAPNIK], MAPNIK_CFLAGS="`$MAPNIK_CONFIG --cflags`" MAPNIK_INCLUDES="`$MAPNIK_CONFIG --includes`" + if test $? -ne 0; then + MAPNIK_INCLUDES="" + fi MAPNIK_LDFLAGS="`$MAPNIK_CONFIG --libs`" MAPNIK_VERSION=`$MAPNIK_CONFIG --version`