- add new files
- optional check for gdal
This commit is contained in:
parent
72e21fa080
commit
bd2b9e2ea0
4 changed files with 13 additions and 4 deletions
12
configure.ac
12
configure.ac
|
@ -99,10 +99,14 @@ AC_ARG_WITH(gdal-config,
|
||||||
PROG="gdal-config";
|
PROG="gdal-config";
|
||||||
AC_PATH_PROG(GDAL_CONFIG, $PROG, "", $PATH)
|
AC_PATH_PROG(GDAL_CONFIG, $PROG, "", $PATH)
|
||||||
])
|
])
|
||||||
GDAL_CFLAGS=`$GDAL_CONFIG --cflags`
|
|
||||||
GDAL_LIBS=`$GDAL_CONFIG --libs`
|
if test "x$GDAL_CONFIG" != "x"; then
|
||||||
AC_SUBST(GDAL_CFLAGS)
|
GDAL_CFLAGS=`$GDAL_CONFIG --cflags`
|
||||||
AC_SUBST(GDAL_LIBS)
|
GDAL_LIBS=`$GDAL_CONFIG --libs`
|
||||||
|
AC_SUBST(GDAL_CFLAGS)
|
||||||
|
AC_SUBST(GDAL_LIBS)
|
||||||
|
fi
|
||||||
|
AM_CONDITIONAL(HAVE_GDAL, test "x$GDAL_CONFIG" != "x")
|
||||||
|
|
||||||
|
|
||||||
AX_CHECK_TIFF
|
AX_CHECK_TIFF
|
||||||
|
|
|
@ -49,6 +49,7 @@ libmapnik_HEADERS = \
|
||||||
filter_parser_ast.hpp \
|
filter_parser_ast.hpp \
|
||||||
filter_visitor.hpp \
|
filter_visitor.hpp \
|
||||||
font_engine_freetype.hpp \
|
font_engine_freetype.hpp \
|
||||||
|
font_set.hpp \
|
||||||
gamma.hpp \
|
gamma.hpp \
|
||||||
geometry.hpp \
|
geometry.hpp \
|
||||||
geom_util.hpp \
|
geom_util.hpp \
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
if HAVE_GDAL
|
||||||
|
|
||||||
pkglib_LTLIBRARIES = \
|
pkglib_LTLIBRARIES = \
|
||||||
gdal.la
|
gdal.la
|
||||||
|
@ -18,4 +19,6 @@ gdal_la_LDFLAGS = \
|
||||||
-avoid-version \
|
-avoid-version \
|
||||||
-shrext .input
|
-shrext .input
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
## File created by the gnome-build tools
|
## File created by the gnome-build tools
|
||||||
|
|
|
@ -30,6 +30,7 @@ libmapnik_la_SOURCES = \
|
||||||
envelope.cpp \
|
envelope.cpp \
|
||||||
filter_factory.cpp \
|
filter_factory.cpp \
|
||||||
font_engine_freetype.cpp \
|
font_engine_freetype.cpp \
|
||||||
|
font_set.cpp \
|
||||||
graphics.cpp \
|
graphics.cpp \
|
||||||
image_reader.cpp \
|
image_reader.cpp \
|
||||||
image_util.cpp \
|
image_util.cpp \
|
||||||
|
|
Loading…
Reference in a new issue