mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 00:52:40 +00:00
* configure.in (geos detection): use $geos_prefix/lib when --ldflags is not supported by geos-config available.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2528 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
c3a06c5fd6
commit
0ce6a955e9
|
@ -1,3 +1,8 @@
|
|||
2006-11-10 Sandro Santilli <strk@refractions.net>
|
||||
|
||||
* configure.in (geos detection): use $geos_prefix/lib when
|
||||
--ldflags is not supported by geos-config available.
|
||||
|
||||
2006-11-10 Havard Tveite <havard.tveite@nlh.no>
|
||||
|
||||
* doc/postgix.xml (Hard Upgrade): add info about createdb params
|
||||
|
|
11
configure.in
11
configure.in
|
@ -147,7 +147,16 @@ AC_ARG_WITH(geos,
|
|||
|
||||
if test $USE_GEOS -gt 0; then
|
||||
GEOS_DIR=`$GEOSCONFIG --prefix`
|
||||
GEOS_LDFLAGS=`$GEOSCONFIG --ldflags`
|
||||
|
||||
GEOS_LDFLAGS=`$GEOSCONFIG --ldflags 2> /dev/null`
|
||||
if test x"$GEOS_LDFLAGS" = "x"; then
|
||||
# older geos-config versions did not
|
||||
# support the --ldflags switch, we'll
|
||||
# default to GEOS_DIR/lib in this case.
|
||||
#
|
||||
GEOS_LDFLAGS="$GEOS_DIR/lib"
|
||||
fi
|
||||
|
||||
GEOS_MAJOR=`$GEOSCONFIG --version | cut -d. -f1`
|
||||
if test "$GEOS_MAJOR" = "@GEOS_VERSION@"; then
|
||||
GEOS_MAJOR=1
|
||||
|
|
Loading…
Reference in a new issue