mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 00:52:40 +00:00
git-svn-id: http://svn.osgeo.org/postgis/trunk@6099 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
146805cb8c
commit
1d76af7b79
|
@ -717,7 +717,7 @@ if test "x$RASTER" = "xyes"; then
|
|||
dnl ========================================================================
|
||||
dnl Determine GDAL Support
|
||||
dnl
|
||||
dnl TODO: Now, --with-gdal can have only 1 value: path to gdal-config. It
|
||||
dnl TODO: Now, --with-gdalconfig can have only 1 value: path to gdal-config. It
|
||||
dnl could be useful to allow path to GDAL tree, because the cflags and the
|
||||
dnl libs can be obtained from GDAL tree too, apart from gdal-config
|
||||
dnl How to get cflags and libs from GDAL tree?
|
||||
|
@ -732,7 +732,7 @@ if test "x$RASTER" = "xyes"; then
|
|||
|
||||
AC_MSG_CHECKING([for GDAL])
|
||||
AC_ARG_WITH([gdal],
|
||||
AC_HELP_STRING([--with-gdal=@<:@ARG@:>@],[specify location of gdal-config (ARG=path)]),
|
||||
AC_HELP_STRING([--with-gdalconfig=@<:@ARG@:>@],[specify location of gdal-config (ARG=path)]),
|
||||
[GDAL_CONFIG="$withval"], [GDAL_CONFIG=""])
|
||||
|
||||
if test "x$GDAL_CONFIG" = "x"; then
|
||||
|
@ -742,7 +742,7 @@ if test "x$RASTER" = "xyes"; then
|
|||
AC_MSG_RESULT([yes])
|
||||
GDAL_CONFIG=${GDAL_CONFIG_TMP}
|
||||
else
|
||||
AC_MSG_ERROR([gdal-config not found. Try --with-gdal=<path to gdal-config>])
|
||||
AC_MSG_ERROR([gdal-config not found. Try --with-gdalconfig=<path to gdal-config>])
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
@ -333,16 +333,15 @@ tar -xvzf postgis-&last_release_version;.tar.gz</programlisting>
|
|||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><command>--with-gdal=FILE</command></term>
|
||||
<term><command>--with-gdalconfig=FILE</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
GDAL, a required library, provides functionality needed for raster support
|
||||
<command>gdal-config</command> to enable software installations to
|
||||
locate the GDAL installation directory. Use this parameter
|
||||
(<command>--with-gdal=/path/to/gdal-config</command>) to
|
||||
(<command>--with-gdalconfig=/path/to/gdal-config</command>) to
|
||||
manually specify a particular GDAL installation that PostGIS will
|
||||
build against.
|
||||
<!-- TODO: Change this once Jorge changes the name to --with-gdalconfig to be consistent with other naming -->
|
||||
build against.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
Loading…
Reference in a new issue