mirror of
https://github.com/openstreetmap/mod_tile.git
synced 2025-08-15 22:18:22 +00:00
Another attempt at including mapnik include directories from mapnik-config
use mapnik-config --includes rather than --cflags (as was attempted in 23be036
).
This should fix #35
This commit is contained in:
@ -57,6 +57,7 @@ AC_DEFUN([AX_LIB_MAPNIK],
|
||||
)
|
||||
|
||||
MAPNIK_CFLAGS=""
|
||||
MAPNIK_INCLUDES=""
|
||||
MAPNIK_LDFLAGS=""
|
||||
MAPNIK_VERSION=""
|
||||
|
||||
@ -86,6 +87,7 @@ AC_DEFUN([AX_LIB_MAPNIK],
|
||||
AC_MSG_CHECKING([for mapnik libraries])
|
||||
|
||||
MAPNIK_CFLAGS="`$MAPNIK_CONFIG --cflags`"
|
||||
MAPNIK_INCLUDES="`$MAPNIK_CONFIG --includes`"
|
||||
MAPNIK_LDFLAGS="`$MAPNIK_CONFIG --libs`"
|
||||
|
||||
MAPNIK_VERSION=`$MAPNIK_CONFIG --version`
|
||||
@ -104,6 +106,7 @@ AC_DEFUN([AX_LIB_MAPNIK],
|
||||
|
||||
AC_SUBST([MAPNIK_VERSION])
|
||||
AC_SUBST([MAPNIK_CFLAGS])
|
||||
AC_SUBST([MAPNIK_INCLUDES])
|
||||
AC_SUBST([MAPNIK_LDFLAGS])
|
||||
])
|
||||
|
||||
|
Reference in New Issue
Block a user