root/trunk/config/ax_libjpeg.m4

Revision 524, 0.5 kB (checked in by andreas, 16 months ago)

+ added GNU autotools build environment
+ 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

Line 
1AC_DEFUN([AX_CHECK_JPEG],
2[
3
4dnl libjpeg check function
5
6AC_CHECK_LIB(jpeg,
7             jpeg_set_defaults,
8             [JPEG_LIBS="-ljpeg" link_jpeg="yes"],
9             [link_jpeg="no"]
10            )
11
12if test "x$link_jpeg" != "xno"; then
13  AC_CHECK_HEADER(jpeglib.h,
14                  [JPEG_CFLAGS="" link_jpeg="yes"],
15                  [link_jpeg="no"]
16                 )
17fi
18
19if test "x$link_jpeg" = "xno"; then
20  AC_MSG_ERROR(Could not link against libjpeg !)
21fi
22
23AC_SUBST(JPEG_LIBS)
24AC_SUBST(JPEG_CFLAGS)
25
26])dnl
27
Note: See TracBrowser for help on using the browser.