root/trunk/config/ax_libltdl.m4

Revision 524, 510 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_LTDL],
2[
3
4dnl libjpeg check function
5
6AC_CHECK_LIB(ltdl,
7             lt_dlopen,
8             [LTDL_LIBS="-lltdl" link_ltdl="ltdl"],
9             [link_jpeg="no"]
10            )
11
12if test "x$link_ltdl" != "xno"; then
13  AC_CHECK_HEADER(ltdl.h,
14                  [LTDL_CFLAGS="" link_ltdl="ltdl"],
15                  [link_ltdl="no"]
16                 )
17fi
18
19if test "x$link_ltdl" = "xno"; then
20  AC_MSG_ERROR(Could not link against libltdl !)
21fi
22
23AC_SUBST(LTDL_LIBS)
24AC_SUBST(LTDL_CFLAGS)
25
26])dnl
27
Note: See TracBrowser for help on using the browser.