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
519 B
Text
27 lines
519 B
Text
AC_DEFUN([AX_CHECK_JPEG],
|
|
[
|
|
|
|
dnl libjpeg check function
|
|
|
|
AC_CHECK_LIB(jpeg,
|
|
jpeg_set_defaults,
|
|
[JPEG_LIBS="-ljpeg" link_jpeg="yes"],
|
|
[link_jpeg="no"]
|
|
)
|
|
|
|
if test "x$link_jpeg" != "xno"; then
|
|
AC_CHECK_HEADER(jpeglib.h,
|
|
[JPEG_CFLAGS="" link_jpeg="yes"],
|
|
[link_jpeg="no"]
|
|
)
|
|
fi
|
|
|
|
if test "x$link_jpeg" = "xno"; then
|
|
AC_MSG_ERROR(Could not link against libjpeg !)
|
|
fi
|
|
|
|
AC_SUBST(JPEG_LIBS)
|
|
AC_SUBST(JPEG_CFLAGS)
|
|
|
|
])dnl
|
|
|