- 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";
|
||||
AC_PATH_PROG(GDAL_CONFIG, $PROG, "", $PATH)
|
||||
])
|
||||
GDAL_CFLAGS=`$GDAL_CONFIG --cflags`
|
||||
GDAL_LIBS=`$GDAL_CONFIG --libs`
|
||||
AC_SUBST(GDAL_CFLAGS)
|
||||
AC_SUBST(GDAL_LIBS)
|
||||
|
||||
if test "x$GDAL_CONFIG" != "x"; then
|
||||
GDAL_CFLAGS=`$GDAL_CONFIG --cflags`
|
||||
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
|
||||
|
|
|
@ -49,6 +49,7 @@ libmapnik_HEADERS = \
|
|||
filter_parser_ast.hpp \
|
||||
filter_visitor.hpp \
|
||||
font_engine_freetype.hpp \
|
||||
font_set.hpp \
|
||||
gamma.hpp \
|
||||
geometry.hpp \
|
||||
geom_util.hpp \
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
if HAVE_GDAL
|
||||
|
||||
pkglib_LTLIBRARIES = \
|
||||
gdal.la
|
||||
|
@ -18,4 +19,6 @@ gdal_la_LDFLAGS = \
|
|||
-avoid-version \
|
||||
-shrext .input
|
||||
|
||||
endif
|
||||
|
||||
## File created by the gnome-build tools
|
||||
|
|
|
@ -30,6 +30,7 @@ libmapnik_la_SOURCES = \
|
|||
envelope.cpp \
|
||||
filter_factory.cpp \
|
||||
font_engine_freetype.cpp \
|
||||
font_set.cpp \
|
||||
graphics.cpp \
|
||||
image_reader.cpp \
|
||||
image_util.cpp \
|
||||
|
|
Loading…
Reference in a new issue