d38dedad68
+ raster and gdal input isn't tested. Not working currently... + *-input.so plugins created. Change loader in source or link plugin to correct place + use pkg-config uninstalled feature -> define project root to PKG_CONFIG_PATH to use mapnik without installation + added various library checks + don't install fonts + don't use included AGG -> check for a installed libagg + Added Makefile for c++ demo + don't build any python wrapper stuff -> this follows if all other building works + added Anjuta file -> not needed to build anything, but helps much if you use Anjuta
27 lines
515 B
Text
27 lines
515 B
Text
AC_DEFUN([AX_CHECK_PROJ],
|
|
[
|
|
|
|
dnl libjpeg check function
|
|
|
|
AC_CHECK_LIB(proj,
|
|
pj_init_plus,
|
|
[PROJ_LIBS="-lproj" link_proj="yes"],
|
|
[link_proj="no"]
|
|
)
|
|
|
|
if test "x$link_proj" != "xno"; then
|
|
AC_CHECK_HEADER(proj_api.h,
|
|
[PROJ_CFLAGS="" link_proj="yes"],
|
|
[link_proj="no"]
|
|
)
|
|
fi
|
|
|
|
if test "x$link_proj" = "xno"; then
|
|
AC_MSG_ERROR(Could not link against libproj !)
|
|
fi
|
|
|
|
AC_SUBST(PROJ_LIBS)
|
|
AC_SUBST(PROJ_CFLAGS)
|
|
|
|
])dnl
|
|
|