[geos-devel] [GEOS] #887: Remove pre-release suffix from library name (libgeos-3.7.0alpha.so -> libgeos-3.7.0.so)

GEOS geos-trac at osgeo.org
Fri Jun 15 00:07:09 PDT 2018


#887: Remove pre-release suffix from library name (libgeos-3.7.0alpha.so ->
libgeos-3.7.0.so)
----------------------------+---------------------------
 Reporter:  Bas Couwenberg  |       Owner:  geos-devel@…
     Type:  defect          |      Status:  closed
 Priority:  major           |   Milestone:  3.7.0
Component:  Default         |     Version:  master
 Severity:  Unassigned      |  Resolution:  fixed
 Keywords:                  |
----------------------------+---------------------------

Comment (by Bas Couwenberg):

 The single blockquotes are stripped by `m4(1)`, hence the need for
 additional quotes.

 You're probably on Windows where the GNU tools are not as modern.

 Instead of matching the pre-release suffix, it may be more portable to
 match the version string and replace the entire string with only the
 matched numeric version.

 Does the following in `configure.ac` work on your system?
 {{{
 VERSION_RELEASE=`echo "$VERSION" | sed -E
 's/^([[0-9]+\.[0-9]+\.[0-9]+]).*?$/\1/'`
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/geos/ticket/887#comment:8>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list