mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 00:52:40 +00:00
Minor message tweaks regarding GDAL/OGR detection
git-svn-id: http://svn.osgeo.org/postgis/trunk@10259 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
b34346b012
commit
db1560de81
|
@ -1010,15 +1010,15 @@ if test "x$with_raster" != "xno"; then
|
||||||
AC_CHECK_HEADERS(
|
AC_CHECK_HEADERS(
|
||||||
[gdal.h ogr_api.h cpl_conv.h],
|
[gdal.h ogr_api.h cpl_conv.h],
|
||||||
[],
|
[],
|
||||||
[AC_MSG_ERROR([could not find headers include related to gdal])])
|
[AC_MSG_ERROR([could not find GDAL headers])])
|
||||||
|
|
||||||
dnl Ensure we can link against gdal
|
dnl Ensure we can link against gdal
|
||||||
AC_SEARCH_LIBS([GDALAllRegister], [gdal], [], [AC_MSG_ERROR([could not find gdal])], [])
|
AC_SEARCH_LIBS([GDALAllRegister], [gdal], [], [AC_MSG_ERROR([could not find GDAL])], [])
|
||||||
|
|
||||||
LIBS="$LIBGDAL_LDFLAGS"
|
LIBS="$LIBGDAL_LDFLAGS"
|
||||||
|
|
||||||
dnl Ensure we can link against ogr
|
dnl Ensure we can link against ogr
|
||||||
AC_SEARCH_LIBS([OGRRegisterAll], [gdal], [], [AC_MSG_ERROR([could not find gdal])], [])
|
AC_SEARCH_LIBS([OGRRegisterAll], [gdal], [], [AC_MSG_ERROR([could not find OGR])], [])
|
||||||
|
|
||||||
LIBS="$LIBGDAL_LDFLAGS"
|
LIBS="$LIBGDAL_LDFLAGS"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue