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