root/trunk/config/ax_libtiff.m4

Revision 524, 508 bytes (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_TIFF],
2[
3
4dnl libtiff check function
5
6AC_CHECK_LIB(tiff,
7             TIFFClose,
8             [TIFF_LIBS="-ltiff" link_tiff="yes"],
9             [link_tiff="no"]
10            )
11
12if test "x$link_tiff" != "xno"; then
13  AC_CHECK_HEADER(tiff.h,
14                  [TIFF_CFLAGS="" link_tiff="yes"],
15                  [link_tiff="no"]
16                 )
17fi
18
19if test "x$link_tiff" = "xno"; then
20  AC_MSG_ERROR(Could not link against libtiff !)
21fi
22
23AC_SUBST(TIFF_LIBS)
24AC_SUBST(TIFF_CFLAGS)
25
26])dnl
27
Note: See TracBrowser for help on using the browser.