Skip to content

Commit

Permalink
Added GDAL dependency check for --with-wmsclient (MapServer#3555)
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/mapserver/trunk@10548 7532c77e-422f-0410-93f4-f0b67bdd69e2
  • Loading branch information
dmorissette committed Sep 30, 2010
1 parent d7ab512 commit a34fbc0
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
14 changes: 7 additions & 7 deletions README.CONFIGURE
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ Optional Packages:
--without-wms Disable OGC WMS Compatibility (enabled by default).
--with-wfs Enable OGC WFS Server Support (OGR+PROJ4 required).
--with-wcs Enable OGC WCS Server Support (GDAL+PROJ4 required).
--with-wmsclient Enable OGC WMS Client Connections (PROJ4 and libcurl
required).
--with-wmsclient Enable OGC WMS Client Connections (PROJ4, libcurl and
GDAL required).
--with-wfsclient Enable OGC WFS Client Connections (PROJ4, libcurl and
OGR required).
--with-sos Enable OGC SOS Server Support (libxml2 and PROJ4 and
Expand Down Expand Up @@ -520,14 +520,14 @@ OGC WMS Client Support:

::

--with-wmsclient Enable OGC WMS Client Connections (PROJ4 and libcurl
required).
--with-wmsclient Enable OGC WMS Client Connections (PROJ4, libcurl and
GDAL required).

- This option enables MapServer's 'CONNECTIONTYPE WMS' to include layers
from remote WMS servers in MapServer applications.
It requires PROJ4, libcurl (see --with-curl-config option below) and OGR.
GDAL is optional but highly recommended in order to support
reprojection of layers obtained from remote WMS servers.
It requires PROJ4, libcurl (see --with-curl-config option below) and GDAL.
GDAL is required in order to support reprojection of layers obtained from
remote WMS servers.

- See the MapServer WMS Client HOWTO for more details at
http://mapserver.gis.umn.edu/docs/howto/wms_client
Expand Down
14 changes: 7 additions & 7 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -918,8 +918,8 @@ Optional Packages:
--without-wms Disable OGC WMS Compatibility (enabled by default).
--with-wfs Enable OGC WFS Server Support (OGR+PROJ4 required).
--with-wcs Enable OGC WCS Server Support (GDAL+PROJ4 required).
--with-wmsclient Enable OGC WMS Client Connections (PROJ4 and libcurl
required).
--with-wmsclient Enable OGC WMS Client Connections (PROJ4, libcurl and
GDAL required).
--with-wfsclient Enable OGC WFS Client Connections (PROJ4, libcurl and
OGR required).
--with-sos Enable OGC SOS Server Support (libxml2 and PROJ4 and
Expand Down Expand Up @@ -11934,10 +11934,10 @@ if test "$with_wmsclient" = "no" ; then
echo "$as_me:$LINENO: result: OGC WMS Client Layers disabled by --without-wmsclient." >&5
echo "${ECHO_T} OGC WMS Client Layers disabled by --without-wmsclient." >&6
elif test -z "$PROJ_ENABLED" ; then
elif test -z "$PROJ_ENABLED" -o -z "$GDAL_ENABLED"; then
echo "$as_me:$LINENO: result: OGC WMS Client Connections not enabled (PROJ.4 and libcurl required)." >&5
echo "${ECHO_T} OGC WMS Client Connections not enabled (PROJ.4 and libcurl required)." >&6
echo "$as_me:$LINENO: result: OGC WMS Client Connections not enabled (PROJ.4, libcurl and GDAL required)." >&5
echo "${ECHO_T} OGC WMS Client Connections not enabled (PROJ.4, libcurl and GDAL required)." >&6
elif test "$with_wmsclient" = "yes" ; then
Expand Down Expand Up @@ -12156,9 +12156,9 @@ echo "${ECHO_T}libxml2 requested for WCS Server." >&6
echo "${ECHO_T} If unavailable disable using --without-xml2-config," >&6
echo "$as_me:$LINENO: result: but WCS 1.1 support will be disabled." >&5
echo "${ECHO_T} but WCS 1.1 support will be disabled." >&6
elif test "x$WFS_SVR_ENABLED" != "x" ; then
elif test "x$WFS_SVR_ENABLED" != "x" ; then
with_xml2_config=yes
echo "$as_me:$LINENO: result: libxml2 requested for WCS Server." >&5
echo "$as_me:$LINENO: result: libxml2 requested for WFS Server." >&5
echo "${ECHO_T}libxml2 requested for WFS Server." >&6
echo "$as_me:$LINENO: result: If unavailable disable using --without-xml2-config," >&5
echo "${ECHO_T} If unavailable disable using --without-xml2-config," >&6
Expand Down
8 changes: 4 additions & 4 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -1770,16 +1770,16 @@ dnl ---------------------------------------------------------------------

AC_CHECKING(whether we should include WMS Client Connections support)
AC_ARG_WITH(wmsclient,
[ --with-wmsclient Enable OGC WMS Client Connections (PROJ4 and libcurl
required).],,)
[ --with-wmsclient Enable OGC WMS Client Connections (PROJ4, libcurl and
GDAL required).],,)

if test "$with_wmsclient" = "no" ; then

AC_MSG_RESULT([ OGC WMS Client Layers disabled by --without-wmsclient.])

elif test -z "$PROJ_ENABLED" ; then
elif test -z "$PROJ_ENABLED" -o -z "$GDAL_ENABLED"; then

AC_MSG_RESULT([ OGC WMS Client Connections not enabled (PROJ.4 and libcurl required).])
AC_MSG_RESULT([ OGC WMS Client Connections not enabled (PROJ.4, libcurl and GDAL required).])

elif test "$with_wmsclient" = "yes" ; then

Expand Down

0 comments on commit a34fbc0

Please sign in to comment.