[SCM] postgis branch, master, updated. upstream/2.0.1-102-g67e22bf

Markus Wanner markus at bluegap.ch
Thu Dec 12 19:44:53 UTC 2013


The following commit has been merged in the master branch:
commit b50066d1ac62a4faffad8dd0de36136147a643f9
Author: Markus Wanner <markus at bluegap.ch>
Date:   Wed Dec 11 09:29:38 2013 +0100

    Import upstream version 2.1.0

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..027f17c
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,43 @@
+---
+env:
+  global:
+    - PGUSER=postgres
+  matrix:
+    #- GEOS_VERSION=3.4.1 
+    #- GEOS_VERSION=3.3.8
+    #- GDAL_VERSION=1.10.0
+before_install:
+  - rm .travis.yml
+  - sudo apt-add-repository -y ppa:ubuntugis/ubuntugis-unstable
+  - sudo apt-get update
+  - sudo apt-get install -qq build-essential flex autoconf libtool gfortran postgresql-server-dev-all xsltproc libjson0-dev libproj-dev dblatex xsltproc libcunit1-dev libcunit1 docbook-xsl docbook-mathml libgdal-dev libgeos-dev
+  - git config --global user.name "PostGIS Travis CI"
+  - git config --global user.email $HOSTNAME":not-for-mail at travis-ci.org"
+install:
+  - export LSB_RELEASE=$( lsb_release -rs )
+  #- wget -q http://stardestroyer.de/travis/geos-$GEOS_VERSION.travis.$LSB_RELEASE.tar.gz
+  #- tar xvzf geos-$GEOS_VERSION.travis.$LSB_RELEASE.tar.gz -C / 
+  #- sudo ln -s /home/travis/geos-$GEOS_VERSION/lib/libgeos_c.so.1.8.0 /usr/lib/libgeos_c.so.1
+  #- wget -q http://stardestroyer.de/travis/gdal-$GDAL_VERSION.travis.$LSB_RELEASE.tar.gz
+  #- tar xvzf gdal-$GDAL_VERSION.travis.$LSB_RELEASE.tar.gz -C / 
+  #- LD_LIBRARY_PATH="/home/travis/geos-$GEOS_VERSION/lib:/home/travis/gdal-$GDAL_VERSION/lib"
+  #- LD_RUN_PATH="/home/travis/geos-$GEOS_VERSION/lib:/home/travis/gdal-$GDAL_VERSION/lib"
+  - ./autogen.sh
+  # - ./configure --with-geosconfig=/home/travis/geos-$GEOS_VERSION/bin/geos-config --with-gdalconfig=/home/travis/gdal-$GDAL_VERSION/bin/gdal-config
+  - ./configure
+language: c
+compiler:
+  - gcc
+notifications:
+  email: false
+  irc:
+    channels:
+      - "irc.freenode.org#postgis"
+    on_success: change
+    on_failure: always
+    use_notice: true
+script:
+  - make
+  - make check RUNTESTFLAGS=-v
+after_failure:
+  - cat /tmp/pgis_reg/*
diff --git a/ChangeLog b/ChangeLog
index 86c6be2..e8b9442 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10248 +1,44740 @@
-2013-08-16 18:45  nicklas
-
-	* fix back polyhedralsurface to distance calculations #2431
-
-2013-08-16 00:59  robe
-
-	* #2435 ST_Summary document S flag
-
-2013-08-14 07:42  strk
-
-	* lw_segment_side may return any negative number, not just -1
-	  (#2420)
-	  
-	  Adds other unit tests for line desegmentation excercising
-	  quadrant
-	  computation.
-
-2013-08-13 23:48  strk
-
-	* Fix computation of number of quadrants per arc (#2420)
-	  
-	  Note: I had to change some tests that expected 3-quadrant curves
-	  to be accepted as curvey input to rely on round-trip instead
-
-2013-08-13 23:48  strk
-
-	* Pick curve control point farther than in the middle
-	  
-	  Seems to get a good point when doing manual tests...
-
-2013-08-13 22:54  strk
-
-	* Make sure to retain first point of curves on linearization
-	  (#2427)
-
-2013-08-13 07:25  strk
-
-	* Fix short allocation of edge to curves store (#2425)
-
-2013-08-13 06:53  strk
-
-	* Add COMPOUNDCURVE in MULTICURVE support for ST_CurveToLine
-	  (#2424)
-
-2013-08-12 18:19  strk
-
-	* Require all arc edges to form the same angle (#2423)
-	  
-	  Note: gives expected result for #183
-
-2013-08-12 09:58  strk
-
-	* Fix ticket reference (it's #2420, not 30)
-
-2013-08-11 18:15  strk
-
-	* Require at least 8 edges to define a full circle (#2420)
-
-2013-08-11 08:51  strk
-
-	* Fix ST_LineToCurve with input having less than 4 vertices (#2412)
-
-2013-08-10 06:25  robe
-
-	* #2414 extension not installing census tables
-
-2013-08-10 06:14  robe
-
-	* #2419: agc_rules loading defaulting to is_custom true instead of
-	  false
-
-2013-08-09 07:00  strk
-
-	* Fix ST_Multi with COMPOUNDCURVE and CURVEPOLYGON types (#2415)
-
-2013-08-08 22:54  robe
-
-	* dupe 2934 (give Northwest next id)
-
-2013-08-08 22:31  robe
-
-	* get rid of hard-codings of schemas in sh profile, add logic to
-	  create data schema if not present
-
-2013-08-08 06:21  strk
-
-	* Fix segmentize of collinear curve
-
-2013-08-08 05:19  robe
-
-	* #2403 force northwest into postdir, fix some other casing issues
-
-2013-08-06 16:01  robe
-
-	* #2396: change wkb compare to a same check
-
-2013-08-04 16:07  robe
-
-	* #2404: DISTRICT OF COLUMBIA is not abbreviated
-
-2013-08-03 17:11  robe
-
-	* flip branch to rc3 (hopefully we won't need it and can go
-	  straight to release)
-
-2013-08-03 17:08  robe
-
-	* prep for release of rc2 (I know but too many new tickets closed
-	  in rc1 cycle and want to wait for geos)
-
-2013-08-03 16:30  robe
-
-	* #2401 logic to mark pagc_rules as editable and for backup save
-	  custom rules
-
-2013-08-03 16:10  robe
-
-	* #2401 What was I thinkng. pagc_rules needs to set existing to
-	  is_custom = false so old records are not considered custom
-
-2013-08-03 16:03  robe
-
-	* #2401 fix typo in add column statement
-
-2013-08-02 16:33  robe
-
-	* #2401 fix typo
-
-2013-08-02 16:31  robe
-
-	* #2401 Add is_custom options to pagc_rules table
-
-2013-08-02 01:30  dustymugs
-
-	* Add note regarding limitation of raster bands only being able to
-	  reference the first 256 bands of an out-db raster. Ticket #2111.
-
-2013-07-20 03:20  robe
-
-	* #2230 can't dump on windows 64 if schema qualified. Fix by
-	  replacing with more modern code (follow same pattern and
-	  standardiz naming of variable as shp2pgsql)
-
-2013-07-20 01:42  robe
-
-	* #2389 man page for shp2pgsql-gui provided by Mònica Ramírez
-	  Arceda and mwanner
-
-2013-07-19 05:51  robe
-
-	* #2380 backport changes related to PAGC as wwell as tiger doco
-	  updates
-
-2013-07-17 14:45  dustymugs
-
-	* Fix variable datatypes in ST_Neighborhood(). Ticket #2384
-
-2013-07-17 14:04  dustymugs
-
-	* Removed unsafe use of \' from raster message. Ticket #2383
-
-2013-07-14 18:38  strk
-
-	* GEOS 3.3.8 uses old snapping (#2379)
-
-2013-07-10 11:38  robe
-
-	* 
-
-2013-07-10 11:17  robe
-
-	* oops booboo
-
-2013-07-10 11:11  robe
-
-	* call this one rc2 with plan it will never be released and we'll
-	  go straight to gold after we clean up the news and docs.
-
-2013-07-10 11:07  robe
-
-	* prepping for rc1 release
-
-2013-07-10 03:44  robe
-
-	* #2245 Doc patches to tiger
-
-2013-07-10 02:44  robe
-
-	* briefly document pagc in docs and where to get. will flesh out
-	  later, but good enough for 2.1 release
-
-2013-07-09 16:37  robe
-
-	* #2378, document that ST_CollectionExtract and
-	  ST_CollectionHomegenize are flawed when dealing with polygons
-	  with shared edges
-
-2013-07-09 03:36  pramsey
-
-	* Allow build to work with --libintl-prefix and other configure
-	  directives
-
-2013-07-08 06:57  robe
-
-	* get rid of deprecated ST_Line_Interpolate_Point in code examples
-
-2013-07-05 10:45  strk
-
-	* Backport ST_MakeValid memory leak fix (#2307)
-
-2013-07-02 22:34  pramsey
-
-	* #2307, add test and comment on lwgeom_free
-
-2013-07-02 21:51  robe
-
-	* #876 ST_Azimuth doc patch
-
-2013-07-02 20:12  pramsey
-
-	* #2371 Support GEOS versions with more than 1 digit in micro
-
-2013-06-28 13:58  strk
-
-	* Support parsing KML with space between digits and comma (#2372)
-
-2013-06-25 14:40  dustymugs
-
-	* Comment out call for gdal-config --dep-libs as it shouldn't be
-	  necessary.
-
-2013-06-25 13:50  strk
-
-	* Base expected TopoGeo_addLinestring output on GEOS version
-	  (#2368)
-
-2013-06-22 02:39  robe
-
-	* start rc1dev cycle and switch docs back to dev site
-
-2013-06-22 02:37  robe
-
-	* update ChangeLog and prepare for tagging 2.1.0beta3
-
-2013-06-21 15:45  strk
-
-	* Do not override JSON_LDFLAGS, fixing --with-jsondir usage
-
-2013-06-20 22:22  strk
-
-	* Add support for libjson-c 0.10+ (#2213)
-
-2013-06-20 06:35  robe
-
-	* branch in prep for beta3
-
-2013-06-20 06:24  robe
-
-	* #2336 state level regex wget is too greedy and pulling all states
-	  when KS is chosen
-
-2013-06-13 15:26  dustymugs
-
-	* Fixed handling of schema name when adding overview constraints.
-	  Ticket #2359
-
-2013-06-11 22:52  dustymugs
-
-	* Have cleanup before calls to elog(ERROR, ...)
-
-2013-06-11 22:52  dustymugs
-
-	* Grammar fixes for error messages (active vs passive)
-
-2013-06-08 20:28  robe
-
-	* #2356: quick fix for extensions not building anymore because of
-	  raster upgrade file change from rtpostgis_upgrade_20_minor.sql to
-	  rtpostgis_upgrade_20_21.sql
-	  
-	  Also got rid of some commented out code
-
-2013-06-08 20:09  robe
-
-	* Get rid of postgis_drop_before for extension upgrade -- we don't
-	  need it any more after #2334
-
-2013-06-07 17:39  pramsey
-
-	* #2351, st_distance between geographies wrong
-
-2013-06-05 22:35  pramsey
-
-	* Ignore generated sfcgal.sql
-
-2013-06-05 22:34  pramsey
-
-	* Ignore generated makefile
-
-2013-06-05 21:31  pramsey
-
-	* #2315, geography_distance_uncached: variable ‘tolerance’ set but
-	  not used
-
-2013-06-05 21:01  pramsey
-
-	* #2168, ST_Distance is not always commutative
-
-2013-06-05 20:38  pramsey
-
-	* #2165, ST_NumPoints regression failure with CircularString
-
-2013-06-05 18:11  pramsey
-
-	* #2307, ST_MakeValid outputs invalid geometries
-
-2013-06-04 19:18  dustymugs
-
-	* Added raster upgrade path from 2.0 to 2.1. Ticket #2348
-
-2013-06-04 16:26  strk
-
-	* Fix spelling errors in st_makevalid documentation
-	  
-	  Fixes a couple of spelling errors, and use the full word
-	  'without' instead of the contraction 'w/out'.
-
-2013-06-04 16:22  strk
-
-	* Renew the COPYING gpl-2.0 with last version from gnu.org
-
-2013-06-04 14:13  strk
-
-	* Let DO commands from SQL drop files end up in final upgrade
-	  script
-	  
-	  Should fix upgrade path from 2.0 to 2.1 (#2334)
-
-2013-06-03 20:26  strk
-
-	* Turn lwgeom_backend_switch into a static function
-
-2013-06-03 17:45  strk
-
-	* Another couple of warnings gone
-
-2013-06-03 08:53  strk
-
-	* More unused variables and functions warnings cleaned
-
-2013-06-03 08:26  strk
-
-	* Remove warnings from liblwgeom
-	  
-	  These are mostly unused variables
-
-2013-06-01 11:54  mcayland
-
-	* Fix "array subscript is above array bounds" gcc build warnings on
-	  trunk using a suitable pointer and cast.
-
-2013-05-30 22:16  strk
-
-	* Update expectances after GEOSSnap fixes (#2346)
-
-2013-05-30 17:10  dustymugs
-
-	* Alphabetize built-in map algebra callback functions
-
-2013-05-27 16:04  strk
-
-	* Actually use the --strip-trailing-cr switch, do not check it only
-
-2013-05-27 07:03  strk
-
-	* Use system diff only if it knows how to strip trailing CR (#2344)
-
-2013-05-25 18:14  strk
-
-	* Not all args with a dash are options, only those starting with
-	  one
-
-2013-05-25 18:10  strk
-
-	* Use system diff when available (my implementation is horrible)
-
-2013-05-25 16:58  strk
-
-	* Cleanly handle unsupported switches
-
-2013-05-25 16:49  strk
-
-	* Use consistent formatting for the NEWS file
-
-2013-05-25 16:47  strk
-
-	* Fix swapped obtained/expected in regression failure report
-
-2013-05-24 17:27  dustymugs
-
-	* Refactored use of out-db rasters for regression tests
-
-2013-05-24 17:27  dustymugs
-
-	* Removed unnecessary test due to introduction of
-	  ST_FromGDALRaster()
-
-2013-05-24 06:29  robe
-
-	* hardcode minor for now fix later, get rid of old links
-
-2013-05-24 04:42  robe
-
-	* add Natural Resources Canada (supporting Lidar point cloud)
-
-2013-05-24 04:24  robe
-
-	* this may not work
-
-2013-05-24 04:13  robe
-
-	* 
-
-2013-05-24 04:13  robe
-
-	* 
-
-2013-05-24 04:11  robe
-
-	* minor edit
-
-2013-05-23 22:02  dustymugs
-
-	* Fixed issues caught by clang
-
-2013-05-23 20:21  robe
-
-	* replace defunct credit reference with credits_other_contributors
-
-2013-05-23 19:16  robe
-
-	* oops forgot beginning tag
-
-2013-05-23 04:34  robe
-
-	* credit past is taking up too much prime real estate relegate past
-	  contributors to other section, add missing corporate sponsor
-	  Palantir Technologies (funded geography and funding point cloud),
-	  minor updates to bios, alphabetize core contributors otherwise
-	  have to go by relevance and get into hissing fights
-
-2013-05-22 20:24  strk
-
-	* Avoid (srf()).* construct, known to invoke srf() for each out
-	  field
-	  
-	  Should slightly improve performances of TopoGeo_addLinestring
-	  (in turn used by toTopoGeom)
-
-2013-05-20 10:41  robe
-
-	* #2185: failure on 64-bit windows edb. In event of parse error
-	  return PG_RETURN_NULL() instead of forcing functions not to cache
-	  (revert last sugar coat change)
-
-2013-05-20 00:02  robe
-
-	* move Bborie Park up to PSC section and augment bio on all the
-	  work he's been doing
-
-2013-05-19 19:01  robe
-
-	* #2185: bah still crashes sometimes on 9.2 -- better just remove
-	  teh immutable entirely fromt hese functions. No one should be
-	  suing these anyway since they are deprecated
-
-2013-05-19 18:41  robe
-
-	* #2185: bandage for 9.2 EDB x64 basically set all these SQL
-	  functions to have a cost of 1 (like the others) so they rarely
-	  will ever cache. It's super sugar coating the issue -- there is
-	  something I feel wrong with our parser that it's properly
-	  cleaning on error and corrupting shared memory when things are
-	  cached. but at least regress.sql now passes under 9.2 edb 64
-
-2013-05-19 15:37  robe
-
-	* #2332 ammendment correct the note to note we are no longer just
-	  wrapping the otehr function
-
-2013-05-19 13:01  robe
-
-	* #2332 windows 64 EDB crasher on invalid wkb using ST_GeomFromWKB
-	  - fix by using similar logic to go ST_GeomFromEWKB and skipping
-	  intermediary call.
-
-2013-05-18 21:07  strk
-
-	* Use finite() instead of isfinite()
-	  
-	  The former is also already used under postgis/ so we already rely
-	  on it. The latter is been reported to be unavailable on Solaris.
-
-2013-05-17 22:53  strk
-
-	* Ensure local liblwgeom and libpgcommon includes are scanned first
-
-2013-05-16 12:37  robe
-
-	* clarify soft upgrade requirement for PostGIS 2.0
-
-2013-05-15 23:55  dustymugs
-
-	* Added SFCGAL version output
-
-2013-05-14 22:38  dustymugs
-
-	* Allow correct handling of sect2 tags in chunked html
-
-2013-05-14 21:03  robe
-
-	* #2329: fix bug in where condition of backup
-
-2013-05-14 20:42  dustymugs
-
-	* Fixed Raster Processing section
-
-2013-05-14 18:52  dustymugs
-
-	* Reorganized the entire Raster Processing section. Lets see if
-	  this makes
-	  things easier to find... or not.
-
-2013-05-14 14:32  dustymugs
-
-	* Minor tweaks to ST_ColorMap() doc
-
-2013-05-14 12:57  robe
-
-	* alphabetize raster processing section - impossible to find stuff
-	  otherwise
-
-2013-05-14 12:10  robe
-
-	* #2326: describe behavior of having no non-datavalue as by design.
-	  Also change all examples to explicitly specify band (though we
-	  have only 1 band anyway) for anal clarity. (forgot edits in last
-	  commit
-
-2013-05-14 12:08  robe
-
-	* #2326: describe behavior of having no non-datavalue as by design.
-	  Also change all examples to explicitly specify band (though we
-	  have only 1 band anyway) for anal clarity.
-
-2013-05-13 09:42  strk
-
-	* Revert changes in test for wmsservers clients
-	  
-	  Augment min client messages to ERROR so that new deprecation
-	  warnings don't need to be expected.
-
-2013-05-13 06:45  robe
-
-	* fix typo in ST_ColorMap query
-
-2013-05-13 04:14  robe
-
-	* dustymugs must have made a correction to pseudo_color -- no black
-	  background anymore, also add in visualizations for new named
-	  color ramps and liink fromST_AsPNNG TOST_COLRMap
-
-2013-05-12 19:40  colivier
-
-	* #2323. Commit it and br .po for sfcgal doc
-
-2013-05-12 08:43  colivier
-
-	* #2323. Add reference_sfcgal.xml.pot
-
-2013-05-12 04:19  robe
-
-	* bump trunk to 2.1.0beta3dev
-
-2013-05-12 03:08  robe
-
-	* switch download location to downloads.osgeo.org
-
-2013-05-12 03:05  robe
-
-	* prep for beta2 tagging
-
-2013-05-12 02:27  robe
-
-	* #1898, #2322 move geos functions in lwtin.c to lwgeom_geos.c to
-	  prevent unhealthy dependency on geos (for loader tools and also
-	  image generator), roll back change to cunit for loader (the geos
-	  includes). bump up version number to beta2dev
-
-2013-05-11 16:05  robe
-
-	* one more try
-
-2013-05-11 15:55  robe
-
-	* try again. committed obsolete version last time.
-
-2013-05-11 15:50  robe
-
-	* fix booboo
-
-2013-05-11 15:46  robe
-
-	* update version number to beta1 in prep for tagging, upgrade from
-	  old dev, amendments to how to release, rebuild of unpackaged
-	  scripts
-
-2013-05-11 15:32  robe
-
-	* change 3d icons, better distinction between required and
-	  enhnaced, minor grammar correction
-
-2013-05-11 13:24  colivier
-
-	* Related to #2321. SFCGAL doc entry in installation.xml.
-
-2013-05-11 07:47  colivier
-
-	* #2319 fix. Update SFCGAL regress tests after #1994 functions
-	  renaming
-
-2013-05-11 05:20  robe
-
-	* have sfcgal function appear in special index and also flag if a
-	  function requires sfcgal in matrix
-
-2013-05-11 03:18  robe
-
-	* update screen outputs
-
-2013-05-11 02:34  robe
-
-	* missed one comment
-
-2013-05-11 02:32  robe
-
-	* repeat create extension instructions in short -- heck its shorter
-	  than the crap we have listed. Also correect compile instructions
-	  (with-raster and -with-topology no longer need stating) get rid
-	  of other obsolete statements
-
-2013-05-11 02:14  robe
-
-	* update ReadMe to include SFCGAL and preferred versions of
-	  GEOS/GDAL/CGAL. Put pretty anchors in install so doesn't create
-	  hard to bookmark numbered anchors.
-
-2013-05-11 01:56  robe
-
-	* update change log in preparation for beta1 release
-
-2013-05-10 22:27  dustymugs
-
-	* Added more predefined color ramps for ST_ColorMap(raster).
-	  Removed RGB
-	  <-> HSV colorspace conversion as it sometimes resulted in strange
-	  answers when interpolating.
-
-2013-05-10 22:27  dustymugs
-
-	* Remove noisy info message. A big source of confusion. Ticket
-	  #2309
-
-2013-05-10 17:17  colivier
-
-	* cf #2318, add a optional additional version parameter in
-	  ST_ForceSFS, handle both 1.1 and 1.2. default is 1.1
-
-2013-05-10 16:23  colivier
-
-	* Use ST_MinkowskiSum rather than ST_Minkowski userland.
-
-2013-05-10 16:17  colivier
-
-	* add a flag for SFCGAL function cf #2317. Remove useless
-	  ST_MakeSolid doc entry
-
-2013-05-10 15:00  strk
-
-	* ST_Force_XXX renamed to ST_ForceXXX
-
-2013-05-10 13:24  colivier
-
-	* Update NEWS related to #2254 and #1823
-
-2013-05-10 13:02  colivier
-
-	* Change ST_force_sfs to ST_ForceSFS, also in ST_ConcaveHull
-	  calls...
-
-2013-05-10 11:43  colivier
-
-	* Change ST_force_sfs to ST_ForceSFS
-
-2013-05-10 11:40  colivier
-
-	* output COLLECTION of Polygon for TIN and PolyhedralSurface, for
-	  ST_ForceSFS (instead of MultiPolygon). Thanks to Sandro for these
-	  input
-
-2013-05-10 10:47  colivier
-
-	* Fix #2314. Add a unit test for postgis_sfcgal_version
-
-2013-05-10 07:51  strk
-
-	* Fix more compiler warnings
-	  
-	  There are still some that would be nice to fix, but it's mostly
-	  the array subscript is above array bounds one
-
-2013-05-10 07:43  robe
-
-	* link to ST_NumBands
-
-2013-05-10 07:42  robe
-
-	* example of a custom color map
-
-2013-05-10 07:17  strk
-
-	* Fix compiler warnings in lwgeom_functions_analytic
-
-2013-05-10 07:06  strk
-
-	* Fix implicit declaration of function 'tolower' warning
-
-2013-05-10 07:00  colivier
-
-	* Related to #2313
-
-2013-05-10 06:57  robe
-
-	* #2290 provide visual example of color map
-
-2013-05-10 00:09  dustymugs
-
-	* Added generated sfcgal files
-
-2013-05-10 00:09  dustymugs
-
-	* Addition of ST_ColorMap(raster). Ticket #2290
-
-2013-05-09 23:46  dustymugs
-
-	* Prevent compile error for when CGAL isn't wanted.
-
-2013-05-09 22:12  colivier
-
-	* add st_force_sfs doc
-
-2013-05-09 19:38  colivier
-
-	* Add SFCGAL support cf #2254. Include SFCGAL support, postgis
-	  backend handling (GEOS/SFCGAL). Regress tests, documentation
-	  prototypes and also additional force_sfs function.
-
-2013-05-09 14:22  robe
-
-	* update extension install to include tiger geocoder and some
-	  helpful commands you can run from psql
-
-2013-05-09 09:24  strk
-
-	* Fix potential access to uninitialized value
-	  
-	  It would have happened on malformed COMPOUNDCURVE (unlikely).
-	  Hushes compiler warning.
-
-2013-05-09 06:34  robe
-
-	* start accounting for more raster helper types - addbandarg etc.
-
-2013-05-08 20:37  pramsey
-
-	* #2298, ST_AsGML geography crashable with monkey inputs
-
-2013-05-08 05:18  robe
-
-	* #2242: Clarify behavior of ST_Union with NULLS
-
-2013-05-08 05:05  robe
-
-	* put full version number on st_tpi, st_tri, st_roughness
-
-2013-05-07 23:04  dustymugs
-
-	* Commented out debug call to non-existant function
-	  nd_stats_to_grid().
-	  Ticket #2282
-
-2013-05-07 15:39  dustymugs
-
-	* Added ST_TRI(raster). Ticket #2164. Thanks to Nathaniel Clay for
-	  writing the function and required docs and regression tests.
-
-2013-05-07 15:39  dustymugs
-
-	* Added ST_Roughness(raster). Ticket #2302. Thanks to Nathaniel
-	  Clay for writing the function and required docs and regression
-	  tests.
-
-2013-05-07 15:39  dustymugs
-
-	* Added ST_TPI(raster). Ticket #2163. Thanks to Nathaniel Clay for
-	  writing
-	  the function and required docs and regression tests.
-
-2013-05-07 15:32  robe
-
-	* try again
-
-2013-05-07 15:00  robe
-
-	* put in author info ePub just shows unknown for author (annoying).
-	  Move editor into authorgroup. Also put in productname and number
-
-2013-05-07 06:05  robe
-
-	* fix PGCONFIG (change to @PG_CONFIG@ ) to be consistent with
-	  configure variable change.
-
-2013-05-06 08:30  strk
-
-	* Ensure local liblwgeom dir is added first to include path in
-	  loader/
-
-2013-05-06 07:58  robe
-
-	* Add GEOS to compile cunit flags of shp2pgsql to prevent error in
-	  #1898
-
-2013-05-06 06:48  robe
-
-	* #1898: Nathan Wagner's patch that adds a flag 2 to allow
-	  ST_DelaunayTriangles to dump out a TIN. Just commit and see if
-	  winnie has same issue with shp2pgsql-gui checks
-
-2013-05-05 22:35  robe
-
-	* #1818 slight doc change move the FromGeoHash family to
-	  constructor section and link back to ST_GeoHash output and amend
-	  credits to Jason Smith
-
-2013-05-05 16:34  robe
-
-	* #2118: add enhanced note to ST_Boundary (to note Nathan Wagner
-	  ST_Triangle support feature)
-
-2013-05-05 16:24  robe
-
-	* #2118: ST_Boundary support for Triangle type
-
-2013-05-05 01:37  robe
-
-	* change output naming of epub to be consistent with pdf and also
-	  try to add in the css include
-
-2013-05-04 20:15  robe
-
-	* bah dbtoepub doesn't understand includes
-
-2013-05-04 20:04  robe
-
-	* switch back to rout but attempt a -I include
-
-2013-05-04 19:42  robe
-
-	* change epub to be built in html so relative search for images
-	  doesn't break, fix deprecated links
-
-2013-05-04 16:59  robe
-
-	* #2204: regina programming in dark trying to put in epub build
-	  logic
-
-2013-05-04 13:54  robe
-
-	* change log tables generated to have 21 in name (topology garden
-	  test is far from done)
-
-2013-05-04 13:18  robe
-
-	* #2295 Nathan Wagner patch to support for dumping circular strings
-	  in dump points
-
-2013-05-04 01:16  robe
-
-	* #2293: patch to throw an error for curved geoms on ST_DumpPoints
-	  rather than crash.
-
-2013-05-03 05:54  robe
-
-	* #1292 commit patch ST_SnapToGrid returns a value of of range
-
-2013-05-03 04:45  robe
-
-	* #1818 credit updates J. Smith (also fix web link in CREDITS file)
-
-2013-05-03 04:12  robe
-
-	* #1818: geohash one more file forgot to commit.
-
-2013-05-03 04:05  robe
-
-	* #1818: oops forgot to add the tests
-
-2013-05-03 04:04  robe
-
-	* #1818: geohash patch hashbox to geom
-
-2013-05-02 12:03  robe
-
-	* #2262 change box cast from implicit to assignment
-
-2013-05-02 12:00  robe
-
-	* add 2.0.3 and 2.1 sections, break out 2.1 changed from new
-
-2013-05-01 13:48  robe
-
-	* ban strk's annoying warning note about using deprecated functions
-
-2013-05-01 05:51  robe
-
-	* revise unpackaged to include pagc stuff
-
-2013-05-01 05:05  robe
-
-	* fix formatting was causing miss parsing of zips
-
-2013-04-30 03:39  robe
-
-	* one more clarification
-
-2013-04-30 03:35  robe
-
-	* clarify under what conditions you can compile without GDAL
-
-2013-04-29 05:31  robe
-
-	* #2279 fix typo got smallint and int4 confused
-
-2013-04-28 21:27  robe
-
-	* #2279: fix inability to upgrade from 2.0 to 2.1 by renaming old
-	  geog/geom selectivity functions to new name (if they are
-	  currently used) aand then allowing the standard upgrade to steam
-	  roll over the definitions.
-
-2013-04-26 14:47  dustymugs
-
-	* Added ST_Summary(raster). Ticket #2280
-
-2013-04-25 10:07  robe
-
-	* updates to instructions more coming though should probably just
-	  put n onlin documentation
-
-2013-04-25 10:07  robe
-
-	* #2260: revise to use new API structure of pagc standardizer
-
-2013-04-24 15:54  dustymugs
-
-	* Added better handling of file paths for msys
-
-2013-04-24 03:34  robe
-
-	* Add update path from 2.0.3 to 2.1.0SVN
-
-2013-04-23 23:46  dustymugs
-
-	* Added parameter to ST_AsBinary(raster) to permit out-db bands to
-	  be treated as in-db. Ticket #2222
-
-2013-04-23 21:48  pramsey
-
-	* #2275, revert configure argument with-pgconfig
-
-2013-04-23 21:03  pramsey
-
-	* #2277, potential segfault condition removed
-
-2013-04-23 20:37  dustymugs
-
-	* Added test for loading out-db rasters in raster2pgsql
-
-2013-04-23 19:32  dustymugs
-
-	* Explicitly initialize memory as valgrind complains
-
-2013-04-23 19:32  dustymugs
-
-	* Added bash versions of "bootstrapping" code for rt_addband test
-
-2013-04-23 19:32  dustymugs
-
-	* Addition of ST_AddBand(raster, ...) for out-db bands. Ticket
-	  #2276
-
-2013-04-17 12:46  robe
-
-	* oops had wrong data type for tables
-
-2013-04-17 06:58  strk
-
-	* Properly escape dashes in man pages
-	  
-	  Patch by Markus Wanner <markus at bluegap.ch>
-
-2013-04-16 18:23  dustymugs
-
-	* Added numerical parameters version of ST_SetGeoReference(raster).
-	  Ticket #613
-
-2013-04-16 15:21  pramsey
-
-	* Change PGCONFIG to PG_CONFIG
-
-2013-04-16 07:40  strk
-
-	* Link to wikipedia article about GeoHash from ST_GeoHash
-
-2013-04-15 21:40  dustymugs
-
-	* Emit warning when changing a raster's georeference if raster has
-	  any
-	  out-db bands. Also updated docs with note. Ticket #2244
-
-2013-04-15 21:14  robe
-
-	* add new use_pagc_addess_parser switch in list
-
-2013-04-15 08:02  strk
-
-	* Add -s to usage string of postgis_restore.pl. See #2264
-
-2013-04-13 18:26  mcayland
-
-	* Associated CLI fix for #2272: shp2pgsql-gui crashes when given
-	  filenames with dots.
-	  
-	  After some experimentation, the best solution seems to be to use
-	  a separate scan to
-	  remove the extension before finding the non-path section when
-	  deriving the table
-	  name.
-
-2013-04-13 17:36  mcayland
-
-	* Fix for bug #2272: shp2pgsql-gui crashes when given filenames
-	  with dots.
-	  
-	  This was a combination of two bugs: firstly, we weren't
-	  initialising the
-	  state variable field_names to NULL, and so if the variable
-	  happened to
-	  be filled with junk and we were unable to import a shape file, we
-	  would
-	  end up freeing a random pointer.
-	  
-	  Secondly, shapelib tries to be clever and strip off any file
-	  extension
-	  by searching for a "." character from the end of the filename,
-	  hence
-	  causing the truncation of the filename. Resolve this by leaving
-	  the
-	  .shp/.dbf extension from the file selector in the filename string
-	  so
-	  that shapelib does the right thing.
-
-2013-04-13 07:15  robe
-
-	* #2260 - fix normalize discrepancy in pagc handling service drives
-
-2013-04-12 18:46  pramsey
-
-	* #945, clean up build artefacts and upgrade script
-
-2013-04-12 18:33  pramsey
-
-	* #945, remove the old selectivity code, now no longer being called
-
-2013-04-12 16:20  strk
-
-	* Rewrite the postgis_restore.pl improvement line
-	  
-	  The commit message was also wrong, it's not the dump having
-	  postgis
-	  in custom schema but the new install...
-
-2013-04-12 16:10  strk
-
-	* postgis_restore.pl support for dump with postgis in custom schema
-	  
-	  See #2264 -- thanks Thomas (frost242)
-
-2013-04-11 20:14  dustymugs
-
-	* Prevent parallel make of raster. Ticket 2271
-
-2013-04-10 20:06  robe
-
-	* give license faq a permanent pretty anchor.
-
-2013-04-09 23:45  dustymugs
-
-	* Fix expression-based ST_MapAlgebra resulting in regression
-	  failures on some machines
-
-2013-04-09 22:43  strk
-
-	* Fix access to random memory during ANALYZE
-	  
-	  The bug was introduced with previous commit, see #2269
-	  
-	  As part of this fix, the stawidth field of pg_statistics is
-	  changed to represent the average _compressed_ size rather
-	  than the average _uncompressed_ size of non-null geometry
-	  values. This may have some consequence on the planner (not
-	  known at time of commit).
-
-2013-04-09 18:35  strk
-
-	* Avoid uselessly detoasting full geometries on ANALYZE (#2269)
-
-2013-04-06 18:14  dustymugs
-
-	* Removed debug statements
-
-2013-04-06 18:11  dustymugs
-
-	* GBOX variables not initialized for empty geometries. Ticket #2257
-
-2013-04-05 14:37  robe
-
-	* change to use some elements from parse_address
-
-2013-04-05 14:28  robe
-
-	* add pagc regression testing. Will upload the regress output once
-	  I look into the regression failures
-
-2013-04-04 06:46  robe
-
-	* #2192: doco patch
-
-2013-04-03 22:53  robe
-
-	* #2258 get rid of explicit public (so people can install postgis
-	  in any schema they want), but insure we use security invoker to
-	  call new st_esimatedExtent to prevent malicious code injection.
-
-2013-04-03 13:39  robe
-
-	* mark pagc lookup tables is_custom = true as editable
-
-2013-04-03 12:54  robe
-
-	* #2261: fix creation of next next upgrade script, add null
-	  protection for pagc_normalize_address
-
-2013-04-02 22:22  robe
-
-	* #2193: implement upgrade next next functionality hack, implement
-	  swap -- SELECT
-	  set_geocode_setting('use_pagc_address_parser','true'); will cause
-	  geocoder to use pagc address parser instead of build in
-	  normalizer
-
-2013-04-02 20:51  robe
-
-	* #2193: get rid of redundant call.
-
-2013-04-02 20:46  robe
-
-	* #2193 integrate pagc in extension (loads helper tables) and also
-	  upgrade and create scripts, modify tables some more. Still need
-	  to put in another folder with c files for compile and in manual
-	  on how to enable.
-
-2013-04-02 15:07  robe
-
-	* #2193: pretype (not ideal because norm_addy doesn't have slot for
-	  it so just stuff in streettypeabbrev ) .norm_addy should ideally
-	  be changed.
-
-2013-04-02 14:57  robe
-
-	* forgot the pre direction
-
-2013-04-02 14:43  robe
-
-	* First step of integrating the pagc normalizer, add the tables and
-	  wrapper function that return a norm_addy object and also a
-	  geocode_setting option to swap out old address parser with pagc
-
-2013-03-31 01:55  robe
-
-	* #2018 mark ST_Dwithin as also supporting curves. Just taking
-	  rpamsey's word for this -- will test later.
-
-2013-03-30 01:19  robe
-
-	* #2018: highlight that curves are now supported - examples
-	  forthcoming. Also broke geography into separate example section
-
-2013-03-29 20:38  pramsey
-
-	* #2018, Remove old bruteforce function and replace with new one.
-
-2013-03-29 20:37  dustymugs
-
-	* Set CFLAGS in loader cunit tests so that mingw can run tests
-
-2013-03-29 16:47  dustymugs
-
-	* Removed commented out variants of ST_MapAlgebra removed in
-	  r11222.
-
-2013-03-29 16:36  dustymugs
-
-	* Added news about Ticket #2133
-
-2013-03-29 16:34  dustymugs
-
-	* Code cleanup to shut gcc up
-
-2013-03-29 16:33  dustymugs
-
-	* Refactored expression variant of ST_MapAlgebra() to be faster.
-	  Performance is almost as good as ST_MapAlgebraExpr(). Ticket
-	  #2133
-
-2013-03-29 15:55  robe
-
-	* fix link
-
-2013-03-28 22:11  pramsey
-
-	* #2018, Distance calculation support for arc features (circstring,
-	  compoundcurve, curvepolygon)
-
-2013-03-28 13:32  robe
-
-	* change variable used to __MINGW64_VERSION_MAJOR (the mingw64_w32
-	  doesn't have __MINGW64_ (only the mingw64-w64 has that)
-
-2013-03-28 09:30  robe
-
-	* #1668: if mingw64 and it returns <0 switch to _vscprintf native
-	  windows implementation. Thanks to swoodbridge for pointing out
-	  the define to use.
-
-2013-03-27 13:30  dustymugs
-
-	* Fix bad dimensions when rescaling rasters with default
-	  geotransform
-	  matrix. Ticket #2251
-
-2013-03-26 15:47  pramsey
-
-	* flag #945 as complete
-
-2013-03-26 15:24  pramsey
-
-	* #2201, ST_GeoHash wrong on boundaries
-
-2013-03-26 13:12  pramsey
-
-	* #2186, gui progress bar update is slowing loads
-
-2013-03-26 04:14  dustymugs
-
-	* Enhanced ST_Union(raster, uniontype) to union all bands of all
-	  rasters.
-	  Ticket #2200.
-
-2013-03-25 18:45  colivier
-
-	* revert wrong regress encoding stuff from r11205
-
-2013-03-25 18:41  colivier
-
-	* Related to #1553. Add missing free in cu_surface cunit to be
-	  valgrind clean. As TGEOM was not used as storage serialization, i
-	  purely remove TGEOM for now, and kept only the
-	  TIN/POLYHEDRALSURFACE lwgeom expression (will see in future if we
-	  really need to have a 3D topological storage PostGIS side)
-
-2013-03-25 17:17  dustymugs
-
-	* Removed old raster core tests from configure
-
-2013-03-25 17:11  dustymugs
-
-	* Delete old core raster tests. Ticket #2115
-
-2013-03-25 03:14  dustymugs
-
-	* Addition of ST_FromGDALRaster(). This is what happens on a long
-	  airplane
-	  flight! Ticket #2123.
-
-2013-03-25 03:08  dustymugs
-
-	* Added item regarding -n of raster2pgsql. Ticket #2231
-
-2013-03-25 03:05  dustymugs
-
-	* Added ability to specify name of filename column in raster2pgsql.
-	  More
-	  stuff being done stuck in a tube at 30k feet.
-
-2013-03-22 16:12  strk
-
-	* Revert "Add '-x c' switch to CPP / CC when used as SQL
-	  preprocessor"
-	  
-	  It seems it wasn't needed, see #2239
-
-2013-03-22 12:34  strk
-
-	* Fix lineal TopoJSON output to keep multi components separated
-	  
-	  REF: #2228
-
-2013-03-22 11:20  strk
-
-	* Add '-x c' switch to CPP / CC when used as SQL preprocessor
-	  
-	  Hopefully it'll set us free to name our input files with any
-	  extension we decide.
-
-2013-03-21 21:28  dustymugs
-
-	* Fix ST_InvDistWeigh4MA() to handle a situation when neighborhood
-	  is
-	  empty except the center pixel.
-
-2013-03-21 16:15  strk
-
-	* Fix areal TopoJSON output to group and order polygon rings
-	  (#2228)
-
-2013-03-21 09:01  strk
-
-	* Review comments above Makefile rule to generate .sql from .sql.in
-
-2013-03-20 17:38  strk
-
-	* Have functions deprecated in 2.1.0 raise a WARNING message
-	  (#1994)
-	  
-	  Drop use of some deprecated functions by other functions
-	  (as exposed by testsuite).
-	  
-	  Add a _postgis_deprecate service function for the message, so we
-	  can change from WARNING to NOTICE or we can tweak the message,
-	  in a central place.
-
-2013-03-20 16:47  strk
-
-	* Deprecate non-CamelCase linear referencing function (#1994)
-	  
-	  - ST_Line_Interpolate_Point renamed to ST_LineInterpolatePoint
-	  - ST_Line_Substring renamed to ST_LineSubstring
-	  - ST_Line_Locate_Point renamed to ST_LineLocatePoint
-	  
-	  Tests updated to use the new signature, docs updated to show the
-	  new signature and report deprecations
-
-2013-03-20 16:10  strk
-
-	* Add perturbating edges in TopoJSON test
-
-2013-03-20 12:18  strk
-
-	* Update TopoJSON example with correct output, add note about arc
-	  indices
-
-2013-03-20 11:44  strk
-
-	* Speedup areal TopoJSON output routine to use edge walking
-	  
-	  Now it takes 6% of the time to do the same thing !
-	  
-	  Tweak tests to expect new arcs numbering and order.
-	  Also fixes missing comma separating polygon ring arcs.
-
-2013-03-20 10:27  strk
-
-	* Fix AsTopoJSON call in testcase
-
-2013-03-20 10:26  strk
-
-	* Properly encode TopoJSON.sql.in dependency into topology.sql
-
-2013-03-20 07:48  strk
-
-	* Oops, forgot to add topojson test expectancy (#2240)
-
-2013-03-19 18:29  strk
-
-	* Add AsTopoJSON(TopoGeometry) function (#2228)
-
-2013-03-19 11:52  strk
-
-	* Cleanup and integrate documentation of ST_GetFaceEdges
-
-2013-03-19 09:59  strk
-
-	* Move GML function under a new export/ subdir
-
-2013-03-19 09:53  strk
-
-	* Drop the .c suffix of sql files to preprocess under topology/ dir
-
-2013-03-19 09:16  strk
-
-	* Drop the .c suffix of sql files to preprocess under raster/ dir
-
-2013-03-18 19:50  robe
-
-	* #2238: clarify neighborhood distance terminology
-
-2013-03-18 18:14  strk
-
-	* Drop unused variables
-
-2013-03-18 17:20  strk
-
-	* Drop the .c suffix of sql files to preprocess
-	  
-	  The suffix was added to make compilers happy about preprocessing,
-	  but invoking cpp directly should be just fine (SQLPP macro)
-	  
-	  This is an experimental change under postgis/, if everyone is
-	  happy
-	  the same thing will be done for raster/ and topology/
-
-2013-03-18 00:49  dustymugs
-
-	* Fixed unescaped % in RAISE message. Ticket #2237
-
-2013-03-16 15:30  robe
-
-	* fix typo in ST_AsGDALRaster example
-
-2013-03-08 13:58  strk
-
-	* Make test for ST_PointOnSurface accept any contained point as
-	  valid
-	  
-	  This is to support a change in GEOS 3.3.9 / 3.4.0 that started
-	  giving different (but still valid) results.
-	  See http://trac.osgeo.org/geos/ticket/623
-
-2013-03-08 09:19  strk
-
-	* Reword ST_Simplify(TopoGeometry) description (#1687)
-
-2013-03-07 17:08  strk
-
-	* Document ST_Simplify(TopoGeometry) -- closes #1687
-
-2013-03-07 16:14  strk
-
-	* Add ST_Simplify override for TopoGeometry objects (#1687)
-
-2013-03-07 07:31  strk
-
-	* Split test for #1968 in two parts, to avoid false negative
-
-2013-03-06 18:37  strk
-
-	* Improve the test for #1968 to also check duplicated components
-
-2013-03-06 18:11  strk
-
-	* Fix missing edge from toTopoGeom return (#1968)
-
-2013-03-06 15:33  dustymugs
-
-	* Bad switch for debug output
-
-2013-03-06 15:20  strk
-
-	* Allow adding points at precision distance with TopoGeo_addPoint
-
-2013-03-05 16:57  dustymugs
-
-	* Minor code cleanup in raster2pgsql and additional debug output
-	  for
-	  rt_api
-
-2013-03-05 09:10  strk
-
-	* Make libjson-c optional adding --without-json configure switch
-	  (#2202)
-
-2013-03-04 17:57  strk
-
-	* Fix equality operator between EMPTY and point on origin (#2110)
-
-2013-03-04 17:02  strk
-
-	* Drop PDF version of EJB3 spatial tutorial
-	  
-	  There's an ODT version of the manual, pdf can be generated
-
-2013-02-28 17:56  strk
-
-	* Add regression test for #2216
-
-2013-02-28 17:42  strk
-
-	* Fix parsing GeoJSON of multipolygon with holes (#2216)
-
-2013-02-28 17:04  strk
-
-	* Add lwgeom_from_geojson to liblwgeom, add cunit test, fix memory
-	  leak
-
-2013-02-26 23:23  dustymugs
-
-	* Added ST_MinConvexHull(raster). Ticket #2210
-
-2013-02-26 17:42  dustymugs
-
-	* Changed name of exclusion constraint to by dynamic due to
-	  conflict of
-	  implicit index names. Ticket #2215
-
-2013-02-26 17:42  dustymugs
-
-	* Addition debug output for rt_raster_from_gdal_dataset()
-
-2013-02-23 05:08  robe
-
-	* mordernize faq on creating spatial table.
-
-2013-02-23 02:04  robe
-
-	* #2209: reword to encoding raster issue to not specify explicit
-	  byte count
-
-2013-02-22 18:26  pramsey
-
-	* #1292, go back to nudging geodetic coordinates (realityexists)
-
-2013-02-21 15:53  robe
-
-	* remove duped qandset tags
-
-2013-02-21 14:09  robe
-
-	* missing para tag
-
-2013-02-21 13:31  robe
-
-	* oops forgot pretty anchor
-
-2013-02-21 13:29  robe
-
-	* document issue in ticket #2209 in FAQ. Probably only affects me,
-	  but who knows.
-
-2013-02-19 23:03  robe
-
-	* #2208 : document that ST_PointN no longer works with first
-	  linestring of multilinestring
-
-2013-02-18 04:17  dustymugs
-
-	* Wrong debug output function
-
-2013-02-17 19:27  robe
-
-	* had type and name swapped
-
-2013-02-17 18:37  robe
-
-	* ST_MapAlgebra: create variablelist and move much of commentary to
-	  that so page is more easily digestable
-
-2013-02-17 16:24  dustymugs
-
-	* Fixed handling of out-db rasters with no geotransform matrix
-
-2013-02-16 21:47  dustymugs
-
-	* Additional debug output for rt_raster_gdal_warp()
-
-2013-02-16 21:47  dustymugs
-
-	* Update raster TODO as it was sorely out of date
-
-2013-02-16 01:00  dustymugs
-
-	* Faster ST_Union() done using memcpy when possible
-
-2013-02-15 23:53  dustymugs
-
-	* Changed how rasters with unknown SRID and default geotransform
-	  are
-	  handled when calling GDAL Warp API. Ticket #2203
-
-2013-02-09 06:08  robe
-
-	* change check geos to be 3.4 (3.4 is the new standard of
-	  excellence)
-
-2013-02-09 05:24  robe
-
-	* get rid of use of xml tags in arg - messing up formatting of
-	  cheat sheet gen
-
-2013-02-09 05:17  robe
-
-	* missed one
-
-2013-02-09 05:16  robe
-
-	* fix version number -- should change to read from config at some
-	  point, but too lazy to figure that out right now
-
-2013-02-09 04:29  robe
-
-	* add styles to avoid page breaks in awkward places
-
-2013-02-09 03:45  robe
-
-	* update to summary of what's new in PostGIS 2.1 - this will be a
-	  really slick release :). Fix doc links in cheatsheet generator
-
-2013-02-07 20:49  pramsey
-
-	* Expand size of generic cache to allow future
-	  pointcloud cache to sneak into it if necessary
-
-2013-02-07 17:16  dustymugs
-
-	* Corrected use of pfree instead of PG_FREE_IF_COPY
-
-2013-02-07 17:16  dustymugs
-
-	* Additional assert() calls. Will need to add usage of NDEBUG flag
-	  to turn
-	  off assert() for non-debug builds
-
-2013-02-07 06:31  robe
-
-	* uhh how could we forget to mention the cool
-	  ST_Union(rast,unionarg) is new in PostGIS 2.1. Got rid of some
-	  other notes as its only that annoying ST_Union(rast,uniontype)
-	  that's a sore in my back.
-
-2013-02-06 21:38  robe
-
-	* #2199: clarify ST_Union(rast) multiband union feature is just for
-	  first variant. A bit too verbose, but at least I won't be
-	  confused anymore.
-
-2013-02-04 19:07  dustymugs
-
-	* Fixed dimension error of bands when using ST_Tile on out-db
-	  rasters.
-	  Ticket #2198
-
-2013-02-04 19:07  dustymugs
-
-	* Additional calls to assert() and better checking of out-db raster
-	  bands
-
-2013-02-04 19:07  dustymugs
-
-	* Removed some unnecessary assert() calls
-
-2013-02-02 23:48  robe
-
-	* #2190: further cleanup of topology existence checking so
-	  regresses for 9.3. Should pass with flying colors now.
-
-2013-02-02 22:12  robe
-
-	* fix for 9.3 -- pg 9.3 seems to throw errors sooner so we need to
-	  check a topology exists before trying to query it.
-
-2013-02-01 20:13  robe
-
-	* fix gdal_translate examples (port now required) and have typos in
-	  syntax
-
-2013-01-29 15:25  dustymugs
-
-	* Added check that raster metadata check and warn if not
-
-2013-01-29 14:48  dustymugs
-
-	* Remove debug output from rt_raster_gdal_warp()
-
-2013-01-28 23:01  dustymugs
-
-	* Fix function parameter value overflow that caused problems when
-	  copying
-	  data from a GDAL dataset. Problem first appeared in ST_Resize().
-	  Ticket #2188
-
-2013-01-28 23:01  dustymugs
-
-	* Code cleanup of rt_raster_gdal_warp()
-
-2013-01-26 18:17  robe
-
-	* ST_Perimeter not being flagged in matrix as geography function
-	  because of double function synopsis
-
-2013-01-26 17:31  robe
-
-	* link happiness -- add ref to postgresql math functions so people
-	  aren't puzzled by degrees, pi, radians where they came from
-
-2013-01-26 17:27  robe
-
-	* clarify distance is in meters in the short-descrip that shows in
-	  db environment
-
-2013-01-26 17:22  robe
-
-	* ST_Project -- somebody didn't follow protocol and didn't tag
-	  PostGIS version when they added this
-
-2013-01-26 02:42  robe
-
-	* spell degrees correctly -- its degrees not degreees
-
-2013-01-26 02:32  robe
-
-	* #657: correct the documentation on ST_Project to reflect it
-	  expects bearing measured in radians and how to handle for both
-	  degrees and radians
-
-2013-01-25 11:03  strk
-
-	* Support dumps where the geometry column has a mixEdCaseD name
-
-2013-01-24 21:15  strk
-
-	* Properly copy topologies with Z value (#2184)
-
-2013-01-20 16:56  dustymugs
-
-	* Fix issue with outdb rasters with no SRID and ST_Resize (GDAL
-	  warp
-	  calls). Ticket #2182
-
-2013-01-18 18:09  strk
-
-	* Have ST_Summary advertise presence of known srid with an [S] flag
-	  
-	  Closes #2178
-
-2013-01-18 14:10  robe
-
-	* obsolete links
-
-2013-01-18 08:55  robe
-
-	* update news with new tiger geocoder features
-
-2013-01-17 08:05  strk
-
-	* Prefer boolean predicates over overlay ops in ST_ChangeEdgeGeom
-	  
-	  Further reduces robustness issues and squeezes another bit of
-	  performance.
-
-2013-01-16 21:42  strk
-
-	* Drop useless input endpoints relate check in ST_ChangeEdgeGeom
-
-2013-01-16 15:14  strk
-
-	* Make ST_ChangeEdgeGeom motion collision detection code more
-	  robust
-	  
-	  The new model avoids a call to GEOSSymDifference but rather
-	  checks
-	  each candidate node against both "motion ranges" containment.
-	  It still constructs something, but only MULTIPOINT, which should
-	  be safe. Haven't profiled but the new code should also be faster
-	  than the previous. Fixes ticket #2176, includes testcase for it.
-
-2013-01-16 14:24  robe
-
-	* change to about link to show new website link
-
-2013-01-16 09:42  robe
-
-	* fix formatting and word changes to tiger extension install
-	  section
-
-2013-01-16 09:16  robe
-
-	* update to reflect new protocol when we are on new site. Also to
-	  update download links
-
-2013-01-16 07:48  robe
-
-	* move note into para
-
-2013-01-16 07:38  robe
-
-	* get rid of program listing stuff try to fix regress.
-
-2013-01-16 07:24  robe
-
-	* get rid of unbalanced para tag
-
-2013-01-16 07:13  robe
-
-	* add extension model instructions for tiger geocoder install. add
-	  xml entity for download link
-
-2013-01-15 11:54  strk
-
-	* Base vertex snap tolerance in lwline_split_by_point on line
-	  length
-	  
-	  Fixes robustness issue in splitting line with own vertex (#2173)
-	  Also fixes one case of topology building (#2172)
-
-2013-01-02 12:24  robe
-
-	* give anchor friendly ids for chapter and sections (so if we
-	  shuffle in future anchor doesn't change)
-
-2012-12-31 15:18  strk
-
-	* Use grep found by ./configure (and have ./configure look for it)
-
-2012-12-27 23:38  strk
-
-	* Use grep found by ./configure
-
-2012-12-27 12:56  strk
-
-	* Drop "lwgeom_init_allocators" need, add "lwgeom_set_handlers"
-	  
-	  This change allows using liblwgeom from clients which cannot
-	  define
-	  C-level methods for link-back (e.g. python ctypes). See #2089.
-	  
-	  NOTE: existing clients should take care of calling the new
-	  function
-	  because their "lwgeom_init_allocators" won't be called anymore.
-	  Failure to do so will result in default allocators / reporters
-	  being used.
-	  
-	  Thanks Giuseppe Sucameli for the base work on this
-
-2012-12-26 13:44  robe
-
-	* Add add_search_path helper function and call it in install of
-	  postgis_tiger_geocoder to add tiger to search path. Create
-	  unpacked script for geocoder so can do CREATE EXTENSION
-	  postgis_tiger_geocoder FROM unpackaged;
-
-2012-12-21 22:55  dustymugs
-
-	* More code and memory cleanup
-
-2012-12-21 22:18  dustymugs
-
-	* Additional cleanup and making sure to free memory when hitting
-	  errors
-
-2012-12-21 22:18  dustymugs
-
-	* Code cleanup of rt_raster_serialize(). Basically make sure to
-	  free
-	  allocated memory if function has error
-
-2012-12-21 10:53  strk
-
-	* Fix memory leak in lwcollection_homogenize
-
-2012-12-21 10:01  strk
-
-	* Update ignores
-
-2012-12-21 10:01  strk
-
-	* Fix compiler warnings
-
-2012-12-20 20:47  dustymugs
-
-	* PostgreSQL 9.3 changed where heap_form_tuple() is declared. Fixed
-	  in
-	  raster and postgis. Ticket #2013.
-
-2012-12-20 18:40  pramsey
-
-	* Quiet compile warnings.
-
-2012-12-20 18:26  strk
-
-	* Fix leak in cu_stringbuffer test
-
-2012-12-20 18:07  strk
-
-	* Fix memory leak in lwmline_locate_along
-
-2012-12-20 17:51  strk
-
-	* Fix memory leak in geometry cleaner
-
-2012-12-20 17:20  strk
-
-	* Drop unused "libtgeom.h" include
-	  
-	  This is to make libtgeom memory errors less scary :)
-	  See #1553
-
-2012-12-20 17:19  strk
-
-	* Fix memory leaks in lwsegmentize and cu_ptarray
-
-2012-12-20 16:02  robe
-
-	* add topology so extension now installs cleanly. still need to add
-	  set path and cleanup the make clean
-
-2012-12-19 23:26  dustymugs
-
-	* Stomp out memory leaks in CUnit tests
-
-2012-12-19 23:26  dustymugs
-
-	* Make sure to free OGR geometry when the geometry is empty
-
-2012-12-19 23:26  dustymugs
-
-	* Changed memory handling of offline band path. Now explicitly
-	  owned
-	  internally
-
-2012-12-19 20:52  strk
-
-	* Fix memory leak in circ_tree_new
-
-2012-12-19 20:52  strk
-
-	* Fix leak in cu_geodetic test
-
-2012-12-19 20:08  strk
-
-	* CUnit is not only needed for liblwgeom
-
-2012-12-19 18:18  strk
-
-	* Put JSON input test where it belongs (#2156)
-	  
-	  This time do not include other unrelated changes...
-
-2012-12-19 18:06  strk
-
-	* Revert "Move JSON input test where it belons (#2156)"
-	  
-	  Accidentally committed an unrelated patch..
-
-2012-12-19 18:01  strk
-
-	* Move JSON input test where it belons (#2156)
-
-2012-12-19 00:32  robe
-
-	* #2153: fix typo in file path
-
-2012-12-18 20:42  dustymugs
-
-	* Tweaked UpdateRasterSRID() to drop/add coverage tile as needed
-
-2012-12-18 05:06  robe
-
-	* #1959 remove sql_bits/mark_editable_objects.sql.in from upgrade
-	  script. It is the one causing pg_extension table to bloat and in
-	  theory not needed for upgrade since we don't change
-	  spatial_ref_sys during upgrade.
-
-2012-12-15 20:27  robe
-
-	* add 2.0.2 as upgrade from path
-
-2012-12-15 08:09  robe
-
-	* #2147 upgrade topology doesn't work on Mac BSD sed doesn't
-	  default to extended. Use already perl built topology upgrade
-	  script instead as template for extension upgrade
-
-2012-12-15 00:55  dustymugs
-
-	* Fixed handling of identifiers with single quote (') such as in
-	  O'Reilly.
-
-2012-12-14 20:28  dustymugs
-
-	* Changed testing of extent geometry
-
-2012-12-14 20:27  dustymugs
-
-	* Updated raster2pgsql help and docs to reflect changes to
-	  regular_blocking.
-
-2012-12-14 20:27  dustymugs
-
-	* regular_blocking constraint removed. regular_blocking column of
-	  raster_columns now looks for spatially_unique and coverage_tile
-	  constraints. Ticket #2150
-
-2012-12-14 20:27  dustymugs
-
-	* Added regression tests for ST_IsCoverageTile().
-
-2012-12-14 20:27  dustymugs
-
-	* Added support for padded edge tiles to ST_IsCoverageTile()
-
-2012-12-14 20:27  dustymugs
-
-	* Added support for no-band rasters to ST_Tile(raster)
-
-2012-12-14 20:27  dustymugs
-
-	* Added missing tickets and reorg of ticket list
-
-2012-12-14 20:27  dustymugs
-
-	* Added parameters to ST_Tile(raster) to control padding of
-	  generated tiles.
-	  ST_Tile(raster) no longer defaults to padding tiles. Ticket #2069
-
-2012-12-14 20:26  dustymugs
-
-	* Addition of coverage_tile constraint for raster. Ticket #2148
-
-2012-12-14 20:26  dustymugs
-
-	* Addition of ST_IsCoverageTile() to tell if tile is part of a
-	  coverage
-
-2012-12-14 20:26  dustymugs
-
-	* Added raster's spatially_unique constraint. Ticket #2149. Still
-	  needs
-	  regression tests but won't happen until regular_blocking is
-	  finished.
-
-2012-12-14 20:26  dustymugs
-
-	* Tweaked the extent computed for the extent constraint
-
-2012-12-14 20:26  dustymugs
-
-	* Changed blocksize constraint to permit multiple possible values.
-	  Ticket
-	  is #2143. We just need a coverage constraint and a spatially
-	  unique
-	  constraint to determine regularly blocked.
-
-2012-12-14 20:26  dustymugs
-
-	* Fixed incorrect return type in docs
-
-2012-12-14 20:26  dustymugs
-
-	* raster2pgsql no longer pads tiles by default based upon tile
-	  position and tile
-	  size. This is part of the refactoring to remove padded tiles.
-	  Flag -P
-	  added so that users can indicate that tiles should be padded.
-	  Ticket #826.
-
-2012-12-14 20:25  dustymugs
-
-	* Removed hardcoded flags for raster2pgsql from run_test
-
-2012-12-14 20:25  dustymugs
-
-	* Quiet down ST_SameAlignment(raster, raster) as it was way too
-	  talkative
-
-2012-12-14 20:25  dustymugs
-
-	* Updated regression tests for raster2pgsql
-
-2012-12-13 09:34  strk
-
-	* Revert "Return NULL when simplifying a line results in a line
-	  with < 2 vertices"
-	  
-	  The correct behavior is still being discussed here:
-	  http://trac.osgeo.org/postgis/ticket/1987
-	  Better reduce the noise...
-
-2012-12-12 15:52  strk
-
-	* Return NULL when simplifying a line results in a line with < 2
-	  vertices
-	  
-	  Also return NULL from ST_Simplify when the input is an empty
-	  (null is a simpler form than EMPTY...)
-	  
-	  Yes, both break backward compatibility, but seem more consistent
-	  to me. I'm still interested in allowing collapses avoidance but
-	  I think consistency is also important.
-
-2012-12-09 19:59  pramsey
-
-	* #2145, ST_Segmentize(geography, dist) fails with redundant
-	  coordinates
-
-2012-12-07 22:07  dustymugs
-
-	* More verbose output when constraints fail to be added to a raster
-	  column. Ticket #2141
-
-2012-12-07 09:27  strk
-
-	* Add an id to the toTopoGeom proxy entry
-
-2012-12-07 09:24  strk
-
-	* Element xref can't have content (was declared EMPTY)
-	  
-	  I'm surprised postgis_aggs_mm.xml.xsl contains all that XML,
-	  shouldn't it just transform source XML ?
-
-2012-12-07 09:24  strk
-
-	* Add a "TopoGeometry Editors" section
-	  
-	  I've added a toTopoGeom entry in this section for the sole
-	  purpose
-	  of redirecting to the one in "TopoGeometry Constructors".
-	  It's two overloaded functions, documented togheter in the latter
-	  section. If there's any better way to deal with this I'm looking
-	  forward for enhancements.
-
-2012-12-07 08:36  strk
-
-	* Element xref can't have content (was declared EMPTY)
-
-2012-12-07 08:31  strk
-
-	* Fix links to legacy faq
-
-2012-12-07 08:31  strk
-
-	* Document new toTopoGeom override and clearTopoGeom
-
-2012-12-07 01:08  dustymugs
-
-	* Fixed behavior of ST_ConvexHull() for empty rasters. Ticket #2126
-
-2012-12-06 23:23  strk
-
-	* Provide a version of toTopoGeom taking a TopoGeometry object
-	  
-	  Such version would _add_ the space taken by the input geometry
-	  to an existing TopoGeometry.
-
-2012-12-06 23:02  strk
-
-	* Add topology.clearTopoGeom(TopoGeometry) function
-
-2012-12-06 18:45  strk
-
-	* Do not hardcode version to rule to build topology_upgrade_X_minor
-
-2012-12-06 17:56  pramsey
-
-	* #2101, add some doco in the .sql.in.c file on the _postgis_*
-	  stats info functions.
-
-2012-12-06 17:39  mloskot
-
-	* Added RasterReader.copy_to() utility based on SQL command COPY TO
-	  and PostGIS Raster functions ST_As<FORMAT> and outputs rasters to
-	  hex-encoded plain text or binary raster file.
-
-2012-12-06 10:49  mloskot
-
-	* Typo
-
-2012-12-06 05:43  dustymugs
-
-	* Fixed handling of SRS strings as they are passed to GDAL
-	  functions.
-	  Ticket #2134
-
-2012-12-05 18:50  pramsey
-
-	* #2132, _postgis_stats crashes backend on missing stats
-
-2012-12-05 10:28  strk
-
-	* Fix broken shp2pgsql help string suggesting -r to reproject
-
-2012-12-04 19:54  pramsey
-
-	* #945, expose and add selectivity to the 3d/4d index (&&&)
-	  bindings
-
-2012-12-04 13:24  robe
-
-	* upport 2.0.2 release notes
-
-2012-12-03 22:17  dustymugs
-
-	* Fixed incorrect return type for ST_BandIsNoData(raster) in docs
-
-2012-12-03 16:19  strk
-
-	* Fix memory error in MultiPolygon GeoJson parsing (#2130)
-
-2012-12-03 14:10  strk
-
-	* Fix SRID in ST_Homogenize output with collection input (#2129)
-
-2012-12-03 10:09  strk
-
-	* Make ST_RemEdge* tests 30% faster by reducing service costs
-
-2012-12-02 22:36  dustymugs
-
-	* Removed PICFLAGS from CFLAGS when compiling CUnit suites. Ticket
-	  #2125
-
-2012-12-01 22:56  robe
-
-	* fix return type
-
-2012-12-01 20:32  robe
-
-	* TopoGeo_AddPolygon says aline instead of apoly
-
-2012-12-01 08:34  robe
-
-	* don't dtd validate when making comments and cheatsheets
-
-2012-12-01 01:19  dustymugs
-
-	* Added ST_Resize(raster) to resize a raster using desired
-	  width/height.
-	  Ticket #1293.
-
-2012-12-01 01:19  dustymugs
-
-	* Removed requirements of SRID for calling GDAL Warp API
-
-2012-11-30 15:18  dustymugs
-
-	* Removed use of pi html code. Using "pi" instead.
-
-2012-11-30 01:13  dustymugs
-
-	* Additional cleanup and validation regarding ticket #1653
-
-2012-11-30 01:13  dustymugs
-
-	* Added NEWS item and doc updates for changes related to ticket
-	  #2119
-
-2012-11-30 01:12  dustymugs
-
-	* Added a special case to RASTER_GDALWarp() where if the input
-	  raster has
-	  no SRID (SRID_UNKNOWN) AND the operation does not involve a
-	  reprojection, then use a catchall/substitute SRID (in this case
-	  4326).
-	  Ticket #2119
-
-2012-11-29 22:33  colivier
-
-	* Fix #2092 for trunk branch
-
-2012-11-29 19:29  strk
-
-	* Enhance error message on unsupported geometry type (#1899)
-
-2012-11-29 19:11  dustymugs
-
-	* Fixed incorrect ticket #. From #2026 to #2062
-
-2012-11-29 18:59  dustymugs
-
-	* Removed confusion between ST_Resample(raster) and
-	  ST_Transform(raster)
-	  by removing srid parameter for ST_Resample(). Ticket #1653
-
-2012-11-29 18:59  dustymugs
-
-	* Renamed RASTER_resample() to RASTER_GDALWarp() and adjusted SQL
-	  functions as needed. Next is to audit and possibly refactor those
-	  functions that make use of RASTER_resample().
-
-2012-11-29 18:30  strk
-
-	* Ensure ST_Line_Interpolate_Point always returns POINT (#2108)
-
-2012-11-29 18:13  strk
-
-	* Ensure ST_PointOnSurface always returns POINT (#2117)
-
-2012-11-29 18:01  strk
-
-	* Early release lwgeom memory
-
-2012-11-29 17:49  strk
-
-	* Ensure ST_Centroid always returns POINT (#2109)
-
-2012-11-29 02:12  robe
-
-	* #1795 make raster_views, raster_columns, geometry_columns,
-	  geometry_views, spatial_ref_sys public viewable -- none issue
-	  since they are views that only list user viewable tables and
-	  aspatial_ref_sys is harmless public info.
-
-2012-11-29 01:21  dustymugs
-
-	* Added CUnit test suites for raster core. Old raster core
-	  regression
-	  tests can still be found in raster/test/core but are no longer
-	  run.
-	  Probably should delete before 2.1 is released.
-	  Ticket #173
-
-2012-11-28 22:35  nicklas
-
-	* #2112
-
-2012-11-28 20:16  dustymugs
-
-	* Refactored return and parameters of rt_raster_iterator()
-
-2012-11-28 19:31  dustymugs
-
-	* Refactored return and parameters of rt_raster_from_two_rasters()
-
-2012-11-28 15:27  dustymugs
-
-	* Refactored return and parameters of rt_raster_surface()
-
-2012-11-27 00:58  dustymugs
-
-	* Added ST_NotSameAlignmentReason(raster, raster). Ticket #1709
-
-2012-11-26 21:09  dustymugs
-
-	* Added ST_Transform(raster) variant that allows of aligning output
-	  rasters to a reference raster. Ticket #2105
-
-2012-11-26 19:13  dustymugs
-
-	* Renamed variants of ST_World2RasterCoord() and
-	  ST_Raster2WorldCoord() to
-	  ST_WorldToRasterCoord() and ST_RasterToWorldCoord() as names are
-	  inconsistent with other PostGIS function names. Ticket #2104
-
-2012-11-26 12:07  strk
-
-	* Skip st_area(geography) and st_length(geography)
-	  
-	  See
-	  http://lists.osgeo.org/pipermail/postgis-users/2012-November/035854.html
-
-2012-11-25 22:36  robe
-
-	* #1869 take care of ST_AsBinary(unknown/text),
-	  ST_AsText(unknown/text) is not unique errors
-
-2012-11-25 21:55  dustymugs
-
-	* Where appropriate, functions in rt_core now use standardized
-	  function
-	  return states.
-
-2012-11-23 22:15  strk
-
-	* Fix ST_{Mod,New}EdgeHeal joining edges sharing both endpoints
-	  
-	  Closes #1998. Include testcases.
-	  Also simplifies the code and avoids a GEOS call.
-	  
-	  [RT-SIGTA] C.I.G.: 0494241492
-
-2012-11-23 15:57  pramsey
-
-	* Try to stomp out -180 (#2066)
-
-2012-11-23 06:13  pramsey
-
-	* #1828, geography stats are really sensitive to narrow
-	  dimensionality issues,
-	  so geodetic bounds have to be exactly calculated for things like
-	  points
-
-2012-11-22 17:39  pramsey
-
-	* #1828, fix mistake to geography calculation routine
-
-2012-11-21 23:26  pramsey
-
-	* Of course we're going to do real joinsel...
-
-2012-11-21 19:52  pramsey
-
-	* Explain "selectivity" a little more explicitly
-
-2012-11-20 23:47  pramsey
-
-	* Better/different error messages in stats interogator
-
-2012-11-20 23:28  pramsey
-
-	* #2101, sql functions for selectivity inspection
-
-2012-11-20 21:34  pramsey
-
-	* Make default joinsel message more obvious
-
-2012-11-20 21:31  pramsey
-
-	* Make error message minimally more helpful
-
-2012-11-20 21:29  pramsey
-
-	* Be more explicit about the types we're passing around
-
-2012-11-20 20:57  pramsey
-
-	* Convert SearchSysCache calls to SearchSysCache# calls, per the
-	  guidance in the PostgreSQL syscache.h file
-
-2012-11-20 20:51  pramsey
-
-	* #2102, SQL hooks for calling selectivity functions
-
-2012-11-20 19:07  pramsey
-
-	* #1828, Poor selectivity estimate on ST_DWithin
-
-2012-11-20 17:50  pramsey
-
-	* Remove conditional use of USE_STANDARD_DEVIATION, it's been
-	  working for years, that's what we use.
-
-2012-11-20 09:51  robe
-
-	* minor formatting fix
-
-2012-11-20 09:49  robe
-
-	* #1287: legacy script to reinstall old PostGIS gist op. Added to
-	  FAQ when you need to use it and stress to try not to use it and
-	  reindex if you do.
-
-2012-11-19 23:18  dustymugs
-
-	* Fixed issue where ST_AsRaster() may not return raster with
-	  specified
-	  pixel types. Ticket #2100
-
-2012-11-19 23:18  dustymugs
-
-	* Code cleanup of rt_raster_gdal_rasterize()
-
-2012-11-19 23:18  dustymugs
-
-	* Refactored internal use variables and functions for
-	  rt_raster_iterator()
-
-2012-11-19 23:04  pramsey
-
-	* Move box-reading code in geography stats to use serialized box.
-
-2012-11-19 15:47  strk
-
-	* Fix double free on ST_OffsetCurve exception (#2099)
-
-2012-11-19 10:20  strk
-
-	* Restore 1.5.x behaviour of ST_Simplify (#1987)
-
-2012-11-16 22:59  dustymugs
-
-	* Added RANGE uniontype option for ST_Union(raster) Ticket #2097
-
-2012-11-16 12:35  robe
-
-	* geos new is 3.4
-
-2012-11-16 06:46  robe
-
-	* update tto reflect 2.1
-
-2012-11-16 03:39  dustymugs
-
-	* Fixed SQL error in regression test
-
-2012-11-16 01:32  dustymugs
-
-	* Added docs and regression test for extent parameter variants of
-	  ST_Slope, ST_Aspect and ST_Hillshade
-
-2012-11-16 01:32  dustymugs
-
-	* If hillshade < 0, hillshade = 0 for ST_HillShade()
-
-2012-11-16 01:31  dustymugs
-
-	* Added variants of ST_Slope, ST_Aspect and ST_Hillshade to provide
-	  support for tiles in a coverage. Ticket is #2078
-
-2012-11-15 00:15  pramsey
-
-	* Comment on the dump_toupper function
-
-2012-11-15 00:08  pramsey
-
-	* Use a locale-independent braindead upper implementation
-
-2012-11-14 23:01  pramsey
-
-	* #2035, Strange behavior when using left (<<) and right (>>)
-	  operators
-
-2012-11-14 22:29  pramsey
-
-	* #2028, ST_Multi(<triangle>) does not make a TIN
-
-2012-11-14 21:31  pramsey
-
-	* #2042, measures.c: 'pt_in_arc_A' may be used uninitialized
-
-2012-11-14 21:25  pramsey
-
-	* #2001, ST_CurveToLine has no effect if the geometry doesn't
-	  actually contain an arc
-
-2012-11-14 20:45  pramsey
-
-	* #799, make geographic coordinates in range
-
-2012-11-14 17:21  pramsey
-
-	* Make Korotkov split the default
-
-2012-11-13 22:48  pramsey
-
-	* #2090, gserialized_read_gbox_p sets Z dimension instead of M
-	  dimension for two-point lines
-
-2012-11-13 22:30  pramsey
-
-	* #2044, lw_arc_length: warning: variable 'a2' set but not used
-
-2012-11-13 22:10  pramsey
-
-	* #1895, New node splitting algorithm for GiST
-	  Set the KOROTKOV_SPLIT define to 1 to use the new approach,
-	  to 0 to use the old approach. After testing is complete,
-	  we can set the new split as the default.
-
-2012-11-13 18:58  pramsey
-
-	* Remove <inlineequation> element
-
-2012-11-13 18:57  pramsey
-
-	* Remove MathML from documentation. It's not really being used for
-	  any math.
-
-2012-11-09 21:54  pramsey
-
-	* Remove module magic from here, #1162
-
-2012-11-09 00:09  pramsey
-
-	* Remove many warnings from -pedantic build, and clean up parser
-	  globals a little more thoroughly.
-
-2012-11-08 08:40  strk
-
-	* Rewrite topology.GetRingEdges using a recursive CTE (#2087)
-	  
-	  Walking around a ring of ~22k edges takes 1/7 of the time
-
-2012-11-08 08:40  strk
-
-	* Share some code between ST_RemEdgeModFace and ST_RemEdgeNewFaces
-	  
-	  Also check TopoGeometry existance as first thing, to reduce the
-	  time it takes for failing calls.
-
-2012-11-08 05:48  robe
-
-	* update install to note that we now support loading tiger 2012
-	  data and it is the default and upgrade instructions to get the
-	  new loader behavior
-
-2012-11-08 05:46  robe
-
-	* change this to use 2012 loader, but remark it out so it doesn't
-	  overwrite people's custom settings.
-
-2012-11-06 00:27  pramsey
-
-	* #2048, add regression test
-
-2012-11-05 10:27  strk
-
-	* Create indices on start_node and end_node of edge_data (#2082)
-	  
-	  Those indices speed up nodes deletion by a factor of x1000 !
-	  I didn't profile, but I suspect those indices would also speed up
-	  ring walking (whereas you have to find a match between endnodes).
-
-2012-11-05 00:47  robe
-
-	* #2020: stop penalizing windows 9.2 32-bit when it gives a stupid
-	  answer to an ill-defined question. Change to be a well-defined
-	  question.
-
-2012-11-04 20:03  robe
-
-	* #2081: extension files being installed twice causes errors on
-	  Ubuntu (9.3)
-
-2012-11-04 14:40  strk
-
-	* Fix order of TopoGeometry property names
-
-2012-11-04 10:45  robe
-
-	* #1980: define new configure arg --with-mathmldtd to allow
-	  overriding path to mathmldtd
-
-2012-11-04 00:44  strk
-
-	* Oops, revert the revert...
-	  
-	  Note to self: never commit between 1:00am and 8:00am
-
-2012-11-04 00:30  strk
-
-	* Add note about lwgeom_make_valid being only available with
-	  GEOS-3.3+
-
-2012-11-04 00:30  strk
-
-	* Revert "#1970 - 9.2rc1 regress failure change layer_id_seq from
-	  select * to explicitly select fields. log_cnt now returns 0 for
-	  9.2rc1 so fails regress otherwise"
-	  
-	  This reverts commit c272b5ed6dec2cc415c9bccd305e81394f1bde83.
-
-2012-11-03 18:12  robe
-
-	* change default new install to use tiger_loader_2012.sql file
-	  instead
-
-2012-11-03 17:54  robe
-
-	* #2076: support for loading tiger 2012 data. revise
-	  loader_load_staged_data to leave out pumace10, estatefp, ugace.
-	  This fixes the faces not loading issue for 2012 data (tested with
-	  MA, DC)
-
-2012-11-02 21:14  pramsey
-
-	* #2015, ST_IsEmpty('POLYGON EMPTY') returns False
-
-2012-11-02 20:40  dustymugs
-
-	* Removed code that is no longer used and updated docs with default
-	  parameters
-
-2012-11-02 19:15  pramsey
-
-	* #1996, ST_AsGeoJSON('POINT EMPTY') produces invalid JSON
-
-2012-11-02 19:08  pramsey
-
-	* Be a bit more explicit about what we're returning from
-	  point-in-ring tests.
-
-2012-11-02 18:12  dustymugs
-
-	* Updated reference links to "How Hillshade works" for ST_Slope,
-	  ST_Aspect
-	  and ST_HillShade
-
-2012-11-02 18:02  pramsey
-
-	* Remove double call of flip test.
-
-2012-11-02 17:52  pramsey
-
-	* #2019, ST_FlipCoordinates does not update bbox
-
-2012-11-02 17:22  dustymugs
-
-	* Refactored ST_Slope, ST_Aspect and ST_Hillshade() (also their
-	  _st_XXX4ma() functions). Detailed docs for all three functions.
-	  Outputs
-	  now in sync with return from ArcGIS. Ticket is #2077
-
-2012-10-31 19:33  robe
-
-	* some wording changes, add tutorial faq
-
-2012-10-31 14:31  dustymugs
-
-	* Added missing DROP FUNCTION statements. Ticket #2073
-
-2012-10-31 09:46  strk
-
-	* Add instruction for upgrading between SVN revisions using
-	  extensions
-
-2012-10-31 00:42  dustymugs
-
-	* Changed when the isnodata check takes place for out-db raster
-	  tiles
-
-2012-10-30 23:25  pramsey
-
-	* #1940, epsg:2065 projection is incorrect
-
-2012-10-30 21:38  robe
-
-	* Add Nathan Wagner to credits
-
-2012-10-30 21:16  robe
-
-	* Put in Enhanced note about ST_DumpPoints -- should in theory be
-	  faster. Revise expertbot xsl script (prevent url from abutting
-	  the title)
-
-2012-10-30 20:32  pramsey
-
-	* (#310) ST_DumpPoints as C function
-
-2012-10-29 22:24  robe
-
-	* Fix gdal binaries link
-
-2012-10-29 22:23  dustymugs
-
-	* Added SRID check to ST_Neighborhood(raster, geometry)
-
-2012-10-29 22:23  dustymugs
-
-	* Added SRID check for ST_Intersects(geometry, raster)
-
-2012-10-29 22:23  dustymugs
-
-	* Added SRID check of geometry for ST_World2RasterCoord variants
-
-2012-10-29 22:22  dustymugs
-
-	* Added check for SRID match in ST_Value(raster) geometry variant
-
-2012-10-29 20:14  dustymugs
-
-	* Set defaults for parameters of ST_Slope(raster). Ticket #1655
-
-2012-10-29 18:56  dustymugs
-
-	* Added UpdateRasterSRID() as per ticket #739
-
-2012-10-27 05:53  robe
-
-	* more ids and descriptive titles
-
-2012-10-27 05:31  robe
-
-	* revise script hallie uses so strips out tags such as ulink, xref,
-	  command leaving just textual representation (these were getting
-	  cut out before)
-
-2012-10-27 04:18  robe
-
-	* try to put in some ids
-
-2012-10-26 00:28  dustymugs
-
-	* Added news regarding ST_Clip(raster, ...) in C and update docs
-
-2012-10-26 00:28  dustymugs
-
-	* Rewrite of ST_Clip(raster) to be C-based and updated regression
-	  test.
-	  Ticket is #2065
-
-2012-10-25 23:06  dustymugs
-
-	* Fixed default Y-scale to -1 from 1
-
-2012-10-25 22:17  pramsey
-
-	* Expose some geodetic functions a little higher
-
-2012-10-25 20:36  pramsey
-
-	* Fix error in ptarray traversal.
-
-2012-10-25 19:29  pramsey
-
-	* Reorganize some pointarray loops and functions. Use direct
-	  aligned access more.
-
-2012-10-25 18:57  pramsey
-
-	* Remove old signature for serialized_form function
-
-2012-10-25 18:54  pramsey
-
-	* Allow WKB generation to do direct memcpy of coordinates in
-	  specific cases.
-
-2012-10-25 18:42  pramsey
-
-	* Use double alignment property to remove memcpy from wkb
-	  generation
-
-2012-10-25 18:29  pramsey
-
-	* Remove TODO note: the storage is now double aligned
-
-2012-10-25 17:47  pramsey
-
-	* Change the gbox calculation for geodetic edges to use 3-space
-	  geometry instead of lots of transcendental functions. Much
-	  faster, much simpler, all regression tests pass.
-
-2012-10-25 06:00  robe
-
-	* revert release note changes see if it fixes doc build issue
-
-2012-10-25 05:18  robe
-
-	* fix id again (maybe old conflicted with another id)
-
-2012-10-25 04:12  robe
-
-	* fix chapter id doesn't follow our convention
-
-2012-10-25 04:07  robe
-
-	* give release sections ids for easier reference
-
-2012-10-24 22:22  dustymugs
-
-	* Preprocess input geometry for clipping raster by using the
-	  intersection
-	  of the input geometry and the convex hull of the raster. Ticket
-	  #1989
-
-2012-10-24 22:21  dustymugs
-
-	* Added checks to rt_raster_gdal_rasterize() and RASTER_asRaster()
-	  where
-	  if input geometry is empty, return empty raster.
-
-2012-10-24 21:14  dustymugs
-
-	* Broke string for iowa hex into three parts so that doxygen
-	  doesn't choke
-
-2012-10-24 19:22  dustymugs
-
-	* Have ST_Tile() generate out-of-db tile bands if input raster's
-	  band is
-	  out-of-db.
-
-2012-10-24 18:54  pramsey
-
-	* Whoops make sure the test macros match the library ones
-
-2012-10-24 18:44  pramsey
-
-	* Add some debugging info to find failure in debbie
-
-2012-10-24 18:28  pramsey
-
-	* Add explicit tests for edge_intersects()
-
-2012-10-24 17:26  pramsey
-
-	* Move the distance calculation to also use the edge_intersects()
-	  function instead of edge_intersection()
-
-2012-10-24 16:31  dustymugs
-
-	* Added "auto" option to -t switch where raster2pgsql can compute a
-	  usable
-	  tile size. Added warning message if generated tiles may cause
-	  memory
-	  issues.
-
-2012-10-24 03:41  robe
-
-	* minor adjustments to terminology to improve searchin
-
-2012-10-23 23:59  dustymugs
-
-	* Rearranged function arguments for ST_Tile(raster)
-
-2012-10-23 22:44  dustymugs
-
-	* Added news and docs for ST_Tile(raster). Additional regression
-	  tests for
-	  one additional variant of ST_Tile(raster)
-
-2012-10-23 22:44  dustymugs
-
-	* Added ST_Tile() and regression tests. The circle is complete.
-
-2012-10-23 22:44  dustymugs
-
-	* Added rt_band_get_pixel_line() and regression tests
-
-2012-10-23 22:43  pramsey
-
-	* (#2063) fix the vertex-crossing logic in the circular tree code
-	  to use the new edge_intersects routine
-
-2012-10-23 22:17  pramsey
-
-	* (#2026) fix performance regression in geography distance
-	  calculation
-
-2012-10-23 21:18  pramsey
-
-	* (#1976) Geography point-in-ring code overhauled for more
-	  reliability
-
-2012-10-23 13:46  dustymugs
-
-	* Make changes to reflect patch from #2061
-
-2012-10-23 04:56  pramsey
-
-	* Future test case for when we've solved p-i-p in generality
-
-2012-10-22 19:05  dustymugs
-
-	* Fix POSTGIS_RT_DEBUGF() usage
-
-2012-10-22 19:05  dustymugs
-
-	* Fixed doxygen comment formats
-
-2012-10-22 17:20  dustymugs
-
-	* Remove unused variables.
-
-2012-10-22 17:20  dustymugs
-
-	* Cache frequently used variables minimize # of function calls in
-	  rt_raster_iterator()
-
-2012-10-22 17:20  dustymugs
-
-	* Include output from gdal-config --dep-libs when building
-	  raster2pgsql
-
-2012-10-22 17:19  dustymugs
-
-	* Add news and doc changes to indicate proper support for raster
-	  band's
-	  "isnodata" support
-
-2012-10-22 17:19  dustymugs
-
-	* have raster2pgsql check for raster bands being NODATA
-
-2012-10-22 17:19  dustymugs
-
-	* Tweaked rt_band_check_is_nodata() to make use of
-	  rt_band_get_pixel()'s
-	  ability to return flag indicating if value is NODATA
-
-2012-10-22 17:19  dustymugs
-
-	* Final fixes to support band's isnodata flag.
-
-2012-10-22 17:19  dustymugs
-
-	* All functions in core API now support a band's isnodata value.
-
-2012-10-22 17:19  dustymugs
-
-	* Changed signature of rt_band_get_nodata() as there was no way to
-	  indicate an error if the band has no NODATA.
-
-2012-10-22 17:19  dustymugs
-
-	* Some work adding proper support for using a band's isnodata flag.
-
-2012-10-22 17:19  dustymugs
-
-	* Changed function signature for core API function
-	  rt_band_get_pixel() to
-	  indicate if pixel is NODATA
-
-2012-10-22 17:18  dustymugs
-
-	* Minor changes to references to raster2pgsql
-
-2012-10-21 23:53  robe
-
-	* update crowd funding details
-
-2012-10-21 18:02  strk
-
-	* Fix GetTopoGeomElementArray(TopoGeometry) function, and add test
-	  
-	  See http://trac.osgeo.org/postgis/ticket/2060
-
-2012-10-20 21:07  robe
-
-	* fix headeer and description
-
-2012-10-19 22:20  pramsey
-
-	* Wrap NEWS to 80cols
-
-2012-10-19 18:51  dustymugs
-
-	* Added to news regarding ticket #2057
-
-2012-10-19 18:49  dustymugs
-
-	* Add variables specifying PostgreSQL CPPFLAGS and LDFLAGS.
-	  Ticket is #2057
-
-2012-10-19 01:36  dustymugs
-
-	* Forgot to wrap tags with <para></para> in reference_raster.xml.
-	  Minor
-	  comment cleanup in rt_pg.c
-
-2012-10-19 00:27  dustymugs
-
-	* Fixed annoyances in the raster docs
-
-2012-10-18 23:52  dustymugs
-
-	* Combined the gist spatial relationship tests into
-	  rt_gist_relationships
-
-2012-10-18 23:52  dustymugs
-
-	* Combined all raster GEOS dependent spatial relationship
-	  regression tests into
-	  rt_geos_relationships.sql
-
-2012-10-18 21:45  dustymugs
-
-	* Clamp SRID when comparing SRIDs of raster vs geometry for geomval
-	  variant of ST_SetValues()
-
-2012-10-18 21:45  dustymugs
-
-	* Added docs for geomval variant of ST_SetValues
-
-2012-10-18 21:45  dustymugs
-
-	* Add news items regarding changes to ST_SetValue and addition of
-	  geomval variant of ST_SetValues()
-
-2012-10-18 21:45  dustymugs
-
-	* Code cleanup in rt_pg/rt_pg.c. Changed point geometry variant of
-	  ST_SetValue() to wrap around geomval variant of ST_SetValues().
-	  This
-	  will result in a behavior change for geometry variant of
-	  ST_SetValue().
-
-2012-10-18 21:45  dustymugs
-
-	* Addition of geomval variants of ST_SetValues() and regression
-	  tests.
-	  Added helper function
-	  rt_raster_get_inverse_geotransform_matrix().
-	  Additional code cleanup for rt_raster_geopoint_to_cell() and
-	  rt_raster_cell_to_geopoint().
-
-2012-10-18 14:47  robe
-
-	* script to concatenate all the sections of postgis doc for easier
-	  digestion of postgis expert bot
-
-2012-10-17 19:30  dustymugs
-
-	* Correct usage of memset()
-
-2012-10-17 19:30  dustymugs
-
-	* Cleanup description for ST_SetValues()
-
-2012-10-17 16:08  dustymugs
-
-	* Added items to NEWS and docs for ST_DumpValues
-
-2012-10-17 16:08  dustymugs
-
-	* Addition of ST_DumpValues() and regression tests. Ticket #2011
-
-2012-10-17 14:29  dustymugs
-
-	* Add fallback method of getting maximum extent for extent
-	  constraint.
-	  Ticket is #2050
-
-2012-10-17 14:16  strk
-
-	* Move trim_trailing_zeros out of liblwgeom.h (#2054)
-
-2012-10-17 13:38  strk
-
-	* Get OUT_* export macros out of liblwgeom.h (#2053)
-
-2012-10-17 11:43  strk
-
-	* Do not print more digits than available from lwgeom_to_geojson
-	  
-	  See http://trac.osgeo.org/postgis/ticket/2051
-	  Adds tests for the ticket cases.
-
-2012-10-17 09:52  strk
-
-	* It is OUT_MAX_DOUBLE_PRECISION, not OUT_MAX_DIGS_DOUBLE, we
-	  should use
-	  
-	  These macros should really get out of liblwgeom.h and be properly
-	  documented...
-
-2012-10-17 09:45  strk
-
-	* Fix buffer overflow in lwgeom_to_geojson (#2052)
-
-2012-10-16 20:59  dustymugs
-
-	* Added optional interpolate_nodata flag as function parameter to
-	  ST_HillShade,
-	  ST_Aspect and ST_Slope.
-
-2012-10-16 20:42  strk
-
-	* Do not abort populate_geometry_columns when table can't be
-	  altered
-	  
-	  Also print the reason for the limitation. See #2049.
-
-2012-10-16 20:17  dustymugs
-
-	* Fixed xml issues that are making debbie mad.
-
-2012-10-16 19:55  dustymugs
-
-	* Added news blurb and docs regarding expression variants of
-	  ST_MapAlgebra.
-
-2012-10-16 19:55  dustymugs
-
-	* Added 2-raster expression variant of ST_MapAlgebra() and
-	  regression
-	  tests.
-
-2012-10-16 19:55  dustymugs
-
-	* Additional tweaking of returning empty raster from map algebra of
-	  INTERSECTION or UNION extent
-
-2012-10-16 19:55  dustymugs
-
-	* Corrected handling of NULL raster resulting from NO intersection
-	  of input rasters in map algebra. Fixed spelling mistakes.
-	  Additional tests for intersections of more than 3 rasters that
-	  don't actually intersect in ST_MapAlgebra
-
-2012-10-16 19:55  dustymugs
-
-	* Added one-raster expression variant for ST_MapAlgebra and
-	  appropriate
-	  regression tests.
-
-2012-10-16 16:08  strk
-
-	* Enhance documentation about TopoElement domain
-
-2012-10-16 16:07  strk
-
-	* tweak DEBUG line
-
-2012-10-16 08:29  strk
-
-	* Improve TopologySummary output
-	  
-	  Add unregistered layers and orphaned TopoGeom count
-
-2012-10-16 08:29  strk
-
-	* Have TopologySummary use the word "Mixed" for collection layers
-
-2012-10-15 19:21  dustymugs
-
-	* Fixed incorrect use of RASTER_DEBUGF().
-
-2012-10-15 14:48  dustymugs
-
-	* More poking at the docs for ST_MapAlgebra
-
-2012-10-15 14:20  dustymugs
-
-	* Add another example of ST_MapAlgebra() and some formatting
-	  cleanup
-
-2012-10-15 03:34  dustymugs
-
-	* Changed how ST_MapAlgebra regression test runs on PostgreSQL 9.0
-	  as
-	  usage of "GROUP BY raster" does not work. Ticket is #2048.
-
-2012-10-14 05:40  robe
-
-	* #2046: fix 2.1 doesn't compile with postgresql 9.0
-
-2012-10-14 05:13  robe
-
-	* updategeometrysrid was describing old behavior. Update to new and
-	  provide alternative syntax
-
-2012-10-12 20:06  pramsey
-
-	* Remove odd srs error line from expected
-
-2012-10-12 19:49  pramsey
-
-	* Reduce precision test to 1cm2. There is no doubt that this
-	  approach is less numerically stable than the last. (#2043) Though
-	  in exchange, it covers the globe more completely.
-
-2012-10-12 19:32  pramsey
-
-	* Reduce the precision of the double test... it passes here..
-	  (#2043)
-
-2012-10-12 19:31  dustymugs
-
-	* Bug fix where pos array size was incorrect.
-
-2012-10-12 19:31  dustymugs
-
-	* Removed warning block for ST_MapAlgebra() doc page. Rearranged
-	  warning boxes
-
-2012-10-12 16:06  dustymugs
-
-	* More documentation changes regarding deprecation status of
-	  ST_MapAlgebraFct() variants. Added news item regarding
-	  deprecation status of ST_MapAlgebraFct and ST_MapAlgebraFctNgb
-	  variants
-
-2012-10-12 16:06  dustymugs
-
-	* Duplicated and refactored the ST_XXX4ma() functions for
-	  ST_MapAlgebra
-	  usage. Exception for ST_InvDistWeight4ma() and ST_MinDist4ma(),
-	  both of
-	  which are new for 2.1. Added regression tests as well.
-
-2012-10-12 15:20  strk
-
-	* Exit with non-zero code when commandline is malformed
-	  
-	  It still exists with zero code when user explictly asks for the
-	  help screen (with -? as documented and with no switch as popular
-	  habit [well, mine])
-
-2012-10-12 14:26  strk
-
-	* Add pdf-localized rule for building localized pdf manual
-
-2012-10-12 14:06  strk
-
-	* Ignoring generated files in tiger_geocoder extension
-
-2012-10-12 08:40  strk
-
-	* Fix compiler warnings in lwgeom_geos.c
-
-2012-10-12 08:34  strk
-
-	* Fix a "set but not used" warning.
-	  
-	  This was about the return from getPoint2d_p, but it really only
-	  returns zero on error and after lwerror was called, and only if
-	  a PARANOIA compile time macro is set...
-
-2012-10-12 08:27  strk
-
-	* Fix ptarray_area_sphere signature (#2040)
-	  
-	  Since I was a it I also removed a "set but not used" warning.
-
-2012-10-12 07:50  strk
-
-	* Update po files after changes in installation.xml
-
-2012-10-12 07:49  strk
-
-	* Add more uses of <command> and <filename> in installation.xml
-	  
-	  Also fixes a missing dash in "make comments-install"
-
-2012-10-12 07:49  strk
-
-	* Put <comment> tags in <para>, fixing #2041
-
-2012-10-12 07:20  strk
-
-	* Consistently use <command> tag for "make comments"
-	  
-	  Fixes complains by msgmerge (internationalization)
-
-2012-10-11 22:48  pramsey
-
-	* Improve support for ST_Area(geography) over dateline and poles
-	  (#2006, #2039)
-
-2012-10-11 21:44  strk
-
-	* Translation of intruduction.xml to pt_BR by George Silva
-
-2012-10-11 21:41  strk
-
-	* Update po files
-
-2012-10-11 17:29  pramsey
-
-	* Move area core calculation to ptarray.
-
-2012-10-11 17:29  pramsey
-
-	* Ignore build artifacts from geocoder
-
-2012-10-11 17:07  strk
-
-	* Simplify description of TopoElementArray
-	  
-	  ... and add TopoElement link to See Also section (things are
-	  better
-	  explained in there).
-
-2012-10-11 15:23  robe
-
-	* Get rid of hard-coded paths
-
-2012-10-11 10:53  strk
-
-	* Update json-c url
-
-2012-10-10 23:06  robe
-
-	* create norm_addy
-
-2012-10-10 22:59  robe
-
-	* #1627 : more cleanup of extension install, add configure of tiger
-	  extension script to configure.ac. Fix comment in tiger comments
-	  preventing install
-
-2012-10-10 22:41  dustymugs
-
-	* Added missing Availability details for various raster docs.
-	  Ticket is #2037
-
-2012-10-10 22:30  robe
-
-	* fix error in index column name picked up when trying to install
-	  as extension
-
-2012-10-10 22:06  robe
-
-	* #2037: flag some new raster functions as new in this release. Hmm
-	  I merged hopefully didn't screw things up
-
-2012-10-10 22:02  dustymugs
-
-	* Added n-raster ST_MapAlgebra(). Additional error checking in
-	  rt_raster_iterator(). Added regression checks for n-raster
-	  ST_MapAlgebra(). Ticket is #2030. Added news and docs for
-	  ST_MapAlgebra().
-
-2012-10-10 21:45  robe
-
-	* Just enough to make it compile but doesn't work yet
-
-2012-10-10 00:00  pramsey
-
-	* Add in arc ptarray vs ptarray and arc ptarray vs arc ptarray
-	  distance functions. (#2018)
-
-2012-10-09 23:12  dustymugs
-
-	* Added HASH opclass and = operator for raster. This permits GROUP
-	  BY
-	  raster usage.
-
-2012-10-09 23:12  dustymugs
-
-	* Syntax cleanup
-
-2012-10-09 22:48  pramsey
-
-	* Add in arc ptarray vs point distance function (#2018)
-
-2012-10-09 22:04  pramsey
-
-	* Fix comment per rcoup
-
-2012-10-09 21:48  pramsey
-
-	* Fix up some errors in ptarray_arc iteration and the cunit test
-	  cases for arc p-i-p. (#2018)
-
-2012-10-09 17:49  pramsey
-
-	* Point-in-polygon function for arc-based point-arrays. (#2018)
-
-2012-10-09 05:06  robe
-
-	* #1627: Start work on packaging as an extension -- it's not
-	  functioning yet
-
-2012-10-05 19:26  strk
-
-	* Fix adding a splitting point into a 2.5d topology (#2033)
-
-2012-10-05 19:22  robe
-
-	* link to ST_3DClosestPoint from ST_ClosestPoint. Some people
-	  didn't notice we had a 3D variant and looked in the wrong place.
-
-2012-10-05 12:25  robe
-
-	* #2027: change order of operation -- have cleanup happen first
-	  since the drop sometimes tries to drop functions that use types
-	  that don't exist in older versions
-
-2012-10-04 04:08  robe
-
-	* update st_union examples (single should always specify band
-	  number to be safe) and all bands can be done now with just union
-
-2012-10-03 23:07  dustymugs
-
-	* Addition of flag nbnodata to rt_raster_iterator() thus allowing
-	  some
-	  memory savings from ST_Union(raster)
-
-2012-10-03 21:03  dustymugs
-
-	* Updated NEWS and docs regarding ST_Union(raster) behavior change.
-
-2012-10-03 20:53  dustymugs
-
-	* Tweak what value to initialize new band to when NODATA isn't
-	  present
-
-2012-10-03 20:53  dustymugs
-
-	* Addition of ST_Union(raster) function and regression tests
-
-2012-10-03 20:53  dustymugs
-
-	* Added regression test for rt_raster_clone() and added missing
-	  SRID copy.
-
-2012-10-03 20:53  dustymugs
-
-	* Addition of shortcut function rt_raster_clone()
-
-2012-10-03 16:06  robe
-
-	* update unpackaged to include new raster (e.g. unionarg)
-
-2012-10-03 14:33  robe
-
-	* #2027: Add unionarg
-
-2012-10-03 06:16  strk
-
-	* ST_AddEdge*: make update of old face edges more robust (#2025)
-	  
-	  Include tests for adding an edge that splits an hole in a face
-	  while forming a left ring which constitutes an invalid polygon
-	  ring.
-	  
-	  Also fixes one case of invalid topology creation (when the formed
-	  ring has a dangling edge but not a new area on the other side).
-
-2012-10-03 06:08  robe
-
-	* oops forgot to finish the changed statement
-
-2012-10-03 06:06  robe
-
-	* revise st_union example to show new and faster way of doing
-	  multi-band union
-
-2012-10-02 22:47  dustymugs
-
-	* Minor addition of debug messages
-
-2012-10-02 21:45  dustymugs
-
-	* Added multi-band support for ST_Union. Ticket is #2021
-
-2012-10-01 23:13  robe
-
-	* #1938 document addition of addbandarg and swap out old example
-	  with example utilizing addbandarg
-
-2012-10-01 22:23  pramsey
-
-	* Rename lwcircle_calculate_gbox_cartesian_2d to
-	  lw_arc_calculate_gbox_cartesian_2d
-
-2012-10-01 22:18  pramsey
-
-	* Rename lwcircle_center to lw_arc_center to match other
-	  lwalgorithm signatures
-
-2012-10-01 22:10  pramsey
-
-	* Anal retentive code re-organization. Try and move the primitive
-	  computational geometry functions into lwalgorithm.c
-
-2012-10-01 14:04  strk
-
-	* Do not confuse CREATE OPERATOR FAMILY with a CREATE OPERATOR
-
-2012-10-01 09:28  strk
-
-	* Accept array properties in GML input multi-geom input (#1928)
-	  
-	  Patch by Kashif Rasul and Shoaib Burq / SpacialDB
-
-2012-10-01 08:47  strk
-
-	* Create target dir if non-existing
-
-2012-09-29 17:57  robe
-
-	* update postgis unpackaged script. postgis_topology was already up
-	  to date.
-
-2012-09-29 16:14  strk
-
-	* Provide a script to opt out of extensions
-
-2012-09-28 23:09  dustymugs
-
-	* Addition of C-based ST_Union(raster) aggregate function (ticket
-	  #1364). Renamed low level function rt_raster_has_no_band() to
-	  raster_has_band(). Updated docs and NEWS for ST_Union.
-
-2012-09-28 22:51  pramsey
-
-	* Remove unused point in poly function
-
-2012-09-28 22:48  pramsey
-
-	* Add ptarray_contains_point to ptarray file, so that all other
-	  liblwgeom functions can use the one routine.
-
-2012-09-28 21:52  pramsey
-
-	* Remove no longer used function, lwgeom_pt_inside_circle.
-
-2012-09-28 21:48  pramsey
-
-	* Add new pointer-based coordinate access method, now that aligned
-	  storage is the new normal.
-
-2012-09-28 21:08  pramsey
-
-	* Anal retentive function renaming: ptarray_isclosed ->
-	  ptarray_is_closed
-
-2012-09-28 20:30  pramsey
-
-	* Move some ptarray functions out of postgis and back into
-	  liblwgeom from silly old function that shouldn't even exist
-	  anymore (LWGEOM_inside_circle_point)
-
-2012-09-28 18:23  pramsey
-
-	* Measurement support for arcs (#2018)
-
-2012-09-28 17:03  pramsey
-
-	* Add casts from geometry::path, geometry::point,
-	  geometry::polygon, polygon::geometry, path::geometry,
-	  point::geometry to allow easier migration to PostGIS for folks
-	  who start with the Pg types.
-
-2012-09-27 20:23  pramsey
-
-	* Distance calculation support for arc features (#2018). Commit
-	  adds lowest level primitive support for distance calculations on
-	  single arcs.
-
-2012-09-26 15:56  dustymugs
-
-	* Additional regression tests for ST_Neighborhood and tweaked to
-	  support a
-	  distance values of zero for one axis.
-
-2012-09-25 22:22  dustymugs
-
-	* Added docs regarding the callback function for
-	  rt_raster_iterator()
-
-2012-09-25 22:22  dustymugs
-
-	* Added regression tests, bug fixes and code cleanup for
-	  rt_raster_iterator().
-
-2012-09-25 22:22  dustymugs
-
-	* Added rt_raster_iterator(), which is feature complete. Now need
-	  to add
-	  lots of regression tests before moving on to the PostgreSQL side
-	  to hook
-	  into it.
-
-2012-09-25 19:23  dustymugs
-
-	* Changed behavior when there is no pixels in the neighborhood for
-	  ST_Neighborhood. It should still return an array as the pixel of
-	  interest could have a value... just surrounded by NODATA.
-
-2012-09-25 17:20  dustymugs
-
-	* Additional documentation regarding memory ownership
-
-2012-09-25 14:07  dustymugs
-
-	* Added correct handling of rt_band's ownsdata flag indicating if
-	  the
-	  memory used for the band's data (only for inline, not offline) is
-	  managed internally.
-
-2012-09-25 02:45  robe
-
-	* #2012: Change client_min_messages to warning instead of relying
-	  on default notice. 9.3's idea of notice doesn't seem to include
-	  notice about create of new tables.
-
-2012-09-24 15:07  dustymugs
-
-	* Changed output array of ST_Neighborhood to have dimensions of Y,X
-	  instead of X,Y. This matches that found for GDAL blocks.
-
-2012-09-24 15:07  dustymugs
-
-	* Additional tests for ST_Neighborhood()
-
-2012-09-22 14:44  robe
-
-	* #2010: Include for 9.3 move to below postgis_config.h so version
-	  number of postgresql is picked up before the conditional include
-	  is attempted
-
-2012-09-22 09:00  robe
-
-	* #2010: compile support for 9.3
-
-2012-09-22 03:55  robe
-
-	* Add link to OpenGeo workshop on KNN to KNN operator.
-
-2012-09-20 23:44  pramsey
-
-	* Remove now obsolete note.
-
-2012-09-20 22:24  pramsey
-
-	* Document ISO WKT/WKB (#1451)
-
-2012-09-20 13:32  robe
-
-	* #1991: speed issue with 9.2 on geocode and geocoder_intersection,
-	  seems to be 10-50 times faster by forcing join_collapse limit = 2
-
-2012-09-20 11:54  robe
-
-	* remark out regress and also put in name in database
-	  #2009 turn off loading of addrfeat
-	  #1614 add U.S. and COUNTY RD as street_type highways
-
-2012-09-19 18:48  dustymugs
-
-	* Additional regression tests for rt_raster_get_nearest_pixel()
-
-2012-09-19 18:48  dustymugs
-
-	* Added docs for ST_InvDistWeight4ma() and ST_MinDist4ma(). Changed
-	  function signature for ST_Neighborhood() to support specifying
-	  distances
-	  on both X and Y axis.
-
-2012-09-19 18:48  dustymugs
-
-	* Tweaked ST_Neighborhood() to use two separate distance parameters
-	  for X
-	  and Y axes.
-
-2012-09-19 18:48  dustymugs
-
-	* Added ST_MinDist4ma() for getting minimum distance from the
-	  center pixel
-	  to the nearest neighbor in neighborhood with value
-
-2012-09-19 18:48  dustymugs
-
-	* Added regression tests for ST_InvDistWeight4ma()
-
-2012-09-19 18:47  dustymugs
-
-	* Added Inverse Distance Weighting function for use with
-	  ST_MapAlgebraFctNgb
-
-2012-09-18 12:21  robe
-
-	* #2055: (L burned in all subsequent images after Delaunay)
-	  increase remove to remove images 0-9 before building next. The
-	  remove went from 0-5 and I guess Kevin wasn't counting on anyone
-	  crazy enough to have 6 image layers. This code definitely needs
-	  some work, but this will do for now.
-
-2012-09-17 12:31  strk
-
-	* Initial support for documentatin translation
-	  
-	  Adds "update-po" Makefile target under doc/
-	  Adds "local-html" Makefile target under doc/po/<lang>
-
-2012-09-17 11:43  strk
-
-	* Update URL of Maven jar (thanks Sandeep Thakkar)
-
-2012-09-14 21:03  strk
-
-	* reference_type.xml has been missing from XML sources for years !
-
-2012-09-14 20:59  strk
-
-	* Other double quotes needed by poxml
-
-2012-09-14 20:52  strk
-
-	* More Double quote tag attribute values for poxml support
-
-2012-09-14 20:33  strk
-
-	* Double quote tag attribute values and use open&close for
-	  <paramdef>
-	  
-	  This format plays nicely with xml2pot and po2xml...
-
-2012-09-14 11:29  robe
-
-	* PostGIS 2.1 changes section was incorrectly listing 2.0 instead
-	  of 2.1 changes. Also just folder 2.1 changes into many What is
-	  new in 2.1 section.
-
-2012-09-14 07:49  strk
-
-	* Distinguish between generated and source XML inputs
-
-2012-09-14 07:40  strk
-
-	* Rewrite header file to have full credits
-	  
-	  Used git history to figure out authors and commit years
-
-2012-09-14 03:10  robe
-
-	* Add changed section for 2.1 and mark ST_Segmentize as having a
-	  breaking change
-
-2012-09-13 20:41  strk
-
-	* Fix ST_Estimated_Extent name change documentation encoding
-
-2012-09-13 20:11  pramsey
-
-	* Remove code in #ifdefs for PgSQL 8.4 and under, per #1880
-
-2012-09-13 19:23  pramsey
-
-	* Test for #1780
-
-2012-09-13 09:53  strk
-
-	* ST_Estimated_Extent renamed to ST_EstimatedExtent (#1994)
-	  
-	  ST_Estimated_Extent is kept but deprecated, testcases test both
-	  signatures. Documentation documents the new name and warns about
-	  it being renamed in 2.1.0
-
-2012-09-13 02:08  pramsey
-
-	* #1780 ST_GeoHash should support geography type without cast
-
-2012-09-12 02:37  dustymugs
-
-	* Reverted some of the changes committed in r10238
-
-2012-09-11 14:07  robe
-
-	* forgot to commit ST_Delaun... reference in last
-
-2012-09-11 14:01  robe
-
-	* ST_DelaunayTriangle examples and a 3D example
-
-2012-09-10 18:36  pracine
-
-	* Fixed the state and final functions when count is zero or initial
-	  sum is null
-
-2012-09-10 15:00  robe
-
-	* #1869 note that ST_Asbinary on unknown is now illegal. Have to
-	  backport to 2.0 as well. I will add to full legacy though for
-	  those who can't change code.
-
-2012-09-08 02:26  robe
-
-	* Update PSC list
-
-2012-09-08 01:24  dustymugs
-
-	* Added docs for new variant of ST_SetValues()
-
-2012-09-08 01:21  dustymugs
-
-	* Added new variant on existing ST_SetValues where instead of a
-	  noset 2D
-	  array of booleans, the parameter nosetvalue can be used instead.
-
-2012-09-08 01:18  dustymugs
-
-	* Minor message tweaks regarding GDAL/OGR detection
-
-2012-09-07 22:20  pramsey
-
-	* correct length for closed circles (#1978)
-
-2012-09-07 20:05  pramsey
-
-	* ST_GeomFromGML on CurvePolygon causes server crash (#1936)
-
-2012-09-07 19:54  pramsey
-
-	* Fix cunit crash due to lack of proper signature for
-	  lwgeom_segmentize_sphere in header.
-
-2012-09-07 18:27  pramsey
-
-	* ST_Distance to a one-point LineString returns NULL (#1957)
-
-2012-09-06 18:08  dustymugs
-
-	* Added item for fixes regarding ticket #1981
-
-2012-09-06 17:34  dustymugs
-
-	* Removed unnecessary/unused variables and assignments. Ticket is
-	  #1981
-
-2012-09-06 17:30  dustymugs
-
-	* Minor cleanup of raster2pgsql Makefile
-
-2012-09-06 09:30  strk
-
-	* Encode dependency on GEOS >= 3.3.0
-
-2012-09-06 09:27  strk
-
-	* Encode dependency on PROJ >= 4.6.0
-
-2012-09-06 09:24  strk
-
-	* Encode dependency on PostgreSQL 9.0 or higher
-
-2012-09-05 13:41  robe
-
-	* #1970 - 9.2rc1 regress failure change layer_id_seq from select *
-	  to explicitly select fields. log_cnt now returns 0 for 9.2rc1 so
-	  fails regress otherwise
-
-2012-09-04 12:53  robe
-
-	* #1974 evidentally Unix really needs the RGB, RGBA quoted and
-	  windows doesn't like single quotes. Change to double quotes to
-	  satisfy both :)
-
-2012-09-04 12:48  robe
-
-	* #1974 revision of () escaping to work on Posix
-
-2012-09-04 12:43  strk
-
-	* Re-quote the styles, needed here
-	  
-	  Here is ImageMagick 6.5.7-8 2012-08-17 Q16
-	  Didn't look what exactly parses styles.conf
-
-2012-09-04 12:34  strk
-
-	* Properly escape imagemagic paren arguments
-
-2012-09-04 11:44  robe
-
-	* #1974 revise style colors and generator.c convert calls so they
-	  work with windows ImageMagick 6.7.9 Q16
-
-2012-09-01 08:39  strk
-
-	* Add missing signatures from 1.5, closing #1391
-	  
-	  These are: st_asukml and {x,y}{min,max}(box2d)
-
-2012-08-28 04:08  robe
-
-	* #1960 JDK7 compatibility patch
-
-2012-08-28 00:05  robe
-
-	* Fix for #1969 (and test buildbot) make
-	  postgis_upgrade_21_minor.sql same as postgis_upgrade_20_21.sql
-	  for now since we are in prerelease mode.
-
-2012-08-27 04:50  robe
-
-	* #1897 relabel currently mislabeled postgis_upgrade_20_minor.sql
-	  to postgis_upgrade_20_21.sql (still need to do the same for
-	  raster and topology)
-
-2012-08-25 03:16  robe
-
-	* Up version number from 2.0.1.SVN to 2.1.0SVN
-
-2012-08-23 07:16  robe
-
-	* 1963: Cast text to geometry for ST_Segmentize -- introduction of
-	  geography means no more laziness allowed
-
-2012-08-23 06:37  robe
-
-	* update about enhancements in geography ST_DWithin and
-	  ST_Distance. Done for ST_Intersects too I think? Paul? But
-	  haven't marked ST_Intersects since wasn't sure.
-
-2012-08-23 06:31  robe
-
-	* document ST_Segmentize new geography function. Will provide
-	  example later.
-
-2012-08-22 21:04  pramsey
-
-	* ST_Segmentize(geography, maxseglength) (#1962)
-
-2012-08-21 18:22  pramsey
-
-	* ST_Intersects(geography) returns incorrect result for
-	  pure-crossing cases (line cross line, line crosses polygon)
-	  (#1958)
-
-2012-08-20 12:06  robe
-
-	* Cleanup of required versions and link to new page that lists
-	  pre-packaged distros for various OS
-
-2012-08-17 19:15  pramsey
-
-	* Error in ST_Intersects: lwgeom_covers_lwgeom_sphere: only POLYGON
-	  and POINT types are currently supported (#1949)
-
-2012-08-17 17:18  strk
-
-	* Fix ST_ModEdgeHeal and ST_NewEdgeHeal for doubly connected edges
-	  
-	  Includes testcases, closes #1955
-
-2012-08-15 18:55  pramsey
-
-	* Crash in ST_Distance (#1951)
-
-2012-08-14 12:06  robe
-
-	* remove tiger_2010 from 2.1. So just need to update for 2.0
-	  branch. too much hassle to backport and most people will want to
-	  use tiger_2011
-
-2012-08-13 21:45  robe
-
-	* #1838 for tabblock name and tabblock_id are not big enough for
-	  california. Will only alter the columns if they have not already
-	  been increased in size
-
-2012-08-11 19:58  robe
-
-	* #1838 -- tabblock not loading. oops committed wrong change.
-	  Revert previous change and make correct change.
-
-2012-08-11 19:49  robe
-
-	* #1838 tabblock not loading
-
-2012-08-10 16:00  pramsey
-
-	* Switch from gnomic to LAEA for the projection for the custom
-	  zones. Less perfect intersections, but measure metric fidelity
-	  for distances, areas, etc. (#1610)
-
-2012-08-09 15:54  robe
-
-	* #1944: Support for 2.1.0SVN/2.1.0SVN extension for topology
-	  ALTER EXTENSION postgis_topology UPDATE TO "2.1.0SVNnext";
-	  ALTER EXTENSION postgis_topology UPDATE TO "2.1.0SVN";
-
-2012-08-09 02:31  robe
-
-	* fix typo revision to previous commit in support of #1944
-
-2012-08-09 00:18  dustymugs
-
-	* Added clamped value comparisons and updated comments for
-	  rt_band_get_pixel_of_value()
-
-2012-08-08 06:26  robe
-
-	* revision to previous commit -- forgot one and change Next to next
-
-2012-08-08 06:18  robe
-
-	* #1944 Extensions Migration path from 2.1.0 to 2.1.0 - yoyo
-	  upgrade to allow upgrade 2.1.0SVN to 2.1.0SVNNext to 2.1.0SVN
-
-2012-08-07 12:34  robe
-
-	* #1945 for upgrade from pre 2.1.0 release to 2.1.0 -- create
-	  samealignment agg and addbandarg types if they don't exist. Get
-	  rid of pre-9.0 code -- WE CAN DO now since we don't support 8.4
-	  in 2.1 :)
-
-2012-08-06 22:29  dustymugs
-
-	* Refactor data type cleanup
-
-2012-08-06 16:21  robe
-
-	* #1948 drop types from extension no longer needed by raster. Still
-	  can't upgrade because addbandarg can't be altered if it doesn't
-	  exist.
-
-2012-08-06 15:02  dustymugs
-
-	* Simplify code underlying ST_AddBand(raster, raster[])
-
-2012-08-05 23:04  robe
-
-	* Another example for ST_DumpPoints which is the most common use
-	  case
-
-2012-08-04 14:28  dustymugs
-
-	* Replaced last commit with something much simpler and possibly
-	  more
-	  effective
-
-2012-08-04 14:12  dustymugs
-
-	* Added logic for when to DROP and/or CREATE TYPEs.
-
-2012-08-03 21:45  robe
-
-	* #1947 try again forget end mark
-
-2012-08-03 21:38  robe
-
-	* #1947 define upgrade path from 2.0.1 to 2.1.0SVN
-
-2012-08-03 19:43  dustymugs
-
-	* Added missing variant of ST_SetValues without nband parameter.
-
-2012-08-03 17:44  dustymugs
-
-	* Added new TYPEs that need to be added when doing a minor upgrade.
-
-2012-08-03 00:19  dustymugs
-
-	* Cleanup of GDAL checks and additional check for OGR
-
-2012-08-03 00:19  dustymugs
-
-	* Added rt_util_gdal_register_all() to prevent multiple calls to
-	  GDALAllRegister()
-
-2012-08-02 19:27  dustymugs
-
-	* Tweaked tests to use new variants of ST_AddBand and ST_SetValues
-
-2012-08-02 18:51  dustymugs
-
-	* Code and comments cleanup.
-
-2012-08-02 15:21  dustymugs
-
-	* Additional comments regarding use of PG_DETOAST_DATUM_COPY
-
-2012-08-01 23:19  dustymugs
-
-	* Added comments regarding use of PG_DETOAST_DATUM*
-
-2012-08-01 23:16  dustymugs
-
-	* Rewrote ST_AddBand(raster, ...) array version in C. Ticket is
-	  #1363
-
-2012-08-01 03:47  robe
-
-	* Fix raise notice that only shows in debug mode
-
-2012-07-31 23:44  dustymugs
-
-	* Added regression tests and docs for two of the ST_SetValues
-	  variants
-
-2012-07-31 23:44  dustymugs
-
-	* Added ST_SetValues for setting an area defined by x, y, width and
-	  height
-	  to one value. Also added function parameter "keepnodata".
-
-2012-07-31 23:44  dustymugs
-
-	* Added ST_SetValues() for setting an array of new values to a
-	  band.
-	  Ticket is #595
-
-2012-07-31 23:43  dustymugs
-
-	* First steps of add ST_SetValues() variant for array of values
-
-2012-07-31 15:40  dustymugs
-
-	* Fixed forgotten type casting for ST_DWithin and ST_DFullyWithin()
-
-2012-07-30 22:40  dustymugs
-
-	* Make PostgreSQL 8.4 happy with the rt_polygon regression test.
-
-2012-07-30 15:40  dustymugs
-
-	* Added final touches of removing output-only data types
-
-2012-07-29 02:36  dustymugs
-
-	* Added news regarding #1939
-
-2012-07-29 02:34  dustymugs
-
-	* Removed histogram data type. Ticket is #1939
-
-2012-07-29 02:34  dustymugs
-
-	* Removed valuecount data type. Ticket is #1939
-
-2012-07-29 02:34  dustymugs
-
-	* Removed quantile data type. Ticket is #1939
-
-2012-07-29 02:34  dustymugs
-
-	* Removed summarystats data type. Ticket is #1939
-
-2012-07-27 22:49  dustymugs
-
-	* Expanded on comments about things to keep in mind when using
-	  rt_band_set_pixel_line()
-
-2012-07-27 19:46  dustymugs
-
-	* Updated docs for new type addbandarg and new ST_AddBand() variant
-
-2012-07-27 19:46  dustymugs
-
-	* Refactored ST_AddBand to permit adding one or more new bands in
-	  one
-	  call. Ticket is #1938.
-
-2012-07-27 19:45  dustymugs
-
-	* New and refactored variants of ST_AddBand(). Purely superficial
-	  as none
-	  of the underlying code has been rewritten for the changes...
-
-2012-07-25 20:37  dustymugs
-
-	* Added examples to a bunch of functions
-
-2012-07-25 19:31  dustymugs
-
-	* Added rt_pixtype_compare_clamped_values() for comparing two
-	  doubles in
-	  the context of a pixeltype.
-
-2012-07-25 15:26  dustymugs
-
-	* Added info about a few undocumented raster2pgsql flags
-
-2012-07-25 15:03  dustymugs
-
-	* Added #1932 to NEWS
-
-2012-07-25 15:03  dustymugs
-
-	* Fixed syntax for setting tablespace for index. Ticket is #1932.
-	  Thanks
-	  kib.
-
-2012-07-25 13:52  strk
-
-	* Do not advertise broken type "geometry(srid)" (#1934)
-
-2012-07-25 03:36  dustymugs
-
-	* Removed garbage comments
-
-2012-07-25 03:36  dustymugs
-
-	* Consolidated create_* and drop_* scripts into respective
-	  regression
-	  tests. Should make things easier to build a valgrind test suite.
-
-2012-07-25 03:36  dustymugs
-
-	* Added docs for ST_DFullyWithin(raster, raster)
-
-2012-07-25 03:36  dustymugs
-
-	* Added ST_DFullyWithin(raster, raster) and regression tests.
-	  Ticket is #1920
-
-2012-07-25 03:35  dustymugs
-
-	* Added rt_raster_full_within_distance() and regression tests
-
-2012-07-25 03:35  dustymugs
-
-	* Added docs for ST_DWithin(raster, raster)
-
-2012-07-25 03:35  dustymugs
-
-	* Added ST_DWithin(raster, raster) and regression tests. Ticket is
-	  #1922
-
-2012-07-25 03:35  dustymugs
-
-	* Added rt_raster_within_distance() and regression tests
-
-2012-07-24 18:01  dustymugs
-
-	* Added ST_Disjoint(raster, raster), regression tests and docs.
-	  Ticket is
-
-2012-07-23 22:57  dustymugs
-
-	* Added to docs for ST_CoveredBy
-
-2012-07-23 22:57  dustymugs
-
-	* Added ST_CoveredBy and regression tests. Ticket is #1917.
-
-2012-07-23 22:57  dustymugs
-
-	* Fixed missing closing tag
-
-2012-07-23 22:57  dustymugs
-
-	* Added rt_raster_covered_by() and related tests
-
-2012-07-23 22:56  dustymugs
-
-	* Added docs for ST_Covers()
-
-2012-07-23 22:56  dustymugs
-
-	* Added ST_Covers() and regression tests. Ticket is #1916
-
-2012-07-23 22:56  dustymugs
-
-	* Added rt_raster_covers() and regression tests
-
-2012-07-23 18:58  dustymugs
-
-	* Added docs for ST_ContainsProperly(raster, raster) and minor
-	  tweaking of
-	  comments
-
-2012-07-23 18:58  dustymugs
-
-	* Added ST_ContainsProperly(raster, raster) and regression tests
-
-2012-07-23 18:58  dustymugs
-
-	* Addition of rt_raster_contains_properly and regression tests
-
-2012-07-23 17:50  dustymugs
-
-	* Added regression tests for ST_Within(raster, raster). Ticket is
-	  #1923.
-
-2012-07-23 17:50  dustymugs
-
-	* Minor fixups to ST_Polygon in docs. Ticket is #1929.
-
-2012-07-23 17:50  dustymugs
-
-	* Minor changes to comments
-
-2012-07-23 17:50  dustymugs
-
-	* Addition of docs for ST_Within(raster, raster)
-
-2012-07-23 17:49  dustymugs
-
-	* Reintroduced ST_Intersects(geometry, raster) and
-	  ST_Intersects(raster,
-	  geometry). Added notes regarding the use of ST_Polygon when
-	  needing to
-	  test the spatial relationship between a raster and a geometry.
-
-2012-07-23 17:49  dustymugs
-
-	* Added docs for ST_Contains(raster, raster)
-
-2012-07-23 17:49  dustymugs
-
-	* Updated regression tests to reflect the removal of various
-	  functions
-
-2012-07-23 17:49  dustymugs
-
-	* Removed all raster/geometry variants of ST_Intersects,
-	  ST_Overlaps,
-	  ST_Touches and ST_Contains.
-
-2012-07-23 17:49  dustymugs
-
-	* Removed geometry-based ST_Touches for raster,geometry
-	  combinations.
-
-2012-07-23 17:49  dustymugs
-
-	* Removed vector-space (geometry-based) variants of ST_Overlaps.
-	  Only
-	  raster-space versions remain.
-
-2012-07-23 17:49  dustymugs
-
-	* Addition of ST_Contains and regression tests. Ticket is #1914
-
-2012-07-23 17:49  dustymugs
-
-	* Added rt_raster_contains() and regression tests
-
-2012-07-23 17:49  dustymugs
-
-	* Removed some commented out code and added more debug output
-
-2012-07-23 00:46  robe
-
-	* #1929 document behavior change and speed improvements
-
-2012-07-20 00:31  dustymugs
-
-	* Addition debug messages and disabled one regression test for
-	  ST_Touches
-	  due to floating point issues. Will need to see the WKB output.
-
-2012-07-19 23:53  dustymugs
-
-	* Code cleanup and additional debug output
-
-2012-07-19 20:10  dustymugs
-
-	* Updated NEWS and docs for ST_Touches()
-
-2012-07-19 20:10  dustymugs
-
-	* Addition of ST_Touches() for rasters and related regression
-	  tests.
-	  Ticket is #1921
-
-2012-07-19 20:10  dustymugs
-
-	* Remove rt_spatial_relationship regression tests as similar tests
-	  are
-	  done in rt_intersects and rt_intersection
-
-2012-07-19 20:09  dustymugs
-
-	* Extracted most of code in rt_raster_overlaps to create generic
-	  GEOS
-	  spatial relationship testing function
-	  rt_raster_geos_spatial_relationship(). Refactored
-	  rt_raster_overlaps()
-	  call rt_raster_geos_spatial_relationship(). Added
-	  rt_raster_touches()
-	  and associated regression tests
-
-2012-07-19 18:18  dustymugs
-
-	* Added docs for ST_Overlaps
-
-2012-07-19 18:18  dustymugs
-
-	* Added ST_Overlaps() and associated regression tests
-
-2012-07-19 18:18  dustymugs
-
-	* Addition of rt_raster_overlaps and related regression tests.
-	  Fixed
-	  memory leaks in rt_raster_surface.
-
-2012-07-19 18:18  dustymugs
-
-	* Removed code preventing use of rt_raster_intersects on offline
-	  bands as
-	  offline bands are supported
-
-2012-07-19 18:18  dustymugs
-
-	* Minor documentation change regarding && operator and tweaked one
-	  variant of st_intersects
-
-2012-07-19 17:00  pramsey
-
-	* Add in geography note
-
-2012-07-17 22:38  dustymugs
-
-	* Fixed ST_Polygon regression tests to properly handle different
-	  GEOS
-	  versions
-
-2012-07-17 22:37  dustymugs
-
-	* Fix function creation statement
-
-2012-07-17 22:37  dustymugs
-
-	* Added cleanup code for removing ST_BandSurface
-
-2012-07-17 22:37  dustymugs
-
-	* Regression tests intended for ST_BandSurface are now for
-	  ST_Polygon
-
-2012-07-17 22:37  dustymugs
-
-	* Removed ST_BandSurface as ST_Polygon does the same thing, just in
-	  SQL.
-	  Changed ST_Polygon to point use C function instead of sql.
-	  Refactored rt_raster_surface to match performance of SQL-only
-	  ST_Polygon.
-
-2012-07-16 03:17  robe
-
-	* additional cleanup to insure settings are consistent
-
-2012-07-16 03:11  robe
-
-	* #1913 regress check
-
-2012-07-16 03:09  robe
-
-	* #1913 reverse geocoder sometimes gives least optimal answer
-	  because of sorting issue
-
-2012-07-14 00:14  dustymugs
-
-	* Updated TODO since a bunch of functions just had tickets created.
-
-2012-07-13 23:44  dustymugs
-
-	* Updated TODO and refactored ST_Intersects(geometry, raster) to
-	  use
-	  ST_BandSurface()
-
-2012-07-13 23:29  dustymugs
-
-	* Added docs and updated NEWS for ST_BandSurface
-
-2012-07-13 23:28  dustymugs
-
-	* Addition of ST_BandSurface and regressions tests. Ticket is #1911
-
-2012-07-13 23:28  dustymugs
-
-	* Additional tests for rt_raster_surface()
-
-2012-07-13 23:28  dustymugs
-
-	* Additional comments regarding use of lwgeom_as_multi() and the
-	  lwgeom_clone_deep()
-
-2012-07-13 23:28  dustymugs
-
-	* Addition of rt_raster_surface() function and related regression
-	  test.
-	  Added regression test for rt_raster_pixel_as_polygon.
-
-2012-07-13 23:28  dustymugs
-
-	* Initial commit of rt_raster_surface() with base regression tests
-
-2012-07-12 17:24  pramsey
-
-	* Add in test for node splitting with nulls and empties (#1905)
-
-2012-07-12 13:49  dustymugs
-
-	* Changed word choice "Supported" instead of "Available"
-
-2012-07-12 03:38  pramsey
-
-	* Allow circtree nodes to have more than 2 children (#1910)
-
-2012-07-11 19:33  pramsey
-
-	* Comment on methodology behind tree node merging
-
-2012-07-11 18:15  pramsey
-
-	* Complete geography performance work (#1796), move testing
-	  functions into _ST_* name space for privacy, add regression tests
-	  for issues encountered during development.
-
-2012-07-11 04:14  pramsey
-
-	* Add note for future pain
-
-2012-07-11 04:05  pramsey
-
-	* Fix issue with projecting from the poles, retain the source
-	  longitude for more sensible result.
-
-2012-07-10 20:32  pramsey
-
-	* Fix a NaN result leaking into the tree building algorithm
-	  (optimized 32 bit code only!).
-
-2012-07-10 20:27  strk
-
-	* Create target dir if non-existing
-
-2012-07-06 23:50  pramsey
-
-	* Handle best SRID finding for shapes the cross the poles and
-	  dateline. Also add some new larger zones in gnomic for larger
-	  shapes. (#1610)
-
-2012-07-05 19:15  pramsey
-
-	* Fix issue where the cached object is a point and the uncached one
-	  is a polygon. (#1796)
-
-2012-07-05 16:50  pramsey
-
-	* Support for larger objects in ST_Intersection(geography) (#1610)
-	  This adds a set of larger regions that are handled with a gnomic
-	  projection. It could also use an orthographic. There's still a
-	  case to be handled for objects that cross the dateline or poles.
-
-2012-07-04 18:11  pramsey
-
-	* Fix problems with circtree building on short edges near the
-	  poles. (#1796)
-
-2012-07-04 13:12  strk
-
-	* Fix pgsql2shp for big-endian systems (#1900)
-	  
-	  Submitted By: Ryan Oliver <ryan.oliver at dse.vic.gov.au>
-
-2012-07-04 00:47  dustymugs
-
-	* Changed return value of rt_pixtype_get_min_value() when pixel
-	  type is
-	  unknown
-
-2012-07-04 00:33  dustymugs
-
-	* Fixed how the minimum possible value of a pixel type was being
-	  determined. Added regression tests for band without NODATA.
-
-2012-07-03 23:40  dustymugs
-
-	* Fixed handling of pixel value check for NODATA
-
-2012-07-03 22:30  dustymugs
-
-	* Added docs for ST_PixelAsPoints and ST_PixelAsCentroids and
-	  update NEWS
-
-2012-07-03 22:30  dustymugs
-
-	* Addition of notes differentiating ST_DumpPolygons and
-	  ST_PixelsAsPolygons
-
-2012-07-03 22:30  dustymugs
-
-	* Addition of regression tests for ST_PixelAsCentroids and
-	  ST_PixelAsPoints
-
-2012-07-03 22:30  dustymugs
-
-	* Addition of ST_PixelAsPoints and ST_PixelAsCentroids
-
-2012-07-03 22:30  dustymugs
-
-	* Removed RASTER_getPixelPolygon as it has been replaced with
-	  RASTER_getPixelPolygons
-
-2012-07-03 22:30  dustymugs
-
-	* Change signature of ST_PixelAsPolygons() and added regression
-	  tests.
-
-2012-07-03 22:29  dustymugs
-
-	* Added check for empty raster to RASTER_getPixelPolygons
-
-2012-07-03 22:29  dustymugs
-
-	* Refactored ST_PixelAsPolygons to call a C function and have
-	  enhanced
-	  capabilities. Additional variants and regression tests are next.
-
-2012-07-03 22:29  dustymugs
-
-	* Renamed "hasnodata" function parameter to "exclude_nodata_value"
-
-2012-07-03 20:08  robe
-
-	* fix typos
-
-2012-07-03 19:45  robe
-
-	* Admit defeat and render geometries old-fashoined way
-
-2012-07-03 19:18  robe
-
-	* let see if a geom collection works
-
-2012-07-03 19:11  robe
-
-	* lets take out completely for now.
-
-2012-07-03 19:04  robe
-
-	* break out multiline into separate linestrings hopefully wkt
-	  parser can deal with this better
-
-2012-07-03 18:44  pramsey
-
-	* Add in ST_DistanceTree for testing purposes. Do not document.
-
-2012-07-03 16:13  robe
-
-	* one more try
-
-2012-07-03 15:50  robe
-
-	* forgot to commit wkt files
-
-2012-07-03 15:45  robe
-
-	* some examples of delaunay triangles
-
-2012-07-03 13:58  strk
-
-	* Be tolerant with regressing against GEOS-3.2.0
-
-2012-07-03 13:16  dustymugs
-
-	* cleanup of examples for ST_Raster2WorldCoord()
-
-2012-07-03 07:57  robe
-
-	* update unpackaged. Need to make this an automated task perhaps
-	  thru jenkins first.
-
-2012-07-01 14:24  pramsey
-
-	* Fix problem thresholded distance searching in circ-trees. (#1796)
-
-2012-06-30 21:18  pramsey
-
-	* Fix cache coherence error where the trees were being built on top
-	  of geometries which would get freed out from underneath them.
-	  Instead build them on the cached representations we're carrying
-	  around anyways (#1796)
-
-2012-06-29 20:48  dustymugs
-
-	* int32 instead of int4 as per Peter Eisentraut on postgis-devel.
-
-2012-06-29 19:00  dustymugs
-
-	* Added svn:keywords entry and removed TODO item as ticket already
-	  exists.
-
-2012-06-29 17:10  strk
-
-	* Let testing temp dir be settable using PGIS_REG_TMPDIR
-	  
-	  Prior to this change you could change it using the TMPDIR
-	  variable
-	  but that one could have been used by other software as well.
-
-2012-06-29 02:06  dustymugs
-
-	* Fixed line issues. Added another TODO item.
-
-2012-06-29 01:58  dustymugs
-
-	* Line formatting
-
-2012-06-28 17:31  dustymugs
-
-	* Added raster TODO. Ticket is #1672
-
-2012-06-27 15:53  strk
-
-	* Add ST_DelaunayTriangles (#1215)
-
-2012-06-27 14:26  strk
-
-	* Add lwgeom_delaunay_triangulation (#1215)
-
-2012-06-27 08:26  strk
-
-	* Use LDFLAGS environment when building liblwgeom (#1891)
-	  
-	  Thanks mweisman
-
-2012-06-26 20:01  dustymugs
-
-	* Int32GetDatum() not Int64GetDatum()
-
-2012-06-26 18:17  dustymugs
-
-	* Cleanup of needless dynamic memory allocations
-
-2012-06-26 18:17  dustymugs
-
-	* Addition of ST_PixelOfValue. Ticket is #1889.
-
-2012-06-26 18:17  dustymugs
-
-	* Removed improper freeing of memory.
-
-2012-06-25 09:06  robe
-
-	* #1866 -- apply same geom_equal hack as we did in build area so
-	  differnt order of geometries in resulting geomcollection is
-	  ignored
-
-2012-06-24 19:31  robe
-
-	* 2.0.1 ticket notes
-
-2012-06-22 17:54  pramsey
-
-	* Fix a currently defined-out function signature mismatch.
-
-2012-06-22 05:52  robe
-
-	* fix census tract loader for sh
-
-2012-06-21 22:24  mcayland
-
-	* Remove auto-resizing columns from text fields in shp2pgsql-gui as
-	  they seem to be the cause of #1881.
-
-2012-06-21 20:18  dustymugs
-
-	* Changed the string "MISSING GDAL DATA" to "GDAL_DATA not found".
-
-2012-06-21 20:18  dustymugs
-
-	* Added method that includes the string "MISSING GDAL DATA" in the
-	  output
-	  of postgis_gdal_version() if GDAL is unable to access its data
-	  files
-
-2012-06-21 11:02  robe
-
-	* #1759: ST_Transform fix for geography
-
-2012-06-20 19:32  pramsey
-
-	* Hey kid, here's quarter, go buy yourself a compiler.
-
-2012-06-20 19:29  pramsey
-
-	* Don't try to do tree caching tricks when the arguments are both
-	  points, that's silly.
-
-2012-06-20 03:32  robe
-
-	* might as well change last geos version to latest release we
-	  technically don't even support 3.3.0
-
-2012-06-20 03:32  robe
-
-	* Change minimum postgres version from 8.4 to 9.0
-
-2012-06-20 03:01  pramsey
-
-	* ST_LocateAlong chokes on some value combinations (#1874)
-
-2012-06-19 22:09  dustymugs
-
-	* Refactored aggregate ST_SameAlignment to return NULL if one of
-	  the
-	  rasters passed in is NULL. Added regression tests for aggegrate
-	  ST_SameAlignment.
-
-2012-06-19 20:47  pramsey
-
-	* ST_InterpolatePoint returns empty M value (#1873)
-
-2012-06-19 19:08  dustymugs
-
-	* Addition of aggregate variant of ST_SameAlignment. Ticket is
-	  #1661.
-
-2012-06-19 19:08  dustymugs
-
-	* Minor cleanup of comments
-
-2012-06-19 18:11  pramsey
-
-	* Fix mistake in tree p-i-p return value.
-
-2012-06-19 16:46  pramsey
-
-	* Fix mistaken error trap in st_dwithincached
-
-2012-06-19 03:42  pramsey
-
-	* Add in SQL binding for circ-tree cached searching. Currently in
-	  *Cached variants to allow comparisons.
-
-2012-06-18 23:59  pramsey
-
-	* Fix mistake in handling crossings-at-a-vertex
-
-2012-06-18 22:58  dustymugs
-
-	* Updated NEWS of recent fixes to trunk
-
-2012-06-18 22:48  dustymugs
-
-	* Behavior is consistent across ST_Intersects(raster, ...)
-	  variants.
-	  Synced docs of ST_Intersects to actual behavior. Ticket is #1870.
-
-2012-06-18 22:48  dustymugs
-
-	* Addition of comments to RASTER_mapAlgebra2()
-
-2012-06-18 22:47  dustymugs
-
-	* Added check before calling PG_FREE_IF_COPY() in
-	  RASTER_mapAlgebra2()
-
-2012-06-18 22:47  dustymugs
-
-	* When no pixels are counted for summary stats, all other elements
-	  of
-	  stats output should be NULL. Ticket is #1875
-
-2012-06-18 22:47  dustymugs
-
-	* Cleanup of dev comments
-
-2012-06-18 22:47  dustymugs
-
-	* Finished work implementing use of PG_FREE_IF_COPY() and better
-	  handling of rt_pgraster variables.
-
-2012-06-18 22:47  dustymugs
-
-	* Fix division by zero in ST_ApproxSummaryStats and the situation
-	  where
-	  band is empty. Added regression tests for both situations.
-	  Ticket is #1872
-
-2012-06-18 22:47  dustymugs
-
-	* More work implementing use of PG_FREE_IF_COPY() and better
-	  handling of
-	  rt_pgraster variables.
-
-2012-06-18 22:47  dustymugs
-
-	* First chunk of code reintroducting PG_FREE_IF_COPY() and prevent
-	  arbitrary reuse of rt_pgraster variables.
-
-2012-06-18 22:02  pramsey
-
-	* Silence a warning
-
-2012-06-18 22:02  pramsey
-
-	* Move the circ tree caching code out of libpgcommon and into the
-	  geography area that actually uses it
-
-2012-06-18 21:40  pramsey
-
-	* Fix missing symbols problem with lwgeom_calculate_circ_tree
-	  (#1876)
-
-2012-06-18 20:14  pramsey
-
-	* Quiet some warnings.
-
-2012-06-18 17:44  pramsey
-
-	* Remove dead code, add commentary on caching system.
-
-2012-06-18 17:12  pramsey
-
-	* Update caching code to be more generic, using call-backs to
-	  allocate/build/free specific cache structures.
-
-2012-06-18 13:19  robe
-
-	* more additions and clarifications
-
-2012-06-18 13:06  robe
-
-	* take out interruptibility from 2.0.1 release notes - got pushed
-	  to 2.1.0
-
-2012-06-18 02:35  robe
-
-	* Add in 2.0.1 news
-
-2012-06-16 17:44  robe
-
-	* put link to user contributed install guides (more nicely
-	  organized than the dev one)
-
-2012-06-15 23:53  pramsey
-
-	* Hide internal arguments for tree calculations and shut up the
-	  print output.
-
-2012-06-15 23:11  pramsey
-
-	* Update the caching infrastructure to allow for arbitrary new
-	  caching systems to be combined into one fn_extra pointer slot.
-	  Clean up the 1-d r-tree code a little bit. Make the cache
-	  handling code for geometry caching generic so it can be re-used
-	  across different internal indexing approaches
-
-2012-06-15 23:08  pramsey
-
-	* Change ignore parameters on directory
-
-2012-06-15 22:51  pramsey
-
-	* Add circular tree calculations and associated tests in support of
-	  faster geography calculations.
-
-2012-06-15 21:59  dustymugs
-
-	* Fixed expected output. Ticket is #1848
-
-2012-06-15 15:30  dustymugs
-
-	* Additional sorting of rt_clip regression test. Ticket is #1848
-
-2012-06-15 15:16  dustymugs
-
-	* Make the sql in rtpg_getSR slightly more flexible when handling
-	  auth_name and auth_srid.
-
-2012-06-14 16:56  pramsey
-
-	* update ignore to ignore generated doxygen file
-
-2012-06-14 16:06  strk
-
-	* Catch invalid topology name passed to topogeo_add* (#1867)
-
-2012-06-13 18:28  strk
-
-	* Don't strip comment lines in the middle of COPY commands (#1865)
-	  
-	  Patch by J Smith <dark.panda at gmail.com>
-
-2012-06-12 17:28  strk
-
-	* Move sqldefine include on top of the file (#1822)
-
-2012-06-12 13:11  strk
-
-	* Fix call to GEOS_interruptRegisterCallback (win32)
-
-2012-06-12 13:06  strk
-
-	* Only show readable relations in metadata tables (#1813)
-	  
-	  Affects both geometry_columns and geography_columns.
-	  No easy way to put this under automated regression testing.
-
-2012-06-12 12:34  strk
-
-	* Clearer error on setting an geometry to an invalid one (#1774)
-	  
-	  Include testcase
-
-2012-06-12 10:46  strk
-
-	* Drop temporary table at end of ValidateTopology (#1797)
-
-2012-06-12 09:30  strk
-
-	* Really accept collections and multipoints from ST_MakeValid
-	  (#1719)
-	  
-	  Also updates documentation and SQL level tests.
-
-2012-06-12 09:30  strk
-
-	* Add test for MULTIPOINT processing
-
-2012-06-12 09:09  strk
-
-	* Add GEOMETRYCOLLECTION input support for ST_MakeValid (#1719)
-
-2012-06-12 08:29  robe
-
-	* part fix for #1860 ST_SRID not unique
-
-2012-06-12 07:57  strk
-
-	* Install comments when available, even withouth XSLTPROC (#1779)
-
-2012-06-11 18:39  strk
-
-	* Build and install comments when if possible (#1779)
-
-2012-06-11 18:01  robe
-
-	* Mislabeled function (raster missing new flag and ST_ASGML
-	  mislabeled as new instead of enhanced)
-
-2012-06-11 17:28  robe
-
-	* get rid of 2.1 enhancements section -- probably causing pdflatex
-	  issues because we have no enhancements
-
-2012-06-11 17:12  robe
-
-	* fix unclosed tag
-
-2012-06-11 16:26  robe
-
-	* Add a what's new in 2.1 section
-
-2012-06-11 15:46  dustymugs
-
-	* Added DROP statements for st_intersection variants that were
-	  removed
-	  before 2.0. Ticket is #1749
-
-2012-06-11 14:45  robe
-
-	* warnings too dark
-
-2012-06-11 14:02  robe
-
-	* warnings should be more prominent. Move extension warning up a
-	  bit. correct misspelling
-
-2012-06-11 11:47  robe
-
-	* #1815 put a big warning about this unexpected behavior when
-	  trying to explicitly backup tables that are part of an extension
-
-2012-06-10 06:25  robe
-
-	* #1859 commit doc corrections from Kashif Rasul.
-
-2012-06-08 17:18  robe
-
-	* snaptogrid to get rid of false failures on mingw-64 resulting
-	  from single digit rounding differences
-
-2012-06-08 14:04  mcayland
-
-	* Rename references to -r to -s in shp2pgsql-cli.c and also move
-	  argument combination validation to a separate phase.
-	  
-	  This is based upon a report from Lauri Kajan who was having
-	  issues using -D and -s TO_SRID on Windows.
-
-2012-06-08 12:45  robe
-
-	* #1834 itemize srid ranges we include and set filter to not back
-	  these up. It's long and ugly I know.
-
-2012-06-08 11:55  strk
-
-	* Fix failure to detect endpoint mismatch in ST_AddEdge*Face*
-	  (#1857)
-	  
-	  Affects calls with start_node = end_node and matching start
-	  point.
-
-2012-06-08 11:13  strk
-
-	* Remove unused variables
-
-2012-06-08 04:14  robe
-
-	* minor improvements to prefer a named road over an unnamed one if
-	  within 20 meters, also #1856 ability to control preferred name
-	  for highways, county and state roads (whether numbered or local
-	  name)
-
-2012-06-07 23:08  strk
-
-	* Properly set permissions on backend temp dir
-
-2012-06-07 15:56  dustymugs
-
-	* Tweaked rt_clip queries to have the output ordered. Changed the
-	  round()
-	  call to a ceil() call due to the question of rounding 27.5 (is it
-	  28 or
-	  27?). Ticket is 1848.
-
-2012-06-07 15:18  strk
-
-	* Register a GEOS interrupt callback to dispatch windows events
-	  
-	  NOTE: won't build on WIN32 with GEOS-3.4.0SVN < r3672
-
-2012-06-07 14:17  strk
-
-	* Remove unused code
-
-2012-06-07 07:17  strk
-
-	* Ignore generated Makefile (a new one)
-
-2012-06-07 06:55  strk
-
-	* Fix scoping of TEST variable (#1853)
-	  
-	  I didn't really understand why it is only TEST needing to be
-	  "our"
-	  but it seems to work.
-
-2012-06-06 15:25  pramsey
-
-	* Wrong parameters for EPSG:3844 in spatial_ref_sys (#1851)
-
-2012-06-06 15:24  strk
-
-	* Have run_test.pl use strict mode
-
-2012-06-02 07:12  robe
-
-	* Forgot to add gisgraphy as another PostGIS geocoder. I know I am
-	  missing others.
-
-2012-05-31 22:49  pramsey
-
-	* Convert to using run_test.pl instead of run_test.sh
-
-2012-05-31 22:16  pramsey
-
-	* Works for MinGW now
-
-2012-05-31 20:16  pramsey
-
-	* back out run_test.pl change, that was an accident
-
-2012-05-31 20:11  strk
-
-	* Use our own diff, avoid using Which. Works for me. Tests welcome.
-
-2012-05-31 17:29  pramsey
-
-	* Change from sed to perl
-
-2012-05-31 16:57  pramsey
-
-	* Convert sed to perl
-
-2012-05-31 16:47  pramsey
-
-	* Switch from sed to perl
-
-2012-05-31 16:45  pramsey
-
-	* Switch from sed to perl
-
-2012-05-31 05:46  dustymugs
-
-	* Explicit error message when dimensions requested exceeds the
-	  maximum
-	  permitted of a raster.
-
-2012-05-31 05:45  dustymugs
-
-	* Added more verbiage regarding setting SRID with -s for
-	  raster2pgsql
-
-2012-05-31 05:45  dustymugs
-
-	* Correct spelling mistakes
-
-2012-05-31 05:45  dustymugs
-
-	* Updated docs to reflect change to minimum GDAL version
-
-2012-05-31 05:45  dustymugs
-
-	* Bumped up the minimum version of GDAL from 1.6 to 1.8
-
-2012-05-31 01:44  robe
-
-	* #1812 change to use sT_Equals to account for polygon order
-	  difference under windows (mingw)
-
-2012-05-31 01:34  robe
-
-	* fix typos
-
-2012-05-31 00:50  robe
-
-	* #1843 document new geocode_setting set/get functions, make
-	  publically readable.
-
-2012-05-30 21:49  pramsey
-
-	* Convert calls to 'sed' to calls to 'perl'
-
-2012-05-30 18:59  pramsey
-
-	* Perl-based pre/post hooks for the raster loader tests
-
-2012-05-30 18:58  pramsey
-
-	* Update the run_test.pl script to handle the raster loader
-	  pre/post rules
-
-2012-05-30 08:55  robe
-
-	* #1845 fix tracts/bg/tabblock loading
-
-2012-05-28 19:21  pracine
-
-	* Replace the x, y iteration with a call to ST_MapAlgebraExpr() now
-	  that it supports [rast.x] and [rast.y]. Much faster!
-	  This is not (yet) part of rtpostgis.sql. Should be in 2.1.
-
-2012-05-28 08:04  strk
-
-	* Install a signal handler to request GEOS interruption (#1802)
-	  
-	  Requires GEOS-3.4.0SVN
-
-2012-05-27 18:28  robe
-
-	* #1843 - logic to add the new settings table, a get and set
-	  function, and changed debug variables in various functions to
-	  lookup value from table
-
-2012-05-25 15:20  strk
-
-	* Handle exceptions from GEOSUnionCascaded() in
-	  LWGEOM_GEOS_buildArea
-
-2012-05-24 23:13  dustymugs
-
-	* Code cleanup related to rt_band_load_offline_data()
-
-2012-05-24 10:10  strk
-
-	* Do not call OGRCleanupAll() within API functions
-	  
-	  Valgrind didn't show any leak.
-	  Eventually we can do cleanups in _PG_fini.
-
-2012-05-24 06:41  strk
-
-	* Do not assume geos allocates using malloc. Reduce memory use too.
-
-2012-05-23 22:51  dustymugs
-
-	* Fixed GDALDriverH * to GDALDriverH.
-
-2012-05-23 22:36  dustymugs
-
-	* Use GDALIdentifyDriver() to detect whether or not a raster is
-	  supported
-	  by raster2pgsql. Thanks to rouault for the suggestion
-
-2012-05-23 21:41  colivier
-
-	* Fix ST_AsGML prototype in legacy. Related to #1823
-
-2012-05-23 20:49  colivier
-
-	* Fix geography prototype for ST_AsGML. Related to #1823
-
-2012-05-23 17:54  dustymugs
-
-	* Correct when to compute number of tiles. Ticket is #1840
-
-2012-05-23 17:54  dustymugs
-
-	* Add support for GeoTIFF subdatasets. Ticket is #1839
-
-2012-05-23 06:58  robe
-
-	* force casting to text for band types in various examples prevent
-	  unknown warnings (alibo noted)
-
-2012-05-23 03:24  robe
-
-	* backout changes about 2.0.1 already accounted for in 2.0 branch
-
-2012-05-23 03:16  robe
-
-	* add section for 2.0.1 and more items in 2.1.0 -- sitll a lot of
-	  gaps to fill in.
-
-2012-05-22 17:47  dustymugs
-
-	* Added missing "See Also" sections for ST_NearestValue and
-	  ST_Neighborhood
-
-2012-05-22 17:07  dustymugs
-
-	* Fix unbalanced tags
-
-2012-05-22 17:07  dustymugs
-
-	* Added ST_World2RasterCoord, ST_Raster2WorldCoord,
-	  ST_NearestValue,
-	  ST_Neighborhood to New Features section
-
-2012-05-22 17:06  dustymugs
-
-	* Added docs for ST_NearestValue and ST_Neighborhood
-
-2012-05-22 17:06  dustymugs
-
-	* Refactored function parameter names of ST_NearestValue and
-	  ST_Neighborhood
-
-2012-05-22 17:06  dustymugs
-
-	* Added docs for ST_World2RasterCoord() and ST_Raster2WorldCoord()
-
-2012-05-22 17:06  dustymugs
-
-	* Expansion of regression tests and fix error messages
-
-2012-05-22 17:06  dustymugs
-
-	* Lowercase language due to case-sensitivity of PostgreSQL 9.2
-
-2012-05-22 17:06  dustymugs
-
-	* Added regression tests for ST_World2RasterCoord and
-	  ST_Raster2WorldCoord. Updated existing tests use the same
-	  functions
-
-2012-05-22 17:06  dustymugs
-
-	* Added ST_Raster2WorldCoord and ST_World2RasterCoord functions to
-	  consume
-	  RASTER_rasterToWorldCoord and RASTER_worldToRasterCoord
-	  functions.
-	  Refactored existing ST_Raster2WorldCoord(X|Y) and
-	  ST_World2RasterCoord(X|Y) functions to call new functions
-
-2012-05-22 17:06  dustymugs
-
-	* Removed unnecessary/unused variable
-
-2012-05-22 17:05  dustymugs
-
-	* Drop ST_Neighborhood variants due to output datatype changes
-
-2012-05-22 17:05  dustymugs
-
-	* Modified ST_Neighborhood and underlying functions to return 2D
-	  double
-	  precision array. This allows the output to be readily passed onto
-	  the
-	  ST_xxx4ma functions.
-
-2012-05-22 17:05  dustymugs
-
-	* Updated copyright
-
-2012-05-22 17:05  dustymugs
-
-	* Added SRID check to ST_NearestValue
-
-2012-05-22 17:05  dustymugs
-
-	* addition of ST_NearestValue and ST_Neighborhood
-
-2012-05-22 16:02  colivier
-
-	* Fix wrong SQL prototype, wrong PostGIS version number, and use
-	  NULL as default value rather than empty string, related to #1823
-
-2012-05-22 15:29  robe
-
-	* #1837 dupe refentry
-
-2012-05-22 15:26  robe
-
-	* detail how to upgrade from tiger_2010 to tiger_2011 data
-
-2012-05-22 15:13  pramsey
-
-	* Add upgrade mode and start to get raster working. Bah, going to
-	  need to handle pre/post actions after all.
-
-2012-05-22 14:17  pramsey
-
-	* Upgrade from 2.0 only
-
-2012-05-22 13:34  robe
-
-	* Add new functions and notes that 2.1 is tiger_2011 instead of
-	  tiger_2010. More on upgrade instructions from tiger_2010 to
-	  tiger_2011
-
-2012-05-22 13:25  robe
-
-	* rename function drop_national_tables_generate_script() to
-	  drop_nation_tables_generate_script(), revise regex to prevent
-	  psql warning in 9.2 psql
-
-2012-05-22 12:23  colivier
-
-	* Use NULL value as default for id on ST_AsGML cunit tests. Related
-	  to #1823
-
-2012-05-22 09:20  strk
-
-	* More entries in authors.*
-	  
-	  With this I could complete a git-svn-clone operation
-
-2012-05-22 08:49  colivier
-
-	* Fix some unintialized vars. Fix becoming wrong prototype call in
-	  GML3 cunit tests. Related to #1823
-
-2012-05-22 08:49  pramsey
-
-	* Initial commit of the run_test.pl perl port of the regression
-	  harness.
-	  This version runs the postgis loader and sql tests. It does not
-	  yet run in --upgrade mode or handle the raster or topology tests.
-
-2012-05-22 07:45  strk
-
-	* Update authors file for both SVN and GIT
-
-2012-05-21 21:17  colivier
-
-	* First implementation of gml:id support for ST_AsGML. Related to
-	  #1823. Not yet really tested. Cunit still missing
-
-2012-05-21 20:29  robe
-
-	* get rid of old stuff can always be pulled from prior versions
-
-2012-05-21 20:28  robe
-
-	* move tiger_2011 work to 2.1
-
-2012-05-21 14:48  strk
-
-	* UTF8 author names
-
-2012-05-21 10:57  pramsey
-
-	* Back out ST_CollectionExtract changes, too many regression
-	  failures
-
-2012-05-21 10:13  pramsey
-
-	* Harmonize regression to new ST_CollectionExtract behavior
-
-2012-05-21 09:41  pramsey
-
-	* ST_CollectionExtract: inconsistent EMPTY results (#1778)
-
-2012-05-21 09:39  pramsey
-
-	* Bump numbers for 2.1 on trunk
-
-2012-05-21 09:36  pramsey
-
-	* Accept PostGIS 1.5 WKB type numbers in WKB parser (#1807)
-
-2012-05-21 08:05  pramsey
-
-	* Revert #1830
-
-2012-05-20 09:27  pramsey
-
-	* loader dumper / gui About have version correct credits (#1743)
-
-2012-05-20 09:17  pramsey
-
-	* the pgsql2shp tool should qualify its query against pg_class to
-	  ensure it gets the correct table to dump (#1814) <chander>
-
-2012-05-20 08:21  pramsey
-
-	* News update
-
-2012-05-20 08:20  pramsey
-
-	* pgsql2shp fix for "XInvalid endian flag value encountered" on
-	  PostgreSQL 9.2 (#1830)
-
-2012-05-20 07:31  pramsey
-
-	* Update NEWS with some bug fixes
-
-2012-05-18 09:59  strk
-
-	* Fix uninitialized read in GeoJSON parser (#1829)
-
-2012-05-17 13:37  strk
-
-	* Last bugfix item...
-
-2012-05-17 13:36  strk
-
-	* Do not compare uninitialized memory (#1825)
-	  
-	  May fix prepared geometry cache sub-uses (misses)
-
-2012-05-17 12:27  strk
-
-	* Fix topology loader against PostgreSQL 9.2 (#1822)
-
-2012-05-17 12:10  pramsey
-
-	* configure enabling extension reads 9.1 even on 9.2 (#1821)
-
-2012-05-17 11:59  pramsey
-
-	* Put back 900913 srid (#1805)
-
-2012-05-17 11:54  pramsey
-
-	* Error in empty short circuit (#1828)
-
-2012-05-17 11:47  strk
-
-	* Link lwgeom_normalize change to its ticket #1812
-
-2012-05-17 11:45  strk
-
-	* Add lwgeom_normalize in LIBLWGEOM, use in cu_buildarea tester
-
-2012-05-16 19:39  strk
-
-	* Use the proper function to release returns from GEOS.
-
-2012-05-16 19:39  strk
-
-	* Cleanly handle database creation error
-
-2012-05-16 18:50  dustymugs
-
-	* Updated to note bug #1819
-
-2012-05-16 18:47  dustymugs
-
-	* Added ST_Raster2WorldCoord and ST_World2RasterCoord functions to
-	  consume
-	  RASTER_rasterToWorldCoord and RASTER_worldToRasterCoord
-	  functions.
-	  Refactored existing ST_Raster2WorldCoord(X|Y) and
-	  ST_World2RasterCoord(X|Y) functions to call new functions
-
-2012-05-16 18:47  dustymugs
-
-	* Addition of RASTER_rasterToWorldCoord and
-	  RASTER_worldToRasterCoord
-	  functions
-
-2012-05-16 15:16  dustymugs
-
-	* Additional lower-casing of language for PostgreSQL 9.2 as per
-	  r9735
-
-2012-05-16 08:29  robe
-
-	* #1820 part fix 9.2 language is case sensitive if quoted -- change
-	  'C' and 'SQL' to 'c' and 'sql'
-
-2012-05-14 23:28  dustymugs
-
-	* Addition of some commented code. Might be useful if an option is
-	  added
-	  to output the VRTs used in the process of loading rasters
-
-2012-05-14 23:28  dustymugs
-
-	* Changed function parameter datatypes from uint16_t to int to
-	  better
-	  handle out-of-range values
-
-2012-05-10 07:24  strk
-
-	* Cleanup new BuildArea code, add profiling prints (#1806)
-
-2012-05-09 12:08  strk
-
-	* Significatively speedup BuildArea with complex input (#1806)
-	  
-	  Affects ST_BuildArea, ST_MakeValid and ST_GetFaceGeometry.
-	  
-	  Replaces the iterated SymDifference used since 2005 with a more
-	  scalable algorithm. The new algorithm removes from the
-	  polygonized
-	  result all polygons whose rings are known to be already
-	  represented
-	  by holes or shells of other polygons and finally runs a single
-	  overlay operation (unary union).
-	  
-	  With the case attached to ticket #1806, ST_BuildArea completes
-	  within 12 seconds using the new code while it takes 27 _minutes_
-	  with the old. Both versions return the same result (according to
-	  ST_Equals).
-
-2012-05-09 12:08  strk
-
-	* Add unit test for lwgeom_buildarea (useful for #1806)
-
-2012-05-08 16:47  strk
-
-	* ST_BuildArea: arrange polygonized output reducing overlay cost
-	  (#1806)
-	  
-	  By running SymDifference against items with less points first we
-	  reduce the overall cost (output vertices tend to always grow).
-
-2012-05-08 16:47  strk
-
-	* Make ST_MakeValid tests immune by coordinates order (using
-	  ST_Equals)
-
-2012-05-08 16:47  strk
-
-	* Cross reference ST_BuildArea with ST_MakePolygon
-
-2012-05-07 11:50  robe
-
-	* who is in charge of QA here? 1.5.4 completely missing from trunk
-
-2012-05-07 07:08  strk
-
-	* postgis_raster_lib_version is also in rtpostgis.sql, not
-	  topology.sql
-
-2012-05-07 06:58  strk
-
-	* postgis_raster_scripts_installed is in rtpostgis.sql, not
-	  topology.sql
-
-2012-05-05 13:06  pramsey
-
-	* README Installation error (#1804)
-
-2012-05-04 15:12  strk
-
-	* Sort bugfixes by ticket number, add an item for #1802
-
-2012-05-04 11:21  strk
-
-	* Turn custom allocators into an occasion for interruption (#1802)
-	  
-	  This change allows interrupting any function at allocation time.
-	  Doesn't allow interrupting loops not invoking custom allocators
-	  (includes GEOS, so far).
-
-2012-05-04 08:06  strk
-
-	* Protect ST_Segmentize from max_length=0 (#1799)
-
-2012-05-04 02:54  dustymugs
-
-	* Additional refactoring of rtpg_getSR().
-
-2012-05-04 02:54  dustymugs
-
-	* Additional fixups in rtpg_getSR() for better handling of
-	  spatial_ref_sys.
-	  Also inclusion of several regression tests to stress
-	  rtpg_getSR().
-
-2012-04-30 17:27  pramsey
-
-	* Restrict the coverage of the geography polar interesction
-	  slightly.
-
-2012-04-30 00:35  robe
-
-	* update stats
-
-2012-04-30 00:22  robe
-
-	* drop_state_tables_generate_script state arg misnamed as address
-	  instead of param_state
-
-2012-04-26 20:32  strk
-
-	* Add note about clang build fix (#1694)
-
-2012-04-26 20:26  strk
-
-	* Fix wrong ticket reference
-
-2012-04-26 20:10  strk
-
-	* Fix false edge-node crossing report in ValidateTopology (#1625)
-
-2012-04-26 16:30  strk
-
-	* Give ST_Azimuth a chance with close but distinct points (#1791)
-
-2012-04-25 22:36  robe
-
-	* meida /print wasn't working on all cheatsheets because too
-	  specific.
-
-2012-04-25 20:04  pramsey
-
-	* AddGeometryColumns allow dims = 0 (#1573)
-
-2012-04-25 19:41  strk
-
-	* Fix toTopoGeom handling of duplicated primitives (#1790)
-
-2012-04-25 18:49  pramsey
-
-	* st_dwithin(geog, geog, 0) doesn't work (#1264)
-
-2012-04-25 17:54  pramsey
-
-	* Forward port test from #1170
-
-2012-04-24 22:05  robe
-
-	* don't underline and color hyperlinks in print mode
-
-2012-04-24 20:02  pramsey
-
-	* run_test hangs on MSYS (#1788)
-
-2012-04-24 19:56  pramsey
-
-	* run_test hangs on MSYS (#1788)
-
-2012-04-24 19:12  strk
-
-	* Azimuth on the 9th hour of the clock is 3PI/2, not 3PI/4 (thanks
-	  ij)
-
-2012-04-24 17:58  pramsey
-
-	* libjson configure test doesn't include support for DLL (#1787)
-
-2012-04-24 15:37  strk
-
-	* Hush debugging in ST_DumpPoints
-
-2012-04-24 09:16  strk
-
-	* liblwgeom depends on postgis_config.h and postgis_svn_revision.h
-	  (#1786)
-
-2012-04-24 09:16  strk
-
-	* Fix deps of postgis on postgis_svn_revision.h, pgcommon and
-	  lwgeom
-
-2012-04-23 05:48  robe
-
-	* make igst index link tag friendly and provide example of nd
-	  index.
-
-2012-04-20 16:13  dustymugs
-
-	* Added note related to overviews not being aligned though the
-	  source
-	  rasters are aligned for specific overview factors.
-
-2012-04-20 14:50  dustymugs
-
-	* Added ticket #1782 to NEWS. Updated contributors section.
-
-2012-04-20 03:28  pramsey
-
-	* Fix incorrect call to geom->type where geom->flags is needed
-
-2012-04-20 03:23  pramsey
-
-	* st_isclosed() doesn't return false for unclosed POLYGONS only
-	  LINESTRINGS (#1756)
-
-2012-04-19 15:24  dustymugs
-
-	* Removed emptry string check that prevented use of proj4text or
-	  srtext in
-	  rtpg_getSR(). Ticket is #1782
-
-2012-04-19 15:23  dustymugs
-
-	* minor comments changed
-
-2012-04-18 19:21  dustymugs
-
-	* Fix handling of tuples as described in #1782
-
-2012-04-16 20:06  dustymugs
-
-	* Replaced testing of two rasters' geotransform matrix with
-	  alignment test
-
-2012-04-15 15:47  mcayland
-
-	* Fix #1468: shp2pgsql-gui table column schema get shifted
-	  
-	  A couple of copy/paste errors meant that the update handler was
-	  being invoked
-	  a second time on the loader shapefile column name, rather than
-	  just once on
-	  the schema column.
-
-2012-04-15 15:46  mcayland
-
-	* shp2pgsql-gui: don't allow the user to edit the schema name in
-	  the listview.
-	  
-	  This brings the behaviour in line with that of the table name,
-	  and since
-	  these entries are generated from the table selector there should
-	  be no
-	  need to do this.
-
-2012-04-13 21:14  strk
-
-	* Regress-test ST_ChangeEdgeGeom with 2-vertext target (#1775)
-	  
-	  This case was actually fixed by previous commit
-	  (ST_SymDifference)
-
-2012-04-13 21:04  strk
-
-	* fix ST_SymDifference(empty, geom) to return geom (#1776)
-
-2012-04-13 14:32  strk
-
-	* Give more detail on topology editing function exception
-
-2012-04-12 14:09  strk
-
-	* Use an SQLPP command for pre-processing SQL files (#1694)
-	  
-	  The SQLPP command is figured at ./configure time.
-	  It will use cpp(1) or gpp(1) if any is found in that order or
-	  fallback to whatever CPP expands to (usually the compiler with
-	  -E)
-
-2012-04-12 14:09  strk
-
-	* Use more compatible '#define' syntax
-
-2012-04-12 10:51  strk
-
-	* Do not assume ndims check statements are fully qualified (#1708)
-
-2012-04-12 10:28  strk
-
-	* Automate test for toTopoGeom usage with custom search_path
-	  (#1763)
-
-2012-04-12 10:28  strk
-
-	* Do not consider RESET outputs
-
-2012-04-12 10:06  strk
-
-	* Rephrase item for about topology functions and full qualification
-
-2012-04-12 07:21  strk
-
-	* Fix NaN from ptarray_locate_point with zero-length lines (#1772)
-
-2012-04-12 07:21  strk
-
-	* Fix comment doc about lwline_split_by_point_to
-
-2012-04-11 19:20  strk
-
-	* Add note about ST_RemEdgeModFace and ST_RemEdgeNewFace fix
-	  (#1766)
-
-2012-04-11 19:17  strk
-
-	* Don't let ST_RemEdge* destroy TopoGeometry objects (#1766)
-
-2012-04-11 12:37  strk
-
-	* Add note aboute #1714 bugfix
-
-2012-04-11 12:37  strk
-
-	* Cleanup lines after (bad) snapping (#1714)
-
-2012-04-10 17:26  strk
-
-	* Have ST_ModEdgeSplit and ST_NewEdgesSplit to use ST_Spit (#1715)
-
-2012-04-10 15:51  strk
-
-	* Call config.status if liblwgeom.h.in newer than liblwgeom.h
-	  (#1691)
-
-2012-04-10 10:20  strk
-
-	* Add bug fixes committed so far in the 2.0 branch
-
-2012-04-10 00:20  robe
-
-	* #1759 transform functionality doesn't work if you have raster
-	  installed.
-
-2012-04-09 22:44  dustymugs
-
-	* Added handling of subdatasets coming from NetCDF, HDF4 and HDF5.
-	  Associated ticket is #1761.
-
-2012-04-08 10:00  strk
-
-	* Fully qualify calls to topology functions (#1763)
-
-2012-04-07 02:05  robe
-
-	* #1757 -- change in behavior of ST_3Dlength_spheroid not noted and
-	  changed name incorrectly stated.
-
-2012-04-06 12:38  robe
-
-	* hyperlink function names to section in online manual
-
-2012-04-05 18:35  chodgson
-
-	* updated version number in pom.xml
-
-2012-04-05 18:25  pramsey
-
-	* Geometry has Z dimension but column does not (#1755)
-
-2012-04-05 18:22  pramsey
-
-	* Send an "unknown" typmod into gserialized constructor from
-	  ST_GeographyFromText (#1755)
-
-2012-04-05 09:11  strk
-
-	* Allow for 1.#INF to be threated as Inf (#1736)
-
-2012-04-05 09:11  strk
-
-	* Threat Infinite and 1.#INF the same (#1736)
-
-2012-04-05 08:56  strk
-
-	* Drop java/pljava dir (#1411)
-
-2012-04-05 08:54  strk
-
-	* Do not mention pljava, it's gone (#1411)
-
-2012-04-05 00:27  dustymugs
-
-	* Fixed missing SVN revision tag in raster2pgsql's help
-
-2012-04-04 21:49  strk
-
-	* Add note about topology.Polygonize not doing edge linking
-
-2012-04-04 21:49  strk
-
-	* Tabs to spaces
-
-2012-04-03 19:26  pramsey
-
-	* Update release date for 2.0.0 (TODO more readable release notes)
-
-2012-04-03 19:24  pramsey
-
-	* Set up for 2.0.1
-
-2012-04-03 19:22  pramsey
-
-	* Prep for 2.0.0
-
-2012-04-03 18:46  dustymugs
-
-	* Fix error message
-
-2012-04-03 18:29  strk
-
-	* Use full URL to trac query
-
-2012-04-03 18:24  pramsey
-
-	* Add extensions
-
-2012-04-03 18:21  pramsey
-
-	* Convert text to UTF8
-
-2012-04-03 18:10  pramsey
-
-	* Final answer?
-
-2012-04-03 17:46  pramsey
-
-	* rewrite breaking section
-
-2012-04-03 17:34  pramsey
-
-	* More minor edits
-
-2012-04-03 17:27  strk
-
-	* Add ST_Node item
-
-2012-04-03 17:25  pramsey
-
-	* Minor reorg of NEWS, more to come
-
-2012-04-03 12:05  strk
-
-	* Write CREATE TYPE as expected by postgis_proc_upgrade.pl (#1746)
-	  
-	  The script expects CREATE TYPE to spawn multimultiple lines ...
-
-2012-04-03 12:05  strk
-
-	* Add note about input noding for ST_Polygonize and ST_BuildArea
-
-2012-04-01 20:19  pramsey
-
-	* Update changelog on trunk
-
-2012-04-01 20:16  pramsey
-
-	* Version bumps for RC2
-
-2012-03-31 16:26  dustymugs
-
-	* Minor tweak to message regarding GEOS < 3.3
-
-2012-03-30 22:40  pramsey
-
-	* Comment out noise in the GEOS 3.2 case. (#1740)
-
-2012-03-30 14:17  mcayland
-
-	* Make sure that we clear any previously selected files when
-	  (re)opening the import file selector in the shapefile GUI.
-
-2012-03-30 14:17  mcayland
-
-	* Fix #1741: Build error --with-gui, gtk problem.
-	  
-	  Older versions of GTK (< 2.14.0) don't have
-	  gtk_dialog_get_content_area(). Work
-	  around this by providing a compatibility #define for these older
-	  GTK versions.
-
-2012-03-30 08:36  strk
-
-	* Have BuildArea catch exception from GEOSSymDifference (#1738)
-
-2012-03-29 21:52  pramsey
-
-	* wrong proj4text in spatial_ref_sys for SRID 31300 and 31370
-	  (#1389)
-
-2012-03-29 12:37  strk
-
-	* Fix crash on NULL item in ND index (#1734)
-	  
-	  Add regression testing for the case
-
-2012-03-28 23:12  pramsey
-
-	* make install doesn't install postgis_restore.pl (#1732)
-
-2012-03-28 22:59  pramsey
-
-	* Bump versions for 2.0.0rc1 release
-
-2012-03-28 14:02  strk
-
-	* Strip schemas from search_path as part of uninstall procedures
-
-2012-03-28 12:40  strk
-
-	* Reduce extensions requirements (#1724)
-	  
-	  Build extensions even w/out topology, and even w/out xsltproc if
-	  comments are already built.
-
-2012-03-28 11:36  strk
-
-	* Fix GetGopoGeomElementArray code (#1730)
-	  
-	  Includes regression testing for both GetGopoGeomElements
-	  and GetGopoGeomElementArray
-
-2012-03-28 09:19  strk
-
-	* Add regression test for GiST index crash on empty (#1697)
-	  
-	  Also tests you can query all empty items from an index
-
-2012-03-28 08:22  strk
-
-	* Fix crash in n-dimensional GiST index on EMPTY geoms (#1697)
-	  
-	  This is Paul's patch with the unrelated btree changes removed and
-	  the memset removed too.
-
-2012-03-27 23:39  robe
-
-	* detail how to use create extension .. from unpackaged
-
-2012-03-27 23:17  robe
-
-	* #1727 this will make statements like CREATE EXTENSION postgis
-	  FROM unpackaged; CREATE EXTENSION postgis_topology FROM
-	  unpackaged; work. It's sadly static at the moment.
-
-2012-03-27 22:05  dustymugs
-
-	* Added robustness checking that GDAL supports spatial reference
-	  text from
-	  spatial_ref_sys table
-
-2012-03-27 19:25  dustymugs
-
-	* Merge branch 'master' into HEAD
-
-2012-03-27 18:14  strk
-
-	* Have uninstall scripts drop created schemas, regress test it
-
-2012-03-27 17:30  strk
-
-	* Wrap most topology.sql into a transaction
-	  
-	  CREATE SCHEMA is left out because uninstall_topology isn't
-	  getting
-	  rid of it (to be fixed later)
-
-2012-03-27 17:06  strk
-
-	* Do not mess with search_path when installing comments (#1723)
-
-2012-03-27 14:47  strk
-
-	* Update extensions/README (#1720)
-	  
-	  - reStructuredText Markup, 80 column text
-	  - Rewrite several paragraphs
-	  - Add requirements section
-	  - Make it clear that --with-raster is required, and that postgis
-	  also
-	  includes the raster support
-	  
-	  Patch by Mike Toews
-
-2012-03-27 14:32  strk
-
-	* Accept POINT types in ST_MakeValid (#1719)
-
-2012-03-27 10:51  strk
-
-	* 80 cols wrap for pgsql2shp help screen (#1722)
-	  
-	  Patch by Mike Toews
-
-2012-03-27 09:56  strk
-
-	* Update doc/README (#1721)
-	  
-	  - reStructuredText Markup, 80 column text limit
-	  - Structure the make targets using definition lists
-	  - It turns out that graphviz is required for make doxygen
-	  
-	  Patch by Mike Toews
-
-2012-03-27 07:01  strk
-
-	* Drop pljava (#1411)
-
-2012-03-27 02:08  robe
-
-	* #1693, #1704 - twofer - change DROP AGGREGATE and DROP VIEW to be
-	  DROP .. IF EXISTS
-
-2012-03-27 01:16  robe
-
-	* minor typo correction
-
-2012-03-26 16:23  mcayland
-
-	* Rework code from r9204 (bug #900: shp2pgsql: a switch to drop M
-	  from 4d imports) to fix bug #1710: shp2pgsql -t option is not
-	  working properly.
-	  
-	  The original implementation set the has_z/has_m flags directly
-	  based upon the -t parameter; however this lost the information
-	  as to how many dimensions were specified. Resolve this by
-	  specifying a new force_output configuration variable and setting
-	  it to an enumerated constant, so that we can then implement a
-	  simple switch() to set both the output dimension and output
-	  flags correctly.
-
-2012-03-26 16:23  mcayland
-
-	* Remove istypeM state variable from loader as it isn't used
-	  anymore.
-
-2012-03-26 16:23  mcayland
-
-	* Improve readability in the loader by fixing various whitespace
-	  issues.
-
-2012-03-26 13:18  robe
-
-	* change example for totopogeom
-
-2012-03-26 13:17  strk
-
-	* Wrap within 80 cols
-
-2012-03-26 12:26  robe
-
-	* Add an example for toTopoGeom
-
-2012-03-23 23:46  pramsey
-
-	* Updates for 2.0
-
-2012-03-23 23:00  strk
-
-	* Add topology validity checking (extra paranoia)
-
-2012-03-23 22:54  strk
-
-	* Do not abuse ST_Snap for tweaking edge endpoints (#1706)
-
-2012-03-23 22:23  strk
-
-	* Enhance edge splitting robustness (#1711)
-
-2012-03-23 21:07  pramsey
-
-	* Skip over geodetic check for empty geometries.
-
-2012-03-23 19:14  pramsey
-
-	* Allow build to work under DEBUG=5
-
-2012-03-23 17:08  strk
-
-	* Add debugging lines to sqlmm edge splitting functions
-
-2012-03-23 15:11  strk
-
-	* Add missing ticket reference to it's regression test
-
-2012-03-23 13:16  pracine
-
-	* Made the red color for parameters a bit darker...
-
-2012-03-23 13:09  robe
-
-	* flesh out upgrade a bit.
-
-2012-03-23 07:54  robe
-
-	* make variables names red to stand out better
-
-2012-03-22 17:24  pramsey
-
-	* Update regression to handle new collection(empty) possibilities
-
-2012-03-22 16:55  pramsey
-
-	* Parse error on WKT for multi with empty elements (#1703)
-
-2012-03-22 15:07  strk
-
-	* Add collapsed polygon case to ST_Simplify test (#1698)
-
-2012-03-22 15:07  strk
-
-	* Add a ptarray_simplify parameter to preserve min vertices (#1698)
-	  
-	  A polygon ring collapsed to a segment is still better handled by
-	  mapnik than the same ring collapsed to a single point. This
-	  commit
-	  retains at least 3 vertices for polygons.
-
-2012-03-22 15:06  strk
-
-	* Do not drop collapsed polygon shells (#1698)
-
-2012-03-22 13:33  robe
-
-	* missing para tag
-
-2012-03-22 13:29  robe
-
-	* explain geometry_columns is now a view and that spatial tables
-	  can be created in 1 step.
-
-2012-03-22 13:02  robe
-
-	* more expounding on typmod vs. constraint based geometry columns
-
-2012-03-21 21:36  pramsey
-
-	* Change @rm to rm for visibility
-
-2012-03-21 20:32  pramsey
-
-	* Make distclean should remove all the Makefile's generated by
-	  ./configure
-
-2012-03-21 20:03  pramsey
-
-	* Bump versions for beta4
-
-2012-03-21 18:22  pramsey
-
-	* Ignore some files
-
-2012-03-19 20:40  pramsey
-
-	* README.raster needs updating or removal (#1649)
-
-2012-03-19 12:07  strk
-
-	* ST_SnapToGrid: retain type on empty return (#1695)
-
-2012-03-16 19:13  strk
-
-	* Fix typo puffered -> buffered
-
-2012-03-16 19:11  strk
-
-	* Be quieter on polygon ring collapse (in ST_Simplify)
-
-2012-03-16 15:03  robe
-
-	* fix typo in example was adding band 1 twice
-
-2012-03-16 12:58  robe
-
-	* surreal clipping
-
-2012-03-16 12:47  robe
-
-	* slightly more efficient (and hmm my last timing was with 2
-	  buildings instead of 3)
-
-2012-03-16 12:40  robe
-
-	* minor adjustment to example
-
-2012-03-16 12:25  robe
-
-	* Provide summarizing summary stats example using intersection of
-	  geometry. Pretty fast.
-
-2012-03-16 12:15  strk
-
-	* Rename legacy_compatibility_layer.sql to legacy_minimal.sql
-	  
-	  As per
-	  http://postgis.refractions.net/pipermail/postgis-devel/2012-March/019663.html
-
-2012-03-16 11:58  strk
-
-	* Do not take PROJ4 errno value as a sign of error (#1580, #1690)
-	  
-	  Dejavu...
-
-2012-03-16 08:48  robe
-
-	* Add more descriptive notes detailing difference between files
-
-2012-03-16 08:27  robe
-
-	* fix spelling typos
-
-2012-03-16 06:59  robe
-
-	* Put in a section for crowd sourcing campaigns
-
-2012-03-15 09:54  strk
-
-	* Bail out if user specified json dir isn't correct (#1688)
-
-2012-03-14 21:45  robe
-
-	* put note about slowness of raster st_union and promise it will be
-	  better in later versions
-
-2012-03-14 21:35  robe
-
-	* change example to be more efficient (prior version was taking
-	  9-10 seconds this much improved one takes 3.5 seconds)
-
-2012-03-14 20:26  dustymugs
-
-	* Updated to have C API tests use libtool
-
-2012-03-14 19:05  dustymugs
-
-	* Use AC_SEARCH_LIBS instead of AC_CHECK_LIB for checking GDAL
-	  libraries
-
-2012-03-14 16:35  strk
-
-	* Don't re-implement AC_PATH_PROG for gdal-config
-
-2012-03-14 16:02  pramsey
-
-	* Prepare for 2.0.0beta3 release
-
-2012-03-14 15:50  strk
-
-	* Encode dependency of raster _scripts_ to postgis_svn_revision.h
-
-2012-03-14 15:46  strk
-
-	* Encode postgis_svn_revision.h dependency for raster lib
-
-2012-03-14 15:40  strk
-
-	* Make sure to rebuild topology.sql on postgis_svn_revision.h
-	  change
-
-2012-03-14 15:32  strk
-
-	* Add a TOPOLOGY and a RASTER label in postgis_full_version()
-	  output
-	  
-	  This is to know if they are available
-
-2012-03-14 13:13  strk
-
-	* Simplify ST_AsLatLonText code and possily fix #1657
-	  
-	  The possible bug was a call to pg_do_encoding_conversion w/out
-	  a defined string size argument.
-
-2012-03-14 12:15  strk
-
-	* Use existing text2cstring and cstring2text wheel
-
-2012-03-13 18:06  dustymugs
-
-	* Explicitly set NULL character to snprintf outputs as Windows does
-	  not do so automatically. Ticket is #1682.
-
-2012-03-13 17:08  strk
-
-	* Add simple tests to stringbuffer class (#1668)
-	  
-	  Hopefully these fail on windows so it's easier to test.
-	  It may take a memory debugger to really see the failure.
-
-2012-03-13 17:08  strk
-
-	* Rename misc testsuite to "misc"
-
-2012-03-13 16:23  pramsey
-
-	* Roll back changes for autodetecting C99 vsnprintf (#1688)
-
-2012-03-13 16:13  dustymugs
-
-	* Removed "hasnodata" column output of ST_BandMetaData as per
-	  #1681. If a band does NOT have a NODATA value, the "nodatavalue"
-	  column will be NULL.
-
-2012-03-13 09:18  strk
-
-	* Add upgrade instructions
-
-2012-03-13 09:17  strk
-
-	* Drop SRID constraint issue (not an issue anymore with typmod)
-
-2012-03-13 09:17  strk
-
-	* Add note about toTopoGeom
-
-2012-03-13 08:33  strk
-
-	* Set Version to match Version.config (HOWTO_RELEASE file mentions
-	  you need to edit it anyway)
-
-2012-03-13 08:30  strk
-
-	* Add note about topology/README
-
-2012-03-13 08:18  strk
-
-	* Update README.postgis (#1670)
-	  
-	  - Use consistent formatting in reStructuredText; see
-	  formatted result with rst2pdf or rst2html, or if you don't
-	  want to install docutils, you can copy/paste the text to
-	  http://www.tele3.cz/jbar/rest/rest.html
-	  - Wrap lines to 80 columns, trim trailing whitespace, replace
-	  tabs
-	  with space chars
-	  - Fix typos, and use consistent case and punctuation
-	  - Alphabetize the directory structure
-	  - Add ./libpgcommon to directory structure, and attempt to
-	  describe it
-	  - Arrange style of REQUIREMENTS section a bit more consistent
-	  across components: removing repetition, stating what is required
-	  or optional, etc.
-	  - When referencing PostGIS SQL functions, use the "ST_" prefix,
-	  where applicable
-	  - Mention that both Raster and Topology extensions are built by
-	  default, add notes how build without them
-	  
-	  Patch by Mike Toews
-
-2012-03-12 21:27  pramsey
-
-	* Complete alternate implementation of vsnprintf, vasprintf for
-	  non-C99 systems. (#1668)
-
-2012-03-12 17:45  strk
-
-	* Fix UTM zone reserved SRID interpretation (#1680)
-
-2012-03-10 14:33  strk
-
-	* Check docs as part of "make check"
-	  
-	  Adds "xmllint" to the requirements for running "make check"
-
-2012-03-10 14:28  strk
-
-	* Introduce use of <simplelist>. I think we should use it more..
-
-2012-03-10 14:28  strk
-
-	* typo
-
-2012-03-10 14:27  strk
-
-	* Drop commented out lines
-
-2012-03-10 14:08  strk
-
-	* Add credits to Salvatore
-
-2012-03-10 14:08  strk
-
-	* No <para> allowed after <simplesect> in <sect1> (xmllint) -- add
-	  Vizzuality credit
-
-2012-03-10 14:08  strk
-
-	* <sect1info> goes before <title>
-
-2012-03-10 14:08  strk
-
-	* <note> cannot be direct child of <abstract> (xmllint)
-
-2012-03-10 14:07  strk
-
-	* choice is a <paramdef> attribute, not <type>'s
-
-2012-03-10 14:07  strk
-
-	* <abstract> can't contain <note> (xmllint)
-
-2012-03-10 13:44  strk
-
-	* Use empty params as placeholders, add missing refsection title
-	  (xmllint)
-
-2012-03-10 13:44  strk
-
-	* More <para> wrapping (xmllint)
-
-2012-03-10 13:44  strk
-
-	* wrap more <informalfigure> content in <para> (xmllint)
-
-2012-03-10 13:43  strk
-
-	* choice is a <paramdef> attribute, not <type>'s
-
-2012-03-10 13:43  strk
-
-	* wrap <informalfigure> content in <para> (xmllint)
-
-2012-03-10 13:43  strk
-
-	* wrap <listitem> content in <para> (xmllint)
-
-2012-03-10 13:43  strk
-
-	* choice belongs to <paramdef>, not <parameter> (xmllint)
-
-2012-03-10 13:43  strk
-
-	* <sect1info> goes before <title>
-
-2012-03-10 13:43  strk
-
-	* <informalfigure> goes in <para> (xmllint)
-
-2012-03-10 13:42  strk
-
-	* Use <para> as appropriate (xmllint)
-
-2012-03-10 13:42  strk
-
-	* <informalfigure> must be in <para> (xmllint)
-
-2012-03-10 13:42  strk
-
-	* Put semicolon where it belongs (xmllint)
-
-2012-03-10 13:42  strk
-
-	* Use <para> elements according to the DTD (xmllint)
-
-2012-03-10 13:42  strk
-
-	* <strong> to <emphasis> (xmllint)
-
-2012-03-10 13:00  strk
-
-	* <filename> is not a valid child of <listitem>, <para> is
-	  (xmllint)
-
-2012-03-10 12:51  strk
-
-	* More linked -> linkend typos
-
-2012-03-10 12:10  strk
-
-	* Fix xref (thanks make check)
-
-2012-03-10 12:07  strk
-
-	* linked -> linkend (thanks make check)
-
-2012-03-10 11:38  strk
-
-	* Add credit to Avencia (#1671)
-
-2012-03-10 11:31  strk
-
-	* More credits
-
-2012-03-10 11:26  strk
-
-	* Add postgis topology signers to credits section (#1601)
-	  
-	  I also formatted the names to be one-per-line. Output won't care
-	  but it's easier to sort alphabetically ...
-
-2012-03-10 10:34  strk
-
-	* Substitute CREDITS content with pointers to manual (#1601)
-
-2012-03-10 10:27  strk
-
-	* Be quiet when postgis_svn_revision.h isn't needed (#1666)
-
-2012-03-10 00:40  dustymugs
-
-	* Cleanup for testing GDAL include files
-
-2012-03-10 00:30  dustymugs
-
-	* This should do it. Debugging Hudson is fun... like entertaining a
-	  grumpy old man.
-
-2012-03-10 00:24  dustymugs
-
-	* Removed multiple AC_ARG_WITH calls for raster
-
-2012-03-10 00:19  dustymugs
-
-	* Another attempt to fix hudson...
-
-2012-03-10 00:05  dustymugs
-
-	* Comment cleanup as hudson isn't happy.
-
-2012-03-09 23:57  dustymugs
-
-	* Fixed GDAL configuration as hudson wasn't getting
-	  GDALFPolygonize. This may be the cause for Windows not detecting
-	  GDALFPolygonize either.
-
-2012-03-09 19:00  dustymugs
-
-	* Initialize variables that may cause compile-time warnings in
-	  rt_api.c. Added additional NLS items to raster2pgsql.
-
-2012-03-09 17:46  pramsey
-
-	* Work around difference between behavior of MS snprintf and C99
-	  snprintf. (#1668)
-
-2012-03-09 14:59  robe
-
-	* minor correction in title of example
-
-2012-03-09 14:20  robe
-
-	* Fix mapalgebra2 syntax
-
-2012-03-08 10:58  strk
-
-	* Ignore all html files under doc/html/ (also chunked)
-
-2012-03-08 10:58  strk
-
-	* Give introduction chapter an id.
-	  
-	  This should give it a nice URL online so we can point to credits
-	  from the CREDITS file (#1601)
-
-2012-03-08 10:36  strk
-
-	* Remove .svnignore files (#1665)
-
-2012-03-08 10:36  strk
-
-	* Drop .cvsignore files
-
-2012-03-07 20:51  pramsey
-
-	* Update trunk versions for next cycle
-
-2012-03-07 20:50  pramsey
-
-	* Update for beta2 release
-
-2012-03-07 20:47  pramsey
-
-	* Fix need to hack regress source path
-
-2012-03-07 20:38  pramsey
-
-	* Remove reliance on `pwd` for raster build and test.
-
-2012-03-07 19:31  pramsey
-
-	* Replace " with ' in mingw pwd call
-
-2012-03-07 19:27  pramsey
-
-	* MinGW configure for regression dir
-
-2012-03-07 17:40  pramsey
-
-	* ST_Summary output contains a spurious "+" sign (#1663)
-
-2012-03-07 11:39  strk
-
-	* Actually run GeoJSON input tests when libjson is available
-
-2012-03-07 11:18  strk
-
-	* Report libjson availability from postgis_full_version (#1660)
-	  
-	  This commit adds a postgis_libjson_version() although the library
-	  doesn't give any version information. We just return NULL if not
-	  using the library and "UNKNOWN" otherwise.
-
-2012-03-07 10:55  strk
-
-	* Add note about installing json-c library on apt-based systems
-
-2012-03-07 09:16  strk
-
-	* Update REQUIREMENTS section, add JSON-C (#1660)
-
-2012-03-07 08:17  strk
-
-	* I didn't realize we had ST_AsLatLonText already :)
-
-2012-03-07 05:31  pramsey
-
-	* Crash in ST_Project on NULL input (#1658)
-
-2012-03-07 04:28  dustymugs
-
-	* Slightly more verbose error message for when
-	  rt_raster_gdal_rasterize() is unable to have an OSR object
-	  project a provided srs text.
-
-2012-03-06 21:16  strk
-
-	* Update TODO list dropping done items
-
-2012-03-06 18:55  pramsey
-
-	* Work around default rule for lexer generation. (#1644)
-
-2012-03-06 16:19  pramsey
-
-	* I'm not sure this "fix" was actually a fix so I'm removing it.
-
-2012-03-06 16:16  strk
-
-	* Snap new lines over existing nodes (#1654)
-	  
-	  Also add Salvatore to the list of testing heroes :)
-
-2012-03-06 13:44  strk
-
-	* Don't let a single collapse hide _all_ edges (#1650)
-
-2012-03-06 13:21  strk
-
-	* Skip collapsed edges after snapping (#1650)
-
-2012-03-06 13:20  strk
-
-	* Uncomment new tests for #1641
-
-2012-03-06 09:45  strk
-
-	* Have "make install" only install what "make" built (#1652)
-	  
-	  Also updates the README to be in sync with Makefile.in
-
-2012-03-06 09:05  strk
-
-	* Fix toTopoGeom to actualy _use_ to given tolerance (#1647)
-
-2012-03-05 23:09  pramsey
-
-	* Rename LOADER_OBJS to the more direct SHPLIB_OBJS
-
-2012-03-05 22:54  pramsey
-
-	* Defines are picked up from ../../postgis_config.h via
-	  ../liblwgeom_internal.h
-
-2012-03-05 22:51  pramsey
-
-	* Add static link directive to libtool (#1644) allows build on
-	  Debian Wheezy
-
-2012-03-05 16:45  pramsey
-
-	* Update kneufeld contact info
-
-2012-03-05 12:24  strk
-
-	* Add GetTopologySRID (#1182)
-
-2012-03-05 12:14  strk
-
-	* Optimize ST_AddIsoNode (#983)
-
-2012-03-05 11:33  strk
-
-	* Move topology reference entries from "processing" to
-	  "constructors"
-
-2012-03-05 11:05  strk
-
-	* _ST_MinTolerance isn't IMMUTABLE, due to db lookup...
-
-2012-03-05 10:49  strk
-
-	* Handle 0 tolerance by using topology.precision or min float one
-	  
-	  This handling fixes the #1641 case w/out passing an explicit
-	  tolerance and makes a step toward #785.
-
-2012-03-05 08:28  strk
-
-	* Fix typos (FUNCION), drop duplicate entries
-
-2012-03-04 22:35  robe
-
-	* put in libiconv path specification if it needs to be done. For
-	  some reason my mingw64 can't find it unless its explicitly set.
-
-2012-03-03 22:59  robe
-
-	* Link postgis raster contributors to raster funding page.
-
-2012-03-03 22:56  robe
-
-	* add in missing credits and link to Paul's credit description blog
-	  pages.
-
-2012-03-02 23:35  pramsey
-
-	* Add an SRID to box3d to allow lossless casts.
-
-2012-03-02 20:53  pracine
-
-	* Finish fix for ticket #1635. Added operator function to skip when
-	  restoring.
-
-2012-03-02 20:17  pracine
-
-	* Fix for ticket #1589. Removed misleading example.
-
-2012-03-02 20:14  pracine
-
-	* Fix for ticket #1589. Removed misleading example.
-
-2012-03-02 19:00  dustymugs
-
-	* Fixed problem with passing PROJ.4 text to GDAL which may result
-	  in SRS WKT that is NOT what is desired. Now preferentially use
-	  EPSG:SRID if available. Ticket is #1618.
-
-2012-03-02 15:02  robe
-
-	* #1630 and drop type raster_columns. Good grief how many hidden
-	  objects are there.
-
-2012-03-02 14:36  robe
-
-	* #1630 Add missing permutations of st_clip that exist in older
-	  versions so trimraster can be renamed to crop
-
-2012-03-02 14:11  robe
-
-	* oops type in last commit.
-
-2012-03-02 14:05  robe
-
-	* #1630 -- this has got to be a bug in the PostgreSQL extensions
-	  model that I have to drop dependent types of views and types from
-	  extension when drop view and type. Will confirm later.
-
-2012-03-02 13:15  robe
-
-	* Add section about soft upgrade with extensions.
-
-2012-03-02 01:15  dustymugs
-
-	* Add handling of when clamped pixel values is equal to the band's
-	  clamped NODATA value. Ticket is #1139.
-
-2012-03-01 22:25  dzwarg
-
-	* Added regression test for error case reported in #1638.
-
-2012-03-01 22:17  dustymugs
-
-	* Refactored how skewed rasters are computed as the extents were
-	  not correct. Rewrote parts of rt_raster_gdal_warp and
-	  rt_raster_gdal_rasterize. Related ticket is #1615.
-
-2012-03-01 21:05  pracine
-
-	* Fix for #1589 and #1633.
-
-2012-03-01 20:32  strk
-
-	* postgis_drop_before.sql.in.c => postgis_drop_before.sql
-
-2012-03-01 19:46  pramsey
-
-	* Make --prefix note a warning rather than a failure. (#1628)
-
-2012-03-01 19:09  strk
-
-	* Add an internal topology._st_mintolerance funtion
-	  
-	  This function computes the minimum tolerance for a given
-	  geometry.
-	  It works by computing the smallest floating point difference that
-	  could be expressed on any vertex of the geometry.
-	  
-	  Currently it's only used to workaround the ST_DWithin/ST_Within
-	  inconsistency (#1625) but could probably be used everytime 0 is
-	  passed as a tolerance, possibly fixing #1641 as well.
-
-2012-03-01 16:47  dustymugs
-
-	* Update regression tests for 1-raster ST_MapAlgebraExpr due to
-	  commit r9371
-
-2012-03-01 16:47  pracine
-
-	* Fix for ticket #1635. Added explicit ~ and && operators on raster
-	  and geometry.
-
-2012-03-01 15:59  dustymugs
-
-	* Forced casting of output from 1-raster ST_MapAlgebraExpr. Ticket
-	  is #1639.
-
-2012-03-01 15:51  strk
-
-	* MathML DTDs are also needed for the HTML
-
-2012-03-01 15:51  strk
-
-	* added MathML 3 DTD to requirements in doc
-
-2012-03-01 15:14  strk
-
-	* Add a test for #1641 using a tolerance (1e-16 is good enough)
-
-2012-03-01 15:07  strk
-
-	* Add test for #1641 (disabled as it would fail)
-
-2012-03-01 15:07  strk
-
-	* Cleanup the face table as well (you just can't drop the universe)
-
-2012-03-01 12:50  strk
-
-	* Add more items in the skip list (#1640)
-
-2012-03-01 12:25  strk
-
-	* Add tests for ptarray_insert_point (see #1640)
-
-2012-03-01 12:25  strk
-
-	* Check args passed to ptarray_set_point4d
-
-2012-03-01 11:58  strk
-
-	* Drop reference to postgis_uses_stats (#1632)
-
-2012-03-01 09:16  strk
-
-	* Properly exit the loop parsing spatial_ref_sys population (#1640)
-
-2012-03-01 08:54  strk
-
-	* Drop postgis_uses_stats (#1632)
-
-2012-03-01 08:26  strk
-
-	* Rename drop files to be hopefully clearer, add copyright headers
-
-2012-03-01 08:26  strk
-
-	* Stop including drop calls from main postgis.sql file
-	  
-	  Upgrade file is still generated with the drop file included
-
-2012-02-29 18:58  pramsey
-
-	* make parse location error test a little more lenient
-
-2012-02-29 18:19  pramsey
-
-	* Update for post-Beta1
-
-2012-02-29 18:18  pramsey
-
-	* Update for beta1
-
-2012-02-29 15:59  strk
-
-	* Check first point after snapping an edge to a new point (#1631)
-
-2012-02-29 14:20  strk
-
-	* Get the deprecated function right (fixes previous commit)
-
-2012-02-29 14:14  strk
-
-	* Drop removed st_clip function (#1630)
-
-2012-02-29 13:52  strk
-
-	* Do not install intermediary files (#1621)
-
-2012-02-29 13:35  strk
-
-	* Don't override postgis_svn_revision.h with a fake revision
-	  (#1634)
-
-2012-02-29 10:55  strk
-
-	* Stop using postgis_uses_stats() from postgis_full_version()
-	  (#1632)
-
-2012-02-29 10:48  strk
-
-	* Integrate upgrade tips in postgis_full_version reference
-
-2012-02-29 10:39  strk
-
-	* Mention rtpostgis_upgrade* and topology_upgrade* in manual
-	  (#1611)
-
-2012-02-29 10:08  strk
-
-	* Have XSLTPROCFLAGS default to --nonet
-	  
-	  This way you can drop by redefining it as in: make XSLTPROCFLAGS=
-
-2012-02-29 09:51  strk
-
-	* Add support for a user-defined XSLTPROCFLAGS variable to append
-	  
-	  Example: make -C doc html XSLTPROCFLAGS=--nonet
-	  
-	  Still defaults to allow net access, I couldn't find an option to
-	  override --nonet with its contraty...
-
-2012-02-29 09:00  robe
-
-	* #1630: Swap the order of dropping - you have to drop the function
-	  first before the type
-
-2012-02-29 08:44  robe
-
-	* #1630: drop wktgeomval type from extension, but still can't drop
-	  because of function _st_dumpaswktpolygons
-
-2012-02-29 08:04  robe
-
-	* #1619: Logic to mark spatial_ref_sys, topology, layers tables as
-	  user editable so that the data in them gets backed up during
-	  pg_dump
-
-2012-02-29 03:01  pracine
-
-	* 
-
-2012-02-29 02:56  pracine
-
-	* Other minor fix.
-
-2012-02-29 02:51  pracine
-
-	* fix doc typo.
-
-2012-02-29 02:47  pracine
-
-	* Fix for ticket 1536. Added a nodataval[] parameter to
-	  ST_Intersection and removed the otheruserfunc one.
-	  
-	  Changed the ST_Clip trimraster parameter name to crop and set it
-	  to true by default.
-	  
-	  Updated the doc.
-
-2012-02-29 00:52  pramsey
-
-	* Fix for MinGW!
-
-2012-02-29 00:49  pramsey
-
-	* Fix for windoze!
-
-2012-02-28 18:50  pramsey
-
-	* Make our --prefix policy crystal clear
-
-2012-02-28 18:29  pramsey
-
-	* Fix regression due to new error message in GML generation
-
-2012-02-28 18:09  pramsey
-
-	* Make error message on GML2 calls for TIN more instructive (#1591)
-
-2012-02-28 17:17  strk
-
-	* TopoGeo_addPoint: use a more functional tolerance when snapping
-	  (#1613)
-	  
-	  All of this looks like magic but it isn't.
-	  I actually wonder if ST_ModEdgeSplit and ST_ModEdgesSplit and
-	  ST_Split
-	  itself should do this internally, and if in doing so we wouldn't
-	  need
-	  to do it from higher levels. It doesn't indeed feel comfortable
-	  to do
-	  all this noise on such an high level.
-	  
-	  Anyway this commit adds a now-passing regression test for the
-	  topology
-	  building issue and that's A Good Thing.
-
-2012-02-28 17:17  strk
-
-	* Hush debugging lines unless requested
-
-2012-02-28 10:43  strk
-
-	* Ignore extension sql target dirs
-
-2012-02-28 10:28  strk
-
-	* Have configure look for mathml2.dtd, rework doc build scripts
-	  (#1157)
-
-2012-02-28 10:17  robe
-
-	* correct proto output type -- ST_Union of rasters always returns a
-	  raster
-
-2012-02-28 06:13  pramsey
-
-	* Set eol-style to LF
-
-2012-02-27 22:08  pramsey
-
-	* Try again with line endings, this time using eol-style instead of
-	  eol-type (#1605)
-
-2012-02-27 20:58  pramsey
-
-	* Set appropriate mime types and text file types on all files.
-	  (#1605)
-
-2012-02-27 18:19  pramsey
-
-	* Load the "right" legacy.sql file (warning: hard coding
-	  00-regress-install into a sql file).
-
-2012-02-27 18:13  pramsey
-
-	* Quiet compile warning.
-
-2012-02-27 18:07  strk
-
-	* Use rounder numbers in tests (fixes a regression on 32bit system)
-
-2012-02-27 17:48  pramsey
-
-	* Ignore LF/CRLF differences when differencing sql output files in
-	  raster tests.
-
-2012-02-27 17:36  strk
-
-	* Add regression test for legacy.sql and uninstall_legacy.sql
-	  (#915)
-
-2012-02-27 17:36  strk
-
-	* Properly cleanup spatial_ref_sys after loader tests
-
-2012-02-27 17:36  strk
-
-	* Properly cleanup spatial_ref_sys
-
-2012-02-27 16:55  strk
-
-	* Define the legacy 'within' as a proxy to ST_Within as the C entry
-	  point was dropped
-
-2012-02-27 16:52  strk
-
-	* Generate uninstall_legacy.sql from legacy.sql (#949)
-
-2012-02-27 16:42  dustymugs
-
-	* Correct handling of 8BSI pixel types when converting a raster to
-	  a GDAL MEM dataset. This should resolve the failures in #1617.
-
-2012-02-27 16:26  strk
-
-	* Fix "make clean" to drop all generated files
-
-2012-02-27 16:06  strk
-
-	* Encode dependency of topology script on sqldefines (for version)
-
-2012-02-27 15:55  strk
-
-	* Have postgis_full_version() check versions of all objects (#1608)
-
-2012-02-27 15:39  strk
-
-	* Have postgis_raster_lib_version() include SVN revision (#1608)
-
-2012-02-27 15:26  strk
-
-	* st_clip signature changed (#1620)
-
-2012-02-27 15:03  strk
-
-	* Add postgis_raster_scripts_installed() function (#1608)
-
-2012-02-27 15:02  strk
-
-	* Add postgis_topology_scripts_installed() function (#1608)
-
-2012-02-27 14:08  robe
-
-	* update to March. Seems likely we'll miss the February boat. Maybe
-	  shoot for March.
-
-2012-02-27 11:22  strk
-
-	* Set script version to master version + svn revision (#1608)
-	  
-	  Affects postgis_scripts_released() and
-	  posgis_scripts_installed().
-	  Needs some wider testing of upgrade scripts and then will attach
-	  the same version to raster and topology.
-
-2012-02-26 18:31  dustymugs
-
-	* Additional test of rt_raster_to_gdal().
-
-2012-02-25 20:35  pramsey
-
-	* Minor update to comments.
-
-2012-02-25 20:30  pramsey
-
-	* Simplify table/schema copying, hopefully fix windows.
-
-2012-02-25 19:46  pramsey
-
-	* Compress sed calls into one to make life better for MSYS
-
-2012-02-25 17:10  pramsey
-
-	* Correct fix for win32 crasher, it was proj returning a null error
-	  string.
-
-2012-02-25 05:53  pramsey
-
-	* SPI_finish before dropping out on NULL proj4text
-
-2012-02-25 05:49  pramsey
-
-	* Match to new behavior on null proj4text
-
-2012-02-25 03:12  pramsey
-
-	* Remove Win32 crasher on NULL proj4 string
-
-2012-02-24 23:58  pramsey
-
-	* Quote out the svn and git commands for windoze
-
-2012-02-24 23:42  dustymugs
-
-	* Forgot to update regression tests for changes made in r9293
-
-2012-02-24 22:54  dustymugs
-
-	* Fixed conversion of pixel types between PostGIS raster and GDAL.
-	  Essentially PostGIS raster 8BSI is now a GDT_Int16.
-
-2012-02-24 22:46  pracine
-
-	* Minor corrections.
-
-2012-02-24 22:41  pramsey
-
-	* Fix up the revision info in the usage lines
-
-2012-02-24 20:17  strk
-
-	* Make sure the created backend temp directory is world writeable
-
-2012-02-24 19:24  dustymugs
-
-	* Additional fixups to not increase extent if an alignment is to
-	  take place in rt_raster_gdal_rasterize().
-
-2012-02-24 19:11  strk
-
-	* Be immune from topology sequence advancements
-
-2012-02-24 18:49  pramsey
-
-	* Make sure the regress tmp directory exists before trying to write
-	  to it.
-
-2012-02-24 17:33  dustymugs
-
-	* Added additional conditions for rt_raster_gdal_rasterize()
-	  determining when to expand the extent.
-
-2012-02-24 15:23  strk
-
-	* Do not report "face without edges" error for universal face
-	  (#1612)
-
-2012-02-24 15:23  strk
-
-	* Rename the backend temp dir and drop with brute force
-	  
-	  Avoids errors when no test writes anything in there (so no dir)
-
-2012-02-24 10:21  strk
-
-	* Properly drop the temporary directory setup for backend output
-	  
-	  This prevents errors when running "make check" against backends
-	  owned by different users.
-
-2012-02-24 05:05  dustymugs
-
-	* Set all raster CASTs to be ASSIGNMENT not IMPLICIT. Related
-	  ticket is #490. Knowing my luck, I'll be reverting this due to
-	  some showstopper.
-
-2012-02-23 22:25  dustymugs
-
-	* Added correct handling of negative scale-x and positive scale-y
-	  in rt_raster_gdal_warp().
-
-2012-02-23 21:49  dustymugs
-
-	* Renamed rt_raster_dump_as_wktpolygons() to
-	  rt_raster_gdal_polygonize(). Refactored
-	  rt_raster_gdal_polygonize() to use LWPOLY objects instead of WKT
-	  strings. Also added cleanup code to make invalid dumped
-	  geometries valid. Associated tickets are #1586 and #637.
-
-2012-02-23 16:07  strk
-
-	* Don't deep clone POINTARRAY in GML input routine.
-	  
-	  Let's see if doing so exposes more memory errors (#1591).
-	  Does run valgrind clean here.
-
-2012-02-23 15:42  pracine
-
-	* Rewrote most of ST_AsRaster. Grouped similar variants to make
-	  everything a bit more readable.
-
-2012-02-23 13:28  strk
-
-	* Set the default regression temp dir to /tmp/pgis_reg (#1607)
-
-2012-02-23 12:54  strk
-
-	* Have ST_GetFaceGeometry check face existance, regress-test
-
-2012-02-23 11:24  strk
-
-	* Drop the UpdateGeometrySRID version with old param name (#1606)
-
-2012-02-22 23:13  pramsey
-
-	* Correctly handle the new lexer/parser output files
-
-2012-02-22 23:06  dustymugs
-
-	* Rewrote chunks of rt_raster_gdal_warp() and
-	  rt_raster_gdal_rasterize() to correctly generate skewed rasters.
-	  Related ticket is #1395. This should also resolve #1586.
-
-2012-02-22 20:38  pramsey
-
-	* Set svn:eol-style native (#1598)
-
-2012-02-22 19:40  pramsey
-
-	* Update numbers for alpha6
-
-2012-02-22 19:31  robe
-
-	* put in LF instruction to prevent my windows from putting in
-	  windows offensive line breaks
-
-2012-02-22 19:29  pramsey
-
-	* Change dos to unix lineends. (#1598)
-
-2012-02-22 19:20  pramsey
-
-	* Ignore makefile
-
-2012-02-22 19:18  pramsey
-
-	* Really remove the dos linefeeds this time (#1598)
-
-2012-02-22 19:08  pramsey
-
-	* Revert dos lineending commit that blew away those files...
-
-2012-02-22 19:01  pramsey
-
-	* Use consistent UNIX line endings (#1598) fix up those files that
-	  pass through the C preprocessor at least.
-
-2012-02-22 18:59  pramsey
-
-	* Switch to evaluating tests using psql with verbosity=terse
-
-2012-02-22 17:19  strk
-
-	* Fix ST_Polygonize aggregate to retain Z (#1602)
-
-2012-02-22 15:52  strk
-
-	* Stay within 80 cols
-
-2012-02-22 15:33  strk
-
-	* Parametrize max user SRID in the SQL file too
-
-2012-02-22 12:49  strk
-
-	* Check SRID passed to UpdateGeometrySRID, patch by Mike Toews
-	  (#1596)
-	  
-	  Adds regression testing
-
-2012-02-22 12:48  strk
-
-	* Forward port fix to #1595, although there's no way to expose in
-	  2.0
-
-2012-02-22 03:09  robe
-
-	* correct st_clip raster so eimage matches the code. the behavior
-	  changed butthe code was wrong (showing old behavior). Also put
-	  back the multiband case using new syntax which is probably more
-	  common usaage.
-
-2012-02-21 15:51  pracine
-
-	* Added single quote around 8BUI since the XSL now escape them. See
-	  #1588.
-
-2012-02-21 15:47  pracine
-
-	* Added one missign default value for the value parameter of
-	  ST_AsRaster and added one missing variant.
-
-2012-02-21 14:32  strk
-
-	* Add a ptarray_transform function in liblwgeom API
-
-2012-02-21 13:54  strk
-
-	* Draft an lwgeom_from_gml function (#1591)
-	  
-	  Can't be moved all to liblwgeom due to use of spatial_ref_sys
-
-2012-02-21 11:07  strk
-
-	* Print SRID in decimal form, not hex (#1593)
-
-2012-02-21 10:57  strk
-
-	* Update documentation about shp2pgsql -s/-g flag (#1524)
-
-2012-02-21 09:43  strk
-
-	* Add an --extensions switch to run_test (#964)
-	  
-	  When passing that switch the install and uninstall of spatial db
-	  happens using the EXTENSION model. It's currently not run as part
-	  of "make check" because some tests fail due to use of ambiguos
-	  calls when both core and raster modules are installed (there's no
-	  way to separate them in the EXTENSION model).
-
-2012-02-21 09:07  strk
-
-	* Put prepare/upgrade/uninstall operations in their own functions
-
-2012-02-20 20:09  pracine
-
-	* More work on ST_Resample and ST_Intersection
-
-2012-02-20 14:32  strk
-
-	* Ignore generated extensions and java files
-
-2012-02-20 13:28  strk
-
-	* Do not printf from potgis library. Possibly fixes #1570
-
-2012-02-20 13:18  strk
-
-	* Ignore generated java/jdbc/Makefile
-
-2012-02-20 13:16  strk
-
-	* Escape single quotes in param list when generating raster
-	  comments
-	  
-	  Closes ticket #1588
-
-2012-02-20 12:52  strk
-
-	* Ant rules to excecute maven by Maria Arias de Reyna (#1437)
-	  
-	  Also simplify java Makefile to be simple proxies of ant
-
-2012-02-20 10:52  strk
-
-	* Update face MBR on edge change (#1587)
-
-2012-02-20 10:19  strk
-
-	* Enhance documentation for ST_ChangeEdgeGeom
-
-2012-02-17 23:41  robe
-
-	* Link to my office base article on how to display postgis rasters
-	  in base reports.
-
-2012-02-17 22:23  pracine
-
-	* Rewrote the ST_Rescale documentation.
-
-2012-02-17 22:00  pramsey
-
-	* This works but it makes estimated extent case sensitive both ways
-	  (no weaseling out and giving upper case versions of lower case
-	  tables) (#1585)
-
-2012-02-17 20:52  pracine
-
-	* Ticket #1536. First revision of st_intersection(). Removal of the
-	  extent parameter and first documentation.
-
-2012-02-17 18:29  strk
-
-	* Check edge disposition around endnodes (#1571)
-	  
-	  Includes a couple new testcases, for closed and non-closed edges
-	  changing disposition around their end nodes.
-
-2012-02-17 18:28  pracine
-
-	* Many more small typo fixes...
-
-2012-02-17 15:11  strk
-
-	* Rework edge motion range construction (#1571)
-	  
-	  Includes a new testcase which was failing before this change
-
-2012-02-17 14:03  strk
-
-	* Add another test for ST_ChangeEdgeGeom
-
-2012-02-17 13:46  strk
-
-	* Handle some (not all) cases of non-isomorphic edge changes
-	  (#1571)
-	  
-	  The problem is much harder than it looks ...
-
-2012-02-17 08:39  strk
-
-	* Add test numbers to ST_ChangeEdgeGeom regression cases
-
-2012-02-17 08:39  strk
-
-	* Ignore utils/postgis_restore.pl (now generated)
-
-2012-02-16 17:45  strk
-
-	* Update comment, hopefully clearer now
-
-2012-02-16 15:49  pracine
-
-	* Fixed a number of small problem. Capitalized x and y.
-
-2012-02-16 10:25  strk
-
-	* Add a topology.GetNodeEdges function
-	  
-	  This function is a fundamental topological primitive to do things
-	  like SQL-based poligonization.
-
-2012-02-16 08:49  strk
-
-	* Ignore postgis_svn_revision.h
-
-2012-02-16 08:08  strk
-
-	* Set availability of ST_ChangeEdgeGeom
-
-2012-02-16 08:08  strk
-
-	* Fix cross reference
-
-2012-02-16 00:28  pramsey
-
-	* Remove now-obsolete TODO comment
-
-2012-02-16 00:25  pramsey
-
-	* Prepare for Proj4.8 with spheroid info handling
-
-2012-02-15 23:25  pramsey
-
-	* Add generated files to svn:ignore
-
-2012-02-15 22:45  pramsey
-
-	* jdbc: org.postgis.Point.equals() is not reflexive (#1313)
-
-2012-02-15 22:34  pramsey
-
-	* Fix XML typo
-
-2012-02-15 22:27  pramsey
-
-	* Negative distance argument to ST_Buffer not documented (#1535)
-
-2012-02-15 21:56  pramsey
-
-	* shp2pgsql: a switch to drop M from 4d imports (#900)
-
-2012-02-15 21:37  pramsey
-
-	* shp2pgsql: a switch to drop M from 4d imports (#900)
-
-2012-02-15 21:23  pracine
-
-	* Updated the version returned by the PostGIS_Raster_Lib_Version()
-	  example.
-
-2012-02-15 21:18  pracine
-
-	* Removed some garbage.
-
-2012-02-15 21:12  pramsey
-
-	* Remove fugitive EOL white space
-
-2012-02-15 20:58  pramsey
-
-	* Add minor version upgradeable
-
-2012-02-15 20:57  pramsey
-
-	* Push trunk version forward
-
-2012-02-15 20:55  pramsey
-
-	* Update meta for alpha5
-
-2012-02-15 19:28  pracine
-
-	* Fix for #1576 & #1569. ST_Clip now works on multiband rasters and
-	  accept an array of nodata values.
-
-2012-02-15 15:59  strk
-
-	* Do not take PROJ4 errno value as a sign of error (#1580)
-
-2012-02-15 11:00  strk
-
-	* dd support for fetching SVN revision from pure-git clones (#1579)
-
-2012-02-14 22:21  robe
-
-	* Example of how to use only psql to output a raster image.
-
-2012-02-14 17:57  strk
-
-	* Fix crash with empty polygons in P-I-P tests (#1578)
-
-2012-02-14 17:54  robe
-
-	* #1494: documentation of new census tract loader and get_tract
-	  functions.
-
-2012-02-14 17:53  robe
-
-	* #1494: done with programming need to finish documenting and
-	  regress test.
-
-2012-02-14 17:47  dustymugs
-
-	* Readded rt_clip regression test.
-
-2012-02-14 17:29  dustymugs
-
-	* Fixed handling of negative X-scale or positive Y-scale in
-	  rt_raster_gdal_rasterize(). Ticket is #1574.
-
-2012-02-14 17:15  strk
-
-	* We don't use a profiler anymore
-
-2012-02-14 17:00  dzwarg
-
-	* Reverting changes that optimize ST_MapAlgebraExpr. Re-advertise x
-	  and y parameters as int32. Reverts changes from r9137, closes
-	  #1557.
-
-2012-02-14 13:31  strk
-
-	* Make one-point lines convertible to GEOS, see #1543
-
-2012-02-13 22:46  pracine
-
-	* Temporarily remove st_clip regress...
-
-2012-02-13 22:02  pramsey
-
-	* Configured without raster still tries to make
-	  raster/rt_pg/rtpostgis.sql (#1575) only try to build extensions
-	  if we have both raster and topology as well as pgsql 9.1
-
-2012-02-13 21:58  pracine
-
-	* Closing ticket #597. Added regression tests for ST_Clip. More
-	  tests to come when fixing #1576.
-
-2012-02-13 21:25  strk
-
-	* Encode dependency of topology comments and cheatsheet
-	  
-	  Same should be done for raster and tiger...
-
-2012-02-13 20:44  strk
-
-	* Fix documentation of GetRingEdges
-
-2012-02-13 20:44  strk
-
-	* Install topology comments too, when regressing topology
-
-2012-02-13 20:44  strk
-
-	* Install topology_comments.sql as well
-
-2012-02-13 18:28  pracine
-
-	* Fix for ticket #1572. ST_PixelAsPolygons() return NULL values
-	  when the requested band or no band exist.
-
-2012-02-13 18:06  strk
-
-	* Allow retaining all custom spatial_ref_sys entries, even clashing
-	  
-	  Update manual accordingly (hard upgrade procedure)
-
-2012-02-13 17:47  strk
-
-	* Fix regexp renaming srid enforcement check
-
-2012-02-13 17:01  strk
-
-	* Add a note about handling of out-of-range SRIDs on hard upgrade
-
-2012-02-13 16:29  strk
-
-	* Accept more feature type names from AddTopoGeometryColumn (#1470)
-	  
-	  With this commit you can pass return of ST_GeometryType or
-	  return GeometryType as input to the function.
-
-2012-02-13 16:11  strk
-
-	* More VOLATILE -> STRICT (#955). Let's call it completed.
-
-2012-02-13 16:04  strk
-
-	* Some VOLATILE functions turned to STABLE (#955)
-	  
-	  A noticeable exception is the Geometry(TopoGeometry) cast which
-	  triggers a regression when made STABLE.
-
-2012-02-13 15:43  pracine
-
-	* Fix regression broken by the limit imposed to SRID < 999999.
-	  Anyway the srid provided was not the right one. Changed from 4269
-	  to 26919.
-
-2012-02-13 15:12  robe
-
-	* #1494 - ability to load census tract, block group, tabblock - boy
-	  did I screw this one. Should be all fixed now and tested (loading
-	  part), still need to write the function, but that's the easy part
-
-2012-02-13 14:48  strk
-
-	* Move SRID max and user-max definitions to configure.ac
-	  
-	  This should help keeping postgis_restore.pl and core in sync
-	  wrt SRID ranges.
-
-2012-02-13 14:17  strk
-
-	* Refine user feedback about SRID conversion and reserved zones
-
-2012-02-13 11:25  strk
-
-	* Drop (SRF()).* constructs (#956)
-
-2012-02-13 10:58  strk
-
-	* Have regress install comments adn throw an error on failure
-	  (#1532)
-
-2012-02-13 10:58  strk
-
-	* Have staged-install install comments when possible (#1532)
-
-2012-02-13 10:16  strk
-
-	* Report svn revision
-
-2012-02-13 10:16  strk
-
-	* Encode postgis_svn_revision dependency
-
-2012-02-13 10:00  strk
-
-	* Cleanup postgis_svn_revision.h makefile rule (PHONY)
-
-2012-02-13 09:58  strk
-
-	* Do not override postgis_svn_revision.h if revision didn't change
-
-2012-02-13 09:15  strk
-
-	* Add support for fetching SVN revision from local git-svn
-	  repository
-
-2012-02-11 21:17  strk
-
-	* It's "svn", not "svnn". And a TODO item...
-
-2012-02-11 16:08  pramsey
-
-	* Fix regression in OSX (-0 vs 0)
-
-2012-02-11 05:14  pramsey
-
-	* Report SVN revision in PostGIS_Full_Version (#1518)
-
-2012-02-10 23:33  dustymugs
-
-	* Added checks of SRID to make sure that SRIDs are within the
-	  permitted range. Ticket is #1568.
-
-2012-02-10 22:42  pracine
-
-	* ST_Clip returns all bands when no band is specified.
-
-2012-02-10 22:36  pracine
-
-	* Fix for ticket #1569. ST_Clip variants defaulting to band 1
-	  should default to NULL so that they return all bands.
-
-2012-02-10 20:21  pramsey
-
-	* Back out SVN generation stuff.
-
-2012-02-10 19:55  pramsey
-
-	* Try to fail better on SVN snatching...
-
-2012-02-10 19:49  pramsey
-
-	* Report SVN revision in PostGIS_Full_Version (#1518)
-
-2012-02-10 18:46  pracine
-
-	* ST_PixelAsPolygon() does not have a band parameter anymore.
-
-2012-02-10 18:38  robe
-
-	* #1494: move parent table creation to a function so logic is in
-	  single place, add a new census_loader.sql script with census
-	  specific load logic, revise create and update scripts to load the
-	  new census logic and create tables if not present. Still need to
-	  test and write a function to return census info given a point
-	  before can mark this as done.
-
-2012-02-10 17:05  pracine
-
-	* Have perl to backup the file before editing. 'make check' is
-	  failing on Windows 7 without that.
-	  
-	  See
-	  http://postgis.refractions.net/pipermail/postgis-devel/2012-February/018482.html
-
-2012-02-10 16:53  strk
-
-	* Clamp SRID valuesu > SRID_MAXIMUM to fall in the reserved range
-	  (#1505)
-	  
-	  The reserved range is SRID_USER_MAXIMUM+1 to SRID_MAXIMUM.
-	  Core takes care of typmod clamping, postgis_restore.pl takes care
-	  of clamping table definition and spatial_ref_sys entries.
-
-2012-02-10 16:53  strk
-
-	* Add SRID_USER_MXIMUM define
-
-2012-02-10 16:18  pramsey
-
-	* Fix syntax error in MS example
-
-2012-02-10 09:19  strk
-
-	* Drop the now-generated Makefile on distclean, and ignore it
-
-2012-02-10 09:16  strk
-
-	* Fix builds --without-topology (#1565)
-
-2012-02-10 01:21  robe
-
-	* #1564 fix typo in cat call preventing other files from being
-	  concatenated
-
-2012-02-09 23:02  robe
-
-	* #1563: remove raster_columns view from extension so it can be
-	  dropped without complaint.
-
-2012-02-09 20:12  dzwarg
-
-	* Performance improvement by keeping x and y pixel coordinates as
-	  floats.
-
-2012-02-09 19:19  strk
-
-	* Actually save Grand Unified Geom Cache rather than just building
-	  it
-	  
-	  Fixes #547
-
-2012-02-09 17:16  strk
-
-	* More postgis_config.h inclusion removal from headers
-
-2012-02-09 17:00  strk
-
-	* Drop postgis_config.h include from lwgeom_pg.h header.
-	  
-	  Generally, package config files should _not_ be included
-	  by package headers. In this specific case the aim is overriding
-	  POSTGIS_DEBUG_LEVEL in implementation files for the sake of
-	  enabling debugging of a single file.
-	  
-	  Also part of this commit is addition of copyright header in
-	  two files which were missing it (used git history to figure
-	  assignments)
-
-2012-02-09 17:00  strk
-
-	* Fix header guard of pgsql_compat.h and drop the duplicate
-
-2012-02-09 10:49  robe
-
-	* Hmm double added a file -- #1563 which was causing the can't drop
-	  because postgis extension depends on it error
-
-2012-02-09 10:10  strk
-
-	* Forward distclean to extensions subdirs
-
-2012-02-09 02:34  pramsey
-
-	* Don't delete the comments.
-
-2012-02-09 01:54  robe
-
-	* #1562 replace string with text
-
-2012-02-09 00:42  pramsey
-
-	* More verbose message, per DFuhriman
-
-2012-02-09 00:37  pramsey
-
-	* Invalid geography polygons: BOOM! Could not generate outside
-	  point! (#1046)
-
-2012-02-09 00:27  dzwarg
-
-	* Fixed bug where PG_DETOAST_DATUM args were incorrect.
-
-2012-02-09 00:18  dzwarg
-
-	* Changed DATUM_SLICE to DATUM in setGeotransform.
-
-2012-02-08 23:59  dzwarg
-
-	* Added documentation for raster processing builtin functions:
-	  st_min4ma, st_max4ma, st_mean4ma, st_sum4ma, st_range4ma,
-	  st_distinct4ma, st_stddev4ma.
-
-2012-02-08 23:01  pramsey
-
-	* Change from scripts-based script versions to repository based
-	  versions. Should also be more robust? ha ha ha. (#1282)
-
-2012-02-08 22:44  pramsey
-
-	* Make the scripts version get read again.
-
-2012-02-08 21:58  dustymugs
-
-	* Fix to correct building of testapi in MinGW. Ticket is #1560.
-
-2012-02-08 21:31  dzwarg
-
-	* Do not allocate inside of 1 raster mapalgebra loop for datum
-	  values and nulls.
-
-2012-02-08 21:29  pramsey
-
-	* ./configure still display the old raster version number (#1599)
-
-2012-02-08 21:20  dustymugs
-
-	* Instead of dynamically allocating space for variables "values"
-	  and "nulls" with each pixel, just initialize both to the max
-	  possible # of elements. Done for 2-raster ST_MapAlgebraExpr
-
-2012-02-08 21:08  dustymugs
-
-	* Remove deleted function signature for ST_PixelAsPolygon. Ticket
-	  is #1529
-
-2012-02-08 21:08  pramsey
-
-	* test for termios.h in case we want to do password prompting in
-	  the future
-
-2012-02-08 21:04  dustymugs
-
-	* Values for [rast1.x], [rast1.y], [rast2.x] and [rast2.y] should
-	  be INT4 instead of FLOAT8. Ticket is #1557
-
-2012-02-08 21:03  dzwarg
-
-	* Removed geotransform type. Fixed rounding, so Hudson will be my
-	  friend in raster regression tests.
-
-2012-02-08 20:51  strk
-
-	* do not heap-allocate SPI arg types
-
-2012-02-08 20:33  strk
-
-	* ST_MapAlgebraExpr: advertise X and Y params as integers (#1557)
-	  
-	  Also stop doing 3 string matches per pixel for no reason
-
-2012-02-08 19:44  dzwarg
-
-	* Added documentation for 1 and 2 raster map algebra user callback
-	  function documentation for pixel position array parameter to
-	  userfunc. #1525
-
-2012-02-08 19:09  pramsey
-
-	* Handle French svn?
-
-2012-02-08 19:04  dzwarg
-
-	* Added geotransform methods and correction to basis vectors during
-	  raster rotation. #1353
-
-2012-02-08 18:51  pramsey
-
-	* Stop relying on private projects.h PROJ header (#1541)
-
-2012-02-08 17:39  pramsey
-
-	* Add missing target
-
-2012-02-08 17:36  pramsey
-
-	* Push forward version numbers
-
-2012-02-08 17:33  pramsey
-
-	* Commit in preparation for 2.0.0alpha4
-
-2012-02-08 17:23  dzwarg
-
-	* Added ST_StdDev4ma raster neighborhood processing function. #1318
-
-2012-02-08 17:19  pramsey
-
-	* lwgeom_release (#699) move free if copy calls to end of functions
-	  in any place where there is any chance that a problem might occur
-
-2012-02-08 16:44  dustymugs
-
-	* Minor debug message tweak
-
-2012-02-08 16:11  dustymugs
-
-	* Added regression tests for raster2pgsql loader. Ticket is #1388
-
-2012-02-08 15:17  colivier
-
-	* Bugfixes related to #1552, and somehow to #665. Thanks to Sandro
-	  for report and valgrind stuff !
-
-2012-02-08 10:06  strk
-
-	* Document topology.GetRingEdges (#959)
-
-2012-02-08 09:36  strk
-
-	* Do not release serialized input until output is deserialized
-	  
-	  See
-	  http://postgis.refractions.net/pipermail/postgis-devel/2012-February/018336.html
-
-2012-02-08 06:42  pramsey
-
-	* configure_json.patch (#1539) from Evan Roualt
-
-2012-02-08 05:29  colivier
-
-	* restore (at least) tin_geom and psurface_geom unit tests call.
-	  Related to #665
-
-2012-02-08 05:23  colivier
-
-	* Fix BBOX handling in serialization. Still related to #665
-
-2012-02-08 04:36  colivier
-
-	* Change BBOX double to float in serialization. Related to #665
-
-2012-02-08 00:43  dzwarg
-
-	* Added ST_Distinct4ma helper neighborhood processing function. See
-	  #1318
-
-2012-02-08 00:29  dzwarg
-
-	* Fixed typo in configure.ac
-
-2012-02-08 00:23  pramsey
-
-	* loader/Latin1 regression failure with database SQL_ASCII encoding
-	  (#1465) from Greg Troxel
-
-2012-02-08 00:15  pramsey
-
-	* Remove another dying test
-
-2012-02-08 00:14  pramsey
-
-	* Remove failing test
-
-2012-02-08 00:14  pramsey
-
-	* Remove dependency on svnrevision.h
-
-2012-02-08 00:01  pramsey
-
-	* docs-install uses bare cp (#1528) from Greg Troxel
-
-2012-02-07 23:51  pramsey
-
-	* Ignore svnrevision.h
-
-2012-02-07 23:49  pramsey
-
-	* ST_MinimumBoundingCircle needs regression test (#1042)
-
-2012-02-07 23:42  pramsey
-
-	* Add a warning for lower numbers of GEOS
-
-2012-02-07 23:37  colivier
-
-	* Still several bugfixes related to #665
-
-2012-02-07 23:27  pramsey
-
-	* Force generation of an svnrevision.h file when building in a repo
-	  and the svn executable is available.
-	  Ensure that when building a tarball with make_dist.sh the
-	  revision is read from the tag in the remote svn repository.
-	  This should cover both development and distribution cases.
-
-2012-02-07 22:17  pramsey
-
-	* Add dzwarg
-
-2012-02-07 22:05  dustymugs
-
-	* Clean up raster regression and move loader regression directory.
-
-2012-02-07 21:30  colivier
-
-	* Still bugfixes. Related to #665
-
-2012-02-07 21:14  pramsey
-
-	* Test non-empty new types in regress/wkb (#1477)
-
-2012-02-07 21:04  colivier
-
-	* Restore surface cunit tests
-
-2012-02-07 21:01  colivier
-
-	* Fix some bugfixes. Handle EMPTY use cases. Minor changes. Related
-	  to #665
-
-2012-02-07 19:42  pramsey
-
-	* lwgeom_release (#699), reviewed all usage of lwgeom_release
-	  and replaced with lwgeom_free where possible. Changed the
-	  def'n of lwgeom_release so that it only frees the containing
-	  objects, and not any sub-objects, for those few remaining
-	  cases that required a gentler freeing of objects.
-
-2012-02-07 19:35  dustymugs
-
-	* Minor cleanup of parameter names of ST_Intersection(raster,
-	  geometry)
-
-2012-02-07 19:25  dzwarg
-
-	* Added positional parameters to 1 raster version of
-	  ST_MapAlgebraFct. Closes #1525
-
-2012-02-07 18:40  pracine
-
-	* Added ST_TileAsGeom() returning only the extent of the planned
-	  tiles as polygons
-
-2012-02-07 18:07  dzwarg
-
-	* Corrected clamped values in tests for ST_MapAlgebraExpr and
-	  ST_MapAlgebraFct.
-	  Implemented prepared statements in ST_MapAlgebraExpr.
-
-2012-02-07 17:23  pramsey
-
-	* Documentation URLs, visible whitespace, and minor touchups
-	  (#1548) from mwtoews
-
-2012-02-07 17:07  pramsey
-
-	* Reorder the include flags, per Greg Troxel
-
-2012-02-07 15:47  pracine
-
-	* First plpgsql prototype for ST_Tile(rast raster, width integer,
-	  height integer, padwithnodata boolean, nodatavalue double
-	  precision)
-
-2012-02-07 13:12  mcayland
-
-	* Fix a couple of compiler warnings in shp2pgsql-gui caused by
-	  uninitialised variables.
-
-2012-02-07 10:14  strk
-
-	* Allow changing a closed edge (but w/out fixing linking, see #892)
-
-2012-02-07 09:50  strk
-
-	* Re-add install-sh in the repository to support libtool < 2.0
-
-2012-02-07 07:22  strk
-
-	* Ignore install-sh
-
-2012-02-07 07:20  strk
-
-	* install-sh is generated by ./autogen.sh, needs not be in
-	  repository
-
-2012-02-07 02:34  colivier
-
-	* temp desactivation of surface unit test
-
-2012-02-06 23:50  pramsey
-
-	* Whoops, slight error in the empty geometry handling fixed.
-
-2012-02-06 23:30  colivier
-
-	* Temp remove su_surface till everything fixed on it...
-
-2012-02-06 23:25  pramsey
-
-	* Have ST_Union aggregate use UnaryUnion from GEOS-3.0.0 (#922)
-
-2012-02-06 23:14  dustymugs
-
-	* Make sure new bands when added using ST_AddBand are correctly
-	  clamping NODATA values. Ticket is #1546.
-
-2012-02-06 21:32  pramsey
-
-	* Remove dead prototype
-
-2012-02-06 21:15  colivier
-
-	* Fix a bug in tgeom_free, related to #665
-
-2012-02-06 20:53  dustymugs
-
-	* Added support to pass pixel positions of both rasters to user
-	  function in 2-raster ST_MapAlgebraFct. This provides similar
-	  functionality to the keywords described in #1525.
-
-2012-02-06 20:07  pramsey
-
-	* Change searched location of proj files when no proj variable
-	  (#1022)
-
-2012-02-06 19:45  pramsey
-
-	* Quiet rm
-
-2012-02-06 19:44  pramsey
-
-	* quiet echo
-
-2012-02-06 19:33  pramsey
-
-	* Dummy up a check target
-
-2012-02-06 19:32  pramsey
-
-	* Move regres forward again
-
-2012-02-06 19:30  pramsey
-
-	* Make exensions depend on comments, so also depend on xsltproc
-
-2012-02-06 19:13  pramsey
-
-	* Duplicate named case-insensitive XML refentry ids / HTML files
-	  (#1511)
-
-2012-02-06 19:01  pramsey
-
-	* PostGIS extensions should build/install automatically if PostGIS
-	  is compiled against 9.1 (#1490)
-
-2012-02-06 18:44  pramsey
-
-	* Change how we calculate minor versions suitable for extension
-	  upgrade.
-
-2012-02-06 18:36  dzwarg
-
-	* Checked connection to SPI manager in ST_MapAlgebraExpr
-
-2012-02-06 17:49  dzwarg
-
-	* Whitespace changes to _st_hillshade4ma
-
-2012-02-06 17:26  dzwarg
-
-	* Reordered linking order for core regression tests. Follow up to
-	  http://postgis.refractions.net/pipermail/postgis-devel/2011-December/016646.html
-	  and r8399
-
-2012-02-06 13:43  strk
-
-	* Tabs to spaces (2)
-
-2012-02-06 13:16  strk
-
-	* Don't let ValidateTopology choke on invalid edges (#1544)
-
-2012-02-06 03:20  pramsey
-
-	* Allow 'make check' to run all the way through on OSX (the sed
-	  implementation must be slightly different, so let's see if Perl
-	  is any more standard). Hopefully other platforms will be happy.
-
-2012-02-06 02:15  pramsey
-
-	* Try out the pj_get_def() method of finding the spheroid
-	  parameters, but: it doesn't work.
-
-2012-02-05 02:15  robe
-
-	* put in an FAQ about the common function is not unique error that
-	  I suspect a lot of people will be running into because they don't
-	  cast their geometry inputs and that a lot of raster functions
-	  have overloaded functions similar to the geometry ones.
-
-2012-02-05 00:30  mcayland
-
-	* Change encoding reference URL to that used for libiconv rather
-	  than PostgreSQL since that's what we are using to do the encoding
-	  conversion (as per #1303).
-
-2012-02-05 00:30  mcayland
-
-	* Fix for #1540: Fix segfault in shp2pgsql-gui when no port is
-	  specified. Prevent dereferencing a NULL pointer if the string is
-	  empty.
-
-2012-02-04 17:53  strk
-
-	* Implemented new keywords for 1-raster ST_MapAlgebraExpr (#1525)
-
-2012-02-04 02:36  mcayland
-
-	* Fix an issue in the shapefile GUI caused by saving the original
-	  shapefile name before processing.
-	  
-	  This was a bug caused by having two separate passes during
-	  export; we were saving the original
-	  export shapefile name during the first loop, and so when we came
-	  to free() the temporary name
-	  at the end of export it would only free the shapefile name from
-	  the last iteration, and do it
-	  multiple times causing random crashes.
-
-2012-02-04 01:30  pramsey
-
-	* Geography should support SRIDs other than 4326 (#1538)
-
-2012-02-04 01:17  mcayland
-
-	* Alter the shapefile GUI so that multiple shapefiles can be
-	  selected in the import file chooser.
-
-2012-02-04 00:39  mcayland
-
-	* Add GUI support for the shp2pgsql -S (simple geometries) switch.
-	  This closes #660.
-
-2012-02-04 00:39  mcayland
-
-	* Update shapefile GUI "About" text and window title to reflect
-	  that it now handles export as well as import.
-
-2012-02-04 00:39  mcayland
-
-	* Add shapefile dumper (table export) to the shp2pgsql GUI. This
-	  closes ticket #1480.
-
-2012-02-04 00:02  dustymugs
-
-	* Explicitly set the output band's pixel type depending on the band
-	  being returned (FIRST, SECOND, BOTH. OTHER is left NULL) in
-	  ST_Intersection(raster, raster). Related ticket is #1537.
-
-2012-02-03 22:57  dustymugs
-
-	* Implemented keywords for 2-raster ST_MapAlgebraExpr as described
-	  in #1525. Will do 2-raster ST_MapAlgebraFct next.
-
-2012-02-03 21:29  pramsey
-
-	* Separate the cache handling code from the transform function
-
-2012-02-03 21:04  mcayland
-
-	* Fix pgsql2shp crash when dumping a table without a geo column.
-
-2012-02-03 21:04  mcayland
-
-	* Fix construction of pgsql2shp's main retrieval query in
-	  ShpDumperOpenTable().
-	  
-	  This fixes a regression which caused pgsql2shp to generate an
-	  incorrect SQL query
-	  for tables without any geo columns.
-
-2012-02-03 21:03  mcayland
-
-	* Move initialisation of pgsql2shp state endian flag to the same
-	  location all the other initialisers.
-
-2012-02-03 21:03  mcayland
-
-	* Fix missing #ifdef POSTGIS_GEOS_VERSION ... #endif preventing
-	  liblwgeom from compiling on GEOS < 3.3.0.
-
-2012-02-03 18:09  dustymugs
-
-	* Fixed optimization bug in 1-raster ST_MapAlgebraExpr. Ticket is
-	  #1515.
-
-2012-02-03 12:51  robe
-
-	* #1530: fix typo in full upgrade -- was using the postgis only
-	  script instead of the combined postgis + raster script. Still
-	  need to test, will close out once tested.
-
-2012-02-03 03:58  dustymugs
-
-	* Reverted r9014. Hudson ain't happy with sed.
-
-2012-02-03 03:51  dustymugs
-
-	* Merge of patch provided in #1533. Thanks gdt.
-
-2012-02-02 19:25  dustymugs
-
-	* Message cleanup by removing unnecessary newlines.
-
-2012-02-02 18:47  dustymugs
-
-	* Refactored stderr messaging so that C API messages are properly
-	  emitted. Based on suggestion in comment 4 of #1531.
-
-2012-02-02 17:38  dustymugs
-
-	* Additional error checking and formatting of error messages
-
-2012-02-01 23:55  pramsey
-
-	* Add lwcollection_homogenize and ST_Homogenize (#375)
-
-2012-02-01 23:18  pramsey
-
-	* Add lwcollection_homogenize and ST_Homogenize (#375)
-
-2012-02-01 23:00  pramsey
-
-	* Support curves in lwgeom_homogenize (#1526)
-
-2012-02-01 22:06  dustymugs
-
-	* Added check of values being passed to atan2() in
-	  _st_hillshade4ma()
-
-2012-02-01 21:27  pramsey
-
-	* Enhance ST_Rotate by adding offset origin parameters (#1251) from
-	  mwtoews
-
-2012-02-01 21:17  pramsey
-
-	* ST_Azimuth, ST_Project regression tests (#1398)
-
-2012-02-01 17:39  pramsey
-
-	* Also remove .gitignore files from tarbal distro
-
-2012-02-01 17:35  pramsey
-
-	* Push forward versions for weekly snap
-
-2012-02-01 17:28  robe
-
-	* #1494: build parent structures to support census tract reporting
-	  by geocoder.
-
-2012-02-01 15:28  dustymugs
-
-	* Additional cleanup of a few functions using
-	  ST_PixelAsPolygon(raster, int, int, int). Also, made map algebra
-	  expression case-sensitive in 2-raster ST_MapAlgebraExpr. Now, the
-	  keywords must be RAST1 and RAST2.
-
-2012-02-01 14:58  dustymugs
-
-	* Refactored regression test for ST_PixelAsPolygon
-
-2012-02-01 14:32  dustymugs
-
-	* Deleted deprecated ST_PixelAsPolygon(raster, int, int, int)
-	  variant.
-
-2012-02-01 11:51  strk
-
-	* Make test more readable
-
-2012-02-01 11:39  strk
-
-	* Keep initial value when an expression eveluates to null (#1523)
-
-2012-02-01 10:15  strk
-
-	* Implement RAST.X and RAST.Y keyword substitution in
-	  ST_MapAlgebraExpr
-	  
-	  Includes regression test and documentation update. See #1519.
-
-2012-02-01 09:20  strk
-
-	* Implement ST_PixelAsPolygon in C, provide a core API entry for it
-	  
-	  The API entry point is expected to be useful for #1519
-
-2012-02-01 05:30  pramsey
-
-	* Try again to fix #1292
-
-2012-02-01 02:14  pramsey
-
-	* VACUUM cannot be executed from a function or multi-command string
-	  (#1517)
-
-2012-02-01 00:41  pramsey
-
-	* Fix include to be pathless
-
-2012-01-31 23:36  pramsey
-
-	* Update spatial_ref_sys to latest GDAL generated version (#1493)
-
-2012-01-31 22:33  pramsey
-
-	* ST_Line_Interpolate_Point doesn't interpolate M-values (#639)
-
-2012-01-31 20:46  pramsey
-
-	* Remove some compile warnings.
-
-2012-01-31 18:56  pramsey
-
-	* Gah, someone else can do this...
-
-2012-01-31 18:24  pramsey
-
-	* Really, I do know how to write XML.
-
-2012-01-31 18:19  pramsey
-
-	* ST_SnapToGrid returns a value out of range (#1292)
-
-2012-01-31 18:12  pramsey
-
-	* Rename ST_BuildArea backend function
-
-2012-01-31 18:10  pramsey
-
-	* Fix missing tag
-
-2012-01-31 18:09  pramsey
-
-	* Drop Equals(geom,geom) - deprecated in 1.2.3 (#1486)
-
-2012-01-31 18:03  pramsey
-
-	* FAQ about licensing (#1262)
-
-2012-01-31 17:44  dustymugs
-
-	* Explicitly set spatial index name as PostgreSQL 8.4 requires an
-	  index name. Associated ticket is #1513. Also fixed string trim
-	  functions to prevent modification of passed string.
-
-2012-01-31 14:50  dustymugs
-
-	* Fixed evaluation of two floating point numbers in
-	  RASTER_getRotation. Fixes one of the two regression failures
-	  described in #1501.
-
-2012-01-31 14:46  dustymugs
-
-	* Added check of band # passed to ST_DumpAsPolygons. Fixes #1514.
-
-2012-01-31 05:50  pramsey
-
-	* Pgsql2shp: Dumping: XWKB structure does not match expected size!
-	  (#1479)
-
-2012-01-30 21:52  pramsey
-
-	* ST_Segmentize returns invalid LINESTRING for zero-length input
-	  (#1304)
-
-2012-01-30 20:41  pramsey
-
-	* ST_LocateBetweenElevations should return NULL and not fail if
-	  intersection is void (#1250)
-
-2012-01-30 20:17  pramsey
-
-	* ST_Within not using prepared geometries (#962)
-
-2012-01-30 02:47  pramsey
-
-	* (#393) shp2pgsql returns "fseek(-xxx) failed on DBF file." for
-	  large (>2GB) DBF files
-
-2012-01-30 00:37  pramsey
-
-	* GML for empty geometries should be NULL (#1377)
-
-2012-01-29 23:30  nicklas
-
-	* Increase robustness in distance-calculations when point is on
-	  segment.
-
-2012-01-29 21:19  strk
-
-	* typo
-
-2012-01-29 19:57  pramsey
-
-	* Be more liberal in accepting "empty" tags in constructing
-	  geometries from GML (#1059)
-
-2012-01-29 14:44  strk
-
-	* Give me psc status
-
-2012-01-28 23:11  strk
-
-	* Fix _ST_AddFaceSplit code against PostgreSQL 9.1
-
-2012-01-28 22:08  strk
-
-	* Don't put constant geometries in CTE, which confuses estimator
-
-2012-01-28 17:05  strk
-
-	* Simplify code in _ST_AddFaceSplit, reduce edges table scans.
-	  
-	  Also set debugging off by default
-
-2012-01-28 16:20  strk
-
-	* Switch ST_AddEdgeNewFaces from ST_Polygonize to _ST_AddSplitFace
-	  
-	  See ticket #1508
-
-2012-01-28 13:45  strk
-
-	* Stop using ST_Polygonize from ST_AddEdgeModFace.
-	  
-	  This commit also estrapolates an internal _ST_AddSplitFace
-	  function
-	  for reuse by ST_AddEdgeModFaces
-
-2012-01-28 13:18  strk
-
-	* Rename topogeometry column check to be more readable
-
-2012-01-28 10:42  strk
-
-	* New test for closing multi-edge ring in a face (ST_AddEdge*Face*)
-
-2012-01-28 07:44  strk
-
-	* Allow multiple topogeometry columns in one table (again)
-	  
-	  Dunno why this piece was missing from previous commit, sorry
-
-2012-01-28 07:37  strk
-
-	* Allow multiple TopoGeometry column in the same table
-
-2012-01-28 00:23  robe
-
-	* add protos for ST_Quantile raster table coverage. Still some more
-	  to add as well as examples of usage
-
-2012-01-27 23:31  pramsey
-
-	* Fix one remaining crasher for ST_AsGML('SRID=4326;POLYGON
-	  EMPTY');
-
-2012-01-27 22:24  pramsey
-
-	* #1504 (Segfault running ST_EstimatedExtent())
-
-2012-01-27 21:05  dustymugs
-
-	* Fixed segfault caused by an empty quantile linked list being used
-	  to get the quantile's value. Ticket is #1506.
-
-2012-01-27 20:55  pramsey
-
-	* Tighten up on-arc test a bit more.
-
-2012-01-27 20:14  strk
-
-	* Add "face has no rings" validity checking
-
-2012-01-27 18:57  pramsey
-
-	* Revert accidental inclusion of shape file size patch in curve
-	  patch
-
-2012-01-27 18:54  pramsey
-
-	* #920 (ST_LineToCurve generating invalid CURVEPOLYGON)
-
-2012-01-27 14:22  strk
-
-	* More test for face splitting and inside holes
-
-2012-01-27 11:36  strk
-
-	* More test for update of isolated nodes in split-faces.
-
-2012-01-27 11:05  strk
-
-	* Rewrite test for ST_AddIsoNode (see #1503)
-
-2012-01-27 11:05  strk
-
-	* Simplify the code looking for face containment in ST_AddIsoNode
-	  
-	  Fixes bug #1503 for me, altough I didn't handle to produce a
-	  testcase for it.
-
-2012-01-27 08:18  strk
-
-	* Add test for update of isolated nodes in split-faces.
-	  
-	  Affects both ST_AddEdgeModFace and ST_AddEdgeNewFaces (both work)
-
-2012-01-26 20:25  pramsey
-
-	* Complete #737
-
-2012-01-26 20:19  pramsey
-
-	* Detect asprintf, vasprintf, fseeko
-
-2012-01-26 18:09  strk
-
-	* Change expectations from tests involving ST_MakeLine
-
-2012-01-26 17:23  pramsey
-
-	* Clean up and exit when shp file missing
-
-2012-01-26 16:22  pramsey
-
-	* Fix contact per a message on postgis-users from Markus Innerebner
-
-2012-01-26 13:00  strk
-
-	* Add support for linestrings in ST_MakeLine (#1500)
-	  
-	  Affects both the aggregate and the 2-parameters function.
-	  Regression testing included.
-	  Documentation was updated, but lacks examples.
-
-2012-01-26 12:59  strk
-
-	* Implement lwline_from_lwgeom_array (untested)
-
-2012-01-26 12:59  strk
-
-	* Don't let ptarray_append_ptarray change read-only pointarrays
-
-2012-01-26 12:59  strk
-
-	* Test that mixed dimensionality is not allowed by
-	  ptarray_append_ptarray
-
-2012-01-26 12:34  strk
-
-	* Add more test for FLAGS_GET_ and FLAGS_SET_
-
-2012-01-26 09:16  strk
-
-	* Implement ptarray_append_ptarray, and change its signature
-	  
-	  This is propedeutic to ticket #1500
-
-2012-01-26 08:12  strk
-
-	* Tweak debug messages not to clutter output
-
-2012-01-25 17:40  pramsey
-
-	* Bump version string forward
-
-2012-01-25 17:38  pramsey
-
-	* Prep for alpha2
-
-2012-01-24 22:23  pramsey
-
-	* SVG empty geometries gives invalid memory alloc (#1038)
-
-2012-01-24 21:57  pramsey
-
-	* Update shplib to the latest release (1.3.0b3) and stitch in our
-	  special date and logical handling. (#393)
-
-2012-01-24 19:42  pramsey
-
-	* Double guard against geos versions of 3.4.dev form. (#1488)
-
-2012-01-24 18:04  strk
-
-	* Stop WARNING from AddFace about next_left_edge/next_right_edge
-
-2012-01-24 17:29  strk
-
-	* Optimize ST_AddEdge*Face* detection of face split conditions
-	  (#1497)
-
-2012-01-24 17:29  strk
-
-	* Protect DEBUG lines in compile-time conditional
-
-2012-01-24 17:20  pramsey
-
-	* Test for #1150, null entry in spatial_ref_sys
-
-2012-01-24 14:03  strk
-
-	* Fix linking bugs with ST_NewEdgesSplit function (#1496)
-	  
-	  Includes test coverage for this other function.
-
-2012-01-24 11:15  strk
-
-	* Fix edge-linking in ST_ModEdgeSplit (#1496)
-	  
-	  Includes regression test. ST_NewEdgesSplit still needs testing.
-
-2012-01-24 00:09  pramsey
-
-	* Prevent people from inserting entries in spatial_ref_sys with no
-	  proj4text (#1150)
-
-2012-01-23 23:27  pramsey
-
-	* Make topology enabled the default
-
-2012-01-23 23:20  pramsey
-
-	* Allow raster to actually turn on by default
-
-2012-01-23 22:20  pramsey
-
-	* Move raster/topology status to the bottom of the report
-
-2012-01-23 22:18  pramsey
-
-	* Report on raster status whether enabled or not
-
-2012-01-23 21:42  pramsey
-
-	* Push forward the trunk version to match release march
-
-2012-01-22 20:10  strk
-
-	* Fix ambiguos references (with postgresql 9.x)
-
-2012-01-22 19:25  strk
-
-	* AddTopoGeometryColumn: check child layer before incrementing
-	  sequence
-
-2012-01-22 19:13  strk
-
-	* typo
-
-2012-01-22 15:43  strk
-
-	* TopoGeo_addLineString: fix node crossing, reduce edges creations
-
-2012-01-22 12:10  strk
-
-	* Comment typo
-
-2012-01-21 01:31  robe
-
-	* update build extensions to include the make comments if building
-	  from source repo and also that it requires a separate compile
-	  step (until #1490)
-
-2012-01-20 23:41  pramsey
-
-	* Fix typo
-
-2012-01-20 23:05  pramsey
-
-	* Make raster on by default and --without-raster the configuration
-	  parameter to disable it.
-
-2012-01-20 18:14  robe
-
-	* fix typo
-
-2012-01-20 18:14  robe
-
-	* Add a plpython example for outputting raster images
-
-2012-01-20 14:47  strk
-
-	* Have TopoGeometry::Geometry always return a MULTI* (#1462)
-
-2012-01-20 14:47  strk
-
-	* Don't let ST_Multi create collections of a single EMPTY (#1489)
-
-2012-01-20 10:06  robe
-
-	* #1487: add out_db argument to AddRasterConstraints and
-	  DropRasterConstraints documentation so extensions can install
-	  again
-
-2012-01-20 10:02  strk
-
-	* Test new types in regress/wkt (#1476)
-
-2012-01-20 09:11  strk
-
-	* Exclude raster_columns from geometry_columns (#1122)
-	  
-	  Add regress test, with a newborn "tickets" testcase for raster
-
-2012-01-20 08:46  strk
-
-	* Fix a missing return introduced with fix to #547
-
-2012-01-20 08:12  strk
-
-	* Change ST_Equals to use the ~= operator (#1453)
-	  
-	  Doing so it will consistently return TRUE for EMPTY-EMPTY, while
-	  previously _ST_Equals returned TRUE but ST_Equals returned FALSE.
-	  
-	  The commit also changes signature of the C function
-	  from 'geomequals' to 'ST_Equals' and marks an SQL 'Equals'
-	  signature as a candidate for dropping before 2.0.0 final
-
-2012-01-20 08:12  strk
-
-	* Revert "remove ~= from documentation -- we don't want people
-	  using this operator"
-	  
-	  This reverts r8799
-
-2012-01-20 07:10  robe
-
-	* readme was outdated.
-
-2012-01-20 05:08  pramsey
-
-	* Update for alpha1?
-
-2012-01-20 00:11  pramsey
-
-	* Transforming from SRID 4267 to 4326 returns incorrect result
-	  (#1301)
-
-2012-01-19 23:58  pramsey
-
-	* Stop configure if we don't find perl. (#1484)
-
-2012-01-19 17:39  strk
-
-	* In 9.1, it is datamoduledir driving module install dir, not
-	  MODULEDIR
-
-2012-01-19 17:15  strk
-
-	* Have both RTREE and PREPARED_GEOM caches cohexist (#547)
-	  
-	  Fixes a memory leak and improves performances when both p-i-p
-	  and other kind of overlays are requested during the same
-	  statement.
-
-2012-01-19 17:03  strk
-
-	* Update expected raster intersection results after fix to #852
-	  
-	  I've carefully checked the cases and where indeed expecting wrong
-	  results (the point is very close to the raster's convex hull
-	  boundary
-	  but slightly outside, ST_Distance reports 1.58882185807825e-14
-	  units)
-
-2012-01-19 09:48  strk
-
-	* Add test for cached version of point_in_ring (#852)
-
-2012-01-19 08:59  strk
-
-	* Drop use of tolerance in PIP (#852)
-	  
-	  Affects point_in_ring and point_in_ring_rtree.
-	  Includes regress test but not hitting the cache.
-
-2012-01-19 08:16  strk
-
-	* Do not run the upgrade test if the normal test failed
-
-2012-01-19 08:16  strk
-
-	* Oops, forgot to cleanup after debugging (triggered testsuite
-	  failure)
-
-2012-01-18 15:47  strk
-
-	* Rework st_estimated_extent to deal with analyzed empty tables
-	  (#818)
-	  
-	  Still doesn't distinguish between empty and not analyzed recently
-	  (might be improved in that reguard)
-
-2012-01-18 14:19  strk
-
-	* Drop &Z_support in ST_Summary, see #649 comment:2
-
-2012-01-18 14:17  strk
-
-	* Add ST_Summary(geography), "G" flag (#1277), document (#649)
-
-2012-01-18 13:46  strk
-
-	* Complete binary IO testing in presence of typmod (#850)
-
-2012-01-18 13:46  strk
-
-	* Do proper cleanups
-
-2012-01-18 13:46  strk
-
-	* Check typmod on binary geometry input (#850)
-	  
-	  Testcase will follow
-
-2012-01-18 10:17  strk
-
-	* Have geography typmod threat unkonwn srid an omitted srid (#1482)
-
-2012-01-18 10:17  strk
-
-	* Add --expect switch to save obtained output as expected
-	  
-	  Will help generating testcases
-
-2012-01-18 10:17  strk
-
-	* Drop the support for multiple expected files (not needed anymore)
-	  
-	  The support was also broken, btw...
-
-2012-01-18 08:19  strk
-
-	* Test roundtrip with a binary cursor for both geometry and
-	  geography
-	  
-	  With this commit the binary.sql testcase doesn't test the actual
-	  binary output anymore but rather uses canonical binary output to
-	  copy objects to a temporary file, then uses canonical binary
-	  input
-	  to read the objects again into a new table and then compares the
-	  original and the final tables.
-	  
-	  In order for this to work run_test was modified to pass a
-	  :tmpfile
-	  variable to testcases. Next stop: typmod for canonical binary
-	  input.
-	  
-	  See ticket #850 for more info
-
-2012-01-17 20:01  strk
-
-	* Implement canonical input-output for geography (#850)
-	  
-	  Note: canonical output is tested, input isn't.
-
-2012-01-17 19:15  strk
-
-	* Test canonical binary output for geometry (#850)
-	  
-	  NOTE: big-endian machines are expected to fail this new test
-	  please send your actual output for a fix
-
-2012-01-17 19:15  strk
-
-	* Support alternate expected files
-	  
-	  Useful to test WKB output on different byte-endian machines.
-
-2012-01-17 19:15  strk
-
-	* Support for binary output (#850)
-
-2012-01-17 18:04  strk
-
-	* Override geometrytype for geography (#1450).
-	  
-	  The testusite runs without problems so I didn't also add a
-	  geometrytype(text) function [I want the implicit cast!]
-
-2012-01-17 17:52  strk
-
-	* Run the testsuite again after upgrading (#1326)
-
-2012-01-17 17:52  strk
-
-	* Reword loading of upgrade scripts
-
-2012-01-17 17:13  strk
-
-	* Enhance staged install to include raster, topology and all
-	  scripts
-	  
-	  Add an --upgrade switch to regress/run_test in preparation of
-	  regress testing upgrade scripts (#1326)
-
-2012-01-17 08:57  strk
-
-	* Do not drop legacy getSRID in postgis_drop (#1401)
-	  
-	  This commit reverts r8837
-
-2012-01-16 22:26  pramsey
-
-	* Rename lwpoint_interpolate to point_interpolate
-
-2012-01-16 21:13  strk
-
-	* Snap output of test for #723 to a grid
-	  
-	  The test was failing due to coordinate drifts on 32bit
-
-2012-01-16 17:37  strk
-
-	* Fix 2.5d split (#745)
-
-2012-01-16 17:00  strk
-
-	* Keep UTM zone numbers in range, regress-test _ST_BestSRID (#1234)
-
-2012-01-16 15:39  strk
-
-	* Add an ST_AsEWKT(text) to prefer geometry over geography
-
-2012-01-16 14:46  strk
-
-	* Add ST_EWKT for geography type (#675)
-
-2012-01-16 14:33  strk
-
-	* The official unknown SRID is 0, not -1
-
-2012-01-16 14:21  strk
-
-	* Have 'make doc' build the single-page HTML
-
-2012-01-16 14:04  strk
-
-	* Allow building with gettext 0.14. Patch by Greg Troxel
-	  <gdt at ir.bbn.com>
-
-2012-01-16 13:56  strk
-
-	* Detect PERL locally
-
-2012-01-16 13:10  strk
-
-	* Ignore generated extension files
-
-2012-01-16 12:33  strk
-
-	* Move lwgeom_summary to liblwgeom (#1446)
-
-2012-01-16 12:25  strk
-
-	* Drop getsrid (#1401)
-
-2012-01-16 12:10  strk
-
-	* Add test for insertion into typmod-ed table (#1414)
-
-2012-01-16 11:22  strk
-
-	* Fix WKB output for POINT EMPTY with SRID or higher dims (#1478)
-
-2012-01-16 10:34  strk
-
-	* Add WKB round-trip test for TIN
-
-2012-01-16 10:31  strk
-
-	* Fix reading TRIANGLE EMPTY in WKB form (#1474)
-
-2012-01-16 10:31  strk
-
-	* Add POLYHEDRALSURFACE roundtrip WKB test
-
-2012-01-16 10:24  strk
-
-	* Implement lwgeom_same for MULTICURVE and MULTISURFACE (#1475)
-
-2012-01-16 10:21  strk
-
-	* Implement lwgeom_same for CURVEPOLYGON types (#1475)
-
-2012-01-16 10:18  strk
-
-	* Implement lwgeom_same for COMPOUNDCURVE (#1475)
-
-2012-01-16 10:11  strk
-
-	* Implement lwgeom_same for circularstring (#1475)
-
-2012-01-16 09:11  strk
-
-	* A CURVEPOLY is also a collection. Fixes #1473.
-
-2012-01-16 09:11  strk
-
-	* Prevent lwcollection_construct from creating non-collection types
-
-2012-01-16 08:25  strk
-
-	* Use a CTE for queries involving largs WKB input.
-	  
-	  Reduces parsing and execution time.
-
-2012-01-16 08:25  strk
-
-	* Comment out expensive DEBUG lines
-
-2012-01-16 08:24  strk
-
-	* Downgrade notice of face splitting to debug level
-
-2012-01-15 20:52  strk
-
-	* Wrap DEBUG output in ifdef POSTGIS_TOPOLOGY_DEBUG (#1469)
-
-2012-01-15 17:50  strk
-
-	* Make AddTopoGeometryColumn less sequence-number-eager,
-	  regress-test
-
-2012-01-15 09:25  robe
-
-	* put in spaces in ST_InterpolatePoint See Also references
-
-2012-01-15 09:23  robe
-
-	* ditto for ST_LocateBetween - name change flag and minor other
-	  corrections
-
-2012-01-15 09:10  robe
-
-	* put a note ST_LocateAlong name changed (and is a new name in 2.0
-	  - old name is ST_Locate_Along_Measure)
-
-2012-01-15 03:59  robe
-
-	* link to where to download pre-built cheat sheets
-
-2012-01-15 03:32  robe
-
-	* revise docs about make installing extensions to note that
-	  extensions are now installed by default if compiling against
-	  9.1+. Also provide an example query to run to verify extensions
-	  are installed. THANKS pramsey -- now if we can only have a real
-	  tagged release that would be SWEET.
-
-2012-01-15 03:18  robe
-
-	* #1401 Goodbye getSRID()
-
-2012-01-14 13:10  mcayland
-
-	* Display "Creating Index..." text within the progress dialog
-	  rather than within the shp2pgsql-gui log window.
-	  
-	  This should make it more obvious to users that something is still
-	  happening in the case that
-	  they are building on a index on larger shapefiles which can often
-	  take quite some time.
-
-2012-01-14 07:37  robe
-
-	* change eol from native to LF to try to resolve #1466
-
-2012-01-14 07:29  robe
-
-	* document --with-gettext=no optionand case why you would want to
-	  do this. Also minor modifications as to use GEOS 3.3.2 and why
-	  you should
-
-2012-01-14 01:03  pramsey
-
-	* Add ST_InterpolatePoint, deprecate ST_Locate_Between_Measures and
-	  ST_Locate_Along_Measure. Document new functions. Alter
-	  regressions and docs to use AsText instead of AsEWKT.
-
-2012-01-14 00:49  mcayland
-
-	* Use normal autoconf convention of using #define to determine
-	  whether or not GDALFPOLYGONIZE is present, rather than always
-	  having it present and setting its value to either 0 or 1.
-
-2012-01-14 00:49  mcayland
-
-	* Switch liblwgeom to use the POSTGIS_* defines already generated
-	  by configure, rather than passing them in directly.
-	  
-	  Similar to my previous commit, however here the aim is that by
-	  moving the logic outside of make then we can
-	  potentially allow other generators (such as CMake) to detect and
-	  use other compilers rather than embedding
-	  specific -D flags into the command line.
-
-2012-01-14 00:49  mcayland
-
-	* Switch NLS build to use the in-built ENABLE_NLS define rather
-	  than USE_NLS.
-	  
-	  The key concept here is that we eliminate all logic from the
-	  Makefile and put
-	  it in the build system (e.g. configure). By having the logic at
-	  this higher
-	  layer, we make it much easier to transition to another build
-	  system in future
-	  such as CMake.
-
-2012-01-14 00:49  mcayland
-
-	* Enable configure to accept the additional parameter
-	  --with-gettext=no to disable NLS builds.
-	  
-	  This makes it possible to explicitly disable builds at configure
-	  time if required for
-	  platforms where this causes problems such as Windows (see bug
-	  #748).
-
-2012-01-14 00:48  mcayland
-
-	* Fix incorrect camel-casing for HAVE_JSON within configure.ac.
-
-2012-01-14 00:48  mcayland
-
-	* Fix up AC_DEFINE macros in configure.ac that don't have a
-	  description.
-	  
-	  While autoheader emits a warning, it actually fails and does not
-	  regenerate
-	  postgis_config.h.in. Along with this fix, we commit an updated
-	  version of
-	  postgis_config.h created from a fresh invocation of autoheader
-	  minus the
-	  PACKAGE_* macros.
-
-2012-01-13 17:34  strk
-
-	* Add test for creating tables with circularstring typmod (#1085)
-
-2012-01-13 17:33  strk
-
-	* First draft of a test for typmod (#1085)
-	  
-	  This version simply creates the tables and checks
-	  geometry_columns.
-	  Should be enhanced to test effectiveness of constraints.
-
-2012-01-13 16:28  robe
-
-	* remove dangling reference to geometry_same
-
-2012-01-13 16:23  strk
-
-	* Virtualize ``make'' calls (#1464)
-
-2012-01-13 15:54  mcayland
-
-	* Rename geometry column header in shp2pgsql-gui to "geo column" to
-	  reduce its visible width based upon feedback from Regina.
-
-2012-01-13 15:50  robe
-
-	* remove ~= from documentation -- we don't want people using this
-	  operator
-
-2012-01-13 13:31  strk
-
-	* Add all signature in the current repository
-
-2012-01-13 11:34  strk
-
-	* Add more signatures found in a more recent dump of mine
-
-2012-01-13 11:29  strk
-
-	* Make verbose output of postgis_restore.pl more useful for
-	  maintainance
-	  
-	  It will now avoid to collapse all spaces to keep the door open
-	  for
-	  better parsing in the future and to be more human readable.
-
-2012-01-13 10:00  strk
-
-	* Make ~= operator GIST-indexable, following existing documentation
-	  
-	  NOTE: it takes a dump/reload for this to be in effect.
-
-2012-01-12 21:43  pramsey
-
-	* Add in an offset option to ST_LocateBetween
-
-2012-01-12 19:55  pramsey
-
-	* Add support for MULTIPOINT and POINT to ST_LocateBetween
-
-2012-01-12 19:07  pramsey
-
-	* Flip ST_LocateBetween to use the same LRS code as
-	  ST_LocateBetweenElevations
-
-2012-01-12 17:41  strk
-
-	* Add regress test for topology.AddFace robustness (see #1383)
-
-2012-01-12 17:06  strk
-
-	* Fix lw_dist2d_pt_seg(B, AB), see #1459
-	  
-	  Includes regress testing. Should also fix #1383
-
-2012-01-12 11:21  strk
-
-	* Complete tests for higher coordinate dimensions (#1455)
-
-2012-01-12 11:21  strk
-
-	* Fix bug in dimension computer for collection WKT.
-	  
-	  The parser got confused by inner M letters.
-	  This commit also improves speed early breaking the loop over WKT.
-
-2012-01-12 11:20  strk
-
-	* Add tests for higher coordinate dimensions (#1455)
-	  
-	  GEOMETRYCOLLECTION still fails
-
-2012-01-12 08:52  strk
-
-	* Test roundtrip of WKT. Higher dimensions still needed (#1455)
-
-2012-01-12 08:52  strk
-
-	* Fix a bug in gserialized_read_gbox_p reading garbage in EMPTY
-	  point
-	  
-	  Includes cunit test. Fixes #1458.
-
-2012-01-12 08:51  strk
-
-	* gbox_float_round: do not attempt to round M when not present
-
-2012-01-12 08:51  strk
-
-	* Expose gbox_float_round to liblwgeom API
-
-2012-01-11 19:45  pramsey
-
-	* Change references to BOX2DFLOAT4 to just BOX2D and remove the
-	  struct. Ding dong.
-
-2012-01-11 19:20  pramsey
-
-	* Tie astext(geography) and asbinary(geography) directly to the
-	  lwgeom_ C functions, without a cast
-
-2012-01-11 18:53  strk
-
-	* Allow higher dimensions in GeomFromWKB (#1452)
-	  
-	  Includes regress test for WKB roundtrip
-	  (failing as expected with point empty)
-
-2012-01-11 18:45  strk
-
-	* Fix bug in gbox_same -> lwgeom_same -> ST_OrderingEquals (#1454)
-	  
-	  Adds regression test for lwgeom_same and ST_OrderingEquals
-
-2012-01-11 17:18  strk
-
-	* Fix EMPTY ~= EMPTY to return TRUE (#1453)
-	  
-	  This also fixes ST_OrderingEquals for empty geometries and
-	  adds the concept of NULL boxes to represent EMPTY boxes.
-	  
-	  ST_Equals is still broken as it uses the overlap operator
-	  instead.
-
-2012-01-11 17:18  strk
-
-	* Encode dependency of libpgcommon on postgis_config.h
-
-2012-01-11 17:18  strk
-
-	* Xref ST_AsBinary to its reverse ST_GeomFromWKB
-
-2012-01-11 15:57  strk
-
-	* Add paranoid test of another malformed WKB found in #168
-
-2012-01-11 15:51  strk
-
-	* Drop ST_AsBinary(text) wrapper, removed in previous commits
-
-2012-01-11 14:50  strk
-
-	* Add documentation about enhancements in ST_AsBinary (#288)
-
-2012-01-11 14:46  strk
-
-	* Drop geography-specific C-side of AsBinary function. Proxy to
-	  geometry.
-	  
-	  See #288
-
-2012-01-11 12:30  strk
-
-	* Limit geometry_columns view definition within 80 columns.
-	  
-	  This is to avoid issues like #1449
-
-2012-01-11 11:17  strk
-
-	* Add regress test for WKB (#1448) and enable the existing one for
-	  WKT
-
-2012-01-11 11:17  strk
-
-	* Unlease higher dimensions in ST_AsBinary, using SQL/MM (#288)
-
-2012-01-11 11:16  strk
-
-	* ST_AsText item is an enhancement, not a new feature
-
-2012-01-11 10:40  strk
-
-	* Add note aboute AsText support for higher dimension
-
-2012-01-11 10:34  strk
-
-	* Unleash SQL/MM WKT returned by ST_AsText (#287)
-
-2012-01-11 08:36  strk
-
-	* Use $(MAKE) to invoke whatever make was used by builder
-
-2012-01-11 08:26  strk
-
-	* Update HARD UPGRADE section, mention --with-topology
-
-2012-01-11 02:27  pramsey
-
-	* Try an older bash syntax for robe?
-
-2012-01-10 23:22  pramsey
-
-	* Add ST_LocateAlong support for multipoints too (completeness)
-
-2012-01-10 23:14  pramsey
-
-	* Bind ST_LocateAlong() to the new LRS function that supports
-	  offsets.
-
-2012-01-10 23:04  pramsey
-
-	* svn:ignore properties
-
-2012-01-10 23:04  pramsey
-
-	* Spacing, yes
-
-2012-01-10 22:20  robe
-
-	* #1444 fix typo in command (should be command not comand)
-
-2012-01-10 21:51  pramsey
-
-	* Bring the extensions into the autoconf environment
-
-2012-01-10 19:36  dustymugs
-
-	* Fixed incorrect call to rt_raster_geopoint_to_cell in
-	  rt_band_load_offline_data and added additional debug messages
-
-2012-01-10 18:45  dustymugs
-
-	* Fixed incorrect use of rt_band_destroy when loading offline band
-	  data. ALso added rules to raster_columns and raster_overviews to
-	  gracefully handle insert/update/delete.
-
-2012-01-10 18:18  dustymugs
-
-	* Fixed double free of memory when using out-of-database bands
-
-2012-01-10 18:12  strk
-
-	* Add rules on geometry_columns view to tolerate
-	  insert/update/delete
-	  
-	  Fixes OGR, see #1426. Raises no warning on operation (it should).
-	  This commit includes changes in postgis_proc_upgrade.pl to retain
-	  rules.
-
-2012-01-10 14:58  strk
-
-	* Reflect type of empty from ST_Dimension (#1441)
-	  
-	  No existing testcase fail, no new testcase is added.
-	  This change doesn't invalidate any part of the reference manual.
-	  Reference manual isn't updated.
-	  
-	  Signed-off-by: Charlie Brown
-
-2012-01-10 13:17  strk
-
-	* Use a standard lwcollection_allows_subtype function to guard
-	  against bad input.
-	  
-	  Fixes #698 (and #1445 in a better way)
-
-2012-01-10 12:28  mcayland
-
-	* If the database settings are incorrect when attempting an import,
-	  display the connection settings
-	  dialog.
-	  
-	  Also a minor bugfix: if the dialog is cancelled by closing the
-	  window, ensure that any unset
-	  fields are reset back to blank.
-
-2012-01-10 12:28  mcayland
-
-	* Switch shp2pgsql-gui to COPY mode by default for increased speed;
-	  the user doesn't really care
-	  what form the output takes when it's being loaded into the
-	  database directly rather than via
-	  a file.
-
-2012-01-10 12:28  mcayland
-
-	* Raise an error within shp2pgsql-gui if the user clicks "Import"
-	  without having added any files to the list.
-
-2012-01-10 12:28  mcayland
-
-	* Alter shp2pgsql-gui so that we use one connection per file; this
-	  makes tracking error state
-	  on the server considerably easier, since upon abort we just
-	  disconnect from the server rather
-	  than trying to figure out what state we are in and handle it
-	  appropriately.
-
-2012-01-10 11:36  strk
-
-	* Check type of elements added to multi geometries. Fixes #1445.
-	  
-	  Includes regress testing both at the liblwgeom and postgis
-	  levels.
-
-2012-01-10 10:06  strk
-
-	* Add "M" type modifiers on elements of GEOMETRYCOLLECTION
-	  
-	  Reflects specs in doc/ZMgeoms.txt and satisfies the parser.
-	  Closes ticket #724.
-
-2012-01-10 08:32  strk
-
-	* Other generated files
-
-2012-01-10 08:28  strk
-
-	* Ignore new generated files
-
-2012-01-10 08:26  strk
-
-	* Add images-clean rule and perform the cleanup on maintainer-clean
-
-2012-01-10 07:25  robe
-
-	* put in missing title tag
-
-2012-01-10 07:12  robe
-
-	* put in missing end paragraph end tag
-
-2012-01-10 07:03  robe
-
-	* fix typo
-
-2012-01-10 06:53  robe
-
-	* #1442: Add sections on installing, upgrading and loading data
-	  into tiger geocoder. Got at least 2 people who seem confused
-	  about how to upgrade their tiger installs and assume it follows
-	  the same steps as the rest of PostGIS.
-
-2012-01-09 22:43  dustymugs
-
-	* Added column "out_db" to raster_columns. "out_db" is of type
-	  boolean[] with each element indicating if that band of same index
-	  is out-of-database. Updated relevant AddRasterConstraints and
-	  DropRasterConstraints functions. Related ticket is #1440.
-
-2012-01-09 20:17  robe
-
-	* put in svn Author Date Id Revision keywords
-
-2012-01-09 20:08  dustymugs
-
-	* Make the data of externally-loaded band internally owned so a
-	  call to rt_band_destroy() properly frees the memory.
-
-2012-01-09 19:48  dustymugs
-
-	* Add read-only support for band data located outside the database
-	  in raster files. All "get" and analysis functions should work for
-	  out of database bands. Related ticket is #1440. Also added a test
-	  raster file for use by an out of db band and future use for
-	  raster2pgsql loader regression tests.
-
-2012-01-09 19:05  dustymugs
-
-	* Removed garbage whitespace.
-
-2012-01-09 19:02  dustymugs
-
-	* Added conditional check to ST_Intersects(raster, int, raster,
-	  int) to deal with STRICT being set on _st_intersects(raster, int,
-	  raster, int). Fixes regression caused in r8714.
-
-2012-01-09 18:50  pramsey
-
-	* Remove whitespace
-
-2012-01-09 18:27  pramsey
-
-	* Interim progress on LRS work.
-
-2012-01-09 18:01  strk
-
-	* Change lwgeom_is_empty to return spatial emptiness (#671)
-
-2012-01-09 17:55  mcayland
-
-	* Allow manual resizing of the filename column within shp2pgsql-gui
-	  if required, as per request from Regina.
-
-2012-01-09 17:27  strk
-
-	* Further cleanup of ST_CollectionExtract documentation
-
-2012-01-09 17:10  strk
-
-	* Document new ST_CollectionExtract behavior
-
-2012-01-09 17:01  strk
-
-	* Switch back ST_CollectionExtract to return EMPTY rather than NULL
-	  on no matches (#835)
-	  
-	  This behavior seems closer to the one requested in original #457
-	  testcase, and is still consistent. Is also closer to
-	  documentation.
-
-2012-01-09 17:01  strk
-
-	* Add lwgeom_construct_empty API call
-
-2012-01-09 17:01  strk
-
-	* Implement lwcompound_construct_empty
-
-2012-01-09 16:20  strk
-
-	* Alwas return NULL on type miss from ST_CollectionExtract (#835)
-
-2012-01-09 16:20  strk
-
-	* Return typed empties from lwcollection_extract
-
-2012-01-09 15:27  strk
-
-	* Distribute comments in tarball. Stop distributing pdf or html
-	  (#626)
-
-2012-01-09 15:03  strk
-
-	* Fix compiler warnings
-
-2012-01-09 15:01  dustymugs
-
-	* Make _ST_Intersects(raster, raster) STRICT as per comments in
-	  #1412.
-
-2012-01-09 14:56  robe
-
-	* #1392: Can't geocode intersecting highways or areas where no zip
-	  available
-
-2012-01-09 13:36  strk
-
-	* Build the libtool wrapper script version of raster2pgsql
-
-2012-01-09 12:48  robe
-
-	* Add Maria Arias de Reyna to credits
-
-2012-01-09 11:01  strk
-
-	* Update Java components to support SRID<=0 as unknown SRID (#1221)
-	  
-	  This is first patch by Maria Arias de Reyna taking on
-	  maintainance
-	  of the Java components. It includes tweaks in README file and
-	  a new maven based build system. It also includes some indenting
-	  changes.
-
-2012-01-09 10:34  strk
-
-	* Fix memory leak in shapefile loader (#1436)
-
-2012-01-09 07:52  robe
-
-	* fix typo in extension version
-
-2012-01-08 23:32  mcayland
-
-	* Commit reworked version of shp2pgsql-gui to the repository.
-	  
-	  As per my email to postgis-devel, this commit contains a major
-	  reworking
-	  of the inner core, with many bugfixes. The primary changes are:
-	  
-	  - Elimination of FILENODE, since we can just use pointers to
-	  SHPLOADERCONFIG
-	  
-	  - Abstract the configuration structures from the GUI interface
-	  
-	  - Restrict entry to either drag/drop or file chooser
-	  
-	  - Instead of constantly destroying/creating new dialogs, create
-	  them once and then just show/hide them (in particular this
-	  enables the file chooser to open at its previous directory)
-	  
-	  - Add separate connection details and progress bar dialogs
-	  
-	  - Rework both internals and GUI in preparation for adding dumper
-	  support
-	  
-	  Note that the dumper integration changes are being worked on
-	  separately
-	  and will be included in a later commit.
-
-2012-01-08 19:15  robe
-
-	* Fix typo in manual and more description about schema.
-	  Evidentially some people do try to read the manual and make sense
-	  of it as demonstrated here:
-	  http://gis.stackexchange.com/questions/18254/loading-a-raster-into-a-postgis-2-0-database-on-windows
-
-2012-01-08 16:28  dustymugs
-
-	* Code cleanup related to registering and deregistering GDAL
-	  drivers
-
-2012-01-08 07:57  robe
-
-	* lots of corrections, also add integer[] arg recognition
-
-2012-01-08 07:29  robe
-
-	* more cleanup -- issue with raster / raster functions and output
-	  convexhull instead of raster when result type is raster or
-	  geometry
-
-2012-01-08 06:49  robe
-
-	* revise to recognize array of raster arguments
-
-2012-01-08 06:26  robe
-
-	* get rid of dropraster addrastercolumn and replace with create
-	  table, apply constraints. Still a lot of cleanup to go
-
-2012-01-07 19:28  robe
-
-	* #1435: fix function proto typo of TopoGeo_AddPoint in docs
-
-2012-01-07 19:24  robe
-
-	* fix typo in version number
-
-2012-01-07 19:04  robe
-
-	* change alpha1 to a14. It appears we won't be releasing an alpha1
-	  this weekend bah.
-
-2012-01-07 19:02  robe
-
-	* update instructions to reflect changes that need to be made to
-	  extensions before tagged release. Hopefully we can automate this
-	  part in the future -- but have no clue how.
-
-2012-01-07 15:24  dustymugs
-
-	* Have rt_raster_from_gdal_dataset attempt to determine the SRID of
-	  the raster using OSR.
-
-2012-01-07 14:05  dustymugs
-
-	* Additional tweaks for the NODATA values constraint. Continues
-	  changes made in r8691.
-
-2012-01-07 00:55  robe
-
-	* bump version to alpha1 in preparation for alpha1 shuttle launch
-
-2012-01-07 00:47  pramsey
-
-	* Move geojson test into geojson.sql file
-
-2012-01-07 00:42  dustymugs
-
-	* Fixed handling of NODATA value constraint as band with no NODATA
-	  was being constrained with the value of zero.
-
-2012-01-07 00:29  pramsey
-
-	* ST_GeomFromGeoJSON - Malformed GeoJSON causes SIGSEGV in postgres
-	  process (#1434)
-
-2012-01-06 21:39  pramsey
-
-	* Move offset curve generation into liblwgeom with other geos
-	  functionality
+2013-11-05 17:58  pramsey
+
+	* extensions/postgis_tiger_geocoder/sql_bits, install-sh, postgis,
+	  raster/rt_pg, raster/test/cunit, topology, topology/test/regress:
+	  Ignore build artifacts
+
+2013-11-05 00:15  pramsey
+
+	* liblwgeom/lwgeom.c, regress/summary_expected: #2433, put SRIDs on
+	  sub-geometries
+
+2013-11-04 23:51  pramsey
+
+	* liblwgeom/cunit/cu_in_geojson.c, liblwgeom/cunit/cu_surface.c,
+	  liblwgeom/cunit/cu_tree.c: Quiet clang/llvm warnings
+
+2013-11-04 23:17  pramsey
+
+	* configure.ac, liblwgeom/g_box.c, liblwgeom/lwcircstring.c,
+	  loader/pgsql2shp-core.c, loader/shpopen.c,
+	  postgis/gserialized_gist_2d.c, postgis/gserialized_gist_nd.c,
+	  postgis/lwgeom_sqlmm.c: Silence warnings under clang/llvm
+
+2013-11-04 20:48  robe
+
+	* doc/installation.xml: #2517 change to reflect using 2.1 scripts
+	  instead of 2.0 scripts
+
+2013-11-03 02:53  robe
+
+	* doc/installation.xml: fix xml parse error
+
+2013-11-02 18:26  robe
+
+	* doc/installation.xml: #2522 document RegExp::Assemble perl
+	  dependency
+
+2013-10-30 09:45  strk
+
+	* NEWS: Reword raster license change NEWS item (#2514)
+
+2013-10-30 09:38  strk
+
+	* LICENSE.TXT: Clarify licensing of PostGIS core as GPL2+ (#2515)
+
+2013-10-28 19:45  dustymugs
+
+	* NEWS: wrong ticket
+
+2013-10-28 19:44  dustymugs
+
+	* NEWS, raster/Makefile.in, raster/loader/Makefile.in,
+	  raster/loader/raster2pgsql.c, raster/loader/raster2pgsql.h,
+	  raster/macros/ac_proj4_version.m4, raster/rt_core/Makefile.in,
+	  raster/rt_core/rt_api.c, raster/rt_core/rt_api.h,
+	  raster/rt_pg/Makefile.in, raster/rt_pg/rt_pg.c,
+	  raster/rt_pg/rt_pg.h, raster/rt_pg/rtpostgis.sql.in,
+	  raster/rt_pg/rtpostgis_drop.sql.in,
+	  raster/rt_pg/rtpostgis_legacy.sql.in,
+	  raster/rt_pg/rtpostgis_upgrade_cleanup.sql.in,
+	  raster/scripts/Makefile.in, raster/scripts/python/Makefile.in,
+	  raster/scripts/python/Makefile.rt.sample,
+	  raster/scripts/python/genraster.py,
+	  raster/scripts/python/ovdump.py, raster/scripts/python/pixval.py,
+	  raster/scripts/python/raster2pgsql.py,
+	  raster/scripts/python/rtgdalraster.py,
+	  raster/scripts/python/rtpixdump.py,
+	  raster/scripts/python/rtreader.py,
+	  raster/scripts/python/rtrowdump.py,
+	  raster/scripts/python/window.py, raster/test/Makefile.in,
+	  raster/test/cunit/Makefile.in,
+	  raster/test/cunit/cu_band_basics.c,
+	  raster/test/cunit/cu_band_misc.c,
+	  raster/test/cunit/cu_band_stats.c, raster/test/cunit/cu_gdal.c,
+	  raster/test/cunit/cu_mapalgebra.c, raster/test/cunit/cu_misc.c,
+	  raster/test/cunit/cu_pixtype.c,
+	  raster/test/cunit/cu_raster_basics.c,
+	  raster/test/cunit/cu_raster_geometry.c,
+	  raster/test/cunit/cu_raster_misc.c,
+	  raster/test/cunit/cu_raster_wkb.c,
+	  raster/test/cunit/cu_spatial_relationship.c,
+	  raster/test/cunit/cu_tester.c, raster/test/cunit/cu_tester.h,
+	  raster/test/regress/Makefile.in, raster/test/regress/box3d.sql,
+	  raster/test/regress/bug_test_car5.sql,
+	  raster/test/regress/check_raster_columns.sql,
+	  raster/test/regress/check_raster_overviews.sql,
+	  raster/test/regress/rt_addband.sql,
+	  raster/test/regress/rt_band_properties.sql,
+	  raster/test/regress/rt_bytea.sql,
+	  raster/test/regress/rt_dimensions.sql,
+	  raster/test/regress/rt_georeference.sql,
+	  raster/test/regress/rt_gist_relationships.sql,
+	  raster/test/regress/rt_hasnoband.sql,
+	  raster/test/regress/rt_isempty.sql,
+	  raster/test/regress/rt_pixelsize.sql,
+	  raster/test/regress/rt_pixelvalue.sql,
+	  raster/test/regress/rt_rotation.sql,
+	  raster/test/regress/rt_scale.sql,
+	  raster/test/regress/rt_set_band_properties.sql,
+	  raster/test/regress/rt_set_properties.sql,
+	  raster/test/regress/rt_upperleft.sql,
+	  raster/test/regress/rt_utility.sql: Change raster license from
+	  v3+ to v2+. Ticket #2516
+
+2013-10-24 19:54  pramsey
+
+	* utils/postgis_proc_upgrade.pl: #2510,postgis_major_version_check
+	  interferes w/ upgrade
+
+2013-10-19 17:20  dustymugs
+
+	* NEWS, raster/rt_pg/rtpostgis.sql.in: add support for materialized
+	  views and foreign tables in raster_columns and raster_overviews.
+	  Ticket #2512
+
+2013-10-18 21:32  pramsey
+
+	* postgis/postgis.sql.in: #2511, geometry_columns doesn't support
+	  materialized views or foreign tables
+
+2013-10-18 20:59  pramsey
+
+	* liblwgeom/lwtree.c, liblwgeom/lwtree.h: Revert accidental code
+	  committed to lwtree.*
+
+2013-10-18 20:57  pramsey
+
+	* liblwgeom/liblwgeom.h.in, liblwgeom/lwalgorithm.c,
+	  liblwgeom/lwcircstring.c, liblwgeom/lwtree.c, liblwgeom/lwtree.h,
+	  liblwgeom/ptarray.c, regress/tickets_expected: #2463, st_length
+	  on curve is on linearized geom
+
+2013-10-16 22:41  pramsey
+
+	* postgis/postgis.sql.in: #2511, geometry_columns doesn't support
+	  materialized views
+
+2013-10-11 01:48  robe
+
+	* regress/tickets.sql, regress/tickets_expected: #2506 regress
+	  failure on 32-bit windows PostgreSQL. More stringent round but
+	  also subtract to guarantee they are the same
+
+2013-10-11 01:07  robe
+
+	* regress/tickets.sql, regress/tickets_expected: #2506 regress
+	  failure on 32-bit windows PostgreSQL. Round values so match on
+	  all platforms
+
+2013-10-09 14:41  strk
+
+	* NEWS: Add 2.0.4 block in NEWS file
+
+2013-10-09 14:38  strk
+
+	* NEWS, loader/pgsql2shp-cli.c: Fix segfault on bogus pgsql2shp
+	  call (#2504)
+
+2013-10-09 06:45  strk
+
+	* NEWS, postgis/postgis.sql.in, topology/topology.sql.in,
+	  topology/topology_drop_before.sql.in: Put
+	  postgis_topology_scripts_installed() in topology schema (#2502)
+	  
+	  This was the only topology signature installed in the default
+	  schema.
+	  The postgis_full_version() function is updated to find it there.
+
+2013-10-08 14:05  strk
+
+	* NEWS, postgis/postgis_drop_after.sql,
+	  raster/rt_pg/rtpostgis_drop.sql.in: Fix upgrades from 2.0 leaving
+	  stale function signatures (#2489)
+
+2013-10-07 19:20  pramsey
+
+	* postgis/gserialized_gist_2d.c: Apply patch from smagen to fix
+	  infinite loop in index where NaN geometry appears #2449
+
+2013-10-07 17:55  pramsey
+
+	* regress/run_test.pl: Filter LOG entries #2499
+
+2013-10-03 03:40  dustymugs
+
+	* raster/test/regress/rt_dumpvalues.sql,
+	  raster/test/regress/rt_dumpvalues_expected: added regression
+	  tests for ticket #2493
+
+2013-10-03 03:40  dustymugs
+
+	* NEWS, raster/rt_pg/rt_pg.c: Fixed behavior of
+	  ST_DumpValues(raster, ...) when passed an empty raster
+
+2013-09-30 20:26  robe
+
+	* extras/tiger_geocoder/tiger_2011/tiger_loader_2011.sql,
+	  extras/tiger_geocoder/tiger_2011/tiger_loader_2012.sql,
+	  extras/tiger_geocoder/tiger_2011/tiger_loader_2013.sql: #2490
+	  point back to state level zip files (only available in tiger 2010
+	  folder)
+
+2013-09-27 21:17  robe
+
+	* regress/tickets.sql, regress/tickets_expected: correct typo in
+	  ticket # (as I noted in #2396 )
+
+2013-09-27 16:08  strk
+
+	* postgis/postgis.sql.in, postgis/sqldefines.h.in: Change
+	  deprecation warning to raise a WARNING after 2 version
+	  deprecation time
+	  
+	  I kept the DEBUG for the first deprecating version to keep
+	  changes
+	  small (no need to change testsuite again) but I really think
+	  it should be at least a NOTICE in that case, or nobody would
+	  notice.
+	  
+	  See #2440
+
+2013-09-27 15:22  strk
+
+	* postgis/postgis.sql.in: Drop misplaced comment
+
+2013-09-27 03:30  robe
+
+	* regress/tickets.sql, regress/tickets_expected: #2396 big-endian
+	  architecture regress failure
+
+2013-09-26 09:47  strk
+
+	* NEWS: Format!
+
+2013-09-24 21:57  robe
+
+	* regress/empty.sql, regress/regress.sql, regress/regress_expected,
+	  regress/sql-mm-compoundcurve.sql,
+	  regress/sql-mm-compoundcurve_expected,
+	  regress/sql-mm-curvepoly.sql, regress/sql-mm-curvepoly_expected,
+	  regress/tickets.sql, regress/tickets_expected: #2396 liblwgeom
+	  tests fail on big-endian architectures (oops copied the wrong
+	  tickets file)
+
+2013-09-23 18:25  robe
+
+	* NEWS, doc/extras_tigergeocoder.xml,
+	  doc/xsl/postgis_aggs_mm.xml.xsl: document #2478 support for tiger
+	  2013
+
+2013-09-23 04:53  robe
+
+	* doc/installation.xml: #2466 point json-c to github loc instead of
+	  old 0.9 loc
+
+2013-09-23 04:36  robe
+
+	* extensions/postgis_tiger_geocoder/Makefile.in,
+	  extras/tiger_geocoder/tiger_2011/create_geocode.bat,
+	  extras/tiger_geocoder/tiger_2011/create_geocode.sh,
+	  extras/tiger_geocoder/tiger_2011/tiger_loader_2011.sql,
+	  extras/tiger_geocoder/tiger_2011/tiger_loader_2012.sql,
+	  extras/tiger_geocoder/tiger_2011/tiger_loader_2013.sql,
+	  extras/tiger_geocoder/tiger_2011/upgrade_geocoder.bat,
+	  extras/tiger_geocoder/tiger_2011/upgrade_geocoder.sh: #2478:
+	  incorporated Kahif Rasul's trunk fixes and also logic to enable
+	  tiger geocoder in 2.1 extension
+
+2013-09-22 02:13  robe
+
+	* postgis/postgis.sql.in: #2440 -- remove warnings from functions
+	  -- (pushing this to a debug level notice)
+
+2013-09-22 02:10  robe
+
+	* regress/tickets.sql, regress/tickets_expected: #2440 -- remove
+	  warnings from functions -- (pushing this to a debug level notice)
+
+2013-09-08 15:13  robe
+
+	* HOWTO_RELEASE: update to include updating source.html page. Minor
+	  other changes reshuffling
+
+2013-09-07 13:25  strk
+
+	* utils/postgis_restore.pl.in: Clean up restore script (#2471)
+
+2013-09-06 22:52  pramsey
+
+	* doc/using_postgis_dataman.xml: Splling (#2255)
+
+2013-09-06 16:46  strk
+
+	* liblwgeom/lwgeom_geos.c: Enhance error messages in
+	  lwgeom_intersection and lwgeom_normalize
+
+2013-09-05 19:59  robe
+
+	* regress/run_test, regress/run_test.pl: #2469 add
+	  min_messages=NOTICE so travis doesn't scream
+
+2013-09-05 08:16  robe
+
+	* .travis.yml: yaml config - not sure why travis is trying to test
+	  without yaml config
+
+2013-09-05 07:58  robe
+
+	* regress/tickets.sql, regress/tickets_expected: #2168 test to test
+	  non-commutative fix of geog ST_Distance
+
+2013-09-04 04:37  robe
+
+	* regress/regress_index_nulls.sql, regress/regress_ogc.sql,
+	  regress/tickets.sql: #2467 add min_messages so travis doesn't
+	  scream
+
+2013-09-02 16:18  pramsey
+
+	* postgis/geography_measurement.c: Geog best srid fix, from kashif
+	  (#2434)
+
+2013-08-31 15:00  dustymugs
+
+	* NEWS, doc/reference_raster.xml, raster/rt_pg/rt_pg.c,
+	  raster/test/regress/Makefile.in,
+	  raster/test/regress/rt_clip_expected,
+	  raster/test/regress/rt_elevation_functions_expected,
+	  raster/test/regress/rt_intersection_expected,
+	  raster/test/regress/rt_pixelascentroids_expected,
+	  raster/test/regress/rt_pixelaspoints_expected,
+	  raster/test/regress/rt_pixelaspolygons_expected,
+	  raster/test/regress/rt_setvalues_array_expected,
+	  raster/test/regress/rt_union_expected: Fix behavior of
+	  ST_PixelAsXXX functions with regard to exclude_nodata_parameter
+
+2013-08-23 19:57  pramsey
+
+	* configure.ac: Allow version parser to handle 9.3rc3
+
+2013-08-23 12:04  robe
+
+	* doc/extras_tigergeocoder.xml: fix typo in function name
+
+2013-08-23 02:47  robe
+
+	* doc/extras_tigergeocoder.xml: #2446 Drop_Nation_Script doco is
+	  wrong
+
+2013-08-22 04:41  robe
+
+	* extensions/postgis_tiger_geocoder/Makefile.in,
+	  extras/tiger_geocoder/tiger_2011/tiger_loader_2012.sql: #2441
+	  Tiger geocoder uses new features only available in Postgres 9.3.
+	  Changed to not use CREATE .. IF NOT EXISTS and use DO instead.
+	  Also revised extension to upgrade loader (it wasn't before)
+
+2013-08-18 01:16  robe
+
+	* Version.config, doc/postgis.xml,
+	  extensions/upgradeable_versions.mk: bump version to 2.1.1dev
+
+2013-08-18 00:50  robe
+
+	* doc/release_notes.xml: one more paragraph mark missing
+
+2013-08-18 00:34  robe
+
+	* doc/release_notes.xml: fix para tag
+
+2013-08-18 00:14  robe
+
+	* doc/release_notes.xml: fix remaining unbalanced para tags
+
+2013-08-18 00:09  robe
+
+	* Version.config, doc/postgis.xml, doc/release_notes.xml,
+	  extensions/upgradeable_versions.mk: fix unbalanced para, flip
+	  version to 2.1.0
+
+2013-08-18 00:03  robe
+
+	* HOWTO_RELEASE: minor corrections
+
+2013-08-18 00:03  robe
+
+	* extensions/postgis/sql_bits/postgis--unpackaged.sql.in,
+	  extensions/postgis_tiger_geocoder/sql_bits/tiger_geocoder--unpackaged.sql.in,
+	  extensions/postgis_topology/sql_bits/topology--unpackaged.sql.in:
+	  update unpackaged scripts in prep for 2.1.0 release
+
+2013-08-17 23:51  robe
+
+	* README.postgis: forgot README.postgis
+
+2013-08-17 23:49  robe
+
+	* ChangeLog, NEWS, doc/release_notes.xml: update ChangeLog, NEWS in
+	  prep for 2.1.0 release
+
+2013-08-16 18:45  nicklas
+
+	* liblwgeom/measures.c: fix back polyhedralsurface to distance
+	  calculations #2431
+
+2013-08-16 00:59  robe
+
+	* doc/reference_accessor.xml: #2435 ST_Summary document S flag
+
+2013-08-14 07:42  strk
+
+	* liblwgeom/cunit/cu_ptarray.c, liblwgeom/lwsegmentize.c:
+	  lw_segment_side may return any negative number, not just -1
+	  (#2420)
+	  
+	  Adds other unit tests for line desegmentation excercising
+	  quadrant
+	  computation.
+
+2013-08-13 23:48  strk
+
+	* liblwgeom/cunit/cu_ptarray.c, liblwgeom/lwsegmentize.c,
+	  regress/tickets.sql, regress/tickets_expected: Fix computation of
+	  number of quadrants per arc (#2420)
+	  
+	  Note: I had to change some tests that expected 3-quadrant curves
+	  to be accepted as curvey input to rely on round-trip instead
+
+2013-08-13 23:48  strk
+
+	* liblwgeom/cunit/cu_ptarray.c, liblwgeom/lwsegmentize.c,
+	  regress/tickets_expected: Pick curve control point farther than
+	  in the middle
+	  
+	  Seems to get a good point when doing manual tests...
+
+2013-08-13 22:54  strk
+
+	* liblwgeom/cunit/cu_ptarray.c, liblwgeom/lwsegmentize.c,
+	  regress/tickets.sql, regress/tickets_expected: Make sure to
+	  retain first point of curves on linearization (#2427)
+
+2013-08-13 07:25  strk
+
+	* liblwgeom/cunit/cu_ptarray.c, liblwgeom/lwsegmentize.c: Fix short
+	  allocation of edge to curves store (#2425)
+
+2013-08-13 06:53  strk
+
+	* liblwgeom/lwsegmentize.c, regress/tickets.sql,
+	  regress/tickets_expected: Add COMPOUNDCURVE in MULTICURVE support
+	  for ST_CurveToLine (#2424)
+
+2013-08-12 18:19  strk
+
+	* liblwgeom/lwsegmentize.c, regress/tickets.sql,
+	  regress/tickets_expected: Require all arc edges to form the same
+	  angle (#2423)
+	  
+	  Note: gives expected result for #183
+
+2013-08-12 09:58  strk
+
+	* regress/tickets.sql, regress/tickets_expected: Fix ticket
+	  reference (it's #2420, not 30)
+
+2013-08-11 18:15  strk
+
+	* liblwgeom/lwsegmentize.c, regress/tickets.sql,
+	  regress/tickets_expected: Require at least 8 edges to define a
+	  full circle (#2420)
+
+2013-08-11 08:51  strk
+
+	* liblwgeom/lwsegmentize.c, regress/tickets.sql,
+	  regress/tickets_expected: Fix ST_LineToCurve with input having
+	  less than 4 vertices (#2412)
+
+2013-08-10 06:25  robe
+
+	* extras/tiger_geocoder/tiger_2011/census_loader.sql: #2414
+	  extension not installing census tables
+
+2013-08-10 06:14  robe
+
+	* extras/tiger_geocoder/tiger_2011/pagc_normalize/pagc_tables.sql:
+	  #2419: agc_rules loading defaulting to is_custom true instead of
+	  false
+
+2013-08-09 07:00  strk
+
+	* liblwgeom/lwgeom.c, postgis/lwgeom_functions_basic.c,
+	  regress/tickets.sql, regress/tickets_expected: Fix ST_Multi with
+	  COMPOUNDCURVE and CURVEPOLYGON types (#2415)
+
+2013-08-08 22:54  robe
+
+	* extras/tiger_geocoder/tiger_2011/pagc_normalize/pagc_tables.sql:
+	  dupe 2934 (give Northwest next id)
+
+2013-08-08 22:31  robe
+
+	* extras/tiger_geocoder/tiger_2011/tiger_loader_2012.sql: get rid
+	  of hard-codings of schemas in sh profile, add logic to create
+	  data schema if not present
+
+2013-08-08 06:21  strk
+
+	* liblwgeom/lwsegmentize.c, regress/sql-mm-circularstring.sql,
+	  regress/sql-mm-circularstring_expected: Fix segmentize of
+	  collinear curve
+
+2013-08-08 05:19  robe
+
+	* extras/tiger_geocoder/tiger_2011/pagc_normalize/pagc_tables.sql:
+	  #2403 force northwest into postdir, fix some other casing issues
+
+2013-08-06 16:01  robe
+
+	* liblwgeom/cunit/cu_libgeom.c: #2396: change wkb compare to a same
+	  check
+
+2013-08-04 16:07  robe
+
+	* extras/tiger_geocoder/tiger_2011/pagc_normalize/pagc_tables.sql:
+	  #2404: DISTRICT OF COLUMBIA is not abbreviated
+
+2013-08-03 17:11  robe
+
+	* Version.config, doc/postgis.xml,
+	  extensions/upgradeable_versions.mk: flip branch to rc3 (hopefully
+	  we won't need it and can go straight to release)
+
+2013-08-03 17:08  robe
+
+	* doc/postgis.xml: prep for release of rc2 (I know but too many new
+	  tickets closed in rc1 cycle and want to wait for geos)
+
+2013-08-03 16:30  robe
+
+	* extensions/postgis_tiger_geocoder/sql_bits/mark_editable_objects.sql.in:
+	  #2401 logic to mark pagc_rules as editable and for backup save
+	  custom rules
+
+2013-08-03 16:10  robe
+
+	* extras/tiger_geocoder/tiger_2011/pagc_normalize/pagc_tables.sql:
+	  #2401 What was I thinkng. pagc_rules needs to set existing to
+	  is_custom = false so old records are not considered custom
+
+2013-08-03 16:03  robe
+
+	* extras/tiger_geocoder/tiger_2011/pagc_normalize/pagc_tables.sql:
+	  #2401 fix typo in add column statement
+
+2013-08-02 16:33  robe
+
+	* extras/tiger_geocoder/tiger_2011/pagc_normalize/pagc_tables.sql:
+	  #2401 fix typo
+
+2013-08-02 16:31  robe
+
+	* extras/tiger_geocoder/tiger_2011/pagc_normalize/pagc_tables.sql:
+	  #2401 Add is_custom options to pagc_rules table
+
+2013-08-02 01:30  dustymugs
+
+	* NEWS, doc/release_notes.xml, doc/using_raster_dataman.xml,
+	  doc/xsl/postgis_aggs_mm.xml.xsl: Add note regarding limitation of
+	  raster bands only being able to reference the first 256 bands of
+	  an out-db raster. Ticket #2111.
+
+2013-07-20 03:20  robe
+
+	* loader/pgsql2shp-cli.c: #2230 can't dump on windows 64 if schema
+	  qualified. Fix by replacing with more modern code (follow same
+	  pattern and standardiz naming of variable as shp2pgsql)
+
+2013-07-20 01:42  robe
+
+	* loader/shp2pgsql-gui.1: #2389 man page for shp2pgsql-gui provided
+	  by Mònica Ramírez Arceda and mwanner
+
+2013-07-19 05:51  robe
+
+	* doc/extras_tigergeocoder.xml, doc/installation.xml,
+	  extras/tiger_geocoder/tiger_2011/pagc_normalize/pagc_tables.sql:
+	  #2380 backport changes related to PAGC as wwell as tiger doco
+	  updates
+
+2013-07-17 14:45  dustymugs
+
+	* NEWS, raster/rt_pg/rtpostgis.sql.in,
+	  raster/test/regress/rt_neighborhood.sql,
+	  raster/test/regress/rt_neighborhood_expected: Fix variable
+	  datatypes in ST_Neighborhood(). Ticket #2384
+
+2013-07-17 14:04  dustymugs
+
+	* NEWS, raster/rt_pg/rtpostgis.sql.in: Removed unsafe use of \'
+	  from raster message. Ticket #2383
+
+2013-07-14 18:38  strk
+
+	* topology/test/Makefile.in: GEOS 3.3.8 uses old snapping (#2379)
+
+2013-07-10 11:38  robe
+
+	* doc/extras_tigergeocoder.xml, doc/installation.xml:
+
+2013-07-10 11:17  robe
+
+	* doc/extras_tigergeocoder.xml: oops booboo
+
+2013-07-10 11:11  robe
+
+	* Version.config, doc/postgis.xml,
+	  extensions/upgradeable_versions.mk: call this one rc2 with plan
+	  it will never be released and we'll go straight to gold after we
+	  clean up the news and docs.
+
+2013-07-10 11:07  robe
+
+	* ChangeLog, HOWTO_RELEASE, NEWS, README.postgis, Version.config,
+	  doc/postgis.xml, extensions/upgradeable_versions.mk: prepping for
+	  rc1 release
+
+2013-07-10 03:44  robe
+
+	* extras/tiger_geocoder/README,
+	  extras/tiger_geocoder/tiger_2011/README: #2245 Doc patches to
+	  tiger
+
+2013-07-10 02:44  robe
+
+	* doc/extras_tigergeocoder.xml, doc/installation.xml: briefly
+	  document pagc in docs and where to get. will flesh out later, but
+	  good enough for 2.1 release
+
+2013-07-09 16:37  robe
+
+	* doc/reference_editor.xml: #2378, document that
+	  ST_CollectionExtract and ST_CollectionHomegenize are flawed when
+	  dealing with polygons with shared edges
+
+2013-07-09 03:36  pramsey
+
+	* configure.ac: Allow build to work with --libintl-prefix and other
+	  configure directives
+
+2013-07-08 06:57  robe
+
+	* doc/reference_lrs.xml: get rid of deprecated
+	  ST_Line_Interpolate_Point in code examples
+
+2013-07-05 10:45  strk
+
+	* liblwgeom/cunit/cu_clean.c, liblwgeom/lwgeom_geos_clean.c:
+	  Backport ST_MakeValid memory leak fix (#2307)
+
+2013-07-02 22:34  pramsey
+
+	* liblwgeom/lwgeom_geos_clean.c, regress/tickets.sql,
+	  regress/tickets_expected: #2307, add test and comment on
+	  lwgeom_free
+
+2013-07-02 21:51  robe
+
+	* doc/html/image_src/st_azimuth01.wkt,
+	  doc/html/image_src/st_azimuth02.wkt, doc/reference_measure.xml:
+	  #876 ST_Azimuth doc patch
+
+2013-07-02 20:12  pramsey
+
+	* NEWS, configure.ac, topology/test/Makefile.in: #2371 Support GEOS
+	  versions with more than 1 digit in micro
+
+2013-06-28 13:58  strk
+
+	* postgis/lwgeom_in_kml.c, regress/in_kml.sql,
+	  regress/in_kml_expected: Support parsing KML with space between
+	  digits and comma (#2372)
+
+2013-06-25 14:40  dustymugs
+
+	* configure.ac: Comment out call for gdal-config --dep-libs as it
+	  shouldn't be
+	  necessary.
+
+2013-06-25 13:50  strk
+
+	* configure.ac, topology/test/Makefile.in,
+	  topology/test/regress/topogeo_addlinestring_expected,
+	  topology/test/regress/topogeo_addlinestring_expected_newsnap,
+	  topology/test/regress/topogeo_addlinestring_expected_oldsnap:
+	  Base expected TopoGeo_addLinestring output on GEOS version
+	  (#2368)
+
+2013-06-22 02:39  robe
+
+	* Version.config, doc/postgis.xml,
+	  extensions/upgradeable_versions.mk: start rc1dev cycle and switch
+	  docs back to dev site
+
+2013-06-22 02:37  robe
+
+	* ChangeLog, HOWTO_RELEASE, NEWS, Version.config, doc/postgis.xml,
+	  extensions/upgradeable_versions.mk: update ChangeLog and prepare
+	  for tagging 2.1.0beta3
+
+2013-06-21 15:45  strk
+
+	* configure.ac: Do not override JSON_LDFLAGS, fixing --with-jsondir
+	  usage
+
+2013-06-20 22:22  strk
+
+	* NEWS, configure.ac: Add support for libjson-c 0.10+ (#2213)
+
+2013-06-20 06:35  robe
+
+	* .: branch in prep for beta3
+
+2013-06-20 06:24  robe
+
+	* #2336 state level regex wget is too greedy and pulling all states
+	  when KS is chosen
+
+2013-06-13 15:26  dustymugs
+
+	* Fixed handling of schema name when adding overview constraints.
+	  Ticket #2359
+
+2013-06-11 22:52  dustymugs
+
+	* Have cleanup before calls to elog(ERROR, ...)
+
+2013-06-11 22:52  dustymugs
+
+	* Grammar fixes for error messages (active vs passive)
+
+2013-06-08 20:28  robe
+
+	* #2356: quick fix for extensions not building anymore because of
+	  raster upgrade file change from rtpostgis_upgrade_20_minor.sql to
+	  rtpostgis_upgrade_20_21.sql
+	  
+	  Also got rid of some commented out code
+
+2013-06-08 20:09  robe
+
+	* Get rid of postgis_drop_before for extension upgrade -- we don't
+	  need it any more after #2334
+
+2013-06-07 17:39  pramsey
+
+	* #2351, st_distance between geographies wrong
+
+2013-06-05 22:35  pramsey
+
+	* Ignore generated sfcgal.sql
+
+2013-06-05 22:34  pramsey
+
+	* Ignore generated makefile
+
+2013-06-05 21:31  pramsey
+
+	* #2315, geography_distance_uncached: variable ‘tolerance’ set but
+	  not used
+
+2013-06-05 21:01  pramsey
+
+	* #2168, ST_Distance is not always commutative
+
+2013-06-05 20:38  pramsey
+
+	* #2165, ST_NumPoints regression failure with CircularString
+
+2013-06-05 18:11  pramsey
+
+	* #2307, ST_MakeValid outputs invalid geometries
+
+2013-06-04 19:18  dustymugs
+
+	* Added raster upgrade path from 2.0 to 2.1. Ticket #2348
+
+2013-06-04 16:26  strk
+
+	* Fix spelling errors in st_makevalid documentation
+	  
+	  Fixes a couple of spelling errors, and use the full word
+	  'without' instead of the contraction 'w/out'.
+
+2013-06-04 16:22  strk
+
+	* Renew the COPYING gpl-2.0 with last version from gnu.org
+
+2013-06-04 14:13  strk
+
+	* Let DO commands from SQL drop files end up in final upgrade
+	  script
+	  
+	  Should fix upgrade path from 2.0 to 2.1 (#2334)
+
+2013-06-03 20:26  strk
+
+	* Turn lwgeom_backend_switch into a static function
+
+2013-06-03 17:45  strk
+
+	* Another couple of warnings gone
+
+2013-06-03 08:53  strk
+
+	* More unused variables and functions warnings cleaned
+
+2013-06-03 08:26  strk
+
+	* Remove warnings from liblwgeom
+	  
+	  These are mostly unused variables
+
+2013-06-01 11:54  mcayland
+
+	* Fix "array subscript is above array bounds" gcc build warnings on
+	  trunk using a suitable pointer and cast.
+
+2013-05-30 22:16  strk
+
+	* Update expectances after GEOSSnap fixes (#2346)
+
+2013-05-30 17:10  dustymugs
+
+	* Alphabetize built-in map algebra callback functions
+
+2013-05-27 16:04  strk
+
+	* Actually use the --strip-trailing-cr switch, do not check it only
+
+2013-05-27 07:03  strk
+
+	* Use system diff only if it knows how to strip trailing CR (#2344)
+
+2013-05-25 18:14  strk
+
+	* Not all args with a dash are options, only those starting with
+	  one
+
+2013-05-25 18:10  strk
+
+	* Use system diff when available (my implementation is horrible)
+
+2013-05-25 16:58  strk
+
+	* Cleanly handle unsupported switches
+
+2013-05-25 16:49  strk
+
+	* Use consistent formatting for the NEWS file
+
+2013-05-25 16:47  strk
+
+	* Fix swapped obtained/expected in regression failure report
+
+2013-05-24 17:27  dustymugs
+
+	* Refactored use of out-db rasters for regression tests
+
+2013-05-24 17:27  dustymugs
+
+	* Removed unnecessary test due to introduction of
+	  ST_FromGDALRaster()
+
+2013-05-24 06:29  robe
+
+	* hardcode minor for now fix later, get rid of old links
+
+2013-05-24 04:42  robe
+
+	* add Natural Resources Canada (supporting Lidar point cloud)
+
+2013-05-24 04:24  robe
+
+	* this may not work
+
+2013-05-24 04:13  robe
+
+	* 
+
+2013-05-24 04:13  robe
+
+	* 
+
+2013-05-24 04:11  robe
+
+	* minor edit
+
+2013-05-23 22:02  dustymugs
+
+	* Fixed issues caught by clang
+
+2013-05-23 20:21  robe
+
+	* replace defunct credit reference with credits_other_contributors
+
+2013-05-23 19:16  robe
+
+	* oops forgot beginning tag
+
+2013-05-23 04:34  robe
+
+	* credit past is taking up too much prime real estate relegate past
+	  contributors to other section, add missing corporate sponsor
+	  Palantir Technologies (funded geography and funding point cloud),
+	  minor updates to bios, alphabetize core contributors otherwise
+	  have to go by relevance and get into hissing fights
+
+2013-05-22 20:24  strk
+
+	* Avoid (srf()).* construct, known to invoke srf() for each out
+	  field
+	  
+	  Should slightly improve performances of TopoGeo_addLinestring
+	  (in turn used by toTopoGeom)
+
+2013-05-20 10:41  robe
+
+	* #2185: failure on 64-bit windows edb. In event of parse error
+	  return PG_RETURN_NULL() instead of forcing functions not to cache
+	  (revert last sugar coat change)
+
+2013-05-20 00:02  robe
+
+	* move Bborie Park up to PSC section and augment bio on all the
+	  work he's been doing
+
+2013-05-19 19:01  robe
+
+	* #2185: bah still crashes sometimes on 9.2 -- better just remove
+	  teh immutable entirely fromt hese functions. No one should be
+	  suing these anyway since they are deprecated
+
+2013-05-19 18:41  robe
+
+	* #2185: bandage for 9.2 EDB x64 basically set all these SQL
+	  functions to have a cost of 1 (like the others) so they rarely
+	  will ever cache. It's super sugar coating the issue -- there is
+	  something I feel wrong with our parser that it's properly
+	  cleaning on error and corrupting shared memory when things are
+	  cached. but at least regress.sql now passes under 9.2 edb 64
+
+2013-05-19 15:37  robe
+
+	* #2332 ammendment correct the note to note we are no longer just
+	  wrapping the otehr function
+
+2013-05-19 13:01  robe
+
+	* #2332 windows 64 EDB crasher on invalid wkb using ST_GeomFromWKB
+	  - fix by using similar logic to go ST_GeomFromEWKB and skipping
+	  intermediary call.
+
+2013-05-18 21:07  strk
+
+	* Use finite() instead of isfinite()
+	  
+	  The former is also already used under postgis/ so we already rely
+	  on it. The latter is been reported to be unavailable on Solaris.
+
+2013-05-17 22:53  strk
+
+	* Ensure local liblwgeom and libpgcommon includes are scanned first
+
+2013-05-16 12:37  robe
+
+	* clarify soft upgrade requirement for PostGIS 2.0
+
+2013-05-15 23:55  dustymugs
+
+	* Added SFCGAL version output
+
+2013-05-14 22:38  dustymugs
+
+	* Allow correct handling of sect2 tags in chunked html
+
+2013-05-14 21:03  robe
+
+	* #2329: fix bug in where condition of backup
+
+2013-05-14 20:42  dustymugs
+
+	* Fixed Raster Processing section
+
+2013-05-14 18:52  dustymugs
+
+	* Reorganized the entire Raster Processing section. Lets see if
+	  this makes
+	  things easier to find... or not.
+
+2013-05-14 14:32  dustymugs
+
+	* Minor tweaks to ST_ColorMap() doc
+
+2013-05-14 12:57  robe
+
+	* alphabetize raster processing section - impossible to find stuff
+	  otherwise
+
+2013-05-14 12:10  robe
+
+	* #2326: describe behavior of having no non-datavalue as by design.
+	  Also change all examples to explicitly specify band (though we
+	  have only 1 band anyway) for anal clarity. (forgot edits in last
+	  commit
+
+2013-05-14 12:08  robe
+
+	* #2326: describe behavior of having no non-datavalue as by design.
+	  Also change all examples to explicitly specify band (though we
+	  have only 1 band anyway) for anal clarity.
+
+2013-05-13 09:42  strk
+
+	* Revert changes in test for wmsservers clients
+	  
+	  Augment min client messages to ERROR so that new deprecation
+	  warnings don't need to be expected.
+
+2013-05-13 06:45  robe
+
+	* fix typo in ST_ColorMap query
+
+2013-05-13 04:14  robe
+
+	* dustymugs must have made a correction to pseudo_color -- no black
+	  background anymore, also add in visualizations for new named
+	  color ramps and liink fromST_AsPNNG TOST_COLRMap
+
+2013-05-12 19:40  colivier
+
+	* #2323. Commit it and br .po for sfcgal doc
+
+2013-05-12 08:43  colivier
+
+	* #2323. Add reference_sfcgal.xml.pot
+
+2013-05-12 04:19  robe
+
+	* bump trunk to 2.1.0beta3dev
+
+2013-05-12 03:08  robe
+
+	* switch download location to downloads.osgeo.org
+
+2013-05-12 03:05  robe
+
+	* prep for beta2 tagging
+
+2013-05-12 02:27  robe
+
+	* #1898, #2322 move geos functions in lwtin.c to lwgeom_geos.c to
+	  prevent unhealthy dependency on geos (for loader tools and also
+	  image generator), roll back change to cunit for loader (the geos
+	  includes). bump up version number to beta2dev
+
+2013-05-11 16:05  robe
+
+	* one more try
+
+2013-05-11 15:55  robe
+
+	* try again. committed obsolete version last time.
+
+2013-05-11 15:50  robe
+
+	* fix booboo
+
+2013-05-11 15:46  robe
+
+	* update version number to beta1 in prep for tagging, upgrade from
+	  old dev, amendments to how to release, rebuild of unpackaged
+	  scripts
+
+2013-05-11 15:32  robe
+
+	* change 3d icons, better distinction between required and
+	  enhnaced, minor grammar correction
+
+2013-05-11 13:24  colivier
+
+	* Related to #2321. SFCGAL doc entry in installation.xml.
+
+2013-05-11 07:47  colivier
+
+	* #2319 fix. Update SFCGAL regress tests after #1994 functions
+	  renaming
+
+2013-05-11 05:20  robe
+
+	* have sfcgal function appear in special index and also flag if a
+	  function requires sfcgal in matrix
+
+2013-05-11 03:18  robe
+
+	* update screen outputs
+
+2013-05-11 02:34  robe
+
+	* missed one comment
+
+2013-05-11 02:32  robe
+
+	* repeat create extension instructions in short -- heck its shorter
+	  than the crap we have listed. Also correect compile instructions
+	  (with-raster and -with-topology no longer need stating) get rid
+	  of other obsolete statements
+
+2013-05-11 02:14  robe
+
+	* update ReadMe to include SFCGAL and preferred versions of
+	  GEOS/GDAL/CGAL. Put pretty anchors in install so doesn't create
+	  hard to bookmark numbered anchors.
+
+2013-05-11 01:56  robe
+
+	* update change log in preparation for beta1 release
+
+2013-05-10 22:27  dustymugs
+
+	* Added more predefined color ramps for ST_ColorMap(raster).
+	  Removed RGB
+	  <-> HSV colorspace conversion as it sometimes resulted in strange
+	  answers when interpolating.
+
+2013-05-10 22:27  dustymugs
+
+	* Remove noisy info message. A big source of confusion. Ticket
+	  #2309
+
+2013-05-10 17:17  colivier
+
+	* cf #2318, add a optional additional version parameter in
+	  ST_ForceSFS, handle both 1.1 and 1.2. default is 1.1
+
+2013-05-10 16:23  colivier
+
+	* Use ST_MinkowskiSum rather than ST_Minkowski userland.
+
+2013-05-10 16:17  colivier
+
+	* add a flag for SFCGAL function cf #2317. Remove useless
+	  ST_MakeSolid doc entry
+
+2013-05-10 15:00  strk
+
+	* ST_Force_XXX renamed to ST_ForceXXX
+
+2013-05-10 13:24  colivier
+
+	* Update NEWS related to #2254 and #1823
+
+2013-05-10 13:02  colivier
+
+	* Change ST_force_sfs to ST_ForceSFS, also in ST_ConcaveHull
+	  calls...
+
+2013-05-10 11:43  colivier
+
+	* Change ST_force_sfs to ST_ForceSFS
+
+2013-05-10 11:40  colivier
+
+	* output COLLECTION of Polygon for TIN and PolyhedralSurface, for
+	  ST_ForceSFS (instead of MultiPolygon). Thanks to Sandro for these
+	  input
+
+2013-05-10 10:47  colivier
+
+	* Fix #2314. Add a unit test for postgis_sfcgal_version
+
+2013-05-10 07:51  strk
+
+	* Fix more compiler warnings
+	  
+	  There are still some that would be nice to fix, but it's mostly
+	  the array subscript is above array bounds one
+
+2013-05-10 07:43  robe
+
+	* link to ST_NumBands
+
+2013-05-10 07:42  robe
+
+	* example of a custom color map
+
+2013-05-10 07:17  strk
+
+	* Fix compiler warnings in lwgeom_functions_analytic
+
+2013-05-10 07:06  strk
+
+	* Fix implicit declaration of function 'tolower' warning
+
+2013-05-10 07:00  colivier
+
+	* Related to #2313
+
+2013-05-10 06:57  robe
+
+	* #2290 provide visual example of color map
+
+2013-05-10 00:09  dustymugs
+
+	* Added generated sfcgal files
+
+2013-05-10 00:09  dustymugs
+
+	* Addition of ST_ColorMap(raster). Ticket #2290
+
+2013-05-09 23:46  dustymugs
+
+	* Prevent compile error for when CGAL isn't wanted.
+
+2013-05-09 22:12  colivier
+
+	* add st_force_sfs doc
+
+2013-05-09 19:38  colivier
+
+	* Add SFCGAL support cf #2254. Include SFCGAL support, postgis
+	  backend handling (GEOS/SFCGAL). Regress tests, documentation
+	  prototypes and also additional force_sfs function.
+
+2013-05-09 14:22  robe
+
+	* update extension install to include tiger geocoder and some
+	  helpful commands you can run from psql
+
+2013-05-09 09:24  strk
+
+	* Fix potential access to uninitialized value
+	  
+	  It would have happened on malformed COMPOUNDCURVE (unlikely).
+	  Hushes compiler warning.
+
+2013-05-09 06:34  robe
+
+	* start accounting for more raster helper types - addbandarg etc.
+
+2013-05-08 20:37  pramsey
+
+	* #2298, ST_AsGML geography crashable with monkey inputs
+
+2013-05-08 05:18  robe
+
+	* #2242: Clarify behavior of ST_Union with NULLS
+
+2013-05-08 05:05  robe
+
+	* put full version number on st_tpi, st_tri, st_roughness
+
+2013-05-07 23:04  dustymugs
+
+	* Commented out debug call to non-existant function
+	  nd_stats_to_grid().
+	  Ticket #2282
+
+2013-05-07 15:39  dustymugs
+
+	* Added ST_TRI(raster). Ticket #2164. Thanks to Nathaniel Clay for
+	  writing the function and required docs and regression tests.
+
+2013-05-07 15:39  dustymugs
+
+	* Added ST_Roughness(raster). Ticket #2302. Thanks to Nathaniel
+	  Clay for writing the function and required docs and regression
+	  tests.
+
+2013-05-07 15:39  dustymugs
+
+	* Added ST_TPI(raster). Ticket #2163. Thanks to Nathaniel Clay for
+	  writing
+	  the function and required docs and regression tests.
+
+2013-05-07 15:32  robe
+
+	* try again
+
+2013-05-07 15:00  robe
+
+	* put in author info ePub just shows unknown for author (annoying).
+	  Move editor into authorgroup. Also put in productname and number
+
+2013-05-07 06:05  robe
+
+	* fix PGCONFIG (change to @PG_CONFIG@ ) to be consistent with
+	  configure variable change.
+
+2013-05-06 08:30  strk
+
+	* Ensure local liblwgeom dir is added first to include path in
+	  loader/
+
+2013-05-06 07:58  robe
+
+	* Add GEOS to compile cunit flags of shp2pgsql to prevent error in
+	  #1898
+
+2013-05-06 06:48  robe
+
+	* #1898: Nathan Wagner's patch that adds a flag 2 to allow
+	  ST_DelaunayTriangles to dump out a TIN. Just commit and see if
+	  winnie has same issue with shp2pgsql-gui checks
+
+2013-05-05 22:35  robe
+
+	* #1818 slight doc change move the FromGeoHash family to
+	  constructor section and link back to ST_GeoHash output and amend
+	  credits to Jason Smith
+
+2013-05-05 16:34  robe
+
+	* #2118: add enhanced note to ST_Boundary (to note Nathan Wagner
+	  ST_Triangle support feature)
+
+2013-05-05 16:24  robe
+
+	* #2118: ST_Boundary support for Triangle type
+
+2013-05-05 01:37  robe
+
+	* change output naming of epub to be consistent with pdf and also
+	  try to add in the css include
+
+2013-05-04 20:15  robe
+
+	* bah dbtoepub doesn't understand includes
+
+2013-05-04 20:04  robe
+
+	* switch back to rout but attempt a -I include
+
+2013-05-04 19:42  robe
+
+	* change epub to be built in html so relative search for images
+	  doesn't break, fix deprecated links
+
+2013-05-04 16:59  robe
+
+	* #2204: regina programming in dark trying to put in epub build
+	  logic
+
+2013-05-04 13:54  robe
+
+	* change log tables generated to have 21 in name (topology garden
+	  test is far from done)
+
+2013-05-04 13:18  robe
+
+	* #2295 Nathan Wagner patch to support for dumping circular strings
+	  in dump points
+
+2013-05-04 01:16  robe
+
+	* #2293: patch to throw an error for curved geoms on ST_DumpPoints
+	  rather than crash.
+
+2013-05-03 05:54  robe
+
+	* #1292 commit patch ST_SnapToGrid returns a value of of range
+
+2013-05-03 04:45  robe
+
+	* #1818 credit updates J. Smith (also fix web link in CREDITS file)
+
+2013-05-03 04:12  robe
+
+	* #1818: geohash one more file forgot to commit.
+
+2013-05-03 04:05  robe
+
+	* #1818: oops forgot to add the tests
+
+2013-05-03 04:04  robe
+
+	* #1818: geohash patch hashbox to geom
+
+2013-05-02 12:03  robe
+
+	* #2262 change box cast from implicit to assignment
+
+2013-05-02 12:00  robe
+
+	* add 2.0.3 and 2.1 sections, break out 2.1 changed from new
+
+2013-05-01 13:48  robe
+
+	* ban strk's annoying warning note about using deprecated functions
+
+2013-05-01 05:51  robe
+
+	* revise unpackaged to include pagc stuff
+
+2013-05-01 05:05  robe
+
+	* fix formatting was causing miss parsing of zips
+
+2013-04-30 03:39  robe
+
+	* one more clarification
+
+2013-04-30 03:35  robe
+
+	* clarify under what conditions you can compile without GDAL
+
+2013-04-29 05:31  robe
+
+	* #2279 fix typo got smallint and int4 confused
+
+2013-04-28 21:27  robe
+
+	* #2279: fix inability to upgrade from 2.0 to 2.1 by renaming old
+	  geog/geom selectivity functions to new name (if they are
+	  currently used) aand then allowing the standard upgrade to steam
+	  roll over the definitions.
+
+2013-04-26 14:47  dustymugs
+
+	* Added ST_Summary(raster). Ticket #2280
+
+2013-04-25 10:07  robe
+
+	* updates to instructions more coming though should probably just
+	  put n onlin documentation
+
+2013-04-25 10:07  robe
+
+	* #2260: revise to use new API structure of pagc standardizer
+
+2013-04-24 15:54  dustymugs
+
+	* Added better handling of file paths for msys
+
+2013-04-24 03:34  robe
+
+	* Add update path from 2.0.3 to 2.1.0SVN
+
+2013-04-23 23:46  dustymugs
+
+	* Added parameter to ST_AsBinary(raster) to permit out-db bands to
+	  be treated as in-db. Ticket #2222
+
+2013-04-23 21:48  pramsey
+
+	* #2275, revert configure argument with-pgconfig
+
+2013-04-23 21:03  pramsey
+
+	* #2277, potential segfault condition removed
+
+2013-04-23 20:37  dustymugs
+
+	* Added test for loading out-db rasters in raster2pgsql
+
+2013-04-23 19:32  dustymugs
+
+	* Explicitly initialize memory as valgrind complains
+
+2013-04-23 19:32  dustymugs
+
+	* Added bash versions of "bootstrapping" code for rt_addband test
+
+2013-04-23 19:32  dustymugs
+
+	* Addition of ST_AddBand(raster, ...) for out-db bands. Ticket
+	  #2276
+
+2013-04-17 12:46  robe
+
+	* oops had wrong data type for tables
+
+2013-04-17 06:58  strk
+
+	* Properly escape dashes in man pages
+	  
+	  Patch by Markus Wanner <markus at bluegap.ch>
+
+2013-04-16 18:23  dustymugs
+
+	* Added numerical parameters version of ST_SetGeoReference(raster).
+	  Ticket #613
+
+2013-04-16 15:21  pramsey
+
+	* Change PGCONFIG to PG_CONFIG
+
+2013-04-16 07:40  strk
+
+	* Link to wikipedia article about GeoHash from ST_GeoHash
+
+2013-04-15 21:40  dustymugs
+
+	* Emit warning when changing a raster's georeference if raster has
+	  any
+	  out-db bands. Also updated docs with note. Ticket #2244
+
+2013-04-15 21:14  robe
+
+	* add new use_pagc_addess_parser switch in list
+
+2013-04-15 08:02  strk
+
+	* Add -s to usage string of postgis_restore.pl. See #2264
+
+2013-04-13 18:26  mcayland
+
+	* Associated CLI fix for #2272: shp2pgsql-gui crashes when given
+	  filenames with dots.
+	  
+	  After some experimentation, the best solution seems to be to use
+	  a separate scan to
+	  remove the extension before finding the non-path section when
+	  deriving the table
+	  name.
+
+2013-04-13 17:36  mcayland
+
+	* Fix for bug #2272: shp2pgsql-gui crashes when given filenames
+	  with dots.
+	  
+	  This was a combination of two bugs: firstly, we weren't
+	  initialising the
+	  state variable field_names to NULL, and so if the variable
+	  happened to
+	  be filled with junk and we were unable to import a shape file, we
+	  would
+	  end up freeing a random pointer.
+	  
+	  Secondly, shapelib tries to be clever and strip off any file
+	  extension
+	  by searching for a "." character from the end of the filename,
+	  hence
+	  causing the truncation of the filename. Resolve this by leaving
+	  the
+	  .shp/.dbf extension from the file selector in the filename string
+	  so
+	  that shapelib does the right thing.
+
+2013-04-13 07:15  robe
+
+	* #2260 - fix normalize discrepancy in pagc handling service drives
+
+2013-04-12 18:46  pramsey
+
+	* #945, clean up build artefacts and upgrade script
+
+2013-04-12 18:33  pramsey
+
+	* #945, remove the old selectivity code, now no longer being called
+
+2013-04-12 16:20  strk
+
+	* Rewrite the postgis_restore.pl improvement line
+	  
+	  The commit message was also wrong, it's not the dump having
+	  postgis
+	  in custom schema but the new install...
+
+2013-04-12 16:10  strk
+
+	* postgis_restore.pl support for dump with postgis in custom schema
+	  
+	  See #2264 -- thanks Thomas (frost242)
+
+2013-04-11 20:14  dustymugs
+
+	* Prevent parallel make of raster. Ticket 2271
+
+2013-04-10 20:06  robe
+
+	* give license faq a permanent pretty anchor.
+
+2013-04-09 23:45  dustymugs
+
+	* Fix expression-based ST_MapAlgebra resulting in regression
+	  failures on some machines
+
+2013-04-09 22:43  strk
+
+	* Fix access to random memory during ANALYZE
+	  
+	  The bug was introduced with previous commit, see #2269
+	  
+	  As part of this fix, the stawidth field of pg_statistics is
+	  changed to represent the average _compressed_ size rather
+	  than the average _uncompressed_ size of non-null geometry
+	  values. This may have some consequence on the planner (not
+	  known at time of commit).
+
+2013-04-09 18:35  strk
+
+	* Avoid uselessly detoasting full geometries on ANALYZE (#2269)
+
+2013-04-06 18:14  dustymugs
+
+	* Removed debug statements
+
+2013-04-06 18:11  dustymugs
+
+	* GBOX variables not initialized for empty geometries. Ticket #2257
+
+2013-04-05 14:37  robe
+
+	* change to use some elements from parse_address
+
+2013-04-05 14:28  robe
+
+	* add pagc regression testing. Will upload the regress output once
+	  I look into the regression failures
+
+2013-04-04 06:46  robe
+
+	* #2192: doco patch
+
+2013-04-03 22:53  robe
+
+	* #2258 get rid of explicit public (so people can install postgis
+	  in any schema they want), but insure we use security invoker to
+	  call new st_esimatedExtent to prevent malicious code injection.
+
+2013-04-03 13:39  robe
+
+	* mark pagc lookup tables is_custom = true as editable
+
+2013-04-03 12:54  robe
+
+	* #2261: fix creation of next next upgrade script, add null
+	  protection for pagc_normalize_address
+
+2013-04-02 22:22  robe
+
+	* #2193: implement upgrade next next functionality hack, implement
+	  swap -- SELECT
+	  set_geocode_setting('use_pagc_address_parser','true'); will cause
+	  geocoder to use pagc address parser instead of build in
+	  normalizer
+
+2013-04-02 20:51  robe
+
+	* #2193: get rid of redundant call.
+
+2013-04-02 20:46  robe
+
+	* #2193 integrate pagc in extension (loads helper tables) and also
+	  upgrade and create scripts, modify tables some more. Still need
+	  to put in another folder with c files for compile and in manual
+	  on how to enable.
+
+2013-04-02 15:07  robe
+
+	* #2193: pretype (not ideal because norm_addy doesn't have slot for
+	  it so just stuff in streettypeabbrev ) .norm_addy should ideally
+	  be changed.
+
+2013-04-02 14:57  robe
+
+	* forgot the pre direction
+
+2013-04-02 14:43  robe
+
+	* First step of integrating the pagc normalizer, add the tables and
+	  wrapper function that return a norm_addy object and also a
+	  geocode_setting option to swap out old address parser with pagc
+
+2013-03-31 01:55  robe
+
+	* #2018 mark ST_Dwithin as also supporting curves. Just taking
+	  rpamsey's word for this -- will test later.
+
+2013-03-30 01:19  robe
+
+	* #2018: highlight that curves are now supported - examples
+	  forthcoming. Also broke geography into separate example section
+
+2013-03-29 20:38  pramsey
+
+	* #2018, Remove old bruteforce function and replace with new one.
+
+2013-03-29 20:37  dustymugs
+
+	* Set CFLAGS in loader cunit tests so that mingw can run tests
+
+2013-03-29 16:47  dustymugs
+
+	* Removed commented out variants of ST_MapAlgebra removed in
+	  r11222.
+
+2013-03-29 16:36  dustymugs
+
+	* Added news about Ticket #2133
+
+2013-03-29 16:34  dustymugs
+
+	* Code cleanup to shut gcc up
+
+2013-03-29 16:33  dustymugs
+
+	* Refactored expression variant of ST_MapAlgebra() to be faster.
+	  Performance is almost as good as ST_MapAlgebraExpr(). Ticket
+	  #2133
+
+2013-03-29 15:55  robe
+
+	* fix link
+
+2013-03-28 22:11  pramsey
+
+	* #2018, Distance calculation support for arc features (circstring,
+	  compoundcurve, curvepolygon)
+
+2013-03-28 13:32  robe
+
+	* change variable used to __MINGW64_VERSION_MAJOR (the mingw64_w32
+	  doesn't have __MINGW64_ (only the mingw64-w64 has that)
+
+2013-03-28 09:30  robe
+
+	* #1668: if mingw64 and it returns <0 switch to _vscprintf native
+	  windows implementation. Thanks to swoodbridge for pointing out
+	  the define to use.
+
+2013-03-27 13:30  dustymugs
+
+	* Fix bad dimensions when rescaling rasters with default
+	  geotransform
+	  matrix. Ticket #2251
+
+2013-03-26 15:47  pramsey
+
+	* flag #945 as complete
+
+2013-03-26 15:24  pramsey
+
+	* #2201, ST_GeoHash wrong on boundaries
+
+2013-03-26 13:12  pramsey
+
+	* #2186, gui progress bar update is slowing loads
+
+2013-03-26 04:14  dustymugs
+
+	* Enhanced ST_Union(raster, uniontype) to union all bands of all
+	  rasters.
+	  Ticket #2200.
+
+2013-03-25 18:45  colivier
+
+	* revert wrong regress encoding stuff from r11205
+
+2013-03-25 18:41  colivier
+
+	* Related to #1553. Add missing free in cu_surface cunit to be
+	  valgrind clean. As TGEOM was not used as storage serialization, i
+	  purely remove TGEOM for now, and kept only the
+	  TIN/POLYHEDRALSURFACE lwgeom expression (will see in future if we
+	  really need to have a 3D topological storage PostGIS side)
+
+2013-03-25 17:17  dustymugs
+
+	* Removed old raster core tests from configure
+
+2013-03-25 17:11  dustymugs
+
+	* Delete old core raster tests. Ticket #2115
+
+2013-03-25 03:14  dustymugs
+
+	* Addition of ST_FromGDALRaster(). This is what happens on a long
+	  airplane
+	  flight! Ticket #2123.
+
+2013-03-25 03:08  dustymugs
+
+	* Added item regarding -n of raster2pgsql. Ticket #2231
+
+2013-03-25 03:05  dustymugs
+
+	* Added ability to specify name of filename column in raster2pgsql.
+	  More
+	  stuff being done stuck in a tube at 30k feet.
+
+2013-03-22 16:12  strk
+
+	* Revert "Add '-x c' switch to CPP / CC when used as SQL
+	  preprocessor"
+	  
+	  It seems it wasn't needed, see #2239
+
+2013-03-22 12:34  strk
+
+	* Fix lineal TopoJSON output to keep multi components separated
+	  
+	  REF: #2228
+
+2013-03-22 11:20  strk
+
+	* Add '-x c' switch to CPP / CC when used as SQL preprocessor
+	  
+	  Hopefully it'll set us free to name our input files with any
+	  extension we decide.
+
+2013-03-21 21:28  dustymugs
+
+	* Fix ST_InvDistWeigh4MA() to handle a situation when neighborhood
+	  is
+	  empty except the center pixel.
+
+2013-03-21 16:15  strk
+
+	* Fix areal TopoJSON output to group and order polygon rings
+	  (#2228)
+
+2013-03-21 09:01  strk
+
+	* Review comments above Makefile rule to generate .sql from .sql.in
+
+2013-03-20 17:38  strk
+
+	* Have functions deprecated in 2.1.0 raise a WARNING message
+	  (#1994)
+	  
+	  Drop use of some deprecated functions by other functions
+	  (as exposed by testsuite).
+	  
+	  Add a _postgis_deprecate service function for the message, so we
+	  can change from WARNING to NOTICE or we can tweak the message,
+	  in a central place.
+
+2013-03-20 16:47  strk
+
+	* Deprecate non-CamelCase linear referencing function (#1994)
+	  
+	  - ST_Line_Interpolate_Point renamed to ST_LineInterpolatePoint
+	  - ST_Line_Substring renamed to ST_LineSubstring
+	  - ST_Line_Locate_Point renamed to ST_LineLocatePoint
+	  
+	  Tests updated to use the new signature, docs updated to show the
+	  new signature and report deprecations
+
+2013-03-20 16:10  strk
+
+	* Add perturbating edges in TopoJSON test
+
+2013-03-20 12:18  strk
+
+	* Update TopoJSON example with correct output, add note about arc
+	  indices
+
+2013-03-20 11:44  strk
+
+	* Speedup areal TopoJSON output routine to use edge walking
+	  
+	  Now it takes 6% of the time to do the same thing !
+	  
+	  Tweak tests to expect new arcs numbering and order.
+	  Also fixes missing comma separating polygon ring arcs.
+
+2013-03-20 10:27  strk
+
+	* Fix AsTopoJSON call in testcase
+
+2013-03-20 10:26  strk
+
+	* Properly encode TopoJSON.sql.in dependency into topology.sql
+
+2013-03-20 07:48  strk
+
+	* Oops, forgot to add topojson test expectancy (#2240)
+
+2013-03-19 18:29  strk
+
+	* Add AsTopoJSON(TopoGeometry) function (#2228)
+
+2013-03-19 11:52  strk
+
+	* Cleanup and integrate documentation of ST_GetFaceEdges
+
+2013-03-19 09:59  strk
+
+	* Move GML function under a new export/ subdir
+
+2013-03-19 09:53  strk
+
+	* Drop the .c suffix of sql files to preprocess under topology/ dir
+
+2013-03-19 09:16  strk
+
+	* Drop the .c suffix of sql files to preprocess under raster/ dir
+
+2013-03-18 19:50  robe
+
+	* #2238: clarify neighborhood distance terminology
+
+2013-03-18 18:14  strk
+
+	* Drop unused variables
+
+2013-03-18 17:20  strk
+
+	* Drop the .c suffix of sql files to preprocess
+	  
+	  The suffix was added to make compilers happy about preprocessing,
+	  but invoking cpp directly should be just fine (SQLPP macro)
+	  
+	  This is an experimental change under postgis/, if everyone is
+	  happy
+	  the same thing will be done for raster/ and topology/
+
+2013-03-18 00:49  dustymugs
+
+	* Fixed unescaped % in RAISE message. Ticket #2237
+
+2013-03-16 15:30  robe
+
+	* fix typo in ST_AsGDALRaster example
+
+2013-03-08 13:58  strk
+
+	* Make test for ST_PointOnSurface accept any contained point as
+	  valid
+	  
+	  This is to support a change in GEOS 3.3.9 / 3.4.0 that started
+	  giving different (but still valid) results.
+	  See http://trac.osgeo.org/geos/ticket/623
+
+2013-03-08 09:19  strk
+
+	* Reword ST_Simplify(TopoGeometry) description (#1687)
+
+2013-03-07 17:08  strk
+
+	* Document ST_Simplify(TopoGeometry) -- closes #1687
+
+2013-03-07 16:14  strk
+
+	* Add ST_Simplify override for TopoGeometry objects (#1687)
+
+2013-03-07 07:31  strk
+
+	* Split test for #1968 in two parts, to avoid false negative
+
+2013-03-06 18:37  strk
+
+	* Improve the test for #1968 to also check duplicated components
+
+2013-03-06 18:11  strk
+
+	* Fix missing edge from toTopoGeom return (#1968)
+
+2013-03-06 15:33  dustymugs
+
+	* Bad switch for debug output
+
+2013-03-06 15:20  strk
+
+	* Allow adding points at precision distance with TopoGeo_addPoint
+
+2013-03-05 16:57  dustymugs
+
+	* Minor code cleanup in raster2pgsql and additional debug output
+	  for
+	  rt_api
+
+2013-03-05 09:10  strk
+
+	* Make libjson-c optional adding --without-json configure switch
+	  (#2202)
+
+2013-03-04 17:57  strk
+
+	* Fix equality operator between EMPTY and point on origin (#2110)
+
+2013-03-04 17:02  strk
+
+	* Drop PDF version of EJB3 spatial tutorial
+	  
+	  There's an ODT version of the manual, pdf can be generated
+
+2013-02-28 17:56  strk
+
+	* Add regression test for #2216
+
+2013-02-28 17:42  strk
+
+	* Fix parsing GeoJSON of multipolygon with holes (#2216)
+
+2013-02-28 17:04  strk
+
+	* Add lwgeom_from_geojson to liblwgeom, add cunit test, fix memory
+	  leak
+
+2013-02-26 23:23  dustymugs
+
+	* Added ST_MinConvexHull(raster). Ticket #2210
+
+2013-02-26 17:42  dustymugs
+
+	* Changed name of exclusion constraint to by dynamic due to
+	  conflict of
+	  implicit index names. Ticket #2215
+
+2013-02-26 17:42  dustymugs
+
+	* Addition debug output for rt_raster_from_gdal_dataset()
+
+2013-02-23 05:08  robe
+
+	* mordernize faq on creating spatial table.
+
+2013-02-23 02:04  robe
+
+	* #2209: reword to encoding raster issue to not specify explicit
+	  byte count
+
+2013-02-22 18:26  pramsey
+
+	* #1292, go back to nudging geodetic coordinates (realityexists)
+
+2013-02-21 15:53  robe
+
+	* remove duped qandset tags
+
+2013-02-21 14:09  robe
+
+	* missing para tag
+
+2013-02-21 13:31  robe
+
+	* oops forgot pretty anchor
+
+2013-02-21 13:29  robe
+
+	* document issue in ticket #2209 in FAQ. Probably only affects me,
+	  but who knows.
+
+2013-02-19 23:03  robe
+
+	* #2208 : document that ST_PointN no longer works with first
+	  linestring of multilinestring
+
+2013-02-18 04:17  dustymugs
+
+	* Wrong debug output function
+
+2013-02-17 19:27  robe
+
+	* had type and name swapped
+
+2013-02-17 18:37  robe
+
+	* ST_MapAlgebra: create variablelist and move much of commentary to
+	  that so page is more easily digestable
+
+2013-02-17 16:24  dustymugs
+
+	* Fixed handling of out-db rasters with no geotransform matrix
+
+2013-02-16 21:47  dustymugs
+
+	* Additional debug output for rt_raster_gdal_warp()
+
+2013-02-16 21:47  dustymugs
+
+	* Update raster TODO as it was sorely out of date
+
+2013-02-16 01:00  dustymugs
+
+	* Faster ST_Union() done using memcpy when possible
+
+2013-02-15 23:53  dustymugs
+
+	* Changed how rasters with unknown SRID and default geotransform
+	  are
+	  handled when calling GDAL Warp API. Ticket #2203
+
+2013-02-09 06:08  robe
+
+	* change check geos to be 3.4 (3.4 is the new standard of
+	  excellence)
+
+2013-02-09 05:24  robe
+
+	* get rid of use of xml tags in arg - messing up formatting of
+	  cheat sheet gen
+
+2013-02-09 05:17  robe
+
+	* missed one
+
+2013-02-09 05:16  robe
+
+	* fix version number -- should change to read from config at some
+	  point, but too lazy to figure that out right now
+
+2013-02-09 04:29  robe
+
+	* add styles to avoid page breaks in awkward places
+
+2013-02-09 03:45  robe
+
+	* update to summary of what's new in PostGIS 2.1 - this will be a
+	  really slick release :). Fix doc links in cheatsheet generator
+
+2013-02-07 20:49  pramsey
+
+	* Expand size of generic cache to allow future
+	  pointcloud cache to sneak into it if necessary
+
+2013-02-07 17:16  dustymugs
+
+	* Corrected use of pfree instead of PG_FREE_IF_COPY
+
+2013-02-07 17:16  dustymugs
+
+	* Additional assert() calls. Will need to add usage of NDEBUG flag
+	  to turn
+	  off assert() for non-debug builds
+
+2013-02-07 06:31  robe
+
+	* uhh how could we forget to mention the cool
+	  ST_Union(rast,unionarg) is new in PostGIS 2.1. Got rid of some
+	  other notes as its only that annoying ST_Union(rast,uniontype)
+	  that's a sore in my back.
+
+2013-02-06 21:38  robe
+
+	* #2199: clarify ST_Union(rast) multiband union feature is just for
+	  first variant. A bit too verbose, but at least I won't be
+	  confused anymore.
+
+2013-02-04 19:07  dustymugs
+
+	* Fixed dimension error of bands when using ST_Tile on out-db
+	  rasters.
+	  Ticket #2198
+
+2013-02-04 19:07  dustymugs
+
+	* Additional calls to assert() and better checking of out-db raster
+	  bands
+
+2013-02-04 19:07  dustymugs
+
+	* Removed some unnecessary assert() calls
+
+2013-02-02 23:48  robe
+
+	* #2190: further cleanup of topology existence checking so
+	  regresses for 9.3. Should pass with flying colors now.
+
+2013-02-02 22:12  robe
+
+	* fix for 9.3 -- pg 9.3 seems to throw errors sooner so we need to
+	  check a topology exists before trying to query it.
+
+2013-02-01 20:13  robe
+
+	* fix gdal_translate examples (port now required) and have typos in
+	  syntax
+
+2013-01-29 15:25  dustymugs
+
+	* Added check that raster metadata check and warn if not
+
+2013-01-29 14:48  dustymugs
+
+	* Remove debug output from rt_raster_gdal_warp()
+
+2013-01-28 23:01  dustymugs
+
+	* Fix function parameter value overflow that caused problems when
+	  copying
+	  data from a GDAL dataset. Problem first appeared in ST_Resize().
+	  Ticket #2188
+
+2013-01-28 23:01  dustymugs
+
+	* Code cleanup of rt_raster_gdal_warp()
+
+2013-01-26 18:17  robe
+
+	* ST_Perimeter not being flagged in matrix as geography function
+	  because of double function synopsis
+
+2013-01-26 17:31  robe
+
+	* link happiness -- add ref to postgresql math functions so people
+	  aren't puzzled by degrees, pi, radians where they came from
+
+2013-01-26 17:27  robe
+
+	* clarify distance is in meters in the short-descrip that shows in
+	  db environment
+
+2013-01-26 17:22  robe
+
+	* ST_Project -- somebody didn't follow protocol and didn't tag
+	  PostGIS version when they added this
+
+2013-01-26 02:42  robe
+
+	* spell degrees correctly -- its degrees not degreees
+
+2013-01-26 02:32  robe
+
+	* #657: correct the documentation on ST_Project to reflect it
+	  expects bearing measured in radians and how to handle for both
+	  degrees and radians
+
+2013-01-25 11:03  strk
+
+	* Support dumps where the geometry column has a mixEdCaseD name
+
+2013-01-24 21:15  strk
+
+	* Properly copy topologies with Z value (#2184)
+
+2013-01-20 16:56  dustymugs
+
+	* Fix issue with outdb rasters with no SRID and ST_Resize (GDAL
+	  warp
+	  calls). Ticket #2182
+
+2013-01-18 18:09  strk
+
+	* Have ST_Summary advertise presence of known srid with an [S] flag
+	  
+	  Closes #2178
+
+2013-01-18 14:10  robe
+
+	* obsolete links
+
+2013-01-18 08:55  robe
+
+	* update news with new tiger geocoder features
+
+2013-01-17 08:05  strk
+
+	* Prefer boolean predicates over overlay ops in ST_ChangeEdgeGeom
+	  
+	  Further reduces robustness issues and squeezes another bit of
+	  performance.
+
+2013-01-16 21:42  strk
+
+	* Drop useless input endpoints relate check in ST_ChangeEdgeGeom
+
+2013-01-16 15:14  strk
+
+	* Make ST_ChangeEdgeGeom motion collision detection code more
+	  robust
+	  
+	  The new model avoids a call to GEOSSymDifference but rather
+	  checks
+	  each candidate node against both "motion ranges" containment.
+	  It still constructs something, but only MULTIPOINT, which should
+	  be safe. Haven't profiled but the new code should also be faster
+	  than the previous. Fixes ticket #2176, includes testcase for it.
+
+2013-01-16 14:24  robe
+
+	* change to about link to show new website link
+
+2013-01-16 09:42  robe
+
+	* fix formatting and word changes to tiger extension install
+	  section
+
+2013-01-16 09:16  robe
+
+	* update to reflect new protocol when we are on new site. Also to
+	  update download links
+
+2013-01-16 07:48  robe
+
+	* move note into para
+
+2013-01-16 07:38  robe
+
+	* get rid of program listing stuff try to fix regress.
+
+2013-01-16 07:24  robe
+
+	* get rid of unbalanced para tag
+
+2013-01-16 07:13  robe
+
+	* add extension model instructions for tiger geocoder install. add
+	  xml entity for download link
+
+2013-01-15 11:54  strk
+
+	* Base vertex snap tolerance in lwline_split_by_point on line
+	  length
+	  
+	  Fixes robustness issue in splitting line with own vertex (#2173)
+	  Also fixes one case of topology building (#2172)
+
+2013-01-02 12:24  robe
+
+	* give anchor friendly ids for chapter and sections (so if we
+	  shuffle in future anchor doesn't change)
+
+2012-12-31 15:18  strk
+
+	* Use grep found by ./configure (and have ./configure look for it)
+
+2012-12-27 23:38  strk
+
+	* Use grep found by ./configure
+
+2012-12-27 12:56  strk
+
+	* Drop "lwgeom_init_allocators" need, add "lwgeom_set_handlers"
+	  
+	  This change allows using liblwgeom from clients which cannot
+	  define
+	  C-level methods for link-back (e.g. python ctypes). See #2089.
+	  
+	  NOTE: existing clients should take care of calling the new
+	  function
+	  because their "lwgeom_init_allocators" won't be called anymore.
+	  Failure to do so will result in default allocators / reporters
+	  being used.
+	  
+	  Thanks Giuseppe Sucameli for the base work on this
+
+2012-12-26 13:44  robe
+
+	* Add add_search_path helper function and call it in install of
+	  postgis_tiger_geocoder to add tiger to search path. Create
+	  unpacked script for geocoder so can do CREATE EXTENSION
+	  postgis_tiger_geocoder FROM unpackaged;
+
+2012-12-21 22:55  dustymugs
+
+	* More code and memory cleanup
+
+2012-12-21 22:18  dustymugs
+
+	* Additional cleanup and making sure to free memory when hitting
+	  errors
+
+2012-12-21 22:18  dustymugs
+
+	* Code cleanup of rt_raster_serialize(). Basically make sure to
+	  free
+	  allocated memory if function has error
+
+2012-12-21 10:53  strk
+
+	* Fix memory leak in lwcollection_homogenize
+
+2012-12-21 10:01  strk
+
+	* Update ignores
+
+2012-12-21 10:01  strk
+
+	* Fix compiler warnings
+
+2012-12-20 20:47  dustymugs
+
+	* PostgreSQL 9.3 changed where heap_form_tuple() is declared. Fixed
+	  in
+	  raster and postgis. Ticket #2013.
+
+2012-12-20 18:40  pramsey
+
+	* Quiet compile warnings.
+
+2012-12-20 18:26  strk
+
+	* Fix leak in cu_stringbuffer test
+
+2012-12-20 18:07  strk
+
+	* Fix memory leak in lwmline_locate_along
+
+2012-12-20 17:51  strk
+
+	* Fix memory leak in geometry cleaner
+
+2012-12-20 17:20  strk
+
+	* Drop unused "libtgeom.h" include
+	  
+	  This is to make libtgeom memory errors less scary :)
+	  See #1553
+
+2012-12-20 17:19  strk
+
+	* Fix memory leaks in lwsegmentize and cu_ptarray
+
+2012-12-20 16:02  robe
+
+	* add topology so extension now installs cleanly. still need to add
+	  set path and cleanup the make clean
+
+2012-12-19 23:26  dustymugs
+
+	* Stomp out memory leaks in CUnit tests
+
+2012-12-19 23:26  dustymugs
+
+	* Make sure to free OGR geometry when the geometry is empty
+
+2012-12-19 23:26  dustymugs
+
+	* Changed memory handling of offline band path. Now explicitly
+	  owned
+	  internally
+
+2012-12-19 20:52  strk
+
+	* Fix memory leak in circ_tree_new
+
+2012-12-19 20:52  strk
+
+	* Fix leak in cu_geodetic test
+
+2012-12-19 20:08  strk
+
+	* CUnit is not only needed for liblwgeom
+
+2012-12-19 18:18  strk
+
+	* Put JSON input test where it belongs (#2156)
+	  
+	  This time do not include other unrelated changes...
+
+2012-12-19 18:06  strk
+
+	* Revert "Move JSON input test where it belons (#2156)"
+	  
+	  Accidentally committed an unrelated patch..
+
+2012-12-19 18:01  strk
+
+	* Move JSON input test where it belons (#2156)
+
+2012-12-19 00:32  robe
+
+	* #2153: fix typo in file path
+
+2012-12-18 20:42  dustymugs
+
+	* Tweaked UpdateRasterSRID() to drop/add coverage tile as needed
+
+2012-12-18 05:06  robe
+
+	* #1959 remove sql_bits/mark_editable_objects.sql.in from upgrade
+	  script. It is the one causing pg_extension table to bloat and in
+	  theory not needed for upgrade since we don't change
+	  spatial_ref_sys during upgrade.
+
+2012-12-15 20:27  robe
+
+	* add 2.0.2 as upgrade from path
+
+2012-12-15 08:09  robe
+
+	* #2147 upgrade topology doesn't work on Mac BSD sed doesn't
+	  default to extended. Use already perl built topology upgrade
+	  script instead as template for extension upgrade
+
+2012-12-15 00:55  dustymugs
+
+	* Fixed handling of identifiers with single quote (') such as in
+	  O'Reilly.
+
+2012-12-14 20:28  dustymugs
+
+	* Changed testing of extent geometry
+
+2012-12-14 20:27  dustymugs
+
+	* Updated raster2pgsql help and docs to reflect changes to
+	  regular_blocking.
+
+2012-12-14 20:27  dustymugs
+
+	* regular_blocking constraint removed. regular_blocking column of
+	  raster_columns now looks for spatially_unique and coverage_tile
+	  constraints. Ticket #2150
+
+2012-12-14 20:27  dustymugs
+
+	* Added regression tests for ST_IsCoverageTile().
+
+2012-12-14 20:27  dustymugs
+
+	* Added support for padded edge tiles to ST_IsCoverageTile()
+
+2012-12-14 20:27  dustymugs
+
+	* Added support for no-band rasters to ST_Tile(raster)
+
+2012-12-14 20:27  dustymugs
+
+	* Added missing tickets and reorg of ticket list
+
+2012-12-14 20:27  dustymugs
+
+	* Added parameters to ST_Tile(raster) to control padding of
+	  generated tiles.
+	  ST_Tile(raster) no longer defaults to padding tiles. Ticket #2069
+
+2012-12-14 20:26  dustymugs
+
+	* Addition of coverage_tile constraint for raster. Ticket #2148
+
+2012-12-14 20:26  dustymugs
+
+	* Addition of ST_IsCoverageTile() to tell if tile is part of a
+	  coverage
+
+2012-12-14 20:26  dustymugs
+
+	* Added raster's spatially_unique constraint. Ticket #2149. Still
+	  needs
+	  regression tests but won't happen until regular_blocking is
+	  finished.
+
+2012-12-14 20:26  dustymugs
+
+	* Tweaked the extent computed for the extent constraint
+
+2012-12-14 20:26  dustymugs
+
+	* Changed blocksize constraint to permit multiple possible values.
+	  Ticket
+	  is #2143. We just need a coverage constraint and a spatially
+	  unique
+	  constraint to determine regularly blocked.
+
+2012-12-14 20:26  dustymugs
+
+	* Fixed incorrect return type in docs
+
+2012-12-14 20:26  dustymugs
+
+	* raster2pgsql no longer pads tiles by default based upon tile
+	  position and tile
+	  size. This is part of the refactoring to remove padded tiles.
+	  Flag -P
+	  added so that users can indicate that tiles should be padded.
+	  Ticket #826.
+
+2012-12-14 20:25  dustymugs
+
+	* Removed hardcoded flags for raster2pgsql from run_test
+
+2012-12-14 20:25  dustymugs
+
+	* Quiet down ST_SameAlignment(raster, raster) as it was way too
+	  talkative
+
+2012-12-14 20:25  dustymugs
+
+	* Updated regression tests for raster2pgsql
+
+2012-12-13 09:34  strk
+
+	* Revert "Return NULL when simplifying a line results in a line
+	  with < 2 vertices"
+	  
+	  The correct behavior is still being discussed here:
+	  http://trac.osgeo.org/postgis/ticket/1987
+	  Better reduce the noise...
+
+2012-12-12 15:52  strk
+
+	* Return NULL when simplifying a line results in a line with < 2
+	  vertices
+	  
+	  Also return NULL from ST_Simplify when the input is an empty
+	  (null is a simpler form than EMPTY...)
+	  
+	  Yes, both break backward compatibility, but seem more consistent
+	  to me. I'm still interested in allowing collapses avoidance but
+	  I think consistency is also important.
+
+2012-12-09 19:59  pramsey
+
+	* #2145, ST_Segmentize(geography, dist) fails with redundant
+	  coordinates
+
+2012-12-07 22:07  dustymugs
+
+	* More verbose output when constraints fail to be added to a raster
+	  column. Ticket #2141
+
+2012-12-07 09:27  strk
+
+	* Add an id to the toTopoGeom proxy entry
+
+2012-12-07 09:24  strk
+
+	* Element xref can't have content (was declared EMPTY)
+	  
+	  I'm surprised postgis_aggs_mm.xml.xsl contains all that XML,
+	  shouldn't it just transform source XML ?
+
+2012-12-07 09:24  strk
+
+	* Add a "TopoGeometry Editors" section
+	  
+	  I've added a toTopoGeom entry in this section for the sole
+	  purpose
+	  of redirecting to the one in "TopoGeometry Constructors".
+	  It's two overloaded functions, documented togheter in the latter
+	  section. If there's any better way to deal with this I'm looking
+	  forward for enhancements.
+
+2012-12-07 08:36  strk
+
+	* Element xref can't have content (was declared EMPTY)
+
+2012-12-07 08:31  strk
+
+	* Fix links to legacy faq
+
+2012-12-07 08:31  strk
+
+	* Document new toTopoGeom override and clearTopoGeom
+
+2012-12-07 01:08  dustymugs
+
+	* Fixed behavior of ST_ConvexHull() for empty rasters. Ticket #2126
+
+2012-12-06 23:23  strk
+
+	* Provide a version of toTopoGeom taking a TopoGeometry object
+	  
+	  Such version would _add_ the space taken by the input geometry
+	  to an existing TopoGeometry.
+
+2012-12-06 23:02  strk
+
+	* Add topology.clearTopoGeom(TopoGeometry) function
+
+2012-12-06 18:45  strk
+
+	* Do not hardcode version to rule to build topology_upgrade_X_minor
+
+2012-12-06 17:56  pramsey
+
+	* #2101, add some doco in the .sql.in.c file on the _postgis_*
+	  stats info functions.
+
+2012-12-06 17:39  mloskot
+
+	* Added RasterReader.copy_to() utility based on SQL command COPY TO
+	  and PostGIS Raster functions ST_As<FORMAT> and outputs rasters to
+	  hex-encoded plain text or binary raster file.
+
+2012-12-06 10:49  mloskot
+
+	* Typo
+
+2012-12-06 05:43  dustymugs
+
+	* Fixed handling of SRS strings as they are passed to GDAL
+	  functions.
+	  Ticket #2134
+
+2012-12-05 18:50  pramsey
+
+	* #2132, _postgis_stats crashes backend on missing stats
+
+2012-12-05 10:28  strk
+
+	* Fix broken shp2pgsql help string suggesting -r to reproject
+
+2012-12-04 19:54  pramsey
+
+	* #945, expose and add selectivity to the 3d/4d index (&&&)
+	  bindings
+
+2012-12-04 13:24  robe
+
+	* upport 2.0.2 release notes
+
+2012-12-03 22:17  dustymugs
+
+	* Fixed incorrect return type for ST_BandIsNoData(raster) in docs
+
+2012-12-03 16:19  strk
+
+	* Fix memory error in MultiPolygon GeoJson parsing (#2130)
+
+2012-12-03 14:10  strk
+
+	* Fix SRID in ST_Homogenize output with collection input (#2129)
+
+2012-12-03 10:09  strk
+
+	* Make ST_RemEdge* tests 30% faster by reducing service costs
+
+2012-12-02 22:36  dustymugs
+
+	* Removed PICFLAGS from CFLAGS when compiling CUnit suites. Ticket
+	  #2125
+
+2012-12-01 22:56  robe
+
+	* fix return type
+
+2012-12-01 20:32  robe
+
+	* TopoGeo_AddPolygon says aline instead of apoly
+
+2012-12-01 08:34  robe
+
+	* don't dtd validate when making comments and cheatsheets
+
+2012-12-01 01:19  dustymugs
+
+	* Added ST_Resize(raster) to resize a raster using desired
+	  width/height.
+	  Ticket #1293.
+
+2012-12-01 01:19  dustymugs
+
+	* Removed requirements of SRID for calling GDAL Warp API
+
+2012-11-30 15:18  dustymugs
+
+	* Removed use of pi html code. Using "pi" instead.
+
+2012-11-30 01:13  dustymugs
+
+	* Additional cleanup and validation regarding ticket #1653
+
+2012-11-30 01:13  dustymugs
+
+	* Added NEWS item and doc updates for changes related to ticket
+	  #2119
+
+2012-11-30 01:12  dustymugs
+
+	* Added a special case to RASTER_GDALWarp() where if the input
+	  raster has
+	  no SRID (SRID_UNKNOWN) AND the operation does not involve a
+	  reprojection, then use a catchall/substitute SRID (in this case
+	  4326).
+	  Ticket #2119
+
+2012-11-29 22:33  colivier
+
+	* Fix #2092 for trunk branch
+
+2012-11-29 19:29  strk
+
+	* Enhance error message on unsupported geometry type (#1899)
+
+2012-11-29 19:11  dustymugs
+
+	* Fixed incorrect ticket #. From #2026 to #2062
+
+2012-11-29 18:59  dustymugs
+
+	* Removed confusion between ST_Resample(raster) and
+	  ST_Transform(raster)
+	  by removing srid parameter for ST_Resample(). Ticket #1653
+
+2012-11-29 18:59  dustymugs
+
+	* Renamed RASTER_resample() to RASTER_GDALWarp() and adjusted SQL
+	  functions as needed. Next is to audit and possibly refactor those
+	  functions that make use of RASTER_resample().
+
+2012-11-29 18:30  strk
+
+	* Ensure ST_Line_Interpolate_Point always returns POINT (#2108)
+
+2012-11-29 18:13  strk
+
+	* Ensure ST_PointOnSurface always returns POINT (#2117)
+
+2012-11-29 18:01  strk
+
+	* Early release lwgeom memory
+
+2012-11-29 17:49  strk
+
+	* Ensure ST_Centroid always returns POINT (#2109)
+
+2012-11-29 02:12  robe
+
+	* #1795 make raster_views, raster_columns, geometry_columns,
+	  geometry_views, spatial_ref_sys public viewable -- none issue
+	  since they are views that only list user viewable tables and
+	  aspatial_ref_sys is harmless public info.
+
+2012-11-29 01:21  dustymugs
+
+	* Added CUnit test suites for raster core. Old raster core
+	  regression
+	  tests can still be found in raster/test/core but are no longer
+	  run.
+	  Probably should delete before 2.1 is released.
+	  Ticket #173
+
+2012-11-28 22:35  nicklas
+
+	* #2112
+
+2012-11-28 20:16  dustymugs
+
+	* Refactored return and parameters of rt_raster_iterator()
+
+2012-11-28 19:31  dustymugs
+
+	* Refactored return and parameters of rt_raster_from_two_rasters()
+
+2012-11-28 15:27  dustymugs
+
+	* Refactored return and parameters of rt_raster_surface()
+
+2012-11-27 00:58  dustymugs
+
+	* Added ST_NotSameAlignmentReason(raster, raster). Ticket #1709
+
+2012-11-26 21:09  dustymugs
+
+	* Added ST_Transform(raster) variant that allows of aligning output
+	  rasters to a reference raster. Ticket #2105
+
+2012-11-26 19:13  dustymugs
+
+	* Renamed variants of ST_World2RasterCoord() and
+	  ST_Raster2WorldCoord() to
+	  ST_WorldToRasterCoord() and ST_RasterToWorldCoord() as names are
+	  inconsistent with other PostGIS function names. Ticket #2104
+
+2012-11-26 12:07  strk
+
+	* Skip st_area(geography) and st_length(geography)
+	  
+	  See
+	  http://lists.osgeo.org/pipermail/postgis-users/2012-November/035854.html
+
+2012-11-25 22:36  robe
+
+	* #1869 take care of ST_AsBinary(unknown/text),
+	  ST_AsText(unknown/text) is not unique errors
+
+2012-11-25 21:55  dustymugs
+
+	* Where appropriate, functions in rt_core now use standardized
+	  function
+	  return states.
+
+2012-11-23 22:15  strk
+
+	* Fix ST_{Mod,New}EdgeHeal joining edges sharing both endpoints
+	  
+	  Closes #1998. Include testcases.
+	  Also simplifies the code and avoids a GEOS call.
+	  
+	  [RT-SIGTA] C.I.G.: 0494241492
+
+2012-11-23 15:57  pramsey
+
+	* Try to stomp out -180 (#2066)
+
+2012-11-23 06:13  pramsey
+
+	* #1828, geography stats are really sensitive to narrow
+	  dimensionality issues,
+	  so geodetic bounds have to be exactly calculated for things like
+	  points
+
+2012-11-22 17:39  pramsey
+
+	* #1828, fix mistake to geography calculation routine
+
+2012-11-21 23:26  pramsey
+
+	* Of course we're going to do real joinsel...
+
+2012-11-21 19:52  pramsey
+
+	* Explain "selectivity" a little more explicitly
+
+2012-11-20 23:47  pramsey
+
+	* Better/different error messages in stats interogator
+
+2012-11-20 23:28  pramsey
+
+	* #2101, sql functions for selectivity inspection
+
+2012-11-20 21:34  pramsey
+
+	* Make default joinsel message more obvious
+
+2012-11-20 21:31  pramsey
+
+	* Make error message minimally more helpful
+
+2012-11-20 21:29  pramsey
+
+	* Be more explicit about the types we're passing around
+
+2012-11-20 20:57  pramsey
+
+	* Convert SearchSysCache calls to SearchSysCache# calls, per the
+	  guidance in the PostgreSQL syscache.h file
+
+2012-11-20 20:51  pramsey
+
+	* #2102, SQL hooks for calling selectivity functions
+
+2012-11-20 19:07  pramsey
+
+	* #1828, Poor selectivity estimate on ST_DWithin
+
+2012-11-20 17:50  pramsey
+
+	* Remove conditional use of USE_STANDARD_DEVIATION, it's been
+	  working for years, that's what we use.
+
+2012-11-20 09:51  robe
+
+	* minor formatting fix
+
+2012-11-20 09:49  robe
+
+	* #1287: legacy script to reinstall old PostGIS gist op. Added to
+	  FAQ when you need to use it and stress to try not to use it and
+	  reindex if you do.
+
+2012-11-19 23:18  dustymugs
+
+	* Fixed issue where ST_AsRaster() may not return raster with
+	  specified
+	  pixel types. Ticket #2100
+
+2012-11-19 23:18  dustymugs
+
+	* Code cleanup of rt_raster_gdal_rasterize()
+
+2012-11-19 23:18  dustymugs
+
+	* Refactored internal use variables and functions for
+	  rt_raster_iterator()
+
+2012-11-19 23:04  pramsey
+
+	* Move box-reading code in geography stats to use serialized box.
+
+2012-11-19 15:47  strk
+
+	* Fix double free on ST_OffsetCurve exception (#2099)
+
+2012-11-19 10:20  strk
+
+	* Restore 1.5.x behaviour of ST_Simplify (#1987)
+
+2012-11-16 22:59  dustymugs
+
+	* Added RANGE uniontype option for ST_Union(raster) Ticket #2097
+
+2012-11-16 12:35  robe
+
+	* geos new is 3.4
+
+2012-11-16 06:46  robe
+
+	* update tto reflect 2.1
+
+2012-11-16 03:39  dustymugs
+
+	* Fixed SQL error in regression test
+
+2012-11-16 01:32  dustymugs
+
+	* Added docs and regression test for extent parameter variants of
+	  ST_Slope, ST_Aspect and ST_Hillshade
+
+2012-11-16 01:32  dustymugs
+
+	* If hillshade < 0, hillshade = 0 for ST_HillShade()
+
+2012-11-16 01:31  dustymugs
+
+	* Added variants of ST_Slope, ST_Aspect and ST_Hillshade to provide
+	  support for tiles in a coverage. Ticket is #2078
+
+2012-11-15 00:15  pramsey
+
+	* Comment on the dump_toupper function
+
+2012-11-15 00:08  pramsey
+
+	* Use a locale-independent braindead upper implementation
+
+2012-11-14 23:01  pramsey
+
+	* #2035, Strange behavior when using left (<<) and right (>>)
+	  operators
+
+2012-11-14 22:29  pramsey
+
+	* #2028, ST_Multi(<triangle>) does not make a TIN
+
+2012-11-14 21:31  pramsey
+
+	* #2042, measures.c: 'pt_in_arc_A' may be used uninitialized
+
+2012-11-14 21:25  pramsey
+
+	* #2001, ST_CurveToLine has no effect if the geometry doesn't
+	  actually contain an arc
+
+2012-11-14 20:45  pramsey
+
+	* #799, make geographic coordinates in range
+
+2012-11-14 17:21  pramsey
+
+	* Make Korotkov split the default
+
+2012-11-13 22:48  pramsey
+
+	* #2090, gserialized_read_gbox_p sets Z dimension instead of M
+	  dimension for two-point lines
+
+2012-11-13 22:30  pramsey
+
+	* #2044, lw_arc_length: warning: variable 'a2' set but not used
+
+2012-11-13 22:10  pramsey
+
+	* #1895, New node splitting algorithm for GiST
+	  Set the KOROTKOV_SPLIT define to 1 to use the new approach,
+	  to 0 to use the old approach. After testing is complete,
+	  we can set the new split as the default.
+
+2012-11-13 18:58  pramsey
+
+	* Remove <inlineequation> element
+
+2012-11-13 18:57  pramsey
+
+	* Remove MathML from documentation. It's not really being used for
+	  any math.
+
+2012-11-09 21:54  pramsey
+
+	* Remove module magic from here, #1162
+
+2012-11-09 00:09  pramsey
+
+	* Remove many warnings from -pedantic build, and clean up parser
+	  globals a little more thoroughly.
+
+2012-11-08 08:40  strk
+
+	* Rewrite topology.GetRingEdges using a recursive CTE (#2087)
+	  
+	  Walking around a ring of ~22k edges takes 1/7 of the time
+
+2012-11-08 08:40  strk
+
+	* Share some code between ST_RemEdgeModFace and ST_RemEdgeNewFaces
+	  
+	  Also check TopoGeometry existance as first thing, to reduce the
+	  time it takes for failing calls.
+
+2012-11-08 05:48  robe
+
+	* update install to note that we now support loading tiger 2012
+	  data and it is the default and upgrade instructions to get the
+	  new loader behavior
+
+2012-11-08 05:46  robe
+
+	* change this to use 2012 loader, but remark it out so it doesn't
+	  overwrite people's custom settings.
+
+2012-11-06 00:27  pramsey
+
+	* #2048, add regression test
+
+2012-11-05 10:27  strk
+
+	* Create indices on start_node and end_node of edge_data (#2082)
+	  
+	  Those indices speed up nodes deletion by a factor of x1000 !
+	  I didn't profile, but I suspect those indices would also speed up
+	  ring walking (whereas you have to find a match between endnodes).
+
+2012-11-05 00:47  robe
+
+	* #2020: stop penalizing windows 9.2 32-bit when it gives a stupid
+	  answer to an ill-defined question. Change to be a well-defined
+	  question.
+
+2012-11-04 20:03  robe
+
+	* #2081: extension files being installed twice causes errors on
+	  Ubuntu (9.3)
+
+2012-11-04 14:40  strk
+
+	* Fix order of TopoGeometry property names
+
+2012-11-04 10:45  robe
+
+	* #1980: define new configure arg --with-mathmldtd to allow
+	  overriding path to mathmldtd
+
+2012-11-04 00:44  strk
+
+	* Oops, revert the revert...
+	  
+	  Note to self: never commit between 1:00am and 8:00am
+
+2012-11-04 00:30  strk
+
+	* Add note about lwgeom_make_valid being only available with
+	  GEOS-3.3+
+
+2012-11-04 00:30  strk
+
+	* Revert "#1970 - 9.2rc1 regress failure change layer_id_seq from
+	  select * to explicitly select fields. log_cnt now returns 0 for
+	  9.2rc1 so fails regress otherwise"
+	  
+	  This reverts commit c272b5ed6dec2cc415c9bccd305e81394f1bde83.
+
+2012-11-03 18:12  robe
+
+	* change default new install to use tiger_loader_2012.sql file
+	  instead
+
+2012-11-03 17:54  robe
+
+	* #2076: support for loading tiger 2012 data. revise
+	  loader_load_staged_data to leave out pumace10, estatefp, ugace.
+	  This fixes the faces not loading issue for 2012 data (tested with
+	  MA, DC)
+
+2012-11-02 21:14  pramsey
+
+	* #2015, ST_IsEmpty('POLYGON EMPTY') returns False
+
+2012-11-02 20:40  dustymugs
+
+	* Removed code that is no longer used and updated docs with default
+	  parameters
+
+2012-11-02 19:15  pramsey
+
+	* #1996, ST_AsGeoJSON('POINT EMPTY') produces invalid JSON
+
+2012-11-02 19:08  pramsey
+
+	* Be a bit more explicit about what we're returning from
+	  point-in-ring tests.
+
+2012-11-02 18:12  dustymugs
+
+	* Updated reference links to "How Hillshade works" for ST_Slope,
+	  ST_Aspect
+	  and ST_HillShade
+
+2012-11-02 18:02  pramsey
+
+	* Remove double call of flip test.
+
+2012-11-02 17:52  pramsey
+
+	* #2019, ST_FlipCoordinates does not update bbox
+
+2012-11-02 17:22  dustymugs
+
+	* Refactored ST_Slope, ST_Aspect and ST_Hillshade() (also their
+	  _st_XXX4ma() functions). Detailed docs for all three functions.
+	  Outputs
+	  now in sync with return from ArcGIS. Ticket is #2077
+
+2012-10-31 19:33  robe
+
+	* some wording changes, add tutorial faq
+
+2012-10-31 14:31  dustymugs
+
+	* Added missing DROP FUNCTION statements. Ticket #2073
+
+2012-10-31 09:46  strk
+
+	* Add instruction for upgrading between SVN revisions using
+	  extensions
+
+2012-10-31 00:42  dustymugs
+
+	* Changed when the isnodata check takes place for out-db raster
+	  tiles
+
+2012-10-30 23:25  pramsey
+
+	* #1940, epsg:2065 projection is incorrect
+
+2012-10-30 21:38  robe
+
+	* Add Nathan Wagner to credits
+
+2012-10-30 21:16  robe
+
+	* Put in Enhanced note about ST_DumpPoints -- should in theory be
+	  faster. Revise expertbot xsl script (prevent url from abutting
+	  the title)
+
+2012-10-30 20:32  pramsey
+
+	* (#310) ST_DumpPoints as C function
+
+2012-10-29 22:24  robe
+
+	* Fix gdal binaries link
+
+2012-10-29 22:23  dustymugs
+
+	* Added SRID check to ST_Neighborhood(raster, geometry)
+
+2012-10-29 22:23  dustymugs
+
+	* Added SRID check for ST_Intersects(geometry, raster)
+
+2012-10-29 22:23  dustymugs
+
+	* Added SRID check of geometry for ST_World2RasterCoord variants
+
+2012-10-29 22:22  dustymugs
+
+	* Added check for SRID match in ST_Value(raster) geometry variant
+
+2012-10-29 20:14  dustymugs
+
+	* Set defaults for parameters of ST_Slope(raster). Ticket #1655
+
+2012-10-29 18:56  dustymugs
+
+	* Added UpdateRasterSRID() as per ticket #739
+
+2012-10-27 05:53  robe
+
+	* more ids and descriptive titles
+
+2012-10-27 05:31  robe
+
+	* revise script hallie uses so strips out tags such as ulink, xref,
+	  command leaving just textual representation (these were getting
+	  cut out before)
+
+2012-10-27 04:18  robe
+
+	* try to put in some ids
+
+2012-10-26 00:28  dustymugs
+
+	* Added news regarding ST_Clip(raster, ...) in C and update docs
+
+2012-10-26 00:28  dustymugs
+
+	* Rewrite of ST_Clip(raster) to be C-based and updated regression
+	  test.
+	  Ticket is #2065
+
+2012-10-25 23:06  dustymugs
+
+	* Fixed default Y-scale to -1 from 1
+
+2012-10-25 22:17  pramsey
+
+	* Expose some geodetic functions a little higher
+
+2012-10-25 20:36  pramsey
+
+	* Fix error in ptarray traversal.
+
+2012-10-25 19:29  pramsey
+
+	* Reorganize some pointarray loops and functions. Use direct
+	  aligned access more.
+
+2012-10-25 18:57  pramsey
+
+	* Remove old signature for serialized_form function
+
+2012-10-25 18:54  pramsey
+
+	* Allow WKB generation to do direct memcpy of coordinates in
+	  specific cases.
+
+2012-10-25 18:42  pramsey
+
+	* Use double alignment property to remove memcpy from wkb
+	  generation
+
+2012-10-25 18:29  pramsey
+
+	* Remove TODO note: the storage is now double aligned
+
+2012-10-25 17:47  pramsey
+
+	* Change the gbox calculation for geodetic edges to use 3-space
+	  geometry instead of lots of transcendental functions. Much
+	  faster, much simpler, all regression tests pass.
+
+2012-10-25 06:00  robe
+
+	* revert release note changes see if it fixes doc build issue
+
+2012-10-25 05:18  robe
+
+	* fix id again (maybe old conflicted with another id)
+
+2012-10-25 04:12  robe
+
+	* fix chapter id doesn't follow our convention
+
+2012-10-25 04:07  robe
+
+	* give release sections ids for easier reference
+
+2012-10-24 22:22  dustymugs
+
+	* Preprocess input geometry for clipping raster by using the
+	  intersection
+	  of the input geometry and the convex hull of the raster. Ticket
+	  #1989
+
+2012-10-24 22:21  dustymugs
+
+	* Added checks to rt_raster_gdal_rasterize() and RASTER_asRaster()
+	  where
+	  if input geometry is empty, return empty raster.
+
+2012-10-24 21:14  dustymugs
+
+	* Broke string for iowa hex into three parts so that doxygen
+	  doesn't choke
+
+2012-10-24 19:22  dustymugs
+
+	* Have ST_Tile() generate out-of-db tile bands if input raster's
+	  band is
+	  out-of-db.
+
+2012-10-24 18:54  pramsey
+
+	* Whoops make sure the test macros match the library ones
+
+2012-10-24 18:44  pramsey
+
+	* Add some debugging info to find failure in debbie
+
+2012-10-24 18:28  pramsey
+
+	* Add explicit tests for edge_intersects()
+
+2012-10-24 17:26  pramsey
+
+	* Move the distance calculation to also use the edge_intersects()
+	  function instead of edge_intersection()
+
+2012-10-24 16:31  dustymugs
+
+	* Added "auto" option to -t switch where raster2pgsql can compute a
+	  usable
+	  tile size. Added warning message if generated tiles may cause
+	  memory
+	  issues.
+
+2012-10-24 03:41  robe
+
+	* minor adjustments to terminology to improve searchin
+
+2012-10-23 23:59  dustymugs
+
+	* Rearranged function arguments for ST_Tile(raster)
+
+2012-10-23 22:44  dustymugs
+
+	* Added news and docs for ST_Tile(raster). Additional regression
+	  tests for
+	  one additional variant of ST_Tile(raster)
+
+2012-10-23 22:44  dustymugs
+
+	* Added ST_Tile() and regression tests. The circle is complete.
+
+2012-10-23 22:44  dustymugs
+
+	* Added rt_band_get_pixel_line() and regression tests
+
+2012-10-23 22:43  pramsey
+
+	* (#2063) fix the vertex-crossing logic in the circular tree code
+	  to use the new edge_intersects routine
+
+2012-10-23 22:17  pramsey
+
+	* (#2026) fix performance regression in geography distance
+	  calculation
+
+2012-10-23 21:18  pramsey
+
+	* (#1976) Geography point-in-ring code overhauled for more
+	  reliability
+
+2012-10-23 13:46  dustymugs
+
+	* Make changes to reflect patch from #2061
+
+2012-10-23 04:56  pramsey
+
+	* Future test case for when we've solved p-i-p in generality
+
+2012-10-22 19:05  dustymugs
+
+	* Fix POSTGIS_RT_DEBUGF() usage
+
+2012-10-22 19:05  dustymugs
+
+	* Fixed doxygen comment formats
+
+2012-10-22 17:20  dustymugs
+
+	* Remove unused variables.
+
+2012-10-22 17:20  dustymugs
+
+	* Cache frequently used variables minimize # of function calls in
+	  rt_raster_iterator()
+
+2012-10-22 17:20  dustymugs
+
+	* Include output from gdal-config --dep-libs when building
+	  raster2pgsql
+
+2012-10-22 17:19  dustymugs
+
+	* Add news and doc changes to indicate proper support for raster
+	  band's
+	  "isnodata" support
+
+2012-10-22 17:19  dustymugs
+
+	* have raster2pgsql check for raster bands being NODATA
+
+2012-10-22 17:19  dustymugs
+
+	* Tweaked rt_band_check_is_nodata() to make use of
+	  rt_band_get_pixel()'s
+	  ability to return flag indicating if value is NODATA
+
+2012-10-22 17:19  dustymugs
+
+	* Final fixes to support band's isnodata flag.
+
+2012-10-22 17:19  dustymugs
+
+	* All functions in core API now support a band's isnodata value.
+
+2012-10-22 17:19  dustymugs
+
+	* Changed signature of rt_band_get_nodata() as there was no way to
+	  indicate an error if the band has no NODATA.
+
+2012-10-22 17:19  dustymugs
+
+	* Some work adding proper support for using a band's isnodata flag.
+
+2012-10-22 17:19  dustymugs
+
+	* Changed function signature for core API function
+	  rt_band_get_pixel() to
+	  indicate if pixel is NODATA
+
+2012-10-22 17:18  dustymugs
+
+	* Minor changes to references to raster2pgsql
+
+2012-10-21 23:53  robe
+
+	* update crowd funding details
+
+2012-10-21 18:02  strk
+
+	* Fix GetTopoGeomElementArray(TopoGeometry) function, and add test
+	  
+	  See http://trac.osgeo.org/postgis/ticket/2060
+
+2012-10-20 21:07  robe
+
+	* fix headeer and description
+
+2012-10-19 22:20  pramsey
+
+	* Wrap NEWS to 80cols
+
+2012-10-19 18:51  dustymugs
+
+	* Added to news regarding ticket #2057
+
+2012-10-19 18:49  dustymugs
+
+	* Add variables specifying PostgreSQL CPPFLAGS and LDFLAGS.
+	  Ticket is #2057
+
+2012-10-19 01:36  dustymugs
+
+	* Forgot to wrap tags with <para></para> in reference_raster.xml.
+	  Minor
+	  comment cleanup in rt_pg.c
+
+2012-10-19 00:27  dustymugs
+
+	* Fixed annoyances in the raster docs
+
+2012-10-18 23:52  dustymugs
+
+	* Combined the gist spatial relationship tests into
+	  rt_gist_relationships
+
+2012-10-18 23:52  dustymugs
+
+	* Combined all raster GEOS dependent spatial relationship
+	  regression tests into
+	  rt_geos_relationships.sql
+
+2012-10-18 21:45  dustymugs
+
+	* Clamp SRID when comparing SRIDs of raster vs geometry for geomval
+	  variant of ST_SetValues()
+
+2012-10-18 21:45  dustymugs
+
+	* Added docs for geomval variant of ST_SetValues
+
+2012-10-18 21:45  dustymugs
+
+	* Add news items regarding changes to ST_SetValue and addition of
+	  geomval variant of ST_SetValues()
+
+2012-10-18 21:45  dustymugs
+
+	* Code cleanup in rt_pg/rt_pg.c. Changed point geometry variant of
+	  ST_SetValue() to wrap around geomval variant of ST_SetValues().
+	  This
+	  will result in a behavior change for geometry variant of
+	  ST_SetValue().
+
+2012-10-18 21:45  dustymugs
+
+	* Addition of geomval variants of ST_SetValues() and regression
+	  tests.
+	  Added helper function
+	  rt_raster_get_inverse_geotransform_matrix().
+	  Additional code cleanup for rt_raster_geopoint_to_cell() and
+	  rt_raster_cell_to_geopoint().
+
+2012-10-18 14:47  robe
+
+	* script to concatenate all the sections of postgis doc for easier
+	  digestion of postgis expert bot
+
+2012-10-17 19:30  dustymugs
+
+	* Correct usage of memset()
+
+2012-10-17 19:30  dustymugs
+
+	* Cleanup description for ST_SetValues()
+
+2012-10-17 16:08  dustymugs
+
+	* Added items to NEWS and docs for ST_DumpValues
+
+2012-10-17 16:08  dustymugs
+
+	* Addition of ST_DumpValues() and regression tests. Ticket #2011
+
+2012-10-17 14:29  dustymugs
+
+	* Add fallback method of getting maximum extent for extent
+	  constraint.
+	  Ticket is #2050
+
+2012-10-17 14:16  strk
+
+	* Move trim_trailing_zeros out of liblwgeom.h (#2054)
+
+2012-10-17 13:38  strk
+
+	* Get OUT_* export macros out of liblwgeom.h (#2053)
+
+2012-10-17 11:43  strk
+
+	* Do not print more digits than available from lwgeom_to_geojson
+	  
+	  See http://trac.osgeo.org/postgis/ticket/2051
+	  Adds tests for the ticket cases.
+
+2012-10-17 09:52  strk
+
+	* It is OUT_MAX_DOUBLE_PRECISION, not OUT_MAX_DIGS_DOUBLE, we
+	  should use
+	  
+	  These macros should really get out of liblwgeom.h and be properly
+	  documented...
+
+2012-10-17 09:45  strk
+
+	* Fix buffer overflow in lwgeom_to_geojson (#2052)
+
+2012-10-16 20:59  dustymugs
+
+	* Added optional interpolate_nodata flag as function parameter to
+	  ST_HillShade,
+	  ST_Aspect and ST_Slope.
+
+2012-10-16 20:42  strk
+
+	* Do not abort populate_geometry_columns when table can't be
+	  altered
+	  
+	  Also print the reason for the limitation. See #2049.
+
+2012-10-16 20:17  dustymugs
+
+	* Fixed xml issues that are making debbie mad.
+
+2012-10-16 19:55  dustymugs
+
+	* Added news blurb and docs regarding expression variants of
+	  ST_MapAlgebra.
+
+2012-10-16 19:55  dustymugs
+
+	* Added 2-raster expression variant of ST_MapAlgebra() and
+	  regression
+	  tests.
+
+2012-10-16 19:55  dustymugs
+
+	* Additional tweaking of returning empty raster from map algebra of
+	  INTERSECTION or UNION extent
+
+2012-10-16 19:55  dustymugs
+
+	* Corrected handling of NULL raster resulting from NO intersection
+	  of input rasters in map algebra. Fixed spelling mistakes.
+	  Additional tests for intersections of more than 3 rasters that
+	  don't actually intersect in ST_MapAlgebra
+
+2012-10-16 19:55  dustymugs
+
+	* Added one-raster expression variant for ST_MapAlgebra and
+	  appropriate
+	  regression tests.
+
+2012-10-16 16:08  strk
+
+	* Enhance documentation about TopoElement domain
+
+2012-10-16 16:07  strk
+
+	* tweak DEBUG line
+
+2012-10-16 08:29  strk
+
+	* Improve TopologySummary output
+	  
+	  Add unregistered layers and orphaned TopoGeom count
+
+2012-10-16 08:29  strk
+
+	* Have TopologySummary use the word "Mixed" for collection layers
+
+2012-10-15 19:21  dustymugs
+
+	* Fixed incorrect use of RASTER_DEBUGF().
+
+2012-10-15 14:48  dustymugs
+
+	* More poking at the docs for ST_MapAlgebra
+
+2012-10-15 14:20  dustymugs
+
+	* Add another example of ST_MapAlgebra() and some formatting
+	  cleanup
+
+2012-10-15 03:34  dustymugs
+
+	* Changed how ST_MapAlgebra regression test runs on PostgreSQL 9.0
+	  as
+	  usage of "GROUP BY raster" does not work. Ticket is #2048.
+
+2012-10-14 05:40  robe
+
+	* #2046: fix 2.1 doesn't compile with postgresql 9.0
+
+2012-10-14 05:13  robe
+
+	* updategeometrysrid was describing old behavior. Update to new and
+	  provide alternative syntax
+
+2012-10-12 20:06  pramsey
+
+	* Remove odd srs error line from expected
+
+2012-10-12 19:49  pramsey
+
+	* Reduce precision test to 1cm2. There is no doubt that this
+	  approach is less numerically stable than the last. (#2043) Though
+	  in exchange, it covers the globe more completely.
+
+2012-10-12 19:32  pramsey
+
+	* Reduce the precision of the double test... it passes here..
+	  (#2043)
+
+2012-10-12 19:31  dustymugs
+
+	* Bug fix where pos array size was incorrect.
+
+2012-10-12 19:31  dustymugs
+
+	* Removed warning block for ST_MapAlgebra() doc page. Rearranged
+	  warning boxes
+
+2012-10-12 16:06  dustymugs
+
+	* More documentation changes regarding deprecation status of
+	  ST_MapAlgebraFct() variants. Added news item regarding
+	  deprecation status of ST_MapAlgebraFct and ST_MapAlgebraFctNgb
+	  variants
+
+2012-10-12 16:06  dustymugs
+
+	* Duplicated and refactored the ST_XXX4ma() functions for
+	  ST_MapAlgebra
+	  usage. Exception for ST_InvDistWeight4ma() and ST_MinDist4ma(),
+	  both of
+	  which are new for 2.1. Added regression tests as well.
+
+2012-10-12 15:20  strk
+
+	* Exit with non-zero code when commandline is malformed
+	  
+	  It still exists with zero code when user explictly asks for the
+	  help screen (with -? as documented and with no switch as popular
+	  habit [well, mine])
+
+2012-10-12 14:26  strk
+
+	* Add pdf-localized rule for building localized pdf manual
+
+2012-10-12 14:06  strk
+
+	* Ignoring generated files in tiger_geocoder extension
+
+2012-10-12 08:40  strk
+
+	* Fix compiler warnings in lwgeom_geos.c
+
+2012-10-12 08:34  strk
+
+	* Fix a "set but not used" warning.
+	  
+	  This was about the return from getPoint2d_p, but it really only
+	  returns zero on error and after lwerror was called, and only if
+	  a PARANOIA compile time macro is set...
+
+2012-10-12 08:27  strk
+
+	* Fix ptarray_area_sphere signature (#2040)
+	  
+	  Since I was a it I also removed a "set but not used" warning.
+
+2012-10-12 07:50  strk
+
+	* Update po files after changes in installation.xml
+
+2012-10-12 07:49  strk
+
+	* Add more uses of <command> and <filename> in installation.xml
+	  
+	  Also fixes a missing dash in "make comments-install"
+
+2012-10-12 07:49  strk
+
+	* Put <comment> tags in <para>, fixing #2041
+
+2012-10-12 07:20  strk
+
+	* Consistently use <command> tag for "make comments"
+	  
+	  Fixes complains by msgmerge (internationalization)
+
+2012-10-11 22:48  pramsey
+
+	* Improve support for ST_Area(geography) over dateline and poles
+	  (#2006, #2039)
+
+2012-10-11 21:44  strk
+
+	* Translation of intruduction.xml to pt_BR by George Silva
+
+2012-10-11 21:41  strk
+
+	* Update po files
+
+2012-10-11 17:29  pramsey
+
+	* Move area core calculation to ptarray.
+
+2012-10-11 17:29  pramsey
+
+	* Ignore build artifacts from geocoder
+
+2012-10-11 17:07  strk
+
+	* Simplify description of TopoElementArray
+	  
+	  ... and add TopoElement link to See Also section (things are
+	  better
+	  explained in there).
+
+2012-10-11 15:23  robe
+
+	* Get rid of hard-coded paths
+
+2012-10-11 10:53  strk
+
+	* Update json-c url
+
+2012-10-10 23:06  robe
+
+	* create norm_addy
+
+2012-10-10 22:59  robe
+
+	* #1627 : more cleanup of extension install, add configure of tiger
+	  extension script to configure.ac. Fix comment in tiger comments
+	  preventing install
+
+2012-10-10 22:41  dustymugs
+
+	* Added missing Availability details for various raster docs.
+	  Ticket is #2037
+
+2012-10-10 22:30  robe
+
+	* fix error in index column name picked up when trying to install
+	  as extension
+
+2012-10-10 22:06  robe
+
+	* #2037: flag some new raster functions as new in this release. Hmm
+	  I merged hopefully didn't screw things up
+
+2012-10-10 22:02  dustymugs
+
+	* Added n-raster ST_MapAlgebra(). Additional error checking in
+	  rt_raster_iterator(). Added regression checks for n-raster
+	  ST_MapAlgebra(). Ticket is #2030. Added news and docs for
+	  ST_MapAlgebra().
+
+2012-10-10 21:45  robe
+
+	* Just enough to make it compile but doesn't work yet
+
+2012-10-10 00:00  pramsey
+
+	* Add in arc ptarray vs ptarray and arc ptarray vs arc ptarray
+	  distance functions. (#2018)
+
+2012-10-09 23:12  dustymugs
+
+	* Added HASH opclass and = operator for raster. This permits GROUP
+	  BY
+	  raster usage.
+
+2012-10-09 23:12  dustymugs
+
+	* Syntax cleanup
+
+2012-10-09 22:48  pramsey
+
+	* Add in arc ptarray vs point distance function (#2018)
+
+2012-10-09 22:04  pramsey
+
+	* Fix comment per rcoup
+
+2012-10-09 21:48  pramsey
+
+	* Fix up some errors in ptarray_arc iteration and the cunit test
+	  cases for arc p-i-p. (#2018)
+
+2012-10-09 17:49  pramsey
+
+	* Point-in-polygon function for arc-based point-arrays. (#2018)
+
+2012-10-09 05:06  robe
+
+	* #1627: Start work on packaging as an extension -- it's not
+	  functioning yet
+
+2012-10-05 19:26  strk
+
+	* Fix adding a splitting point into a 2.5d topology (#2033)
+
+2012-10-05 19:22  robe
+
+	* link to ST_3DClosestPoint from ST_ClosestPoint. Some people
+	  didn't notice we had a 3D variant and looked in the wrong place.
+
+2012-10-05 12:25  robe
+
+	* #2027: change order of operation -- have cleanup happen first
+	  since the drop sometimes tries to drop functions that use types
+	  that don't exist in older versions
+
+2012-10-04 04:08  robe
+
+	* update st_union examples (single should always specify band
+	  number to be safe) and all bands can be done now with just union
+
+2012-10-03 23:07  dustymugs
+
+	* Addition of flag nbnodata to rt_raster_iterator() thus allowing
+	  some
+	  memory savings from ST_Union(raster)
+
+2012-10-03 21:03  dustymugs
+
+	* Updated NEWS and docs regarding ST_Union(raster) behavior change.
+
+2012-10-03 20:53  dustymugs
+
+	* Tweak what value to initialize new band to when NODATA isn't
+	  present
+
+2012-10-03 20:53  dustymugs
+
+	* Addition of ST_Union(raster) function and regression tests
+
+2012-10-03 20:53  dustymugs
+
+	* Added regression test for rt_raster_clone() and added missing
+	  SRID copy.
+
+2012-10-03 20:53  dustymugs
+
+	* Addition of shortcut function rt_raster_clone()
+
+2012-10-03 16:06  robe
+
+	* update unpackaged to include new raster (e.g. unionarg)
+
+2012-10-03 14:33  robe
+
+	* #2027: Add unionarg
+
+2012-10-03 06:16  strk
+
+	* ST_AddEdge*: make update of old face edges more robust (#2025)
+	  
+	  Include tests for adding an edge that splits an hole in a face
+	  while forming a left ring which constitutes an invalid polygon
+	  ring.
+	  
+	  Also fixes one case of invalid topology creation (when the formed
+	  ring has a dangling edge but not a new area on the other side).
+
+2012-10-03 06:08  robe
+
+	* oops forgot to finish the changed statement
+
+2012-10-03 06:06  robe
+
+	* revise st_union example to show new and faster way of doing
+	  multi-band union
+
+2012-10-02 22:47  dustymugs
+
+	* Minor addition of debug messages
+
+2012-10-02 21:45  dustymugs
+
+	* Added multi-band support for ST_Union. Ticket is #2021
+
+2012-10-01 23:13  robe
+
+	* #1938 document addition of addbandarg and swap out old example
+	  with example utilizing addbandarg
+
+2012-10-01 22:23  pramsey
+
+	* Rename lwcircle_calculate_gbox_cartesian_2d to
+	  lw_arc_calculate_gbox_cartesian_2d
+
+2012-10-01 22:18  pramsey
+
+	* Rename lwcircle_center to lw_arc_center to match other
+	  lwalgorithm signatures
+
+2012-10-01 22:10  pramsey
+
+	* Anal retentive code re-organization. Try and move the primitive
+	  computational geometry functions into lwalgorithm.c
+
+2012-10-01 14:04  strk
+
+	* Do not confuse CREATE OPERATOR FAMILY with a CREATE OPERATOR
+
+2012-10-01 09:28  strk
+
+	* Accept array properties in GML input multi-geom input (#1928)
+	  
+	  Patch by Kashif Rasul and Shoaib Burq / SpacialDB
+
+2012-10-01 08:47  strk
+
+	* Create target dir if non-existing
+
+2012-09-29 17:57  robe
+
+	* update postgis unpackaged script. postgis_topology was already up
+	  to date.
+
+2012-09-29 16:14  strk
+
+	* Provide a script to opt out of extensions
+
+2012-09-28 23:09  dustymugs
+
+	* Addition of C-based ST_Union(raster) aggregate function (ticket
+	  #1364). Renamed low level function rt_raster_has_no_band() to
+	  raster_has_band(). Updated docs and NEWS for ST_Union.
+
+2012-09-28 22:51  pramsey
+
+	* Remove unused point in poly function
+
+2012-09-28 22:48  pramsey
+
+	* Add ptarray_contains_point to ptarray file, so that all other
+	  liblwgeom functions can use the one routine.
+
+2012-09-28 21:52  pramsey
+
+	* Remove no longer used function, lwgeom_pt_inside_circle.
+
+2012-09-28 21:48  pramsey
+
+	* Add new pointer-based coordinate access method, now that aligned
+	  storage is the new normal.
+
+2012-09-28 21:08  pramsey
+
+	* Anal retentive function renaming: ptarray_isclosed ->
+	  ptarray_is_closed
+
+2012-09-28 20:30  pramsey
+
+	* Move some ptarray functions out of postgis and back into
+	  liblwgeom from silly old function that shouldn't even exist
+	  anymore (LWGEOM_inside_circle_point)
+
+2012-09-28 18:23  pramsey
+
+	* Measurement support for arcs (#2018)
+
+2012-09-28 17:03  pramsey
+
+	* Add casts from geometry::path, geometry::point,
+	  geometry::polygon, polygon::geometry, path::geometry,
+	  point::geometry to allow easier migration to PostGIS for folks
+	  who start with the Pg types.
+
+2012-09-27 20:23  pramsey
+
+	* Distance calculation support for arc features (#2018). Commit
+	  adds lowest level primitive support for distance calculations on
+	  single arcs.
+
+2012-09-26 15:56  dustymugs
+
+	* Additional regression tests for ST_Neighborhood and tweaked to
+	  support a
+	  distance values of zero for one axis.
+
+2012-09-25 22:22  dustymugs
+
+	* Added docs regarding the callback function for
+	  rt_raster_iterator()
+
+2012-09-25 22:22  dustymugs
+
+	* Added regression tests, bug fixes and code cleanup for
+	  rt_raster_iterator().
+
+2012-09-25 22:22  dustymugs
+
+	* Added rt_raster_iterator(), which is feature complete. Now need
+	  to add
+	  lots of regression tests before moving on to the PostgreSQL side
+	  to hook
+	  into it.
+
+2012-09-25 19:23  dustymugs
+
+	* Changed behavior when there is no pixels in the neighborhood for
+	  ST_Neighborhood. It should still return an array as the pixel of
+	  interest could have a value... just surrounded by NODATA.
+
+2012-09-25 17:20  dustymugs
+
+	* Additional documentation regarding memory ownership
+
+2012-09-25 14:07  dustymugs
+
+	* Added correct handling of rt_band's ownsdata flag indicating if
+	  the
+	  memory used for the band's data (only for inline, not offline) is
+	  managed internally.
+
+2012-09-25 02:45  robe
+
+	* #2012: Change client_min_messages to warning instead of relying
+	  on default notice. 9.3's idea of notice doesn't seem to include
+	  notice about create of new tables.
+
+2012-09-24 15:07  dustymugs
+
+	* Changed output array of ST_Neighborhood to have dimensions of Y,X
+	  instead of X,Y. This matches that found for GDAL blocks.
+
+2012-09-24 15:07  dustymugs
+
+	* Additional tests for ST_Neighborhood()
+
+2012-09-22 14:44  robe
+
+	* #2010: Include for 9.3 move to below postgis_config.h so version
+	  number of postgresql is picked up before the conditional include
+	  is attempted
+
+2012-09-22 09:00  robe
+
+	* #2010: compile support for 9.3
+
+2012-09-22 03:55  robe
+
+	* Add link to OpenGeo workshop on KNN to KNN operator.
+
+2012-09-20 23:44  pramsey
+
+	* Remove now obsolete note.
+
+2012-09-20 22:24  pramsey
+
+	* Document ISO WKT/WKB (#1451)
+
+2012-09-20 13:32  robe
+
+	* #1991: speed issue with 9.2 on geocode and geocoder_intersection,
+	  seems to be 10-50 times faster by forcing join_collapse limit = 2
+
+2012-09-20 11:54  robe
+
+	* remark out regress and also put in name in database
+	  #2009 turn off loading of addrfeat
+	  #1614 add U.S. and COUNTY RD as street_type highways
+
+2012-09-19 18:48  dustymugs
+
+	* Additional regression tests for rt_raster_get_nearest_pixel()
+
+2012-09-19 18:48  dustymugs
+
+	* Added docs for ST_InvDistWeight4ma() and ST_MinDist4ma(). Changed
+	  function signature for ST_Neighborhood() to support specifying
+	  distances
+	  on both X and Y axis.
+
+2012-09-19 18:48  dustymugs
+
+	* Tweaked ST_Neighborhood() to use two separate distance parameters
+	  for X
+	  and Y axes.
+
+2012-09-19 18:48  dustymugs
+
+	* Added ST_MinDist4ma() for getting minimum distance from the
+	  center pixel
+	  to the nearest neighbor in neighborhood with value
+
+2012-09-19 18:48  dustymugs
+
+	* Added regression tests for ST_InvDistWeight4ma()
+
+2012-09-19 18:47  dustymugs
+
+	* Added Inverse Distance Weighting function for use with
+	  ST_MapAlgebraFctNgb
+
+2012-09-18 12:21  robe
+
+	* #2055: (L burned in all subsequent images after Delaunay)
+	  increase remove to remove images 0-9 before building next. The
+	  remove went from 0-5 and I guess Kevin wasn't counting on anyone
+	  crazy enough to have 6 image layers. This code definitely needs
+	  some work, but this will do for now.
+
+2012-09-17 12:31  strk
+
+	* Initial support for documentatin translation
+	  
+	  Adds "update-po" Makefile target under doc/
+	  Adds "local-html" Makefile target under doc/po/<lang>
+
+2012-09-17 11:43  strk
+
+	* Update URL of Maven jar (thanks Sandeep Thakkar)
+
+2012-09-14 21:03  strk
+
+	* reference_type.xml has been missing from XML sources for years !
+
+2012-09-14 20:59  strk
+
+	* Other double quotes needed by poxml
+
+2012-09-14 20:52  strk
+
+	* More Double quote tag attribute values for poxml support
+
+2012-09-14 20:33  strk
+
+	* Double quote tag attribute values and use open&close for
+	  <paramdef>
+	  
+	  This format plays nicely with xml2pot and po2xml...
+
+2012-09-14 11:29  robe
+
+	* PostGIS 2.1 changes section was incorrectly listing 2.0 instead
+	  of 2.1 changes. Also just folder 2.1 changes into many What is
+	  new in 2.1 section.
+
+2012-09-14 07:49  strk
+
+	* Distinguish between generated and source XML inputs
+
+2012-09-14 07:40  strk
+
+	* Rewrite header file to have full credits
+	  
+	  Used git history to figure out authors and commit years
+
+2012-09-14 03:10  robe
+
+	* Add changed section for 2.1 and mark ST_Segmentize as having a
+	  breaking change
+
+2012-09-13 20:41  strk
+
+	* Fix ST_Estimated_Extent name change documentation encoding
+
+2012-09-13 20:11  pramsey
+
+	* Remove code in #ifdefs for PgSQL 8.4 and under, per #1880
+
+2012-09-13 19:23  pramsey
+
+	* Test for #1780
+
+2012-09-13 09:53  strk
+
+	* ST_Estimated_Extent renamed to ST_EstimatedExtent (#1994)
+	  
+	  ST_Estimated_Extent is kept but deprecated, testcases test both
+	  signatures. Documentation documents the new name and warns about
+	  it being renamed in 2.1.0
+
+2012-09-13 02:08  pramsey
+
+	* #1780 ST_GeoHash should support geography type without cast
+
+2012-09-12 02:37  dustymugs
+
+	* Reverted some of the changes committed in r10238
+
+2012-09-11 14:07  robe
+
+	* forgot to commit ST_Delaun... reference in last
+
+2012-09-11 14:01  robe
+
+	* ST_DelaunayTriangle examples and a 3D example
+
+2012-09-10 18:36  pracine
+
+	* Fixed the state and final functions when count is zero or initial
+	  sum is null
+
+2012-09-10 15:00  robe
+
+	* #1869 note that ST_Asbinary on unknown is now illegal. Have to
+	  backport to 2.0 as well. I will add to full legacy though for
+	  those who can't change code.
+
+2012-09-08 02:26  robe
+
+	* Update PSC list
+
+2012-09-08 01:24  dustymugs
+
+	* Added docs for new variant of ST_SetValues()
+
+2012-09-08 01:21  dustymugs
+
+	* Added new variant on existing ST_SetValues where instead of a
+	  noset 2D
+	  array of booleans, the parameter nosetvalue can be used instead.
+
+2012-09-08 01:18  dustymugs
+
+	* Minor message tweaks regarding GDAL/OGR detection
+
+2012-09-07 22:20  pramsey
+
+	* correct length for closed circles (#1978)
+
+2012-09-07 20:05  pramsey
+
+	* ST_GeomFromGML on CurvePolygon causes server crash (#1936)
+
+2012-09-07 19:54  pramsey
+
+	* Fix cunit crash due to lack of proper signature for
+	  lwgeom_segmentize_sphere in header.
+
+2012-09-07 18:27  pramsey
+
+	* ST_Distance to a one-point LineString returns NULL (#1957)
+
+2012-09-06 18:08  dustymugs
+
+	* Added item for fixes regarding ticket #1981
+
+2012-09-06 17:34  dustymugs
+
+	* Removed unnecessary/unused variables and assignments. Ticket is
+	  #1981
+
+2012-09-06 17:30  dustymugs
+
+	* Minor cleanup of raster2pgsql Makefile
+
+2012-09-06 09:30  strk
+
+	* Encode dependency on GEOS >= 3.3.0
+
+2012-09-06 09:27  strk
+
+	* Encode dependency on PROJ >= 4.6.0
+
+2012-09-06 09:24  strk
+
+	* Encode dependency on PostgreSQL 9.0 or higher
+
+2012-09-05 13:41  robe
+
+	* #1970 - 9.2rc1 regress failure change layer_id_seq from select *
+	  to explicitly select fields. log_cnt now returns 0 for 9.2rc1 so
+	  fails regress otherwise
+
+2012-09-04 12:53  robe
+
+	* #1974 evidentally Unix really needs the RGB, RGBA quoted and
+	  windows doesn't like single quotes. Change to double quotes to
+	  satisfy both :)
+
+2012-09-04 12:48  robe
+
+	* #1974 revision of () escaping to work on Posix
+
+2012-09-04 12:43  strk
+
+	* Re-quote the styles, needed here
+	  
+	  Here is ImageMagick 6.5.7-8 2012-08-17 Q16
+	  Didn't look what exactly parses styles.conf
+
+2012-09-04 12:34  strk
+
+	* Properly escape imagemagic paren arguments
+
+2012-09-04 11:44  robe
+
+	* #1974 revise style colors and generator.c convert calls so they
+	  work with windows ImageMagick 6.7.9 Q16
+
+2012-09-01 08:39  strk
+
+	* Add missing signatures from 1.5, closing #1391
+	  
+	  These are: st_asukml and {x,y}{min,max}(box2d)
+
+2012-08-28 04:08  robe
+
+	* #1960 JDK7 compatibility patch
+
+2012-08-28 00:05  robe
+
+	* Fix for #1969 (and test buildbot) make
+	  postgis_upgrade_21_minor.sql same as postgis_upgrade_20_21.sql
+	  for now since we are in prerelease mode.
+
+2012-08-27 04:50  robe
+
+	* #1897 relabel currently mislabeled postgis_upgrade_20_minor.sql
+	  to postgis_upgrade_20_21.sql (still need to do the same for
+	  raster and topology)
+
+2012-08-25 03:16  robe
+
+	* Up version number from 2.0.1.SVN to 2.1.0SVN
+
+2012-08-23 07:16  robe
+
+	* 1963: Cast text to geometry for ST_Segmentize -- introduction of
+	  geography means no more laziness allowed
+
+2012-08-23 06:37  robe
+
+	* update about enhancements in geography ST_DWithin and
+	  ST_Distance. Done for ST_Intersects too I think? Paul? But
+	  haven't marked ST_Intersects since wasn't sure.
+
+2012-08-23 06:31  robe
+
+	* document ST_Segmentize new geography function. Will provide
+	  example later.
+
+2012-08-22 21:04  pramsey
+
+	* ST_Segmentize(geography, maxseglength) (#1962)
+
+2012-08-21 18:22  pramsey
+
+	* ST_Intersects(geography) returns incorrect result for
+	  pure-crossing cases (line cross line, line crosses polygon)
+	  (#1958)
+
+2012-08-20 12:06  robe
+
+	* Cleanup of required versions and link to new page that lists
+	  pre-packaged distros for various OS
+
+2012-08-17 19:15  pramsey
+
+	* Error in ST_Intersects: lwgeom_covers_lwgeom_sphere: only POLYGON
+	  and POINT types are currently supported (#1949)
+
+2012-08-17 17:18  strk
+
+	* Fix ST_ModEdgeHeal and ST_NewEdgeHeal for doubly connected edges
+	  
+	  Includes testcases, closes #1955
+
+2012-08-15 18:55  pramsey
+
+	* Crash in ST_Distance (#1951)
+
+2012-08-14 12:06  robe
+
+	* remove tiger_2010 from 2.1. So just need to update for 2.0
+	  branch. too much hassle to backport and most people will want to
+	  use tiger_2011
+
+2012-08-13 21:45  robe
+
+	* #1838 for tabblock name and tabblock_id are not big enough for
+	  california. Will only alter the columns if they have not already
+	  been increased in size
+
+2012-08-11 19:58  robe
+
+	* #1838 -- tabblock not loading. oops committed wrong change.
+	  Revert previous change and make correct change.
+
+2012-08-11 19:49  robe
+
+	* #1838 tabblock not loading
+
+2012-08-10 16:00  pramsey
+
+	* Switch from gnomic to LAEA for the projection for the custom
+	  zones. Less perfect intersections, but measure metric fidelity
+	  for distances, areas, etc. (#1610)
+
+2012-08-09 15:54  robe
+
+	* #1944: Support for 2.1.0SVN/2.1.0SVN extension for topology
+	  ALTER EXTENSION postgis_topology UPDATE TO "2.1.0SVNnext";
+	  ALTER EXTENSION postgis_topology UPDATE TO "2.1.0SVN";
+
+2012-08-09 02:31  robe
+
+	* fix typo revision to previous commit in support of #1944
+
+2012-08-09 00:18  dustymugs
+
+	* Added clamped value comparisons and updated comments for
+	  rt_band_get_pixel_of_value()
+
+2012-08-08 06:26  robe
+
+	* revision to previous commit -- forgot one and change Next to next
+
+2012-08-08 06:18  robe
+
+	* #1944 Extensions Migration path from 2.1.0 to 2.1.0 - yoyo
+	  upgrade to allow upgrade 2.1.0SVN to 2.1.0SVNNext to 2.1.0SVN
+
+2012-08-07 12:34  robe
+
+	* #1945 for upgrade from pre 2.1.0 release to 2.1.0 -- create
+	  samealignment agg and addbandarg types if they don't exist. Get
+	  rid of pre-9.0 code -- WE CAN DO now since we don't support 8.4
+	  in 2.1 :)
+
+2012-08-06 22:29  dustymugs
+
+	* Refactor data type cleanup
+
+2012-08-06 16:21  robe
+
+	* #1948 drop types from extension no longer needed by raster. Still
+	  can't upgrade because addbandarg can't be altered if it doesn't
+	  exist.
+
+2012-08-06 15:02  dustymugs
+
+	* Simplify code underlying ST_AddBand(raster, raster[])
+
+2012-08-05 23:04  robe
+
+	* Another example for ST_DumpPoints which is the most common use
+	  case
+
+2012-08-04 14:28  dustymugs
+
+	* Replaced last commit with something much simpler and possibly
+	  more
+	  effective
+
+2012-08-04 14:12  dustymugs
+
+	* Added logic for when to DROP and/or CREATE TYPEs.
+
+2012-08-03 21:45  robe
+
+	* #1947 try again forget end mark
+
+2012-08-03 21:38  robe
+
+	* #1947 define upgrade path from 2.0.1 to 2.1.0SVN
+
+2012-08-03 19:43  dustymugs
+
+	* Added missing variant of ST_SetValues without nband parameter.
+
+2012-08-03 17:44  dustymugs
+
+	* Added new TYPEs that need to be added when doing a minor upgrade.
+
+2012-08-03 00:19  dustymugs
+
+	* Cleanup of GDAL checks and additional check for OGR
+
+2012-08-03 00:19  dustymugs
+
+	* Added rt_util_gdal_register_all() to prevent multiple calls to
+	  GDALAllRegister()
+
+2012-08-02 19:27  dustymugs
+
+	* Tweaked tests to use new variants of ST_AddBand and ST_SetValues
+
+2012-08-02 18:51  dustymugs
+
+	* Code and comments cleanup.
+
+2012-08-02 15:21  dustymugs
+
+	* Additional comments regarding use of PG_DETOAST_DATUM_COPY
+
+2012-08-01 23:19  dustymugs
+
+	* Added comments regarding use of PG_DETOAST_DATUM*
+
+2012-08-01 23:16  dustymugs
+
+	* Rewrote ST_AddBand(raster, ...) array version in C. Ticket is
+	  #1363
+
+2012-08-01 03:47  robe
+
+	* Fix raise notice that only shows in debug mode
+
+2012-07-31 23:44  dustymugs
+
+	* Added regression tests and docs for two of the ST_SetValues
+	  variants
+
+2012-07-31 23:44  dustymugs
+
+	* Added ST_SetValues for setting an area defined by x, y, width and
+	  height
+	  to one value. Also added function parameter "keepnodata".
+
+2012-07-31 23:44  dustymugs
+
+	* Added ST_SetValues() for setting an array of new values to a
+	  band.
+	  Ticket is #595
+
+2012-07-31 23:43  dustymugs
+
+	* First steps of add ST_SetValues() variant for array of values
+
+2012-07-31 15:40  dustymugs
+
+	* Fixed forgotten type casting for ST_DWithin and ST_DFullyWithin()
+
+2012-07-30 22:40  dustymugs
+
+	* Make PostgreSQL 8.4 happy with the rt_polygon regression test.
+
+2012-07-30 15:40  dustymugs
+
+	* Added final touches of removing output-only data types
+
+2012-07-29 02:36  dustymugs
+
+	* Added news regarding #1939
+
+2012-07-29 02:34  dustymugs
+
+	* Removed histogram data type. Ticket is #1939
+
+2012-07-29 02:34  dustymugs
+
+	* Removed valuecount data type. Ticket is #1939
+
+2012-07-29 02:34  dustymugs
+
+	* Removed quantile data type. Ticket is #1939
+
+2012-07-29 02:34  dustymugs
+
+	* Removed summarystats data type. Ticket is #1939
+
+2012-07-27 22:49  dustymugs
+
+	* Expanded on comments about things to keep in mind when using
+	  rt_band_set_pixel_line()
+
+2012-07-27 19:46  dustymugs
+
+	* Updated docs for new type addbandarg and new ST_AddBand() variant
+
+2012-07-27 19:46  dustymugs
+
+	* Refactored ST_AddBand to permit adding one or more new bands in
+	  one
+	  call. Ticket is #1938.
+
+2012-07-27 19:45  dustymugs
+
+	* New and refactored variants of ST_AddBand(). Purely superficial
+	  as none
+	  of the underlying code has been rewritten for the changes...
+
+2012-07-25 20:37  dustymugs
+
+	* Added examples to a bunch of functions
+
+2012-07-25 19:31  dustymugs
+
+	* Added rt_pixtype_compare_clamped_values() for comparing two
+	  doubles in
+	  the context of a pixeltype.
+
+2012-07-25 15:26  dustymugs
+
+	* Added info about a few undocumented raster2pgsql flags
+
+2012-07-25 15:03  dustymugs
+
+	* Added #1932 to NEWS
+
+2012-07-25 15:03  dustymugs
+
+	* Fixed syntax for setting tablespace for index. Ticket is #1932.
+	  Thanks
+	  kib.
+
+2012-07-25 13:52  strk
+
+	* Do not advertise broken type "geometry(srid)" (#1934)
+
+2012-07-25 03:36  dustymugs
+
+	* Removed garbage comments
+
+2012-07-25 03:36  dustymugs
+
+	* Consolidated create_* and drop_* scripts into respective
+	  regression
+	  tests. Should make things easier to build a valgrind test suite.
+
+2012-07-25 03:36  dustymugs
+
+	* Added docs for ST_DFullyWithin(raster, raster)
+
+2012-07-25 03:36  dustymugs
+
+	* Added ST_DFullyWithin(raster, raster) and regression tests.
+	  Ticket is #1920
+
+2012-07-25 03:35  dustymugs
+
+	* Added rt_raster_full_within_distance() and regression tests
+
+2012-07-25 03:35  dustymugs
+
+	* Added docs for ST_DWithin(raster, raster)
+
+2012-07-25 03:35  dustymugs
+
+	* Added ST_DWithin(raster, raster) and regression tests. Ticket is
+	  #1922
+
+2012-07-25 03:35  dustymugs
+
+	* Added rt_raster_within_distance() and regression tests
+
+2012-07-24 18:01  dustymugs
+
+	* Added ST_Disjoint(raster, raster), regression tests and docs.
+	  Ticket is
+
+2012-07-23 22:57  dustymugs
+
+	* Added to docs for ST_CoveredBy
+
+2012-07-23 22:57  dustymugs
+
+	* Added ST_CoveredBy and regression tests. Ticket is #1917.
+
+2012-07-23 22:57  dustymugs
+
+	* Fixed missing closing tag
+
+2012-07-23 22:57  dustymugs
+
+	* Added rt_raster_covered_by() and related tests
+
+2012-07-23 22:56  dustymugs
+
+	* Added docs for ST_Covers()
+
+2012-07-23 22:56  dustymugs
+
+	* Added ST_Covers() and regression tests. Ticket is #1916
+
+2012-07-23 22:56  dustymugs
+
+	* Added rt_raster_covers() and regression tests
+
+2012-07-23 18:58  dustymugs
+
+	* Added docs for ST_ContainsProperly(raster, raster) and minor
+	  tweaking of
+	  comments
+
+2012-07-23 18:58  dustymugs
+
+	* Added ST_ContainsProperly(raster, raster) and regression tests
+
+2012-07-23 18:58  dustymugs
+
+	* Addition of rt_raster_contains_properly and regression tests
+
+2012-07-23 17:50  dustymugs
+
+	* Added regression tests for ST_Within(raster, raster). Ticket is
+	  #1923.
+
+2012-07-23 17:50  dustymugs
+
+	* Minor fixups to ST_Polygon in docs. Ticket is #1929.
+
+2012-07-23 17:50  dustymugs
+
+	* Minor changes to comments
+
+2012-07-23 17:50  dustymugs
+
+	* Addition of docs for ST_Within(raster, raster)
+
+2012-07-23 17:49  dustymugs
+
+	* Reintroduced ST_Intersects(geometry, raster) and
+	  ST_Intersects(raster,
+	  geometry). Added notes regarding the use of ST_Polygon when
+	  needing to
+	  test the spatial relationship between a raster and a geometry.
+
+2012-07-23 17:49  dustymugs
+
+	* Added docs for ST_Contains(raster, raster)
+
+2012-07-23 17:49  dustymugs
+
+	* Updated regression tests to reflect the removal of various
+	  functions
+
+2012-07-23 17:49  dustymugs
+
+	* Removed all raster/geometry variants of ST_Intersects,
+	  ST_Overlaps,
+	  ST_Touches and ST_Contains.
+
+2012-07-23 17:49  dustymugs
+
+	* Removed geometry-based ST_Touches for raster,geometry
+	  combinations.
+
+2012-07-23 17:49  dustymugs
+
+	* Removed vector-space (geometry-based) variants of ST_Overlaps.
+	  Only
+	  raster-space versions remain.
+
+2012-07-23 17:49  dustymugs
+
+	* Addition of ST_Contains and regression tests. Ticket is #1914
+
+2012-07-23 17:49  dustymugs
+
+	* Added rt_raster_contains() and regression tests
+
+2012-07-23 17:49  dustymugs
+
+	* Removed some commented out code and added more debug output
+
+2012-07-23 00:46  robe
+
+	* #1929 document behavior change and speed improvements
+
+2012-07-20 00:31  dustymugs
+
+	* Addition debug messages and disabled one regression test for
+	  ST_Touches
+	  due to floating point issues. Will need to see the WKB output.
+
+2012-07-19 23:53  dustymugs
+
+	* Code cleanup and additional debug output
+
+2012-07-19 20:10  dustymugs
+
+	* Updated NEWS and docs for ST_Touches()
+
+2012-07-19 20:10  dustymugs
+
+	* Addition of ST_Touches() for rasters and related regression
+	  tests.
+	  Ticket is #1921
+
+2012-07-19 20:10  dustymugs
+
+	* Remove rt_spatial_relationship regression tests as similar tests
+	  are
+	  done in rt_intersects and rt_intersection
+
+2012-07-19 20:09  dustymugs
+
+	* Extracted most of code in rt_raster_overlaps to create generic
+	  GEOS
+	  spatial relationship testing function
+	  rt_raster_geos_spatial_relationship(). Refactored
+	  rt_raster_overlaps()
+	  call rt_raster_geos_spatial_relationship(). Added
+	  rt_raster_touches()
+	  and associated regression tests
+
+2012-07-19 18:18  dustymugs
+
+	* Added docs for ST_Overlaps
+
+2012-07-19 18:18  dustymugs
+
+	* Added ST_Overlaps() and associated regression tests
+
+2012-07-19 18:18  dustymugs
+
+	* Addition of rt_raster_overlaps and related regression tests.
+	  Fixed
+	  memory leaks in rt_raster_surface.
+
+2012-07-19 18:18  dustymugs
+
+	* Removed code preventing use of rt_raster_intersects on offline
+	  bands as
+	  offline bands are supported
+
+2012-07-19 18:18  dustymugs
+
+	* Minor documentation change regarding && operator and tweaked one
+	  variant of st_intersects
+
+2012-07-19 17:00  pramsey
+
+	* Add in geography note
+
+2012-07-17 22:38  dustymugs
+
+	* Fixed ST_Polygon regression tests to properly handle different
+	  GEOS
+	  versions
+
+2012-07-17 22:37  dustymugs
+
+	* Fix function creation statement
+
+2012-07-17 22:37  dustymugs
+
+	* Added cleanup code for removing ST_BandSurface
+
+2012-07-17 22:37  dustymugs
+
+	* Regression tests intended for ST_BandSurface are now for
+	  ST_Polygon
+
+2012-07-17 22:37  dustymugs
+
+	* Removed ST_BandSurface as ST_Polygon does the same thing, just in
+	  SQL.
+	  Changed ST_Polygon to point use C function instead of sql.
+	  Refactored rt_raster_surface to match performance of SQL-only
+	  ST_Polygon.
+
+2012-07-16 03:17  robe
+
+	* additional cleanup to insure settings are consistent
+
+2012-07-16 03:11  robe
+
+	* #1913 regress check
+
+2012-07-16 03:09  robe
+
+	* #1913 reverse geocoder sometimes gives least optimal answer
+	  because of sorting issue
+
+2012-07-14 00:14  dustymugs
+
+	* Updated TODO since a bunch of functions just had tickets created.
+
+2012-07-13 23:44  dustymugs
+
+	* Updated TODO and refactored ST_Intersects(geometry, raster) to
+	  use
+	  ST_BandSurface()
+
+2012-07-13 23:29  dustymugs
+
+	* Added docs and updated NEWS for ST_BandSurface
+
+2012-07-13 23:28  dustymugs
+
+	* Addition of ST_BandSurface and regressions tests. Ticket is #1911
+
+2012-07-13 23:28  dustymugs
+
+	* Additional tests for rt_raster_surface()
+
+2012-07-13 23:28  dustymugs
+
+	* Additional comments regarding use of lwgeom_as_multi() and the
+	  lwgeom_clone_deep()
+
+2012-07-13 23:28  dustymugs
+
+	* Addition of rt_raster_surface() function and related regression
+	  test.
+	  Added regression test for rt_raster_pixel_as_polygon.
+
+2012-07-13 23:28  dustymugs
+
+	* Initial commit of rt_raster_surface() with base regression tests
+
+2012-07-12 17:24  pramsey
+
+	* Add in test for node splitting with nulls and empties (#1905)
+
+2012-07-12 13:49  dustymugs
+
+	* Changed word choice "Supported" instead of "Available"
+
+2012-07-12 03:38  pramsey
+
+	* Allow circtree nodes to have more than 2 children (#1910)
+
+2012-07-11 19:33  pramsey
+
+	* Comment on methodology behind tree node merging
+
+2012-07-11 18:15  pramsey
+
+	* Complete geography performance work (#1796), move testing
+	  functions into _ST_* name space for privacy, add regression tests
+	  for issues encountered during development.
+
+2012-07-11 04:14  pramsey
+
+	* Add note for future pain
+
+2012-07-11 04:05  pramsey
+
+	* Fix issue with projecting from the poles, retain the source
+	  longitude for more sensible result.
+
+2012-07-10 20:32  pramsey
+
+	* Fix a NaN result leaking into the tree building algorithm
+	  (optimized 32 bit code only!).
+
+2012-07-10 20:27  strk
+
+	* Create target dir if non-existing
+
+2012-07-06 23:50  pramsey
+
+	* Handle best SRID finding for shapes the cross the poles and
+	  dateline. Also add some new larger zones in gnomic for larger
+	  shapes. (#1610)
+
+2012-07-05 19:15  pramsey
+
+	* Fix issue where the cached object is a point and the uncached one
+	  is a polygon. (#1796)
+
+2012-07-05 16:50  pramsey
+
+	* Support for larger objects in ST_Intersection(geography) (#1610)
+	  This adds a set of larger regions that are handled with a gnomic
+	  projection. It could also use an orthographic. There's still a
+	  case to be handled for objects that cross the dateline or poles.
+
+2012-07-04 18:11  pramsey
+
+	* Fix problems with circtree building on short edges near the
+	  poles. (#1796)
+
+2012-07-04 13:12  strk
+
+	* Fix pgsql2shp for big-endian systems (#1900)
+	  
+	  Submitted By: Ryan Oliver <ryan.oliver at dse.vic.gov.au>
+
+2012-07-04 00:47  dustymugs
+
+	* Changed return value of rt_pixtype_get_min_value() when pixel
+	  type is
+	  unknown
+
+2012-07-04 00:33  dustymugs
+
+	* Fixed how the minimum possible value of a pixel type was being
+	  determined. Added regression tests for band without NODATA.
+
+2012-07-03 23:40  dustymugs
+
+	* Fixed handling of pixel value check for NODATA
+
+2012-07-03 22:30  dustymugs
+
+	* Added docs for ST_PixelAsPoints and ST_PixelAsCentroids and
+	  update NEWS
+
+2012-07-03 22:30  dustymugs
+
+	* Addition of notes differentiating ST_DumpPolygons and
+	  ST_PixelsAsPolygons
+
+2012-07-03 22:30  dustymugs
+
+	* Addition of regression tests for ST_PixelAsCentroids and
+	  ST_PixelAsPoints
+
+2012-07-03 22:30  dustymugs
+
+	* Addition of ST_PixelAsPoints and ST_PixelAsCentroids
+
+2012-07-03 22:30  dustymugs
+
+	* Removed RASTER_getPixelPolygon as it has been replaced with
+	  RASTER_getPixelPolygons
+
+2012-07-03 22:30  dustymugs
+
+	* Change signature of ST_PixelAsPolygons() and added regression
+	  tests.
+
+2012-07-03 22:29  dustymugs
+
+	* Added check for empty raster to RASTER_getPixelPolygons
+
+2012-07-03 22:29  dustymugs
+
+	* Refactored ST_PixelAsPolygons to call a C function and have
+	  enhanced
+	  capabilities. Additional variants and regression tests are next.
+
+2012-07-03 22:29  dustymugs
+
+	* Renamed "hasnodata" function parameter to "exclude_nodata_value"
+
+2012-07-03 20:08  robe
+
+	* fix typos
+
+2012-07-03 19:45  robe
+
+	* Admit defeat and render geometries old-fashoined way
+
+2012-07-03 19:18  robe
+
+	* let see if a geom collection works
+
+2012-07-03 19:11  robe
+
+	* lets take out completely for now.
+
+2012-07-03 19:04  robe
+
+	* break out multiline into separate linestrings hopefully wkt
+	  parser can deal with this better
+
+2012-07-03 18:44  pramsey
+
+	* Add in ST_DistanceTree for testing purposes. Do not document.
+
+2012-07-03 16:13  robe
+
+	* one more try
+
+2012-07-03 15:50  robe
+
+	* forgot to commit wkt files
+
+2012-07-03 15:45  robe
+
+	* some examples of delaunay triangles
+
+2012-07-03 13:58  strk
+
+	* Be tolerant with regressing against GEOS-3.2.0
+
+2012-07-03 13:16  dustymugs
+
+	* cleanup of examples for ST_Raster2WorldCoord()
+
+2012-07-03 07:57  robe
+
+	* update unpackaged. Need to make this an automated task perhaps
+	  thru jenkins first.
+
+2012-07-01 14:24  pramsey
+
+	* Fix problem thresholded distance searching in circ-trees. (#1796)
+
+2012-06-30 21:18  pramsey
+
+	* Fix cache coherence error where the trees were being built on top
+	  of geometries which would get freed out from underneath them.
+	  Instead build them on the cached representations we're carrying
+	  around anyways (#1796)
+
+2012-06-29 20:48  dustymugs
+
+	* int32 instead of int4 as per Peter Eisentraut on postgis-devel.
+
+2012-06-29 19:00  dustymugs
+
+	* Added svn:keywords entry and removed TODO item as ticket already
+	  exists.
+
+2012-06-29 17:10  strk
+
+	* Let testing temp dir be settable using PGIS_REG_TMPDIR
+	  
+	  Prior to this change you could change it using the TMPDIR
+	  variable
+	  but that one could have been used by other software as well.
+
+2012-06-29 02:06  dustymugs
+
+	* Fixed line issues. Added another TODO item.
+
+2012-06-29 01:58  dustymugs
+
+	* Line formatting
+
+2012-06-28 17:31  dustymugs
+
+	* Added raster TODO. Ticket is #1672
+
+2012-06-27 15:53  strk
+
+	* Add ST_DelaunayTriangles (#1215)
+
+2012-06-27 14:26  strk
+
+	* Add lwgeom_delaunay_triangulation (#1215)
+
+2012-06-27 08:26  strk
+
+	* Use LDFLAGS environment when building liblwgeom (#1891)
+	  
+	  Thanks mweisman
+
+2012-06-26 20:01  dustymugs
+
+	* Int32GetDatum() not Int64GetDatum()
+
+2012-06-26 18:17  dustymugs
+
+	* Cleanup of needless dynamic memory allocations
+
+2012-06-26 18:17  dustymugs
+
+	* Addition of ST_PixelOfValue. Ticket is #1889.
+
+2012-06-26 18:17  dustymugs
+
+	* Removed improper freeing of memory.
+
+2012-06-25 09:06  robe
+
+	* #1866 -- apply same geom_equal hack as we did in build area so
+	  differnt order of geometries in resulting geomcollection is
+	  ignored
+
+2012-06-24 19:31  robe
+
+	* 2.0.1 ticket notes
+
+2012-06-22 17:54  pramsey
+
+	* Fix a currently defined-out function signature mismatch.
+
+2012-06-22 05:52  robe
+
+	* fix census tract loader for sh
+
+2012-06-21 22:24  mcayland
+
+	* Remove auto-resizing columns from text fields in shp2pgsql-gui as
+	  they seem to be the cause of #1881.
+
+2012-06-21 20:18  dustymugs
+
+	* Changed the string "MISSING GDAL DATA" to "GDAL_DATA not found".
+
+2012-06-21 20:18  dustymugs
+
+	* Added method that includes the string "MISSING GDAL DATA" in the
+	  output
+	  of postgis_gdal_version() if GDAL is unable to access its data
+	  files
+
+2012-06-21 11:02  robe
+
+	* #1759: ST_Transform fix for geography
+
+2012-06-20 19:32  pramsey
+
+	* Hey kid, here's quarter, go buy yourself a compiler.
+
+2012-06-20 19:29  pramsey
+
+	* Don't try to do tree caching tricks when the arguments are both
+	  points, that's silly.
+
+2012-06-20 03:32  robe
+
+	* might as well change last geos version to latest release we
+	  technically don't even support 3.3.0
+
+2012-06-20 03:32  robe
+
+	* Change minimum postgres version from 8.4 to 9.0
+
+2012-06-20 03:01  pramsey
+
+	* ST_LocateAlong chokes on some value combinations (#1874)
+
+2012-06-19 22:09  dustymugs
+
+	* Refactored aggregate ST_SameAlignment to return NULL if one of
+	  the
+	  rasters passed in is NULL. Added regression tests for aggegrate
+	  ST_SameAlignment.
+
+2012-06-19 20:47  pramsey
+
+	* ST_InterpolatePoint returns empty M value (#1873)
+
+2012-06-19 19:08  dustymugs
+
+	* Addition of aggregate variant of ST_SameAlignment. Ticket is
+	  #1661.
+
+2012-06-19 19:08  dustymugs
+
+	* Minor cleanup of comments
+
+2012-06-19 18:11  pramsey
+
+	* Fix mistake in tree p-i-p return value.
+
+2012-06-19 16:46  pramsey
+
+	* Fix mistaken error trap in st_dwithincached
+
+2012-06-19 03:42  pramsey
+
+	* Add in SQL binding for circ-tree cached searching. Currently in
+	  *Cached variants to allow comparisons.
+
+2012-06-18 23:59  pramsey
+
+	* Fix mistake in handling crossings-at-a-vertex
+
+2012-06-18 22:58  dustymugs
+
+	* Updated NEWS of recent fixes to trunk
+
+2012-06-18 22:48  dustymugs
+
+	* Behavior is consistent across ST_Intersects(raster, ...)
+	  variants.
+	  Synced docs of ST_Intersects to actual behavior. Ticket is #1870.
+
+2012-06-18 22:48  dustymugs
+
+	* Addition of comments to RASTER_mapAlgebra2()
+
+2012-06-18 22:47  dustymugs
+
+	* Added check before calling PG_FREE_IF_COPY() in
+	  RASTER_mapAlgebra2()
+
+2012-06-18 22:47  dustymugs
+
+	* When no pixels are counted for summary stats, all other elements
+	  of
+	  stats output should be NULL. Ticket is #1875
+
+2012-06-18 22:47  dustymugs
+
+	* Cleanup of dev comments
+
+2012-06-18 22:47  dustymugs
+
+	* Finished work implementing use of PG_FREE_IF_COPY() and better
+	  handling of rt_pgraster variables.
+
+2012-06-18 22:47  dustymugs
+
+	* Fix division by zero in ST_ApproxSummaryStats and the situation
+	  where
+	  band is empty. Added regression tests for both situations.
+	  Ticket is #1872
+
+2012-06-18 22:47  dustymugs
+
+	* More work implementing use of PG_FREE_IF_COPY() and better
+	  handling of
+	  rt_pgraster variables.
+
+2012-06-18 22:47  dustymugs
+
+	* First chunk of code reintroducting PG_FREE_IF_COPY() and prevent
+	  arbitrary reuse of rt_pgraster variables.
+
+2012-06-18 22:02  pramsey
+
+	* Silence a warning
+
+2012-06-18 22:02  pramsey
+
+	* Move the circ tree caching code out of libpgcommon and into the
+	  geography area that actually uses it
+
+2012-06-18 21:40  pramsey
+
+	* Fix missing symbols problem with lwgeom_calculate_circ_tree
+	  (#1876)
+
+2012-06-18 20:14  pramsey
+
+	* Quiet some warnings.
+
+2012-06-18 17:44  pramsey
+
+	* Remove dead code, add commentary on caching system.
+
+2012-06-18 17:12  pramsey
+
+	* Update caching code to be more generic, using call-backs to
+	  allocate/build/free specific cache structures.
+
+2012-06-18 13:19  robe
+
+	* more additions and clarifications
+
+2012-06-18 13:06  robe
+
+	* take out interruptibility from 2.0.1 release notes - got pushed
+	  to 2.1.0
+
+2012-06-18 02:35  robe
+
+	* Add in 2.0.1 news
+
+2012-06-16 17:44  robe
+
+	* put link to user contributed install guides (more nicely
+	  organized than the dev one)
+
+2012-06-15 23:53  pramsey
+
+	* Hide internal arguments for tree calculations and shut up the
+	  print output.
+
+2012-06-15 23:11  pramsey
+
+	* Update the caching infrastructure to allow for arbitrary new
+	  caching systems to be combined into one fn_extra pointer slot.
+	  Clean up the 1-d r-tree code a little bit. Make the cache
+	  handling code for geometry caching generic so it can be re-used
+	  across different internal indexing approaches
+
+2012-06-15 23:08  pramsey
+
+	* Change ignore parameters on directory
+
+2012-06-15 22:51  pramsey
+
+	* Add circular tree calculations and associated tests in support of
+	  faster geography calculations.
+
+2012-06-15 21:59  dustymugs
+
+	* Fixed expected output. Ticket is #1848
+
+2012-06-15 15:30  dustymugs
+
+	* Additional sorting of rt_clip regression test. Ticket is #1848
+
+2012-06-15 15:16  dustymugs
+
+	* Make the sql in rtpg_getSR slightly more flexible when handling
+	  auth_name and auth_srid.
+
+2012-06-14 16:56  pramsey
+
+	* update ignore to ignore generated doxygen file
+
+2012-06-14 16:06  strk
+
+	* Catch invalid topology name passed to topogeo_add* (#1867)
+
+2012-06-13 18:28  strk
+
+	* Don't strip comment lines in the middle of COPY commands (#1865)
+	  
+	  Patch by J Smith <dark.panda at gmail.com>
+
+2012-06-12 17:28  strk
+
+	* Move sqldefine include on top of the file (#1822)
+
+2012-06-12 13:11  strk
+
+	* Fix call to GEOS_interruptRegisterCallback (win32)
+
+2012-06-12 13:06  strk
+
+	* Only show readable relations in metadata tables (#1813)
+	  
+	  Affects both geometry_columns and geography_columns.
+	  No easy way to put this under automated regression testing.
+
+2012-06-12 12:34  strk
+
+	* Clearer error on setting an geometry to an invalid one (#1774)
+	  
+	  Include testcase
+
+2012-06-12 10:46  strk
+
+	* Drop temporary table at end of ValidateTopology (#1797)
+
+2012-06-12 09:30  strk
+
+	* Really accept collections and multipoints from ST_MakeValid
+	  (#1719)
+	  
+	  Also updates documentation and SQL level tests.
+
+2012-06-12 09:30  strk
+
+	* Add test for MULTIPOINT processing
+
+2012-06-12 09:09  strk
+
+	* Add GEOMETRYCOLLECTION input support for ST_MakeValid (#1719)
+
+2012-06-12 08:29  robe
+
+	* part fix for #1860 ST_SRID not unique
+
+2012-06-12 07:57  strk
+
+	* Install comments when available, even withouth XSLTPROC (#1779)
+
+2012-06-11 18:39  strk
+
+	* Build and install comments when if possible (#1779)
+
+2012-06-11 18:01  robe
+
+	* Mislabeled function (raster missing new flag and ST_ASGML
+	  mislabeled as new instead of enhanced)
+
+2012-06-11 17:28  robe
+
+	* get rid of 2.1 enhancements section -- probably causing pdflatex
+	  issues because we have no enhancements
+
+2012-06-11 17:12  robe
+
+	* fix unclosed tag
+
+2012-06-11 16:26  robe
+
+	* Add a what's new in 2.1 section
+
+2012-06-11 15:46  dustymugs
+
+	* Added DROP statements for st_intersection variants that were
+	  removed
+	  before 2.0. Ticket is #1749
+
+2012-06-11 14:45  robe
+
+	* warnings too dark
+
+2012-06-11 14:02  robe
+
+	* warnings should be more prominent. Move extension warning up a
+	  bit. correct misspelling
+
+2012-06-11 11:47  robe
+
+	* #1815 put a big warning about this unexpected behavior when
+	  trying to explicitly backup tables that are part of an extension
+
+2012-06-10 06:25  robe
+
+	* #1859 commit doc corrections from Kashif Rasul.
+
+2012-06-08 17:18  robe
+
+	* snaptogrid to get rid of false failures on mingw-64 resulting
+	  from single digit rounding differences
+
+2012-06-08 14:04  mcayland
+
+	* Rename references to -r to -s in shp2pgsql-cli.c and also move
+	  argument combination validation to a separate phase.
+	  
+	  This is based upon a report from Lauri Kajan who was having
+	  issues using -D and -s TO_SRID on Windows.
+
+2012-06-08 12:45  robe
+
+	* #1834 itemize srid ranges we include and set filter to not back
+	  these up. It's long and ugly I know.
+
+2012-06-08 11:55  strk
+
+	* Fix failure to detect endpoint mismatch in ST_AddEdge*Face*
+	  (#1857)
+	  
+	  Affects calls with start_node = end_node and matching start
+	  point.
+
+2012-06-08 11:13  strk
+
+	* Remove unused variables
+
+2012-06-08 04:14  robe
+
+	* minor improvements to prefer a named road over an unnamed one if
+	  within 20 meters, also #1856 ability to control preferred name
+	  for highways, county and state roads (whether numbered or local
+	  name)
+
+2012-06-07 23:08  strk
+
+	* Properly set permissions on backend temp dir
+
+2012-06-07 15:56  dustymugs
+
+	* Tweaked rt_clip queries to have the output ordered. Changed the
+	  round()
+	  call to a ceil() call due to the question of rounding 27.5 (is it
+	  28 or
+	  27?). Ticket is 1848.
+
+2012-06-07 15:18  strk
+
+	* Register a GEOS interrupt callback to dispatch windows events
+	  
+	  NOTE: won't build on WIN32 with GEOS-3.4.0SVN < r3672
+
+2012-06-07 14:17  strk
+
+	* Remove unused code
+
+2012-06-07 07:17  strk
+
+	* Ignore generated Makefile (a new one)
+
+2012-06-07 06:55  strk
+
+	* Fix scoping of TEST variable (#1853)
+	  
+	  I didn't really understand why it is only TEST needing to be
+	  "our"
+	  but it seems to work.
+
+2012-06-06 15:25  pramsey
+
+	* Wrong parameters for EPSG:3844 in spatial_ref_sys (#1851)
+
+2012-06-06 15:24  strk
+
+	* Have run_test.pl use strict mode
+
+2012-06-02 07:12  robe
+
+	* Forgot to add gisgraphy as another PostGIS geocoder. I know I am
+	  missing others.
+
+2012-05-31 22:49  pramsey
+
+	* Convert to using run_test.pl instead of run_test.sh
+
+2012-05-31 22:16  pramsey
+
+	* Works for MinGW now
+
+2012-05-31 20:16  pramsey
+
+	* back out run_test.pl change, that was an accident
+
+2012-05-31 20:11  strk
+
+	* Use our own diff, avoid using Which. Works for me. Tests welcome.
+
+2012-05-31 17:29  pramsey
+
+	* Change from sed to perl
+
+2012-05-31 16:57  pramsey
+
+	* Convert sed to perl
+
+2012-05-31 16:47  pramsey
+
+	* Switch from sed to perl
+
+2012-05-31 16:45  pramsey
+
+	* Switch from sed to perl
+
+2012-05-31 05:46  dustymugs
+
+	* Explicit error message when dimensions requested exceeds the
+	  maximum
+	  permitted of a raster.
+
+2012-05-31 05:45  dustymugs
+
+	* Added more verbiage regarding setting SRID with -s for
+	  raster2pgsql
+
+2012-05-31 05:45  dustymugs
+
+	* Correct spelling mistakes
+
+2012-05-31 05:45  dustymugs
+
+	* Updated docs to reflect change to minimum GDAL version
+
+2012-05-31 05:45  dustymugs
+
+	* Bumped up the minimum version of GDAL from 1.6 to 1.8
+
+2012-05-31 01:44  robe
+
+	* #1812 change to use sT_Equals to account for polygon order
+	  difference under windows (mingw)
+
+2012-05-31 01:34  robe
+
+	* fix typos
+
+2012-05-31 00:50  robe
+
+	* #1843 document new geocode_setting set/get functions, make
+	  publically readable.
+
+2012-05-30 21:49  pramsey
+
+	* Convert calls to 'sed' to calls to 'perl'
+
+2012-05-30 18:59  pramsey
+
+	* Perl-based pre/post hooks for the raster loader tests
+
+2012-05-30 18:58  pramsey
+
+	* Update the run_test.pl script to handle the raster loader
+	  pre/post rules
+
+2012-05-30 08:55  robe
+
+	* #1845 fix tracts/bg/tabblock loading
+
+2012-05-28 19:21  pracine
+
+	* Replace the x, y iteration with a call to ST_MapAlgebraExpr() now
+	  that it supports [rast.x] and [rast.y]. Much faster!
+	  This is not (yet) part of rtpostgis.sql. Should be in 2.1.
+
+2012-05-28 08:04  strk
+
+	* Install a signal handler to request GEOS interruption (#1802)
+	  
+	  Requires GEOS-3.4.0SVN
+
+2012-05-27 18:28  robe
+
+	* #1843 - logic to add the new settings table, a get and set
+	  function, and changed debug variables in various functions to
+	  lookup value from table
+
+2012-05-25 15:20  strk
+
+	* Handle exceptions from GEOSUnionCascaded() in
+	  LWGEOM_GEOS_buildArea
+
+2012-05-24 23:13  dustymugs
+
+	* Code cleanup related to rt_band_load_offline_data()
+
+2012-05-24 10:10  strk
+
+	* Do not call OGRCleanupAll() within API functions
+	  
+	  Valgrind didn't show any leak.
+	  Eventually we can do cleanups in _PG_fini.
+
+2012-05-24 06:41  strk
+
+	* Do not assume geos allocates using malloc. Reduce memory use too.
+
+2012-05-23 22:51  dustymugs
+
+	* Fixed GDALDriverH * to GDALDriverH.
+
+2012-05-23 22:36  dustymugs
+
+	* Use GDALIdentifyDriver() to detect whether or not a raster is
+	  supported
+	  by raster2pgsql. Thanks to rouault for the suggestion
+
+2012-05-23 21:41  colivier
+
+	* Fix ST_AsGML prototype in legacy. Related to #1823
+
+2012-05-23 20:49  colivier
+
+	* Fix geography prototype for ST_AsGML. Related to #1823
+
+2012-05-23 17:54  dustymugs
+
+	* Correct when to compute number of tiles. Ticket is #1840
+
+2012-05-23 17:54  dustymugs
+
+	* Add support for GeoTIFF subdatasets. Ticket is #1839
+
+2012-05-23 06:58  robe
+
+	* force casting to text for band types in various examples prevent
+	  unknown warnings (alibo noted)
+
+2012-05-23 03:24  robe
+
+	* backout changes about 2.0.1 already accounted for in 2.0 branch
+
+2012-05-23 03:16  robe
+
+	* add section for 2.0.1 and more items in 2.1.0 -- sitll a lot of
+	  gaps to fill in.
+
+2012-05-22 17:47  dustymugs
+
+	* Added missing "See Also" sections for ST_NearestValue and
+	  ST_Neighborhood
+
+2012-05-22 17:07  dustymugs
+
+	* Fix unbalanced tags
+
+2012-05-22 17:07  dustymugs
+
+	* Added ST_World2RasterCoord, ST_Raster2WorldCoord,
+	  ST_NearestValue,
+	  ST_Neighborhood to New Features section
+
+2012-05-22 17:06  dustymugs
+
+	* Added docs for ST_NearestValue and ST_Neighborhood
+
+2012-05-22 17:06  dustymugs
+
+	* Refactored function parameter names of ST_NearestValue and
+	  ST_Neighborhood
+
+2012-05-22 17:06  dustymugs
+
+	* Added docs for ST_World2RasterCoord() and ST_Raster2WorldCoord()
+
+2012-05-22 17:06  dustymugs
+
+	* Expansion of regression tests and fix error messages
+
+2012-05-22 17:06  dustymugs
+
+	* Lowercase language due to case-sensitivity of PostgreSQL 9.2
+
+2012-05-22 17:06  dustymugs
+
+	* Added regression tests for ST_World2RasterCoord and
+	  ST_Raster2WorldCoord. Updated existing tests use the same
+	  functions
+
+2012-05-22 17:06  dustymugs
+
+	* Added ST_Raster2WorldCoord and ST_World2RasterCoord functions to
+	  consume
+	  RASTER_rasterToWorldCoord and RASTER_worldToRasterCoord
+	  functions.
+	  Refactored existing ST_Raster2WorldCoord(X|Y) and
+	  ST_World2RasterCoord(X|Y) functions to call new functions
+
+2012-05-22 17:06  dustymugs
+
+	* Removed unnecessary/unused variable
+
+2012-05-22 17:05  dustymugs
+
+	* Drop ST_Neighborhood variants due to output datatype changes
+
+2012-05-22 17:05  dustymugs
+
+	* Modified ST_Neighborhood and underlying functions to return 2D
+	  double
+	  precision array. This allows the output to be readily passed onto
+	  the
+	  ST_xxx4ma functions.
+
+2012-05-22 17:05  dustymugs
+
+	* Updated copyright
+
+2012-05-22 17:05  dustymugs
+
+	* Added SRID check to ST_NearestValue
+
+2012-05-22 17:05  dustymugs
+
+	* addition of ST_NearestValue and ST_Neighborhood
+
+2012-05-22 16:02  colivier
+
+	* Fix wrong SQL prototype, wrong PostGIS version number, and use
+	  NULL as default value rather than empty string, related to #1823
+
+2012-05-22 15:29  robe
+
+	* #1837 dupe refentry
+
+2012-05-22 15:26  robe
+
+	* detail how to upgrade from tiger_2010 to tiger_2011 data
+
+2012-05-22 15:13  pramsey
+
+	* Add upgrade mode and start to get raster working. Bah, going to
+	  need to handle pre/post actions after all.
+
+2012-05-22 14:17  pramsey
+
+	* Upgrade from 2.0 only
+
+2012-05-22 13:34  robe
+
+	* Add new functions and notes that 2.1 is tiger_2011 instead of
+	  tiger_2010. More on upgrade instructions from tiger_2010 to
+	  tiger_2011
+
+2012-05-22 13:25  robe
+
+	* rename function drop_national_tables_generate_script() to
+	  drop_nation_tables_generate_script(), revise regex to prevent
+	  psql warning in 9.2 psql
+
+2012-05-22 12:23  colivier
+
+	* Use NULL value as default for id on ST_AsGML cunit tests. Related
+	  to #1823
+
+2012-05-22 09:20  strk
+
+	* More entries in authors.*
+	  
+	  With this I could complete a git-svn-clone operation
+
+2012-05-22 08:49  colivier
+
+	* Fix some unintialized vars. Fix becoming wrong prototype call in
+	  GML3 cunit tests. Related to #1823
+
+2012-05-22 08:49  pramsey
+
+	* Initial commit of the run_test.pl perl port of the regression
+	  harness.
+	  This version runs the postgis loader and sql tests. It does not
+	  yet run in --upgrade mode or handle the raster or topology tests.
+
+2012-05-22 07:45  strk
+
+	* Update authors file for both SVN and GIT
+
+2012-05-21 21:17  colivier
+
+	* First implementation of gml:id support for ST_AsGML. Related to
+	  #1823. Not yet really tested. Cunit still missing
+
+2012-05-21 20:29  robe
+
+	* get rid of old stuff can always be pulled from prior versions
+
+2012-05-21 20:28  robe
+
+	* move tiger_2011 work to 2.1
+
+2012-05-21 14:48  strk
+
+	* UTF8 author names
+
+2012-05-21 10:57  pramsey
+
+	* Back out ST_CollectionExtract changes, too many regression
+	  failures
+
+2012-05-21 10:13  pramsey
+
+	* Harmonize regression to new ST_CollectionExtract behavior
+
+2012-05-21 09:41  pramsey
+
+	* ST_CollectionExtract: inconsistent EMPTY results (#1778)
+
+2012-05-21 09:39  pramsey
+
+	* Bump numbers for 2.1 on trunk
+
+2012-05-21 09:36  pramsey
+
+	* Accept PostGIS 1.5 WKB type numbers in WKB parser (#1807)
+
+2012-05-21 08:05  pramsey
+
+	* Revert #1830
+
+2012-05-20 09:27  pramsey
+
+	* loader dumper / gui About have version correct credits (#1743)
+
+2012-05-20 09:17  pramsey
+
+	* the pgsql2shp tool should qualify its query against pg_class to
+	  ensure it gets the correct table to dump (#1814) <chander>
+
+2012-05-20 08:21  pramsey
+
+	* News update
+
+2012-05-20 08:20  pramsey
+
+	* pgsql2shp fix for "XInvalid endian flag value encountered" on
+	  PostgreSQL 9.2 (#1830)
+
+2012-05-20 07:31  pramsey
+
+	* Update NEWS with some bug fixes
+
+2012-05-18 09:59  strk
+
+	* Fix uninitialized read in GeoJSON parser (#1829)
+
+2012-05-17 13:37  strk
+
+	* Last bugfix item...
+
+2012-05-17 13:36  strk
+
+	* Do not compare uninitialized memory (#1825)
+	  
+	  May fix prepared geometry cache sub-uses (misses)
+
+2012-05-17 12:27  strk
+
+	* Fix topology loader against PostgreSQL 9.2 (#1822)
+
+2012-05-17 12:10  pramsey
+
+	* configure enabling extension reads 9.1 even on 9.2 (#1821)
+
+2012-05-17 11:59  pramsey
+
+	* Put back 900913 srid (#1805)
+
+2012-05-17 11:54  pramsey
+
+	* Error in empty short circuit (#1828)
+
+2012-05-17 11:47  strk
+
+	* Link lwgeom_normalize change to its ticket #1812
+
+2012-05-17 11:45  strk
+
+	* Add lwgeom_normalize in LIBLWGEOM, use in cu_buildarea tester
+
+2012-05-16 19:39  strk
+
+	* Use the proper function to release returns from GEOS.
+
+2012-05-16 19:39  strk
+
+	* Cleanly handle database creation error
+
+2012-05-16 18:50  dustymugs
+
+	* Updated to note bug #1819
+
+2012-05-16 18:47  dustymugs
+
+	* Added ST_Raster2WorldCoord and ST_World2RasterCoord functions to
+	  consume
+	  RASTER_rasterToWorldCoord and RASTER_worldToRasterCoord
+	  functions.
+	  Refactored existing ST_Raster2WorldCoord(X|Y) and
+	  ST_World2RasterCoord(X|Y) functions to call new functions
+
+2012-05-16 18:47  dustymugs
+
+	* Addition of RASTER_rasterToWorldCoord and
+	  RASTER_worldToRasterCoord
+	  functions
+
+2012-05-16 15:16  dustymugs
+
+	* Additional lower-casing of language for PostgreSQL 9.2 as per
+	  r9735
+
+2012-05-16 08:29  robe
+
+	* #1820 part fix 9.2 language is case sensitive if quoted -- change
+	  'C' and 'SQL' to 'c' and 'sql'
+
+2012-05-14 23:28  dustymugs
+
+	* Addition of some commented code. Might be useful if an option is
+	  added
+	  to output the VRTs used in the process of loading rasters
+
+2012-05-14 23:28  dustymugs
+
+	* Changed function parameter datatypes from uint16_t to int to
+	  better
+	  handle out-of-range values
+
+2012-05-10 07:24  strk
+
+	* Cleanup new BuildArea code, add profiling prints (#1806)
+
+2012-05-09 12:08  strk
+
+	* Significatively speedup BuildArea with complex input (#1806)
+	  
+	  Affects ST_BuildArea, ST_MakeValid and ST_GetFaceGeometry.
+	  
+	  Replaces the iterated SymDifference used since 2005 with a more
+	  scalable algorithm. The new algorithm removes from the
+	  polygonized
+	  result all polygons whose rings are known to be already
+	  represented
+	  by holes or shells of other polygons and finally runs a single
+	  overlay operation (unary union).
+	  
+	  With the case attached to ticket #1806, ST_BuildArea completes
+	  within 12 seconds using the new code while it takes 27 _minutes_
+	  with the old. Both versions return the same result (according to
+	  ST_Equals).
+
+2012-05-09 12:08  strk
+
+	* Add unit test for lwgeom_buildarea (useful for #1806)
+
+2012-05-08 16:47  strk
+
+	* ST_BuildArea: arrange polygonized output reducing overlay cost
+	  (#1806)
+	  
+	  By running SymDifference against items with less points first we
+	  reduce the overall cost (output vertices tend to always grow).
+
+2012-05-08 16:47  strk
+
+	* Make ST_MakeValid tests immune by coordinates order (using
+	  ST_Equals)
+
+2012-05-08 16:47  strk
+
+	* Cross reference ST_BuildArea with ST_MakePolygon
+
+2012-05-07 11:50  robe
+
+	* who is in charge of QA here? 1.5.4 completely missing from trunk
+
+2012-05-07 07:08  strk
+
+	* postgis_raster_lib_version is also in rtpostgis.sql, not
+	  topology.sql
+
+2012-05-07 06:58  strk
+
+	* postgis_raster_scripts_installed is in rtpostgis.sql, not
+	  topology.sql
+
+2012-05-05 13:06  pramsey
+
+	* README Installation error (#1804)
+
+2012-05-04 15:12  strk
+
+	* Sort bugfixes by ticket number, add an item for #1802
+
+2012-05-04 11:21  strk
+
+	* Turn custom allocators into an occasion for interruption (#1802)
+	  
+	  This change allows interrupting any function at allocation time.
+	  Doesn't allow interrupting loops not invoking custom allocators
+	  (includes GEOS, so far).
+
+2012-05-04 08:06  strk
+
+	* Protect ST_Segmentize from max_length=0 (#1799)
+
+2012-05-04 02:54  dustymugs
+
+	* Additional refactoring of rtpg_getSR().
+
+2012-05-04 02:54  dustymugs
+
+	* Additional fixups in rtpg_getSR() for better handling of
+	  spatial_ref_sys.
+	  Also inclusion of several regression tests to stress
+	  rtpg_getSR().
+
+2012-04-30 17:27  pramsey
+
+	* Restrict the coverage of the geography polar interesction
+	  slightly.
+
+2012-04-30 00:35  robe
+
+	* update stats
+
+2012-04-30 00:22  robe
+
+	* drop_state_tables_generate_script state arg misnamed as address
+	  instead of param_state
+
+2012-04-26 20:32  strk
+
+	* Add note about clang build fix (#1694)
+
+2012-04-26 20:26  strk
+
+	* Fix wrong ticket reference
+
+2012-04-26 20:10  strk
+
+	* Fix false edge-node crossing report in ValidateTopology (#1625)
+
+2012-04-26 16:30  strk
+
+	* Give ST_Azimuth a chance with close but distinct points (#1791)
+
+2012-04-25 22:36  robe
+
+	* meida /print wasn't working on all cheatsheets because too
+	  specific.
+
+2012-04-25 20:04  pramsey
+
+	* AddGeometryColumns allow dims = 0 (#1573)
+
+2012-04-25 19:41  strk
+
+	* Fix toTopoGeom handling of duplicated primitives (#1790)
+
+2012-04-25 18:49  pramsey
+
+	* st_dwithin(geog, geog, 0) doesn't work (#1264)
+
+2012-04-25 17:54  pramsey
+
+	* Forward port test from #1170
+
+2012-04-24 22:05  robe
+
+	* don't underline and color hyperlinks in print mode
+
+2012-04-24 20:02  pramsey
+
+	* run_test hangs on MSYS (#1788)
+
+2012-04-24 19:56  pramsey
+
+	* run_test hangs on MSYS (#1788)
+
+2012-04-24 19:12  strk
+
+	* Azimuth on the 9th hour of the clock is 3PI/2, not 3PI/4 (thanks
+	  ij)
+
+2012-04-24 17:58  pramsey
+
+	* libjson configure test doesn't include support for DLL (#1787)
+
+2012-04-24 15:37  strk
+
+	* Hush debugging in ST_DumpPoints
+
+2012-04-24 09:16  strk
+
+	* liblwgeom depends on postgis_config.h and postgis_svn_revision.h
+	  (#1786)
+
+2012-04-24 09:16  strk
+
+	* Fix deps of postgis on postgis_svn_revision.h, pgcommon and
+	  lwgeom
+
+2012-04-23 05:48  robe
+
+	* make igst index link tag friendly and provide example of nd
+	  index.
+
+2012-04-20 16:13  dustymugs
+
+	* Added note related to overviews not being aligned though the
+	  source
+	  rasters are aligned for specific overview factors.
+
+2012-04-20 14:50  dustymugs
+
+	* Added ticket #1782 to NEWS. Updated contributors section.
+
+2012-04-20 03:28  pramsey
+
+	* Fix incorrect call to geom->type where geom->flags is needed
+
+2012-04-20 03:23  pramsey
+
+	* st_isclosed() doesn't return false for unclosed POLYGONS only
+	  LINESTRINGS (#1756)
+
+2012-04-19 15:24  dustymugs
+
+	* Removed emptry string check that prevented use of proj4text or
+	  srtext in
+	  rtpg_getSR(). Ticket is #1782
+
+2012-04-19 15:23  dustymugs
+
+	* minor comments changed
+
+2012-04-18 19:21  dustymugs
+
+	* Fix handling of tuples as described in #1782
+
+2012-04-16 20:06  dustymugs
+
+	* Replaced testing of two rasters' geotransform matrix with
+	  alignment test
+
+2012-04-15 15:47  mcayland
+
+	* Fix #1468: shp2pgsql-gui table column schema get shifted
+	  
+	  A couple of copy/paste errors meant that the update handler was
+	  being invoked
+	  a second time on the loader shapefile column name, rather than
+	  just once on
+	  the schema column.
+
+2012-04-15 15:46  mcayland
+
+	* shp2pgsql-gui: don't allow the user to edit the schema name in
+	  the listview.
+	  
+	  This brings the behaviour in line with that of the table name,
+	  and since
+	  these entries are generated from the table selector there should
+	  be no
+	  need to do this.
+
+2012-04-13 21:14  strk
+
+	* Regress-test ST_ChangeEdgeGeom with 2-vertext target (#1775)
+	  
+	  This case was actually fixed by previous commit
+	  (ST_SymDifference)
+
+2012-04-13 21:04  strk
+
+	* fix ST_SymDifference(empty, geom) to return geom (#1776)
+
+2012-04-13 14:32  strk
+
+	* Give more detail on topology editing function exception
+
+2012-04-12 14:09  strk
+
+	* Use an SQLPP command for pre-processing SQL files (#1694)
+	  
+	  The SQLPP command is figured at ./configure time.
+	  It will use cpp(1) or gpp(1) if any is found in that order or
+	  fallback to whatever CPP expands to (usually the compiler with
+	  -E)
+
+2012-04-12 14:09  strk
+
+	* Use more compatible '#define' syntax
+
+2012-04-12 10:51  strk
+
+	* Do not assume ndims check statements are fully qualified (#1708)
+
+2012-04-12 10:28  strk
+
+	* Automate test for toTopoGeom usage with custom search_path
+	  (#1763)
+
+2012-04-12 10:28  strk
+
+	* Do not consider RESET outputs
+
+2012-04-12 10:06  strk
+
+	* Rephrase item for about topology functions and full qualification
+
+2012-04-12 07:21  strk
+
+	* Fix NaN from ptarray_locate_point with zero-length lines (#1772)
+
+2012-04-12 07:21  strk
+
+	* Fix comment doc about lwline_split_by_point_to
+
+2012-04-11 19:20  strk
+
+	* Add note about ST_RemEdgeModFace and ST_RemEdgeNewFace fix
+	  (#1766)
+
+2012-04-11 19:17  strk
+
+	* Don't let ST_RemEdge* destroy TopoGeometry objects (#1766)
+
+2012-04-11 12:37  strk
+
+	* Add note aboute #1714 bugfix
+
+2012-04-11 12:37  strk
+
+	* Cleanup lines after (bad) snapping (#1714)
+
+2012-04-10 17:26  strk
+
+	* Have ST_ModEdgeSplit and ST_NewEdgesSplit to use ST_Spit (#1715)
+
+2012-04-10 15:51  strk
+
+	* Call config.status if liblwgeom.h.in newer than liblwgeom.h
+	  (#1691)
+
+2012-04-10 10:20  strk
+
+	* Add bug fixes committed so far in the 2.0 branch
+
+2012-04-10 00:20  robe
+
+	* #1759 transform functionality doesn't work if you have raster
+	  installed.
+
+2012-04-09 22:44  dustymugs
+
+	* Added handling of subdatasets coming from NetCDF, HDF4 and HDF5.
+	  Associated ticket is #1761.
+
+2012-04-08 10:00  strk
+
+	* Fully qualify calls to topology functions (#1763)
+
+2012-04-07 02:05  robe
+
+	* #1757 -- change in behavior of ST_3Dlength_spheroid not noted and
+	  changed name incorrectly stated.
+
+2012-04-06 12:38  robe
+
+	* hyperlink function names to section in online manual
+
+2012-04-05 18:35  chodgson
+
+	* updated version number in pom.xml
+
+2012-04-05 18:25  pramsey
+
+	* Geometry has Z dimension but column does not (#1755)
+
+2012-04-05 18:22  pramsey
+
+	* Send an "unknown" typmod into gserialized constructor from
+	  ST_GeographyFromText (#1755)
+
+2012-04-05 09:11  strk
+
+	* Allow for 1.#INF to be threated as Inf (#1736)
+
+2012-04-05 09:11  strk
+
+	* Threat Infinite and 1.#INF the same (#1736)
+
+2012-04-05 08:56  strk
+
+	* Drop java/pljava dir (#1411)
+
+2012-04-05 08:54  strk
+
+	* Do not mention pljava, it's gone (#1411)
+
+2012-04-05 00:27  dustymugs
+
+	* Fixed missing SVN revision tag in raster2pgsql's help
+
+2012-04-04 21:49  strk
+
+	* Add note about topology.Polygonize not doing edge linking
+
+2012-04-04 21:49  strk
+
+	* Tabs to spaces
+
+2012-04-03 19:26  pramsey
+
+	* Update release date for 2.0.0 (TODO more readable release notes)
+
+2012-04-03 19:24  pramsey
+
+	* Set up for 2.0.1
+
+2012-04-03 19:22  pramsey
+
+	* Prep for 2.0.0
+
+2012-04-03 18:46  dustymugs
+
+	* Fix error message
+
+2012-04-03 18:29  strk
+
+	* Use full URL to trac query
+
+2012-04-03 18:24  pramsey
+
+	* Add extensions
+
+2012-04-03 18:21  pramsey
+
+	* Convert text to UTF8
+
+2012-04-03 18:10  pramsey
+
+	* Final answer?
+
+2012-04-03 17:46  pramsey
+
+	* rewrite breaking section
+
+2012-04-03 17:34  pramsey
+
+	* More minor edits
+
+2012-04-03 17:27  strk
+
+	* Add ST_Node item
+
+2012-04-03 17:25  pramsey
+
+	* Minor reorg of NEWS, more to come
+
+2012-04-03 12:05  strk
+
+	* Write CREATE TYPE as expected by postgis_proc_upgrade.pl (#1746)
+	  
+	  The script expects CREATE TYPE to spawn multimultiple lines ...
+
+2012-04-03 12:05  strk
+
+	* Add note about input noding for ST_Polygonize and ST_BuildArea
+
+2012-04-01 20:19  pramsey
+
+	* Update changelog on trunk
+
+2012-04-01 20:16  pramsey
+
+	* Version bumps for RC2
+
+2012-03-31 16:26  dustymugs
+
+	* Minor tweak to message regarding GEOS < 3.3
+
+2012-03-30 22:40  pramsey
+
+	* Comment out noise in the GEOS 3.2 case. (#1740)
+
+2012-03-30 14:17  mcayland
+
+	* Make sure that we clear any previously selected files when
+	  (re)opening the import file selector in the shapefile GUI.
+
+2012-03-30 14:17  mcayland
+
+	* Fix #1741: Build error --with-gui, gtk problem.
+	  
+	  Older versions of GTK (< 2.14.0) don't have
+	  gtk_dialog_get_content_area(). Work
+	  around this by providing a compatibility #define for these older
+	  GTK versions.
+
+2012-03-30 08:36  strk
+
+	* Have BuildArea catch exception from GEOSSymDifference (#1738)
+
+2012-03-29 21:52  pramsey
+
+	* wrong proj4text in spatial_ref_sys for SRID 31300 and 31370
+	  (#1389)
+
+2012-03-29 12:37  strk
+
+	* Fix crash on NULL item in ND index (#1734)
+	  
+	  Add regression testing for the case
+
+2012-03-28 23:12  pramsey
+
+	* make install doesn't install postgis_restore.pl (#1732)
+
+2012-03-28 22:59  pramsey
+
+	* Bump versions for 2.0.0rc1 release
+
+2012-03-28 14:02  strk
+
+	* Strip schemas from search_path as part of uninstall procedures
+
+2012-03-28 12:40  strk
+
+	* Reduce extensions requirements (#1724)
+	  
+	  Build extensions even w/out topology, and even w/out xsltproc if
+	  comments are already built.
+
+2012-03-28 11:36  strk
+
+	* Fix GetGopoGeomElementArray code (#1730)
+	  
+	  Includes regression testing for both GetGopoGeomElements
+	  and GetGopoGeomElementArray
+
+2012-03-28 09:19  strk
+
+	* Add regression test for GiST index crash on empty (#1697)
+	  
+	  Also tests you can query all empty items from an index
+
+2012-03-28 08:22  strk
+
+	* Fix crash in n-dimensional GiST index on EMPTY geoms (#1697)
+	  
+	  This is Paul's patch with the unrelated btree changes removed and
+	  the memset removed too.
+
+2012-03-27 23:39  robe
+
+	* detail how to use create extension .. from unpackaged
+
+2012-03-27 23:17  robe
+
+	* #1727 this will make statements like CREATE EXTENSION postgis
+	  FROM unpackaged; CREATE EXTENSION postgis_topology FROM
+	  unpackaged; work. It's sadly static at the moment.
+
+2012-03-27 22:05  dustymugs
+
+	* Added robustness checking that GDAL supports spatial reference
+	  text from
+	  spatial_ref_sys table
+
+2012-03-27 19:25  dustymugs
+
+	* Merge branch 'master' into HEAD
+
+2012-03-27 18:14  strk
+
+	* Have uninstall scripts drop created schemas, regress test it
+
+2012-03-27 17:30  strk
+
+	* Wrap most topology.sql into a transaction
+	  
+	  CREATE SCHEMA is left out because uninstall_topology isn't
+	  getting
+	  rid of it (to be fixed later)
+
+2012-03-27 17:06  strk
+
+	* Do not mess with search_path when installing comments (#1723)
+
+2012-03-27 14:47  strk
+
+	* Update extensions/README (#1720)
+	  
+	  - reStructuredText Markup, 80 column text
+	  - Rewrite several paragraphs
+	  - Add requirements section
+	  - Make it clear that --with-raster is required, and that postgis
+	  also
+	  includes the raster support
+	  
+	  Patch by Mike Toews
+
+2012-03-27 14:32  strk
+
+	* Accept POINT types in ST_MakeValid (#1719)
+
+2012-03-27 10:51  strk
+
+	* 80 cols wrap for pgsql2shp help screen (#1722)
+	  
+	  Patch by Mike Toews
+
+2012-03-27 09:56  strk
+
+	* Update doc/README (#1721)
+	  
+	  - reStructuredText Markup, 80 column text limit
+	  - Structure the make targets using definition lists
+	  - It turns out that graphviz is required for make doxygen
+	  
+	  Patch by Mike Toews
+
+2012-03-27 07:01  strk
+
+	* Drop pljava (#1411)
+
+2012-03-27 02:08  robe
+
+	* #1693, #1704 - twofer - change DROP AGGREGATE and DROP VIEW to be
+	  DROP .. IF EXISTS
+
+2012-03-27 01:16  robe
+
+	* minor typo correction
+
+2012-03-26 16:23  mcayland
+
+	* Rework code from r9204 (bug #900: shp2pgsql: a switch to drop M
+	  from 4d imports) to fix bug #1710: shp2pgsql -t option is not
+	  working properly.
+	  
+	  The original implementation set the has_z/has_m flags directly
+	  based upon the -t parameter; however this lost the information
+	  as to how many dimensions were specified. Resolve this by
+	  specifying a new force_output configuration variable and setting
+	  it to an enumerated constant, so that we can then implement a
+	  simple switch() to set both the output dimension and output
+	  flags correctly.
+
+2012-03-26 16:23  mcayland
+
+	* Remove istypeM state variable from loader as it isn't used
+	  anymore.
+
+2012-03-26 16:23  mcayland
+
+	* Improve readability in the loader by fixing various whitespace
+	  issues.
+
+2012-03-26 13:18  robe
+
+	* change example for totopogeom
+
+2012-03-26 13:17  strk
+
+	* Wrap within 80 cols
+
+2012-03-26 12:26  robe
+
+	* Add an example for toTopoGeom
+
+2012-03-23 23:46  pramsey
+
+	* Updates for 2.0
+
+2012-03-23 23:00  strk
+
+	* Add topology validity checking (extra paranoia)
+
+2012-03-23 22:54  strk
+
+	* Do not abuse ST_Snap for tweaking edge endpoints (#1706)
+
+2012-03-23 22:23  strk
+
+	* Enhance edge splitting robustness (#1711)
+
+2012-03-23 21:07  pramsey
+
+	* Skip over geodetic check for empty geometries.
+
+2012-03-23 19:14  pramsey
+
+	* Allow build to work under DEBUG=5
+
+2012-03-23 17:08  strk
+
+	* Add debugging lines to sqlmm edge splitting functions
+
+2012-03-23 15:11  strk
+
+	* Add missing ticket reference to it's regression test
+
+2012-03-23 13:16  pracine
+
+	* Made the red color for parameters a bit darker...
+
+2012-03-23 13:09  robe
+
+	* flesh out upgrade a bit.
+
+2012-03-23 07:54  robe
+
+	* make variables names red to stand out better
+
+2012-03-22 17:24  pramsey
+
+	* Update regression to handle new collection(empty) possibilities
+
+2012-03-22 16:55  pramsey
+
+	* Parse error on WKT for multi with empty elements (#1703)
+
+2012-03-22 15:07  strk
+
+	* Add collapsed polygon case to ST_Simplify test (#1698)
+
+2012-03-22 15:07  strk
+
+	* Add a ptarray_simplify parameter to preserve min vertices (#1698)
+	  
+	  A polygon ring collapsed to a segment is still better handled by
+	  mapnik than the same ring collapsed to a single point. This
+	  commit
+	  retains at least 3 vertices for polygons.
+
+2012-03-22 15:06  strk
+
+	* Do not drop collapsed polygon shells (#1698)
+
+2012-03-22 13:33  robe
+
+	* missing para tag
+
+2012-03-22 13:29  robe
+
+	* explain geometry_columns is now a view and that spatial tables
+	  can be created in 1 step.
+
+2012-03-22 13:02  robe
+
+	* more expounding on typmod vs. constraint based geometry columns
+
+2012-03-21 21:36  pramsey
+
+	* Change @rm to rm for visibility
+
+2012-03-21 20:32  pramsey
+
+	* Make distclean should remove all the Makefile's generated by
+	  ./configure
+
+2012-03-21 20:03  pramsey
+
+	* Bump versions for beta4
+
+2012-03-21 18:22  pramsey
+
+	* Ignore some files
+
+2012-03-19 20:40  pramsey
+
+	* README.raster needs updating or removal (#1649)
+
+2012-03-19 12:07  strk
+
+	* ST_SnapToGrid: retain type on empty return (#1695)
+
+2012-03-16 19:13  strk
+
+	* Fix typo puffered -> buffered
+
+2012-03-16 19:11  strk
+
+	* Be quieter on polygon ring collapse (in ST_Simplify)
+
+2012-03-16 15:03  robe
+
+	* fix typo in example was adding band 1 twice
+
+2012-03-16 12:58  robe
+
+	* surreal clipping
+
+2012-03-16 12:47  robe
+
+	* slightly more efficient (and hmm my last timing was with 2
+	  buildings instead of 3)
+
+2012-03-16 12:40  robe
+
+	* minor adjustment to example
+
+2012-03-16 12:25  robe
+
+	* Provide summarizing summary stats example using intersection of
+	  geometry. Pretty fast.
+
+2012-03-16 12:15  strk
+
+	* Rename legacy_compatibility_layer.sql to legacy_minimal.sql
+	  
+	  As per
+	  http://postgis.refractions.net/pipermail/postgis-devel/2012-March/019663.html
+
+2012-03-16 11:58  strk
+
+	* Do not take PROJ4 errno value as a sign of error (#1580, #1690)
+	  
+	  Dejavu...
+
+2012-03-16 08:48  robe
+
+	* Add more descriptive notes detailing difference between files
+
+2012-03-16 08:27  robe
+
+	* fix spelling typos
+
+2012-03-16 06:59  robe
+
+	* Put in a section for crowd sourcing campaigns
+
+2012-03-15 09:54  strk
+
+	* Bail out if user specified json dir isn't correct (#1688)
+
+2012-03-14 21:45  robe
+
+	* put note about slowness of raster st_union and promise it will be
+	  better in later versions
+
+2012-03-14 21:35  robe
+
+	* change example to be more efficient (prior version was taking
+	  9-10 seconds this much improved one takes 3.5 seconds)
+
+2012-03-14 20:26  dustymugs
+
+	* Updated to have C API tests use libtool
+
+2012-03-14 19:05  dustymugs
+
+	* Use AC_SEARCH_LIBS instead of AC_CHECK_LIB for checking GDAL
+	  libraries
+
+2012-03-14 16:35  strk
+
+	* Don't re-implement AC_PATH_PROG for gdal-config
+
+2012-03-14 16:02  pramsey
+
+	* Prepare for 2.0.0beta3 release
+
+2012-03-14 15:50  strk
+
+	* Encode dependency of raster _scripts_ to postgis_svn_revision.h
+
+2012-03-14 15:46  strk
+
+	* Encode postgis_svn_revision.h dependency for raster lib
+
+2012-03-14 15:40  strk
+
+	* Make sure to rebuild topology.sql on postgis_svn_revision.h
+	  change
+
+2012-03-14 15:32  strk
+
+	* Add a TOPOLOGY and a RASTER label in postgis_full_version()
+	  output
+	  
+	  This is to know if they are available
+
+2012-03-14 13:13  strk
+
+	* Simplify ST_AsLatLonText code and possily fix #1657
+	  
+	  The possible bug was a call to pg_do_encoding_conversion w/out
+	  a defined string size argument.
+
+2012-03-14 12:15  strk
+
+	* Use existing text2cstring and cstring2text wheel
+
+2012-03-13 18:06  dustymugs
+
+	* Explicitly set NULL character to snprintf outputs as Windows does
+	  not do so automatically. Ticket is #1682.
+
+2012-03-13 17:08  strk
+
+	* Add simple tests to stringbuffer class (#1668)
+	  
+	  Hopefully these fail on windows so it's easier to test.
+	  It may take a memory debugger to really see the failure.
+
+2012-03-13 17:08  strk
+
+	* Rename misc testsuite to "misc"
+
+2012-03-13 16:23  pramsey
+
+	* Roll back changes for autodetecting C99 vsnprintf (#1688)
+
+2012-03-13 16:13  dustymugs
+
+	* Removed "hasnodata" column output of ST_BandMetaData as per
+	  #1681. If a band does NOT have a NODATA value, the "nodatavalue"
+	  column will be NULL.
+
+2012-03-13 09:18  strk
+
+	* Add upgrade instructions
+
+2012-03-13 09:17  strk
+
+	* Drop SRID constraint issue (not an issue anymore with typmod)
+
+2012-03-13 09:17  strk
+
+	* Add note about toTopoGeom
+
+2012-03-13 08:33  strk
+
+	* Set Version to match Version.config (HOWTO_RELEASE file mentions
+	  you need to edit it anyway)
+
+2012-03-13 08:30  strk
+
+	* Add note about topology/README
+
+2012-03-13 08:18  strk
+
+	* Update README.postgis (#1670)
+	  
+	  - Use consistent formatting in reStructuredText; see
+	  formatted result with rst2pdf or rst2html, or if you don't
+	  want to install docutils, you can copy/paste the text to
+	  http://www.tele3.cz/jbar/rest/rest.html
+	  - Wrap lines to 80 columns, trim trailing whitespace, replace
+	  tabs
+	  with space chars
+	  - Fix typos, and use consistent case and punctuation
+	  - Alphabetize the directory structure
+	  - Add ./libpgcommon to directory structure, and attempt to
+	  describe it
+	  - Arrange style of REQUIREMENTS section a bit more consistent
+	  across components: removing repetition, stating what is required
+	  or optional, etc.
+	  - When referencing PostGIS SQL functions, use the "ST_" prefix,
+	  where applicable
+	  - Mention that both Raster and Topology extensions are built by
+	  default, add notes how build without them
+	  
+	  Patch by Mike Toews
+
+2012-03-12 21:27  pramsey
+
+	* Complete alternate implementation of vsnprintf, vasprintf for
+	  non-C99 systems. (#1668)
+
+2012-03-12 17:45  strk
+
+	* Fix UTM zone reserved SRID interpretation (#1680)
+
+2012-03-10 14:33  strk
+
+	* Check docs as part of "make check"
+	  
+	  Adds "xmllint" to the requirements for running "make check"
+
+2012-03-10 14:28  strk
+
+	* Introduce use of <simplelist>. I think we should use it more..
+
+2012-03-10 14:28  strk
+
+	* typo
+
+2012-03-10 14:27  strk
+
+	* Drop commented out lines
+
+2012-03-10 14:08  strk
+
+	* Add credits to Salvatore
+
+2012-03-10 14:08  strk
+
+	* No <para> allowed after <simplesect> in <sect1> (xmllint) -- add
+	  Vizzuality credit
+
+2012-03-10 14:08  strk
+
+	* <sect1info> goes before <title>
+
+2012-03-10 14:08  strk
+
+	* <note> cannot be direct child of <abstract> (xmllint)
+
+2012-03-10 14:07  strk
+
+	* choice is a <paramdef> attribute, not <type>'s
+
+2012-03-10 14:07  strk
+
+	* <abstract> can't contain <note> (xmllint)
+
+2012-03-10 13:44  strk
+
+	* Use empty params as placeholders, add missing refsection title
+	  (xmllint)
+
+2012-03-10 13:44  strk
+
+	* More <para> wrapping (xmllint)
+
+2012-03-10 13:44  strk
+
+	* wrap more <informalfigure> content in <para> (xmllint)
+
+2012-03-10 13:43  strk
+
+	* choice is a <paramdef> attribute, not <type>'s
+
+2012-03-10 13:43  strk
+
+	* wrap <informalfigure> content in <para> (xmllint)
+
+2012-03-10 13:43  strk
+
+	* wrap <listitem> content in <para> (xmllint)
+
+2012-03-10 13:43  strk
+
+	* choice belongs to <paramdef>, not <parameter> (xmllint)
+
+2012-03-10 13:43  strk
+
+	* <sect1info> goes before <title>
+
+2012-03-10 13:43  strk
+
+	* <informalfigure> goes in <para> (xmllint)
+
+2012-03-10 13:42  strk
+
+	* Use <para> as appropriate (xmllint)
+
+2012-03-10 13:42  strk
+
+	* <informalfigure> must be in <para> (xmllint)
+
+2012-03-10 13:42  strk
+
+	* Put semicolon where it belongs (xmllint)
+
+2012-03-10 13:42  strk
+
+	* Use <para> elements according to the DTD (xmllint)
+
+2012-03-10 13:42  strk
+
+	* <strong> to <emphasis> (xmllint)
+
+2012-03-10 13:00  strk
+
+	* <filename> is not a valid child of <listitem>, <para> is
+	  (xmllint)
+
+2012-03-10 12:51  strk
+
+	* More linked -> linkend typos
+
+2012-03-10 12:10  strk
+
+	* Fix xref (thanks make check)
+
+2012-03-10 12:07  strk
+
+	* linked -> linkend (thanks make check)
+
+2012-03-10 11:38  strk
+
+	* Add credit to Avencia (#1671)
+
+2012-03-10 11:31  strk
+
+	* More credits
+
+2012-03-10 11:26  strk
+
+	* Add postgis topology signers to credits section (#1601)
+	  
+	  I also formatted the names to be one-per-line. Output won't care
+	  but it's easier to sort alphabetically ...
+
+2012-03-10 10:34  strk
+
+	* Substitute CREDITS content with pointers to manual (#1601)
+
+2012-03-10 10:27  strk
+
+	* Be quiet when postgis_svn_revision.h isn't needed (#1666)
+
+2012-03-10 00:40  dustymugs
+
+	* Cleanup for testing GDAL include files
+
+2012-03-10 00:30  dustymugs
+
+	* This should do it. Debugging Hudson is fun... like entertaining a
+	  grumpy old man.
+
+2012-03-10 00:24  dustymugs
+
+	* Removed multiple AC_ARG_WITH calls for raster
+
+2012-03-10 00:19  dustymugs
+
+	* Another attempt to fix hudson...
+
+2012-03-10 00:05  dustymugs
+
+	* Comment cleanup as hudson isn't happy.
+
+2012-03-09 23:57  dustymugs
+
+	* Fixed GDAL configuration as hudson wasn't getting
+	  GDALFPolygonize. This may be the cause for Windows not detecting
+	  GDALFPolygonize either.
+
+2012-03-09 19:00  dustymugs
+
+	* Initialize variables that may cause compile-time warnings in
+	  rt_api.c. Added additional NLS items to raster2pgsql.
+
+2012-03-09 17:46  pramsey
+
+	* Work around difference between behavior of MS snprintf and C99
+	  snprintf. (#1668)
+
+2012-03-09 14:59  robe
+
+	* minor correction in title of example
+
+2012-03-09 14:20  robe
+
+	* Fix mapalgebra2 syntax
+
+2012-03-08 10:58  strk
+
+	* Ignore all html files under doc/html/ (also chunked)
+
+2012-03-08 10:58  strk
+
+	* Give introduction chapter an id.
+	  
+	  This should give it a nice URL online so we can point to credits
+	  from the CREDITS file (#1601)
+
+2012-03-08 10:36  strk
+
+	* Remove .svnignore files (#1665)
+
+2012-03-08 10:36  strk
+
+	* Drop .cvsignore files
+
+2012-03-07 20:51  pramsey
+
+	* Update trunk versions for next cycle
+
+2012-03-07 20:50  pramsey
+
+	* Update for beta2 release
+
+2012-03-07 20:47  pramsey
+
+	* Fix need to hack regress source path
+
+2012-03-07 20:38  pramsey
+
+	* Remove reliance on `pwd` for raster build and test.
+
+2012-03-07 19:31  pramsey
+
+	* Replace " with ' in mingw pwd call
+
+2012-03-07 19:27  pramsey
+
+	* MinGW configure for regression dir
+
+2012-03-07 17:40  pramsey
+
+	* ST_Summary output contains a spurious "+" sign (#1663)
+
+2012-03-07 11:39  strk
+
+	* Actually run GeoJSON input tests when libjson is available
+
+2012-03-07 11:18  strk
+
+	* Report libjson availability from postgis_full_version (#1660)
+	  
+	  This commit adds a postgis_libjson_version() although the library
+	  doesn't give any version information. We just return NULL if not
+	  using the library and "UNKNOWN" otherwise.
+
+2012-03-07 10:55  strk
+
+	* Add note about installing json-c library on apt-based systems
+
+2012-03-07 09:16  strk
+
+	* Update REQUIREMENTS section, add JSON-C (#1660)
+
+2012-03-07 08:17  strk
+
+	* I didn't realize we had ST_AsLatLonText already :)
+
+2012-03-07 05:31  pramsey
+
+	* Crash in ST_Project on NULL input (#1658)
+
+2012-03-07 04:28  dustymugs
+
+	* Slightly more verbose error message for when
+	  rt_raster_gdal_rasterize() is unable to have an OSR object
+	  project a provided srs text.
+
+2012-03-06 21:16  strk
+
+	* Update TODO list dropping done items
+
+2012-03-06 18:55  pramsey
+
+	* Work around default rule for lexer generation. (#1644)
+
+2012-03-06 16:19  pramsey
+
+	* I'm not sure this "fix" was actually a fix so I'm removing it.
+
+2012-03-06 16:16  strk
+
+	* Snap new lines over existing nodes (#1654)
+	  
+	  Also add Salvatore to the list of testing heroes :)
+
+2012-03-06 13:44  strk
+
+	* Don't let a single collapse hide _all_ edges (#1650)
+
+2012-03-06 13:21  strk
+
+	* Skip collapsed edges after snapping (#1650)
+
+2012-03-06 13:20  strk
+
+	* Uncomment new tests for #1641
+
+2012-03-06 09:45  strk
+
+	* Have "make install" only install what "make" built (#1652)
+	  
+	  Also updates the README to be in sync with Makefile.in
+
+2012-03-06 09:05  strk
+
+	* Fix toTopoGeom to actualy _use_ to given tolerance (#1647)
+
+2012-03-05 23:09  pramsey
+
+	* Rename LOADER_OBJS to the more direct SHPLIB_OBJS
+
+2012-03-05 22:54  pramsey
+
+	* Defines are picked up from ../../postgis_config.h via
+	  ../liblwgeom_internal.h
+
+2012-03-05 22:51  pramsey
+
+	* Add static link directive to libtool (#1644) allows build on
+	  Debian Wheezy
+
+2012-03-05 16:45  pramsey
+
+	* Update kneufeld contact info
+
+2012-03-05 12:24  strk
+
+	* Add GetTopologySRID (#1182)
+
+2012-03-05 12:14  strk
+
+	* Optimize ST_AddIsoNode (#983)
+
+2012-03-05 11:33  strk
+
+	* Move topology reference entries from "processing" to
+	  "constructors"
+
+2012-03-05 11:05  strk
+
+	* _ST_MinTolerance isn't IMMUTABLE, due to db lookup...
+
+2012-03-05 10:49  strk
+
+	* Handle 0 tolerance by using topology.precision or min float one
+	  
+	  This handling fixes the #1641 case w/out passing an explicit
+	  tolerance and makes a step toward #785.
+
+2012-03-05 08:28  strk
+
+	* Fix typos (FUNCION), drop duplicate entries
+
+2012-03-04 22:35  robe
+
+	* put in libiconv path specification if it needs to be done. For
+	  some reason my mingw64 can't find it unless its explicitly set.
+
+2012-03-03 22:59  robe
+
+	* Link postgis raster contributors to raster funding page.
+
+2012-03-03 22:56  robe
+
+	* add in missing credits and link to Paul's credit description blog
+	  pages.
+
+2012-03-02 23:35  pramsey
+
+	* Add an SRID to box3d to allow lossless casts.
+
+2012-03-02 20:53  pracine
+
+	* Finish fix for ticket #1635. Added operator function to skip when
+	  restoring.
+
+2012-03-02 20:17  pracine
+
+	* Fix for ticket #1589. Removed misleading example.
+
+2012-03-02 20:14  pracine
+
+	* Fix for ticket #1589. Removed misleading example.
+
+2012-03-02 19:00  dustymugs
+
+	* Fixed problem with passing PROJ.4 text to GDAL which may result
+	  in SRS WKT that is NOT what is desired. Now preferentially use
+	  EPSG:SRID if available. Ticket is #1618.
+
+2012-03-02 15:02  robe
+
+	* #1630 and drop type raster_columns. Good grief how many hidden
+	  objects are there.
+
+2012-03-02 14:36  robe
+
+	* #1630 Add missing permutations of st_clip that exist in older
+	  versions so trimraster can be renamed to crop
+
+2012-03-02 14:11  robe
+
+	* oops type in last commit.
+
+2012-03-02 14:05  robe
+
+	* #1630 -- this has got to be a bug in the PostgreSQL extensions
+	  model that I have to drop dependent types of views and types from
+	  extension when drop view and type. Will confirm later.
+
+2012-03-02 13:15  robe
+
+	* Add section about soft upgrade with extensions.
+
+2012-03-02 01:15  dustymugs
+
+	* Add handling of when clamped pixel values is equal to the band's
+	  clamped NODATA value. Ticket is #1139.
+
+2012-03-01 22:25  dzwarg
+
+	* Added regression test for error case reported in #1638.
+
+2012-03-01 22:17  dustymugs
+
+	* Refactored how skewed rasters are computed as the extents were
+	  not correct. Rewrote parts of rt_raster_gdal_warp and
+	  rt_raster_gdal_rasterize. Related ticket is #1615.
+
+2012-03-01 21:05  pracine
+
+	* Fix for #1589 and #1633.
+
+2012-03-01 20:32  strk
+
+	* postgis_drop_before.sql.in.c => postgis_drop_before.sql
+
+2012-03-01 19:46  pramsey
+
+	* Make --prefix note a warning rather than a failure. (#1628)
+
+2012-03-01 19:09  strk
+
+	* Add an internal topology._st_mintolerance funtion
+	  
+	  This function computes the minimum tolerance for a given
+	  geometry.
+	  It works by computing the smallest floating point difference that
+	  could be expressed on any vertex of the geometry.
+	  
+	  Currently it's only used to workaround the ST_DWithin/ST_Within
+	  inconsistency (#1625) but could probably be used everytime 0 is
+	  passed as a tolerance, possibly fixing #1641 as well.
+
+2012-03-01 16:47  dustymugs
+
+	* Update regression tests for 1-raster ST_MapAlgebraExpr due to
+	  commit r9371
+
+2012-03-01 16:47  pracine
+
+	* Fix for ticket #1635. Added explicit ~ and && operators on raster
+	  and geometry.
+
+2012-03-01 15:59  dustymugs
+
+	* Forced casting of output from 1-raster ST_MapAlgebraExpr. Ticket
+	  is #1639.
+
+2012-03-01 15:51  strk
+
+	* MathML DTDs are also needed for the HTML
+
+2012-03-01 15:51  strk
+
+	* added MathML 3 DTD to requirements in doc
+
+2012-03-01 15:14  strk
+
+	* Add a test for #1641 using a tolerance (1e-16 is good enough)
+
+2012-03-01 15:07  strk
+
+	* Add test for #1641 (disabled as it would fail)
+
+2012-03-01 15:07  strk
+
+	* Cleanup the face table as well (you just can't drop the universe)
+
+2012-03-01 12:50  strk
+
+	* Add more items in the skip list (#1640)
+
+2012-03-01 12:25  strk
+
+	* Add tests for ptarray_insert_point (see #1640)
+
+2012-03-01 12:25  strk
+
+	* Check args passed to ptarray_set_point4d
+
+2012-03-01 11:58  strk
+
+	* Drop reference to postgis_uses_stats (#1632)
+
+2012-03-01 09:16  strk
+
+	* Properly exit the loop parsing spatial_ref_sys population (#1640)
+
+2012-03-01 08:54  strk
+
+	* Drop postgis_uses_stats (#1632)
+
+2012-03-01 08:26  strk
+
+	* Rename drop files to be hopefully clearer, add copyright headers
+
+2012-03-01 08:26  strk
+
+	* Stop including drop calls from main postgis.sql file
+	  
+	  Upgrade file is still generated with the drop file included
+
+2012-02-29 18:58  pramsey
+
+	* make parse location error test a little more lenient
+
+2012-02-29 18:19  pramsey
+
+	* Update for post-Beta1
+
+2012-02-29 18:18  pramsey
+
+	* Update for beta1
+
+2012-02-29 15:59  strk
+
+	* Check first point after snapping an edge to a new point (#1631)
+
+2012-02-29 14:20  strk
+
+	* Get the deprecated function right (fixes previous commit)
+
+2012-02-29 14:14  strk
+
+	* Drop removed st_clip function (#1630)
+
+2012-02-29 13:52  strk
+
+	* Do not install intermediary files (#1621)
+
+2012-02-29 13:35  strk
+
+	* Don't override postgis_svn_revision.h with a fake revision
+	  (#1634)
+
+2012-02-29 10:55  strk
+
+	* Stop using postgis_uses_stats() from postgis_full_version()
+	  (#1632)
+
+2012-02-29 10:48  strk
+
+	* Integrate upgrade tips in postgis_full_version reference
+
+2012-02-29 10:39  strk
+
+	* Mention rtpostgis_upgrade* and topology_upgrade* in manual
+	  (#1611)
+
+2012-02-29 10:08  strk
+
+	* Have XSLTPROCFLAGS default to --nonet
+	  
+	  This way you can drop by redefining it as in: make XSLTPROCFLAGS=
+
+2012-02-29 09:51  strk
+
+	* Add support for a user-defined XSLTPROCFLAGS variable to append
+	  
+	  Example: make -C doc html XSLTPROCFLAGS=--nonet
+	  
+	  Still defaults to allow net access, I couldn't find an option to
+	  override --nonet with its contraty...
+
+2012-02-29 09:00  robe
+
+	* #1630: Swap the order of dropping - you have to drop the function
+	  first before the type
+
+2012-02-29 08:44  robe
+
+	* #1630: drop wktgeomval type from extension, but still can't drop
+	  because of function _st_dumpaswktpolygons
+
+2012-02-29 08:04  robe
+
+	* #1619: Logic to mark spatial_ref_sys, topology, layers tables as
+	  user editable so that the data in them gets backed up during
+	  pg_dump
+
+2012-02-29 03:01  pracine
+
+	* 
+
+2012-02-29 02:56  pracine
+
+	* Other minor fix.
+
+2012-02-29 02:51  pracine
+
+	* fix doc typo.
+
+2012-02-29 02:47  pracine
+
+	* Fix for ticket 1536. Added a nodataval[] parameter to
+	  ST_Intersection and removed the otheruserfunc one.
+	  
+	  Changed the ST_Clip trimraster parameter name to crop and set it
+	  to true by default.
+	  
+	  Updated the doc.
+
+2012-02-29 00:52  pramsey
+
+	* Fix for MinGW!
+
+2012-02-29 00:49  pramsey
+
+	* Fix for windoze!
+
+2012-02-28 18:50  pramsey
+
+	* Make our --prefix policy crystal clear
+
+2012-02-28 18:29  pramsey
+
+	* Fix regression due to new error message in GML generation
+
+2012-02-28 18:09  pramsey
+
+	* Make error message on GML2 calls for TIN more instructive (#1591)
+
+2012-02-28 17:17  strk
+
+	* TopoGeo_addPoint: use a more functional tolerance when snapping
+	  (#1613)
+	  
+	  All of this looks like magic but it isn't.
+	  I actually wonder if ST_ModEdgeSplit and ST_ModEdgesSplit and
+	  ST_Split
+	  itself should do this internally, and if in doing so we wouldn't
+	  need
+	  to do it from higher levels. It doesn't indeed feel comfortable
+	  to do
+	  all this noise on such an high level.
+	  
+	  Anyway this commit adds a now-passing regression test for the
+	  topology
+	  building issue and that's A Good Thing.
+
+2012-02-28 17:17  strk
+
+	* Hush debugging lines unless requested
+
+2012-02-28 10:43  strk
+
+	* Ignore extension sql target dirs
+
+2012-02-28 10:28  strk
+
+	* Have configure look for mathml2.dtd, rework doc build scripts
+	  (#1157)
+
+2012-02-28 10:17  robe
+
+	* correct proto output type -- ST_Union of rasters always returns a
+	  raster
+
+2012-02-28 06:13  pramsey
+
+	* Set eol-style to LF
+
+2012-02-27 22:08  pramsey
+
+	* Try again with line endings, this time using eol-style instead of
+	  eol-type (#1605)
+
+2012-02-27 20:58  pramsey
+
+	* Set appropriate mime types and text file types on all files.
+	  (#1605)
+
+2012-02-27 18:19  pramsey
+
+	* Load the "right" legacy.sql file (warning: hard coding
+	  00-regress-install into a sql file).
+
+2012-02-27 18:13  pramsey
+
+	* Quiet compile warning.
+
+2012-02-27 18:07  strk
+
+	* Use rounder numbers in tests (fixes a regression on 32bit system)
+
+2012-02-27 17:48  pramsey
+
+	* Ignore LF/CRLF differences when differencing sql output files in
+	  raster tests.
+
+2012-02-27 17:36  strk
+
+	* Add regression test for legacy.sql and uninstall_legacy.sql
+	  (#915)
+
+2012-02-27 17:36  strk
+
+	* Properly cleanup spatial_ref_sys after loader tests
+
+2012-02-27 17:36  strk
+
+	* Properly cleanup spatial_ref_sys
+
+2012-02-27 16:55  strk
+
+	* Define the legacy 'within' as a proxy to ST_Within as the C entry
+	  point was dropped
+
+2012-02-27 16:52  strk
+
+	* Generate uninstall_legacy.sql from legacy.sql (#949)
+
+2012-02-27 16:42  dustymugs
+
+	* Correct handling of 8BSI pixel types when converting a raster to
+	  a GDAL MEM dataset. This should resolve the failures in #1617.
+
+2012-02-27 16:26  strk
+
+	* Fix "make clean" to drop all generated files
+
+2012-02-27 16:06  strk
+
+	* Encode dependency of topology script on sqldefines (for version)
+
+2012-02-27 15:55  strk
+
+	* Have postgis_full_version() check versions of all objects (#1608)
+
+2012-02-27 15:39  strk
+
+	* Have postgis_raster_lib_version() include SVN revision (#1608)
+
+2012-02-27 15:26  strk
+
+	* st_clip signature changed (#1620)
+
+2012-02-27 15:03  strk
+
+	* Add postgis_raster_scripts_installed() function (#1608)
+
+2012-02-27 15:02  strk
+
+	* Add postgis_topology_scripts_installed() function (#1608)
+
+2012-02-27 14:08  robe
+
+	* update to March. Seems likely we'll miss the February boat. Maybe
+	  shoot for March.
+
+2012-02-27 11:22  strk
+
+	* Set script version to master version + svn revision (#1608)
+	  
+	  Affects postgis_scripts_released() and
+	  posgis_scripts_installed().
+	  Needs some wider testing of upgrade scripts and then will attach
+	  the same version to raster and topology.
+
+2012-02-26 18:31  dustymugs
+
+	* Additional test of rt_raster_to_gdal().
+
+2012-02-25 20:35  pramsey
+
+	* Minor update to comments.
+
+2012-02-25 20:30  pramsey
+
+	* Simplify table/schema copying, hopefully fix windows.
+
+2012-02-25 19:46  pramsey
+
+	* Compress sed calls into one to make life better for MSYS
+
+2012-02-25 17:10  pramsey
+
+	* Correct fix for win32 crasher, it was proj returning a null error
+	  string.
+
+2012-02-25 05:53  pramsey
+
+	* SPI_finish before dropping out on NULL proj4text
+
+2012-02-25 05:49  pramsey
+
+	* Match to new behavior on null proj4text
+
+2012-02-25 03:12  pramsey
+
+	* Remove Win32 crasher on NULL proj4 string
+
+2012-02-24 23:58  pramsey
+
+	* Quote out the svn and git commands for windoze
+
+2012-02-24 23:42  dustymugs
+
+	* Forgot to update regression tests for changes made in r9293
+
+2012-02-24 22:54  dustymugs
+
+	* Fixed conversion of pixel types between PostGIS raster and GDAL.
+	  Essentially PostGIS raster 8BSI is now a GDT_Int16.
+
+2012-02-24 22:46  pracine
+
+	* Minor corrections.
+
+2012-02-24 22:41  pramsey
+
+	* Fix up the revision info in the usage lines
+
+2012-02-24 20:17  strk
+
+	* Make sure the created backend temp directory is world writeable
+
+2012-02-24 19:24  dustymugs
+
+	* Additional fixups to not increase extent if an alignment is to
+	  take place in rt_raster_gdal_rasterize().
+
+2012-02-24 19:11  strk
+
+	* Be immune from topology sequence advancements
+
+2012-02-24 18:49  pramsey
+
+	* Make sure the regress tmp directory exists before trying to write
+	  to it.
+
+2012-02-24 17:33  dustymugs
+
+	* Added additional conditions for rt_raster_gdal_rasterize()
+	  determining when to expand the extent.
+
+2012-02-24 15:23  strk
+
+	* Do not report "face without edges" error for universal face
+	  (#1612)
+
+2012-02-24 15:23  strk
+
+	* Rename the backend temp dir and drop with brute force
+	  
+	  Avoids errors when no test writes anything in there (so no dir)
+
+2012-02-24 10:21  strk
+
+	* Properly drop the temporary directory setup for backend output
+	  
+	  This prevents errors when running "make check" against backends
+	  owned by different users.
+
+2012-02-24 05:05  dustymugs
+
+	* Set all raster CASTs to be ASSIGNMENT not IMPLICIT. Related
+	  ticket is #490. Knowing my luck, I'll be reverting this due to
+	  some showstopper.
+
+2012-02-23 22:25  dustymugs
+
+	* Added correct handling of negative scale-x and positive scale-y
+	  in rt_raster_gdal_warp().
+
+2012-02-23 21:49  dustymugs
+
+	* Renamed rt_raster_dump_as_wktpolygons() to
+	  rt_raster_gdal_polygonize(). Refactored
+	  rt_raster_gdal_polygonize() to use LWPOLY objects instead of WKT
+	  strings. Also added cleanup code to make invalid dumped
+	  geometries valid. Associated tickets are #1586 and #637.
+
+2012-02-23 16:07  strk
+
+	* Don't deep clone POINTARRAY in GML input routine.
+	  
+	  Let's see if doing so exposes more memory errors (#1591).
+	  Does run valgrind clean here.
+
+2012-02-23 15:42  pracine
+
+	* Rewrote most of ST_AsRaster. Grouped similar variants to make
+	  everything a bit more readable.
+
+2012-02-23 13:28  strk
+
+	* Set the default regression temp dir to /tmp/pgis_reg (#1607)
+
+2012-02-23 12:54  strk
+
+	* Have ST_GetFaceGeometry check face existance, regress-test
+
+2012-02-23 11:24  strk
+
+	* Drop the UpdateGeometrySRID version with old param name (#1606)
+
+2012-02-22 23:13  pramsey
+
+	* Correctly handle the new lexer/parser output files
+
+2012-02-22 23:06  dustymugs
+
+	* Rewrote chunks of rt_raster_gdal_warp() and
+	  rt_raster_gdal_rasterize() to correctly generate skewed rasters.
+	  Related ticket is #1395. This should also resolve #1586.
+
+2012-02-22 20:38  pramsey
+
+	* Set svn:eol-style native (#1598)
+
+2012-02-22 19:40  pramsey
+
+	* Update numbers for alpha6
+
+2012-02-22 19:31  robe
+
+	* put in LF instruction to prevent my windows from putting in
+	  windows offensive line breaks
+
+2012-02-22 19:29  pramsey
+
+	* Change dos to unix lineends. (#1598)
+
+2012-02-22 19:20  pramsey
+
+	* Ignore makefile
+
+2012-02-22 19:18  pramsey
+
+	* Really remove the dos linefeeds this time (#1598)
+
+2012-02-22 19:08  pramsey
+
+	* Revert dos lineending commit that blew away those files...
+
+2012-02-22 19:01  pramsey
+
+	* Use consistent UNIX line endings (#1598) fix up those files that
+	  pass through the C preprocessor at least.
+
+2012-02-22 18:59  pramsey
+
+	* Switch to evaluating tests using psql with verbosity=terse
+
+2012-02-22 17:19  strk
+
+	* Fix ST_Polygonize aggregate to retain Z (#1602)
+
+2012-02-22 15:52  strk
+
+	* Stay within 80 cols
+
+2012-02-22 15:33  strk
+
+	* Parametrize max user SRID in the SQL file too
+
+2012-02-22 12:49  strk
+
+	* Check SRID passed to UpdateGeometrySRID, patch by Mike Toews
+	  (#1596)
+	  
+	  Adds regression testing
+
+2012-02-22 12:48  strk
+
+	* Forward port fix to #1595, although there's no way to expose in
+	  2.0
+
+2012-02-22 03:09  robe
+
+	* correct st_clip raster so eimage matches the code. the behavior
+	  changed butthe code was wrong (showing old behavior). Also put
+	  back the multiband case using new syntax which is probably more
+	  common usaage.
+
+2012-02-21 15:51  pracine
+
+	* Added single quote around 8BUI since the XSL now escape them. See
+	  #1588.
+
+2012-02-21 15:47  pracine
+
+	* Added one missign default value for the value parameter of
+	  ST_AsRaster and added one missing variant.
+
+2012-02-21 14:32  strk
+
+	* Add a ptarray_transform function in liblwgeom API
+
+2012-02-21 13:54  strk
+
+	* Draft an lwgeom_from_gml function (#1591)
+	  
+	  Can't be moved all to liblwgeom due to use of spatial_ref_sys
+
+2012-02-21 11:07  strk
+
+	* Print SRID in decimal form, not hex (#1593)
+
+2012-02-21 10:57  strk
+
+	* Update documentation about shp2pgsql -s/-g flag (#1524)
+
+2012-02-21 09:43  strk
+
+	* Add an --extensions switch to run_test (#964)
+	  
+	  When passing that switch the install and uninstall of spatial db
+	  happens using the EXTENSION model. It's currently not run as part
+	  of "make check" because some tests fail due to use of ambiguos
+	  calls when both core and raster modules are installed (there's no
+	  way to separate them in the EXTENSION model).
+
+2012-02-21 09:07  strk
+
+	* Put prepare/upgrade/uninstall operations in their own functions
+
+2012-02-20 20:09  pracine
+
+	* More work on ST_Resample and ST_Intersection
+
+2012-02-20 14:32  strk
+
+	* Ignore generated extensions and java files
+
+2012-02-20 13:28  strk
+
+	* Do not printf from potgis library. Possibly fixes #1570
+
+2012-02-20 13:18  strk
+
+	* Ignore generated java/jdbc/Makefile
+
+2012-02-20 13:16  strk
+
+	* Escape single quotes in param list when generating raster
+	  comments
+	  
+	  Closes ticket #1588
+
+2012-02-20 12:52  strk
+
+	* Ant rules to excecute maven by Maria Arias de Reyna (#1437)
+	  
+	  Also simplify java Makefile to be simple proxies of ant
+
+2012-02-20 10:52  strk
+
+	* Update face MBR on edge change (#1587)
+
+2012-02-20 10:19  strk
+
+	* Enhance documentation for ST_ChangeEdgeGeom
+
+2012-02-17 23:41  robe
+
+	* Link to my office base article on how to display postgis rasters
+	  in base reports.
+
+2012-02-17 22:23  pracine
+
+	* Rewrote the ST_Rescale documentation.
+
+2012-02-17 22:00  pramsey
+
+	* This works but it makes estimated extent case sensitive both ways
+	  (no weaseling out and giving upper case versions of lower case
+	  tables) (#1585)
+
+2012-02-17 20:52  pracine
+
+	* Ticket #1536. First revision of st_intersection(). Removal of the
+	  extent parameter and first documentation.
+
+2012-02-17 18:29  strk
+
+	* Check edge disposition around endnodes (#1571)
+	  
+	  Includes a couple new testcases, for closed and non-closed edges
+	  changing disposition around their end nodes.
+
+2012-02-17 18:28  pracine
+
+	* Many more small typo fixes...
+
+2012-02-17 15:11  strk
+
+	* Rework edge motion range construction (#1571)
+	  
+	  Includes a new testcase which was failing before this change
+
+2012-02-17 14:03  strk
+
+	* Add another test for ST_ChangeEdgeGeom
+
+2012-02-17 13:46  strk
+
+	* Handle some (not all) cases of non-isomorphic edge changes
+	  (#1571)
+	  
+	  The problem is much harder than it looks ...
+
+2012-02-17 08:39  strk
+
+	* Add test numbers to ST_ChangeEdgeGeom regression cases
+
+2012-02-17 08:39  strk
+
+	* Ignore utils/postgis_restore.pl (now generated)
+
+2012-02-16 17:45  strk
+
+	* Update comment, hopefully clearer now
+
+2012-02-16 15:49  pracine
+
+	* Fixed a number of small problem. Capitalized x and y.
+
+2012-02-16 10:25  strk
+
+	* Add a topology.GetNodeEdges function
+	  
+	  This function is a fundamental topological primitive to do things
+	  like SQL-based poligonization.
+
+2012-02-16 08:49  strk
+
+	* Ignore postgis_svn_revision.h
+
+2012-02-16 08:08  strk
+
+	* Set availability of ST_ChangeEdgeGeom
+
+2012-02-16 08:08  strk
+
+	* Fix cross reference
+
+2012-02-16 00:28  pramsey
+
+	* Remove now-obsolete TODO comment
+
+2012-02-16 00:25  pramsey
+
+	* Prepare for Proj4.8 with spheroid info handling
+
+2012-02-15 23:25  pramsey
+
+	* Add generated files to svn:ignore
+
+2012-02-15 22:45  pramsey
+
+	* jdbc: org.postgis.Point.equals() is not reflexive (#1313)
+
+2012-02-15 22:34  pramsey
+
+	* Fix XML typo
+
+2012-02-15 22:27  pramsey
+
+	* Negative distance argument to ST_Buffer not documented (#1535)
+
+2012-02-15 21:56  pramsey
+
+	* shp2pgsql: a switch to drop M from 4d imports (#900)
+
+2012-02-15 21:37  pramsey
+
+	* shp2pgsql: a switch to drop M from 4d imports (#900)
+
+2012-02-15 21:23  pracine
+
+	* Updated the version returned by the PostGIS_Raster_Lib_Version()
+	  example.
+
+2012-02-15 21:18  pracine
+
+	* Removed some garbage.
+
+2012-02-15 21:12  pramsey
+
+	* Remove fugitive EOL white space
+
+2012-02-15 20:58  pramsey
+
+	* Add minor version upgradeable
+
+2012-02-15 20:57  pramsey
+
+	* Push trunk version forward
+
+2012-02-15 20:55  pramsey
+
+	* Update meta for alpha5
+
+2012-02-15 19:28  pracine
+
+	* Fix for #1576 & #1569. ST_Clip now works on multiband rasters and
+	  accept an array of nodata values.
+
+2012-02-15 15:59  strk
+
+	* Do not take PROJ4 errno value as a sign of error (#1580)
+
+2012-02-15 11:00  strk
+
+	* dd support for fetching SVN revision from pure-git clones (#1579)
+
+2012-02-14 22:21  robe
+
+	* Example of how to use only psql to output a raster image.
+
+2012-02-14 17:57  strk
+
+	* Fix crash with empty polygons in P-I-P tests (#1578)
+
+2012-02-14 17:54  robe
+
+	* #1494: documentation of new census tract loader and get_tract
+	  functions.
+
+2012-02-14 17:53  robe
+
+	* #1494: done with programming need to finish documenting and
+	  regress test.
+
+2012-02-14 17:47  dustymugs
+
+	* Readded rt_clip regression test.
+
+2012-02-14 17:29  dustymugs
+
+	* Fixed handling of negative X-scale or positive Y-scale in
+	  rt_raster_gdal_rasterize(). Ticket is #1574.
+
+2012-02-14 17:15  strk
+
+	* We don't use a profiler anymore
+
+2012-02-14 17:00  dzwarg
+
+	* Reverting changes that optimize ST_MapAlgebraExpr. Re-advertise x
+	  and y parameters as int32. Reverts changes from r9137, closes
+	  #1557.
+
+2012-02-14 13:31  strk
+
+	* Make one-point lines convertible to GEOS, see #1543
+
+2012-02-13 22:46  pracine
+
+	* Temporarily remove st_clip regress...
+
+2012-02-13 22:02  pramsey
+
+	* Configured without raster still tries to make
+	  raster/rt_pg/rtpostgis.sql (#1575) only try to build extensions
+	  if we have both raster and topology as well as pgsql 9.1
+
+2012-02-13 21:58  pracine
+
+	* Closing ticket #597. Added regression tests for ST_Clip. More
+	  tests to come when fixing #1576.
+
+2012-02-13 21:25  strk
+
+	* Encode dependency of topology comments and cheatsheet
+	  
+	  Same should be done for raster and tiger...
+
+2012-02-13 20:44  strk
+
+	* Fix documentation of GetRingEdges
+
+2012-02-13 20:44  strk
+
+	* Install topology comments too, when regressing topology
+
+2012-02-13 20:44  strk
+
+	* Install topology_comments.sql as well
+
+2012-02-13 18:28  pracine
+
+	* Fix for ticket #1572. ST_PixelAsPolygons() return NULL values
+	  when the requested band or no band exist.
+
+2012-02-13 18:06  strk
+
+	* Allow retaining all custom spatial_ref_sys entries, even clashing
+	  
+	  Update manual accordingly (hard upgrade procedure)
+
+2012-02-13 17:47  strk
+
+	* Fix regexp renaming srid enforcement check
+
+2012-02-13 17:01  strk
+
+	* Add a note about handling of out-of-range SRIDs on hard upgrade
+
+2012-02-13 16:29  strk
+
+	* Accept more feature type names from AddTopoGeometryColumn (#1470)
+	  
+	  With this commit you can pass return of ST_GeometryType or
+	  return GeometryType as input to the function.
+
+2012-02-13 16:11  strk
+
+	* More VOLATILE -> STRICT (#955). Let's call it completed.
+
+2012-02-13 16:04  strk
+
+	* Some VOLATILE functions turned to STABLE (#955)
+	  
+	  A noticeable exception is the Geometry(TopoGeometry) cast which
+	  triggers a regression when made STABLE.
+
+2012-02-13 15:43  pracine
+
+	* Fix regression broken by the limit imposed to SRID < 999999.
+	  Anyway the srid provided was not the right one. Changed from 4269
+	  to 26919.
+
+2012-02-13 15:12  robe
+
+	* #1494 - ability to load census tract, block group, tabblock - boy
+	  did I screw this one. Should be all fixed now and tested (loading
+	  part), still need to write the function, but that's the easy part
+
+2012-02-13 14:48  strk
+
+	* Move SRID max and user-max definitions to configure.ac
+	  
+	  This should help keeping postgis_restore.pl and core in sync
+	  wrt SRID ranges.
+
+2012-02-13 14:17  strk
+
+	* Refine user feedback about SRID conversion and reserved zones
+
+2012-02-13 11:25  strk
+
+	* Drop (SRF()).* constructs (#956)
+
+2012-02-13 10:58  strk
+
+	* Have regress install comments adn throw an error on failure
+	  (#1532)
+
+2012-02-13 10:58  strk
+
+	* Have staged-install install comments when possible (#1532)
+
+2012-02-13 10:16  strk
+
+	* Report svn revision
+
+2012-02-13 10:16  strk
+
+	* Encode postgis_svn_revision dependency
+
+2012-02-13 10:00  strk
+
+	* Cleanup postgis_svn_revision.h makefile rule (PHONY)
+
+2012-02-13 09:58  strk
+
+	* Do not override postgis_svn_revision.h if revision didn't change
+
+2012-02-13 09:15  strk
+
+	* Add support for fetching SVN revision from local git-svn
+	  repository
+
+2012-02-11 21:17  strk
+
+	* It's "svn", not "svnn". And a TODO item...
+
+2012-02-11 16:08  pramsey
+
+	* Fix regression in OSX (-0 vs 0)
+
+2012-02-11 05:14  pramsey
+
+	* Report SVN revision in PostGIS_Full_Version (#1518)
+
+2012-02-10 23:33  dustymugs
+
+	* Added checks of SRID to make sure that SRIDs are within the
+	  permitted range. Ticket is #1568.
+
+2012-02-10 22:42  pracine
+
+	* ST_Clip returns all bands when no band is specified.
+
+2012-02-10 22:36  pracine
+
+	* Fix for ticket #1569. ST_Clip variants defaulting to band 1
+	  should default to NULL so that they return all bands.
+
+2012-02-10 20:21  pramsey
+
+	* Back out SVN generation stuff.
+
+2012-02-10 19:55  pramsey
+
+	* Try to fail better on SVN snatching...
+
+2012-02-10 19:49  pramsey
+
+	* Report SVN revision in PostGIS_Full_Version (#1518)
+
+2012-02-10 18:46  pracine
+
+	* ST_PixelAsPolygon() does not have a band parameter anymore.
+
+2012-02-10 18:38  robe
+
+	* #1494: move parent table creation to a function so logic is in
+	  single place, add a new census_loader.sql script with census
+	  specific load logic, revise create and update scripts to load the
+	  new census logic and create tables if not present. Still need to
+	  test and write a function to return census info given a point
+	  before can mark this as done.
+
+2012-02-10 17:05  pracine
+
+	* Have perl to backup the file before editing. 'make check' is
+	  failing on Windows 7 without that.
+	  
+	  See
+	  http://postgis.refractions.net/pipermail/postgis-devel/2012-February/018482.html
+
+2012-02-10 16:53  strk
+
+	* Clamp SRID valuesu > SRID_MAXIMUM to fall in the reserved range
+	  (#1505)
+	  
+	  The reserved range is SRID_USER_MAXIMUM+1 to SRID_MAXIMUM.
+	  Core takes care of typmod clamping, postgis_restore.pl takes care
+	  of clamping table definition and spatial_ref_sys entries.
+
+2012-02-10 16:53  strk
+
+	* Add SRID_USER_MXIMUM define
+
+2012-02-10 16:18  pramsey
+
+	* Fix syntax error in MS example
+
+2012-02-10 09:19  strk
+
+	* Drop the now-generated Makefile on distclean, and ignore it
+
+2012-02-10 09:16  strk
+
+	* Fix builds --without-topology (#1565)
+
+2012-02-10 01:21  robe
+
+	* #1564 fix typo in cat call preventing other files from being
+	  concatenated
+
+2012-02-09 23:02  robe
+
+	* #1563: remove raster_columns view from extension so it can be
+	  dropped without complaint.
+
+2012-02-09 20:12  dzwarg
+
+	* Performance improvement by keeping x and y pixel coordinates as
+	  floats.
+
+2012-02-09 19:19  strk
+
+	* Actually save Grand Unified Geom Cache rather than just building
+	  it
+	  
+	  Fixes #547
+
+2012-02-09 17:16  strk
+
+	* More postgis_config.h inclusion removal from headers
+
+2012-02-09 17:00  strk
+
+	* Drop postgis_config.h include from lwgeom_pg.h header.
+	  
+	  Generally, package config files should _not_ be included
+	  by package headers. In this specific case the aim is overriding
+	  POSTGIS_DEBUG_LEVEL in implementation files for the sake of
+	  enabling debugging of a single file.
+	  
+	  Also part of this commit is addition of copyright header in
+	  two files which were missing it (used git history to figure
+	  assignments)
+
+2012-02-09 17:00  strk
+
+	* Fix header guard of pgsql_compat.h and drop the duplicate
+
+2012-02-09 10:49  robe
+
+	* Hmm double added a file -- #1563 which was causing the can't drop
+	  because postgis extension depends on it error
+
+2012-02-09 10:10  strk
+
+	* Forward distclean to extensions subdirs
+
+2012-02-09 02:34  pramsey
+
+	* Don't delete the comments.
+
+2012-02-09 01:54  robe
+
+	* #1562 replace string with text
+
+2012-02-09 00:42  pramsey
+
+	* More verbose message, per DFuhriman
+
+2012-02-09 00:37  pramsey
+
+	* Invalid geography polygons: BOOM! Could not generate outside
+	  point! (#1046)
+
+2012-02-09 00:27  dzwarg
+
+	* Fixed bug where PG_DETOAST_DATUM args were incorrect.
+
+2012-02-09 00:18  dzwarg
+
+	* Changed DATUM_SLICE to DATUM in setGeotransform.
+
+2012-02-08 23:59  dzwarg
+
+	* Added documentation for raster processing builtin functions:
+	  st_min4ma, st_max4ma, st_mean4ma, st_sum4ma, st_range4ma,
+	  st_distinct4ma, st_stddev4ma.
+
+2012-02-08 23:01  pramsey
+
+	* Change from scripts-based script versions to repository based
+	  versions. Should also be more robust? ha ha ha. (#1282)
+
+2012-02-08 22:44  pramsey
+
+	* Make the scripts version get read again.
+
+2012-02-08 21:58  dustymugs
+
+	* Fix to correct building of testapi in MinGW. Ticket is #1560.
+
+2012-02-08 21:31  dzwarg
+
+	* Do not allocate inside of 1 raster mapalgebra loop for datum
+	  values and nulls.
+
+2012-02-08 21:29  pramsey
+
+	* ./configure still display the old raster version number (#1599)
+
+2012-02-08 21:20  dustymugs
+
+	* Instead of dynamically allocating space for variables "values"
+	  and "nulls" with each pixel, just initialize both to the max
+	  possible # of elements. Done for 2-raster ST_MapAlgebraExpr
+
+2012-02-08 21:08  dustymugs
+
+	* Remove deleted function signature for ST_PixelAsPolygon. Ticket
+	  is #1529
+
+2012-02-08 21:08  pramsey
+
+	* test for termios.h in case we want to do password prompting in
+	  the future
+
+2012-02-08 21:04  dustymugs
+
+	* Values for [rast1.x], [rast1.y], [rast2.x] and [rast2.y] should
+	  be INT4 instead of FLOAT8. Ticket is #1557
+
+2012-02-08 21:03  dzwarg
+
+	* Removed geotransform type. Fixed rounding, so Hudson will be my
+	  friend in raster regression tests.
+
+2012-02-08 20:51  strk
+
+	* do not heap-allocate SPI arg types
+
+2012-02-08 20:33  strk
+
+	* ST_MapAlgebraExpr: advertise X and Y params as integers (#1557)
+	  
+	  Also stop doing 3 string matches per pixel for no reason
+
+2012-02-08 19:44  dzwarg
+
+	* Added documentation for 1 and 2 raster map algebra user callback
+	  function documentation for pixel position array parameter to
+	  userfunc. #1525
+
+2012-02-08 19:09  pramsey
+
+	* Handle French svn?
+
+2012-02-08 19:04  dzwarg
+
+	* Added geotransform methods and correction to basis vectors during
+	  raster rotation. #1353
+
+2012-02-08 18:51  pramsey
+
+	* Stop relying on private projects.h PROJ header (#1541)
+
+2012-02-08 17:39  pramsey
+
+	* Add missing target
+
+2012-02-08 17:36  pramsey
+
+	* Push forward version numbers
+
+2012-02-08 17:33  pramsey
+
+	* Commit in preparation for 2.0.0alpha4
+
+2012-02-08 17:23  dzwarg
+
+	* Added ST_StdDev4ma raster neighborhood processing function. #1318
+
+2012-02-08 17:19  pramsey
+
+	* lwgeom_release (#699) move free if copy calls to end of functions
+	  in any place where there is any chance that a problem might occur
+
+2012-02-08 16:44  dustymugs
+
+	* Minor debug message tweak
+
+2012-02-08 16:11  dustymugs
+
+	* Added regression tests for raster2pgsql loader. Ticket is #1388
+
+2012-02-08 15:17  colivier
+
+	* Bugfixes related to #1552, and somehow to #665. Thanks to Sandro
+	  for report and valgrind stuff !
+
+2012-02-08 10:06  strk
+
+	* Document topology.GetRingEdges (#959)
+
+2012-02-08 09:36  strk
+
+	* Do not release serialized input until output is deserialized
+	  
+	  See
+	  http://postgis.refractions.net/pipermail/postgis-devel/2012-February/018336.html
+
+2012-02-08 06:42  pramsey
+
+	* configure_json.patch (#1539) from Evan Roualt
+
+2012-02-08 05:29  colivier
+
+	* restore (at least) tin_geom and psurface_geom unit tests call.
+	  Related to #665
+
+2012-02-08 05:23  colivier
+
+	* Fix BBOX handling in serialization. Still related to #665
+
+2012-02-08 04:36  colivier
+
+	* Change BBOX double to float in serialization. Related to #665
+
+2012-02-08 00:43  dzwarg
+
+	* Added ST_Distinct4ma helper neighborhood processing function. See
+	  #1318
+
+2012-02-08 00:29  dzwarg
+
+	* Fixed typo in configure.ac
+
+2012-02-08 00:23  pramsey
+
+	* loader/Latin1 regression failure with database SQL_ASCII encoding
+	  (#1465) from Greg Troxel
+
+2012-02-08 00:15  pramsey
+
+	* Remove another dying test
+
+2012-02-08 00:14  pramsey
+
+	* Remove failing test
+
+2012-02-08 00:14  pramsey
+
+	* Remove dependency on svnrevision.h
+
+2012-02-08 00:01  pramsey
+
+	* docs-install uses bare cp (#1528) from Greg Troxel
+
+2012-02-07 23:51  pramsey
+
+	* Ignore svnrevision.h
+
+2012-02-07 23:49  pramsey
+
+	* ST_MinimumBoundingCircle needs regression test (#1042)
+
+2012-02-07 23:42  pramsey
+
+	* Add a warning for lower numbers of GEOS
+
+2012-02-07 23:37  colivier
+
+	* Still several bugfixes related to #665
+
+2012-02-07 23:27  pramsey
+
+	* Force generation of an svnrevision.h file when building in a repo
+	  and the svn executable is available.
+	  Ensure that when building a tarball with make_dist.sh the
+	  revision is read from the tag in the remote svn repository.
+	  This should cover both development and distribution cases.
+
+2012-02-07 22:17  pramsey
+
+	* Add dzwarg
+
+2012-02-07 22:05  dustymugs
+
+	* Clean up raster regression and move loader regression directory.
+
+2012-02-07 21:30  colivier
+
+	* Still bugfixes. Related to #665
+
+2012-02-07 21:14  pramsey
+
+	* Test non-empty new types in regress/wkb (#1477)
+
+2012-02-07 21:04  colivier
+
+	* Restore surface cunit tests
+
+2012-02-07 21:01  colivier
+
+	* Fix some bugfixes. Handle EMPTY use cases. Minor changes. Related
+	  to #665
+
+2012-02-07 19:42  pramsey
+
+	* lwgeom_release (#699), reviewed all usage of lwgeom_release
+	  and replaced with lwgeom_free where possible. Changed the
+	  def'n of lwgeom_release so that it only frees the containing
+	  objects, and not any sub-objects, for those few remaining
+	  cases that required a gentler freeing of objects.
+
+2012-02-07 19:35  dustymugs
+
+	* Minor cleanup of parameter names of ST_Intersection(raster,
+	  geometry)
+
+2012-02-07 19:25  dzwarg
+
+	* Added positional parameters to 1 raster version of
+	  ST_MapAlgebraFct. Closes #1525
+
+2012-02-07 18:40  pracine
+
+	* Added ST_TileAsGeom() returning only the extent of the planned
+	  tiles as polygons
+
+2012-02-07 18:07  dzwarg
+
+	* Corrected clamped values in tests for ST_MapAlgebraExpr and
+	  ST_MapAlgebraFct.
+	  Implemented prepared statements in ST_MapAlgebraExpr.
+
+2012-02-07 17:23  pramsey
+
+	* Documentation URLs, visible whitespace, and minor touchups
+	  (#1548) from mwtoews
+
+2012-02-07 17:07  pramsey
+
+	* Reorder the include flags, per Greg Troxel
+
+2012-02-07 15:47  pracine
+
+	* First plpgsql prototype for ST_Tile(rast raster, width integer,
+	  height integer, padwithnodata boolean, nodatavalue double
+	  precision)
+
+2012-02-07 13:12  mcayland
+
+	* Fix a couple of compiler warnings in shp2pgsql-gui caused by
+	  uninitialised variables.
+
+2012-02-07 10:14  strk
+
+	* Allow changing a closed edge (but w/out fixing linking, see #892)
+
+2012-02-07 09:50  strk
+
+	* Re-add install-sh in the repository to support libtool < 2.0
+
+2012-02-07 07:22  strk
+
+	* Ignore install-sh
+
+2012-02-07 07:20  strk
+
+	* install-sh is generated by ./autogen.sh, needs not be in
+	  repository
+
+2012-02-07 02:34  colivier
+
+	* temp desactivation of surface unit test
+
+2012-02-06 23:50  pramsey
+
+	* Whoops, slight error in the empty geometry handling fixed.
+
+2012-02-06 23:30  colivier
+
+	* Temp remove su_surface till everything fixed on it...
+
+2012-02-06 23:25  pramsey
+
+	* Have ST_Union aggregate use UnaryUnion from GEOS-3.0.0 (#922)
+
+2012-02-06 23:14  dustymugs
+
+	* Make sure new bands when added using ST_AddBand are correctly
+	  clamping NODATA values. Ticket is #1546.
+
+2012-02-06 21:32  pramsey
+
+	* Remove dead prototype
+
+2012-02-06 21:15  colivier
+
+	* Fix a bug in tgeom_free, related to #665
+
+2012-02-06 20:53  dustymugs
+
+	* Added support to pass pixel positions of both rasters to user
+	  function in 2-raster ST_MapAlgebraFct. This provides similar
+	  functionality to the keywords described in #1525.
+
+2012-02-06 20:07  pramsey
+
+	* Change searched location of proj files when no proj variable
+	  (#1022)
+
+2012-02-06 19:45  pramsey
+
+	* Quiet rm
+
+2012-02-06 19:44  pramsey
+
+	* quiet echo
+
+2012-02-06 19:33  pramsey
+
+	* Dummy up a check target
+
+2012-02-06 19:32  pramsey
+
+	* Move regres forward again
+
+2012-02-06 19:30  pramsey
+
+	* Make exensions depend on comments, so also depend on xsltproc
+
+2012-02-06 19:13  pramsey
+
+	* Duplicate named case-insensitive XML refentry ids / HTML files
+	  (#1511)
+
+2012-02-06 19:01  pramsey
+
+	* PostGIS extensions should build/install automatically if PostGIS
+	  is compiled against 9.1 (#1490)
+
+2012-02-06 18:44  pramsey
+
+	* Change how we calculate minor versions suitable for extension
+	  upgrade.
+
+2012-02-06 18:36  dzwarg
+
+	* Checked connection to SPI manager in ST_MapAlgebraExpr
+
+2012-02-06 17:49  dzwarg
+
+	* Whitespace changes to _st_hillshade4ma
+
+2012-02-06 17:26  dzwarg
+
+	* Reordered linking order for core regression tests. Follow up to
+	  http://postgis.refractions.net/pipermail/postgis-devel/2011-December/016646.html
+	  and r8399
+
+2012-02-06 13:43  strk
+
+	* Tabs to spaces (2)
+
+2012-02-06 13:16  strk
+
+	* Don't let ValidateTopology choke on invalid edges (#1544)
+
+2012-02-06 03:20  pramsey
+
+	* Allow 'make check' to run all the way through on OSX (the sed
+	  implementation must be slightly different, so let's see if Perl
+	  is any more standard). Hopefully other platforms will be happy.
+
+2012-02-06 02:15  pramsey
+
+	* Try out the pj_get_def() method of finding the spheroid
+	  parameters, but: it doesn't work.
+
+2012-02-05 02:15  robe
+
+	* put in an FAQ about the common function is not unique error that
+	  I suspect a lot of people will be running into because they don't
+	  cast their geometry inputs and that a lot of raster functions
+	  have overloaded functions similar to the geometry ones.
+
+2012-02-05 00:30  mcayland
+
+	* Change encoding reference URL to that used for libiconv rather
+	  than PostgreSQL since that's what we are using to do the encoding
+	  conversion (as per #1303).
+
+2012-02-05 00:30  mcayland
+
+	* Fix for #1540: Fix segfault in shp2pgsql-gui when no port is
+	  specified. Prevent dereferencing a NULL pointer if the string is
+	  empty.
+
+2012-02-04 17:53  strk
+
+	* Implemented new keywords for 1-raster ST_MapAlgebraExpr (#1525)
+
+2012-02-04 02:36  mcayland
+
+	* Fix an issue in the shapefile GUI caused by saving the original
+	  shapefile name before processing.
+	  
+	  This was a bug caused by having two separate passes during
+	  export; we were saving the original
+	  export shapefile name during the first loop, and so when we came
+	  to free() the temporary name
+	  at the end of export it would only free the shapefile name from
+	  the last iteration, and do it
+	  multiple times causing random crashes.
+
+2012-02-04 01:30  pramsey
+
+	* Geography should support SRIDs other than 4326 (#1538)
+
+2012-02-04 01:17  mcayland
+
+	* Alter the shapefile GUI so that multiple shapefiles can be
+	  selected in the import file chooser.
+
+2012-02-04 00:39  mcayland
+
+	* Add GUI support for the shp2pgsql -S (simple geometries) switch.
+	  This closes #660.
+
+2012-02-04 00:39  mcayland
+
+	* Update shapefile GUI "About" text and window title to reflect
+	  that it now handles export as well as import.
+
+2012-02-04 00:39  mcayland
+
+	* Add shapefile dumper (table export) to the shp2pgsql GUI. This
+	  closes ticket #1480.
+
+2012-02-04 00:02  dustymugs
+
+	* Explicitly set the output band's pixel type depending on the band
+	  being returned (FIRST, SECOND, BOTH. OTHER is left NULL) in
+	  ST_Intersection(raster, raster). Related ticket is #1537.
+
+2012-02-03 22:57  dustymugs
+
+	* Implemented keywords for 2-raster ST_MapAlgebraExpr as described
+	  in #1525. Will do 2-raster ST_MapAlgebraFct next.
+
+2012-02-03 21:29  pramsey
+
+	* Separate the cache handling code from the transform function
+
+2012-02-03 21:04  mcayland
+
+	* Fix pgsql2shp crash when dumping a table without a geo column.
+
+2012-02-03 21:04  mcayland
+
+	* Fix construction of pgsql2shp's main retrieval query in
+	  ShpDumperOpenTable().
+	  
+	  This fixes a regression which caused pgsql2shp to generate an
+	  incorrect SQL query
+	  for tables without any geo columns.
+
+2012-02-03 21:03  mcayland
+
+	* Move initialisation of pgsql2shp state endian flag to the same
+	  location all the other initialisers.
+
+2012-02-03 21:03  mcayland
+
+	* Fix missing #ifdef POSTGIS_GEOS_VERSION ... #endif preventing
+	  liblwgeom from compiling on GEOS < 3.3.0.
+
+2012-02-03 18:09  dustymugs
+
+	* Fixed optimization bug in 1-raster ST_MapAlgebraExpr. Ticket is
+	  #1515.
+
+2012-02-03 12:51  robe
+
+	* #1530: fix typo in full upgrade -- was using the postgis only
+	  script instead of the combined postgis + raster script. Still
+	  need to test, will close out once tested.
+
+2012-02-03 03:58  dustymugs
+
+	* Reverted r9014. Hudson ain't happy with sed.
+
+2012-02-03 03:51  dustymugs
+
+	* Merge of patch provided in #1533. Thanks gdt.
+
+2012-02-02 19:25  dustymugs
+
+	* Message cleanup by removing unnecessary newlines.
+
+2012-02-02 18:47  dustymugs
+
+	* Refactored stderr messaging so that C API messages are properly
+	  emitted. Based on suggestion in comment 4 of #1531.
+
+2012-02-02 17:38  dustymugs
+
+	* Additional error checking and formatting of error messages
+
+2012-02-01 23:55  pramsey
+
+	* Add lwcollection_homogenize and ST_Homogenize (#375)
+
+2012-02-01 23:18  pramsey
+
+	* Add lwcollection_homogenize and ST_Homogenize (#375)
+
+2012-02-01 23:00  pramsey
+
+	* Support curves in lwgeom_homogenize (#1526)
+
+2012-02-01 22:06  dustymugs
+
+	* Added check of values being passed to atan2() in
+	  _st_hillshade4ma()
+
+2012-02-01 21:27  pramsey
+
+	* Enhance ST_Rotate by adding offset origin parameters (#1251) from
+	  mwtoews
+
+2012-02-01 21:17  pramsey
+
+	* ST_Azimuth, ST_Project regression tests (#1398)
+
+2012-02-01 17:39  pramsey
+
+	* Also remove .gitignore files from tarbal distro
+
+2012-02-01 17:35  pramsey
+
+	* Push forward versions for weekly snap
+
+2012-02-01 17:28  robe
+
+	* #1494: build parent structures to support census tract reporting
+	  by geocoder.
+
+2012-02-01 15:28  dustymugs
+
+	* Additional cleanup of a few functions using
+	  ST_PixelAsPolygon(raster, int, int, int). Also, made map algebra
+	  expression case-sensitive in 2-raster ST_MapAlgebraExpr. Now, the
+	  keywords must be RAST1 and RAST2.
+
+2012-02-01 14:58  dustymugs
+
+	* Refactored regression test for ST_PixelAsPolygon
+
+2012-02-01 14:32  dustymugs
+
+	* Deleted deprecated ST_PixelAsPolygon(raster, int, int, int)
+	  variant.
+
+2012-02-01 11:51  strk
+
+	* Make test more readable
+
+2012-02-01 11:39  strk
+
+	* Keep initial value when an expression eveluates to null (#1523)
+
+2012-02-01 10:15  strk
+
+	* Implement RAST.X and RAST.Y keyword substitution in
+	  ST_MapAlgebraExpr
+	  
+	  Includes regression test and documentation update. See #1519.
+
+2012-02-01 09:20  strk
+
+	* Implement ST_PixelAsPolygon in C, provide a core API entry for it
+	  
+	  The API entry point is expected to be useful for #1519
+
+2012-02-01 05:30  pramsey
+
+	* Try again to fix #1292
+
+2012-02-01 02:14  pramsey
+
+	* VACUUM cannot be executed from a function or multi-command string
+	  (#1517)
+
+2012-02-01 00:41  pramsey
+
+	* Fix include to be pathless
+
+2012-01-31 23:36  pramsey
+
+	* Update spatial_ref_sys to latest GDAL generated version (#1493)
+
+2012-01-31 22:33  pramsey
+
+	* ST_Line_Interpolate_Point doesn't interpolate M-values (#639)
+
+2012-01-31 20:46  pramsey
+
+	* Remove some compile warnings.
+
+2012-01-31 18:56  pramsey
+
+	* Gah, someone else can do this...
+
+2012-01-31 18:24  pramsey
+
+	* Really, I do know how to write XML.
+
+2012-01-31 18:19  pramsey
+
+	* ST_SnapToGrid returns a value out of range (#1292)
+
+2012-01-31 18:12  pramsey
+
+	* Rename ST_BuildArea backend function
+
+2012-01-31 18:10  pramsey
+
+	* Fix missing tag
+
+2012-01-31 18:09  pramsey
+
+	* Drop Equals(geom,geom) - deprecated in 1.2.3 (#1486)
+
+2012-01-31 18:03  pramsey
+
+	* FAQ about licensing (#1262)
+
+2012-01-31 17:44  dustymugs
+
+	* Explicitly set spatial index name as PostgreSQL 8.4 requires an
+	  index name. Associated ticket is #1513. Also fixed string trim
+	  functions to prevent modification of passed string.
+
+2012-01-31 14:50  dustymugs
+
+	* Fixed evaluation of two floating point numbers in
+	  RASTER_getRotation. Fixes one of the two regression failures
+	  described in #1501.
+
+2012-01-31 14:46  dustymugs
+
+	* Added check of band # passed to ST_DumpAsPolygons. Fixes #1514.
+
+2012-01-31 05:50  pramsey
+
+	* Pgsql2shp: Dumping: XWKB structure does not match expected size!
+	  (#1479)
+
+2012-01-30 21:52  pramsey
+
+	* ST_Segmentize returns invalid LINESTRING for zero-length input
+	  (#1304)
+
+2012-01-30 20:41  pramsey
+
+	* ST_LocateBetweenElevations should return NULL and not fail if
+	  intersection is void (#1250)
+
+2012-01-30 20:17  pramsey
+
+	* ST_Within not using prepared geometries (#962)
+
+2012-01-30 02:47  pramsey
+
+	* (#393) shp2pgsql returns "fseek(-xxx) failed on DBF file." for
+	  large (>2GB) DBF files
+
+2012-01-30 00:37  pramsey
+
+	* GML for empty geometries should be NULL (#1377)
+
+2012-01-29 23:30  nicklas
+
+	* Increase robustness in distance-calculations when point is on
+	  segment.
+
+2012-01-29 21:19  strk
+
+	* typo
+
+2012-01-29 19:57  pramsey
+
+	* Be more liberal in accepting "empty" tags in constructing
+	  geometries from GML (#1059)
+
+2012-01-29 14:44  strk
+
+	* Give me psc status
+
+2012-01-28 23:11  strk
+
+	* Fix _ST_AddFaceSplit code against PostgreSQL 9.1
+
+2012-01-28 22:08  strk
+
+	* Don't put constant geometries in CTE, which confuses estimator
+
+2012-01-28 17:05  strk
+
+	* Simplify code in _ST_AddFaceSplit, reduce edges table scans.
+	  
+	  Also set debugging off by default
+
+2012-01-28 16:20  strk
+
+	* Switch ST_AddEdgeNewFaces from ST_Polygonize to _ST_AddSplitFace
+	  
+	  See ticket #1508
+
+2012-01-28 13:45  strk
+
+	* Stop using ST_Polygonize from ST_AddEdgeModFace.
+	  
+	  This commit also estrapolates an internal _ST_AddSplitFace
+	  function
+	  for reuse by ST_AddEdgeModFaces
+
+2012-01-28 13:18  strk
+
+	* Rename topogeometry column check to be more readable
+
+2012-01-28 10:42  strk
+
+	* New test for closing multi-edge ring in a face (ST_AddEdge*Face*)
+
+2012-01-28 07:44  strk
+
+	* Allow multiple topogeometry columns in one table (again)
+	  
+	  Dunno why this piece was missing from previous commit, sorry
+
+2012-01-28 07:37  strk
+
+	* Allow multiple TopoGeometry column in the same table
+
+2012-01-28 00:23  robe
+
+	* add protos for ST_Quantile raster table coverage. Still some more
+	  to add as well as examples of usage
+
+2012-01-27 23:31  pramsey
+
+	* Fix one remaining crasher for ST_AsGML('SRID=4326;POLYGON
+	  EMPTY');
+
+2012-01-27 22:24  pramsey
+
+	* #1504 (Segfault running ST_EstimatedExtent())
+
+2012-01-27 21:05  dustymugs
+
+	* Fixed segfault caused by an empty quantile linked list being used
+	  to get the quantile's value. Ticket is #1506.
+
+2012-01-27 20:55  pramsey
+
+	* Tighten up on-arc test a bit more.
+
+2012-01-27 20:14  strk
+
+	* Add "face has no rings" validity checking
+
+2012-01-27 18:57  pramsey
+
+	* Revert accidental inclusion of shape file size patch in curve
+	  patch
+
+2012-01-27 18:54  pramsey
+
+	* #920 (ST_LineToCurve generating invalid CURVEPOLYGON)
+
+2012-01-27 14:22  strk
+
+	* More test for face splitting and inside holes
+
+2012-01-27 11:36  strk
+
+	* More test for update of isolated nodes in split-faces.
+
+2012-01-27 11:05  strk
+
+	* Rewrite test for ST_AddIsoNode (see #1503)
+
+2012-01-27 11:05  strk
+
+	* Simplify the code looking for face containment in ST_AddIsoNode
+	  
+	  Fixes bug #1503 for me, altough I didn't handle to produce a
+	  testcase for it.
+
+2012-01-27 08:18  strk
+
+	* Add test for update of isolated nodes in split-faces.
+	  
+	  Affects both ST_AddEdgeModFace and ST_AddEdgeNewFaces (both work)
+
+2012-01-26 20:25  pramsey
+
+	* Complete #737
+
+2012-01-26 20:19  pramsey
+
+	* Detect asprintf, vasprintf, fseeko
+
+2012-01-26 18:09  strk
+
+	* Change expectations from tests involving ST_MakeLine
+
+2012-01-26 17:23  pramsey
+
+	* Clean up and exit when shp file missing
+
+2012-01-26 16:22  pramsey
+
+	* Fix contact per a message on postgis-users from Markus Innerebner
+
+2012-01-26 13:00  strk
+
+	* Add support for linestrings in ST_MakeLine (#1500)
+	  
+	  Affects both the aggregate and the 2-parameters function.
+	  Regression testing included.
+	  Documentation was updated, but lacks examples.
+
+2012-01-26 12:59  strk
+
+	* Implement lwline_from_lwgeom_array (untested)
+
+2012-01-26 12:59  strk
+
+	* Don't let ptarray_append_ptarray change read-only pointarrays
+
+2012-01-26 12:59  strk
+
+	* Test that mixed dimensionality is not allowed by
+	  ptarray_append_ptarray
+
+2012-01-26 12:34  strk
+
+	* Add more test for FLAGS_GET_ and FLAGS_SET_
+
+2012-01-26 09:16  strk
+
+	* Implement ptarray_append_ptarray, and change its signature
+	  
+	  This is propedeutic to ticket #1500
+
+2012-01-26 08:12  strk
+
+	* Tweak debug messages not to clutter output
+
+2012-01-25 17:40  pramsey
+
+	* Bump version string forward
+
+2012-01-25 17:38  pramsey
+
+	* Prep for alpha2
+
+2012-01-24 22:23  pramsey
+
+	* SVG empty geometries gives invalid memory alloc (#1038)
+
+2012-01-24 21:57  pramsey
+
+	* Update shplib to the latest release (1.3.0b3) and stitch in our
+	  special date and logical handling. (#393)
+
+2012-01-24 19:42  pramsey
+
+	* Double guard against geos versions of 3.4.dev form. (#1488)
+
+2012-01-24 18:04  strk
+
+	* Stop WARNING from AddFace about next_left_edge/next_right_edge
+
+2012-01-24 17:29  strk
+
+	* Optimize ST_AddEdge*Face* detection of face split conditions
+	  (#1497)
+
+2012-01-24 17:29  strk
+
+	* Protect DEBUG lines in compile-time conditional
+
+2012-01-24 17:20  pramsey
+
+	* Test for #1150, null entry in spatial_ref_sys
+
+2012-01-24 14:03  strk
+
+	* Fix linking bugs with ST_NewEdgesSplit function (#1496)
+	  
+	  Includes test coverage for this other function.
+
+2012-01-24 11:15  strk
+
+	* Fix edge-linking in ST_ModEdgeSplit (#1496)
+	  
+	  Includes regression test. ST_NewEdgesSplit still needs testing.
+
+2012-01-24 00:09  pramsey
+
+	* Prevent people from inserting entries in spatial_ref_sys with no
+	  proj4text (#1150)
+
+2012-01-23 23:27  pramsey
+
+	* Make topology enabled the default
+
+2012-01-23 23:20  pramsey
+
+	* Allow raster to actually turn on by default
+
+2012-01-23 22:20  pramsey
+
+	* Move raster/topology status to the bottom of the report
+
+2012-01-23 22:18  pramsey
+
+	* Report on raster status whether enabled or not
+
+2012-01-23 21:42  pramsey
+
+	* Push forward the trunk version to match release march
+
+2012-01-22 20:10  strk
+
+	* Fix ambiguos references (with postgresql 9.x)
+
+2012-01-22 19:25  strk
+
+	* AddTopoGeometryColumn: check child layer before incrementing
+	  sequence
+
+2012-01-22 19:13  strk
+
+	* typo
+
+2012-01-22 15:43  strk
+
+	* TopoGeo_addLineString: fix node crossing, reduce edges creations
+
+2012-01-22 12:10  strk
+
+	* Comment typo
+
+2012-01-21 01:31  robe
+
+	* update build extensions to include the make comments if building
+	  from source repo and also that it requires a separate compile
+	  step (until #1490)
+
+2012-01-20 23:41  pramsey
+
+	* Fix typo
+
+2012-01-20 23:05  pramsey
+
+	* Make raster on by default and --without-raster the configuration
+	  parameter to disable it.
+
+2012-01-20 18:14  robe
+
+	* fix typo
+
+2012-01-20 18:14  robe
+
+	* Add a plpython example for outputting raster images
+
+2012-01-20 14:47  strk
+
+	* Have TopoGeometry::Geometry always return a MULTI* (#1462)
+
+2012-01-20 14:47  strk
+
+	* Don't let ST_Multi create collections of a single EMPTY (#1489)
+
+2012-01-20 10:06  robe
+
+	* #1487: add out_db argument to AddRasterConstraints and
+	  DropRasterConstraints documentation so extensions can install
+	  again
+
+2012-01-20 10:02  strk
+
+	* Test new types in regress/wkt (#1476)
+
+2012-01-20 09:11  strk
+
+	* Exclude raster_columns from geometry_columns (#1122)
+	  
+	  Add regress test, with a newborn "tickets" testcase for raster
+
+2012-01-20 08:46  strk
+
+	* Fix a missing return introduced with fix to #547
+
+2012-01-20 08:12  strk
+
+	* Change ST_Equals to use the ~= operator (#1453)
+	  
+	  Doing so it will consistently return TRUE for EMPTY-EMPTY, while
+	  previously _ST_Equals returned TRUE but ST_Equals returned FALSE.
+	  
+	  The commit also changes signature of the C function
+	  from 'geomequals' to 'ST_Equals' and marks an SQL 'Equals'
+	  signature as a candidate for dropping before 2.0.0 final
+
+2012-01-20 08:12  strk
+
+	* Revert "remove ~= from documentation -- we don't want people
+	  using this operator"
+	  
+	  This reverts r8799
+
+2012-01-20 07:10  robe
+
+	* readme was outdated.
+
+2012-01-20 05:08  pramsey
+
+	* Update for alpha1?
+
+2012-01-20 00:11  pramsey
+
+	* Transforming from SRID 4267 to 4326 returns incorrect result
+	  (#1301)
+
+2012-01-19 23:58  pramsey
+
+	* Stop configure if we don't find perl. (#1484)
+
+2012-01-19 17:39  strk
+
+	* In 9.1, it is datamoduledir driving module install dir, not
+	  MODULEDIR
+
+2012-01-19 17:15  strk
+
+	* Have both RTREE and PREPARED_GEOM caches cohexist (#547)
+	  
+	  Fixes a memory leak and improves performances when both p-i-p
+	  and other kind of overlays are requested during the same
+	  statement.
+
+2012-01-19 17:03  strk
+
+	* Update expected raster intersection results after fix to #852
+	  
+	  I've carefully checked the cases and where indeed expecting wrong
+	  results (the point is very close to the raster's convex hull
+	  boundary
+	  but slightly outside, ST_Distance reports 1.58882185807825e-14
+	  units)
+
+2012-01-19 09:48  strk
+
+	* Add test for cached version of point_in_ring (#852)
+
+2012-01-19 08:59  strk
+
+	* Drop use of tolerance in PIP (#852)
+	  
+	  Affects point_in_ring and point_in_ring_rtree.
+	  Includes regress test but not hitting the cache.
+
+2012-01-19 08:16  strk
+
+	* Do not run the upgrade test if the normal test failed
+
+2012-01-19 08:16  strk
+
+	* Oops, forgot to cleanup after debugging (triggered testsuite
+	  failure)
+
+2012-01-18 15:47  strk
+
+	* Rework st_estimated_extent to deal with analyzed empty tables
+	  (#818)
+	  
+	  Still doesn't distinguish between empty and not analyzed recently
+	  (might be improved in that reguard)
+
+2012-01-18 14:19  strk
+
+	* Drop &Z_support in ST_Summary, see #649 comment:2
+
+2012-01-18 14:17  strk
+
+	* Add ST_Summary(geography), "G" flag (#1277), document (#649)
+
+2012-01-18 13:46  strk
+
+	* Complete binary IO testing in presence of typmod (#850)
+
+2012-01-18 13:46  strk
+
+	* Do proper cleanups
+
+2012-01-18 13:46  strk
+
+	* Check typmod on binary geometry input (#850)
+	  
+	  Testcase will follow
+
+2012-01-18 10:17  strk
+
+	* Have geography typmod threat unkonwn srid an omitted srid (#1482)
+
+2012-01-18 10:17  strk
+
+	* Add --expect switch to save obtained output as expected
+	  
+	  Will help generating testcases
+
+2012-01-18 10:17  strk
+
+	* Drop the support for multiple expected files (not needed anymore)
+	  
+	  The support was also broken, btw...
+
+2012-01-18 08:19  strk
+
+	* Test roundtrip with a binary cursor for both geometry and
+	  geography
+	  
+	  With this commit the binary.sql testcase doesn't test the actual
+	  binary output anymore but rather uses canonical binary output to
+	  copy objects to a temporary file, then uses canonical binary
+	  input
+	  to read the objects again into a new table and then compares the
+	  original and the final tables.
+	  
+	  In order for this to work run_test was modified to pass a
+	  :tmpfile
+	  variable to testcases. Next stop: typmod for canonical binary
+	  input.
+	  
+	  See ticket #850 for more info
+
+2012-01-17 20:01  strk
+
+	* Implement canonical input-output for geography (#850)
+	  
+	  Note: canonical output is tested, input isn't.
+
+2012-01-17 19:15  strk
+
+	* Test canonical binary output for geometry (#850)
+	  
+	  NOTE: big-endian machines are expected to fail this new test
+	  please send your actual output for a fix
+
+2012-01-17 19:15  strk
+
+	* Support alternate expected files
+	  
+	  Useful to test WKB output on different byte-endian machines.
+
+2012-01-17 19:15  strk
+
+	* Support for binary output (#850)
+
+2012-01-17 18:04  strk
+
+	* Override geometrytype for geography (#1450).
+	  
+	  The testusite runs without problems so I didn't also add a
+	  geometrytype(text) function [I want the implicit cast!]
+
+2012-01-17 17:52  strk
+
+	* Run the testsuite again after upgrading (#1326)
+
+2012-01-17 17:52  strk
+
+	* Reword loading of upgrade scripts
+
+2012-01-17 17:13  strk
+
+	* Enhance staged install to include raster, topology and all
+	  scripts
+	  
+	  Add an --upgrade switch to regress/run_test in preparation of
+	  regress testing upgrade scripts (#1326)
+
+2012-01-17 08:57  strk
+
+	* Do not drop legacy getSRID in postgis_drop (#1401)
+	  
+	  This commit reverts r8837
+
+2012-01-16 22:26  pramsey
+
+	* Rename lwpoint_interpolate to point_interpolate
+
+2012-01-16 21:13  strk
+
+	* Snap output of test for #723 to a grid
+	  
+	  The test was failing due to coordinate drifts on 32bit
+
+2012-01-16 17:37  strk
+
+	* Fix 2.5d split (#745)
+
+2012-01-16 17:00  strk
+
+	* Keep UTM zone numbers in range, regress-test _ST_BestSRID (#1234)
+
+2012-01-16 15:39  strk
+
+	* Add an ST_AsEWKT(text) to prefer geometry over geography
+
+2012-01-16 14:46  strk
+
+	* Add ST_EWKT for geography type (#675)
+
+2012-01-16 14:33  strk
+
+	* The official unknown SRID is 0, not -1
+
+2012-01-16 14:21  strk
+
+	* Have 'make doc' build the single-page HTML
+
+2012-01-16 14:04  strk
+
+	* Allow building with gettext 0.14. Patch by Greg Troxel
+	  <gdt at ir.bbn.com>
+
+2012-01-16 13:56  strk
+
+	* Detect PERL locally
+
+2012-01-16 13:10  strk
+
+	* Ignore generated extension files
+
+2012-01-16 12:33  strk
+
+	* Move lwgeom_summary to liblwgeom (#1446)
+
+2012-01-16 12:25  strk
+
+	* Drop getsrid (#1401)
+
+2012-01-16 12:10  strk
+
+	* Add test for insertion into typmod-ed table (#1414)
+
+2012-01-16 11:22  strk
+
+	* Fix WKB output for POINT EMPTY with SRID or higher dims (#1478)
+
+2012-01-16 10:34  strk
+
+	* Add WKB round-trip test for TIN
+
+2012-01-16 10:31  strk
+
+	* Fix reading TRIANGLE EMPTY in WKB form (#1474)
+
+2012-01-16 10:31  strk
+
+	* Add POLYHEDRALSURFACE roundtrip WKB test
+
+2012-01-16 10:24  strk
+
+	* Implement lwgeom_same for MULTICURVE and MULTISURFACE (#1475)
+
+2012-01-16 10:21  strk
+
+	* Implement lwgeom_same for CURVEPOLYGON types (#1475)
+
+2012-01-16 10:18  strk
+
+	* Implement lwgeom_same for COMPOUNDCURVE (#1475)
+
+2012-01-16 10:11  strk
+
+	* Implement lwgeom_same for circularstring (#1475)
+
+2012-01-16 09:11  strk
+
+	* A CURVEPOLY is also a collection. Fixes #1473.
+
+2012-01-16 09:11  strk
+
+	* Prevent lwcollection_construct from creating non-collection types
+
+2012-01-16 08:25  strk
+
+	* Use a CTE for queries involving largs WKB input.
+	  
+	  Reduces parsing and execution time.
+
+2012-01-16 08:25  strk
+
+	* Comment out expensive DEBUG lines
+
+2012-01-16 08:24  strk
+
+	* Downgrade notice of face splitting to debug level
+
+2012-01-15 20:52  strk
+
+	* Wrap DEBUG output in ifdef POSTGIS_TOPOLOGY_DEBUG (#1469)
+
+2012-01-15 17:50  strk
+
+	* Make AddTopoGeometryColumn less sequence-number-eager,
+	  regress-test
+
+2012-01-15 09:25  robe
+
+	* put in spaces in ST_InterpolatePoint See Also references
+
+2012-01-15 09:23  robe
+
+	* ditto for ST_LocateBetween - name change flag and minor other
+	  corrections
+
+2012-01-15 09:10  robe
+
+	* put a note ST_LocateAlong name changed (and is a new name in 2.0
+	  - old name is ST_Locate_Along_Measure)
+
+2012-01-15 03:59  robe
+
+	* link to where to download pre-built cheat sheets
+
+2012-01-15 03:32  robe
+
+	* revise docs about make installing extensions to note that
+	  extensions are now installed by default if compiling against
+	  9.1+. Also provide an example query to run to verify extensions
+	  are installed. THANKS pramsey -- now if we can only have a real
+	  tagged release that would be SWEET.
+
+2012-01-15 03:18  robe
+
+	* #1401 Goodbye getSRID()
+
+2012-01-14 13:10  mcayland
+
+	* Display "Creating Index..." text within the progress dialog
+	  rather than within the shp2pgsql-gui log window.
+	  
+	  This should make it more obvious to users that something is still
+	  happening in the case that
+	  they are building on a index on larger shapefiles which can often
+	  take quite some time.
+
+2012-01-14 07:37  robe
+
+	* change eol from native to LF to try to resolve #1466
+
+2012-01-14 07:29  robe
+
+	* document --with-gettext=no optionand case why you would want to
+	  do this. Also minor modifications as to use GEOS 3.3.2 and why
+	  you should
+
+2012-01-14 01:03  pramsey
+
+	* Add ST_InterpolatePoint, deprecate ST_Locate_Between_Measures and
+	  ST_Locate_Along_Measure. Document new functions. Alter
+	  regressions and docs to use AsText instead of AsEWKT.
+
+2012-01-14 00:49  mcayland
+
+	* Use normal autoconf convention of using #define to determine
+	  whether or not GDALFPOLYGONIZE is present, rather than always
+	  having it present and setting its value to either 0 or 1.
+
+2012-01-14 00:49  mcayland
+
+	* Switch liblwgeom to use the POSTGIS_* defines already generated
+	  by configure, rather than passing them in directly.
+	  
+	  Similar to my previous commit, however here the aim is that by
+	  moving the logic outside of make then we can
+	  potentially allow other generators (such as CMake) to detect and
+	  use other compilers rather than embedding
+	  specific -D flags into the command line.
+
+2012-01-14 00:49  mcayland
+
+	* Switch NLS build to use the in-built ENABLE_NLS define rather
+	  than USE_NLS.
+	  
+	  The key concept here is that we eliminate all logic from the
+	  Makefile and put
+	  it in the build system (e.g. configure). By having the logic at
+	  this higher
+	  layer, we make it much easier to transition to another build
+	  system in future
+	  such as CMake.
+
+2012-01-14 00:49  mcayland
+
+	* Enable configure to accept the additional parameter
+	  --with-gettext=no to disable NLS builds.
+	  
+	  This makes it possible to explicitly disable builds at configure
+	  time if required for
+	  platforms where this causes problems such as Windows (see bug
+	  #748).
+
+2012-01-14 00:48  mcayland
+
+	* Fix incorrect camel-casing for HAVE_JSON within configure.ac.
+
+2012-01-14 00:48  mcayland
+
+	* Fix up AC_DEFINE macros in configure.ac that don't have a
+	  description.
+	  
+	  While autoheader emits a warning, it actually fails and does not
+	  regenerate
+	  postgis_config.h.in. Along with this fix, we commit an updated
+	  version of
+	  postgis_config.h created from a fresh invocation of autoheader
+	  minus the
+	  PACKAGE_* macros.
+
+2012-01-13 17:34  strk
+
+	* Add test for creating tables with circularstring typmod (#1085)
+
+2012-01-13 17:33  strk
+
+	* First draft of a test for typmod (#1085)
+	  
+	  This version simply creates the tables and checks
+	  geometry_columns.
+	  Should be enhanced to test effectiveness of constraints.
+
+2012-01-13 16:28  robe
+
+	* remove dangling reference to geometry_same
+
+2012-01-13 16:23  strk
+
+	* Virtualize ``make'' calls (#1464)
+
+2012-01-13 15:54  mcayland
+
+	* Rename geometry column header in shp2pgsql-gui to "geo column" to
+	  reduce its visible width based upon feedback from Regina.
+
+2012-01-13 15:50  robe
+
+	* remove ~= from documentation -- we don't want people using this
+	  operator
+
+2012-01-13 13:31  strk
+
+	* Add all signature in the current repository
+
+2012-01-13 11:34  strk
+
+	* Add more signatures found in a more recent dump of mine
+
+2012-01-13 11:29  strk
+
+	* Make verbose output of postgis_restore.pl more useful for
+	  maintainance
+	  
+	  It will now avoid to collapse all spaces to keep the door open
+	  for
+	  better parsing in the future and to be more human readable.
+
+2012-01-13 10:00  strk
+
+	* Make ~= operator GIST-indexable, following existing documentation
+	  
+	  NOTE: it takes a dump/reload for this to be in effect.
+
+2012-01-12 21:43  pramsey
+
+	* Add in an offset option to ST_LocateBetween
+
+2012-01-12 19:55  pramsey
+
+	* Add support for MULTIPOINT and POINT to ST_LocateBetween
+
+2012-01-12 19:07  pramsey
+
+	* Flip ST_LocateBetween to use the same LRS code as
+	  ST_LocateBetweenElevations
+
+2012-01-12 17:41  strk
+
+	* Add regress test for topology.AddFace robustness (see #1383)
+
+2012-01-12 17:06  strk
+
+	* Fix lw_dist2d_pt_seg(B, AB), see #1459
+	  
+	  Includes regress testing. Should also fix #1383
+
+2012-01-12 11:21  strk
+
+	* Complete tests for higher coordinate dimensions (#1455)
+
+2012-01-12 11:21  strk
+
+	* Fix bug in dimension computer for collection WKT.
+	  
+	  The parser got confused by inner M letters.
+	  This commit also improves speed early breaking the loop over WKT.
+
+2012-01-12 11:20  strk
+
+	* Add tests for higher coordinate dimensions (#1455)
+	  
+	  GEOMETRYCOLLECTION still fails
+
+2012-01-12 08:52  strk
+
+	* Test roundtrip of WKT. Higher dimensions still needed (#1455)
+
+2012-01-12 08:52  strk
+
+	* Fix a bug in gserialized_read_gbox_p reading garbage in EMPTY
+	  point
+	  
+	  Includes cunit test. Fixes #1458.
+
+2012-01-12 08:51  strk
+
+	* gbox_float_round: do not attempt to round M when not present
+
+2012-01-12 08:51  strk
+
+	* Expose gbox_float_round to liblwgeom API
+
+2012-01-11 19:45  pramsey
+
+	* Change references to BOX2DFLOAT4 to just BOX2D and remove the
+	  struct. Ding dong.
+
+2012-01-11 19:20  pramsey
+
+	* Tie astext(geography) and asbinary(geography) directly to the
+	  lwgeom_ C functions, without a cast
+
+2012-01-11 18:53  strk
+
+	* Allow higher dimensions in GeomFromWKB (#1452)
+	  
+	  Includes regress test for WKB roundtrip
+	  (failing as expected with point empty)
+
+2012-01-11 18:45  strk
+
+	* Fix bug in gbox_same -> lwgeom_same -> ST_OrderingEquals (#1454)
+	  
+	  Adds regression test for lwgeom_same and ST_OrderingEquals
+
+2012-01-11 17:18  strk
+
+	* Fix EMPTY ~= EMPTY to return TRUE (#1453)
+	  
+	  This also fixes ST_OrderingEquals for empty geometries and
+	  adds the concept of NULL boxes to represent EMPTY boxes.
+	  
+	  ST_Equals is still broken as it uses the overlap operator
+	  instead.
+
+2012-01-11 17:18  strk
+
+	* Encode dependency of libpgcommon on postgis_config.h
+
+2012-01-11 17:18  strk
+
+	* Xref ST_AsBinary to its reverse ST_GeomFromWKB
+
+2012-01-11 15:57  strk
+
+	* Add paranoid test of another malformed WKB found in #168
+
+2012-01-11 15:51  strk
+
+	* Drop ST_AsBinary(text) wrapper, removed in previous commits
+
+2012-01-11 14:50  strk
+
+	* Add documentation about enhancements in ST_AsBinary (#288)
+
+2012-01-11 14:46  strk
+
+	* Drop geography-specific C-side of AsBinary function. Proxy to
+	  geometry.
+	  
+	  See #288
+
+2012-01-11 12:30  strk
+
+	* Limit geometry_columns view definition within 80 columns.
+	  
+	  This is to avoid issues like #1449
+
+2012-01-11 11:17  strk
+
+	* Add regress test for WKB (#1448) and enable the existing one for
+	  WKT
+
+2012-01-11 11:17  strk
+
+	* Unlease higher dimensions in ST_AsBinary, using SQL/MM (#288)
+
+2012-01-11 11:16  strk
+
+	* ST_AsText item is an enhancement, not a new feature
+
+2012-01-11 10:40  strk
+
+	* Add note aboute AsText support for higher dimension
+
+2012-01-11 10:34  strk
+
+	* Unleash SQL/MM WKT returned by ST_AsText (#287)
+
+2012-01-11 08:36  strk
+
+	* Use $(MAKE) to invoke whatever make was used by builder
+
+2012-01-11 08:26  strk
+
+	* Update HARD UPGRADE section, mention --with-topology
+
+2012-01-11 02:27  pramsey
+
+	* Try an older bash syntax for robe?
+
+2012-01-10 23:22  pramsey
+
+	* Add ST_LocateAlong support for multipoints too (completeness)
+
+2012-01-10 23:14  pramsey
+
+	* Bind ST_LocateAlong() to the new LRS function that supports
+	  offsets.
+
+2012-01-10 23:04  pramsey
+
+	* svn:ignore properties
+
+2012-01-10 23:04  pramsey
+
+	* Spacing, yes
+
+2012-01-10 22:20  robe
+
+	* #1444 fix typo in command (should be command not comand)
+
+2012-01-10 21:51  pramsey
+
+	* Bring the extensions into the autoconf environment
+
+2012-01-10 19:36  dustymugs
+
+	* Fixed incorrect call to rt_raster_geopoint_to_cell in
+	  rt_band_load_offline_data and added additional debug messages
+
+2012-01-10 18:45  dustymugs
+
+	* Fixed incorrect use of rt_band_destroy when loading offline band
+	  data. ALso added rules to raster_columns and raster_overviews to
+	  gracefully handle insert/update/delete.
+
+2012-01-10 18:18  dustymugs
+
+	* Fixed double free of memory when using out-of-database bands
+
+2012-01-10 18:12  strk
+
+	* Add rules on geometry_columns view to tolerate
+	  insert/update/delete
+	  
+	  Fixes OGR, see #1426. Raises no warning on operation (it should).
+	  This commit includes changes in postgis_proc_upgrade.pl to retain
+	  rules.
+
+2012-01-10 14:58  strk
+
+	* Reflect type of empty from ST_Dimension (#1441)
+	  
+	  No existing testcase fail, no new testcase is added.
+	  This change doesn't invalidate any part of the reference manual.
+	  Reference manual isn't updated.
+	  
+	  Signed-off-by: Charlie Brown
+
+2012-01-10 13:17  strk
+
+	* Use a standard lwcollection_allows_subtype function to guard
+	  against bad input.
+	  
+	  Fixes #698 (and #1445 in a better way)
+
+2012-01-10 12:28  mcayland
+
+	* If the database settings are incorrect when attempting an import,
+	  display the connection settings
+	  dialog.
+	  
+	  Also a minor bugfix: if the dialog is cancelled by closing the
+	  window, ensure that any unset
+	  fields are reset back to blank.
+
+2012-01-10 12:28  mcayland
+
+	* Switch shp2pgsql-gui to COPY mode by default for increased speed;
+	  the user doesn't really care
+	  what form the output takes when it's being loaded into the
+	  database directly rather than via
+	  a file.
+
+2012-01-10 12:28  mcayland
+
+	* Raise an error within shp2pgsql-gui if the user clicks "Import"
+	  without having added any files to the list.
+
+2012-01-10 12:28  mcayland
+
+	* Alter shp2pgsql-gui so that we use one connection per file; this
+	  makes tracking error state
+	  on the server considerably easier, since upon abort we just
+	  disconnect from the server rather
+	  than trying to figure out what state we are in and handle it
+	  appropriately.
+
+2012-01-10 11:36  strk
+
+	* Check type of elements added to multi geometries. Fixes #1445.
+	  
+	  Includes regress testing both at the liblwgeom and postgis
+	  levels.
+
+2012-01-10 10:06  strk
+
+	* Add "M" type modifiers on elements of GEOMETRYCOLLECTION
+	  
+	  Reflects specs in doc/ZMgeoms.txt and satisfies the parser.
+	  Closes ticket #724.
+
+2012-01-10 08:32  strk
+
+	* Other generated files
+
+2012-01-10 08:28  strk
+
+	* Ignore new generated files
+
+2012-01-10 08:26  strk
+
+	* Add images-clean rule and perform the cleanup on maintainer-clean
+
+2012-01-10 07:25  robe
+
+	* put in missing title tag
+
+2012-01-10 07:12  robe
+
+	* put in missing end paragraph end tag
+
+2012-01-10 07:03  robe
+
+	* fix typo
+
+2012-01-10 06:53  robe
+
+	* #1442: Add sections on installing, upgrading and loading data
+	  into tiger geocoder. Got at least 2 people who seem confused
+	  about how to upgrade their tiger installs and assume it follows
+	  the same steps as the rest of PostGIS.
+
+2012-01-09 22:43  dustymugs
+
+	* Added column "out_db" to raster_columns. "out_db" is of type
+	  boolean[] with each element indicating if that band of same index
+	  is out-of-database. Updated relevant AddRasterConstraints and
+	  DropRasterConstraints functions. Related ticket is #1440.
+
+2012-01-09 20:17  robe
+
+	* put in svn Author Date Id Revision keywords
+
+2012-01-09 20:08  dustymugs
+
+	* Make the data of externally-loaded band internally owned so a
+	  call to rt_band_destroy() properly frees the memory.
+
+2012-01-09 19:48  dustymugs
+
+	* Add read-only support for band data located outside the database
+	  in raster files. All "get" and analysis functions should work for
+	  out of database bands. Related ticket is #1440. Also added a test
+	  raster file for use by an out of db band and future use for
+	  raster2pgsql loader regression tests.
+
+2012-01-09 19:05  dustymugs
+
+	* Removed garbage whitespace.
+
+2012-01-09 19:02  dustymugs
+
+	* Added conditional check to ST_Intersects(raster, int, raster,
+	  int) to deal with STRICT being set on _st_intersects(raster, int,
+	  raster, int). Fixes regression caused in r8714.
+
+2012-01-09 18:50  pramsey
+
+	* Remove whitespace
+
+2012-01-09 18:27  pramsey
+
+	* Interim progress on LRS work.
+
+2012-01-09 18:01  strk
+
+	* Change lwgeom_is_empty to return spatial emptiness (#671)
+
+2012-01-09 17:55  mcayland
+
+	* Allow manual resizing of the filename column within shp2pgsql-gui
+	  if required, as per request from Regina.
+
+2012-01-09 17:27  strk
+
+	* Further cleanup of ST_CollectionExtract documentation
+
+2012-01-09 17:10  strk
+
+	* Document new ST_CollectionExtract behavior
+
+2012-01-09 17:01  strk
+
+	* Switch back ST_CollectionExtract to return EMPTY rather than NULL
+	  on no matches (#835)
+	  
+	  This behavior seems closer to the one requested in original #457
+	  testcase, and is still consistent. Is also closer to
+	  documentation.
+
+2012-01-09 17:01  strk
+
+	* Add lwgeom_construct_empty API call
+
+2012-01-09 17:01  strk
+
+	* Implement lwcompound_construct_empty
+
+2012-01-09 16:20  strk
+
+	* Alwas return NULL on type miss from ST_CollectionExtract (#835)
+
+2012-01-09 16:20  strk
+
+	* Return typed empties from lwcollection_extract
+
+2012-01-09 15:27  strk
+
+	* Distribute comments in tarball. Stop distributing pdf or html
+	  (#626)
+
+2012-01-09 15:03  strk
+
+	* Fix compiler warnings
+
+2012-01-09 15:01  dustymugs
+
+	* Make _ST_Intersects(raster, raster) STRICT as per comments in
+	  #1412.
+
+2012-01-09 14:56  robe
+
+	* #1392: Can't geocode intersecting highways or areas where no zip
+	  available
+
+2012-01-09 13:36  strk
+
+	* Build the libtool wrapper script version of raster2pgsql
+
+2012-01-09 12:48  robe
+
+	* Add Maria Arias de Reyna to credits
+
+2012-01-09 11:01  strk
+
+	* Update Java components to support SRID<=0 as unknown SRID (#1221)
+	  
+	  This is first patch by Maria Arias de Reyna taking on
+	  maintainance
+	  of the Java components. It includes tweaks in README file and
+	  a new maven based build system. It also includes some indenting
+	  changes.
+
+2012-01-09 10:34  strk
+
+	* Fix memory leak in shapefile loader (#1436)
+
+2012-01-09 07:52  robe
+
+	* fix typo in extension version
+
+2012-01-08 23:32  mcayland
+
+	* Commit reworked version of shp2pgsql-gui to the repository.
+	  
+	  As per my email to postgis-devel, this commit contains a major
+	  reworking
+	  of the inner core, with many bugfixes. The primary changes are:
+	  
+	  - Elimination of FILENODE, since we can just use pointers to
+	  SHPLOADERCONFIG
+	  
+	  - Abstract the configuration structures from the GUI interface
+	  
+	  - Restrict entry to either drag/drop or file chooser
+	  
+	  - Instead of constantly destroying/creating new dialogs, create
+	  them once and then just show/hide them (in particular this
+	  enables the file chooser to open at its previous directory)
+	  
+	  - Add separate connection details and progress bar dialogs
+	  
+	  - Rework both internals and GUI in preparation for adding dumper
+	  support
+	  
+	  Note that the dumper integration changes are being worked on
+	  separately
+	  and will be included in a later commit.
+
+2012-01-08 19:15  robe
+
+	* Fix typo in manual and more description about schema.
+	  Evidentially some people do try to read the manual and make sense
+	  of it as demonstrated here:
+	  http://gis.stackexchange.com/questions/18254/loading-a-raster-into-a-postgis-2-0-database-on-windows
+
+2012-01-08 16:28  dustymugs
+
+	* Code cleanup related to registering and deregistering GDAL
+	  drivers
+
+2012-01-08 07:57  robe
+
+	* lots of corrections, also add integer[] arg recognition
+
+2012-01-08 07:29  robe
+
+	* more cleanup -- issue with raster / raster functions and output
+	  convexhull instead of raster when result type is raster or
+	  geometry
+
+2012-01-08 06:49  robe
+
+	* revise to recognize array of raster arguments
+
+2012-01-08 06:26  robe
+
+	* get rid of dropraster addrastercolumn and replace with create
+	  table, apply constraints. Still a lot of cleanup to go
+
+2012-01-07 19:28  robe
+
+	* #1435: fix function proto typo of TopoGeo_AddPoint in docs
+
+2012-01-07 19:24  robe
+
+	* fix typo in version number
+
+2012-01-07 19:04  robe
+
+	* change alpha1 to a14. It appears we won't be releasing an alpha1
+	  this weekend bah.
+
+2012-01-07 19:02  robe
+
+	* update instructions to reflect changes that need to be made to
+	  extensions before tagged release. Hopefully we can automate this
+	  part in the future -- but have no clue how.
+
+2012-01-07 15:24  dustymugs
+
+	* Have rt_raster_from_gdal_dataset attempt to determine the SRID of
+	  the raster using OSR.
+
+2012-01-07 14:05  dustymugs
+
+	* Additional tweaks for the NODATA values constraint. Continues
+	  changes made in r8691.
+
+2012-01-07 00:55  robe
+
+	* bump version to alpha1 in preparation for alpha1 shuttle launch
+
+2012-01-07 00:47  pramsey
+
+	* Move geojson test into geojson.sql file
+
+2012-01-07 00:42  dustymugs
+
+	* Fixed handling of NODATA value constraint as band with no NODATA
+	  was being constrained with the value of zero.
+
+2012-01-07 00:29  pramsey
+
+	* ST_GeomFromGeoJSON - Malformed GeoJSON causes SIGSEGV in postgres
+	  process (#1434)
+
+2012-01-06 21:39  pramsey
+
+	* Move offset curve generation into liblwgeom with other geos
+	  functionality
+
+2012-01-06 17:35  robe
+
+	* fix tag typo
+
+2012-01-06 16:29  robe
+
+	* example of AddRasterConstraint that takes listing of constraints
+	  to apply
+
+2012-01-06 15:35  robe
+
+	* Accidentally took out ST_WKTToSQL during #1443. ST_WKTToSQL is
+	  documented SQL/MM alias (extension didn't install as a result
+	  since the documentation comment installation failed)
+
+2012-01-05 22:10  pramsey
+
+	* Add files to svn:ignore
+
+2012-01-05 21:18  dustymugs
+
+	* Added shortcut mechanism for copying data in
+	  rt_raster_from_gdal_dataset() when the natural block width is the
+	  raster width. Enhanced testing in testapi.c.
+
+2012-01-05 20:52  dustymugs
+
+	* Syntax cleanup as part of memory bugs audit. Related to ticket
+	  #1432. This should be the last of it for now.
+
+2012-01-05 20:31  robe
+
+	* #1433: Part 2 - merge what is left of sqlmm.sql.in.c into
+	  postgis.sql.in.c
+
+2012-01-05 20:13  dustymugs
+
+	* Additional regression tests for ST_AsGDALRaster, ST_GDALDrivers,
+	  ST_AsRaster, ST_Resample, ST_Metadata. Syntax cleanup in rt_pg.c
+	  and testwkb.c
+
+2012-01-05 19:56  robe
+
+	* #1433: part 1 -- get rid of SE functions
+
+2012-01-05 18:59  dustymugs
+
+	* Memory bug fixes and additional regression tests for
+	  ST_SummaryStats, ST_Histogram, ST_ValueCount, ST_Reclass and
+	  ST_Quantile. Ticket is #1432.
+
+2012-01-05 16:10  strk
+
+	* Switch memory context back before returning in
+	  RASTER_bandmetadata
+	  
+	  Fixes second case in #1432
+
+2012-01-05 08:15  strk
+
+	* It takes GEOS-3.3.2 for a sane topology (noding fixes in there)
+
+2012-01-05 07:59  robe
+
+	* #1430: create topology_drop_before and topology_drop_after to
+	  allow changing names of input args and allow changing functions
+	  to use default args
+
+2012-01-05 07:51  robe
+
+	* svn tags
+
+2012-01-04 22:30  strk
+
+	* Fix deallocation of terminating NULL in RASTER_asGDALRaster
+	  (#1432)
+
+2012-01-04 21:38  strk
+
+	* Work around a PostgreSQL 8.4+ bug with CREATE INTO (#1431)
+
+2012-01-04 20:50  strk
+
+	* Document topology.toTopoGeometry (#1017)
+
+2012-01-04 18:33  strk
+
+	* Complete implementation and regress test for toTopoGeom (#1017)
+	  
+	  You can start playing with this. Lacks documentation.
+	  Expect troubles. Feel free to report them.
+
+2012-01-04 18:17  strk
+
+	* Implement TopoGeometry->Geometry converter for COLLECTION types
+
+2012-01-04 17:58  pramsey
+
+	* Don't allow --with-topology when GEOS version < 3.3
+
+2012-01-04 02:07  pramsey
+
+	* Try to make json-c detection slightly more automatic.
+
+2012-01-03 23:52  pramsey
+
+	* Change to GNU macro NAN. Still not feeling The Confidence.
+
+2012-01-03 23:42  pramsey
+
+	* Make numerical stability fix actually be present
+
+2012-01-03 23:28  pramsey
+
+	* Hm, nan() function?
+
+2012-01-03 23:24  strk
+
+	* Document TopoGeo_AddPolygon
+
+2012-01-03 23:17  strk
+
+	* Implement and regress-test TopoGeo_addPolygon
+
+2012-01-03 22:07  pramsey
+
+	* Make ST_Azimuth(p1, p1) return NULL and make ST_Project(p1, 0,
+	  NULL) return p1.
+
+2012-01-03 21:30  strk
+
+	* ST_Split was implemented - a lot more to remove from TODO
+
+2012-01-03 20:55  strk
+
+	* Change parameter names to use the "athing" convention. See #1427
+
+2012-01-03 20:48  strk
+
+	* Fix typo in exception message, change signature of
+	  TopoGeo_addPolygon
+
+2012-01-03 20:31  pramsey
+
+	* Reorganize SQL definitions a bit: type creation at the start,
+	  indexes and operators after, then other stuff. Probably further
+	  ordering would be C-stuff before PL/PgSQL stuff.
+
+2012-01-03 20:24  strk
+
+	* Test invalid calls to topogeo_addpoint
+
+2012-01-03 20:04  strk
+
+	* Document TopoGeo_addLineString
+
+2012-01-03 19:21  pramsey
+
+	* Change units to radians and add some tests (#657 and #1305)
+
+2012-01-03 18:41  strk
+
+	* Implement and regress-test TopoGeo_AddLineString
+
+2012-01-03 18:34  dustymugs
+
+	* Removed DROP VIEW statements as per suggestion by robe in ticket
+	  #1422.
+
+2012-01-03 10:52  strk
+
+	* Document TopoGeo_addPoint
+
+2012-01-03 10:39  strk
+
+	* Add regression test for TopoGeo_AddPoint
+
+2012-01-03 10:10  strk
+
+	* Move TopoGeom_addXXX functions to populate.sql and refine
+	  signatures
+	  
+	  Implement TopoGeom_addPoint (misses regression testing yet)
+
+2012-01-03 09:49  strk
+
+	* Don't consider the old self edge when checking integrity
+	  
+	  Fixes a bug introduced by previous commit.
+
+2012-01-03 09:44  strk
+
+	* Don't consider shared nodes as edge intersections. Fixes #1428.
+
+2012-01-02 06:59  dustymugs
+
+	* Renamed legacy.sql.in.c to rtpostgis_legacy.sql.in.c to not
+	  conflict with postgis' legacy.sql. Associated ticket is #1422.
+
+2012-01-02 00:31  robe
+
+	* #722 more regress fixes for GeomFromText
+
+2012-01-02 00:25  robe
+
+	* #722: regress replace GeomFromText with ST_GeomFromText
+
+2012-01-01 23:42  robe
+
+	* #722: Good bye GeomFromWKB, GeomFromText
+
+2012-01-01 21:04  dustymugs
+
+	* Added legacy.sql which adds renamed and removed columns to
+	  raster_columns and raster_overviews. This will allow 3rd party
+	  software that hasn't been updated to the current structures of
+	  raster_columns and raster_overviews to still operate
+	  successfully.
+
+2012-01-01 15:58  robe
+
+	* #961: Change ST_GeoHash to use default args
+
+2012-01-01 15:41  robe
+
+	* update to include ST_Azimuth for geography -- still need example.
+	  Also provide example for using degrees
+
+2012-01-01 15:22  robe
+
+	* #961: ST_AsGeoJSON change to use default args
+
+2012-01-01 14:39  robe
+
+	* over dropped ST_AsKML protos
+
+2012-01-01 14:10  robe
+
+	* changed name of prec to maxdecimaldigits for ST_AsX3D to be
+	  consistent with other ST_As* functions, change ST_AsKML to use
+	  default args
+
+2012-01-01 13:28  robe
+
+	* fix incorrect arg name in ST_AsGML
+
+2012-01-01 13:24  robe
+
+	* #722: Remove all functions with ST_ equivalents from core
+	  postgis.sql. Good bye SetSRID
+
+2012-01-01 04:38  robe
+
+	* #1423: ST_AsGML regress fixes -- bah revert last change
+	  evidentally '' and NULL prefix do not mean the same thing.
+
+2012-01-01 03:41  robe
+
+	* #1423 revision -- put back the strict but set default prefix to
+	  '' AND NULLIF it in the function
+
+2012-01-01 03:28  robe
+
+	* #1423 -- fix for geography ST_AsGML - take off strictness if we
+	  allow null for prefix
+
+2012-01-01 03:27  robe
+
+	* #1423: ST_AsGML fix - Can't have strict on funcs that take
+	  default args where a default arg defaults to NULL. Really :)
+
+2012-01-01 02:57  robe
+
+	* forgot a ST_AsGML drop version,geometry version
+
+2012-01-01 01:40  dustymugs
+
+	* Added support for attempting to identify the EPSG from a raster's
+	  metadata if SRID is not provided with -s. If unable to get
+	  geotransform matrix from raster, use generic default of (0, 1, 0,
+	  0, 0, -1).
+	  
+	  Associated ticket is #1421
+
+2012-01-01 01:26  robe
+
+	* #961: Change ST_AsGML to use default args
+
+2011-12-31 09:47  strk
+
+	* Document new optional arguments to AddNode
+
+2011-12-31 09:47  strk
+
+	* topology.AddNode: add 2 additional optional arguments to allow
+	  splitting edges and computing containing_face
+
+2011-12-31 09:47  strk
+
+	* Add parameter names
+
+2011-12-31 09:47  strk
+
+	* Use DEBUG level for printing SQL being executed...
+
+2011-12-31 04:45  robe
+
+	* bump up release numbers
+
+2011-12-31 04:36  robe
+
+	* forgot altitude arg for hillshade
+
+2011-12-30 15:52  robe
+
+	* quickly change the options name arg to agree with ST_AsGML docs
+
+2011-12-30 15:43  robe
+
+	* #1415 -- beginning support for options -- expose the currently
+	  useless opts flag
+
+2011-12-30 13:23  pramsey
+
+	* Stub in ST_LocateAlong and ST_LocateBetween for implementation
+	  before 2.0
+
+2011-12-30 09:24  robe
+
+	* put in default values for ST_AsSVG geography
+
+2011-12-30 09:06  robe
+
+	* change ST_AsSVG(text) to explicilty list all args otherwise
+	  upgrade script fails -- since old signature exists causing
+	  ambiguous conflict during install.
+
+2011-12-30 08:48  robe
+
+	* change ST_AsSVG to use default args and support named args. Also
+	  correct misstatement in geography code as to the ordering of args
+	  thought that ordering makes more logical sense to me (it ain't
+	  the way it is)
+
+2011-12-29 21:00  pramsey
+
+	* Conditionally drop loader test tables (requires PostgreSQL >= 8.2
+	  to support IF EXISTS syntax)
+
+2011-12-29 20:32  pramsey
+
+	* Fix postgis_valid_typmod to use gserialized* as an input instead
+	  of lwgeom* to get past in/out memory management issues (#1413)
+
+2011-12-29 18:13  strk
+
+	* Retain type of TopoGeometry objects defined by NO element (#1017)
+	  
+	  Includes regression tests for conversion of typed empty objects
+	  from simple to topological model.
+
+2011-12-29 18:01  strk
+
+	* Consider TopoElements of type 0 as empty, allow CreateTopoGeom
+	  calls w/out a TopoElementArray to construct empties (#1017)
+
+2011-12-29 11:18  strk
+
+	* Test more TopoGeometry creation
+
+2011-12-29 10:52  strk
+
+	* CreateTopoGeom: tweak error message on out-of-range TopoGeometry
+	  type
+
+2011-12-29 10:44  strk
+
+	* Complete parameter names
+
+2011-12-29 07:40  strk
+
+	* Typos and argument names
+
+2011-12-29 07:39  strk
+
+	* Honour verbosity for database initialization errors
+
+2011-12-29 07:04  strk
+
+	* Tabs to spaces, a few TODO items...
+
+2011-12-29 07:04  strk
+
+	* Put overridden (for topology) spatial predicates in their own
+	  file
+
+2011-12-29 06:48  strk
+
+	* topology.toTopoGeom: add type compatibility checks (#1017)
+
+2011-12-29 06:05  strk
+
+	* Add geometry parameter names to functions
+
+2011-12-28 16:51  dustymugs
+
+	* Removed STRICT from various ST_Intersects functions and changed
+	  the costs of calling ST_Intersects to 1000. Related ticket is
+	  #1410.
+
+2011-12-28 15:45  dustymugs
+
+	* Force initialization of output GDAL raster from
+	  rt_raster_gdal_warp to band's NODATA value. Also, spelling
+	  correction.
+
+2011-12-28 14:07  robe
+
+	* I have difficulty with simple math
+
+2011-12-28 13:59  robe
+
+	* more description of over view
+
+2011-12-28 11:01  strk
+
+	* Drop spurious white spaces. Should fix #1409. Thanks Peter Clark.
+
+2011-12-28 02:19  dustymugs
+
+	* Correct output of INSERT statements for overviews in
+	  raster2pgsql.c. Associated ticket is #1404. Aslo minor code
+	  formatting and additional code checks in rtpostgis.sql.in.c
+
+2011-12-27 16:37  robe
+
+	* oops missing tag -- removed other copy paste mistakes
+
+2011-12-27 16:33  robe
+
+	* document ST_HillShade (still need to put in examples)
+
+2011-12-27 15:31  robe
+
+	* norm is right - powers of 2 are better especially since my file
+	  tiles are in powers of 2 so don't get scrap tiles
+
+2011-12-27 06:32  robe
+
+	* link to npgsql download site.
+
+2011-12-27 06:27  robe
+
+	* fix typo and provide link to java jdbc download site
+
+2011-12-27 06:04  robe
+
+	* link to raster applications section that demonstrates how to use
+	  these functions in an application
+
+2011-12-27 06:01  robe
+
+	* replace java example with a simpler more useful one
+
+2011-12-27 05:29  robe
+
+	* provide a java console app example
+
+2011-12-26 22:22  robe
+
+	* more description
+
+2011-12-26 22:10  robe
+
+	* c# example using ST_AsPNG
+
+2011-12-26 20:31  robe
+
+	* more cleanup
+
+2011-12-26 20:24  robe
+
+	* use docbook paragraph tags
+
+2011-12-26 20:21  robe
+
+	* some other minor cleanup
+
+2011-12-26 20:20  robe
+
+	* wrap php code in cdata tags
+
+2011-12-26 20:10  robe
+
+	* Add php example using postgis raster
+
+2011-12-26 17:43  robe
+
+	* correct comment
+
+2011-12-26 17:38  robe
+
+	* minor formatting cleanup
+
+2011-12-26 17:37  robe
+
+	* fix typo in image names
+
+2011-12-26 11:04  robe
+
+	* example of resample
+
+2011-12-26 10:31  robe
+
+	* fix typo in cast check expression. Should be checking for box3d
+	  existence not box2d
+
+2011-12-26 09:32  robe
+
+	* bump up version numbers
+
+2011-12-25 10:56  strk
+
+	* Stub toTopoGeom function and testcase (#1017)
+
+2011-12-25 10:56  strk
+
+	* Add missing dependencies of topology.sql (includes)
+
+2011-12-24 22:27  robe
+
+	* another minor typo
+
+2011-12-24 22:10  robe
+
+	* fix typo in column numbers
+
+2011-12-24 21:39  robe
+
+	* minor formatting change
+
+2011-12-24 21:07  robe
+
+	* fix formatting of ST_Transform example and add another sub
+	  example demonstrating using different algorithm
+
+2011-12-24 20:18  robe
+
+	* example for raster transform
+
+2011-12-24 18:40  robe
+
+	* change docs to use unix style slashes which work correctly on
+	  both Unix and windows.
+
+2011-12-24 16:42  dustymugs
+
+	* If generating overviews and -F is set, overview tables will have
+	  "filename" column.
+
+2011-12-24 15:52  dustymugs
+
+	* Testing the wrong variable when checking if two rasters is
+	  different.
+
+2011-12-24 11:41  strk
+
+	* Encode dependency of objects and scripts on configuration
+
+2011-12-24 11:22  strk
+
+	* Ignore generated uninstall_rtpostgis.sql
+
+2011-12-24 11:22  strk
+
+	* Drop created tables after run
+
+2011-12-24 11:22  strk
+
+	* Cleanup created tables after run
+
+2011-12-24 11:21  strk
+
+	* drop created table after run
+
+2011-12-24 11:21  strk
+
+	* Add support for dropping DOMAINs in create_undef.pl (#1407)
+
+2011-12-24 11:21  strk
+
+	* Enable uninstall_topology.sql testing
+
+2011-12-24 11:21  strk
+
+	* Allow fully-qualified basetype name for aggregates
+
+2011-12-24 11:21  strk
+
+	* Drop tables in reverse order, reducing probability of fkey
+	  troubles
+
+2011-12-24 10:42  strk
+
+	* run_test doesn't need USE_VERSION anymore
+
+2011-12-24 10:42  strk
+
+	* Generate uninstall_topology.sql
+
+2011-12-24 10:34  strk
+
+	* Stop using USE_VERSION, assume pgsql is always > 7.4.
+	  
+	  Hopefully fixes #819
+
+2011-12-24 10:34  strk
+
+	* Add support for objects schema definition in create_undef.pl
+
+2011-12-24 09:59  strk
+
+	* Drop created function after run
+
+2011-12-24 09:59  strk
+
+	* Ensure mapalgebra test functions are dropped
+
+2011-12-24 09:59  strk
+
+	* Don't load rt_utility_test data creator as test
+
+2011-12-24 09:58  strk
+
+	* Add rt_empty_raster dropper script
+
+2011-12-24 09:58  strk
+
+	* Add rt_properties_test dropper script
+
+2011-12-24 09:58  strk
+
+	* Move single-test data tables within the testfiles, cleanup after
+	  run
+
+2011-12-24 09:58  strk
+
+	* Cleanup after run
+
+2011-12-24 09:58  strk
+
+	* Add a drop_rt_band_properties_test script for cleanup purposes
+
+2011-12-24 09:58  strk
+
+	* cleanup data tables
+
+2011-12-24 09:58  strk
+
+	* Add a drop_rt_gist_test.sql file for cleanup purposes (#301)
+
+2011-12-24 09:58  strk
+
+	* Cleanup created objects
+
+2011-12-24 09:57  strk
+
+	* Avoid function calls in DEFAULT specifications for unknown SRID
+	  
+	  Matches what postgis.sql does as well.
+	  Fixes generation of uninstall script for raster (#301)
+
+2011-12-24 09:57  strk
+
+	* Enhance DEFAULT specification stripper
+
+2011-12-24 09:57  strk
+
+	* Run uninstall test for raster, when enabled
+
+2011-12-24 09:56  strk
+
+	* Generate uninstall_rtpostgis.sql (#301)
+
+2011-12-24 02:51  dustymugs
+
+	* Additional work to remove DROP FUNCTION statements depending upon
+	  prior DROP TYPE ... CASCADE statements that generate ERRORs
+
+2011-12-24 01:14  dustymugs
+
+	* Instead of using spatial reference text in WKT format, use PROJ.4
+	  format when possible. This does mean that in situations that
+	  require WKT format, rt_raster_gdal_sr must be called to convert
+	  from one format to the other.
+
+2011-12-24 01:08  dustymugs
+
+	* Fix issue with RASTER_sameAlignment where the deserializing of
+	  the raster is not being limited to just the header.
+
+2011-12-23 17:33  strk
+
+	* support multiline function signatures at the parsing stage too...
+
+2011-12-23 17:30  strk
+
+	* Add support for multiline function signatures
+
+2011-12-23 17:01  dustymugs
+
+	* Overview constraints should always be added regardless of whether
+	  or not the user requests raster constraints.
+
+2011-12-23 16:49  strk
+
+	* Write header in the files generated by create_undef.pl
+	  
+	  Header includes license, creation timestamp and input filename
+
+2011-12-23 16:49  strk
+
+	* Simplify uninstall_postgis.sql rule, drop the manual edited
+	  version
+
+2011-12-23 16:39  dustymugs
+
+	* Fixed erroneous addition of filename to overviews when the flags
+	  -l -F -Y are combined.
+
+2011-12-23 16:22  dustymugs
+
+	* Fixed for better path handling
+
+2011-12-23 16:18  robe
+
+	* put in sections for postgis extensions. Probably will need some
+	  cleanup.
+
+2011-12-23 16:14  strk
+
+	* Ignore generated comment files
+
+2011-12-23 16:14  strk
+
+	* Ignore generated raster files
+
+2011-12-23 16:14  strk
+
+	* Let create_undef.pl generate uninstall_postgis.sql
+
+2011-12-23 16:14  strk
+
+	* Cleanup after loader test runs, fixing uninstall testing
+
+2011-12-23 16:14  strk
+
+	* Drop objects created by the tests
+
+2011-12-23 16:14  strk
+
+	* Fix create_undef.pl script to generate correct uninstall script
+
+2011-12-23 16:04  dustymugs
+
+	* Added uninstall_script to facilitate generation of
+	  uninstall_postgis.sql and uninstall_rtpostgis.sql. It could still
+	  use additional validation and cleaning up of the output uninstall
+	  sql files.
+
+2011-12-23 13:20  robe
+
+	* minor code change to make example a bit shorter
+
+2011-12-23 13:06  robe
+
+	* fix some erroneous statements about ST_Clip and provide example
+	  demonstrating trimraster argument effect
+
+2011-12-23 08:53  robe
+
+	* fix unbalanced tag
+
+2011-12-23 08:38  robe
+
+	* some cosmetic cleanup
+
+2011-12-23 08:35  robe
+
+	* example of st_clip with pictures
+
+2011-12-23 07:58  robe
+
+	* start documenting ST_Clip
+
+2011-12-22 19:09  robe
+
+	* fill in missing protos for droprasterconstraints /
+	  addrasterconstraints
+
+2011-12-22 13:24  robe
+
+	* make title a little shorter
+
+2011-12-22 13:23  robe
+
+	* changing titles -- raster data man I'm eventually going to throw
+	  in mapserver, .net, jdbc examples cause I'm too lazy to create a
+	  separate chapter. The postgis app section is really specific to
+	  postgis geometry since it doesn't talk about raster or geography
+	  at all.
+
+2011-12-22 13:18  robe
+
+	* minor error in statement
+
+2011-12-22 11:20  strk
+
+	* Drop operator families, not classes (#543)
+
+2011-12-22 11:20  strk
+
+	* Encode dependency of uninstall_postgis.sql on included files
+
+2011-12-22 11:20  strk
+
+	* Add more uninstall objects found by uninstall test (#1397)
+
+2011-12-22 11:19  strk
+
+	* Count objects in the _regress_ database, not elsewhere (#1397)
+
+2011-12-22 10:21  strk
+
+	* Fix testing of uninstall script count [#1397]
+	  
+	  This commit also adds new utility functions and skips testing
+	  uninstall when raster or topology are enabled.
+
+2011-12-22 10:21  strk
+
+	* Fix uninstall script [#1153]
+
+2011-12-22 10:21  strk
+
+	* Deprecate Polygonize and Collect aggregates [#1400]
+
+2011-12-22 10:21  strk
+
+	* Encode dependency of postgis.sql from included scripts
+
+2011-12-22 10:21  strk
+
+	* Encode dependency of postgis objects on postgis_config.h
+	  
+	  Fixes ./configure && make check after switching between different
+	  PostgreSQL versions.
+
+2011-12-22 10:21  strk
+
+	* Add testing for uninstall_postgis.sql [#1397]
+	  
+	  The uninstall currently fails due to #1153
+
+2011-12-22 08:23  strk
+
+	* Don't depend on bytea representation for unrelated tests.
+	  
+	  Fix testing against PostgreSQL 9.0+.
+
+2011-12-22 08:01  strk
+
+	* Replace INFINITY with MAXFLOAT. Should fix Solaris build [#1396]
+	  
+	  I don't think it makes a difference as those functions are not
+	  documented about the exceptional return, and no regression test
+	  fails with the change.
+
+2011-12-22 05:48  pramsey
+
+	* Move SPI_finish to after elog calls. This seems to fix the
+	  regression failure in 877, though why is not clear. Is SPI_finish
+	  removing a memory context that palloc has allocated things
+	  inside? This would explain the odd result (tbl and col variables
+	  get emptied upon call to SPI_finish).
+
+2011-12-21 21:49  robe
+
+	* change ST_Reclass example to use less verbose ST_AddBand array
+	  syntax
+
+2011-12-21 19:07  pramsey
+
+	* ST_Azimuth on the spheroid (#1305)
+
+2011-12-21 18:42  pramsey
+
+	* Add ST_Project(geography, distance, azimuth) (#657) to construct
+	  a new point given a heading and a distance.
+
+2011-12-21 17:16  robe
+
+	* fix typo
+
+2011-12-21 17:15  strk
+
+	* Add missing options in the help string
+
+2011-12-21 17:09  strk
+
+	* Put staged postgis.sql with other staged intsall objects
+
+2011-12-21 16:17  strk
+
+	* Document the new -s from:to syntax of shp2pgsql [#994]
+
+2011-12-21 14:53  strk
+
+	* Add include for lwgeom_typmod_valid define
+
+2011-12-21 14:50  strk
+
+	* Add top-level and postgis/ dirs in include path for building
+	  scripts
+	  
+	  Fixes an error finding sqldefines.h
+
+2011-12-21 14:37  strk
+
+	* Use own implementation of endian detection, should fix #1172
+
+2011-12-21 14:16  strk
+
+	* Fix repeated modifier
+
+2011-12-21 14:03  strk
+
+	* Put PostgreSQL module related code in a new postgis_module.c file
+	  
+	  Beside the existing MODULE_MAGIC macro we now also have
+	  _PG_init and _PG_fini which are called at module load and unload.
+	  Such functions may be used to deal with GUC (and sample code for
+	  that is stubbed already). See #1393.
+
+2011-12-21 13:59  robe
+
+	* #1257 - drop mem_size
+
+2011-12-21 13:14  robe
+
+	* #1345 write this off as an observed regression difference and
+	  document the behavior for those like me who will be adversely
+	  impacted and confused by application breakage.
+
+2011-12-21 13:03  robe
+
+	* #1242 write this off as a documentation bug. I don't have 1.5.1
+	  anymore to confirm ST_Line_Locate_Point ever worked with
+	  multilinestrings and doesn't work on my 1.5.3 install
+
+2011-12-20 19:35  strk
+
+	* Convert java components to SRID<=0 being unknown and 0 being the
+	  official one [#1221]
+	  
+	  NOTE: this is untested, as "make" didn't know what to do and so
+	  neither do I
+
+2011-12-20 18:51  strk
+
+	* Different types _can_ be equal, see #756
+
+2011-12-20 16:56  robe
+
+	* link to windows supplementary hard upgrade instructions
+
+2011-12-20 16:01  strk
+
+	* Add comments in current version, including topo and raster
+	  [#1390]
+
+2011-12-20 15:43  strk
+
+	* Add comments from pgis-1.4 [#1390]
+	  
+	  Also handle pg_restore errors more cleanly
+
+2011-12-20 15:18  strk
+
+	* Add more objects from a 1.5 install, including comments [#1390]
+
+2011-12-20 03:28  dustymugs
+
+	* Finished support for make target "uninstall".
+
+2011-12-20 02:58  dustymugs
+
+	* Correct handling of make target "distclean". Next is "uninstall".
+
+2011-12-19 19:21  strk
+
+	* Update loader tests to use the new reprojection switch [#994]
+
+2011-12-19 19:06  strk
+
+	* Drop -r switch, allow requesting reprojection with -s [#994]
+
+2011-12-19 16:19  strk
+
+	* Make sure input is at least 3 characters long (#1146)
+
+2011-12-19 16:19  strk
+
+	* Report testing of pg-8.4.9/pgis-2.0.0SVN =>
+	  pg-9.1.2/pgis-2.0.0SVN
+
+2011-12-19 12:27  strk
+
+	* Document postgis_restore.pl based HARD UPGRADE procedure
+	  
+	  Reviews are welcome.
+	  The new description replaces the old one so the brute force noisy
+	  process
+	  is now undocumented. If really needed it may come back in a
+	  subsection.
+
+2011-12-19 09:07  strk
+
+	* Allow keeping rows in spatial_ref_sys at postgis_restore.pl time
+	  
+	  After this commit the entries found in spatial_ref_sys at time
+	  of restore are retained w/out triggering ERROR lines in logfile
+	  or transaction aborts. Entries in dump with SRID not found in
+	  existing spatial_ref_sys are inserted.
+
+2011-12-19 08:18  strk
+
+	* Fix SRIDs in topology.topology after restore.
+
+2011-12-19 06:33  robe
+
+	* bump up numbers. logic to drop raster casts from extension if
+	  they are present and script asks to drop.
+
+2011-12-19 05:00  robe
+
+	* get rid of superfluous drop if exists _drop_st_samealignment
+
+2011-12-19 04:56  dustymugs
+
+	* Fixed to suppress PL/pgSQL notices causing issues due to line #
+	  output. Added order by to check_raster_overviews to ensure
+	  consistent output.
+
+2011-12-19 04:48  robe
+
+	* revise upgrade script to take into consideration change in casts
+
+2011-12-19 04:12  robe
+
+	* replace box2d with box3d in examples and remaining func
+
+2011-12-19 03:44  robe
+
+	* Clarify topology topoelement example that it is an example of
+	  WHAT NOT TO DO
+
+2011-12-19 03:37  robe
+
+	* replace references to box2d with box3d
+
+2011-12-19 02:18  robe
+
+	* get rid of remove ST_Intersection signatures and replace with new
+	  ones. Add the raster outputting intersection signatures. Still
+	  need to put in examples.
+
+2011-12-19 01:59  robe
+
+	* update faq for raster to bring it more up to line with new
+	  loading , QGIS support etc., remove box2d and replace with box3d,
+	  minor rewording -- people who don't know GDAL don't know what a
+	  GDAL raster is. Took that word out when describing -G since it
+	  confuses rather than adding value.
+
+2011-12-19 01:53  dustymugs
+
+	* Refactored and cleaned up the regressions checks of values in
+	  raster_columns and raster_overviews views.
+
+2011-12-18 23:02  strk
+
+	* Document darkblue test: pg-9.1b3/pgis-1.5 to
+	  pg-9.1.1/pgis-2.0.0SVN
+
+2011-12-18 22:42  strk
+
+	* Do not expect things to happen in "userland" schema (what is it?)
+
+2011-12-18 18:49  robe
+
+	* put in missing tag
+
+2011-12-18 18:05  robe
+
+	* add in some missing raster2pgsql switches and provide an example
+	  of the -G list drivers option.
+
+2011-12-18 14:24  strk
+
+	* Update after typo fix for AddGeometryColumn error message
+
+2011-12-18 14:22  strk
+
+	* Fix st_extent on empty relation (#1385)
+
+2011-12-17 21:00  strk
+
+	* AddGeometryColumns => AddGeometryColumn
+
+2011-12-17 01:50  robe
+
+	* fix typo
+
+2011-12-16 22:07  dustymugs
+
+	* Minor comment cleanup in rtpostgis.sql.in.c. Added regression
+	  tests for AddRasterConstraints, AddOverviewConstraints,
+	  DropRasterConstraints and DropOverviewConstraints.
+
+2011-12-16 17:20  strk
+
+	* Do restore spatial_ref_sys from dump, temporarly disabling srid
+	  check
+	  
+	  Assuming you don't source spatial_ref_sys.sql prior to run
+	  postgis_restore.pl you would always end up with all your data
+	  in the table and if no SRIDS are out of the valid range you'd
+	  also have the constraint in place.
+
+2011-12-16 16:39  strk
+
+	* Add more signatures to skip on restore (raster)
+
+2011-12-16 15:16  strk
+
+	* Report full exception string on ST_Intersection failure (see
+	  #1173)
+
+2011-12-16 14:59  strk
+
+	* Add test for #1344 (can't dump invalid geometries)
+
+2011-12-16 04:34  robe
+
+	* fix more typos
+
+2011-12-16 04:27  robe
+
+	* more typo fix
+
+2011-12-16 04:24  robe
+
+	* fix more typos
+
+2011-12-16 04:21  robe
+
+	* flesh out creating rasters section a bit.
+
+2011-12-16 01:41  robe
+
+	* start best practices stuff and break up loading and creating into
+	  two separate sections.
+
+2011-12-16 01:25  robe
+
+	* cosmetic change to lists
+
+2011-12-16 01:11  dustymugs
+
+	* Addition of C-based ST_MinPossibleValue to replace the existing
+	  ST_MinPossibleVal which uses hard-coded values. Updated dependent
+	  functions and scripts/plpgsql to use new function. Deleted
+	  scripts/plpgsql/st_minpossibleval.sql to stop people from using
+	  it. Associated ticket is #1298.
+
+2011-12-16 00:09  dustymugs
+
+	* Just changes to the comments of ST_Intersection(geometry, raster)
+
+2011-12-15 23:47  dustymugs
+
+	* Addition of two-raster ST_Intersection function set in
+	  raster-space well as another set for raster,geometry
+	  ST_Intersection in raster-space. Associated ticket is #1381
+
+2011-12-15 23:43  dustymugs
+
+	* Renamed function parameters for ST_SameAlignment and
+	  ST_Intersects so that the names follow the convention used for
+	  similarly purposed parameters of other raster functions.
+
+2011-12-15 23:29  strk
+
+	* Allow calling geography_in with less than 3 args (see #1320)
+
+2011-12-15 23:26  strk
+
+	* Check typmod on geometry input. Fixes before triggers (#1320)
+
+2011-12-15 15:11  strk
+
+	* Fix documentation for the new option for GML box output
+
+2011-12-15 02:19  robe
+
+	* more error fixes and change ordered lists to itemized lists
+
+2011-12-15 02:17  robe
+
+	* fix invalid link end
+
+2011-12-15 02:15  robe
+
+	* get rid of extra tag
+
+2011-12-15 02:14  robe
+
+	* correct regular_blocking definition, add descriptions for
+	  raster_overview columns
+
+2011-12-15 01:56  robe
+
+	* more reasons why we have raster overviews
+
+2011-12-15 01:54  robe
+
+	* Start raster_overviews section
+
+2011-12-15 00:21  dustymugs
+
+	* Renamed st_bytea to bytea as per PostGIS convention. Existing
+	  databases will not be affected if upgraded using the upgrade
+	  scripts. Associated ticket is #1003
+
+2011-12-15 00:16  dustymugs
+
+	* Commented out the dropping of box2d casts as the upgrade scripts
+	  won't install the box3d casts.
+
+2011-12-14 23:51  dustymugs
+
+	* Renamed operator functions and made appropriate changes to
+	  associated operators to be inline with usage for geometry and
+	  geography. Associated ticket is #633. Existing users will not be
+	  affected as the upgrade scripts do not drop or add new operators.
+
+2011-12-14 23:02  dustymugs
+
+	* Added DROP CAST and DROP FUNCTION for box2d.
+
+2011-12-14 22:57  dustymugs
+
+	* Dropped casts to box2d and replaced with casts to box3d.
+	  Associated ticket is #1330.
+
+2011-12-14 22:23  dustymugs
+
+	* Added option -G to get listing of supported raster types instead
+	  of calling ST_GDALDrivers in SQL. Had to tweak
+	  rt_raster_gdal_drivers in rt_api.c to not limit drivers based
+	  upon creation capabilities. Associated ticket is #1374.
+	  Added ability to specify band indices with ranges for option -b.
+	  Example: -b 1-5,7,9-15. Associated ticket is #1375.
+	  Added warning messages when loader is processing more than one
+	  raster and rasters may have different number of bands, pixel
+	  types, hasnodata flags, NODATA values, geotransforms andtile
+	  sizes. Associated ticket is #153.
+
+2011-12-14 22:14  robe
+
+	* document raster_columns catalog view
+
+2011-12-14 18:33  strk
+
+	* Make dropping of log files fully controlled by switch (#1376)
+	  
+	  This is because hudson wants to report the regress.log in any
+	  case
+
+2011-12-14 18:25  strk
+
+	* Regress test all behaviors involving EMPTY geometries
+	  
+	  See http://trac.osgeo.org/postgis/wiki/DevWikiEmptyGeometry
+	  Changes ST_NumPoints and ST_ExteriorRing to behave requested.
+	  Keeps ST_InteriorRingN returning NULL, as per "n is out of range"
+	  
+	  Closes #692
+
+2011-12-14 18:24  strk
+
+	* Crossref ST_InteriorRingN with ST_ExteriorRing
+
+2011-12-14 17:13  strk
+
+	* Drop temporary files if there are no failures (#1376)
+
+2011-12-14 16:02  strk
+
+	* Fix crash on ST_AsGML('POLYGON EMPTY') (#681)
+	  
+	  Also tweak GML of empty types to be smaller and include
+	  regression testing both at the liblwgeom and sql level
+
+2011-12-14 15:07  strk
+
+	* Fix a typo from last commit, stub test for GML emptyness
+
+2011-12-14 14:46  strk
+
+	* Enable a test for an old bugfix (#683)
+
+2011-12-14 14:46  strk
+
+	* Move the EMPTY buffer test from tickets.sql to empty.sql
+
+2011-12-14 14:37  strk
+
+	* Return empty geoms snapped to a grid as immutated (#1089)
+	  
+	  Also introduces an "empty" regression test
+
+2011-12-14 14:25  robe
+
+	* minor corrections / enhancements
+
+2011-12-14 13:31  strk
+
+	* Drop topology specific versioning
+
+2011-12-14 13:31  strk
+
+	* Add more skip signatures, from interim builds
+
+2011-12-14 11:22  robe
+
+	* minor change to rtpostgis_drop so can more easily drop from
+	  extension for extension install. Many changes to extensions so
+	  can use native postgis upgarde and raster upgrade scripts. bump
+	  up version numbers
+
+2011-12-14 10:44  robe
+
+	* fix errors in documentation and comment scripts preveningt
+	  comments install from installing cleanly
+
+2011-12-14 10:06  robe
+
+	* Get rid of removed AddRasterTable,Column etc and replace with
+	  newer AddRasterConstraints/DropRasterConstraints
+
+2011-12-14 07:59  strk
+
+	* Add -v switch to postgis_restore.pl, tweak usage and debug output
+
+2011-12-14 02:54  robe
+
+	* Add stub section describing the raster_columns and
+	  raster_overview catalog views. Also fix typo. More coming.
+
+2011-12-14 02:31  dustymugs
+
+	* As per discussion in postgis-devel regarding Ubuntu 11.10,
+	  tweaked the order in which -lm is passed to LDFLAGS
+
+2011-12-14 01:22  dustymugs
+
+	* Refactored for less memory usage by aggresively flushing string
+	  buffers.
+
+2011-12-13 23:29  strk
+
+	* Disable triggers on the topology.layer table during restore, to
+	  allow population in random order (#1371)
+
+2011-12-13 23:21  dustymugs
+
+	* As per discussion in ticket #1373, convert raster constraints
+	  with floating point values (scalex, scaley, nodata values) into
+	  numeric(16,10) for comparison due to precision issues.
+
+2011-12-13 22:39  robe
+
+	* Add -Y copy switch
+
+2011-12-13 21:58  robe
+
+	* more examples -- put in a missing copy switch -- more switches to
+	  add.
+
+2011-12-13 21:19  dustymugs
+
+	* Fixed handling of output ranges going from high to low rather
+	  than the default of values going from low to high. Based upon
+	  message on postgis-users:
+	  http://postgis.refractions.net/pipermail/postgis-users/2011-December/031763.html
+
+2011-12-13 20:05  dustymugs
+
+	* Fixed incorrect entity using_raster_dataman.
+
+2011-12-13 19:15  robe
+
+	* break raste loder into its own data management chapter -- this
+	  chapter will expand in time. Get rid of how to use old
+	  raster2pgsql.py and replace with instructions on using
+	  raster2pgsql executable.
+
+2011-12-13 18:19  dustymugs
+
+	* Removal of now-unsupported AddRasterColumn, DropRasterColumn and
+	  DropRasterTable.
+
+2011-12-13 18:16  dustymugs
+
+	* Added DROP AGGREGATE for new ST_Union signature. Associated
+	  ticket is #1372.
+
+2011-12-13 17:24  dustymugs
+
+	* Removed PGXS and added explicit bin path variable. Works now in
+	  8.4, 9.0 and 9.1. Related ticket is #1370.
+
+2011-12-13 16:37  strk
+
+	* Drop the old postgis_restore.pl and substitute it with the new
+	  one
+
+2011-12-13 16:33  strk
+
+	* Ignore more Makefiles
+
+2011-12-13 16:33  strk
+
+	* Strictness fixes, internal docs
+
+2011-12-13 15:04  dustymugs
+
+	* Revert change made in r8383. Install of loader doesn't work
+	  correctly without PGXS. Still need to figure out why LDFLAGS is
+	  getting eaten.
+	  
+	  Associated ticket is #1370.
+
+2011-12-13 14:14  dustymugs
+
+	* Removed PGXS as per ticket #1370.
+
+2011-12-13 12:00  strk
+
+	* Maintain the buffer-returns-areal invariant on empty input (#322)
+
+2011-12-13 12:00  strk
+
+	* tabs to spaces
+
+2011-12-13 10:38  strk
+
+	* Always output create ore replace view in upgrade scripts (#1097)
+
+2011-12-13 09:59  strk
+
+	* Allow function definitions to end with '$$ LANGUAGE' (#1365)
+
+2011-12-13 09:59  strk
+
+	* Use warnings
+
+2011-12-13 09:58  strk
+
+	* Encode dependency of upgrade script from the tool generating it
+
+2011-12-13 09:16  strk
+
+	* Add copyright headers, looking at SCM logs. Review welcome.
+
+2011-12-13 05:23  dustymugs
+
+	* Text format cleanup in loader/raster2pgsql.c. Fixed missing
+	  target in scripts/Makefile.in
+
+2011-12-13 05:11  dustymugs
+
+	* Added missing Makefile.in for raster/scripts
+
+2011-12-13 05:06  dustymugs
+
+	* Set svn:keywords for "$Id$"
+
+2011-12-13 05:03  dustymugs
+
+	* Added version information.
+	  
+	  Associated ticket is #1369.
+
+2011-12-13 03:00  dustymugs
+
+	* With commit of C-based raster2pgsql in r8369, removed dependency
+	  checks on Python, NumPy and GDAL with Python bindings. You will
+	  want to run autogen.sh with this commit. With this commit, the
+	  python-based raster2pgsql.py is now retired and unsupported.
+
+2011-12-13 01:58  dustymugs
+
+	* Additional check with warnings if PostgreSQL identifiers exceed
+	  the standard maximum length of 63 characters (64 counting NULL)
+
+2011-12-12 23:12  dustymugs
+
+	* Addition of C-based raster2pgsql in raster/loader. No changes
+	  have been made to remove the existing python-based
+	  raster2pgsql.py nor remove the python dependency in configure.
+	  Users will need to run autogen.sh after this revision.
+	  
+	  Associated ticket is #1297.
+
+2011-12-12 22:42  strk
+
+	* Skip constraints on raster_columns and raster_overviews
+
+2011-12-12 22:38  robe
+
+	* fix title
+
+2011-12-12 22:22  strk
+
+	* Rewrite spatial table constraints to add st_ prefix and use 0
+	  rather than -1 for unknown
+
+2011-12-12 21:45  strk
+
+	* Filter OPERATOR at the ASCII dump phase to have finer control
+	  over which operators are really skipped (#1368)
+
+2011-12-12 20:32  robe
+
+	* another example of ST_Union
+
+2011-12-12 20:23  robe
+
+	* example of ST_Union
+
+2011-12-12 16:10  strk
+
+	* Drop lwgeom_gist and dependent items, including from dumps
+	  (#1362)
+
+2011-12-12 15:45  strk
+
+	* Do not restore metadata tables which now became views
+
+2011-12-12 15:28  strk
+
+	* Cleanup item list: drop duplicates, add some missings
+
+2011-12-12 15:28  strk
+
+	* Remove duplicated entries, add some missing ones
+
+2011-12-12 12:17  robe
+
+	* reduce ST_MakeEnvelope down to one function but make srid default
+	  to 0 (would be nice if we defined an @SRID_UNKNOWN in the
+	  sqldefine.h.in so I don't have to hard code this). Get rid of
+	  other variant. changing to use default parameters doesn't seem to
+	  require dropping the function so only had to drop one of them
+
+2011-12-12 12:09  robe
+
+	* oops took out a tag by accident
+
+2011-12-12 12:03  robe
+
+	* document the new ST_MakeEnvelope variant (pretend like its used
+	  default paramters already), will fix the code later
+
+2011-12-12 02:20  robe
+
+	* #1366 -- don't rely on state field being capitalized.
+
+2011-12-11 20:23  robe
+
+	* forgot about max /min
+
+2011-12-11 20:21  robe
+
+	* change generateor to display name for aggregates instead of id.
+	  For raster ids are different from name
+
+2011-12-11 19:29  robe
+
+	* preliminary documentation for raster version of ST_Union
+	  aggregate function
+
+2011-12-11 15:45  robe
+
+	* Revisions to ST_Union for raster: get rid of dependency on
+	  rastexpr (and get rid of type), put in regress tests, get rid of
+	  many ST_Union permutations and limit to st_union(rast),
+	  st_union(rast,p_expression), st_union(rast,band_num),
+	  st_union(rast,band_num,p_expression). Note for drop I'm not
+	  dropping those other versions in case people have installed them
+	  from scripts folder or are currently using them. just dropping
+	  the ones I'm replacing.
+
+2011-12-11 02:42  robe
+
+	* fix function name typo in geocode_intersection
+
+2011-12-10 18:08  robe
+
+	* minor edit
+
+2011-12-10 18:03  robe
+
+	* fix error in logic
+
+2011-12-10 16:56  robe
+
+	* missed a spot
+
+2011-12-10 16:55  robe
+
+	* describe the example a bit better for ST_AddBand multi-band
+	  example
+
+2011-12-10 11:09  robe
+
+	* #1361: fill in some more cases where hard/soft
+
+2011-12-10 11:04  robe
+
+	* #1361: make it clearer that a hard upgrade is required of
+	  everyone.
+
+2011-12-10 03:12  robe
+
+	* ST_AddBand version that takes an array of rasters
+
+2011-12-10 01:20  dustymugs
+
+	* Fixed calls to the wrong memory allocation function in rtpg_XXX
+	  utility functions.
+
+2011-12-10 01:01  dustymugs
+
+	* Code refactoring in rtpg_ utility functions for better memory
+	  usage and syntax cleanup in rt_api.*
+
+2011-12-10 01:00  dustymugs
+
+	* Fixed missing $ in AddOverviewConstraint() which was setting 7 as
+	  the overview factor instead of the value at $7.
+
+2011-12-09 18:59  strk
+
+	* Add all signatures found in a newly created PostGIS 2.0 database
+	  
+	  See #1360
+
+2011-12-09 17:17  strk
+
+	* Add box3d related objects to skip in the _restore scripts (#1359)
+
+2011-12-09 16:27  strk
+
+	* Restrict disabled code to the one really hurting
+	  
+	  See ticket #665 for more informations.
+	  The commit also renames the test suite to "surface".
+
+2011-12-09 15:33  strk
+
+	* gbox_float_round: don't roundup Z value if the box doesn't have
+	  one
+	  
+	  Fixes #1309
+
+2011-12-09 14:37  strk
+
+	* Add a public lwgeom_get_bbox function (#1324)
+
+2011-12-09 14:37  strk
+
+	* Don't let lwgeom_add_bbox syntetize a fake box for empty
+	  geometries
+	  
+	  Empty geometries have no box. Period.
+	  Update GML extent output for empty geometries to handle the
+	  special
+	  case by using empty tags. Regress test it.
+
+2011-12-09 13:50  strk
+
+	* Fix segfault in GML3 extent output (#1323)
+	  
+	  Add support for srsDimension in GML3 extent output.
+	  Add unit level comprensive regression testing.
+
+2011-12-09 12:25  strk
+
+	* Allow calling ST_MakeEnvelope w/out a srid (#1339)
+
+2011-12-09 11:18  strk
+
+	* Add a gbox_overlaps_2d function, use when appropriate (#1357)
+
+2011-12-08 22:16  pramsey
+
+	* Guard against NaN values in coordinates passing into GEOS (#627)
+
+2011-12-08 21:57  pramsey
+
+	* Check that NaN coordinate values find their way into bboxes, they
+	  do, NaN is bigger than Inf, apparently.
+
+2011-12-08 21:26  pramsey
+
+	* Test for bbox calculations when there's an infinite coordinate.
+
+2011-12-08 20:05  dustymugs
+
+	* Return use of GDAL "natural" blocking removed in r8313 and
+	  refactor pointer handling.
+
+2011-12-08 19:51  pramsey
+
+	* Remove box3d_extent hack
+
+2011-12-08 17:54  pramsey
+
+	* Make the ST_Equals test insensitive to minor box differences.
+
+2011-12-08 14:44  robe
+
+	* Add Jose and Even to credits
+
+2011-12-08 13:35  strk
+
+	* Add a note about ST_Estimated_Extent on empty or non-analyzed
+	  tables (#877)
+
+2011-12-08 11:29  strk
+
+	* Have ST_Estimated_Extent return NULL when no stats are found for
+	  a table.
+	  
+	  No stats means empty table or no run of analyze. Warn about that.
+	  These Fixes bug #877. Includes regress test.
+
+2011-12-08 11:28  strk
+
+	* Hush VACUUM and ANALYZE backend feedback while running tests
+
+2011-12-08 08:07  strk
+
+	* topology.AddToSearchPath: quote database identifier.
+	  
+	  Thanks to Jose Carlos Martinez Llario <jomarlla at cgf.upv.es>
+
+2011-12-07 20:46  dustymugs
+
+	* Added rt_raster_set_pixel_line for use when setting values for
+	  sequential pixels. Should be faster than repeated calls to
+	  rt_raster_set_pixel.
+
+2011-12-07 15:29  dustymugs
+
+	* Refactored the GDALRasterIO part of rt_raster_from_gdal_dataset
+	  to use scanlines instead of "natural" blocks, which dramatically
+	  simplifies the code and makes it easier to maintain.
+
+2011-12-07 06:17  robe
+
+	* alphabetize and update tester credits
+
+2011-12-07 03:41  robe
+
+	* update license to provide detail about documentation license and
+	  copyright of data etc.
+
+2011-12-07 01:15  dustymugs
+
+	* Fixed regression issue with rt_raster_from_gdal_dataset by
+	  explicitly setting the valid block sizes passed into
+	  GDALRasterIO. Probably related to the changes made in r8309
+
+2011-12-06 16:48  dustymugs
+
+	* Removed attempt to duplicate entire band in
+	  rt_raster_from_gdal_dataset
+
+2011-12-06 14:40  robe
+
+	* put some obsolete notes in existing management functions. Now
+	  that raster_columns is a view no longer need to use management
+	  functions to drop or add raster columns or tables. Will document
+	  the new addconstraints etc. taht replaces much of these soon.
+
+2011-12-06 12:16  strk
+
+	* Add copyright header. Date and attribution looked up by SCM
+	  history.
+	  
+	  Verified by my own memory (I wrote the initial vesion of that
+	  file)
+
+2011-12-06 06:06  dustymugs
+
+	* Resolved a bunch of memory issues related to use of SPI that have
+	  been bugging me for a while. Tested successfully in Linux 32 and
+	  64-bit and OSX 64-bit.
+
+2011-12-05 18:58  dustymugs
+
+	* As per discussions and ticket #1319, raster_columns and
+	  raster_overviews are now constraint-based views. AddRasterColumn,
+	  DropRasterColumn and DropRasterTable are now deprecated in favor
+	  of AddRasterConstraints and DropRasterConstraints. Additional
+	  constraints are now available for enforcing the consistency of
+	  the rasters in a table.
+
+2011-12-05 18:36  dustymugs
+
+	* Removed division by bin-width for when bin-widths are specified
+	  in ST_Histogram
+
+2011-12-05 02:06  dustymugs
+
+	* Correctly free raster memory when handling NULL rasters.
+	  
+	  Associated ticket is #1349
+
+2011-12-03 08:29  robe
+
+	* #1343: get rid of geomvalxy and change ST_PixelAsPolygons to use
+	  default args and do without geomvalxy
+
+2011-12-03 07:24  robe
+
+	* #1338 - document ST_PixelWidth/Height
+
+2011-12-03 06:54  dustymugs
+
+	* Removed VARIADIC from ST_BandMetadata. Associated ticket is
+	  #1343.
+
+2011-12-02 17:44  robe
+
+	* #1346: fix misuse of quote_literal causing topology, topology,
+	  topology, topology
+
+2011-12-02 17:28  strk
+
+	* Encode dependency of topology.sql on ManageHelper.sql
+
+2011-12-02 15:43  robe
+
+	* more revisions to cross streets logic -- don't rely on start
+	  point working with multilinestrings. change tfid to be unique
+	  index on faces.
+
+2011-12-02 15:22  dustymugs
+
+	* Added cleanup statements for bandmetatype type and change
+	  function signature for st_bandmetadata.
+
+2011-12-02 15:13  dustymugs
+
+	* Removed the type bandmetadata as per #1343.
+
+2011-12-02 08:07  robe
+
+	* move geocode_intersection.sql to user api section since it is
+	  documented.
+
+2011-12-02 06:27  robe
+
+	* try to make emphasis bold by putting in a role='bold'
+
+2011-12-01 20:41  robe
+
+	* replace ~= with ST_OrderingEquals (now that we got rid of recheck
+	  the older ~= no longer is a truish geometry equality operator
+
+2011-12-01 20:37  robe
+
+	* emphasize approximate in KNN operators to reduce the chance of
+	  any misunderstandings
+
+2011-12-01 19:06  robe
+
+	* make compatible with postgresql 8.4, more speed improvements
+
+2011-12-01 17:52  robe
+
+	* missed a spot about occasions where point distance is not same as
+	  <->
+
+2011-12-01 17:38  robe
+
+	* try to clarify accuracy etc. of <#> and <->
+
+2011-12-01 16:14  pracine
+
+	* Ticket 1342. Integrate ST_PixelAsPolygons into rtpostgis.sql
+
+2011-12-01 16:07  pracine
+
+	* Return null when band number does not exist.
+
+2011-12-01 16:06  pracine
+
+	* Removed ST_MinPossibleVal defined in another script
+
+2011-12-01 16:05  pracine
+
+	* Added doc, more test and return null when band number does not
+	  exist.
+
+2011-12-01 15:52  pracine
+
+	* Ticket 1342. Integrate ST_Clip script into rtpostgis.sql
+
+2011-12-01 15:15  pracine
+
+	* Ticket #1340. Integrate ST_Union into rtpostgis.sql
+
+2011-12-01 15:11  pracine
+
+	* Replaced AsBinary with ST_AsBinary in the test section
+
+2011-12-01 13:32  robe
+
+	* #1337 clarify what sql is good for and get rid of some other
+	  obsolete syntax (this really needs to be read with a fine-tooth
+	  comb). The amount of obsolete info in this chapter is mesmerizing
+
+2011-12-01 08:36  robe
+
+	* #1333 geocode_intersections: would help to actually include the
+	  function to.
+
+2011-12-01 08:28  robe
+
+	* #1333 geocode intersections
+
+2011-12-01 04:29  dzwarg
+
+	* Added neighborhood hillshade on top of ST_MapAlgebraFctNgb. Part
+	  of #1318
+
+2011-12-01 02:23  dustymugs
+
+	* Tweaked ST_BandMetadata so that calling the function with an
+	  empty array returns all metadata of all bands. Example:
+	  ST_BandMetadata(rast, VARIADIC ARRAY[]::int[])
+
+2011-12-01 01:11  pracine
+
+	* Copied from ST_MapAlgebra.sql
+
+2011-12-01 01:10  pracine
+
+	* Copied from ST_Union
+
+2011-12-01 01:09  pracine
+
+	* Some cleaning before inclusion in rtpostgis.sql
+	  Removed ST_MultiBandMapAlgebra and ST_HasNoBand
+
+2011-12-01 01:07  pracine
+
+	* Return the last band when the provided band number does not
+	  exist.
+
+2011-12-01 01:07  pracine
+
+	* Added some variants and tests
+
+2011-11-30 22:42  pracine
+
+	* plpgsql implementation for st_clip.sql(raster, geom)
+
+2011-11-30 22:41  pracine
+
+	* Added the id of the polygon in the example
+
+2011-11-30 22:34  dzwarg
+
+	* Added ST_Aspect map algebra neighborhood shortcut function. #1318
+
+2011-11-30 21:44  dzwarg
+
+	* Added ST_Slope map algebra neighborhood shortcut function.
+
+2011-11-30 20:35  dustymugs
+
+	* Fixed ST_AsRaster to duplicate exactly the attributes of a
+	  reference raster.
+	  
+	  Associated ticket is #1336.
+
+2011-11-30 19:26  dzwarg
+
+	* Added helper user functions for common MapAlgebra operations:
+	  Min, Max, Mean, Range. #1318
+
+2011-11-30 16:45  dzwarg
+
+	* Updated tests for 'dog-ate-my-homework' test. Expanded comments
+	  and elaborated on complex conditionals in ST_MapAlgebraFctNgb
+
+2011-11-30 14:51  dzwarg
+
+	* Added additional tests for ST_MapAlgebraFctNgb, changed string
+	  compare on nodatamode to !=
+
+2011-11-29 23:25  dustymugs
+
+	* In preparation of turning the table raster_columns into a view,
+	  refactored ST_BandMetadata to have the bandnum parameter be
+	  variadic. Fleshed out regression tests for ST_BandMetadata.
+
+2011-11-29 20:30  strk
+
+	* Ignore more generated files
+
+2011-11-29 20:22  pramsey
+
+	* ST_AddPoint returns incorrect result on Linux (#1335) from roualt
+
+2011-11-29 16:57  pracine
+
+	* Replaced the summarystatsstate type with the summarystats type to
+	  avoid defining a new type.
+
+2011-11-29 16:34  pracine
+
+	* Changed the note at the beginning of the file when the function
+	  is now implemented in C.
+
+2011-11-29 16:20  pracine
+
+	* Some more useful functions
+
+2011-11-29 16:15  pracine
+
+	* Added some plpgsql functions
+
+2011-11-29 08:49  robe
+
+	* Fix for #1310
+
+2011-11-28 13:36  robe
+
+	* Note: libxml2 dependency of ST_Geom*ML functions and ref back to
+	  configuration section. Also put in missing --with-xml2config flag
+	  in installion_configuration section
+
+2011-11-26 21:17  robe
+
+	* put a firmer sorta date in the sand
+
+2011-11-26 21:16  robe
+
+	* more credit cleanup -- add people I missed, fix some minor typos
+
+2011-11-26 06:07  pramsey
+
+	* ST_AsSVG kills whole postgres server when fails (#1028)
+
+2011-11-26 05:25  robe
+
+	* update credits to include hard-core testers
+
+2011-11-26 05:04  pramsey
+
+	* Revert per #1246
+
+2011-11-25 11:54  robe
+
+	* remove more obsolete protos in docs and up extension alpha
+	  version numbers
+
+2011-11-25 11:49  robe
+
+	* remove more protos that have been removed and replaced with
+	  default args
+
+2011-11-24 21:13  strk
+
+	* Move the 'CREATE SCHEMA' query out of first column anchorage
+	  (#1325)
+	  
+	  Makes the upgrade script generator less confused...
+
+2011-11-24 19:17  pramsey
+
+	* Fix operator mis-referencing nd function for 2d op.
+
+2011-11-24 16:01  strk
+
+	* Override GeometryType and ST_GeometryType for TopoGeometry
+	  (#1289)
+	  
+	  Includes regression testing.
+	  NOTE: we'll always advertise MULTI as a safest bet
+
+2011-11-24 16:01  strk
+
+	* Shake legacy testcase a bit to avoid to mix population with
+	  queries
+
+2011-11-24 03:44  robe
+
+	* provide examples for ST_GeomFromGeoJSON now that I can compile it
+	  :)
+
+2011-11-24 03:23  robe
+
+	* update to include links to wiki for extra compilation help and
+	  pre-built binaries.
+
+2011-11-24 03:14  robe
+
+	* Amend installation instructions to include json-dir configure
+	  option
+
+2011-11-24 02:05  robe
+
+	* minor updates to bios
+
+2011-11-24 01:58  robe
+
+	* update news / credits for ST_GeomFromGeoJSON
+
+2011-11-23 17:28  strk
+
+	* Const-correct GML signatures
+
+2011-11-23 17:26  robe
+
+	* change + to | to make strk happy
+
+2011-11-23 17:24  robe
+
+	* update ST_AsGML with examples and include envelope bits option
+
+2011-11-23 15:27  robe
+
+	* fix typo in GML description noted by strk
+
+2011-11-23 02:17  robe
+
+	* correct signatures of some functions changed to use more default
+	  args
+
+2011-11-22 19:01  dustymugs
+
+	* Prefixed internal C utility functions with rtpg_. This keeps the
+	  coding style inline with that for postgis.
+
+2011-11-22 18:10  dustymugs
+
+	* Corrected incorrect drop function statement.
+
+2011-11-22 17:58  dustymugs
+
+	* More SQL function cleanup with use of default parameter values.
+
+2011-11-22 09:26  robe
+
+	* up the alpha numbers
+
+2011-11-22 09:21  robe
+
+	* missed a spot
+
+2011-11-22 09:05  robe
+
+	* correct documentation to get rid of protos eradicated in r8218
+	  (so extensions installs)
+
+2011-11-22 01:06  dustymugs
+
+	* Additional function cleanup by making use of DEFAULT parameter
+	  values
+
+2011-11-21 20:09  dustymugs
+
+	* Fixed expression parsing in RASTER_mapAlgebra2. Evidently, the
+	  count parameter of replace() is an input/output parameter.
+	  
+	  Associated ticket is #1317.
+
+2011-11-21 19:55  dustymugs
+
+	* Fixed behavior of one raster not having specified band and being
+	  sampled.
+	  
+	  Associated ticket is #1316.
+
+2011-11-21 19:18  dustymugs
+
+	* Fixed extent bug for UNION in rt_raster_from_two_rasters
+
+2011-11-21 19:18  robe
+
+	* description corrections to ST_MapAlgebraNgbFct based on input
+	  from dzwarg
+
+2011-11-21 17:37  pracine
+
+	* Many fix following the C implementation of the two raster version
+	  of ST_MapAlgebra.
+
+2011-11-21 16:32  strk
+
+	* Add a vertex-snap-tolerance parameter to ptarray_substring
+	  
+	  This is aimed at improving robustness for ST_Split, which now
+	  uses an hard-coded tolerance of 1e-14 (see #1311)
+
+2011-11-21 16:15  robe
+
+	* revise explanation based on trying to read the code to figure out
+	  what nodatamode in theory should be doing
+
+2011-11-21 16:03  strk
+
+	* Numerate tests for line_substring
+
+2011-11-21 15:59  pracine
+
+	* -Fix cut and paste error
+
+2011-11-21 15:37  robe
+
+	* get rid of extra para tag
+
+2011-11-21 15:32  robe
+
+	* ST_MapAlgebraFctNgb:add in the nodatamode to ST_ (forgot it last
+	  time). I still have no clue what this parameter does -- doesn't
+	  seem to do anything for me like get rid of the border. Add in
+	  links to where to get example raster used. fix some typos
+
+2011-11-21 14:59  strk
+
+	* Add testcase for #1311 (lwgeom_split).
+	  
+	  Also fix existing testcase (wasn't really testing it).
+
+2011-11-21 14:59  strk
+
+	* Fix memory leak in lwgeom_split
+
+2011-11-21 12:10  strk
+
+	* Hush warning about missing prototype.
+	  
+	  This is really a commit intended to amend the previous for the
+	  sake
+	  of pointing to the correct bug being closed by it: #1273 (not
+	  #1023
+	  which is more complex)
+
+2011-11-21 12:03  strk
+
+	* Have gserialized_get_gbox_p always return a round-to-float box
+	  
+	  That is, even when computing the box from scratch.
+	  This makes the box always float-oriented,
+	  consistently between cached and computed boxes.
+	  Closes (hopefully forever) bug #1023.
+	  Includes testcase otherwise failing.
+
+2011-11-21 09:33  strk
+
+	* Add testcase for ticket #1302 (now passes)
+
+2011-11-21 08:33  strk
+
+	* Update expected error messages not to include the "topology"
+	  namespace (now that it's part of the search_path).
+
+2011-11-21 08:23  strk
+
+	* Rename "LibGeom Suite" to simply "libgeom", for easy of use
+
+2011-11-21 08:21  strk
+
+	* Surrender to evidence of the narrow ring tested being clockwise
+
+2011-11-21 08:08  strk
+
+	* Improve robustness of ptarray_isccw (see #1302)
+
+2011-11-21 07:48  robe
+
+	* Logic to add topology to database search path on install or
+	  upgrade
+
+2011-11-21 04:02  robe
+
+	* FIX upgrade script - complement to r8186 - drop all mapalgebra
+	  functions before upgrade because for pg9.0+ CREATE OR REPLACE
+	  FUNCTION fails if argument names have changed. Also update docs
+	  to reflect new naming of userfunction to
+	  onerasteruderfunc,tworasteruserfunc,onerasternguserfunc
+
+2011-11-20 21:37  robe
+
+	* fix some ST_MapAlgebra userfunc arg names to agree with code.
+	  Still ng ones to go and drop fix.
+
+2011-11-20 21:35  strk
+
+	* Add another test for ptarray_isccw, which incredibly seems to
+	  disagree with the same check done when the same ring occurs in a
+	  polygon
+
+2011-11-20 21:19  strk
+
+	* Do not memcpy to self in ptarray_reverse (see #1302)
+
+2011-11-20 21:19  strk
+
+	* Better indent for comparing obtained/expected
+
+2011-11-20 20:51  strk
+
+	* Fix 'clean' rule under loader to drop stuff under .libs
+
+2011-11-20 20:51  strk
+
+	* Add test for lwgeom_force_clockwise (see #1302)
+
+2011-11-19 17:28  strk
+
+	* Add test for ptarray_isccw (see #1302)
+
+2011-11-18 23:47  dustymugs
+
+	* Addition of function rt_util_gdal_datatype_to_pixtype to
+	  complement rt_util_pixtype_to_gdal_datatype.
+
+2011-11-18 22:38  dzwarg
+
+	* Documented ST_Rotation and ST_SetRotation.
+
+2011-11-18 21:41  dustymugs
+
+	* Update parameter names for regprocedure data types
+
+2011-11-18 21:28  dzwarg
+
+	* Nodata mode defaults to 'ignore' if it is NULL. Added tests for
+	  out of range neighborhoods.
+
+2011-11-18 20:56  dzwarg
+
+	* Non-functional change. Updated author email address for dzwarg.
+
+2011-11-18 20:53  dzwarg
+
+	* Refactored ST_MapAlgebraFctNgb to cache userfunction lookup, and
+	  accept NULL input and output values.
+
+2011-11-18 20:15  dzwarg
+
+	* Refactored ST_MapAlgebraFct to cache userfunction lookup, and
+	  accept NULL input and output values.
+
+2011-11-18 18:30  dustymugs
+
+	* Added a flag --with-raster-dblwarning so as to provide the
+	  software builder the option of enabling all the value
+	  truncation/clamping/conversion warnings, which can be many. The
+	  new default is to suppress those warnings. All appropriate
+	  regression tests have been updated.
+	  
+	  Associated ticket is #1307
+
+2011-11-18 15:53  dzwarg
+
+	* Enabled all tests on ST_MapAlgebraFctNgb.
+
+2011-11-18 14:53  dzwarg
+
+	* Fixed debug problem in #1308
+
+2011-11-18 13:59  robe
+
+	* fix minor typo
+
+2011-11-18 13:58  robe
+
+	* document new ST_GeomFromGeoJSON function. Will provide examples
+	  later once resolved my JSON-C compilation issues
+
+2011-11-18 13:24  robe
+
+	* minor corrections
+
+2011-11-18 03:36  robe
+
+	* increment alpha release number to allow upgrade with extensions
+
+2011-11-18 03:08  robe
+
+	* fix code comment
+
+2011-11-18 02:54  robe
+
+	* forgot pixeltype in ngb arg list
+
+2011-11-18 02:48  robe
+
+	* fix typo in linkends
+
+2011-11-18 02:32  robe
+
+	* put in missing spaces
+
+2011-11-18 02:31  robe
+
+	* ST_MapAlgebraFctNgb (and put in immuatable for other
+	  st_mapalgebras)
+
+2011-11-18 01:15  robe
+
+	* #1306: document rescale and provide examples, fix st_resample
+	  args. (still 2 more to go in this ticket)
+
+2011-11-18 00:29  pramsey
+
+	* Move library link to appropriate place.
+
+2011-11-18 00:17  pramsey
+
+	* Add ST_GeomFromGeoJSON (#376)
+
+2011-11-18 00:17  robe
+
+	* correct ST_Resample arguments to agree with implementation. Still
+	  need to fill in descriptions of what all params mean
+
+2011-11-17 22:48  dustymugs
+
+	* Fix the 8.4 error only described in #1296.
+
+2011-11-17 15:04  dustymugs
+
+	* Additional corrections and cleanup for ST_BandNoDataValue
+
+2011-11-17 14:57  dustymugs
+
+	* Fixed a bunch of other nodataval datatype issues.
+
+2011-11-17 14:49  dustymugs
+
+	* Fixed invalid handling of nodatavalue in ST_BandMetaData(). Issue
+	  arises due to C backend using Float8GetDatum while SQL frontend
+	  using real datatype.
+
+2011-11-17 04:25  robe
+
+	* put in some spacing
+
+2011-11-17 01:44  robe
+
+	* more event ideas
+
+2011-11-16 20:39  robe
+
+	* put in missing svn:keywords fix formatting of cards so easier to
+	  break on pages
+
+2011-11-16 17:38  robe
+
+	* Post GIS day commemorative cards generator
+
+2011-11-16 03:41  robe
+
+	* logic to create a an topology_upgrade_20_minor.sql
+
+2011-11-15 18:15  dustymugs
+
+	* Removed hardcoded SRID of 0 and replaced with ST_SRID('Point(0
+	  0)'::geometry)
+
+2011-11-15 00:48  robe
+
+	* put in missing t in raster load examples
+
+2011-11-14 23:21  dzwarg
+
+	* Added single version of map algebra that operates on
+	  neighborhoods.
+
+2011-11-14 21:40  dustymugs
+
+	* Added ability to specify raster width and height to ST_Resample.
+	  
+	  Associated ticket is #1267
+
+2011-11-14 08:15  robe
+
+	* revise extension upgrade builder to use new remove functions from
+	  extension before attemtpting to readd them. Cool I can now
+	  upgrade my 2.0.0a3 to 2.0.0a.6 without any complaints.
+
+2011-11-14 07:36  robe
+
+	* minor corrections to extension helper, create extension
+	  uninstall, incorporate in topology extension upgrade script
+
+2011-11-14 05:44  robe
+
+	* helper functions for creating upgrade extension script. So far
+	  helper so I can sneakingly drop functions from an existing
+	  extension so I can reinstall them if a create or replace will not
+	  be sufficient.(so I avoid the dreaded error -- can't drop
+	  function /aggregate because its part of an extension.)
+
+2011-11-13 03:45  robe
+
+	* #1288: correct some obsolete advice about how to create indexes
+	  and register a geometry column.
+
+2011-11-12 18:20  strk
+
+	* Do not consider nodes with the same bounding box as being equal.
+	  
+	  Fixes bug #1284. Includes regression test.
+
+2011-11-12 15:12  dustymugs
+
+	* Added checks to make sure user-function is valid. Also added
+	  check for volatility of user-function with notice if function is
+	  volatile.
+
+2011-11-12 13:14  robe
+
+	* Fix typo
+
+2011-11-12 05:28  robe
+
+	* escape html entitities in program listing of ST_MApAlgebrafct 2
+	  band version
+
+2011-11-12 04:27  robe
+
+	* add examples and fix arg list
+
+2011-11-12 00:01  dustymugs
+
+	* Removed third variant as it conflicts with the second variant of
+	  2-raster ST_MapAlgebraFct
+	  
+	  Related ticket is #1283
+
+2011-11-11 23:07  robe
+
+	* begin documentation of 2 band ST_MapAlgebraFct -- waiting for
+	  dustymugs to fix signature before providing examples
+
+2011-11-11 20:34  robe
+
+	* fix arg list in ST_MapAlgebraExpr single band version
+	  (nodatavalexpr got relaplced with nodataval which is now double
+	  precision instead of text)
+
+2011-11-11 19:31  dzwarg
+
+	* Added more test to plpgsql ST_MapAlgebraFctNgb prototype.
+
+2011-11-11 18:50  dzwarg
+
+	* Added pl/pgsql prototype of the neighborhood map algebra
+	  function.
+
+2011-11-11 15:45  dustymugs
+
+	* Removed commented-out stubs for nonexistant RASTER_mapAlgebra2Fct
+
+2011-11-11 15:41  dustymugs
+
+	* Add ST_MapAlgebraFct for 2 rasters. This is the sibling of
+	  2-raster ST_MapAlgebraExpr. Renamed RASTER_mapAlgebra2Expr to
+	  RASTER_mapAlgebra2 as both 2-raster ST_MapAlgebraExpr and
+	  ST_MapAlgebraFct call the same function.
+	  
+	  Associated ticket is #1281.
+
+2011-11-11 08:40  robe
+
+	* put comment about expression
+
+2011-11-10 20:59  dzwarg
+
+	* Updated documentation for all variants of ST_MapAlgebraFct.
+
+2011-11-10 11:10  strk
+
+	* Make sure to "round-to-float" boxes read from serialized, no
+	  matter if there was or not a cache. Fixes #1273. Includes regress
+	  testing. Note: would be worth to also test the 2-points line case
+	  (I didn't in this specific commit, but the patch should fix that
+	  as well).
+
+2011-11-10 00:18  robe
+
+	* add missing references to other functions used
+
+2011-11-10 00:15  robe
+
+	* Add example of overlaying single rasters on same canvas
+
+2011-11-10 00:02  dustymugs
+
+	* Signatures changed for ST_MapAlgebraExpr where nodatavaluerepl
+	  (text) is now nodataval (double precision)
+
+2011-11-09 23:52  dustymugs
+
+	* Removed all remaining memory leaks from testapi.c
+
+2011-11-09 23:12  dustymugs
+
+	* Rolled back attempt to clean up memory handling. We'll just live
+	  with this until testapi.c is replaced by cunit tests for raster.
+
+2011-11-09 23:00  dustymugs
+
+	* Separated the output raster's extent calculation from
+	  RASTER_mapAlgebra2Expr() in rt_pg.c to
+	  rt_raster_from_two_rasters() in rt_api.c. Added test of
+	  rt_raster_from_two_rasters() in testapi.c
+
+2011-11-09 17:15  robe
+
+	* fix typos, provide description for nodatanodataval (pierre /
+	  bborie /dzwarg -- please check my definitions to make sure they
+	  are right)
+
+2011-11-09 15:35  dustymugs
+
+	* Fixed bug where an expression doesn't contain a placeholder
+	  (either rast1 or rast2).
+	  
+	  Associated ticket is #1276.
+
+2011-11-09 05:02  robe
+
+	* fix minor typos
+
+2011-11-09 03:52  robe
+
+	* increment version
+
+2011-11-09 03:45  robe
+
+	* break out what all the different arguments are in 2 map algebra.
+
+2011-11-09 02:55  robe
+
+	* fix some typos, revise example demonstrating difference between
+	  intersection and union. include pictures.
+
+2011-11-09 01:05  robe
+
+	* Add ST_BandMetaData to drop target. Upgrade can't install the new
+	  version otherwise since the output parameter data types changed.
+
+2011-11-08 23:18  dustymugs
+
+	* Fix floating point issues in rt_raster_geopoint_to_cell in
+	  addition to other minor changes.
+
+2011-11-08 21:34  dustymugs
+
+	* Bug fix for evaluating remainder when remainder is infinitely
+	  close to 1. Basically, the check wasn't added to a block of code
+	  those similar blocks of code had the check.
+
+2011-11-08 20:32  robe
+
+	* ST_MapAlgebraExpr - 2 band version - incorporate Pierre's
+	  corrections / additions
+
+2011-11-08 18:41  robe
+
+	* document ST_MapAlgebraExpr (2 raster band version). Need to clean
+	  up the example also figure out how I managed to crash my server
+	  with this.
+
+2011-11-08 17:47  pramsey
+
+	* Do the "are boxes different?" test in ST_Equals using a tolerance
+	  instead of exact comparisons.
+
+2011-11-08 10:23  strk
+
+	* Re-fix robustness issue on 32bit system (seg is 0-based, npoints
+	  is 1-based but segments is npoints-1)
+
+2011-11-08 08:55  strk
+
+	* Give unique names to linearref tests
+
+2011-11-08 08:55  strk
+
+	* Add test for bug #1270
+
+2011-11-08 08:51  strk
+
+	* Fix st_line_locate_point check for "last point" (#1271)
+
+2011-11-08 05:27  dustymugs
+
+	* Renamed ST_MapAlgebra2Expr to ST_MapAlgebra after concensus with
+	  Pierre and Regina.
+
+2011-11-08 00:00  dustymugs
+
+	* Replaced ST_MapAlgebraExpr's "nodatavalueexpr" parameter with
+	  "nodataval" and datatype changed from text to double precision.
+	  This makes this parameter the same as "nodatanodataval" found in
+	  ST_MapAlgebra2Expr.
+	  
+	  Associated ticket is #866
+
+2011-11-07 21:17  dustymugs
+
+	* Rephrased a sentence or two in ST_Resample. Might not be the
+	  best.
+
+2011-11-07 21:07  dustymugs
+
+	* Addition of 2-raster map algebra function ST_MapAlgebra2Expr.
+	  Next is ST_MapAlgebra2Fct.
+	  
+	  Ticket is #1268.
+
+2011-11-07 17:01  strk
+
+	* Enhance robustness of ptarray_locate_point, fixing bug #1269.
+	  
+	  Includes regression testcase.
+
+2011-11-06 20:26  dustymugs
+
+	* Following the cleanup in r8104, additional cleanup to remove
+	  POSTGIS_GDAL_VERSION
+
+2011-11-06 20:17  strk
+
+	* Double-check line splitting to avoid returning empty components
+	  
+	  It happened on my 32bit system based on presence or absence of an
+	  lwnotice call, probably a compiler bug...
+
+2011-11-06 19:39  strk
+
+	* Don't change SQL at compile time. The code is safe enough.
+
+2011-11-06 19:30  dustymugs
+
+	* Renamed output parameter "hasnodatavalue" to "hasnodata" in
+	  ST_BandMetadata(). This makes the parameter name consistent with
+	  all other use of "hasnodata" and the docs for ST_BandMetadata.
+
+2011-11-06 04:56  dustymugs
+
+	* Fixed the bug described in #1263. Also fixed additional code that
+	  has the same problem. Additional syntax cleaning and comments
+	  updated. Fixed the problem with "make check" running test/core
+	  twice.
+
+2011-11-05 22:40  dustymugs
+
+	* Reverted r8100 due to regression failures. Instead, I added an
+	  exception check to catch for when the client isn't able to find
+	  postgis_gdal_version in the search path.
+	  
+	  Associated ticket is #1266
+
+2011-11-05 14:28  dustymugs
+
+	* Moved postgis_gdal_version() from rtpostgis.sql.in.c to
+	  postgis.sql.in.c. Added additional sed command to
+	  postgis/Makefile.in to handle RASTER_MODULE_PATH so as to
+	  continue using the underlyiing RASTER_gdal_version().
+	  
+	  Associated ticket is #1266.
+
+2011-11-05 03:50  robe
+
+	* Fix output of ST_Node -- evidentally we haven't yet instituted
+	  the change to output MULTILINESTRINGZ etc in WKT in ST_AsText nor
+	  ST_AsEWKT
+
+2011-11-04 22:06  robe
+
+	* increment to 2.0.0a4
+
+2011-11-04 22:05  robe
+
+	* increment to 2.0.0a4
+
+2011-11-04 21:43  robe
+
+	* alphabatize reference_processing section. Change postgis
+	  cheatsheet to output to 2 columns. Minor adjusts to tiger
+	  cheatsheet
+
+2011-11-04 20:46  robe
+
+	* #1206: put in example for ST_Node. Can't test yet since my geos
+	  is recompiling.
+
+2011-11-04 18:48  strk
+
+	* Document ST_Node (#1206)
+
+2011-11-04 18:24  strk
+
+	* Add SQL-level tests for ST_Node (#1206)
+
+2011-11-04 18:17  strk
+
+	* Fix clean rule to get rid of .o files
+
+2011-11-04 14:25  strk
+
+	* Expose ST_Node at SQL level (#1206)
+
+2011-11-04 12:22  robe
+
+	* ability to turn off example generation, and change to turn off by
+	  default
+
+2011-11-04 08:15  strk
+
+	* Fix builds againts GEOS < 3.3
+
+2011-11-04 06:45  strk
+
+	* Add an lwgeom_node function in liblwgeom (see #1206)
+	  Includes testcase
+
+2011-11-04 00:57  robe
+
+	* Add enhanced note for AddGeometryColumn
+
+2011-11-03 17:28  strk
+
+	* Add lwcollection_reserve internal function
+
+2011-11-03 17:09  strk
+
+	* Pass GEOS version to unit tests, skip test for SPLIT when
+	  building against older geos.
+
+2011-11-03 16:20  strk
+
+	* Add an line-by-point internal split function taking an output
+	  vector.
+	  Regress test the new function.
+
+2011-11-02 16:53  strk
+
+	* Add test for ST_Summary
+
+2011-11-02 13:48  robe
+
+	* change order of populate_geometry_columns drop all one depends on
+	  oid one
+
+2011-11-02 13:47  robe
+
+	* drop populate_geometry_columns(). This is needed because got
+	  replaced by populate_geometry_columns(use_typmod=true). So if
+	  both exist get function is not unique error
+
+2011-11-02 13:42  robe
+
+	* #1256 drop memgeomunion so geomunion can be dropped
+
+2011-11-02 06:50  robe
+
+	* more formatting experiments
+
+2011-11-02 04:28  pramsey
+
+	* Composite geometries end up with nested BBOX caches (#1254)
+
+2011-11-01 18:17  dustymugs
+
+	* Based upon mailing list discussion, changed call to ST_AsRaster
+	  in _st_intersects(raster, geometry) to _st_asraster.
+
+2011-11-01 17:59  pramsey
+
+	* Make st_summary at least return consistent results (#1254)
+
+2011-11-01 17:11  robe
+
+	* document ST_SameAlignment
+
+2011-11-01 04:41  robe
+
+	* revise all to output arg list and conditionally show examples and
+	  descriptions
+
+2011-11-01 03:06  robe
+
+	* xsl to generate postgis cheatsheet, add make cheatsheet to
+	  gnumake, better outptuting of functions with different protos.
+
+2011-10-31 22:26  strk
+
+	* ST_CreateTopoGeo: speedup merged lines splitting [RT-SIGTA]
+
+2011-10-31 21:18  pramsey
+
+	* Increase accuracy of area calculation (#810)
+
+2011-10-31 20:59  pramsey
+
+	* Remove redundant prototype
+
+2011-10-31 20:55  pramsey
+
+	* Move gserialized_get_gbox_p to liblwgeom and
+	  gserialized_read_gbox_p to liblwgeom_internal
+
+2011-10-31 20:23  pramsey
+
+	* Rename pglwgeom_box2d_p
+
+2011-10-31 20:02  robe
+
+	* add raster cheat sheet generator -- and a make cheatsheets
+	  command to generate all.
+
+2011-10-31 19:20  robe
+
+	* get rid of word "Functions" in section headers
+
+2011-10-31 13:03  strk
+
+	* ST_CreateTopoGeo: do not drop input nodes of degree 2 (#1258)
+	  [RT-SIGTA]
+
+2011-10-31 12:45  strk
+
+	* Fix generation of topology in presence of edges with same
+	  bounding box (#1261).
+	  
+	  Includes regress test [RT-SIGTA]
+
+2011-10-31 12:22  robe
+
+	* fix another erroneous statement - its ValidateTopology not
+	  ST_ValidateTopology
+
+2011-10-31 11:58  robe
+
+	* get rid of word feature in description of AddTopGeometryColumn.
+	  Table can be any kind of table.
+
+2011-10-31 05:32  robe
+
+	* more cleanup -- only print example sections if they have examples
+
+2011-10-31 03:14  robe
+
+	* build cheat sheet for tiger geocoder. This one looks better laid
+	  out than topology one so have to revisit topology
+
+2011-10-31 02:11  robe
+
+	* logic to flag new functions and allow tags in listings to be
+	  displayed
+
+2011-10-30 23:10  robe
+
+	* get rid of unused styles
+
+2011-10-30 21:47  strk
+
+	* AddEdgeModFace, AddEdgeNewFaces: simplify calls to AddEdge
+	  [RT-SIGTA]
+
+2011-10-30 20:57  pramsey
+
+	* Remove some duplicate headers (much of this to be done...)
+
+2011-10-30 20:45  pramsey
+
+	* Remove SERIALIZED_FORM
+
+2011-10-30 20:40  pramsey
+
+	* Remove pglwgeom_serialize
+
+2011-10-30 19:15  strk
+
+	* Add some hints about the visited table for topology.AsGML
+
+2011-10-30 18:49  robe
+
+	* logic to build html cheatsheet -- some logic still needed to
+	  extract the examples correctly.
+
+2011-10-30 15:36  robe
+
+	* get rid of extra fluff words in section titles
+
+2011-10-29 20:54  pramsey
+
+	* Fix regression
+
+2011-10-29 20:35  pramsey
+
+	* Remove pglwgeom_ndims
+
+2011-10-29 20:07  pramsey
+
+	* Remove pglwgeom_size
+
+2011-10-29 20:04  pramsey
+
+	* Remove pglwgeom_get_zm
+
+2011-10-29 01:05  pramsey
+
+	* Fix odd formating in optimistic_overlap
+
+2011-10-29 01:01  pramsey
+
+	* Remove pglwgeom_is_empty
+
+2011-10-29 01:00  pramsey
+
+	* Remove pglwgeom_drop_bbox
+
+2011-10-29 00:58  pramsey
+
+	* Remove pglwgeom_has_bbox, pglwgeom_has_z, pglwgeom_has_m
+
+2011-10-29 00:58  pramsey
+
+	* Remove pglwgeom_has_bbox, pglwgeom_has_z, pglwgeom_has_m
+
+2011-10-29 00:50  pramsey
+
+	* Remove pglwgeom_get_type
+
+2011-10-28 22:06  pramsey
+
+	* remove pglwgeom_get_srid, pglwgeom_set_srid
+
+2011-10-28 21:57  pramsey
+
+	* Remove pglwgeom_deserialize
+
+2011-10-28 20:54  pramsey
+
+	* Commit remaining removals of BOX2DFLOAT4 and PG_LWGEOM
+
+2011-10-28 20:46  pramsey
+
+	* Remove BOX2DFLOAT4->GBOX and PG_LWGEOM->GSERIALIZED #defines
+
+2011-10-28 18:21  pramsey
+
+	* Fix call to geometry_type_from_string to use right type.
+
+2011-10-28 18:09  pramsey
+
+	* Move clone support functions into internal
+
+2011-10-28 18:01  pramsey
+
+	* Replace min/max/abs macros with FP_* variants in liblwgeom/ and
+	  with pgsql variants in postgis/
+
+2011-10-28 17:52  pramsey
+
+	* Remove orphaned box3d and box2dfloat4 utility functions
+
+2011-10-28 17:44  pramsey
+
+	* Remove orphaned _compute_box3d functions
+
+2011-10-28 17:35  pramsey
+
+	* Remove box2df_from_gbox and gbox_from_box2df
+
+2011-10-28 17:01  pramsey
+
+	* Ensure calls to lwgeom->type use type of uint8_t
+
+2011-10-28 14:51  pramsey
+
+	* Remove old profiling code
+
+2011-10-27 23:02  pramsey
+
+	* Remove old 8-bit type utility functions.
+
+2011-10-27 22:48  pramsey
+
+	* Remove LWGEOM_Min* and LWGEOM_Max*
+
+2011-10-27 21:03  pramsey
+
+	* Remove serialized_form functions:
+	  lwpoint_serialize_size
+	  lwpoint_serialize
+	  lwpoint_serialize_buf
+	  lwline_serialize_size
+	  lwline_serialize
+	  lwline_serialize_buf
+	  lwpoly_serialize_size
+	  lwpoly_serialize
+	  lwpoly_serialize_buf
+	  lwtriangle_serialize_size
+	  lwtriangle_serialize
+	  lwtriangle_serialize_buf
+	  lwcircstring_serialize_size
+	  lwcircstring_serialize
+	  lwcircstring_serialize_buf
+	  lwcollection_serialize_size
+	  lwcollection_serialize_buf
+	  lwgeom_constructempty
+	  lwgeom_constructempty_buf
+	  lwgeom_empty_length
+	  lwgeom_serialize_size
+	  lwgeom_serialize
+	  lwgeom_serialized_construct
+	  lwgeom_getsrid
+
+2011-10-27 20:52  pramsey
+
+	* Remove printBYTES
+
+2011-10-27 20:51  pramsey
+
+	* Reorder header file a little.
+
+2011-10-27 20:14  pramsey
+
+	* Complete removal of LWGEOM_INSPECTED
+
+2011-10-27 20:07  pramsey
+
+	* Remove LWGEOM_INSPECTED
+
+2011-10-27 20:05  pramsey
+
+	* Remove old deserialze and inspected functions.
+	  
+	  serialized_lwgeom_size
+	  lwgeom_size_subgeom
+	  lwgeom_size_point
+	  lwgeom_size_line
+	  lwgeom_size_circstring
+	  lwgeom_size_poly
+	  lwgeom_size_triangle
+	  lwgeom_deserialize
+	  lwpoint_deserialize
+	  lwline_deserialize
+	  lwpoly_deserialize
+	  lwtriangle_deserialize
+	  lwcircstring_deserialize
+	  lwmpoint_deserialize
+	  lwmline_deserialize
+	  lwmpoly_deserialize
+	  lwcollection_deserialize
+	  lwcompound_deserialize
+	  lwcurvepoly_deserialize
+	  lwmcurve_deserialize
+	  lwmsurface_deserialize
+	  lwpsurface_deserialize
+	  lwtin_deserialize
+	  printMULTI
+	  lwgeom_inspect
+	  lwgeom_getpoint_inspected
+	  lwgeom_getpoint
+	  lwgeom_getline_inspected
+	  lwgeom_getline
+	  lwgeom_getpoly
+	  lwgeom_getpoly_inspected
+	  lwgeom_gettriangle
+	  lwgeom_gettriangle_inspected
+	  lwgeom_getcircstring_inspected
+	  lwgeom_getgeom_inspected
+	  lwgeom_getsubgeometry
+	  lwgeom_getsubgeometry_inspected
+	  lwgeom_getsubtype
+	  lwgeom_getsubtype_inspected
+	  lwgeom_getnumgeometries
+	  lwgeom_getnumgeometries_inspected
+
+2011-10-27 19:23  pramsey
+
+	* Remove compute_serialized_box3d
+
+2011-10-27 19:10  pramsey
+
+	* Remove duplicate and unused is_worth_caching_serialized_bbox and
+	  is_worth_caching_lwgeom_bbox
+
+2011-10-27 18:44  pramsey
+
+	* Add ignores for new built files
+
+2011-10-27 14:35  strk
+
+	* Wrap lines within 80 columns
+
+2011-10-27 14:09  dustymugs
+
+	* Added rtpostgis_drop.sql, rtpostgis_drop.sql.in,
+	  rtpostgis_upgrade.sql and rtpostgis_upgrade_20_minor.sql to
+	  svn:ignore
+
+2011-10-27 14:08  dustymugs
+
+	* Refactored rt_band_get_min_value() to call new function
+	  rt_pixtype_get_min_value(). Addition of function
+	  rt_util_extent_type().
+
+2011-10-26 23:47  pramsey
+
+	* Remove PG_LWGEOM_construct
+
+2011-10-26 23:21  pramsey
+
+	* Remove orphaned pglwgeom function
+	  pglwgeom_compute_serialized_box3d
+
+2011-10-26 23:07  pramsey
+
+	* Remove non-gserialized portions of utility functions.
+
+2011-10-26 22:58  pramsey
+
+	* Remove more orphaned box2d support functions
+
+2011-10-26 22:36  pramsey
+
+	* Remove *_compute_box2d* functions that are now orphans.
+
+2011-10-25 21:19  pramsey
+
+	* Remove gserialized_on conditionals. Only type defines remain to
+	  be cleared out.
+
+2011-10-25 21:05  pramsey
+
+	* Remove old box2dfloat4 in favor of gbox.
+
+2011-10-25 20:31  strk
+
+	* Add own copyright on the file. See
+	  http://postgis.refractions.net/pipermail/postgis-devel/2004-March/thread.html
+	  for historical mail exchanges about it :)
+
+2011-10-25 20:02  pramsey
+
+	* Remove old serialized_form index selectivity code.
+
+2011-10-21 21:49  strk
+
+	* Explode the topology sections to keep primitive (sql/mm) topology
+	  management more separate from higher (TopoGeometry) management.
+
+2011-10-21 21:42  dustymugs
+
+	* Added rt_raster_set_geotransform_matrix() to provide quick
+	  setting of a raster's geotransform based upon the matrix
+
+2011-10-21 19:10  dustymugs
+
+	* Corrected rt_raster_same_alignment() and RASTER_sameAlignment()
+	  to behave as an end-user would expect it to. So intead of errors
+	  when parameters don't match, return false.
+
+2011-10-21 18:11  dustymugs
+
+	* Changed rt_raster_has_no_band to use 0-based band index instead
+	  of 1-based. Removed function prototype ST_HasNoData(raster) as
+	  the other prototype ST_HasNoData(raster, nband) now uses the
+	  default value of 1 for nband.
+
+2011-10-21 14:53  dustymugs
+
+	* Changed those functions that is 1-based for band index to 0-based
+	  in rt_core. This leaves only rt_raster_has_no_band, which may
+	  have other issues as well.
+	  
+	  Associated ticket is #754
+
+2011-10-21 12:01  robe
+
+	* put in logic to st_setsrid to wgs84 before doing
+	  st_distance_sphere in case Paul decides he doesn't want to fix
+	  the regression issue noted in #1243
+
+2011-10-20 22:24  dustymugs
+
+	* Renamed RASTER_samealignment() to RASTER_sameAlignment() and
+	  corrected C++ style comments with C comments
+
+2011-10-20 22:07  dustymugs
+
+	* Removed use of PG_DETOAST_DATUM_COPY and PG_FREE_IF_COPY as all
+	  rasters should be detoasted using PG_DETOAST_DATUM as it doesn't
+	  create a copy, thus consuming more space.
+
+2011-10-20 13:31  dzwarg
+
+	* Replaced missing signatures of ST_MapAlgebraFct.
+
+2011-10-20 00:49  robe
+
+	* move function args to single line so CREATe EXTENSION topology
+	  FROM unpackaged script builds corectly
+
+2011-10-19 23:47  robe
+
+	* add in missing ST_MapAlgebraFct protos
+
+2011-10-19 23:25  robe
+
+	* evidentally missed one or get the wrong ST_MapAlgebraFct proto in
+	  last commit
+
+2011-10-19 20:31  robe
+
+	* Get rid of st_mapalgebrafct(raster,text,regprocedure,text[])
+	  proto since there is no matching function - messing up my ability
+	  to test my extensions
+
+2011-10-18 11:37  robe
+
+	* #860 Get rid of some dup definitions in ST_MapAlgebraFct and add
+	  some missing ones.
+
+2011-10-18 02:23  robe
+
+	* Add postgis_before_drop for dropping functions that have arument
+	  names renamed before reinstall. Just for upgrade script since
+	  can't do CREATE OR REPLACE if arg names have changed
+
+2011-10-17 16:16  dzwarg
+
+	* Fixed documentation code listing typo for ST_MapAlgebraFct, and
+	  added more information about userfunctions and variadic text
+	  args.
+
+2011-10-17 13:45  robe
+
+	* update bios
+
+2011-10-17 13:10  dzwarg
+
+	* Added ST_MapAlgebraFct to documentation, with same examples as
+	  ST_MapAlgebraExpr
+
+2011-10-16 18:17  robe
+
+	* upgrade from a1-a3 for topology, beginning of upgrade extension
+	  for postgis -- still need to resolve issue of ALTER EXTENSION not
+	  having a DROP IF EXISTS -- a bit annoying for aggs.
+
+2011-10-14 22:43  robe
+
+	* Move XMin/Max etc out of miscellaneous into accessors -- Per
+	  Pierre's suggestion. Seems more logical.
+
+2011-10-14 22:36  robe
+
+	* Getr di of the word function in heard. Guess it is kind of stupid
+
+2011-10-14 18:11  dzwarg
+
+	* Implemented raster map algebra with user functions/callbacks.
+	  (#860)
+
+2011-10-13 17:54  pramsey
+
+	* Actually we use bash code, not sh code
+
+2011-10-13 12:28  robe
+
+	* Add _ST_Resample -- evidentally arg names changed. also got rid
+	  of arg names in _ST_AsRaster
+
+2011-10-13 11:56  robe
+
+	* Some functions need to be dropped before upgrade minor if they
+	  need to be recreated. This is required for functions where
+	  argument names change but fundamental types do not. Will add this
+	  to upgrade minor script build later.
+
+2011-10-12 14:36  dustymugs
+
+	* Bug fix for _ST_Intersects(geometry, raster) where the buffering
+	  of the intersection could return NULL. This happens if the buffer
+	  was passed zero for the buffer distance.
+
+2011-10-12 12:51  robe
+
+	* move ST_AddBand to raster constructors section per ticket #1240
+	  and rename Raster Band Accessors and Constructors to just Raster
+	  Band Accessors
+
+2011-10-12 11:26  robe
+
+	* another minor correction
+
+2011-10-12 11:18  robe
+
+	* #1241 apply doc_vacuum_analyze_and_I_None_typo.patch
+
+2011-10-11 14:37  strk
+
+	* Typename in type specifier doesn't need to be quoted.
+
+2011-10-11 10:33  strk
+
+	* Ignore more generated files
+
+2011-10-10 20:50  strk
+
+	* Restrict valid spatial_ref_sys SRID values between 1 and 998999
+	  (#1233)
+	  
+	  I guess it'll take some special handling for this change in the
+	  upgrade scripts. I didn't do any with this commit.
+
+2011-10-10 20:38  strk
+
+	* Clamp SRID in typmod parser. Now we get NOTICE/clamp also on
+	  create table.
+
+2011-10-10 20:26  strk
+
+	* Clamp SRID in AddGeometryColumn, update expected topology test
+	  results to expect -1 being transformed to 0 (current official
+	  UNKNOWN SRID value).
+
+2011-10-10 19:25  strk
+
+	* Do not use AddGeometryColumn, to avoid having to write an
+	  explicit unknown SRID value.
+
+2011-10-10 17:50  strk
+
+	* Hush NOTICES in regress test currently not emitting any
+	  (propedeutic for srid clamping in AddGeometryColumn, which is
+	  invoked with SRID=-1 by this testcase)
+
+2011-10-10 07:38  strk
+
+	* Clamp SRID on serialization and deserialization. Raise an error
+	  when clamp_srid receives a number > 999999
+
+2011-10-10 07:35  strk
+
+	* Do not input an explicit value to mean unknown SRID (in raster
+	  test)
+
+2011-10-10 07:20  strk
+
+	* Do not input an explicit value to mean unknown SRID
+
+2011-10-10 06:55  strk
+
+	* Use macros for hard-coded "magic" SRIDs used by _BestSRID and
+	  ST_Transform, use 999xxx range for them. See ticket #1230.
+
+2011-10-07 00:29  dustymugs
+
+	* Added additional error checking and error messages to
+	  ST_SameAlignment function
+
+2011-10-06 23:25  dustymugs
+
+	* minor cleanup and prettiness.
+
+2011-10-06 15:47  dustymugs
+
+	* Make use of clamp_srid function for SRID checks
+
+2011-10-06 14:08  strk
+
+	* Raise a NOTICE when a SRID <= 0 but != SRID_UNKNOWN is converted
+
+2011-10-06 13:35  strk
+
+	* Clamp literal SRID values occurring in WKB and WKT.
+
+2011-10-06 13:35  strk
+
+	* Add clamp_srid internal function returning UNKNOWN for <= 0
+	  values.
+
+2011-10-06 07:18  strk
+
+	* Do not use an explicit SRID=-1 in EKWT. It's not needed.
+
+2011-10-06 06:57  strk
+
+	* Do not use an explicit SRID=-1 in EKWT. It's not needed.
+
+2011-10-05 23:03  dustymugs
+
+	* Implements ST_SameAlignment.
+	  
+	  Associated ticket is #589.
+
+2011-10-05 18:55  dustymugs
+
+	* Fixed --with-gdalconfig parameter as per ticket #1167.
+
+2011-10-05 18:49  dustymugs
+
+	* As per Bryce's comments in ticket #1174, reduce the number of
+	  calculations when doing rt_raster_geopoint_to_cell by using an
+	  inverse geotransform matrix. Unlike the patch attached to the
+	  ticket, this commit does not change the structure of the
+	  rt_raster struct. It may be worth changing the rt_raster struct
+	  eventually, but will cost us the single memcpy when serializing
+	  rt_raster. Also, changes for testing SRID as "unknown" if value
+	  is lte SRID_UNKNOWN (presently 0).
+	  
+	  Associated ticket is #1174.
+
+2011-10-05 04:54  dustymugs
+
+	* Removed hackish use of POSTGIS_GDAL_VERSION in
+	  postgis/sqldefines.h.in and postgis/postgis.sql.in.c. Added
+	  conditional compilation of extent resizing based upon GDAL
+	  version in rt_api.c
+
+2011-10-04 23:32  dustymugs
+
+	* Fixed bug where a call to postgis_full_version causes error if
+	  postgis_gdal_version doesn't exist because raster support is not
+	  included
+
+2011-10-04 23:13  strk
+
+	* don't try to call postgis_gdal_version() if not testing raster
+	  (the signature is unavailable)
+
+2011-10-04 22:38  dustymugs
+
+	* Adds postgis_gdal_version() function as per ticket #1225.
+
+2011-10-04 20:51  dustymugs
+
+	* Changed adjustment of extent by half-pixel to full-pixel for
+	  points and linestrings to ensure compatibility with GDAL 1.6, 1.7
+	  and 1.8. GDAL 1.9 (current trunk) appears to work fine with
+	  half-pixel adjustments.
+
+2011-10-04 20:46  robe
+
+	* add KNN GIST + credits to news release (was already in docs)
+
+2011-10-04 20:43  robe
+
+	* minor correction to <#> description
+
+2011-10-04 19:50  dustymugs
+
+	* For linestrings, use same logic for points where extent is
+	  increased by half a pixel to catch geometries on the edges.
+	  
+	  Associated ticket is #1213
+
+2011-10-04 17:08  strk
+
+	* Do not base availability of SQL ST_Hausdorff* signatures on GEOS
+	  version
+	  
+	  Tested with GEOS from the 3.1 branch (yes, we still support it !)
+
+2011-10-04 16:45  strk
+
+	* Simple review of the topology README. Wasn't that outdated :)
+
+2011-10-04 16:27  strk
+
+	* Do not base availability of SQL isValid* signatures on GEOS
+	  version
+	  
+	  This is a work for the C level library.
+
+2011-10-04 14:33  strk
+
+	* Tweak expected test output to expect unknown srid to be reported
+	  as 0
+	  
+	  If this will change before release, git-revert is our friend
+
+2011-10-04 14:33  strk
+
+	* Make topology.CreateTopology unknown-srid-agnostic (uses ST_Srid
+	  to tell)
+	  
+	  Hopefully this makes the topology code stable during the SRID
+	  fights :)
+
+2011-10-03 15:29  robe
+
+	* Guess Nicklas was right - should have looked at my explain.
+	  Revised example to use geometry constants. Seems to be a
+	  limitation in KNN that it needs constants. Same annoying behavior
+	  with my trigram KNN that only constant phrases work, not even
+	  constant phrases wrapped in alias work.
+
+2011-10-03 10:32  strk
+
+	* Drop more non-ascii dashes, update regress tests (#1226)
+	  [RT-SIGTA]
+	  
+	  There's a still-failing regress test due to SRID 0 being
+	  considered != 1
+
+2011-10-03 10:26  strk
+
+	* Use ASCII dash, not UTF8 one. Fixes #1226. [RT-SIGTA]
+
+2011-10-02 23:38  robe
+
+	* Add in st_valuecount evidentally changed output in 2.0 series
+
+2011-10-02 14:12  dustymugs
+
+	* fixed _st_intersects(raster, geometry, integer) where call to
+	  ST_Intersects was hardcoding the first band of raster instead of
+	  using user-provided nband.
+
+2011-10-02 03:18  robe
+
+	* preliminary logic to build an rtpostgis_upgrade_20_minor.sql
+	  script. Still missing a drop somewhere since my older db doesn't
+	  upgrade because complains about out parameters changed in some
+	  function.
+
+2011-10-01 17:28  dustymugs
+
+	* Fixed installation path of rtpostgis.sql to contrib/postgis-2.0.
+	  Added build of rtpostgis_drop.sql
+	  
+	  Associated ticket is #615
+
+2011-10-01 16:47  robe
+
+	* itemize more removed functions for upgrade purposes
+
+2011-10-01 03:46  robe
+
+	* add very paertinatnet ST_3DDistance reference to ST_3DDwithin
+
+2011-10-01 02:58  robe
+
+	* get rid of obsolete proto, replace with new onesfor
+	  ST_Intersects. Clarify distinctions between raster/goemtry and
+	  geometry/raster operations
+
+2011-09-30 20:03  dzwarg
+
+	* Changed ST_MapAlgebra to ST_MapAlgebraExpr. Also moved around the
+	  pixeltype parameter -- it is no longer optional. Also updated
+	  docs that referred to ST_MapAlgebra. (#860)
+
+2011-09-30 18:34  dzwarg
+
+	* Renamed 'nodatavalueexpr' variable. (#866)
+
+2011-09-30 00:11  dustymugs
+
+	* Updated regression tests to correctly support change of unknown
+	  SRID from -1 to 0.
+
+2011-09-29 19:43  strk
+
+	* Fix distclean rule to drop Makefile too
+
+2011-09-29 19:43  strk
+
+	* Define SHELL (used by LIBTOOL and INSTALL) hopefully helps bug
+	  #1218
+
+2011-09-29 18:53  dustymugs
+
+	* Uncommented include of lwgeom_pg.h in rt_pg.c. Fixed setting SRID
+	  to -1 to SRID_UNKNOWN.
+
+2011-09-29 18:33  dustymugs
+
+	* Changed function ST_Intersects(raster, raster, int, int) to
+	  ST_Intersects(raster, raster). Added additional comments to
+	  rt_raster_geopoint_to_cell().
+	  
+	  Associated ticket is #1212
+
+2011-09-29 10:40  strk
+
+	* Do not incentivate use of SRID=-1 in mapserver examples.
+
+2011-09-29 10:34  strk
+
+	* Do not suggest using "SRID=<unknown>" prefix in EWKT
+
+2011-09-29 07:18  robe
+
+	* start work building unpackaged
+
+2011-09-29 04:05  robe
+
+	* add KNN gist and srid =0 breaking change. Add Vizzuality to
+	  corporate sponsors
+
+2011-09-28 23:59  pramsey
+
+	* Remove gserialized.h define file (actual #define is now
+	  temporarily in liblwgeom.h)
+
+2011-09-28 23:58  pramsey
+
+	* Remove GSERIALIZED_ON from .sql files.
+
+2011-09-28 23:38  pramsey
+
+	* Change "no SRID" SRID to 0 (#286)
+
+2011-09-28 21:56  robe
+
+	* document box distance KNN operator
+
+2011-09-28 15:06  pramsey
+
+	* Make the <-> operator return linear not square units, to match
+	  the <#> operator.
+
+2011-09-28 15:04  pramsey
+
+	* Add box-wise ORDER BY for KNN (#701)
+
+2011-09-28 10:13  strk
+
+	* Image generator also uses LWDEBUG macros... how popular !
+
+2011-09-28 10:05  strk
+
+	* Move LWDEBUG macros in a new lwgeom_log.h header file (see #1220)
+	  
+	  Update all implementation files accordingly.
+	  Fix some misuses out of liblwgeom.
+	  Add missing copyright notices in a few files.
+
+2011-09-27 23:29  robe
+
+	* merge postgis and raster into a single extension called
+	  "postgis", revise postgis_topology control to depend on this new
+	  extension
+
+2011-09-27 23:28  robe
+
+	* more drop of functions that changed signature
+
+2011-09-27 17:35  robe
+
+	* clarify current implementation is centroid of box not the
+	  geometry.
+
+2011-09-27 15:33  strk
+
+	* Drop duplicated geometry_out definition
+
+2011-09-27 05:09  robe
+
+	* correct the description on semantics of knn operator
+
+2011-09-27 03:40  dustymugs
+
+	* Removed ST_Intersects(raster, int, raster, int) version of two
+	  raster ST_Intersects.
+	  
+	  Associated ticket is #1212
+
+2011-09-27 03:15  robe
+
+	* wrap examples in cdata tags so don't break parser
+
+2011-09-27 02:58  robe
+
+	* document new knn gist operator -- example mostly plagiarized from
+	  Paul's postgis-devel example with addition of care consideration
+	  of safe casting and SQL formatting. I know I'm getting lazy in my
+	  old age.
+
+2011-09-27 02:22  robe
+
+	* preliminary work on drop deprecated functions. Not tied into
+	  anything yet.
+
+2011-09-27 02:09  robe
+
+	* get rid of obslete protos for ST_Intersects and revise
+	  description to describe new semantics of raster st_intersects
+
+2011-09-27 01:55  robe
+
+	* put in svn keywords and forcce to LF
+
+2011-09-26 21:05  pramsey
+
+	* Wrap <-> distance ordering into a PgSQL 9.1+ block.
+
+2011-09-26 20:39  pramsey
+
+	* Add support for KNN-GiST ops. First cut only, much testing
+	  required. (#701)
+
+2011-09-26 14:25  strk
+
+	* Don't use the same name for input parameter and returned table
+	  description.
+	  
+	  Hopefully fixes ticket #1210 [RT-SIGTA]
+
+2011-09-26 06:29  robe
+
+	* document ST_Intersects(rasta,rastb,nbanda,nbandb) -- left out
+	  ST_Intersects(rasta,nbanda,rastb,nbandb) - that one offends my
+	  senses.
+
+2011-09-25 20:37  robe
+
+	* add missing geos flag to let it make check under mingw
+
+2011-09-25 14:48  dustymugs
+
+	* Removed unnecessary typedef for fmin and fmax on windows.
+	  Possible fix to #1207.
+
+2011-09-24 19:05  dustymugs
+
+	* Tweaks to makefiles due to linker symbol errors in OSX. Hopefully
+	  this can also resolve the issue with #1207.
+
+2011-09-23 22:00  robe
+
+	* Add killer sed command to create a topology upgrade minor script
+	  from topology.sql. Also change release version to 2.0.0a1 since
+	  we haven't released yet. This will build a script to upgrade our
+	  mislabeled 2.0.0 to 2.0.0a1
+
+2011-09-23 19:58  robe
+
+	* #1209: redundant constraint chk_statefp on loading edges.
+
+2011-09-23 19:21  strk
+
+	* Update topology functions status. We've completed the SQL/MM set
+	  !
+
+2011-09-23 19:21  strk
+
+	* Implement topology.ST_CreateTopoGeo (#1190) [RT-SIGTA]
+	  
+	  Includes regress testing and documentation update
+
+2011-09-22 15:07  dustymugs
+
+	* Further tweaks to rt_raster_gdal_rasterize to correctly handle
+	  auto-computed extents of multipoints. Addition of ST_Intersects
+	  for two rasters. Refactored the one raster and one geometry
+	  version of ST_Intersects.
+	  
+	  Associated ticket is #1176
+
+2011-09-22 14:06  strk
+
+	* Make face creation order predictable in ST_AddEdgeNewFaces
+	  (#1205)
+	  
+	  Always create the face on the right first [RT-SIGTA]
+
+2011-09-22 09:14  strk
+
+	* Add notes and TODO items about the edge-adding functions
+	  [RT-SIGTA]
+	  
+	  See ticket #1205
+
+2011-09-22 07:22  strk
+
+	* Reduce noice produced by ST_AddEdgeModFace at NOTICE level
+	  [RT-SIGTA]
+
+2011-09-21 10:34  strk
+
+	* Don't wrap prepared geom implementation in a conditional macro
+	  
+	  These kind of full-disabling should be done at Makefile level...
+
+2011-09-21 09:50  strk
+
+	* Add header guards to geos headers, move GEOS_PREPARED define to
+	  the implementation file, add missing copyright header.
+
+2011-09-21 07:32  strk
+
+	* Make RemEdgeModFace symmetric to AddEdgeModFace about face
+	  retention
+	  
+	  Save the face on the right, so that running:
+	  ST_RemEdgeModFace(name, ST_AddEdgeModFace(name, ...))
+	  ... will not modify the topology.
+	  [RT-SIGTA]
+
+2011-09-21 03:29  robe
+
+	* move args to same line as func so extensions unpackaged adds them
+	  correctly will ahve to come up with a better way of doing this.
+
+2011-09-21 03:28  robe
+
+	* makr postgis_core as required. Admittedly this will go away once
+	  we merge postgis_core and raster. Doing this gets rid of issues
+	  with raster not being able to find geometry etc if installed in
+	  separate schema from postgis_core
+
+2011-09-21 03:23  robe
+
+	* more changes to properly utilize extenions model, 1 remove create
+	  schema since extesnion creates it if not present, in control file
+	  designate postgis_core is required so create adds it to search
+	  path, more cleanup for unpackaged
+
+2011-09-21 02:14  robe
+
+	* pick up table, type, trigger, and schemas in unlogged add
+
+2011-09-20 16:47  robe
+
+	* get rid of linebreaks in function arg list so unpackaged builder
+	  works, fix logical error in sed expression
+
+2011-09-20 15:49  robe
+
+	* preliminary logic to build install from unpackaged file
+
+2011-09-20 15:21  strk
+
+	* Implement ST_RemEdgeModFace (#1189) [RT-SIGTA]
+	  
+	  Include regress testing and documentation.
+
+2011-09-19 21:28  dustymugs
+
+	* additional code cleanup of rt_raster_gdal_rasterize
+
+2011-09-19 16:53  strk
+
+	* Have ST_RemEdgeNewFace return NULL when no face is created
+	  [RT-SIGTA]
+	  
+	  This is to match the ISO spec more closely. Docs and regress test
+	  updated.
+
+2011-09-19 14:17  strk
+
+	* Fix ST_Estimated_Extent by correctly interpret histogram box
+	  (#1200)
+
+2011-09-19 06:40  strk
+
+	* TopologySummary: do not count the universe face in the face count
+
+2011-09-19 06:40  strk
+
+	* ST_InitTopoGeo: use named argument, drop trailing space from
+	  return text
+
+2011-09-18 15:51  robe
+
+	* #1202 -- also fixed issue with when typ mod application fails
+	  (because of mixed geometries) to properly catch error and raise
+	  warning instead of throw error.
+
+2011-09-18 15:04  robe
+
+	* fix typo in warning
+
+2011-09-18 14:56  robe
+
+	* #1201 don't error out when populate_geometry_columns is called on
+	  an empty table, just provide warning and don't do anything.
+	  Exclude raster_columns from populate_geometry_columns inspection.
+
+2011-09-17 19:59  pramsey
+
+	* shp2pgsql gui wrong use of create spatial index (#1091)
+
+2011-09-17 07:58  strk
+
+	* Typo in testcase label
+
+2011-09-17 07:10  strk
+
+	* Typo
+
+2011-09-17 06:58  strk
+
+	* Minor inline documentation updates
+
+2011-09-17 06:46  strk
+
+	* Implement ST_RemEdgeNewFace (#1188) [RT-SIGTA]
+	  
+	  Includes regress testing and documentation.
+
+2011-09-16 13:32  dustymugs
+
+	* fixups and code cleanups for the rt_raster_gdal_rasterize to
+	  better handle point and linestring geometries
+
+2011-09-15 20:43  robe
+
+	* more cleanup and put in logic to also install in database help
+	  descriptors
+
+2011-09-15 20:05  robe
+
+	* fix invalid st_summarystats proto
+
+2011-09-15 18:35  robe
+
+	* now topology installs can get rid of error note.
+
+2011-09-15 18:33  robe
+
+	* postgis_topology extension now installing right. Had to get rid
+	  of ALTER TABLE .. hasz and merge it into the CREATE TABLE since
+	  that was the culprit causing extension install error
+
+2011-09-15 13:57  robe
+
+	* more cleanup -- this time no more errors when installing
+
+2011-09-15 08:40  robe
+
+	* Support for PostgreSQL 9.1 CREATE EXTENSION syntax
+
+2011-09-14 15:37  robe
+
+	* change & to html equivalent entity
+
+2011-09-14 15:24  robe
+
+	* provide real world examples of how to use CreateTopoGeom
+
+2011-09-14 14:55  robe
+
+	* more fixes
+
+2011-09-14 14:51  robe
+
+	* put in new timings. After speed fix loading is 3 times faster
+
+2011-09-14 14:02  robe
+
+	* fix typo and create another link reference
+
+2011-09-14 12:14  pracine
+
+	* Commented some queries so that the file can be executed to load
+	  the functions.
+
+2011-09-14 07:02  robe
+
+	* drop populate_geometry_columns version that just takes oid. Has
+	  bene replaced with versoin that takes default arg use_typmod
+
+2011-09-13 18:52  strk
+
+	* Re-enable accidentally disabled prepared geoms. Fixes bug #1165.
+
+2011-09-13 18:47  chodgson
+
+	* Added some diagrams to the st_overlaps docmentation
+
+2011-09-13 03:51  robe
+
+	* fix for #1158 can't compile 8.4 under mingw windows
+
+2011-09-12 16:02  strk
+
+	* Handle db initialization errors earlier
+
+2011-09-12 04:56  robe
+
+	* make topoelementarray examples make more sense
+
+2011-09-12 04:44  robe
+
+	* put in more description about what type id means
+
+2011-09-11 02:42  robe
+
+	* Link several functions back to new Topology_Load_Tiger since that
+	  demonstrates use of these functions
+
+2011-09-10 14:09  robe
+
+	* minor wording changes and reference to configuration part of
+	  documentation
+
+2011-09-10 13:52  robe
+
+	* fix typo link to tiger topology loader
+
+2011-09-10 12:43  strk
+
+	* Fix "no ID for constraint linkedn: Create_Topology" error
+
+2011-09-10 11:49  strk
+
+	* Honour DESTDIR in documentation Makefile. Patch by Bryce L
+	  Nordgren.
+	  
+	  See ticket #1184
+
+2011-09-10 06:43  robe
+
+	* Document tiger to postgis topology loader and revise scripts to
+	  install the new function. also some additional minor fixes
+
+2011-09-10 05:35  robe
+
+	* save as UTF-8
+
+2011-09-10 05:11  robe
+
+	* Alas a load with no topology validation errors. Fix remaining
+	  issues with missing loading of some edges of faces
+
+2011-09-10 02:49  robe
+
+	* get rid of superfluous junk
+
+2011-09-09 14:47  robe
+
+	* example of how to get actual edge geometries
+
+2011-09-09 14:06  robe
+
+	* revise to snap points to topology precision, also set edge
+	  left/right face to 0 if null (world face). ValidateTopology now
+	  reports 25 errors instead of 484 errors (what it did before)
+
+2011-09-08 19:18  robe
+
+	* revise to transform to spatial reference system of target
+	  topology
+
+2011-09-08 16:47  robe
+
+	* more changes to add missing edges
+
+2011-09-08 14:36  robe
+
+	* more minor corrections
+
+2011-09-08 14:23  robe
+
+	* #1181 TopologySummary is broken causing ambiquous reference.
+	  Changed to have local variable be called var_topology_id so
+	  doesn't conflict with table column topology_id
+
+2011-09-08 08:06  robe
+
+	* logic to load in edges marking those with orphaned next_left,
+	  next_right to -neg of itself
+
+2011-09-07 17:13  robe
+
+	* more typo corrections
+
+2011-09-07 14:57  robe
+
+	* more typos
+
+2011-09-07 14:55  robe
+
+	* fix typo
+
+2011-09-07 14:54  robe
+
+	* more work on tiger topology loader -- revised to use temp table.
+
+2011-09-07 13:58  dustymugs
+
+	* Updated expected output due to change in message
+
+2011-09-06 21:01  robe
+
+	* correct some mistatements about export functions
+
+2011-09-06 20:10  dustymugs
+
+	* Fixed ST_AsPNG to allow rasters with four bands as that becomes a
+	  RGBA PNG image.
+
+2011-09-06 16:40  robe
+
+	* fix typos
+
+2011-09-06 16:24  robe
+
+	* more examples
+
+2011-09-06 08:07  robe
+
+	* minor indentation fix
+
+2011-09-06 08:07  robe
+
+	* document st_resample - still need to put in examples
+
+2011-09-06 07:25  robe
+
+	* get rid of transparency -- transparency turning to black in pdf
+	  format
+
+2011-09-06 06:56  robe
+
+	* Add another example with pictures
+
+2011-09-06 02:11  robe
+
+	* Move ST_AsRaster and ST_Band to raster contructor section
+
+2011-09-05 15:44  robe
+
+	* revmoe history table out of docs for now
+
+2011-09-04 02:50  robe
+
+	* fix typo
+
+2011-09-02 19:46  robe
+
+	* Put in creative commons license stamp
+
+2011-09-02 01:54  dustymugs
+
+	* Added optimizations and shortcuts for
+	  rt_band_get_quantiles_stream
+
+2011-09-01 14:58  robe
+
+	* revise to return first part of street number e.g. 112-345 -> 112
+
+2011-09-01 12:35  robe
+
+	* revise so works under 8.4 evidentially in 8.4 INTO USING clauses
+	  are not interchangeable but they are in later versions
+
+2011-09-01 11:41  robe
+
+	* fill in missing tag
+
+2011-09-01 09:00  robe
+
+	* more finetuninng of street offset to consider non-straight tlids
+
+2011-08-31 14:54  robe
+
+	* #1052 update doco to reflect change in behavior.
+
+2011-08-31 14:53  robe
+
+	* #1052 -- instead of placing geocoded point at center line, offset
+	  it 10 meters to the correct odd/even (L / R utilizing addr.side
+	  field). May later change this to allow the user to specify the
+	  offset amount.
+
+2011-08-31 07:06  strk
+
+	* With libtool for loader/dumper there's no need to stage-install
+	  them
+	  
+	  Fixes ticket #1177 [RT-SIGTA]
+
+2011-08-29 16:02  robe
+
+	* fill in missing protos for ST_AsRaster
+
+2011-08-29 15:23  strk
+
+	* Dynamically link loader and dumper to liblwgeom [RT-SIGTA]
+	  
+	  This reduces each of the 3 installed executable sizes by 547 Kb.
+
+2011-08-29 14:45  strk
+
+	* Use libtool to link liblwgeom unit tester (helps testing the
+	  shared library)
+
+2011-08-27 17:16  dustymugs
+
+	* fixed improperly commented-out RAISE DEBUG statement for
+	  AddRasterColumn function.
+	  
+	  Associated ticket is #1175.
+
+2011-08-26 14:47  dustymugs
+
+	* Added solaris define for UNIX using patch provided by rroliver.
+	  
+	  Associated ticket is #1171.
+
+2011-08-26 00:04  dustymugs
+
+	* Tweaked memory allocation in RASTER_quantileCoverage.
+
+2011-08-25 23:23  dustymugs
+
+	* Fixed the function rt_band_get_summary_stats rt_core/rt_api.c to
+	  correctly handle the situation where a band's values are all
+	  nodata
+
+2011-08-25 18:39  dustymugs
+
+	* Removed "WITH OIDS" from raster table creation.
+
+2011-08-25 18:18  dustymugs
+
+	* Fix error of unknown symbol gidx_to_string when building with the
+	  flags --with-raster --enable-debug using patch
+	  gidx_to_string.patch provided by bnordgren.
+	  
+	  Associated ticket is #1161
+
+2011-08-25 14:44  dustymugs
+
+	* Fixed the problem where having configure detect that GDAL has the
+	  GDALFPolygonize function does not cause the code to use
+	  GDALFPolygonize. This is due to the macro GDALFPOLYGONIZE not
+	  being set anywhere. So, it is now being set in raster_config.h.in
+	  and included in rt_core/rt_api.h. Had to update testapi.c as the
+	  geometries generated differ depending on whether or not
+	  GDALFPolygonize is used.
+	  
+	  Associated ticket is #650
+
+2011-08-25 11:33  robe
+
+	* provide better example and images to complement. Also note that
+	  ST_AsRaster doesn't yet work with newer geometries
+
+2011-08-24 22:31  pramsey
+
+	* Added in gettext headers to allow compilation under osx with
+	  iconv
+
+2011-08-24 19:20  robe
+
+	* cleanup formatting a bit on ST_AsRaster example
+
+2011-08-24 17:40  dustymugs
+
+	* Added DESTDIR so that raster2pgsql.py is installed in the
+	  user-specified path
+
+2011-08-24 16:08  robe
+
+	* Provide some examples for using ST_AsRaster. This function is way
+	  cool.
+
+2011-08-24 15:23  dustymugs
+
+	* Inclusion of missing ST_PixelWidth and ST_PixelHeight functions
+	  and regression tests.
+	  
+	  Associated ticket is #928
+
+2011-08-23 22:41  dustymugs
+
+	* Refactored ST_ValueCount and ST_ValuePercent to be a C function
+	  rather than a plpgsql function.
+
+2011-08-22 21:24  robe
+
+	* #997 put in correct codes for non-state us territories
+
+2011-08-21 03:34  robe
+
+	* #1158 add proj flags to fix mingw test issue
+
+2011-08-20 21:17  strk
+
+	* Put PG_MODULE_MAGIC in raster and postgis source files rather
+	  than in libpgcommon. Should fix the mingw build. See ticket
+	  #1158.
+
+2011-08-20 21:08  strk
+
+	* Use PROJ cflags when building raster module (see #1158)
+
+2011-08-20 17:51  dustymugs
+
+	* More fixups for the quantile coverage function. Fixes segfault
+	  that seems to only occur on OSX.
+
+2011-08-20 16:43  strk
+
+	* Drop duplicated typedef [RT-SIGTA]
+
+2011-08-20 15:55  strk
+
+	* Install liblwgeom.h under a sensible location... [RT-SIGTA]
+
+2011-08-20 15:43  strk
+
+	* Move gserialized_gist to libpgcommon fixing a circular dependency
+	  between libpgcommon and liblwgeom, put libpgcommon _after_
+	  liblwgeom in pg modules link lines, drop duplicated
+	  lwgeom_init_allocators and PG_MODULE_MAGIC from raster module
+	  (they are in libpgcommon already). Includes patch in #1161.
+	  [RT-SIGTA]
+
+2011-08-20 00:54  dustymugs
+
+	* Corrected incorrect function usage
+
+2011-08-19 22:57  dustymugs
+
+	* Added forgotten explicit freeing of memory and some code cleanup
+
+2011-08-19 19:08  dustymugs
+
+	* Adds coverage table version of ST_Quantile and ST_ApproxQuantile.
+	  Function implemented using the algorithm discussed in
+	  
+	  A One-Pass Space-Efficient Algorithm for Finding Quantiles (1995)
+	  by Rakesh Agrawal, Arun Swami
+	  in Proc. 7th Intl. Conf. Management of Data (COMAD-95)
+	  http://www.almaden.ibm.com/cs/projects/iis/hdb/Publications/papers/comad95.pdf
+	  
+	  Also refactored the regression test for rt_histogram due to
+	  unnecessary columns in output
+
+2011-08-19 14:04  dustymugs
+
+	* Commit of patch provided by David Zwarg in #482 adding the
+	  functions ST_SetRotation, ST_Rotation, ST_PixelHeight and
+	  ST_PixelWidth.
+	  
+	  Associated tickets are #482, #928, #929 and #936
+
+2011-08-19 10:12  strk
+
+	* Include version in liblwgeom.h [RT-SIGTA]
+	  
+	  Closes ticket #1164
+
+2011-08-19 09:34  strk
+
+	* Drop (u)int32 and uchar in favor of C99 standard int types
+	  [RT-SIGTA]
+	  
+	  This commit drops PostgreSQL references in liblwgeom.h (C_H
+	  define)
+	  and hopefully reduces the noise generated by custom symbols.
+
+2011-08-19 09:30  strk
+
+	* Don't use problematic int types for no reason...
+
+2011-08-19 08:16  strk
+
+	* Install liblwgeom on 'make install' [RT-SIGTA]
+	  
+	  Uses liblwgeom.h as the API header for liblwgeom.
+
+2011-08-19 07:55  strk
+
+	* Move SQL-exposed functions out of libpgcommon (#1163).
+
+2011-08-16 13:19  robe
+
+	* more clarification of behavior change in 2.0 of bbox storage
+
+2011-08-16 12:51  robe
+
+	* #1160: documentation clarification of behavior
+
+2011-08-16 09:47  strk
+
+	* Move NO_*_VALUE from liblwgeom.h to liblwgeom_internal.h
+	  [RT-SIGTA]
+
+2011-08-16 09:25  strk
+
+	* Move DIST_MAX and DIST_MIN from liblwgeom.h to
+	  liblwgeom_internal.h (weird values, btw) [RT-SIGTA]
+
+2011-08-16 09:15  strk
+
+	* Honour DISTDIR when installing liblwgeom. Drop the finish call as
+	  it may require root privileges on some systems [RT-SIGTA].
+
+2011-08-15 22:43  dustymugs
+
+	* Removed unnecessary code from rt_band_get_summary_stats. Fixed
+	  incorrect comment for rt_band_get_value_count.
+
+2011-08-15 11:36  strk
+
+	* Use proper PROJ4 flags when linking against liblwgeom. See ticket
+	  #1158. [RT-SIGTA]
+
+2011-08-14 19:47  strk
+
+	* Fix for missing include directory on Mingw (#1158). Thanks Bryce
+	  Nordgren.
+
+2011-08-14 12:39  robe
+
+	* #1071: Logic to mark nodes that are contained in a face
+
+2011-08-14 12:32  robe
+
+	* #1071 - start work on tiger PostGIS topology loader
+
+2011-08-13 18:10  dustymugs
+
+	* Consolidated various struct declarations from rt_api.c into
+	  rt_api.h as these structs are duplicatively redeclared in rt_pg.c
+	  and testapi.c
+
+2011-08-13 10:06  strk
+
+	* Second attempt at libtool usage. Seems better to me now.
+	  PostGIS clients still all use the static version of the library.
+	  Libraries are not installed by default.
+	  [RT-SIGTA]
+
+2011-08-13 09:02  strk
+
+	* Drop unused code
+
+2011-08-13 02:01  robe
+
+	* #1156 incorporate suggestions from forkandwait
+
+2011-08-12 19:18  strk
+
+	* Move lwproj_from_string from libpgcommon to liblwgeom [RT-SIGTA]
+
+2011-08-12 17:57  strk
+
+	* liblwgeom/cunit also needs PROJ_CPPFLAGS
+
+2011-08-12 17:55  strk
+
+	* Rename make_project to lwproj_from_string, ready to be moved to
+	  liblwgeom [RT-SIGTA]
+
+2011-08-12 17:42  strk
+
+	* Even generator.c will need proper proj cflags now..
+
+2011-08-12 17:37  strk
+
+	* loader also includes liblwgeom.h, thus wants PROJ cpp flags
+
+2011-08-12 17:33  strk
+
+	* Use PROJ4 C flags, see if this makes Hudson happy.
+
+2011-08-12 17:26  strk
+
+	* Copyright review on lwgeom_pg.{c,h} files
+
+2011-08-12 17:25  strk
+
+	* Make transformation and projection cache API available (ticket
+	  #1053)
+
+2011-08-12 10:12  strk
+
+	* Drop unused macros CARTESIAN and GEODETIC from liblwgeom.h
+
+2011-08-12 10:11  strk
+
+	* Snap and SharedPaths are both direct GEOS proxies, not extra
+	  [RT-SIGTA]
+
+2011-08-12 09:11  strk
+
+	* Export lwgeom_sharedpaths to liblwgeom, and fix exception message
+	  [RT-SIGTA]
+
+2011-08-11 21:01  dustymugs
+
+	* Rewrote the code for the coverage table versions of
+	  ST_SummaryStats and ST_Histogram. So instead of plpgsql, it is
+	  now in C within rt_pg/rt_pg.c
+
+2011-08-11 16:35  robe
+
+	* change reverse_geocode back to using addr table and also use
+	  cousub for location
+
+2011-08-11 08:04  strk
+
+	* Fix leftover PARSER_CHECK reference (thanks Hudson) [RT-SIGTA]
+
+2011-08-11 08:04  strk
+
+	* Export lwgeom_split to liblwgeom, const-correct it [RT-SIGTA]
+
+2011-08-11 07:52  strk
+
+	* Export lwgeom_snap to liblwgeom [RT-SIGTA]
+
+2011-08-11 07:51  strk
+
+	* Give PARSER_CHECK macros an LW_ prefix [RT-SIGTA]
+
+2011-08-11 07:50  strk
+
+	* Fix parser documentation [RT-SIGTA]
+
+2011-08-10 23:16  pramsey
+
+	* Match style of liblwgeom.h include guard
+
+2011-08-10 22:43  pramsey
+
+	* Little checks in clean_wkt_out_suite
+
+2011-08-10 22:28  pramsey
+
+	* Remove old WKB/WKT parsers and generators and switch all internal
+	  references remaining (mostly in cunit) over to the new
+	  implementations.
+
+2011-08-09 16:56  strk
+
+	* Export lwgeom_makevalid to liblwgeom [RT-SIGTA]
+
+2011-08-09 16:05  strk
+
+	* Add GEOS entry points in liblwgeom.h (public API) [RT-SIGTA]
+
+2011-08-09 15:43  strk
+
+	* Add some documentation about parsing [RT-SIGTA]
+
+2011-08-09 15:43  strk
+
+	* Mark "chip" functions for deletion
+
+2011-08-09 15:12  strk
+
+	* Drop REPEATED_POINTS_* and SPLICE_* defines from liblwgeom.h,
+	  move MAXFLOAT to liblwgeom_internal.h [RT-SIGTA]
+
+2011-08-09 14:54  robe
+
+	* make eol for all rfcs be LF so our unix brethren can edit them
+	  without fuss
+
+2011-08-09 14:19  strk
+
+	* Move floating points comparator macros from liblwgeom.h to
+	  liblwgeom_internal.h (not prefixed symbols) [RT-SIGTA]
+
+2011-08-09 09:51  strk
+
+	* Don't include liblwgeom.h from headers if not needed, document
+	  what is it needed for in implementation files [RT-SIGTA]
+
+2011-08-09 09:50  strk
+
+	* Clean up gui as well
+
+2011-08-09 08:28  strk
+
+	* Drop CHIP type and any reference to it [RT-SIGTA]
+
+2011-08-09 05:52  robe
+
+	* strk's patch fix for #1155
+
+2011-08-08 10:11  strk
+
+	* Encode more deps
+
+2011-08-08 09:56  strk
+
+	* Const-correct some GEOS functions in liblwgeom fixing pending
+	  memory errors when overlaying empty and non-empty geometries (not
+	  exploited by testing) [RT-SIGTA]
+
+2011-08-08 09:27  strk
+
+	* Move getMachineEndian() and error_if_srid_mismatch() from
+	  liblwgeom.h to liblwgeom_internal.h
+
+2011-08-08 08:59  strk
+
+	* Put PG_LWGEOM stuff where it belongs (out of liblwgeom)
+	  [RT-SIGTA]
+
+2011-08-06 18:42  strk
+
+	* Include postgis_config.h to find POSTGIS_VERSION and
+	  stringbuffer.h when needed
+
+2011-08-06 18:17  strk
+
+	* Reduce number of includes from liblwgeom.h (closest header to a
+	  public API).
+	  Update other files accordingly. [RT-SIGTA]
+
+2011-08-06 18:03  strk
+
+	* Fix dependency referencing dropped rule [RT-SIGTA]
+
+2011-08-06 18:01  strk
+
+	* Add static library to {,un}install-liblwgeom rules [RT-SIGTA]
+
+2011-08-06 17:48  strk
+
+	* Re-drop use of libtool (more troubles than help).
+	  Stub a rule to build and install a shared liblwgeom.
+	  [RT-SIGTA].
+
+2011-08-06 16:18  strk
+
+	* Re-introduce numerical flags in building "NM" objs [RT-SIGTA]
+
+2011-08-06 15:12  strk
+
+	* Use libtool to build liblwgeom. Still only static. [RT-SIGTA]
+
+2011-08-06 09:47  strk
+
+	* Use GEOS compiler and linker flags for liblwgeom, add
+	  lwgeom_geos_noop and cunit test for it (to confirm linking works,
+	  and it does) [RT-SIGTA]
+
+2011-08-06 09:46  strk
+
+	* Add lwgeom_buildarea to liblwgeom [RT-SIGTA]
+
+2011-08-06 09:46  strk
+
+	* Add GEOS spatial operations to liblwgeom (ticket #1050)
+	  [RT-SIGTA]
+
+2011-08-05 12:45  robe
+
+	* Another minor check
+
+2011-08-04 15:03  robe
+
+	* Update hard upgrade to include use of
+	  legacy_compatibility_layer.sql
+
+2011-08-03 15:01  robe
+
+	* Create new legacy compatibility layer script which will install
+	  the absolute minimal to restore an old postgis database. Also got
+	  rid of srid function and moved to legacy compatibility layer.
+	  Still need to test with a restore.
+
+2011-08-03 12:14  robe
+
+	* some typo cleanup
+
+2011-08-03 05:00  robe
+
+	* Make more efficient the case when no state or city is provided
+	  but zip is provided.
+
+2011-08-03 03:51  robe
+
+	* document new drop_indexes_generate_script function
+
+2011-08-03 02:06  robe
+
+	* Major rework to improve speed, selectivity, and additional
+	  regress. Also added some indexes and removed some -- should solve
+	  #1145, #1148, and #1131 (should be about 60% faster for most
+	  cases and in some as much as 20 times faster). Better performance
+	  if you set max results = 1. Some other minor cleanup.
+	  documentation of new management helper functions coming next.
+
+2011-08-02 06:33  robe
+
+	* Add link to Sandro's topology Paris 2011 slides in summary of
+	  topology reference section
+
+2011-07-28 18:56  strk
+
+	* Use strcpy rather than strncpy, simpler and less error-prone
+
+2011-07-28 18:43  strk
+
+	* Give strncpy enough space to write a terminating null. Thanks
+	  gengor for the patch.
+
+2011-07-27 19:21  robe
+
+	* minor updates to ST_MakeLine to clarify pre-9.0 and 9.0+
+	  approaches
+
+2011-07-27 11:55  robe
+
+	* 1 more change
+
+2011-07-27 11:54  robe
+
+	* fix typo
+
+2011-07-27 11:52  robe
+
+	* example of using new PostgreSQL 9.0+ ORDER BY aggregate feature
+	  for ST_MakeLine
+
+2011-07-26 15:39  robe
+
+	* more examples for ST_Offsetcurve
+
+2011-07-26 14:30  robe
+
+	* fix typo
+
+2011-07-26 14:29  robe
+
+	* remove left and right notes until I have arrows. not embarrass
+	  myself with my directional dyslexia.
+
+2011-07-26 05:37  robe
+
+	* Start work documenting ST_AsRaster
+
+2011-07-25 15:53  robe
+
+	* reduce spacing more
+
+2011-07-25 15:52  dustymugs
+
+	* Addition of ST_AsRaster function to provide the ability to
+	  convert geometries into rasters.
+	  
+	  Associated ticket is #1141.
+
+2011-07-25 14:20  robe
+
+	* another typo
+
+2011-07-25 14:10  robe
+
+	* fix coloring to agree with color of other examples
+
+2011-07-25 14:08  robe
+
+	* reduce width of table cells -- ST_OffsetCurve
+
+2011-07-25 14:04  robe
+
+	* redo all examples so they fit in the 0 0 200 200 grid
+
+2011-07-25 13:44  robe
+
+	* fix some typos and grid more to fix
+
+2011-07-25 12:18  robe
+
+	* get rid of semicolons
+
+2011-07-25 12:13  robe
+
+	* need more pictures :), visual examples for st_offsetcurve
+
+2011-07-24 08:15  robe
+
+	* update ST_MapAlgebra to agree with implementation (got rid of
+	  bosolete proto and example and replaced with new example
+
+2011-07-23 21:42  strk
+
+	* Be terse, we don't care about context. Closes ticket #1142.
+
+2011-07-23 21:34  strk
+
+	* Set 'C' collation when creating regress database. See #1140.
+
+2011-07-22 20:20  pracine
+
+	* Added a note saying that those function now have a C
+	  implementation. Many TABs converted to spaces.
+
+2011-07-22 20:05  pracine
+
+	* -Fix for #645.
+	  -Replaced min and max with LEAST and GREATEST
+	  -Adaptation to ST_SetBandNodataValue()
+
+2011-07-22 19:38  pracine
+
+	* Fix for ticket #969. Removed conflicting function variant.
+
+2011-07-22 19:31  pracine
+
+	* -Addaptation to new two rasters ST_MapAlgebra in which
+	  nodatavalue expressions are text and now accept a
+	  nodatanodatavalueexpr.
+	  -Added RANGE as a predefined expression.
+
+2011-07-22 19:29  pracine
+
+	* Modified comment on further enhancements.
+
+2011-07-22 19:28  pracine
+
+	* -Fix for ticket #644. Removed all variants.
+	  -Fixed the two rasters version.
+	  -Added some tests.
+	  -Added ST_MinPossibleVal().
+	  -Determine new nodata value AFTER determining the new pixeltype.
+	  -Replaced ST_SetBandHasNodataValue with
+	  ST_SetBandNodataValue(rast, NULL).
+	  -Added implementation of two rasters overlay operations using the
+	  two raster MapAlgebra.
+
+2011-07-21 17:31  dustymugs
+
+	* Cleaned the grid alignment code to remove unnecessary cruft in
+	  rt_raster_gdal_warp
+
+2011-07-21 16:20  dustymugs
+
+	* Fixed floating point issue with the remainder returned from the
+	  function modf in rt_api.c. Updated messages in rt_pg.c. Corrected
+	  expected regression results in rt_resample_expected.
+	  
+	  Associated ticket is #1114
+
+2011-07-20 19:53  strk
+
+	* Improve testsuite predictability (#1135)
+
+2011-07-19 22:20  dustymugs
+
+	* Bug fix of deallocating array using wrong index variable
+
+2011-07-18 23:39  dustymugs
+
+	* Fixed width and height values expected.
+
+2011-07-18 23:29  dustymugs
+
+	* - tweaked the rt_resample regression test to use SRIDs under
+	  1000000
+	  - changed the computation of width and height when aligning to a
+	  grid
+
+2011-07-18 04:44  robe
+
+	* Fix datatype of tlid on edges table. Other tables with tlid are
+	  set to bigint. This one set to numeric(10). Still revising my
+	  tables to determine what impact this has in utilizing the
+	  existing indexes
+
+2011-07-17 17:39  robe
+
+	* Limit edge and featnames search to just road / street types
+
+2011-07-17 17:02  robe
+
+	* more regress tests for reverse_geocode
+
+2011-07-17 16:46  robe
+
+	* simplify logic by getting rid of addr join. Speed improved
+	  slightly
+
+2011-07-17 16:11  robe
+
+	* enhancements to support reverse geocoding of highway locations.
+	  Also add reverse geocode regress tests
+
+2011-07-16 04:19  robe
+
+	* #1125 have highway designations print in front of streetname
+	  instead of after
+
+2011-07-15 21:07  dustymugs
+
+	* Minor comment updates to correct details
+
+2011-07-15 06:40  robe
+
+	* revise ratings to minimize numberes steetss from matching highly
+	  with interstate routes. Also glue on pretype abrv (which are
+	  technically street types) to front of street name in normalize
+	  output so that highways print correctly as e.g. State Hwy 10 etc.
+
+2011-07-15 05:31  robe
+
+	* Add in common abbreviation RT to map to Rte and test case to
+	  regress to test
+
+2011-07-14 20:11  dustymugs
+
+	* Code refactored for RASTER_dumpWKTPolygons to use same mechanisms
+	  for resultset generation (Datums instead of CStrings) as
+	  RASTER_metadata and other functions.
+	  
+	  SQL functions refactored to use one call to ST_Metadata for
+	  attributes rather than separate/multiple calls to ST_Skew*,
+	  ST_Scale*, ST_UpperLeft*.
+
+2011-07-14 14:54  dustymugs
+
+	* Refactored functions returning sets to use Datums instead of C
+	  strings, which were causing rounding issues particularly for
+	  ST_Metadata. This refactoring affected RASTER_metadata,
+	  RASTER_bandmetadata, RASTER_summarystats, RASTER_histogram,
+	  RASTER_quantile, RASTER_valuecount and RASTER_gdaldrivers.
+	  
+	  Also refactored the ST_Raster2World* and ST_World2Raster*
+	  functions to get the raster's metadata in one call using
+	  ST_Metadata rather than individual calls for the georeference
+	  components
+
+2011-07-14 11:47  robe
+
+	* add make tiger_geocoder_comments.sql to build script
+
+2011-07-14 11:32  robe
+
+	* Start work on PostgreSQL in db help for geocoder
+
+2011-07-14 11:13  robe
+
+	* document the install_missing_indexes function that is used as
+	  part of the upgrade process
+
+2011-07-14 07:45  robe
+
+	* #1113 take into consideration street prequals like Old in rating
+	  and filtering, also added btree varops on fullname (trigrams and
+	  fulltext proved too slow will need to reinvestigate those), also
+	  added helper function install_missing_indezes() which gets run as
+	  part of upgrade script. will need to add to documentation. Also
+	  added regress tests from snippets in #1113
+
+2011-07-13 19:33  dustymugs
+
+	* Complete refactoring of code from ST_Transform to ST_Resample.
+	  There are four new functions as of this revision: ST_Resample,
+	  ST_Rescale, ST_Reskew and ST_SnapToGrid. ST_Transform is still
+	  present but points to ST_Resample.
+	  
+	  Associated ticket #1114
+
+2011-07-12 19:45  robe
+
+	* Fix for #1112 service roads
+
+2011-07-12 13:03  robe
+
+	* Partial fix for #1108
+
+2011-07-12 04:14  robe
+
+	* Fix regress failure with #1074 (wasn't correctly handling all
+	  cases where street name is composed of a street type
+
+2011-07-11 17:03  strk
+
+	* Change ST_OffsetCurve parameters type from cstrin to text. See
+	  ticket #1117.
+
+2011-07-11 12:17  strk
+
+	* Stricter ISO output from ST_GetEdgeFaces: start enumerating ring
+	  edges from the edge with smaller id [RT-SIGTA]
+
+2011-07-09 20:32  robe
+
+	* oops typo
+
+2011-07-09 20:25  robe
+
+	* revert change
+
+2011-07-09 20:12  robe
+
+	* fix type in county load
+
+2011-07-09 15:55  strk
+
+	* Clarify return code from topology.ST_ModEdgeHeal. Clean up
+	  description of ST_NewEdgeHeal too.
+
+2011-07-09 01:23  robe
+
+	* example of using geocode geometry filter
+
+2011-07-09 01:06  robe
+
+	* Fix ST_Transform signature to match revised function declarations
+
+2011-07-08 08:23  robe
+
+	* upper case and replace (ZM and Z) in geometry_columns so its more
+	  backwards compatible with old geometry_columns table
+
+2011-07-07 22:45  robe
+
+	* #1070 optional geometry filter arg, documentation (well start
+	  need example), and regress tests
+
+2011-07-07 22:23  dustymugs
+
+	* Final refactor of ST_Transform and underlying RASTER_resample
+	  before overhaul for ST_Resample
+
+2011-07-07 21:58  dustymugs
+
+	* Refactored ST_Transform in preparation for additional refactoring
+	  to accomodate ST_Resample
+
+2011-07-07 18:28  dustymugs
+
+	* Cleaned up the large number of floating point equality tests with
+	  a function-like macro
+
+2011-07-07 12:41  robe
+
+	* #1074, #1109 - Fix for compound named streets that have a portion
+	  that is a street type
+
+2011-07-06 23:44  robe
+
+	* more regress tests for #1109
+
+2011-07-06 23:15  dustymugs
+
+	* Refactored how user-specified upperleft corner coordinates are
+	  handled
+
+2011-07-06 23:00  robe
+
+	* fix for #1109 when a street name is same as a defined street type
+
+2011-07-06 15:02  strk
+
+	* Properly destroy lwgeom in lwgeom_to_x3d3 now that it's safe (see
+	  #1102)
+
+2011-07-06 14:55  strk
+
+	* Properly release memory in lwmline_clip_to_ordinate_range (see
+	  #1102)
+
+2011-07-06 14:45  strk
+
+	* Have lwcollection_extract clone (shallow) the extracted
+	  components. Safely lwgeom_free the return from
+	  lwcollection_extract in testcase.
+
+2011-07-06 14:29  strk
+
+	* Properly lwgeom_free cloned objects in lwgeom_homogenize now that
+	  it is safe
+
+2011-07-06 14:29  strk
+
+	* Implement ptarray_clone (shallow) and update clone documentation
+	  (doxygen), have lw*_clone clone the POINTARRAY but not the
+	  serialized point list (using ptarray_clone), add unit testing for
+	  lwgeom_clone. See ticket #1102.
+
+2011-07-06 10:48  mcayland
+
+	* Fix compile warning in geography_measurement.c caused by missing
+	  function prototype.
+
+2011-07-06 10:48  mcayland
+
+	* Fix compile warning for lwgeom_init_allocators() in loader/dumper
+	  by adding missing liblwgeom.h #include.
+
+2011-07-06 09:40  strk
+
+	* Rename ptarray_clone to ptarray_clone_deep, to be conformant with
+	  lwgeom_clone_deep in that it copies the serialized pointlist too
+
+2011-07-06 08:04  strk
+
+	* Compiler warning fix
+
+2011-07-06 07:42  strk
+
+	* Fix compiler warnings (#999)
+
+2011-07-06 07:42  strk
+
+	* Don't let temporary collection leak in lwgeom_to_x3d3 (actually
+	  do, but sligthly less, till we fix lwgeom_clone). See #1102.
+
+2011-07-06 07:42  strk
+
+	* const-correct lw*_is_closed
+
+2011-07-06 06:46  strk
+
+	* properly release reported error message string
+
+2011-07-06 06:46  strk
+
+	* properly release lwgeom objec in test_lwprint_assert_error
+
+2011-07-06 06:46  strk
+
+	* properly release lwgeom objec in test_misc_area
+
+2011-07-06 05:18  dustymugs
+
+	* Changed expressions for pixel byte boundaries in assert tests of
+	  rt_raster_serialize and rt_raster_deserialize in rt_api.c. The
+	  changed expressions are based upon relative values rather than
+	  the original absolute values. This should resolve the problem
+	  defined in ticket #1061. It may also help with the crashing in
+	  ticket #1066.
+	  
+	  Associated tickets are #1061 and possibly #1066.
+
+2011-07-06 02:17  robe
+
+	* fix typo
+
+2011-07-06 01:02  robe
+
+	* drop_state_tables_generate_script function and document it. Also
+	  add blank paramdef to missing indexes so doesn't look goofy in
+	  docs
+
+2011-07-06 00:40  robe
+
+	* Get rid of use of array_accum and replace with array_agg (which
+	  exists in PostgreSQL 9\8.4+). Now that we only support 8.4+, we
+	  can just use array_agg.
+
+2011-07-05 22:02  pramsey
+
+	* Remove leak in mixed time ptarray case (#1102)
+
+2011-07-05 21:01  strk
+
+	* Plug some more easy leaks in testers
+
+2011-07-05 20:21  pramsey
+
+	* Stop up small but universal leak. (#1102)
+
+2011-07-05 18:55  strk
+
+	* Fix memory leak while computing box3d for nested
+	  geometrycollection (revealed by test in cu_geodetic.c)
+
+2011-07-05 18:41  strk
+
+	* Properly release memory allocated by tester
+
+2011-07-05 17:49  robe
+
+	* #1076 hanlde of post direction with highways -- 1940 County Road
+	  C W, Roseville, MN 55113 , also trim excess space left in street
+	  names
+
+2011-07-04 22:51  pramsey
+
+	* Remove memory leaks when a parse error kicks out in WKT (#1102)
+
+2011-07-04 17:32  robe
+
+	* #1076 more work toward Highway geocoding -- significant rework of
+	  original patch. Still need to parse out the direction information
+
+2011-07-04 15:50  strk
+
+	* Drop dangling reference to Probe_Geometry_Columns (see #1083)
+
+2011-07-04 15:40  strk
+
+	* A couple more tests for btree against points: different points,
+	  differently cached boxes
+
+2011-07-04 15:34  strk
+
+	* Have pglwgeom_getbox2d_p compute a bounding box when not cached.
+	  Fixes #1023.
+
+2011-07-04 15:12  strk
+
+	* Document pglwgeom_getbox2d_p. See
+	  http://trac.osgeo.org/postgis/ticket/1023
+
+2011-07-04 14:50  strk
+
+	* More unit test memory leaks and compiler warnings fixed
+
+2011-07-04 14:14  strk
+
+	* Add test for btree equality of points (#1023)
+
+2011-07-04 13:56  strk
+
+	* Do not deep-free return from lwcollection_homogenize as it
+	  doesn't copy POINTARRAY memory. See #1104.
+
+2011-07-04 12:29  strk
+
+	* Plug some memory leaks in the unit tests, to help finding
+	  lower-level ones...
+
+2011-07-04 12:29  strk
+
+	* Document memory management of lwdoubles_to_latlon and
+	  lwpoint_to_latlon
+
+2011-07-04 11:24  strk
+
+	* Fix support for MULTICURVEZM and make TIN spelling conformant to
+	  other (MixedCase). Add cohomprensive regress test for
+	  postgis_type_name(). Closes bug #1096 once again.
+
+2011-07-04 11:24  strk
+
+	* Add missing circular types to geomtype_struct_array, fixing bug
+	  #1094
+
+2011-07-04 11:24  strk
+
+	* Do not hard-code lenght of geomtype struct array (See #1094)
+
+2011-07-04 10:10  strk
+
+	* AddGeometryColumn: when complaining about unknown geometry type
+	  also report the used name and dimensions (see related bug #1096)
+
+2011-07-04 10:02  strk
+
+	* Fix unused variable warning when building against GEOS >= 3.3
+
+2011-07-04 09:26  mcayland
+
+	* Make all PostGIS object files depend upon liblwgeom, so that if
+	  liblwgeom is
+	  changed then it also triggers a (complete) rebuild of PostGIS.
+	  
+	  Note as documented in #447 this is an over-cautious approach
+	  since it rebuilds
+	  all of PostGIS if liblwgeom changes, but at least its a starting
+	  point and
+	  does actually solve the case whereby a user updates liblwgeom but
+	  doesn't
+	  force a rebuild of PostGIS.
+
+2011-07-04 09:09  strk
+
+	* typo
+
+2011-07-04 09:07  strk
+
+	* Update expected error messages since typmod introduction. Closes
+	  ticket #1101.
+
+2011-07-04 09:00  strk
+
+	* Do not manually delete rows from geometry_columns (which is now a
+	  view). Closes ticket #1099.
+
+2011-07-04 07:35  robe
+
+	* Partial fix for #1076, county roads and highways, but think I
+	  might have broken the SELECT (addy).*,* from geocode('16725
+	  Rockford Road, Plymouth, MN 55447') or my data is bad
+
+2011-07-03 21:47  mcayland
+
+	* Fix for #1088: Too many columns in select crashes pgsql2shp.
+	  
+	  Instead of a fixed length query string, dynamically allocate the
+	  memory based
+	  upon the sum of the lengths of all of the column names.
+
+2011-07-03 16:51  robe
+
+	* #1087 improve rating algorithm. also start to use prepared
+	  statements where appropriate (don't put state in prepared part
+	  since that would prevent constraint exclusion from kicking in)
+
+2011-07-03 10:45  robe
+
+	* Add more tests, minor cleanup
+
+2011-07-03 05:03  robe
+
+	* Update credits and release notes to include change in
+	  geometry_columns and management functions, add ST_OffSetCurve to
+	  release_notes.xml, add Rafal Magda to people credits list
+
+2011-07-03 01:58  robe
+
+	* more column width cleanup
+
+2011-07-03 01:52  robe
+
+	* #1095 clarification of what is mean by geometry_columns not
+	  supporting views built the old constraint way
+
+2011-07-03 01:50  robe
+
+	* #1095 cleanup MIGRATION document
+
+2011-07-03 01:29  robe
+
+	* #1096 same fix as for linestringZ, apply to geometryM, zm and
+	  multilinestringZ
+
+2011-07-03 00:59  robe
+
+	* #1098 fix UpdateGeometrySRID
+
+2011-07-02 18:19  robe
+
+	* #1083, #1093: fix typo, delete probe_geometry_columns which is
+	  now completely obsolte with gnew geometry-columns view change
+
+2011-07-02 17:53  robe
+
+	* missed a spot
+
+2011-07-02 17:52  robe
+
+	* add missing para end tag
+
+2011-07-02 17:25  robe
+
+	* start describing management functions how typmod changes things
+	  --- Populate_geometry_columns, dropgeometrytable,
+	  dropgeometrycolumn. More to go.
+
+2011-07-02 16:52  robe
+
+	* #1096 can't create 2.5d linestrings
+
+2011-07-02 16:29  robe
+
+	* revise template to give example of optional argument
+
+2011-07-02 13:43  mcayland
+
+	* Update loader regression test suite to add a simple test for
+	  shp2pgsql (much as we now do for pgsql2shp).
+	  
+	  Note that these tests aren't completely comprehensive and should
+	  be expanded, with the long term aim
+	  of moving the loader regression tests out of the main regression
+	  harness and into CUnit instead.
+
+2011-07-02 12:34  mcayland
+
+	* Fix up the loader unit tests so that if --with-gui is not passed
+	  to configure, the non-GUI tests will continute to run instead of
+	  failing compilation.
+
+2011-07-02 09:27  robe
+
+	* revise wmsservers_new to use new typmod and not directly delete
+	  and add to geometry_columns so passes regress
+
+2011-07-02 08:58  robe
+
+	* #944, #1081, #1083, #1088, #1084: Convert geometry_columns to a
+	  view, revise management functions to not update/delete from
+	  geometry_columns and to support typmod. Will use typmod behavior
+	  as default
+	  fix typos in postgis_type_name and delete from geometry_column
+	  calls in regress.
+
+2011-07-01 22:36  mcayland
+
+	* Another attempt to fix #1080 on Windows - it seems that simply
+	  opening and
+	  closing a pgsql2shp state object is a good way to find all
+	  uninitialised
+	  variables.
+
+2011-07-01 21:37  mcayland
+
+	* Revised fix for #1080 based upon backtrace provided by Regina.
+
+2011-07-01 21:32  robe
+
+	* #1082 get rid of delete from geometry_columns call. Also cleanup
+	  argument list to make more modern
+
+2011-07-01 14:34  robe
+
+	* Benchmark notes
+
+2011-07-01 13:45  robe
+
+	* itemize more upgrade GOTCHAS
+
+2011-07-01 13:10  robe
+
+	* convert to CREATE OR REPLACE postgis_constraint_srid
+
+2011-07-01 12:59  robe
+
+	* put in associated ticket numbers change to unaligned format for
+	  easier diffing, add in script to run test suite. Force LF and put
+	  svn keywords
+
+2011-07-01 11:47  strk
+
+	* Add 2 more testcases for ST_OffsetCurve, one of which returning a
+	  MULTILINESTRING
+
+2011-07-01 10:59  strk
+
+	* Use choice="opt" to encode default parameter for ST_OffsetCurve
+
+2011-07-01 10:36  strk
+
+	* Well, let's run the ST_OffsetCurve regress test only against
+	  GEOS-3.3. After all it's known to fail against 3.2 ... (due to
+	  http://trac.osgeo.org/geos/ticket/455#comment:1)
+
+2011-07-01 10:14  strk
+
+	* Test LINESTRING EMPTY return from ST_OffsetCurve
+
+2011-07-01 10:10  strk
+
+	* Properly convert typed empties coming from GEOS.
+
+2011-07-01 10:10  strk
+
+	* Add ST_OffsetCurve news item
+
+2011-07-01 09:56  strk
+
+	* Add ST_OffsetCurve function supporting both GEOS-3.2 and
+	  GEOS-3.3+. Uses distance parameter sign to derive left/right
+	  side. Includes regress testing and documentation. Based on patch
+	  by Rafal Magda.
+
+2011-07-01 09:33  mcayland
+
+	* Fix #1080: cunit is crashing on test_ShpDumerDestroy().
+	  
+	  Looks like the original code omitted to set the default config
+	  values causing
+	  the addition of a ShpDumperDestroy() call to fall over on some
+	  platforms due
+	  to uninitialised pointers.
+
+2011-07-01 06:17  robe
+
+	* Force unix LF. Also get rid of unnecessary call to CREATE INDEX
+	  .. we have a missing script for that.
+
+2011-07-01 02:22  robe
+
+	* Fix for #1086 Issue with parsing out location. also added to
+	  regression tests
+
+2011-07-01 00:02  robe
+
+	* fix build -- had functions installed out of order of dependency
+
+2011-06-30 19:18  robe
+
+	* add pretty function to return pretty name and use in
+	  postgis_constraint_type (seems 3 times as slow with conversion --
+	  will investigate later) -- before my 50 odd goemetry_columns
+	  based on all constraint columns returns 75ms now takes 250-300
+	  ms.
+
+2011-06-30 17:16  dustymugs
+
+	* removed accidental commit of some debug testing
+
+2011-06-30 13:28  dustymugs
+
+	* fixed logic issues in ST_AsJPEG
+
+2011-06-29 23:14  pramsey
+
+	* Change parameter order in 900913 (magic!)
+
+2011-06-29 22:40  mcayland
+
+	* Commit rework of #885 (pgsql2shp fields conversion from
+	  predefined list).
+	  
+	  This patch required extra work to ensure that it was a better fit
+	  for the
+	  new loader/dumper structure including error reporting, better use
+	  of C
+	  coding style and altering various names/code locations as
+	  appropriate.
+
+2011-06-29 22:40  pramsey
+
+	* GEOS no like POINT EMPTY (#1060)
+
+2011-06-29 21:10  robe
+
+	* Itemize some issues with restoring data from old that cause
+	  failures
+
+2011-06-29 19:14  robe
+
+	* Add Hunter Systems Group to credits for funding Geocoder
+	  enhancements
+
+2011-06-29 16:26  robe
+
+	* #949 more legacy cleanup -- add G-M to uninstall, remove accum
+
+2011-06-29 12:56  robe
+
+	* fix typo in uninstall script
+
+2011-06-29 10:35  robe
+
+	* #1069: Support for specifying max_results to return. Regress
+	  already committed
+
+2011-06-29 05:06  robe
+
+	* fix for #1073 handling mangled zipcodes and update regress to
+	  include these
+
+2011-06-29 04:23  robe
+
+	* #1077 preliminary regress tests and current outputs (formatting
+	  needs cleanup and to be run by script but will deal with that
+	  later). Already have a regress failure when compared with docs.
+
+2011-06-28 19:36  strk
+
+	* Simplify layertrigger tests dropping unneeded operations. The
+	  reduction was verified to still trigger bug #950 prior to the fix
+	  for it.
+
+2011-06-28 19:36  strk
+
+	* Apply patch by Andrea Peri to fix topology layer trigger.
+	  Includes regress test. Closes ticket #950.
+
+2011-06-28 14:26  robe
+
+	* #1063 - add update website with released doc version to
+	  HOWTO_RELEASE steps
+
+2011-06-28 12:32  robe
+
+	* fix windows script -- had sh style commented alter schema line
+	  instead of windows batch style commented alter schema
+
+2011-06-28 12:21  robe
+
+	* put in missing homage to GDAL. Also updated the GDAL use list
+	  http://trac.osgeo.org/gdal/wiki/SoftwareUsingGdal to include
+	  PostGIS
+
+2011-06-28 03:55  robe
+
+	* Partial fix for #1068 -- handling of misspelled numeric streets
+	  such as 13nd or 22th and partial support for numeric streets with
+	  fractions like 1/2
+
+2011-06-28 02:50  robe
+
+	* get rid of drop / recreate norm_addy. It's not necessary yet
+	  since we haven't changed it.
+
+2011-06-28 01:27  robe
+
+	* #1068 partial fix -- trimmed leading/trailing spaces in
+	  normalize_address fields so now correctly handles things like
+	  W.,N. etc. More fixes coming.
+
+2011-06-27 21:35  dustymugs
+
+	* - wrote function getSRTextSPI to create one code for getting the
+	  srtext of a SRID from the spatial_ref_sys table.
+	  - removed plpgsql function _ST_srtext with addition of
+	  getSRTextSPI.
+	  
+	  The regression failure in ticket #1064 should be resolved as a
+	  side-affect of the new function as the srtext returned through
+	  SPI is copied to an interval variable.
+
+2011-06-27 19:31  pramsey
+
+	* Ignore GNUMakefile
+
+2011-06-27 19:24  pramsey
+
+	* Change CompoundString to CompoundCurve
+
+2011-06-27 19:02  dustymugs
+
+	* modified expected results for rt_pixelvalue.
+	  
+	  Associated ticket is #1055
+
+2011-06-27 18:53  pramsey
+
+	* Add migration guide for upgraders
+
+2011-06-27 18:02  pramsey
+
+	* Fix type name for CompoundCurve
+
+2011-06-27 16:47  mcayland
+
+	* Edit rt_band_get_pixel() so that the warning message contains the
+	  out-of-bound coordinates being accessed.
+
+2011-06-27 14:35  dustymugs
+
+	* Cleanup of error messages.
+
+2011-06-27 01:53  robe
+
+	* version garden test files so now named raster_gardentest_20.sql,
+	  postgis_gardentest_20.sql. Add reclassarg type example to raster
+	  garden objects
+
+2011-06-26 19:44  robe
+
+	* revise to ignore OUT parameters. Also add 20 to postgis garden
+	  output table name
+
+2011-06-26 18:18  robe
+
+	* change ST_AsX3d from using methodsynopsis back to funcsynopsis.
+	  This was an attempt before to stylize default args which didn't
+	  work out.
+
+2011-06-26 17:31  pramsey
+
+	* ST_IsValidDetail and ST_IsValidReason POLYGON CRASH (#712)
+
+2011-06-26 03:15  pramsey
+
+	* Make test for co-linearity a little more double-barrelled.
+
+2011-06-26 02:29  pramsey
+
+	* Simplify circle stroking code (#1057)
+
+2011-06-25 23:35  pramsey
+
+	* Remove reference to algorithm.h from generator.c
+
+2011-06-25 22:36  pramsey
+
+	* Prototype segmentation code and move lwalgorith.h prototypes into
+	  liblwgeom.h and liblwgeom_internal.h
+
+2011-06-25 21:42  pramsey
+
+	* Convert some BOX3D functions to GBOX
+
+2011-06-25 21:11  robe
+
+	* correct column names of norm_addy object - they were wrong
+
+2011-06-25 20:32  robe
+
+	* update release notes
+
+2011-06-25 20:24  robe
+
+	* #1062 apply typo patch from Kasif Rasul
+
+2011-06-25 19:20  dustymugs
+
+	* Modified ST_Transform to permit specification of projected
+	  raster's scale. This is due to the scale change that occurs when
+	  a raster is being reprojected.
+
+2011-06-25 18:15  robe
+
+	* bounding box clarification && (that it's 2D)
+
+2011-06-25 18:14  robe
+
+	* minor clarifications
+
+2011-06-25 08:13  robe
+
+	* #1051 - fix rating logic (typo in direction weight) causing -
+	  select (g.addy).*, astext(g.geomout), g.* from geocode('150 2nd
+	  Ave S, Minneapolis, MN 55401') as g To return north instead of
+	  south. Also change functions to use named args
+
+2011-06-24 23:18  robe
+
+	* bah pdflatex doesn't like sect3. Just make it a sect2
+
+2011-06-24 21:49  robe
+
+	* Id on para didn't take -- lets try a sect3
+
+2011-06-24 21:20  dustymugs
+
+	* Added sanitization of the algorithm parameter of ST_Transform.
+	  Refactored the regression test for ST_Transform.
+
+2011-06-24 16:30  robe
+
+	* put in ancho for changed section and link back from top of What's
+	  new to breaking changes section
+
+2011-06-24 16:14  robe
+
+	* revise 2.0 changed,enhanced, new to also capture paragraphs
+	  embedded in sub tags such as warning, note. Was missing some
+	  breaking changes ST_Length, ST_GeomFromText etc because it wasn't
+	  catching warnings
+
+2011-06-24 14:25  robe
+
+	* thought had changed to use default params -- guess not. Also
+	  stamp in time author info as comment inside function
+
+2011-06-24 13:02  robe
+
+	* Get rid of note about ST_Transform not working on all platforms.
+	  No longer true
+
+2011-06-24 01:28  robe
+
+	* revert unnecessary edit
+
+2011-06-24 01:20  robe
+
+	* fix for #1051 -- postDirAbbrev doesn't parse
+
+2011-06-23 23:50  chodgson
+
+	* further bug fix for #884
+
+2011-06-23 22:29  robe
+
+	* note about ST_length geography breaking change -- in 1.5 used to
+	  return perimeter of a polygon now returns 0 just like geometry
+
+2011-06-23 21:15  robe
+
+	* time autho stamp signatures
+
+2011-06-23 21:11  robe
+
+	* fix typos
+
+2011-06-23 21:08  robe
+
+	* put in author revision id placeholder and have as part of code
+	  logic as well
+
+2011-06-23 20:46  dustymugs
+
+	* Removed rt_raster_transform from rt_api.c and any calls to it
+	  since rt_raster_gdal_warp has same results for reprojections.
+
+2011-06-23 20:29  dustymugs
+
+	* Addition of rt_raster_gdal_warp function in rt_api.c. This was
+	  written based upon GDAL's gdalwarp utility to provide a flexible
+	  means to reproject, change the scale of, adjust the skew (deskew)
+	  of and shift the origin of a raster. RASTER_transform in rt_pg.c
+	  has been adjusted to make use of rt_raster_gdal_warp instead of
+	  rt_raster_transform. Regression te
+	  sts confirm that resulting rasters from rt_raster_gdal_warp are
+	  identical to that of rt_raster_transform.
+	  
+	  The abilities to change a raster's scale, skew and origin have
+	  yet to be tested and have no user-accessible SQL functions as of
+	  this revision. This will occur in future revisions.
+	  
+	  The function rt_raster_transform will be removed in a future
+	  revision.
+
+2011-06-23 15:36  pramsey
+
+	* Re-base circular bbox regressions
+
+2011-06-23 13:57  pramsey
+
+	* PostGIS Box2D (and && operator) gives wrong result for
+	  ST_CircularString type (#578)
+
+2011-06-23 13:53  robe
+
+	* clean up credits a bit
+
+2011-06-23 11:07  robe
+
+	* #944 support functions to comb out type,srid, dim from constraint
+	  based geometries and integration into geometry_columns_v so that
+	  non-typmods and typmods of the world can coexist in harmony
+
+2011-06-23 11:01  strk
+
+	* Don't interpret types as flags in ST_Summary. Fixes bug #1054
+	  (needs automated testing)
+
+2011-06-22 23:13  robe
+
+	* minor addition to GEOMETRYCOLLECTION(EMPTY) warning
+
+2011-06-22 23:10  robe
+
+	* #924 - document breaking change
+
+2011-06-22 22:09  pramsey
+
+	* ST_ForceRHR POLYGON EMPTY crash (#710)
+
+2011-06-22 21:33  pramsey
+
+	* ST_GeoHash POLYGON Empty crash (#711)
+
+2011-06-22 06:55  robe
+
+	* Fill in raster coverage protos for ST_Histogram (still need
+	  examples for these), fix typo in another function, change
+	  ST_SetBandNoDataValue as if it supports default args (the
+	  documentation will be consistent with implementation onces #1049
+	  is done)
+
+2011-06-21 06:13  robe
+
+	* get rid of extraneous proto
+
+2011-06-21 05:45  robe
+
+	* more fine tuning of output of driver options
+
+2011-06-21 05:25  robe
+
+	* Fix ST_GDalDrivers output to correctly output options as table. I
+	  had thought it was evenly balanced (all options have
+	  descriptions), but that is not the case so origianl example had
+	  the name and descriptions mismatched
+
+2011-06-21 05:05  dustymugs
+
+	* Refactored code and removed the use of SET_VARSIZE for
+	  RASTER_band to fix segfault.
+	  
+	  Associated ticket is #1044.
+
+2011-06-21 04:18  robe
+
+	* change bigint to integer for ST_ValueCount record outputs
+
+2011-06-21 03:26  robe
+
+	* document ST_AsJPEG and fill in missing protos for ST_ValueCount
+
+2011-06-21 01:52  robe
+
+	* Get rid of removed ST_SummaryStats proto and add new
+	  ST_SummaryStats proto
+
+2011-06-20 21:15  pramsey
+
+	* ST_Dump with GSerialized POINT EMPTY and EWKT/AsText mismatch
+	  (#746)
+
+2011-06-20 17:08  pramsey
+
+	* Increase size of generator.c static buffer. (#583)
+
+2011-06-20 16:58  pramsey
+
+	* geography: ST_Intersects, ST_DWithin gbox_overlaps: geometries
+	  have mismatched dimensionality (#1037)
+
+2011-06-20 14:55  dustymugs
+
+	* Changed the regression tests for ST_Transform in preparation for
+	  testing replacement ST_Transform function with different
+	  underlying code.
+
+2011-06-20 11:37  strk
+
+	* Add missing SQL/MM functions in the status section (TODO)
+
+2011-06-20 09:29  robe
+
+	* #1040 -- ST_MinimumBoundingCircle -- replace X(), Y() deprecated
+	  calls with ST_X(), ST_Y(). Also changed to use default args. We
+	  really need regression tests for this function. Will put on
+	  separate task.
+
+2011-06-19 06:24  robe
+
+	* more cleanup of hard upgrade instructions
+
+2011-06-19 05:52  robe
+
+	* Amend hard upgrade instructions to remove stuff that is obsolete
+	  and add in additional steps needed for PostGIS 2.0. Also update
+	  creating new spatial database to include instructions for
+	  installing raster and topology support
+
+2011-06-19 00:31  robe
+
+	* add index check / generation for soundex, lower, geometry gist,
+	  and least_hn
+
+2011-06-18 22:16  robe
+
+	* Fix for #1025 -- Geocoder Failing with NORTH EAST is street name
+
+2011-06-18 18:24  pramsey
+
+	* Error message change
+
+2011-06-18 07:35  robe
+
+	* hmm lets try that again
+
+2011-06-18 07:34  robe
+
+	* backout some code didn't mean to commit
+
+2011-06-18 07:29  robe
+
+	* Found some indexes I missed -- added to tiger_loader, also #1036
+	  create missing_indexes generation script to back install. Still
+	  need to put in logic for some more indexes, but htis is a good
+	  start. Also documented new function
+
+2011-06-18 06:03  robe
+
+	* fix error in last commit
+
+2011-06-18 05:33  robe
+
+	* get rid of unnecessary auto casting
+
+2011-06-18 05:15  robe
+
+	* #1035 gluing on .0 is making least check always return 0.
+
+2011-06-18 03:41  robe
+
+	* Change ST_Length, ST_Perimeter for geography to use default
+	  parameters, document ST_Perimeter(geography,use_spheroid)
+
+2011-06-17 22:36  pramsey
+
+	* Quiet regression failure for minor rounding difference.
+
+2011-06-17 22:18  pramsey
+
+	* Bounding box calculation for straight CircString fails (#668)
+
+2011-06-17 21:26  pramsey
+
+	* Retrieving and storing Geography column data through JDBC does
+	  not work (#350)
+
+2011-06-17 21:11  pramsey
+
+	* Define alias ST_Perimeter (for geography ST_Length) (#526)
+
+2011-06-17 20:33  robe
+
+	* #1032 fix typos
+
+2011-06-17 20:14  robe
+
+	* change geography to geometry and limit view to only output tables
+	  and views
+
+2011-06-17 20:06  dustymugs
+
+	* fixed parameter passing in ST_AsTiff
+
+2011-06-17 15:16  dustymugs
+
+	* Refactored ST_SummaryStats so that there is a non-user
+	  _ST_SummaryStats that is the backend of all ST_SummaryStats and
+	  ST_ApproxSummary stats functions. This eliminates the
+	  "sample_percent" parameter from the one ST_SummaryStats function
+	  that had it.
+
+2011-06-16 21:01  pramsey
+
+	* Partial typmod support for PostGIS geometry (#944)
+
+2011-06-16 20:29  robe
+
+	* Some cleanup. change ST_AsGDALRaster example using spatial ref to
+	  agree with new syntax of just passing in the srid.
+
+2011-06-16 02:16  robe
+
+	* put in missing tag
+
+2011-06-16 02:08  robe
+
+	* document &&& nd interacts bounding box operator
+
+2011-06-15 23:59  pramsey
+
+	* Fix up selectivity and operators a little
+
+2011-06-15 20:22  pramsey
+
+	* Add a couple more GBOX functions to map to B2DF4 requirements
+
+2011-06-15 15:43  dustymugs
+
+	* Changed band pixel types to 64BF instead of 32BF so that the
+	  warning messages for data getting converted are mitigated.
+
+2011-06-15 14:29  dustymugs
+
+	* Added value for nBandCount attribute of GDALWarpOptions in
+	  rt_raster_transform function.
+	  
+	  This is based upon the discussion found at:
+	  
+	  http://lists.osgeo.org/pipermail/gdal-dev/2011-May/028730.html
+	  
+	  Related ticket is #1015
+
+2011-06-15 12:44  robe
+
+	* #722 - get rid of transform and remainder of SnapToGrid
+	  deprecated family of functions. Add to #945 uninstall_legacy and
+	  also legacy.sql.in.c files
+
+2011-06-15 01:25  robe
+
+	* Change ST_MapAlgebra to use default args and amend the
+	  documentation to reflect change. In so doing fix #969 -
+	  inconsistent order of args, #967 raster regress failures on 9.0
+	  and 9.1
+
+2011-06-14 19:32  dustymugs
+
+	* Changed SRID to something within the range permitted by
+	  GSERIALIZED. As of this revision, all raster regression tests
+	  pass successfully.
+
+2011-06-14 16:21  pramsey
+
+	* bug in BOX2DFLOAT4_in function due to GSERIALIZED_ON change
+	  (#1020)
+
+2011-06-14 16:04  dustymugs
+
+	* With GSERIALIZED_ON enabled, adapted code that needs preprocessor
+	  conditions. Basically instead of "geometry_gist_sel" and
+	  "geometry_gist_joinsel", GSERIALIZED_ON uses "contsel" and
+	  "contjoinsel"
+
+2011-06-14 08:20  strk
+
+	* Do not explicitly name GIST opclass (was renamed). Fixes topology
+	  after the GSERIALIZED switch.
+
+2011-06-14 08:20  strk
+
+	* Fix libiconv linker flags
+
+2011-06-14 04:26  pramsey
+
+	* Apply bug in BOX2DFLOAT4_in function due to GSERIALIZED_ON change
+	  (#1020) from dustymugs
+
+2011-06-13 21:47  dustymugs
+
+	* Fixed memory leak in RASTER_asGDALRaster of rt_pg.c and left note
+	  in comments of rt_raster_to_gdal
+
+2011-06-13 21:31  pramsey
+
+	* Move from GSERIALIZED off by default to on by default. Adjust
+	  minor regression changes as necessary.
+
+2011-06-13 20:20  pramsey
+
+	* Allow cunit tests to build and run in OS/X
+
+2011-06-13 19:51  pramsey
+
+	* Add svn:ignores for some new derived files.
+
+2011-06-13 12:30  robe
+
+	* update 1.5.3 release notes
+
+2011-06-13 11:25  robe
+
+	* #609 revise JDBC to use non-deprecated calling syntax
+
+2011-06-13 01:32  robe
+
+	* surpress outputting sql if not in debug mode
+
+2011-06-13 01:31  robe
+
+	* change to return as much address as possible even if no fullname
+	  at least try to return city, state, zip
+
+2011-06-12 14:33  robe
+
+	* fix typo in reverse_geocode name and get rid of other prot since
+	  changed to use default args
+
+2011-06-12 06:34  robe
+
+	* fix division by zero issue
+
+2011-06-12 04:55  robe
+
+	* make debug statement conditional
+
+2011-06-12 04:52  robe
+
+	* significantly improve speed of reverse geocode (when all states
+	  loaded), but using CTEs and unparameterizing query (parameterized
+	  often does not use inheritance), reverse_geocode to use default
+	  parameters, put in table column comments to describe some of what
+	  loader columns mean.
+
+2011-06-11 19:26  dustymugs
+
+	* Added function parameter "header_only" to rt_raster_deserialize.
+	  This instructs the function to only extract the raster header.
+	  
+	  All functions calls to rt_raster_deserialize in rt_pg.c and
+	  testwkb.c have been modified to account for the "header_only"
+	  parameter. In addition, functions that can use
+	  PG_DETOAST_DATUM_SLICE have been modified to use it.
+	  
+	  Associated tickets are #867 and #985.
+	  
+	  Now to work on valgrinding rt_pg.c
+
+2011-06-11 19:06  dustymugs
+
+	* Removed the ST_SummaryStats wrappers: ST_Sum, ST_Mean, ST_Stddev,
+	  ST_MinMax. Only ST_Count is preserved as it has a shortcut for
+	  when "exclude_nodata_value" is FALSE.
+	  
+	  Refactored regression test for rt_transform due to removal of
+	  some ST_SummaryStats wrappers and make the tests no longer about
+	  being exact to specific values but more about being in the
+	  appropriate contexts.
+	  
+	  Associated ticket is #1005 and to some degree, #985.
+
+2011-06-11 13:41  robe
+
+	* Sort what's new 2.0 by name of section insted of id since raster
+	  ids start with RT_ they are being sorted at the top above
+	  everything else which is confusing
+
+2011-06-11 05:27  robe
+
+	* Fix ST_BandMetaData, ST_AsGDalRaster (they take defaults now so
+	  prots have ben removed)
+
+2011-06-11 04:59  dustymugs
+
+	* Refactored rt_raster_replace_band in rt_api.c to return the
+	  replaced band.
+	  Additional memory cleanups in testapi.c due to segfault and
+	  leaks.
+
+2011-06-11 01:09  robe
+
+	* Note about issues with raster ST_Transform
+
+2011-06-11 00:43  robe
+
+	* document raster ST_Transform function. Will provide examples
+	  later.
+
+2011-06-11 00:05  dustymugs
+
+	* Fixed bunch of memory leaks in rt_api.c and testapi.c. Will need
+	  to valgrind the regression tests to clean up the leaks in rt_pg.c
+
+2011-06-10 23:19  robe
+
+	* get rid of ST_SRSText usage is gone and replaced with just srid
+	  so parallel with geometry. Update all the function doco -- they
+	  used to use srstext, but now they use srid.
+
+2011-06-10 23:01  dustymugs
+
+	* Refactored how GDAL warp options are freed. I believe I was
+	  prematurely freeing the options.
+	  
+	  Associated ticket #1015
+
+2011-06-10 19:49  pracine
+
+	* Getting pixel value at out of range coordinate should only return
+	  a warning. Was broken at r7106. Added a check.
+
+2011-06-10 18:18  dustymugs
+
+	* Fixed error messages.
+
+2011-06-10 18:14  dustymugs
+
+	* Explicitly set GDALWarpOptions element padfSrcNoDataImag as it
+	  seems some folks are having regression error. Based upon the GDAL
+	  code, explicitly setting padfSrcNoDataImag and padfDstNoDataImag
+	  should eliminate the error message that is occurring.
+	  
+	  Associated tickets are #925 and #1015.
+
+2011-06-10 17:24  robe
+
+	* #609 jdbc error in documentation
+
+2011-06-10 17:00  robe
+
+	* #666 -- strange I don't recall this being an issue on PostGIS
+	  2.0, but seems to be also. Still need regress test for it though.
+
+2011-06-10 16:16  pramsey
+
+	* Update NZ projections for grid transformation support (#631)
+
+2011-06-10 15:19  dustymugs
+
+	* Rewrote ST_BandMetaData to use a C function instead of sequential
+	  calls for the metadata of a raster's band in plpgsql. Also added
+	  regression tests for ST_MetaData and ST_BandMetaData due to C
+	  functions.
+	  
+	  Associated ticket #1012
+
+2011-06-10 05:13  robe
+
+	* more description on reclass expressions
+
+2011-06-10 01:52  robe
+
+	* more examples for ST_Point and example converting to geography
+
+2011-06-09 21:27  pramsey
+
+	* Minor change to work with gserialzed
+
+2011-06-09 21:15  dustymugs
+
+	* Rewrote ST_Metadata to make use of a C function instead of
+	  sequential calls for the metadata of a raster in plpgsql.
+	  
+	  Associated ticket #1012
+
+2011-06-09 21:12  pramsey
+
+	* Remove some compile warnings
+
+2011-06-09 21:12  pramsey
+
+	* Add some ignores
+
+2011-06-09 20:51  pramsey
+
+	* Bad handling of Inf values in GEOS (#1013)
+
+2011-06-09 20:32  robe
+
+	* #448 add CUnit requirement for testing
+
+2011-06-09 18:55  dustymugs
+
+	* Replaced the parameter "srs" in ST_AsGDALRaster with "srid" so as
+	  to match that of ST_Transform and other functions that deals with
+	  spatial reference systems. In doing so, this eliminates the user
+	  function ST_srtext and just has a hidden _ST_srtext function for
+	  use by the underlying C functions. Another nice benefit is that I
+	  was able to reduce the number of user-facing functions.
+	  
+	  Associated ticket #1011
+
+2011-06-09 16:01  robe
+
+	* #1009 typo in index creation
+
+2011-06-08 22:47  dustymugs
+
+	* - added additional tests that shouldn't require datum shift files
+	  for proj.4.
+	  - refactored output that would be double precision to be rounded
+
+2011-06-08 21:10  dustymugs
+
+	* Rewrote how the standard/sample deviation is computed in
+	  ST_SummaryStats for coverage tables. It now extends the existing
+	  use of a single-pass standard deviation calculation to be able to
+	  do the calculation for a coverage table.
+	  
+	  Associated ticket #985.
+
+2011-06-08 00:10  dustymugs
+
+	* forgot to comment out debug code for ST_Histogram thus causing
+	  rt_histogram regression to fail
+
+2011-06-08 00:00  dustymugs
+
+	* fixed ST_SummaryStats for coverage tables where the sum of all
+	  tiles was not being computed.
+	  Associated ticket #1005
+	  
+	  Also added shortcuts to ST_Count for when parameter
+	  "exclude_nodata_value" is FALSE, just compute the count based
+	  upon the raster's dimensions. Performance difference between the
+	  normal route and the shortcut is negligible for small rasters but
+	  noticable when run on large rasters and coverage tables
+
+2011-06-07 22:59  dustymugs
+
+	* Added support for coverage tables to ST_Histogram. This entailed
+	  adding the ability to explicitly specify the min and max values
+	  in the underlying C function rt_band_get_histogram. The min and
+	  max parameters should ONLY be used by the established coverage
+	  table handling ST_Histogram functions as the returned percent
+	  element of the histogram type is changed from returning the
+	  percentage to returning the sum of counts for that histogram.
+	  
+	  Associated ticket is #934.
+
+2011-06-07 18:21  dustymugs
+
+	* Add ST_Transform function that achieves the primary purpose of
+	  reprojecting a raster to a new projection system. This makes use
+	  of the GDAL Warp API function GDALAutoCreateWarpedVRT(). In the
+	  future, the underlying C function is expected to be refactored to
+	  support skewing and pixel scaling at the same time the raster is
+	  reprojected.
+	  
+	  Really minor changes to rt_pg/rt_pg.c adding initilization values
+	  to variables for eliminating compile warnings in Windows (thanks
+	  Pierre).
+	  
+	  Fixed variable "status" in rt_raster_from_gdal_dataset() of
+	  rt_core/rt_api.c
+	  
+	  Associated ticket is #925
+
+2011-06-07 13:04  robe
+
+	* Put legacy.sql in varname tag so prints out as courier and stands
+	  out more. Some clarification on the geography/geometry choice
+	  question
+
+2011-06-07 12:37  robe
+
+	* more corrections of erroneous statements
+
+2011-06-07 12:16  robe
+
+	* Fix minor formatting issues
+
+2011-06-07 07:45  robe
+
+	* forgot output column in histogram type
+
+2011-06-07 07:41  robe
+
+	* more correction in ST_Histogram explanation
+
+2011-06-07 07:26  robe
+
+	* make description of programming match what is going on in
+	  histogram example
+
+2011-06-07 07:24  robe
+
+	* missing one proto for ST_Histogram
+
+2011-06-07 07:20  robe
+
+	* add description ST_Histogram inputs
+
+2011-06-07 07:10  robe
+
+	* document histogram type
+
+2011-06-07 07:02  robe
+
+	* document ST_Histogram
+
+2011-06-05 21:49  dustymugs
+
+	* bug fix of r7325 where the wrong variable is used in the "for"
+	  loop at line 5442
+
+2011-06-05 20:52  dustymugs
+
+	* - added additional function parameters "bandNums" and "count" to
+	  rt_raster_to_gdal_mem so that the GDAL dataset created only
+	  contains those bands specified
+	  - any calls to rt_raster_to_gdal_mem function was refactored for
+	  the new function parameters
+	  - refactored rt_raster_dump_as_wktpolygons to make use of
+	  rt_raster_to_gdal_mem so as to reduce duplicate code and improve
+	  cleanliness
+
+2011-06-05 07:55  robe
+
+	* fix ambiguous column issue now that new zcta5 also has statefp
+
+2011-06-05 07:35  robe
+
+	* more speed optimizations
+
+2011-06-05 07:07  robe
+
+	* revise function s so lookup zip utilizes constraint exclusion
+
+2011-06-05 06:13  robe
+
+	* #1004: census has finally released zcta5 for 2010. Get rid of
+	  zcta500 table. replace with a more generic named zcta5. Revise
+	  loader state script to load in zcta510 data and revise functions
+	  to use new zcta5 table.
+
+2011-06-04 02:11  robe
+
+	* Fix more erroneous statements about ST_Reclass
+
+2011-06-04 00:59  robe
+
+	* get rid of TODO note on ST_REclass exmaple -- I already did it.
+
+2011-06-04 00:58  robe
+
+	* huh more mistakes in ST_Reclass
+
+2011-06-03 17:02  dustymugs
+
+	* Added rt_raster_from_gdal_dataset function to rt_core/rt_api.c.
+	  This function provides the functionality needed to convert a GDAL
+	  dataset into a PostGIS Raster object.
+
+2011-06-03 15:19  jorgearevalo
+
+	* Check for new GDALFPolygonize function. If it isn't present, the
+	  old GDALPolygonize is called. Related ticket #650.
+
+2011-06-03 06:00  robe
+
+	* add missing ST_ValueCount protos, get rid of ' around , causing
+	  comment installation to fail.
+
+2011-06-02 22:51  robe
+
+	* fix wording of reclassarg and summarystats
+
+2011-06-02 22:25  robe
+
+	* Fix typo
+
+2011-06-02 21:54  robe
+
+	* document ST_Band
+
+2011-06-02 21:27  robe
+
+	* get rid of extra paragraph marks
+
+2011-06-02 21:13  robe
+
+	* example how to use variadic version of ST_Reclass raster
+	  function, finish off reclassarg type description, add
+	  summarystats type
+
+2011-06-02 05:05  robe
+
+	* Clarify GDAL version requirements for Mapserver to load PostGIS
+	  raster
+
+2011-06-01 23:50  jorgearevalo
+
+	* Fixed ticket #650. You need to update your GDAL copy to a release
+	  up to 22476 to make it work.
+
+2011-06-01 12:31  strk
+
+	* The box2d of an empty geometry is NULL, not a point. Closes
+	  ticket #938 and regress-tests it.
+
+2011-06-01 11:55  robe
+
+	* put a space after parameter name to try to prevent getting shoved
+	  in with type in reclassarg type def
+
+2011-06-01 08:22  robe
+
+	* st_recalss -- hmm screwed up on example. Had overlapping ranges
+	  before.
+
+2011-06-01 08:17  robe
+
+	* move raster types to raster section (there are way too many now
+	  to try to lump into reference_type and do case statements to
+	  exclude from postgis_comments). Revise raster_comments to look
+	  for types in reference_raster. Add docu for ST_Reclass and
+	  reclassarg type. Need at least one more example to show how to
+	  use recalssargs.
+
+2011-05-31 22:54  dustymugs
+
+	* additional code refactoring in rt_raster_from_band
+
+2011-05-31 22:47  dustymugs
+
+	* code refactored and added copying of raster attributes to new
+	  raster in rt_raster_from_band
+
+2011-05-31 01:50  robe
+
+	* #960 get rid of obsolete ST_AsPNG protos to make consistent with
+	  implementation
+
+2011-05-31 01:39  robe
+
+	* #960 get rid of ST_AsGDALRaster proto and update remaining to be
+	  consistent with new default args.
+
+2011-05-31 01:29  robe
+
+	* #961- reduce number of functions - Get rid of st_area(geography)
+	  and change st_area(geography, use_spheroid = true) and also have
+	  named argument names so callable by named args
+
+2011-05-31 01:09  robe
+
+	* document missing proto for createtopology
+
+2011-05-31 00:54  robe
+
+	* Document ST_SummaryStats raster function
+
+2011-05-30 20:18  dustymugs
+
+	* Added default values for function parameters of ST_AsTIFF,
+	  ST_AsJPEG and ST_AsPNG.
+	  
+	  Associated ticket is #960
+
+2011-05-30 15:48  dustymugs
+
+	* Added default parameter for ST_AsGDALRaster
+	  
+	  Associated ticket is #960
+
+2011-05-30 14:53  dustymugs
+
+	* renamed all instances of "hasnodata" function argument to
+	  "exclude_nodata_value" in SQL functions (and underlying code
+	  where appropriate) ST_SummaryStats, ST_Count, ST_Sum, ST_Mean,
+	  ST_StdDev, ST_MinMax, ST_Quantile, ST_Histogram, ST_ValueCount
+	  and ST_ValuePercent
+
+2011-05-30 09:45  robe
+
+	* get rid of bash line -- seems unnecessary and breaks if multiple
+	  states. Forgot cd which was making secondary states fail loading.
+
+2011-05-30 08:28  robe
+
+	* 
+
+2011-05-30 08:27  robe
+
+	* more corrections and one more example for ST_ValueCount
+
+2011-05-30 07:39  robe
+
+	* fix errors in notes
+
+2011-05-30 03:57  robe
+
+	* fill in more missing protos for st_valuecount -- still more to go
+
+2011-05-30 03:43  robe
+
+	* put in missing protos for st_quantile. Revise comment generator
+	  scripts to properly handle OUT parameters
+
+2011-05-30 02:52  robe
+
+	* document ST_quantile -- still missing some protos (also get rid
+	  of obsolete warnings)
+
+2011-05-30 01:56  robe
+
+	* reference to st_valuecount in st_dumpaspixels
+
+2011-05-30 01:51  robe
+
+	* Move Bborie's new cool stat functions into their own section. Add
+	  documentation for st_valuecount -- more coming for other raster
+	  functions. macro replace hasnodata with exclude_nodata_value
+	  which hopefully will be clearer to everyone. The raster codebase
+	  needs to be changed to agree with new names (mostly for those
+	  utilizing named arguments in PostgreSQL 9.0+). In enhnced section
+	  --put a note that hasnodata was renamed to exclude_nodata_value.
+
+2011-05-30 00:30  robe
+
+	* add remarked out line to set search path -- suggested by Brian
+	  Hamlin. Also some other minor changes
+
+2011-05-28 23:32  robe
+
+	* Get rid of deprecated call to centroid
+
+2011-05-28 15:07  robe
+
+	* fix for #996 also had to revise least and greatest helper
+	  functions to deal with to and froms that can't be converted to
+	  integers. Also added missing indexes to base tables (helps the
+	  planner with inherited tables though it never really uses those
+	  indexes)
+
+2011-05-28 13:29  robe
+
+	* fill in some missing licensing headers and svn tags
+
+2011-05-28 11:46  strk
+
+	* It's "spatialreference.org", not "spatialreferencing.org"
+	  (srid=900913)
+
+2011-05-28 11:24  robe
+
+	* revise readme wording so those unix users who aren't on linux
+	  won't be quite as offended
+
+2011-05-28 11:18  robe
+
+	* fix for #995 handling lower level fips. Also many fixes for #908
+	  sh tiger loader profile. Testing now and will close out if
+	  confirmed its fixed. Also put in a note in the .sh and .bat that
+	  for PostgreSQL 9.1+ have to install fuzzystrmatch with the CREATE
+	  EXTENSION syntax
+
+2011-05-27 23:35  dustymugs
+
+	* - remove OUT parameters on those functions that only return a
+	  single value.
+	  - updated regression tests that made use of those functions
+	  returning single values with OUT parameters
+
+2011-05-27 14:42  dustymugs
+
+	* Added default values for function arguments of ST_Reclass
+
+2011-05-27 14:01  strk
+
+	* ST_AddEdgeModFace is complete...
+
+2011-05-27 14:01  strk
+
+	* Document ST_AddEdgeModFace, tweak documentation of
+	  ST_AddEdgeNewFaces [RT-SIGTA]
+
+2011-05-27 14:01  strk
+
+	* Implement topology.ST_AddEdgeModFace. Includes regress test.
+	  [RT-SIGTA]
+
+2011-05-27 12:15  robe
+
+	* fix indentation
+
+2011-05-27 10:18  strk
+
+	* Simplify face registration by the end of ST_AddEdgeNewFaces
+	  [RT-SIGTA]
+
+2011-05-27 09:51  strk
+
+	* ST_AddEdgeNewFaces: another test splitting a face with holes on
+	  both sides [RT-SIGTA].
+
+2011-05-27 09:34  strk
+
+	* topology.ST_AddEdgeNewFaces: do not needlessly replace face of
+	  holes found in a face splitted by the newly added edge. Regress
+	  test it. [RT-SIGTA].
+
+2011-05-27 08:34  strk
+
+	* Add an optional force_new parameter to topology.ST_AddFace to
+	  force creation of a new face when one already exists. Regress
+	  test and document. [RT-SIGTA]
+
+2011-05-27 08:34  strk
+
+	* fix cpp extra token warning
+
+2011-05-27 07:13  robe
+
+	* change ST_ConcaveHull to use default parameters
+
+2011-05-27 06:46  robe
+
+	* preliminary documentation for ST_Count
+
+2011-05-27 00:02  dustymugs
+
+	* - Added default values for function parameters of ST_ValueCount
+	  and ST_ValuePercent. Removed duplicative functions of the same.
+	  - Tweaked the regression tests for ST_ValueCount and
+	  ST_ValuePercent as one question for each function type was too
+	  ambiguous.
+
+2011-05-26 23:32  dustymugs
+
+	* Added default parameter values for ST_Quantile functions
+
+2011-05-26 23:11  dustymugs
+
+	* Added default values for function parameters of ST_Histogram and
+	  removed duplicative functions.
+
+2011-05-26 22:50  dustymugs
+
+	* Forgot to delete the commented out functions of ST_SummaryStats
+	  and dependants from r7260
+
+2011-05-26 22:40  dustymugs
+
+	* Added default values for function parameters of ST_SummaryStats,
+	  ST_Count, ST_Sum, ST_Mean, ST_StdDev and ST_MinMax.
+
+2011-05-26 21:35  dustymugs
+
+	* Added default parameter for ST_Band and reduced function count by
+	  1.
+	  
+	  Added additional regression tests for ST_Band.
+
+2011-05-26 21:23  dustymugs
+
+	* Changed to STABLE from IMMUTABLE for all functions that operate
+	  on a coverage using the function parameters "rastertable" and
+	  "rastercolumn"
+
+2011-05-26 20:09  dustymugs
+
+	* changed name "proportion" to "percent" for ST_Histogram to stay
+	  consistent with ST_ValuePercent
+
+2011-05-26 20:04  dustymugs
+
+	* Addition of ST_ValuePercent, sibling of ST_ValueCount. This
+	  function provides the ability to determine the percentage of a
+	  raster's band that is of a user-specified value.
+	  
+	  Assocated ticket is #990
+	  
+	  Also specified STRICT for functions with "searchvalue" (the
+	  singular) argument.
+
+2011-05-26 15:43  dustymugs
+
+	* Changed the datatype for "count" from integer to bigint. This
+	  should allow the "count" return value to handle large numbers
+	  coming from the various coverage functions.
+
+2011-05-26 14:01  robe
+
+	* #949 Add all E and F deprecated functions to
+	  uninstall_legacy.sql.in.c and minor sorting and casing cleanup.
+
+2011-05-26 07:26  strk
+
+	* Error handling refinements in topology.ST_AddEdgeNewFaces (#988)
+	  
+	  Check for given edge having two distinct vertices before getting
+	  a new
+	  edge id from sequence, and before testing it for crossing nodes
+	  (or it'd
+	  give a confusing error message). Refine error message about
+	  no-segment
+	  edges to not talk about nodes. [RT-SIGTA]
+
+2011-05-26 04:23  dustymugs
+
+	* Adds ST_ValueCount to count the number of times a user-provided
+	  value or all values occurs in a raster's band.
+	  
+	  Associated ticket is #953
+
+2011-05-25 23:38  robe
+
+	* 
+
+2011-05-25 23:37  robe
+
+	* put header on table
+
+2011-05-25 21:09  robe
+
+	* try group
+
+2011-05-25 18:42  pramsey
+
+	* #661 Type info of geography columns incomplete - pg_dump output
+	  wrong
+
+2011-05-25 18:28  dustymugs
+
+	* Add ST_Count and ST_Sum functions that are fronts for the count
+	  and sum values of ST_SummaryStats
+	  
+	  Associated tickets are #985 (ST_Count) and #986 (ST_Sum)
+
+2011-05-25 13:13  robe
+
+	* 
+
+2011-05-25 12:49  robe
+
+	* 
+
+2011-05-25 12:48  robe
+
+	* 
+
+2011-05-25 12:35  robe
+
+	* 
+
+2011-05-25 12:29  robe
+
+	* revert
+
+2011-05-25 12:13  robe
+
+	* define style for methodsynopsis
+
+2011-05-24 18:53  robe
+
+	* missed a spot
+
+2011-05-24 18:50  robe
+
+	* experiment with methodsynopsis evidentally seems to support
+	  default parameters and conditional args, we need to move from
+	  funcsynopsis (designed for C) to methodsynopsis. This is what PHP
+	  uses -- https://doc.php.net/php/dochowto/chapter-skeletons.php
+
+2011-05-24 15:21  strk
+
+	* Stop using astext legacy function in raster tests -- make check
+	  finally succeeds with both raster and topology enabled
+
+2011-05-24 14:47  strk
+
+	* Allow dumping universal face edges with ST_GetFaceEdges. Do it in
+	  the correct order. Fixes bug #984. [RT-SIGTA]
+
+2011-05-24 14:27  dustymugs
+
+	* - Added test testgdalraster.in which properly tests the output of
+	  ST_AsGDALRaster. This test makes use of rtgdalraster.py found in
+	  raster/scripts/python, which itself requires psycopg2.
+	  - Refactored rt_asgdalraster.sql, rt_astiff.sql, rt_asjpeg.sql
+	  and rt_aspng.sql to no longer attempt to validate the output of
+	  the respective functions with an MD5 checksum but rather be a
+	  test of the functions' behaviors.
+
+2011-05-24 13:49  strk
+
+	* ST_GetFaceGeometry: throw SQL/MM exception when asked for the
+	  Universal Face geometry. Fixes bug #973 [RT-SIGTA]
+
+2011-05-24 13:47  strk
+
+	* topology.ValidateTopology: do not construct the geometry of
+	  universal face, it's not used anyway. Closes bug #977. [RT-SIGTA]
+
+2011-05-24 13:15  strk
+
+	* ST_AddEdgeNewFaces: don't get fooled by empty segments when
+	  computing azimuts [RT-SIGTA]
+
+2011-05-24 12:14  strk
+
+	* Fix a bogus test for ST_AddEdgeNewFaces (was missing to check
+	  informations about the newly added edge) -- [RT-SIGTA]
+
+2011-05-24 10:45  strk
+
+	* Add another (successful) test for ST_AddEdgeNewFaces when
+	  creating a new face in the universal face by closing a ring
+	  around an existing non-isolated edge [RT-SIGTA].
+
+2011-05-24 09:22  strk
+
+	* Add TODO item and SQL/MM compatibility note in ST_ChangeEdgeGeom
+
+2011-05-24 09:13  strk
+
+	* Test ST_ChangeEdgeGeom with edge crossing
+
+2011-05-24 08:45  strk
+
+	* ST_ChangeEdgeGeom: check existence of given edge, reduce scans
+	  used to check start/end point and simplify the code, regress test
+	  the fix. Fixes bug #979.
+
+2011-05-24 08:22  strk
+
+	* No functional change: tabs to 2 spaces.
+
+2011-05-24 08:13  strk
+
+	* Move tests for ST_ChangeEdgeGeom into a dedicated file. Prepared
+	  for ticket #979. [RT-SIGTA].
+
+2011-05-24 07:54  strk
+
+	* Test ST_GetFaceGeometry behavior when given face_id 0 (Universal
+	  Face). See ticket #973.
+
+2011-05-24 07:04  strk
+
+	* ST_AddIsoEdge: tell that a node is isolated by only looking at
+	  containing_face rather than recomputing it. Closes ticket #978.
+	  [RT-SIGTA]
+
+2011-05-24 06:55  strk
+
+	* Do not let ST_AddIsoNode add non-isolated nodes. Allow specifying
+	  0 as the isolated node face and check it is correct. If
+	  containing_face is given as null then compute it. Patch by Andrea
+	  Peri. [RT-SIGTA]
+
+2011-05-24 06:44  robe
+
+	* Fix for #981 - using astext legacy function in tests
+
+2011-05-24 06:43  robe
+
+	* fix typos
+
+2011-05-24 05:48  robe
+
+	* #722 remove Centroid and Dump, #949 more additons to uninstall
+	  (Centroid, Dump, addbbox,dropbbox)
+
+2011-05-24 05:19  robe
+
+	* fix link error
+
+2011-05-24 05:05  robe
+
+	* #722 remove AsBinary and AsText, #949 more additons to uninstall
+	  (AsText,Asbinary, other output functions)
+
+2011-05-24 03:03  robe
+
+	* Document ST_ChangeEdgeGeom, revise function to confirm to new
+	  plpgsql coding standard. Get rid of redundant && check since its
+	  already encapsulated in ST_Intersects and ST_Within
+
+2011-05-23 13:30  strk
+
+	* update the list of what's implemented and what not
+
+2011-05-23 13:30  strk
+
+	* Style-only change: tab to spaces in ST_AddIsoEdge, shorten name
+	  of test topology
+
+2011-05-23 13:13  strk
+
+	* Fix test for ST_AddIsoEdge verifying "geometry intersects an
+	  edge" exception. Fix exception message raised when attempting to
+	  insert a closed edge. Update regress test accoringly.
+
+2011-05-23 12:49  strk
+
+	* ST_AddIsoEdge: set containing_face of nodes connected by the
+	  newly added edge to null as the nodes are not isolated anymore.
+	  Regress test it. Closes ticket #976.
+
+2011-05-23 12:33  strk
+
+	* Put tests for ST_AddIsoEdge in their own file. Fix use of !
+	  rather than "not" for negating booleans in pl/pgsql.
+
+2011-05-23 11:30  strk
+
+	* Update load_topology.sql to properly set MBR field of faces.
+
+2011-05-23 11:28  strk
+
+	* And fix expected test output from st_addedgenewfaces (dunno how I
+	  could commit such a partial change...)
+
+2011-05-23 11:26  strk
+
+	* Oops, forgot to uncomment temporarely disabled lines
+
+2011-05-23 08:44  strk
+
+	* Test that topology.ST_AddEdgeNewFaces properly updates isolated
+	  edges contained in a newly created face [RT-SIGTA]
+
+2011-05-22 16:06  dustymugs
+
+	* - fixed band count check in st_asjpeg and st_aspng
+	  - fixed regression expected output for rt_aspng
+
+2011-05-22 06:33  robe
+
+	* Start work on #949 uninstall_legacy.sql and also some minor
+	  cleanup additions/sorting fo existing
+
+2011-05-20 20:18  robe
+
+	* treating as executable didn't help - going to reinit my db as
+	  utf-8 instead
+
+2011-05-20 13:48  jorgearevalo
+
+	* Commented line that caused memory crash because an invalid free.
+	  Related ticket #958.
+
+2011-05-19 20:36  strk
+
+	* topology.AddEdge: make edge linking self-consistent (each added
+	  edge will form a proper loop)
+
+2011-05-19 04:54  robe
+
+	* fix typo
+
+2011-05-19 04:53  robe
+
+	* support for 2D points, add multipoint 2d / 3d to cunit. Add a
+	  mapping table to documentation to clarify how we map PostGIS
+	  geometries to X3D equivalent.
+
+2011-05-19 04:04  robe
+
+	* clean up some compiler warnings
+
+2011-05-18 23:33  dustymugs
+
+	* - taking a suggestion from strk in #958, all regression tests for
+	  functions related to ST_SummaryStats has been rounded to 3
+	  decimal places
+	  - added additional argument checks for pgraster to rt_pg.c
+	  - changed floating point comparisons in rt_pg.c and rt_api.c
+
+2011-05-18 16:18  strk
+
+	* ST_AddEdgeNewFaces is now implemented..
+
+2011-05-18 16:08  strk
+
+	* topology.ST_AddEdgeNewFaces implementation and regression test
+	  [RT-SIGTA]
+
+2011-05-18 14:18  dustymugs
+
+	* ST_SummaryStats returns the sum as part of the summary stats.
+	  _ST_SummaryStats(rastertable, rastercolumn) function changed to
+	  make use of the sum and compute a straight mean (sum / count)
+	  rather than computing a weighted mean.
+
+2011-05-18 13:59  strk
+
+	* topology.AddFace(): properly update left/right face for edges
+	  _contained_ in the newly registered face and containing_face for
+	  isolated nodes in it, refine documentation about it [RT-SIGTA]
+
+2011-05-18 13:32  robe
+
+	* damn mathml you mock me! anyrate put in defaults as Pierre asked
+	  for ST_ASTiff (hope www... fixes their damn mathml). We really
+	  got to stop downloading that file.
+
+2011-05-18 12:55  robe
+
+	* define ST_SRText and backref
+
+2011-05-18 12:41  robe
+
+	* fix ST_ASTIFF incorrect types start putting in defaults
+
+2011-05-18 12:05  robe
+
+	* let me try to put the opt somewhere else.
+
+2011-05-18 11:12  robe
+
+	* more mistakes
+
+2011-05-18 11:08  robe
+
+	* fix some incorrect statements
+
+2011-05-18 08:58  strk
+
+	* topology.GetRingEdges() implementation and test. This is the
+	  first real user of next_left_edge/next_right_edge fields in the
+	  edge table. [RT-SIGTA]
+
+2011-05-18 07:23  strk
+
+	* Add a short paragraph about the semantic of edge's next_left_edge
+	  and next_right_edge fields.
+
+2011-05-18 07:15  robe
+
+	* Fix ST_AsTiff function proto typos
+
+2011-05-18 05:43  robe
+
+	* Document ST_AsTIFF and fix some missttatements about ST_ASPNG.
+	  Also pretend like we are using default args already
+
+2011-05-18 05:08  robe
+
+	* get rid of opt
+
+2011-05-18 04:43  robe
+
+	* bah just use brackets for optional args -- docbook seems to be
+	  ignoring the choice='opt' tag
+
+2011-05-18 04:13  robe
+
+	* try to get optional argument to have brackets using optional tag
+
+2011-05-18 00:00  robe
+
+	* revise to put optional arguments in [] in the description. Damn
+	  dtd keeps downloading
+
+2011-05-17 22:50  robe
+
+	* Nothing like experimenting with myself. Change ST_AsX3D to use
+	  default parameters and reduce down to one proto
+
+2011-05-17 19:35  strk
+
+	* Appropriately tag GML functions as STABLE, IMMUTABLE or VOLATILE
+	  - see bug #955
+
+2011-05-17 17:51  robe
+
+	* more back ref
+
+2011-05-17 17:45  robe
+
+	* fix typos add backrefere to ST_GDALDrivers
+
+2011-05-17 15:58  strk
+
+	* Strip 'SELECT' feedback from regression test outputs
+
+2011-05-17 15:27  dustymugs
+
+	* changed the dimensions of the raster generated for the summary
+	  stats test from 10000 x 10000 to 100 x 100
+
+2011-05-17 15:01  dustymugs
+
+	* Code cleanup of uncorrected statement from r7170
+	  Associated ticket is #954
+
+2011-05-17 14:46  dustymugs
+
+	* refactored code that attempted to modify a function parameter as
+	  PostgreSQL 8.4 sets all function parameters as CONSTANT, unlike
+	  PostgreSQL 9.0
+
+2011-05-17 14:42  strk
+
+	* Tag some functions as STABLE or even IMMUTABLE (from volatile) -
+	  see bug #955
+
+2011-05-17 14:04  dustymugs
+
+	* refactored usage of snprintf to use explicit string sizes rather
+	  than what is a gcc specific implementation where the return value
+	  of snprintf is the ideal size of the string
+
+2011-05-17 07:33  strk
+
+	* Fixed bug in sample topology load (face id sequence value)
+	  [RT-SIGTA]
+
+2011-05-17 06:34  robe
+
+	* revise to correctly comment functions with OUT parameters
+
+2011-05-17 05:37  robe
+
+	* fix typo
+
+2011-05-17 03:02  robe
+
+	* document ST_GDALDrivers and back reference to ST_AsGDALRaster
+
+2011-05-17 02:06  robe
+
+	* Document ST_AsGDALRaster
+
+2011-05-17 00:55  robe
+
+	* forgot availability and GDAL dependency note on ST_AsPNG
+
+2011-05-17 00:40  robe
+
+	* First draft of ST_ASPNG doco. Need some more examples and perhaps
+	  even pictures.
+
+2011-05-16 22:01  dustymugs
+
+	* - fixed usage of function parameter "hasnodata" to follow
+	  standardized interpretation
+	  - added copyright notices for work done by Bborie Park funded
+	  through the Regents of the University of California
+
+2011-05-16 19:56  dustymugs
+
+	* removed duplicative ST_Histogram function
+
+2011-05-16 19:54  dustymugs
+
+	* Add ST_AsPNG
+	  
+	  - added SQL functions for ST_AsPNG
+	  - added regression tests
+	  
+	  Associated ticket is #342
+
+2011-05-16 19:52  dustymugs
+
+	* Add ST_AsJPEG function
+	  
+	  - added SQL functions for ST_AsJPEG
+	  - added regression tests
+	  
+	  Associated ticket is #340
+
+2011-05-16 19:50  dustymugs
+
+	* Add ST_AsTIFF function
+	  
+	  - add SQL functions for ST_AsTIFF
+	  - add regression tests
+	  
+	  Associated ticket is #341
+
+2011-05-16 19:48  dustymugs
+
+	* Add ST_AsGDALRaster function and helper functions ST_GDALDrivers
+	  and ST_srtext
+	  - added rt_raster_to_gdal, rt_raster_gdal_drivers and
+	  rt_raster_to_gdal_mem functions to rt_core/rt_api.c and rt_api.h
+	  - added test cases to test/core/testapi.c
+	  - added RASTER_asGDALRaster and RASTER_getGDALDrivers to
+	  rt_pg/rt_pg.c
+	  - added SQL functions
+	  - added regression tests
+	  
+	  Associated ticket is #901
+
+2011-05-16 19:43  dustymugs
+
+	* Added ST_Reclass function
+	  
+	  - added rt_band_reclass and rt_raster_replace_band to
+	  rt_core/rt_api.c and rt_api.h
+	  - added test case to test/core/testapi.c
+	  - added RASTER_reclass to rt_pg/rt_pg.c
+	  - added SQL functions for ST_Reclass
+	  - added regression tests
+	  
+	  Associated ticket is #903
+
+2011-05-16 19:39  dustymugs
+
+	* Added ST_Quantile functions
+	  - added function rt_raster_get_quantiles to rt_core/rt_api.c and
+	  rt_api.h
+	  - added test case to test/core/testapi.c
+	  - added function RASTER_quantile to rt_pg/rt_pg.c
+	  - added SQL functions for ST_Quantile
+	  - added regression tests
+	  
+	  Associated ticket is #935
+
+2011-05-16 19:36  dustymugs
+
+	* Added ST_Histogram functions.
+	  - added function rt_band_get_histogram to rt_core/rt_api.c and
+	  rt_api.h
+	  - added test case to test/core/testapi.c
+	  - added function RASTER_histogram to rt_pg/rt_pg.c
+	  - added SQL functions for ST_Histogram
+	  - added regression tests
+	  
+	  Associated ticket is #934
+
+2011-05-16 19:34  dustymugs
+
+	* Added ST_MinMax function
+	  - added SQL functions for ST_MinMax
+	  - added regression tests
+	  
+	  Associated ticket is #902
+
+2011-05-16 19:32  dustymugs
+
+	* Added ST_StdDev function
+	  - added SQL functions for ST_StdDev
+	  - added regression tests
+	  
+	  Associated ticket is #932
+
+2011-05-16 19:30  dustymugs
+
+	* Added ST_Mean function.
+	  
+	  - added SQL functions for ST_Mean to rt_pg/rtpostgis.sql.in.c
+	  - added regression tests
+	  
+	  Associated ticket is #931
+
+2011-05-16 19:17  dustymugs
+
+	* Addition of ST_SummaryStats function.
+	  
+	  - added function rt_band_get_summary_stats to rt_core/rt_api.c
+	  and rt_api.h
+	  - added test case to test/core/testapi.c
+	  - added function RASTER_summaryStats to rt_pg/rt_pg.c
+	  - added SQL functions for ST_SummaryStats to
+	  rt_pg/rtpostgis.sql.in.c
+	  - added regression tests in test/regress
+	  
+	  Associated ticket is #930.
+
+2011-05-16 19:11  dustymugs
+
+	* Addition of ST_Band functionality.
+	  - added function rt_raster_from_band to rt_core/rt_api.c and
+	  rt_api.h
+	  - added test case to test/core/testapi.c
+	  - added function RASTER_band to rt_pg/rt_pg.c
+	  - added SQL functions for ST_Band to rt_pg/rtpostgis.sql.in.c
+	  - added regression tests in test/regress
+	  
+	  Associated ticket is #339 and attached patch st_band.3.patch
+
+2011-05-16 11:01  strk
+
+	* Fix a bug in the example topology data (related to
+	  next_left_edge) -- affected regress testing, also updated
+	  [RT-SIGTA]
+
+2011-05-13 19:29  robe
+
+	* forgot to add Bborie's organization
+
+2011-05-13 19:27  robe
+
+	* Add Bborie Park to development team lists. Assume Paul, you've
+	  given him SVN edit rights already.
+
+2011-05-13 08:46  robe
+
+	* apply astyle
+
+2011-05-13 08:46  robe
+
+	* apply astyle
+
+2011-05-13 01:04  chodgson
+
+	* additional bug fix for #844
+
+2011-05-12 22:05  chodgson
+
+	* added regess test for #884
+
+2011-05-12 18:51  chodgson
+
+	* merged fix from r7136 in 1.5 branch, fixes broken
+	  point_in_multipolygon_rtree, for #884
+
+2011-05-12 17:39  robe
+
+	* fix for #940 -- can't compile PostGIS 2.0 against PostgreSQL 9.1
+	  beta 1
+
+2011-05-12 16:14  strk
+
+	* topology.ST_AddEdgeNewFaces : tabs to spaces, named arguments,
+	  code cleanups and improved checks, tests for invalid calls
+	  [RT-SIGTA]
+
+2011-05-12 10:23  strk
+
+	* Don't miss to clean load_topology-4326.sql
+
+2011-05-12 07:28  robe
+
+	* add about the tiger upgrade script
+
+2011-05-11 14:59  robe
+
+	* more optimizations
+
+2011-05-11 13:50  robe
+
+	* put in some missing indexes
+
+2011-05-11 13:32  robe
+
+	* more performance enhancements
+
+2011-05-11 12:56  robe
+
+	* turn off debug mode
+
+2011-05-11 12:55  robe
+
+	* more usability and performance enhancements. Change
+	  geocoder/reverse_geocode to use tiger.state_lookup instead of
+	  each schema state table (to achieve this had to add statefp to
+	  lookup table). Also put in upgrade scripts and notes on upgrading
+	  in README. (current script will only upgrade an alpha tiger 2010
+	  (PostGIS 2.0.0 install) ).
+
+2011-05-11 11:32  robe
+
+	* bah Hudson still not happy. Make some preemptive changes
+
+2011-05-11 11:08  robe
+
+	* Frivolous edit to try to cure Hudson's hiccup
+
+2011-05-11 02:34  robe
+
+	* minor change to Kevin's bio
+
+2011-05-11 02:11  robe
+
+	* update PSC list and alphabetize it to get rid of any unintended
+	  implications of hierarchy. Add new PSC members / remove old and
+	  mark Paul as Chair.
+
+2011-05-10 04:54  robe
+
+	* fix some comments
+
+2011-05-10 03:57  robe
+
+	* put in a todo why I'm punting properly handling holes for now
+
+2011-05-09 19:59  robe
+
+	* more cleanup of normalize_address function
+
+2011-05-09 16:10  robe
+
+	* put in missing constraints
+
+2011-05-09 15:16  strk
+
+	* Implement, document, and regress-test SQL/MM ST_NewEdgeHeal
+	  [RT-SIGTA]
+
+2011-05-09 15:00  robe
+
+	* major speed improvements to normalize_address
+
+2011-05-09 14:17  strk
+
+	* Check for "other connected edges" before TopoGeometry definitions
+
+2011-05-09 14:07  strk
+
+	* Fix path to raster (regress) enabler script. Fixes ticket #947.
+
+2011-05-08 19:34  robe
+
+	* some explanation of theoretical vs. actual
+
+2011-05-08 17:20  robe
+
+	* mark as immutable
+
+2011-05-08 17:18  robe
+
+	* more cleanup. Get rid of more deprecated functions, put in more
+	  stable,imuutable markers. Change some functions from plpgsql to
+	  sql
+
+2011-05-08 16:36  robe
+
+	* Put in costing and make most of the functions either STABLE or
+	  IMMUTABLE. We were loosing a lot of cacheability of that. Also
+	  put in instructions in README how to upgrade the scripts. Will
+	  need to put this in the official docs too once cleaned that up a
+	  bit.
+
+2011-05-07 16:33  robe
+
+	* put in clock timestamps in debugging logic. We seem to be loosing
+	  more time on this normalize than we should be.
+
+2011-05-06 21:39  strk
+
+	* ST_ModEdgeHeal: move check for TopoGeometry after check for
+	  connected edges. Fixes bug #942 and regress-tests it [RT-SIGTA]
+
+2011-05-06 21:21  strk
+
+	* topology.ST_ModEdgeHeal: Check for edge existance before
+	  TopoGeometry definitions. Fixes bug #941 and regress-tests it.
+
+2011-05-06 14:29  jorgearevalo
+
+	* Trailing spaces removed from raster files.
+
+2011-05-06 12:06  jorgearevalo
+
+	* Changes in raster memory management:
+	  - Only calling function memory context is used, except in SRF
+	  functions, where
+	  multi_call_memory_ctx is used.
+	  - rt_context internals hidden. The memory management and error
+	  reporting is
+	  performed by rtalloc/rterror family functions. They simply call
+	  rt_context
+	  struct fields as requested. Same philosophy here than in
+	  liblwgeom.
+	  - Now rt_context memory is statically allocated. Before this, new
+	  memory for
+	  rt_context was allocated in every function call. And the memory
+	  was allocated
+	  outside the calling function (in fcinfo->flinfo->fn_mcxt postgres
+	  memory
+	  context).
+
+2011-05-06 06:46  strk
+
+	* Closer-to-iso exceptions from ST_GetFaceEdges/ST_ModEdgeHeal
+	  [RT-SIGTA]
+
+2011-05-05 21:12  strk
+
+	* Drop commented out code
+
+2011-05-05 21:12  strk
+
+	* Do not attempt to read points from empty pointarrays (thanks
+	  valgrind for finding this)
+
+2011-05-05 21:12  strk
+
+	* Allow dumping polygons with empty rings, fixing bug #937, add
+	  unit testing for that case.
+
+2011-05-05 12:13  robe
+
+	* amend
+
+2011-05-05 08:32  strk
+
+	* another generated file git-ignored
+
+2011-05-05 07:34  strk
+
+	* Ignore new generated files
+
+2011-05-05 07:30  robe
+
+	* replace osgeo log with project one and one that is not
+	  transparent so looks okay in pdf. Add PostGIS logo. Move logos to
+	  cover page.
+
+2011-05-05 02:45  robe
+
+	* get rid of literal wrapper
+
+2011-05-05 02:44  robe
+
+	* amend faq and fix some typos
+
+2011-05-05 02:30  robe
+
+	* Update Chris' bio now that he is taking on more of an active role
+
+2011-05-05 02:26  robe
+
+	* attempt at OSGeo branding our documentation
+
+2011-05-04 23:56  chodgson
+
+	* merged changes r7092 to fix null handling in st_collect for #912,
+	  #630 in 1.5 branch into trunk
+
+2011-05-04 18:34  strk
+
+	* Add note about updating joined edges and relationships, touch
+	  ST_ModEdgeSplit, ST_NewEdgeSplit, ST_ModEdgeHeal [RT-SIGTA]
+
+2011-05-04 18:20  strk
+
+	* Document ST_ModEdgeHeal [RT-SIGTA]
+
+2011-05-04 18:20  strk
+
+	* ST_ModEdgeHeal: update TopoGeom definitions, and test it
+	  [RT-SIGTA]
+
+2011-05-04 18:20  strk
+
+	* Test that healing of two edges is forbidden if any topogeom is
+	  defined by only one of them [RT-SIGTA]
+
+2011-05-04 18:20  strk
+
+	* Forbid healing edges if any feature is defined by only one of the
+	  two [RT-SIGTA]
+
+2011-05-04 18:19  strk
+
+	* Complete primitive (SQL/MM) portion of ST_ModEdgeHeal, regress
+	  test [RT-SIGTA]
+
+2011-05-04 18:19  strk
+
+	* Stub topology.ST_ModEdgeHeal [RT-SIGTA]
+
+2011-05-03 16:56  strk
+
+	* Add examples of ST_GetFaceEdges
+
+2011-05-03 13:35  robe
+
+	* more work on handling 3d polygons with holes
+
+2011-05-03 13:32  strk
+
+	* extent() -> st_extent()
+
+2011-05-03 13:32  strk
+
+	* Implement ST_GetFaceEdges (sql/mm topology function) [RT-SIGTA]
+
+2011-05-03 12:45  robe
+
+	* Use strk's suggestion of quieting hudson reqress by adding a \set
+	  VERBOSITY terse
+
+2011-05-03 08:20  strk
+
+	* Move type definition close to the function using it
+	  (ST_GetFaceEdges)
+
+2011-05-01 02:46  robe
+
+	* Fix handling of 3d polygons (still doesn't handle holes right),
+	  update doc to show example and also caveats so far, add polygon
+	  and polyhedralsurface example to c unit tests
+
+2011-04-30 22:26  colivier
+
+	* First implementation of #459. Still need unit tests and docs
+
+2011-04-30 08:38  robe
+
+	* put topology_comments generation back in the overall comments
+	  make
+
+2011-04-30 08:29  colivier
+
+	* Fix #933. Update related unit test. Add a convenient way to trace
+	  error in ST_GeomFromGML function
+
+2011-04-29 19:10  robe
+
+	* fix some typos in tiger geocoder documentation and hmm if Hudson
+	  is hiccuping (causing Olivier headaches), this might be the water
+	  he needs.
+
+2011-04-29 18:39  colivier
+
+	* Add LinearRing unit test for ST_GeomFromGML. Related to #905
+
+2011-04-29 17:44  colivier
+
+	* Add an srid default value as second optional parameter for
+	  ST_GeomFromGML. Related to #906. Remove a wrong srsName
+	  definition. Update doc and unit test
+
+2011-04-28 21:05  robe
+
+	* Fix for #927
+
+2011-04-28 17:57  robe
+
+	* fix typo
+
+2011-04-26 12:35  robe
+
+	* #722 More deprecated functions: Get rid Extent deprecated
+	  aggregate, find_extent, Combine_BBox,StartPoint, EndPoint
+
+2011-04-25 21:19  robe
+
+	* missed a spot
+
+2011-04-25 21:18  robe
+
+	* #923: document fix
+
+2011-04-25 20:43  robe
+
+	* more link back to legacy_faq in release notes and what's changed
+
+2011-04-25 20:32  robe
+
+	* more update of credits
+
+2011-04-25 18:49  pramsey
+
+	* Fix spelling of chodgson
+
+2011-04-23 08:19  robe
+
+	* Add faq about how to get back removed legacy functions
+
+2011-04-23 08:03  robe
+
+	* Add missing ST_MapAlgebra proto
+
+2011-04-22 11:36  jorgearevalo
+
+	* MapAlgebra expected test messages updated.
+
+2011-04-21 18:51  pracine
+
+	* Function necessary for ST_Histogram with a geometry parameter
+
+2011-04-21 15:03  pracine
+
+	* -First version of ST_Histogram
+
+2011-04-20 09:23  nicklas
+
+	* Fix bug #918
+
+2011-04-20 08:36  robe
+
+	* take out topology_comments build from make comments -- seems to
+	  be making Hudson mad. Will put back in later. I think this is
+	  flaw in docbook and its trying to download a buggy docbook
+	  version since it succeeds for me when built separately but not
+	  built in chain. Will try to put back later.
+
+2011-04-20 08:34  robe
+
+	* attempt at itemizing our licensing terms and licenses in use by
+	  various files and dependencies
+
+2011-04-20 08:06  robe
+
+	* minor indent change
+
+2011-04-20 07:04  robe
+
+	* Hudson is a demanding man. Try to make him happy again so he
+	  builds the docs again.
+
+2011-04-19 16:58  strk
+
+	* Document topology.polygonize(<toponame>)
+
+2011-04-19 16:58  strk
+
+	* Regress test for topology.polygonize(<toponame>)
+
+2011-04-19 16:58  strk
+
+	* Add topology.polygonize(<toponame>) function, see ticket #916
+
+2011-04-19 16:51  robe
+
+	* #914 separate chip legacy functions from rest of legacy functions
+	  (regular legacy will be converted to legacy.sql, but chip won't
+	  for now)
+
+2011-04-18 14:08  robe
+
+	* fix for #913 replace geometry2box2d with LWGEOM_to_BOX2DFLOAT4 in
+	  st_box2d function definition.
+
+2011-04-17 16:41  robe
+
+	* variable for buffer styles
+
+2011-04-15 20:34  pracine
+
+	* Warn that this function was implemented in C
+
+2011-04-15 20:30  pracine
+
+	* -The minimum for float and double are -FLT_MAX & -DBL_MAX
+	  -Stacked some CASE options
+
+2011-04-15 18:06  pracine
+
+	* -Fix for #651. Replace "scale" parameter for "pixelsize".
+
+2011-04-15 18:05  pracine
+
+	* -Fix for #651. Replace "scale" parameter for "pixelsize".
+
+2011-04-15 17:56  jorgearevalo
+
+	* Bug fixed: Loader tried to insert in <schema>.raster_overviews
+	  instead of public.raster_overviews
+
+2011-04-15 11:21  robe
+
+	* 
+
+2011-04-15 11:19  robe
+
+	* change to all line feed
+
+2011-04-15 11:15  robe
+
+	* more patch corrections to support sh
+
+2011-04-15 11:03  robe
+
+	* cleanup of breaks minor other changes
+
+2011-04-15 11:00  robe
+
+	* replace with linux breaks, minor changes to paths
+
+2011-04-14 16:29  jorgearevalo
+
+	* palloc return value doesn't need to be checked, because if out of
+	  memory, function ends with elog(ERROR). It never returns NULL.
+
+2011-04-14 13:50  strk
+
+	* Drop the unused BUILD_RASTER configure variable, fix use of the
+	  RASTER variable. Fixes bug #910.
+
+2011-04-14 11:07  strk
+
+	* Properly credit Stadt Uster, co-sponsor of buffer styles in 1.5
+
+2011-04-14 11:07  strk
+
+	* Implement SnapToGrid for CIRCULARSTRING and COMPOUNDCURVE. Just
+	  enough to fix #183.
+
+2011-04-14 10:38  strk
+
+	* Do not error out if things are clean already
+
+2011-04-14 10:36  strk
+
+	* Properly clean in loader's cunit test dir
+
+2011-04-13 19:53  jorgearevalo
+
+	* Context freed. It's not necessary.
+
+2011-04-13 19:44  jorgearevalo
+
+	* Fixed bug from ticket #837. Some other improvements in
+	  RASTER_mapAlgebra. Minor bug fixed in rt_raster_serialized_size.
+
+2011-04-13 11:21  strk
+
+	* Add test for ticket #834
+
+2011-04-13 10:25  mleslie
+
+	* Adding a dbf filter for file selection.
+
+2011-04-13 08:08  strk
+
+	* Have 'svnrebase' rule use an authors file rather than command.
+	  Lets older git do it (old git on the machine currently mirroring
+	  the codebase to github).
+
+2011-04-13 07:57  strk
+
+	* Add svnrebase rule, to facilitate use from git
+
+2011-04-13 07:41  strk
+
+	* Add script to be used with git-svn --authors-prog
+
+2011-04-12 12:34  robe
+
+	* Quiet quiet Hudson
+
+2011-04-11 17:13  robe
+
+	* credit change
+
+2011-04-11 16:17  robe
+
+	* 
+
+2011-04-11 16:14  robe
+
+	* preliminary cunit tests for x3d output functions
+
+2011-04-11 09:54  strk
+
+	* Add support for a RUNTESTFLAGS variable so you can do something
+	  like: 'make check RUNTESTFLAGS=-v' and get the problems printed
+	  w/out having to look at logs.
+
+2011-04-11 09:53  strk
+
+	* Do not raise an exception from DropGeometryTable if a
+	  non-existing table is given. Patch by Andrea Peri. Regress test
+	  mine. Closes ticket #861.
+
+2011-04-09 14:27  robe
+
+	* minor cleanup replace tabs with spaces in ST_LineToCurve example
+
+2011-04-09 06:32  robe
+
+	* fix url in ST_Azimuth.
+
+2011-04-08 17:02  robe
+
+	* Azimuth example with angles of azimuth and my drawing cheatsheet
+	  (st_azimuthmath.sql) in case have to do this again.
+
+2011-04-08 14:04  robe
+
+	* Document TopologySummary
+
+2011-04-08 10:58  strk
+
+	* tabs to spaces
+
+2011-04-07 18:02  jorgearevalo
+
+	* Some memory freed. Related ticket #851.
+
+2011-04-06 14:30  strk
+
+	* Fix typo in gserialized_overlaps (contains->overlaps). Fixes
+	  ticket #869.
+
+2011-04-05 22:26  robe
+
+	* Get rid of some tests in _ST_ConcaveHull and only attempt to make
+	  a polygon if the line is simple. ST_Covers is causing me quite a
+	  bit of greif as a testing tool. don't recall so many topo node
+	  this and that in GEOS 3.2 ST_Covers. Also add in some regress
+	  tests for ST_ConcaveHull -- more to come.
+
+2011-04-04 16:25  robe
+
+	* Fix typo in tiger manual and fix for #887 -- it was really the
+	  issue of using , instead of space to separate state and zip that
+	  was the main culprit
+
+2011-04-04 15:19  robe
+
+	* add pgsql2shp -m switch to dumper help
+
+2011-04-04 13:10  robe
+
+	* minor issue preventing legacy load: locate_along_measure should
+	  use ST_ wrapper
+
+2011-04-04 12:11  strk
+
+	* topology.AddFace: prepare ring geometry and check intersection
+	  with an interior edge point. Speeds up registration of faces,
+	  particularly when composed by many edges. See ticket #880.
+	  [RT-SIGTA]
+
+2011-04-04 07:05  strk
+
+	* Add -m reference in pgsql2shp manpage, by Loic Dachary. See
+	  ticket #885.
+
+2011-04-04 03:10  robe
+
+	* Add pgsql2shp allow predefined list to news and release. Add Loic
+	  Dachary to credits.
+
+2011-04-04 02:35  robe
+
+	* forgot one ST_AddBand proto
+
+2011-04-04 02:20  robe
+
+	* Add missing ST_Band protos and remove non-existent one
+
+2011-04-04 01:25  robe
+
+	* #898, #551: generate postgis_upgrade_20_minor.sql, legacy.sql and
+	  stop generating obsolete 15_minor, 14, 13_14
+
+2011-04-03 19:19  strk
+
+	* Ticket #855 by Loic Dachary: pgsql2shp fields conversion from
+	  predefined list
+
+2011-04-02 12:27  strk
+
+	* Use a 2d geometry for face mbr, even for 2.5d topologies. After
+	  all mbr is a rectangle (not cube) by definition (Minimum Bounding
+	  Rectangle) so we don't want to mess with poliedron or whatnot
+	  [see #103 for more infos about the can of worms..]
+
+2011-04-01 05:18  jorgearevalo
+
+	* Raster testing added to core testing. Related ticket #762.
+
+2011-03-31 10:26  strk
+
+	* topology.TopologSummary: survive presence of stale records in
+	  topology.topology and missing tables from topology schemas.
+
+2011-03-31 10:26  strk
+
+	* topology.TopologySummary: report 'has Z' flag on topologies
+
+2011-03-31 09:35  strk
+
+	* Add support for creating topologies allowing 3d vertices on edges
+	  and nodes. Includes regress testing [RT-SIGTA]
+
+2011-03-29 14:58  robe
+
+	* try to save as utf-8
+
+2011-03-29 14:10  robe
+
+	* that didn't work. Try resaving as latin1 and then repull down.
+
+2011-03-29 13:57  robe
+
+	* mark this as an executable then maybe just mamber it won't try to
+	  inherit the encoding of my OS
+
+2011-03-29 13:57  strk
+
+	* Add another test for topology.AddFace in presence of an open edge
+	  whose endpoints both intersect a polygon ring which does not
+	  cover it.
+
+2011-03-29 13:20  jorgearevalo
+
+	* Modified expected result for create_rt_gist_test regress test. It
+	  works
+	  differently in PostgreSQL 8.4.7 and PostgreSQL 9.0.3. See ticket
+	  #870.
+
+2011-03-29 11:10  robe
+
+	* Add #817 Renaming old 3D functions to the convention ST_3D to
+	  release notes
+
+2011-03-28 23:24  jorgearevalo
+
+	* Modified expected values for some raster tests
+
+2011-03-28 23:10  pracine
+
+	* -Minimal value for float is -FLT_MAX, not FLT_MIN
+
+2011-03-28 22:56  jorgearevalo
+
+	* liblwgeom/lex.yy.c version 6180 reverted
+
+2011-03-28 22:52  jorgearevalo
+
+	* Missed check added again.
+
+2011-03-28 22:49  jorgearevalo
+
+	* Some bugs related with ticket #870 solved. Added more test for
+	  polygonize function.
+
+2011-03-28 22:10  pracine
+
+	* -Changed message not proper when just setting pixel value
+
+2011-03-28 20:31  pracine
+
+	* -Transformed many error into warning (or notice)
+	  -Removed function name in message for warnings
+	  -Added doc about rules when to return notice or error
+	  -Removed commented out notices
+	  -removed warning when passed raster is null. Just return null
+	  -Get band number with PG_GETARG_INT32 instead of PG_GETARG_UINT16
+	  which was converting values < 0 to something > 0
+
+2011-03-28 20:21  robe
+
+	* attempt to quiet floating point erros in reprojection by roudning
+	  the coordinates (worked on mingw and still works after change). I
+	  assume -ws are when using -w switch?
+
+2011-03-28 18:46  nicklas
+
+	* Putting renamed 3D-functions in legacy.sql.c and some clarifying
+	  notes about the renaming
+
+2011-03-28 18:01  jorgearevalo
+
+	* Raster polygonization optimized using a layer filter to avoid
+	  NODATA values. Related ticket #870.
+
+2011-03-27 17:50  nicklas
+
+	* Renaming of 3D functions, #817
+
+2011-03-27 02:43  robe
+
+	* more additions / corrections to release notes
+
+2011-03-26 23:44  robe
+
+	* 
+
+2011-03-26 23:42  robe
+
+	* more typo corrections
+
+2011-03-26 18:04  robe
+
+	* update docs to reflect changes in tiger loader
+
+2011-03-26 17:43  robe
+
+	* cleanup change linux to sh. Get rid of some typos in the sh
+	  script generator, move some more variables to the top for easier
+	  setting. Fix some errors in loader_tables preventing some soundex
+	  index from being created. Change reverse_geocoder.sql (from
+	  utfy-8 (not sure how that happened)
+
+2011-03-25 09:11  robe
+
+	* amend to include work on tiger geocoder
+
+2011-03-24 22:56  pracine
+
+	* -Fixxed a bug getting toindex band index
+	  -Classified one function declaration
+
+2011-03-24 22:55  pracine
+
+	* -ST_AddBand should add the new band as the last band if no band
+	  index is apecified
+
+2011-03-24 11:39  robe
+
+	* Give special functions index a static name so it doesn't get
+	  pushed down to another chapter every time we add a new chapter
+
+2011-03-23 22:09  pracine
+
+	* -Return NULL if raster is NULL in RASTER_addband
+	  -Warn if first raster is NULL in RASTER_copyband and return NULL
+
+2011-03-23 22:01  pracine
+
+	* -Reordered/classified function declaration
+	  -Renamed index and nband to bandindex in many functions
+	  -Better handling for NULL in RASTER_setBandNoDataValue following
+	  ticket #883. Return original raster if can't set nodata value
+
+2011-03-23 21:50  pracine
+
+	* Removed extra spaces
+
+2011-03-23 20:51  pracine
+
+	* -Better handling of NULL for ST_SetValue. Return the original
+	  raster when band, X or Y are NULL instead of an error or NULL.
+	  See #883.
+
+2011-03-23 19:52  pracine
+
+	* -General review of ST_AddBand following ticket 871
+	  -Moved some warning in the core
+	  -Renamed the parameters to make more explicit which one is "to"
+	  and which one is "from"
+	  -Fixed confusion in parameter order.
+	  -Set many rtpostgis.sql.in.c functions to STRICT
+	  -Removed check for null in RASTER_getPixelValue since st_value is
+	  now strict. More might follow.
+	  -Removed (or moved) some documentation from rt_api.c already
+	  present in rt_api.h
+
+2011-03-23 18:15  jorgearevalo
+
+	* Semicolon missed.
+
+2011-03-23 02:57  jorgearevalo
+
+	* Server crash reported in ticket #837 partially solved. SPI_finish
+	  causes server to crash. Commented in this commit, but it's not a
+	  good solution, I think.
+	  This guy had the same problem 10 years ago. No responses:
+	  http://www.mail-archive.com/pgsql-general@postgresql.org/msg18558.html
+
+2011-03-22 20:31  pracine
+
+	* -ST_PixelAsPolygons also return the x & y coordinates of the
+	  pixel
+
+2011-03-22 14:26  robe
+
+	* some clarification of specs
+
+2011-03-22 13:54  robe
+
+	* more cleanup
+
+2011-03-22 05:57  robe
+
+	* minor rearrangement wording changes to Paul's bio
+
+2011-03-22 05:53  robe
+
+	* Amend my bio so people know who to point fingers at when Tiger
+	  Geocoder and X3D don't work right.
+
+2011-03-22 05:44  robe
+
+	* Fix #879 (get rid of use of both deprecated line_locate_point and
+	  line_substring... document function
+
+2011-03-21 16:33  strk
+
+	* Add test for ST_Polygonize with nested collection input (see
+	  ticket #878)
+
+2011-03-21 11:04  strk
+
+	* Convert to $$ quoting (ticket #714)
+
+2011-03-21 10:28  strk
+
+	* Add an ST_RemIsoNode alias to ST_RemoveIsoNode (ticket #798)
+
+2011-03-21 10:18  strk
+
+	* ST_ModEdgesSplit -> ST_ModEdgeSplit (ticket #794)
+
+2011-03-20 16:04  robe
+
+	* 
+
+2011-03-20 15:58  robe
+
+	* more credit cleanup and rounding up of credits
+
+2011-03-20 15:44  robe
+
+	* fix typo
+
+2011-03-20 14:01  jorgearevalo
+
+	* Two ST_AddBands missing variants added. Related tickets #858,
+	  #792.
+
+2011-03-20 08:55  strk
+
+	* Re-drop ST_SharedPath from topology.AddFace, this time with
+	  stronger robustness, so not prone to error exposed by #874. It
+	  was a pity to give up a 10% speed improvement... Thanks supermoon
+	  for keeping me up. [RT-SIGTA]
+
+2011-03-19 23:35  strk
+
+	* Fix #874 by getting back to ST_SharedPaths use. Might try to
+	  optimize again in the future, but correctness first! This commit
+	  also adds regression testing for the case [RT-SIGTA]
+
+2011-03-19 02:49  robe
+
+	* more company contribution amendments
+
+2011-03-19 02:31  robe
+
+	* more updating to better reflect corporate sponsor contributions
+
+2011-03-19 02:05  robe
+
+	* More cleanup of release notes. Add a corporate contributors
+	  section to kill 2 birds (give credit to companies that have
+	  funded PostGIS and also so we have a catalog of companies that
+	  can lay claim to parts of PostGIS as part of our incubation due
+	  diligence). Guys if I'm missing companies in the list which I
+	  most surely am, please add them.
+
+2011-03-18 21:13  robe
+
+	* Fill in coordIndex for multipolygons
+
+2011-03-18 20:06  robe
+
+	* 
+
+2011-03-18 19:56  robe
+
+	* force to LF eol type so doesn't barf in MingW
+
+2011-03-18 19:43  pramsey
+
+	* Jeff Adams: Changed variables we are storing getopt result in
+	  from char to int, since int is the return type from the getopt
+	  function. (#663)
+
+2011-03-18 19:33  robe
+
+	* Update credits and release notes to include Jeff Adams much
+	  appreciated contributions and other minor things
+
+2011-03-18 19:22  pramsey
+
+	* Jeff Adams: Removed not-really-necessary -m1 parameter from grep
+	  call because it does not work on MingW.
+
+2011-03-18 19:13  pramsey
+
+	* Jeff Adams: Added regression test for LATIN1 encoding, fixed
+	  failure to convert to UTF8. (#808)
+
+2011-03-18 19:03  robe
+
+	* need to always output with LF breaks otherwise fails on windows
+	  mingw as windows switches the breaks to CRLF
+
+2011-03-18 18:30  pramsey
+
+	* Jeff Adams: Added dumping tests for -G versions of loader regress
+	  tests.
+
+2011-03-18 18:21  pramsey
+
+	* Jeff Adams: Now runs all the normal regression tests with the -G
+	  option as well. (#358)
+
+2011-03-18 17:36  pramsey
+
+	* Jeff Adams: Adding a regression test for the loader that uses a
+	  schema-qualified table name.
+
+2011-03-18 16:54  pramsey
+
+	* Jeff Adams: Per suggestion on #857, corrected output to indicate
+	  table name is optional.
+
+2011-03-18 16:47  pramsey
+
+	* Whoops, back out the gserialized flag
+
+2011-03-18 16:24  pramsey
+
+	* Jeff Adams: Increasing precision due to tests failing in
+	  automatic build.
+
+2011-03-18 16:16  pramsey
+
+	* Add the &&& operator and index binding for
+	  'gist_geometry_ops_nd'. Operator behavior in mixed-dimension
+	  query situations still to be determined.
+
+2011-03-18 15:52  pramsey
+
+	* Fix build fail when DEBUG = 1.
+
+2011-03-18 15:40  pramsey
+
+	* Fixes the following shp2pgsql issues:
+	  #229: A new "-r" command line parameter to specify a "from" SRID
+	  for reprojecting (the existing -s is the "to").
+	  #779: -S now works for points, and -w is documented.
+	  #864: MULTIPOINT shapefiles with single-vertex points now
+	  correctly load with all MULTIPOINTs.
+	  #865: no longer crashes when both -g and -G are used.
+
+2011-03-18 14:11  pracine
+
+	* -Standardized the way we write "nodata" from "NODATA" to "nodata"
+	  -My editor remove a lot of trailing space and convert tab to 4
+	  spaces. Please set your editor to do the same.
+
+2011-03-18 14:06  pracine
+
+	* -Fix for ticket 792: Clamp double to known values when pixeltype
+	  is other than double in rt_band_set_nodata, rt_band_set_pixel &
+	  rt_raster_generate_new_band
+	  -Added function name to many error messages
+	  -Standardized the way we write "nodata" from "NODATA" to "nodata"
+	  -Moved some documentation to the header file
+	  -My editor remove a lot of trailing space and convert tab to 4
+	  spaces. Please make your editor do the same.
+	  -Removed declarations of many unused variable
+
+2011-03-17 19:30  pramsey
+
+	* Quiet some debug-level warnings.
+
+2011-03-17 19:27  pramsey
+
+	* Fix mis-named debugging global
+
+2011-03-17 13:44  pramsey
+
+	* Replace variable-length-key 2D index with fixed-length-key for
+	  GSERIALIZED case.
+
+2011-03-17 00:08  strk
+
+	* Avoid using ST_SharedPath in topology.AddFace as well.
+
+2011-03-16 22:15  robe
+
+	* Multilinestring working even for closed multilinestrings. Still
+	  need to fix polygon and multipolygons. also added example of
+	  closed multilinestring.
+
+2011-03-16 20:23  robe
+
+	* sort of take care of multilinestrings -- doesn't work for
+	  multilinestrings with closed linestrings so that's next up to
+	  correct.
+
+2011-03-16 19:16  pramsey
+
+	* Jeff Adams: Updated man page for -X, -T, and -e parameters (#110
+	  and #67).
+
+2011-03-16 19:16  pramsey
+
+	* Jeff Adams: Only automatically run -D tests if no custom
+	  parameters have been set.
+
+2011-03-16 18:48  jorgearevalo
+
+	* Deleted empty rt_raster_map_algebra function from rt_core.
+	  MapAlgebra
+	  implemented at PostgreSQL level.
+
+2011-03-16 17:53  robe
+
+	* replace & with & to fix build
+
+2011-03-16 17:16  pramsey
+
+	* Jeff Adams patch to add command line flag to not use a
+	  transaction. (#110)
+
+2011-03-16 16:47  robe
+
+	* #651 revise ST_MakeEmptyRaster so arg names and types are
+	  consistent
+
+2011-03-16 14:06  pramsey
+
+	* Jeff Adams new testing of loader with cmd line options.
+
+2011-03-16 13:03  pramsey
+
+	* Jeff Adams patch to allow pre/post actions in regression tests
+
+2011-03-16 13:02  pramsey
+
+	* Jeff Adams patch to support tablespaces (#67)
+
+2011-03-16 05:15  robe
+
+	* Document ST_ASX3D function -- still a work in progress -- will
+	  add more as I flesh out the rest.
+
+2011-03-16 04:48  robe
+
+	* Alas a functioning polyhedralsurface export viewable in freeWRL.
+	  Also add proto that just takes geometry as argument and defaults
+	  to precision 15
+
+2011-03-15 15:11  jorgearevalo
+
+	* Added ST_IsEmpty documentation. Related ticket #591.
+
+2011-03-15 14:04  robe
+
+	* Add regress tests for populate_geometry_columns,DropGeometryTable
+
+2011-03-15 06:01  robe
+
+	* Fix copy comment error
+
+2011-03-14 17:00  robe
+
+	* Lots of fixes. TIN is about perfect, Point, multipoint about
+	  perfect too, LINESTRING close.
+
+2011-03-12 10:42  robe
+
+	* minor corrections
+
+2011-03-11 21:12  robe
+
+	* preliminary work on x3d export. Still a lot to go. point,
+	  multipoint, tin, linestring almost working. Still need to fiddle
+	  with coordindex and spacing and get rid of junk copied from gml
+	  not needed.
+
+2011-03-11 13:27  robe
+
+	* minor change
+
+2011-03-11 12:37  robe
+
+	* Add Availability: 2.0.0 for functions I know are new after the
+	  raster postgis 2.0.0 merge
+
+2011-03-11 12:26  robe
+
+	* document GetFaceByPoint and revise release_notes
+
+2011-03-10 21:18  robe
+
+	* Add in Jorge's great windows instructions
+
+2011-03-10 18:53  strk
+
+	* Add a --raster flag to run_test
+
+2011-03-10 11:33  strk
+
+	* TopologySummary: Take an empty feature_column as a sign of a
+	  "detached" topological layer (one having no deploy on
+	  user-tables).
+
+2011-03-09 21:59  strk
+
+	* Ticket #849 by Andrea Peri: topology.GetFaceByPoint
+	  implementation and test
+
+2011-03-09 19:18  strk
+
+	* Ticket #856: topology.CopyTopology(text,text) implementation,
+	  test and documentation
+
+2011-03-09 16:30  strk
+
+	* Make createtopogeom test independent from the number of
+	  topologies created before running it
+
+2011-03-09 10:19  strk
+
+	* Ticket #855: topology.TopologySummary(<name>)
+
+2011-03-09 10:14  strk
+
+	* Add note for ST_Relate with boundary node rule
+
+2011-03-08 15:26  strk
+
+	* Simplify AddEdge code by using BoundaryNodeRule 2 (Endpoint) in
+	  ST_Relate call, thus saving a couple of calls to ST_RelateMatch.
+	  See tickets #770 and #844.
+
+2011-03-08 10:43  strk
+
+	* Some (poor) documentation for ST_Relate(g1,g2,boundaryNodeRule)
+
+2011-03-08 10:23  strk
+
+	* Ticket #844: add support for boundary node rule specification in
+	  ST_Relate [RT-SIGTA]
+
+2011-03-08 08:16  strk
+
+	* Enable a very old relate test which for some reason was never
+	  automatically run
+
+2011-03-07 11:05  strk
+
+	* Avoid using ST_SharedPath (expensive)
+
+2011-03-05 11:00  jorgearevalo
+
+	* is_nan function defined for Python versions under 2.6
+
+2011-03-05 09:12  robe
+
+	* more marks of TIN
+
+2011-03-05 06:17  robe
+
+	* Flag more functions as supporting TINS, provide some examples
+
+2011-03-05 06:07  robe
+
+	* more examples of TIN and polyhedral surfaces
+
+2011-03-05 05:51  robe
+
+	* Fix ST_DumpPoints 3D examples so they don't flatten to 2D
+
+2011-03-01 14:47  strk
+
+	* More ignores
+
+2011-02-28 18:14  strk
+
+	* Use left_face/right_face when looking for face ring's edges. I've
+	  seen some areal TopoGeometries dumped in 1:76 of the time
+	  [RT-SIGTA]
+
+2011-02-28 10:53  strk
+
+	* Add test for invalid AddFace call (polygon not fully defined by
+	  known edges)
+
+2011-02-28 10:40  strk
+
+	* Founded -> Found (in expected results..)
+
+2011-02-26 21:29  robe
+
+	* #848 Fix eror message for GetNodeByPoint, GetNodeByEdge
+
+2011-02-26 04:22  robe
+
+	* cealn up examples and data type mistake
+
+2011-02-26 03:32  robe
+
+	* minor changes and attempt to fix matrix table (cutting off now)
+
+2011-02-25 23:01  robe
+
+	* doucmentation for #791 , #793 - GetNodeByPoint, GetEdgeByPoint --
+	  made some changes to Andrea Peri's wording and change ot examples
+	  so they really fall in MA. Still need to output results.
+
+2011-02-25 09:18  strk
+
+	* Update copyright notice
+
+2011-02-25 08:56  strk
+
+	* topology.GetEdgeByPoint: implementation and regress test, by
+	  Andrea Peri. Ticket #791. Note that previous commit (for #793)
+	  was GetNodeByPoint. My mistake, sorry.
+
+2011-02-25 08:45  strk
+
+	* topology.GetEdgeByPoint: implementation and regress test, by
+	  Andrea Peri. Ticket #793
+
+2011-02-24 21:44  nicklas
+
+	* Copyright notes
+
+2011-02-24 17:39  robe
+
+	* fix typo
+
+2011-02-24 17:23  robe
+
+	* Put in a note about nominatim OSM geocoder that works with
+	  international addresses and open street map data
+
+2011-02-24 17:16  jorgearevalo
+
+	* Now is not possible to load rasters with different scale in the
+	  same table. Related ticket #153
+
+2011-02-24 15:45  strk
+
+	* Improve precision of point_in_ring_rtree too (bug #845).
+
+2011-02-24 15:17  strk
+
+	* Improve precision of point_in_ring. Fixes and regress-tests bug
+	  #845.
+
+2011-02-24 07:54  robe
+
+	* note psc members
+
+2011-02-24 07:52  robe
+
+	* amend list of core contributors, add in their svn usernames and
+	  core areas of responsibility
+
+2011-02-24 07:35  robe
+
+	* Amend author list and credits (credits is still obsolete --
+	  tempted to just get rid of it since its redundant with news and
+	  hard to maintain)
+
+2011-02-23 08:58  robe
+
+	* amend enhancements line for ST_AsGML to note strk's addition of
+	  option 4 -- use LineString instead of curve tag
+
+2011-02-22 14:52  strk
+
+	* Ticket #816: flag to select <LineString> over <Curve> for GML3
+	  line output [RT-SIGTA]
+
+2011-02-22 14:25  strk
+
+	* Test new LW_GML_SHORTLINE GML2 option [RT-SIGTA]
+
+2011-02-22 14:25  strk
+
+	* Add LW_GML_SHORTLINE flag to prefer <LineString> over <Curve> tag
+	  for lines GML3 output [RT-SIGTA]
+
+2011-02-22 13:01  strk
+
+	* Use a single bitfield for GML output options [RT-SIGTA]
+
+2011-02-19 01:05  mloskot
+
+	* Improved GDAL detection and reporting
+
+2011-02-19 00:42  mloskot
+
+	* ./configure checks for GDAL Python bindings with built-in NumPy
+	  array support (Ticket #838)
+
+2011-02-18 16:24  strk
+
+	* Performance improvements in topology.AddFace: consider each ring
+	  separately when looking for composing edges; compute orientation
+	  inside the loop body to avoid sorting and grouping [RT-SIGTA]
+
+2011-02-18 14:58  strk
+
+	* Test passing polygons with holes to topology.AddFace [RT-SIGTA]
+
+2011-02-17 19:19  robe
+
+	* Amend ST_AsGML and ST_GeomFromGML to include the fact they
+	  support TINS
+
+2011-02-17 13:13  robe
+
+	* 
+
+2011-02-17 13:08  robe
+
+	* wrong statement
+
+2011-02-17 13:02  robe
+
+	* indent a bit better
+
+2011-02-17 13:01  robe
+
+	* Provide a more useful example of map algebra.
+
+2011-02-17 12:15  robe
+
+	* fix typo and add reference to ST_Value
+
+2011-02-17 12:10  robe
+
+	* fix typo in xsl hopefully will make raster list right -- though
+	  must have syntax wrong anyway since topology and tiger get
+	  listed.
+
+2011-02-17 06:07  robe
+
+	* provide an example of map algebra
+
+2011-02-17 04:31  robe
+
+	* #836 PostGIS raster in 2.0 is not being output in Trunk Doxygen
+
+2011-02-17 04:23  robe
+
+	* Document ST_MapAlgebra -- need better description and examples
+	  forthcoming
+
+2011-02-16 19:15  jorgearevalo
+
+	* Added documentation for the new version of ST_AddBand function
+
+2011-02-16 19:12  jorgearevalo
+
+	* Added a new variant for ST_AddBand, taking 2 rasters as input.
+	  Needs doc.
+
+2011-02-16 18:19  jorgearevalo
+
+	* - One raster core implementation of MapAlgebra (related ticket
+	  #588, needs
+	  documentation).
+	  - RASTER_addBand code moved to core level. The new RASTER_addBand
+	  function calls
+	  the core one (rt_raster_generate_new_band).
+	  - Added regression tests for MapAlgebra.
+	  - Deleted lexer/parser at core level. Not used.
+	  - Fixed small bug in documentation: ST_SetBandNoDataValue returns
+	  a raster, not
+	  an integer.
+
+2011-02-16 17:41  strk
+
+	* Add UnaryUnion item
+
+2011-02-16 11:15  strk
+
+	* Document ST_UnaryUnion
+
+2011-02-16 10:19  strk
+
+	* Stop on first error when creating the regress db
+
+2011-02-16 10:19  strk
+
+	* Expose versions of ST_IsValid and ST_IsValidReason accepting "the
+	  ESRI flag" and implemented as wrappers to ST_IsValidDetail. Only
+	  available when building against GEOS-3.3+. Commit includes
+	  documentation and regress-testing. Closes ticket #831 [RT-SIGTA]
+
+2011-02-16 09:12  strk
+
+	* Only run ST_isValidDetail if GEOS is >= 3.3 -- Reduce tests for
+	  GEOS version grouping togheter tests depending on the same
+	  version [RT-SIGTA]
+
+2011-02-16 08:54  strk
+
+	* Regression test for ST_isValidDetail (including "ESRI" flag)
+	  [RT-SIGTA]
+
+2011-02-16 08:34  strk
+
+	* Document ST_isValidDetail(geom, flags) variant [RT-SIGTA]
+
+2011-02-15 17:36  strk
+
+	* Allow specifying validity checking flags in ST_isValidDetail
+	  [RT-SIGTA]
+
+2011-02-15 13:49  robe
+
+	* Make work on PostgreSQL 8.4 (was using some syntax only allowed
+	  in 9.0+). Also account for the odd / even side of street rule.
+	  And of course that demonstrated there is a bug somewhere (most
+	  likely in the geocoder), but got to pull up some maps to see
+	  which is right. One of these has the address orientations flipped
+	  (odd /even not right). Of course I have to be right :). Boy do I
+	  hate when you program the reverse of something and it exposes a
+	  bug. Also fix some minor documentation.
+
+2011-02-15 08:26  strk
+
+	* topology: create an index on edge.left_face and edge.right_face,
+	  speeding up construction of polygonal Geometry from TopoGeometry
+	  by a factor of 10 (Closes #806)
+
+2011-02-15 07:19  robe
+
+	* document reverse_geocode
+
+2011-02-15 06:36  robe
+
+	* Change to transform the point if not in nad83 long lat already
+
+2011-02-15 06:15  robe
+
+	* reverse_geocode complete (with street range), now to document and
+	  improve speed and test
+
+2011-02-15 00:26  robe
+
+	* Journeying into street ranges now can tell which side of the
+	  street we are on and spits that out when include_strnum_range is
+	  true. Next (hopefully last) step will be to pinpoint address
+	  number
+
+2011-02-14 18:22  robe
+
+	* First draft of reverse geocde currently just gets the street need
+	  to interpolate to get approximate number
+
+2011-02-14 17:26  strk
+
+	* ST_UnaryUnion and test
+
+2011-02-14 12:10  jorgearevalo
+
+	* The array for NODATA values is not generated if NaN is returned
+	  as nodata value
+	  for bands. Related ticket #828.
+
+2011-02-14 11:57  robe
+
+	* fix another mismatched tag
+
+2011-02-14 03:33  robe
+
+	* put in missing / and not about implementation
+
+2011-02-14 03:10  robe
+
+	* recommit
+
+2011-02-14 02:33  robe
+
+	* amend mapserver instructions mode='2' is now required for most
+	  rasters to display
+
+2011-02-13 03:51  robe
+
+	* ST_AddEdgeNewFaces - On closer inspection -- a lot of work is
+	  done in it, but not enough to make it functional.
+
+2011-02-13 03:45  robe
+
+	* ST_AddEdgeNewFaces - still need to put in an example
+
+2011-02-12 18:22  robe
+
+	* fix typo and add minor amendments
+
+2011-02-11 22:58  robe
+
+	* 
+
+2011-02-11 22:45  robe
+
+	* add back in example
+
+2011-02-11 22:40  robe
+
+	* more pieces
+
+2011-02-11 22:31  robe
+
+	* add another piece
+
+2011-02-11 22:18  robe
+
+	* Slowly put back new section -- last build worked.
+
+2011-02-11 22:06  robe
+
+	* remove new section to see if that fixes build
+
+2011-02-11 21:15  robe
+
+	* Get rid of <p> and replace with <para>
+
+2011-02-11 21:04  robe
+
+	* Hudson is alive again but not happy. Hopefully this will make him
+	  happier.
+
+2011-02-11 08:56  robe
+
+	* Add new section on loading rasters. will eventually copy some
+	  content from gdal site and wiki site and various examples of
+	  loading rasters and creating from scratch.
+
+2011-02-10 11:59  robe
+
+	* #824 more corrections from Kashif Rasul
+
+2011-02-10 06:56  robe
+
+	* wow geocoder flies on decent hardware.
+
+2011-02-10 06:10  robe
+
+	* documentaiton is in DocBook XML not SGML (well not anymore
+	  anyway).
+
+2011-02-10 06:01  robe
+
+	* Add tiger_geocoder to enhancements, add Kashif Rasul to credits
+	  in appreciation of his many corrections to the documentation,
+	  other minor credits corrections
+
+2011-02-10 05:33  robe
+
+	* Add some calrification notes to normalize_address function. Get
+	  rid of superfluous line break in linux script.
+
+2011-02-10 04:40  robe
+
+	* Revise README to be clearer. Update the tiger_loader linux
+	  script.
+
+2011-02-09 16:36  strk
+
+	* topology.AddFace: report an "uncovered point" on missing edges
+	  [RT-SIGTA]
+
+2011-02-09 16:01  robe
+
+	* change references of the_geom and the_geog to geom and geog.
+	  "the" is so much wasteful typing
+
+2011-02-09 12:54  robe
+
+	* #821: doc typos errata from Kashif Rasul
+
+2011-02-08 17:42  strk
+
+	* Do not call lwmessage_truncate if not needed (an prior to
+	  checking the args passed to it)
+
+2011-02-07 22:05  robe
+
+	* fix typo
+
+2011-02-07 17:51  robe
+
+	* document history_table feature
+
+2011-02-07 17:03  strk
+
+	* Also set LANG (see ticket #819) [RT-SIGTA]
+
+2011-02-07 16:53  strk
+
+	* Tag VOLATILE functions explicitly [RT-SIGTA]
+
+2011-02-06 00:39  robe
+
+	* oops
+
+2011-02-06 00:34  robe
+
+	* Fix typo in ST_SetSRID and add examples
+
+2011-02-05 00:53  robe
+
+	* Id for chapter 4 in wrong place -- move, add missing -S switch in
+	  loader detail, fix some typos in tiger geocoder and add reference
+	  to shp2pgsql section in manual
+
+2011-02-04 18:33  robe
+
+	* 
+
+2011-02-04 18:33  robe
+
+	* fix some spelling and revise some wording
+
+2011-02-04 17:33  robe
+
+	* add description of loader function.
+
+2011-02-04 17:26  strk
+
+	* Use quote_ident more...
+
+2011-02-04 17:19  strk
+
+	* Fix a bug in topology.CreateTopoGeom in presence of MixCased
+	  topologies [RT-SIGTA]
+
+2011-02-04 16:31  strk
+
+	* Fix a bug in topology.add{Node,Edge,Face} breaking on MixedCased
+	  topology names [RT-SIGTA]
+
+2011-02-01 13:55  robe
+
+	* Best guess at what the Linux equivalent should look like will
+	  have to test later once get my Linux box setup again
+
+2011-02-01 13:53  strk
+
+	* ST_Estimated_Extent: make exception message about lack of stats
+	  clearer
+
+2011-02-01 10:24  strk
+
+	* AsGML(TopoGeometry): test xref to visited face [RT-SIGTA].
+
+2011-02-01 09:55  strk
+
+	* AsGML(TopoGeometry): add test for faces marking visit of edges
+	  [RT-SIGTA]
+
+2011-02-01 09:43  strk
+
+	* AsGML(TopoGeometry) Add test for ouput of multi puntual features
+	  [RT-SIGTA]
+
+2011-01-31 20:26  strk
+
+	* Document the new version of topology.AsGML() signature (polluting
+	  for commandline friendliness!)
+
+2011-01-31 17:33  strk
+
+	* Use a <gml:Face> tag for each topological face, allowing proper
+	  xrefs. Needs xref testing (requires overlapping topological
+	  features) [RT-SIGTA]
+
+2011-01-31 15:04  robe
+
+	* minor formatting change in doc. #722 remove more deprecated
+	  functions: ConvexHull.
+
+2011-01-31 14:39  robe
+
+	* fix typo
+
+2011-01-31 14:37  robe
+
+	* document ST_HasNoBand, fix note on ST_Value so appears in right
+	  place in what's new index
+
+2011-01-30 18:40  robe
+
+	* out in missing protos for ST_Value and not that hasnodata is a
+	  new option for ST_Value in 2.0
+
+2011-01-30 01:29  robe
+
+	* rename to agree with documentation and other tiger folder
+
+2011-01-28 21:31  robe
+
+	* remark out Paul's cunit test that fails on windows so my regress
+	  checks don't always halt and can complete.
+
+2011-01-28 18:04  strk
+
+	* syntetize purpose of AsGML(TopoGeometry)
+
+2011-01-28 17:15  strk
+
+	* Use named parameters
+
+2011-01-28 17:05  strk
+
+	* Add a "gmlversion" parameter to topology.AsGML(TopoGeometry).
+	  Test and document. [RT-SIGTA].
+
+2011-01-28 16:01  robe
+
+	* 
+
+2011-01-28 16:00  robe
+
+	* corrections to data types in functions -- had them backwards
+
+2011-01-28 15:19  robe
+
+	* missed some spots
+
+2011-01-28 15:01  robe
+
+	* some other minor doc corrections. Stamp files with svn author,
+	  revision etc keywords
+
+2011-01-28 14:37  robe
+
+	* fix some typos
+
+2011-01-28 13:09  robe
+
+	* put back missing tag
+
+2011-01-28 13:03  robe
+
+	* simplify example
+
+2011-01-28 12:27  robe
+
+	* get rid of some redundancy
+
+2011-01-28 12:25  robe
+
+	* minor clarifications
+
+2011-01-28 12:11  robe
+
+	* After having to answer this yet again I am finally reduced to
+	  adding the age old question: Why does pgAdmin show that my
+	  geometries are blank. Also change the FAQ to a pretty anchor so
+	  its easily referenceable and permanent.
+
+2011-01-28 08:55  strk
+
+	* Change face.mbr field from BOX2D to GEOMETRY, and gist-index it,
+	  closes ticket #800 [RT-SIGTA].
+
+2011-01-28 06:14  robe
+
+	* document normalize_address and pprint_addy functions of tiger
+	  geocoder
+
+2011-01-27 20:40  strk
+
+	* Document new parameter of AsGML(TopoGeometry) [RT-SIGTA].
+
+2011-01-27 20:35  strk
+
+	* AsGML(TopoGeometry): allow specifying a prefix for topology
+	  element identifiers, and test it. [RT-SIGTA]
+
+2011-01-27 18:21  robe
+
+	* correction
+
+2011-01-27 18:17  robe
+
+	* put in a batch geocoding example, more performance enhancements
+	  and loading changes.
+
+2011-01-27 15:56  robe
+
+	* start documenting tiger geocoder
+
+2011-01-27 09:43  strk
+
+	* AsGML(TopoGeometry): fix xref syntax error (#811) [RT-SIGTA]
+
+2011-01-27 08:48  strk
+
+	* topology.AddEdge: when an intersection occurs, also report
+	  intersection point [RT-SIGTA]
+
+2011-01-26 16:57  jorgearevalo
+
+	* Added header for RASTER_setBandIsNoData.Related ticket #593.
+
+2011-01-26 16:28  jorgearevalo
+
+	* The documentation for ST_BandIsNoData was changed by error. This
+	  commit fixes
+	  it. Related ticket #593.
+
+2011-01-26 16:08  jorgearevalo
+
+	* Added function ST_SetBandIsNoData with tests and doc. Deleted
+	  isnodata checking
+	  for loader. Related ticket #593.
+
+2011-01-26 15:16  robe
+
+	* put in logic to fill zipcode_lookup_base, fix some other errors
+
+2011-01-26 13:43  strk
+
+	* Try to keep NEWS format consistent (80 cols, same indenting as
+	  previous). Still too much information for my taste, but it's a
+	  step forward.
+
+2011-01-26 13:34  strk
+
+	* Document the new 'visitedTable' parameter to topology.AsGML
+	  [RT-SIGTA].
+
+2011-01-25 21:52  strk
+
+	* Complete visited bookkeeping for AsGML(TopoGeometry) and automate
+	  test for it [RT-SIGTA]
+
+2011-01-25 18:08  strk
+
+	* I realized we're in 2011...
+
+2011-01-25 17:16  robe
+
+	* update installation instructions to include raster_comments.sql,
+	  topology_comments.sql
+
+2011-01-25 17:04  strk
+
+	* AsGML(TopoGeometry): Add support for visited table and xlink:xref
+	  for Edges [RT-SIGTA]
+
+2011-01-25 16:46  robe
+
+	* Put in missing make topology_comments.sql and also add to the
+	  make comments routine
+
+2011-01-25 15:05  strk
+
+	* Test use of the options argument to topology.AsGML [RT-SIGTA]
+
+2011-01-25 14:52  strk
+
+	* Allow specifying GML output precision and options to the
+	  topology.AsGML(TopoGeometry) function [RT-SIGTA].
+
+2011-01-25 09:39  strk
+
+	* Make topology.AddEdge consistent with AddNode and AddFace in that
+	  it will return an existing identical Edge, if found.
+
+2011-01-25 06:38  robe
+
+	* cleanup -- other legacy stuff is already in tiger2006
+
+2011-01-25 06:36  robe
+
+	* 
+
+2011-01-25 06:31  robe
+
+	* reshuffle in preparation for merging in tiger 2010 support
+	  version
+
+2011-01-25 06:20  robe
+
+	* Add ST_ConcaveHull to news item
+
+2011-01-24 20:56  strk
+
+	* Test multi-component lineal topogeometries [RT-SIGTA]
+
+2011-01-24 20:52  strk
+
+	* Output multi-edge lineal TopoGeometry GML with a meaningful edge
+	  ordering [RT-SIGTA]
+
+2011-01-24 15:06  jorgearevalo
+
+	* Documentation updated for ST_BandIsNodata function. Added band
+	  nodata checking
+	  in loader script.
+
+2011-01-24 14:38  strk
+
+	* Add test for TopoSurface GML output with multi-face TopoGeometry
+	  objects [RT-SIGTA]
+
+2011-01-24 14:18  strk
+
+	* load_topology* are generated now
+
+2011-01-24 14:14  strk
+
+	* Test the noprefix and customprefix GML outputs against all geoms
+	  taken in consideration for the default GML ..
+
+2011-01-24 14:03  strk
+
+	* Add test for single-component areal TopoGeometry GML output
+	  [RT-SIGTA]
+
+2011-01-24 14:01  strk
+
+	* AsGML(TopoGeometry): Do not force right-hand-rule on each polygon
+	  ring (isn't needed and doesn't make sense as it would get the
+	  hole rings wrong anyway) [RT-SIGTA]
+
+2011-01-24 11:43  strk
+
+	* AsGML(TopoGeometry): for TopoSurface, make the directedEdge
+	  sequence be ordered to go around each ring (ie: make the order
+	  meaningful) [RT-SIGTA].
+
+2011-01-24 11:11  strk
+
+	* AsGML(TopoGeometry) add test for TopoCurve output (only
+	  single-element, till ordering of components is sorted out)
+	  [RT-SIGTA].
+
+2011-01-24 09:31  strk
+
+	* Test GML output of puntual TopoGeometry objects. Lineal and Areal
+	  are still undergoing manual tests and debate about importance of
+	  components sequence ordering [RT-SIGTA].
+
+2011-01-23 20:25  strk
+
+	* topology.AsGML(TopoGeometry): Write end node of edges. Fixes bug
+	  #807 [RT-SIGTA]
+
+2011-01-23 14:48  robe
+
+	* Document AsGML and fill in some missing examples in other
+	  functions
+
+2011-01-22 23:02  strk
+
+	* Port topology.Geometry to $$ syntax [RT-SIGTA]
+
+2011-01-22 22:38  strk
+
+	* update email address
+
+2011-01-22 19:26  strk
+
+	* topology.AsGML: Add the missing gml:directedEdge part within the
+	  gml:Face tag, appropriately (?) computing orientation of each
+	  "ring" edge [RT-SIGTA] (#803)
+
+2011-01-22 18:46  strk
+
+	* Add test for ST_AsGML with long srsName. Expects what at first
+	  sight looked like a bug (#804).
+
+2011-01-22 18:08  strk
+
+	* There's no need to add geometry columns when creating Topological
+	  layers, that's something only useful for caching geometries, so
+	  move to cache_geometries.sql
+
+2011-01-22 18:08  strk
+
+	* Cleanup the topology regress dir Makefile. Have load_topology.sql
+	  generated to allow for specifying different SRIDs.
+
+2011-01-22 17:26  strk
+
+	* Rename internal functions so to have an underscore prefix,
+	  document them as such. Drop wrappers for internal functions (they
+	  are not meant to be called by users so don't need to be friendly)
+	  [RT-SIGTA]
+
+2011-01-22 17:21  strk
+
+	* topology.AsGML(TopoGeometry): Add support for specifying a
+	  namespace prefix. See ticket #801. [RT-SIGTA]
+
+2011-01-22 16:10  strk
+
+	* topology.AsGML: Use Long CRS for pointProperty and curveProperty
+	  [RT-SIGTA]
+
+2011-01-22 15:24  strk
+
+	* Use GML3 for Edge curveProperty and Node pointProperty (see #802)
+	  [RT-SIGTA].
+
+2011-01-22 13:55  strk
+
+	* topology.AsGML(TopoGeometry): add a <gml:Face> tag (See ticket
+	  #803) [RT-SIGTA]
+
+2011-01-22 13:27  strk
+
+	* Don't miss to include the gml routines in the main topology.sql
+
+2011-01-22 08:37  strk
+
+	* fix spurious ending bracket in topo-GML output [RT-SIGTA]
+
+2011-01-21 22:10  strk
+
+	* First version of topological gml output routines (still miss the
+	  visited map) [RT-SIGTA]
+
+2011-01-21 14:08  strk
+
+	* I've just realized TopoElement is also used for
+	  TopoGeomId/LayerID, thus can't restrict the second element to a
+	  max of 4 or using layers beyond the forth would be impossible.
+	  Fix the domain and test accordingly. Update documentation to be
+	  informative on the matter.
+
+2011-01-21 13:21  strk
+
+	* Fix TopoGeometry -> Geometry conversion for hierarchically
+	  defined TopoGeometries in presence of multiple topologies. Take
+	  the chance so simplify a query. WARNING: This fix doesn't have an
+	  automated regression test.
+
+2011-01-21 07:15  robe
+
+	* document ST_RemoveIsoNode minor changes to match function
+	  signatures toponame -> atopology for ST_ functions
+
+2011-01-21 07:03  robe
+
+	* Move ST_GetFaceGeomety, document the non-existence of
+	  ST_GetFaceEdges (its just a stub)
+
+2011-01-20 23:29  pracine
+
+	* -Fix for ticket 606: ST_Value now return NULL for nodata value
+	  and ST_SetValue accept NULL values (if there is a nodata value in
+	  the band).
+	  
+	  ST_Value accept a boolean parameter which, when set to false,
+	  have the function to return nodata values as their true value
+	  instead of null.
+
+2011-01-20 17:07  jorgearevalo
+
+	* Added isnodata flag at core level and st_bandisnodata at
+	  postgresql level.
+	  Related ticket #593. Fixed bug with debug functions at raster
+	  core level. Still
+	  need to change the loader and the doc.
+
+2011-01-19 21:42  robe
+
+	* #795: ST_Intersects raster documentation is confusing
+
+2011-01-19 21:11  pracine
+
+	* -Clarify help messages.
+
+2011-01-19 20:52  pracine
+
+	* -Added a -a option to append tiles to an existing table.
+	  -Fixed ticket 542. The table WAS dropped but not recreated.
+
+2011-01-19 16:46  strk
+
+	* Make the TopoElement domain stricter to forbid arrays with more
+	  than 2 elements and also checking the element type being in valid
+	  range [RT-SIGTA]
+
+2011-01-18 23:24  robe
+
+	* Put in section abstact for each
+
+2011-01-18 17:19  strk
+
+	* Raise an exception if AddEdge is called on a topology which
+	  already defines faces other than the universe face (see #781)
+
+2011-01-18 14:53  robe
+
+	* #722: remove more deprecated functions - ST_MakeLineGArray,
+	  Polygonize_GArray,PointFromWKB (proto), max_distance
+
+2011-01-18 13:52  strk
+
+	* ValidateTopology: have temporary table dropped on commit (#783).
+	  Thanks Andrea Peri [RT-SIGTA]
+
+2011-01-18 12:50  robe
+
+	* Link to Vincent Picavet's great Foss4G 2010 presentation on
+	  Topology and Network Analysis.
+
+2011-01-18 12:28  robe
+
+	* minor corrections
+
+2011-01-18 06:38  robe
+
+	* Fix #786 ST_MoveIsoNode gives ST_Intersects is not unique. Also
+	  change to use newer $$ quoting syntax.
+
+2011-01-18 06:10  robe
+
+	* Fix typo
+
+2011-01-18 06:06  robe
+
+	* ST_MoveIsoNode
+
+2011-01-18 05:17  robe
+
+	* fix redundancy in description
+
+2011-01-18 04:45  robe
+
+	* ST_NewEdgesSplit, add new processing section, fix some links
+
+2011-01-17 23:07  robe
+
+	* Add ST_AddIsoEdge (still need to put in examples), put in more
+	  back links. Revise special index section to also consider
+	  topology aggregates
+
+2011-01-17 22:35  strk
+
+	* topology.AddNode: fix detection of edge crossing (#780)
+	  [RT-SIGTA]
+
+2011-01-17 21:32  strk
+
+	* ValidateTopology: Use a temporary table to create face geometries
+	  only once. Huge speed boost for #772.
+
+2011-01-17 21:03  strk
+
+	* ValidateTopology: Put some water on fire by avoiding a full
+	  cartesian product scan (#772). It's still too slow, but it is a
+	  step forward.
+
+2011-01-17 19:58  strk
+
+	* ST_DWithin already includes a bounding box check
+
+2011-01-17 18:15  robe
+
+	* Put in accent in Jorge's name
+
+2011-01-17 13:18  robe
+
+	* forgot this in last commit
+
+2011-01-17 13:18  robe
+
+	* fix typos in Mat's name
+
+2011-01-17 12:16  robe
+
+	* document ST_InitTopoGeo, cleanup some of the sql-mm labelings
+
+2011-01-17 10:39  robe
+
+	* Document ST_AddIsoNode - still need to add examples. Update
+	  ValidateTopology to reflect enhancements and bug fixes in 2.0.
+
+2011-01-17 09:04  strk
+
+	* topology.ValidateTopology: rewrite the edge crossing detection
+	  query. Fixes a false positive (#777) and unexpectedly a bunch of
+	  false negative in the legacy_invalid testcase (now properly
+	  checked visually). [RT-SIGTA].
+
+2011-01-17 08:47  strk
+
+	* topology.AddEdge: correctly handle the case in which a newly
+	  added closed edge touches an existing closed edge with an
+	  endpoint over a non-endpoint [RT-SIGTA].
+
+2011-01-17 08:47  strk
+
+	* topology.AddFace: raise another WARNING about
+	  next_left/right_face element of topology edges not being set as
+	  dictated by the model
+
+2011-01-17 03:26  robe
+
+	* note magnitude of deprecation
+
+2011-01-16 21:42  strk
+
+	* ValidateTopology: don't compute full intersection matrix to
+	  detect edge-node intersection. Use ST_DWithin instead. Use
+	  ST_DWithin for coincident nodes detection as well, so to be more
+	  consistent [RT-SIGTA]
+
+2011-01-16 21:29  strk
+
+	* ValidateTopology: && operator is not enough to tell if two points
+	  are cohincident (it was at time of HWGEOM...) [RT-SIGTA]
+
+2011-01-16 20:17  robe
+
+	* release notes minor updates while still fresh in my mind.
+
+2011-01-16 17:19  strk
+
+	* ignore more generated files
+
+2011-01-16 12:08  robe
+
+	* document ST_3DLongestLine and add missing polyhedralsurface and
+	  3D support flags for ST_3D family of functions
+
+2011-01-16 11:22  robe
+
+	* #776: replace dump with ST_Dump in ST_CreateTopogeo
+
+2011-01-16 10:36  strk
+
+	* Drop unused domain TopoGeomElementArray. See #775
+
+2011-01-16 10:22  robe
+
+	* minor corrections and start documenting ST_CreateTopoGeo
+
+2011-01-16 09:10  robe
+
+	* #774: regress fails - Oops forgot to commit this file on last
+	  commit
+
+2011-01-16 08:18  robe
+
+	* #722: remove drecated functions BuildArea, MakePolygon
+
+2011-01-15 23:55  strk
+
+	* html/postgis.html doesn't really depend on images, and encoding
+	  such dep has the only effect to _always_ rebuild the
+	  documentation, which defeats the purpose of 'make'...
+
+2011-01-15 23:37  strk
+
+	* There's no 'html' rule, so there's no point in making it PHONY...
+
+2011-01-15 23:37  strk
+
+	* Don't need to clean image_src in maintainer-clean as that's
+	  already done by clean, which is a dependency of maintainer-clean
+
+2011-01-15 23:14  strk
+
+	* topology.AddFace: group face boundary edge finding query results
+	  to avoid considering the _same_ edge multiple times. Can reduce
+	  execution time from _hours_ to _minutes_ [RT-SIGTA]
+
+2011-01-15 19:11  robe
+
+	* ST_GetFaceGeometry and minor formatting
+
+2011-01-15 18:49  robe
+
+	* fix some typos
+
+2011-01-15 14:59  robe
+
+	* Put back AddNode -- accidentally replaced with an extra AddEdge.
+
+2011-01-15 14:33  robe
+
+	* AddFace, minor additions to other functions and note about
+	  dependencies on GEOS 3.3
+
+2011-01-15 07:14  robe
+
+	* document addnode, fix typo
+
+2011-01-15 06:50  robe
+
+	* Add examples for AddEdge, fix typo, add TIGER overview link as an
+	  example of a topologically based database for people not clear of
+	  its utility.
+
+2011-01-14 16:40  strk
+
+	* topology.AddEdge: handle case of endpoint intersection between
+	  closed edges. Fixes #770. [RT-SIGTA]
+
+2011-01-14 00:01  robe
+
+	* Get rid of ST_BandHasNoDataValue and ST_SetBandHasNoDataValue.
+	  Amend ST_BandNoDataValue to reflect new way of setting it to NULL
+	  if you want all pixel values considered.
+
+2011-01-13 23:56  robe
+
+	* Document AddEdge function will provide example later
+
+2011-01-13 23:44  robe
+
+	* forgot to update the description too
+
+2011-01-13 23:40  robe
+
+	* Amend ST_GeometryN to note singular geometry behavior change
+
+2011-01-13 21:36  jorgearevalo
+
+	* Functions ST_BandHasNodataValue and ST_SetBandHasNodataValue
+	  deleted. Related ticket #602.
+
+2011-01-13 20:09  jorgearevalo
+
+	* Minor bug solved in debug functions.
+
+2011-01-13 15:05  robe
+
+	* fix typo
+
+2011-01-13 14:55  robe
+
+	* Amend release notes to include new changes in 2.0
+
+2011-01-13 13:36  robe
+
+	* mark TopoElementArray_agg as new in 2.0.0, back reference
+	  topoelementarray back to this function.
+
+2011-01-13 13:21  strk
+
+	* add ST_RelateMatch item
+
+2011-01-13 09:37  robe
+
+	* fix another id typo
+
+2011-01-13 09:34  robe
+
+	* fix link id
+
+2011-01-13 08:48  robe
+
+	* topolelementarray_agg and revise xsl to comment agg (hack fo r
+	  now will do better later)
+
+2011-01-13 08:27  robe
+
+	* Another minor change to ST_3DShortestLine. Document
+	  topoelementarraay and GetTopoGeomElementArray (which by the ways
+	  seems to me a bit of a misnomer)
+
+2011-01-13 07:13  robe
+
+	* Minor formatting changes of ST_3DShortestLine, get rid of note
+	  abotu ST_3DMaxDistance only working for points and linestrings
+	  now that it works for most everything.
+
+2011-01-12 22:37  jorgearevalo
+
+	* Fixed bug #655.
+
+2011-01-12 22:03  robe
+
+	* #768: get rid of replace ndims with st_ndims in
+	  populate_geometry_columns
+
+2011-01-12 22:02  mloskot
+
+	* [raster] Cleaned and updated copyright notice.
+
+2011-01-12 21:58  nicklas
+
+	* Added ST_3DShortestLine in doc and some small editing.
+	  ST_3DLongestLine is still missing.
+	  Regina, please take a look if it looks ok.
+
+2011-01-12 21:17  jorgearevalo
+
+	* Regression test expected result is now empty. Related tickets:
+	  #759, #769.
+
+2011-01-12 19:10  pracine
+
+	* -Revert to original values for two test failing on Mat machine.
+	  Those values are the good ones on Pierre`s Windows and Jorge`s
+	  Linux. Something must have gone wrong on Mat`s one.
+
+2011-01-12 17:24  robe
+
+	* update see also links
+
+2011-01-12 17:22  robe
+
+	* Get rid of note in ST_3DDistance that states only works for
+	  linestrings and points. Now works for all. Add an example of
+	  polygon/multilinestring and update 3DClosestPoint example to be
+	  the same for contrast compare
+
+2011-01-12 11:07  robe
+
+	* get rid of note about 3d relatonship dist functions only workng
+	  for points and linestrings. They work for polygons and even
+	  polyhedralsurfaces though need to verify answers are right.
+
+2011-01-12 10:23  robe
+
+	* update to reflect note about breaking change in naming of
+	  PixelSize to Scale
+
+2011-01-12 08:14  robe
+
+	* GetTopologyName, GetTopologyID accessors
+
+2011-01-12 07:52  robe
+
+	* remove availaiblit 2.0 from existing functions since they were
+	  available before (will reserve that for really new functions).
+	  Add domains section and accessors section. Revise
+	  topology_comments to be able to put in descriptors for domains
+
+2011-01-12 06:32  robe
+
+	* ValidateTopology and validatetopology_returntype
+
+2011-01-12 05:01  robe
+
+	* get rid of deprecated calls and checks to srid() and setsrid()
+	  and ndims() in populate_geometry_columns, UpdateGeometrySRID,
+	  probe_geometry_columns, find_srid
+
+2011-01-11 17:18  robe
+
+	* make relatematch a conditional GEOS 3.3 test
+
+2011-01-11 15:53  robe
+
+	* Add another type, add missing element, update make check example
+	  in installation. Fix error introduced in regress that prevented
+	  all tests from running.
+
+2011-01-11 15:20  robe
+
+	* Give installation a pretty anchor name so can be referenced
+	  easily from elsewhere. Update to include how to compile with
+	  topology and raster support. Add a type section to topology to
+	  define structure of topogeometry etc. Ammend topology_comments to
+	  be able to extra type comments.
+
+2011-01-11 09:12  robe
+
+	* #764: Topology error using ST_AddIsoNode (now that raster has an
+	  ST_Intersects it is now more necessary to not rely on auto casts)
+
+2011-01-11 03:38  robe
+
+	* fix duplicate refentry id
+
+2011-01-11 03:22  robe
+
+	* #763: documentation had wrong datatype for tg_type which made the
+	  associated comment break
+
+2011-01-10 17:31  robe
+
+	* #760: missed some
+
+2011-01-10 17:27  robe
+
+	* #760: replace deprecated function names with new names so all
+	  regress tests pass again. This should completely work now.
+
+2011-01-10 17:13  robe
+
+	* Start replacing deprecated names with new names - still more to
+	  do
+
+2011-01-10 16:36  robe
+
+	* #722: Get rid of more deprecated functions - mem_size, xmax,
+	  xmin,ymax, ymin,zmflag,zmax,zmin
+
+2011-01-10 14:21  jorgearevalo
+
+	* Deleted gserialized check. It's safe to use geometry_gist_sel.
+	  Related ticket #758.
+
+2011-01-09 18:38  robe
+
+	* Get rid of now unuseful note in ST_Value. Update
+	  short-description to reflect now works with geometry points
+
+2011-01-09 16:01  jorgearevalo
+
+	* Replaced annoying warning message for a debug-only message.
+	  Related ticket #759.
+
+2011-01-08 10:51  nicklas
+
+	* fix typo from r6580, and some enhanced notes
+
+2011-01-07 15:12  jorgearevalo
+
+	* Bug solved: RASTER_DEBUGf replaced by RASTER_DEBUGF. Related
+	  ticket #757.
+
+2011-01-07 13:38  robe
+
+	* remove wmsservers_old so its failure doesn't halt further make
+	  check
+
+2011-01-07 13:08  nicklas
+
+	* Fix for ticket #755
+
+2011-01-07 10:48  strk
+
+	* Enlarge the diagram image, by Andrea Peri (#750)
+
+2011-01-07 09:55  strk
+
+	* Fix bug in topology.DropTopology getting confused in presence of
+	  multiple topologies [RT-SIGTA]
+
+2011-01-07 09:54  strk
+
+	* Add TopoElementArray_agg function, to help with TopoGeometry
+	  construction [RT-SIGTA]
+
+2011-01-05 23:35  robe
+
+	* #722 : remove deprecated functions (part): contains,
+	  intersection, line_interpolate_point, line_locate_point,
+	  line_substring, locate_between_measures
+
+2011-01-05 22:25  robe
+
+	* #722 remove deprecated functions (part): boundary, GeomUnion,
+	  intersects, IsRing, IsSimple,
+	  length2d_spheroid, locate_along_measure, relate,PointOnSurface,
+	  SnapToGrid, symmetricdifference, touches
+
+2011-01-05 17:41  jorgearevalo
+
+	* Replaced references to "pixsize" by "scale". Complete the
+	  previous commit.
+	  Related ticket #654
+
+2011-01-05 17:38  jorgearevalo
+
+	* Updated plpgsql scripts, replacing "PixelSize" with "Scale".
+	  Related ticket #654
+
+2011-01-05 17:01  jorgearevalo
+
+	* Call to ctx->warn replaced by RASTER_DEBUGF, to avoid annoying
+	  and unexpected messages in calls to st_bandmetadata.
+
+2011-01-05 14:56  robe
+
+	* #722 (part): Down with really really dumb constructors :)
+	  GeomCollFromText,LineFromText,LineFromWKB,LineStringFromText,LinestringFromWKB,LineMerge,MLineFromText
+	  ,MLineFromWKB,MPointFromText,MPolyFromWKB,MultiLineFromWKB,MultiLineStringFromText,MultiPointFromWKB,
+	  ST_Polygonize_GArray,PolyFromText,PolyFromWKB,PolygonFromWKB,PointFromText,PointFromWKB
+
+2011-01-05 13:47  robe
+
+	* more cleanup of operator functions that are now removed
+
+2011-01-05 13:36  robe
+
+	* remove related operator, chip no longer installed. I still think
+	  we need to get rid of the DROP CASCADES in this file
+
+2011-01-05 13:34  robe
+
+	* #302: okay I forgot some - remove old functions that are ST_
+	  redundant copies of operator ones
+	  st_geometry_lt,st_geometry_le,st_geometry_le,st_geometry_gt,st_geometry_ge,st_geometry_eq,st_geometry_cmp,
+	  postgis_gist_sel,postgis_gist_joinsel,st_postgis_gist_sel,st_postgis_gist_joinsel,st_geometry_overleft,
+	  st_geometry_overabove,st_geometry_left,st_geometry_right,st_geometry_above,
+	  st_geometry_below,st_geometry_contain
+	  ,st_geometry_contained,st_geometry_overlap,st_geometry_same
+
+2011-01-05 05:57  robe
+
+	* #302 completed I think: Drop ST_ duplicate variants of functions
+	  underneath TYPE and OPERATOR definitions.
+	  remove: st_geometry_analyze
+
+2011-01-04 17:44  robe
+
+	* #302 (part done): Drop ST_ duplicate variants of functions
+	  underneath TYPE and OPERATOR definitions.
+	  st_box3d_in, st_box3d_out,st_spheroid_in,
+	  st_spheroid_out,st_geometry_in, st_geometry_out,
+	  st_geometry_recv,st_geometry_send
+
+2011-01-04 17:25  robe
+
+	* #722 - remove more deprecated functions - crosses,
+	  within,multipointfromtext,mpolyfromtext,
+	  multipolygonfromtext
+
+2011-01-04 13:59  robe
+
+	* remove deprecated functions:
+	  bdpolyfromtext,bdmpolyfromtext,collect,disjoint,memcollect,memgeomunion,
+	  unite_garray,st_unit_garray .
+	  reshuffle legacy.sql.in.c so aggregates and dependencies are
+	  together
+
+2011-01-04 13:35  robe
+
+	* remove more deprecated: dimension,exteriorring,
+	  geometryn,interiorringn, isempty,isclosed,
+	  m,numinteriorring, numinteriorrings,pointn,x,y,z
+
+2011-01-04 13:07  robe
+
+	* remove deprecated functions:
+	  addpoint,ndims,numgeometries,numpoints,removepoint,setpoint
+
+2011-01-04 12:51  robe
+
+	* remove more deprecated functions
+
+2011-01-03 19:26  robe
+
+	* get rid of more deprecated functions
+
+2011-01-03 18:52  robe
+
+	* remove more deprecated functions
+
+2011-01-03 18:24  robe
+
+	* 
+
+2011-01-03 16:35  jorgearevalo
+
+	* Deleted old flex/bison analyzer for MapAlgebra. Newer version on
+	  raster/rt_core.
+
+2011-01-03 16:17  jorgearevalo
+
+	* Added regress test files for ST_IsEmpty and ST_HasNoBand (they
+	  were missed in previous commit)
+
+2011-01-03 16:07  jorgearevalo
+
+	* Added code for ST_IsEmpty and ST_HasNoBand functions. And test
+	  code for the
+	  first one. Related tickets #592, #593.
+
+2011-01-03 11:53  jorgearevalo
+
+	* Changed information return by postgis_raster_build_date and
+	  postgis_raster_lib_version, to match the PostGIS build date and
+	  version. Related
+	  ticket #653
+
+2011-01-03 10:55  jorgearevalo
+
+	* Raster doc updated with the new names of several functions
+	  (Box2D, Scale, etc).
+	  Related ticket #654
+
+2011-01-03 10:46  jorgearevalo
+
+	* Renamed accessors and editors of 'PixelSize' to 'Scale',
+	  including tests.
+	  Related ticket #654.
+
+2011-01-02 22:21  jorgearevalo
+
+	* Some modifications made on basic MapAlgebra lexer/parser. Very
+	  basic version just now.
+
+2011-01-01 15:35  jorgearevalo
+
+	* Temporarily include postgis/gserialized.h file in
+	  raster/rt_pg/rtpostgis.sql.in.c to get access to GSERIALIZED_ON
+	  and avoid error with gserialized enabled
+
+2010-12-31 08:12  robe
+
+	* add gist index overlap tests
+
+2010-12-31 01:53  robe
+
+	* update bios
+
+2010-12-30 23:28  jorgearevalo
+
+	* Changed some functions names for operators. Related tickets #742,
+	  #730
+
+2010-12-30 23:17  pramsey
+
+	* gserialized enabled ST_Reverse LINESTRING EMPTY crash (#743)
+
+2010-12-30 21:00  pramsey
+
+	* Convex hull serialization problem (#741)
+
+2010-12-30 18:31  nicklas
+
+	* rounding precision difference in measures regress test #703,
+	  #735, #607
+
+2010-12-30 16:54  pramsey
+
+	* Guard against empty in isclosed (#740)
+
+2010-12-30 00:14  pramsey
+
+	* Add in gserialized-ready selectivity functions for 2d default
+	  index.
+
+2010-12-29 18:51  pramsey
+
+	* ST_ExteriorRing POLYGON EMPTY crash (#708)
+
+2010-12-29 15:49  nicklas
+
+	* typo in comment
+
+2010-12-29 15:38  robe
+
+	* Get rid of a lot of deprecated functions. People will hate me
+	  c'est la vie.
+
+2010-12-29 15:37  robe
+
+	* get rid of more deprecated calls, but keep old deprecated
+	  wmsservers and rename to wmsservers_old. Create a new version
+	  wmsservers_new that doesn't use deprecated calls. the old will
+	  fail once I pull the switch on old deprecated calls, but the new
+	  should work.
+
+2010-12-29 15:17  robe
+
+	* remove deprecated tests
+
+2010-12-29 14:50  robe
+
+	* forgot these
+
+2010-12-29 14:48  robe
+
+	* get rid of more deprecated
+
+2010-12-29 14:14  robe
+
+	* Get rid of more deprecated calls
+
+2010-12-29 14:07  pramsey
+
+	* Update test to reflect that polygons are now supported.
+
+2010-12-29 09:58  robe
+
+	* start new section
+
+2010-12-28 22:12  nicklas
+
+	* 3D distance functions against polygons
+
+2010-12-28 21:58  robe
+
+	* fix dangling RT_ST_Box2D references
+
+2010-12-28 18:24  robe
+
+	* Get rid of deprecated calls
+
+2010-12-28 18:24  robe
+
+	* get rid of deprecated calls
+
+2010-12-28 18:22  robe
+
+	* start getting rid of deprecated calls
+
+2010-12-28 18:00  pramsey
+
+	* Fix regression failure in standard serialization mode. (#735)
+
+2010-12-28 17:16  strk
+
+	* Default topology tolerance is 0, not -1
+
+2010-12-28 15:47  robe
+
+	* reenable ST_AddPoint
+
+2010-12-28 01:10  pramsey
+
+	* Over-determined dimensionality in building line from lwptarray
+
+2010-12-28 00:54  pramsey
+
+	* Whoops, senses of many 2d operators were reversed.
+
+2010-12-28 00:42  robe
+
+	* miscellaneous fixes and indentation
+
+2010-12-28 00:27  pramsey
+
+	* T_Distance_Spheroid is kinda broken (#677)
+
+2010-12-28 00:24  pramsey
+
+	* ST_Distance_Spheroid is kinda broken (#677)
+
+2010-12-27 22:41  pramsey
+
+	* ST_MakeLine aggregate function crashes with empty geometries
+	  (#729)
+
+2010-12-27 11:56  strk
+
+	* PG_CONFIG seems to be needed for PGXS
+
+2010-12-27 11:10  strk
+
+	* Add ST_SharedPaths and ST_Snap items
+
+2010-12-27 11:05  strk
+
+	* Do not consider DEBUG and NOTICE mesages when running sqlmm
+	  regression tests. Should fix #734.
+
+2010-12-27 03:38  robe
+
+	* ST_Box2D -> Box2D
+
+2010-12-27 01:40  robe
+
+	* get rid of more functions
+
+2010-12-26 19:27  robe
+
+	* revise to include mention of topology support
+
+2010-12-26 19:11  robe
+
+	* fix tag typo pointed out by strk
+
+2010-12-26 18:47  robe
+
+	* put AddTopo.. example in programlisting tag, minior indenting
+	  changes
+
+2010-12-26 13:24  jorgearevalo
+
+	* ST_Box2D replaced by Box2D. Related ticket #730.
+
+2010-12-25 19:38  robe
+
+	* DropTopogeometryColumn
+
+2010-12-25 19:02  robe
+
+	* 
+
+2010-12-25 18:58  robe
+
+	* Example for addtopogeometrycolumn
+
+2010-12-24 22:08  pramsey
+
+	* Change default gserialized gist index to 2d and put all the old
+	  operators back in place.
+
+2010-12-24 18:13  robe
+
+	* fix data type mismatches that got flagged when generating
+	  topology comments, put in a set_path clause for topology comments
+	  generation
+
+2010-12-24 18:01  robe
+
+	* Start work on topology database help and garden tester.
+
+2010-12-24 17:53  robe
+
+	* AddTopoGeometryColumn
+
+2010-12-24 10:22  strk
+
+	* Update with some integrations provided by Andrea Peri [RT-SIGTA]
+
+2010-12-24 01:38  robe
+
+	* Fix for #732 - chip does not exist
+
+2010-12-23 22:49  pramsey
+
+	* Add more tickets tests up to #700
+
+2010-12-23 22:06  pramsey
+
+	* Fix conversion to geometry (#730)
+
+2010-12-23 19:06  pramsey
+
+	* Add some tickets from the trac into regression
+
+2010-12-23 18:05  pramsey
+
+	* Move clone prototypes back into public...
+
+2010-12-23 18:03  pramsey
+
+	* ST_AddPoint is broken (#662)
+
+2010-12-23 17:41  robe
+
+	* ability to exclude operators from testing
+
+2010-12-23 17:30  strk
+
+	* Other CREATEFUNCTION and _VOLATILE* gone (see #714)
+
+2010-12-23 17:21  robe
+
+	* log more sql
+
+2010-12-23 17:04  pramsey
+
+	* ST_MakeBox2D crashes with LINESTRING (#728)
+
+2010-12-23 14:19  strk
+
+	* Stop relying on preprocessor for CREATEFUNCTION and _VOLATILE
+	  (see #714)
+
+2010-12-23 13:31  robe
+
+	* miss end para
+
+2010-12-23 12:49  strk
+
+	* Make ST_GetFaceGeometry use ST_BuildArea rather than assuming
+	  first polygon coming out of Polygonize will be the correct one.
+	  Fixes ticket #726. Enables automated testing for it.
+
+2010-12-23 12:28  strk
+
+	* Add test showing bug in st_getfacegeometry
+
+2010-12-23 07:57  strk
+
+	* more git ignores
+
+2010-12-22 22:40  pramsey
+
+	* Last regression fixes for postgis-on-gserialized
+
+2010-12-22 21:16  pramsey
+
+	* Change srid from uint32 to int32 and update gserialized and
+	  TYPMOD handlers to deal with signed SRIDs
+
+2010-12-22 20:02  robe
+
+	* miscellaneous
+
+2010-12-22 19:41  robe
+
+	* Goodbye length
+
+2010-12-22 19:15  robe
+
+	* Good bye simplify
+
+2010-12-22 19:04  robe
+
+	* History #515: good bye chip (we can hold on to the dependency
+	  functions thru postgis 2.0 and then maybe completely rid in 2.1)
+
+2010-12-22 18:59  jorgearevalo
+
+	* Basic flex/bison grammar to start working with raster MapAlgebra
+
+2010-12-22 18:45  strk
+
+	* Support faces with all edges on the same side, and test
+	  [RT-SIGTA]
+
+2010-12-22 18:42  robe
+
+	* get rid of addbbox,dropbbox,hasbbox (and replace occurrences in
+	  regress with newer postgis_addbbox etc)
+
+2010-12-22 18:24  strk
+
+	* Add rules to avoid the infinite loop took before ./configure is
+	  run
+
+2010-12-22 17:27  strk
+
+	* Implement topology.AddFace and add test
+
+2010-12-22 17:08  robe
+
+	* move all deprecated Affine functoins to legach.sql.in.c, remove
+	  use in non-deprecated functions and in regress tests
+
+2010-12-22 06:17  pramsey
+
+	* Add legacy file for removed-but-not-forgotten old function
+	  aliases
+
+2010-12-22 01:08  pramsey
+
+	* Continue working GSERIALIZED_ON into the code base. Working on
+	  switching BOX2DFLOAT4 to a GBOX
+
+2010-12-21 23:56  pramsey
+
+	* Remove some ST_ variants of cast-support functions (#302), and
+	  start legacy.sql.in.c (#722)
+
+2010-12-21 22:19  robe
+
+	* fix typo
+
+2010-12-21 22:14  robe
+
+	* point relation functions to DE-9IM section of docs for more info
+
+2010-12-21 21:39  pramsey
+
+	* More clean-up and work on using gserialized.
+
+2010-12-21 18:01  pramsey
+
+	* Push the UNKNOWN forcing down into gserialized get/set
+
+2010-12-21 17:38  robe
+
+	* Document ST_RelateMatch -- polish up later
+
+2010-12-21 17:36  strk
+
+	* Don't release memory associated with arguments. Fixes #725.
+
+2010-12-21 10:32  strk
+
+	* Implement ST_RelateMatch, see ticket #717. [RT-SIGTA]
+
+2010-12-21 01:55  pramsey
+
+	* Some preliminary fixes to support SRID_UNKNOWN == 0
+
+2010-12-20 23:34  pramsey
+
+	* Add regression test for #723
+
+2010-12-20 22:01  strk
+
+	* Fix addEdge when both endpoints are shared with an existing edge
+	  (and test) [RT-SIGTA]
+
+2010-12-20 19:41  pramsey
+
+	* Fix last regression break in casting
+
+2010-12-20 19:31  pramsey
+
+	* Arg, there's regression breaks in the last commit!
+
+2010-12-20 19:16  pramsey
+
+	* ST_Intersection for geography is really messed up (#723)
+
+2010-12-20 12:03  robe
+
+	* fix typo
+
+2010-12-20 04:39  pramsey
+
+	* Remove a few more old constructions in favour of
+	  forward-compatible approaches.
+
+2010-12-18 21:48  robe
+
+	* fix spatial_class update
+
+2010-12-18 16:44  pramsey
+
+	* Add the operators to the index opclass too
+
+2010-12-18 16:42  pramsey
+
+	* Add some operators to indexes on gserialized
+
+2010-12-18 15:31  pramsey
+
+	* Add in test for #720
+
+2010-12-18 15:27  pramsey
+
+	* ST_Transform is broken for all MULTI geometries (#720), wonder
+	  how that got through...
+
+2010-12-18 05:06  pramsey
+
+	* Add gserialized.h. Later this can be the central place for
+	  index/object utilities, for now it just holds the switch to turn
+	  the gserialized code on and off while we develop
+
+2010-12-18 04:54  pramsey
+
+	* Remove oddity around gbox duplication
+
+2010-12-18 00:38  pramsey
+
+	* More syncro between geometry and geography. Stubbed index
+	  binding.
+
+2010-12-17 22:16  pramsey
+
+	* Re-name GiST index functions generically for re-use in geometry.
+
+2010-12-17 22:03  pramsey
+
+	* Review to prepare generic index bindings for geography, then
+	  geometry
+
+2010-12-17 21:32  pramsey
+
+	* Harmonize some index support functions to be more generic
+	  gserialized functions and less specific geography functions.
+
+2010-12-17 20:10  pramsey
+
+	* Re-orgs to push the geodetic/cartesian divide a little further
+	  under the covers as part of the geometry/geography group hug at
+	  the index bindings level.
+
+2010-12-17 18:34  robe
+
+	* fix typo add DropTopology
+
+2010-12-17 17:56  strk
+
+	* Add regress testing for topology.AddEdge
+
+2010-12-17 17:44  robe
+
+	* 
+
+2010-12-17 17:24  robe
+
+	* 
+
+2010-12-17 17:19  strk
+
+	* Add a note about possible semantic change
+
+2010-12-17 17:16  strk
+
+	* New topology.AddEdge function [RT-SIGTA]
+
+2010-12-17 16:45  robe
+
+	* fix typos
+
+2010-12-17 16:34  robe
+
+	* Put in section in manual for topology and extras in general.
+	  Change postgis.refractions.net to www.postgis.org
+
+2010-12-17 16:16  strk
+
+	* Use newer quoting paradigm ($$); use ST_Crosses when willing to
+	  check crossing, not just intersection...; add proper credits
+
+2010-12-17 15:51  strk
+
+	* Add an inspection in the final node table
+
+2010-12-17 15:27  strk
+
+	* Add test for topology.addNode
+
+2010-12-17 15:17  strk
+
+	* Avoid NOTICE messages while running topology tests, make results
+	  immune of the number of topologies ever created in the database
+	  (helps getting stable results when running the tests manually
+	  using run_test directly)
+
+2010-12-17 14:00  jorgearevalo
+
+	* Added very basic flex files for raster MapAlgebra implementation.
+	  The file
+	  'ma_lexer_only' is for testing only the lexer, without the parser
+
+2010-12-17 07:52  strk
+
+	* split load_topology in 3 steps: load of topology, creation of
+	  feature tables, query of feature tables. Adapt tests accordingly.
+
+2010-12-16 18:02  strk
+
+	* Return number of failures as exit status
+
+2010-12-16 18:00  strk
+
+	* Have run_test exit code reflect presence of failures.
+
+2010-12-16 17:52  strk
+
+	* Remove duplicated check rule
+
+2010-12-16 17:46  strk
+
+	* This one shouldn't be in the repository.. anyway, since it is...
+
+2010-12-16 17:30  strk
+
+	* Turn 'regress' dir into a first class subdir, fixes ticket #715
+
+2010-12-16 16:33  strk
+
+	* Comment-out obsoleted rules (didn't drop in case someone will
+	  miss them)
+
+2010-12-16 16:28  strk
+
+	* Add 'distclean' to the SUBDIRS target
+
+2010-12-16 14:46  strk
+
+	* Add 'check' rule under the SUBDIR loop. You now get topology
+	  checked if you configured --with-topology
+
+2010-12-16 14:35  strk
+
+	* Only run unit tests when building GUI (See
+	  http://postgis.refractions.net/pipermail/postgis-devel/2010-December/011014.html)
+
+2010-12-16 14:17  robe
+
+	* yeh can put ST_AsKML test back in now that trunk isn't crashing
+	  on it.
+
+2010-12-16 13:16  robe
+
+	* most have missed these
+
+2010-12-16 09:48  strk
+
+	* Add 'clean' to the set of targets handled with the SUBDIRS loop
+
+2010-12-15 22:17  pramsey
+
+	* Add in GSERIALIZED options for many of the pglgweom_ support
+	  functions.
+
+2010-12-15 21:31  pramsey
+
+	* Add in #defines to allow conditional switch-over to GSERIALIZED
+
+2010-12-15 20:06  strk
+
+	* Fail on fix subdir build failure. Add missing uninstall rule in
+	  liblwgeom
+
+2010-12-15 18:35  pramsey
+
+	* Remove silly pointer tests from LWGEOM_collect
+
+2010-12-15 18:29  strk
+
+	* Install topology.sql in the same directory as other things
+	  postgis
+
+2010-12-15 18:28  pramsey
+
+	* LWGEOM_accum is orphaned code, bye bye!
+
+2010-12-15 18:03  strk
+
+	* Generate GNUMakefile, add a --with-topology switch to configure,
+	  enabling descending under topology/ dir
+
+2010-12-15 17:51  pramsey
+
+	* Move geometrycollection back out of the supported types for KML
+
+2010-12-15 17:46  pramsey
+
+	* KML crashes on EMPTY (#681)
+
+2010-12-15 17:14  strk
+
+	* Thanks for the great partecipation around GNUmakefile
+	  improvements proposal. It's finally here :)
+
+2010-12-15 17:11  strk
+
+	* Add a check rule under topology/ [RT-SIGTA]
+
+2010-12-15 17:06  strk
+
+	* Make sure predicate sql file is generated before use
+
+2010-12-15 16:41  strk
+
+	* Add sqlmm automated test. Drop old rules [RT-SIGTA]
+
+2010-12-15 16:24  strk
+
+	* automatize topology validity checking [RT-SIGTA]
+
+2010-12-15 16:04  strk
+
+	* Start a proper 'make check' rule, using the testrunner in top
+	  dir's regress dir
+
+2010-12-15 15:25  robe
+
+	* okay just exclude POLYGON EMPTY and ST_AsKML -- too many victims
+	  for POLYGON EMPTY including ST_LineMerge now. change namespace to
+	  www.postgis.org
+
+2010-12-15 14:14  strk
+
+	* Allow run_test calls from foreign directories
+
+2010-12-15 14:09  strk
+
+	* Do not read ~/.psqlrc when creating database
+
+2010-12-15 14:04  strk
+
+	* Add a --topology switch to equip regression db with topology
+	  support when requested
+
+2010-12-15 13:39  strk
+
+	* Add new populate.sql file to host topology population routines.
+	  Properly encode dependencies.
+
+2010-12-15 13:23  robe
+
+	* exclude more functions from tests that are sorta broken
+
+2010-12-15 11:01  strk
+
+	* Split sqlmm specific things into its own file
+
+2010-12-15 10:48  strk
+
+	* Work outside of transaction, to help upgrade/test cycles. Fix
+	  leftover from previous commit. [RT-SIGTA]
+
+2010-12-15 10:44  strk
+
+	* Fix typo in TopoGeo_addLinestring description, add DEBUG lines
+	  [RT-SIGTA]
+
+2010-12-15 10:08  strk
+
+	* Fix detection of non-existent schema in ST_CreateTopoGeo
+
+2010-12-15 00:57  pramsey
+
+	* Flip more memcpy calls away.
+
+2010-12-15 00:24  pramsey
+
+	* Remove some calls to memcpy in favor of API functions.
+
+2010-12-15 00:12  pramsey
+
+	* Strip out more instances of SERIALIZED_FORM
+
+2010-12-14 20:30  pramsey
+
+	* Return non-zero when tests fail
+
+2010-12-14 20:21  pramsey
+
+	* Fix regressions in the new KML emitter
+
+2010-12-14 16:00  robe
+
+	* exclude from testing functions known to crash with POLYGON EMPTY
+
+2010-12-14 05:53  pramsey
+
+	* Memory leak in geography_from_text (#624)
+
+2010-12-14 05:01  pramsey
+
+	* Minor usage changes. (#604)
+
+2010-12-14 00:56  pramsey
+
+	* Update (c) header
+
+2010-12-14 00:54  pramsey
+
+	* Convert KML output to use stringbuffer for a 50% code
+	  shrinkage...
+
+2010-12-14 00:49  pramsey
+
+	* Remove multicurve warning
+
+2010-12-14 00:37  robe
+
+	* fix some typos and add back curvepolygon example that was
+	  crashing before with old ewkt parser
+
+2010-12-13 23:50  pramsey
+
+	* Second thoughts on stringbuffer changes
+
+2010-12-13 23:40  pramsey
+
+	* Potential minor speed-up functions for stringbuffering
+
+2010-12-13 23:34  pramsey
+
+	* Add extra multicurve test for WKT
+
+2010-12-13 21:42  pramsey
+
+	* Update parser to handling compound curves within multicurves
+	  (#525)
+
+2010-12-13 21:31  pramsey
+
+	* ST_CollectionExtract returns non-requested type (#457)
+
+2010-12-13 20:40  pramsey
+
+	* Return value of snprintf not correctly checked (#556)
+
+2010-12-13 20:25  pramsey
+
+	* Improve stringbuffer_t performance (#439). This is largely done
+	  already in past passes. Added one small memory fix.
+
+2010-12-13 20:09  pramsey
+
+	* Change default shp2pgsql column to "geom" (#352)
+
+2010-12-13 19:50  robe
+
+	* 
+
+2010-12-13 19:44  robe
+
+	* 
+
+2010-12-13 19:44  robe
+
+	* 
+
+2010-12-13 19:43  pramsey
+
+	* Fix ST_Segmentize on curved geometries -- CRASH (#706). This is
+	  actually a reflection of inconsistency in the lwgeom_clone()
+	  function (creates copy of everything except point array) and the
+	  ptarray_clone() function (creates copy of everything). The
+	  definitions of _clone, _copy, _release, and _free need to be made
+	  consistent and documented.
+
+2010-12-13 19:42  robe
+
+	* 
+
+2010-12-13 19:34  robe
+
+	* 
+
+2010-12-13 19:32  robe
+
+	* 
+
+2010-12-13 19:25  robe
+
+	* 
+
+2010-12-13 19:25  pramsey
+
+	* Fix up failure in distance calculation (#705) and replace some
+	  SRID -1 with SRID_UNKNOWN
+
+2010-12-13 19:19  robe
+
+	* 
+
+2010-12-13 16:38  robe
+
+	* Okay changed this to LF since people seemed to like changing this
+	  one a lot. We'll see if this fixes my frustrations without
+	  causing any frustration for anyone else.
+
+2010-12-13 13:14  robe
+
+	* remove collection of geometries into crasher group to prevent
+	  testing until we revisit #700
+
+2010-12-13 10:49  strk
+
+	* Add comments on the 'edge' topology primitives view
+
+2010-12-13 09:51  strk
+
+	* typo
+
+2010-12-12 22:42  nicklas
+
+	* 3d distance functions for line-line cases
+
+2010-12-12 18:59  nicklas
+
+	* Some cleaning up in measure functions in lwgeom_functions_basic.c
+
+2010-12-12 00:12  pramsey
+
+	* Remove more SERIALIZED_FORM
+
+2010-12-11 00:28  pramsey
+
+	* ptarray_free now frees the serialized_ptlist, unless
+	  FLAGS_GET_READONLY is set.
+
+2010-12-11 00:27  strk
+
+	* Do not force drop of pre-existing topology schema. Sounds
+	  dangerous when start using it for real.
+
+2010-12-10 23:22  pramsey
+
+	* Switch to cstring2text for text returns.
+
+2010-12-10 23:15  pramsey
+
+	* Clean out more SERIALIZED_FORM calls
+
+2010-12-10 22:45  pramsey
+
+	* Clean out some more calls to SERIALIZED_FORM
+
+2010-12-10 20:22  pramsey
+
+	* Issues with TRIANGLE AND TIN EMPTY collections - hmm do they
+	  exist? (#686)
+
+2010-12-10 19:44  pramsey
+
+	* Fix for TIN EMPTY per #686
+
+2010-12-10 19:10  pramsey
+
+	* Fix cunit failures on Polyhedral surface (#697)
+
+2010-12-10 18:10  pramsey
+
+	* WKB and WKT closure checks are now in X/Y only (#693)
+
+2010-12-10 18:06  strk
+
+	* Revert GNUMakefile changes as per Mark request. I had enough
+	  complains about build scripts this week...
+
+2010-12-10 18:00  pramsey
+
+	* Fix ST_Segmentize and Polyhedral Surface -- CRASH (#696)
+
+2010-12-10 17:57  strk
+
+	* Add 'uninstall' rule in the loop. Work around the docs dep by
+	  using uninstall deps. Add an 'uninstall' rule to raster subsystem
+
+2010-12-10 17:49  strk
+
+	* Be verbose during recursion. List liblwgeom in SUBDIRS, stub
+	  install rules for liblwgeom and utils
+
+2010-12-10 17:29  strk
+
+	* more ignores
+
+2010-12-10 17:19  strk
+
+	* Start listing some subdirs to recurse into. Hopefully one day
+	  this will become cleaner
+
+2010-12-10 17:19  strk
+
+	* add .svn to .gitignore (why is this in repo ? oh well.. it is
+	  useful anyway)
+
+2010-12-10 15:45  pramsey
+
+	* Fix for crash in ST_RemovePoint (#695)
+
+2010-12-10 14:53  mloskot
+
+	* Fixed problems with truncated decimal places of float-point
+	  values in textual output. For large datasets, it was leading to
+	  incorrectly calculated dimensions. Now, all floats are formatted
+	  with 15 decimal places.
+
+2010-12-09 19:17  pramsey
+
+	* Wrap up GEOS predicates in EMPTY tests (#685)
+
+2010-12-09 18:52  pramsey
+
+	* Remove old function calls
+
+2010-12-09 18:51  pramsey
+
+	* Fix for centroid crash on emtpy (#684)
+
+2010-12-09 18:00  pramsey
+
+	* Fix crash in ST_MakeLine (#690)
+
+2010-12-09 16:10  pramsey
+
+	* Add config rpath
+
+2010-12-09 15:00  robe
+
+	* formatting
+
+2010-12-08 23:58  pramsey
+
+	* Remove more appeals to pglwgeom->type
+
+2010-12-08 23:52  pramsey
+
+	* Remove more appeals to pglwgeom->type
+
+2010-12-08 23:40  pramsey
+
+	* Remove more appeals to pglwgeom->type
+
+2010-12-08 23:29  pramsey
+
+	* Remove another call to TYPE_HASBBOX
+
+2010-12-08 23:28  pramsey
+
+	* Remove call to TYPE_HASBBOX
+
+2010-12-08 23:27  pramsey
+
+	* Remove many cases of calls to SERIALIZED_FORM in favour of direct
+	  pglwgeom deserialization
+
+2010-12-08 23:19  robe
+
+	* need to keep GEOMETRYCOLLECTION EMPTY away from others since GEOS
+	  throws geometry collection not support for it often so hiding the
+	  crashing in some cases of typed empties.
+
+2010-12-08 22:31  pramsey
+
+	* Remove many instances of lwgeom_getType used on PG_LWGEOM
+
+2010-12-08 22:02  robe
+
+	* Add more emptiness. We need to explore emptiness more deeply :)
+
+2010-12-08 21:21  pramsey
+
+	* When asking for a serialized forms type, use pglwgeom_get_type
+
+2010-12-08 20:54  pramsey
+
+	* Cut down reliance on TYPE_GETTYPE macro in favor of a function we
+	  can repoint later in the serialization change process
+
+2010-12-08 20:35  pramsey
+
+	* Expunge some TYPE_GETTYPE
+
+2010-12-08 20:35  pramsey
+
+	* Start to work on PG_LWGEOM sanity before changeover
+
+2010-12-08 19:24  pramsey
+
+	* Rename has_arc to lwgeom_has_arc
+
+2010-12-08 19:23  pramsey
+
+	* Fix crash on BuildArea(empty) (#683)
+
+2010-12-08 18:20  pramsey
+
+	* Handle empty geometries in ST_Buffer(). If argument empty, return
+	  empty. (#682)
+
+2010-12-08 18:06  pramsey
+
+	* Fix crash in GML output of POLYGON EMPTY (#681)
+
+2010-12-08 16:20  pramsey
+
+	* Fix AsBinary handling of > 2d features in geography (#680)
+
+2010-12-08 16:04  pramsey
+
+	* Output higher dimensions in astext in geography (#680)
+
+2010-12-08 00:23  pramsey
+
+	* Minor rearrangement of memory handling.
+
+2010-12-08 00:02  pramsey
+
+	* Rename lwgeom_from_wkt to lwgeom_parse_wkt to note the use of the
+	  parser object.
+
+2010-12-07 21:59  pramsey
+
+	* Start flipping over references to srid = -1 to srid =
+	  SRID_UNKNOWN
+
+2010-12-07 21:55  strk
+
+	* Use unified diffs for expected/obtained (easier to read)
+
+2010-12-07 21:08  pramsey
+
+	* Replace the old WKB/WKT parser and emitters with the new ones.
+
+2010-12-07 14:02  robe
+
+	* change to 1 column (st_sharedpaths)
+
+2010-12-07 13:45  robe
+
+	* reduce width some more
+
+2010-12-07 13:42  robe
+
+	* change color to be clearer reduce width of text
+
+2010-12-07 12:51  robe
+
+	* end tbody
+
+2010-12-07 12:45  robe
+
+	* fix formatting
+
+2010-12-07 12:42  robe
+
+	* diagram of shared paths
+
+2010-12-07 12:25  robe
+
+	* formatting fixes
+
+2010-12-07 12:02  robe
+
+	* more examples to demonstrate its not just limited to 1 point
+	  snapping
+
+2010-12-07 08:30  robe
+
+	* looks funny in one row, better put each in separate row
+
+2010-12-07 07:56  robe
+
+	* example with diagram for ST_Snap
+
+2010-12-06 15:15  robe
+
+	* minor comment corrections
+
+2010-12-06 15:15  robe
+
+	* start logging sql queries to log table
+
+2010-12-06 15:07  strk
+
+	* Add a couple more cases provided by RT-SITA
+
+2010-12-06 14:52  strk
+
+	* Document ST_Snap, xref with SnapToGrid
+
+2010-12-06 14:21  strk
+
+	* Fix typo in ST_SharedPaths documentation, add some xrefs
+
+2010-12-03 21:38  pramsey
+
+	* Updates to the WKT parser to report errlocation in more places.
+
+2010-12-03 16:53  pramsey
+
+	* Make use of ptarray api for manipulating serialized_pointlist
+
+2010-12-03 15:53  pramsey
+
+	* Remove a couple warnings.
+
+2010-12-03 10:13  strk
+
+	* Add SNAP test reported on JTS mailing list
+
+2010-12-03 09:53  strk
+
+	* Fix release of wrong memory (same bug as #670, found here for
+	  copy&paste)
+
+2010-12-03 09:22  strk
+
+	* FREE the right argument (fixes bug #670)
+
+2010-12-03 09:00  strk
+
+	* Add test for bug 670
+
+2010-12-03 05:40  robe
+
+	* document st_sharedpaths and alphabetize listings
+
+2010-12-02 20:38  pramsey
+
+	* Change i18n instructions to use shp2pgsql_LANG.po as format for
+	  po file names.
+
+2010-12-02 20:35  pramsey
+
+	* Remove serialized_pointlist direct access from ./postgis
+
+2010-12-02 19:09  pramsey
+
+	* Move is_closed fully to liblwgeom and remove LWGEOM_INSPECTED
+	  from IsClosed
+
+2010-12-02 18:52  pramsey
+
+	* Remove LWGEOM_INSPECTED from pointn, startpoint, endpoint, and
+	  migrate functionality to liblwgeom.
+
+2010-12-02 18:12  strk
+
+	* ST_Snap and regress testing
+
+2010-12-02 18:01  pramsey
+
+	* Remove LWGEOM_INSPECTED from PointN
+
+2010-12-02 17:46  pramsey
+
+	* Remove LWGEOM_INSPECTED from NumInteriorRings
+
+2010-12-02 17:39  pramsey
+
+	* Remove unused function
+
+2010-12-02 17:38  pramsey
+
+	* Remove LWGEOM_INSPECTED from ndims
+
+2010-12-02 17:18  pramsey
+
+	* Remove INSPECTED from numpoints
+
+2010-12-02 16:25  mloskot
+
+	* Updated SQL scripts location in the database building makefile
+
+2010-12-02 16:13  pramsey
+
+	* Remove GET_GETTYPE from some functions.
+
+2010-12-02 16:06  robe
+
+	* fix typo
+
+2010-12-02 15:55  pramsey
+
+	* Remove LWGEOM_INSPECTED from ST_Union
+
+2010-12-02 15:54  robe
+
+	* remove ~= geography according to garden tests geography doesn't
+	  have such an operator. Also put in version number arg name to
+	  make GeoJSON easier to test
+
+2010-12-02 15:51  robe
+
+	* all test sql statements should be logged to postgis_garden_log
+	  and successful results output to postgis_garden_log_output
+
+2010-12-02 15:37  pramsey
+
+	* Pass iconv header flags to cpp in all cases.
+
+2010-12-02 15:29  mloskot
+
+	* Fixed invalid on-error return value from rt_raster_add_band
+
+2010-12-02 15:28  mloskot
+
+	* Updated the raster messages output by the configure script.
+
+2010-12-02 14:40  jorgearevalo
+
+	* Changed SRID by srid in LWPOLY structure call. Due to change in
+	  r6204
+
+2010-12-02 06:55  robe
+
+	* start logging the sql to postgis_garden_log table and store the
+	  output as xml in postgis_garden_log_output. Still more to fix.
+	  This will hopefully make it easier for vegetable gardeners to
+	  pick ripe vegetables.
+
+2010-12-02 03:43  pramsey
+
+	* Add i18n string wrapper for pgsql2shp utility too.
+
+2010-12-02 00:51  pramsey
+
+	* Now for sure.
+
+2010-12-02 00:50  pramsey
+
+	* Final one?
+
+2010-12-02 00:48  pramsey
+
+	* More NLS macros
+
+2010-12-02 00:47  pramsey
+
+	* Add another NLS macro
+
+2010-12-02 00:46  pramsey
+
+	* Add needed macro
+
+2010-12-02 00:44  pramsey
+
+	* First attempt at i18n for the loader/dumper.
+
+2010-12-01 20:28  pramsey
+
+	* Remove LWGEOM_INSPECTED from perimeter calculation
+
+2010-12-01 19:59  pramsey
+
+	* Remove LWGEOM_INSPECTED from transform functions
+
+2010-12-01 18:13  strk
+
+	* Add regression testing for ST_SharedPaths
+
+2010-12-01 18:11  strk
+
+	* Support typed multi* empties, just enough fro ST_SharedEdge (see
+	  issue #673 for more)
+
+2010-12-01 16:23  strk
+
+	* Fix builds against libgeos < 3.3.0
+
+2010-12-01 16:23  strk
+
+	* Retain SRID in output
+
+2010-12-01 16:15  strk
+
+	* Newer script (2009 rather than 2006). Hoping others' won't have
+	  it updated (my ./autogen.sh runs always update it)
+
+2010-12-01 15:54  strk
+
+	* Build and register ST_SharedPaths
+
+2010-12-01 15:42  strk
+
+	* postgis/Makefile is generated from postgis/Makefile.in by
+	  ./configure
+
+2010-12-01 15:12  robe
+
+	* no fair -- I want a collection of empties too
+
+2010-12-01 15:07  strk
+
+	* typo
+
+2010-12-01 14:56  strk
+
+	* Test dumping an insanely _empty_ geometry
+
+2010-12-01 14:44  strk
+
+	* Test ST_Dump(EMPTY)
+
+2010-12-01 14:41  strk
+
+	* Add test for ST_Dump
+
+2010-12-01 13:57  strk
+
+	* some ignores
+
+2010-12-01 13:57  strk
+
+	* Execute bit
+
+2010-12-01 13:57  strk
+
+	* Build ST_SharedPaths function (currently returning a
+	  geometrycollection)
+
+2010-12-01 01:02  pramsey
+
+	* Add stringbuffer_create_size() to allow different starting sizes
+	  for the buffer
+
+2010-12-01 00:53  pramsey
+
+	* Move affine transforms into liblwgeom and expunge
+	  LWGEOM_INSPECTED
+
+2010-12-01 00:00  pramsey
+
+	* Make spheroid distance respect z if it's there.
+
+2010-11-30 23:46  pramsey
+
+	* Remove old length_ellipse functions
+
+2010-11-30 23:44  pramsey
+
+	* Move spheroid length calculation to using same function as
+	  geography
+
+2010-11-30 23:23  pramsey
+
+	* Include some extra memory freeing in the force_ndims variants.
+
+2010-11-30 22:55  pramsey
+
+	* Move length calculations fully to liblwgeom and remove
+	  LWGEOM_INSPECTED
+
+2010-11-30 21:54  pramsey
+
+	* Move area calculations fully to liblwgeom and remove
+	  LWGEOM_INSPECTED
+
+2010-11-30 21:35  pramsey
+
+	* Remove LWGEOM_INSPECTED from AsGML and AsKML
+
+2010-11-30 20:11  pramsey
+
+	* Remove LWGEOM_INSPECTED from AsGeoJSON
+
+2010-11-30 19:02  pramsey
+
+	* Remove LWGEOM_INSPECTED from AsSVG
+
+2010-11-30 07:02  robe
+
+	* more logging cleanup and add create index test for
+	  geometry/geography. Change verison number arg in ST_GeoJSON so
+	  can stuff the right value in testing
+
+2010-11-29 13:02  robe
+
+	* more mistakes
+
+2010-11-29 12:55  robe
+
+	* fix typo
+
+2010-11-26 16:55  robe
+
+	* fix more mistakes in table logging. replace toxic curved
+	  geometries with little more harmless. Get rid of false positive
+	  relationships by forcing geometries to have bounding boxes that
+	  intersect at least sometimes.
+
+2010-11-26 13:40  robe
+
+	* put back curved geometries. Had taken them out in 1.4, but guess
+	  never put them back because of distance issues. Also some other
+	  minor cleanup
+
+2010-11-25 18:38  colivier
+
+	* Change POINTARRAY.dims to POINTARRAY.flags. Related to #658
+
+2010-11-25 17:34  colivier
+
+	* Change SRID to srid in LWGEOM struct (and also in CHIP too).
+	  Rename some functions related to SRID from Camel notation to
+	  lower case: errorIfSRIDMismatch, pglwgeom_getSRID,
+	  pglwgeom_setSRID, LWGEOM_getSRID, LWGEOM_setSRID, hasSRID.
+	  Related to #658
+
+2010-11-24 23:44  robe
+
+	* fix casing in dropRastertable
+
+2010-11-24 22:29  robe
+
+	* fix table casing in Addrastercolumn
+
+2010-11-24 17:49  pramsey
+
+	* Fully free temporary ptarray
+
+2010-11-24 17:46  robe
+
+	* reenable st_curvetoline and st_linetocurve functions. Seem to
+	  work now.
+
+2010-11-24 15:41  robe
+
+	* Exclude ST_MinimumBoundingCircle from testing. That uses
+	  ST_AddPoint too.
+
+2010-11-24 13:34  robe
+
+	* change polygon z and m building to not use ST_AddPoint and remove
+	  ST_AddPoint from testing until it works again. Put ST_Transform
+	  back.
+
+2010-11-24 01:09  pramsey
+
+	* Inherit gbox flags from lwgeom when calculating. This makes
+	  sense.
+
+2010-11-24 01:06  pramsey
+
+	* Initialize static GBOX flags to zero to avoid nastiness.
+
+2010-11-24 00:39  pramsey
+
+	* Tighten up lwgeodetic a little
+
+2010-11-24 00:28  pramsey
+
+	* Ensure that flags are initialized cleanly in constructors
+
+2010-11-23 23:47  pramsey
+
+	* Update geography functions to use the in-build .flags attribute
+	  on LWGEOM
+
+2010-11-23 20:22  pramsey
+
+	* Remove libgeom.h
+
+2010-11-23 15:49  robe
+
+	* fix casing of pixel types
+
+2010-11-23 00:44  pramsey
+
+	* Make the ptarray_add_point behavior more explicit.
+
+2010-11-23 00:23  pramsey
+
+	* Remove dlfcn.h. Doesn't seem to make any difference under OS/X.
+
+2010-11-23 00:16  pramsey
+
+	* Update force2d to preserve repeated points.
+
+2010-11-22 22:33  pramsey
+
+	* Add in actual cu_ptarray.c test file
+
+2010-11-22 22:23  pramsey
+
+	* Make ptarray_append_point handle higher dimensions more
+	  consistently.
+
+2010-11-22 19:24  pramsey
+
+	* Make LWGEOM_expand use the ptarray API
+
+2010-11-22 15:43  robe
+
+	* change to not use skewed rasters and insure when point is used in
+	  falls in the raster to prevent unnecessary alarms
+
+2010-11-22 15:17  robe
+
+	* fix more bugs in test
+
+2010-11-22 13:34  robe
+
+	* fix some bugs in tests. More fixes to come
+
+2010-11-21 19:13  colivier
+
+	* Add triangle support for ST_Transform. Fix #600. Thanks to Regina
+	  for report !
+
+2010-11-21 19:02  colivier
+
+	* #658 part 1. Enhance LWGEOM struct (type, flags and GBOX) and
+	  related functions call.
+
+2010-11-19 22:12  pramsey
+
+	* Revert GML change. Hm.
+
+2010-11-19 21:51  pramsey
+
+	* Change in gml regression to match what seems to be the right
+	  answers.
+
+2010-11-18 18:37  pramsey
+
+	* Flip nrings function from serialized to lwgeom based.
+
+2010-11-18 18:13  pramsey
+
+	* Change over npoints to use an lwgeom based function intead of
+	  serialized.
+
+2010-11-18 05:28  pramsey
+
+	* An argument for git. This massive commit includes the renaming of
+	  function in the ptarray API, the removal of some pointArray_*
+	  variants in favor of ptarray_* variants, and, importantly, the
+	  adition of _append_point and _insert_point options for
+	  pointarrays. Functions have been switched over to using the API
+	  instead of managing the serialized_pointlist themselves. This has
+	  necessitated the re-writing of some functions. Simplify2d and
+	  Force2d have been re-written as lwgeom functions instead of
+	  serialized form functions, and moved into liblwgeom. There are
+	  still some major functions to move into liblwgeom, including the
+	  point_in_polygon functions that support the intersects shortcuts
+	  and the linear referencing fuctions in lwgeom_functions_analytic.
+
+2010-11-16 17:25  robe
+
+	* minor logging corrections
+
+2010-11-14 18:10  jorgearevalo
+
+	* Added MapAlgebra prerequisites to raster core.
+
+2010-11-12 15:48  robe
+
+	* Update 9.0 FAQ to include npgsql fixed driver for bytea support
+
+2010-11-04 23:21  pramsey
+
+	* Change pointArray_construct() to
+	  ptarray_construct_reference_data()
+
+2010-11-02 14:20  robe
+
+	* add relevant references
+
+2010-11-02 06:20  pramsey
+
+	* Change over to lwgeom_is_collection where appropriate.
+
+2010-11-02 05:52  pramsey
+
+	* Remove unused function. Rename lwgeom_is_collection to
+	  lwtype_is_collection.
+
+2010-11-01 21:03  kneufeld
+
+	* try an experiment to fix Docbook and MathML compatibility issues.
+	  upgrade Docbook to 4.5
+	  upgrade MathML to 2.0
+	  
+	  One should be able to use mml namespaces now without specifying
+	  in every block.
+	  
+	  "make check" should now pass without incident.
+
+2010-11-01 14:48  robe
+
+	* logging for multi arg functions
+
+2010-11-01 14:07  robe
+
+	* Get rid of WKT in credits and some minor spring cleaning
+
+2010-11-01 08:15  pramsey
+
+	* Fix liblwgeom.h reference in generator
+
+2010-11-01 08:11  pramsey
+
+	* Remove DYNPTARRAY and all users of it
+
+2010-11-01 01:28  pramsey
+
+	* Flip all the internal liblwgeom files over to use
+	  liblwgeom_internal.h
+
+2010-11-01 01:16  pramsey
+
+	* Remove one use of DYNPTARRAY
+
+2010-10-31 03:19  pramsey
+
+	* Remove a pair of unused functions.
+
+2010-10-31 02:31  pramsey
+
+	* Clean out scruft from my G_ phase and start attempting to
+	  separate _internal from external liblwgeom functions.
+
+2010-10-30 17:35  strk
+
+	* ISO C90 forbids mixed declarations and code
+
+2010-10-29 22:57  robe
+
+	* put in references to geomval data type
+
+2010-10-29 22:20  robe
+
+	* 
+
+2010-10-29 21:57  robe
+
+	* switch order back
+
+2010-10-29 21:33  robe
+
+	* Include rasters in special function index and switch ordering of
+	  chapters so special function index is at the end again after
+	  raster
+
+2010-10-29 13:04  robe
+
+	* test all functions -- first draft -- lots of false negatives
+
+2010-10-29 12:21  robe
+
+	* fix typo in logging
+
+2010-10-29 12:04  robe
+
+	* update to test the raster operators
+
+2010-10-29 11:28  robe
+
+	* ST_3DDFullyWithin
+
+2010-10-28 23:08  pracine
+
+	* --General enhancement to the script functions. Still a lot of
+	  work to do...
+
+2010-10-28 13:47  robe
+
+	* some cleanup and one more link
+
+2010-10-28 13:10  robe
+
+	* get rid of tabs
+
+2010-10-28 12:45  robe
+
+	* Try to clarify use of ST_MakeEmptyRaster to address #651
+
+2010-10-27 18:01  kneufeld
+
+	* updated reference to appropriate image in the discussion on
+	  geometry validity
+
+2010-10-27 17:27  kneufeld
+
+	* added an example for ST_IsValid that shows a valid multipolygon
+	  that touches at a point.
+
+2010-10-27 17:09  kneufeld
+
+	* remove <remark> TODO tag in doc.
+
+2010-10-27 16:47  robe
+
+	* Logic to test inserting rasters of all different types
+
+2010-10-27 14:38  robe
+
+	* First working version of raster garden test -- currently just
+	  does an addrastercolumn for all pixel types supported, drop
+	  raster table and logs completion and timing to raster_garden_log
+	  table
+
+2010-10-27 12:51  jorgearevalo
+
+	* gdal2raster.py renamed to raster2pgsql.py. Related ticket #612
+
+2010-10-27 11:06  jorgearevalo
+
+	* Added CC=@CC@ in raster/rt_core/Makefile.in. Related ticket #550.
+
+2010-10-26 17:40  jorgearevalo
+
+	* Fixes on PostGIS Raster debug system. The raster core uses
+	  default_info_handler() call. Other minor bugs fixed. Created
+	  DEBUG file in
+	  raster directory, similar to postgis/DEBUG file. Erased
+	  references to old raster debug variables in configure.ac. Deleted
+	  old readme file.
+
+2010-10-26 16:41  robe
+
+	* start work on raster garden test generator
+
+2010-10-26 16:40  jorgearevalo
+
+	* New debug system, similar to the PostGIS debug system, with two
+	  sets of macros
+	  that depend on the POSTGIS_DEBUG_LEVEL value. Related ticket
+	  #638.
+
+2010-10-26 15:50  robe
+
+	* fix id ref
+
+2010-10-26 15:42  robe
+
+	* fix build issue -- need more fixing later
+
+2010-10-26 15:01  robe
+
+	* fix typo
+
+2010-10-26 14:47  robe
+
+	* add raster types in in reference_types section and also put in
+	  special indexes section. Will eventually move special indexes
+	  below raster since it will now cover it as well.
+
+2010-10-26 12:46  robe
+
+	* try to get rid of utf stuff again
+
+2010-10-25 17:28  pramsey
+
+	* Use ptarray_isclosed to check closure
+
+2010-10-25 16:06  jorgearevalo
+
+	* Added svn tag keywords to raster plpgsql scripts. Related ticket
+	  #642.
+
+2010-10-25 14:46  robe
+
+	* revert
+
+2010-10-25 14:33  robe
+
+	* get rid of utf header entirely -- my xsltproc when run with
+	  make-comments chokes on it.
+
+2010-10-25 05:01  pramsey
+
+	* Add some WKT tests on EMPTY
+
+2010-10-25 04:57  pramsey
+
+	* Add/improve comments, fix SRID handling for EWKT inputs.
+
+2010-10-25 04:34  pramsey
+
+	* More care handling mixed dimensional inputs and being tolerant of
+	  wierd stuff
+
+2010-10-25 00:14  pramsey
+
+	* Add destructors for the _list elements of the grammar.
+
+2010-10-24 19:51  pramsey
+
+	* Remove parse/lex outputs from 'clean' target, add to
+	  'maintainer-clean'
+
+2010-10-24 19:30  pramsey
+
+	* Update lexer
+
+2010-10-24 19:30  pramsey
+
+	* Add generated parser/lexer files
+
+2010-10-24 19:29  pramsey
+
+	* Remove svn:ignores for lex/parser results
+
+2010-10-24 19:28  pramsey
+
+	* Remove header-file option
+
+2010-10-24 19:25  pramsey
+
+	* More tweaks to lexer to generate header
+
+2010-10-24 19:13  pramsey
+
+	* Change order of options
+
+2010-10-24 19:00  pramsey
+
+	* Turn off verbose grammar
+
+2010-10-24 19:00  pramsey
+
+	* Add in tests for more WKT types and fix bugs as they show up.
+
+2010-10-24 16:08  pramsey
+
+	* Add quotes to bison/flex calls.
+
+2010-10-24 16:04  pramsey
+
+	* Match the error strings with the legacy ones in the old WKT
+	  parser.
+
+2010-10-24 15:25  pramsey
+
+	* Rename WKT out suite.
+
+2010-10-23 23:53  pramsey
+
+	* Change sytax on calls to LEX to maybe make windoze and others
+	  happier
+
+2010-10-23 23:50  pramsey
+
+	* Ignore generated Makefile
+
+2010-10-23 23:49  pramsey
+
+	* Change empty collection constructor to take a type number, like
+	  the non-empty constructor (because we now believe in typed
+	  empties).
+
+2010-10-23 23:48  pramsey
+
+	* Finish untested support for all types in WKT input.
+
+2010-10-23 14:41  pramsey
+
+	* Remove long form lex parameters
+
+2010-10-22 23:32  pramsey
+
+	* Add dimensional empties to the grammar
+
+2010-10-22 23:29  pramsey
+
+	* comment the fact we support ISO extended types in WKB emitter
+
+2010-10-22 23:27  pramsey
+
+	* Add in the ISO extended types to the WKT parser and emitter.
+
+2010-10-22 19:27  pramsey
+
+	* Apply mcayland patch to build parse/lex. Remember: make clean
+	  before make.
+
+2010-10-22 16:29  jorgearevalo
+
+	* Changed '--with-gdal' for '--with-gdalconfig'. Related tickets
+	  #610 #616
+
+2010-10-22 14:54  robe
+
+	* fix typo
+
+2010-10-22 14:52  robe
+
+	* document GDAL config setting. Showing with-gdal for now. Jorge --
+	  don't forget to change this in make to with-gdalconfig to be
+	  consistent with other config namings.
+
+2010-10-22 14:43  robe
+
+	* amend install instructions to reflect new simplied installation
+	  of raster support
+
+2010-10-22 14:00  jorgearevalo
+
+	* Raster build simplified. Only "./configure --with-raster & make &
+	  make install" needed. Raster objetive names changed in
+	  GNUMakefile. Raster library object generated with PostGIS version
+	  numbers.
+
+2010-10-22 02:14  pramsey
+
+	* Add in more parser cases and test an EMPTY case.
+
+2010-10-21 22:22  pramsey
+
+	* Add support for point and multipoints to the WKT parser.
+
+2010-10-21 21:32  pramsey
+
+	* Ensure the parser prereqs are built (#636)
+
+2010-10-20 22:51  pramsey
+
+	* Current work on bison-based WKT-to-LWGEOM parser. Implemented for
+	  LINESTRING, almost ready to extend to all types.
+
+2010-10-20 14:09  robe
+
+	* correction in output type
+
+2010-10-20 13:41  pracine
+
+	* -Fix for ticket ticket 634. Typo in error message.
+
+2010-10-20 13:38  pracine
+
+	* -Fix for ticket 632. st_world2rastercoordx and
+	  st_world2rastercoordy must return int instead of float8.
+
+2010-10-20 12:22  robe
+
+	* finish off documenting current public raster functions. Think
+	  that's all of them we have so far
+
+2010-10-19 13:02  robe
+
+	* fill in missing portos and provide more description of what
+	  additional protos do when args are left out or included
+
+2010-10-19 12:31  robe
+
+	* missing protos for st_askml, st_asgml
+
+2010-10-18 15:59  strk
+
+	* Location argument to GEOSIsValidDetail is non-const
+
+2010-10-18 13:15  strk
+
+	* Snap ShortestLine to 1e-14 grid (fixes failure on opensuse)
+
+2010-10-15 21:46  pracine
+
+	* -Fix for ticket 628.
+
+2010-10-15 14:32  robe
+
+	* typo
+
+2010-10-15 14:29  robe
+
+	* more logic errors
+
+2010-10-15 13:28  robe
+
+	* fix error in logic in test, change xml header to match other xml
+	  files
+
+2010-10-14 06:54  robe
+
+	* fix non valid RT_Reference link
+
+2010-10-14 06:04  colivier
+
+	* Fix few errors inside DocBook documentation. Refer to #471
+
+2010-10-13 22:22  robe
+
+	* address some dtd errors
+
+2010-10-13 17:12  jorgearevalo
+
+	* Modified raster Makefiles to solve bugs of ticket #610 (build
+	  error and
+	  incorrect placement of rtpostgis.sql file)
+
+2010-10-13 15:41  jorgearevalo
+
+	* Deleted references to 'WKT' in rtpostgis.sql and faq_raster.xml
+
+2010-10-13 14:31  robe
+
+	* Correct the spelling of Peucker
+
+2010-10-13 13:44  robe
+
+	* correction to example
+
+2010-10-13 13:03  robe
+
+	* amend the what is new in PostGIS 2.0 section
+
+2010-10-13 08:52  robe
+
+	* Put reference to addband and setvalue in empty raster. If a
+	  raster has no bands and values, do you see it :)
+
+2010-10-13 08:45  robe
+
+	* fill in missing protos for ST_AddBand and an example of creating
+	  a raster from scratch
+
+2010-10-13 08:12  robe
+
+	* add raster_comments.sql to be copied to contrib directory as well
+
+2010-10-12 18:38  robe
+
+	* this is now auto built when make comments is run
+
+2010-10-12 18:37  robe
+
+	* revise to also build raster_comments.sql when make comments is
+	  run
+
+2010-10-11 00:45  robe
+
+	* typo
+
+2010-10-11 00:45  robe
+
+	* fix typo in faxq_raster. Document ST_AddBand
+
+2010-10-10 22:00  pramsey
+
+	* Remove warnings
+
+2010-10-10 11:16  jorgearevalo
+
+	* Modified the prototype of dump core/server/sql functions, adding
+	  "wkt" to their names, because their returning elements are WKT
+	  geometries, not real PostGIS geometries.
+
+2010-10-10 00:08  pramsey
+
+	* Put the WKT new parser files into repo so others can see them and
+	  I can work in synch with trunk.
+
+2010-10-09 04:03  robe
+
+	* Put link to Jorge's PostGIS Raster and Oracle GeoRaster series
+
+2010-10-08 18:08  pramsey
+
+	* Add param.h to headers, pick up ENDIAN macros?
+
+2010-10-08 16:45  robe
+
+	* another fix
+
+2010-10-08 14:55  pracine
+
+	* -Modify ST_Intersects so that index is taken into account by the
+	  planner
+	  -Added a series of ST_Intersects with a boolean parameter to make
+	  the desactivation of the nodata value working with indexes
+
+2010-10-08 13:15  robe
+
+	* 
+
+2010-10-08 13:14  robe
+
+	* more corrections
+
+2010-10-08 13:00  robe
+
+	* take out automatic build of raster_comments (until figure out
+	  what's wrong), fix some logic in gardent test, take out
+	  ST_Transform until it stops crashing.
+
+2010-10-08 11:39  robe
+
+	* logic to build raster_comments postgresql help instructions --
+	  also replace postgis.refractions.net with www.postgis.org
+
+2010-10-08 11:31  robe
+
+	* rename to raster to be consistent with other files
+
+2010-10-07 15:55  robe
+
+	* Put in vacuum analyze crash test
+
+2010-10-06 20:23  pramsey
+
+	* Add nested geometry collection test.
+
+2010-10-06 20:11  pramsey
+
+	* Add extra comments.
+
+2010-10-06 19:32  pramsey
+
+	* Add extra tests, remove printf noise from run.
+
+2010-10-06 19:17  pramsey
+
+	* Add in WKB reader and associated test framework to build.
+
+2010-10-06 17:51  pramsey
+
+	* Fix a write-out-of-bounds error.
+
+2010-10-06 15:20  pramsey
+
+	* Finish first draft of WKB reader.
+
+2010-10-06 00:35  pramsey
+
+	* Clean out compile warnings.
+
+2010-10-05 23:33  pramsey
+
+	* Add WKB writing support for TIN, Triangle and PolyhedralSurface
+
+2010-10-05 23:32  pramsey
+
+	* Add WKB writing support for TIN, Triangle and PolyhedralSurface
+
+2010-10-05 22:49  pramsey
+
+	* Macroify the WKB type numbers and add the extended types for 3D
+	  objects.
+
+2010-10-03 19:57  pramsey
+
+	* Fix syntax error in ptarray_segmentize2d introduced in last
+	  commit
+
+2010-10-03 19:43  pramsey
+
+	* Ensure maxpoints is filled in appropriately
+
+2010-10-03 18:15  pramsey
+
+	* Remove lwin_wkb from build until it's complete
+
+2010-10-03 18:14  pramsey
+
+	* Continue with new WKB parser. Change signature of RHR "right hand
+	  rule" functions to "clockwise" to avoid misinterpretations of
+	  orientation rules.
+
+2010-10-03 01:39  robe
+
+	* typo
+
+2010-10-02 15:46  robe
+
+	* update PostgreSQL 9.0 that upgrading the driver works as well.
+
+2010-09-29 20:28  nicklas
+
+	* removing run-time sized array
+
+2010-09-27 15:20  robe
+
+	* copy Paul's changes to trunk
+
+2010-09-27 13:25  robe
+
+	* missing gtk dependency note
+
+2010-09-27 13:11  robe
+
+	* update install instructions to include install of raster and
+	  dependency on GDAL
+
+2010-09-27 12:59  jorgearevalo
+
+	* liblwgeom/lex.yy.c replaced with previous version
+
+2010-09-26 21:41  jorgearevalo
+
+	* README files updated with the new raster extension information.
+
+2010-09-26 21:21  jorgearevalo
+
+	* - Added raster extension to new 'raster' directory.
+	  - Modified PostGIS 'configure.ac' script to add support for new
+	  raster type (driven by '--with-raster' configure option.
+	  - Added raster build options to 'GNUMakefile' script.
+	  - PostGIS Python scripts moved to a 'python' subdirectory inside
+	  'raster/scripts' directory.
+	  - References to "WKT" deleted from source code.
+
+2010-09-24 18:41  pramsey
+
+	* Forward port regression fixes for pgSQL 9.0 support
+
+2010-09-24 12:53  robe
+
+	* move to enhanced from available
+
+2010-09-24 11:39  robe
+
+	* change all these polyhedral surface/tin to enhanced from
+	  available
+
+2010-09-24 11:00  robe
+
+	* Note change in behavior of ST_NumGeometries and add back changed
+	  section.
+
+2010-09-24 10:52  robe
+
+	* get rid of changed for now
+
+2010-09-24 10:38  robe
+
+	* mark all polyhedral preexisting functions as enhanced. minor
+	  correction to comments
+
+2010-09-24 10:34  robe
+
+	* we have too many new functions (those polyhedral things that
+	  should really be marked as enhancements) and we are going to have
+	  a lot of breaking changes. Revise what's new section to have a
+	  really new, enhanced, and behavior changed section
+
+2010-09-23 07:40  mleslie
+
+	* Reverting erroneous changes to pgui_read_connection.
+
+2010-09-22 23:45  mleslie
+
+	* Reverting the default geometry column name change. Got too
+	  excited... breathe deep...
+
+2010-09-22 22:30  pramsey
+
+	* Use 'the_geom' as geometry column when running regression tests
+	  to match the old regression fragments.
+
+2010-09-22 22:24  pramsey
+
+	* Remove compiler warnings in OS/X
+
+2010-09-22 17:30  robe
+
+	* ST_3DIntersects
+
+2010-09-22 17:22  robe
+
+	* fix some typos
+
+2010-09-22 17:15  robe
+
+	* ST_3DClosestPoint -- if only our wkt diagrammer could draw 3d
+	  geometries
+
+2010-09-22 05:34  mleslie
+
+	* Forcing table names to lower case when initially added.
+
+2010-09-21 23:22  mleslie
+
+	* Removing lingering references to the broken icon support.
+
+2010-09-21 23:12  mleslie
+
+	* Changing the default geometry name from 'the_geom' to 'geom'
+
+2010-09-21 23:11  mleslie
+
+	* Changing the default geometry name from 'the_geom' to 'geom'
+
+2010-09-21 03:36  mleslie
+
+	* Clearing some compile warnings and fixing the issue where the
+	  test connection button always reported success.
+
+2010-09-19 17:44  robe
+
+	* ditto
+
+2010-09-19 16:56  mcayland
+
+	* Fix #603: shp2pgsql: "-w" produces invalid WKT for MULTI*
+	  objects.
+
+2010-09-19 12:48  robe
+
+	* 1.5.2 release notes updated
+
+2010-09-19 12:22  mcayland
+
+	* Fix the comments-uninstall target so it now works correctly with
+	  the new PGXS code.
+
+2010-09-19 12:11  mcayland
+
+	* Fix #572: Password whitespace for Shape File to PostGIS Importer
+	  not supported. Fixed by adding a new function especially designed
+	  for escaping arguments for PQconnectdb strings, and plugging it
+	  into the GUI.
+	  
+	  Note this commit is different from the 1.5 branch version, since
+	  the escaping function is moved into a new common library as I can
+	  see it being required for the new pgsql2shp CLI in the not too
+	  distant future.
+
+2010-09-18 23:54  robe
+
+	* ditto
+
+2010-09-18 15:22  mcayland
+
+	* Fix #527: Log window in shp2pgsql-gui should always append text
+	  to bottom of window.
+
+2010-09-15 16:51  colivier
+
+	* Add Triangle support for ST_NPoints. Thanks again to Regina for
+	  this report. Related to #596
+
+2010-09-15 16:09  robe
+
+	* start documenting 3d measurement functions
+
+2010-09-15 16:01  robe
+
+	* another spot missing
+
+2010-09-15 15:15  robe
+
+	* forgot a spot
+
+2010-09-15 15:12  robe
+
+	* rename wktraster to raster
+
+2010-09-13 19:18  strk
+
+	* Drop references to topology geometry tables in DropTopology (see
+	  #586)
+
+2010-09-13 17:01  strk
+
+	* Add note about topology.sql expecting a postgis-enabled db
+
+2010-09-13 16:59  strk
+
+	* PostgreSQL 9 support : don't use reserved 'table' keyword (see
+	  #585)
+
+2010-09-13 13:45  robe
+
+	* more cleanup
+
+2010-09-13 13:01  robe
+
+	* minor changes
+
+2010-09-13 12:46  robe
+
+	* give up on complex S example and change to simpler L example
+
+2010-09-10 20:47  pramsey
+
+	* Add support file for shapefil update
+
+2010-09-10 20:47  pramsey
+
+	* Fix for #554, align internal shapelib with official shapelib
+
+2010-09-10 19:07  robe
+
+	* get rid of points in the lower concave hull as well, minor text
+	  cleanup
+
+2010-09-10 18:47  robe
+
+	* revert changes. Getting crud from other pictures in all pictures
+	  that follow
+
+2010-09-10 16:33  robe
+
+	* 
+
+2010-09-10 15:34  robe
+
+	* get rid of points too cluttered
+
+2010-09-10 15:25  robe
+
+	* put back example -- some minor clean up
+
+2010-09-10 15:25  pramsey
+
+	* Bring forward fix from #513
+
+2010-09-10 15:20  colivier
+
+	* Apply patch from mwtoews. On postgresql_min_version entity in
+	  doc. Related to #539
+
+2010-09-10 15:14  pramsey
+
+	* Fix for #532, Temporary table geography columns appear in other's
+	  sessions
+
+2010-09-10 14:53  robe
+
+	* 
+
+2010-09-10 14:47  robe
+
+	* give up for now
+
+2010-09-10 14:44  robe
+
+	* move holes to geometrycollection
+
+2010-09-10 14:35  robe
+
+	* get rid of some holes
+
+2010-09-10 14:25  colivier
+
+	* Fix wrong name in function definition
+
+2010-09-10 14:18  robe
+
+	* 
+
+2010-09-10 14:17  robe
+
+	* 
+
+2010-09-10 14:13  robe
+
+	* alright just going to increase allocated line size
+
+2010-09-10 14:08  robe
+
+	* 
+
+2010-09-10 14:06  colivier
+
+	* Fix TGEOM wrong size allocation. Tks to Paul for report
+
+2010-09-10 14:03  robe
+
+	* break into several more multipoints -- parser has limit (need to
+	  fix parser later)
+
+2010-09-10 13:59  robe
+
+	* break multipoint
+
+2010-09-10 13:51  robe
+
+	* 
+
+2010-09-10 13:49  robe
+
+	* 
+
+2010-09-10 13:37  robe
+
+	* 
+
+2010-09-10 13:35  robe
+
+	* 
+
+2010-09-10 13:29  robe
+
+	* concavehull can't reset input params in 8.3, fix document example
+
+2010-09-10 13:15  robe
+
+	* cleanup
+
+2010-09-10 13:00  robe
+
+	* Faster and more robust and accurate concave hull with Simon's S
+	  shape example test
+
+2010-09-10 12:58  mcayland
+
+	* Fix #458: postgis_comments being installed in contrib instead of
+	  version folder (this is a little bit of a hack since we can't
+	  merge PGXS into the main Makefile directly, but it works).
+
+2010-09-10 08:50  mcayland
+
+	* Fix #581: LWGEOM_expand produces inconsistent results. Change the
+	  bounding box calculation routines in ptarray.c so that they
+	  perform the entire calculation in double precision then convert
+	  the final result to BOX2DFLOAT4. This prevents rounding errors
+	  being introduced into the bounding box when each input result is
+	  converted to BOX2DFLOAT4 in turn.
+
+2010-09-07 21:59  strk
+
+	* concave hull is currently supported
+
+2010-09-07 21:34  robe
+
+	* availability note for st_concavehull
+
+2010-09-07 09:45  mcayland
+
+	* Fix incorrect status return code from projFileCreate.
+
+2010-09-07 09:30  colivier
+
+	* minor changes on comment
+
+2010-09-06 21:52  mcayland
+
+	* Fix ShpDumperCloseTable so that it now passes back any errors
+	  that may occur during projFileCreate.
+
+2010-09-06 21:49  mcayland
+
+	* Fix the mixed-type geometry column detection routines so that
+	  they allow just MULTI/non-MULTI versions of the same basic
+	  geometry type within a column. Per report from Denis Rykov.
+
+2010-09-06 21:07  robe
+
+	* minor corrections
+
+2010-09-06 21:00  robe
+
+	* fix typo
+
+2010-09-06 20:55  robe
+
+	* slightly more robust concave hull and update with links to our
+	  test real world cases.
+
+2010-09-06 12:53  colivier
+
+	* Add TRIANGLE, TIN and PolyhedralSurface support to Perimeter, and
+	  relevant cunit tests (cf #568). Add TRIANGLE Area support (and so
+	  to TIN).
+
+2010-09-06 09:40  colivier
+
+	* Add TRIANGLE support for GeometryN. Fix #574. Thanks to Regina
+	  for report
+
+2010-09-06 08:16  robe
+
+	* more cleanup of bios. Get rid of WKT and just called it Raster
+	  since in PostGIS 2.0, we will eventually drop the WKT from the
+	  name
+
+2010-09-05 17:01  colivier
+
+	* Revert changes on PointN and Numpoints to remove TRIANGLE
+	  support. Add ExteriorRing support to TRIANGLE. Changes DumpPoint
+	  behaviour to reflect exteriorRing. Update unit tests
+
+2010-09-05 16:42  colivier
+
+	* make astyle
+
+2010-09-05 15:25  colivier
+
+	* Use TGEOM struct to compute POLYHEDRALSURFACE and TIN dimension.
+	  Add relevant cunit tests. Few astyle improve
+
+2010-09-03 16:14  robe
+
+	* add additional proto for creating holed polygons -- example later
+
+2010-09-03 15:37  robe
+
+	* 
+
+2010-09-03 15:35  robe
+
+	* 
+
+2010-09-03 15:13  robe
+
+	* 
+
+2010-09-03 15:08  robe
+
+	* typo
+
+2010-09-03 15:06  robe
+
+	* ST_ConcaveHull mark as new, reduce precision of point examples so
+	  passes thru wkt image generator
+
+2010-09-03 14:48  robe
+
+	* Example of ST_ConcaveHull against point set
+
+2010-09-03 13:58  robe
+
+	* 
+
+2010-09-03 13:52  robe
+
+	* try again
+
+2010-09-03 13:47  robe
+
+	* snap points to grid
+
+2010-09-03 13:42  robe
+
+	* take out last example for now
+
+2010-09-03 13:39  robe
+
+	* Will assume my concave hull with the over 1100 points polygon
+	  slaughtered the wkt processor
+
+2010-09-03 13:23  robe
+
+	* First draft of ST_ConcaveHull -- more to come
+
+2010-09-03 12:31  strk
+
+	* Make edge-edge relations clearer. Thanks to Peter Hopfgartner and
+	  to
+	  Xfig developers for the wonderful experience of patching a
+	  diagram ! :)
+
+2010-09-01 23:44  mcayland
+
+	* Fix pgsql2shp so that it correctly returns an exit code of 1
+	  (fail) in the case where either a user query returns no rows, or
+	  the specified table is empty.
+
+2010-09-01 23:23  mcayland
+
+	* Revert r5888 - the real bug is that the error message handling in
+	  place should already catch this condition but doesn't.
+
+2010-09-01 20:14  nicklas
+
+	* Fixed some build warnings I had missed
+
+2010-09-01 19:55  nicklas
+
+	* 3D Distance functions, only point-point and point line. #576
+
+2010-09-01 17:40  mcayland
+
+	* Alter the pgsql2shp CLI program so that it returns a new exit
+	  code of 2 to indicate "success, but 0 records processed". This
+	  could happen if a user-defined query doesn't return any results,
+	  or the source table happens to be empty. By setting a separate
+	  exit code, we allow scripts to determine whether or not the
+	  output shapefile contains any (useful) data.
+
+2010-09-01 12:50  robe
+
+	* missed a spot
+
+2010-09-01 12:48  robe
+
+	* update with 1.5.2, 1.5.1 changes and also TIN/Polyhedral for
+	  2.0.0
+
+2010-09-01 05:56  robe
+
+	* update credits
+
+2010-09-01 05:51  robe
+
+	* update release notes to include 1.5.2 (uppcoming) and 1.5.1 and
+	  corrections to 1.5.0
+
+2010-08-31 19:14  colivier
+
+	* Fix wrong pointer allocation size, with 64 bits errors. Tks to
+	  Mateusz for report. Improve cu_unit report. Improve and fix some
+	  messages from LWDEBUG
+
+2010-08-31 18:01  nicklas
+
+	* remove strict on st_equals as discussed in #536
+
+2010-08-30 09:06  colivier
+
+	* Astyle on new files
+
+2010-08-30 06:49  colivier
+
+	* Add Topology structure for connected surfaces (PolyhedralSurface,
+	  Tin) and LWGEOM to TGEOM transformations routines. Add related
+	  cunit tests. Merge cu_tin and cu_polyhedralsurface into a single
+	  cu_surface unit test.
+
+2010-08-30 06:47  colivier
+
+	* Improve comments
+
+2010-08-30 06:45  colivier
+
+	* add Triangle support in lwgeom_getnumgeometries
+
+2010-08-28 09:21  mcayland
+
+	* Fix uninitialised gidfound variable which would sometimes cause
+	  pgsql2shp to fail if a gid column was not present on a database
+	  table.
+
+2010-08-28 09:16  mcayland
+
+	* Set svn:keywords property so that the version number is updated
+	  correctly on checkout.
+
+2010-08-24 12:42  robe
+
+	* more visually appealing example
+
+2010-08-24 11:37  robe
+
+	* another st_split example
+
+2010-08-23 14:12  strk
+
+	* Add 3 more postgis objects to skip from dumps
+
+2010-08-23 13:08  robe
+
+	* fix pixel types list to agree with Mat's changes to raster rfc
+
+2010-08-21 21:20  robe
+
+	* Fix dead link -- Jorge changed his link for Oracle raster / wkt
+	  raster compare
+
+2010-08-20 22:38  pramsey
+
+	* Add unfinished WKB input parser for later.
+
+2010-08-20 16:40  pramsey
+
+	* Synch up to 1.5 version
+
+2010-08-20 13:14  robe
+
+	* some fluff from the example I copied from didn't mean to put in.
+
+2010-08-20 12:50  robe
+
+	* Example for ST_Split
+
+2010-08-19 19:50  pramsey
+
+	* Slight improvement for #573
+
+2010-08-19 12:28  robe
+
+	* more tin and ps. Note about change in st_asbinary in 9.0
+
+2010-08-18 18:48  robe
+
+	* mark more TIN compatible functions. revise template slightly
+
+2010-08-18 14:22  robe
+
+	* Flag more TIN support
+
+2010-08-18 11:19  colivier
+
+	* Add lwtype_name to report more user friendly error message. Cf
+	  #570
+
+2010-08-18 08:02  colivier
+
+	* Put TYPE_GETTYPE before his possible debug use...
+
+2010-08-18 08:01  colivier
+
+	* Fix for #573, where has_arc check with unsupported
+	  TRIANGLE/TIN/POLYHEDRALSURFACE produce crash with POSTGIS2GEOS
+	  function. Thanks to Regina for bug report !
+
+2010-08-17 20:10  pramsey
+
+	* Return the, er, return value.
+
+2010-08-17 18:24  colivier
+
+	* Add TRIANGLE support to ST_Affine function. Thanks to Regina for
+	  detailled bug report. Cf #571
+
+2010-08-17 15:21  robe
+
+	* revise slightly for true collection for polysurface.
+
+2010-08-17 07:48  robe
+
+	* Add examples of EWKB/EWKT for TIN, TRIANGLE, and MULTICURVE
+
+2010-08-17 07:24  robe
+
+	* mark ST_Dump as TIN supporting, update peoples bios. Add Maxime
+	  van Noppen (aka yabo) to contributors list (ST_DumpPoints and
+	  ST_Collect support)
+
+2010-08-16 15:09  robe
+
+	* Add matrix column for TIN/Triangles. Add TINA dn triangles to
+	  garden tests
+
+2010-08-16 14:19  robe
+
+	* Mark ST_Dumpoints as supporting Polyhedral, triangles, and TINS.
+	  Example of these. Revise add a marker in template and postgis.xml
+	  for Triangles and TINS.
+
+2010-08-16 07:59  mleslie
+
+	* Changing the ID keyword to Id, so it will actually get picked up.
+
+2010-08-16 07:58  mleslie
+
+	* Setting svn:keywords so the headers make sense.
+
+2010-08-16 07:49  mleslie
+
+	* Adding copywrite header to the structure files.
+
+2010-08-16 07:49  mleslie
+
+	* Removing a Makefile that shouldn't have been committed.
+
+2010-08-15 18:54  colivier
+
+	* Add St_NumPoints and ST_PointN support for Triangle. Add
+	  ST_DumpPoints support for Triangle, Tin and Polyhedral Surface,
+	  and related unit tests. Tks to yabo for patch. Related to #564
+
+2010-08-15 18:51  colivier
+
+	* Add forgotten Triangle support in lwgeom_inspect
+
+2010-08-15 14:20  mcayland
+
+	* Commit initial version of reworked pgsql2shp architecture that
+	  defines a common API within pgsql2shp-core that can be called
+	  from both the existing CLI and in the future a GUI interface.
+	  
+	  This commit also includes a very comprehensive reworking of the
+	  old pgsql2shp code designed to make things better commented and
+	  maintainable in the long term, so please use on as many PostGIS
+	  tables as possible during testing.
+	  
+	  This work was primarily sponsored by OpenGeo (http://opengeo.org)
+	  - thanks guys!
+
+2010-08-15 13:57  colivier
+
+	* Add Tin and Triangle support for ST_GeomFromGML. Add related unit
+	  tests
+
+2010-08-15 13:56  colivier
+
+	* Fix error in lwgeom_recursive2d for Triangle type
+
+2010-08-15 08:30  colivier
+
+	* Astyle session on whole trunk
+
+2010-08-14 10:57  mcayland
+
+	* Fix a memory leak in all of the MULTI* deserialize routines -
+	  once the relevant information had been copied from the
+	  LWGEOM_INSPECTED structure, the inspected structure itself was
+	  not being freed.
+
+2010-08-13 17:30  colivier
+
+	* Few lwtype_name add
+
+2010-08-13 17:29  colivier
+
+	* Add Triangle and TIN new geometry type. Add Cunit tests on parse
+	  stage, related to #561. Add ST_AsGML support TIN and Triangle for
+	  GML 3. Slightly cast change in PolyhedralSurface LWGEOM struct
+	  Remove PolyhedralSurface support from forceRHR function as
+	  orientation is meaningfull in PS. Move is_closed functions from
+	  PostGIS to LWGEOM dir and related cunit test case on line and
+	  curves.
+
+2010-08-13 15:26  robe
+
+	* ST_AsGML polyhedral support
+
+2010-08-13 15:15  robe
+
+	* st_isclosed polyhedral surface
+
+2010-08-12 15:40  robe
+
+	* more. Change polyhedralsurface example to valid srid so don't get
+	  false errors
+
+2010-08-12 14:58  robe
+
+	* Affine family polyhedral
+
+2010-08-12 14:52  robe
+
+	* Polyhedral findings based on monkey testing -- more to come
+
+2010-08-12 12:39  robe
+
+	* missing SELECT
+
+2010-08-11 19:20  robe
+
+	* more logging
+
+2010-08-11 18:41  robe
+
+	* start logging start and stop times to logging table
+	  postgis_garden_log. Still needs some fine tuning
+
+2010-08-11 13:42  robe
+
+	* ST_GeomFromGML example for Polyhedral surface
+
+2010-08-11 12:15  robe
+
+	* I think Mark committed this file by accident
+
+2010-08-11 09:50  mleslie
+
+	* Pushing the shp2pgsql-gui changes (multi-file, validation,
+	  drag-n-drop) pulled from stable branch into trunk.
+
+2010-08-11 09:24  nicklas
+
+	* pushing *uchar use out of measures.c as part of #308
+
+2010-08-10 19:43  pramsey
+
+	* Add in fix for #562, forward ported from 1.5 branch
+	  (point-in-poly failure for large large geography polygons)
+
+2010-08-10 16:19  colivier
+
+	* Add POLYHEDRALSURFACE support to ST_AsGML for GML 3 output
+
+2010-08-09 18:56  robe
+
+	* Flag st_dimension supports polyhedral and no longer throws
+	  exception for empty geoms
+
+2010-08-09 15:40  robe
+
+	* ST_GeometryN polyhedral support
+
+2010-08-09 14:22  robe
+
+	* mark some more functions support polyhedral surface
+
+2010-08-09 13:53  robe
+
+	* appendments about Polyhedral surface support
+
+2010-08-08 22:20  strk
+
+	* Drop spurious empty line
+
+2010-08-08 22:20  strk
+
+	* 'pushd' is not guaranteed to be provided by all shells (Ubuntu
+	  8.10 has /bin/sh point to dash(1) which doesn't provide it)
+
+2010-08-08 20:41  colivier
+
+	* Add function aliases for ST_NumPatches and ST_PatchN (both SFS
+	  1.2 and SQL/MM). Add PolyhedralSurface for ST_IsClosed (surface
+	  vs volume). Update ST_Dimension support to be consistent. Add
+	  unit tests.
+
+2010-08-08 20:36  colivier
+
+	* Improve printLWPSURFACE to also print each rings if any
+
+2010-08-06 21:31  colivier
+
+	* lwtype_name session. cf #453
+
+2010-08-06 20:30  colivier
+
+	* Typo in error message
+
+2010-08-06 20:08  colivier
+
+	* Add PolyhedralSurface support to ST_GeomFromGML. Add related unit
+	  tests. related to #430
+
+2010-08-06 20:07  colivier
+
+	* Add PolyhedralSurface support to force_* functions
+
+2010-08-06 16:17  robe
+
+	* flag more ps functions
+
+2010-08-06 15:50  robe
+
+	* typo in entity
+
+2010-08-06 15:42  robe
+
+	* typos
+
+2010-08-06 13:43  robe
+
+	* 
+
+2010-08-06 13:42  robe
+
+	* st_area polyhedral support
+
+2010-08-06 13:24  robe
+
+	* flagged wrong function - swap
+
+2010-08-06 13:22  robe
+
+	* flagged 1 too many functions as polyhedral supporting
+
+2010-08-06 13:03  robe
+
+	* forgot to increment column count
+
+2010-08-06 13:00  robe
+
+	* itemize some constructors supporting polyhedral surfaces
+
+2010-08-06 12:50  robe
+
+	* update template to include polyhedral, add a special section
+	  listing just polyhedral support functions
+
+2010-08-06 12:42  robe
+
+	* Add polyhedral column and abbreviate the others so can easily fit
+	  new column. We should eventually have raster in there too.
+
+2010-08-06 12:22  robe
+
+	* Add polyhedral surface to code names and add ST_Dump as
+	  supporting polyhedral surfaces
+
+2010-08-05 19:43  colivier
+
+	* Add POLYHEDRALSURFACE support to AddGeometryColumn, GetType,
+	  ST_Dimension, ST_NumGeometries. Related to #555
+
+2010-08-05 15:58  colivier
+
+	* Change label 'face' to 'patch' in POLYHEDRALSURFACE. Related to
+	  #427
+
+2010-08-04 20:02  colivier
+
+	* Add geography support for POLYHEDRALSURFACE. Related to #427
+
+2010-08-04 19:04  colivier
+
+	* Update some comments to add year to each ISO specs reference.
+	  Some beautify on code. Not a single change on code itself.
+
+2010-08-03 17:55  robe
+
+	* fix typo
+
+2010-08-03 14:19  robe
+
+	* minor corrections and addition about bytea output behavior in 9.0
+
+2010-08-02 16:02  robe
+
+	* Add polyhedralsurface to ewkt example forms
+
+2010-08-02 15:59  robe
+
+	* Add polyhedral surface to garden geometry set
+
+2010-08-01 21:11  colivier
+
+	* Add 2D and 3DM support to POLYHEDRALSURFACE. Allow interior rings
+	  for patches. Don't check anymore minimum patch number. Related to
+	  #427
+
+2010-07-29 13:44  nicklas
+
+	* ugly style fix
+
+2010-07-29 13:36  nicklas
+
+	* param.h is needed for ENDIAN definitions in mingw
+
+2010-07-28 04:30  robe
+
+	* amend docs to talk about standard_conforming_strings and change
+	  in 9.0
+
+2010-07-27 18:22  robe
+
+	* ST_SetValue
+
+2010-07-25 21:20  colivier
+
+	* Add really basic POLYHEDRALSURFACE support. Parse, Unparse,
+	  Serialization and cunit unit tests. related to #427
+
+2010-07-24 10:55  colivier
+
+	* Remove Integer deprecaded types (POINTTYPEI, LINETYPEI,
+	  POLYGONTYPEI) and lwgi related stuff. As a consequence EWKB of
+	  CURVEPOLYTYPE, MULTICURVETYPE and MULTISURFACETYPE is
+	  changed/impacted (geometry type bits). Now we have 3 new free
+	  geometry type available. Preliminary work to #427
+
+2010-07-23 14:55  robe
+
+	* Polish up Raster FAQ a bit more
+
+2010-07-23 14:16  robe
+
+	* document raster2coord family of functions
+
+2010-07-22 12:26  robe
+
+	* Add Jorge's discussion on Oracle GeoRaster to FAQ
+
+2010-07-22 10:50  robe
+
+	* Update to include link to MacOSX binaries. Also put in the reason
+	  for rtpostgis not loading (our fault but...)
+
+2010-07-09 16:59  robe
+
+	* ST_PixelAsPolygon
+
+2010-07-09 14:55  robe
+
+	* additional note link to ST_BandPixelType in case people don't
+	  know what the codes mean
+
+2010-07-09 14:53  robe
+
+	* ST_RasterBandMetaData
+
+2010-07-07 21:52  strk
+
+	* Add 7.3+ CAST (wasn't needed up to 7.2, against which this
+	  topology implementation was coded)
+
+2010-07-07 14:23  robe
+
+	* get rid of obsolete note. Have to simplify example too since its
+	  not needed anymore -- oh well - will do later
+
+2010-07-07 14:20  robe
+
+	* typo missing end tag
+
+2010-07-07 14:18  robe
+
+	* new protos for st_value (the point geometry versions -- yeh) plus
+	  examples
+
+2010-07-07 13:59  robe
+
+	* st_metadata
+
+2010-07-07 13:50  robe
+
+	* other missing protos of existing defined
+
+2010-07-07 13:44  robe
+
+	* missed spot
+
+2010-07-07 13:43  robe
+
+	* ad missing proto for bandnodatavalue
+
+2010-07-06 08:28  strk
+
+	* Document ST_isCollection (see #549)
+
+2010-07-06 08:28  strk
+
+	* Remove spurious element (was hiding behind a fill)
+
+2010-07-04 16:34  pramsey
+
+	* Add in micro commit to see if email hook is running
+
+2010-07-01 13:20  strk
+
+	* Add ST_isCollection (see ticket #549)
+
+2010-06-30 16:14  strk
+
+	* Do not source psqlrc when doing tests
+
+2010-06-30 16:10  strk
+
+	* More explicit cast from geometry to text (for quote_ident's sake)
+	  and an handling of unexistent topology. Tests run again with psql
+	  8.3.9
+
+2010-06-30 15:52  strk
+
+	* Define the cross-pgsql macros that used to be in sqldefines.h
+	  (now lost) + use st_union rather than geomunion (now lost)
+
+2010-06-30 15:51  strk
+
+	* Fix loading of postgis.sql
+
+2010-06-25 10:05  strk
+
+	* More exception handling to avoid leaks and give more info when it
+	  happens
+
+2010-06-25 09:30  strk
+
+	* Properly handle GEOS exceptions on cascaded union code (failing
+	  since introduction of postponed exception for cleaning geoms)
+
+2010-06-25 07:46  robe
+
+	* #536 get rid of strict on ST_Intersects, ST_CoveredBy and
+	  ST_Covers because spatial index doesn't work with strict on (and
+	  text,text ST_DWithin)
+
+2010-06-25 07:41  strk
+
+	* Test splitting 3d line by 2d blade
+
+2010-06-24 13:26  robe
+
+	* minor corrections
+
+2010-06-24 13:22  robe
+
+	* Add another FAQ
+
+2010-06-24 12:02  robe
+
+	* fix some data type typos
+
+2010-06-23 17:56  robe
+
+	* typo in data type
+
+2010-06-23 16:53  robe
+
+	* ST_Intersection and minor changes for setof to distinquish from
+	  array types
+
+2010-06-23 16:27  robe
+
+	* fix typo
+
+2010-06-23 14:36  robe
+
+	* Document ST_Intersects
+
+2010-06-23 14:18  robe
+
+	* document ST_Polygon
+
+2010-06-23 13:51  robe
+
+	* Add some faqs from the wkt raster wiki. A lot I left out for now
+	  because they are too wordy.
+
+2010-06-03 19:10  pramsey
+
+	* Remove crash when dbf file is missing / unloadable
+
+2010-06-01 19:59  pramsey
+
+	* Fix sense of the dbf/date test.
+
+2010-06-01 19:58  pramsey
+
+	* Accept "0" as a null value for Date types.
+
+2010-05-27 14:03  pramsey
+
+	* Remember to close the iconv handle
+
+2010-05-27 14:02  pramsey
+
+	* Make use of iconvctl conditional on it existing
+
+2010-05-27 13:40  pramsey
+
+	* Remove unused variable
+
+2010-05-27 13:19  pramsey
+
+	* Fix utf8 to return *something* when it can, so that something can
+	  be reported in
+	  the error string.
+
+2010-05-26 17:26  pramsey
+
+	* Change default back to UTF8 and improve error message on failure.
+
+2010-05-26 16:26  pramsey
+
+	* Read configuration info from environment, if it's there.
+
+2010-05-26 16:02  pramsey
+
+	* Only update the progress bar once every N records, where N is
+	  determined by the number of records in the file.
+
+2010-05-25 18:44  pramsey
+
+	* Back off from Win32 encoding to more generic ISO8859-1
+
+2010-05-22 15:41  strk
+
+	* Add note about the truncated multibyte enhancement (as the issue
+	  came out on IRC for another dataset)
+
+2010-05-20 04:20  robe
+
+	* minor formatting on ST_Covers
+
+2010-05-19 15:22  robe
+
+	* link to ST_MakePointM from ST_MakePoint
+
+2010-05-19 15:17  robe
+
+	* geography example for st_covers
+
+2010-05-18 17:43  pramsey
+
+	* Remove crash for case when all geographies are on the outer edges
+	  of the histobox, causing all to be classified as "deviants" by
+	  the stdev code line (#474)
+
+2010-05-17 23:38  pramsey
+
+	* Rename vasbappend to stringbuffer_aprintf
+
+2010-05-17 23:33  pramsey
+
+	* Allow GUI to create partial connection strings.
+
+2010-05-13 08:39  strk
+
+	* Fix memory error in ST_Split (short allocation)
+
+2010-05-04 21:21  strk
+
+	* Add ST_MakeValid item
+
+2010-05-04 21:19  strk
+
+	* Oops, was using GEOS types instead of LWGEOM ones..
+
+2010-05-04 17:18  robe
+
+	* fix formatting
+
+2010-05-04 17:17  robe
+
+	* Provide at least one example of ST_GeogFromText
+
+2010-05-04 15:36  robe
+
+	* fix some faqs I got wrong, break out some long faqs. Add Tamas
+	  nightly build to list for latest and greatest windows GDAL
+	  binaries
+
+2010-05-04 03:50  robe
+
+	* Break out raster band editor functions into separate section
+
+2010-05-03 20:01  robe
+
+	* link ref
+
+2010-05-03 19:59  robe
+
+	* requested changes from #514
+
+2010-05-03 16:35  strk
+
+	* ST_MakeValid: Early fail if an unsupported type is given
+
+2010-05-03 16:24  strk
+
+	* Document ST_MakeValid
+
+2010-05-03 16:02  strk
+
+	* Add a 'staged-install' rule, helpful when you want to run a
+	  single test after changing the core lib ...
+
+2010-05-03 15:59  strk
+
+	* ST_MakeValid: don't choke on MULTILINESTRING containing invalid
+	  LINESTRING elements
+
+2010-05-03 12:11  strk
+
+	* Merge SRID-retainment tests with some of the other tests
+
+2010-05-03 11:31  strk
+
+	* Do not drop polygon boundaries collapsed to points
+
+2010-05-03 03:26  robe
+
+	* Link to helper function built using ST_Value
+
+2010-05-03 03:11  robe
+
+	* Get rid of still under development for ST_DumpAsPolygons. Seems
+	  to be working fairly well now.
+
+2010-04-30 19:17  robe
+
+	* move bandnodatavalue to raster band section
+
+2010-04-30 18:34  robe
+
+	* slight correction
+
+2010-04-30 18:34  robe
+
+	* document build date and lib version maintenance functions
+
+2010-04-30 18:25  robe
+
+	* document more functions -- start breaking out raster band
+	  functions from raster functions
+
+2010-04-30 16:17  robe
+
+	* example for ST_DumpAsPolygons
+
+2010-04-27 15:26  colivier
+
+	* Add new option to ST_AsGML: ability to remove srsDimension
+	  attribute in GML 3. cf #508
+
+2010-04-27 13:58  colivier
+
+	* Fix wrong OGC URN in GeoJson and GML output. Cf #507
+
+2010-04-20 04:18  robe
+
+	* Add another example to st_value demonstrating sampling and fix
+	  other example
+
+2010-04-19 03:07  robe
+
+	* document ST_SetBandHasNoDataValue
+
+2010-04-18 12:13  strk
+
+	* Escape fields named xmin (xmax was already escaped). See issue
+	  #504.
+
+2010-04-17 21:25  strk
+
+	* Fix documentation for ST_Split (so postgis_comments.sql is
+	  correct)
+
+2010-04-17 11:06  strk
+
+	* Plug a couple of memory leaks
+
+2010-04-17 08:26  strk
+
+	* Fix crash on invalid polygon rings conversion to geos
+
+2010-04-17 01:53  robe
+
+	* fix typos and add more links
+
+2010-04-17 00:57  robe
+
+	* ST_SkewX, ST_SkewY, ST_SetSkew
+
+2010-04-17 00:13  robe
+
+	* typo in return description of ST_MakeEmptyRaster
+
+2010-04-14 17:42  robe
+
+	* fix typos
+
+2010-04-14 14:56  robe
+
+	* more gdal_translate examples
+
+2010-04-14 14:48  robe
+
+	* another example of gdal_translate
+
+2010-04-14 14:09  robe
+
+	* Example of AddRasterColumn
+
+2010-04-14 13:16  robe
+
+	* Fix typo
+
+2010-04-14 12:52  robe
+
+	* Provide yet more common use case examples of ST_Value
+
+2010-04-14 11:48  robe
+
+	* try to get rid of really long lines
+
+2010-04-14 11:40  robe
+
+	* Document how to define a raster layer in Mapserver
+
+2010-04-13 06:08  robe
+
+	* Give faq an id for easier pretty bookmarking
+
+2010-04-13 04:38  robe
+
+	* 
+
+2010-04-13 04:37  robe
+
+	* forgot paragraph mark
+
+2010-04-13 04:35  robe
+
+	* more elaboration of the important Can I export my raster data FAQ
+
+2010-04-12 21:11  robe
+
+	* typo fix
+
+2010-04-12 20:58  robe
+
+	* Add quickie faq about exporting raster data from PostGIS
+
+2010-04-12 08:48  colivier
+
+	* Add optional namespace to ST_AsKML function. related in a way to
+	  #460
+
+2010-04-12 04:44  robe
+
+	* minor additions
+
+2010-04-11 23:21  robe
+
+	* start documenting ST_DumpAsPolygons. Will provide examples once
+	  get it to stop crashing on me.
+
+2010-04-11 23:03  robe
+
+	* fix tag typo
+
+2010-04-11 22:52  robe
+
+	* mistated something. Correct constraint description of
+	  addrastercolumn
+
+2010-04-11 22:45  robe
+
+	* Add management functions section
+
+2010-04-10 15:32  robe
+
+	* minor change
+
+2010-04-10 03:39  robe
+
+	* title change
+
+2010-04-10 02:48  robe
+
+	* start itemizing operators
+
+2010-04-10 01:42  robe
+
+	* document st_setgeoreference
+
+2010-04-09 16:24  robe
+
+	* Add ST_SetUpperLeft
+
+2010-04-07 21:45  robe
+
+	* 
+
+2010-04-07 19:22  robe
+
+	* fix reference typo
+
+2010-04-07 17:25  robe
+
+	* forgot to add faq_wktraster item
+
+2010-04-07 16:54  robe
+
+	* First draft of wktraster faq
+
+2010-04-07 14:35  robe
+
+	* conver to 1 column 2 row table
+
+2010-04-07 14:15  robe
+
+	* typo
+
+2010-04-07 14:06  robe
+
+	* correct typo
+
+2010-04-07 14:05  robe
+
+	* Put link to spec for a diagrammatic view.
+
+2010-04-07 13:59  robe
+
+	* first draft of ST_ConvexHull -- still need to put in pictures
+
+2010-04-06 23:37  pramsey
+
+	* Add support for command-q shutdown in Mac GTK build
+
+2010-04-06 18:33  strk
+
+	* WARN and continue on incomplete multibyte sequence
+
+2010-04-05 21:38  robe
+
+	* slight correction
+
+2010-04-05 21:32  robe
+
+	* itemize band pixel types and fix some formatting issues
+
+2010-04-05 15:17  robe
+
+	* more blurb in description
+
+2010-04-05 15:16  robe
+
+	* xsl to build postgresql help for wktraster
+
+2010-04-05 14:12  robe
+
+	* Start adding editors, give an additional better example of
+	  ST_Value
+
+2010-04-05 07:28  robe
+
+	* upper left x and y
+
+2010-04-05 05:59  robe
+
+	* example for st_value
+
+2010-04-05 05:55  robe
+
+	* typo in constructor section
+
+2010-04-05 05:52  robe
+
+	* st_box2d, st_envelope (note regular Postgis changed st_box2d to
+	  just box2d old st_box2d is deprecated)
+
+2010-04-05 05:25  robe
+
+	* more typos fixed, add constructor section
+
+2010-04-05 04:59  robe
+
+	* Fix typo
+
+2010-04-05 04:30  robe
+
+	* more functions documented
+
+2010-04-05 02:28  robe
+
+	* more accessors
+
+2010-04-05 01:32  robe
+
+	* more changes
+
+2010-04-05 01:05  robe
+
+	* First start at integrating wktraster documentation -- hopefully
+	  didn't break anything doing this.
+
+2010-03-31 15:34  strk
+
+	* Do not hard-code default encoding (since it's a macro)
+
+2010-03-31 14:50  strk
+
+	* Dump more informations about failing decoding
+
+2010-03-30 12:32  colivier
+
+	* Add geography support to ST_AsGML with prefix namespace option.
+	  Update doc and unit tests. cf #460
+
+2010-03-30 12:29  colivier
+
+	* Remove old reference file
+
+2010-03-29 20:03  pramsey
+
+	* Fix syntax error.
+
+2010-03-29 20:02  pramsey
+
+	* Reorganize avprintf a litle.
+
+2010-03-29 19:57  pramsey
+
+	* Propogate vsnprintf errors up verbatim
+
+2010-03-28 08:33  colivier
+
+	* Fix a lot of DocBook errors. Use DocBook + MathML DTD. Fix
+	  xsl/postgis_aggs_mm.xml.xsl to produce valid Docbook. Now make
+	  check output in docs is clean. cf #471
+
+2010-03-27 17:50  colivier
+
+	* add make check rule in doc/Makefile. Use xmllint to check
+	  postgis.xml documentation against docbook dtd.
+
+2010-03-25 05:11  pramsey
+
+	* Make the default size more reasonable again.
+
+2010-03-25 05:09  pramsey
+
+	* Add comments on error return values.
+
+2010-03-25 05:06  pramsey
+
+	* Improved stringbuffer again. Always write directly into the
+	  buffer, no more memcpy'ing. Change return values for printing
+	  calls to int, so that print errors can be detected and handled by
+	  the layers above, if desired.
+
+2010-03-24 17:54  pramsey
+
+	* Restore original license terms.
+
+2010-03-23 19:35  strk
+
+	* Expose custom prefix arg for ST_asGML to SQL, add tests and dox
+
+2010-03-23 00:25  pramsey
+
+	* Fix for array aggregation error (#469)
+
+2010-03-22 21:13  strk
+
+	* Add support in liblwgeom for specifying a custom (or no)
+	  namespace/prefix for GML output
+
+2010-03-22 19:38  pramsey
+
+	* Convert all extern opt* variables to pgis_opt* variables to avoid
+	  clashes with system variables. (ug!)
+
+2010-03-17 08:27  strk
+
+	* Add test for GEOMETRYCOLLECTION and ST_Split
+
+2010-03-17 07:42  strk
+
+	* Add ST_Split
+
+2010-03-17 07:40  strk
+
+	* Don't choke on clean when there's nothing to clean
+
+2010-03-17 07:32  strk
+
+	* Fix 'clean' rule to descend in cunit
+
+2010-03-16 22:18  strk
+
+	* Add support for MULTI* in ST_Split
+
+2010-03-16 13:14  strk
+
+	* Document ST_Split
+
+2010-03-16 03:13  pramsey
+
+	* Some function renaming: lwgeom_typename => lwtype_name. The
+	  internal float/up/down functions get slightly better names. Make
+	  collection types re-sizable: added maxgeoms to all collections,
+	  and created lwcollection_add_lwgeom() function. Remove all *_add
+	  functions. Revized homogenize function to use the new _add_lwgeom
+	  and variants.
+
+2010-03-15 18:03  strk
+
+	* Rename ST_SplitGeometry to ST_Split (better now than never)
+
+2010-03-15 18:00  strk
+
+	* Implement split-poly-by-line
+
+2010-03-13 12:55  strk
+
+	* Reword exception message, make algorithm more robust not relying
+	  on constructive functions to detect relation between inputs
+
+2010-03-13 11:23  strk
+
+	* Fix printf call
+
+2010-03-13 11:16  strk
+
+	* Split-line-by-line: handle overlap cases by raising an exception
+
+2010-03-13 10:59  strk
+
+	* Implement split-line-by-line
+
+2010-03-13 09:22  strk
+
+	* Be polite
+
+2010-03-12 18:39  strk
+
+	* Fix memory errors in presence of NULL (0-verticed) geometries and
+	  insert (default) policy.
+
+2010-03-12 15:46  strk
+
+	* ptarray_substring *does* already implement interpolation
+
+2010-03-12 15:25  strk
+
+	* Drop extraneous task (if it referred to loader we do have a
+	  switch for index creation now)
+
+2010-03-12 15:15  strk
+
+	* Fix ST_DumpPoints not to relay on NULL return from
+	  ST_NumGeometries to tell multi and singles apart
+
+2010-03-12 15:14  strk
+
+	* Trigger reconstruction of regress' postgis.sql when original one
+	  changes
+
+2010-03-12 14:03  strk
+
+	* Add item about GeometryN/NumGeometries
+
+2010-03-12 13:50  strk
+
+	* Add support for simple geometries in ST_GeometryN and
+	  ST_NumGeometries
+
+2010-03-12 13:29  mcayland
+
+	* Fix the PGXS override code for detecting older versions of
+	  PostgreSQL - the existing (incomplete) check was still checking
+	  for a minimum version of 8.5, rather
+	  than the new version number of 9.0.
+
+2010-03-12 00:21  robe
+
+	* put in note about improvement to ST_Line_SubString #410
+
+2010-03-11 20:50  strk
+
+	* More comments cleanup
+
+2010-03-11 20:48  strk
+
+	* remove wrong comment
+
+2010-03-11 20:34  strk
+
+	* Set interface specs in stone within the implementation file, add
+	  a testcase to show what's "left" and what's "right" in the
+	  split-line-by-point
+
+2010-03-11 20:28  strk
+
+	* *always* return a collection from ST_SplitGeometry
+
+2010-03-11 20:19  strk
+
+	* Have ST_SplitGeometry return a collection of at most 2 elements
+	  (original part, cut-away part) so it's easier to handle by
+	  callers
+
+2010-03-11 17:53  strk
+
+	* Add SRID retainment testcase for removerepeatedpoint (paranoia)
+
+2010-03-11 17:51  strk
+
+	* Add SRID retainment testcases
+
+2010-03-11 17:21  strk
+
+	* Don't 'clean' the SRID...
+
+2010-03-11 14:34  pramsey
+
+	* Grammar fix.
+
+2010-03-10 15:38  pramsey
+
+	* Fix to allow compile on 9.0alpha
+
+2010-03-10 15:33  strk
+
+	* Initial work on ST_SplitGeometry. Split line by point
+	  implemented.
+
+2010-03-10 15:29  strk
+
+	* Since we do a full scan of pointarray from ptarray_locate_point,
+	  take the chance to also return min distance
+
+2010-03-10 14:32  strk
+
+	* Document closest_point_on_segment in header file
+
+2010-03-10 14:20  strk
+
+	* Document ptarray_locate_point in header file
+
+2010-03-10 10:07  strk
+
+	* Export geos error logger
+
+2010-03-09 00:37  pramsey
+
+	* Fix syntax error in spatial_ref_sys hard upgrade directions
+	  (#373)
+
+2010-03-09 00:31  pramsey
+
+	* Include 'geography_columns' defn when upgrading from <= 1.4
+	  (#414)
+
+2010-03-09 00:22  pramsey
+
+	* Quiet notices in the .sql install files (#415)
+
+2010-03-08 23:28  pramsey
+
+	* Update the bbox when you alter the underlying geometry (#410)
+	  ST_SetPoint, ST_Ad
+	  dPoint, ST_RemovePoint.
+
+2010-03-08 16:37  kneufeld
+
+	* updated broken link to utmzone PostGIS plpgsql helper function.
+	  bug #461
+
+2010-03-05 23:31  pramsey
+
+	* Note minimum required versions.
+
+2010-03-05 21:49  strk
+
+	* Fix typo
+
+2010-03-05 02:35  pramsey
+
+	* A few more WKB unit tests.
+
+2010-03-04 09:40  colivier
+
+	* Add ST_PointN xref in ST_SetPoint entry, from Bruno Friedmann
+	  report
+
+2010-03-03 06:10  pramsey
+
+	* Set keywords.
+
+2010-03-03 06:10  pramsey
+
+	* Set keywords and some copyright headers.
+
+2010-03-03 06:06  pramsey
+
+	* Add some tests of the old versus new WKB output.
+
+2010-03-03 06:06  pramsey
+
+	* Move spheroid test to the correct place.
+
+2010-03-03 05:40  pramsey
+
+	* Remove doxygen flags from static functions.
+
+2010-03-03 05:38  pramsey
+
+	* Add some documentation to the public functions.
+
+2010-03-03 01:15  pramsey
+
+	* Add in tests and fixes for WKB emitter.
+
+2010-03-02 23:18  pramsey
+
+	* Add first cut to lwgeom_to_wkb function.
+
+2010-03-02 23:16  pramsey
+
+	* Add a couple functions (length, copy) to stringbuffer, and add
+	  comments.
+
+2010-03-02 21:32  strk
+
+	* ST_MakeValid : turn collapsed lines into points [RT-SIGTA]
+
+2010-02-28 23:11  strk
+
+	* Node lineal geometries resulting invalid. Re-enable automated
+	  testcase for st_MakeValid [RT-SIGTA]
+
+2010-02-28 22:48  strk
+
+	* Don't use a collection when there's no area
+
+2010-02-28 22:24  strk
+
+	* Fix build with debugging on, fix bug when run against invalid
+	  linestrings
+
+2010-02-28 21:31  strk
+
+	* Add paranoid check to make super-sure no input vertices are
+	  dropped by ST_MakeValid [RT-SIGTA]
+
+2010-02-28 20:36  strk
+
+	* Put GEOS-only functionality of ST_MakeValid in its own function
+
+2010-02-28 19:24  strk
+
+	* Fix documentation to match current behaviour
+
+2010-02-28 19:09  strk
+
+	* Simplify code
+
+2010-02-28 19:04  strk
+
+	* Avoid a call to the GEOS CAPI when unnecessary (works around a
+	  bug in GEOS aborting in some cases of EMPTY polygons
+
+2010-02-28 17:20  strk
+
+	* Move ST_CleanGeometry core code into specialized 'lwgeom'
+	  function
+
+2010-02-28 17:11  strk
+
+	* cleanups
+
+2010-02-28 14:05  strk
+
+	* Put areal part first in collection, and collapsed edges second
+
+2010-02-26 15:05  colivier
+
+	* Add new 'make garden' rule to launch full Garden test regression
+	  tests
+
+2010-02-26 02:50  pramsey
+
+	* Instructions on adding new tests to cunit, from Jeff Adams.
+
+2010-02-26 00:16  colivier
+
+	* Add few more lwgeom_typename, and update regress test if needed.
+	  Restore initial lwnotice behaviour in remove_repeated_points on
+	  unknown types (instead of lwerror).
+
+2010-02-25 17:54  colivier
+
+	* Fix add forgotten return in flip_coordinates (cf #452). Add
+	  lwgeom_typename in several functions to avoid cryptic error
+	  message (#452 again).
+
+2010-02-25 15:13  pramsey
+
+	* Fix potential corner case in sphere area calculation (#451)
+
+2010-02-25 14:30  robe
+
+	* Put new functions in alphabetical order.
+
+2010-02-25 14:23  robe
+
+	* Put in What is new in 2.0 section to trap new 2.0 enhancements
+
+2010-02-25 14:11  colivier
+
+	* Add libxml2 requirement para. Fix #344. Thanks to Mateus for
+	  report.
+
+2010-02-25 13:41  pramsey
+
+	* Fix for st_area(geography) over the dateline (#450)
+
+2010-02-25 13:38  colivier
+
+	* rename ptarray_reverse_axis to ptarray_flip_coordinates. Add
+	  lwgeom_flip_coordinates and ST_FlipCoordinates (#354). Add
+	  relevant cunit tests and basic documentation.
+
+2010-02-25 13:30  strk
+
+	* Drop unused code, avoid putting empty geometry in a collection..
+	  [RT-SIGTA]
+
+2010-02-25 13:15  strk
+
+	* Recursively try to build area with portions of the original
+	  boundary not on the boundary of newly constructed area and
+	  symdifference the new area (if any) with the final polygon being
+	  built. This behaviour gives more chance to get a pure areal (not
+	  mixed) output still not missing vertices.
+
+2010-02-24 14:40  pramsey
+
+	* Change dimensionality indicators to have spaces between type
+	  indicators for WKT_ISO output form.
+
+2010-02-24 13:50  pramsey
+
+	* Add support from SRID= block on EWKT
+
+2010-02-23 22:18  pramsey
+
+	* Remove last compile warnings.
+
+2010-02-23 22:16  pramsey
+
+	* Making test methods static to avoid compiler warnings. For Jeff
+	  Adams.
+
+2010-02-23 22:14  pramsey
+
+	* Making test methods static to avoid compiler warnings.
+
+2010-02-23 22:11  pramsey
+
+	* Make test functions static.
+
+2010-02-23 22:07  pramsey
+
+	* Made unit tests easier to add. New suites now just need to be
+	  added to two lines in cu_tester.c, no changes to header files
+	  necessary, new tests need one line in the appropriate .c file.
+	  From Jeff Adams.
+
+2010-02-23 21:41  pramsey
+
+	* Remove unused va_copy.
+
+2010-02-23 21:41  pramsey
+
+	* Woops again, got work and start size values reversed.
+
+2010-02-23 21:30  pramsey
+
+	* Oops, commit stringbuffer.h with sensible values for internal
+	  sizes.
+
+2010-02-23 21:29  pramsey
+
+	* Improve performance and cut back stringbuffer_t to the minimum.
+
+2010-02-23 19:51  pramsey
+
+	* Allow cu_tester to accept parameters to run individual tests or
+	  suites, from Jeff Adams.
+
+2010-02-23 19:42  strk
+
+	* Don't let ST_RemoveRepeatedPoint collapse LINESTRINGs (not sure
+	  why, but someone doesn't want them in the db)
+
+2010-02-23 18:29  colivier
+
+	* Move ptarray reverse axis function from postgis/lwgeom_in_gml to
+	  liblwgeom/ptarray
+
+2010-02-23 18:18  pramsey
+
+	* More WKT tests.
+
+2010-02-23 17:55  pramsey
+
+	* More WKT unit tests
+
+2010-02-23 15:55  colivier
+
+	* In fact Nested GeometryCollection are never been supported in SVG
+	  and GeoJSON. Update the cunit tests cases
+
+2010-02-23 15:21  colivier
+
+	* Check astyle version prior to do anything. 'blessed' version is
+	  1.23. Related to #433 and postgis-devel discussions
+
+2010-02-23 14:52  colivier
+
+	* Fix 443. Move all regress export functions test files in a single
+	  one. add geography output regression tests (SVG/KML/GML/GeoJSON)
+
+2010-02-22 22:43  pramsey
+
+	* Add more unit tests for WKT
+
+2010-02-22 22:04  colivier
+
+	* Fix #441. And introduce a change in behaviour: if
+	  geometryCollection and bbox, not sub geoms bbox are provided
+	  anymore
+
+2010-02-22 20:58  strk
+
+	* Let ST_CleanGeometry down to C [RT-SIGTA]
+
+2010-02-22 20:45  strk
+
+	* Derive an lwgeom_make_valid from ST_MakeValid [RT-SIGTA]
+
+2010-02-22 20:42  pramsey
+
+	* ST_AsLatLonText(geometry, format) from Jeff Adams
+
+2010-02-22 20:29  strk
+
+	* Follow style guidelines for function naming
+
+2010-02-22 19:53  pramsey
+
+	* First cut of new WKT output functions, need more unit tests.
+
+2010-02-22 19:52  colivier
+
+	* Fix missing math.h include in lwout_svg (#438). Put back
+	  lwgeom_export.h as we need header for getSRSbySRID.
+
+2010-02-22 19:37  strk
+
+	* Oops (#434)
+
+2010-02-22 19:35  strk
+
+	* Fix warnings when building with GEOS < 3.3.0 (ticket #434
+
+2010-02-22 19:31  strk
+
+	* Fix missing prototypes warnings
+
+2010-02-22 19:31  colivier
+
+	* Id tag
+
+2010-02-22 19:16  colivier
+
+	* merge all export functions in a same file. remove useless old
+	  ones. rename SVG one to LWGEOM_asSVG for consistancy.
+
+2010-02-22 18:49  colivier
+
+	* Fix comment stuff in cunit
+
+2010-02-22 18:43  colivier
+
+	* move ST_AsSVG from postgis to lwgeom dir. write cun it tests.
+	  related to #377
+
+2010-02-22 15:37  colivier
+
+	* bbox only bother about external ring. add the related cunit test
+
+2010-02-22 15:30  pramsey
+
+	* Move stringbuffer from ./loader to ./liblwgeom for use in string
+	  emitter functions.
+
+2010-02-22 14:03  colivier
+
+	* Move ST_AsGeoJson from postgis to liblwgeom dir. Use as most as
+	  cunit test as possible. Related to #377.
+
+2010-02-21 22:34  strk
+
+	* Cleanup the GeometryClean function now that vertex checking is
+	  done better in ST_MakeValid
+
+2010-02-21 22:10  strk
+
+	* Force multi-type in output if input was multi [RT-SIGTA]
+
+2010-02-21 21:53  colivier
+
+	* Add missing MultiPoint test. Fix wrong LWGEOM type on cu_gml
+	  tests.
+
+2010-02-21 21:34  colivier
+
+	* add explicit void return type
+
+2010-02-21 21:11  strk
+
+	* Disable 'clean' test (still deciding on what's the expected
+	  output); keep only cut-lines that have vertices not shared with
+	  boundary of final area; move 'clean' code in separate file
+	  [RT-SIGTA].
+
+2010-02-21 20:32  colivier
+
+	* Move ST_AsKML from postgis to liblwgeom dir. Use as most cunit
+	  test as possible. Few related corrections on GML similar
+	  implementation. cf #377
+
+2010-02-21 18:23  colivier
+
+	* Add forgotten lwout_gml.c file (#377)
+
+2010-02-21 18:18  colivier
+
+	* Move ST_AsGML from postgis dir to liblwgeom. Rewrite most units
+	  test with cunit. cf #377
+
+2010-02-21 12:36  colivier
+
+	* make astyle session
+
+2010-02-21 12:22  strk
+
+	* ST_RemoveRepeatedPoints [RT-SIGTA]
+
+2010-02-21 12:21  strk
+
+	* style...
+
+2010-02-21 12:21  strk
+
+	* Make stylish
+
+2010-02-20 19:47  colivier
+
+	* use the rights homogenize cunit suite handlers
+
+2010-02-20 19:09  colivier
+
+	* Fix computed string length in Polygon with several rings for
+	  ST_AsGML with GML3. Related to #421
+
+2010-02-20 18:26  colivier
+
+	* Use lwgeom_homogenize in in_kml stuff. Related to #375
+
+2010-02-20 18:25  colivier
+
+	* Add lwgeom_homogenize function. Related to #375. Add cunit
+	  related tests
+
+2010-02-20 16:47  colivier
+
+	* Add Cunit - lwerror use case handle - #420
+
+2010-02-18 21:02  pramsey
+
+	* Add multilinestring support to st_line_substring (#419)
+
+2010-02-17 21:02  strk
+
+	* Allow retaining badly collapsed rings (single-point) as points in
+	  ST_MakeValid. Add testcase for it [RT-SIGTA]
+
+2010-02-16 23:27  kneufeld
+
+	* removed sfs_compliant note for ST_Transform
+
+2010-02-16 09:38  strk
+
+	* Return NULL rather than throwing when a COLLECTION is given to
+	  ST_Boundary [RT-SIGTA]
+
+2010-02-16 09:29  strk
+
+	* Fix build with --enable-debug=3 [RT-SIGTA]
+
+2010-02-16 09:08  strk
+
+	* Add origin field for the clean dataset table, so we can add
+	  PG-specific ones w/out caring about visualizing them:)
+
+2010-02-16 09:06  strk
+
+	* Add a test for input being invalid (a test of the test)
+
+2010-02-16 09:03  strk
+
+	* Separate areal-specific cleanups in LWGEOM_GEOS_makeValidPolygon
+	  [RT-SIGTA]
+
+2010-02-16 08:28  strk
+
+	* Empty geometries are cleanest [RT-SIGTA]
+
+2010-02-16 08:22  strk
+
+	* Drop the optional arg to ST_MakeClean, document what it does,
+	  improve the ST_CleanGeometry stub. [RT-SIGTA]
+
+2010-02-16 08:07  strk
+
+	* Drop the optional parameter to ST_MakeValid, we always want to
+	  collect collapses (users can always filter later) [RT-SIGTA].
+
+2010-02-16 08:03  strk
+
+	* Document ST_Dimension handling of empty geometries
+
+2010-02-16 07:54  strk
+
+	* Do not throw exception on empty ST_Dimension(empty) [RT-SIGTA]
+
+2010-02-15 22:41  strk
+
+	* Further cleanups in ST_MakeClean [RT-SIGTA]
+
+2010-02-15 22:31  strk
+
+	* Fix unsupported message
+
+2010-02-15 21:17  strk
+
+	* Plug more leaks
+
+2010-02-15 20:40  strk
+
+	* Plug memory leak on GEOS geom construction failure [RT-SIGTA]
+
+2010-02-15 20:21  strk
+
+	* Rework the regress test to make it easier for curious people to
+	  keep the test dataset for inspection with some GUI (give it a
+	  try, it's a nice one).
+
+2010-02-14 23:35  strk
+
+	* Clarify the case of linestring invalidity dropping confugins
+	  reference to linearrings
+
+2010-02-14 22:59  strk
+
+	* Implement ST_MakeValid(geom_in, collect_collapses) and stub
+	  ST_CleanGeometry. Add regression test for ST_MakeValid and
+	  polygons [RT-SIGTA]
+
+2010-02-14 16:54  strk
+
+	* Cleanups. Hope to reuse some structs for a C-version of
+	  ST_DumpPoints
+
+2010-02-14 16:33  strk
+
+	* Try to make st_DumpPoints reference somewhat clearer [RT-SIGTA]
+
+2010-02-14 13:46  strk
+
+	* ptarray_remove_repeated_points [RT-SIGTA]
+
+2010-02-13 15:29  strk
+
+	* Add another validity test [RT-SIGTA]
+
+2010-02-13 14:35  strk
+
+	* Handle NULL returns from POSTGIS2GEOS and LWGEOM2GEOS now that we
+	  allow that [RT-SIGTA].
+	  Add a 'commit' rule (give it a try)
+
+2010-02-12 23:04  strk
+
+	* Revert GEOS error handlers to be lwnotice to avoid aborting full
+	  transactions (like it was in 1.5)
+
+2010-02-11 23:12  strk
+
+	* Fix typo
+
+2010-02-11 21:01  strk
+
+	* Get style
+
+2010-02-11 18:56  strk
+
+	* Separate GEOS part of 'buildarea' function from POSTGIS part of
+	  it (might eventually be moved down to GEOS) [RT-SIGTA]
+
+2010-02-10 22:23  strk
+
+	* xref
+
+2010-02-10 20:54  strk
+
+	* Enhance documentation of ptarray_addPoint [RT-SIGTA]
+
+2010-02-09 22:36  strk
+
+	* Don't refuse to output invalid geometries trough a cursor, being
+	  consistent with other output routines (dumper ends up using
+	  these) -- [RT-SIGTA]
+
+2010-02-09 17:59  strk
+
+	* Oops, it seems I broke the build (sorry)
+
+2010-02-09 06:52  strk
+
+	* Fix documention
+
+2010-02-08 22:36  strk
+
+	* tweak the sponsor name
+
+2010-02-08 21:39  strk
+
+	* Initialie GEOS using lwerror for errors so that exceptions are
+	  really handled (or testcases in #411 crash on many GEOS
+	  functions)
+
+2010-02-08 20:05  strk
+
+	* Add credits to new feature item
+
+2010-02-08 18:54  strk
+
+	* Don't refuse to unparse malformed geometries. Fixes #411. Didn't
+	  seem to expose the crash in #168, the testcase for it was
+	  expanded to extract invalidity reason.
+
+2010-02-06 13:57  strk
+
+	* Simplify hooks on GEOS error reporter function from isvalid*
+	  functions
+
+2010-02-06 13:48  strk
+
+	* Add another test for #407
+
+2010-02-06 10:49  colivier
+
+	* Fix non NULL terminated string in ST_AsSVG with
+	  GEOMETRYCOLLECTION EMPTY, cf #409 reported by sdikiy. Add related
+	  unit test
+
+2010-02-05 20:58  strk
+
+	* Add ST_isValidDetail item
+
+2010-02-05 20:55  strk
+
+	* Register a buffer-logger as error-reporter from ST_isValidReason
+	  and ST_isValidDetail so to catch exceptions thrown by GEOS at
+	  postgis->geos conversion for the sake of reporting actual error.
+	  Fixes ticket #408. Completed with testcase.
+
+2010-02-05 17:58  strk
+
+	* A space after return type looks better (and seems to be the
+	  policy) for funcdef tags
+
+2010-02-05 17:57  strk
+
+	* Document ST_IsValidDetail
+
+2010-02-05 17:26  strk
+
+	* Add ST_isValidDetail(geom) returns valid_detail (new type!)
+
+2010-02-04 20:30  strk
+
+	* Astyle run (a-ha, got you!)
+
+2010-02-04 17:43  pramsey
+
+	* Push version numbers on trunk forward to next release.
+
+2010-02-04 17:21  pramsey
+
+	* Update release dates and changelog for 1.5.0
+
+2010-02-03 22:42  pramsey
+
+	* Initialize config->createindex value to 0
+
+2010-02-03 21:42  pramsey
+
+	* Fix handling of "missing table argument" case to use file name
+	  properly.
+
+2010-02-02 23:47  pramsey
+
+	* Add --no-psqlrc to run_test (#405)
+
+2010-02-02 22:44  pramsey
+
+	* Tiny re-format
+
+2010-02-02 17:44  pramsey
+
+	* Extra information per Greg Troxel
+
+2010-02-02 16:13  pramsey
+
+	* Update usage string to show correct default encoding.
+
+2010-02-02 04:14  pramsey
+
+	* astyle recent change
+
+2010-02-02 02:41  pramsey
+
+	* Fix segfault on cases where not enough arguments are provided.
+	  (#402)
+
+2010-02-02 00:15  pramsey
+
+	* Fix mis-handling of the commandline operations modes (#401)
+
+2010-02-01 18:24  pramsey
+
+	* Silence 'no-eol' compiler warning.
+
+2010-02-01 17:35  pramsey
+
+	* 1.5 astyle pass
+
+2010-01-29 21:24  pramsey
+
+	* Keep floats out of registers for spheroid calculation. Fixes odd
+	  bug in OS/X gcc 4.1. Could probably be narrowed to only use flag
+	  on affected platform. (#395)
+
+2010-01-29 18:22  robe
+
+	* fix example
+
+2010-01-29 18:00  pramsey
+
+	* Extra debugging information in spheroid area calculation.
+
+2010-01-28 17:42  pramsey
+
+	* Make area unit tests actually test against known good values
+
+2010-01-28 15:51  colivier
+
+	* revert r5175 commit about points results on #304. Related to #395
+
+2010-01-28 15:28  colivier
+
+	* In regress/tickets* Add missing srid 32702 and 32602. Add results
+	  from #304 tests. Related to #395
+
+2010-01-28 15:09  strk
+
+	* Fix 'maintainer-clean' rule
+
+2010-01-28 14:23  mcayland
+
+	* Fix astyle.sh script so that if astyle cannot be found then it
+	  immediately aborts with an error. Per report from Nicklas.
+
+2010-01-28 12:19  mcayland
+
+	* Add "make astyle" target to clean up source tree formatting as
+	  per the style guidelines.
+
+2010-01-26 21:10  pramsey
+
+	* Make GEOS test insist on >= 3.1.1
+
+2010-01-26 20:20  pramsey
+
+	* Remove warning from lwline
+
+2010-01-26 19:08  pramsey
+
+	* Add example for ST_AddMeasure on multilinestring
+
+2010-01-26 18:56  pramsey
+
+	* Make ST_AddMeasure handle multilinestrings as well as
+	  linestrings.
+
+2010-01-26 17:24  pramsey
+
+	* Remove unneeded See Also section.
+
+2010-01-26 17:09  pramsey
+
+	* Remove ST_StartMeasure ST_EndMeasure
+
+2010-01-26 01:13  pramsey
+
+	* Ignore postgis_comments.sql
+
+2010-01-25 21:08  pramsey
+
+	* Replace soft tabs with hard.
+
+2010-01-25 21:06  pramsey
+
+	* Add uninstall recipe for AddMeasure (#390)
+
+2010-01-25 21:03  pramsey
+
+	* Add ST_AddMeasure and associated documentations (#390)
+
+2010-01-24 09:10  nicklas
+
+	* 
+
+2010-01-23 23:31  nicklas
+
+	* Tiny Typo
+
+2010-01-23 23:29  nicklas
+
+	* remove ST_Maxdistance from TODO and note that C-version is still
+	  TODO for ST_DumpPoints
+
+2010-01-22 06:05  pramsey
+
+	* Add note on removing milestone from trac
+
+2010-01-21 16:44  pramsey
+
+	* Updates for 1.5.0rc1
+
+2010-01-21 13:08  nicklas
+
+	* add missing comment
+
+2010-01-21 07:19  nicklas
+
+	* Fix for make check on MingW #389
+
+2010-01-21 00:06  pramsey
+
+	* Updated XML release notes (#374)
+
+2010-01-20 20:17  pramsey
+
+	* Make proper #! calls to perl in perl scripts
+
+2010-01-20 18:55  robe
+
+	* Add Jorge Arevalo to list since he's contributing a lot of work
+	  to WKT Raster
+
+2010-01-19 12:40  robe
+
+	* Add George, Guillaume, and Vincent to contributors list
+
+2010-01-19 12:37  robe
+
+	* Bump Nicklas up since he's added a lot to this release and now
+	  has commit access
+
+2010-01-18 19:40  pramsey
+
+	* Add towgs84 line into proj4text for srid = 28992 (#387)
+
+2010-01-16 04:26  robe
+
+	* Add Guillaume's PostgreSQL 8.5 contribution
+
+2010-01-15 19:48  pramsey
+
+	* 80col wrap NEWS
+
+2010-01-15 18:49  robe
+
+	* add note about GEOS 3.2
+
+2010-01-15 18:41  pramsey
+
+	* Short circuit on distance tests: only do full spheroidal
+	  calculation where the distance is near or greater than the
+	  tolerance. This will make large st_dwithin() radius searches much
+	  faster since points that are well within the radius will not have
+	  their full geodetic calculation run, only those that are close to
+	  the radius boundary.
+
+2010-01-15 18:06  pramsey
+
+	* Prepare for 1.5.0b2
+
+2010-01-15 17:54  pramsey
+
+	* Make GEOS 3.1 the mandatory minimum (#385)
+
+2010-01-15 17:47  pramsey
+
+	* Ignore all PNG files.
+
+2010-01-15 08:13  colivier
+
+	* Round decimal part in #58 ticket unit test. As the previous
+	  result was not cross platform compliant
+
+2010-01-14 14:45  colivier
+
+	* Fix undefined vars in LWDEBUGF (#383)
+
+2010-01-14 08:34  colivier
+
+	* Update TODO. remove ST_GeomFromKML entry
+
+2010-01-12 10:33  mcayland
+
+	* Add missing MODULE_big section for #311 which was preventing the
+	  main PostGIS library from being installed on older versions of
+	  PostgreSQL.
+
+2010-01-12 08:23  robe
+
+	* slight typo correction
+
+2010-01-12 08:18  robe
+
+	* Add ST_DFullyWithin and add analysis as descriptor to functions
+
+2010-01-12 04:28  pramsey
+
+	* Change ST_Equals to use && instead of ~= (#378)
+
+2010-01-12 04:24  pramsey
+
+	* Shorten trac URL.
+
+2010-01-12 01:01  pramsey
+
+	* Add comment about postgis_comments.sql handling in 'clean' target
+	  of docs
+
+2010-01-12 01:00  pramsey
+
+	* Don't remove postgis_comments.sql when doing a 'make clean' in
+	  doc, that way they can survive into the tarball build for final
+	  release.
+
+2010-01-12 00:25  pramsey
+
+	* Performance tweak to distance calculations with tolerance. If
+	  distance is much less than tolerance, don't bother with geodetic
+	  calculation. If distance is close to or greater than tolerance,
+	  do the geodetic calculation. Should make st_dwithin faster,
+	  avoiding geodetic calculations for points that are clearly within
+	  tolerance.
+
+2010-01-11 17:31  kneufeld
+
+	* added missing liblwgeom target needed to build the documentation
+	  images
+
+2010-01-09 03:05  robe
+
+	* fix typo
+
+2010-01-09 03:05  robe
+
+	* Fill in missing spots in News
+
+2010-01-09 00:10  pramsey
+
+	* Use macro define to determine default geometry column name in gui
+
+2010-01-08 23:39  pramsey
+
+	* Update the NEW file
+
+2010-01-08 23:16  pramsey
+
+	* Added in one removed function (st_max_distance, replaced by
+	  st_maxdistance) to the drop script (#330)
+
+2010-01-08 22:48  pramsey
+
+	* Override pgxs defaults for install, from mcayland (#311)
+
+2010-01-07 16:04  mcayland
+
+	* Apply a modified version of Guillaume Lelarge's patch to allow
+	  compilation under current PostgreSQL 8.5 CVS.
+
+2010-01-04 23:25  pramsey
+
+	* Initailize config value from simple_geometries
+
+2010-01-04 19:52  pramsey
+
+	* Bracked and reformat comparison to be more explicit
+
+2010-01-04 17:55  pramsey
+
+	* Fixed up de-serialization routines to avoid *geoms = malloc(0)
+	  cases which were causing free to fail later on down the line
+	  (#370)
+
+2010-01-04 05:47  pramsey
+
+	* Remove the ifdef/endif blocks for HAVE_ICONV (#367)
+
+2010-01-04 05:42  pramsey
+
+	* Make configure error out when iconv is unavailable. (#367)
+
+2010-01-04 05:21  pramsey
+
+	* Minor change to about dialog build.
+
+2010-01-04 04:52  pramsey
+
+	* Re-fix connection password hiding (#356)
+
+2010-01-04 00:34  pramsey
+
+	* Fix the RCSID to actually substitute
+
+2010-01-04 00:32  pramsey
+
+	* Add an About dialogue that contains the revision string
+	  (hopefully)
+
+2010-01-04 00:31  pramsey
+
+	* Make lwcollection_extract slightly more empty-intelligent
+
+2010-01-03 23:05  pramsey
+
+	* Separate the options config persistence from the main persistence
+	  routine to allow the "geocolumn" magic to work more reliably
+	  (#369)
+
+2010-01-02 08:17  pramsey
+
+	* Add initialization to fix one Win32 segfault.
+
+2010-01-02 07:01  pramsey
+
+	* Add getopt.o into the modules used by shp2pgsql-gui.exe
+
+2010-01-02 06:57  pramsey
+
+	* Flip back to pgis_getopt
+
+2010-01-01 20:28  pramsey
+
+	* Change log entry to reflect actual iconv target encoding (UTF-8,
+	  not UTF8)
+
+2010-01-01 19:44  robe
+
+	* amend upgrade instructions to include description
+	  postgis_upgrade*.sql
+
+2010-01-01 19:30  robe
+
+	* put in ?, -n and -N missing from loader list
+
+2009-12-31 12:41  robe
+
+	* minor change
+
+2009-12-31 11:56  robe
+
+	* amend shp2pgsql section to mention gui loader and also -G
+	  geography switch
+
+2009-12-30 15:31  robe
+
+	* change wording in what is new titles to reflect they show both
+	  new and changed/enhanced functions
+
+2009-12-30 15:12  robe
+
+	* Fix ST_Extent/ST_Expand docs to reflect change in behavior of
+	  outputting double precision coords instead of float4. Still need
+	  to fix up examples.
+
+2009-12-30 14:52  mcayland
+
+	* Fix ST_Envelope() and ST_Expand() so that they use double
+	  precision arithmetic rather than single precision arithmetic for
+	  their calculations. The internal BOX2DFLOAT4s should *never* be
+	  used for calculation purposes.
+
+2009-12-30 13:08  robe
+
+	* ST_Box back to Box link ref
+
+2009-12-30 12:53  robe
+
+	* oops revert change I guess ST_Box .. is the one that's
+	  deprecated. How confusing :) PRobably should remove from docs at
+	  some point.
+
+2009-12-30 12:48  robe
+
+	* amend faqs and change Box2D,Box3D to ST_Box...
+
+2009-12-30 09:15  robe
+
+	* correct example
+
+2009-12-30 07:20  robe
+
+	* more clarity on the float4/float8 for ST_Envelope
+
+2009-12-30 06:53  robe
+
+	* #531 ST_Envelope has wrong return type changed from boolean to
+	  geometry
+
+2009-12-30 06:45  robe
+
+	* slight wording change
+
+2009-12-30 06:44  robe
+
+	* fill in mising geography = operator
+
+2009-12-30 06:38  robe
+
+	* fix typo
+
+2009-12-30 06:12  robe
+
+	* #365 document ST_GeogFromWKB and ST_GeogFromText
+
+2009-12-30 01:25  pramsey
+
+	* Rename ST_GeographyFromBinary to ST_GeogFromWKB. Add
+	  ST_GeogFromText to ape the ISO geometry spec more closely. (#360)
+
+2009-12-30 01:20  pramsey
+
+	* Remove the NULL policy line from the GUI options (#363)
+
+2009-12-30 01:12  pramsey
+
+	* Make a few things more explicit in the handling of encoding.
+
+2009-12-29 20:23  pramsey
+
+	* Remove a couple compiler warnings following last change.
+
+2009-12-29 20:16  pramsey
+
+	* Change options dialogue into actual GTK dialog and move to
+	  creating/destroying it on each appearance. (#363)
+
+2009-12-29 19:23  pramsey
+
+	* Try and get around the expanding window problem
+
+2009-12-29 08:52  mcayland
+
+	* Add a filter name to the shapefile file selector; this is just a
+	  cosmetic fix.
+
+2009-12-29 08:35  mcayland
+
+	* Restrict SQL to only 255 characters when displaying erroneus SQL
+	  in the log window. This prevents GTK from crashing when really
+	  long lines are added to the log window.
+
+2009-12-28 18:48  pramsey
+
+	* Include GUI as conditional install target
+
+2009-12-28 13:32  mcayland
+
+	* Add some more missing defaults to the shapefile loader
+	  configuration.
+
+2009-12-27 17:16  mcayland
+
+	* Fix shp2pgsql-gui not picking up the correct default settings,
+	  which was causing some shapefiles to abort in the GUI but when
+	  using the CLI.
+
+2009-12-25 04:41  pramsey
+
+	* Fix up another password leaking into the log (#356)
+
+2009-12-24 00:57  pramsey
+
+	* Handle case where there is no password to sanitize
+
+2009-12-23 19:49  pramsey
+
+	* Sanitize the connection string displayed in the GUI log (#356)
+
+2009-12-23 19:34  pramsey
+
+	* Add support for dumping geography tables. (#251)
+
+2009-12-23 15:48  colivier
+
+	* Add http://www.epsg.org/6.11.2/4326 srsName pattern support
+	  (related to CITE WFS 1.1 GetFeature-tc17.2. Add related unit
+	  tests
+
+2009-12-23 05:01  pramsey
+
+	* Remove hack PGAdmin GUI target (#355)
+
+2009-12-22 20:50  pramsey
+
+	* Add message to GUI when creating spatial index.
+
+2009-12-22 19:38  pramsey
+
+	* Add shp2pgsql-pgadmin build target for exe without special win32
+	  options.
+
+2009-12-22 12:38  mcayland
+
+	* Fix bug in geography support when creating indexes.
+
+2009-12-22 12:28  mcayland
+
+	* More improvements to the shapefile loader:
+	  - Fix COPY support for shapefiles containing more than 1 record
+	  - Fix cancellation on mid-import
+	  - Remove progress logging on import, and replace with flashly
+	  progress bar
+
+2009-12-22 00:35  pramsey
+
+	* Handle index building when loading geography
+
+2009-12-22 00:27  pramsey
+
+	* Add support for GEOGRAPHY type to loader GUI. (#251)
+
+2009-12-21 23:22  pramsey
+
+	* Add support for geography type to command-line loader (#251)
+
+2009-12-20 17:42  pramsey
+
+	* CFLAGS=-pedantic pass over the codebase and warnings reduced
+
+2009-12-20 17:23  pramsey
+
+	* Disable unused static function.
+
+2009-12-20 04:42  pramsey
+
+	* Minor changes to header inclusions.
+
+2009-12-20 04:31  pramsey
+
+	* Fix bracket issue in commandline opt handline
+
+2009-12-19 03:56  pramsey
+
+	* Radically simpler getopt implementation from AT&T UNIX.
+
+2009-12-18 20:51  pramsey
+
+	* Add some logging during the load so we can see what's going on.
+
+2009-12-18 19:28  colivier
+
+	* remove the #273 test, as it already the same than point_1
+
+2009-12-18 19:08  colivier
+
+	* Libxml become mandatory. Cf #344. Modify configure step, remove
+	  all HAVE_LIBXML2 from code, sql and unit tests. Update
+	  documentation
+
+2009-12-18 18:38  pramsey
+
+	* Moved size of int8 down to 19 chars (#326)
+
+2009-12-18 18:26  robe
+
+	* fix some typos, cosmetic changes, throw some more geography
+	  around
+
+2009-12-18 17:43  robe
+
+	* Find a home for Paul's examples and Advanced FAQ and back
+	  reference from main FAQ section
+
+2009-12-18 17:16  robe
+
+	* We all new this day would come when we'd have to devote a whole
+	  section to this new kid called "geography". Think we still need
+	  to shuffle things around as the next section seems like a
+	  disconnect from the geography section
+
+2009-12-18 07:46  mleslie
+
+	* Reverting the change of r5007, removal of the getopt hack, to get
+	  windows builds working again.
+
+2009-12-18 06:39  pramsey
+
+	* Add in icon and resource information for Win32 GUI
+
+2009-12-18 05:55  pramsey
+
+	* Make GUI open w/o console under Win32
+
+2009-12-17 12:54  mcayland
+
+	* Implement proper cleanup if an import fails, and also disable the
+	  "Import" button during the import to ensure that multiple import
+	  threads can't be launched.
+
+2009-12-17 11:16  mcayland
+
+	* Add GUI option to allow the use of COPY rather than INSERT to
+	  load geometries into the database. Currently the default is still
+	  to use INSERT.
+
+2009-12-17 11:11  mcayland
+
+	* Fix memory scope error (resulting in segfault) accidentally
+	  introduced by the command line changes.
+
+2009-12-16 17:13  pramsey
+
+	* Temporarily de-regress the loader while talking to -devel
+
+2009-12-16 17:00  pramsey
+
+	* Quiet solaris warnings
+
+2009-12-16 16:49  pramsey
+
+	* Remove warning on Solaris
+
+2009-12-16 00:43  pramsey
+
+	* Add initial values.
+
+2009-12-15 23:55  pramsey
+
+	* Change MAX_DBF_FIELD_SIZE to 254 (#326)
+
+2009-12-15 23:44  pramsey
+
+	* Add in support for command-line options for connection info to
+	  GUI (#338)
+
+2009-12-15 21:45  pramsey
+
+	* Remove custom getopt files and move back to system getopt. Will
+	  take some testing, but will be worth it to be rid of this
+	  unmaintainable hack.
+
+2009-12-15 20:56  pramsey
+
+	* Make null date field blank rather than 00000000 (#321)
+
+2009-12-15 20:08  pramsey
+
+	* Make 4326 the default SRID for "unknown" cases, both in column
+	  creation and in geography object creation. (#347)
+
+2009-12-15 18:44  pramsey
+
+	* Add --with-libiconv argument to configure, to allow third-party
+	  iconv libraries to be used instead of system iconv, if so
+	  desired. Necessary to work around an OS/X Snow Leopard issue
+	  (iconv_open only available as a 32 bit call!)
+
+2009-12-15 18:42  pramsey
+
+	* Fix buffer overrun case.
+
+2009-12-15 15:10  pramsey
+
+	* Remove syntax error (fumbling fingers?) in the usage line (#345)
+
+2009-12-15 15:08  pramsey
+
+	* Remove test that enforces only OGC-standard WKT for
+	  GeomFromText(). We'll accept any string we can parse, just like
+	  geometry_in(). (#332)
+
+2009-12-14 18:04  pramsey
+
+	* Flip argument order for -cli exe build and add CFLAGS back into
+	  linking line
+
+2009-12-14 11:26  mcayland
+
+	* Remove the original shp2pgsql.c file which is no longer required
+	  with the new architecture.
+
+2009-12-14 01:38  mcayland
+
+	* Fix incorrect logic when outputting escaped strings; COPY does
+	  not require the attribute to be surrounded by apostrophes.
+
+2009-12-14 01:23  mcayland
+
+	* Fix missing COPY terminator from shp2pgsql command line
+	  component.
+
+2009-12-13 20:31  mcayland
+
+	* Commit initial version of reworked shp2pgsql architecture that
+	  defines a common API within shp2pgsql-core that can be called
+	  from both the CLI and GUI interfaces.
+	  
+	  There are still some minor TODOs left, however the basic concept
+	  appears to work well and I've also spent time running tests under
+	  valgrind to ensure that we don't leak memory on larger
+	  shapefiles.
+
+2009-12-09 17:33  kneufeld
+
+	* added identifier to shp2pgsql usage section
+
+2009-12-09 17:12  kneufeld
+
+	* updated "Using the Loader" to demonstrate the use of the
+	  available options
+
+2009-12-09 05:08  robe
+
+	* Correct the output type of ST_Extent and flag this as a change in
+	  behavior in PostGIS 1.4
+
+2009-12-07 15:56  pramsey
+
+	* Fix mistakes in geography faq item.
+
+2009-12-04 15:39  robe
+
+	* get rid of begin; commit in geography.sql.in.c. Now that it is
+	  part of postgis.sql.inc.c, no need for it.
+
+2009-12-04 12:32  robe
+
+	* change to use refname instead of refid for link in what's new --
+	  so operators show the operator symbol instead of underlying
+	  function name
+
+2009-12-03 20:42  kneufeld
+
+	* removed VACUUM
+	  made into a single transaction block
+
+2009-12-03 18:51  kneufeld
+
+	* removed url that is probably the cause in breaking docbook
+
+2009-12-03 18:43  kneufeld
+
+	* a couple typos in the DE-9IM explanation
+	  added further reading references.
+
+2009-12-03 16:23  kneufeld
+
+	* fixed a typo and added a few cross links
+
+2009-12-03 14:23  robe
+
+	* Replace unicode codes with images. IE 6 and 7 not happy. PDF not
+	  happy with unicode happy face symbol -- Regina not happy :(
+
+2009-12-03 08:58  robe
+
+	* fill in missing curve support flags for outputs
+
+2009-12-03 06:14  kneufeld
+
+	* added a few reference cross links
+
+2009-12-02 23:41  kneufeld
+
+	* removed borders around the tables in the geometry compliancy
+	  section
+
+2009-12-02 23:25  kneufeld
+
+	* added some thoughts on DE-9IM
+
+2009-12-02 23:23  kneufeld
+
+	* added target to resize certain images
+
+2009-12-02 22:05  robe
+
+	* Flag more as working with curves. I think all do except same
+	  operator but need to verify.
+
+2009-12-02 21:48  robe
+
+	* Looks fine in all my IE8 browsers perhaps its just IE7 that's
+	  behind the times. Use cutesy unicode dingbats for now -- alos put
+	  in item list legend.
+
+2009-12-02 21:02  kneufeld
+
+	* added de9im images
+
+2009-12-02 15:20  robe
+
+	* Now that pdf table layout is fixed with informal table -- put
+	  back operators in matrix
+
+2009-12-02 14:47  robe
+
+	* Do I dear try an informal table again :)
+
+2009-12-02 14:03  robe
+
+	* Try Mateusz idea of a unicode checkmark
+
+2009-12-01 22:54  robe
+
+	* hmm spelled geometry wrong
+
+2009-12-01 22:40  robe
+
+	* get rid of padding on tables
+
+2009-12-01 22:30  robe
+
+	* try again
+
+2009-12-01 21:47  robe
+
+	* back to formal table
+
+2009-12-01 20:08  robe
+
+	* 
+
+2009-12-01 20:00  robe
+
+	* try again
+
+2009-12-01 19:53  robe
+
+	* 
+
+2009-12-01 19:34  robe
+
+	* fix build
+
+2009-12-01 19:19  robe
+
+	* seeif pdf looks better with an informaltable
+
+2009-12-01 18:30  robe
+
+	* title change
+
+2009-12-01 18:29  robe
+
+	* typo
+
+2009-12-01 18:07  robe
+
+	* Add sql mm compliance column get rid of cell-padding
+
+2009-12-01 17:17  robe
+
+	* shorten matrix list to exclude operators and exception so pdf is
+	  not quite so ugly. Try to fit on one page.
+
+2009-12-01 17:06  robe
+
+	* fix filter for 2.5D/curved support. More tweaking of style
+
+2009-12-01 16:42  robe
+
+	* get rid of border=0 altogether exclude management,types, and
+	  transaction from matrix
+
+2009-12-01 16:15  robe
+
+	* border not taking
+
+2009-12-01 15:09  robe
+
+	* I want table borders
+
+2009-12-01 14:42  robe
+
+	* oops had left over junk -- get rid of junk
+
+2009-12-01 14:28  robe
+
+	* try to get rid of section abstract -- see if pdflatex accepts
+	  super duper matrix
+
+2009-12-01 14:15  robe
+
+	* First attempt at super-duper type functionality compare matrix
+
+2009-11-30 22:08  pramsey
+
+	* Fix up boundary condition in node interaction test.
+
+2009-11-30 20:52  pramsey
+
+	* Add an internal geometry tree for use in a native prepared
+	  geometry scheme for fast intersection tests.
+
+2009-11-30 20:50  pramsey
+
+	* Add svn:keywords to everyone
+
+2009-11-30 20:49  pramsey
+
+	* Add NL to end of expected file.
+
+2009-11-30 20:44  pramsey
+
+	* Move the fromGML test into the in_gml.sql file, so that it will
+	  be properly excluded when libxml2 is not available.
+
+2009-11-30 20:39  pramsey
+
+	* Move have_libxml2 define to the other library have_ defines.
+
+2009-11-30 20:37  pramsey
+
+	* Fix warnings from cpp during sql file build as reported by
+	  kneufeld
+
+2009-11-30 19:56  pramsey
+
+	* Updated SQL files for uninstallation to match current state.
+
+2009-11-30 19:12  pramsey
+
+	* Update the upgrade process description to match new scripts.
+
+2009-11-30 17:27  pramsey
+
+	* Rename ST_PointOutside to _ST_PointOutside (#325)
+
+2009-11-30 16:40  kneufeld
+
+	* renamed ST_DumpPoints to _ST_DumpPoints
+
+2009-11-30 14:30  robe
+
+	* revise template to use new entities
+
+2009-11-30 14:24  robe
+
+	* availability note not specified right for ST_DumpPoints
+
+2009-11-30 09:16  robe
+
+	* fill in missing proto for st_polygonize
+
+2009-11-29 09:07  robe
+
+	* Yeh ST_GeomFromKML/GML not crashing anymore on Windows (when
+	  libxml statically compiled in) -- can put back the tests
+
+2009-11-28 22:36  robe
+
+	* Add missing ST_CoveredBy proto for geography
+
+2009-11-28 07:13  robe
+
+	* try to force paragraph at top using sectinfo abstract. Make note
+	  about deprecation more threatening.
+
+2009-11-28 06:50  robe
+
+	* slight amendment to description of casts
+
+2009-11-28 06:40  robe
+
+	* fill out casting behavior, also list box type functions and links
+	  to it and from it
+
+2009-11-27 23:38  pramsey
+
+	* Add install directory as an ignore.
+
+2009-11-27 20:58  robe
+
+	* link to new geometry_dump sections, also alphabetize dump
+	  functions
+
+2009-11-27 20:39  robe
+
+	* thanks Kevin -- this should work now
+
+2009-11-27 20:31  robe
+
+	* take out link and see if hudson is happy
+
+2009-11-27 20:01  robe
+
+	* try again - maybe typo
+
+2009-11-27 19:46  robe
+
+	* Add geometry_dump and special index to list all functions that
+	  take as input or output geometry_dump objects
+
+2009-11-27 19:21  pramsey
+
+	* A few more Mapserver usage updates.
+
+2009-11-27 19:17  pramsey
+
+	* Update the using mapserver section a little
+
+2009-11-27 17:50  pramsey
+
+	* Add newlines at file ends to silence warnings
+
+2009-11-27 17:06  kneufeld
+
+	* Fixed a few typos and missing references
+
+2009-11-27 16:28  robe
+
+	* okay another try. bad scaling
+
+2009-11-27 16:01  robe
+
+	* make all colors different for clarity
+
+2009-11-27 15:37  robe
+
+	* forgot images
+
+2009-11-27 15:36  robe
+
+	* remove dupe ST_DFullyWithin, put in availability note for
+	  ST_DFullyWithin, add ST_ClosestPoint documentation and images,
+	  fix ST_LongestLine diag 3(forgot about the 200x200 rule)
+
+2009-11-26 18:50  robe
+
+	* another st_longestline example
+
+2009-11-26 17:56  mcayland
+
+	* Commit slightly altered regression tests for the above.
+
+2009-11-26 17:55  mcayland
+
+	* Fix #316: IsValid? called on invalid 3d object leads to crash.
+	  Because of the way the parser works, not all tuples can hold a
+	  valid parse position; hence when trying to display the error
+	  message, the parser would crash. The solution I went for here was
+	  to alter pop() so that "counting tuples" always hold a valid
+	  parse position, and then re-write the various check functions to
+	  ensure that they only display parse errors with details from the
+	  next "counting tuple" higher up in the stack.
+
+2009-11-26 16:52  robe
+
+	* change shortestline/longestline point/line example
+
+2009-11-25 23:37  robe
+
+	* another typo
+
+2009-11-25 23:36  robe
+
+	* fix typo in coordinates
+
+2009-11-25 23:07  robe
+
+	* make diagrams more interesting
+
+2009-11-25 22:48  robe
+
+	* Put in figures for ST_LongestLine. revise figure for shortest
+	  line make geometries the same for easy compare
+
+2009-11-25 22:15  robe
+
+	* cosmetic changes
+
+2009-11-25 22:12  robe
+
+	* Put in images for ST_ShortestLine
+
+2009-11-25 21:49  robe
+
+	* put in missing availability notes
+
+2009-11-25 19:15  pramsey
+
+	* Merge Nicklas Aven's distance spike into trunk. (#63, #231)
+
+2009-11-24 22:10  kneufeld
+
+	* added refentry section for ST_DumpPoints()
+
+2009-11-24 21:46  kneufeld
+
+	* added an ST_DumpPoints image to the collection.
+
+2009-11-24 17:28  colivier
+
+	* explicit NULL test on xa->name. Related to #273
+
+2009-11-24 10:28  colivier
+
+	* add also availability note to GmlToSQL()
+
+2009-11-24 10:20  colivier
+
+	* add availability information for postgis_libxml_version()
+
+2009-11-23 18:07  robe
+
+	* #300 - minor casing changes to reference. Incorporate logic to
+	  comment types. Types need more description and casting behavior
+	  detail.
+
+2009-11-23 14:27  robe
+
+	* New postgresql type section per #300. Still need to modify
+	  postgis_comments.sql.xsl accordingly
+
+2009-11-23 14:26  colivier
+
+	* Add libxml2 version information in postgis_full_version. Add
+	  libxml2 support information in postgis_version. Add new
+	  postgis_libxml_version function. Add doc entry for this new
+	  function.
+
+2009-11-22 04:56  pramsey
+
+	* Move utility functions only used in cunit tests to the cunit
+	  code.
+
+2009-11-22 04:28  pramsey
+
+	* Replace pow(,2.0) with POW2 macro.
+
+2009-11-21 06:08  pramsey
+
+	* Move from pass-by-value to pass-by-const-pointer. What can I say,
+	  I have no control over myself.
+
+2009-11-21 03:44  robe
+
+	* update st_buffer, st_intersection details for geography to
+	  reflect what we are actually doing in bestsrid calc
+
+2009-11-21 03:31  robe
+
+	* grammar correction
+
+2009-11-20 20:12  pramsey
+
+	* Fix an error hidden in a debug line.
+
+2009-11-20 18:36  pramsey
+
+	* Fix graxing case and improve co-linear handling with help from
+	  Nicklas Aven (#314)
+
+2009-11-20 18:05  kneufeld
+
+	* added missing dependency of postgis_aggs_mm for the comments
+
+2009-11-20 14:02  mcayland
+
+	* Apply Kris Jurka's pgsql2shp patches, as detail in the
+	  postgis-devel archives on 12th Nov. Thanks Kris!
+
+2009-11-20 13:53  mcayland
+
+	* Finish working on Dave Fuhry's memory-leak patch, and also fix
+	  several other leaks found by running shp2pgsql through valgrind.
+
+2009-11-19 22:35  colivier
+
+	* Switch to reference splitted files. Add references entities. Use
+	  postgis.xml rather than reference.xml in doc/xsl/* files. Add
+	  template rule in doc/xsl/* to only use
+	  /book/chapter[@id='reference'].
+
+2009-11-19 20:23  pramsey
+
+	* Handle the case where the stabline and a polygon edge are
+	  co-linear in point-in-polygon test.
+
+2009-11-19 15:39  mcayland
+
+	* Alter regression test harness so that shp2pgsql/pgsql2shp can be
+	  tested without being installed.
+
+2009-11-19 00:54  pramsey
+
+	* Attempt to clarify MULTIPOLYGON behavior in
+	  ST_SimplifyPreserveTopology (#240)
+
+2009-11-18 19:54  pramsey
+
+	* Add another example (#218)
+
+2009-11-18 19:53  pramsey
+
+	* Put constants reference in the example, so people see it (nobody
+	  reads documentation) (#218)
+
+2009-11-18 17:28  kneufeld
+
+	* Ok, well that didn't work. Reverting changes.
+
+2009-11-18 17:19  kneufeld
+
+	* simplified postgis-out.xml target. The sed replacement should
+	  only happen on the postgis.xml file as the DocBook variable
+	  &last_release_version is used throughout the documentation
+
+2009-11-17 23:27  pramsey
+
+	* Add in the history table convenience functions, a README and some
+	  manual examples for pedagogy.
+
+2009-11-17 22:29  pramsey
+
+	* Fix a double-free in the unit test for collection extract.
+
+2009-11-17 20:14  pramsey
+
+	* Add availability line.
+
+2009-11-17 20:05  pramsey
+
+	* Add more explanation of type numbers.
+
+2009-11-17 20:03  pramsey
+
+	* Implement ST_CollectionExtract() to pull specific homogeneous
+	  collections out of heterogeneous collections. Regressions and
+	  documentation included. (#218)
+
+2009-11-17 17:23  pramsey
+
+	* Trim the binary versions of geometries to try and remove
+	  regressions from other platforms.
+
+2009-11-17 14:00  mcayland
+
+	* Properly fix #219 by creating a separate "mini install" of
+	  PostGIS into the PGXS regression directory that can be used for
+	  regression. This is because different architectures have
+	  different naming conventions, and so Paul's original hack isn't
+	  guaranteed to work. By using PGXS to perform the install, we
+	  eliminate the problem of having to know the final architecture
+	  library name.
+
+2009-11-17 04:28  pramsey
+
+	* Add tests from #210 to the tickets.sql
+
+2009-11-17 04:25  pramsey
+
+	* Add tickets.sql and expected tests derived from old trac entries
+	  (#214)
+
+2009-11-16 23:30  pramsey
+
+	* Add identifying lines to SQL so that error lines are easier to
+	  find.
+
+2009-11-16 23:22  pramsey
+
+	* Remove trailing space from libname
+
+2009-11-16 22:01  pramsey
+
+	* Add in hack to match the library .so substition name to the one
+	  produced by a particular PgSQL version. (#219)
+
+2009-11-16 21:13  pramsey
+
+	* Add in tests for MapServer/Geoserver-style SQL calls. (#224)
+
+2009-11-16 20:25  pramsey
+
+	* Make scripts version independent of library micro-version.
+
+2009-11-16 19:52  pramsey
+
+	* Make POSTGIS_SCRIPTS_VERSION reflect the maximum SVN version of
+	  the SQL input files. (#242)
+
+2009-11-16 19:47  kneufeld
+
+	* Ticket #76.
+	  - added a modified version of a plpgsql implementation for
+	  ST_DumpPoints() proposed by Maxime van Noppen.
+	  - added regression tests
+
+2009-11-16 19:10  pramsey
+
+	* Make an unknown geography SRID translate to a 4326 geometry SRID
+	  during a cast (#298)
+
+2009-11-16 19:06  robe
+
+	* forgot availability note
+
+2009-11-16 19:04  robe
+
+	* fix typos in ST_MakeEnvelope (at least he tries :) )
+
+2009-11-16 18:46  pramsey
+
+	* Add doco and regression tests for ST_MakeEnvelope() (#199)
+
+2009-11-16 18:28  pramsey
+
+	* Add ST_MakeEnvelope() constructor, terse function for making bbox
+	  polygons. (#199)
+
+2009-11-16 13:50  robe
+
+	* revise to deal with boolean arguments
+
+2009-11-16 12:57  robe
+
+	* Update geography transform description to reflect new cowboy
+	  transform hack strategy :). Need to update functions as well once
+	  Olivier has stopped kicking dust.
+
+2009-11-16 05:55  robe
+
+	* More encouragement to use GEOS 3.2 :)
+
+2009-11-16 05:53  robe
+
+	* get rid of reference to loading geography.sql (now integrated in
+	  postgis.sql)
+
+2009-11-16 00:28  colivier
+
+	* revert Makefile.in reference.xml and postgis.xml to r4816. Need
+	  to fix NewFunction reference to go further :(
+
+2009-11-16 00:27  pramsey
+
+	* Cowboy triumphs. (#304)
+
+2009-11-15 23:13  pramsey
+
+	* Actually use Antarctic stereographic for antarctic points. (#304)
+
+2009-11-15 22:17  colivier
+
+	* Add final semicolon. Remove useless copy related to reference.xml
+
+2009-11-15 22:03  colivier
+
+	* Add forgotten .xml (in pdf rule)
+
+2009-11-15 21:55  colivier
+
+	* Add forgotten .xml in postgis-out rule
+
+2009-11-15 21:23  colivier
+
+	* Update Makefile rules, related to reference.xml split (r4817)
+
+2009-11-15 20:39  colivier
+
+	* Split reference.xml on several sub files (upon sect1). Use entity
+	  to avoid redundant compliant/support text (SFS, SQL/MM, Z/M
+	  dimensions, Curve support)
+
+2009-11-15 19:52  pramsey
+
+	* Handle odd ArcMap scinotation for large ints. (#38)
+
+2009-11-15 19:32  pramsey
+
+	* Add locale handling by setting to 'C' (#303)
+
+2009-11-15 19:23  pramsey
+
+	* Make the _cmp and _eq methods use the same equality conditions so
+	  that
+	  indexed and unindexed answers will be the same. (#292)
+
+2009-11-14 21:14  pramsey
+
+	* Move the polar stereographic line a little further north in
+	  bestsrid. (#304)
+
+2009-11-14 03:49  robe
+
+	* missing ST_DWithin geography spheroid proto
+
+2009-11-14 00:40  pramsey
+
+	* Add testing and drop deprecated functions (#202)
+
+2009-11-13 22:13  pramsey
+
+	* Build out version specific upgrade scripts.
+
+2009-11-13 20:04  pramsey
+
+	* First baby steps towards version-specific loader
+
+2009-11-13 15:28  robe
+
+	* libxml preferable
+
+2009-11-13 15:27  robe
+
+	* fix Paul's bad spelling, add KML in output list, link to what's
+	  new in PostGIS 1.5 section, GEOS 3.2 preferred
+
+2009-11-13 03:35  robe
+
+	* fix formatting in ST_LineCrossingDirection (replace tabs with
+	  spaces)-- show new corrected output after #272 - should be
+	  negatively symmetric fix
+
+2009-11-12 19:00  pramsey
+
+	* Walk back function deletions of ST_ functions under types and
+	  operators, these can't be dropped during an in-place upgrade,
+	  *sigh*. (#195)
+
+2009-11-12 04:09  pramsey
+
+	* Remove old version ifdefs for versions < PgSQL 8.3 (#290)
+
+2009-11-11 19:57  pramsey
+
+	* Update behavior of lwgeom_same to match "orderingequals"
+	  semantics (#289)
+
+2009-11-11 19:35  pramsey
+
+	* Slightly loosen equality tolerance check for point in cone...
+	  does this fix cunit regressions?
+
+2009-11-11 19:02  pramsey
+
+	* Simplify code and improve consistency of linecrossing results
+	  (#272)
+
+2009-11-11 00:00  pramsey
+
+	* Remove GisT headers from file and set keywords.
+
+2009-11-10 23:58  pramsey
+
+	* Make the = operator do a pure equality test
+
+2009-11-10 20:39  pramsey
+
+	* Stub implementation of ordering operators (#292)
+
+2009-11-10 19:30  pramsey
+
+	* Apply handling for EMPTY geometries to all geography functions
+	  per the DevWikiEmptyGeometry page.
+
+2009-11-10 18:34  robe
+
+	* put logic to recognize boolean and KML text args. Exclude
+	  ST_GeomFromKML and ST_GeomFromGML from testing until crashing
+	  problem under mingw is resolved.
+
+2009-11-10 12:45  robe
+
+	* put availability note first in what's new for 1.5. Some of the
+	  functions aren't new but support geography or have behavior
+	  change. Easier if that note comes first. Will change for prior
+	  what's new later if this looks okay.
+
+2009-11-10 12:18  robe
+
+	* using (T) to denote Paul's transform hacks and noting what that
+	  (T) means. Will eventually use to generate super duper function
+	  compare matrix :)
+
+2009-11-10 12:13  robe
+
+	* Put in ST_Intersection proto for geography
+
+2009-11-10 12:08  robe
+
+	* add ST_Intersects proto for geography
+
+2009-11-10 11:57  robe
+
+	* Add ST_GeomFromKML, add some grammar corrections to
+	  ST_GeomFromGML
+
+2009-11-08 19:05  colivier
+
+	* Initial version of ST_GeomFromKML function and related units
+	  tests
+
+2009-11-08 19:02  colivier
+
+	* remove an unused var. minor comment change
+
+2009-11-08 06:42  colivier
+
+	* Complete ST_GeomFromGML documentation. Add ST_GMLToSQL
+	  documentation entry. (Please tks to read back as my english
+	  grammar is far to be perfect)
+
+2009-11-07 16:49  pramsey
+
+	* Remove TODO items that have actually been done.
+
+2009-11-07 16:17  pramsey
+
+	* Make the configure-time test for PgSQL version check for 8.3+
+	  (#290)
+
+2009-11-07 01:47  pramsey
+
+	* Drop database when function loads fail in regression tests. (#77)
+
+2009-11-07 01:31  pramsey
+
+	* Make ~= be a bounding box only operator and upgrade ST_Equals()
+	  and ST_OrderingEquals() to match the new behavior. Update
+	  regression tests to match new behavior. (#282) See also #289 for
+	  an odd quirk discovered while updating regression tests.
+
+2009-11-07 00:33  pramsey
+
+	* Add text wrappers to functions we commonly expect people to call
+	  with text arguments but expect implicit casting to geometry.
+	  (#252)
+
+2009-11-07 00:12  pramsey
+
+	* Fix for point-on-vertex case of st_covers (#271)
+
+2009-11-06 22:55  pramsey
+
+	* Utility to read svn revision numbers from SQL scripts.
+
+2009-11-06 22:49  colivier
+
+	* finalize Xlink support (GML SF-2 fully compliant). Fix typo on
+	  PointProperty/Point. Few comments and style corrections. Update
+	  unit tests.
+
+2009-11-06 21:45  pramsey
+
+	* Make geography.sql part of the standard postgis.sql build.
+
+2009-11-06 20:46  pramsey
+
+	* Add costs to CPU intensive C functions and update doco to ensure
+	  8.3 is the referenced minimum PgSQL version. (#230)
+
+2009-11-06 17:30  pramsey
+
+	* Update documentation for those functions affected by RFC3. They
+	  are all internal functions that are going to disappear in 2.0,
+	  might be better to simply remove them, but for now...
+
+2009-11-05 20:20  pramsey
+
+	* Fix for #157, ST_GeometryType output doesn't correctly identify
+	  curved geometries
+
+2009-11-05 19:29  pramsey
+
+	* Fix for new LRS regression (#283)
+
+2009-11-05 19:04  pramsey
+
+	* Implement RFC3 (#195)
+
+2009-11-05 04:55  pramsey
+
+	* Some initializations and a null pointer avoidance test (#273)
+
+2009-11-05 00:58  pramsey
+
+	* Add ST_Intersection() and ST_Intersects() for geography.
+
+2009-11-05 00:43  pramsey
+
+	* Remove createdb_opt lines from psql and createlang calls. (#228)
+
+2009-11-05 00:37  pramsey
+
+	* Make non-M attempts to run LRS functions error out instead of
+	  return NULL (#113)
+
+2009-11-04 23:51  pramsey
+
+	* Fix for #273? Some unitialized variables may have been causing
+	  problems. Initializing them fixed this problem for me.
+
+2009-11-04 23:03  pramsey
+
+	* Fix hausdorf crasher (#279)
+
+2009-11-04 21:19  colivier
+
+	* revert wrong commit (r4741) on wktparse.lex file
+
+2009-11-04 21:10  colivier
+
+	* Allow a double to not have digit after dot (related to #175).
+	  Update unit test case
+
+2009-11-04 20:35  pramsey
+
+	* Fix for #175, numbers with a terminal decimal won't parse.
+
+2009-11-04 18:59  robe
+
+	* amend ST_Length to include use_spheroid proto and amend examples
+	  to state new default behavior
+
+2009-11-04 18:47  pramsey
+
+	* Allow ~= operator to recheck, per #253.
+
+2009-11-04 11:57  robe
+
+	* type correction in ST_BuildArea output. Add additional proto to
+	  ST_Area and correct the example to show the new spheroid
+	  measurement default
+
+2009-11-04 09:53  colivier
+
+	* Give priority to gml namespace attribute if any. Apply a fix on
+	  ring incrementation (Surface/interior)
+
+2009-11-04 03:27  pramsey
+
+	* Change ST_Area(geog) to defaul to spheroid calculation.
+
+2009-11-04 00:13  pramsey
+
+	* Remove unit test failure cases in 32-bit architectures. Now have
+	  to test correctness
+	  of algorithms on test data in 64-bit environment.
+
+2009-11-03 22:26  colivier
+
+	* Initial support of Xlink. Add related units tests. Few cleaning
+
+2009-11-03 22:24  colivier
+
+	* Add xpath headers support for libxml2
+
+2009-11-03 21:24  pramsey
+
+	* File headers and property setting.
+
+2009-11-03 21:16  pramsey
+
+	* Add in handlers to avoid sheroid area cases we currently cannot
+	  handle.
+
+2009-11-03 21:13  pramsey
+
+	* Slight change in ST_Area wording.
+
+2009-11-03 15:32  robe
+
+	* amend distance proto and example -- now we default to spheroid
+
+2009-11-03 13:36  colivier
+
+	* Add namespace support. Add pointProperty and pointRep support.
+	  Fix pos and posList spaces inside coordinates issue. Comments
+	  update. Update unit tests
+
+2009-11-03 10:03  robe
+
+	* get rid of extra para tag
+
+2009-11-03 09:47  robe
+
+	* more typo fixing
+
+2009-11-03 09:33  robe
+
+	* fix typo
+
+2009-11-03 05:19  robe
+
+	* Document ST_Buffer for geography and caveats
+
+2009-11-03 02:58  pramsey
+
+	* Re-enable other geodetic unit tests and remove Java code block.
+
+2009-11-03 00:36  pramsey
+
+	* First cut of ST_Area(geography) on spheroid. Currently not
+	  default, use ST_Area(geog, true) to enable it. Beware of
+	  limitations over poles and eequator.
+
+2009-11-02 12:05  robe
+
+	* minor corrections to ST_distance_sphere/spheroid descriptions
+
+2009-11-01 22:31  robe
+
+	* amend doc for st_distance_sphere, st_distance_spheroid to reflect
+	  expanded support.
+
+2009-10-31 05:05  pramsey
+
+	* Make distance_spher(oid) functions a little more type safe.
+
+2009-10-31 04:53  pramsey
+
+	* Update distance_sphere and distance_spheroid to back onto new
+	  geodetic handlers and support generic geometry.
+
+2009-10-31 00:10  pramsey
+
+	* Tighten up geometry->geography case (#265)
+
+2009-10-31 00:01  pramsey
+
+	* Add ST_Length() implementation on spheroid and rationalize the
+	  sphere/spheroid implementations into
+	  a smaller shared set of functions.
+
+2009-10-30 20:45  pramsey
+
+	* Add in spheroid calculations for ST_Distance and ST_DWithin.
+
+2009-10-30 19:00  robe
+
+	* Add link to new compatibility matrix
+
+2009-10-29 20:31  colivier
+
+	* Change dimension to srsDimension (GML 3.1.1)
+
+2009-10-29 20:21  colivier
+
+	* Change attribute dimension into srsDimension (GML 3.1.1), cf #276
+
+2009-10-29 19:53  pramsey
+
+	* Minor changes for numerical stability. Remove logging.
+
+2009-10-29 19:41  pramsey
+
+	* Increase precision of minor axis constant.
+
+2009-10-29 19:24  pramsey
+
+	* Spheroid distance calculation between points added.
+
+2009-10-29 18:42  colivier
+
+	* Add mixed GML srs support. Add ability to deal with lat/lon issue
+	  in GML 3. Fix GML collection units tests. Update units tests
+
+2009-10-29 18:40  colivier
+
+	* Expose transform_point, make_project and GetProj4StringSPI.
+	  Creation of lwgem_transform.h
+
+2009-10-29 14:21  colivier
+
+	* Update unit test result, related to error message change (r4662
+	  in lwgeom_transform.c)
+
+2009-10-29 14:08  colivier
+
+	* Add attribute dimension in gml:pos and gml:posList. Fix
+	  geometrycollection invalid GML output. Update units test. Cf #276
+
+2009-10-28 23:05  pramsey
+
+	* Note why the penalty function was changed.
+
+2009-10-28 23:02  pramsey
+
+	* Remove overly clever penalty calculation and improve index
+	  structure a lot!
+
+2009-10-28 18:38  pramsey
+
+	* Fill in actual error condition
+
+2009-10-28 18:20  pramsey
+
+	* Fix error in picksplit routine, perhaps will fix balance problem.
+
+2009-10-28 12:13  robe
+
+	* slight attribution update
+
+2009-10-28 11:56  robe
+
+	* minor update to release notes (copying content from branch 1.3
+	  not in trunk)
+
+2009-10-28 11:47  robe
+
+	* switch pretty tag back to credits -- already linked in
+	  reference.xml
+
+2009-10-28 11:40  robe
+
+	* update credits to include breakout of PSC and bump up people with
+	  commit access and currently committing work
+
+2009-10-28 11:05  robe
+
+	* copy release notes text from branch 1.4 which is strangely more
+	  up to date.
+
+2009-10-28 10:58  robe
+
+	* correct links to postgis bug tracker and subversion repository.
+	  Also amend the release_notes section to reflect newer version
+	  changes
+
+2009-10-27 21:39  colivier
+
+	* Fix huge number overflow in export functions, cf #277
+
+2009-10-24 16:37  colivier
+
+	* Add multi data coordinates support. Add unit test case data_1
+
+2009-10-24 16:35  colivier
+
+	* Add ptarray_merge function
+
+2009-10-23 23:16  pramsey
+
+	* Update personal information.
+
+2009-10-23 16:01  robe
+
+	* typo in example
+
+2009-10-23 15:51  robe
+
+	* put in availability note for ST_GeomFromGML, link back from
+	  ST_AsGML, note about libxml2 required
+
+2009-10-23 13:26  robe
+
+	* Preliminary documentation for ST_GeomFromGML and logic to support
+	  gml input parameters
+
+2009-10-22 14:08  colivier
+
+	* Use ptarray_isclosed3d to check if 3D rings are closed also on Z.
+	  Update units tests cases
+
+2009-10-22 14:06  colivier
+
+	* Add ptarray_isclosed3d function
+
+2009-10-20 15:30  robe
+
+	* fix typo in libxml deactivated notice
+
+2009-10-20 13:07  colivier
+
+	* Add HAVE_LIBXML2
+
+2009-10-20 12:54  colivier
+
+	* Add initial version of GeomFromGML function, and units tests
+	  cases.
+
+2009-10-20 12:51  colivier
+
+	* Add libxml2 support (needed by GeomFromGML)
+
+2009-10-19 12:53  robe
+
+	* update to include ST_Length for geography
+
+2009-10-19 05:05  pramsey
+
+	* Add _ST_BestSRID(Geography) utility function to support
+	  ST_Buffer(geography, radius) hack that casts back and forth to
+	  geometry.
+
+2009-10-18 21:15  pramsey
+
+	* Add in support for magic srid numbers that will always be
+	  available for UTM WGS84 and polar stereography. Will be used in
+	  wrappers that allow geometry functions to be applied to
+	  geography.
+
+2009-10-18 04:19  pramsey
+
+	* ST_Length(geography) per #266
+
+2009-10-16 23:30  pramsey
+
+	* Muck with index logging code.
+
+2009-10-16 16:33  mcayland
+
+	* Fix the geography <column> && <column> selectivity code. Now the
+	  answers between geometry and geography are reasonably similar :)
+
+2009-10-16 16:31  mcayland
+
+	* Commit a first-hack attempt at a script to test the geography
+	  join estimation code.
+
+2009-10-16 16:23  mcayland
+
+	* Change "Mixed Geometry Types" message into a warning rather than
+	  an error in the existing join estimation test script.
+
+2009-10-16 13:33  robe
+
+	* revise to test && against table and also put in some floating
+	  points to make tests more interesting
+
+2009-10-16 13:01  robe
+
+	* #269 get rid of geography -> geometry implicit to make it an
+	  explicit cast
+
+2009-10-16 09:37  strk
+
+	* Tell what the default is for -N in help output and README file
+
+2009-10-15 17:50  mcayland
+
+	* Update the TYPMOD_SET_* macros in the same way as for the
+	  FLAGS_SET_* macros earlier, so that they actually change the
+	  variable they reference.
+
+2009-10-15 17:45  mcayland
+
+	* Add (slightly hacked) version of geography selectivity test
+	  script to the repo.
+
+2009-10-15 17:44  mcayland
+
+	* Fix test_estimation.pl script so it doesn't require oids - no-one
+	  uses these in the 21st century...
+
+2009-10-15 15:35  mcayland
+
+	* Alter the FLAGS_SET_* macros so that they actually update the
+	  specified flag variable, rather than just returning the new value
+	  of the flag variable.
+
+2009-10-15 14:48  mcayland
+
+	* Fix for column intersection geography queries sometimes returning
+	  "lwgeom_get_gbox_geodetic: non-geodetic gbox provided" during
+	  execution - a missing initialisation bug.
+
+2009-10-14 16:57  mcayland
+
+	* Re-enable ANALYZE hook, now that it doesn't crash upon loading
+	  Paul's test dataset anymore.
+
+2009-10-14 16:22  mcayland
+
+	* Don't use the default (integer) version of abs() during floating
+	  point calculations...
+
+2009-10-13 19:50  pramsey
+
+	* Much better fix for NaN area problem.
+
+2009-10-13 19:39  pramsey
+
+	* HAck fix for NaN areas.
+
+2009-10-11 02:03  pramsey
+
+	* Don't copy bboxes from lwgeom to gserialized when working with
+	  geodetics. (#263)
+
+2009-10-10 16:59  robe
+
+	* update to include ST_Covers geography
+
+2009-10-10 15:43  robe
+
+	* update ST_Area with geography examples
+
+2009-10-10 03:18  pramsey
+
+	* Add geometry(geography) case per #257
+
+2009-10-10 00:08  pramsey
+
+	* Fix ST_Area(geography) calculation to be more... correct.
+
+2009-10-09 19:23  pramsey
+
+	* Add implementation for ST_Covers(geography, geography) in
+	  point-in-polygon case.
+
+2009-10-09 18:07  pramsey
+
+	* Fix incorrect use of flags macros
+
+2009-10-09 16:51  pramsey
+
+	* One more fix for #260.
+
+2009-10-09 16:07  pramsey
+
+	* Fix for #261 (spurious dimension difference errors)
+
+2009-10-09 10:39  robe
+
+	* Put in proto for ST_Area(geography). Still need to put in example
+	  but my ST_Area is non-existent will double-check why.
+
+2009-10-09 04:16  pramsey
+
+	* Add ST_PointOutside() function for testing purposes.
+
+2009-10-08 19:40  pramsey
+
+	* Make geographic point initialization slightly more efficient
+	  (avoid doing it twice for each vertex)
+
+2009-10-08 18:59  pramsey
+
+	* Make error messages slightly less opaque
+
+2009-10-08 18:41  pramsey
+
+	* Comment out analyze argument in geometry type creation -- it is
+	  causing a crash for me when loading my test data tables.
+
+2009-10-08 17:10  pramsey
+
+	* Change radius figure to common average.
+
+2009-10-08 17:04  pramsey
+
+	* Reformat SQL lines with tabs
+
+2009-10-08 11:43  robe
+
+	* revise readme to include link to instructions for garden test
+
+2009-10-08 11:40  robe
+
+	* Revise to have function list past in as arg to xsltproc
+
+2009-10-08 10:29  mcayland
+
+	* Commit first attempt at working geography index selectivity - the
+	  conversion should be there, however it needs some kind of test
+	  harness to verify some of the results.
+
+2009-10-08 05:35  pramsey
+
+	* ST_Area(geography) implementation and SQL bindings.
+
+2009-10-07 14:26  pramsey
+
+	* Make the calculation of gboxes a little simpler in the db level
+	  code.
+
+2009-10-07 12:16  mcayland
+
+	* Fix #179: ST_MakeLine and ST_MakeLine_Garry crash server with
+	  null arrays again. There was another non-NULL safe array iterator
+	  within LWGEOM_makeline_garray.
+
+2009-10-07 11:52  robe
+
+	* Add table with multiple nulls to garden of geometries.
+	  Evidentally -- there are some NULL bugs that escape trapping with
+	  just a single null geometry in the table.
+
+2009-10-07 04:38  robe
+
+	* flip order of ST_Relate protos as Martin observes it doesn't
+	  match our description
+
+2009-10-07 03:38  pramsey
+
+	* Put prototypes into place
+
+2009-10-07 03:37  pramsey
+
+	* Change from pass by reference to pass by value
+
+2009-10-07 03:35  pramsey
+
+	* Short circuit the edge intersection test when the gboxes are
+	  disjoint
+
+2009-10-06 16:16  mcayland
+
+	* First attempt at porting the estimate_selectivity() function to
+	  handle 3 dimensions. Note this is mostly untested at the moment,
+	  as this is only the function that cuts the relevant section out
+	  of the histogram. We still need to plug this into the PostgreSQL
+	  infrastructure.
+
+2009-10-06 13:51  mcayland
+
+	* Fix #258: ST_HausdorffDistance crashes server. Another geometry
+	  free typo (same as #241) in both st_hausdorffdistance() and
+	  st_hausdorffdistancedensify().
+
+2009-10-06 13:43  mcayland
+
+	* Fix #241: ST_LineCrossingDirection Server Crash (Segfault) caused
+	  by a typo freeing the wrong parameter.
+
+2009-10-06 12:02  robe
+
+	* Put NULL safety tests back in now that Mark has fixed aggregate
+	  collection bug
+
+2009-10-06 11:15  robe
+
+	* Turn of Paul's accidental commit of fanboy mac enabled random
+	  test
+
+2009-10-06 10:49  mcayland
+
+	* Fix compilation bug when debug is enabled.
+
+2009-10-06 10:15  mcayland
+
+	* Fix another non-NULL safe array iteration within
+	  LWGEOM_collect_garray, as discovered by Regina's torture tests.
+
+2009-10-06 08:52  mcayland
+
+	* Move CFLAGS after the PGXS include directive, so that the
+	  autotools configuration doesn't getting overwritten by the PGXS
+	  version. Required when passing custom compiler f
+	  lags into PostGIS as reported by William Kyngesburye.
+
+2009-10-06 04:59  pramsey
+
+	* Make db implementation consistent with liblwgeom
+
+2009-10-06 04:50  pramsey
+
+	* Change signatures for lwgeom distance sphere
+
+2009-10-06 04:19  pramsey
+
+	* New point-outside routine, and allow distances against empty
+	  geometries.
+
+2009-10-05 21:15  kneufeld
+
+	* updated ST_IsValid's reference to the OGC specs.
+
+2009-10-05 19:43  pramsey
+
+	* More test cases in there (but turned off, because they fail :(
+
+2009-10-05 19:38  pramsey
+
+	* Add untested new p-i-p approach for more testing later.
+
+2009-10-05 16:17  mcayland
+
+	* Commit first attempt at a multi-D statistics histogram builder.
+	  Note that while geodetic data is inherently 3D, the builder also
+	  contains code to handle lower dimension cartesian coordinates,
+	  which should make porting to ggeometry easier at a later date. At
+	  the moment there are no selectivity routines which actually use
+	  the histograms for real queries, however a reasonably convincing
+	  histogram is created in pg_statistic and all regression tests
+	  pass here.
+
+2009-10-05 14:37  pramsey
+
+	* Increase precision.
+
+2009-10-05 14:37  pramsey
+
+	* Add another printing block
+
+2009-10-05 12:52  robe
+
+	* more errors in my logic
+
+2009-10-05 11:45  robe
+
+	* more corrections
+
+2009-10-05 05:05  pramsey
+
+	* Added new point-on-edge routine still no joy on bad test case.
+
+2009-10-04 22:26  pramsey
+
+	* Add another test case that needs resolution
+
+2009-10-04 01:41  pramsey
+
+	* Add SQL bindings for selectivity functions.
+
+2009-10-04 00:52  pramsey
+
+	* revert to previous version
+
+2009-10-04 00:51  pramsey
+
+	* Some fixes to the ST_DWithin code.
+
+2009-10-02 20:07  robe
+
+	* more changes to better test geography
+
+2009-10-02 19:24  robe
+
+	* cosmetic change to tolerance args for ST_DWithin
+
+2009-10-02 19:21  robe
+
+	* put create table examples in program listing tag
+
+2009-10-02 19:08  robe
+
+	* add geography proto for ST_DWithin, also fill in some
+	  availability marks forgotten.
+
+2009-10-02 18:44  robe
+
+	* Add geography example for ST_Distance, more geometry examples and
+	  amend to reflect its in meters
+
+2009-10-02 18:28  pramsey
+
+	* Largely untested implementation of ST_DWithin(geography,
+	  geography).
+	  We're in business baby!
+
+2009-10-02 14:13  strk
+
+	* typo in help message
+
+2009-10-02 01:38  pramsey
+
+	* Make the units of st_distance(geography, geography) meters
+
+2009-10-01 23:54  pramsey
+
+	* Fix boner error
+
+2009-10-01 21:18  robe
+
+	* typos
+
+2009-10-01 20:37  robe
+
+	* put in ST_Distance proto for geography so can test it.
+
+2009-10-01 19:50  pramsey
+
+	* ST_Distance(geography, geography) roughed in. Small detail,
+	  currently returns answers in radians. :)
+
+2009-10-01 18:45  pramsey
+
+	* Add polygon/point distance and tests.
+
+2009-10-01 14:52  pramsey
+
+	* Wow, error that only showed up in MinGW, but totally an error. I
+	  wonder why my test passed this... clean memory I guess.
+
+2009-10-01 05:53  pramsey
+
+	* lwgeom sphere distance function and tests for point/linestring
+
+2009-09-30 23:59  pramsey
+
+	* Roughing in lwgeom distance machinery now.
+
+2009-09-30 23:03  pramsey
+
+	* Add edge-edge distance tests.
+
+2009-09-30 21:45  pramsey
+
+	* Add return value for point of closest approach on arc/edge
+	  distance.
+
+2009-09-30 21:21  pramsey
+
+	* Add edge-to-point distance calculation and tests
+
+2009-09-30 19:34  pramsey
+
+	* Remove CPU intensive test and add some lat/lon utility functions
+
+2009-09-30 19:02  pramsey
+
+	* Make point-in-edge test even looser (fp tolerance factor)
+
+2009-09-30 18:57  pramsey
+
+	* Move defines around a bit.
+
+2009-09-30 18:54  pramsey
+
+	* Add some debugging blocks for later
+
+2009-09-30 18:28  pramsey
+
+	* Add in special case test for parallel / equal edges.
+
+2009-09-30 17:12  pramsey
+
+	* Whoops, make sure we test all our test cases.
+
+2009-09-30 17:09  pramsey
+
+	* Make random brute force test a compile-time option.
+
+2009-09-30 17:05  pramsey
+
+	* Add more test cases for geocentric bbox calculation and make 'in
+	  cone' test inclusive of end points.
+
+2009-09-30 15:50  robe
+
+	* more fixes to make geography friendly
+
+2009-09-30 14:10  strk
+
+	* Can't put backslash-commands in 'echo' parameter in a standard
+	  way
+	  (would take -e in some cases) so replace \t with some spaces
+
+2009-09-30 08:39  strk
+
+	* add missing newline at end of error message (utf8/iconv)
+
+2009-09-30 00:17  pramsey
+
+	* Re-enable all geodetic tests.
+
+2009-09-30 00:11  pramsey
+
+	* Add some extra comments
+
+2009-09-29 20:44  pramsey
+
+	* astyle the work thus far
+
+2009-09-29 20:41  pramsey
+
+	* Flip the clairaut calculations to return both top and bottom in
+	  one go.
+
+2009-09-29 19:53  pramsey
+
+	* Remove old GBOX test answers (some were wrong!) in favor of
+	  actual slow calculations
+
+2009-09-29 19:50  pramsey
+
+	* Add randomized box maker/checker... still some small errors?
+
+2009-09-29 19:02  pramsey
+
+	* Make polygon pole check a little more general.
+
+2009-09-29 18:48  pramsey
+
+	* All bbox test cases now pass. Suck on that!
+
+2009-09-29 15:55  robe
+
+	* remove null geometry from testing until we fix aggregate null
+	  crashing bug. Also fix multipolygonz and m not returning those
+	  geometry types.
+
+2009-09-29 14:40  pramsey
+
+	* Remove un-used function from testing.
+
+2009-09-29 14:39  pramsey
+
+	* Work on making "on edge" test more reliable.
+
+2009-09-29 13:31  strk
+
+	* Ensure lwcollection_segmentize2d always return a NEW geometry.
+	  Fixes ticket #254. Add regression test for that bug.
+
+2009-09-29 12:42  robe
+
+	* Add missing protos for geography for ST_AsKML, ST_AsGeoJSON,
+	  ST_AsSVG, ST_AsGML. Revise xml parser special index generator to
+	  not dupe when multiple protos with geography
+
+2009-09-29 12:23  robe
+
+	* Put in overload text for ST_AsText and ST_AsBinary to prevent the
+	  function .. is not unique when passing in text (unknown) rep of a
+	  geometry. Still need to do this for ST_AsKML etc. that Olivier
+	  just put in.
+
+2009-09-29 07:45  colivier
+
+	* Update documentation related to geography typmod export functions
+	  (r4535, r4536)
+
+2009-09-29 06:34  robe
+
+	* Add a new special index section to collect functions that take as
+	  input or output geography data type. Also give pretty anchor to
+	  PostGIS Geography section
+
+2009-09-28 22:45  pramsey
+
+	* Test re-org and first cut at edge intersection.
+
+2009-09-28 18:31  colivier
+
+	* A forgot prototype in ST_AsGeoJson export function
+
+2009-09-28 18:16  colivier
+
+	* Add geography typmod support for export functions (ST_AsGML,
+	  ST_AsGeoJson, ST_KML, St_AsSVG). Create lwgeom_export.c and
+	  lwgeom_export.h to factorize common export functions routines.
+
+2009-09-25 13:32  robe
+
+	* remove regex.h include per Nicklas observation its still in
+	  there.
+
+2009-09-23 18:15  pramsey
+
+	* Add SQL def'n for geography_analyze function.
+
+2009-09-23 16:11  robe
+
+	* another typo
+
+2009-09-22 21:56  robe
+
+	* missing spots for geography.sql and postgis_comments.sql
+
+2009-09-22 21:53  robe
+
+	* correct typo
+
+2009-09-22 21:14  robe
+
+	* start putting in geography functions
+
+2009-09-22 13:38  mcayland
+
+	* Commit fix to LW_ABS() macro as discovered by Nicklas Aven.
+
+2009-09-22 13:09  mcayland
+
+	* Add the basic machinery to call a function when running VACUUM
+	  ANALYZE on a geography column - the more interesting parts are
+	  yet to come ;)
+
+2009-09-22 12:27  robe
+
+	* get rid of things like invalid coords for 4326 space tripping up
+	  geography testing.
+
+2009-09-22 11:53  mcayland
+
+	* Oops - forgot to bump the array indices on the last commit :(
+
+2009-09-22 11:27  robe
+
+	* Update installation to include geography.sql (yikes we still had
+	  install lwpostgis.sql -- no wonder people are so confused). Also
+	  upped required to 8.3
+
+2009-09-22 11:23  robe
+
+	* cut in Paul's geography.txt into the official docs. Didn't notice
+	  it before :(. We might need a whole new chapter for this to do it
+	  justice but will deal with formatting later.
+
+2009-09-22 11:23  mcayland
+
+	* Add missing geometry(m)(z) type missing from previous commit.
+
+2009-09-22 11:13  mcayland
+
+	* Remove dependency on regex library by implementing the same
+	  functionality using standard C functions. Passes regression tests
+	  for me.
+
+2009-09-22 00:06  pramsey
+
+	* Change signatures to use fewer pointers.
+
+2009-09-21 10:57  mcayland
+
+	* Update LWDEBUG(F)/POSTGIS_DEBUG(F) macro debug levels to follow
+	  the standard in postgis/DEBUG.
+
+2009-09-21 10:50  mcayland
+
+	* Change macros to use capitalised names, as per standard C
+	  convention. This means it is possible at a glance to determine
+	  what is a macro and what is a function.
+
+2009-09-20 08:15  robe
+
+	* fix typos and redundant things
+
+2009-09-20 08:10  robe
+
+	* flag some operators that support geography, put in logic to test
+	  for geography marked functions
+
+2009-09-20 07:50  robe
+
+	* 
+
+2009-09-20 07:45  robe
+
+	* Make slot for geography data type and start filling in details
+
+2009-09-18 14:53  pramsey
+
+	* Clean up tests so they pass quietly. (#249)
+
+2009-09-18 14:10  robe
+
+	* #250: Fix to get mingw to compile using conditional -lregex
+	  Had to change configure.ac too so -lregex is not put in if its
+	  built-in.
+
+2009-09-17 15:44  robe
+
+	* Revise garden test to include testing for creating geography
+	  types. Still needs a bit more work. Also discovered more crashers
+	  to put in bug list (not all related to geography)
+
+2009-09-17 05:57  pramsey
+
+	* Fix serialization problem with lwgeoms that have bboxes.
+
+2009-09-17 05:33  pramsey
+
+	* Clean up gbox serialization a little
+
+2009-09-17 02:33  pramsey
+
+	* Add lwgeom_is_empty() test
+
+2009-09-17 00:01  pramsey
+
+	* Work on tracking down bug in casting geometry->geography
+
+2009-09-16 22:43  pramsey
+
+	* Fix some test cases crossing the date line
+
+2009-09-16 21:09  pramsey
+
+	* Add gbox string constructor for testing purposes
+
+2009-09-16 20:19  pramsey
+
+	* More tests pass
+
+2009-09-16 18:54  pramsey
+
+	* Change back to less intensive cartesian clairaut
+
+2009-09-16 18:50  pramsey
+
+	* Fix errors in calculating geocentric bounds. Early test cases now
+	  pass!
+
+2009-09-15 21:21  pramsey
+
+	* Hook geocentric calculation into gbox routines, start testing
+
+2009-09-15 19:50  pramsey
+
+	* Geocentric bounding box roughed in and compiles.
+
+2009-09-14 20:30  pramsey
+
+	* Start the geodetic machinery. Add an internal API header for
+	  eventual API rationalisation
+
+2009-09-14 18:33  pramsey
+
+	* Crib index penalty tweak from pgsphere.
+
+2009-09-14 18:15  pramsey
+
+	* Add FP_EQUALS and bracket arguments for a little extra safety
+
+2009-09-14 17:01  kneufeld
+
+	* fix for POPULATE_GEOMETRY_COLUMNS - remove hard-coded "public"
+	  schema references.
+
+2009-09-14 10:54  mcayland
+
+	* Merge Paul's geodetic (geography) branch into trunk, as per
+	  discussions on postgis-devel. Most of the merge was automatic
+	  (albeit quite slow), with a few manual touch-ups where the merge
+	  algorithm couldn't handle this automatically. "make check" runs
+	  and passes, so I hope I haven't managed to break too much ;)
+
+2009-09-12 04:01  robe
+
+	* formatting cleanup
+
+2009-09-12 03:43  robe
+
+	* Add more line crossings. change tab to 4 spaces
+
+2009-09-12 03:12  robe
+
+	* define new styles mediumline and use those
+
+2009-09-11 21:24  robe
+
+	* add new st_linecrossing graphic, experiment with new style, put
+	  in informal table
+
+2009-09-11 12:40  robe
+
+	* incomplete finish later
+
+2009-09-11 12:26  robe
+
+	* make arrow and start separate to see if it shows better
+
+2009-09-11 06:04  robe
+
+	* revise example so scales well on 200 x 200 grid
+
+2009-09-11 03:19  kneufeld
+
+	* added a few comments to aid in image generation.
+
+2009-09-10 06:34  robe
+
+	* round digits
+
+2009-09-10 06:19  robe
+
+	* 
+
+2009-09-10 05:56  robe
+
+	* try geometry collection instead
+
+2009-09-10 05:54  robe
+
+	* 
+
+2009-09-10 05:39  robe
+
+	* typo in makefile
+
+2009-09-10 05:27  robe
+
+	* first attempt at figure for st_linecrossingdirection. Also query
+	  correction.
+
+2009-09-10 04:10  robe
+
+	* figure for st_line_substring
+
+2009-09-10 04:03  robe
+
+	* figure of st_line_interpolate_point
+
+2009-09-08 06:09  robe
+
+	* better fit example
+
+2009-09-08 05:28  robe
+
+	* typos
+
+2009-09-08 05:24  robe
+
+	* forgot wkt
+
+2009-09-08 05:24  robe
+
+	* figure for minimum bounding circle
+
+2009-09-05 17:31  robe
+
+	* Some wording changes and addition of figure for st_difference
+
+2009-09-05 17:11  robe
+
+	* formatting change
+
+2009-09-05 16:55  robe
+
+	* add figures for st_symdifference and slight update on
+	  st_convexhull
+
+2009-09-04 18:43  kneufeld
+
+	* added images as a requirement to the chunked-html target
+
+2009-09-04 18:24  kneufeld
+
+	* made the 'images' a requirement for pdf generation
+	  changed the background of the generated images to white instead
+	  of being transparent.
+
+2009-09-01 18:57  robe
+
+	* minor formatting
+
+2009-09-01 18:34  robe
+
+	* better convex hull example
+
+2009-08-28 19:10  robe
+
+	* 
+
+2009-08-28 18:58  robe
+
+	* better visual convex hull
+
+2009-08-28 18:38  robe
+
+	* Put in image of ST_ConvexHull
+
+2009-08-28 17:41  robe
+
+	* put in alpha order
+
+2009-08-28 17:32  robe
+
+	* get rid of extra space
+
+2009-08-28 17:23  robe
+
+	* Make gaping hole more gaping, make code table 1 column instead of
+	  2
+
+2009-08-28 16:44  robe
+
+	* improve on st_buildarea code formatting
+
+2009-08-28 15:37  kneufeld
+
+	* Changing MULTIPOLYGON into several POLYGONs so the image
+	  generating WKT parser doesn't fail.
+
+2009-08-28 15:16  kneufeld
+
+	* added a small How To section, referencing the wiki on how to
+	  generate images used in the documentation.
+
+2009-08-28 12:03  robe
+
+	* Add pictures for ST_BuildArea examples
+
+2009-08-28 11:34  robe
+
+	* Commit jlivni documentation addition and update with minor
+	  comment for PostgreSQL 8.4 users and notice about obsolete
+	  settings. Also put in hyperlinks back to the current interactive
+	  version of PostgreSQL manual for each part.
+
+2009-08-23 02:20  robe
+
+	* change lwpostgis to postgis and example to show 1.5.0SVN
+
+2009-08-17 13:22  pramsey
+
+	* Initialize counter to ensure later test works (#239)
+
+2009-08-17 13:19  pramsey
+
+	* Add comment and clearer information to fix for #239
+
+2009-08-17 11:37  robe
+
+	* revert order of availability. Revise xsl to pick up
+	  availabilities embedded in note tag
+
+2009-08-17 11:29  robe
+
+	* debugging why not showing in new section
+
+2009-08-17 02:59  pramsey
+
+	* Fix for handling of empty geometrycollection in asssvg (#239)
+
+2009-08-16 15:03  robe
+
+	* update svg availability note
+
+2009-08-16 14:49  robe
+
+	* Correct ST_AsSVG command to reflect introduction of L command
+
+2009-08-16 05:34  robe
+
+	* add null and empty geometry collection to garden variety geometry
+	  list
+
+2009-08-16 05:29  robe
+
+	* cast null to geometry
+
+2009-08-16 05:09  robe
+
+	* Version of garden test to allow selecting a subset of functions
+	  to test.
+
+2009-08-16 04:41  robe
+
+	* update ST_buffer (include buffer style in refpuprose so shows in
+	  postgresql function descrip),
+	  update refpurpose of hausdorf and include useful links for more
+	  details
+
+2009-08-13 00:37  mleslie
+
+	* Removing accidental commit from r4366.
+
+2009-08-11 16:38  strk
+
+	* Add ChangeLog.svn rule, and auxiliary authors file
+
+2009-08-07 03:38  mleslie
+
+	* Fix for ticket #234
+
+2009-08-05 18:09  pramsey
+
+	* Remove printfs from code.
+
+2009-08-01 18:33  robe
+
+	* update ST_Line_Locate ... with example of closest point. Asked
+	  way too many times on postgis news groups
+
+2009-07-30 16:03  mcayland
+
+	* Remove quotes from PATH in regression Makefile, as it seems that
+	  the last MingW hack doesn't need this any more.
+
+2009-07-18 20:01  mcayland
+
+	* Fix for Windows combining stdout/stderr when executing the
+	  $(shell) command.
+
+2009-07-18 19:01  mcayland
+
+	* Apply fix to allow regression tests to run on MingW by fixing
+	  PATH and removing trailing CR/LFs on some outputs.
+
+2009-07-18 18:45  mcayland
+
+	* Fix regression regex listings so that the newer "LINE n:" lines
+	  and lines containing just a position indicator (^) introduced in
+	  PostgreSQL 8.4 are removed from the regression output.
+
+2009-07-16 21:32  mcayland
+
+	* Move SERIALIZED_FORM to lwgeom_pg.h from liblwgeom.h since it
+	  references a PostgreSQL-only structure. Per report from Nicklas
+	  Aven.
+
+2009-07-16 21:26  mcayland
+
+	* Commit patch for missing lw_asprintf() from #222.
+
+2009-07-13 17:27  pramsey
+
+	* MinGW fix for loader (#222), Mark Cave-Ayland
+
+2009-07-13 16:57  pramsey
+
+	* ignore copied version of postgis.sql
+
+2009-07-13 16:57  pramsey
+
+	* ignore generated images
+
+2009-07-08 22:43  robe
+
+	* Put in availability and GEOS for Hausdorff distance
+
+2009-07-08 22:39  pramsey
+
+	* match header format
+
+2009-07-08 16:27  strk
+
+	* Update instructions for testing (and moved that step *before*
+	  install - finally!)
+
+2009-07-08 16:03  strk
+
+	* Pre-install check rule by Paul cleaned up to allow top-level run
+	  and correct dependencies. See issue #219.
+
+2009-07-08 15:28  pramsey
+
+	* Remove images from clean target
+
+2009-07-08 15:16  pramsey
+
+	* Remove CUnit dependency
+
+2009-07-08 15:15  pramsey
+
+	* clean doc images as part of clean
+
+2009-07-08 15:09  pramsey
+
+	* Fix itglish.
+
+2009-07-08 04:59  mcayland
+
+	* Fix #112: ST_CurveToLine sometimes crashes server. While the
+	  circle segmentiser detected colinear circle points, it didn't
+	  check for the
+	  NULL pointer returned in this case. Since we are converting to a
+	  line, the current behaviour is to simply append the circle points
+	  as s
+	  tandard line points.
+
+2009-07-08 04:48  mcayland
+
+	* Fix #183: ST_LineToCurve gives getPoint4d_p offset error. This
+	  was due to the lookahead in the curve segmentising code going off
+	  the end of the point array.
+
+2009-07-08 00:20  pramsey
+
+	* Change error message to be more relevant
+
+2009-07-07 15:44  strk
+
+	* It's "synonym", not "synonim"...
+
+2009-07-07 15:03  strk
+
+	* For buffer parameters: accept 'butt' as a synonim for 'flat',
+	  'miter' for 'mitre' and 'miter_limit' for 'mitre_limit'.
+
+2009-07-07 13:18  strk
+
+	* Fix join style images to match calls
+
+2009-07-07 10:33  mcayland
+
+	* Fix compile problems on non-GNU systems by using va_copy as an
+	  alias onto the real version. Per report from Stefano Bonnin.
+
+2009-07-06 16:07  strk
+
+	* Don't use strtok_r, to help with MingW builds.
+
+2009-07-06 07:37  robe
+
+	* forgot to save last change
+
+2009-07-06 07:37  robe
+
+	* slight correction
+
+2009-07-06 07:33  robe
+
+	* Update style on commenting required to be picked up by doxygen
+
+2009-07-05 21:41  mcayland
+
+	* Alter loader Makefile to include PGXS so that we can extract
+	  DESTDIR to use for the location for shp2pgsql/pgsql2shp. Per
+	  report from Devrim GÜNDÜZ.
+
+2009-07-03 07:21  robe
+
+	* update st_pointn to note it supports circular strings and curves
+
+2009-07-03 04:57  kneufeld
+
+	* removed the images used in the documentation since these are now
+	  generated automatically using ImageMagick.
+
+2009-07-03 04:56  kneufeld
+
+	* updated the doc's README file
+	  made "images" a target to "all" so the images get automatically
+	  generated when calling make with no parameters.
+
+2009-07-02 16:57  pramsey
+
+	* Add SQL/MM item
+
+2009-07-02 16:31  pramsey
+
+	* Build doc images as part of distribution build.
+
+2009-07-02 16:29  pramsey
+
+	* add generator to ignore
+
+2009-07-02 16:00  pramsey
+
+	* more notes on requirements
+
+2009-07-02 08:31  mleslie
+
+	* Making the changes from r4244 and r4245 onto trunk, addressing
+	  ticket 212.
+
+2009-07-01 16:56  pramsey
+
+	* Bring this up to date.
+
+2009-07-01 15:42  pramsey
+
+	* Fix bad memory access in aggregates on nulls (#210), Mark
+	  Cave-Ayland.
+
+2009-07-01 12:30  robe
+
+	* arg should be text not string for st_buffer
+
+2009-07-01 11:53  robe
+
+	* amend documentation on curved support to include new compound
+	  curve in curve polygon support.
+
+2009-06-30 07:46  mleslie
+
+	* Enabling the compound curve parsing for segmentisation; reported
+	  in ticket 213
+
+2009-06-30 07:35  mleslie
+
+	* First swing at ticket 212.
+
+2009-06-26 13:43  robe
+
+	* slight correction some functions are not new but enhanced
+
+2009-06-26 13:33  robe
+
+	* change ST_Buffer argname from params to buffer_style_params so
+	  torture test can eventually properly exercise it and not feed it
+	  garbage params
+
+2009-06-26 13:30  robe
+
+	* update ST_Buffer so appears in new in PostGIS 1.5 section
+
+2009-06-26 13:22  robe
+
+	* try to fix hudson build error
+
+2009-06-26 12:43  robe
+
+	* Update special index to include a what is new in 1.5 section
+
+2009-06-26 09:35  mcayland
+
+	* Unbreak the PostGIS universe for people who aren't using GEOS SVN
+	  (will be 3.2).
+
+2009-06-25 12:01  strk
+
+	* Put queries right below the diagram showing them
+
+2009-06-25 12:00  strk
+
+	* Make quad_segs images style consistent with others; add original
+	  point
+
+2009-06-25 11:19  strk
+
+	* Add more styled buffer example images and update reference manual
+	  to include them
+
+2009-06-25 10:57  strk
+
+	* Use thin link style for source linestring
+
+2009-06-25 08:16  strk
+
+	* Add examples of different encdap styles
+
+2009-06-25 07:34  strk
+
+	* Add item for parametrized buffers
+
+2009-06-25 03:32  robe
+
+	* More cleanup of code comments so function descriptions are picked
+	  up by doxygen
+
+2009-06-25 03:03  robe
+
+	* fix commenting style so function descriptions are picked up by
+	  doxygen
+
+2009-06-24 22:09  pramsey
+
+	* Add news item for #206
+
+2009-06-24 22:08  pramsey
+
+	* Add support for hausdorff distance calculations. Requires GEOS
+	  3.2+. (#209) From Vincent Picavet.
+	  If you are working off of GEOS trunk, svn up, compile and
+	  install!
+
+2009-06-24 17:10  strk
+
+	* Add uninstall lines for new buffer signatures
+
+2009-06-24 13:32  strk
+
+	* Add tests for parametrized buffer
+
+2009-06-24 13:04  strk
+
+	* Document third ST_Buffer signature (the one taking parameters as
+	  string).
+
+2009-06-24 11:18  mcayland
+
+	* Remove validation from shapefile to WKT/WKB conversion to retain
+	  same behaviour as 1.3. Final resolution for #198.
+
+2009-06-24 10:44  mcayland
+
+	* Fix accidental typo; module name hardcoded in the .sql.in.c file
+	  rather than being set to MODULE_PATHNAME. Fixes #208.
+
+2009-06-24 10:34  strk
+
+	* Use $$ quoting. See ticket #207.
+
+2009-06-23 22:40  strk
+
+	* Add _ST_Buffer(geom, distance, params); refactor other versions
+	  to all proxy to the new one.
+
+2009-06-23 20:57  pramsey
+
+	* Bump up to 1.5 in trunk
+
+2009-06-23 16:46  strk
+
+	* Fix dangerous use of message string as printf-like format.
+
+2009-06-23 16:38  strk
+
+	* Yet another buffer auto-cast test. With a different quadSegs this
+	  time to be really sure the argument is being used.
+
+2009-06-23 16:36  strk
+
+	* Add test for third argument to buffer() being a string (based on
+	  auto-cast)
+
+2009-06-22 03:12  robe
+
+	* Put in minimal GEOS requirement for ST_Covers and ST_CoveredBy.
+	  Its not necessary for 1.4 really but oh well.
+
+2009-06-20 22:13  strk
+
+	* Gracefully handle typed empty GEOS geometries.
+
+2009-06-20 21:26  strk
+
+	* Add tests for area() called against empty geometries
+
+2009-06-20 21:25  strk
+
+	* Handle empty polygon rings
+
+2009-06-19 17:12  robe
+
+	* get rid of ref_geom so doesn't break agg checks
+
+2009-06-19 15:13  robe
+
+	* test not handling aggregates right
+
+2009-06-19 14:18  robe
+
+	* typo in docs --
+
+2009-06-19 12:20  robe
+
+	* fix type and add --with-gui description for building loader gui
+
+2009-06-16 15:53  robe
+
+	* Forgot ST_MinimumBoundingCircle and credit Bruce Rindahl
+
+2009-06-15 17:48  pramsey
+
+	* More updates
+
+2009-06-15 17:42  pramsey
+
+	* Update doc instructions.
+
+2009-06-12 15:30  robe
+
+	* replace _VOLATILE_STRICT with VOLATILE STRICT
+
+2009-06-12 15:14  robe
+
+	* Change _VOLATILE to VOLATILE
+
+2009-06-11 16:44  pramsey
+
+	* astyle --style=ansi --indent=tab (#133)
+
+2009-06-11 16:31  pramsey
+
+	* remove file that should never have been added
+
+2009-06-11 15:52  pramsey
+
+	* Clean up old compatibility code. (#196)
+
+2009-06-11 13:28  mcayland
+
+	* Further fix for #156, and also #167 it seems. Looks like I forgot
+	  to apply the fix to the WKB routines aswell.
+
+2009-06-10 14:51  robe
+
+	* correct example
+
+2009-06-10 01:26  robe
+
+	* Add David Techer, new doco enhancements, new
+	  populate_geometry_columns
+
+2009-06-10 01:18  robe
+
+	* Add Jean David Techer to list of contributors
+
+2009-06-09 23:54  pramsey
+
+	* Update the hard upgrade script to handle 1.4 transition. (#144)
+
+2009-06-09 23:27  pramsey
+
+	* Closes (#134)
+
+2009-06-09 22:51  pramsey
+
+	* More work on 1.4 upgrade script.
+
+2009-06-09 22:14  pramsey
+
+	* More fixes to upgrade process.
+
+2009-06-08 23:21  pramsey
+
+	* Work on upgrade script.
+
+2009-06-08 22:33  pramsey
+
+	* Turn "CREATE OR REPLACE FUNCTION" into "CREATEFUNCTION" for
+	  preprocessing magic.
+
+2009-06-08 22:30  pramsey
+
+	* remove syntax error
+
+2009-06-08 19:40  pramsey
+
+	* Updated to EPSG 7.1 version (#191)
+
+2009-06-08 17:35  robe
+
+	* #190: populate_geometry_columns gives nonstandard use of \' in a
+	  string literal in 8.4
+
+2009-06-06 14:09  mcayland
+
+	* Add a new uninstall_postgis.sql file to the repository that will
+	  enable the complete removal of PostGIS from a database.
+
+2009-06-04 15:29  robe
+
+	* updated to make 8.2 minimum for Linux as well (its too confusing
+	  to have minimum 8.2 for windows and not for Linux as well)
+
+2009-06-04 15:20  robe
+
+	* change ReadME and installation to change minimum version from 8.1
+	  to 8.2 (not many people are running 8.1 and besides Paul already
+	  put in a DROP AGG IF EXISTS in upgrade script -- so binds us to
+	  8.2+ already. Besides I don't think we should be supporting more
+	  than 2 versions behind of latest PostgreSQL release in our trunk.
+	  Too much maintenance. Correct ReadME bug tracker link
+
+2009-06-04 14:17  pramsey
+
+	* Fix for #192.
+
+2009-06-03 23:56  pramsey
+
+	* Fix for issue #189, includes implicit requirement for 8.2+ in
+	  DROP AGGREGATE
+
+2009-06-03 23:07  pramsey
+
+	* Fix for issue #186
+
+2009-06-03 22:46  pramsey
+
+	* remove warnings from autoconf process
+
+2009-05-29 18:10  kneufeld
+
+	* small typo in Populate_Geometry_Columns doc
+
+2009-05-27 17:14  kneufeld
+
+	* performed an overhaul of the installation guide ... hopefully
+	  it's easier to follow.
+
+2009-05-26 18:35  kneufeld
+
+	* updated the comments-install make target
+
+2009-05-26 18:28  kneufeld
+
+	* added version numbers to the requirements section in the
+	  installation doc.
+
+2009-05-26 18:27  kneufeld
+
+	* added dblatex and convert to the status lines at the end of
+	  configure
+
+2009-05-26 18:10  kneufeld
+
+	* added postgis_aggs_mm.xml to the 'make clean' target
+
+2009-05-26 18:00  kneufeld
+
+	* added postgis_comments.sql as a target to the main makefile
+	  
+	  Since we don't want to add xsltproc as a dependency, this will
+	  remain separate for now:
+	  make comments
+	  make comments-install
+	  
+	  (the file should be removed by 'make uninstall')
+
+2009-05-26 17:24  robe
+
+	* make example fit the diagram in text
+
+2009-05-26 17:08  robe
+
+	* Make lame circle more lame
+
+2009-05-26 16:47  robe
+
+	* put in images for buffer, fix within example image and example
+	  query
+
+2009-05-26 16:26  robe
+
+	* for consistency make example be same as what is used to generate
+	  the image.
+
+2009-05-26 16:24  robe
+
+	* bad image try again
+
+2009-05-26 15:05  robe
+
+	* Add st_within example to makefile and translate example so in
+	  viewable region.
+
+2009-05-25 20:26  kneufeld
+
+	* added a status line to the main makefile that indicates if
+	  PostGIS was built successfully.
+
+2009-05-24 07:52  robe
+
+	* update to include behavior for 3D and also note this seems to go
+	  beyond what the spec defines.
+
+2009-05-22 23:22  kneufeld
+
+	* use a docbook variable instead
+
+2009-05-22 23:19  kneufeld
+
+	* didn't need the c preprocessor after all
+
+2009-05-22 22:14  kneufeld
+
+	* Added a Short Version section.
+	  Updated requirements.
+
+2009-05-22 22:07  kneufeld
+
+	* formatted installation.xml in preparation for editing
+
+2009-05-22 21:32  kneufeld
+
+	* added the xmlformatter conf file for pretty printing the
+	  documentation's xml files
+	  
+	  This will allow us to separate code changes from style changes in
+	  the docs.
+
+2009-05-20 11:16  robe
+
+	* Testing out Kevin's auto image generator hopefully I didn't break
+	  it.
+
+2009-05-20 10:54  robe
+
+	* Correct ST_GeometryN example -- sign was wrong. Also embellish by
+	  showing a multicurve and flag as working for multicurves
+
+2009-05-19 20:49  kneufeld
+
+	* added image examples to ST_Contains
+
+2009-05-19 03:44  robe
+
+	* Example exploding a compoundcurve, also reference to ST_GeometryN
+	  since they serve similar purposes
+
+2009-05-14 23:42  kneufeld
+
+	* added styles to the generated documentation images
+	  added ImageMagick as a dependency
+
+2009-05-09 12:53  mcayland
+
+	* Fix #178: ST_XMax() and ST_YMax() return incorrect values. This
+	  was caused by the fact that the min/max routines did not check
+	  whether the result for each axis was actually the min or max, but
+	  instead simply returned the structure value. Hence if an inverted
+	  coordinate system were being used, the wrong value would be
+	  returned.
+
+2009-05-09 12:34  mcayland
+
+	* Remove a double-free bug caused if the unparser finds an invalid
+	  geometry (fixes #168)
+
+2009-05-09 11:46  mcayland
+
+	* Correct erroneus formatting which was causing two comments to be
+	  nested and hence generating a compiler warning.
+
+2009-05-06 23:32  kneufeld
+
+	* removed horrible dos carriage returns
+	  - convert to unix
+
+2009-05-06 23:20  kneufeld
+
+	* Added code that will automatically generate the spatial images
+	  used in the documentation from WKT input.
+
+2009-05-06 18:11  robe
+
+	* typo
+
+2009-05-06 18:04  robe
+
+	* update with 1.3.6 items
+
+2009-05-05 19:40  pramsey
+
+	* Add 900913 to allow web mappers a smoother ride.
+
+2009-05-05 04:44  robe
+
+	* doxygen friendly comments
+
+2009-05-05 04:29  robe
+
+	* doxygen friendly comments
+
+2009-05-04 18:00  robe
+
+	* more doxygen comment cleanup
+
+2009-05-03 04:36  robe
+
+	* slight mod
+
+2009-05-03 04:32  robe
+
+	* make doco descriptions doxygen/javadoc friendly
+
+2009-05-03 03:58  robe
+
+	* make function doc doxygen friendly
+
+2009-05-03 03:50  robe
+
+	* make function descriptor doxygen friendly
+
+2009-05-03 03:33  robe
+
+	* enable alphabetical index
+
+2009-05-03 03:16  robe
+
+	* change commenting style to javadoc style
+
+2009-05-03 03:03  robe
+
+	* enable javadoc autobrief
+
+2009-05-02 09:40  robe
+
+	* make function descriptions doxygen friendly
+
+2009-05-02 07:13  robe
+
+	* make function descriptions doxygen friendly
+
+2009-05-02 06:27  robe
+
+	* Experimenting with Doxygen hyperlinking tags
+
+2009-05-01 22:47  robe
+
+	* More experimentation with doxygen commenting styles
+
+2009-05-01 04:26  robe
+
+	* More auto doc friendlying
+
+2009-05-01 04:24  robe
+
+	* typo
+
+2009-05-01 04:24  robe
+
+	* experiment with making our inline comments more doxygen friendly
+
+2009-04-30 22:26  kneufeld
+
+	* updated several Doxygen parameters
+
+2009-04-30 21:38  kneufeld
+
+	* removed full path names from config file
+
+2009-04-30 20:19  kneufeld
+
+	* add make target to build Doxygen
+
+2009-04-30 19:41  kneufeld
+
+	* added a Doxygen configuration file
+
+2009-04-29 19:22  kneufeld
+
+	* dropping a table that's not there causes an ERROR in the logs
+	  - 8.1 does not support DROP TABLE IF EXISTS, so first test if the
+	  table is there, then drop it.
+
+2009-04-28 19:13  colivier
+
+	* Add a new option for ST_AsGML related to axis order, and lat lon
+	  inversion in GML 3.1.1, cf #161. Add unit test on this new option
+	  bit field. Update documentation. Fix also wrong option value in
+	  ST_AsGML for CRS, and outdated example output (still for
+	  ST_AsGML).
+
+2009-04-28 17:04  kneufeld
+
+	* - removed a few compile errors from the javadoc build
+	  - renamed jar so it follows the name-version convention
+
+2009-04-27 22:07  robe
+
+	* change error about unknown spatial ref to a warning.
+
+2009-04-27 19:46  kneufeld
+
+	* test commit
+
+2009-04-27 19:24  kneufeld
+
+	* test commit
+
+2009-04-27 19:07  kneufeld
+
+	* Test commit to test autobuild
+
+2009-04-27 16:09  robe
+
+	* revise to better guarantee a deteriministic sort so can diff
+	  compare between 1.3.5, 1.3.6, 1.4 (still needs work). Also
+	  exclude curved tests and functions not supported in 1.3.5 since
+	  it curve crashes 1.3.5 thus making it not comparable.
+
+2009-04-26 05:37  kneufeld
+
+	* small typo fix
+
+2009-04-24 19:13  pramsey
+
+	* add feature mangling task
+
+2009-04-23 14:36  robe
+
+	* exclude curved geometries from 1.3.5 testing
+
+2009-04-23 12:12  robe
+
+	* Add ST_BdMPolyFromText to list not to test against 1.3.5 (crashes
+	  1.3.5 with curves though fine in 1.3.6)
+
+2009-04-22 18:33  robe
+
+	* revise to include a version variable and get rid of limit (think
+	  its causing different tests to be run non-consistently depending
+	  on ordering of postgresql so hard to compare outputs)
+
+2009-04-21 17:45  pramsey
+
+	* More info about XSL in final configure output
+
+2009-04-17 13:59  robe
+
+	* add ST_MinimumBoundingCircle to 1.3 exclude
+
+2009-04-16 07:31  robe
+
+	* Update installation to have link to Windows Compilation guide
+	  Nicklas put together.
+
+2009-04-16 05:54  robe
+
+	* ADd more curved geometry support functions to list and give
+	  curved geometry special index a pretty anchor.
+
+2009-04-15 17:18  pramsey
+
+	* wee reformatting
+
+2009-04-15 17:15  pramsey
+
+	* remove tabs
+
+2009-04-15 17:09  pramsey
+
+	* add link to trac for 1.4
+
+2009-04-15 01:22  robe
+
+	* add link to st_relate
+
+2009-04-15 01:11  robe
+
+	* amend ST_ContainsProperly to summarize its speed advantages
+
+2009-04-14 14:25  mcayland
+
+	* Try and fix shp2pgsql-core for bug #124. Need to change sprintf()
+	  to pgis_exec() within the loader.
+
+2009-04-14 06:47  robe
+
+	* add containsproperly
+
+2009-04-14 06:42  robe
+
+	* I think the year is 2009 and we are in april now
+
+2009-04-12 12:18  mcayland
+
+	* Same as r3994 but for the second copy of shp2pgsql.
+
+2009-04-12 11:16  mcayland
+
+	* Fix #104 'shp2pgsql is using deprecated PostgreSQL escape
+	  syntax'. Remember that not everyone's installation has
+	  "standard_conforming_strings" enabled by default.
+
+2009-04-12 10:56  mcayland
+
+	* Fix bug #148 'envelope() doesn't support new box3d_extent type'.
+	  Looks like we do need to add casts for box3d_extent to all of
+	  box2dfloaat, box3d and geometry after all.
+
+2009-04-12 05:25  robe
+
+	* missed some
+
+2009-04-12 05:14  robe
+
+	* Add ST_ContainsProperly to exclude for 1.3 testing.
+
+2009-04-12 04:10  robe
+
+	* Add new function ST_ContainsProperly and provide examples. Also
+	  update ST_Contains to better explain the subtleties of the
+	  definition and example to demonstrate the difference between
+	  contains and containsproperly
+
+2009-04-10 08:27  mcayland
+
+	* Make good on my promise from bug #123 to remove the E'...'
+	  escaping from shp2pgsql and revert to standard SQL escaping. Also
+	  rename protect_quote_string() and make_good_string() to
+	  escape_insert_string() and escape_copy_string() respectively so
+	  the names reflect what they actually do.
+
+2009-04-06 17:31  pramsey
+
+	* Fix mis-spelling in Eduin Carrillo's name
+
+2009-04-05 18:06  pramsey
+
+	* keywords
+
+2009-04-05 18:05  robe
+
+	* Add Nicklas Avén to contributors list
+
+2009-04-05 16:48  pramsey
+
+	* Fix for collection vs collection distance behavior. Per Nicklas
+	  Avén. GBT #146
+
+2009-03-29 08:12  mcayland
+
+	* Fix for previous commit; move the locations of the CASTs so that
+	  they are after the definitions. Thanks Olivier!
+
+2009-03-29 00:34  mcayland
+
+	* Add additional casts for box3d_extent to box3d/box2d so that
+	  other PostGIS functions can use the output of ST_Extent. Per
+	  report from Olivier Courtin related to GBT#93.
+
+2009-03-24 19:05  colivier
+
+	* suppress compilation warning on non initialized variable
+
+2009-03-23 22:45  pramsey
+
+	* Ignore autotools artefacts.
+
+2009-03-23 22:44  pramsey
+
+	* Once more unto the breach! autotools w/ mloskot autogen.sh from
+	  GBT#142
+
+2009-03-23 17:18  pramsey
+
+	* Back to the future.
+
+2009-03-22 07:50  robe
+
+	* expansion of example and description
+
+2009-03-22 07:46  robe
+
+	* Create new exception section and move over the Has,Drop, Add BBOX
+	  family per MCA request.
+
+2009-03-22 07:08  pramsey
+
+	* Can't get enough punishment: write out results of configure.
+
+2009-03-22 06:43  pramsey
+
+	* Back for more punishment: if we can checkin config.sub and
+	  config.guess, we can check in ltmain.sh. Autotools, I despise
+	  thee.
+
+2009-03-22 06:30  pramsey
+
+	* OK, didn't like that. libtoolize alters config.guess and
+	  config.sub,
+	  but removing them breaks build. Run libtoolize by hand and add
+	  the resultants
+	  to svn?
+
+2009-03-22 06:28  pramsey
+
+	* config.guess back?
+
+2009-03-22 03:34  pramsey
+
+	* config.sub back in?
+
+2009-03-22 03:23  pramsey
+
+	* Break build per mloskot. Remember to run ./autogen.sh and
+	  hopefully you have libtoolize!
+
+2009-03-22 02:26  robe
+
+	* typo
+
+2009-03-22 02:23  robe
+
+	* not dealing correctly with arguments that are geometry arrays
+	  where there is only one geometry in the arglist
+
+2009-03-21 19:14  colivier
+
+	* Fix static buffer size to add precision spaces. Cf #119
+
+2009-03-20 18:43  pramsey
+
+	* Update release notes more
+
+2009-03-20 16:48  kneufeld
+
+	* updated the operator notes in reference.xml to reflect the fact
+	  that they do indeed use indexes.
+
+2009-03-20 14:55  robe
+
+	* Add ST_MakeLine array proto. Provide example use. Flag that
+	  ST_MAkeLine was enhanced in 1.4
+
+2009-03-20 14:40  robe
+
+	* Fill in missing ST_Collect(geomarray) proto. Provide examples for
+	  using ST_Union(geomarray), ST_Collect(geomarray)
+
+2009-03-20 13:39  colivier
+
+	* Fix GML multi size computation. Cf issue #141
+
+2009-03-20 05:43  kneufeld
+
+	* a small typo patch from mloskot, renaming a few "geometry_column"
+	  to "geometry_columns"
+
+2009-03-20 05:32  kneufeld
+
+	* renamed reference.xml to reference_old.xml
+	  renamed reference_new.xml to reference.xml
+	  updated configure.ac, doc/Makefile.in, and doc/postgis.xml
+	  accordingly.
+
+2009-03-19 17:58  pramsey
+
+	* Revert, now I get a warning in OS/X. Solaris will have to suck it
+	  up.
+
+2009-03-19 17:50  pramsey
+
+	* Make autogen.sh a little more tolerant of missing / re-named
+	  autotools.
+
+2009-03-19 17:28  kneufeld
+
+	* updated ST_Relate docs - changed 3rd parameter to be more clear
+
+2009-03-19 17:03  pramsey
+
+	* Remove warning in Solaris.
+
+2009-03-19 16:58  pramsey
+
+	* Remove warning in Solaris.
+
+2009-03-19 16:52  pramsey
+
+	* Remove one last 'const' warning.
+
+2009-03-19 13:27  colivier
+
+	* Few minor improve/change on memory size to allocate
+
+2009-03-19 11:52  mcayland
+
+	* More lwgeom_geos.c fixes to remove compilation warnings, but this
+	  time for compiling with GEOS >= 3.1.
+
+2009-03-19 06:05  pramsey
+
+	* Oops, we don't use the literal output of autoheader.
+
+2009-03-19 05:55  pramsey
+
+	* Remove prepared geometry compilation warning.
+
+2009-03-19 05:54  pramsey
+
+	* Add ieeefp.h for Solaris.
+
+2009-03-19 05:53  pramsey
+
+	* Add testing for ieeefp.h to autoconf
+
+2009-03-19 00:48  pramsey
+
+	* Final fix to remove cpp requirement
+
+2009-03-19 00:38  pramsey
+
+	* Remove preproc step for sql-mm curve regression.
+
+2009-03-19 00:37  pramsey
+
+	* Remove USE_JTS and cpp preproc from sql-mm regression
+
+2009-03-18 23:42  pramsey
+
+	* Add lidar item
+
+2009-03-16 23:06  mcayland
+
+	* More cleanup work based upon Mateusz's MSVC patches; remove
+	  references to unistd.h and sys/param.h since they are no longer
+	  required for determining endian-ness.
+
+2009-03-13 13:11  robe
+
+	* switch order
+
+2009-03-13 13:09  robe
+
+	* get rid of sT_PolyFromWKB reference. Will readd those stupid ones
+	  left in reference.xml later
+
+2009-03-13 13:08  robe
+
+	* more spots
+
+2009-03-13 13:05  robe
+
+	* missed a spot
+
+2009-03-13 12:53  robe
+
+	* remove using_postgis and reference and add using_postgis_dataman,
+	  using_postgis_app
+
+2009-03-13 12:11  robe
+
+	* Break using_postgis into 2 sections, remover reference.xml from
+	  doc make
+
+2009-03-12 23:20  robe
+
+	* #HISTORY #GBT 121: update tiger_geocoder to run in PostgreSQL 8.3
+	  - apply patch from cdwinslow
+
+2009-03-11 05:31  kneufeld
+
+	* updated SQL/MM specs in ST_PointFromWKB
+
+2009-03-11 05:13  kneufeld
+
+	* moved over ST_LineFromWKB
+
+2009-03-11 05:11  kneufeld
+
+	* added missing linkend
+
+2009-03-11 05:09  kneufeld
+
+	* updated doc descriptions and linkends.
+
+2009-03-11 04:56  kneufeld
+
+	* moved over ST_PointFromWKB
+
+2009-03-11 04:35  kneufeld
+
+	* moved over ST_GeomFromWKB
+
+2009-03-10 21:29  mcayland
+
+	* More MSVC fixes from Mateusz related to ISO C++ vs. C99 variable
+	  initialisation.
+
+2009-03-10 21:05  colivier
+
+	* updated SVG unit to reduce to max 2 decimal digits
+
+2009-03-10 21:03  pramsey
+
+	* MSVC line
+
+2009-03-10 20:49  colivier
+
+	* Add SVG unit test file
+
+2009-03-10 20:42  pramsey
+
+	* Add 1.3.5 release notes into trunk docs
+
+2009-03-10 20:37  pramsey
+
+	* First cut of 1.4 release notes.
+
+2009-03-10 20:25  mcayland
+
+	* Fix for GBT#132: Make check should run CUnit. This is to aid
+	  developers as we move the majority of the testing framework over
+	  to CUnit.
+
+2009-03-10 20:15  mcayland
+
+	* Commit Mateusz's patch to move the postgres.h #include to the top
+	  of the file in order to aid the MSVC build.
+
+2009-03-10 20:15  colivier
+
+	* update GML unit test according to AsGML option related to CRS
+	  output option
+
+2009-03-10 19:37  mcayland
+
+	* Remove compiler warning from commit r3821.
+
+2009-03-10 19:30  colivier
+
+	* Update unit test upon previous GeoJson CRS change
+
+2009-03-10 19:29  mcayland
+
+	* Update PostGIS trunk so that the minimum required version of GEOS
+	  is 3.0.0. This allows us to finally remove all remaining
+	  compilation warnings since we can adjust the casts to make
+	  correct use of the GEOS 3.0.0 header types.
+
+2009-03-10 18:20  colivier
+
+	* Fix GeoJson CRS output format (1.0 spec). Add OGC long CRS format
+	  (Cf RFC 5165) as an option. On AsGeoJson it change option order
+	  from 1.3.X between Bbox and CRS. On AsGML a new option parameter
+	  is added
+
+2009-03-10 17:24  mcayland
+
+	* Some documentation updates; change the instructions for
+	  decompressing the tarballs for PROJ and GEOS so that they work
+	  for our Solaris friends (as per the instructions for the main
+	  PostGIS tarball). Also move version entities for GEOS and PROJ
+	  into postgis.xml, so that as newer versions of PROJ/GEOS are
+	  released, we only need to update the version number in one
+	  location for the change to be reflected throughout the
+	  installation documentation.
+
+2009-03-10 16:26  mcayland
+
+	* Augment comment related to Paul's fix for GBT#130 as I'm bound to
+	  forget why we decided to do this at a later date...
+
+2009-03-10 16:24  colivier
+
+	* Add circstring release and LWGEOM conversion entry
+
+2009-03-10 16:18  mcayland
+
+	* Remove some GCC-isms from the unparser related to setting array
+	  sizes at run-time rather than compile time. Per report from
+	  Mateusz Loskot.
+
+2009-03-10 15:54  mcayland
+
+	* Fix GBT#126: Don't include private PROJ.4 header projects.h. It
+	  appears that from its inception, PostGIS has inadvertently used
+	  the PROJ.4 internal projects.h header file rather than the
+	  correct proj_api.h header file. This patch flips over to the new
+	  header file and changes everything over to use the new external
+	  structures/APIS.
+
+2009-03-10 15:12  pramsey
+
+	* Fix for GBT #130, remove bdpoly regression failure.
+
+2009-03-10 15:06  mcayland
+
+	* Fix for GBT#89: transform() grid-shift 2nd chance logic
+	  defective. Remove the 2nd chance logic completely and allow the
+	  user to configure the behaviour using the standard PROJ.4
+	  +nadgrids parameter. I've added a section to the ST_Transform()
+	  section of the manual which gives an example of how you can do
+	  this.
+
+2009-03-10 14:59  colivier
+
+	* Add SVG L Command in absolute path according to BNF SVG Path. Add
+	  some forgotten geometry release.
+
+2009-03-10 00:29  mleslie
+
+	* Moving parser changes from spike/mleslie/parser to allow the
+	  proper nesting of compound curves within curve polygons and the
+	  validation of compound curve continuity. This also resolves
+	  GBT#124.
+
+2009-03-09 22:01  pramsey
+
+	* Don't segmentize geometry if input doesn't pass hasarc
+
+2009-03-09 21:15  robe
+
+	* Put ST_CurveToLine back in script. Seems to not crash anymore
+	  with Paul's changes to GBT: 112
+
+2009-03-09 18:40  pramsey
+
+	* Fix for GBT#96.
+
+2009-03-09 17:19  mcayland
+
+	* Fix the OSGB 27700 SRID definition in spatial_ref_sys.sql since
+	  it is missing a datum parameter. We can't backpatch this since it
+	  is only available in newer versions of PROJ, and we don't have
+	  any PROJ version detection capability in 1.3 branch.
+
+2009-03-09 16:20  mcayland
+
+	* Remove compile warnings from lwgeom_dump.c related to the removal
+	  of TupleDescGetSlot (we don't need to set the deprecated fields
+	  in FuncCallContext if we are using BuildTupleFromCStrings).
+
+2009-03-09 15:34  pramsey
+
+	* More camel-case changes.
+
+2009-03-09 14:51  colivier
+
+	* Refactored the whole assvg export function in the same way than
+	  asgeojson. Fix #119 issue on big geometrycollection geometry.
+	  Keep the same SVG output than before
+
+2009-03-09 14:36  pramsey
+
+	* Remove some camelCase function signatures from liblwgeom
+
+2009-03-08 22:33  mcayland
+
+	* Fix for GBT#93: ST_Extent() and ST_Estimated_Extent() return
+	  BOX2DFLOAT4s. This is currently done using a horrible hack for
+	  backwards compatibility which introduces a new type just for
+	  ST_Extent(). See GBT email to postgis-devel and code comments for
+	  more detail.
+
+2009-03-08 21:41  pramsey
+
+	* Fix goof in box2d computation.
+
+2009-03-08 21:15  pramsey
+
+	* Fix for GBT#112
+
+2009-03-08 17:00  mcayland
+
+	* Add some explanation comments to lwgeom_accum.c explaining why we
+	  need to implement our own set of geometry aggregate functions.
+
+2009-03-08 16:36  mcayland
+
+	* Alter the in-built casts between the internal PostgreSQL BOX type
+	  and the PostGIS geometry/BOX3D types so that they do not go
+	  through an intermediate BOX2DFLOAT4 first. This prevents the
+	  float4 rounding errors appearing in the numbers when invoking the
+	  casts.
+
+2009-03-08 15:37  pramsey
+
+	* Fix for GBT #116, EMPTY hex polygon no longer causes crash.
+
+2009-03-08 14:36  mcayland
+
+	* Fix GBT#122: ST_SnapToGrid gives 13 when fed circular string.
+	  Alter the error message so that it correctly displays the type
+	  rather than just it's internal number.
+
+2009-03-06 14:15  robe
+
+	* missing svn tags and copyright info
+
+2009-03-03 18:01  robe
+
+	* Flag ST_GeoHash as curved support friendly, put in pretty anchors
+	  for special function sections
+
+2009-03-03 18:00  pramsey
+
+	* Fix tests to match current geohash signatures (lon/lat) and
+	  precisions (odd and even)
+
+2009-02-27 18:09  robe
+
+	* Get rid of additional calls to TupleDescGetSlot(tupdesc) in dump
+	  and dumprings and replace deprecated use of TupleDescGetSlot with
+	  8.1+ preferred BlessTupleDesc
+
+2009-02-23 15:19  strk
+
+	* Fix parse_hex to support lower-case A-F too (issue 120)
+
+2009-02-23 13:47  robe
+
+	* change to move postgis_comments.sql to root
+
+2009-02-19 21:12  pramsey
+
+	* Add variable decls to trunk :)
+
+2009-02-19 20:59  pramsey
+
+	* Add EOF marker, per GBT#105
+
+2009-02-19 09:42  mcayland
+
+	* Update trunk so that it will compile against PostgreSQL 8.4.
+	  Based upon Talha Rizwan's original patch, with a small tweak from
+	  me.
+
+2009-02-17 18:26  robe
+
+	* change to use tab separator instead
+
+2009-02-17 03:56  robe
+
+	* fix typo
+
+2009-02-17 03:02  robe
+
+	* 
+
+2009-02-17 02:59  robe
+
+	* Make new - 1 section with 2 subsections. Change ST_AsGeoJSON
+	  availability tag to be consistent with others
+
+2009-02-17 02:55  robe
+
+	* Section new functions in 1.3
+
+2009-02-16 22:18  robe
+
+	* Try again to get postgis_comments.sql to generate
+
+2009-02-13 19:56  robe
+
+	* amend st_union description to include new proto and performance
+	  enhancements. Add space before availability in xsl parser what is
+	  new section
+
+2009-02-13 19:23  robe
+
+	* Add special section listing new functions in this release. Get
+	  rid of note tag around ST_GeoHash availability so consistent with
+	  other availability text
+
+2009-02-13 06:58  robe
+
+	* 
+
+2009-02-12 18:32  robe
+
+	* more work on comments generation
+
+2009-02-12 17:39  robe
+
+	* Put in logic to output postgis_comments.sql
+
+2009-02-11 21:48  pramsey
+
+	* Bind ST_GeoHash into SQL.
+
+2009-02-11 18:28  pramsey
+
+	* Change references from ./lwgeom to ./postgis
+
+2009-02-11 18:22  pramsey
+
+	* Change the name of the main source directory. This is going to
+	  break the build for a little while until I fix all the
+	  references, but I want to do it atomically to ensure version
+	  history is preserved.
+
+2009-02-11 02:11  pramsey
+
+	* GeoHash implementation first cut.
+
+2009-02-10 21:20  pramsey
+
+	* Solve iconv-on-Solaris (and hopefully many other platforms with
+	  system iconv in libc) problem in autoconf.
+
+2009-02-10 20:10  pramsey
+
+	* Demote new loader code from default build for now.
+
+2009-02-10 20:06  pramsey
+
+	* New restore script, much simpler, takes -Fc dump and writes back
+	  ASCII on stdout
+
+2009-02-10 08:00  colivier
+
+	* KML output: use decimal places rather than significant digit,
+	  trim trailing zeros, update documentation, update unit test
+
+2009-02-10 07:54  colivier
+
+	* GeoJson output: trim trailing zero, add forgotten free on
+	  subgemotry inspect. GML output: precision no more as a global
+	  one, decimal places rather than significant digits, trim trailing
+	  zero, add unit test, doc update with output example
+
+2009-02-09 23:51  pramsey
+
+	* Fix case sensitive in AGGREGATE reading.
+
+2009-02-05 20:01  kneufeld
+
+	* Updated ST_DumpRings description and example.
+
+2009-02-04 18:13  kneufeld
+
+	* Added example to ST_PointN
+
+2009-02-04 13:54  robe
+
+	* minor changes. Take ST_CurveToLine out so tests can complete
+	  until we fix.
+
+2009-02-04 00:28  pramsey
+
+	* Propset Author Id Keyword Revision on all files.
+
+2009-02-04 00:23  pramsey
+
+	* Formating
+
+2009-02-03 20:51  pramsey
+
+	* Fix boundary conditions with from==to hitting first/list vertex.
+
+2009-02-03 19:09  mcayland
+
+	* Fix GBT#109: Some operators not supported for Circular. In this
+	  case I haven't added the comparison code as I am not 100% sure on
+	  the semantics, but the error message should be much clearer to
+	  users now.
+
+2009-02-03 17:49  robe
+
+	* Add corrections from Bruce Rindahl
+
+2009-02-03 17:30  robe
+
+	* forgot some spaces
+
+2009-02-03 16:10  robe
+
+	* forgot availability info
+
+2009-02-03 15:23  robe
+
+	* update st_convexhull definition -- wasn't very clear
+
+2009-02-03 15:20  robe
+
+	* Document ST_MinimumBoundingCircle
+
+2009-02-03 14:52  robe
+
+	* #HISTORY: ST_MinimumBoundingCircle -- also change to support
+	  geometries with LINESTRING,POINT convex hulls
+
+2009-02-03 14:21  robe
+
+	* First draft of ST_MinimumBoundingCircle contributed by Bruce
+	  Rindahl. Changed to use named params and renamed function from
+	  mbc to ST_MinimumBoundingCircle.
+
+2009-02-03 13:23  robe
+
+	* put back linetocurve curvetoline tests now that issue 86 and 108
+	  should have fixed
+
+2009-02-03 07:20  pramsey
+
+	* Use "extended string" format for escaping \ and ' in insert
+	  statements.
+
+2009-02-03 04:36  mleslie
+
+	* Adding an rfc for changing the validation approach when parsing
+	  WKT.
+
+2009-02-03 01:59  pramsey
+
+	* astyle this file
+
+2009-02-03 01:04  pramsey
+
+	* Comment datum slice pull.
+
+2009-02-02 22:21  pramsey
+
+	* formatting
+
+2009-02-02 18:26  robe
+
+	* Typo in docs confusing gardentester. Also change ST_Collect use
+	  to ST_Union so we are testing with valid polygons (reduces union
+	  intersection error messages)
+
+2009-02-02 06:01  mleslie
+
+	* Fix for Issue 108 and regress test.
+
+2009-02-02 04:19  robe
+
+	* Document ST_LocateBetweenElevations
+
+2009-02-01 06:48  robe
+
+	* Get rid of warnings -- no longer relevant for
+	  ST_LineCrossingDirection
+
+2009-01-30 17:16  robe
+
+	* revise to correctly fill in timestamp/date args
+
+2009-01-30 14:03  robe
+
+	* put in logic to test operators
+
+2009-01-30 13:44  robe
+
+	* Operator check in wrong segment of xpath
+
+2009-01-28 23:42  pramsey
+
+	* Change error message.
+
+2009-01-28 23:34  pramsey
+
+	* Handle null return from cascadedunion.
+
+2009-01-28 01:02  pramsey
+
+	* wrapping
+
+2009-01-27 05:30  robe
+
+	* missing meta properties
+
+2009-01-25 15:52  robe
+
+	* Document ST_Extent3D now that Paul has proclaimed it a public
+	  function
+
+2009-01-24 20:49  pramsey
+
+	* Small changes in createrelplace syntax, comments, function rename
+	  recommendation.
+
+2009-01-23 22:05  kneufeld
+
+	* small wording fix for DropGeometryColumn
+
+2009-01-23 20:06  pramsey
+
+	* Add function naming rfc
+
+2009-01-22 23:58  pramsey
+
+	* Flip all aggregate functions over to the new aggregation system.
+	  Remove catalog hacks in favour of wrapper type. Make the fast
+	  implementations the default and _old implementations the legacy.
+
+2009-01-22 19:25  robe
+
+	* Filter out Operators section from xsl transforms
+
+2009-01-22 19:25  kneufeld
+
+	* moved over the remaining operands from reference.xml to
+	  reference_new.xml in the documentation
+
+2009-01-22 19:15  robe
+
+	* Give operators section a pretty anchor and id so easy to bookmark
+	  and I can exclude from xsl scripts
+
+2009-01-22 18:19  robe
+
+	* Fix DBFReadDeleted logic -- should return 1 if record is deleted
+	  and 0 if it is not deleted
+
+2009-01-22 18:02  kneufeld
+
+	* moved over |>> from reference.xml to reference_new.xml in the
+	  documentation
+
+2009-01-22 17:46  kneufeld
+
+	* moved over <<, <<|, and >> from reference.xml to
+	  reference_new.xml in the documentation
+
+2009-01-22 05:56  pramsey
+
+	* Remove protection from ST_GeometryArray() aggregate.
+
+2009-01-22 05:37  pramsey
+
+	* More ignore fixes
+
+2009-01-22 05:35  pramsey
+
+	* Ignore postgis.sql.*
+
+2009-01-22 05:32  pramsey
+
+	* Alter pg_proc update to work with older PgSQLs too.
+
+2009-01-22 01:39  pramsey
+
+	* First stab at a back-port of the array_agg from 8.4. Our's isn't
+	  generic, and it's got it's own name, so it won't collide, ...
+	  needs testing on PgSQL < 8.3 still.
+
+2009-01-22 01:16  kneufeld
+
+	* moved over |&> from reference.xml to reference_new.xml in the
+	  documentation
+
+2009-01-22 00:44  kneufeld
+
+	* moved over &>| from reference.xml to reference_new.xml in the
+	  documentation
+
+2009-01-22 00:16  kneufeld
+
+	* moved over &> from reference.xml to reference_new.xml in the
+	  documentation
+
+2009-01-21 23:26  kneufeld
+
+	* moved over &&, &<, and = from reference.xml to reference_new.xml
+	  in the documentation
+
+2009-01-21 23:19  pramsey
+
+	* Add support for fast unions, with cascaded union. Currently for
+	  testing, in the ST_Union_Fast() agggregate. Requires GEOS SVN
+	  r2252 or higher.
+
+2009-01-21 21:55  pramsey
+
+	* Add rfc document. First one: alignment ideas.
+
+2009-01-21 21:50  pramsey
+
+	* Headers split in 8.4?
+
+2009-01-20 18:43  pramsey
+
+	* Put translation_stage into descriptive MACRO names
+
+2009-01-20 18:28  pramsey
+
+	* Add GTK macro.
+
+2009-01-20 17:48  pramsey
+
+	* Replace hand-built pkg-config routine w/ m4 from gtk source.
+
+2009-01-20 07:36  pramsey
+
+	* Compile your work much?
+
+2009-01-20 07:13  pramsey
+
+	* Protect the filename setting a little bit more in case it's NULL.
+
+2009-01-20 00:50  kneufeld
+
+	* Fixed accidental broken build in docs from Rev3536.
+
+2009-01-19 21:33  pramsey
+
+	* First revision of the GUI. Configure using --with-gui to enable
+	  full GUI build. New core/cli will build by default. Old utilities
+	  remain in place for now.
+
+2009-01-16 17:58  robe
+
+	* move ST_GeomCollFromText
+
+2009-01-16 17:41  robe
+
+	* Move st_mpolyfromtext
+
+2009-01-15 21:11  robe
+
+	* Left some garbage in
+
+2009-01-15 18:35  mcayland
+
+	* Part 1 of GBT#94: Rename folders/files to be more consistent.
+	  Embed the MAJOR.MINOR version in the PostgreSQL shared library
+	  name (to allow different databases to contain different PostGIS
+	  versions) and also rename lwpostgis.sql to postgis.sql. Update
+	  documentation in various files to reflect the new names at the
+	  same time.
+
+2009-01-15 18:24  robe
+
+	* Move ST_MLineFromText
+
+2009-01-15 18:17  robe
+
+	* more stuff
+
+2009-01-15 18:16  robe
+
+	* forgot some stuff
+
+2009-01-15 18:14  robe
+
+	* Move over MPointFromText
+
+2009-01-15 15:10  mcayland
+
+	* Fix the output of "SELECT postgis_full_version()" on trunk by
+	  ensuring that USE_STATS is present, and correctly generating the
+	  POSTGIS_SCRIPTS_VERSION variable so that installations of trunk
+	  don't keep thinking that they need a scripts upgrade.
+
+2009-01-14 17:46  pramsey
+
+	* Remove missing prototype warning from build.
+
+2009-01-13 15:12  robe
+
+	* Error in logic in gardentest not correctly flagging WKT functions
+	  as taking geometry variant
+
+2009-01-13 15:11  mcayland
+
+	* Fix regression tests to account for changes made in r3522 (rename
+	  'Curve' to 'CircularString')
+
+2009-01-13 14:04  robe
+
+	* Move over ST_PolygonFromText
+
+2009-01-13 13:12  mcayland
+
+	* Fix compile warnings for the cunit tests (unused variables).
+
+2009-01-13 13:00  mcayland
+
+	* Update lwgeom_gettypename() by renaming Curve to CircularString.
+	  Now lots of error messages scattered throughout liblwgeom should
+	  start to make sense...
+
+2009-01-13 12:59  mcayland
+
+	* Rearrange liblwgeom.h as per Paul's comment on GBT#97: Rename
+	  LWCURVE to LWCIRCSTRING. Also rename lwfree_circstring() to
+	  lwcircstring_free() so that it matches the others (I guess this
+	  was missed in the first pass).
+
+2009-01-13 12:27  mcayland
+
+	* Commit for GBT#97: Rename LWCURVE to LWCIRCSTRING (also know as
+	  restoring balance to the universe).
+	  
+	  Having gone through and re-read sections of the CIRCULARSTRING
+	  code, it is amazing how much easier the code is to read without
+	  the confusion of a curve being either a CIRCULARSTRING or
+	  LINESTRING as per the SQL-MM spec. The resulting commit compiles
+	  & installs cleanly for me, passes "make check" and also Regina's
+	  torture script. Please let me know if I accidentally broke
+	  anything :)
+
+2009-01-12 19:29  pramsey
+
+	* Remove double-free problem from loader in presence of new
+	  deep-freeing lwfree calls.
+
+2009-01-12 14:38  robe
+
+	* typos
+
+2009-01-12 14:24  robe
+
+	* Correct. ST_LinestringFromText does not exist though was
+	  documented before.
+
+2009-01-12 13:54  robe
+
+	* Move over ST_Line functions and point out how pointless they are.
+	  Also correct incorrect statement that they throw errors when
+	  given non-line - they just return null.
+
+2009-01-12 12:23  mcayland
+
+	* Remove erroneus merge from r3502 (HAVE_CUNIT_H just isn't defined
+	  anymore...)
+
+2009-01-11 07:10  pramsey
+
+	* Remove RECHECK per GBT#18.
+
+2009-01-09 23:04  robe
+
+	* Fix typo
+
+2009-01-09 22:52  robe
+
+	* Move over rest of miscellaneous -- NOTE st_find_srid does not
+	  exist - was never renamed from find_srid. Not sure its worth
+	  fixing since its rarely used anyway.
+
+2009-01-09 19:17  pramsey
+
+	* Rename lwfree_inspected to lwinspected_release, per it's "shallow
+	  free" behavior.
+
+2009-01-09 17:41  pramsey
+
+	* Rename lwfree_* to *_free.
+
+2009-01-09 14:15  robe
+
+	* Missed some ST_ spots.
+
+2009-01-09 13:49  robe
+
+	* Missed a spot.
+
+2009-01-09 13:48  robe
+
+	* Using - fix some connectiontype omissions in Mapserver section,
+	  add in processing defer comment, fix some missing ST_
+
+2009-01-09 13:32  robe
+
+	* Add circular string note
+
+2009-01-09 13:29  robe
+
+	* Move over ST_NRings
+
+2009-01-09 13:17  robe
+
+	* Move over ST_Zmflag
+
+2009-01-08 17:22  pramsey
+
+	* Forgot to save this file. Also changes to lwfree_* *_release.
+
+2009-01-08 17:04  pramsey
+
+	* Alter lwfree_* to deep-free memory. Add variants of *_release to
+	  support shallow-free. Go through lwgeom/ and replace any lwfree_*
+	  instances with *_release where appropriate. (Surprisingly few.)
+
+2009-01-08 16:06  robe
+
+	* documentatioin out of synch with reality since garden test
+	  failing. Change spelling ST_CrossingDirection to new name
+	  ST_LineCrossingDirection
+
+2009-01-08 15:50  robe
+
+	* put in valid name space (giving error with my xsltproc otherwise)
+
+2009-01-07 19:40  robe
+
+	* Finish off adding multi garden geometries
+
+2009-01-07 18:25  kneufeld
+
+	* updated documention on addgeometrycolumn, clarifying the errors
+	  thrown.
+
+2009-01-07 12:11  mcayland
+
+	* Bump some LWDEBUG(F) from level 1 up to levels 3-4 (level 1 is
+	  reserved)
+
+2009-01-07 01:16  pramsey
+
+	* Remove memory leak in standard loader.
+
+2009-01-05 20:54  mcayland
+
+	* Allow CPPFLAGS/LDFLAGS parameters from the command line to be
+	  passed into the CUnit Makefile, since CUnit is the only
+	  dependency that cannot determine its own flags using a --with-X
+	  parameter. This allows CUnit to be installed in a non-standard
+	  location if required.
+
+2009-01-05 14:44  robe
+
+	* Put circular back in mix. Doesn't crash now that MCA changed
+	  distance to throw error.
+
+2009-01-05 00:08  mcayland
+
+	* Rework the CUnit detection infrastructure as you can't locate
+	  include files based on an absolute path. This is because autoconf
+	  and the compiler have differing ideas of the current paths (this
+	  totally breaks the Win32 build since you have the extra mapping
+	  between UNIX-type MingW paths and Windows-type paths). Hopefully
+	  this should not affect existing users at all - if so, please post
+	  a report on -devel. I'll try running this on MingW at a later
+	  date.
+	  
+	  I've also enforced "make check" to run the unit tests, rather
+	  than "make test". This is a fallout from the early days when strk
+	  committed the regression test suite to run using "make test" by
+	  accident which appears to have stuck :(
+	  .
+
+2009-01-04 20:39  mcayland
+
+	* Fix comment in lwgeom_from_ewkt() and also add a quick error
+	  check to lwgeom_from_ewkt() and lwgeom_from_ewkb() - otherwise
+	  upon parse failure we could pass a half-baked geometry back to
+	  the caller which would not be good :(
+
+2009-01-04 20:11  mcayland
+
+	* Update the cunit tests to use the proper parser flag
+	  PARSER_CHECK_NONE rather than the hard-coded zero.
+
+2009-01-04 19:54  mcayland
+
+	* Add -lm to the cu_tester link line - we must always add this to
+	  the link line for anything that links agains liblwgeom.a (at
+	  least on my Linux system here)
+
+2009-01-04 19:24  mcayland
+
+	* Commit quick fix for GBT#85: ST_Distance crashes on Circular
+	  String. Rather than devise and implement a set of distance
+	  functions for CIRCULARSTRINGs, I've simply added code to detect
+	  the condition and throw an "Unsupported geometry type" error,
+	  similar to as already exists within the codebase.
+
+2009-01-02 13:25  robe
+
+	* minor update
+
+2009-01-02 13:23  robe
+
+	* Add ST_DumpPoints. Not sure how simple it is.
+
+2009-01-01 21:36  robe
+
+	* Put time stamp placeholder on (I think)
+
+2009-01-01 21:26  robe
+
+	* Fix typo
+
+2009-01-01 00:31  pramsey
+
+	* Fix based on test case from MAC.
+
+2008-12-27 22:58  pramsey
+
+	* Add support for multilinestring to st_locatebetweenelevations
+
+2008-12-27 08:08  pramsey
+
+	* Add heat map case.
+
+2008-12-24 20:15  pramsey
+
+	* Add mline version of clipper.
+
+2008-12-24 17:37  pramsey
+
+	* Add lwfree_geom to generically deep-free lwgeometries.
+
+2008-12-24 17:09  pramsey
+
+	* Add lwgeom_from_ewkt and change larger cunit tests to create
+	  candidate geometries from text instead of by hand.
+
+2008-12-24 00:32  mcayland
+
+	* Try and commit a pre-generated output from flex that works for
+	  the build-bot.
+
+2008-12-23 22:11  pramsey
+
+	* Revert accidental commit of lex.yy.c
+
+2008-12-23 20:20  pramsey
+
+	* Rename new functions to ST_LineCrossingDirection and
+	  ST_LocateBetweenElevations for more explicitness and closer
+	  correspondance to SQL/MM, respectively. Add a new geometry
+	  counter for collections.
+
+2008-12-23 13:24  robe
+
+	* Break out multi as separate geometry types and start putting in.
+	  Remove unary/aggregate geom since now exactly the same as section
+	  that takes only 1 geometry.
+
+2008-12-22 23:37  pramsey
+
+	* Add CUnit to main 'make test' build and check for existance of
+	  CUnit.h as part of ./configure
+
+2008-12-22 21:49  mcayland
+
+	* Fix typo in the backticks when extracting linker/include flags
+	  from pg_config. Resolving this allows SVN trunk to compile on
+	  MingW! :)
+
+2008-12-22 17:49  robe
+
+	* More typos
+
+2008-12-22 17:48  robe
+
+	* More typos
+
+2008-12-22 17:47  robe
+
+	* typo
+
+2008-12-22 16:54  robe
+
+	* Missed a constant
+
+2008-12-22 16:53  robe
+
+	* First draft of ST_CrossingDirection -- needs more work
+
+2008-12-22 15:22  robe
+
+	* More conditional corrections. Also take circular back out of test
+	  since still crashes under 1.4 with ST_Distance.
+
+2008-12-22 14:14  robe
+
+	* Revision - change to not test geoms against other geoms if
+	  function only takes one geom, better commenting of output. Put
+	  back circularstring -- crashes on 1.3 still on ST_Distance in
+	  some cases. Haven't tested against trunk
+
+2008-12-22 12:15  mcayland
+
+	* Remove the few C++-style comments that have crept into the
+	  codebase, and add a note to the STYLE document stating that
+	  C-style comments should be used.
+
+2008-12-22 11:51  mcayland
+
+	* Remove the WKB_CONVERSION hack which was invented to try and make
+	  the JTS connector more reliable. Since all the other JTS code has
+	  gone, this can now go too. See
+	  http://postgis.refractions.net/pipermail/postgis-devel/2008-August/003495.html
+	  for a little discussion.
+
+2008-12-22 11:38  mcayland
+
+	* Errr.... unsigned *what* exactly??! If you'd have asked me
+	  yesterday if I thought this would compile, I would have said
+	  no...
+
+2008-12-22 11:11  mcayland
+
+	* Some code tidy-ups: remove Windows CR/LFs from the file, change
+	  the free()s into lwfree()s, and fix a spelling mistake.
+
+2008-12-22 09:30  robe
+
+	* revert part of last change
+
+2008-12-22 08:39  robe
+
+	* correction to last edit
+
+2008-12-21 06:37  pramsey
+
+	* Add ST_LineClipZ(geometry, from, to) SQL and C functions.
+
+2008-12-19 19:21  pramsey
+
+	* Complete c-level line clipping routines, and unit tests.
+
+2008-12-19 19:20  pramsey
+
+	* Add in lwfree_* deep memory clean-up routines for multi-objects.
+
+2008-12-19 18:51  kneufeld
+
+	* Upgraded section in using_postgis.xml that talks about OGC
+	  Simplicity / Validity.
+
+2008-12-19 16:57  pramsey
+
+	* Remove camelCase example from style guideline against camelCase
+	  (! :)
+
+2008-12-19 14:59  mcayland
+
+	* Remove the PostGIS LWGEOM type constants from pgsql2shp - they
+	  are no longer needed here as they are included as part of
+	  liblwgeom.h.
+
+2008-12-18 20:42  pramsey
+
+	* Complete the pfree_ to lwfree_ renaming.
+
+2008-12-18 20:36  pramsey
+
+	* Move curve back down below curve struct. Hm.
+
+2008-12-18 20:35  pramsey
+
+	* Complete the pfree_* to lwfree_* renaming.
+
+2008-12-18 20:30  pramsey
+
+	* Rename pfree_* memory management function lwfree_*
+
+2008-12-18 20:22  pramsey
+
+	* Partial work commit for safety
+
+2008-12-18 17:07  pramsey
+
+	* Ignore generated Makefile
+
+2008-12-18 15:58  robe
+
+	* Revise to cross every geometry with every other to better test
+	  the functions that take 2 geometries. This increases the
+	  generated script to about 18 MB. Still need to trim off some of
+	  these tests (since it does the same for singular geom functions)
+
+2008-12-18 15:38  robe
+
+	* Get rid of redundant variable declares
+
+2008-12-18 15:32  robe
+
+	* Get rid of 2 geom relation section. Its redundant now that the
+	  last condition section has been improved.
+
+2008-12-18 15:25  robe
+
+	* Numerous enhancements to make torture script generator smarter -
+	  e.g. don't use geometry select when function takes not
+	  geometries, don't put monkey in when you see pattern matrix use a
+	  real intersectionmatrix, concept of version
+
+2008-12-18 00:54  pramsey
+
+	* Partial work saved back for later.
+
+2008-12-17 20:47  pramsey
+
+	* Partial work into SVN where I can get at it elsewhere.
+
+2008-12-17 20:22  pramsey
+
+	* Remove LFs from regression files per MCA.
+
+2008-12-17 19:37  mcayland
+
+	* #HISTORY: Really fix what was broken in r3431/3432. See the notes
+	  there for the full detail.
+
+2008-12-17 18:20  pramsey
+
+	* Re-locate cunit, add a STYLE guideline draft and some TODO notes.
+
+2008-12-17 16:03  mcayland
+
+	* Undo r3431/3432: this isn't ready for the primetime yet as it
+	  breaks a couple of the regression tests.
+
+2008-12-17 15:01  mcayland
+
+	* Fix for one of Regina's torture failures as posted to the -devel
+	  list here:
+	  http://postgis.refractions.net/pipermail/postgis-devel/2008-December/004362.html.
+	  A CurvePolygon has a "standard header" and so must be passed
+	  through a function that understands the optional existence of
+	  SRIDs/BBOXes etc. in the header.
+
+2008-12-17 05:36  pramsey
+
+	* harmonize unit tests with new function names
+
+2008-12-17 05:32  pramsey
+
+	* harmonize function names so things... compile
+
+2008-12-17 05:28  pramsey
+
+	* Revisison per MCA and (c) headers.
+
+2008-12-17 00:22  pramsey
+
+	* Add some co-linearity tests.
+
+2008-12-17 00:19  pramsey
+
+	* Basic co-linearity support. Remove touching cases from
+	  crossingdirection.
+
+2008-12-16 23:43  pramsey
+
+	* Add ST_CrossingDirection(line, line) bindings into SQL.
+
+2008-12-16 22:29  pramsey
+
+	* First cut of line crossing function, and associated cunit tests.
+
+2008-12-16 21:21  kneufeld
+
+	* fixed bug in probe_geometry_columns where an srid of -1 is not
+	  properly detected. (last time :))
+
+2008-12-16 21:11  kneufeld
+
+	* fixed bug in probe_geometry_columns where an srid of -1 is not
+	  properly detected.
+
+2008-12-16 21:07  kneufeld
+
+	* fixed bug in probe_geometry_columns where an srid of -1 is not
+	  properly detected.
+
+2008-12-16 16:22  robe
+
+	* More changes - can't remember
+
+2008-12-16 13:01  robe
+
+	* Add cross reference to ST_IsValidReason on ST_IsValid and
+	  ST_Summary
+
+2008-12-16 12:40  robe
+
+	* Fix formatting of ForceRHR args -- messing up torture test
+	  generator
+
+2008-12-15 14:50  robe
+
+	* missing the st_geomfromtext among others because of bad
+	  conditions - switched to xsl:choose to simplify logic.
+
+2008-12-15 13:36  robe
+
+	* minor comment addition
+
+2008-12-15 12:56  robe
+
+	* add more data types. Remove curve tests again -- too many
+	  crashers
+
+2008-12-15 12:36  robe
+
+	* Typo in data type param
+
+2008-12-15 10:30  mcayland
+
+	* #HISTORY: Fix for GBT#83: "ST_Multi on curved polygon gives
+	  ERROR: Unknown geometry type: 0". On reflection, ST_Multi() can
+	  only operate on standard POINT, LINESTRING and POLYGON types as
+	  the only MULTI geomtypes are MULTIPOINT, MULTILINESTRING and
+	  MULTIPOLYGON. This was caused by the introduction of the curve
+	  crashing fixes in 1.3.4.
+
+2008-12-15 05:33  robe
+
+	* more cleanup
+
+2008-12-15 05:03  robe
+
+	* Think I got most of the functions with additional args, left out
+	  circular since it crashes. We can fix in 1.4
+
+2008-12-15 04:12  robe
+
+	* replace param logic
+
+2008-12-15 02:38  robe
+
+	* #GBT 84: Fix typo in boundary error
+
+2008-12-14 15:14  robe
+
+	* Add circular string and curved polygon to garden set. Also start
+	  work on dealing with functions that take floats and integers as
+	  additional params
+
+2008-12-14 07:24  robe
+
+	* Exclude st_curvetoline from test for now. Crashes on geometry
+	  collection test.
+
+2008-12-14 03:19  robe
+
+	* Add GEOMETRYCOLLECTION to garden mix. This crashes my 1.3.5SVN
+	  build after running generated script - investigating
+
+2008-12-14 03:10  robe
+
+	* Add logic to test for unary functions that take box2d/3d and add
+	  3d geometries to garden set.
+
+2008-12-14 01:50  robe
+
+	* Add create table, add geom, drop column, drop table to batch of
+	  tortures
+
+2008-12-13 19:48  pramsey
+
+	* Remove isvalidreason, it's done.
+
+2008-12-13 19:47  pramsey
+
+	* Add typmod idea
+
+2008-12-12 17:07  robe
+
+	* Fix condition statement that prevented some 2 geom functions from
+	  being picked up
+
+2008-12-12 16:55  robe
+
+	* Added POLYGONM gset to test. Also got rid of monkey crashing
+	  LineMerge. May add back later by removing the NOT (j=i)
+	  conditions.
+
+2008-12-12 16:49  robe
+
+	* Note that ST_MakePolygon can be used to make measured polys and
+	  3d polys
+
+2008-12-12 16:26  robe
+
+	* use strcmp for compare instead of comparing first element in
+	  projcreate
+
+2008-12-12 14:20  robe
+
+	* get rid of accidentally copied comment
+
+2008-12-12 14:11  robe
+
+	* Add relationship/ functions that act on 2 geometries tests to the
+	  mix
+
+2008-12-12 13:40  robe
+
+	* Add POINTM and LINESTRINGM to garden family
+
+2008-12-12 13:17  robe
+
+	* Remove Postgis_JTS_Version from docs. No longer in 1.4 code base.
+
+2008-12-12 13:05  robe
+
+	* Revise to use an xml collection instead of repetitive loops. Also
+	  put in select start and end so when the server crashes you know
+	  where it broke.
+
+2008-12-12 11:07  mcayland
+
+	* Looks like I accidentally removed some code from LWGEOM_accum
+	  that was required to set the Oid of the array being used to store
+	  the aggregate results. As reported by Regina.
+
+2008-12-11 19:38  robe
+
+	* Fix typo in geometry test
+
+2008-12-11 18:57  robe
+
+	* put in the svn:keywords thingy and also update postgis_gardentest
+	  to generate garden test for all unary postgis functions and
+	  aggregates
+
+2008-12-11 17:18  kneufeld
+
+	* added a HINT to the ERROR message in errorIfGeometryCollection
+	  indicating the geometry that is in error.
+
+2008-12-11 16:56  robe
+
+	* First draft of garden test sql generator. This version just
+	  searches the docs and outputs tests for functions that take no
+	  arguments. Need to formulate a list of geometries to generate
+	  code for unary and so forth.
+
+2008-12-11 15:56  robe
+
+	* Incorporated Mark's suggestion to use PQescapeStringConn instead
+	  of building a custom function. Also fixed typo. Note using free()
+	  instead of PQfree since couldn't find a PQfree. I looked at the
+	  8.3.5 postgresql source code base, and that's what they seem to
+	  use when releasing buffer space.
+
+2008-12-11 14:55  mcayland
+
+	* Increase the amount of allocated memory by 3 bytes, so that if
+	  maxlength < 3 and we return just "..." then we still have enough
+	  space to store the string without clobbering memory.
+
+2008-12-11 13:46  mcayland
+
+	* Fix up a couple of errors in the new lwmessage_truncate()
+	  function found by Kevin - correct an off-by-one error in the
+	  code, and include a missing startpos offset in the end truncation
+	  code. Also ensure that if maxlength gets too small then we return
+	  "..." rather than crashing.
+
+2008-12-10 12:36  mcayland
+
+	* Resolve local merge conflict from previous commit.
+
+2008-12-10 12:32  mcayland
+
+	* Add new lwmessage_truncate() function to liblwgeom that will
+	  truncate a string to a maximum number of characters, adding a
+	  "..." to indicate where the string has been trimmed. Truncation
+	  can be specified to occur from either the start or end of the
+	  string as required. Also update the parser error handler to use
+	  the new function.
+
+2008-12-09 23:29  mleslie
+
+	* Porting the floating point comparison operator upgrade from the
+	  1.3 branch.
+
+2008-12-07 02:52  robe
+
+	* correct mm reference of ST_PointFromText and remove from old MM
+	  section
+
+2008-12-07 02:47  robe
+
+	* Minor additions
+
+2008-12-07 02:42  robe
+
+	* fix some typos
+
+2008-12-07 02:29  robe
+
+	* Move over (x,y,z) min/max family and add cross reference to those
+	  from ST_X, ST_Y, ST_Z
+
+2008-12-07 00:40  robe
+
+	* Move over ST_Box2D and ST_Box3D and flag ST_Accum as working with
+	  circular strings
+
+2008-12-05 19:39  robe
+
+	* revise example
+
+2008-12-05 19:31  robe
+
+	* Clarify use of ST_Relation and include Martin's example of
+	  interior intersects
+
+2008-12-05 13:46  robe
+
+	* #HISTORY: #GBT:34 - .prj creation by pgsql2shp
+
+2008-12-05 12:33  robe
+
+	* #GBT 80: ST_Multi seg faults when given MULTILINESTRING
+
+2008-12-04 17:01  robe
+
+	* Move over rest of Long Transactions
+
+2008-12-03 17:12  mcayland
+
+	* Fix GBT#79: shp2pgsql does not honor -s (also known as Mark
+	  accidentally missed the sr_id from the geometry constructors)
+
+2008-12-03 16:02  mcayland
+
+	* Lightbulb moment: the fix for GBT#21: locate_along_measure: wrong
+	  values, invalid data required extra work as floating point errors
+	  could still be introduced by the removal of the memcpy(). In fact
+	  it was the clipping logic that was wrong, so this patch re-adds
+	  the memcpy() in the correct place(s) and corrects the clipping
+	  flags to remove this floating point error. With thanks to Stephen
+	  Davies.
+
+2008-12-02 20:04  robe
+
+	* Remove some junk and fix some typos, rephrase descriptions
+
+2008-12-02 20:00  robe
+
+	* Move over LockRow
+
+2008-12-02 19:43  robe
+
+	* Move over CheckAuth
+
+2008-12-01 23:34  robe
+
+	* typo
+
+2008-12-01 22:19  robe
+
+	* remove extra def
+
+2008-12-01 22:06  robe
+
+	* Move over Enable/Disable LongTransactions
+
+2008-12-01 12:41  robe
+
+	* Damn casing - wrong fix
+
+2008-12-01 12:38  robe
+
+	* typo ?
+
+2008-12-01 12:13  robe
+
+	* typo?
+
+2008-12-01 06:32  robe
+
+	* Move over ST_HasBBox
+
+2008-12-01 06:26  robe
+
+	* Move over ST_AddBBox, ST_DropBBox - the last of the Geometry
+	  Editors
+
+2008-11-28 16:38  pramsey
+
+	* wrap isvalidreason in test for GEOS >= 3.1
+
+2008-11-27 19:04  robe
+
+	* correction
+
+2008-11-27 18:53  robe
+
+	* ST_IsValidReason typo and add an example of a valid geometry
+
+2008-11-27 18:31  robe
+
+	* Document new ST_IsValidReason function. I suppose this may be the
+	  last time I can successfully create invalid geometries before
+	  Mark ruins all the fun.
+
+2008-11-26 19:04  pramsey
+
+	* ST_IsValidReason(geometry) returns text reason for validity
+	  failure.
+	  Requires GEOS >= 3.1.
+	  GBT#51
+
+2008-11-26 13:40  mcayland
+
+	* Apply patch from strk to prevent unneccesary invocation of 'ar'
+	  when building liblwgeom.
+
+2008-11-26 12:11  robe
+
+	* Correct install docs to agree with README. Not sure if this is
+	  necessary since this is partially for already installed postgis.
+	  Are we going to have an lwgeom folder in contrib?
+
+2008-11-26 11:49  mcayland
+
+	* Create liblwgeom as a phony dependency, so that any changes to
+	  liblwgeom cause a re-build of liblwgeom.a during "make". Patch
+	  provided by strk.
+
+2008-11-26 11:43  mcayland
+
+	* Fix some minor errors in the README documentation as indicated by
+	  strk.
+
+2008-11-25 21:46  pramsey
+
+	* Bring forward release notes from 1.3.4
+
+2008-11-25 10:42  mcayland
+
+	* Quick fix for GBT#72: ST_Estimated_Extent sometimes returns null
+	  if table exists but not in current schema.
+
+2008-11-24 13:18  robe
+
+	* Fix indentation for estimated_extent example. Document
+	  ST_Force_Collection broken when given Circular strings for
+	  versions prior to 1.3.4
+
+2008-11-24 11:04  mcayland
+
+	* Fix for GBT#73: ST_Force_Collection crashes with CIRCULARSTRING.
+	  This is basically the same fix for GBT#66: ST_Dump kills backend
+	  when fed CIRCULAR STRING except that it occurs in a different
+	  place.
+
+2008-11-24 11:01  mcayland
+
+	* Move lwgeom_contains_subgeoms() into liblwgeom core as it seems
+	  it is now required outside of lwgeom_dump.c.
+
+2008-11-23 19:18  robe
+
+	* Move over the rest of the ST_Force* family
+
+2008-11-23 07:22  robe
+
+	* Move over ST_Estimated_Extent
+
+2008-11-23 06:54  robe
+
+	* minor changes
+
+2008-11-23 06:50  robe
+
+	* Move over ST_GeomFromWKB
+
+2008-11-21 14:41  robe
+
+	* typo
+
+2008-11-21 14:30  robe
+
+	* Fix indentation of examples
+
+2008-11-21 14:28  robe
+
+	* GBT #71: Update section 4.2 of docs to describe manual adding to
+	  geometry columns - revision. Add pretty anchor, reference pretty
+	  anchor in AddGeometryColumn reference section. Rearrange order.
+
+2008-11-21 14:15  robe
+
+	* GBT #71: Update section 4.2 of docs to describe manual adding to
+	  geometry columns.
+	  
+	  Decided to just add a new section after
+
+2008-11-21 08:32  robe
+
+	* 
+
+2008-11-21 08:31  robe
+
+	* Move over ST_CoordDim
+
+2008-11-20 22:03  mcayland
+
+	* Located more profile calls using grep and converted them over to
+	  use the new macros. Hopefully I've caught all of them now...
+
+2008-11-20 18:45  mcayland
+
+	* Found some new locations containing profiling code outside of the
+	  GEOS functions, so swap them over to using the new macros.
+
+2008-11-20 15:00  mcayland
+
+	* Switch GEOS profiling over to use conditional macros, much in the
+	  same way as LWDEBUG(F) has been implemented. This improves code
+	  readability by not having constant #if...#endif sections
+	  throughout the code. I've also changed the variable that
+	  indicates whether profiling has been enabled to POSTGIS_PROFILE,
+	  and integrated it into the autoconf configuration. Hence
+	  profiling can be enabled by running configure with the
+	  --enable-profile option, or setting POSTGIS_PROFILE in
+	  postgis_config.h to 1 and re-compiling.
+
+2008-11-20 13:32  robe
+
+	* typo
+
+2008-11-20 12:55  robe
+
+	* Add note on ST_Transform and ST_AsKML that they require Proj
+	  support
+
+2008-11-19 13:40  robe
+
+	* update doc on install to reference geos 3.0.3
+
+2008-11-17 17:30  robe
+
+	* amend ST_Mem_Size
+
+2008-11-17 01:00  robe
+
+	* typos
+
+2008-11-17 00:52  robe
+
+	* st_mem_size
+
+2008-11-17 00:05  robe
+
+	* Document missing ST_AsGML func proto
+
+2008-11-16 15:54  robe
+
+	* typo
+
+2008-11-15 20:33  robe
+
+	* Move over ST_Polygon and ST_WKBToSQL, move ST_MakePolygon from
+	  Geometry Processing to Geometry Constructors section
+
+2008-11-14 23:46  robe
+
+	* Move over rest of non-MM compliant Geometry Constructor functions
+
+2008-11-12 17:42  pramsey
+
+	* Update with latest BS
+
+2008-11-10 16:35  pramsey
+
+	* astyle --style=ansi --indent=tab=8
+
+2008-11-10 15:48  pramsey
+
+	* Fix error in prepgeomcache type
+
+2008-11-08 14:43  robe
+
+	* Document affine functions now work with curves. Though I don't
+	  have a tool to verify correctness, so my assumption - it returns
+	  something that sounds sort of right.
+
+2008-11-08 14:17  robe
+
+	* document more functions that work with circular strings
+
+2008-11-08 06:46  robe
+
+	* document support for curves of functions Mark C just fixed with
+	  disclaimer only works in 1.3.4+
+
+2008-11-07 17:07  pramsey
+
+	* Prepared geometry mixed-types bug fix ported forward from 1.3.
+
+2008-11-07 14:23  mcayland
+
+	* After a quick sanity grep, I noticed that ST_Transform() was also
+	  susceptible to crashing on curve types in the same way as the
+	  previous two fixes. Hence I'm committing a fix now before Regina
+	  finds it and logs another bug report :)
+
+2008-11-07 14:21  mcayland
+
+	* Fix GBT#69: ST_Translate crashes when fed circular string.
+	  lwgeom_affine_recursive() needs to know about the new
+	  lwgeom_getcurve_inspected() function.
+
+2008-11-07 14:18  mcayland
+
+	* Fix GBT#70: ST_NPoints Crashes with Curves. lwgeom_npoints()
+	  needs to know about the new lwgeom_getcurve_inspected() function.
+
+2008-11-07 14:05  mcayland
+
+	* Add missing lwgeom_getcurve_inspected() function which is
+	  required for some of the latest GBT fixes.
+
+2008-11-07 07:44  robe
+
+	* Yeh ST_Dump now works with curves
+
+2008-11-06 17:16  mcayland
+
+	* Add missing function prototype from r3263.
+
+2008-11-06 17:05  mcayland
+
+	* Fix for GBT#66: ST_Dump kills backend when fed CIRCULAR STRING.
+	  With thanks to Regina Obe.
+
+2008-11-06 16:12  mcayland
+
+	* The GEOS 2.2 series "geos_c.h" is missing header guards, so
+	  including the header multiple times as is done in lwgeom_geos.h
+	  and lwgeom_geos_prepared.h causes compilation to fail with
+	  multiple definition errors. This patch fixes this problem
+	  allowing GEOS 2.2 to work with PostGIS once again, although of
+	  course it can easily be removed when it is decided that GEOS 2.2
+	  support is no longer required.
+
+2008-11-06 15:15  mcayland
+
+	* Change configure to check for the existence of the PGXS Makefile,
+	  even if pg_config can be found. This is become distributions such
+	  as Debian install pg_config as part of libpq-dev but this package
+	  doesn't contain the required Makefile. Per bug report from strk.
+
+2008-11-05 13:03  robe
+
+	* amend ST_Longitude bug comment
+
+2008-11-05 11:29  mcayland
+
+	* Fix ST_AsGML() not recognising GEOMETRYCOLLECTION as a valid
+	  geometry type from my GBT#65 fix :(
+
+2008-11-05 11:25  mcayland
+
+	* Fix regression tests reporting incorrect failures due to a change
+	  of output caused by r3243.
+
+2008-11-05 11:06  mcayland
+
+	* Fix for GBT#68 - ST_Shift_Longitude doesn't work with MULTIPOINT.
+	  Looks like this was just a simple mistake in the code. I've also
+	  improved the error message to return the proper type name instead
+	  of just a number.
+
+2008-11-05 01:56  robe
+
+	* add ST_Collect as having some support for circular
+
+2008-11-04 20:26  robe
+
+	* typo in proto
+
+2008-11-04 20:05  robe
+
+	* Add missing proto for ST_CurveToLine
+
+2008-11-04 14:15  robe
+
+	* Add ST_HasArc, pull some useful comments from source code to add
+	  to ST_CurveToLine
+
+2008-11-04 14:09  mcayland
+
+	* Fix lwgeom_typename() not returning a valid string for any of the
+	  newer geometry types.
+
+2008-11-04 13:58  mcayland
+
+	* Fix for GBT#65: ST_AsGML kills the backend when fed a CIRCULAR
+	  STRING. The default code attempts to inspect any unknown geometry
+	  which fails on CIRCULARSTRING. A longer term fix may be to fix
+	  CIRCULARSTRING so that it can be inspected, however the fix here
+	  is to throw an ERROR for unknown types just as the other As_*()
+	  functions do.
+
+2008-11-04 13:43  robe
+
+	* Change all ST_AsKML to use new ST_Transform
+
+2008-11-04 13:14  robe
+
+	* More flagging of functions that work with 3d
+
+2008-11-04 12:31  robe
+
+	* fill in all protos for kml, flag more functions as supporting 3d
+	  and circular/curve
+
+2008-11-04 10:00  mcayland
+
+	* Change ST_GeomFromText() to GeomFromText() for older hwgeom (-w)
+	  support - looks like I was a little bit to eager in my earlier
+	  conversion to use the new ST_ calling convention.
+
+2008-11-04 09:57  mcayland
+
+	* Alter loader Makefile to add liblwgeom.a dependency, so people
+	  who just want to build the shapefile loaders can do "make" within
+	  the loader subdirectory and liblwgeom.a will automagically get
+	  build first.
+
+2008-11-04 02:48  robe
+
+	* fix typo
+
+2008-11-04 02:19  robe
+
+	* document circular support of more functions
+
+2008-11-04 02:07  robe
+
+	* Get rid of MM compliancy note for ST_LineToCurve, can only find
+	  ST_CurveToLine in MM docs
+
+2008-11-04 01:56  robe
+
+	* correct comment
+
+2008-11-04 01:55  robe
+
+	* Add new section to document circular string support
+
+2008-11-04 01:47  robe
+
+	* Document ST_LineToCurve and ST_CurveToLine, update template to
+	  include note about Circular String support in prep for new index
+	  section
+
+2008-11-03 17:00  kneufeld
+
+	* updated url in comments to the documentation on the implemented
+	  point-in-polygon algorithm to
+	  http://softsurfer.com/Archive/algorithm_0103/algorithm_0103.htm#Winding%20Number.
+	  Old link was dead.
+
+2008-11-03 16:23  mcayland
+
+	* Add missing ICONV_LDFLAGS variable to the loader Makefile. Thanks
+	  to Olivier Courtin for noticing.
+
+2008-11-03 16:17  mcayland
+
+	* Switch pgsql2shp over to using liblwgeom.
+	  
+	  There are few commits that can be as satisfying as one which
+	  involves the removal of ~1200 lines of code. By using the
+	  liblwgeom parser instead of the in-built parser, we have now
+	  achieved the following:
+	  
+	  i) all parsers within PostGIS, shp2pgsql and pgsql2shp are now
+	  the same which means they all follow the same rules. Also
+	  extended error reporting information including error text and
+	  position information is available.
+	  
+	  ii) the complexity of the shp2pgsql/pgsql2shp is considerably
+	  reduced.
+	  
+	  The slightly unfortunate cost is the overall executable size is
+	  larger, since we are linking with liblwgeom. However, from both a
+	  consistency and maintainability point of view, this is a big win.
+	  Note that while there may be a difference in behaviour in some
+	  corner cases, all regression tests pass here.
+
+2008-10-31 10:41  mcayland
+
+	* Add missing serialized_lwgeom_from_hexwkb() function to liblwgeom
+	  which is required for adding liblwgeom support to pgsql2shp.
+
+2008-10-31 10:04  mcayland
+
+	* Some more shp2pgsql clearups; remove some dead commented code and
+	  switch over to use the LWDEBUG(F) debugging framework.
+
+2008-10-30 23:13  mcayland
+
+	* Fix regression test differences between different platforms in
+	  the AsGeoJSON regression code. There were two issues: firstly,
+	  the original regression tests included precision information > 15
+	  significant figures, and secondly the GeoJSON code was exposing
+	  BOX2DFLOAT4 information to the client instead of calculating the
+	  true bounding box. With thanks to Olivier Courtin.
+
+2008-10-30 22:48  robe
+
+	* Move over ST_DumpRings
+
+2008-10-30 17:10  mcayland
+
+	* Switch shp2pgsql over to use liblwgeom instead of its own
+	  internal parser. Some notes from looking at the code:
+	  
+	  i) I've abstracted the I/O formatting functions into a new
+	  OutputGeometry() function since it allow the logic concerning
+	  output formatting to kept in one place, rather than sprinkled
+	  throughout all the other Insert* functions.
+	  
+	  ii) InsertPoint() and InsertMultiPoint() have been combined,
+	  since it seems that the same code will work for both - all that
+	  is required is to know whether to produce a MULTIPOINT collecton
+	  or a POINT at the end.
+	  
+	  iii) I've added additional comments within the Insert* functions
+	  to help clarify what is going on in places
+	  
+	  iv) It appears some corner cases were missing within the
+	  conversion code with respect to Z/M coordinates, so in theory the
+	  new code should do a better job.
+	  
+	  All in all, the source code is slightly reduced in size (although
+	  of course the binary is larger after linking with liblwgeom), and
+	  seems a lot more readable to my eyes. A quick TODO is to go
+	  through the file and replace the #if...#endif sections related to
+	  debugging with LWDEBUG(F) options.
+	  
+	  NOTE: I've had to change the Makefile to allow linking against
+	  the maths library and liblwgeom.a, so some manual intervention on
+	  the automated build may be required ;)
+
+2008-10-29 18:32  robe
+
+	* Make more pretty section names, move over ST_Accum and provide
+	  example.
+
+2008-10-29 18:05  robe
+
+	* Pretty anchors for all new sections
+
+2008-10-29 17:59  robe
+
+	* Incorrect function arg in ST_Union
+
+2008-10-29 17:36  robe
+
+	* Okay maybe hmm 4th or 5th time is the charm
+
+2008-10-29 17:34  robe
+
+	* Again
+
+2008-10-29 17:34  robe
+
+	* Lets try again
+
+2008-10-29 17:29  robe
+
+	* function name typo
+
+2008-10-29 17:27  robe
+
+	* Move over rest of Linear Referencing functions and provide
+	  examples. Experiment with giving pretty anchor to section.
+
+2008-10-29 13:58  robe
+
+	* Add Availability note for Populate_Geometry_Columns
+
+2008-10-29 13:52  robe
+
+	* Fix line_interpolate_point link
+
+2008-10-29 13:13  robe
+
+	* Move over ST_Line_Substring
+
+2008-10-29 12:37  robe
+
+	* Move over ST_Line_Interpolate_Point
+
+2008-10-27 16:13  kneufeld
+
+	* changed linkend to match case in ST_Length2d to ST_Length2D
+
+2008-10-27 16:05  kneufeld
+
+	* attempt to fix broken linkend by replacing it with an xref in
+	  reference_new.xml
+
+2008-10-27 15:53  robe
+
+	* Move over sql mm compliance for ST_Disjoint and get rid of
+	  annoying carriage return in template.xml
+
+2008-10-27 15:49  kneufeld
+
+	* added availability to Populate_Geometry_Columns
+
+2008-10-27 15:48  kneufeld
+
+	* fixed typo in broken link to ST_Distance_Spheroid
+
+2008-10-27 15:33  kneufeld
+
+	* fixed typo in ST_Length3d_Spheriod xref to ST_Length_Spheroid
+
+2008-10-27 15:29  kneufeld
+
+	* fixed typo in missing constraint linkend: ST_InteriorRings to
+	  ST_NumInteriorRings
+
+2008-10-27 15:26  kneufeld
+
+	* typo in xref link
+
+2008-10-27 15:25  kneufeld
+
+	* added id for missing constraint linkend: PostGIS_Scripts_Released
+
+2008-10-27 15:21  kneufeld
+
+	* added id for missing constraint linkend: line_substring
+
+2008-10-27 15:15  kneufeld
+
+	* added id for constraint linkend: length2d
+
+2008-10-27 06:49  kneufeld
+
+	* fixed bug in lwpostgis.sql.in.c in POPULATE_GEOMETRY_COLUMNS when
+	  detecting SRIDs of -1.
+
+2008-10-27 06:29  kneufeld
+
+	* updated description for Populate_Geometry_Columns
+
+2008-10-27 06:13  kneufeld
+
+	* added plpgsql function Probe_Geometry_Columns to
+	  lwpostgis.sql.in.c and added documentation in reference_new.xml
+
+2008-10-26 22:26  robe
+
+	* Fix typo
+
+2008-10-26 22:18  robe
+
+	* Move over ST_Length* functions. Correct documentation - e.g.
+	  missing ST_Length2D_Spheroid and ST_Length3d_Spheroid and
+	  ST_Length_Spheroid are synonyms. Seems to disagree with how we
+	  define ST_Length.
+
+2008-10-26 21:24  robe
+
+	* Move over ST_Distance_Spher* functions
+
+2008-10-26 19:49  robe
+
+	* Put in availability info for rotate functions
+
+2008-10-26 19:43  robe
+
+	* Move over rest of Affine family. Correct some typos. Put
+	  ST_ForceRHR in right location.
+
+2008-10-26 18:14  robe
+
+	* Move over ST_Affine
+
+2008-10-25 17:29  robe
+
+	* Add = operator the most confusing and accidentally used operator
+	  of all
+
+2008-10-25 16:30  robe
+
+	* Commit provide another example of ST_SetPoint and flag as
+	  supporting 3d
+
+2008-10-24 15:01  robe
+
+	* typo
+
+2008-10-24 14:53  robe
+
+	* Move over ST_SnapToGrid
+
+2008-10-23 00:28  robe
+
+	* typo
+
+2008-10-22 18:55  robe
+
+	* Move over ST_Relate the last of the Geometry Relationship
+	  Function and destroy the section in old reference.
+
+2008-10-21 06:41  robe
+
+	* Move over perimeter and max distance
+
+2008-10-21 04:54  kneufeld
+
+	* moved ST_ForceRHR into the correct category
+
+2008-10-21 04:41  kneufeld
+
+	* moved over ST_ForceRHR
+
+2008-10-20 17:36  robe
+
+	* typo in st_cover something. Hate non-symmetric relationships
+
+2008-10-20 17:29  robe
+
+	* Revert change to ST_MemUnion - it really is that. Most have had a
+	  faulty restore when it was named ST_MemGeomUnion
+
+2008-10-20 17:25  robe
+
+	* Move over ST_Covers and ST_CoveredBy and provide examples, update
+	  ST_Contains example to show distinction between ST_Covers,
+	  ST_Contains etc.
+
+2008-10-20 14:49  robe
+
+	* correct links in README and note about running make check before
+	  make install. How the hell do you do that?
+
+2008-10-19 23:40  robe
+
+	* Provide example for GeometryType. fix typo
+
+2008-10-19 23:31  robe
+
+	* typo in ST_Y definition. Also added common use-case example of
+	  ST_Centroid used with ST_X, ST_Y
+
+2008-10-19 14:52  mcayland
+
+	* After several discussions at PGDay, it seems that the only
+	  use-case for the PGXS PROGRAM clause is for programs that wish to
+	  link with the backend libraries. Hence create a new Makefile for
+	  the loader directory which uses the new autoconf infrastructure,
+	  based upon library and dependency lists from the original 1.3
+	  branch.
+
+2008-10-19 14:40  robe
+
+	* Move over remainder of Geometry Accessors to new section. Fix
+	  ST_MemUnion (really ST_MemGeomUnion), correct mistake in
+	  ST_SymDifference
+
+2008-10-18 08:33  mcayland
+
+	* Remove postgis_jts_version() function call from regression tests
+	  as the function no longer exists (prevents warning being
+	  displayed at the start of the test run)
+
+2008-10-17 18:51  robe
+
+	* Move over the *N family
+
+2008-10-17 17:58  robe
+
+	* Move over ST_length2d, ST_length3d
+
+2008-10-17 03:39  robe
+
+	* Move over ST_MemUnion the last of the geometry processing
+	  functions and destroy the geometry processing functions old
+	  section
+
+2008-10-17 03:05  robe
+
+	* forgot to delete some stuff
+
+2008-10-17 03:04  robe
+
+	* move over ST_Shift_Longitude, ST_Difference, ST_SymDifference
+
+2008-10-16 22:13  kneufeld
+
+	* reverting accidental commit to template.xml
+
+2008-10-16 18:35  robe
+
+	* Move over ST_NumGeometries
+
+2008-10-16 18:17  robe
+
+	* Move over ST_ExteriorRing, ST_NumInteriorRings,
+	  ST_NumInteriorRing
+
+2008-10-16 18:12  kneufeld
+
+	* added dblatex as a dependency for building PDF's
+	  added a pdf target to doc/Makefile.in
+
+2008-10-16 08:33  mcayland
+
+	* Update to previous parser patch: if the error location is 0 (i.e.
+	  we haven't even matched a valid OGC WKT type) then display a more
+	  appropriate message. Per minor gripe from Paul.
+
+2008-10-16 07:22  robe
+
+	* update st_azimuth - it should be called vector instead of line
+	  since order of points reverses the angle
+
+2008-10-16 07:17  robe
+
+	* Move over ST_Azimuth and provide example
+
+2008-10-16 06:35  robe
+
+	* Move over ST_Boundary to new section, copy comment about SQL-MM
+	  srid to xsl header
+
+2008-10-15 21:44  mcayland
+
+	* Fix pointer problem in the new HINT code caused by strncpy() not
+	  padding with zeros unless the specified length is *longer* than
+	  the source string.
+
+2008-10-15 18:36  pramsey
+
+	* last one!
+
+2008-10-15 18:26  pramsey
+
+	* expunge remaining stringBuffer references
+
+2008-10-15 17:59  pramsey
+
+	* Remove stringBuffer.* from build/repository.
+
+2008-10-15 15:03  mcayland
+
+	* Update the LWGEOM parser to provide error HINTs when being called
+	  from PostgreSQL, and update regression tests accordingly.
+
+2008-10-15 13:43  robe
+
+	* fix spacing of st_linemerge, st_segmentize examples.
+
+2008-10-15 13:39  robe
+
+	* Move over ST_Segmentize and ST_LineMerge
+
+2008-10-14 23:08  kneufeld
+
+	* moved cleanup of the pdf to the maintainer-clean target
+
+2008-10-14 20:11  pramsey
+
+	* Remove sliced test code and return to original state.
+
+2008-10-14 19:51  mcayland
+
+	* Nearly finish work on the new parser API. The key part of this
+	  patch is to alter the behaviour of the parser so that instead of
+	  generating errors directly, it returns an error code, error
+	  location and an error message. Hence the caller is now in charge
+	  of the behaviour when parsing invalid geometries, and so can
+	  ignore errors or proceed onto the next geometry if required. The
+	  regression test change is due to a change in an error message,
+	  since the error is now returned from the unparser before it even
+	  gets to GEOS.
+
+2008-10-14 19:39  robe
+
+	* Provide examples for ST_Simplify and ST_SimplifyPreserveTopology
+
+2008-10-14 18:16  robe
+
+	* Move over st_simplify and st_simplifypreservetopology. Still need
+	  to put in examples.
+
+2008-10-14 17:42  pramsey
+
+	* astyle style=ansi indent=tab=8
+
+2008-10-14 11:40  robe
+
+	* completely move over rest of management functions to new section.
+	  Add probe_geometry_columns - never been documented, but useful.
+	  Get rid of update_geometry_stats - just returns a dumb message
+	  that its obsolete.
+
+2008-10-14 03:56  robe
+
+	* Add missing function proto for dropgeometrytable
+
+2008-10-13 13:16  mcayland
+
+	* Rename parser_check_flags to current_parser_check_flags and
+	  unparser_check_flags to current_unparser_check_flags to clarify
+	  that these status variables only reflect the checks enabled for
+	  the current parse.
+
+2008-10-13 13:03  mcayland
+
+	* Move the liblwgeom unparser example over to the dynptarray API
+	  which is the proper way to alter point arrays in memory.
+
+2008-10-13 11:36  mcayland
+
+	* Fix up some more warnings in SVN trunk; note that there are still
+	  2 remaining PreparedGeometry warnings, but these will require
+	  patching GEOS.
+
+2008-10-12 17:47  pramsey
+
+	* Performance boost: only detoast the front of the tuple first and
+	  extract the bbox from that.
+
+2008-10-10 16:34  pramsey
+
+	* Pull prep_cache reference safely inside PREPARED_GEOM #ifdef
+
+2008-10-10 05:24  pramsey
+
+	* Set keywords propery.
+
+2008-10-10 05:17  pramsey
+
+	* Clean-up and comment.
+
+2008-10-10 04:41  pramsey
+
+	* Rename lwgeom_geos_c.c to lwgeom_geos.c
+
+2008-10-10 04:39  pramsey
+
+	* Prepared geometries getting closer to readiness. Integrated into
+	  standard functions, regression tests added.
+
+2008-10-10 01:35  mleslie
+
+	* Updating the regression test README file with details about the c
+	  preprocessing step and the formatting of the _expected file
+	  results.
+
+2008-10-08 18:57  robe
+
+	* SQL my MM
+
+2008-10-08 18:51  robe
+
+	* update st_translate include support for 3d flag
+
+2008-10-08 18:27  pramsey
+
+	* Move to memcmp keys, leave prepared functions tied to old keyed
+	  signatures for now.
+
+2008-10-08 10:14  mleslie
+
+	* Rebuilt the box3d generation for circular strings to account for
+	  a special large-arc case. Fix for issue 58, includes regression
+	  test for the case.
+
+2008-10-08 05:48  kneufeld
+
+	* fixed several broken or redirected external URLs.
+
+2008-10-08 05:45  kneufeld
+
+	* fixed several broken or redirected external URLs.
+
+2008-10-08 04:25  pramsey
+
+	* Fix minor logic error in intersects() bbox shortcut.
+
+2008-10-07 23:51  pramsey
+
+	* Re-work prepared geom cache to use memcmp instead of keys, step
+	  1.
+
+2008-10-07 20:38  pramsey
+
+	* Move DEBUG statement next to a req'd variable.
+
+2008-10-07 18:09  robe
+
+	* correct mistake
+
+2008-10-07 17:39  robe
+
+	* Move over ST_ConvexHull
+
+2008-10-06 19:51  pramsey
+
+	* Fix slight error in box shortcut logic in prepared intersects.
+
+2008-10-05 22:12  pramsey
+
+	* Convert from LWDEBUG to POSTGIS_DEBUG
+
+2008-10-05 17:33  mcayland
+
+	* Fix stupid mistake in the liblwgeom parser...
+
+2008-10-04 21:29  pramsey
+
+	* Fix boneheaded error in prepared intersects.
+
+2008-10-04 17:49  pramsey
+
+	* Protect prepared geometry implementation in GEOS>=3.1 defines.
+
+2008-10-04 16:00  mcayland
+
+	* Fix the DEBUGF statements I didn't realise I broke with the new
+	  LWGEOM parser/unparser API (in response to Paul's r3061 commit).
+
+2008-10-03 18:07  pramsey
+
+	* Some extra debugf's in the prepared geometry code.
+
+2008-10-03 17:37  pramsey
+
+	* Patch up and comment out some DEBUGF lines that don't compile due
+	  to changes in function
+	  signatures in liblwgeom
+
+2008-10-03 13:23  robe
+
+	* correct incorrect statement
+
+2008-10-03 13:20  robe
+
+	* Update ST_Union's fitness for 3d with examples.
+
+2008-10-03 09:22  robe
+
+	* Add more examples of 3d use and annotate more 3d functions
+
+2008-10-02 23:53  pramsey
+
+	* Rework prepared geometry handling to look more like the
+	  implementation of
+	  PJ caching in transform.
+
+2008-10-02 18:52  pramsey
+
+	* Flip format to 'astyle --style=ansi --indent=tab=8' to make
+	  upcoming
+	  changes more consistent, stylewise. (Can't stand the mixed styles
+	  anymore!)
+
+2008-10-02 18:35  pramsey
+
+	* add .so. to svn:ignore
+
+2008-10-02 17:36  pramsey
+
+	* add check for invalid srid to addgeometrycolumn (#33)
+
+2008-10-02 16:46  pramsey
+
+	* ensure relate(g,g,p) is case insensitive (#44)
+
+2008-10-02 16:15  robe
+
+	* Flag more 3d compatible functions
+
+2008-10-02 16:00  pramsey
+
+	* pass commandline options into backend command (#45)
+
+2008-10-02 15:56  pramsey
+
+	* Fix log message to refer to correct function name
+
+2008-10-02 12:43  robe
+
+	* Fix minor typos in ST_Polygonize
+
+2008-10-02 12:14  robe
+
+	* Get rid of extra line breaks in specialty function section (by
+	  changing xsl). Move over ST_Polygonize and provide examples.
+
+2008-10-02 11:40  robe
+
+	* Start annotating functions that support 3d, add some examples of
+	  3d, update xsl to pull out functions that support 3d in a
+	  separate special function index
+
+2008-10-02 11:17  robe
+
+	* extraneous junk left
+
+2008-10-02 11:16  robe
+
+	* Move over ST_Extent
+
+2008-10-01 21:55  robe
+
+	* Get rid of excess paragraph in mm compliance section
+
+2008-10-01 21:53  robe
+
+	* Moved some functions to Geometry Processing section
+
+2008-10-01 21:42  robe
+
+	* Put in SQL mm compliance for ST_Intersection
+
+2008-10-01 20:04  robe
+
+	* Move ST_Intersection to new reference_new.xml
+
+2008-09-30 17:42  robe
+
+	* Revise to include mm compliance section
+
+2008-09-30 17:39  robe
+
+	* Move over ST_Intersects sql mm compliance note to reference_new
+	  (remove sT_Intersects from MM section of old reference)
+
+2008-09-30 13:29  mcayland
+
+	* Update regression tests to include test cases for GBT#21.
+
+2008-09-30 13:25  mcayland
+
+	* Fix for locate_along_measure returning invalid values (GBT#21)
+
+2008-09-30 04:06  kneufeld
+
+	* added a new aggregate and sql_mm toc to docs generated via a
+	  custom xsl (provided by Regina Obe) to the documentation Makefile
+
+2008-09-29 16:20  robe
+
+	* change to sort functions alphabetically
+
+2008-09-28 19:48  mcayland
+
+	* Update LWGEOM unparser to (E)WKT/WKB to resturn a
+	  LWGEOM_UNPARSER_RESULT structure instead of just the WKT/WKB
+	  character array. This is the same work done for r3023 but applied
+	  to the unparser instead.
+
+2008-09-28 16:18  mcayland
+
+	* With the advent of LWGEOM_PARSER_RESULT, it is now possible to
+	  get rid of the horrible SERIALIZED_LWGEOM hack for PostgreSQL 8.3
+	  to allow us to return the size separate from the result. This is
+	  good as it removes another level of indirection from the parser.
+	  Note that the size field has now been added to the
+	  LWGEOM_PARSER_RESULT structure.
+
+2008-09-28 15:47  mcayland
+
+	* Clear up warnings (mixed declartions within code and invalid
+	  return) from r3022.
+
+2008-09-28 15:32  mcayland
+
+	* Update (E)WKT/WKB parser to return a structure
+	  (LWGEOM_PARSER_RESULT) instead of just the serialized lwgeom.
+	  This is in preparation for returning more detailed error
+	  information back to the caller.
+
+2008-09-28 09:03  pramsey
+
+	* Update pip shortcut code to be less aggressive in building cache.
+
+2008-09-27 08:19  mcayland
+
+	* Rename parser_check_flags to unparser_check_flags for the
+	  unparser to prevent linking error under OS X. Also add missing
+	  function prototype to silence compiler warning in the PiP code.
+
+2008-09-26 21:46  pramsey
+
+	* harmonize sql functions with c functions for prepared geometry
+
+2008-09-26 21:34  pramsey
+
+	* Make preparedgeometry memory handling a good deal kinder (no
+	  longer losing base geometry every time)
+
+2008-09-26 21:01  robe
+
+	* put index in listitems and hope for the best
+
+2008-09-26 19:43  pramsey
+
+	* P-I-P rennovation complete: memory leaks gone, multipolygon
+	  support added
+
+2008-09-26 18:59  robe
+
+	* correct the comments
+
+2008-09-26 18:55  robe
+
+	* xsl that generates index listing of postgis spatial aggregates
+	  and MM compliant functions
+
+2008-09-26 12:45  robe
+
+	* Put in author/license info (hmm this is a guess - couldn't find a
+	  good example in SVN to go by). Also comment on what xsl is doing.
+
+2008-09-26 02:50  kneufeld
+
+	* updated "make clean" directive to include the newly generated
+	  PDFs
+
+2008-09-25 21:50  mcayland
+
+	* Add parser flags to the LWGEOM to (E)WKB/WKT parsers, similar to
+	  has already been done for the (E)WKB/WKT to LWGEOM parsers.
+
+2008-09-25 21:34  mcayland
+
+	* Remove missing variables from LWDEBUG(F) statement that would
+	  cause compilation to fail with POSTGIS_DEBUG_LEVEL > 0
+
+2008-09-25 20:46  pramsey
+
+	* Another biggish leak into the parent context.
+
+2008-09-25 19:18  pramsey
+
+	* More small memory leaks removed.
+
+2008-09-25 17:18  pramsey
+
+	* Remove more memory leaks from P-I-P shortcut code.
+
+2008-09-25 12:18  robe
+
+	* More typo fixes
+
+2008-09-25 12:10  robe
+
+	* Move over ST_MakePointM, miscellaneous typo fixes
+
+2008-09-24 14:05  robe
+
+	* Put svn back in microversion
+
+2008-09-24 14:01  robe
+
+	* typo
+
+2008-09-24 13:55  robe
+
+	* Added ST_MakePointM, removed redundant redefinition of MakePointM
+	  so docs are now in synch with actual functions.
+
+2008-09-23 21:32  mcayland
+
+	* Use __va_copy() to pass a copy of the variadic structure to
+	  lw_vasprintf() to solve ABI difference between 32bit/64bit
+	  architectures.
+
+2008-09-23 19:59  mcayland
+
+	* Remove a couple more warnings when compiling with debug enabled
+	  from lwgeom_gist.c.
+
+2008-09-23 19:53  mcayland
+
+	* Revert commit 2990: the real bug was that the LWDEBUG statement
+	  was incorrect rather than the code - the additional read_int()
+	  was causing an off-by-one error when outputting WKB causing
+	  several regression tests to fail.
+
+2008-09-23 19:44  mcayland
+
+	* Refactor the memory management routines to account for the fact
+	  that variadic functions can't be called directly from the initial
+	  allocators. Also solve issues related to differences between the
+	  system vasprintf() (if supplied) and the liblwgeom vasprintf() by
+	  renaming to lw_vasprintf() and using it throughout PostGIS. With
+	  all this in place, GBT#54 is fixed which is very useful when
+	  debugging ;)
+
+2008-09-23 19:07  pramsey
+
+	* Reduce p-i-p memory leak by 50%
+
+2008-09-23 13:05  robe
+
+	* fix typo add more links
+
+2008-09-23 13:00  robe
+
+	* Move over ST_Buffer
+
+2008-09-22 22:59  pramsey
+
+	* Add cnt declaration where missing.
+
+2008-09-22 17:55  robe
+
+	* change to xsl 1.0 plus minor indent change
+
+2008-09-22 12:28  robe
+
+	* Add xsl file that autogenerates sql set comment statements from
+	  reference_new.xml
+
+2008-09-22 12:18  robe
+
+	* Realized from my sql comment generation xsl that there is really
+	  no ST_WKTToSQL that takes an SRID and no ST_BD.. that doesn't
+	  take an SRID. Very shocking.
+
+2008-09-21 23:15  robe
+
+	* typo in st_setsrid returns geometry not boolean
+
+2008-09-18 22:12  pramsey
+
+	* Add a few more generated files to ignore
+
+2008-09-18 22:09  pramsey
+
+	* Set ignore properties on generated files.
+
+2008-09-18 13:54  mcayland
+
+	* Update the code for unparsing LWGEOMs to WKB/WKT so that it
+	  includes the standard simple checks: LINESTRINGs must have > 2
+	  points, POLYGONs must have closed rings and CIRCULARSTRINGs must
+	  have > 2 points and the number of points must be odd. There is
+	  still a little more work to do to allow flags to be passed into
+	  the parser to specify which checks should be enforced, much like
+	  has already been done for the parsing from WKB/WKT to LWGEOM.
+
+2008-09-18 04:34  kneufeld
+
+	* commit to test autobuild process and svn hooks
+	  - removed extra tabs from preformatted text blocks
+
+2008-09-18 04:22  kneufeld
+
+	* commit to test autobuild process and svn hooks
+	  - removed extra tabs from preformatted text blocks
+
+2008-09-17 15:05  robe
+
+	* Add to ST_SetSRID - reference to spatial_ref_sys
+
+2008-09-17 14:46  robe
+
+	* Link ST_SetSRID to updated spatial_ref_sys section using cutesy
+	  anchor.
+
+2008-09-17 14:41  robe
+
+	* Give spatial reference systems section a cutesy anchor.
+
+2008-09-17 05:49  robe
+
+	* 
+
+2008-09-17 05:48  robe
+
+	* typo in link
+
+2008-09-17 04:14  robe
+
+	* more fleshing out of spatial ref section
+
+2008-09-17 04:00  robe
+
+	* Beef up spatial reference section. Still needs work.
+
+2008-09-17 03:54  kneufeld
+
+	* added an id to ST_Buffer to provide an end link for cross
+	  references.
+
+2008-09-16 22:43  mcayland
+
+	* Silence a few more compiler warnings that had appeared during my
+	  last few parser commits.
+
+2008-09-16 22:29  mcayland
+
+	* Add an example of how the liblwgeom API can be used by other C
+	  programs to manipulate geometries and output the result.
+	  Currently the unparser.c program shows how a geometry can be
+	  constructed "on the fly" and then exported in both WKT and HEXWKB
+	  formats; however it gives programmers the potential to devise
+	  some very unique processing tools which can generate files that
+	  can be loaded into PostGIS.
+
+2008-09-16 18:44  mcayland
+
+	* Move the LWGEOM-specific functions from lwgeom_sqlmm.c into
+	  liblwgeom/lwsegmentize.c to ensure that liblwgeom can exist as a
+	  standalone library.
+
+2008-09-16 13:35  robe
+
+	* Cleanup of FAQ
+
+2008-09-16 13:17  robe
+
+	* Move over ST_Expand
+
+2008-09-16 01:51  robe
+
+	* Expand list of contributors
+
+2008-09-16 01:47  robe
+
+	* Expand list of contributors
+
+2008-09-15 11:54  robe
+
+	* Fix url link to proj to point to osgeo
+
+2008-09-13 05:41  kneufeld
+
+	* Moved over ST_IsRing to new PostGIS reference.
+	  Fixed link errors to ST_IsSimple.
+
+2008-09-12 12:12  robe
+
+	* typo
+
+2008-09-12 10:46  robe
+
+	* Spelled Kevin's last name wrong and Mateusz first name wrong.
+	  Sorry Kevin and Mateusz.
+
+2008-09-12 10:40  robe
+
+	* Update Credits and project links
+	  1) Get rid of emails
+	  2) Change order of key contributors based on heuristics a)
+	  duration of contribution, b) frequency of contributions,
+	  c)recency of contributions, d) impact of contributions,
+	  and add some new contributors (more need to be added)
+
+2008-09-11 12:18  mcayland
+
+	* Reinstate the PDF documentation system based on OpenJade,
+	  including integration with autoconf. "make postgis.pdf" should
+	  now output lovely PDF format documentation :)
+
+2008-09-11 12:04  mcayland
+
+	* Documentation fixes to allow PDF documents to be generated from
+	  Docbook source using OpenJade - OpenJade seems a lot more strict
+	  than xsltproc when generating output :(
+
+2008-09-10 21:06  robe
+
+	* Get rid of left over stuff from ST_IsValid and ST_Summary copy.
+
+2008-09-10 11:57  robe
+
+	* example and result misaligned
+
+2008-09-10 11:39  robe
+
+	* Move over ST_Summary and provide example.
+
+2008-09-10 11:28  robe
+
+	* Move over ST_IsValid and provide example
+
+2008-09-10 07:28  robe
+
+	* correct st_contain signature, other misc fixes
+
+2008-09-10 06:47  robe
+
+	* Add ST_IsValid reference to ST_Within.
+
+2008-09-09 21:10  mcayland
+
+	* Allow a flags parameter to be passed into the WKT parser to
+	  determine which consistency checks are performed out of polygon
+	  ring closure, minimum number of points and odd number of points.
+
+2008-09-08 20:17  mcayland
+
+	* Commit generated versions of the new parser files for people who
+	  do not have flex or bison installed.
+
+2008-09-08 20:16  mcayland
+
+	* Enhance geometry parser so that it keeps track of the current
+	  position during parsing. With a bit more work, this should allow
+	  error messages to pinpoint the exact location of an invalid
+	  geometry section or syntax error.
+
+2008-09-08 13:12  robe
+
+	* Move over ST_Translate and provide example use
+
+2008-09-07 11:02  mcayland
+
+	* Yet another update to the liblwgeom parser API -
+	  lwgeom_from_ewkt() has been renamed to
+	  serialized_lwgeom_from_ewkt() to indicate that the function
+	  returns a serialied LWGEOM rather than an unserialized LWGEOM
+	  structure.
+
+2008-09-07 09:14  robe
+
+	* typo in funcprototype
+
+2008-09-07 09:07  robe
+
+	* Provide example of ST_SetPoint
+
+2008-09-07 08:43  robe
+
+	* Move over ST_SetPoint to new section
+
+2008-09-06 19:12  robe
+
+	* change alias field names of st_contains examples
+
+2008-09-06 19:02  robe
+
+	* correct mm spec section of ST_Contains. Remove MM ST_Contains
+	  from old ref section
+
+2008-09-06 18:58  robe
+
+	* Move over ST_Contains to new section. Provide example. Minor
+	  changes to ST_Within
+
+2008-09-04 18:28  robe
+
+	* Put in disclaimer on ST_Equals when dealing with invalid
+	  geometries
+
+2008-09-04 12:40  robe
+
+	* Move over ST_NDims and ST_Dimension to new reference section
+
+2008-09-04 12:08  robe
+
+	* minor change to example
+
+2008-09-04 12:04  robe
+
+	* accidentally took out reference from ST_OrderingEquals
+
+2008-09-04 11:56  robe
+
+	* Move over ST_Overlaps to new reference section and provide some
+	  examples
+
+2008-08-28 21:09  robe
+
+	* Fixed url links to geos and proj. Both are now osgeo projects and
+	  no longer at refractions or remotesensing. Move around
+	  instructions putting geos and proj compilation steps at the end
+	  per Mark's request
+
+2008-08-27 04:34  kneufeld
+
+	* moved ST_IsClosed to the new documentation template.
+
+2008-08-24 04:54  kneufeld
+
+	* moved ST_StartPoint and ST_EndPoint to new reference_new.xml
+
+2008-08-22 17:47  robe
+
+	* another typo
+
+2008-08-22 17:36  robe
+
+	* Typo
+
+2008-08-22 17:13  robe
+
+	* Some changes based on Mark's comments.
+
+2008-08-22 14:46  robe
+
+	* More typos
+
+2008-08-22 13:37  robe
+
+	* typo
+
+2008-08-22 13:05  robe
+
+	* More reordering
+
+2008-08-22 12:52  robe
+
+	* Installation got moved out of order for some reason.
+
+2008-08-22 12:32  robe
+
+	* Typo
+
+2008-08-22 12:14  robe
+
+	* Updated the installations docs. I took some of Olivier Courtin
+	  instructions for install
+	  (http://postgis.refractions.net/pipermail/postgis-users/2008-August/020746.html)
+	  which seemed much easier to follow than the ones we currently
+	  have. Also corrected path settings we had to the install files.
+	  They are all in downloads not root of postgis as we suggested.
+
+2008-08-21 11:27  mcayland
+
+	* Update PostGIS README file to account for changes in SVN trunk.
+
+2008-08-21 10:56  mcayland
+
+	* Update PostGIS SVN trunk to use the new 8.4 GiST API (where
+	  RECHECK is now specified within the consistent function, rather
+	  than being supplied as part of the operator class definition).
+	  This allows PostGIS to compile and pass regression tests on the
+	  latest PostgreSQL 8.4 CVS HEAD.
+
+2008-08-21 08:45  mcayland
+
+	* Alter the lwgeom Makefile so that liblwgeom.a is linked directly,
+	  rather than using the -L...-l options on the command line. This
+	  is to prevent problems on OSX where PGXSadds the PostgreSQL
+	  $libdir to the PostGIS link line, causing it to link to
+	  liblwgeom.so produced by older versions of PostGIS rather than
+	  the static liblwgeom.a.
+	  
+	  Also change the PGXS CPP/LIB equivalent variables to use += so
+	  that extra compile/link options can be supplied. Per report from
+	  Robert Rainthorpe, with thanks to William Kyngesburye.
+
+2008-08-12 16:42  pramsey
+
+	* move to CLASS/STYLE mapserver 5.X syntax
+
+2008-08-04 11:50  robe
+
+	* Moved over ST_SRID, fixed a typo, added some references
+
+2008-08-04 11:32  robe
+
+	* got rid of additional entry for ST_GeomFromText - was already
+	  moved over, moved over ST_PointFromText, ST_MakePoint
+
+2008-08-03 15:05  pramsey
+
+	* Spelling changes from Mark Kolybabi.
+
+2008-08-02 22:03  mcayland
+
+	* Add a download reference for Apache Ant, plus fix a couple more
+	  typos.
+
+2008-08-02 08:41  mcayland
+
+	* Correct typo from the previous documentation commit.
+
+2008-08-02 08:24  mcayland
+
+	* A long overdue documentation update - update the installation
+	  section to reflect the many changes in the new SVN trunk build
+	  system.
+
+2008-08-01 16:01  robe
+
+	* bad break in GeoJSON example
+
+2008-08-01 15:18  robe
+
+	* Provide example for geojson (excerpts from postgis newsgroup
+	  thread)
+
+2008-08-01 15:12  kneufeld
+
+	* Reverted html markup for mathematical expressions in ST_Touches
+	  and ST_Crosses to a gif image. It seems unicode markup does not
+	  work well for both IE and Firefox. The next best thing to do is
+	  to get MathML markup working.
+
+2008-08-01 04:42  kneufeld
+
+	* small grammar correction in ST_Touches
+
+2008-08-01 04:26  kneufeld
+
+	* added ST_Touches examples
+
+2008-07-31 12:32  robe
+
+	* took out kml example - causing parsing error.
+
+2008-07-31 12:14  robe
+
+	* Moved over remaining geometry output functions and put in
+	  availability for each.
+
+2008-07-31 06:35  robe
+
+	* Put in Availability 1.3.4 for ST_AsGeoJSON
+
+2008-07-31 06:33  kneufeld
+
+	* fixed small typo in ST_Touches mathematical expression
+
+2008-07-31 06:29  kneufeld
+
+	* Moved over ST_Touches to new PostGIS reference. Examples
+	  forthcoming.
+
+2008-07-31 04:57  kneufeld
+
+	* replaced the mathematical gif expression in ST_Crosses with
+	  simple html markup
+
+2008-07-30 14:05  robe
+
+	* Move over ST_WKTToSQL and also defined ST_GeometryFromText
+	  (didn't see it in the old docs, but its not deprecated and is a
+	  popular variant)
+
+2008-07-30 11:41  robe
+
+	* Got rid pf superfluous redirection to deprecated functions of
+	  ST_GeomFromWkb and ST_GeomFromText - now they just point directly
+	  to the c functions. Changed all FromWKB, FromText variants to
+	  point to the non-deprecated ST_GeomFrom, ST_BuildArea etc.
+	  (before they were pointing at deprecated functions)
+
+2008-07-29 15:46  robe
+
+	* grammatical error
+
+2008-07-29 15:42  robe
+
+	* Move over ST_Collect and ST_Union, provide examples for ST_Union.
+	  Get rid of comment about don't use ST_Union with geometry
+	  collections - seems to work fine with those.
+
+2008-07-29 12:35  robe
+
+	* typo in function declare for perimeter
+
+2008-07-29 12:00  robe
+
+	* remove ST_Area from reference.xml already accounted for in
+	  reference_new.xml, move over ST_Length, ST_Perimeter
+
+2008-07-29 05:43  kneufeld
+
+	* moved over st_pointonsurface and provided examples.
+
+2008-07-29 05:11  kneufeld
+
+	* moved over st_centroid and provided examples in both svg and png
+	  format. Eventually, ImageMagick will be used to generate the png
+	  files, but for now they are committed into svn.
+
+2008-07-29 04:42  robe
+
+	* minor formatting changes, note about ST_NumPOints being an alias
+	  for ST_NPoints moving forward.
+
+2008-07-28 19:05  kneufeld
+
+	* fixed some minor xrefences in the documentation so the autobuild
+	  doesn't throw errors.
+
+2008-07-28 12:07  robe
+
+	* Move over ST_GeomFromEWKT, ST_GeomFromEWKB and provide examples.
+	  Fix some miscellaneous references.
+
+2008-07-28 10:03  mcayland
+
+	* Allow Makefile substitutions for PGCONFIG which are required if
+	  pg_config is not located in the path. Note that as part of this
+	  fix, we now need to generate topology/Makefile using autoconf.
+	  Thanks to Jorgen Austvik for the report and partial patch.
+
+2008-07-28 09:13  mcayland
+
+	* Fix -o option for flex; the output filename must be specified
+	  immediately after -o without any preceding white space. Per
+	  report from Jorgen Austvik.
+
+2008-07-24 11:58  robe
+
+	* Move over ST_GeomFromText and provide examples
+
+2008-07-24 10:22  mcayland
+
+	* Add PROJ.4 version check to ensure that a minimum version of
+	  4.5.0 is installed. This is to ensure that the
+	  pj_set_searchpath() function is present (note: it was actually
+	  added in 4.4.9, however we version detect on major.minor rather
+	  than major.minor.release)
+
+2008-07-24 05:55  kneufeld
+
+	* Moved several version functions to the new PostGIS reference.
+
+2008-07-23 17:13  kneufeld
+
+	* added some xreferences so the autobuild process does not throw
+	  errors.
+
+2008-07-23 16:40  kneufeld
+
+	* changed @@LAST_RELEASE_VERSION@@ with a DocBook variable so the
+	  correct version number gets substituted in all included files,
+	  not just postgis.xml
+
+2008-07-23 12:03  robe
+
+	* move of ST_AsBinary,ST_AsEWKB - add examples, various minor fixes
+	  to ST_As function descriptions
+
+2008-07-23 10:56  robe
+
+	* 
+
+2008-07-22 13:53  robe
+
+	* Deprecate ST_area2d
+
+2008-07-22 11:38  robe
+
+	* Move over ST_AsText, ST_AsEWKT and provide examples. Change order
+	  of ST_Multi.
+
+2008-07-22 11:12  robe
+
+	* move over ST_SetSRID, ST_Transform and ST_Multi. Provide
+	  examples.
+
+2008-07-21 16:20  robe
+
+	* Remove ST_Area2D and replace with ST_Area - move to new section
+	  and provide example
+
+2008-07-21 12:09  robe
+
+	* Move over ST_GeometryType, ST_MakePolygon
+
+2008-07-21 11:38  robe
+
+	* delete reference to ST_Equals in reference.xml - alread in new
+	  version, include an ST_DWithin non-join join example.
+
+2008-07-18 12:23  robe
+
+	* Move over ST_AddPoint, ST_RemovePoint, ST_Npoints, ST_NumPoints
+	  and provide examples.
+
+2008-07-17 14:16  robe
+
+	* Move ST_Reverse and add example
+
+2008-07-17 12:14  robe
+
+	* Move ST_BuildArea expand on definition, provide example, Move
+	  ST_BdPolyFromText and ST_BdMPolyFromText
+
+2008-07-17 11:20  robe
+
+	* move over ST_Within and provide example
+
+2008-07-16 08:42  mcayland
+
+	* Fix for segfault in ANALYZE due to incorrect use of legacy BOX
+	  type within compute_geometry_stats() (Fixes GBT#43). Thanks to
+	  Landon Fuller for the bug report and fix.
+
+2008-07-16 06:42  kneufeld
+
+	* moved ST_Envelope, complete with examples.
+
+2008-07-16 05:10  kneufeld
+
+	* updated the st_crosses method:
+	  made the geometry parameters lowercase and made a few changes to
+	  content.
+
+2008-07-16 05:03  kneufeld
+
+	* Moved ST_Crosses into new reference_new.xml file, complete with
+	  images.
+	  Updated css to use fixed-width fonts for programlistings.
+
+2008-07-16 04:55  kneufeld
+
+	* fixed small typo
+
+2008-07-16 04:54  kneufeld
+
+	* Apparently, the <inlinegraphic> will become deprecated in a
+	  future version of DocBook. Now replaced with <inlinemediaobject>.
+
+2008-07-15 21:20  kneufeld
+
+	* fixed a small typo so the autobuild process will still work.
+
+2008-07-15 19:38  robe
+
+	* Move ST_Equals, ST_OrderingEquals - provide examples. Make
+	  Geometry - geometry
+
+2008-07-15 18:02  robe
+
+	* minor corrections to ST_SetSRID and UpdateGeometrySRID
+
+2008-07-15 17:54  robe
+
+	* remove includes index note for ST_MakeLine
+
+2008-07-15 17:51  robe
+
+	* Move ST_Intersection, ST_Disjoint provide examples for both.
+
+2008-07-15 15:33  kneufeld
+
+	* applied patch from Mark to fix the if/then/else so the Makefile
+	  can run on older systems (ie. FC3)
+
+2008-07-15 11:34  robe
+
+	* typo
+
+2008-07-15 11:03  robe
+
+	* Move ST_MakeLine from reference.xml to reference_new.xml and add
+	  an additional example to ST_MakeLine
+
+2008-07-15 06:57  kneufeld
+
+	* Started migration of the functions in reference.xml using the
+	  <variablelist> concept to a new "reference_new.xml" using
+	  DocBook's <refentry> concept. Once migration is complete,
+	  reference.xml will be removed and reference_new.xml will be
+	  renamed to reference.xml. The included template.xml file is not
+	  used, except to provide example usage of DocBook's refentry tag.
+
+2008-07-14 21:52  pramsey
+
+	* Updated CSS from Dane Springmeyer
+
+2008-07-14 16:30  robe
+
+	* Example use case of ST_DWithin
+
+2008-07-14 11:40  mcayland
+
+	* Modify autoconf stylesheet logic (again) to correctly distinguish
+	  between the case where a valid docbook stylesheet is found
+	  automatically and where it is explicitly specified using the
+	  --with-xsldir option.
+
+2008-07-14 10:41  mcayland
+
+	* Change autoconf iconv-detection code so that ICONV_LDFLAGS is
+	  explicitly set in the AC_CHECK_LIB() action-if-found section
+	  (LIBS does not get automatically set when action-if-found is
+	  set). Thanks to Olivier Courtin for the bug report.
+
+2008-07-14 10:05  mcayland
+
+	* Apply some autoconf / Makefile changes from Olivier Courtin.
+	  XSLBASE should not be checked for validity unless it has been
+	  explicitly specified using the --with-xsldir option, and we also
+	  add some friendlier messages in the documentation Makefile in
+	  case the DocBook stylesheets and/or xsltproc cannot be found.
+	  Additionally, the configure --help output has been tidied up
+	  using the AS_HELP_STRING macro.
+
+2008-07-13 23:47  pramsey
+
+	* Apply GeoJSON patch from Olivier Courtin.
+
+2008-07-13 17:33  mcayland
+
+	* Rename the new parser function ewkt_to_lwgeom() to
+	  lwgeon_from_ewkt() so that it matches the rest of the parser API
+
+2008-07-13 11:09  mcayland
+
+	* Add some additional LWDEBUG(F) statements for debugging that I
+	  missed the first time around with the new debugging
+	  infrastructure
+
+2008-07-13 10:50  mcayland
+
+	* More work on improving the EWKT/B parser; remove all references
+	  to allocator functions from outside of liblwgeom by generating
+	  wrapper functions with more meaningful names. As well as cleaning
+	  up the API, it also makes the code much more readable
+
+2008-07-11 10:48  robe
+
+	* Example uses of ST_Line_SubString
+
+2008-07-10 13:16  robe
+
+	* Examples of using ST_ExteriorRing and ST_NumInteriorRings
+
+2008-07-09 11:16  robe
+
+	* Numerous small changes. Changed some returns 1 (TRUE) to just
+	  TRUE. Automatic casting between 0 1 and boolean no longer exists
+	  in PostgreSQL. Lets not confuse people by suggesting to them they
+	  are the same.
+
+2008-07-08 13:30  robe
+
+	* numerous changes(remove additional parent, argument list changes,
+	  multi function breakout)
+
+2008-07-08 12:01  robe
+
+	* Provide examples of using ST_MakePolygon in conjunction with
+	  ST_Accum and PostgreSQL ARRAY() function
+
+2008-07-08 06:05  mleslie
+
+	* Added brief descriptions to the SQL-MM curve types.
+
+2008-07-08 05:15  kneufeld
+
+	* modified toc top generation level param
+
+2008-07-08 05:09  kneufeld
+
+	* split postgis.xml into manageable chunks, broken at chapter
+	  divisions.
+
+2008-07-08 03:12  kneufeld
+
+	* updated tips section to reference ST_* function names
+
+2008-07-07 12:20  robe
+
+	* Example of ST_AddPoint, some fixes of non-ST references,
+	  miscellaneous indenting changes.
+
+2008-07-07 11:57  robe
+
+	* Add examples for ST_MakePolygon, correct non-st to ST references
+	  in ST_MakePolygon section
+
+2008-07-06 07:22  robe
+
+	* fixed ST_Dimension example, flipped order of conditions in WHERE
+	  on some examples (in later versions of PostgreSQL since we don't
+	  have our costs right - the planner may choose to process in order
+	  of conditions
+
+2008-07-06 01:47  kneufeld
+
+	* fixed typo in a WKT example.
+
+2008-07-03 19:07  robe
+
+	* Examples of use of ST_MakeLine, correction to my ST_Collect
+	  example.
+
+2008-07-03 17:36  pramsey
+
+	* Add version information to <title>
+
+2008-07-03 17:08  pramsey
+
+	* Match version numbers to new naming conventions.
+
+2008-07-03 09:28  mcayland
+
+	* Add the parser build rules back into the liblwgeom Makefile, so
+	  now any changes to either the lexer or parser source files will
+	  automatically invoke a rebuild of the relevant output files
+	  during make
+
+2008-07-01 14:15  mcayland
+
+	* Fix liblwgeom requiring gcc to compile. By using macros and
+	  variables supplied by libtool, we can now detect the PIC flags
+	  and whether the compiler will accept additional gcc warning flags
+	  for developers
+
+2008-06-30 15:30  robe
+
+	* Fixed typo
+
+2008-06-29 19:19  mcayland
+
+	* Move some PostgreSQL compatibility macros from lwgeom_pg.h into
+	  pgsql_compat.h which is their proper home
+
+2008-06-29 19:11  mcayland
+
+	* Split the basic geometry accessors into a separate static library
+	  liblwgeom.a; this potentially allows re-use of the liblwgeom
+	  functions from within PostGIS, or could be extended at a later
+	  date to include databases other than MySQL. This patch includes a
+	  change to the liblwgeom handler functions; instead of sprinkling
+	  init_pg_func()s around the source, I have changed the default
+	  liblwgeom handlers to make use of a callback to allow linked
+	  libraries to set their own handlers the first time any of them
+	  are called. I have also tidied up the parser API a little in
+	  liblwgeom.h, which means wktparse.h can be removed from all of
+	  the headers in the lwgeom/ directory, plus renamed wktunparse.c
+	  to lwgunparse.c to keep things similar to lwgparse.c. Finally, I
+	  renamed liblwgeom.c to lwutil.c to avoid confusion within the new
+	  interface. TODO: the liblwgeom Makefile has some gcc-specific
+	  options, but these can be fixed later - it seemed more important
+	  to make the warnings visible to developers.
+
+2008-06-28 05:34  robe
+
+	* Flesh out definition of ST_Collect and how to use it.
+
+2008-06-26 02:40  kneufeld
+
+	* ST_SnapToGrid SQL functions were referencing the deprecated
+	  SnapToGrid instead of their ST_.. equivalents.
+
+2008-06-24 16:12  robe
+
+	* Fix mismatched para in intersection documentation and remove
+	  dangling command tag in Reporting Documentation Issues section.
+
+2008-06-24 15:57  robe
+
+	* Definitions for st_convexhull and st_shift_longitude
+
+2008-06-06 08:53  mcayland
+
+	* Rearrange lwgeom/Makefile.in in terms of the liblwgeom/PostgreSQL
+	  distinction, plus remove remaining JTS reference.
+
+2008-06-06 08:48  mcayland
+
+	* Remove JTS support from liblwpostgis; native GCJ-compiled JTS
+	  code is reported not to be reliable enough within a production
+	  environment, so well stick with GEOS.
+
+2008-06-05 16:08  mcayland
+
+	* Some more updates to lwpostgis.sql.in.c; correct a couple of
+	  missing conversions from OPAQUE_TYPE to internal (how on earth
+	  did regression tests pass with this still in place??), plus
+	  remove the UPDATE on pg_opclass to change the OID of the index
+	  storage type since we can do this by specifying a STORAGE clause
+	  instead.
+
+2008-06-05 14:49  mcayland
+
+	* Remove Makefile from lwgeom/ directory; it is no longer needed as
+	  it is automatically generated from lwgeom/Makefile.in
+
+2008-06-05 14:47  mcayland
+
+	* Update new Makefile copyrights, also remove compat.h from the
+	  loader/ directory since it is now no longer needed.
+
+2008-06-05 14:30  mcayland
+
+	* Update copyrights for configure.ac (rewritten from scratch, and
+	  now renamed from the deprecated form configure.in) and also the
+	  PROJ.4 version detection macro
+
+2008-06-05 12:09  mcayland
+
+	* Switch all SQL and PL/PGSQL stored procedures over to use dollar
+	  quoting instead of apostrophes for function bodies. At last, most
+	  of the stored procedures actually become readable
+
+2008-06-05 11:19  mcayland
+
+	* Remove the HAS_SCHEMA #define and all related #else code since we
+	  now guarantee to be using PostgreSQL > 7.2
+
+2008-06-05 11:07  mcayland
+
+	* Remove PQunescapeBytea hack from pgsql2shp which is no longer
+	  needed, as it was only required for versions of PostgreSQL < 7.3
+
+2008-06-05 10:51  mcayland
+
+	* Remove all of the pre-PostgreSQL 7.3 schema #ifdefs from
+	  lwpostgis.sql.in to make things readable once again.
+
+2008-06-05 10:19  mcayland
+
+	* Blast away the huge amounts of legacy C code related to
+	  PostgreSQL versions < 8.1. Next step will be to work on the SQL
+	  script files too.
+
+2008-05-31 10:35  mcayland
+
+	* Provide a new text file called DEBUG explaining how to use the
+	  new debug system.
+
+2008-05-31 09:56  mcayland
+
+	* Commit new PostGIS debugging infrastructure. These changes unify
+	  all the debug logging to use a new set of macros:
+	  LWDEBUG()/LWDEBUGF() for LWGEOM functions, and
+	  POSTGIS_DEBUG()/POSTGIS_DEBUGF() for PostgreSQL functions. To
+	  enable debugging, run configure with --enable-debug and then
+	  remake the entire project. If --enable-debug is omitted during
+	  configure, the above macros evaluate to (void)0, and hence should
+	  be removed by the compiler during optimisation. Also: contains
+	  minor warning cleanups and a fix for the ST_Dwithin SQL
+	  definition.
+
+2008-05-28 23:03  pramsey
+
+	* Enhanced speed _ST_DWithin(g,g,d) that returns as soon as g and g
+	  are within d of each other, rather than using distance naively.
+	  Change ST_DWithin to use enhanced op. (Issue 20)
+
+2008-05-28 21:58  pramsey
+
+	* Fix towgs84 for 31300 and 31370 (issue 23)
+
+2008-05-28 21:47  pramsey
+
+	* Geomunion name change note, issue 26.
+
+2008-05-28 21:45  pramsey
+
+	* Bug reporting documentation (issue 27)
+
+2008-05-28 21:35  pramsey
+
+	* Fix for issue 30, ST_Buffer doco mistake
+
+2008-05-27 15:08  mcayland
+
+	* Remove extra warnings related to the shp2pgsql deleted records
+	  patch
+
+2008-05-27 14:47  mcayland
+
+	* Update new build system to include iconv detection for shp2pgsql
+
+2008-05-27 03:00  pramsey
+
+	* Fix for DBF files with deleted records. (#29)
+
+2008-05-22 20:43  mcayland
+
+	* Since PGXS compiles libraries with -Wall, attempt to remove as
+	  many warnings as possible. Most of these are missing function
+	  prototypes at the top of each file.
+
+2008-05-22 14:34  mcayland
+
+	* Update documentation build so that "make install" now works.
+	  Maybe this will fix the on-line website build?
+
+2008-05-22 14:31  mcayland
+
+	* Update topology/ directory to use the new PGXS build system.
+
+2008-05-20 22:24  mcayland
+
+	* Update previous commit: add Makefile.in and remove Makefile,
+	  since Makefile is now generated from Makefile.in automatically.
+
+2008-05-20 22:10  mcayland
+
+	* Rework the documentation Makefile so that it works with the
+	  autoconf build system.
+
+2008-05-14 17:24  mcayland
+
+	* Fixes for previous commit: missed Makefile.config target for
+	  "make clean"
+
+2008-05-14 17:19  mcayland
+
+	* Fixes for previous commit: Alter GNUmakefile to understand that
+	  Makefile.config no longer exists, plus remove lwgeom/sqldefines.h
+	  as it is generated by autoconf
+
+2008-05-14 17:10  mcayland
+
+	* Commit new build system based upon PGXS. Due to the large number
+	  of changes, please refer to
+	  http://postgis.refractions.net/pipermail/postgis-devel/2008-May/003010.html.
+
+2008-04-24 01:04  pramsey
+
+	* ST_AsGeoJSon patch from Olivier Courtin
+	  <olivier.courtin at camptocamp.com>.
+
+2008-04-22 14:54  pramsey
+
+	* envelope doco fix
+
+2008-04-12 18:39  pramsey
+
+	* Bump trunk up to 1.3.4SVN
+
+2008-04-12 18:32  pramsey
+
+	* Versions and news for the 1.3.3 release.
+
+2008-04-12 16:46  pramsey
+
+	* Update re dbf patch
+
+2008-04-12 16:44  pramsey
+
+	* New -n switch to support DBF-only loading of attributes without
+	  shapes.
+	  Submitted by Regina Obe.
+
+2008-04-12 10:16  mcayland
+
+	* Remove svn:eol-style from regress_ogc_expected; MingW requires
+	  unix line endings in order for the diff to work as expected.
+
+2008-04-10 14:44  pramsey
+
+	* Reduce FTDate field size to 8 bytes from 10. Matches other calls
+	  in the file
+	  now, no good explanation in code why it was 10 to start with.
+	  http://postgis.refractions.net/pipermail/postgis-users/2008-April/019169.html
+
+2008-04-10 06:40  mcayland
+
+	* Another round of PostgreSQL 8.3 fixes, this time related to
+	  arrays. Make sure that we use the supplied ArrayType pointer
+	  macros, instead of attempting to access to cast directly to
+	  ArrayType. This resolved GBT#13 where a "corrupted histogram"
+	  error is thrown when using using ST_EstimatedExtent() under 8.3.
+
+2008-04-09 19:52  pramsey
+
+	* Change sr_id into an integer, per mca's suggestion.
+
+2008-04-08 21:36  pramsey
+
+	* Fix string literal comparison warnings: "comparison with string
+	  literal results in
+	  unspecified behaviour"
+
+2008-04-07 20:09  pramsey
+
+	* Rename all occurances of getopt to pgis_getopt to work around
+	  OS/X 10.5 system function name collision.
+
+2008-04-07 19:47  pramsey
+
+	* Fix the ST_AsKML regression tests.
+
+2008-04-07 19:47  pramsey
+
+	* Allow conditional regression tests based on GEOS_VERNUM and move
+	  the
+	  cover/prepared tests into the appropriate buckets. Fix the
+	  AT_AsKML
+	  regression tests.
+
+2008-04-05 14:49  pramsey
+
+	* remove unloved header file
+
+2008-03-31 11:16  mcayland
+
+	* Remove the code that adds share/contrib/nad to the PROJ.4 search
+	  path for PostgreSQL < 8.0 since the mechanism for determining the
+	  path has changed from earlier versions, and this was mainly for
+	  Win32 users. Also rename nad/ directory to proj/ to keep it
+	  inline with an existing PROJ.4 installation.
+
+2008-03-30 19:38  pramsey
+
+	* small syntax errors in ST_YMAX, etc functions
+
+2008-03-30 19:37  pramsey
+
+	* confirm st_*min st_*max
+
+2008-03-28 23:24  pramsey
+
+	* Syntax error in sql.in
+
+2008-03-28 21:31  pramsey
+
+	* Fixed up KML patch from Eduin Carillo.
+
+2008-03-28 21:28  pramsey
+
+	* Enable the USE_PROJ and GEOS_VERNUM macros to propogate into
+	  lwpostgis.sql.in
+
+2008-03-28 21:10  pramsey
+
+	* Revert KML patch, bad puppy!
+
+2008-03-28 21:04  pramsey
+
+	* Added KML patch from Eduin Carillo.
+	  http://code.google.com/p/postgis/issues/detail?id=17
+
+2008-03-28 20:18  pramsey
+
+	* Changed ifeq to ifndef for CXX macro test.
+
+2008-03-28 20:17  pramsey
+
+	* Removed unloved and un-used geos_version.sh file.
+
+2008-03-28 20:03  pramsey
+
+	* Added SVN support patch from Dr. Marco Hugentobler, as described
+	  in
+	  http://postgis.refractions.net/pipermail/postgis-devel/2008-February/002883.html
+
+2008-03-28 19:25  pramsey
+
+	* Added GEOS_VERNUM macro and protected GEOS 3.0/3.1 functionality
+	  behind it.
+
+2008-03-28 18:55  mcayland
+
+	* Fix crash caused by double-free in LWGEOM_same - we were
+	  accidentally freeing the 1st parameter twice instead of freeing
+	  the second parameter. Thanks to Cliff Wright for the bug report.
+
+2008-03-28 17:05  pramsey
+
+	* Removed regress_ogc_prep from tests temporarily until a new GEOS
+	  is released with support
+	  for new predicates.
+
+2008-03-27 21:18  mcayland
+
+	* Fix bug with |>> and <<| operators - the BOX2D overabove and
+	  overbelow functions were actually wrong, causing index scans to
+	  return the wrong results. Per bug report from Tomas Karlsson.
+
+2008-03-26 03:40  pramsey
+
+	* Change link to postgis bug tracker
+
+2008-03-21 08:17  mcayland
+
+	* Resolve GBT bugs #2,#3 and #9 related to crashes when calling
+	  aggregate functions under PostgreSQL 8.3 (all earlier versions
+	  would not see the error). This was due to missing more VARSIZE
+	  macros in the PostgreSQL 8.3 conversion. The complete list of
+	  affected functions under PostgreSQL 8.3 is: ST_force_2d(),
+	  ST_force_3dz(), ST_force_3dm(), ST_force_4d(), ST_Collect(),
+	  ST_MakeLine(), ST_Polygonize(), ST_Union()/ST_GeomUnion(),
+	  ST_MakePolygon()/ST_Polygon().
+
+2008-02-12 15:05  pramsey
+
+	* Document ST_SimplifyPreserveTopology(geometry,float)
+
+2008-02-12 15:03  pramsey
+
+	* Added hook to GEOSTopologyPreserveSimplify
+
+2008-01-29 01:24  benjubb
+
+	* Changed the interface for the GEOS prepared predicates.
+	  ST_contains, ST_containsProperly, ST_covers, and ST_intersects
+	  are now overloaded.
+	  The new arguments style is ( geometry, geometry, integer). The
+	  third argument is used to determine when the first argument
+	  changes. The assumption is that when the third argument changes,
+	  the first argument is assumed to have changed too. This
+	  side-steps the issue of determining when the identity of the
+	  first geometry changes.
+
+2008-01-22 19:44  benjubb
+
+	* Ammended to include prepared geometry cache code in scope of
+	  PREPARED_GEOM symbol.
+
+2008-01-22 00:24  benjubb
+
+	* Modified to check version of GEOS and stub out prepared
+	  predicates if GEOS is prior to 3.1.0
+
+2008-01-18 18:57  benjubb
+
+	* Made some minor changes suggested by Mark Cave-Ayland.
+
+2008-01-18 01:05  benjubb
+
+	* Added new function wrappers to expose prepared geometry
+	  predicates:
+	  ST_ContainsPrepared( geometry, geometry )
+	  ST_ContainsProperlyPrepared( geometry, geometry )
+	  ST_CoversPrepared( geometry, geometry )
+	  ST_IntersectsPrepared( geometry, geometry )
+	  
+	  as well, this function was added, for orthogonality:
+	  ST_ContainsProperly( geometry, geometry )
+
+2008-01-18 01:04  benjubb
+
+	* Added new functions to lwgeom_geos_c.c to support prepared
+	  geometry predicates.
+	  bool containsPrepared( geom, geom)
+	  bool containsProperlyPrepared( geom, geom)
+	  bool coversPrepared( geom, geom)
+	  bool intersectsPrepared( geom, geom)
+
+2008-01-18 00:59  benjubb
+
+	* Tests for the prepared geometry predicates.
+	  The tests were copied from regress_ogc, and modified.
+	  Most of the tests use a pattern where the same function is
+	  invoked three times with the same argument.
+	  This tests the prepared geometry caching mechanism.
+	  This testfile haven't been added to regress/Makefile yet, as it
+	  fails for one case. This
+	  probably due to a bug in GEOS.
+
+2008-01-11 15:05  mcayland
+
+	* Bump version number to 1.3.3SVN for next development cycle.
+
+2008-01-11 15:04  mcayland
+
+	* Rewrite the pgsql2shp connection string code so that it uses a
+	  connection string, rather than setting environment variables.
+	  MingW-compiled and MSVC-compiled apps seem to have great problems
+	  passing the variables to each other, causing regression to fail.
+	  With this fix (and a Makefile tweak), it is now possible to run a
+	  MingW-compiled PostGIS against an MSVC compiled PostgreSQL and
+	  pass all regression tests.
+
+2007-12-03 23:10  pramsey
+
+	* Fix up bad entities and screwed up programlistings from some
+	  previous pretty-printing
+	  run on the XML.
+
+2007-12-02 20:37  mcayland
+
+	* Commit updated versions of the ChangeLog and README.postgis (also
+	  change some references in README.postgis from "run as root" to
+	  "run as postgres", and correct the --with-pgsql and --with-geos
+	  documentation)
+
+2007-11-30 18:19  pramsey
+
+	* Added release notes.
+
+2007-11-30 13:04  mcayland
+
+	* Fix the (E)WKB parser so that it performs validation checks in
+	  the same way as the WKT parser, e.g. ensure POLYGON rings are
+	  closed, LINESTRINGs consist of at least 2 points and that curves
+	  have at least 3 points. As discovered when looking simplify() bug
+	  submitted by Ivan Mincik.
+
+2007-11-27 22:39  mcayland
+
+	* Rename the existing get_int32() and get_uint32() functions to
+	  lw_get_int32() and lw_get_uint32() respectively in order to avoid
+	  a collision with functions of the same name in newer versions of
+	  OS X. This should resolve the problem with PostGIS crashing on
+	  some OS X installations. Many thanks to William Kyngesburye and
+	  others for resolving this issue.
+
+2007-11-27 22:19  mcayland
+
+	* Extend the PROJ.4 search path to include
+	  $sharedir/contrib/postgis/nad when looking for grid files. This
+	  is mainly to allow Win32 builds to find grid files without having
+	  to use a PROJ.4 DLL compiled containing a fixed path.
+
+2007-11-23 10:42  mcayland
+
+	* Apply Tom Glancy's patch to shp2pgsql which corrects an
+	  off-by-one error in the field_width calculation when determining
+	  which SQL numeric type is required depending upon the length of
+	  the corresponding shapefile field. This should eliminate various
+	  out of range error messages that may have appeared when
+	  attempting to load a converted shapefile into PostgreSQL.
+
+2007-11-23 10:24  mcayland
+
+	* Commit a first attempt at an Ant build.xml file for the PostGIS
+	  JDBC driver so finally all the Java drivers build with Ant for
+	  consistency, plus we eliminate numerous cross platform problems.
+	  As it stands, the build.xml file supports only the standard JDBC
+	  driver - if you wish to use a JTS-enabled JDBC driver or run the
+	  online regression tests then you must still use the Makefile. Any
+	  help porting the remaining parts of the Makefile would be
+	  appreciated.
+
+2007-10-29 16:29  mcayland
+
+	* Apply parts of Charlie Savage's MSVC patch - mainly tidying up
+	  variable allocations so they appear at the start of functions,
+	  but also making better use of the pj_get_errno_ref() which gets
+	  rid of the auto-import warnings on MingW.
+
+2007-10-29 14:22  mcayland
+
+	* Remove version numbers from liblwgeom references in lwpostgis.sql
+	  as per
+	  http://postgis.refractions.net/pipermail/postgis-devel/2007-September/002764.html.
+	  This should help make upgrades a lot easier for people since it
+	  removes the need to change the SQL function definitions when
+	  upgrading version. Note that this is a quick and dirty fix as I
+	  didn't want to change Makefile.shlib too much - as soon as we
+	  remove support for PostgreSQL < 8.0, we can use PGXS instead and
+	  thus remove the redundant shared library code from PostGIS.
+
+2007-10-29 13:44  mcayland
+
+	* Commit Charlie Savage's patches (with additional comments) to the
+	  bounding box/envelope functions to ensure that valid geometries
+	  are always returned; in more specific terms, if a bounding box is
+	  a point then a POINT is returned, and if a bounding box is
+	  1-dimensional a LINESTRING is returned. Otherwise a POLYGON is
+	  returned as per the old behaviour. For details see the thread in
+	  the postgis-users archives Sept 2007 'How to get the centroid of
+	  an bounding box using st_extent'.
+
+2007-10-29 12:34  mcayland
+
+	* Fix broken error message when attempting to deserialise a type
+	  other than a point; the message should now correctly show the
+	  name of the offending type. Patch supplied by Charlie Savage.
+
+2007-10-23 00:19  pramsey
+
+	* KML credits patch <yecarrillo>
+
+2007-10-10 21:27  mcayland
+
+	* Apply extra fixes for the reworked AsGML() function to ensure
+	  that enough memory is allocated for the GML output. Patch
+	  supplied by Barbara Phillipot.
+
+2007-09-28 10:18  mcayland
+
+	* Fix a mistake in my refactoring of the AsGML() patch for GML3
+	  support - the detoasted geometry is now the second argument
+	  rather than the first. Per report from Olivier Courtin.
+
+2007-09-19 05:01  pramsey
+
+	* Applied patch from Charlie Savage to make ST_Envelope return a
+	  POINT
+	  when the input geometry is a POINT or a one-part MULTIPOINT.
+
+2007-09-06 16:03  mcayland
+
+	* Commit modified version of Barbara Phillipot's GML patch to fix
+	  existing output to make it GML2 compliant, plus add GML3 output
+	  capability
+
+2007-08-22 15:09  pramsey
+
+	* Rename ST_GeomUnion to ST_Union in docs and ST_MemGeomUnion to
+	  ST_MemUnion in
+	  .sql.
+
+2007-08-21 23:02  mcayland
+
+	* Fix crash when calling ST_EndPoint caused by a double-free in
+	  LWGEOM_endpoint_linestring. This bug has been there for a while -
+	  thanks to Eric Francois for the bug report.
+
+2007-08-15 14:39  snowman
+
+	* - Include levenshtein difference in rating when doing city/state
+	  match.
+
+2007-08-13 16:30  pramsey
+
+	* Increment version number to 1.3.2 for next development cycle
+
+2007-08-13 16:12  pramsey
+
+	* Version flip up to 1.3.1
+
+2007-08-13 15:51  mcayland
+
+	* Fixed spelling error for the word "geometry" thanks to Regina
+	  Obe, plus added comment about initial PostgreSQL 8.3 support.
+
+2007-08-13 07:27  mcayland
+
+	* This time really fix the documentation missing tag problem...
+
+2007-08-13 07:14  mcayland
+
+	* Fix documentation since an error in the 1.3.0 release notes xml
+	  caused the build to fail (this may need author review)
+
+2007-08-13 07:06  mcayland
+
+	* Remove warning about unused variable in lwgeom.c (it was a
+	  leftover from the PostgreSQL 8.3 compatibility patch)
+
+2007-08-09 22:50  mleslie
+
+	* Added release notes and updated version numbers and release
+	  dates.
+
+2007-08-09 22:19  mleslie
+
+	* Moved the intersects method back to the original definition and
+	  disabled the new apparently broken implementation.
+
+2007-08-09 16:57  mleslie
+
+	* Bumped the version number to RC5.
+
+2007-08-09 16:56  mleslie
+
+	* Updated the regression tests for curved geoms to avoid the byte
+	  ordering problems.
+
+2007-08-03 20:58  mleslie
+
+	* Removed an unused function that was erroneously committed.
+
+2007-08-02 19:58  mleslie
+
+	* Added PreparedGeometry and caching support to the intersects
+	  function in the jts connector. Created wrapper functions for the
+	  PreparedGeometry functionality.
+
+2007-08-02 19:57  mleslie
+
+	* Removed a call to the deprecated point_in_ring function.
+
+2007-07-31 20:40  mleslie
+
+	* Updated the version numbers.
+
+2007-07-26 18:55  mleslie
+
+	* Applyed Michael Fuhrs patch to fix the reserved word issue
+	  against PostgreSQL 8.3.
+
+2007-07-23 21:43  mleslie
+
+	* Fixed the FP_LTEQ macro to accomodate values significantly larger
+	  that zero.
+
+2007-07-23 18:52  mleslie
+
+	* Added the covers and coveredby functions to the jts connector.
+
+2007-07-23 16:29  mleslie
+
+	* Updated the loader to create the index after the data has been
+	  loaded.
+
+2007-07-20 04:29  pramsey
+
+	* Fix some ST_ declarations that were missing.
+
+2007-07-18 15:57  mleslie
+
+	* Applying Michael Fuhrs patch to correct my attrocious selling.
+
+2007-07-16 18:53  mleslie
+
+	* Added notes about the implicit index operators on the relational
+	  functions.
+
+2007-07-16 18:26  mleslie
+
+	* Resurrected the ST_LineToCurve regression tests, but commented
+	  them out until ST_SnapToGrid excepts curves.
+
+2007-07-16 18:06  mleslie
+
+	* Upgraded the escaping of quotes from the deprecated backslashing
+	  to the doubling of quotes.
+
+2007-07-13 05:48  mcayland
+
+	* Rollback experimental shp2pgsql escaping change that accidently
+	  got included in the last commit :(
+
+2007-07-13 05:42  mcayland
+
+	* Correct previous commit for older PostgreSQL versions - the order
+	  of the methods in PROJ4SRSCacheContextMethods is not consistent
+	  between versions.
+
+2007-07-12 20:33  mcayland
+
+	* Add missing methods to the PROJ.4 cache memory context to prevent
+	  a backend crash caused by a NULL pointer dereference when
+	  PostgreSQL is trying to clean up memory contexts. Per report from
+	  Tom Lane.
+
+2007-07-12 17:20  mleslie
+
+	* Removing the unsnappable test calls to LineToCurve.
+
+2007-07-11 01:17  pramsey
+
+	* Remove extra/debian, per recommendation from Stephen Frost
+
+2007-07-10 21:12  pramsey
+
+	* Remove templategis from make, install, clean targets.
+
+2007-07-09 03:11  snowman
+
+	* - Remove debugging NOTICE
+
+2007-07-09 02:20  snowman
+
+	* - Added print-print function for norm_addy type (norm_addy ->
+	  varchar)
+	  - Restructured geocode(), accept address in parsed norm_addy form
+	  as well as unparsed varchar form. Return norm_addy type instead
+	  of
+	  varchar (use pprint_addy() if you want a varchar result instead)
+
+2007-07-08 21:56  snowman
+
+	* - City names are 90 characters (this matters more than you might
+	  think because it affects the types returned from the various
+	  calls and if they don't match subsequent geocode() queries in
+	  the same session may complain about the planned record type not
+	  matching across calls)
+
+2007-07-06 16:45  pramsey
+
+	* ST_Dwithin reference entry
+
+2007-07-06 16:44  pramsey
+
+	* Added ST_DWithin SQL function
+
+2007-07-04 17:12  mleslie
+
+	* Applied the patch from Michael Fuhr to fix the definition of
+	  ST_PointN
+
+2007-07-03 21:36  snowman
+
+	* - Change to generic database name
+
+2007-07-03 21:36  snowman
+
+	* - Update install instructions
+
+2007-07-03 21:32  snowman
+
+	* Add in initial import scripts for importing the TIGER/Line
+	  data into a PostGIS system. Could probably be improved to
+	  accept more arguments/etc and require less direct script
+	  modification to make it work. Also, not sure the polygons
+	  are done perfectly yet. :/
+
+2007-07-03 21:30  snowman
+
+	* Add in broken out/updated normalize/geocode functions
+	  - create_geocode.sql:
+	  Main creation script for pulling in all the other
+	  .sql files to create all the functions and whatnot
+	  - normalize/
+	  Normalization routines, includes mapping 'North' -> 'N',
+	  'Virginia' -> 'VA', etc, etc.
+	  - geocode/
+	  Actual geocoding routines to find the point geometry of the
+	  address. Includes interpolation across the linestring found
+	  for the location (perhaps not the best), and fallbacks to
+	  zip-code and city, state matches using the associated lookup
+	  tables for those. Also currently returns a set rather than
+	  a cursor, that's up for some debate but the cursor makes it
+	  difficult to do things like fallback, imv. Especially since
+	  references to it from another pl/pgsql function require it to
+	  be a specific record type across multiple calls. That's
+	  currently a problem. :/
+
+2007-07-03 21:22  snowman
+
+	* Initial import of utility functions, seperated into individual
+	  files
+	  for sanity.
+
+2007-07-03 21:19  snowman
+
+	* tables/- New scripts for roads_local/tiger_geocode_roads, clean
+	  up lookup_tables
+	  - roads_local.sql:
+	  Script to create the road_local table from the completechain
+	  table which is created by ogr2ogr. Mainly handles type
+	  conversions. Also creates the tlid, cfcc, and geometry
+	  indexes.
+	  
+	  - tiger_geocode_roads.sql:
+	  Script to create the tiger_geocode_roads table which breaks
+	  down the roads_local to just the street name, etc, much
+	  smaller than roads_local but has the pointers to get back
+	  to the full roads_local for address number matching, etc.
+	  Also creates the appropriate indexes using soundex().
+	  
+	  - lookup_tables.sql:
+	  - Add 'drop if exists' to make script easily re-runnable
+	  - Add primary keys, good thing to have, and creates indexes
+	  - Add st_code (TIGER/Line state code) to state_lookup
+	  - Remove dup in street_type_lookup
+	  - Add in building of:
+	  place_lookup
+	  county_lookup
+	  countysub_lookup
+	  zip_lookup_all
+	  zip_lookup
+
+2007-07-03 21:05  snowman
+
+	* - Minor reorg, add in other parts of the initial load
+
+2007-07-03 20:51  snowman
+
+	* - Original tiger geocoder
+
+2007-07-03 20:03  mleslie
+
+	* Added a home for the tiger geocoder.
+
+2007-06-28 22:46  mleslie
+
+	* Added ST_Covers and ST_CoveredBy functions, as discussed at
+	  http://lin-ear-th-inking.blogspot.com. Added regression tests and
+	  documention for the new functions.
+
+2007-06-28 20:21  mleslie
+
+	* Added a 1D rtree for polygon segment indexing, and tied the index
+	  into the point in polygon short-circuit of the contains, within,
+	  intersects and disjoint methods. Added an index cache to the
+	  comparitor methods to save index build times.
+
+2007-06-28 20:16  mleslie
+
+	* Added or updated debugging statements.
+
+2007-06-28 20:14  mleslie
+
+	* Altered the macro tests for pg_alloc, pg_realloc to only print
+	  debugging information when alloc debugging is enabled.
+
+2007-06-15 19:06  mleslie
+
+	* Updated the regression test suite to allow variable results
+	  depending on jts/geos availability.
+
+2007-06-15 19:04  mleslie
+
+	* Added curvey geometry recognition to the jts connector.
+
+2007-06-12 14:46  pramsey
+
+	* Typo corrections from Michael Fuhr.
+
+2007-06-08 10:28  mcayland
+
+	* Applied Michael Fuhr's patch to use explicit text casts where
+	  required. Required for PostgreSQL 8.3 where many of the implicit
+	  casts to text have been removed.
+
+2007-06-07 16:16  mleslie
+
+	* Added relational function definitions that inline index operators
+	  for automagic index utilization.
+
+2007-06-06 19:19  nbarker
+
+	* Hibernate Spatial Criteria Queries and Dialect
+
+2007-06-05 20:46  mleslie
+
+	* Updated the docs to reflect the function name transition.
+
+2007-06-05 20:45  mleslie
+
+	* Reorganized the sqlmm function declarations to prevent
+	  duplication and confusion.
+
+2007-06-04 23:06  mleslie
+
+	* Added versions of functions with standard ST (Spatial Type)
+	  prefixes to any functions that were lacking them. Updated the
+	  regression tests to include the new functions.
+
+2007-06-01 20:56  mleslie
+
+	* Ongoing PIP trauma. Addressed the issue of points in line with a
+	  boundary segment, but not actually on it. Added appropriate unit
+	  tests.
+
+2007-06-01 12:44  mcayland
+
+	* Reduce 'LWGEOM_gist_joinsel called with arguments that are not
+	  column references' warning to DEBUG1; it's not really a problem,
+	  and in cases where people a lot of these types of queries, the
+	  logs get flooded with these NOTICEs. Per email from Flavio Perri.
+
+2007-06-01 09:54  mcayland
+
+	* Fixed bug #145 - RemovePoint Failure in the bugtracker. It was an
+	  off-by-one error in ptarray.c which caused the penultimate point
+	  to not be copied to the new geometry.
+
+2007-06-01 07:01  mcayland
+
+	* Fix broken docbook stylesheet search. AC_ARG_WITH only calls its
+	  contents when a --with-* option is specified, so the search would
+	  never be invoked in its current position. Moved the search into
+	  the second macro argument, so it is now invoked if no --with-xsl
+	  argument is specified, which I believe was the intended
+	  behaviour.
+
+2007-05-31 13:18  mcayland
+
+	* Add support for the upcoming release of PostgreSQL 8.3. From
+	  PostgreSQL 8.3, the internal structure of varlena datatypes has
+	  changed and so any references to the size of the varlena and its
+	  address must use the VARSIZE and SET_VARSIZE macros. Includes a
+	  #define in pgsql_compat.h so that SET_VARSIZE still works with
+	  the older PostgreSQL versions. Passes all regression tests under
+	  PostgreSQL 8.2 and PostgreSQL 8.3. Thanks to David Techer and
+	  Michael Fuhr for additional testing.
+
+2007-05-28 15:34  mleslie
+
+	* Added curve handling to getType, numGeometries, geometryN,
+	  dimension, exteriorRing, numInteriorRings, interiorRingN, closed
+	  (lwgeom_ogc.c) lwgeom_clone (lwgeom.c) and area. Added function
+	  ST_CurveToLine and ST_LineToCurve. Added regression tests for
+	  sql-mm geometries and related functions.
+
+2007-05-22 22:10  mleslie
+
+	* Added short-circuit calls for the point-in-polygon cases of
+	  disjoint and intersect calls. Added regression tests for the new
+	  short-circuits.
+
+2007-05-14 18:04  mcayland
+
+	* Bump SVN code version to 1.2.2SVN
+
+2007-05-14 17:55  mcayland
+
+	* Fix broken regress_proj expected results by removing the extra
+	  DELETE at the end of the file.
+
+2007-05-14 17:51  mcayland
+
+	* Remove GEOS C++ API support from PostGIS HEAD; it's been broken
+	  since 1.2.0 and so we require a minimum of GEOS 2.2.0 to compile
+	  and run PostGIS. Includes alterations to autoconf to display an
+	  error message during configure if the GEOS version is incorrect.
+	  Passes all regression tests with GEOS 2.2.3 and GEOS 3.0.0rc4
+	  using GEOS CAPI.
+
+2007-05-08 16:37  pramsey
+
+	* Spelling fix
+
+2007-04-02 21:17  pramsey
+
+	* Small doco fix
+
+2007-03-15 09:22  mschaber
+
+	* aded PostGIS Dialect for Hibernate from Norman Barker
+
+2007-03-09 19:34  mleslie
+
+	* Bug 143 is once again dealt with, this time for good.
+
+2007-03-09 18:30  mleslie
+
+	* Rolling back a cure that killed the patient.
+
+2007-03-09 00:33  mleslie
+
+	* Bug 143 code fix and regression case.
+
+2007-03-01 08:31  strk
+
+	* * extras/template_gis/Makefile:
+	  Install 'defaults' file to $(DATADIR)$(prefix)
+
+2007-02-28 17:39  pramsey
+
+	* Remove minor typo
+
+2007-02-26 09:03  strk
+
+	* * regress/run_test: discard CONTEXT and DELETE
+	  lines from test outputs.
+	  
+	  Patch by Eduin Carrillo, sliglty modified to take precision
+	  into account:
+	  
+	  * regress/: Makefile, kml.sql, kml_expected:
+	  Regression test for asKML().
+
+2007-02-06 17:38  pramsey
+
+	* Edits from Bruce Rindahl
+
+2007-01-26 15:11  mcayland
+
+	* Refine previous patch to use a different delimiter than : (!) for
+	  sed. This simplifies the Makefile and protects all the $*dir
+	  arguments from escaping issues under Win32.
+
+2007-01-19 09:44  strk
+
+	* * extras/template_gis/Makefile: escape $bindir
+	  to allow for colons in it's value (win32 issue).
+
+2007-01-18 18:51  mschaber
+
+	* finally really fixed javadoc build on Windows. Yes, that hack is
+	  ugly. Kudos to Marc Cave-Ayland.
+
+2007-01-18 18:33  mschaber
+
+	* further fix for javadoc build
+
+2007-01-18 17:56  mschaber
+
+	* fixed jdbc javadoc build
+
+2007-01-15 10:48  strk
+
+	* Patch by Michael Fuhr: * extras/template_gis/Makefile: quote grep
+	  argument for Solaris to work.
+
+2007-01-12 20:28  pramsey
+
+	* Change 'Postgis' to 'PostGIS'
+
+2007-01-12 18:07  strk
+
+	* Patch by Gerald Fenoy <djay at gentoo.org>:
+	  
+	  * configure.in: add --with-xsl switch.
+
+2007-01-12 01:50  pramsey
+
+	* 1.2.1 release prep
+
+2007-01-11 01:40  mleslie
+
+	* Added a length check to prevent the point in polygon shortcut
+	  from finding points contained within a zero length segment.
+
+2007-01-11 01:39  mleslie
+
+	* Fixed the COMPOUNDCURVE example to properly should the contained
+	  CIRCULARSTRING.
+
+2007-01-08 10:48  mschaber
+
+	* fixed 8.2 compatibility
+
+2007-01-08 10:12  mschaber
+
+	* hopefully fixed GCJ build
+
+2007-01-05 00:52  strk
+
+	* * GNUmakefile: bring in extra/template_gis for all rules.
+	  * extras/template_gis/Makefile: have 'install' also install
+	  manuals.
+
+2007-01-03 17:28  kneufeld
+
+	* initial load
+
+2006-12-29 00:31  strk
+
+	* * configure.in: fixed GEOS_LDFLAGS detection
+	  for older GEOS versions.
+
+2006-12-29 00:26  strk
+
+	* cleaned up Hard Upgrade manual section (was unreadable).
+
+2006-12-27 04:58  devrim
+
+	* Update spec file to 1.2.0 and fix many issues.
+	  Update RPM patches.
+
+2006-12-22 11:28  mschaber
+
+	* Added generation of JDBC javadoc zip file
+
+2006-12-21 00:19  pramsey
+
+	* Updated to 1.2.0
+
+2006-12-20 20:43  strk
+
+	* * regress/README: wrote info about adding regression tests
+	  (plus some ChangeLog formatting)
+
+2006-12-20 18:47  kneufeld
+
+	* Added fix to permit gist indexes to have more than 459 null
+	  geometries in a table
+
+2006-12-20 18:44  kneufeld
+
+	* Added test to fix that permitted gist indexes to have more than
+	  459 null geometries in a table
+
+2006-12-20 18:43  kneufeld
+
+	* Added fix to permit gist indexes to have more than 459 null
+	  geometries in a table
+
+2006-12-18 14:12  mschaber
+
+	* Improved SRID handling in regression tests and added
+	  CoordinateArraySequence tests.
+
+2006-12-18 13:04  mschaber
+
+	* Added ChangeLog/News entries for recent commits
+
+2006-12-18 12:58  mschaber
+
+	* Fix multi-dimension handling in JtsBinaryWriter, thanks to Thomas
+	  Marti for the hints
+
+2006-12-18 12:55  mschaber
+
+	* Fixed Makefile for jts tests, commented debug options better
+
+2006-12-15 11:00  strk
+
+	* Patch by Eduin Carrillo: short circuit transform when source and
+	  target SRID are the same.
+
+2006-12-15 10:54  strk
+
+	* Added additional step for adding release marks in ChangeLog
+
+2006-12-15 10:51  strk
+
+	* marked 1.2.0 release
+
+2006-12-15 10:48  strk
+
+	* Patch by Eduin Carrillo <yecarrillo at yahoo.com>:
+	  
+	  * lwgeom/: Makefile, lwgeom_kml.c, lwpostgis.sql.in:
+	  New AsKML() function
+	  * doc/postgis.xml: document new AsKML function.
+
+2006-12-13 17:50  mschaber
+
+	* fixed 'hard upgrade' instructions in readme.postgis
+
+2006-12-11 17:41  pramsey
+
+	* Updated vers. #
+
+2006-12-09 03:57  pramsey
+
+	* Update version to corrent 1.2.0 version, and set news to correct
+	  version
+	  and date.
+
+2006-12-06 02:00  mleslie
+
+	* Updated with curved geometry definitions.
+
+2006-12-06 00:30  mleslie
+
+	* Added sections for SQL-MM and ArcSDE function ports.
+
+2006-12-05 20:45  mleslie
+
+	* Fixing some incomplete paths, and adding changes to the regress
+	  directory.
+
+2006-12-05 20:41  mleslie
+
+	* Added the previous changes for the curved geometry support.
+
+2006-12-05 19:22  kneufeld
+
+	* Added SQL/MM wrappers to existing PostGIS functions
+
+2006-12-05 19:07  kneufeld
+
+	* added a subset (only those implemented by ArcSDE) of the SQL/MM
+	  function prototypes and appended the file to lwpostgis.sql
+
+2006-12-05 19:05  kneufeld
+
+	* Moved common sql defines to their own header file.
+	  ie. IF USE_VERSION>72 ...
+
+2006-12-05 11:00  mschaber
+
+	* Added JTS shape + missing News message
+
+2006-12-05 01:21  mleslie
+
+	* Updated the documentation to include an SQL-MM types section.
+
+2006-12-01 22:16  mleslie
+
+	* Added typedefs and serialization/deserialization functionality
+	  for sql-mm defined curved geometry types. Added a
+	  point_in_polygon short-circuit for contains and within functions.
+
+2006-11-22 10:42  mschaber
+
+	* java/ejb3/src/org/postgis/hibernate/GeometryType.java Added
+	  Nullpointer Fix by Norman Barker
+
+2006-11-20 12:59  strk
+
+	* * utils/postgis_restore.pl (canonicalize_typename):
+	  canonicalize 'timezone .* time stamp' to 'timezone'
+	  (fixes bug #121)
+
+2006-11-17 17:12  strk
+
+	* Patch by "Antoine Bajolet" <antoine.bajolet at tdf.fr>:
+	  
+	  * lwgeom/lwgeom_gist.c: fixed 'directives may not be used inside
+	  a
+	  macro argument' error raised by some compilers.
+
+2006-11-10 15:17  strk
+
+	* * configure.in (geos detection): use $geos_prefix/lib when
+	  --ldflags is not supported by geos-config available.
+
+2006-11-10 14:11  strk
+
+	* Patch by Havard Tveite <havard.tveite at nlh.no>:
+	  
+	  * doc/postgix.xml (Hard Upgrade): add info about createdb params
+	  * utils/postgis_restore.pl: fix use of createdb params
+
+2006-11-02 13:22  strk
+
+	* * doc/postgis.xml: list setSRID bug fix in 'Bug fixes' section.
+
+2006-11-02 11:48  mschaber
+
+	* Added missing docs about setsrid()
+
+2006-11-02 09:03  mschaber
+
+	* fixed setSRID bug in JDBC ComposedGeom.
+
+2006-11-02 08:06  strk
+
+	* ready for 1.1.6 release
+
+2006-11-02 07:55  strk
+
+	* * lwgeom/lwgeom_api.c, lwgeom/wktunparse.c: cast -1 to a char
+	  to make some compilers happy about comparison with a char type.
+
+2006-10-26 09:41  strk
+
+	* Renamed CHANGES file to NEWS, updated references to it
+
+2006-10-26 09:35  strk
+
+	* Initial import of an automatic generated ChangeLog - all
+	  developers please manually edit this on each commit
+
+2006-10-25 10:23  mschaber
+
+	* fixed CAPI change that broke 64-bit platforms
+
+2006-10-25 10:00  mschaber
+
+	* updated changelog to reflect loader regression fix
+
+2006-10-25 09:57  mschaber
+
+	* Make regress test build loader and dumper as it needs them
+
+2006-10-24 12:35  strk
+
+	* use Z ordinate in reprojections
+
+2006-10-19 12:01  strk
+
+	* spatial_ref_sys.sql updated to EPSG 6.11.1
+
+2006-10-14 14:22  mschaber
+
+	* sanitized usage info output on loader/dumper
+
+2006-10-14 09:26  mschaber
+
+	* Cleaned up Version.config & co.
+
+2006-10-13 15:56  mschaber
+
+	* updated CHANGES and doc/postgis.xml in preparation of upcoming
+	  release
+
+2006-10-13 15:35  mschaber
+
+	* updated HOWTO_RELEASE to reflect version.
+
+2006-10-13 14:18  mcayland
+
+	* Updated CHANGES files to reflect the MingW (Win32) linker fix for
+	  pgsql2hp under PostgreSQL 8.2
+
+2006-10-11 13:35  mschaber
+
+	* Added hint about template_postgis to docs, thanks to Marc
+	  Cave-Ayland for contribution.
+
+2006-10-11 11:19  mschaber
+
+	* fix ARC regression test failures in loader
+
+2006-10-11 10:45  mschaber
+
+	* added note about odt to README, re-exported pdf
+
+2006-10-11 10:00  strk
+
+	* Fixed a bug in InsertLineStringWKT, also fixed some typos
+
+2006-10-11 09:43  mschaber
+
+	* added -S option and updated README to loader/dumper
+
+2006-10-11 09:37  mschaber
+
+	* bumped versions to 1.1.5
+
+2006-10-09 17:22  mschaber
+
+	* fix EJB3 replace Method for Hibernate
+
+2006-10-09 17:12  mschaber
+
+	* added EJB3Spatial.odt, fixed Normans contact mail
+
+2006-10-09 16:33  mcayland
+
+	* Remove extra PGFELIBS definition in one of the MingW specific
+	  sections since it was triggering a linker bug within MingW's gcc.
+	  This was the reason that compiling against PostgreSQL 8.2 beta 1
+	  under MingW would produce pgsql2shp executables that would
+	  segfault.
+
+2006-10-04 10:47  mschaber
+
+	* fixed svn:ignore
+
+2006-10-02 23:26  mschaber
+
+	* Fix all Eclipse warnings in java code, small cleanup
+
+2006-10-02 23:16  mschaber
+
+	* First PLJava checkin.
+	  pljava needs some patches that are currently floating on
+	  pljava-dev to make it work, it seems that we're the first actual
+	  users of varlen UTD mappings in pljava.
+
+2006-10-02 15:58  mschaber
+
+	* fixed NullPointer exception in org.postgis.Geometry.equals()
+
+2006-10-02 14:39  mschaber
+
+	* added .settings to svn:ignore
+
+2006-10-02 14:30  mschaber
+
+	* Removed obsolete synchronisation from JTS.
+
+2006-10-02 12:37  mschaber
+
+	* fix bit width bugs in Docu
+
+2006-09-27 15:50  mschaber
+
+	* Added further jdbc Todo issues.
+
+2006-09-27 12:37  strk
+
+	* removed incompatible pointer type warning
+
+2006-09-27 08:37  mschaber
+
+	* fix erroneously changed build.xml
+
+2006-09-27 08:36  mschaber
+
+	* removed hyperflous jar file
+
+2006-09-27 08:23  strk
+
+	* lower default verbosity level
+
+2006-09-27 08:22  strk
+
+	* fixed to work with SVN
+
+2006-09-27 07:50  strk
+
+	* updated tag step
+
+2006-09-27 07:39  strk
+
+	* updated release notes
+
+2006-09-27 07:29  strk
+
+	* version set to 1.1.4 (stripped CVS suffix
+
+2006-09-25 08:27  strk
+
+	* Encode pgsql2shp process pid into temporary table name, to reduce
+	  likelyhood of name clashes.
+
+2006-09-22 14:51  mschaber
+
+	* fixed typo, updated CHANGES
+
+2006-09-20 09:03  mschaber
+
+	* added ejb3 tutorial
+
+2006-09-18 13:21  strk
+
+	* Applied patch by Michael Fuhr <mike at fuhr.org>:
+	  Most are spelling errors, but in one case I removed the word
+	  "symmetric"
+	  from the description of the Difference() function
+	  (SymDifference() is
+	  symmetric; Difference() is not).
+
+2006-09-18 09:16  strk
+
+	* Fixed regress tests to pass with GEOS-3.0.0
+
+2006-09-13 20:17  mschaber
+
+	* updated readme to java directory layout change
+
+2006-09-09 16:32  pramsey
+
+	* Added fix for null dates that are encoded as '' instead of
+	  00000000.
+
+2006-09-07 17:37  strk
+
+	* More fixes for mixed declarations and code
+
+2006-09-07 17:03  strk
+
+	* Declare variables at start of blocks...
+
+2006-09-06 11:16  strk
+
+	* removed duplicated function definition
+
+2006-09-05 15:22  mschaber
+
+	* updated jdbc Makefile to new directory layout
+
+2006-09-05 15:16  mschaber
+
+	* Java/JDBC directory reorganization
+
+2006-08-30 08:46  mschaber
+
+	* added EJB2 support POC
+
+2006-08-30 08:39  mschaber
+
+	* fixed README about droped trove4j dependency
+
+2006-07-28 13:11  strk
+
+	* added regress/lwpostgis.sql to svn:ignore list
+
+2006-07-28 13:08  strk
+
+	* updated
+
+2006-07-28 13:07  strk
+
+	* Added tests for makeline, makebox2d and makebox3d
+
+2006-07-28 13:07  strk
+
+	* Fixed small typo in debugging message, replaced custom SRID check
+	  with errorIfSRIDMismatch() function in LWGEOM_makeline
+
+2006-07-28 13:06  strk
+
+	* Added SRID match check in MakeBox3D, fixed small typo in error
+	  message
+
+2006-07-28 13:05  strk
+
+	* Added SRID match check in MakeBox2D
+
+2006-07-27 15:06  strk
+
+	* Marked shapefiles as binary, corrected accidentally mangled ones
+
+2006-07-27 09:44  mschaber
+
+	* typo fix in comment
+
+2006-07-26 18:44  pramsey
+
+	* Changed Refractions mailing address.
+
+2006-07-26 17:21  pramsey
+
+	* Re-order repository
+
+2006-07-26 17:21  pramsey
+
+	* Re-order repository
+
+2006-07-25 20:16  strk
+
+	* Fixed bug in collect() function discarding SRID of input
+
+2006-07-25 18:24  mschaber
+
+	* Reworked jdbc2 makefile
+
+2006-07-21 21:21  pramsey
+
+	* Add official "adaptions" to the files to make them suitable for
+	  submission to the OGC compliance process.
+
+2006-07-19 13:31  mschaber
+
+	* fixed checkSrid method in JtsBinaryWriter
+
+2006-07-19 09:45  mschaber
+
+	* Fix setSridRecurse function in JTS
+
+2006-07-18 18:13  mschaber
+
+	* fix compiler warning due to deprecated method
+
+2006-07-18 18:13  mschaber
+
+	* fix SRID handling in JTS code
+
+2006-07-07 13:56  strk
+
+	* Applied Michael Fuhr patches:
+	  Eliminate the warnings that escape_string_warning complains
+	  about.
+	  The patches change \' (backslash single-quote) to ''
+	  (single-quote single-quote) and replace a couple of other escapes
+	  with calls to chr().
+
+2006-07-02 23:41  strk
+
+	* Fixed support for PostgreSQL 8.2 (gist) - patch by Michael Fuhr
+	  <mike at fuhr.org>
+
+2006-06-30 21:29  strk
+
+	* Prepared for 1.1.3 release: release notes, changes, version.
+	  Release date set for today (2006-06-30)
+
+2006-06-26 01:02  strk
+
+	* replaced ROLLBACK with COMMIT in psql output to hide differences
+	  with 7.4 and lower pgsql versions.
+
+2006-06-26 00:56  strk
+
+	* Fixed Invalid Memory Alloc request size error on GEOS=>LWGEOM
+	  conversion for EMPTY geometries. Removed warnings when built with
+	  POSTGIS_DEBUG enabled.
+
+2006-06-26 00:41  strk
+
+	* Added debug lines in LWGEOM_affine, fixed some compiler warnings
+	  for build with POSTGIS_DEBUG enabled.
+
+2006-06-26 00:40  strk
+
+	* qualified all geometry arguments.
+
+2006-06-25 23:59  strk
+
+	* Added Long Transaction Support routines, dox and regress test.
+
+2006-06-25 23:45  strk
+
+	* Fixed the lc_messages failure by avoiding attempts at setting it
+	  when run against a postgresql version < 8.0. Also fixed a path in
+	  a message from run_test.
+
+2006-06-25 22:53  strk
+
+	* Release Notes moved to an higher depth to reduce ToC noise.
+
+2006-06-25 22:50  strk
+
+	* Fixed HTML output rules
+
+2006-06-25 22:33  strk
+
+	* Add getTransactionID() stored procedure to support pgsql 7.3 (not
+	  tested against 7.2)
+
+2006-06-24 01:08  strk
+
+	* Removed compiler warnings (and more requested)
+
+2006-06-24 00:11  strk
+
+	* Added spaces between parameters ref and operator, as pgsql 7.3
+	  chokes otherwise ($1*$2 becomes $1 * $2)
+
+2006-06-23 23:37  strk
+
+	* Added EnableLongTransactions() and DisableLongTransactions().
+
+2006-06-23 21:56  strk
+
+	* Fixed a couple of bugs, added a simple test script, cleaner error
+	  messages
+	  and compile-time support for unauthorized row updates behaviour
+	  (abort, skip).
+
+2006-06-19 10:42  strk
+
+	* Removed -0 values from polygon doubles
+
+2006-06-18 11:29  strk
+
+	* Changed -e test with -f, for Solaris support
+
+2006-06-17 11:46  strk
+
+	* removed spurious newline
+
+2006-06-17 11:44  strk
+
+	* Fixed portability issues in the new run_test code, added loader
+	  test
+	  for all supported shapefile types
+
+2006-06-16 14:18  strk
+
+	* Aliased 'test' rule as 'check', to conform to common practice.
+
+2006-06-16 14:13  strk
+
+	* New regress test cases and support for loader/dumper.
+
+2006-06-16 14:12  strk
+
+	* - BUGFIX in pgsql2shp successful return code.
+	  - BUGFIX in shp2pgsql handling of MultiLine WKT.
+
+2006-06-13 10:20  strk
+
+	* Updated template_gis Makefile to work with older debian sarge
+	  (stable).
+	  Patch by Alex Bodnaru.
+
+2006-06-09 06:03  strk
+
+	* Fixed bug in PGISSCRIPT variable (provided by Alex Bodnaru)
+
+2006-06-05 17:24  strk
+
+	* Updated misleading documentation for Segmentize() function
+
+2006-06-02 16:59  strk
+
+	* Fully supported georeferencing in chip drawing ops (must still
+	  tweak edge cases)
+
+2006-06-01 16:57  strk
+
+	* Fixed lwgeom drawing primitives to honour georeferencing.
+
+2006-06-01 07:07  strk
+
+	* Added "fmgr.h" include, for PG_MODULE_MAGIC definition
+
+2006-06-01 06:58  strk
+
+	* Added magic block ctor for 8.2 compatibility
+
+2006-06-01 06:56  strk
+
+	* Don't link pgsql2shp to more libs then required.
+
+2006-05-31 08:58  strk
+
+	* Added support and info for CHIP.datatype 7,8,107 and 108. They
+	  were not documented but used by CHIP canonical input function.
+
+2006-05-31 06:43  strk
+
+	* Imported template_gis utilities contributed by Roberto Boati and
+	  Alex Bodnaru.
+
+2006-05-30 17:19  strk
+
+	* Added some primitives for CHIP management + rendering for points
+	  and lines
+
+2006-05-30 17:17  strk
+
+	* Fixed bug in CHIP input routine failing on uncompressed 1x1
+	  integer chip inputs
+
+2006-05-30 08:47  strk
+
+	* added copyright header
+
+2006-05-30 08:38  strk
+
+	* Added some missing copyright headers.
+
+2006-05-23 09:48  strk
+
+	* NEW AsHEXEWKB(geom, XDR|NDR) function + documentation
+
+2006-05-22 15:29  strk
+
+	* Moved 'measures' query into a specific file, added a test for bug
+	  #108
+
+2006-05-22 14:57  strk
+
+	* Set version to 1.1.3CVS
+
+2006-05-22 14:23  strk
+
+	* Transform a SRID==0 from GEOS to a SRID=-1.
+
+2006-05-22 13:08  strk
+
+	* Fixed a bug in distance2d_poly_poly() never really comparing ring
+	  distances
+	  between 1st ring of 1st geom and all rings of second one.
+
+2006-05-22 12:10  strk
+
+	* Added 'with oids' specification to create table (oids are used
+	  for the test).
+	  'With oids' was available in postgresql 7.3.4 so we should not be
+	  highering
+	  the requirements for topology. Suggestion from Alex Bodnaru.
+
+2006-05-22 11:17  strk
+
+	* Applied cleanups by Alex Bodnaru
+
+2006-05-22 11:02  strk
+
+	* New DumpRings(polygon) function + docs
+
+2006-05-22 10:58  strk
+
+	* fixed errors in DEBUG builds
+
+2006-05-22 10:38  strk
+
+	* Added usage comment about lwpoly_construct()
+
+2006-05-17 15:52  strk
+
+	* Added Bruce Rindahl in the credits hall
+
+2006-05-17 15:32  strk
+
+	* Added note about doc generation change
+
+2006-05-17 13:11  strk
+
+	* DocBook version set to 4.3 (4.2 did not have <code> tag)
+	  Thanks to Mateus Loskot for the tip!
+
+2006-05-17 13:04  strk
+
+	* Changed PDF manual generation rule to use db2pdf from
+	  docbook-utils package. Input does not validate, thus the rule
+	  doesn't succeed yet, but removing <code> tags is enough to
+	  complete.
+
+2006-05-17 12:26  strk
+
+	* Added note about pdfxmltex being provided by xmltex package
+
+2006-05-17 12:25  strk
+
+	* Added check for pdfxmltex availability before attempting to use
+	  it
+
+2006-05-17 07:52  strk
+
+	* Additional bbox tests for transcale, rotateX and rotateY
+
+2006-05-16 19:11  strk
+
+	* Added tests for translate and scale bbox computation
+
+2006-05-16 17:09  strk
+
+	* BUGXFIX in affine() failing to update bounding box
+
+2006-05-11 14:24  strk
+
+	* Update to 1.1.2 by Laurent WANDREBECK
+
+2006-05-11 09:41  strk
+
+	* added postgis.fo and postgis.pdf
+
+2006-05-11 09:41  strk
+
+	* changed single-file html production to 'make html', simpler
+
+2006-05-10 13:40  strk
+
+	* Added notes about requirements for dox generation, cleaned up
+	  Makefile
+
+2006-05-10 10:47  mschaber
+
+	* Small typo fix in comment
+
+2006-05-10 10:37  strk
+
+	* Removed >/dev/null redirection of pdfxmltex command, to see
+	  what's going on
+
+2006-05-09 13:06  mschaber
+
+	* Fixed JtsGeometry.equals()
+	  Imporoved Geometry setter/getter
+	  updated postgis version
+
+2006-05-04 15:19  strk
+
+	* Support for Tru64 build (bug#104)
+
+2006-05-03 08:33  mschaber
+
+	* added eclipsebin to cvsignore
+
+2006-05-03 08:30  mschaber
+
+	* Added regression tests for OGC conformant multiPoint parsing,
+	  updated CHANGELOG
+
+2006-05-03 08:18  mschaber
+
+	* Added test case for scientific notation
+
+2006-04-26 14:42  mschaber
+
+	* fixed typo in regression test online help
+
+2006-04-26 12:19  strk
+
+	* Added --with-geos-libdir and --with-proj-libdir configure
+	  switches
+
+2006-04-18 16:57  strk
+
+	* Fixed invalid C++ style comment
+
+2006-04-18 16:56  strk
+
+	* Used ad-hoc AC_PROG_YACC for yacc detection
+
+2006-04-18 14:09  strk
+
+	* Limited text field size to 255 (bug #84) [will eventually provide
+	  a switch to support wider fields ]
+
+2006-04-18 12:36  strk
+
+	* updated
+
+2006-04-18 12:30  strk
+
+	* Added test for wkt parser
+
+2006-04-18 12:30  strk
+
+	* WKT parser: forbidden EMPTY elements in non-collection
+	  multigeoms.
+
+2006-04-18 10:28  strk
+
+	* Cleanly handled deserialization of points with non-point input by
+	  raising an error. Made other simple geoms deserializers errors of
+	  this kind be consistent. Added a check in lwgeom_typename() to
+	  avoid memory corruption when input geometrytype is out of range.
+
+2006-04-18 09:19  strk
+
+	* Added check for libiconv_open (for MingW) - patch provided by
+	  Mark Cave-Ayland
+
+2006-04-18 09:16  strk
+
+	* Substituted bzero() use with memset()
+
+2006-04-18 09:10  strk
+
+	* Applied patch by Mark Cave-Ayland allowing in-place regression
+	  tests to
+	  be run under MingW (Win32)
+
+2006-04-10 08:19  strk
+
+	* Added support for printing argument geoms on union failures
+	  within unite_garray() loop.
+
+2006-03-29 09:25  strk
+
+	* removed obsoleted items
+
+2006-03-29 09:19  strk
+
+	* Set release version and date
+
+2006-03-29 09:14  strk
+
+	* Prepared for 1.1.2 release
+
+2006-03-28 08:39  strk
+
+	* Mangled Self-intersection message to remove 'at or near point'
+	  so that test works with both GEOS 2.x (w/out point spec) and 3.x
+	  (with point spec)
+
+2006-03-27 09:33  strk
+
+	* Used a larger grid for buffer() test, to account for rounding
+	  changes between
+	  GEOS-2.2 and GEOS-3.0
+
+2006-03-13 10:54  strk
+
+	* Applied patch from Mark Cave Ayland embedding access control for
+	  the estimated_extent functions.
+
+2006-03-13 10:41  strk
+
+	* added enforceRHR fix
+
+2006-03-12 17:20  pramsey
+
+	* Fix isccw to return correct ccw answer.
+
+2006-03-12 17:13  pramsey
+
+	* Fix for enforceRHR to actually enforce rather than just reverse.
+	  (Note
+	  that seems to be enforcing CW RHR rather than CCW RHR.)
+
+2006-03-08 18:21  strk
+
+	* Added pg_config --libs to PGFELIBS as a workaround for systems
+	  that doesn't automatically detect dependencies
+
+2006-03-01 09:10  strk
+
+	* Fixed 'clean' rule to succeed also when tree already cleaned (rm
+	  -f)
+
+2006-02-24 20:23  pramsey
+
+	* Minor error in install instructions
+
+2006-02-23 11:48  mschaber
+
+	* documented affine(), rewrote transscale() to use affine()
+
+2006-02-22 14:06  strk
+
+	* Added affine() internal function.
+	  Provided rotate{Z,X,Y}() internally using affine().
+	  Made scale() and translate() internally use affine().
+	  Obsoleted transscale() function.
+	  Fixed a bbox-related bug in transscale()
+	  Added a test for affine transformations.
+
+2006-02-15 08:38  strk
+
+	* Qualified args of difference() to avoid clashes with other
+	  packages
+
+2006-02-10 10:58  strk
+
+	* Made it a single transaction
+
+2006-02-10 10:57  strk
+
+	* Removed intermediate VACUUM
+
+2006-02-06 20:04  mschaber
+
+	* fixed srid handling in jts for composed geometries - this had
+	  prevented 'inner' geometries with no given srid from inheriting
+	  the srid from outer collection.
+
+2006-02-06 11:16  strk
+
+	* Added uchar typedef
+
+2006-02-06 11:12  strk
+
+	* uint32_t typedef moved back from wktparse.h to lwgparse.c and
+	  wktunparse.c
+
+2006-02-06 11:09  strk
+
+	* added snaptogrid behavior
+
+2006-02-03 20:53  strk
+
+	* Swapped stdint.h (unavailable on Solaris9) with inttypes.h
+
+2006-02-03 09:52  strk
+
+	* Changed int4 typedefs to use POSIX uint32_t
+
+2006-02-02 04:46  pramsey
+
+	* Updated maintainers info.
+
+2006-02-01 22:15  strk
+
+	* Made regress/run_test create and drop it's regress database
+	  unless otherwise specified using --nocreate and --nodrop
+	  switches.
+
+2006-02-01 20:48  strk
+
+	* Portable tests for docdir and datadir, comments fixed.
+	  Thanks to Havard Tveite for pointing out.
+
+2006-01-29 13:54  strk
+
+	* Fixed bug in SnapToGrid() bbox computation.
+	  Previous policy (WHEN SIMPLE) turned out to be non-simple,
+	  so this has been changed to TAINING.
+	  Bbox will then be recomputed by scanning output coordinates
+	  iff input had a bbox cache.
+	  AUTOCACHE_BBOX define (the default) will still force a
+	  computation of output box if worth it.
+	  Regress tests added for the case reported on postgis-users
+	  
+	  Run of regress tests do not require postgis install
+	  anymore. The library build in source tree will be
+	  used for this purpose.
+	  
+	  Version bumped to 1.1.2 and CHANGES file updated.
+
+2006-01-23 00:13  strk
+
+	* Set version to 1.1.1, edited 1.1.1 Release Notes chapter in
+	  manual
+	  and set release date (2006-01-23).
+
+2006-01-22 23:09  pramsey
+
+	* Fix for bug 10, SRID 28992 incorrect
+
+2006-01-21 08:40  strk
+
+	* Separated 'export' from assignment, for Solaris support -
+	  reported by Michael Fuhr
+
+2006-01-19 19:19  strk
+
+	* Updated documentation for line_substring() and
+	  line_interpolate_point()
+
+2006-01-19 19:13  strk
+
+	* Added a couple of line_interpolate_point tests
+
+2006-01-19 19:11  strk
+
+	* Z and M interpolation in line_interpolate_point()
+
+2006-01-19 18:26  strk
+
+	* Made line_substring() handle corner case of start/end having the
+	  same
+	  value. A point is returned in that case.
+
+2006-01-19 18:17  strk
+
+	* Added more regress tests for line_substring
+
+2006-01-19 18:17  strk
+
+	* Added Z and M interpolation in ptarray_substring(), fixed some
+	  corner-case bugs
+
+2006-01-19 18:16  strk
+
+	* Added interpolate_point4d() general function in API
+
+2006-01-19 18:15  strk
+
+	* Added -v switch to show differences inline
+
+2006-01-18 21:06  strk
+
+	* Forced lc_messages to be 'C' during regress tests
+
+2006-01-18 10:19  strk
+
+	* Fixed out-of-bound condition in ptarray_substring during copy of
+	  unaltered points.
+	  Added regress test for the case
+	  (postgis-devel/2006-January/001951.html)
+
+2006-01-17 14:53  strk
+
+	* Fixed $datadir and $docdir paths to support postgresql convention
+	  of adding 'postgresql' component IFF neither 'pgsql' nor
+	  'postgres'
+	  already appear in the path.
+
+2006-01-17 08:37  strk
+
+	* Added postgis_restore.pl fix
+
+2006-01-17 08:36  strk
+
+	* Commented out debugging premature exit left from last review
+
+2006-01-16 10:42  strk
+
+	* Added support for Bool and Date DBF<=>PGIS mapping
+
+2006-01-16 10:10  strk
+
+	* Fixed default pgsql prefix to /usr/local/pgsql (default since
+	  pgsql 7.2)
+
+2006-01-15 22:56  strk
+
+	* Fixed handling of pg_config --bindir
+
+2006-01-13 09:11  strk
+
+	* Fixed bug in ptarray_locate_point() - added regress test for
+	  specific case
+
+2006-01-12 12:26  strk
+
+	* Fixed bug blessing all GEOMETRYCOLLECTIONS to MULTIPOLYGONS in
+	  postgis->GEOS
+	  converted trough C-API
+
+2006-01-10 16:38  mschaber
+
+	* Added NumInteriorRing(geometry) alias function
+
+2006-01-09 16:40  strk
+
+	* ISO C90 comments, signedness mismatch fixes
+
+2006-01-09 15:55  strk
+
+	* ISO C90 comments (finished in lwgeom/)
+
+2006-01-09 15:12  strk
+
+	* ISO C90 comments
+
+2006-01-09 15:11  strk
+
+	* Removed variable-sized array and fixed comments as for ISO C90
+	  requirements.
+
+2006-01-09 15:09  strk
+
+	* Added simplify() test unit
+
+2006-01-09 14:43  strk
+
+	* ISO C90 comments, indenting
+
+2006-01-09 12:56  strk
+
+	* Proc upgrade requirement message made more clear.
+
+2006-01-09 12:55  strk
+
+	* Removed variable-sized array forbidden by ISO C90.
+
+2006-01-09 12:39  strk
+
+	* C++ style comments removed, fixed return from void function.
+
+2006-01-09 12:36  strk
+
+	* Changed C++ style comments to ISO C format
+
+2006-01-09 12:30  strk
+
+	* Changed C++ style comments to ISO C ones.
+
+2006-01-09 12:17  strk
+
+	* Added Solaris 2.7 and MingW support improvements item
+
+2006-01-09 11:48  strk
+
+	* Fixed "strict-aliasing rule" breaks.
+
+2006-01-09 11:43  strk
+
+	* Found another (faster) way to avoid breaking "strict-aliasing
+	  rules"
+
+2006-01-09 11:05  strk
+
+	* Removed POINT4D=>POINT2D cast raising GCC warning
+
+2006-01-09 10:56  strk
+
+	* Changed "! test" to "test !" and "-e" to "-f" for Solaris
+	  compatibility.
+
+2006-01-09 10:42  strk
+
+	* Changed all C++ style comments to ISO C ones.
+
+2006-01-08 15:02  strk
+
+	* Added lwpostgis_upgrade.sql
+
+2006-01-07 10:18  strk
+
+	* Changed $PWD uses with `pwd` (required for Solaris 2.7)
+
+2006-01-05 15:01  strk
+
+	* More portable (hopefully) use of quotes and backticks
+
+2006-01-05 00:26  chodgson
+
+	* rollback to contain cast
+
+2006-01-05 00:19  chodgson
+
+	* 1.12 with changes from 1.11 integrated
+
+2006-01-05 00:07  chodgson
+
+	* Recommitted with changes from 1_34 integrated
+
+2006-01-04 21:37  chodgson
+
+	* Added function optimistic_overlap in order to support
+	  TerrainServer. Note that optimistic_overlap existed in postgis
+	  prior to 1.0 but was removed. The included version is a hack to
+	  work with the newer lwgeom structs
+
+2006-01-04 21:21  chodgson
+
+	* Modified lwgeom2 = ... line in LWGEOMFromWKB function; removed
+	  the (uchar *) cast
+
+2006-01-04 21:16  chodgson
+
+	* Added the CHIP_send function which enables Postgres 8.0 to send a
+	  binary CHIP
+
+2006-01-01 02:30  strk
+
+	* Added missing include for definition of unparse_WKB()
+
+2006-01-01 02:19  strk
+
+	* Dropped unused box2df_to_box() and box_to_box2df() functions.
+	  Added box_to_box2df_p() function to complement exiting
+	  box2df_to_box_p().
+
+2005-12-31 15:11  strk
+
+	* Fixed reference to PostgreSQL "contrib" directory (no more
+	  required)
+
+2005-12-31 14:57  strk
+
+	* Fixed "possibly uninitialized" warning in box2df_to_box3d
+
+2005-12-30 18:14  strk
+
+	* Fixed all signedness warnings
+
+2005-12-30 17:40  strk
+
+	* Moved PG_LWGEOM WKB I/O and SRID get/set funx
+	  from lwgeom_api.c to lwgeom_pg.c.
+	  Made lwgeom_from_ewkb directly invoke grammar parser rather then
+	  invoke
+	  the PG_LWGEOM-specific function.
+	  Cleaned up signedness-related and comments-related warnings for
+	  the files
+	  being committed (more to do on other files)
+
+2005-12-28 18:43  devrim
+
+	* Removed unused patch
+
+2005-12-28 18:40  devrim
+
+	* Lots of fixes for 1.1
+
+2005-12-21 18:45  strk
+
+	* Removed awk usage, --with-template is detected during the single
+	  pg_config --configure scan
+
+2005-12-21 13:18  strk
+
+	* Changed $() constructs to "``" ones, for portability
+
+2005-12-21 12:12  strk
+
+	* Raised a warning on pj_errno==-38 (a nodatum transform is
+	  attempted before giving up)
+
+2005-12-20 09:17  strk
+
+	* Used more portable sed syntax, submitted by Michael Fuhr.
+
+2005-12-20 09:06  strk
+
+	* Fixed inconsistency between docs install/uninstall paths
+
+2005-12-19 20:33  strk
+
+	* Fixed eprefix (bindir) use
+
+2005-12-19 20:23  strk
+
+	* Dropped `liblwgeom' dependency from 'test' rule
+
+2005-12-19 15:07  strk
+
+	* Allowed for overriding of --datadir.
+	  reworked pg_config --configure parsing to make a single scan.
+	  Fixed mishanlding of --prefix
+
+2005-12-19 12:26  strk
+
+	* make regress => make test
+
+2005-12-19 10:39  strk
+
+	* used a consistent construct for out_and_err redirect,
+	  added rule to make [eE][-+]0+[0-9]+ become e[-+][1-9]+
+
+2005-12-19 10:17  strk
+
+	* Applied patch for MingW support (buffering and INF representation
+	  problems)
+
+2005-12-19 09:43  strk
+
+	* Fixed uninstall rule for scripts
+
+2005-12-16 16:53  strk
+
+	* fixed iconv check
+
+2005-12-16 16:47  strk
+
+	* Added support for mixed libiconv/iconv
+
+2005-12-16 15:07  strk
+
+	* Added make_dist.sh argument.
+
+2005-12-16 11:55  strk
+
+	* Almost done with closure
+
+2005-12-16 11:53  strk
+
+	* Added Carl Anderson to release-specifi credits section (forgot,
+	  who know how many else)
+
+2005-12-16 11:14  strk
+
+	* Edited release notes in manual, set release date to 2005/12/21
+	  (if everything goes file)
+
+2005-12-16 10:06  mschaber
+
+	* small README improvements
+
+2005-12-16 09:36  strk
+
+	* Added installed procs version when proc upgrade needed
+
+2005-12-16 09:32  strk
+
+	* Added release procedure and Versioning rationale.
+
+2005-12-16 08:59  strk
+
+	* lwpostgis_upgrade.sql installed by install and removed by
+	  uninstall,
+	  fixed path info for lwpostgis.sql install. Stripped CVS from
+	  version
+	  strings and added note about SO/REL versions being the same.
+
+2005-12-16 08:56  strk
+
+	* Added required typinfo include
+
+2005-12-16 08:38  strk
+
+	* Simplified top warning about upgradability of changes.
+
+2005-12-16 08:37  strk
+
+	* Added dependency of postgis_proc_upgrade.pl in
+	  lwpostgis_upgrade.sql rule
+
+2005-12-16 08:33  strk
+
+	* Fixed version checker to only use Major to compare
+
+2005-12-16 02:08  strk
+
+	* Reverted use of $(shlib_major) to $(shlib).
+	  Since lwpostgis_upgrade.sql is always enough
+	  to rebind, and also required...
+
+2005-12-16 01:48  strk
+
+	* Added comment about the use of postgis_lib_version in version
+	  checker
+	  (last commit log was incomplete)
+
+2005-12-16 01:41  strk
+
+	* Unified SCRIPTS, LIB and RELEASE versions for the sake of
+	  simplicity.
+	  postgis_scripts_released() will return the same as
+	  postgis_lib_version()
+	  postgis_scripts_installed() return still the same numbers but as
+	  written
+	  in the database at the time of lwpostgis.sql sourcing.
+
+2005-12-16 01:35  strk
+
+	* Added notes `bout postgis_scripts_released(),
+	  postgis_scripts_installed()
+	  and postgis_version(). Copied soft upgrade description from
+	  README
+	  file - removed most references about DBPROC/RELPROC and the like.
+
+2005-12-15 23:57  strk
+
+	* perl availability check by ./configure (sorry, you'll need it
+	  from now on)
+
+2005-12-15 23:52  strk
+
+	* Added note about jdbc/ drop and PgSQL source dependency relief
+
+2005-12-15 23:49  strk
+
+	* Removed obsoleted code
+
+2005-12-15 23:46  pramsey
+
+	* Remove qandasetdiv tags and fix numbering...
+
+2005-12-15 23:28  strk
+
+	* - Made postgis_version() a C function w/out changing output.
+	  - Moved postgis centroid() version (neither GEOS nor JTS) from
+	  lwgeom_functions_basic.c to lwgeom_nojts.c (fails far less
+	  times with "redefinition of centroid" errors.)
+	  - Made lwpostgis_upgrade.sql build by default (must add a check
+	  for perl availability in ./configure.in)
+
+2005-12-15 23:17  pramsey
+
+	* Wording changes here and there.
+
+2005-12-15 22:50  strk
+
+	* Updated Upgrading section
+
+2005-12-15 19:11  strk
+
+	* back to single full package
+
+2005-12-15 18:34  strk
+
+	* Switched HARD/SOFT upgrade and removed HACK upgrade sections.
+
+2005-12-15 18:30  strk
+
+	* Added item for 1.1 closure
+
+2005-12-15 15:18  strk
+
+	* Added things to do for 1.1.0 closeup
+
+2005-12-15 09:28  strk
+
+	* Infinite->Infinity
+
+2005-12-15 01:27  strk
+
+	* Added PROJ version in output - would change the whole thing to
+	  postgis_full_version() if it only fit into 80 cols
+
+2005-12-15 01:21  strk
+
+	* Made PROJ test be run only if USE_PROJ=1
+
+2005-12-15 01:19  strk
+
+	* Moved GEOS/JTS function from regress to ogc test
+
+2005-12-15 01:07  strk
+
+	* Removed call to replace(text,text,text) in regress.sql
+	  (unsupported by pgsql 7.2)
+	  Used sed in run_test to Transform Infinite to inf and Inf to inf
+
+2005-12-15 00:49  strk
+
+	* Splitted SCRIPTS_VERSION in MAJOR,MINOR,MICRO
+
+2005-12-15 00:47  strk
+
+	* 'IMMUTABLE STRICT' -> '_IMMUTABLE_STRICT' fix for new polygon
+	  ctors
+
+2005-12-15 00:28  strk
+
+	* typo fixed
+
+2005-12-14 18:56  strk
+
+	* Removed rectangle-level locking (DONE)
+
+2005-12-14 18:45  strk
+
+	* Dropped 1.1.0 specific section - all pending items dumped to
+	  'other random items'
+
+2005-12-14 18:44  strk
+
+	* Typo fixed (dumber->dumper) - was tempted to keep it ;)
+
+2005-12-14 18:34  strk
+
+	* Reintroduced revised INSTALLATION, UPGRADE, USAGE.
+	  Added REQUIREMENTS, CONFIGURATION and TESTING.
+	  UPGRADE still requires some cleanup (IMHO).
+
+2005-12-14 15:40  strk
+
+	* Removed most info, added reference to PostGIS manual instead
+
+2005-12-14 15:29  strk
+
+	* Removed postgis_geos_version.h - should be under lwgeom/
+
+2005-12-14 15:23  strk
+
+	* - Create two packages:
+	  postgis-$$.tar.gz and postgis-regress-$$.tar.gz
+	  
+	  - New syntax:
+	  -- postgis-cvs.tar.gz postgis-regress-cvs.tar.gz
+	  sh make_dist.sh
+	  -- postgis-1.1.0.tar.gz postgis-regress-1.1.0.tar.gz
+	  sh make_dist.sh 1.1.0
+
+2005-12-14 14:14  strk
+
+	* Removed obsoleted --param shade.verbatim param from xsltproc
+	  call,
+	  moved common flags on top file.
+
+2005-12-14 13:43  strk
+
+	* fixed closing tag mismatch
+
+2005-12-14 13:42  strk
+
+	* Added release version in abstract, updated INSTALL section to
+	  reflect autoconf-based layout
+
+2005-12-14 12:24  strk
+
+	* Nicely handled missing requirements for docs build
+
+2005-12-14 11:13  strk
+
+	* Snapped buffer() output to a grid of 1.0E-14 grid to account for
+	  slightly
+	  different floating number behaviours on Solaris.
+	  Normalized Infinity to inf to account for different libc outputs.
+
+2005-12-14 00:26  strk
+
+	* Regression tests output made much more concise
+
+2005-12-13 23:25  strk
+
+	* removed unused variable
+
+2005-12-13 22:04  strk
+
+	* Added GEOS/JTS version info when available
+
+2005-12-13 21:16  strk
+
+	* Fixed a misnamed test
+
+2005-12-13 19:01  strk
+
+	* Renamed ReplacePoint() to SetPoint()
+
+2005-12-13 18:39  strk
+
+	* Added RemovePoint() and ReplacePoint() to complete Geometry
+	  editiong function.
+	  Added regress tests for them.
+
+2005-12-13 18:19  strk
+
+	* Fixed bug in lwgeom_as_anytype cast funcions
+
+2005-12-13 14:19  strk
+
+	* LRS section repopulated
+
+2005-12-13 12:51  strk
+
+	* Moved out of LRS section: line_locate_point back (to Misc),
+	  line_substring and line_interpolate_point (to Geometry
+	  constructors).
+	  Added more cross-references.
+
+2005-12-13 12:12  strk
+
+	* updated
+
+2005-12-12 20:41  strk
+
+	* Handled common invokation mistake (accept trailing .sql in test
+	  names)
+
+2005-12-12 20:31  strk
+
+	* Changed math statements to be compatible with solaris shell,
+	  fixed typo
+
+2005-12-12 17:40  strk
+
+	* - Fixed Z presence detection in GEOS funcions (C++ and C
+	  wrappers).
+	  - NEW BuildArea(any_geometry) function
+	  - NEW OGC BdPolyFromText(linestring_wkt, srid) function
+	  - NEW OGC BdMPolyFromText(linestring_wkt, srid) function
+	  - Updated postgis manual and added regression tests for new
+	  functions.
+	  - Reworked regress test runner to be more succint and report
+	  a summary of test results
+
+2005-12-12 11:35  strk
+
+	* Avoided detect_geos_version rule when using the GEOS C-API
+
+2005-12-12 11:33  strk
+
+	* Wrapped grid_print declaration and definition in VERBOSE block,
+	  to avoid compiler warning about it being unused
+
+2005-12-10 15:46  strk
+
+	* Fixed error message typo
+
+2005-12-09 20:43  pramsey
+
+	* Added credits for GEOS and Proj4.
+
+2005-12-09 15:14  strk
+
+	* Organized Change log for 1.1.0
+
+2005-12-09 12:02  strk
+
+	* Added Charlie Savage in credits
+
+2005-12-09 12:00  strk
+
+	* Plugged memory leaks in Polygonize().
+
+2005-12-09 10:14  strk
+
+	* Added a couple of polygonize tests
+
+2005-12-07 12:22  strk
+
+	* Fixed handling of CAST for 8.0.0 restore.
+	  Type name canonicalization function defined separately.
+
+2005-12-07 09:05  strk
+
+	* Added note about OID column drop in pre 8.1 to 8.1+ upgrades
+
+2005-12-06 15:42  devrim
+
+	* Label the spec file as 1.1.0
+
+2005-12-06 15:37  strk
+
+	* Updated SnapToGrid documentation
+
+2005-12-06 15:26  devrim
+
+	* Update to 1.0.6
+
+2005-12-06 15:09  strk
+
+	* Updated after release 1.0.6
+
+2005-12-06 14:56  strk
+
+	* Added check for successfully postgis installation before running
+	  tests
+
+2005-12-06 14:51  strk
+
+	* Added user-reported intersects() test
+
+2005-12-02 15:11  strk
+
+	* Had regress_ogc test skipped if no GEOS nor JTS support is
+	  compiled in
+
+2005-12-02 14:56  strk
+
+	* Added missing rules
+
+2005-12-02 14:52  strk
+
+	* Copied PostgreSQL top-level Makefile for use by systems in which
+	  make != gmake
+
+2005-12-02 14:35  strk
+
+	* Fixed support for PGSQL version 7.2 and 7.3
+
+2005-12-02 14:15  strk
+
+	* Fixed SnapToGrid output expectance (higher dims no more
+	  discarded)
+
+2005-12-02 13:21  strk
+
+	* Added note about new SnapToGrid function
+
+2005-12-02 13:16  strk
+
+	* Added SnapToGrid(geom, point_offset, xsz, ysz, zsz, msz)
+
+2005-12-02 10:46  strk
+
+	* Added LWGEOM_snaptogrid_pointoff and gridspec utility funx
+
+2005-12-02 09:12  strk
+
+	* Added note about SnapToGrid bbox computation
+
+2005-12-02 09:07  strk
+
+	* Fixed output box2d computation in SnapToGrid (was working with
+	  float,
+	  changed to work with doubles and call appropriate box3d->box2d
+	  converter).
+
+2005-12-02 09:06  strk
+
+	* Added PARANOIA_LEVEL checks in box3d<->box2d converters
+
+2005-12-02 08:26  strk
+
+	* Quoted grep pattern (Solaris' shell threats carets as pipes).
+	  Added a sleep 1 before dropping DB (to avoid "database being
+	  accessed" errors).
+
+2005-12-01 22:29  strk
+
+	* Changed back 'tests' to 'test'
+
+2005-12-01 19:25  strk
+
+	* Added note about SnapToGrid and higher dims
+
+2005-12-01 19:09  strk
+
+	* Exported DYNPTARRAY struct and accessor funx (from _lrs.c).
+	  Rewritten ptarray_grid() to allow snapping of all dimensions and
+	  never discard input ordinates.
+
+2005-12-01 17:14  strk
+
+	* Fixed missing LineMerge symbol when built against geos-1.0
+
+2005-12-01 16:21  strk
+
+	* Added SRID mismatch checks in GEOS and JTS wrappers
+
+2005-12-01 16:19  strk
+
+	* Updated comment about GEOS C-API (starts with 2.2.x)
+
+2005-12-01 15:53  strk
+
+	* Renamed clean: to cleanup:, provided empty clean: to make things
+	  work
+	  from toplevel makefile.
+
+2005-12-01 15:50  strk
+
+	* Fixed handling of bogus geos-1.0
+
+2005-12-01 14:07  strk
+
+	* Skipped checks of SQL command outputs
+	  (INSERT,UPDATE,CREATE,DROP).
+	  Cleaned up postgis_reg after tests run.
+
+2005-12-01 13:53  strk
+
+	* Fixed lwgeom_segmentize2d() to always return a clone
+
+2005-12-01 13:49  strk
+
+	* Fixed short-allocation in lwcollection_clone()
+
+2005-12-01 13:37  strk
+
+	* Fixed test to cleanup after run
+
+2005-11-30 21:02  strk
+
+	* Added missing proj tests
+
+2005-11-30 18:24  strk
+
+	* Fixed segfault on addPoint() with invalid offset
+
+2005-11-30 18:24  strk
+
+	* Fixed error message on non-readable expected file
+
+2005-11-30 17:04  strk
+
+	* Added Alex Mayrhofer to list of contributors
+
+2005-11-30 16:59  strk
+
+	* Moved 8.2 support to 1.0.6 section
+
+2005-11-30 16:57  strk
+
+	* Added proj tests, curtesy of Alex Mayrhofer
+
+2005-11-29 22:40  strk
+
+	* CAPI usage triggered starting at geos-2.2
+
+2005-11-29 10:05  strk
+
+	* Added locate_among_measure() and locate_between_measures() dox.
+	  Updated CHANGES adding new LRS funx and new transform() code.
+
+2005-11-29 09:00  strk
+
+	* Updated documentation for X,Y,M and Z
+
+2005-11-28 16:01  strk
+
+	* Fixed a segfault on geom_accum(NULL, NULL) condition
+
+2005-11-28 15:59  strk
+
+	* Added geom_accum(NULL,NULL) test
+
+2005-11-28 15:06  strk
+
+	* Estrapolated SERIALIZED_FORM doc from liblwgeom.h and put it into
+	  SERIALIZED_FORM file.
+	  Cleaned up header files so to avoid C++ style comments and
+	  -pedantic errors.
+	  (more to come on this front)
+
+2005-11-28 11:49  strk
+
+	* Added bbox cache handling fix in 1.0.6
+
+2005-11-28 11:48  strk
+
+	* minor cleanups and comments
+
+2005-11-28 11:31  strk
+
+	* memory release in force_collection
+
+2005-11-28 11:27  strk
+
+	* Added force_collection test
+
+2005-11-28 11:20  strk
+
+	* Fixed ExteriorRing() and Segmentize() handling of bbox cache
+
+2005-11-28 11:04  strk
+
+	* Added ExteriorRing and Segmentize tests
+
+2005-11-25 17:22  mschaber
+
+	* java2d and doc improvements
+
+2005-11-25 16:14  strk
+
+	* Added support for PostgreSQL head, as suggested by Michael Fuhr.
+	  Cleaned up includes.
+
+2005-11-25 16:11  strk
+
+	* Wrapped PROJ4SRSCacheCheck function in ifdef
+	  MEMORY_CONTEXT_CHECKING block, to avoid compiler warning
+
+2005-11-25 15:43  strk
+
+	* Added unite_garray() test
+
+2005-11-25 15:43  strk
+
+	* Added database version info
+
+2005-11-25 15:34  strk
+
+	* Fixed expected ERROR and NOTICEs
+
+2005-11-25 15:28  strk
+
+	* Fixed 0-size allocation in lwcollection deserializer
+	  (only matters when backend is compiled with --enable-cassert)
+
+2005-11-25 14:14  strk
+
+	* Added postgis library version and builddate, to make sure the
+	  existing database
+	  being used is equipped with the library we are willing to test.
+
+2005-11-24 20:20  strk
+
+	* Added note about documentation updates requirement (will anyone
+	  read it before 1.1.0 ? ;)
+
+2005-11-24 20:18  strk
+
+	* Fixed sizeof(GEOSGeom) calls, minor debugging improvements.
+
+2005-11-24 20:11  strk
+
+	* Added -N and -g documentation
+
+2005-11-23 15:54  strk
+
+	* Changed X(), Y(), M() and Z() to raise an error if input
+	  is not strictly a point (must update documentation)
+
+2005-11-23 15:30  strk
+
+	* Changed locate_between_measures() to return simpler types
+
+2005-11-23 14:52  strk
+
+	* Changed M() and Z() to return NULL when input doesn't have
+	  the requested dimension. Updated regress tests with a few
+	  of these cases.
+
+2005-11-23 14:44  strk
+
+	* Added usage dox and check for required input files
+
+2005-11-23 14:38  strk
+
+	* Reworked regress tests to avoid multiple database creations
+
+2005-11-23 13:48  strk
+
+	* fixed bug in points duplication check of dynptarray_addPoint4d
+
+2005-11-23 13:46  strk
+
+	* Added a few regression tests for LRS functions
+
+2005-11-23 13:19  strk
+
+	* Initial implementation of locate_among_measure() and
+	  locate_between_measures()
+
+2005-11-22 21:29  strk
+
+	* Fixed a bug in getPoint{3dm,3dz,4d}_p() api calls automatically
+	  fixing bugs in force_{3dm,3dz,4d}() user functions, for which
+	  tests have been added in regress dir.
+	  Wrapped paranoid checks in PARANOIA_LEVEL preprocessor blocks.
+	  Updated release notes and CHANGES file.
+
+2005-11-22 19:59  strk
+
+	* Fixed debugging printf call
+
+2005-11-18 17:37  mcayland
+
+	* Add fix for PG 8.1 calling the MemoryContext check method when
+	  compiled as a debug build
+
+2005-11-18 10:48  strk
+
+	* fixed double release of bbox cache memory
+
+2005-11-18 10:16  strk
+
+	* Removed casts on lwalloc return.
+	  Used varlena macros when appropriate.
+
+2005-11-17 23:35  mcayland
+
+	* Removed duplicate debugging code used to reset the cache when it
+	  was full
+
+2005-11-17 23:25  mcayland
+
+	* Fixed assertion bug and an off-by-one palloc() in the new
+	  transform() code
+
+2005-11-17 17:49  mcayland
+
+	* Reimplement transform() using a cache that maintains SRS and
+	  PROJ.4 library handles throughout each portal to speed up
+	  reprojections on large datasets
+
+2005-11-16 13:04  mschaber
+
+	* small comment improvements in Point.java
+
+2005-11-16 10:34  strk
+
+	* Added availability info of line_interpolate_point function
+
+2005-11-16 09:49  strk
+
+	* Updated 1.0.5 release documentation
+
+2005-11-14 10:05  strk
+
+	* Forced use of CAPI when building against GEOS 3.x.x or superior
+
+2005-11-14 09:01  strk
+
+	* Forced copy of BOX2D at deserialization time.
+	  LWGEOM (sub)objects will always have their own copy, safely
+	  released
+	  by lwgeom_release(). This will remove memory alignment problems.
+
+2005-11-11 18:04  strk
+
+	* updated
+
+2005-11-11 17:49  strk
+
+	* Updated
+
+2005-11-11 17:45  strk
+
+	* Fixed memory alignment bug in base geometry type serializers,
+	  added integrity check for geometry type flag and it's pointarrays
+	  dimension mismatch
+
+2005-11-11 17:23  strk
+
+	* Fixed memory alignment issues in force_*d*_recursive
+
+2005-11-11 17:03  strk
+
+	* Added some dimensionality changes tests
+
+2005-11-11 17:02  strk
+
+	* Added linemerge test
+
+2005-11-11 10:49  strk
+
+	* Fixed short-initialization in getPoint4d_p
+
+2005-11-01 17:11  strk
+
+	* Ported ELF detection code from PostgreSQL. PostGIS builds on
+	  freebsd > 2 out of the box now.
+
+2005-11-01 11:56  strk
+
+	* Initial work on ST_AddEdgeNewFaces
+
+2005-11-01 11:46  strk
+
+	* Removed calls to get_proj4_from_srid() from transform() to
+	  require
+	  a single scan of spatial_ref_sys for call rather then two.
+
+2005-11-01 11:37  strk
+
+	* Fixed handling of --with-proj handling
+
+2005-11-01 10:29  strk
+
+	* updated
+
+2005-11-01 10:22  strk
+
+	* Changed major-minor version numbers extraction to be compatible
+	  with postgresql 7.2.1 (relies on the fact that this information
+	  will always be in the first 4 characters - single digit per
+	  version)
+
+2005-11-01 09:25  strk
+
+	* Reworked NULL geometries handling code letting user specify
+	  policy (insert,skip,abort). Insert is the default.
+
+2005-10-31 13:42  mschaber
+
+	* Document Bug in PGShapeGeometry
+
+2005-10-28 13:48  mschaber
+
+	* Small winding rule fix and some comment improvements
+
+2005-10-26 11:10  strk
+
+	* updated
+
+2005-10-26 11:07  strk
+
+	* Added optional second argument to specify schema in which postgis
+	  functions are to be replaced
+
+2005-10-25 14:31  strk
+
+	* Added azimuth() and shift_longitude() functions
+
+2005-10-25 14:31  strk
+
+	* Added documentation for azimuth()
+
+2005-10-25 14:21  strk
+
+	* Added missing SRID check in azimuth() function
+
+2005-10-25 14:15  strk
+
+	* Added azimuth(point,point) function.
+
+2005-10-25 11:38  strk
+
+	* Added shift_longitude(geometry) sql procedure and underlying
+	  ptarray_longitude_shift(POINTARRAY *) and
+	  lwgeom_longitude_shift(LWGEOM *)
+	  functions.
+
+2005-10-25 11:37  strk
+
+	* Fixed bug in GEOSCoordSeq to POINTARRAY converter
+
+2005-10-25 11:16  strk
+
+	* Added pglwgeom_deserialize()
+
+2005-10-24 16:14  strk
+
+	* Moved loader/dumper stricter handling of attribute sizes from
+	  1.0.5 to head section
+
+2005-10-24 15:54  strk
+
+	* fixed wrong assumption about maximum size of integer attributes
+	  (width is maximum size of text representation)
+
+2005-10-24 13:29  strk
+
+	* Updated to reflect ownership policy in GEOS C-api.
+
+2005-10-24 11:33  strk
+
+	* Added attribute types mapping change
+
+2005-10-24 11:30  strk
+
+	* Fixed a bug in string attributes handling truncating values of
+	  maximum
+	  allowed length, curtesy of Lars Roessiger.
+	  Reworked integer attributes handling to be stricter in dbf->sql
+	  mapping
+	  and to allow for big int8 values in sql->dbf conversion
+
+2005-10-21 15:35  mschaber
+
+	* PGShapeGeometry constructor cleanup
+
+2005-10-21 13:06  mschaber
+
+	* Updated jdbc2 README to reflect JTS dependency on trove4j
+
+2005-10-21 12:07  mschaber
+
+	* implemented JTS GeometryFactory caching
+
+2005-10-21 11:33  strk
+
+	* Applied patch by Lars Roessiger handling numerical values with a
+	  trailing decima
+	  l dot
+
+2005-10-21 08:53  mschaber
+
+	* typo fix in java2D example
+
+2005-10-20 18:07  mschaber
+
+	* added example for java2d
+
+2005-10-20 16:13  mschaber
+
+	* moved java2d to ordinary src directory, as it does not depend on
+	  any external libraries.
+
+2005-10-20 16:04  mschaber
+
+	* fix postgresql 7.2 datatype registration compatibility code
+
+2005-10-20 15:58  mschaber
+
+	* Fixed all deprecation warnings in JTS code by using proper
+	  GeometryFactory instances (hope)
+
+2005-10-20 15:57  mschaber
+
+	* added forgotten changelog entry
+
+2005-10-20 14:35  mschaber
+
+	* Added some source for java2D readonly support
+
+2005-10-19 13:11  strk
+
+	* Handled some more errors.
+
+2005-10-19 10:12  strk
+
+	* Removed useless variables from linemerge()
+
+2005-10-19 10:09  strk
+
+	* Removed unused variables in linemerge()
+
+2005-10-19 10:04  strk
+
+	* Added ST_ModEdgesSplit function, cleaned up test files, added
+	  tests for
+	  the new topology editing functions.
+
+2005-10-18 16:39  strk
+
+	* Fixed ST_NewEdgesSplit function to return new Node id rather then
+	  text
+
+2005-10-18 15:31  strk
+
+	* Added SQL/MM functions ST_RemoveIsoEdge and ST_NewEdgesSplit.
+	  The ST_NewEdgesSplit also updates the Relation table (out of
+	  SQL/MM specs).
+
+2005-10-17 09:40  strk
+
+	* Changed GEOS initializzation to use lwnotice for errors rather
+	  then
+	  lwerror, to allow for cleanup on exceptions.
+
+2005-10-17 09:39  strk
+
+	* Added -Wall flag to compilers invocation
+
+2005-10-17 08:37  strk
+
+	* Fixed compiler warnings, handled exceptions in POSTGIS2GEOS
+	  conversions
+
+2005-10-14 08:29  strk
+
+	* Added topology change
+
+2005-10-13 16:21  strk
+
+	* Initial work on topology model support
+
+2005-10-13 13:40  strk
+
+	* Fixed return code from shp2pgsql
+
+2005-10-10 16:19  strk
+
+	* Fixed null values fraction computation in geometry analyzer as
+	  suggested by Michael Fuhr
+
+2005-10-03 21:45  devrim
+
+	* Added basic doc about building RPMs
+
+2005-10-03 21:29  devrim
+
+	* - Make PostGIS build against pgxs so that we don't need
+	  PostgreSQL sources.
+	  - Fixed all build errors except jdbc (so, defaulted to 0)
+	  - Added new files under %utils
+
+2005-10-03 18:08  strk
+
+	* Stricter string attributes lenght handling. DBF header will be
+	  used
+	  to set varchar maxlenght, (var)char typmod will be used to set
+	  DBF header
+	  len.
+
+2005-10-03 17:36  devrim
+
+	* Removed postgis-jdbc2-makefile.patch (applied to -head)
+
+2005-10-03 17:29  devrim
+
+	* Applied to HEAD, so removed
+
+2005-10-03 07:53  strk
+
+	* Added -W and -I loader switches to manuals.
+
+2005-10-03 07:45  strk
+
+	* Issued a warning when -W is specified and no UTF8 support has
+	  been compiled in.
+
+2005-09-30 15:09  devrim
+
+	* Removed
+
+2005-09-30 15:09  devrim
+
+	* Renamed the file and fixed the non-ascii char
+
+2005-09-30 12:44  strk
+
+	* undefined UNITE_USING_BUFFER (defining it to 0 did not have the
+	  expected result)
+
+2005-09-30 08:59  strk
+
+	* Fixed release of stack memory occurring when shp2pgsql is
+	  compiled with USE_ICONV defined, an attribute value needs to be
+	  escaped and no -W is used
+
+2005-09-29 07:11  mschaber
+
+	* Manually applied Makefile changes from Devrim GUNDUZ
+	  (extras/rpm/patches/postgis-jdbc2-makefile.patch) to HEAD jdbc2
+	  Makefile
+
+2005-09-28 16:34  strk
+
+	* Honoured want3d parameter in GEOS2POSTGIS converters
+
+2005-09-27 21:50  devrim
+
+	* Mentioned about the patches in spec file.
+
+2005-09-27 21:48  devrim
+
+	* Initial README file for PostGIS RPM
+
+2005-09-27 21:26  devrim
+
+	* Initial import of postgis.spec
+
+2005-09-27 21:12  devrim
+
+	* Necesarry patches used to build PostGIS RPMs.
+
+2005-09-27 16:30  strk
+
+	* Wrapped debugging line in preprocessor block.
+
+2005-09-26 13:48  strk
+
+	* Made USE_GEOS_CAPI definable by ./configure
+
+2005-09-26 13:47  strk
+
+	* Added --with-geos-capi switch
+
+2005-09-26 12:53  strk
+
+	* Added LineMerge function in Geometry Editors chapter
+
+2005-09-26 12:36  strk
+
+	* Initial switches for use of GEOS C-API
+
+2005-09-26 12:30  strk
+
+	* Added LineMerge interface
+
+2005-09-26 12:09  strk
+
+	* Updated LineMerge facts
+
+2005-09-26 12:08  strk
+
+	* Added JTSLineMerge stub, fixed typos in profiling outputs.
+
+2005-09-26 12:07  strk
+
+	* Added stub for linemerge()
+
+2005-09-26 12:04  strk
+
+	* Added new LineMerge funtion
+
+2005-09-26 12:03  strk
+
+	* Fixed prototype of linemerge() and error typo in it
+
+2005-09-26 11:35  strk
+
+	* Changed GEOSLineMerge function to take one geometry and return
+	  the simplest
+	  geometry formed by set of merged LineStrings. Fixed memory leak
+	  in
+	  GEOSrelate().
+
+2005-09-23 17:25  strk
+
+	* Added linemerge_garray function
+
+2005-09-23 17:22  strk
+
+	* Added LineMerger interface
+
+2005-09-23 17:06  strk
+
+	* Initial wrapper to GEOS C api
+
+2005-09-23 16:43  strk
+
+	* Added wrappers for ewkb output
+
+2005-09-23 16:41  strk
+
+	* cleanups
+
+2005-09-23 16:24  strk
+
+	* cleanups
+
+2005-09-23 15:43  strk
+
+	* added header sentinels
+
+2005-09-23 11:45  strk
+
+	* Made LWGEOMFromWKB use underlying pglwgeom_from_ewkb()
+
+2005-09-23 11:23  strk
+
+	* Added pglwgeom_from_ewkb function
+
+2005-09-16 13:19  strk
+
+	* given some consistent format to items
+
+2005-09-15 14:53  strk
+
+	* Fixed X(),Y() and Z() functions descriptions, added M().
+
+2005-09-15 10:24  strk
+
+	* Moved AddPoint() function from 'geometry constructors' to
+	  'geometry editors' chapter
+
+2005-09-15 10:16  strk
+
+	* Disabled buffer-based GeomUnion
+
+2005-09-15 10:13  strk
+
+	* Moved the fix_geometry_column() removal to 1.1.0 section
+
+2005-09-15 09:55  strk
+
+	* Removed automatic fix_geometry_columns() call in
+	  update_geometry_stats and AddGeometryColumns()
+
+2005-09-15 09:50  strk
+
+	* Added Reporting Bugs chapter
+
+2005-09-09 17:03  strk
+
+	* Updated release info for 1.0.4
+
+2005-09-09 16:21  strk
+
+	* Fixed bug in scale() and transscale() functions corrupting output
+	  bounding box
+
+2005-09-09 15:23  strk
+
+	* cleanups for waste left in previous patches
+
+2005-09-09 14:47  strk
+
+	* Fixed bug in translate() corrupting output bounding box.
+	  Bounding-box related cleanups in exterior_ring()
+
+2005-09-08 23:30  strk
+
+	* Made ptarray_compute_box3d a wrapper of ptarray_compute_box3d_p
+
+2005-09-08 22:59  strk
+
+	* minor speedups in distance()
+
+2005-09-08 19:26  strk
+
+	* Handled search_box outside of histogram_box case in selectivity
+	  estimator
+
+2005-09-07 11:58  mschaber
+
+	* added some more Todo points
+
+2005-09-06 09:22  strk
+
+	* Added notes about PointN, GeometryN and InteriorRingN indexing
+	  method
+
+2005-09-06 08:29  strk
+
+	* BOX3d parser note
+
+2005-09-06 08:28  strk
+
+	* looser BOX3D parser
+
+2005-09-03 06:11  strk
+
+	* Leak plugged in compute_serialized_box3d_p
+
+2005-08-31 17:09  strk
+
+	* removed compiler warnings
+
+2005-08-31 16:49  strk
+
+	* Fixed bug in pointArray_construct() misinterpreting hasZ and hasM
+	  parameters
+
+2005-08-29 22:36  strk
+
+	* Removed premature object destruction in InsertLineString{WKT,}
+	  causing segfault
+
+2005-08-29 12:08  strk
+
+	* Added Nikita Shulga <malfet at jscc.ru> in contributors list.
+
+2005-08-29 11:56  strk
+
+	* Typo fixed
+
+2005-08-29 11:48  strk
+
+	* Fixed sprintf() calls to avoid overlapping memory,
+	  reworked not-null objects existance check to reduce startup
+	  costs.
+
+2005-08-16 21:38  strk
+
+	* Added M(point) function
+
+2005-08-16 11:24  strk
+
+	* Early memory release in GiST indexing
+
+2005-08-12 19:20  pramsey
+
+	* Added +proj=longlat to all corrupt srs entries.
+
+2005-08-10 23:16  strk
+
+	* Removed pfree of proj4 text in make_project failure cases
+	  (required for error message)
+
+2005-08-10 23:12  strk
+
+	* Added segfault fix
+
+2005-08-10 23:06  strk
+
+	* Fixed a segfault in transform_geom exploited by proj4's
+	  make_project error.
+
+2005-08-04 16:29  strk
+
+	* Checked for PSQL run success
+
+2005-08-04 15:20  strk
+
+	* Added availability note for version functions
+
+2005-08-04 15:03  strk
+
+	* Updated
+
+2005-08-04 14:55  strk
+
+	* 1.0.3 release notes and date
+
+2005-08-04 14:54  strk
+
+	* Added plpgsql_validator explicit function skip
+
+2005-07-29 22:24  strk
+
+	* updated 1.0.3 section
+
+2005-07-29 22:08  strk
+
+	* Added more obsoleted functions, new obsoleted_ops considered,
+	  check of pg_restore -l return code, better regexp to allow
+	  broader
+	  range of dump/restore versions.
+
+2005-07-28 12:23  mschaber
+
+	* fix EWKT constructors to accept SRID=4711; representation
+
+2005-07-27 02:47  strk
+
+	* Support for multibyte field names in loader
+
+2005-07-27 02:35  strk
+
+	* Minor cleanups in loader
+
+2005-07-27 02:07  strk
+
+	* Fixed handling of POINT types as WKT (-w) in loader
+
+2005-07-25 22:24  strk
+
+	* bugfix in ptarray_compute_box2d_p
+
+2005-07-22 19:15  strk
+
+	* Fixed bug in {get,pop}{int,double} for 64bit archs
+
+2005-07-19 11:26  strk
+
+	* removed useless strchr call in LWGEOM_in
+
+2005-07-13 14:28  strk
+
+	* updated
+
+2005-07-13 14:26  strk
+
+	* Fixed bug reported by klaus F�rster
+
+2005-07-12 16:19  strk
+
+	* Fixed bug in user query handling, reported by Andrew Seales
+
+2005-07-05 16:12  strk
+
+	* Forced INSTALL to be install-sh
+
+2005-07-05 15:13  strk
+
+	* Added more win32-specific variables
+
+2005-07-04 17:04  strk
+
+	* Cleaned up to use more facilities from Makefile.shlib
+
+2005-07-04 09:47  strk
+
+	* Added conservative iconv detection code
+
+2005-07-04 09:14  strk
+
+	* adjusted for 1.0.2 release
+
+2005-07-04 09:12  strk
+
+	* Dropped broken attempt at 'detecting' iconv.
+
+2005-07-03 17:46  strk
+
+	* Added 1.0.2 release notes
+
+2005-07-01 21:10  strk
+
+	* Included debian packaging scripts
+
+2005-06-28 22:01  strk
+
+	* Added index concurrency tester
+
+2005-06-28 22:00  strk
+
+	* Fixed extimators to work with postgresql 8.1.x
+
+2005-06-28 14:58  strk
+
+	* Reverted rtree logic back to use leaf/internal consistency
+	  functions
+
+2005-06-28 14:51  strk
+
+	* updated
+
+2005-06-28 14:42  strk
+
+	* Maintained separate vars for CFLAGS and CXXFLAGS
+
+2005-06-28 14:34  strk
+
+	* Bugfix in RTBelowStrategyNumber handling
+
+2005-06-28 14:00  strk
+
+	* updated
+
+2005-06-28 13:53  strk
+
+	* Inclusion of core rtree header for StratregyNumber typedef (8.1
+	  support)
+
+2005-06-28 11:33  strk
+
+	* Added switch for pgsql 8.1 build
+
+2005-06-28 11:33  strk
+
+	* Moved chunked GeomUnion defines on top of file
+
+2005-06-28 08:12  mschaber
+
+	* fix compile problems in ValueSetter for ancient jdk releases.
+
+2005-06-27 15:16  strk
+
+	* Initial chunk-based unite_garray implementation
+
+2005-06-26 09:15  strk
+
+	* Added collect,buffer implementation for unite_garray().
+	  Compile-time definable: GEOS version defaults to on, JTS to off
+
+2005-06-25 10:24  strk
+
+	* Added pgsql standard geometryc types cast
+
+2005-06-24 12:36  strk
+
+	* Fixed rtree indexing (ported from pgsql rtree fix)
+
+2005-06-24 07:55  mschaber
+
+	* added casts between PostgreSQL and PostGIS geometries to TODO
+	  list
+
+2005-06-17 14:51  strk
+
+	* Memory leak fix in pg_error
+
+2005-06-16 17:55  strk
+
+	* Added -I switch for GiST index creation in loader
+
+2005-06-15 16:04  strk
+
+	* fault tolerant btree ops
+
+2005-06-15 16:04  strk
+
+	* fault tolerant btree ops
+
+2005-06-10 16:27  strk
+
+	* Added (commented) aggregates handling
+
+2005-06-10 16:03  strk
+
+	* Renamed {GEOS,JTS}_polygonize_garray to polygonize_garray to
+	  reduce
+	  redundancies.
+
+2005-06-10 16:02  strk
+
+	* Fixed handling of --with-geos
+
+2005-06-10 12:36  strk
+
+	* Added availability info for postgis_full_version() and
+	  postgis_jts_version()
+
+2005-06-10 12:00  strk
+
+	* Added JTSnoop and JTSversion functions.
+
+2005-06-10 11:58  strk
+
+	* More info in the Upgrade chapter (soft upgrade/hard upgrade)
+
+2005-06-10 09:54  strk
+
+	* Added isvalid(empty) test
+
+2005-06-09 16:02  strk
+
+	* updated
+
+2005-06-09 16:02  strk
+
+	* Added SRID check in line_locate_point()
+
+2005-06-09 16:02  strk
+
+	* removed spurious comments
+
+2005-06-09 16:01  strk
+
+	* Fixed bug in ptarray_locate_point
+
+2005-06-09 16:00  strk
+
+	* Added test for line_locate_point
+
+2005-06-09 15:12  strk
+
+	* Added line_locate_point() function
+
+2005-06-09 12:30  strk
+
+	* Added a check for correct order of ``from'' and ``to'' args in
+	  line_substring()
+
+2005-06-09 12:24  strk
+
+	* NEW line_substring() function
+
+2005-06-07 07:51  strk
+
+	* Added missing Makefile.shlib and removed explicit 'all' rule from
+	  lwgeom build
+
+2005-06-06 18:42  strk
+
+	* iconv autodetection
+
+2005-06-06 17:28  strk
+
+	* Moved 'all' rule before Makefile.shlib inclusion, to have bare
+	  'make' calls work again
+
+2005-06-06 17:21  strk
+
+	* Added WARNING about changes implications in terms of
+	  SCRIPTS_VERSION
+	  upgrade. Removed extra tokens after #endif directives to make
+	  newer
+	  preprocessor (3.4.3) happy.
+
+2005-06-06 16:49  strk
+
+	* Initial implementation of postgis procedures upgrade script
+
+2005-06-06 16:49  strk
+
+	* Added availability info for new functions
+
+2005-06-06 16:48  strk
+
+	* Incremented micro version number in SCRIPTS_VERSION (due to
+	  functions addition)
+
+2005-06-06 16:47  strk
+
+	* Moved create_undef.pl from root to utils/ dir
+
+2005-06-06 16:47  strk
+
+	* Removed automatic build of docs
+
+2005-06-06 07:58  mschaber
+
+	* added scale() and transscale() functions (like transform())
+
+2005-06-06 07:54  mschaber
+
+	* merge Alex' jdbc2 specific Makefile patches
+
+2005-06-04 10:06  strk
+
+	* Applied Alex Bodnaru patch for pgsql source tree dependency drop.
+
+2005-05-25 12:01  strk
+
+	* Stripped out CR chars
+
+2005-05-25 10:12  mschaber
+
+	* fix comment
+
+2005-05-25 10:08  mschaber
+
+	* JTS binary parser now passes basic regression suite
+
+2005-05-24 17:19  strk
+
+	* Added release date for postgis-1.0.1
+
+2005-05-24 16:56  strk
+
+	* Added iconv autodetection, removed already-added things
+
+2005-05-24 14:02  strk
+
+	* Added postgis-1.0.1 release date
+
+2005-05-23 16:18  mschaber
+
+	* Cleaned up Point.equals(Point) mess
+
+2005-05-23 14:15  strk
+
+	* Compiled 1.0.1 release notes
+
+2005-05-18 17:01  strk
+
+	* Applied 'strictness' patch by James Marca
+
+2005-05-18 15:49  strk
+
+	* Fixed SetSRID() entry
+
+2005-05-18 15:39  strk
+
+	* added Paris projections fixes
+
+2005-05-18 15:36  strk
+
+	* Updated proj4text for some French projections, as for Nicolas
+	  Ribot report
+
+2005-05-16 17:50  strk
+
+	* Added note about pgsq2shp attributes names bugfix
+
+2005-05-16 17:22  strk
+
+	* Fixed DBF field names handling as for clashes avoiding.
+	  pgsql field renames are warned.
+
+2005-05-16 08:05  strk
+
+	* Moved dumper and postgis_restore.pl changes in 1.0.1 section
+	  (back-ported)
+
+2005-05-16 07:49  strk
+
+	* Allowed custom args passing to createdb invocation
+
+2005-05-15 08:05  strk
+
+	* updated docs as for -k switch
+
+2005-05-13 14:16  strk
+
+	* Added new -k switch and credits for it
+
+2005-05-13 14:06  strk
+
+	* Applied patch from Obe, Regina to keep identifiers case.
+
+2005-05-13 08:03  strk
+
+	* Added support for macosx build
+
+2005-05-12 10:09  strk
+
+	* changed PGBELIBS command to avoid backtics and newlines
+
+2005-05-12 07:45  strk
+
+	* Added another dir in search path for docbook.xml, changed shell
+	  invocation
+	  line for mingw to avoid newline char being used.
+
+2005-05-11 08:55  strk
+
+	* Renamed MINGW to mingw in HOST_OS findstrings
+
+2005-05-10 12:52  strk
+
+	* Forced OID usage in geometry_column table
+
+2005-05-10 12:32  strk
+
+	* fixed mingw handling syntax
+
+2005-05-10 10:58  strk
+
+	* Added Makefile.config
+
+2005-05-10 10:57  strk
+
+	* Added scripts used by autoconf
+
+2005-05-10 09:35  strk
+
+	* Added initial custom support for MINGW
+
+2005-05-10 08:31  strk
+
+	* GEOS autodetect activated
+
+2005-05-10 08:15  strk
+
+	* fixed upgrade procedure section as suggested by Steven Bowden
+
+2005-05-09 22:33  strk
+
+	* updated
+
+2005-05-04 07:00  strk
+
+	* Version bumped to 1.1.0CVS
+
+2005-05-04 06:58  strk
+
+	* GEOS/JTS performed operations dox made more explicit about which
+	  argument is 'this' and which is 'otherGeometry'.
+
+2005-05-02 10:52  strk
+
+	* Moved 1.0.1 changes into their own section - added jdbc2 -target
+	  change notice
+
+2005-04-28 11:51  mschaber
+
+	* added jdbc2 maintainerclean
+
+2005-04-28 11:01  strk
+
+	* Fixed distclean rule to build required Makefile.config
+
+2005-04-28 08:35  mschaber
+
+	* fix sources.inc things
+
+2005-04-27 16:14  mschaber
+
+	* Reworked Makefile
+
+2005-04-26 18:45  strk
+
+	* Added MakeValidShape() function
+
+2005-04-26 18:08  strk
+
+	* Fixed USE_JTS variable to actually use autoconf-detected value
+
+2005-04-26 07:01  mschaber
+
+	* Improved versionprinter to print offline versions even if
+	  database is not available
+
+2005-04-22 01:07  strk
+
+	* Added fix in join selectivity
+
+2005-04-22 01:07  strk
+
+	* Fixed bug in join selectivity estimator returning invalid
+	  estimates (>1)
+
+2005-04-21 16:31  strk
+
+	* Fixed bug in 3d spheroid length computation, patch by zmocnik at
+	  hotmail dot com
+
+2005-04-21 09:21  strk
+
+	* Added new LRS funx suggested by Paul
+
+2005-04-21 09:09  strk
+
+	* updated
+
+2005-04-21 09:08  strk
+
+	* Applied patch from Ron Mayer fixing a segfault in string escaper
+	  funx
+
+2005-04-20 15:22  strk
+
+	* Fixed link to SimpleFeature Specification
+
+2005-04-20 15:17  strk
+
+	* Fixed clean-lib rule (wasn't removing anything!)
+
+2005-04-20 15:09  mschaber
+
+	* Fixed pg_opclass update to be schema-aware.
+
+2005-04-20 10:21  strk
+
+	* Fixed bogus example of GeometryFromText(box3d, int) changing it
+	  to SetSRID(box3d, int) in chapter 5.1.2
+
+2005-04-20 08:12  strk
+
+	* Updated
+
+2005-04-20 08:10  strk
+
+	* Added rules to automatically call configure or config.status,
+	  added docs rule to be invoked by topdir.
+
+2005-04-20 08:01  strk
+
+	* Removed again, can't work anymore.
+
+2005-04-20 07:55  strk
+
+	* Put old Makefile.config back to allow for automatic documentation
+	  production,
+	  must be removed again when process gets updated.
+
+2005-04-19 10:58  strk
+
+	* added LPATH to summary output (if different from install dir)
+
+2005-04-19 10:41  strk
+
+	* Reworked autoconf path to use pgsql or custom layout based on
+	  presence of a --prefix switch.
+
+2005-04-19 09:32  strk
+
+	* Added -c flag to INSTALL invokations (copy, not move)
+
+2005-04-19 09:20  strk
+
+	* More info in configure output, added autogen.sh wrapper
+
+2005-04-18 23:31  strk
+
+	* Added 1.0.0 section
+
+2005-04-18 14:46  strk
+
+	* Improved autoconf script, dropped pgsql source dependency.
+	  EXPERIMENTAL.
+
+2005-04-18 14:25  strk
+
+	* Added TODO list for release 1.1
+
+2005-04-18 14:15  strk
+
+	* Fixed 1.0.0 release date to 2005/04/19
+
+2005-04-18 14:12  strk
+
+	* Slightly changed standard deviation computation to be more
+	  corner-case-friendly.
+
+2005-04-18 14:04  strk
+
+	* Added estmator code and testers bugfix for 1.0.0 release.
+
+2005-04-18 13:50  strk
+
+	* Fixed bug in table2 schema parsing.
+
+2005-04-18 13:30  strk
+
+	* Fixed to work against LWGEOM installations
+
+2005-04-18 10:57  strk
+
+	* Applied patched by Ron Mayer fixing memory leakages and invalid
+	  results
+	  in join selectivity estimator. Fixed some return to use default
+	  JOIN
+	  selectivity estimate instead of default RESTRICT selectivity
+	  estimate.
+
+2005-04-15 20:12  strk
+
+	* Fixed Makefile to read Makefile.config
+
+2005-04-15 15:10  strk
+
+	* Updated to reflect examples->extras rename
+
+2005-04-15 15:09  strk
+
+	* Renamed examples/ to extras/. Added WFS_locks.
+
+2005-04-15 14:04  mschaber
+
+	* jdbc2 works:
+	  + Makefile improvements
+	  + JTS support improvements
+	  + Improved regression test system
+	  + Basic consistency check method for geometry collections
+	  + Support for (Hex)(E)wkb
+	  + Autoprobing DriverWrapper for HexWKB / EWKT switching
+
+2005-04-15 10:01  strk
+
+	* Added configure outputs
+
+2005-04-15 09:54  strk
+
+	* Added more people to manual "CREDITS" chapter (copied from
+	  CREDITS file).
+	  Added a not in CREDITS redirecting to the postgis manual.
+
+2005-04-15 09:31  strk
+
+	* Version bumbed to 1.0.0
+
+2005-04-14 13:35  strk
+
+	* Added shp2pgsql bugfix and autoconf improvement in Release Notes.
+
+2005-04-14 12:58  strk
+
+	* Applied patch by Gino Lucrezi fixing bug in string escaping code.
+
+2005-04-14 11:25  strk
+
+	* --enable-autoconf put back
+
+2005-04-14 11:23  strk
+
+	* Cleanup, improvements, JTS support added
+
+2005-04-14 09:40  strk
+
+	* Added Alex Bodnaru in the "Other contributors" section, for
+	  debian packaging.
+
+2005-04-14 08:02  strk
+
+	* Added a not about need of memory alignment constraints handling
+	  for deserializers
+
+2005-04-13 15:57  strk
+
+	* Removed the CREDITS section from Release Notes and move
+	  contributors
+	  in chapter 1.1 (Credits).
+
+2005-04-13 14:25  strk
+
+	* Release notes made an appendix, updated credits section
+
+2005-04-13 14:24  strk
+
+	* Added MINGW support as suggested by David Techer.
+
+2005-04-12 11:18  strk
+
+	* Added release notes for 1.0.0 final
+
+2005-04-12 11:17  strk
+
+	* XSLBASE made back-redefinable
+
+2005-04-08 06:45  pramsey
+
+	* Make xsl reference work for rackmount nightly build
+
+2005-04-07 21:02  mschaber
+
+	* typo fixes and linked function in 4.2.4
+
+2005-04-07 19:03  strk
+
+	* Added new strict OGC compliancy enforcement sector of manual
+
+2005-04-07 19:00  strk
+
+	* Corrected and augmented the new chapter about ensuring OGC
+	  compliancy.
+
+2005-04-07 09:32  mschaber
+
+	* Added information about geometry validity.
+
+2005-04-06 16:49  strk
+
+	* Added -p flag addition for shp2pgsql
+
+2005-04-06 14:16  strk
+
+	* Removed manual update of gid field.
+
+2005-04-06 14:02  mschaber
+
+	* added -p option (prepare mode) that spits out the table schema
+	  without
+	  inserting any data.
+
+2005-04-06 10:46  strk
+
+	* Bugfix in -w (hwgeom) handling of ZM shapefiles.
+	  Big reorganizzation of code to easy maintainance.
+
+2005-04-06 08:53  strk
+
+	* force_3dm() bugfix
+
+2005-04-06 08:53  strk
+
+	* Augmented memory allocated by force_3dm() - detected cases of
+	  memory shortage
+
+2005-04-05 13:43  mschaber
+
+	* Fix documentation of -D option in shp2pgsql manpage
+
+2005-04-05 10:18  strk
+
+	* Added transform() bugfix
+
+2005-04-05 10:18  strk
+
+	* BUGFIX in transform() releaseing random memory address
+
+2005-04-05 08:00  strk
+
+	* Documented loader support for 0.x versions
+
+2005-04-04 20:51  strk
+
+	* Added -w flag to output old (WKT/HWGEOM) sql.
+
+2005-04-04 09:48  strk
+
+	* Added install of loader/dumper manual pages
+
+2005-04-01 09:39  strk
+
+	* Added not about new manual pages
+
+2005-04-01 09:38  strk
+
+	* Added manual pages provided by Roberto Boati
+	  <roberto.boati at daisyred.com>
+
+2005-03-30 17:25  strk
+
+	* Updated to replace 'RC' into '-rc' when building package dir (and
+	  tar).
+	  Removed autom4te.cache directory after call to autoconf.
+
+2005-03-30 17:03  strk
+
+	* Scripts version set to 0.3.0 (minor increment as a scripts
+	  override won't
+	  suffice to get rid of dropped box2d funx).
+	  Set release date and other versions to RC6
+
+2005-03-30 15:24  mschaber
+
+	* Preliminary change email addres to private one because
+	  schabios at logi-track.com is currently not working.
+
+2005-03-30 11:47  strk
+
+	* Added RC6 release notes.
+
+2005-03-30 11:46  strk
+
+	* Obsoleted functions set back in, to avoid problems upgrading.
+
+2005-03-30 11:40  strk
+
+	* Removed obsoleted box2d functions
+
+2005-03-29 16:34  strk
+
+	* Added postgis_restore.pl bugfix
+
+2005-03-29 16:33  strk
+
+	* Changed she-bang back the way it was (disabled) - didn't work
+	  like that! Added {x,y}{min,max}(box2d) to list of obsoleted funx.
+
+2005-03-29 13:23  mschaber
+
+	* Fix build for win32 using mingw
+
+2005-03-28 11:37  strk
+
+	* Dropped {x,y}{min,max}(box2d) functions
+
+2005-03-28 09:48  strk
+
+	* Added multi() changes
+
+2005-03-28 09:47  strk
+
+	* Fixed bug in multi() leaving SRID in inner geometries.
+	  Added early return for already multi() and BBOX'ed geoms.
+
+2005-03-28 09:45  strk
+
+	* Added regress tests for multi()
+
+2005-03-25 18:43  strk
+
+	* Fixed PQunescapeBytearea argument (might give problems on 64bit
+	  archs)
+
+2005-03-25 16:38  strk
+
+	* MICRO_VERSION set to RC5
+
+2005-03-25 16:38  strk
+
+	* Added release date and version
+
+2005-03-25 16:37  strk
+
+	* Added release dates
+
+2005-03-25 16:28  strk
+
+	* Added a not in performance tips chapter about dimension
+	  constraints.
+	  Removed part on update_geometry_stats as it should have no
+	  effect.
+
+2005-03-25 14:49  strk
+
+	* generalized Other changes
+
+2005-03-25 14:48  strk
+
+	* Fixed bogus she-bang
+
+2005-03-25 13:56  strk
+
+	* Updated release notes section
+
+2005-03-25 09:34  strk
+
+	* code cleanup
+
+2005-03-24 18:01  mschaber
+
+	* additional performance tips
+
+2005-03-24 16:28  strk
+
+	* Variable declaration set in place in lwgeom_centroid()
+
+2005-03-24 16:27  strk
+
+	* Added estimated_extent() bugfix notice
+
+2005-03-24 16:27  strk
+
+	* Added comments in estimate_allocation() bugfix point.
+
+2005-03-24 15:07  strk
+
+	* Fixed non-GEOS centroid() function to avoid obsoleted
+	  LWGEOM_EXPLODED funx
+
+2005-03-24 14:45  strk
+
+	* Fixed bug in estimated_extent() returning pointer to a memory
+	  allocated in SPI memory context
+
+2005-03-23 17:10  strk
+
+	* Removed cr
+
+2005-03-23 16:29  strk
+
+	* Added box3d computation tests
+
+2005-03-23 16:24  strk
+
+	* added box3d computation fix
+
+2005-03-23 16:23  strk
+
+	* Fixed bug in box3d computation.
+	  Dropped obsoleted LWGEOM_EXPLODED structure and associated
+	  functions.
+
+2005-03-21 17:56  strk
+
+	* grep -v arg quoted..
+
+2005-03-21 17:52  strk
+
+	* Quoted grep argument
+
+2005-03-21 13:43  mschaber
+
+	* handle versioned jars in cvsignore
+
+2005-03-21 12:24  strk
+
+	* Expanded estimated_extent() paragraph to document differences
+	  between pre
+	  and post pgsql 800.
+
+2005-03-18 21:04  strk
+
+	* Set release date
+
+2005-03-18 17:47  strk
+
+	* postgis_restore.pl improvements
+
+2005-03-18 17:23  strk
+
+	* Hash used for detecting obsoleted funx in dump
+
+2005-03-18 12:43  strk
+
+	* Fixed missing use of _IMMUTABLE_STRICT define in new
+	  get_proj4_from_srid().
+	  Improvement in Makefile to allow reconstruction of missing
+	  ../lwpostgis.sql
+
+2005-03-18 12:37  strk
+
+	* added box3d-computation bugfix note
+
+2005-03-18 12:36  strk
+
+	* Big API cleanup.
+	  Bug fix in box3d computation for collections containing empty
+	  elements.
+
+2005-03-18 10:47  strk
+
+	* Added extent(), extent3d() and collect() tests - should really
+	  give this tests a new layout ...
+
+2005-03-17 18:14  strk
+
+	* box2d outupt precision increment
+
+2005-03-17 18:11  strk
+
+	* BOX2D output reverted to .15g precision
+
+2005-03-17 09:39  strk
+
+	* Early memory releases in lwgeom_translate_recursive
+
+2005-03-16 15:08  strk
+
+	* Changed get_proj4_from_srid() implementation from SQL to PLPGSQL
+	  to
+	  workaround a bug of pgsql8.0.{1,2}
+
+2005-03-16 11:41  strk
+
+	* Early memory releases on transform_geometry_recursive() and
+	  LWGEOM_asText().
+	  Code cleanups.
+
+2005-03-15 12:24  strk
+
+	* hole-in-ring detector made more readable
+
+2005-03-15 09:25  strk
+
+	* Added loader bug fix
+
+2005-03-14 22:02  strk
+
+	* Fixed holes handling.
+
+2005-03-14 11:31  strk
+
+	* Added cleanup of versioned jars
+
+2005-03-14 11:14  strk
+
+	* installdirs/clean rules cleanup suggested by Alex Bodnaru
+
+2005-03-11 17:56  strk
+
+	* Early memory release in transform_geom
+
+2005-03-11 17:47  strk
+
+	* Fixed destructive memory release in LWGEOM_translate()
+
+2005-03-11 17:47  strk
+
+	* Added test for translate()
+
+2005-03-10 21:37  strk
+
+	* added 64bit bug fix
+
+2005-03-10 19:26  strk
+
+	* Hopefully fixed bug in int4 and double reader from byte stream
+	  (was not
+	  working on 64bit machines).
+
+2005-03-10 18:19  strk
+
+	* Made void args explicit to make newer compilers happy
+
+2005-03-10 18:18  strk
+
+	* changed report_error typedef to allow for lwerror usage w/out
+	  problems
+
+2005-03-08 18:36  mschaber
+
+	* Additional explanations in README.
+
+2005-03-08 18:32  mschaber
+
+	* Fix possible null pointer exception if PostGIS is compiled
+	  without geos / proj support.
+
+2005-03-08 16:46  strk
+
+	* More cleanups on 'clean'
+
+2005-03-08 16:41  strk
+
+	* Simplified clean rule
+
+2005-03-08 16:39  strk
+
+	* Added configure script removal in maintainer-clean rule
+
+2005-03-08 16:00  strk
+
+	* Deleted libjts directory... libjts production should happen from
+	  within JTS itself.
+
+2005-03-08 15:44  strk
+
+	* Changed default JTS includes and lib paths
+
+2005-03-08 12:39  strk
+
+	* Added libjts build scripts
+
+2005-03-08 12:21  strk
+
+	* Added a distclean rule to get rid of autoconf-generated files.
+	  Had maintainer-clean rule invoke distclean rule.
+
+2005-03-08 12:13  strk
+
+	* set USE_JTS back to 0 - got set to 1 from previous commit
+
+2005-03-08 12:11  strk
+
+	* Added utils rule to set the execute bit on utilities.
+
+2005-03-08 12:04  strk
+
+	* synced makefiles, changed default path of libjts
+
+2005-03-08 11:24  strk
+
+	* Commented out debugging lines
+
+2005-03-08 11:24  strk
+
+	* avoided initializzation of JvNewObjectArray with undefined
+	  pointer
+
+2005-03-08 11:06  strk
+
+	* modernized old-style parameter declarations
+
+2005-03-08 09:42  strk
+
+	* Added estimator changes
+
+2005-03-08 09:27  strk
+
+	* RESTRICT selectivity estimator use self->varno instead of
+	  varRelid.
+	  Seems to work for subqueries...
+
+2005-03-08 09:23  strk
+
+	* Fixed debugging lines.
+
+2005-03-08 08:38  strk
+
+	* Discarded environmental variable USE_JTS to avoid unexpected
+	  enabling
+
+2005-03-07 21:24  strk
+
+	* Added missing JTSnoop prototype
+
+2005-03-07 21:19  strk
+
+	* Put optimization flag back to -O2
+
+2005-03-07 21:11  strk
+
+	* Removed stub functions (moved to lwgeom_nojts.c) and added stub
+	  for JTSnoop.
+
+2005-03-07 21:07  strk
+
+	* Added initial JTS wrapper.
+
+2005-03-07 21:06  strk
+
+	* Added spatial_ref_sys.sql and README.postgis to scripts install
+	  targets.
+	  Moved .sql scripts from ...$(datadir) to ...$(datadir)/contrib.
+	  Modified GEOS/JTS stub handling to use separate file when
+	  disabled.
+
+2005-03-07 20:47  strk
+
+	* Separate stub funx file for builds w/out GEOS or JTS
+
+2005-03-07 20:46  strk
+
+	* sync'd with Makefile.config
+
+2005-03-07 20:44  strk
+
+	* Added JTS support parameter
+
+2005-03-07 18:36  strk
+
+	* Sync with Makefile.config
+
+2005-03-07 16:08  strk
+
+	* Incremented SCRIPTS_VERSION micro num
+
+2005-03-07 13:58  strk
+
+	* Added process id to output files. Removed 'clean' rule.
+
+2005-03-07 13:20  strk
+
+	* Removed unused lwexploded_dump() function
+
+2005-03-07 11:53  mschaber
+
+	* Fix version.in vs. version.config typo
+
+2005-03-04 19:34  strk
+
+	* cleanups - version file source
+
+2005-03-04 19:31  mleslie
+
+	* Cleaned up distance_sphere and updated documentation.
+
+2005-03-04 19:25  strk
+
+	* removed temp files used in docs creation step
+
+2005-03-04 19:18  strk
+
+	* Expanded "upgrading" chapter to explain postgis_restore.pl
+	  upgrade procedure.
+
+2005-03-04 19:18  strk
+
+	* Made 'html' the default rule
+
+2005-03-04 19:15  strk
+
+	* Parametrized XSLBASE directory
+
+2005-03-04 16:29  strk
+
+	* Changed to use Version.config
+
+2005-03-04 15:54  strk
+
+	* Commented out unused variable
+
+2005-03-04 15:25  mschaber
+
+	* added version improvement to changes
+
+2005-03-04 15:22  mschaber
+
+	* - Separates the version config variables into the toplevel
+	  Version.config
+	  
+	  - Adds new version config variables for jdbc
+	  
+	  - jdbc "make jar" additionally creates files named like
+	  postgis_1_0_0RC4.jar using the info from Version.config
+	  
+	  - org/postgis/Version.java now uses a Makefile generated
+	  ressource to
+	  initialize its values, so it is always "in sync" with
+	  Version.config
+
+2005-03-04 14:55  strk
+
+	* Added loader/dumper bug fixes
+
+2005-03-04 14:54  strk
+
+	* Fixed bug in multiline handling.
+
+2005-03-04 14:48  strk
+
+	* Applied patch from Jonne Savolainen fixing multilines handling
+
+2005-03-04 14:25  strk
+
+	* Added 'test' and 'maintainer-clean' rules.
+
+2005-03-04 14:25  strk
+
+	* Added a maintainer-clean rule.
+
+2005-03-04 14:13  strk
+
+	* Parametrized test output dir and added Makefile
+
+2005-03-04 11:03  mschaber
+
+	* another make install fix :-(
+
+2005-03-04 09:03  strk
+
+	* PG_LWGEOM_construct() moved from lwgeom_api.c to lwgeom_pg.c.
+
+2005-03-04 08:52  strk
+
+	* Modified upgrade section to show postgis_restore.pl based
+	  procedure.
+
+2005-03-04 07:51  mschaber
+
+	* another "make install" fix from alex
+
+2005-03-04 07:48  mschaber
+
+	* Adopted Version.java to the official PostGIS scheme.
+
+2005-03-04 07:36  mschaber
+
+	* Updated VERSION to RC4
+
+2005-03-04 07:32  mschaber
+
+	* Removed unneccesarry TEMP variable
+
+2005-03-03 22:12  mschaber
+
+	* removed obsolete build.xml
+
+2005-03-03 21:55  mschaber
+
+	* Make classpath element separator configurable
+
+2005-03-03 20:55  mschaber
+
+	* jdbc2 naming explanation
+	  Contact info
+	  Copyright notice
+
+2005-03-03 19:08  mschaber
+
+	* add postgis_debug.jar to make install (thx to alex bodnaru)
+
+2005-03-03 17:20  mleslie
+
+	* Rebuilt the distance_sphere function.
+
+2005-03-03 16:06  mschaber
+
+	* Fix compile with jikes
+
+2005-03-03 10:32  strk
+
+	* parser additions note
+
+2005-03-03 10:31  strk
+
+	* Removed generated parser files.
+
+2005-03-03 10:29  strk
+
+	* Added generated parsers to avoid FLEX/YACC requirement on
+	  release.
+
+2005-03-02 17:29  strk
+
+	* Commented out parser generation... requires PGSQL source :(
+
+2005-03-02 17:26  strk
+
+	* Added parser generation.
+
+2005-03-02 17:04  strk
+
+	* added FLEX & YACC fix
+
+2005-03-02 13:10  mschaber
+
+	* Additional Regression Test for prepared statement usage
+
+2005-03-02 12:06  mschaber
+
+	* Code cleanups, Makefile improvements.
+
+2005-03-01 13:22  strk
+
+	* Renamed lwgeom_to_wkt to lwgeom_to_ewkt, as it doesn't strip out
+	  non-ogc
+	  extensions.
+
+2005-03-01 13:20  strk
+
+	* Corrected expected results.
+
+2005-03-01 11:41  strk
+
+	* Added GEOS/JTS provided functions test
+
+2005-03-01 08:43  strk
+
+	* Fixed install-lwgeom-scripts rule as suggested by Rhys
+	  Ickeringill.
+
+2005-03-01 08:40  strk
+
+	* FLEX and YACC variables set after PGSQL/Makefile.global has been
+	  sourced
+	  and only if not therein defined.
+
+2005-03-01 01:17  pramsey
+
+	* Fix link error.
+
+2005-02-28 09:57  mschaber
+
+	* Add serialVersionUID for jdk1.5
+	  correctly setType(), needed for jdbc 8.0+
+
+2005-02-28 08:14  mschaber
+
+	* Add serialVersionUID for jdk1.5
+	  correctly setType(), needed for jdbc 8.0+
+
+2005-02-25 13:44  strk
+
+	* Added geom_accum and SnapToGrid bug fixes
+
+2005-02-25 13:42  strk
+
+	* SnapToGrid: Fixed minor bug in consistency check.
+
+2005-02-25 13:28  strk
+
+	* Fixed a bugus free() in LWGEOM_accum.
+
+2005-02-25 09:34  strk
+
+	* added force_collection early return
+
+2005-02-25 09:31  strk
+
+	* Added early return from force_collection when input is already a
+	  collection
+	  AND has a bbox cache. Suggested by Ron Majer.
+
+2005-02-25 08:57  strk
+
+	* Added comment on top of TYPE macros
+
+2005-02-24 14:13  mschaber
+
+	* Fixed makefile to allow compilation via kaffe javac - this
+	  one does not automatically include non-mentioned source
+	  files that are present in the classpath.
+
+2005-02-24 11:43  mschaber
+
+	* moved trim() call, this avoids calling trim() twice on unchanged
+	  value if we have only (1 2,3 4) rep.
+
+2005-02-24 11:20  mschaber
+
+	* Additional regression tests for EWKT and EWKB on PostGIS 1.X
+
+2005-02-24 08:36  strk
+
+	* Added missing prototype
+
+2005-02-24 08:32  strk
+
+	* Fixed bug in StartPoint and EndPoint functions.
+
+2005-02-24 08:10  strk
+
+	* lib version changed to 1.0.0RC3, scripts version to 0.2.0.
+
+2005-02-24 08:08  strk
+
+	* Added spatial_ref_sys change and version/release
+
+2005-02-23 19:17  pramsey
+
+	* Hand edit paris central meridian definitions.
+	  Danger: other non-Greenwich projections might also have problems.
+
+2005-02-23 13:31  mschaber
+
+	* another fastjar fix
+
+2005-02-23 13:19  mschaber
+
+	* Fixed jikes compiler warning, using super. for static methods is
+	  suboptimal.
+
+2005-02-23 09:59  strk
+
+	* GeometryFromText() bug fix
+
+2005-02-23 09:58  strk
+
+	* Fixed GeometryFromText() to add a bbox cache FOR_COMPLEX_GEOMS
+
+2005-02-23 09:44  strk
+
+	* Added bool::text cast
+
+2005-02-23 09:00  strk
+
+	* Added bool::text cast.
+
+2005-02-22 18:10  mschaber
+
+	* Updated jdbc2/Makefile:
+	  
+	  - more comments
+	  - all helper binaries are now configurable
+	  - workaround for broken woody jars via DEBUGJAR environment
+	  variable
+	  - classpath cleanups, regression tests now use jars instead of
+	  build
+	  directory, this should help catching packaging errors
+	  - small other cleanups
+
+2005-02-22 13:05  mschaber
+
+	* Removed unused import
+
+2005-02-22 13:04  mschaber
+
+	* Some more debian woody fixes.
+
+2005-02-22 13:01  mschaber
+
+	* Remove redundant addDataType() call that slipped in during
+	  WKT measured geometries work. It also broke pgjdbc7.2
+	  compatibility.
+
+2005-02-22 12:31  mschaber
+
+	* Patches from Alex Bodnaru (debian maintainer)
+
+2005-02-22 12:12  strk
+
+	* Added not about early memory release
+
+2005-02-22 10:10  strk
+
+	* Early release of DETOASTED geoms.
+
+2005-02-22 09:59  strk
+
+	* Fixed path to lwpostgis.sql script
+
+2005-02-22 09:55  strk
+
+	* Early release of DETOASTED or deserialized geometries, to reduce
+	  memory usage
+
+2005-02-22 09:39  strk
+
+	* Forced cleanup of DETOASTED and deserialized geometries for
+	  better memory
+	  usage.
+
+2005-02-21 18:28  mschaber
+
+	* *** empty log message ***
+
+2005-02-21 16:22  strk
+
+	* Changed min() max() usage with LW_MIN() LW_MAX()
+
+2005-02-21 16:16  strk
+
+	* Changed byte to uchar to avoid clashes with win32 headers.
+
+2005-02-21 15:49  mschaber
+
+	* removed ugly () display
+
+2005-02-21 14:59  mschaber
+
+	* Added version printing (for debugging purposes)
+
+2005-02-21 14:16  mschaber
+
+	* Skip tests that are known to fail when running against older
+	  PostGIS server versions
+
+2005-02-18 16:01  mschaber
+
+	* Some micro optimizations and cleanups
+
+2005-02-18 14:49  mschaber
+
+	* Added Version.class to allow programatically identification of
+	  PostGIS jdbc version
+
+2005-02-18 14:40  mschaber
+
+	* Added beta support for JTS classes
+
+2005-02-18 08:43  strk
+
+	* added memory leak fix
+
+2005-02-18 08:42  strk
+
+	* Removed memory leak in geos2postgis polygon conversion.
+
+2005-02-17 16:09  strk
+
+	* Improved transform() errors verbosity.
+
+2005-02-17 15:54  strk
+
+	* Syntaxes cleanups.
+
+2005-02-17 15:44  mschaber
+
+	* removed verbosity from my last entry
+
+2005-02-17 15:42  mschaber
+
+	* fixed postgis_debug.jar
+
+2005-02-17 15:39  strk
+
+	* Fixed some introduced misorderings of func declaration/body.
+
+2005-02-17 14:48  mschaber
+
+	* Fixed dependency handling for jars
+
+2005-02-17 14:41  mschaber
+
+	* Updated makefile - better dependency management for jars,
+	  additional targets for debian, more comments.
+
+2005-02-17 09:19  strk
+
+	* Fixed a bug in pointArray_construct() copying input points
+	  instead
+	  of keeping a pointer to them. This has been introduced *after*
+	  RC2
+	  was released.
+
+2005-02-17 08:36  strk
+
+	* Added wkb_recv and wkb_send obsoleted functions handling
+
+2005-02-14 20:49  strk
+
+	* Added force_collection() bug fix
+
+2005-02-14 20:45  strk
+
+	* Fixed bug in force_collection() leaving spurious bbox cache and
+	  SRID info
+	  in inner geometry when applied to single geoms.
+
+2005-02-14 11:49  mschaber
+
+	* Now compiles against 7.2 with some magic trickery instead of
+	  patching.
+
+2005-02-10 17:56  strk
+
+	* added memory alignment handling
+
+2005-02-10 17:41  strk
+
+	* Dropped getbox2d_internal().
+	  Removed all castings of getPoint() output, which has been renamed
+	  to getPoint_internal() and commented about danger of using it.
+	  Changed SERIALIZED_FORM() macro to use VARDATA() macro.
+	  All this changes are aimed at taking into account memory
+	  alignment
+	  constraints which might be the cause of recent crash bug reports.
+
+2005-02-10 17:38  strk
+
+	* Added a couple of distance() tests.
+
+2005-02-10 16:34  strk
+
+	* Added -Wall to CFLAGS
+
+2005-02-10 10:52  strk
+
+	* Changed 'char' to 'uchar' (unsigned char typedef) wherever octet
+	  is actually
+	  meant to be.
+
+2005-02-10 10:03  strk
+
+	* Added X(), Y() and Z() tests.
+
+2005-02-09 18:11  mschaber
+
+	* adopt documentation wr/t conflicting driverconfig.properties to
+	  reflect what jdbc actually does.
+
+2005-02-09 11:55  strk
+
+	* documentation update item
+
+2005-02-09 11:53  strk
+
+	* Removed PGSQL7.1 references, clearly stated support starting from
+	  72.
+	  Renamed all postgis.sql refs to lwpostgis.sql.
+
+2005-02-09 11:48  strk
+
+	* fixed debugging output
+
+2005-02-08 17:48  mschaber
+
+	* Added patch to enable compilation against pg72jdbc2.jar.
+
+2005-02-08 14:54  mschaber
+
+	* Added jdbc2 jdk1.3 enabling note.
+
+2005-02-08 14:53  mschaber
+
+	* Removed use of jdk1.4 only features to allow jdbc2 to be
+	  build with older jdk releases (tested with 1.3)
+
+2005-02-08 08:17  strk
+
+	* Reduced scope of VACUUM ANALYZE call to the sole spatial_ref_sys
+	  table
+	  as suggested by Kevin Neufeld
+
+2005-02-08 07:59  strk
+
+	* updated
+
+2005-02-08 07:59  strk
+
+	* Fixed probe_geometry_columns to work with PG72 (pg_constraint was
+	  pg_relcheck)
+
+2005-02-08 07:37  strk
+
+	* Fixed probe_geometry_columns so to work on spatial tables with
+	  multiple
+	  geometry columns.
+
+2005-02-07 14:06  strk
+
+	* updated
+
+2005-02-07 14:02  strk
+
+	* Fixed broken 72 index bindings.
+
+2005-02-07 13:42  mschaber
+
+	* Fixed pgjdbc 8.0 autoregistration.
+
+2005-02-07 13:21  strk
+
+	* Replaced DEBUG* macros with PGIS_DEBUG*, to avoid clashes with
+	  postgresql DEBUG
+
+2005-02-07 12:56  strk
+
+	* updated CHANGES
+
+2005-02-07 12:56  strk
+
+	* More portable date command for BUILDDATE extraction
+
+2005-02-07 12:32  strk
+
+	* updated with next release changes
+
+2005-02-07 12:31  strk
+
+	* updated
+
+2005-02-07 11:49  mschaber
+
+	* Fix makefile (broken by driverconfig.properties rename
+
+2005-02-07 11:31  mschaber
+
+	* Removed issues that were done, hoping they will not re-emerge :-)
+
+2005-02-07 09:15  mschaber
+
+	* Fixed jdbc8.0 autoregistration, added regression test.
+
+2005-02-04 17:08  pramsey
+
+	* Fixed literal && inside the text, replaced with &
+
+2005-02-04 14:20  strk
+
+	* missing license
+
+2005-02-04 10:20  strk
+
+	* Added Performance Tips chapter
+
+2005-02-04 09:05  strk
+
+	* Applied Markus Shaber licensing patches.
+
+2005-02-01 16:53  strk
+
+	* Changed performance-sensible functions from STABLE to IMMUTABLE
+
+2005-02-01 15:26  strk
+
+	* Another small patch from Markus
+
+2005-01-31 22:15  strk
+
+	* Added maintainer notice, to reduce Jeff-strk mail bounces
+
+2005-01-31 17:17  strk
+
+	* Applied Markus Shaber patches.
+
+2005-01-31 12:32  strk
+
+	* Markus Shaber version.
+
+2005-01-31 09:24  strk
+
+	* Used default float precision in BOX2D output
+
+2005-01-31 09:01  strk
+
+	* More error handlings in transform(geom, int)
+
+2005-01-30 09:48  strk
+
+	* replaced by PGbox2d.java
+
+2005-01-30 09:46  strk
+
+	* Added BOX2D and BOX3D support and tests, by Markus Shaber.
+
+2005-01-30 09:12  strk
+
+	* Made unparsable proj strings error more verbose and removed a
+	  typo
+	  in transform_geom().
+
+2005-01-28 16:10  strk
+
+	* Changed --with-geos arg to express GEOS_DIR (is more intuitive).
+	  Made --help string advertise optionality of args for --with-geos
+	  and --with-proj. Made configure show used variables values
+	  on path checks.
+
+2005-01-28 15:40  strk
+
+	* LAST_RELEASE_VERSION bumped to 1.0.0
+
+2005-01-28 14:50  strk
+
+	* Applied small patches from Markus Shaber
+
+2005-01-27 18:06  strk
+
+	* Fixed a bug in transform() missing to update SRID in output
+
+2005-01-27 11:17  strk
+
+	* Fixed FAQ to use the schema version of AddGeometryColumn
+	  (generated confusion for 0.7.5 users)
+
+2005-01-26 08:35  strk
+
+	* Version bumped to 1.0.0RC2
+
+2005-01-26 08:34  strk
+
+	* Added 1.0.0RC2 section
+
+2005-01-26 08:18  strk
+
+	* Added an --enable-autoconf switch to make sure users will known
+	  about
+	  the untested nature of the ./configure script.
+
+2005-01-25 13:52  strk
+
+	* Removed ?= construct in FLEX/YACC rules
+
+2005-01-25 11:29  strk
+
+	* Made all *FromText() accept only WKT <text>, no more cheating.
+
+2005-01-25 09:47  strk
+
+	* Fixed a bug in transform() missing to update bbox cache
+
+2005-01-25 09:03  strk
+
+	* Made all OGC TypeFromWKB() functions consistent in taking a bytea
+
+2005-01-25 08:48  strk
+
+	* Added autoconf invokation
+
+2005-01-24 18:11  strk
+
+	* Fixed bug in definition of distance_spheroid.
+
+2005-01-24 15:22  strk
+
+	* Added checks for flex and yacc paths.
+
+2005-01-24 15:16  strk
+
+	* Moved YACC default value set from inner to config Makefile.
+
+2005-01-24 15:14  strk
+
+	* Added default value for FLEX
+
+2005-01-24 11:23  strk
+
+	* Removed spaces and '?' signs in Makefile.config.in.
+	  Added support for geos-config call in configure.
+
+2005-01-24 11:00  strk
+
+	* Initial autoconf script.
+
+2005-01-19 18:18  strk
+
+	* removed unused files
+
+2005-01-19 18:15  strk
+
+	* Added failcount output.
+
+2005-01-19 18:05  strk
+
+	* Fixed ptest rule.
+
+2005-01-19 17:37  strk
+
+	* Quoted -classpath args, added ptest args in make ptest rule
+
+2005-01-19 17:00  strk
+
+	* Added bin/ removal to clean rule
+
+2005-01-19 16:58  strk
+
+	* Changed postgis_debug.jar rule to be portable
+
+2005-01-19 16:55  strk
+
+	* Added command line params to jtest rule
+
+2005-01-19 16:51  strk
+
+	* Applied Markus patch to accept command line params
+
+2005-01-19 16:49  strk
+
+	* Applied Markus patch
+
+2005-01-19 16:46  strk
+
+	* Changed postgis.jar creation rule to respect
+	  postgresql.properties path
+
+2005-01-19 12:30  strk
+
+	* Added jar files
+
+2005-01-19 12:27  strk
+
+	* Added postgresql.properties and .cvsignore, Modified CP variable
+	  assignment to
+	  be quoted.
+
+2005-01-19 09:53  strk
+
+	* Made output more readable
+
+2005-01-19 09:47  strk
+
+	* Changed 'compile' rule to keep track of last compile time and
+	  avoid recompilation
+
+2005-01-19 09:38  strk
+
+	* fixed jar call for postgis.jar production
+
+2005-01-19 09:21  strk
+
+	* user env CLASSPATH honoured
+
+2005-01-19 08:54  strk
+
+	* Imported new jdbc driver source by Markus Schaber
+
+2005-01-18 15:39  strk
+
+	* Fixed a bug in pointarray box3d computation.
+
+2005-01-18 13:31  strk
+
+	* Reintroduced support for '<anygeom> EMPTY' form, for OGC
+	  compliance.
+
+2005-01-18 12:44  strk
+
+	* Handled GEOS Geometry construction errors as FALSE results in
+	  isvalid(geom).
+
+2005-01-18 10:09  strk
+
+	* updated
+
+2005-01-18 09:32  strk
+
+	* Changed unparse_WKB interface to take an output size pointer and
+	  an HEXFORM
+	  specifier. Reworked code in wktunparse to use function pointers.
+
+2005-01-18 09:30  strk
+
+	* Fixed bug introduced supporting GEOMETRYCOLLECTION(EMPTY).
+	  Dropped support for all EMPTY goems execept GEOMETRYCOLLECTION.
+
+2005-01-17 12:15  strk
+
+	* Added GEOMETRYCOLLECTION(EMPTY) support
+
+2005-01-17 11:44  strk
+
+	* Used quote_ident() for spatial columns constraints nams,
+	  suggested by Bernhard Herzog
+
+2005-01-17 09:21  strk
+
+	* Added one more bytes for terminating NULL in utf8 encoder
+
+2005-01-16 16:50  strk
+
+	* String escaping algorithm made simpler and more robust.
+	  Removed escaped strings leaking.
+	  Fixed UTF8 encoder to allocate enough space for 3bytes chars
+	  strings.
+
+2005-01-14 16:36  strk
+
+	* Switched to preprocessor driver CREATEFUNCTION attribute
+	  specification
+
+2005-01-13 18:26  strk
+
+	* estimated_extent() implemented for PG<80
+
+2005-01-13 17:41  strk
+
+	* estimated_extent() prepared for future expansion (support of
+	  pre-800 PGSQL)
+
+2005-01-13 13:37  strk
+
+	* Updated expected error message on !closed polygon rings to match
+	  current one.
+
+2005-01-13 13:36  strk
+
+	* Added closed-ring check for polygon geometry inputs.
+
+2005-01-13 10:54  strk
+
+	* changed asText to asEWKT for lossless conversions
+
+2005-01-13 10:45  strk
+
+	* Added GEOSexception test
+
+2005-01-13 10:44  strk
+
+	* Fixed more tests
+
+2005-01-13 10:37  strk
+
+	* Changed astext() calls with asewkt() to mach expected results.
+
+2005-01-13 09:42  strk
+
+	* Updated 1.0.0 release date and changed version to 1.0.0RC1
+
+2005-01-13 09:10  strk
+
+	* Removed initial README, replaced with an updated one.
+
+2005-01-13 09:10  strk
+
+	* Added updated README file
+
+2005-01-13 08:48  strk
+
+	* Added note about utils/postgis_restore.pl
+
+2005-01-13 08:43  strk
+
+	* Added more New Things
+
+2005-01-13 08:39  strk
+
+	* Added release notes chapter
+
+2005-01-12 17:03  strk
+
+	* added USE_ICONV configuration
+
+2005-01-12 17:03  strk
+
+	* Added optional UTF8 output support as suggested by IIDA Tetsushi
+
+2005-01-12 09:38  strk
+
+	* Added not for AUTOCACHE_BBOX setting
+
+2005-01-12 09:31  strk
+
+	* don't drop the regress test
+
+2005-01-12 09:23  strk
+
+	* Added a sleep before running make dist
+
+2005-01-12 08:43  strk
+
+	* commented notice in LWGEOM_noop()
+
+2005-01-12 08:30  strk
+
+	* Changed force_*d(geom) and multi(geom) to support AUTOCACHE_BBOX
+
+2005-01-12 07:37  strk
+
+	* setSRID() and force_2d() changed to use PG_LWGEOM_construct()
+	  entry point,
+	  for AUTOCACHE_BBOX support.
+
+2005-01-12 07:27  strk
+
+	* forceRHR() and reverse() forced to use pglwgeom_serialize() entry
+	  point
+	  for honouring the AUTOCACHE_BBOX define
+
+2005-01-11 18:05  strk
+
+	* fixed postgis_gist_joinsel signature for PG72
+
+2005-01-11 18:04  strk
+
+	* added optional versions specificatoin on command line
+
+2005-01-11 17:56  strk
+
+	* dropped special pgsql 7.1 handling
+
+2005-01-11 17:46  strk
+
+	* added postgis_lib_build_date() and postgis_scripts_build_date()
+	  docs
+
+2005-01-11 17:45  strk
+
+	* Changed builddate format to Y-m-D H:M:S
+
+2005-01-11 17:39  strk
+
+	* Added postgis_lib_build_date() and postgis_scripts_build_date()
+	  provided by Markus Schaber
+
+2005-01-11 16:54  strk
+
+	* initial revision
+
+2005-01-11 15:40  strk
+
+	* Comments cleanup.
+
+2005-01-11 15:10  strk
+
+	* removed obsoleted script
+
+2005-01-11 15:09  strk
+
+	* Added SRID checks for all operators.
+
+2005-01-11 14:20  mcayland
+
+	* Added new indexable operators <<|, &<|, |&> and |>> to allow
+	  comparisons of bounding box positions in the Y axis
+
+2005-01-11 14:10  strk
+
+	* Fixed translate() to always use one of the AUTOCACHE_BBOX
+	  honouring
+	  entry points.
+	  Cleaned up expand(geom).
+
+2005-01-11 08:33  strk
+
+	* removed link from geometry_dump type ref
+
+2005-01-11 08:29  strk
+
+	* Dropped inherithed rule for static lib build (liblwgeom.a), added
+	  a 'tsort' rule to check xdeps status.
+
+2005-01-11 08:12  strk
+
+	* Fixed memory handling bug in dump(geom)
+
+2005-01-10 09:47  strk
+
+	* Added missing prototypes
+
+2005-01-10 09:28  strk
+
+	* changed size_t printing lines to use %lu and unsigned long cast
+
+2005-01-10 09:27  strk
+
+	* renamed misures.c to measures.c
+
+2005-01-09 20:28  strk
+
+	* size_t usage cleanups.
+
+2005-01-09 18:32  strk
+
+	* Avoided lwcollection_deserialize call for non collections (was
+	  broken).
+
+2005-01-07 18:32  strk
+
+	* Dropped BOX2D operators. They will rely on cast to geometry.
+
+2005-01-07 16:43  strk
+
+	* Fixed handling of empty collection in GEOS2POSTGIS converter
+
+2005-01-07 14:42  strk
+
+	* Made accum(geometry) compatible with PG73.
+
+2005-01-07 14:23  strk
+
+	* removed unused variable
+
+2005-01-07 14:20  strk
+
+	* Added a geometry type OID extractor and caching function.
+
+2005-01-07 12:33  strk
+
+	* Added a note about compatibility of Dump(geometry)
+
+2005-01-07 12:28  strk
+
+	* made accum(geom) compatible with PG72
+
+2005-01-07 12:24  strk
+
+	* dropped dump(geometry) for PGSQL<73 builds
+
+2005-01-07 12:09  strk
+
+	* fixed var declaration misplacement
+
+2005-01-07 12:00  strk
+
+	* make LWGEOM_{to,from}_bytea available to all pgsql versions
+
+2005-01-07 11:57  strk
+
+	* fixed typo in symdifference function definition
+
+2005-01-07 11:55  strk
+
+	* fixed postgis_gist_joinsel definition for PG73
+
+2005-01-07 11:50  strk
+
+	* Moved pgsql compatibility code into pgsql_compat.h
+
+2005-01-07 10:26  strk
+
+	* variable declaration cleanups.
+
+2005-01-07 10:25  strk
+
+	* Added WARNING define for pgsql<73
+
+2005-01-07 10:13  strk
+
+	* fixed misplaced declaration after body start
+
+2005-01-07 10:10  strk
+
+	* Dump(geometry) enabled by default.
+
+2005-01-07 10:06  strk
+
+	* Added Dump(geometry) doc
+
+2005-01-07 10:04  strk
+
+	* cleanup
+
+2005-01-07 09:56  strk
+
+	* fixed typo in error message
+
+2005-01-07 09:56  strk
+
+	* fixed typo in error message
+
+2005-01-07 09:52  strk
+
+	* JOINSEL disabled for builds against pgsql<80
+
+2005-01-07 00:58  strk
+
+	* Initial import
+
+2005-01-06 15:45  strk
+
+	* Added MakePolygon documentation
+
+2005-01-06 15:34  strk
+
+	* Added not about possible lost of simplicity() using SnapToGrid(),
+	  added links to the function from there and simplify()
+
+2005-01-06 15:29  strk
+
+	* Renamed Apply_Grid to SnapToGrid, documented behaviour of
+	  collapsed geoms.
+
+2005-01-06 13:46  strk
+
+	* Added makepolygon(geometry, geometry[])
+
+2005-01-06 13:45  strk
+
+	* forward declarations for lwpoly_from_lwlines(), ptarray_clone()
+	  and ptarray_isclosed2d()
+
+2005-01-06 13:45  strk
+
+	* Added lwpoly_from_lwlines()
+
+2005-01-06 13:44  strk
+
+	* Added ptarray_clone() and ptarray_isclosed2d()
+
+2005-01-06 09:38  strk
+
+	* Added accum(geom) documentation
+
+2005-01-06 09:36  strk
+
+	* Added accom(geom) aggregate
+
+2005-01-06 09:08  strk
+
+	* Added apply_grid wrappers.
+
+2005-01-06 08:51  strk
+
+	* Modified transform() to always use PG_LWGEOM_construct entry
+	  point for
+	  output (to support AUTOCACHE_BBOX).
+
+2005-01-06 01:10  pramsey
+
+	* Fix spelling error
+
+2005-01-05 22:52  strk
+
+	* updated Polygonize doc
+
+2005-01-05 22:48  strk
+
+	* Had translate compute bbox cache translating input one if
+	  present.
+	  Cleanups.
+
+2005-01-05 22:11  strk
+
+	* Made apply_grid compute output bbox WHEN_SIMPLE (input bbox is
+	  present)
+
+2005-01-05 21:59  strk
+
+	* Simplify reworked to use LWGEOM abstraction (no more flattening
+	  of input collection).
+
+2005-01-05 17:08  strk
+
+	* Added apply_grid doc
+
+2005-01-05 17:06  strk
+
+	* Integrated apply_grid() contributed function.
+
+2005-01-05 12:44  strk
+
+	* Added is_worth_caching_serialized_bbox(). Renamed
+	  lwgeom_setSRID() to
+	  pglwgeom_setSRID(). Fixed a bug in PG_LWGEOM_construct support
+	  for
+	  AUTOCACHE_BBOX.
+
+2005-01-05 10:06  strk
+
+	* Added AUTOCACHE_BBOX support in PG_LWGEOM_construct().
+
+2005-01-05 09:47  strk
+
+	* collect(geom, geom) and collect_garray(geom[]) use WHEN_SIMPLE
+	  strategy
+	  for bbox computation. pglwgeom_serialize() honour user's
+	  AUTOCACHE_BBOX
+	  define. BBOXCACHE_BEHAVIOURS updated.
+
+2005-01-03 17:51  strk
+
+	* GEOSpolygonize returns GEOMETRYCOLLECTION instead of MULTIPOLYGON
+
+2005-01-03 15:00  strk
+
+	* iscacheable patch from Carl Anderson
+
+2004-12-31 13:11  strk
+
+	* update ExteriorRing doc
+
+2004-12-31 13:10  strk
+
+	* Made ExteriorRing use LWGEOM.
+
+2004-12-31 12:46  strk
+
+	* update InteriorRingN doc
+
+2004-12-31 12:44  strk
+
+	* GeometryN and InteriorRingN changed to use LWGEOM format (and the
+	  latter made OGC-strict).
+
+2004-12-31 12:00  strk
+
+	* updated
+
+2004-12-31 11:39  strk
+
+	* All output geoms serializzations made using pglwgeom_serialize
+
+2004-12-31 11:31  strk
+
+	* fixed bugs in convexhull, made GEOS2POSTGIS use
+	  pglwgeom_serialize
+
+2004-12-31 11:30  strk
+
+	* Fixed a bug in lwpoint_serialize_size
+
+2004-12-31 11:26  strk
+
+	* error messages and VARLENA handling cleanups
+
+2004-12-31 10:47  strk
+
+	* initial import
+
+2004-12-31 10:35  strk
+
+	* re-introduced G2P conversion profile for convexhull (was missing
+	  from previous patch)
+
+2004-12-31 10:28  strk
+
+	* Made convexhull use input bbox cache if any for output geom.
+
+2004-12-31 09:04  strk
+
+	* Varlena handling cleanups
+
+2004-12-30 20:41  strk
+
+	* updated
+
+2004-12-30 20:36  strk
+
+	* Rewrote GEOSCentroid() to pass exception using an input arg, and
+	  return
+	  NULL for EMPTY geom.
+
+2004-12-30 16:08  strk
+
+	* Made parse_WKT_lwgeom (text::geometry) use AUTOCACHE_BBOX
+	  heuristic, stricter use of PG text type
+
+2004-12-30 15:59  strk
+
+	* Fixed a bug in translate() and transform() leaving result
+	  geometries with
+	  the old bounding box cache.
+
+2004-12-30 15:58  strk
+
+	* Added compute_serialized_bbox_p() to always recomputed a geometry
+	  bounding box
+
+2004-12-30 15:11  strk
+
+	* Had LineFromMultiPoint make use of input SRID
+
+2004-12-30 14:44  strk
+
+	* Added AUTOCACHE_BBOX variable, defaulting to 1.
+
+2004-12-30 13:47  strk
+
+	* Introduced bbox caching worth evaluation functions, honoured in
+	  LWGEOM_in, LWGEOMFromWKB, and GEOS2POSTGIS.
+
+2004-12-30 13:35  strk
+
+	* Handled NULL returns from getCentroid making it an EMPTY GEOM
+
+2004-12-30 10:27  strk
+
+	* Applied Carl Anderson patch for LinearRing support.
+
+2004-12-30 10:27  strk
+
+	* USE_GEOS and USE_PROJ defaults switched to NO, and made
+	  overridable via
+	  environment.
+
+2004-12-30 10:24  strk
+
+	* Added cache_bbox trigger
+
+2004-12-30 10:22  strk
+
+	* moved some BBOX procs signatures from lwgeom_inout.c to
+	  lwgeom_pg.h
+
+2004-12-30 10:21  strk
+
+	* removed useless memory copies in ndims(geom)
+
+2004-12-30 10:18  strk
+
+	* initial revision
+
+2004-12-28 09:23  strk
+
+	* specified LineString input requirement for StartPoint and
+	  LastPoint
+
+2004-12-27 13:34  strk
+
+	* Expanded "GIS Objects" chapter adding OGC/PostGIS (E)WKT/B and
+	  canonical forms.
+
+2004-12-27 12:50  strk
+
+	* Added HasBBOX() item
+
+2004-12-27 09:59  strk
+
+	* Added bool hasBBOX(geometry). Removed useless input copy in
+	  zmflag(geometry).
+
+2004-12-23 14:48  strk
+
+	* Fixed help string, and added a TODO item
+
+2004-12-23 11:02  strk
+
+	* Updated <GEOM>FromWKB signatures to take bytea instead of text,
+	  Removed non-standard GeometryFromText references and substituted
+	  with OGC GeomFromText.
+
+2004-12-23 10:39  strk
+
+	* Adjusted some function refereces, added another subsection for
+	  Geometry Output functions.
+
+2004-12-22 17:12  strk
+
+	* Added Mark Cave-Ayland implementation of JOIN selectivity
+	  estimator.
+
+2004-12-22 17:02  strk
+
+	* initial revision
+
+2004-12-22 10:32  strk
+
+	* GeomFromWKB() and GeometryFromText() issue a warning if provided
+	  formats
+	  are not OGC-strict. Introduced GeomFromEWKT() and GeomFromEWKB()
+	  for
+	  extended formats.
+
+2004-12-22 10:29  strk
+
+	* Drop useless SRID from geometry when downloading EWKB format.
+
+2004-12-21 17:46  strk
+
+	* Made asText and asBinary strict OGC conformant, introduced asEWKT
+	  and asEWKB
+	  for extended version outputs.
+
+2004-12-21 15:19  strk
+
+	* Canonical binary reverted back to EWKB, now supporting SRID
+	  inclusion.
+
+2004-12-21 15:17  strk
+
+	* Made setSRID(geom, -1) actually *remove* srid from LWGEOM.
+
+2004-12-21 12:21  mcayland
+
+	* Fixed bug in pass 4 where sample boxes were referred as BOXs and
+	  not BOX2DFLOAT4. Also increased SDFACTOR to 3.25
+
+2004-12-21 12:04  strk
+
+	* Updated geom_accum to create *real* geometry arrays, changed
+	  aggregates
+	  using it accordingly. Fixed collect output type settings, and
+	  dropped
+	  CR/LF in lwgeom_functions_basic.c
+
+2004-12-21 11:25  strk
+
+	* allocation for deserialized lwline made after type checking
+
+2004-12-20 17:49  strk
+
+	* Added array element delimiter for type geometry
+
+2004-12-20 14:21  strk
+
+	* SRID is no more skipped from asText output.
+
+2004-12-20 14:11  strk
+
+	* Created a new 'Geometry Editors' section.
+
+2004-12-20 14:02  strk
+
+	* Added addBBOX() and dropBBOX() documentation.
+
+2004-12-20 14:01  strk
+
+	* Added dropBBOX().
+
+2004-12-17 18:00  strk
+
+	* LWGEOM_gist_joinsel defined for all PG versions
+
+2004-12-17 18:00  strk
+
+	* Fixed call to geos_version.sh
+
+2004-12-17 11:08  strk
+
+	* Moved getMachineEndian from parser to liblwgeom.{h,c}.
+	  Added XDR and NDR defines.
+	  Fixed all usage of them.
+
+2004-12-17 11:07  strk
+
+	* Added missing prototype
+
+2004-12-17 11:06  strk
+
+	* Added GEOSnoop stub for non-geos installations
+
+2004-12-17 10:10  strk
+
+	* Added canonical binary conversions as bytea<->geometry casts and
+	  explicit _send and _recv for PG>73
+
+2004-12-17 10:10  strk
+
+	* getMachineEndian exported
+
+2004-12-17 06:53  pramsey
+
+	* Changes in preparation for 1.0.0RC1
+
+2004-12-16 12:30  strk
+
+	* Initial skel for geometry_send canonical binary rep.
+
+2004-12-16 12:07  strk
+
+	* pg_restore-800 handling
+
+2004-12-15 13:10  strk
+
+	* Added UpdateGeometrySRID documentation
+
+2004-12-15 12:59  strk
+
+	* Enforced schema use in UpdateGeometrySRID
+
+2004-12-15 12:54  strk
+
+	* Added UpdateGeometrySRID
+
+2004-12-15 09:46  strk
+
+	* updated TODO
+
+2004-12-15 09:43  strk
+
+	* Die if target database exists
+
+2004-12-15 08:46  strk
+
+	* Fixed memory leaks depending on input size.
+
+2004-12-14 11:41  strk
+
+	* Fixed a bug in lwgeom_dropBBOX()
+
+2004-12-14 11:02  strk
+
+	* Added geometry::text cast.
+
+2004-12-14 09:47  strk
+
+	* Added SRID check in collect_garray();
+
+2004-12-14 09:37  strk
+
+	* reduced function calls in lwcollection_serialize_size
+
+2004-12-14 09:29  strk
+
+	* fixed a typo in polygonize function
+
+2004-12-13 14:12  strk
+
+	* updated
+
+2004-12-13 14:03  strk
+
+	* Initial skeleton on join selectivity estimator.
+	  Current estimators application for box2d && box2d operator.
+
+2004-12-13 13:04  strk
+
+	* lwpostgis.sql copy moved from root to lwgeom/Makefile
+
+2004-12-13 12:56  strk
+
+	* Handled more schema specification in 800 pg_restore output.
+
+2004-12-13 12:25  strk
+
+	* Removed obsoleted function and fixed some warnings.
+
+2004-12-10 22:20  strk
+
+	* Added notice about availability of shorter syntax for
+	  estimated_extent()
+
+2004-12-10 22:16  strk
+
+	* Added estimated_extent() doc.
+
+2004-12-10 12:35  strk
+
+	* implemented estimated_extent() function
+
+2004-12-09 09:42  strk
+
+	* Adjusted to work with new bytea WKB encoding, only supports
+	  2d/3dz.
+
+2004-12-08 14:46  strk
+
+	* updated
+
+2004-12-05 11:46  strk
+
+	* Initial revision
+
+2004-12-05 11:45  strk
+
+	* commented out drops of unexistant tables
+
+2004-12-05 11:44  strk
+
+	* Changed AddGeometryColumns to not complain about invalid schema
+
+2004-11-29 16:37  strk
+
+	* Fixed a bug in pt_in_ring_2d.
+
+2004-11-29 11:16  strk
+
+	* Commented out useless CFLAGS override.
+
+2004-11-29 11:15  strk
+
+	* Some initializzations to make compiler happy.
+
+2004-11-26 17:08  strk
+
+	* Removed duplicated tests
+
+2004-11-26 17:06  strk
+
+	* Moved basic LWGEOM parsing tests in mainstream regress dir.
+
+2004-11-26 16:54  strk
+
+	* First regress test cleaned up.
+
+2004-11-26 16:26  strk
+
+	* Ported index regress test to lwgeom
+
+2004-11-26 15:52  strk
+
+	* Added regressions test notes
+
+2004-11-26 15:50  strk
+
+	* Finished cleanup of main regression test.
+
+2004-11-26 15:06  strk
+
+	* lwcollection_same allows different components ordering to
+	  reflect older behaviour.
+
+2004-11-26 14:56  strk
+
+	* Cleanup
+
+2004-11-26 14:55  strk
+
+	* Fixed a bug in lwcollection_same
+
+2004-11-26 13:04  strk
+
+	* Initial regress tests adaptation for lwgeom
+
+2004-11-23 16:16  strk
+
+	* POSTGIS2GEOS conversion failures handled cleanier
+
+2004-11-19 17:39  strk
+
+	* Massaged to work with pg_dump-7.2 and pg_restore-7.2
+
+2004-11-19 17:29  strk
+
+	* precision made of type signed int (for %.*d correct use).
+
+2004-11-19 13:48  strk
+
+	* Added support for PG<73 in gist support functions
+	  and modified preprocessor flags to be compatible with older
+	  versions.
+
+2004-11-19 13:32  strk
+
+	* Fixed IN/OUT representation of types to support < 73 PG versions
+
+2004-11-18 18:16  strk
+
+	* updated
+
+2004-11-18 18:14  strk
+
+	* Added a copy of the PQunescapeBytea function found in libpq of
+	  PG>=73
+
+2004-11-18 13:47  strk
+
+	* Substituted isfinite() with finite().
+
+2004-11-17 15:28  strk
+
+	* Yet another GEOSHasZ bug fix
+
+2004-11-17 15:18  strk
+
+	* GEOSHasZ now checks both DoubleNotANumber and isFinite
+
+2004-11-17 09:07  strk
+
+	* Changes GEOSHasZ to use isfinite()
+
+2004-11-17 07:57  strk
+
+	* Fixed a typo in geometry type names.
+
+2004-11-16 13:54  strk
+
+	* SRID checks and enforce for all GEOS operations.
+	  Z value handled so to show it only when available.
+
+2004-11-16 13:52  strk
+
+	* Added GEOSHasZ() and GEOSSetSRID()
+
+2004-11-15 10:51  strk
+
+	* Fixed a bug in PIP invocation, added some debugging lines.
+
+2004-11-13 01:47  pramsey
+
+	* Add information about where test was downloaded from.
+
+2004-11-12 18:13  strk
+
+	* Deleted entries in spatial_ref_sys and geometry_columns.
+
+2004-11-12 17:50  strk
+
+	* Made PointN, InteriorRingN and GeometryN 1-based as required by
+	  OGC conformance suite.
+
+2004-11-11 21:29  pramsey
+
+	* Added grep -v ^# to cpp pipeline for .sql generation. Under OS/X
+	  cpp adds a
+	  header with a # comment field to the start of the output file.
+
+2004-11-11 09:42  strk
+
+	* updated
+
+2004-11-08 11:08  strk
+
+	* Added -fPIC to CFLAGS as suggested by Vincent Schut.
+
+2004-11-05 11:44  strk
+
+	* updated
+
+2004-11-05 11:44  strk
+
+	* Had isvalid raise a NOTICE with invalidity message.
+
+2004-11-05 10:04  strk
+
+	* updated
+
+2004-11-05 08:16  strk
+
+	* Added ndims(geometry) function, used in a 3rd constraint set
+	  by AddGeometryColumn, documented.
+
+2004-11-04 11:40  strk
+
+	* Renamed max/min/avg macros to LW_MAX, LW_MIN, LW_AVG.
+
+2004-11-04 09:18  strk
+
+	* Oops.. my attemt at moving lwpostgis.sql.in one dir up was bogus.
+
+2004-11-04 08:56  strk
+
+	* Moved lwpostgis.sql.in and it's build logic up to root directory.
+
+2004-11-02 17:53  strk
+
+	* Fixed "compat.h" include to be local.
+
+2004-11-02 16:48  strk
+
+	* Added a copy of GNU vsprintf.c file and compiled in.
+
+2004-11-02 15:59  strk
+
+	* min/max macro made available regardless of MINGW32 define.
+
+2004-11-02 07:50  strk
+
+	* Updated as suggested by Frank Warmerdam.
+
+2004-11-02 07:25  strk
+
+	* Fixed a typo in probe_geometry_columns() reported by Vinko
+	  Vrsalovic.
+
+2004-10-29 05:28  strk
+
+	* updated
+
+2004-10-29 05:27  strk
+
+	* Fixed bug in AddGeometryColumn refusing to add 4D geoms.
+
+2004-10-28 16:48  strk
+
+	* Initial local TODO
+
+2004-10-28 16:28  strk
+
+	* header inclusion cleanup
+
+2004-10-28 16:25  strk
+
+	* Fixed bug in debugguing output
+
+2004-10-28 16:24  strk
+
+	* removed LF
+
+2004-10-28 16:23  strk
+
+	* More cleanups.
+
+2004-10-28 16:13  strk
+
+	* cleanups.
+
+2004-10-28 16:10  strk
+
+	* Made data structurs old-compilers-friendly.
+
+2004-10-28 16:10  strk
+
+	* Fixed a bug in LWGEOM_asGML.
+
+2004-10-28 15:40  strk
+
+	* Fixed geos-based opPolygonize include.
+
+2004-10-28 09:38  strk
+
+	* Cleanups.
+
+2004-10-28 09:29  strk
+
+	* Added makeline(point, point). Changed LineFromMultiPoint
+	  definition.
+
+2004-10-28 09:00  strk
+
+	* Added AddPoint(line, point, [position]) and support API
+	  functions.
+
+2004-10-28 07:56  strk
+
+	* fixed name of line constructor as documentation reports it.
+	  LineFromMultiPoint().
+
+2004-10-28 07:45  strk
+
+	* collect(geometry, geometry) re-introduced. collector() is an
+	  alias for collect().
+
+2004-10-27 15:40  strk
+
+	* Added MakeBox2D, MakeBox3D implementation and documentation.
+
+2004-10-27 15:19  strk
+
+	* MakePoly renamed to Polygonize
+
+2004-10-27 15:09  strk
+
+	* updated
+
+2004-10-27 14:28  strk
+
+	* Added constructors docs and intial organizzation for postgis
+	  extension functions.
+
+2004-10-27 13:35  strk
+
+	* Unset debug define.
+
+2004-10-27 12:30  strk
+
+	* AsSVG returns NULL on GEOMETRY COLLECTION input.
+
+2004-10-27 11:06  strk
+
+	* updated
+
+2004-10-27 11:05  strk
+
+	* Added polygonize interface (makepoly aggregate)
+
+2004-10-27 11:02  strk
+
+	* Removed another getbox2d() call.
+
+2004-10-27 10:55  strk
+
+	* Fixed fix_geometry_columns() to leave correctly linked records
+	  untouched.
+
+2004-10-26 16:48  strk
+
+	* Bug fix in GEOS version extractor.
+
+2004-10-25 17:07  strk
+
+	* Obsoleted getbox2d(). Use getbox2d_p() or getbox2d_internal()
+	  instead.
+
+2004-10-25 15:31  strk
+
+	* portable math expressions.
+
+2004-10-25 14:20  strk
+
+	* Y axis reverse and relative path fixes from Olivier Courtin.
+
+2004-10-25 12:27  strk
+
+	* Removed useless network type includes,
+	  Added param.h include for BYTE_ORDER defines under win32.
+
+2004-10-21 19:48  strk
+
+	* Stricter syntax fixes. Reported by S�bastien NICAISE
+	  <snicaise at iciatechnologies.com>
+
+2004-10-21 19:47  strk
+
+	* updated
+
+2004-10-21 19:46  strk
+
+	* ZMflags check on costituent geometries only performed when there
+	  is
+	  at least one.
+
+2004-10-21 19:45  strk
+
+	* Added detect_geos_version in all: rule
+
+2004-10-18 11:35  strk
+
+	* Added reverse(geometry) and ForceRHR(geometry) documentation.
+
+2004-10-18 11:29  strk
+
+	* makeline_from_multipoint renamed to line_from_multipoint
+
+2004-10-18 09:37  strk
+
+	* updated
+
+2004-10-17 13:25  strk
+
+	* removed USE_WKB partially-used define
+
+2004-10-17 13:24  strk
+
+	* HEXWKB polygon
+
+2004-10-17 13:01  strk
+
+	* updated
+
+2004-10-17 12:59  strk
+
+	* HEXWKB multiline output
+
+2004-10-17 12:51  strk
+
+	* Fixed a bug in lwline_serialize_buf preventing dimension override
+
+2004-10-17 12:43  strk
+
+	* Fixed a debugging function output bug
+
+2004-10-17 12:26  strk
+
+	* Point and MultiPoint loaded using HEXWKB.
+
+2004-10-17 12:16  strk
+
+	* fixed prototype for user query table
+
+2004-10-17 12:15  strk
+
+	* Bug fixed in multipoint4D creation
+
+2004-10-15 22:02  strk
+
+	* updated
+
+2004-10-15 22:01  strk
+
+	* Initial WKB functionalities
+
+2004-10-15 16:21  strk
+
+	* makeline_from_multipoint() implemented and exposed.
+
+2004-10-15 15:25  strk
+
+	* updated
+
+2004-10-15 15:21  strk
+
+	* Fixed a bug in outputput dimension detection for makeline()
+
+2004-10-15 15:01  strk
+
+	* updated
+
+2004-10-15 15:00  strk
+
+	* Added debugging lines
+
+2004-10-15 15:00  strk
+
+	* Fixed a bug in make_lwline
+
+2004-10-15 11:52  strk
+
+	* updated
+
+2004-10-15 11:48  strk
+
+	* Fixed a bug making asSVG return a spurious char at the end.
+
+2004-10-15 11:42  strk
+
+	* Added makeline() aggregate and make_lwline() API method.
+
+2004-10-15 09:44  strk
+
+	* updated AsSVG doc
+
+2004-10-15 09:41  strk
+
+	* changed precision semantic back to number of decimal digits
+
+2004-10-15 09:41  strk
+
+	* Added a trailing zeros trimmer
+
+2004-10-15 08:26  strk
+
+	* Fixed handling of mixed dimensioned geometries in source table.
+
+2004-10-15 07:35  strk
+
+	* Fixed a bug introduced by me (byteorder skipped for inner geoms
+	  in WKB)
+
+2004-10-14 10:28  strk
+
+	* Updated pgsql2shp documentation.
+
+2004-10-14 09:59  strk
+
+	* Added support for user query (replacing schema.table)
+
+2004-10-13 19:33  strk
+
+	* updated
+
+2004-10-13 19:32  strk
+
+	* Added third buffer arg expanation
+
+2004-10-13 18:49  strk
+
+	* fixed arg number in buffer third arg
+
+2004-10-13 18:39  strk
+
+	* Added a third argument to the buffer() function.
+
+2004-10-13 17:21  strk
+
+	* Dropped SRID argument from point constructor.
+	  Unified procedure name to 'makepoint' for 2d,3dz,4d and
+	  'makepointm' for 3dm.
+
+2004-10-13 15:20  strk
+
+	* updated
+
+2004-10-13 15:19  strk
+
+	* Added point constructors PG funx.
+
+2004-10-13 14:26  strk
+
+	* Added simpler lwpoint constructors.
+
+2004-10-11 14:36  strk
+
+	* updated
+
+2004-10-11 14:34  strk
+
+	* Added endiannes specification for postgis-1.0.0+
+
+2004-10-11 14:03  strk
+
+	* Added endiannes specification to unparse_WKB, AsBinary,
+	  lwgeom_to_wkb.
+
+2004-10-11 12:23  strk
+
+	* Added test.o to cleanup list
+
+2004-10-11 12:23  strk
+
+	* updated
+
+2004-10-11 11:53  strk
+
+	* Moved misuring functions to misures.c (from
+	  lwgeom_functions_basic.c).
+	  Added -lm to build line for the API test application.
+
+2004-10-11 11:46  strk
+
+	* changed description of pgsql2shp -b switch
+
+2004-10-11 10:31  strk
+
+	* Changed collect() to return MULTI* if applicabe (all input is
+	  corresponding
+	  SINGLE type).
+
+2004-10-11 10:30  strk
+
+	* Added debug strings
+
+2004-10-11 09:55  strk
+
+	* collect() always return a collection, with a component for each
+	  input
+	  geometry.
+	  memcollect() obsoleted.
+
+2004-10-11 09:46  strk
+
+	* Fixed bug making it unbuildable.
+
+2004-10-11 09:32  strk
+
+	* Added lwgeom_addBBOX() and lwcollection_construct_empty()
+
+2004-10-11 07:15  strk
+
+	* lwgeom_same new implementation
+
+2004-10-11 06:03  strk
+
+	* updated
+
+2004-10-10 20:31  strk
+
+	* segmentize2d() port and use of new LWGEOM structure.
+
+2004-10-09 15:17  strk
+
+	* updated
+
+2004-10-08 13:26  strk
+
+	* updated
+
+2004-10-08 13:21  strk
+
+	* Debugging output cleanup.
+
+2004-10-08 13:20  strk
+
+	* Changed LWGEOM structure to point to an actual BOX2DFLOAT4.
+	  Renamed most function to reflect a TYPE_method naming convention.
+	  (you'll need a dump/reload for it to work)
+	  Added more manipulation functions.
+
+2004-10-08 13:16  strk
+
+	* added memory allocation debugging
+
+2004-10-08 13:15  strk
+
+	* Added box2d.o module, reverted SCRIPTS_VERSION to 0.1.0.
+
+2004-10-08 13:15  strk
+
+	* Initial revision
+
+2004-10-08 10:48  strk
+
+	* Some updates
+
+2004-10-08 07:01  strk
+
+	* Dropped HWGEOM from this branch.
+
+2004-10-07 22:02  strk
+
+	* updated
+
+2004-10-07 21:52  strk
+
+	* Lots of rewriting/cleanup. TypeM/TypeZ supports.
+
+2004-10-07 21:51  strk
+
+	* Fixed a bug in 4d handling
+
+2004-10-07 20:39  strk
+
+	* Fixed bugs in TYPE_ macro usage
+
+2004-10-07 17:18  strk
+
+	* Changed ptarray2d_construct interface.
+
+2004-10-07 17:18  strk
+
+	* Changed geometrytype() to support TYPEM.
+
+2004-10-07 17:17  strk
+
+	* Changed AddGeometryColumn to handle TYPEM.
+	  Updated SCRIPTS_VERSION to 1.1.0
+
+2004-10-07 17:15  strk
+
+	* Fixed TYPEM handling.
+
+2004-10-07 10:03  strk
+
+	* API cleanup, more steps toward standalone library.
+
+2004-10-07 06:54  strk
+
+	* cleanups
+
+2004-10-06 17:04  strk
+
+	* ZM handling. Log trimmed.
+
+2004-10-06 10:11  strk
+
+	* Other separator fixes
+
+2004-10-06 09:52  strk
+
+	* Added zmflag(geom) doc
+
+2004-10-06 09:40  strk
+
+	* Handled 0-DBF-attributes corner case.
+
+2004-10-06 08:53  strk
+
+	* Added zmflag(geom) function.
+
+2004-10-06 08:17  strk
+
+	* updated
+
+2004-10-06 07:19  strk
+
+	* Left off a semicolon in previous patch...
+
+2004-10-05 22:46  strk
+
+	* Removed PGSQLException use as suggested by Kris Jurka
+
+2004-10-05 21:59  strk
+
+	* Flex invocation patch by Kris Jurka.
+
+2004-10-05 21:54  strk
+
+	* Yes another change in SPI_cursor_open
+
+2004-10-05 21:53  strk
+
+	* Fixed bugs in Centroid (not GEOS)
+
+2004-10-05 21:42  strk
+
+	* Cleanups for older compilers and PG verisons.
+
+2004-10-05 21:20  strk
+
+	* updated
+
+2004-10-05 21:08  strk
+
+	* Added debugging lines, fixed a bug in TYPE_HASSRID and
+	  TYPE_HASBBOX macros.
+
+2004-10-05 21:08  strk
+
+	* Made clean rule verbose
+
+2004-10-05 17:15  strk
+
+	* Bug fix in size computation.
+
+2004-10-05 16:28  strk
+
+	* Added ZM dimensions flags knowledge.
+
+2004-10-05 16:07  strk
+
+	* updated
+
+2004-10-05 15:12  strk
+
+	* Added newlines in standalone reporters
+
+2004-10-05 15:11  strk
+
+	* Added force_3dz, force_3dm docs
+
+2004-10-05 15:11  strk
+
+	* Changed default variable setting to a more portable syntax
+
+2004-10-05 07:53  strk
+
+	* ZM aware WKT/WKB input/output.
+
+2004-10-04 13:53  strk
+
+	* Serialized form and WKB prepared to accept ZM flags replacing DD
+	  (dimensions)
+
+2004-10-04 09:25  strk
+
+	* Added missing prototype
+
+2004-10-03 15:57  strk
+
+	* updated
+
+2004-10-03 15:52  strk
+
+	* Made GEOS<->LWGEOM converters keep geometry structures.
+	  Fixed bug in serializers.
+	  Added noop(geometry) for deserialize/serialize debugging.
+
+2004-10-01 14:49  strk
+
+	* Added lwgeom_add(LWGEOM *to, int where, LWGEOM *what).
+	  Added LWGEOM2GEOS keeping input geometry structure.
+
+2004-10-01 07:51  strk
+
+	* initial revision
+
+2004-10-01 07:51  strk
+
+	* Added runtime cast functions.
+
+2004-09-30 16:06  strk
+
+	* bug fixes
+
+2004-09-30 15:42  strk
+
+	* Added BBOX finders and its support in serializer.
+
+2004-09-30 11:49  strk
+
+	* updated
+
+2004-09-30 11:45  strk
+
+	* More common flags between LW<type>s.
+	  LWGEOM_summary output made cleaner and moved to lwgeom_debug.c
+
+2004-09-30 08:18  strk
+
+	* Added missing liblwgeom.c file.
+	  Made LWMPOINT, LWMLINE, LWMPOLY compatible with LWCOLLECTION.
+	  Fixed reverse() and forcerhr() to maintain geometry structure.
+
+2004-09-30 06:54  strk
+
+	* updated
+
+2004-09-29 15:25  strk
+
+	* Added serialize function for LWGEOM
+
+2004-09-29 10:50  strk
+
+	* Big layout change.
+	  lwgeom.h is public API
+	  liblwgeom.h is private header
+	  lwgeom_pg.h is for PG-links
+	  lw<type>.c contains type-specific functions
+
+2004-09-29 06:31  strk
+
+	* Changed LWGEOM to PG_LWGEOM.
+	  Changed LWGEOM_construct to PG_LWGEOM_construct.
+
+2004-09-28 17:13  strk
+
+	* Removed ^Ms, added note about flatting nature of LWGEOM_EXPLODED.
+
+2004-09-28 16:22  strk
+
+	* Added AsGML function ref
+
+2004-09-28 09:31  strk
+
+	* Fixed a bug in PostGIS2GEOS_point
+
+2004-09-28 09:05  strk
+
+	* updated
+
+2004-09-28 09:01  strk
+
+	* Added forceRHR() and support functions.
+
+2004-09-28 09:00  strk
+
+	* Added ptarray_isccw(). Added extern modifiers to public
+	  prototypes.
+
+2004-09-28 08:28  strk
+
+	* updated
+
+2004-09-28 08:22  strk
+
+	* Added reverse(geometry) and support functions
+
+2004-09-28 08:21  strk
+
+	* Added some const modifiers
+
+2004-09-27 17:27  strk
+
+	* updated
+
+2004-09-27 08:26  strk
+
+	* Debugging defines set to NODEBUG.
+
+2004-09-27 08:24  strk
+
+	* updated
+
+2004-09-27 08:23  strk
+
+	* Added USE_GIST variable on top of file. Changed true values
+	  report
+	  as fraction of total rows.
+
+2004-09-24 22:27  strk
+
+	* Added profile.h deps
+
+2004-09-24 12:20  strk
+
+	* Added worst and best percentile for both intersects and distance
+
+2004-09-24 11:58  strk
+
+	* approximated nums to 2 decimal digits
+
+2004-09-24 11:35  strk
+
+	* initial intersects profiler frontend implementation
+
+2004-09-24 09:46  strk
+
+	* Added box2d->geometry cast.
+
+2004-09-23 16:14  strk
+
+	* Added -m / -z switches to control output type: XYM,XYMZ.
+
+2004-09-23 15:09  strk
+
+	* Modified GML output as suggested by Martin Daly.
+
+2004-09-23 11:12  strk
+
+	* Initial GML output routines.
+
+2004-09-23 10:13  strk
+
+	* Profile output modified again, input geoms points and conversion
+	  times separated
+
+2004-09-22 17:13  strk
+
+	* indentation fixes
+
+2004-09-22 17:12  strk
+
+	* indentation and function-call-debugging preparation
+
+2004-09-22 17:11  strk
+
+	* removed some compiler warnings
+
+2004-09-22 17:11  strk
+
+	* Added missing prototype to make compiler happy
+
+2004-09-22 16:52  strk
+
+	* Added lwpoint_size, lwline_size, lwpoly_size for computing
+	  serialized size from deserialized objects.
+
+2004-09-22 16:29  strk
+
+	* Some more source file cleanups.
+
+2004-09-22 16:09  strk
+
+	* Moved size computation functions in module static scope.
+	  Renamed public one to lwgeom_size(char *).
+
+2004-09-22 15:15  strk
+
+	* lw<type>_findlength function made statics of lwgeom_api.c.
+	  public functions with those names should accept LW<TYPE> pointers
+	  instead..
+
+2004-09-22 15:11  strk
+
+	* LWGEOM TODO moved back to the lwgeom/ dir.
+
+2004-09-22 14:57  strk
+
+	* updated
+
+2004-09-22 14:57  strk
+
+	* line_interpolate_point added.
+
+2004-09-22 14:56  strk
+
+	* fixed a comment
+
+2004-09-22 13:45  strk
+
+	* Added 'label' argument to the profreport macro.
+
+2004-09-22 11:42  strk
+
+	* Renamed lwgeom_npoints_recursive to lwgeom_npoints and exposed in
+	  lwgeom.h.
+	  Changed SERIALIZED_FORM macro to be less LWGEOM structure aware.
+	  Added profiling header file.
+	  Modified profiling calls to include total query time.
+	  Initial profiling support in the mindistance function.
+
+2004-09-22 04:48  pramsey
+
+	* Add number nesting to sections. Fix link in postgis.xml
+
+2004-09-21 21:04  strk
+
+	* slightly changed PROF_SUM output for sort acceptance
+
+2004-09-21 20:44  strk
+
+	* Fixed a profiler bug.
+	  Added points count and doubled profiler output.
+
+2004-09-21 19:10  pramsey
+
+	* Add section autolabelling to printed output
+
+2004-09-21 19:09  pramsey
+
+	* Add autolabelling to sections in generated HTML.
+
+2004-09-21 17:50  strk
+
+	* Added missing profiling report calls in predicates
+
+2004-09-21 17:36  strk
+
+	* Added GEOS profiling support.
+
+2004-09-21 16:08  strk
+
+	* reduced memory copies in GEOS2POSTGIS()
+
+2004-09-21 16:07  strk
+
+	* buffer serialized accept NULL as return-size pointer
+
+2004-09-21 15:44  strk
+
+	* Added lwgeom_empy_length(), lwgeom_constructempty_buf(),
+	  lwexploded_serialize_buf()
+
+2004-09-21 10:57  strk
+
+	* Added lwexploded_findlength
+
+2004-09-20 21:13  strk
+
+	* Optimized postgis->geos conversion
+
+2004-09-20 21:13  strk
+
+	* commented pfree call in GEOSnoop (seems to generate memory
+	  faults)
+
+2004-09-20 17:14  strk
+
+	* updated
+
+2004-09-20 17:13  strk
+
+	* changed comments to better show shape type handling
+
+2004-09-20 17:11  strk
+
+	* Added -d -d availability notice in help string.
+	  Added user notice about output shape type.
+
+2004-09-20 17:03  strk
+
+	* Added force_4d(geometry)
+
+2004-09-20 16:33  strk
+
+	* Added 4d geometries support.
+	  Changelog section moved at bottom file.
+
+2004-09-20 14:14  strk
+
+	* Fixed a bug in popbyte. Trapped WKB endiannes errors.
+
+2004-09-20 13:50  strk
+
+	* updated
+
+2004-09-20 13:49  strk
+
+	* Postgis-1.x support (LWGEOM) added.
+	  postgis version detected at runtime.
+	  Endiannes unchecked ... TODO.
+
+2004-09-20 12:07  strk
+
+	* Changed postgis.sql to lwpostgis.sql
+
+2004-09-20 12:07  strk
+
+	* Added lwpostgis.sql rule
+
+2004-09-20 10:58  strk
+
+	* updated layout description and configuration instructions
+
+2004-09-20 10:09  strk
+
+	* Renamed README
+
+2004-09-20 10:08  strk
+
+	* Added missing 'uninstall' rules. Fixed existing install rules.
+
+2004-09-20 09:58  strk
+
+	* Configuration and common Makefile work moved to Makefile.config
+	  Build is possible from each directory and from the root
+	  directory.
+
+2004-09-20 09:29  strk
+
+	* added missing prototype
+
+2004-09-20 09:22  strk
+
+	* Reworked build scripts.
+
+2004-09-20 09:21  strk
+
+	* fixed bugs in non-GEOS centroid function
+
+2004-09-20 09:20  strk
+
+	* cleanups
+
+2004-09-20 08:53  strk
+
+	* generalized library ignore line
+
+2004-09-20 08:52  strk
+
+	* Added postgis_geos_version.h
+
+2004-09-20 08:52  strk
+
+	* included local postgis_geos_version.h
+
+2004-09-20 08:51  strk
+
+	* Added detect_geos_version rule
+
+2004-09-20 08:29  strk
+
+	* Moved lwgeom TODO in the root
+
+2004-09-20 08:25  strk
+
+	* HWGEOM functions moved under hwgeom/ directory
+
+2004-09-20 08:21  strk
+
+	* fixed typo
+
+2004-09-20 07:50  strk
+
+	* prepared to contain old internal representation code
+
+2004-09-18 22:15  strk
+
+	* Fixed a serius bug in pointArray_construct.
+	  Added debugging output, optimized some functions, indentation
+	  buties..
+
+2004-09-18 22:13  strk
+
+	* Added more debugging output
+
+2004-09-16 20:36  pramsey
+
+	* Reorganize OpenGIS function reference into categories.
+
+2004-09-16 15:50  mleslie
+
+	* Added the distance_sphere function to calculate the distance
+	  between two points
+	  on an earth-sized sphere using an algorithm implemented by Bruno
+	  Wolff III.
+	  Added the postgresql loader function.
+
+2004-09-16 10:42  strk
+
+	* Added box3d_to_box2df_p to reduce number of required memcpys
+
+2004-09-16 09:06  strk
+
+	* Changed SPI_cursor_open call changes to be used for USE_VERSION >
+	  80
+	  (change seems to be intended for future releases)
+
+2004-09-16 09:05  strk
+
+	* Added binary predicate short-circuits
+
+2004-09-16 09:05  strk
+
+	* Added getbox2d_internal
+
+2004-09-16 09:04  strk
+
+	* updated
+
+2004-09-14 12:31  strk
+
+	* CHIP and GEOS types (forgot to add)
+
+2004-09-14 12:23  strk
+
+	* Added a note about tweeking random_page_cost
+
+2004-09-14 08:39  strk
+
+	* fixed a typo in the geometry_send function definition
+
+2004-09-14 07:43  strk
+
+	* Updated call to SPI_cursor_open to 8.0 (beta2) interface.
+
+2004-09-13 19:04  strk
+
+	* updated
+
+2004-09-13 17:59  strk
+
+	* removed old files from Attic/
+
+2004-09-13 15:37  pramsey
+
+	* Added pdf rule that uses pdfxmltex
+
+2004-09-13 14:26  strk
+
+	* Added binary input/output function for type geometry.
+
+2004-09-13 14:26  strk
+
+	* indentation fix
+
+2004-09-13 13:35  strk
+
+	* updated
+
+2004-09-13 13:32  strk
+
+	* Added AsSVG().
+
+2004-09-13 08:48  strk
+
+	* Added POINT rendering info for AsSVG function
+
+2004-09-10 18:41  pramsey
+
+	* Bump version numbers to 0.9.0
+
+2004-09-10 16:41  pramsey
+
+	* Added 'recommended' to proj/geos flags
+
+2004-09-10 16:19  pramsey
+
+	* Note 8.0 support and w32
+
+2004-09-10 16:16  pramsey
+
+	* Added Log tag to header.
+
+2004-09-10 15:52  strk
+
+	* Added asSVG documentation
+
+2004-09-10 13:26  strk
+
+	* updated
+
+2004-09-10 13:25  strk
+
+	* fixed a memory fault
+
+2004-09-10 12:49  strk
+
+	* Included SVG output function, modified to have precision
+	  expressed
+	  in terms of significant digits.
+
+2004-09-10 08:48  strk
+
+	* Added all ..FromWKB functions, asbinary(geom) and bytea<->geom
+	  casts
+
+2004-09-10 07:36  strk
+
+	* asbinary(), geomfromwkb
+
+2004-09-09 22:48  pramsey
+
+	* Changes in preparation for 0.9
+
+2004-09-09 20:51  pramsey
+
+	* Fix silly entity handling in chunked mode HTML generation
+
+2004-09-09 19:08  pramsey
+
+	* Added FAQ for mapserver section and entries on SQL spatial
+	  queries.
+
+2004-09-09 17:38  pramsey
+
+	* Added example spatial SQL section.
+
+2004-09-09 15:37  pramsey
+
+	* Add --output flag to html build rule
+
+2004-09-08 16:34  strk
+
+	* some bug fixes... geometry_analyze added
+
+2004-09-08 14:30  strk
+
+	* Fixed bug in GEOS link reference
+
+2004-09-08 14:27  strk
+
+	* updated
+
+2004-09-08 14:19  strk
+
+	* Added segmentize()
+
+2004-09-08 14:18  strk
+
+	* Added segmentize(geom,double) documentation
+
+2004-09-08 10:57  strk
+
+	* updated
+
+2004-09-08 10:44  strk
+
+	* re-introduced 'jw' optional production method
+
+2004-09-08 10:25  strk
+
+	* Fixed a bug in the z() function.
+	  Added ! GEOS implementation of Centroid().
+
+2004-09-08 00:31  pramsey
+
+	* Commit today's edits.
+
+2004-09-07 22:40  pramsey
+
+	* Make default html output be a single page.
+
+2004-09-07 22:35  pramsey
+
+	* Change chunking depth to "chapter".
+
+2004-09-07 22:28  pramsey
+
+	* More minor editorial changes.
+
+2004-09-07 22:28  pramsey
+
+	* Changed Docbook processing from DSSSL to XSL.
+
+2004-09-07 17:04  strk
+
+	* GEOS support added.
+
+2004-09-07 07:47  strk
+
+	* Added CHIP type and support funx
+
+2004-09-06 16:18  strk
+
+	* updated some comments
+
+2004-09-06 16:05  strk
+
+	* updated
+
+2004-09-06 16:04  strk
+
+	* Changed getbox2d_p signature to return 0 for EMPTY geometries.
+	  Ported DP simplifier.
+
+2004-09-06 12:24  strk
+
+	* Added IsEmpty()
+
+2004-09-06 10:37  strk
+
+	* Finished BOX3D functions porting.
+	  Added envelope() and extent3d().
+
+2004-09-06 09:32  strk
+
+	* Added min/max coordinates from box2d and box3d.
+	  Made geometry->box3d cast actually use 'z' value.
+
+2004-09-06 09:13  strk
+
+	* Added box3d support and expand(geom|box2d|box3d, double)
+
+2004-09-04 19:58  pramsey
+
+	* More minor edits.
+
+2004-08-28 23:00  pramsey
+
+	* Replace all tabs with spaces.
+
+2004-08-28 22:55  pramsey
+
+	* Updated street address reference.
+
+2004-08-28 22:54  pramsey
+
+	* Removed < sign and replaced with <
+
+2004-08-27 16:01  strk
+
+	* Added geom_accum(), collect_garray() and collect()
+
+2004-08-27 15:04  strk
+
+	* updated
+
+2004-08-27 15:03  strk
+
+	* Fixed bug in lwgeom_explode allocating less memory then needed.
+
+2004-08-27 14:35  strk
+
+	* Added LWGEOM_EXPLODED structure definition and utility funx.
+	  Added collector() function and memcollect() aggregate.
+	  Still faulting...
+
+2004-08-27 08:13  strk
+
+	* Added point_inside_circle() and translate()
+
+2004-08-27 08:12  strk
+
+	* Fixed typo ( mem_collect ==> memcollect )
+
+2004-08-26 16:55  strk
+
+	* max_distance() raises an 'unimplemented yet' error.
+
+2004-08-26 16:44  strk
+
+	* Added nrings(geom), multi(geom) and all of <type>FromText(geom,
+	  [srid])
+
+2004-08-26 15:04  strk
+
+	* updated
+
+2004-08-26 15:02  strk
+
+	* Added (bogus) max_distance(geom,geom)
+
+2004-08-26 12:55  strk
+
+	* Added distance(geometry) and all support functions.
+
+2004-08-26 12:54  strk
+
+	* Added a note about spheroid computation
+
+2004-08-26 08:57  strk
+
+	* Added spheroid type and functions
+
+2004-08-25 15:28  strk
+
+	* Added IsClosed() and force_collection()
+
+2004-08-25 15:26  strk
+
+	* Added macros for LWGEOM.type manipulation
+
+2004-08-25 13:41  strk
+
+	* Added force_3d
+
+2004-08-25 12:32  strk
+
+	* Added perimeter,perimeter2d,perimeter3d.
+	  Modified length,length2d,length3d semantic.
+	  Added force_2d.
+
+2004-08-25 12:29  strk
+
+	* Added serialized functions writing to a pre-allocated buffer.
+
+2004-08-25 07:29  strk
+
+	* Moved some OGC functions from lwgeom_inout.c to lwgeom_ogc.c.
+	  Added area2d (area) to lwgeom_functions_basic.c
+
+2004-08-25 07:28  strk
+
+	* Added lwgeom_pg to contain PG-specific functions/interfaces.
+
+2004-08-24 16:33  strk
+
+	* Added StartPoint(), EndPoint()
+
+2004-08-24 16:20  strk
+
+	* Added X(), Y() and Z() funx
+
+2004-08-24 15:50  strk
+
+	* PointN() ported.
+
+2004-08-24 15:10  strk
+
+	* fixed a bug preventing ExteriorRing() and InteriorRingN from
+	  setting the
+	  correct SRID.
+
+2004-08-24 15:07  strk
+
+	* updated
+
+2004-08-24 15:05  strk
+
+	* Added NumInteriorRings() and InteriorRingN()
+
+2004-08-24 14:48  strk
+
+	* Added dimension() and exteriorring()
+
+2004-08-24 14:47  strk
+
+	* Added LWGEOM_construct() function to easy the work of dealing
+	  with SRID/BBOX optional embedding.
+
+2004-08-24 13:45  strk
+
+	* Fixed a bug in lwgeom_getSRID()
+
+2004-08-24 13:35  strk
+
+	* Indentation and debugging output.
+
+2004-08-24 13:34  strk
+
+	* fixed a typo in a comment
+
+2004-08-24 13:33  strk
+
+	* Fixed a bug in LWGEOM_addBBOX preventing it to detect missing
+	  BBOX embedding.
+
+2004-08-24 10:01  strk
+
+	* OGC functions (not implemented by GEOS) moved to lwgeom_ogc.c.
+	  Renamed PG-exposed functions to start with LWGEOM
+
+2004-08-24 09:34  strk
+
+	* Added npoints,numpoints,numgeometries,geometryn
+
+2004-08-24 07:40  strk
+
+	* transformation work made on an input copy (made by setSRID).
+	  previous behaviour was unsafe (scribbling input object).
+
+2004-08-24 07:32  strk
+
+	* initial import
+
+2004-08-24 06:59  strk
+
+	* added missing prototype
+
+2004-08-24 06:56  strk
+
+	* geos version detector and wrapper used from parent directory
+
+2004-08-23 16:05  strk
+
+	* fixed typo
+
+2004-08-23 15:57  strk
+
+	* versioning functions completed
+
+2004-08-23 15:41  strk
+
+	* changed install rule to install lwpostgis.sql instead of
+	  lwgeom.sql
+
+2004-08-23 15:37  strk
+
+	* Changed SCRIPTS_VERSION to 0.0.1
+
+2004-08-23 13:54  strk
+
+	* proj support added
+
+2004-08-23 13:40  strk
+
+	* deleted debugging block from summary() fn
+
+2004-08-23 13:38  strk
+
+	* Added getPoint(POINTARRAY *pts, int ptnum)
+
+2004-08-23 10:49  strk
+
+	* Fixed a bug in serializedform length computation (for
+	  collection).
+
+2004-08-23 08:32  strk
+
+	* Removed custom allocator from lwgeom_api.
+	  Added summary(geometry).
+	  Some indentation.
+
+2004-08-20 16:36  strk
+
+	* transform() support
+
+2004-08-20 16:35  strk
+
+	* initial skel for transform()
+
+2004-08-20 14:54  strk
+
+	* updated
+
+2004-08-20 14:54  strk
+
+	* gist operators support functions renamed to allow for finer
+	  control by postgis_restore.pl
+
+2004-08-20 14:52  strk
+
+	* Hardcoded some functions being obsoleted
+
+2004-08-20 14:08  strk
+
+	* Added Geom{etry,}FromWkb(<geometry>,[<int4>]) funx.
+	  Added LWGEOM typedef and SERIALIZED_FORM(LWGEOM) macro.
+	  Made lwgeom_setSRID an API function.
+	  Added LWGEOM_setAllocator().
+
+2004-08-20 10:24  strk
+
+	* Added lwpostgis.sql
+
+2004-08-20 10:23  strk
+
+	* removed leak from mem_size()
+
+2004-08-20 09:35  strk
+
+	* lwgeom_mem_size uses int32 cast instead of int
+
+2004-08-20 09:31  strk
+
+	* bug fixed in lwgeom_mem_size
+
+2004-08-20 08:14  strk
+
+	* Whole output wrapped in transaction blocks.
+	  Drops are out of transaction, and multiple transactions are used
+	  for INSERT mode.
+
+2004-08-20 07:57  strk
+
+	* Fixed a bug in 'append-mode'.
+	  Added -g switch to specify geometry column.
+	  Added a note about -d mode conceptual bugs.
+
+2004-08-19 14:16  strk
+
+	* indentation fixes
+
+2004-08-19 14:15  strk
+
+	* added lwpostgis.sql build rule
+
+2004-08-19 14:05  strk
+
+	* Added finite coordinate check.
+	  Reduced required bounding box copies.
+
+2004-08-19 13:57  strk
+
+	* mem_size removed from list
+
+2004-08-19 13:56  strk
+
+	* Added mem_size(lwgeom)
+
+2004-08-19 13:54  strk
+
+	* cpp checks updated to use 80 instead of 75 for USE_VERSION
+
+2004-08-19 13:49  strk
+
+	* initial import
+
+2004-08-19 13:21  strk
+
+	* initial import
+
+2004-08-19 13:18  strk
+
+	* Added selectivity estimation
+
+2004-08-19 13:16  strk
+
+	* some indentation fixes
+
+2004-08-19 13:10  strk
+
+	* fixed typos
+
+2004-08-19 12:29  strk
+
+	* added btree index support file
+
+2004-08-19 12:28  strk
+
+	* added btree index support
+
+2004-08-19 10:52  strk
+
+	* Fixed a bug in ascii dump "CREATE OPERATOR" scan
+
+2004-08-19 09:30  strk
+
+	* rename_geometry_table_constraints() re-introduced to make
+	  constraint names conformant.
+
+2004-08-19 09:28  strk
+
+	* fixed some of the buch of broken comments
+
+2004-08-19 06:15  strk
+
+	* USE_VERSION gets 80 where it got 75
+
+2004-08-19 05:38  pramsey
+
+	* Added some references to Proj4 and GEOS utility and source code
+	  location in the Makefile
+	  to add context for new users.
+
+2004-08-18 13:46  strk
+
+	* Added PG80 (75) patches.
+
+2004-08-18 13:21  strk
+
+	* Added skip of postgisgistcostestimate (obsoleted)
+
+2004-08-18 08:26  strk
+
+	* Spatial table constraints names get column name appended.
+	  rename_geometry_table_constraints() obsoleted.
+
+2004-08-17 15:27  strk
+
+	* added extent(lwgeom) and support functions.
+
+2004-08-17 14:35  strk
+
+	* SRID(geometry) changed to SRID(lwgeom)
+
+2004-08-17 14:30  strk
+
+	* Initial support for geometry->lwgeom switch (dump objects defined
+	  for
+	  'geometry' are considered same of sql object defined for
+	  'oldgeometry')
+
+2004-08-17 14:28  strk
+
+	* Added SRID(geometry) for backward compatibility
+
+2004-08-17 14:21  strk
+
+	* Added geometrytype(LWGEOM)
+
+2004-08-16 20:38  strk
+
+	* OPERATOR parsing bug fixed. Schema removal improoved. More test
+	  reports.
+
+2004-08-16 11:03  mcayland
+
+	* Added DLLIMPORT reference to "default_statistics_target" if we
+	  are compiling under Win32. This should make it unnecessary to
+	  apply Romi's patch to the PostgreSQL source tree when compiling
+	  PostgreSQL ready for PostGIS.
+
+2004-08-16 10:46  strk
+
+	* GEOS version extraction not attempted if USE_GEOS is not set to
+	  1.
+
+2004-08-13 12:29  strk
+
+	* Support dump generated by pg_dump 7.4
+
+2004-08-11 17:07  strk
+
+	* Fixed a bug in non-finite Z check
+
+2004-08-10 21:09  strk
+
+	* changed proj version extractor to support pre 4.4.8 releases
+
+2004-08-08 18:10  strk
+
+	* reduced psql invocation to a single one.
+
+2004-08-08 18:09  strk
+
+	* lwgeom.sql production follow postgis.sql production rules (cpp
+	  usage)
+
+2004-08-08 18:09  strk
+
+	* Added missing required parameter to usage string
+
+2004-08-07 12:13  strk
+
+	* more header comments
+
+2004-08-06 09:54  strk
+
+	* added handling of operators and operator classes (skip postgis
+	  defined, keep others)
+
+2004-08-06 08:08  strk
+
+	* perl detection and bug fixes.
+
+2004-08-05 20:00  strk
+
+	* Another schema support bug from Mark
+
+2004-08-05 19:12  strk
+
+	* fixed bug in automatic perl invokation
+
+2004-08-05 16:53  strk
+
+	* schema support patches sent by Mark
+
+2004-08-03 09:41  strk
+
+	* geometry_columns and spatial_ref_sys back created from dump
+
+2004-08-03 09:30  strk
+
+	* Always added 'public' to search_path, to bypass pg_dump loss of
+	  constrain functions schema.
+	  Added automatic 'perl' invocation.
+	  Reduced output (set $DEBUG=1 to have it back).
+
+2004-08-03 09:29  strk
+
+	* updated
+
+2004-08-03 07:58  strk
+
+	* handling of more cases
+
+2004-08-02 19:03  strk
+
+	* initial import
+
+2004-08-02 16:27  strk
+
+	* Fixed format bugs (needed for postgis_undef.pl to work)
+
+2004-07-29 14:10  strk
+
+	* Unability to open a shapefile or dbffile reported more nicely.
+
+2004-07-28 17:32  strk
+
+	* Added postgis_full_version(), marked postgis_version() as
+	  deprecated.
+
+2004-07-28 16:15  strk
+
+	* Fixed a bug in postgis_full_version()
+
+2004-07-28 16:10  strk
+
+	* Changed all version functions to return text.
+	  Renamed postgis_scripts_version() to postgis_scripts_installed()
+	  Added postgis_scripts_released().
+	  Added postgis_full_version().
+
+2004-07-28 13:37  strk
+
+	* Added postgis_uses_stats and postgis_scripts_version.
+	  Experimented with PIP short-circuit in within/contains functions.
+	  Documented new version functions.
+
+2004-07-28 10:52  strk
+
+	* Added postgis_scripts_version
+
+2004-07-27 17:51  strk
+
+	* short-circuit test for 'contains'
+
+2004-07-27 17:49  strk
+
+	* Added short-circuit test for the within function.
+
+2004-07-23 21:24  strk
+
+	* Added postgis_proj_version()
+
+2004-07-22 16:58  strk
+
+	* Updated to reflect geos version string split.
+
+2004-07-22 16:20  strk
+
+	* Added postgis_lib_version() and postgis_geos_version()
+
+2004-07-19 16:24  strk
+
+	* Added -i switch
+
+2004-07-17 09:52  strk
+
+	* GEOS multi-version support switches implemented with
+	  GEOS_LAST_INTERFACE
+
+2004-07-17 09:52  strk
+
+	* Added GEOS_FIRST_INTERFACE, GEOS_LAST_INTERFACE, GEOS_JTS_PORT
+	  detection
+
+2004-07-17 09:51  strk
+
+	* Modified to always detect geos version (no deps)
+
+2004-07-08 19:33  strk
+
+	* Updated to respect CoordinateSequence GEOS interface switch.
+
+2004-07-02 13:33  strk
+
+	* Changed GEOS header inclusion mechanism to be more polite
+
+2004-07-01 17:02  strk
+
+	* Updated to support latest GEOS API.
+
+2004-07-01 17:02  strk
+
+	* Updated to support latest GEOS (actually removed all geos-version
+	  related
+	  switches).
+	  Fixed an access to unallocated memory.
+
+2004-06-22 21:30  pramsey
+
+	* Compile patch from Markus Schaber
+
+2004-06-22 16:52  strk
+
+	* Standard deviation factor used in histogram extent computation
+	  made
+	  a compile-time define.
+
+2004-06-22 11:05  strk
+
+	* Handled empty strings in numeric fields as '0'es... pg_atoi()
+	  does
+	  not do this (while atoi() does).
+
+2004-06-18 17:11  strk
+
+	* Fixed a bug in minor version extractor.
+	  Wrapped GEOS_VERSION in an #ifndef block.
+	  More runtime checks.
+
+2004-06-16 20:04  strk
+
+	* added geos_version.sh as dependency of postgis_geos_version.h
+	  rule
+
+2004-06-16 19:59  strk
+
+	* Changed GEOS_VERSION to POSTGIS_GEOS_VERSION to avoid future
+	  clashes
+
+2004-06-16 19:37  strk
+
+	* Added cleanup needed for GEOS > 1.0
+
+2004-06-16 19:28  strk
+
+	* fixed a typo in preprocessor define
+
+2004-06-16 18:50  strk
+
+	* Added postgis_geos_version.h to .cvsignore and to the list of
+	  files
+	  removed by the clean: rule.
+
+2004-06-16 18:47  strk
+
+	* Added code to detect geos version.
+	  Added appropriate includes in geos connectors.
+
+2004-06-16 18:47  strk
+
+	* initial import
+
+2004-06-16 13:42  strk
+
+	* Added schema support in getMaxFieldSize.
+	  Added direct support for TIMESTAMP field types (thanks to Steffen
+	  Macke).
+
+2004-06-16 13:14  strk
+
+	* documented statistics gethering operations
+
+2004-06-14 08:06  strk
+
+	* fixed bogus support for PG71
+
+2004-06-14 07:48  strk
+
+	* Histogram extent redefinition after hard deviant removal fixed to
+	  be
+	  "at most" the standard deviation based computed.
+
+2004-06-11 11:38  strk
+
+	* Infinite geometries handling.
+	  Histogram extent re-computation after 'hard deviant' features
+	  removal.
+
+2004-06-10 18:54  strk
+
+	* histogram grid size refined to use near-square cells.
+
+2004-06-10 15:44  strk
+
+	* Added standard deviation based histogram extent refinement
+
+2004-06-10 13:42  strk
+
+	* Separated the estimator code in an estimate_selectivity()
+	  function.
+	  Handled complete contaiment and complete miss of histogram by
+	  searc box.
+
+2004-06-09 10:19  strk
+
+	* Moved changes needed for PG75 inside postgis_gist_72.c using #if
+	  switches.
+
+2004-06-09 10:05  strk
+
+	* Added switch for GIST_SUPPORT=75
+
+2004-06-09 10:05  strk
+
+	* initial import
+
+2004-06-09 09:35  strk
+
+	* Removed partial pgsql List API copy
+
+2004-06-09 09:08  strk
+
+	* changed index/rindex to strchr/strrchr
+
+2004-06-09 09:06  strk
+
+	* Added Romi's Win32 patches.
+
+2004-06-08 17:49  strk
+
+	* Fixed to build cleanly agains pg75
+
+2004-06-08 17:48  strk
+
+	* Compression of code terminated.
+	  Big blocks switched based on version have been removed.
+
+2004-06-08 17:40  strk
+
+	* removed user connect command
+
+2004-06-08 15:18  strk
+
+	* Deleted prototype for isspace() in postgis.h
+	  and included <ctype.h> in postgis_inout.c,
+	  which is the only module calling isspace().
+	  This was needed to compile postgis against PG75(CVS).
+
+2004-06-08 08:42  strk
+
+	* MODULE_FILENAME path always defaults to $libdir, but is
+	  overridable
+	  using environment variable LPATH. Added comments about it and
+	  cleaned
+	  up code. Made global and lwgeom Makefile conformant about this.
+
+2004-06-08 08:20  strk
+
+	* added 'static' modifiers for the 'error' function, possibly
+	  clashing with some other declaration
+
+2004-06-07 17:58  strk
+
+	* reverted change in lwg_parse_yyerror
+
+2004-06-07 17:26  strk
+
+	* Default MODULE_FILENAME uses $libdir unless LPATH is set in the
+	  environment
+
+2004-06-07 16:57  strk
+
+	* Removed obsolete postgisgistcostestimate function creation
+
+2004-06-07 16:34  strk
+
+	* Removed postgis_old.sql from list of default rules
+
+2004-06-07 16:32  strk
+
+	* Moved old version-specific sql files under the Attic directory.
+
+2004-06-07 16:32  strk
+
+	* Moved old version-specific sql files under the Attic directory.
+
+2004-06-07 16:11  strk
+
+	* AddGeometryColumns call table constraints 'enforce_srid' and
+	  'enforce_geotype'
+
+2004-06-07 15:32  strk
+
+	* Fixed a bug killing the backend - lwg_parse_yyerror never called
+	  custom error handler
+
+2004-06-07 10:07  strk
+
+	* allowed lower case in wkt
+
+2004-06-07 09:16  strk
+
+	* Added missing prototypes.
+
+2004-06-04 15:24  strk
+
+	* Added y.output
+
+2004-06-04 15:24  strk
+
+	* Added more cleanup
+
+2004-06-04 15:23  strk
+
+	* added semicolumns at end of blocks
+
+2004-06-04 15:21  strk
+
+	* removed, will be created
+
+2004-06-04 13:39  strk
+
+	* Removed references to constraint name (unsafe) from
+	  probe_geometry_columns()
+	  and fix_geometry_columns(). Added a
+	  rename_geometry_table_constraints()
+	  renaming all geometry constraints to 'enforce_srid' and
+	  'enforce_geotype'
+
+2004-06-04 13:11  strk
+
+	* probe_geometry_columns() return message extended
+
+2004-06-04 12:40  strk
+
+	* Added comments about fix_geometry_columns() job.
+	  SRID and type checks made stricter in fix_geometry_columns().
+
+2004-06-04 12:26  strk
+
+	* Added probe_geometry_columns().
+	  Modified fix_geometry_columns() to prevent fixing of bogus
+	  records for
+	  which a corrected equivalent already exists.
+
+2004-06-04 10:19  strk
+
+	* Added DropGeometryTable description
+
+2004-06-04 10:07  strk
+
+	* Added DropGeometryColumn function
+
+2004-06-04 09:16  strk
+
+	* first entries
+
+2004-06-04 09:11  strk
+
+	* Added prototypes
+
+2004-06-04 09:07  strk
+
+	* Fixed YACC call to rename standardly produced y.tab.c and y.tab.h
+	  to wktparse.tab.c and wktparse.tab.h
+
+2004-06-04 08:49  strk
+
+	* Moved all geoemtry_columns cleanup in fix_geometry_columns,
+	  update_geometry_stats(*) and addgeometrycolumn(*) will now
+	  call the former and print out its result text.
+
+2004-06-04 08:31  strk
+
+	* Lifted AddGeometryColumns result message, including output from
+	  fix_geometry_columns
+
+2004-06-04 08:25  strk
+
+	* fix_geometry_columns() makes its best effort to find appropriate
+	  schema.
+
+2004-06-03 16:44  strk
+
+	* Added expand_geometry - expand(geometry, int8)
+
+2004-06-03 13:49  strk
+
+	* added postgis_old.sql
+
+2004-06-03 13:44  strk
+
+	* Made it functional again.
+
+2004-06-03 13:43  strk
+
+	* compatted CASTS section, commented out bogus cast geometry::chip
+	  referring to missing function
+
+2004-06-03 13:20  strk
+
+	* Skipped attrelid, varattnum linking for PG>=75
+
+2004-06-03 12:48  strk
+
+	* All type definitions moved at the beginning of the file.
+	  Left to compat: what was in postgis_sql_end_VER_.
+
+2004-06-03 11:06  strk
+
+	* Fixed bug in update_geometry_stats() choking on null attrelids.
+	  Modified update_geometry_stats(varchar, varchar) to cleanup stale
+	  record(s).
+	  Added a CREATEFUNCTION define to become CREATE OR REPLACE
+	  FUNCTION
+	  for PG > 71.
+	  Made update_geometry_stats(*) return meaningful result.
+
+2004-06-03 09:45  strk
+
+	* infinite geoms handled in WKB parser
+
+2004-06-03 08:19  strk
+
+	* yet another Infinite check used: finite() - which checks for
+	  NaN,-Inf,+Inf
+
+2004-06-03 08:13  strk
+
+	* Simplified INFINITY checks by use of isinf()
+
+2004-06-03 07:58  strk
+
+	* Infinite coordinate geoms omitted from index
+
+2004-06-03 07:57  strk
+
+	* wkt parser throws an error on Infinite coordinates
+
+2004-06-03 04:51  pramsey
+
+	* Document the expand() function (finally!)
+
+2004-06-02 23:54  strk
+
+	* Made equality checks the default in picksplit to catch also NaN
+	  results (INF geoms)
+
+2004-06-02 23:29  strk
+
+	* reverted Inf handling modification (conceptually bogus)
+
+2004-06-02 22:43  strk
+
+	* handled special case of Inf boxes as GiST keys in picksplit
+
+2004-06-02 17:15  strk
+
+	* stale locks removal in fix_geometry_columns() and
+	  update_geometry_stats(). Fixed a bug in fix_geometry_columns()
+	  deleting stats.
+
+2004-06-02 16:21  strk
+
+	* build_histogram2d sets 'local' search_path.
+	  fix_geometry_columns sets to NULL cached data for unexistant
+	  tables.
+
+2004-06-01 16:56  strk
+
+	* removed namespace check for PG<73 in update_geometry_stats()
+
+2004-06-01 16:30  strk
+
+	* Made AddGeometryColumn delete from geometry_column records which
+	  would be incompatible with the one being added
+
+2004-06-01 16:16  strk
+
+	* Placed histogram2d type definition in a common place;
+	  added find_extent(schema, table, column) and
+	  build_histogram2d(histogram,
+	  schema, table, column); modified update_geometry_stats() to make
+	  use
+	  of available f_table_schema and to set statistical fields to NULL
+	  for stale records. Thanks to Carl Anderson for the ideas.
+
+2004-05-28 03:01  pramsey
+
+	* Updates in anticipation of 0.8.2 release
+
+2004-05-28 02:42  pramsey
+
+	* Document the multi() function.
+
+2004-05-24 13:02  strk
+
+	* compat definition of fix_geometry_columns
+
+2004-05-20 19:21  pramsey
+
+	* Fix bug in append mode that filled values into nonexistant gid
+	  column.
+
+2004-05-18 16:56  pramsey
+
+	* Fix typos and section misreferences in OGC function reference
+	  section
+
+2004-05-18 16:52  pramsey
+
+	* Add multi() to the new cpp based sql.in file.
+
+2004-05-13 12:24  strk
+
+	* Transformed NULL numeric values to 0 as it was before the
+	  introduction
+	  of bigint bug workaround.
+
+2004-05-13 12:13  strk
+
+	* Used DBFWriteAttributeDirectly interface for writing attributes.
+	  This way we are not affected by shapelib long-integer bug.
+
+2004-05-13 12:07  strk
+
+	* Other fix in 3d handling - you should now be able to dump as 2d
+	  or 3d any 2d or 3d object
+
+2004-05-13 11:59  strk
+
+	* Fixed bug in 3d features handling.
+
+2004-05-13 09:40  strk
+
+	* Totally reworked code to have a main loop for shapefile objects.
+	  Much more readable, I belive.
+
+2004-05-13 07:48  strk
+
+	* Put table creation code in its own function.
+	  Fixed a bug with NULL shape records handling.
+
+2004-05-13 06:38  strk
+
+	* DBFReadStringValue always used to workaround shapelib bug with
+	  int values.
+
+2004-05-04 16:55  strk
+
+	* Added -fPIC to CXXFLAGS. Reported to be needed on Solaris7 w/
+	  gcc-3.3.2
+	  by Havard Tveite <havard.tveite at nlh.no>.
+
+2004-04-29 21:07  rmason
+
+	* removed generated file
+
+2004-04-29 21:07  rmason
+
+	* *** empty log message ***
+
+2004-04-29 18:44  dblasby
+
+	* Noted diff between inf and Infinity on Solaris/Intel machines
+
+2004-04-29 18:41  dblasby
+
+	* updated version
+
+2004-04-29 18:36  dblasby
+
+	* added sleep so it wouldnt complain on solarias as much
+
+2004-04-29 18:20  dblasby
+
+	* WKT parser changes required this change
+
+2004-04-29 18:16  dblasby
+
+	* minor changes
+
+2004-04-29 18:15  dblasby
+
+	* WKT parser changes to MULTIPOINT required this be updated
+
+2004-04-29 04:35  rmason
+
+	* clean up of wbk int and double reading code
+
+2004-04-29 03:57  rmason
+
+	* fix number parsing
+
+2004-04-29 03:13  rmason
+
+	* remove extra brackets from multipoints
+
+2004-04-28 23:07  pramsey
+
+	* Change PGSQL_SRC behavior back to developer-friendly.
+
+2004-04-28 22:59  dblasby
+
+	* minor changes
+
+2004-04-28 22:50  dblasby
+
+	* Inital Version. Hasnt been proofread.
+
+2004-04-28 22:40  pramsey
+
+	* Added flex/bison lines for parser.
+
+2004-04-28 22:26  pramsey
+
+	* Fixed spelling mistake in header text.
+
+2004-04-28 21:20  dblasby
+
+	* minor changes to ensure its using the index
+
+2004-04-28 21:08  dblasby
+
+	* updated results
+
+2004-04-28 21:02  dblasby
+
+	* minor change for endianess
+
+2004-04-28 21:00  dblasby
+
+	* removed an elog(NOTICE)
+
+2004-04-28 19:17  dblasby
+
+	* inital version of regression tests
+
+2004-04-28 18:27  dblasby
+
+	* moved to regress/ directory
+
+2004-04-28 18:10  dblasby
+
+	* Added automatic endian detection for the WKB parser/unparser.
+
+2004-04-28 04:55  pramsey
+
+	* Genericize the Makefile per Dave's request.
+
+2004-04-27 23:47  dblasby
+
+	* minor 3d geometrycollection bug fix
+
+2004-04-27 23:33  dblasby
+
+	* initial version
+
+2004-04-27 23:12  dblasby
+
+	* minor changes for solaris
+
+2004-04-27 22:13  dblasby
+
+	* fixed some typos for flip_bytes in read_int and read_double
+
+2004-04-27 20:53  dblasby
+
+	* minor ordering change
+
+2004-04-27 20:49  dblasby
+
+	* added float nextafterf_custom(float x, float y) for OSs that do
+	  not have
+	  a nextafterf implementation.
+
+2004-04-27 17:46  dblasby
+
+	* bison -vd -p lwg_parse_yy wktparse.y
+	  flex -Plwg_parse_yy -if -o'lex.yy.c' wktparse.lex
+	  
+	  Initial versions (from Ralph Mason)
+
+2004-04-27 13:50  strk
+
+	* Fixed bug in simplify() that was using the square of the given
+	  tolerance.
+
+2004-04-27 07:44  strk
+
+	* Removed use of geometryFactory->toGeometry(), indicated by Martin
+	  Davis
+	  as being intended for internal use only. Created a linear ring
+	  instead
+	  (the function converts a box3d to a geos geometry).
+
+2004-04-26 23:16  dblasby
+
+	* made slightly more generic
+
+2004-04-26 23:15  dblasby
+
+	* Minor cleanup
+
+2004-04-26 23:12  dblasby
+
+	* inital version
+
+2004-04-26 23:05  dblasby
+
+	* Initial working version - based on Ralph Masons WKT and WKB
+	  parser/writer.
+
+2004-04-22 16:05  dblasby
+
+	* fixed minor typos GeomFromWKB not GeometryFromWKB
+
+2004-04-21 09:13  strk
+
+	* Attribute names escaping mechanism added. You should now
+	  be able to dump a shapefile equal to the one loaded.
+
+2004-04-21 07:38  strk
+
+	* Memory allocated for main_scan_query was not enough when using
+	  binary cursor. Fixed
+
+2004-04-13 16:49  dblasby
+
+	* GeometryN(...) now correctly says "1" is the 1st geometry (used
+	  to be 0).
+
+2004-04-08 17:05  dblasby
+
+	* Somehow the memory leak changes I made got removed - I've
+	  re-added them.
+
+2004-04-08 17:00  dblasby
+
+	* Changed ggeometry_consistent to be aware of NULL queries. Ie.
+	  select * from <table> where the_geom && null::geometry;
+	  
+	  This tends to happen when you're joining two tables using && and
+	  the table
+	  has NULLs in it.
+
+2004-04-07 23:12  dblasby
+
+	* Added a cstring(lwgeom) function that returns WKT!
+
+2004-04-07 16:23  strk
+
+	* Made new postgis.sql generation procedure the default
+
+2004-04-06 22:58  dblasby
+
+	* Changes to make it work with all the PostGIS type.
+
+2004-04-02 19:03  dblasby
+
+	* Added support for 4d coordinates
+
+2004-03-29 10:46  strk
+
+	* postgis.sql.in is now parsed by both sed and cpp
+
+2004-03-29 10:20  strk
+
+	* Fixed a bug in WKB parsing for Multipoints.
+	  Fixed a bug in -d handling for WKB.
+	  Added point->multipoint fluffing capabilities.
+
+2004-03-26 01:09  pramsey
+
+	* Removed rogue docbook tags
+
+2004-03-26 01:07  dblasby
+
+	* changed name of fluffType() to multi().
+
+2004-03-26 00:54  dblasby
+
+	* added full support for fluffType(<geom>)
+	  postgis09=# select fluffType('POINT(0 0)');
+	  flufftype
+	  -------------------------
+	  SRID=-1;MULTIPOINT(0 0)
+
+2004-03-25 00:43  dblasby
+
+	* added function fluffType() that takes POINT LINESTRING or POLYGON
+	  type and converts it to a multi*.
+	  Needs to be integrated into a proper Postgresql function and
+	  given an
+	  SQL CREATE FUNCTION
+
+2004-03-22 09:39  strk
+
+	* Moved AddGeometryColumn and DropGeometryColumn from USE_VERSION
+	  blocks to the end of file. Here, differences between versions
+	  are handled on a minimun-diff basis, making it easier to
+	  understand
+	  the differences and to modify the code. Also, diffs have been
+	  splitted between pgsql < 73 and >= 73.
+	  Added reduced-parameters wrappers to both functions.
+
+2004-03-22 08:18  strk
+
+	* postgis_new.sql build by default
+
+2004-03-19 16:35  strk
+
+	* Updated AddGeometryColumn() and DropGeometryColumn() descriptions
+	  to the schema-aware versions
+
+2004-03-15 17:07  strk
+
+	* Added calls to vacuum_delay_point() to give backend a chance of
+	  interrupting geometry stats computation.
+	  Set default DEBUG_GEOMETRY_STATS to 0.
+
+2004-03-11 01:27  dblasby
+
+	* minor clean and trying to figure out a memory bug. valgrind wasnt
+	  helping, but
+	  it went away.
+
+2004-03-11 00:54  dblasby
+
+	* Should be working (with a tonne of notices) for points lines and
+	  polygons (2d
+	  and 3d)
+
+2004-03-10 18:46  strk
+
+	* Fixed a bug reducing the output shapes from Multipolygon tables.
+
+2004-03-10 17:35  strk
+
+	* removed just-introduced bug
+
+2004-03-10 17:23  strk
+
+	* code cleanup, fixed a bug missing to transform 'gid' to 'gid__2'
+	  in shapefile attribute name
+
+2004-03-10 01:15  dblasby
+
+	* WKB reader and WKB writer (totally untested)
+
+2004-03-09 17:29  dblasby
+
+	* Initial implementation - should compile; not at all tested.
+
+2004-03-09 00:21  strk
+
+	* Removed useless code blocks in histogram builder
+
+2004-03-09 00:09  strk
+
+	* estimator applies a gain of AOI/cell_area on each cell it
+	  intersects (reverted to previous behaviour)
+
+2004-03-08 17:21  strk
+
+	* changed error computation code to delta/totrows
+
+2004-03-08 12:16  strk
+
+	* Added the RECHECK clause for gist_geometry_ops operator class
+	  operators
+
+2004-03-06 18:02  strk
+
+	* Comma-separated bps values accepted
+
+2004-03-06 17:43  strk
+
+	* Added RCSID string in usage output
+
+2004-03-06 17:35  strk
+
+	* Added rcsid string to usage output
+
+2004-03-05 21:06  strk
+
+	* Added -vacuum switch
+
+2004-03-05 21:03  strk
+
+	* Made the -bps switch specify the exact level(s) at which to run
+	  the test
+
+2004-03-05 18:25  dblasby
+
+	* Empty files - preparing for writting actual code.
+
+2004-03-05 18:23  dblasby
+
+	* Same as the one in the above directory
+
+2004-03-05 18:23  dblasby
+
+	* moved to lwgeom/ directory
+
+2004-03-05 18:16  strk
+
+	* Applied Mark Cave-Ayland patch
+
+2004-03-05 16:40  strk
+
+	* rewritten split_extent to be more datatype-conservative
+
+2004-03-05 16:01  strk
+
+	* added -bps switch to set maximun query level. reworked command
+	  line parsing
+
+2004-03-05 15:29  strk
+
+	* more verbose output
+
+2004-03-05 11:52  strk
+
+	* initial import
+
+2004-03-05 00:38  dblasby
+
+	* Initial version - still under discussion.
+
+2004-03-04 13:50  strk
+
+	* postgis_gist_sel(): added warnings if search_box goes outside of
+	  histogram grid
+
+2004-03-04 09:44  strk
+
+	* The selectivity estimator does add the full value of each cell it
+	  overlaps,
+	  regardless of the actual overlapping area. Final gain is not
+	  applied
+	  (formerly 1 / minimun between average feature cells occupation
+	  and
+	  search_box cells occupation)
+
+2004-03-03 21:59  strk
+
+	* added check to keep selectivity value in the range of validity
+	  (suggested by m.cave)
+
+2004-03-02 11:39  strk
+
+	* cpp call for postgis_new.sql creation uses shell redirection for
+	  the output file
+
+2004-03-02 11:37  strk
+
+	* modified to reflect new statistics building process for PG75
+
+2004-03-01 16:02  strk
+
+	* histogram's boxesPerSide computed as a function of the column's
+	  statistic target
+
+2004-02-29 21:53  strk
+
+	* bug fix in postgis_gist_sel (for PG75): SysCache is not released
+	  if not acquired
+
+2004-02-28 14:44  strk
+
+	* Added rule to generate postgis_new.sql from postgis.sql.in using
+	  cpp
+
+2004-02-28 14:43  strk
+
+	* initial import
+
+2004-02-26 16:42  strk
+
+	* Fixed bugs reported by Mark Cave-Ayland
+	  <m.cave-ayland at webbased.co.uk>.
+	  Re-introduced previously removed estimate value incrementation by
+	  the fractional part of each of the cells' value computed as the
+	  fraction
+	  of overlapping area.
+
+2004-02-25 13:17  strk
+
+	* RTContainedBy and RTOverlap strategries implemented locally with
+	  a pgbox_overlap function
+
+2004-02-25 12:00  strk
+
+	* Added handling for point features in histogram creation (add 1
+	  instead of AOI/cell_area when AOI is 0).
+	  Fixed a wrong cast of BOX3D to BOX (called the convertion func).
+	  Added some comments and an implementation on how to change
+	  evaluation
+	  based on the average feature and search box cells occupation.
+
+2004-02-25 00:46  strk
+
+	* initial version of && selectivity estimation for PG75
+
+2004-02-23 21:59  strk
+
+	* geometry analyzer builds the histogram
+
+2004-02-23 12:18  strk
+
+	* added skeleton functions for pg75 stats integration
+
+2004-02-12 10:34  strk
+
+	* changed USE_GEOS check from ifdef / ifndef to if / if !
+
+2004-02-09 18:49  strk
+
+	* byte endiannes detected empirically
+
+2004-02-06 08:26  strk
+
+	* updated wkb reading funx to reflect changes made by pramsey in
+	  postgis_inout.c to be nicer with solaris
+
+2004-02-06 00:42  dblasby
+
+	* moved forward declarations from postgis.h to postgis_proj.c
+
+2004-02-05 20:31  dblasby
+
+	* Optimized the curvature method (doesnt have to calculate e2)
+
+2004-02-05 20:21  dblasby
+
+	* Added 'curvature method' for cases where the original algorithm
+	  breaks down.
+
+2004-02-04 22:27  strk
+
+	* Added pg75 support scripts
+
+2004-02-04 22:21  strk
+
+	* Added detection code for PG75
+
+2004-02-04 02:53  dblasby
+
+	* applied patricia tozer's patch (distance function was taking acos
+	  of something
+	  just slightly outside [-1,1]).
+
+2004-02-03 22:19  pramsey
+
+	* Backed default sql file location out of contrib insto share
+
+2004-02-03 22:04  pramsey
+
+	* Real DESTDIR changes this time.
+
+2004-02-03 21:51  pramsey
+
+	* Ooops, let local configuration slip into cvs version
+
+2004-02-03 21:42  pramsey
+
+	* Fixed error in -C loader directive
+
+2004-02-03 21:38  pramsey
+
+	* Added DESTDIR to Makefiles to assist in RPM building.
+
+2004-02-03 08:37  strk
+
+	* schema support added, slightly modified logic used to keep table
+	  and schema names cases (always quoted and forced to lower case if
+	  not asked to keep original case)
+
+2004-01-25 19:33  pramsey
+
+	* Test commit on new CVS archive.
+
+2004-01-21 19:11  strk
+
+	* Added line_interpolate_point entry
+
+2004-01-21 19:04  strk
+
+	* Added line_interpolate_point function by jsunday at rochgrp.com
+
+2004-01-20 20:14  strk
+
+	* cleaner comments for DropGeometryColumn
+
+2004-01-20 20:10  strk
+
+	* removed bogus comment about missed alter table drop column
+
+2004-01-16 20:06  strk
+
+	* Added FTLogical<->boolean mapping
+
+2004-01-15 09:57  strk
+
+	* field type array allocates num_fields * sizeof(int) instead of
+	  sizeof(char*)
+
+2004-01-15 00:23  pramsey
+
+	* Change absolute classpath reference to relative.
+
+2004-01-14 01:52  pramsey
+
+	* Fix solaris alignment problem in transformations.
+
+2004-01-13 22:14  pramsey
+
+	* Changed getint and getdouble used by WKB so that it plays nice
+	  with
+	  memory alignment (solaris issue).
+
+2004-01-13 20:30  strk
+
+	* Added useless PG_RETURN_NULL() call to make compiler happy
+
+2004-01-12 19:12  pramsey
+
+	* Updates for 0.8.1 release.
+
+2004-01-02 20:11  strk
+
+	* always call setval with no schema specification. drop 'database'
+	  argument using the empty string to the AddGeometryColumn call
+
+2003-12-30 13:31  strk
+
+	* made shp2pgsql looser about numeric precisions
+
+2003-12-30 12:37  strk
+
+	* Fixed segfault bug reported by Randy George, removed explicit
+	  sequence drop
+
+2003-12-30 10:40  strk
+
+	* For all versions:
+	  Updated fix_geometry_columns to use a more readable format in
+	  queries.
+	  
+	  For PG >= 73:
+	  Updated fix_geometry_columns() to consider schema when fixing
+	  attrelid and
+	  varattnum, also changed empty value to 'public' string for
+	  records with
+	  an invalid schema specification.
+	  Updated DropGeometryColumn to actually issue the
+	  ALTER TABLE DROP COLUMN query.
+
+2003-12-27 13:30  strk
+
+	* Added schema specification support
+
+2003-12-23 09:00  strk
+
+	* AddGeometryColumn, DropGeometryColum moved to version-specific
+	  scripts.
+	  Schema support enabled for version 73 and 74.
+
+2003-12-19 18:55  strk
+
+	* substituted setenv() calls with putenv() for Solaris support
+
+2003-12-18 18:07  strk
+
+	* Changed fix_geometry_columns() for PG >= 73 so to set
+	  f_table_schema to
+	  the empty string if its value is not a valid pg namespace.
+
+2003-12-16 11:04  strk
+
+	* added simplify() documentation
+
+2003-12-12 18:00  strk
+
+	* reverted make_line patch, patched size_subobject instead - the
+	  reported bug was caused to their inconsistency
+
+2003-12-12 14:39  strk
+
+	* Fixed a bug in make_line allocating less memory then required
+
+2003-12-12 13:34  strk
+
+	* added missing 'const' in prototypes
+
+2003-12-12 12:03  strk
+
+	* More debugging output, some code cleanup.
+
+2003-12-12 10:28  strk
+
+	* added GEOSnoop OUTPUT debugging info
+
+2003-12-12 10:08  strk
+
+	* Added GEOSnoop function and some optional debugging output for
+	  geos<->postgis converter (define DEBUG_CONVERTER at top
+	  postgis_geos.c)
+
+2003-12-09 11:58  strk
+
+	* Final touch to wkb binary input function
+
+2003-12-09 11:13  strk
+
+	* WKB_recv: set StringInfo cursor to the end of StringInfo buf as
+	  required by postgres backend
+
+2003-12-08 17:57  strk
+
+	* Binary WKB input function built only when USE_VERSION > 73.
+	  Making some modifications based on reported failures
+
+2003-12-04 19:12  strk
+
+	* Removed useless linkages from dumper and loader
+
+2003-12-04 19:11  strk
+
+	* code cleanup (removed useless and leaking malloc calls)
+
+2003-12-04 18:58  dblasby
+
+	* changed david skae to skea
+
+2003-12-01 20:52  strk
+
+	* shapelib put in sync with gdal cvs
+
+2003-12-01 14:27  strk
+
+	* added simple malloc wrapper
+
+2003-11-28 11:28  strk
+
+	* Some more changes, now useless since wkb.h is no more used (just
+	  to get in sync)
+
+2003-11-28 11:25  strk
+
+	* Added explicit geometry as text cast
+
+2003-11-28 11:06  strk
+
+	* Added WKB_recv function for binary WKB input
+
+2003-11-26 18:54  strk
+
+	* fixed bug in HexDecoder, made WKB parsing the default
+
+2003-11-26 18:14  strk
+
+	* binary cursor implemented
+
+2003-11-26 17:21  strk
+
+	* Made HEXWKB parsing settable at compile time
+
+2003-11-26 16:40  strk
+
+	* Handled NULLS in wkb parsing, reduced functions args
+
+2003-11-26 15:45  strk
+
+	* wkb support for all geom types
+
+2003-11-26 14:31  strk
+
+	* WKB start to work
+
+2003-11-25 17:32  strk
+
+	* first attempt at wkb definitions
+
+2003-11-25 17:28  strk
+
+	* hardly trying to get WKB parsing work
+
+2003-11-25 03:03  pramsey
+
+	* Updates for 0.8.0 release.
+
+2003-11-25 02:38  pramsey
+
+	* Fixed syntax error in execution example.
+
+2003-11-24 17:36  strk
+
+	* Removed useless BYTE_ORDER checks
+
+2003-11-21 23:51  pramsey
+
+	* Added Cygwin endian definition include to fix windows compile.
+
+2003-11-20 18:01  strk
+
+	* patch from m.spring at gmx.de
+
+2003-11-20 17:51  strk
+
+	* Installs for PG>7.1 goes to pkglibdir
+
+2003-11-20 16:46  strk
+
+	* postgresql linking against libstdc++ reported as possibly needed
+	  for geos support
+
+2003-11-20 15:54  strk
+
+	* Updated postgis library path to be referenced with /..
+
+2003-11-20 15:34  strk
+
+	* expected in-transaction memory release for btree operators
+
+2003-11-20 15:29  strk
+
+	* Moved MODULE_FILENAME definition where it will be easly
+	  modifiable
+
+2003-11-20 15:27  strk
+
+	* Removed some useless strdups.
+	  Removed pgtype 22 (int2vector) from the list of integer DBF field
+	  types.
+	  Added pgtype 1700 (numeric) in DBF doubles list.
+
+2003-11-20 14:46  strk
+
+	* Set CFLAGS where useless CPPFLAGS were used before
+
+2003-11-19 18:01  strk
+
+	* CR removed
+
+2003-11-19 17:50  strk
+
+	* missing function definition added (I forgot - sorry)
+
+2003-11-19 15:44  strk
+
+	* added prototypes for geometry_{le,ge,cmp}
+
+2003-11-19 15:29  strk
+
+	* Added default btree operator class for PG7.4
+
+2003-11-19 15:26  strk
+
+	* Added geometry_le, geometry_ge, geometry_cmp functions,
+	  modified geometry_lt, geometry_gt, geometry_eq to be consistent.
+
+2003-11-19 15:23  strk
+
+	* Fixed wrong COMMUTATOR specifications in '<','>','~=','@'
+	  operators,
+	  added new '<=', '>=' operators
+
+2003-11-19 10:27  strk
+
+	* typo fixed (ENABLE_SEQSCAN missing) - PG7.4 support listed in 2.2
+
+2003-11-18 14:58  strk
+
+	* default row buffer lenght set to 100
+
+2003-11-18 14:39  strk
+
+	* Some more structuring. Initialization routine moved out of main
+	  loop.
+	  Preparing dumper for WKB parsing.
+
+2003-11-16 00:27  strk
+
+	* Huge code re-organization. More structured code, more errors
+	  handled,
+	  cursor based iteration, less code lines.
+
+2003-11-14 22:04  strk
+
+	* Used environment vars to pass libpq connection options (less
+	  error prone,
+	  easier to read). Printed clearer error message on query error.
+
+2003-11-13 13:14  strk
+
+	* used quote_ident() calls in AddGeometryColumns as suggested by
+	  Bernhard Herzog
+
+2003-11-12 20:59  strk
+
+	* more cvsignore
+
+2003-11-12 20:57  strk
+
+	* first import
+
+2003-11-12 20:55  strk
+
+	* AddGeometryColumn column identifier case respect fix as suggested
+	  by Bernhard Herzog
+
+2003-11-12 16:36  strk
+
+	* delete all caught exceptions after use
+
+2003-11-11 11:28  strk
+
+	* Added (mem)GeomUnion and (mem_)collect aggregates documentation,
+	  updated Centroid paragraph
+
+2003-11-11 10:58  strk
+
+	* Fixed a typo in envelope()
+
+2003-11-11 10:38  strk
+
+	* Postgresql 7.4 enabler scripts.
+
+2003-11-11 10:14  strk
+
+	* Added support for PG74
+
+2003-11-05 18:26  strk
+
+	* Added fast collect() and geomunion() aggregates implementations
+
+2003-11-05 18:25  strk
+
+	* moved #ifdef USE_GEOS below prototypes, added NULL implementation
+	  of unite_garray
+
+2003-11-05 18:02  strk
+
+	* renamed unite_finalfunc to unite_garray
+
+2003-11-05 17:48  strk
+
+	* Added GEOS support tips to installation instructions
+
+2003-11-05 11:00  strk
+
+	* postgis.xml put back in place. Makefile modified to generate a
+	  postgis-out.xml from postgis.xml.
+
+2003-11-04 21:54  strk
+
+	* made last release version a parameter
+
+2003-11-04 21:52  strk
+
+	* added 'global' specification to sed command
+
+2003-11-04 19:23  strk
+
+	* renamed postgis.xml to postgis.xml.in
+
+2003-11-04 19:20  strk
+
+	* dropped 'clean' rule (not really a good idea right now)
+
+2003-11-04 19:07  strk
+
+	* added doc clean in clean rule
+
+2003-11-04 19:06  strk
+
+	* added missing first geom pfree in unite_finalfunc
+
+2003-11-04 18:56  strk
+
+	* initial import
+
+2003-10-29 15:53  strk
+
+	* geoscentroid() removed. both geos and pgis versions are called
+	  'centroid'.
+	  only one version will be compiled based on USE_GEOS flag.
+
+2003-10-29 13:59  strk
+
+	* Added geoscentroid function.
+
+2003-10-29 13:58  strk
+
+	* Added GEOSGetCentroid() function
+
+2003-10-28 16:57  strk
+
+	* Added collect_garray() function.
+
+2003-10-28 15:16  strk
+
+	* unite_sfunc() from postgis_geos.c renamed to geom_accum() and
+	  moved in postgis_fn.c
+
+2003-10-28 11:18  strk
+
+	* Added Algorithms section and simplify() enabler code
+
+2003-10-28 11:16  strk
+
+	* Added postgis_algo.c prototypes
+
+2003-10-28 11:16  strk
+
+	* Added postgis_algo.c build support
+
+2003-10-28 10:59  strk
+
+	* handled NULL state array in unite_finalfunc, cleaned up some
+	  spurios code
+
+2003-10-27 23:44  strk
+
+	* unite_sfunc made always copy input array in long lived memory
+	  context.
+	  It should now work with safer memory.
+
+2003-10-27 20:13  strk
+
+	* Made GeomUnion release memory soon, Added fastunion support
+	  functions
+
+2003-10-27 10:21  strk
+
+	* Initial import.
+
+2003-10-24 21:52  strk
+
+	* Modified strcmp-based if-else with switch-case in GEOS2POSTGIS()
+	  using new GEOSGeometryTypeId() interface.
+
+2003-10-24 21:33  strk
+
+	* Added GEOSGeometryTypeId(Geometry *) wrapper function.
+	  Added GEOSGetCoordinates_Polygon(Polygon *) as an experimental
+	  optimized
+	  version of GEOSGetCoordinates(Geometry *); More to add ...
+
+2003-10-24 14:29  strk
+
+	* GEOSGetCoordinates() reverted to getCoordinates() call so to be
+	  compatible
+	  to all type of geometries (not only LineStrings)
+
+2003-10-24 08:28  strk
+
+	* Fixed memory leak in GEOSGetCoordinates(), made sure that
+	  GEOS2POSTGIS
+	  free type string even in case of collapsed geoms. Made sure that
+	  geomunion
+	  release memory in case of exception thrown by GEOSUnion. Sooner
+	  release
+	  of palloced memory in PolyFromGeometry (pts_per_ring).
+
+2003-10-23 19:52  strk
+
+	* added memory debugging tips for gcc >= 3.2.2
+
+2003-10-23 09:14  strk
+
+	* Added default-commented line to disable gcc "smart" memory
+	  caching feature.
+
+2003-10-23 08:06  strk
+
+	* Added 'unite' aggregate.
+
+2003-10-22 20:58  pramsey
+
+	* More additions to the TODO
+
+2003-10-22 18:51  pramsey
+
+	* Updated TODO list somewhat
+
+2003-10-21 07:44  strk
+
+	* Made GEOS_DIR and PROJ_DIR settable via environment vars
+
+2003-10-20 19:50  strk
+
+	* Removed some memory leaks in PostGIS2* converters.
+
+2003-10-17 16:32  pramsey
+
+	* Pass USE_* information to version string, add some 7.4 version
+	  passing
+	  flags to the compile.
+
+2003-10-17 16:12  dblasby
+
+	* Made Envelope() CW instead of CCW.
+
+2003-10-17 16:07  dblasby
+
+	* made isEmpty() return true/false
+
+2003-10-17 00:56  pramsey
+
+	* Added some more AsText wrappers.
+
+2003-10-17 00:55  pramsey
+
+	* Added some AsText wrappers to results to make results match
+	  answers.
+
+2003-10-16 20:16  dblasby
+
+	* Added NOTICE_HANDLER function. For some reason this didnt get
+	  properly
+	  committed last time.
+
+2003-10-16 16:35  dblasby
+
+	* added #include <sys/types.h> for people using freeBSD
+	  (strk at keybit.net patch)
+
+2003-10-15 17:04  dblasby
+
+	* added a bunch of catch (GEOSExceptions) blocks to write out more
+	  imformative
+	  error messages.
+
+2003-10-14 23:19  dblasby
+
+	* GEOS2POSTGIS - added protection to pfree(NULL) for multi* geoms
+
+2003-10-14 21:42  pramsey
+
+	* Added const declarations to sync with current GEOS cvs.
+
+2003-10-06 18:09  dblasby
+
+	* Fixed typo in add_to_geometry(). With very poorly aligned
+	  sub-objects, it
+	  wouldnt allocate enough memory. Fixed it so its pesimistic and
+	  will allocate
+	  enough memory.
+
+2003-10-03 16:45  dblasby
+
+	* added pointonsurface() as a sub. Some memory management
+	  fixes/tests.
+	  removed a few NOTICEs.
+
+2003-09-29 16:15  pramsey
+
+	* Patch from strk:
+	  - "\t" always preceeded the first value of a dump_format query
+	  if NULL
+	  
+	  - field values where quoted with (") in dump_format when
+	  called with -k ( did I introduce that? )
+	  
+	  - Appropriate calls to DBF[..]ReadAttributes based on
+	  cached attribute types.
+	  
+	  - Assured that *all* shapes are NULL before exiting with
+	  an error ( I did not check that NULL shapes in the midle
+	  of the shapefiles are handled, but previous code did
+	  not check that either ... )
+
+2003-09-19 00:37  jeffloun
+
+	* fixed a bug that actually tests the first 2 point for pip instead
+	  of just thinking I was testing the first two.
+
+2003-09-16 20:27  dblasby
+
+	* added ability to delete geometries.
+
+2003-09-10 22:44  jeffloun
+
+	* got rid of warning...
+
+2003-09-10 22:40  jeffloun
+
+	* changed it to make the field names in the dbf file capital
+	  letters
+
+2003-09-10 21:36  jeffloun
+
+	* fixed a bug in is_clockwise...
+
+2003-09-04 16:46  dblasby
+
+	* removed truly_inside() doc.
+
+2003-09-04 16:19  dblasby
+
+	* removed truly_inside() function.
+
+2003-08-22 17:40  dblasby
+
+	* fixed geometry_in('SRID=<int>{no ;}').
+
+2003-08-21 16:22  dblasby
+
+	* added patch from strk at freek.keybit.net for PG_NARGS() not being
+	  in 7.2
+
+2003-08-18 20:19  pramsey
+
+	* Add missing </para>
+
+2003-08-18 20:08  pramsey
+
+	* Removed illegal characters from the file.
+
+2003-08-18 20:00  pramsey
+
+	* More entities
+
+2003-08-18 19:45  pramsey
+
+	* Replace <> with proper entities in Dave's new function entries
+
+2003-08-18 16:59  pramsey
+
+	* Added info on piping results to output file.
+
+2003-08-18 16:41  pramsey
+
+	* Change include from io.h to geom.h.
+
+2003-08-17 19:00  pramsey
+
+	* Change sequence handling to respect versions prior to 7.3. Patch
+	  from
+	  strk.
+
+2003-08-08 18:19  dblasby
+
+	* Conformance changes.
+	  Removed junk from postgis_debug.c and added the first run of the
+	  long
+	  transaction locking support. (this will change - dont use it)
+	  conformance tests were corrected
+	  some dos cr/lf removed
+	  empty geometries i.e. GEOMETRYCOLLECT(EMPTY) added (with indexing
+	  support)
+	  pointN(<linestring>,1) now returns the first point (used to
+	  return 2nd)
+
+2003-08-07 05:13  pramsey
+
+	* Added some information about compiling PostgreSQL with C++
+	  support to
+	  enable proper GEOS behavior.
+
+2003-08-06 19:31  dblasby
+
+	* Added the WKB parser. Added all the functions like
+	  PolyFromWKB(<WKB>,[<SRID>]).
+	  
+	  Added all the functions like PolyFromText(<WKT>,[<SRID>])
+	  
+	  Minor problem in GEOS library fixed.
+
+2003-08-05 18:27  dblasby
+
+	* Added null implementations of new GEOS-returning-geometry
+	  functions (ie.
+	  buffer).
+
+2003-08-05 16:28  jeffloun
+
+	* Removed the setval for the sequence if the value was going to be
+	  0.
+	  This avoids a warning that occirs when you try to set it to 0.
+
+2003-08-01 23:58  dblasby
+
+	* added the functionality to convert GEOS->PostGIS geometries.
+	  Added those geos
+	  functions to postgis.
+
+2003-08-01 23:22  jeffloun
+
+	* Altered the loader to use a (gid serial) type instead of just a
+	  (gid int4).
+	  Also the gid is now declared as a primary key.
+
+2003-08-01 17:44  pramsey
+
+	* Added BC Albers parameterization (epsg 42102)
+
+2003-07-25 17:08  pramsey
+
+	* Moved Cygwin endian define out of source files into postgis.h
+	  common
+	  header file.
+
+2003-07-08 18:35  dblasby
+
+	* changed asbinary_specify() so that it is more aware of TEXT being
+	  un-terminated.
+	  
+	  this is a modified patch from David Garnier
+	  <david.garnier at etudier-online.com>.
+
+2003-07-01 18:30  pramsey
+
+	* Added CVS revision headers.
+
+2003-06-18 16:30  pramsey
+
+	* It seems that invalid geometries where in the shapefile (as far
+	  as shapelib
+	  let shp2pgsql know). LINEZ objects with less then 2 vertices.
+	  I've
+	  patched shp2pgsql to recognized such an inconsistence and use a
+	  NULL
+	  geometry for that record printing a warning on stderr.
+	  <strk at freek.keybit.net>
+
+2003-06-12 22:25  pramsey
+
+	* Added transaction begin and end.
+
+2003-05-27 22:35  dblasby
+
+	* New version of the postgis-GEOS connector.
+
+2003-05-13 22:51  dblasby
+
+	* Added a modified version of Carl Anderson
+	  <carl.anderson at vadose.org> patch for
+	  schema-aware find_srid().
+	  
+	  I have modified your schema-patched find_srid() and commited it
+	  to the postgis
+	  
+	  1. removed isstrict qualification and explicity throw an error if
+	  one of the
+	  arguments is null
+	  2. use "LIKE" instead of "~" for pattern matching because "~"
+	  wasnt working on
+	  my system
+	  3. throw an error if the the requested geometry couldnt be found.
+
+2003-04-14 18:01  pramsey
+
+	* Patch for optional case sensitivity respect. From strk.
+
+2003-04-10 23:35  pramsey
+
+	* More info
+
+2003-04-10 19:17  dblasby
+
+	* added area() as alias for area2d()
+
+2003-04-10 19:16  dblasby
+
+	* changes to area()
+
+2003-04-10 17:45  pramsey
+
+	* More info.
+
+2003-04-10 17:40  pramsey
+
+	* Fixed within() test to have right order of arguments.
+
+2003-04-10 17:29  pramsey
+
+	* Changes to function names to MATCH the specification.
+
+2003-04-10 17:19  pramsey
+
+	* More consistency fixes.
+
+2003-04-10 17:05  pramsey
+
+	* Fixes for consistency (!!!!) of the tests and a first README on
+	  how to run
+	  them.
+
+2003-04-10 16:40  pramsey
+
+	* Extra OGC text constructor functions.
+
+2003-04-10 16:22  pramsey
+
+	* Hack to supply c++ CXX variable if undefined.
+
+2003-04-10 16:20  pramsey
+
+	* Cruft removal
+
+2003-04-10 05:19  pramsey
+
+	* Formatting changes.
+
+2003-04-10 05:16  pramsey
+
+	* Remove old commented out duplicate function.
+
+2003-04-09 21:53  pramsey
+
+	* Makefile should fully honor USE_GEOS flag now.
+
+2003-04-09 21:35  pramsey
+
+	* Cleaned up makefile and transform warning removed for null case.
+
+2003-04-09 21:08  pramsey
+
+	* Some reformatting.
+
+2003-04-09 18:34  dblasby
+
+	* GEOS support -first run
+
+2003-04-09 18:34  dblasby
+
+	* test data for isvalid()
+
+2003-04-09 03:40  pramsey
+
+	* Makefile update
+
+2003-04-09 03:40  pramsey
+
+	* Updates for 0.7.5 release.
+
+2003-04-08 21:41  pramsey
+
+	* Cygwin BE_DLLLIBS fix from nvine/jtishler
+
+2003-04-08 21:23  dblasby
+
+	* simple table to test relate(g1,g2). Taken from JTS/GEOS
+	  regression test.
+
+2003-04-01 23:02  jeffloun
+
+	* Fixed a bug which dropped the last Z value of each line in 3d
+	  lines.
+
+2003-03-07 16:39  pramsey
+
+	* M-handling patch and some Z-recognition too.
+	  From strk at freek.keybit.net.
+
+2003-03-06 18:57  chodgson
+
+	* swapped '~=' for '=' in the operator class definition for
+	  gist_geometry_ops.
+
+2003-03-06 18:29  chodgson
+
+	* changed 'geometry' to 'GEOMETRY' two places in the
+	  AddGeometryColumn sql code.
+
+2003-03-06 18:10  chodgson
+
+	* Updated the documentation for the '~' operator and added
+	  documentation for the '@' operator (they were backwards).
+
+2003-03-06 18:04  dblasby
+
+	* indexing for 7.3: @ and ~ were backwards. Corrected.
+
+2003-02-15 00:27  jeffloun
+
+	* added more type checking into the create table statment.
+	  Now uses int8, and numeric types if the columns definitions are
+	  too big
+
+2003-02-14 20:07  jeffloun
+
+	* changed the PIP function to loop from i=0 to 1<n-1
+
+2003-02-13 02:48  pramsey
+
+	* Changes in preparation for 0.7.4 release.
+
+2003-02-12 21:03  pramsey
+
+	* Fixed bug with 7.1 build relating to postgis_estimate.
+
+2003-02-04 23:11  pramsey
+
+	* Changed constraint name for geometry_columns_pk.
+
+2003-02-04 22:57  pramsey
+
+	* Fix memory management error, array of pointers allocated
+	  insufficient space.
+
+2003-02-04 21:39  pramsey
+
+	* Added CVS substitution strings for logging.
+
+2003-02-04 06:49  pramsey
+
+	* Fixed stupid case error in 7.2 gist support.
+
+2003-02-03 20:08  pramsey
+
+	* Updated SRS file with better proj4 definitions and nicer
+	  commented
+	  description lines.
+
+2003-01-31 17:23  chodgson
+
+	* fixed a small error in an example - road_name -> name
+
+2003-01-22 17:07  dblasby
+
+	* applied Mark Cave-Ayland's new patch that is a bit cleaner and
+	  has a
+	  user-defined FETCH limit for creating a histogram.
+
+2003-01-21 17:46  dblasby
+
+	* added patch from Mark Cave-Ayland that saves memory during
+	  histogram
+	  calculations by using cursors instead of loading all the BOXs at
+	  once.
+
+2003-01-06 18:07  pramsey
+
+	* Added USE_STATS fix for index selectivity.
+
+2002-12-17 23:24  dblasby
+
+	* fixed select astext(the_geom)||'dave' from ...; bug
+
+2002-12-10 04:45  pramsey
+
+	* Removed old sql.in files.
+
+2002-12-10 04:37  pramsey
+
+	* Support for 7.3 undefinition.
+
+2002-12-10 04:36  pramsey
+
+	* New SQL update files, with version dependant start and end
+	  scripts.
+
+2002-12-06 20:31  pramsey
+
+	* Set USE_PROJ back to default 0.
+
+2002-12-05 22:12  pramsey
+
+	* Returned to 'opaque' as type in creation, since 7.3 will
+	  automatically
+	  cast and < 7.3 will fail if I use a different value. This causes
+	  some
+	  warnings in 7.3, but no failures.
+
+2002-12-05 21:49  pramsey
+
+	* Updates to support 7.3 typecasting conventions. 7.3 support is
+	  now ready
+	  for beta testing.
+
+2002-12-05 21:11  pramsey
+
+	* "fixed" pg_opclass so that 7.3 index creation works.
+
+2002-12-05 20:57  pramsey
+
+	* Changed an opaque to internal (many to go...)
+
+2002-12-05 20:54  pramsey
+
+	* Pass USE_VERSION macro into the C compilation process to the
+	  pre-processor can
+	  make use of it
+
+2002-12-05 20:48  pramsey
+
+	* Changed libdir references to LIBPATH and started using the magic
+	  $libpath entry for default installs.
+
+2002-12-05 20:40  pramsey
+
+	* Formatting change.
+
+2002-12-05 20:30  pramsey
+
+	* Early support for 7.3. No fixes for typecasting problems yet.
+
+2002-12-05 19:55  pramsey
+
+	* Removed DOS linefeeds from SQL files.
+
+2002-12-05 19:48  pramsey
+
+	* Changes to support 7.3 cleanly.
+
+2002-12-05 19:48  pramsey
+
+	* Changes to allow 7.3 support to be easily added.
+
+2002-12-01 05:59  pramsey
+
+	* Original OpenGIS test suite files. To be edited to conform to
+	  PostGIS syntax where legal.
+
+2002-11-26 03:59  pramsey
+
+	* Changed references to 'make' into macro references to MAKE
+
+2002-11-22 21:25  chodgson
+
+	* changed the title of the new section from "Mapserver" to "Using
+	  Mapserver"
+
+2002-11-22 21:22  chodgson
+
+	* added more advanced mapserver documentation, and separated
+	  mapserver into its own section of the documentation
+
+2002-11-22 17:38  dblasby
+
+	* Non-compiled in transform() returns error instead of nop.
+
+2002-11-20 21:32  chodgson
+
+	* re-formatted the xml doc and added a bit about complex queries
+	  (still lots more to come on that topic)
+
+2002-11-06 23:55  jeffloun
+
+	* added support for clockwise-ness in shp dumper
+
+2002-11-04 21:21  pramsey
+
+	* Removed debugging connstring print.
+
+2002-10-25 16:13  dblasby
+
+	* Now accepts both types of multipoint - 'MULTIPOINT(0 0, 1
+	  1)'::geometry and
+	  'MULTIPOINT( (0 0), (1 1))'::geometry;
+
+2002-10-24 15:53  pramsey
+
+	* Added PGbox3d accessors for LLB and URB. Added PGgeometry update
+	  to
+	  account for SRIDs when they are present in the WKT. Submitted by
+	  Rueben Schultz.
+
+2002-10-17 17:06  chodgson
+
+	* fixed the last compile warning on solaris/gcc
+
+2002-10-17 16:45  chodgson
+
+	* - cleaned up all the compiler warnings
+	  - for getopt.c, this involved moving the line:
+	  extern char *getenv(const char *name);
+	  outside of the two nested #ifdefs that it was inside, as it is
+	  always required (the code that calls it isn't inside any #ifdefs)
+	  Perhaps this may break compilation in non-linux/gnu environments?
+
+2002-10-16 23:48  pramsey
+
+	* Fixed syntax error in hyperlink to postgis source.
+
+2002-10-16 20:33  dblasby
+
+	* Added support to turn off the postgis_gist_sel() computations
+	  (see Makefile).
+
+2002-10-16 17:27  pramsey
+
+	* Added USE_STATS switch to make the new statistics system
+	  optional.
+
+2002-10-16 17:06  chodgson
+
+	* makefile now has both support for auto-determining postgres
+	  version and support for the new histogram2d stuff
+
+2002-10-11 22:52  dblasby
+
+	* New file with original estimation methods.
+
+2002-10-11 22:52  dblasby
+
+	* Added support for histogram2d and better statistical analysis.
+
+2002-10-11 20:22  jeffloun
+
+	* fixed the errors in the error fix i had just committed...
+
+2002-10-11 20:10  jeffloun
+
+	* Fixed a bug from adding NULL support to shape dumper
+
+2002-10-10 17:32  jeffloun
+
+	* added support to write out null geometries to polygon,
+	  multipolygon, arc, and multiarcs...
+
+2002-10-10 17:11  jeffloun
+
+	* Added support to write out Null geometries to point and
+	  mulitpoints
+
+2002-10-10 17:00  chodgson
+
+	* - fixed a bug in box3d_overleft which would likely go unnoticed
+	  - fixed the docs for &<, &>, <<, and >> which were backwards
+
+2002-09-20 18:05  dblasby
+
+	* Fixed complier complaint reported by Mark Sutton <mes at lazo.ca>.
+
+2002-09-06 20:29  pramsey
+
+	* Trivial initialization bug, forget to set dimension.
+
+2002-09-05 16:49  pramsey
+
+	* Changes in preparation for 0.7.3 release
+
+2002-09-05 16:39  dblasby
+
+	* Fixed typo in dropgeometrycolumn() - IS null to =null. This was
+	  caused in the
+	  last 'fix'.
+
+2002-09-05 00:07  pramsey
+
+	* Make 7.2 index test check for version 7.1 and default to 7.2 if
+	  not
+	  This is preparatory to the 7.3 pgsql release which uses the sames
+	  GiST bindings as the 7.2 release.
+
+2002-09-04 16:55  dblasby
+
+	* Applied "Mark Cave-Ayland" <mark.cave-ayland at webbased.co.uk>'s
+	  patch so
+	  transform() will correctly tranform BBOX only geometries.
+
+2002-09-03 15:31  pramsey
+
+	* Added automatic test for version string and setting of USE_PG72
+	  to
+	  appropriate value, as submitted by Greg Stark.
+
+2002-09-01 20:04  pramsey
+
+	* Changes in preparation for 0.7.2 release.
+
+2002-08-19 16:14  dblasby
+
+	* changed "=NULL" to "is null" for postgresql 7.3 devel issues (as
+	  reported
+	  by Eric - redmonde at purdue.edu)
+
+2002-08-16 17:58  dblasby
+
+	* Applyed "Mark Cave-Ayland" <mark.cave-ayland at webbased.co.uk>'s
+	  patch
+	  to the truly_inside() function. Thanks mark!
+
+2002-08-07 16:31  pramsey
+
+	* Patch to write null geometries as "\N" in the dump file format
+	  case.
+	  Submitted by Steffen Macke <sdteffen at web.de>
+
+2002-07-26 16:50  chodgson
+
+	* minor correction
+
+2002-07-24 20:40  pramsey
+
+	* fixes the unwanted quotation of NULLs for the sql insert format.
+	  Submitted
+	  by Steffen Macke.
+
+2002-07-17 20:10  chodgson
+
+	* fixed some formatting errors from my previous addition
+
+2002-07-17 18:34  chodgson
+
+	* added a "common problems" sub-section to the "installing postgis"
+	  section
+
+2002-07-06 17:51  pramsey
+
+	* Reverted USE_PROJ to 0
+
+2002-07-06 15:16  pramsey
+
+	* Patch from Steffen Macke, NULL attributes are imported as NULL
+	  now,
+	  gid field renaming works now (case problem), \ and ' are escaped
+	  and don't break the import
+
+2002-07-04 23:38  dblasby
+
+	* added bytea(wkb)
+
+2002-06-26 18:34  pramsey
+
+	* fixed syntax error in reference to pgsql2shp
+
+2002-06-26 18:25  pramsey
+
+	* Cygwin fixes to the install target to provide .exe extensions.
+
+2002-06-07 18:16  jeffloun
+
+	* fixed a bug in pgsql2shp which displayed the total DBF rows
+	  written as one less than actually was written.
+
+2002-05-28 18:01  chodgson
+
+	* - updated the ~ and @ operator definitions in postgis_gist.sql.in
+	  so that ~ is contains and @ is contained (should have been done
+	  in the last update, but I forgot)
+
+2002-05-28 17:59  chodgson
+
+	* - updated the ~ and @ operator definitions in
+	  postgis_gist_72.sql.in so that ~ is contains and @ is contained
+
+2002-05-28 17:54  chodgson
+
+	* - updated the translate function in postgis_fn.c to translate the
+	  bounding box as well, as suggested by Robert Burgholzer
+
+2002-05-22 19:29  pramsey
+
+	* Fixed syntax error in GeometryN defn.
+
+2002-05-14 20:50  pramsey
+
+	* Set USE_PG72 to 0.
+
+2002-05-14 20:47  pramsey
+
+	* Documentation updates for 0.7.1 release.
+
+2002-05-14 20:36  pramsey
+
+	* Stripped DOS carriage returns from all source code files. Should
+	  fix some compilation problems on some platforms.
+
+2002-05-14 18:28  chodgson
+
+	* - integrated a bugfix for the rtree_picksplit algorithm from
+	  Teodor Sigaev. This fixes the bug which reports "ERROR:
+	  MemoryContextAlloc: invalid request size 0" while building a gist
+	  rtree index (first reported by Andy Turk)
+	  
+	  - cleaned up some warnings (mostly "possibly unitialized
+	  variables")
+
+2002-05-06 17:35  chodgson
+
+	* - changed add_to_geometry() and collector() so that the sql
+	  collect() aggregate returns the simplest possible geometric type,
+	  ie. a MULTIPOINT instead of a GEOMETRYCOLLECTIONwhen all of the
+	  geometries being collected are of either POINT or MULTIPOINT type
+
+2002-05-04 23:08  pramsey
+
+	* Fixed mistake in FAQ example on radius searching.
+
+2002-05-04 22:52  pramsey
+
+	* More docbook changes.
+
+2002-05-04 22:51  pramsey
+
+	* Docbook syntax error changes.
+
+2002-05-04 22:47  pramsey
+
+	* Added postgis_undef.sql to make clean target.
+
+2002-05-04 22:46  pramsey
+
+	* Documentation updates to go with the 0.7 release. All new
+	  functions
+	  documented, and appropriate changes made to installation and
+	  other
+	  directions. New build process for the PG72 indexes and PROJ4
+	  support
+	  added to Makefile.
+
+2002-05-04 22:44  pramsey
+
+	* Add commenting to indicate the coordinate system of each insert
+	  line in
+	  a human readable form.
+
+2002-05-04 22:44  pramsey
+
+	* Update shapelib references to 1.2.9.
+
+2002-05-04 20:30  pramsey
+
+	* Added an "install" target which installs shp2pgsql and pgsql2shp
+	  in the
+	  default pgsql bin directory.
+
+2002-05-04 20:29  pramsey
+
+	* Changed WANT_PROJECTION flag to USE_PROJ to match other Makefile
+	  defines.
+
+2002-05-04 20:28  pramsey
+
+	* Added GeomFromText alias to GeometryFromText since the former is
+	  in the
+	  SFSQL spec and the latter is not.
+
+2002-05-03 03:14  pramsey
+
+	* Start of 0.7 documenation edits.
+
+2002-05-02 22:25  dblasby
+
+	* transform_geom() - if it gets and error -38 from PROJ.4 (couldnt
+	  open
+	  grid file) it will try to do the transform without a
+	  a datum conversion. This usually occurs if you ask
+	  for a re-projection for a point outside where you have
+	  grid data for.
+
+2002-04-30 23:37  dblasby
+
+	* Better error reporting.
+
+2002-04-30 23:20  dblasby
+
+	* Added some debugging to transform.
+
+2002-04-29 17:23  dblasby
+
+	* Added distance_ellipsiod(point,point,ellipsoid)
+	  (called distance_spheroid in SQL)
+
+2002-04-26 22:50  chodgson
+
+	* - cut the gist indexing-related functions out of postgis_ops.c
+	  and put them in postgis_gist.c, then put the new gist indexing
+	  functions for postgres >= 7.2 in the file postgis_gist_72
+	  
+	  - similarly, the sql definitions of the gist functions have been
+	  split into their own new sql.in file, with postgis_gist_72.sql.in
+	  containing the new postgres >= 7.2 definitions
+	  
+	  - the makefile has been updated to compile EITHER postgis_gist.c
+	  OR postgis_gist_72.c, and also to process EITHER
+	  postgis_gist.sql.in OR postgis_gist_72.sql and add the output to
+	  the end of postgis.sql
+	  
+	  - in order to compile the gist functions for posgres 7.2 or
+	  newer, make sure to point your PGSQL_SRC at the new source
+	  directory, and uncomment the line in the makefile which says PG72
+	  = 1 (near the top)
+	  
+	  - some functions that were previously in postgis_ops.c were moved
+	  to postgis_fn.c, as part of a general cleanup I did when
+	  splitting off the gist functions into their own file
+	  
+	  - some definitions that were previously in postgis.h
+	  (unnecessarily) where removed, as they varied depending on which
+	  version of postgis_gist was being used
+	  
+	  - also edited the loader/Makefile to clean up properly
+
+2002-04-26 16:13  pramsey
+
+	* Column name length limitation removed. Patch submitted by
+	  Bernhard
+	  Reiter <bernhard at intevation.de>
+
+2002-04-23 17:02  pramsey
+
+	* XML syntax error.
+
+2002-04-19 18:20  pramsey
+
+	* Removed the CREATE INDEX statement since there is already a
+	  primary
+	  key index.
+
+2002-04-19 18:15  pramsey
+
+	* Added PROJ4 entries to all relevant rows, altered the auth_name
+	  to
+	  be EPSG for those IDs which originated from the EPSG.
+
+2002-04-19 15:14  pramsey
+
+	* Patches to bring example up to current version in terms of SQL
+	  access
+	  and to stop silly bug in missing table case. Submitted by
+	  Steffen Macke <sdteffen at web.de>
+
+2002-04-15 22:38  jeffloun
+
+	* fixed bug that allowed two field names to be the same in
+	  shp2psql, we are now checking for that.
+
+2002-03-26 23:46  dblasby
+
+	* changed postgis_Version() to return type text, not type char.
+
+2002-03-25 22:20  pramsey
+
+	* Minor syntax changes in commenting.
+
+2002-03-25 02:04  pramsey
+
+	* Minor syntactical changes to try and allow compilation on IRIX.
+
+2002-03-22 18:42  chodgson
+
+	* Added the collect(geometry) function which is an aggregate
+	  function that
+	  takes a group of geometries and turns them into a geometry
+	  collection. For
+	  example, "select collect(roadsgeom) from roadstable group by
+	  roadname"
+	  would return one geometrycollection for each unique road name.
+
+2002-03-15 17:10  dblasby
+
+	* ADD xmin(box3d) etc... for box3d's.
+
+2002-03-14 19:35  jeffloun
+
+	* added a warning to the shape dumper when there are no fields in
+	  the database.
+
+2002-03-01 19:32  pramsey
+
+	* Alter shp2pgsql in the -d case so that 'DELETE FROM' is used to
+	  clear the
+	  'GEOMETRY_COLUMNS' table during table drop instead of
+	  DropGeometryColumns.
+	  Patch submitted by Steffen Macke <sdteffen at yahoo.com>.
+
+2002-02-27 00:38  dblasby
+
+	* minor bug in geometry_to_text() for BOX3D only types fixed.
+
+2002-02-27 00:06  dblasby
+
+	* BOX3D only geometries now dump as "SRID=x;BOX3D(...)". They are
+	  now okay to dump/restore.
+
+2002-02-26 23:46  dblasby
+
+	* for bbox only geometries, it will dump as "SRID=x;NULL", and on
+	  load, it will be NULL.
+
+2002-02-23 19:04  pramsey
+
+	* Patch to pgsql2shp to allow dumping of tables with more than one
+	  geometry
+	  column, and addition of -g option to specific which geometry
+	  column to dump.
+	  Submitted by Steffen Macke <sdteffen at yahoo.com>.
+
+2002-02-19 16:57  pramsey
+
+	* Patch to shp2pgsql.c to properly handle 3D shape files. Submitted
+	  by Steffen Macke <sdteffen at yahoo.com>.
+
+2002-02-18 18:02  dblasby
+
+	* minor bug fix
+
+2002-02-18 17:02  dblasby
+
+	* Added TS support function (chip and some non-SFSQL functions)
+
+2002-02-13 16:50  pramsey
+
+	* Fixed syntax error in UPDATE statement.
+
+2002-01-11 16:58  dblasby
+
+	* better "no proj4" support addded
+
+2002-01-08 16:55  pramsey
+
+	* Fixed dumb error in POINT syntax example.
+
+2002-01-07 21:07  dblasby
+
+	* Order changes to avoid conflicts.
+
+2002-01-03 23:31  dblasby
+
+	* Added max_distance(l1,l2) function
+
+2001-12-21 23:01  dblasby
+
+	* Coordinate transformation function, transform() added in this
+	  file.
+	  Adds requirement for linking the proj4 library if non-null
+	  version of
+	  function is requested.
+
+2001-12-21 19:44  pramsey
+
+	* Doco changes to reflect use of 'createlang' as default language
+	  creator.
+
+2001-12-18 22:28  dblasby
+
+	* Added to achive (no code)
+
+2001-12-12 22:21  dblasby
+
+	* changed setSRID(chip and geometry, int) so its cachable
+
+2001-12-12 22:19  dblasby
+
+	* Made setSRID cachable
+
+2001-11-21 19:39  dblasby
+
+	* Chip now handles data with different datasizes (datum_size)
+
+2001-11-19 17:25  pramsey
+
+	* Fix error in sentence about OGC support.
+
+2001-11-07 19:35  pramsey
+
+	* Added dates to changelog *yawn*
+
+2001-11-07 17:25  pramsey
+
+	* Added 0.6.2 changes.
+
+2001-11-06 23:03  jeffloun
+
+	* Fixed the 'free memory that didn't exist problem' from newsgroup
+	  feedback
+
+2001-11-02 23:04  dblasby
+
+	* New CHIP type
+
+2001-11-02 23:00  dblasby
+
+	* Added CHIP info
+
+2001-11-02 00:28  pramsey
+
+	* Added README to files installed by default
+
+2001-11-01 22:57  pramsey
+
+	* Updated shapelib files from latest CVS version.
+
+2001-10-31 22:18  pramsey
+
+	* Added spatial_ref_sys.sql to the installed files for 'make
+	  install'
+
+2001-10-30 19:52  pramsey
+
+	* Added some line commenting to make names more readable.
+
+2001-10-30 19:47  pramsey
+
+	* More spelling fixes, this time with ispell! :)
+
+2001-10-30 19:43  pramsey
+
+	* Fix spelling mistake.
+
+2001-10-29 17:52  jeffloun
+
+	* fixed a bug which made the last column value in the dbf file
+	  loading
+	  incorrect if you were using Dump format.
+
+2001-10-26 17:04  pramsey
+
+	* Added N.Vines changes to Makefile for better compilation under
+	  cygwin.
+
+2001-10-26 16:30  pramsey
+
+	* Fixed documentation error with respect to box3d
+
+2001-10-25 18:22  dblasby
+
+	* Fixed but in WKB out - wkb_multi* didnt set the 'size' return
+	  value.
+
+2001-10-24 20:56  pramsey
+
+	* File with all the ESRI standard ID codes, with corresponding WKT
+	  definitions, for loading into the SPATIAL_REF_SYS table.
+
+2001-10-24 20:42  pramsey
+
+	* Sweet mary, mother of god, getopt.c was a mess! Cleaned out HTML
+	  entities
+	  and added stdio.h include. Works better now.
+
+2001-10-23 23:41  jeffloun
+
+	* fixed a bug in shp2pgsqkl that allocated way too much memory in
+	  polygon files.
+
+2001-10-22 20:13  jeffloun
+
+	* Standard GNU option handling.
+
+2001-10-22 20:12  jeffloun
+
+	* Modified both loader/dumper to use gnu getopt.c instead of
+	  standar one
+	  since getopt was not the same on solaris and linux.
+
+2001-10-18 17:52  pramsey
+
+	* postgis_undef.sql is now automatically generated from postgis.sql
+	  so
+	  no longer part of source code distribution
+
+2001-10-18 17:51  pramsey
+
+	* Added lines to automatically create postgis_undef.sql from
+	  postgis.sql using create_undef.pl as part of standard build
+	  process.
+
+2001-10-18 16:39  dblasby
+
+	* create_undef.pl changed to reove the 2 meta-info tables
+	  (spatial_ref_sys and geometry_columns).
+
+2001-10-17 23:13  pramsey
+
+	* Updated style.css to match new website.
+
+2001-10-15 18:07  pramsey
+
+	* 0.6.1 changes
+
+2001-10-15 17:42  pramsey
+
+	* Usage documentation changes.
+
+2001-10-11 18:35  pramsey
+
+	* Added line break ot usage.
+
+2001-10-11 18:34  pramsey
+
+	* Made usage line more friendly for 80 column displays.
+
+2001-10-11 18:26  pramsey
+
+	* Edited the usage log to by nicer to 80 column displays
+
+2001-10-11 18:07  jeffloun
+
+	* Fixed some errors and warning that caused it not to compile under
+	  linux
+
+2001-10-11 17:15  jeffloun
+
+	* Modified the .c files slightly to get rid of some warnings.
+
+2001-10-04 18:53  jeffloun
+
+	* Modified the pgsql2shp file to use getopt to parse the arguments.
+	  Modified the Readme file accordingly to the new command line
+	  usages.
+	  
+	  automatically CVS: CVS: Committing in . CVS: CVS: Modified Files:
+	  CVS: postgis/loader/README.pgsql2shp postgis/loader/pgsql2shp.c
+
+2001-10-01 19:33  jeffloun
+
+	* Modified the program to use getopt topion parsing.
+
+2001-09-20 18:14  jeffloun
+
+	* Modified this file to dynamically detemine the name of the
+	  geometry column
+	  instead of using the default one the loader assigns.
+
+2001-09-20 16:08  dblasby
+
+	* Removed index-based extent() support functions in postgis_debug.c
+	  due to
+	  compile errors reported under cygwin.
+
+2001-09-19 23:03  pramsey
+
+	* Updated to provide usage information for the dumper.
+
+2001-09-19 22:59  pramsey
+
+	* Split the loader README into two readmes, one for loader and one
+	  for
+	  dumper.
+
+2001-09-19 19:01  pramsey
+
+	* Makefile changes in preparation for 0.6 release.
+	  Documentation fiddling for final format.
+
+2001-09-19 18:47  pramsey
+
+	* Changes and additions necessary to include pgsql2shp
+
+2001-09-19 18:00  pramsey
+
+	* Additions for the 0.6 release.
+
+2001-09-18 01:34  pramsey
+
+	* Updates to the documentation (new functions, 0.6 special info,
+	  mapserver
+	  info). Other release-specific updates in CHANGES, README, TODO to
+	  give
+	  info on the new code.
+
+2001-09-17 21:24  jeffloun
+
+	* Fixed a stupid debugging error that would cause all things to be
+	  treated as 3d points.
+
+2001-09-17 21:00  jeffloun
+
+	* Makefile changes:
+	  I added an option in the makefile to add debugging information
+	  into the compile.
+	  
+	  shp2psql.c
+	  Modified this program so that it works with the new specs of
+	  version 0.6 , sr_id's etc.
+	  Also added a command line option to specify the sr_id.
+
+2001-09-04 19:41  dblasby
+
+	* Added workaround for PostgreSQL's user defined VARIABLE length
+	  datatype default value bug
+
+2001-09-04 19:30  dblasby
+
+	* Added support to make WKB a full type.
+
+2001-08-30 22:24  pramsey
+
+	* Typo in SQL example fixed.
+
+2001-08-24 21:11  dblasby
+
+	* geometry(text) function safer with null text fields.
+
+2001-08-24 21:02  dblasby
+
+	* added geometry(text) conversion function
+
+2001-08-14 22:15  dblasby
+
+	* Added support for better restrictivity of && searches.
+	  Defaulted to 0.005 (in backend/utils/adt/geo_selfuncs.c) - I've
+	  changed it
+	  to be much smaller. This should work for everything but really
+	  really
+	  large tables.
+
+2001-08-10 02:21  pramsey
+
+	* Fixed type in index description.
+
+2001-08-08 22:10  pramsey
+
+	* Added a -C option for the shp2pgsql compile
+
+2001-08-08 21:54  dblasby
+
+	* Added new undef.sql file and perl file to generate it.
+
+2001-08-08 21:49  dblasby
+
+	* Added new perl function to make an undef SQL script.
+
+2001-08-08 05:25  pramsey
+
+	* Made OGIS type numbers final per request from James MacGill @
+	  Leeds
+
+2001-08-07 21:36  pramsey
+
+	* This file is superceded by the Makefile.
+
+2001-08-07 21:35  pramsey
+
+	* This binary should not have been in CVS.
+
+2001-08-02 16:50  dblasby
+
+	* Added more openGIS functions:
+	  Length2d() is renamed length()
+	  perimeter2d() is renamed to perimeter()
+	  
+	  numgeometries(geometry) works on MULTI* types
+	  geometryn(geometry) works on MULTI* types
+	  
+	  
+	  from section 2.1.5.1
+	  --------------------
+	  startpoint(geometry) :- if geometry is a linestring, return the
+	  first
+	  point. Otherwise, return NULL.
+	  
+	  endpoint(geometry) :- if geometry is a linestring, return the
+	  last
+	  point. Otherwise, return NULL.
+	  
+	  from section 2.1.9.1/3.2.18.2
+	  --------------------
+	  
+	  centroid(geometry) :- if geometry is a polygon (or multipolygon),
+	  return
+	  the mathematical centroid (no guaranteed to be on polygon),
+	  otherwise
+	  return NULL. I define centroid as the average location of all the
+	  points
+	  in the polygon (outer ring only). For multipolygons, average all
+	  the
+	  points on all the outer rings.
+	  
+	  from section 3.2.12.2/3.2.17.2
+	  ---------------------
+	  isclosed(geometry) :- if geometry is a linestring then returns
+	  startpoint == endpoint. If its not a linestring then return NULL.
+	  If
+	  its a multilinestring, return true only if all the
+	  sub-linestrings have
+	  startpoint=endpoint.
+
+2001-07-31 19:11  dblasby
+
+	* Added plpgsql functions AddGeometryColumn() and
+	  DeleteGeometryColumn().
+
+2001-07-30 17:29  dblasby
+
+	* Starting to integrate all the SRIDs into functions that create
+	  geometries or
+	  use two geometries. Throws error if try to compare geometries
+	  with different
+	  SRIDs.
+
+2001-07-30 16:41  pramsey
+
+	* Ooops, back to shp2pgsql as the target (dummy target)
+
+2001-07-30 16:31  pramsey
+
+	* Renamed loader target to 'loader'.
+
+2001-07-30 16:27  pramsey
+
+	* Added a line to automatically make shp2pgsql with 'all'
+
+2001-07-29 17:18  pramsey
+
+	* Added section on upgrading.
+
+2001-07-26 17:41  pramsey
+
+	* And one last time, this time for real, fixing the install
+	  location.
+
+2001-07-26 17:37  pramsey
+
+	* Changed back to libdir for the install path
+
+2001-07-26 17:22  pramsey
+
+	* Updated minor version number to 5
+
+2001-07-24 20:37  dblasby
+
+	* added expand_bbox(bbox,double) for easier searching.
+
+2001-07-24 20:18  dblasby
+
+	* minor change to distance(geom,geom) for stability
+
+2001-07-24 20:12  dblasby
+
+	* added distance(geometry,geometry) and support functions
+
+2001-07-23 22:53  pramsey
+
+	* Apply Norman Vine's Cygwin fix for the loader to compile
+
+2001-07-22 19:00  pramsey
+
+	* Fix error in shp2pgsql section.
+
+2001-07-21 00:43  pramsey
+
+	* Added lines for 0.2 and 0.5
+
+2001-07-21 00:16  dblasby
+
+	* Fixes to single-point-line problem.
+
+2001-07-21 00:02  pramsey
+
+	* Updates for 0.5 release.
+
+2001-07-20 23:49  pramsey
+
+	* Entered 0.5 change list
+
+2001-07-20 23:40  pramsey
+
+	* First version.
+
+2001-07-20 23:27  pramsey
+
+	* Change version numbers
+
+2001-07-20 23:26  pramsey
+
+	* Updated to include all new functions and features since release
+	  0.2
+
+2001-07-20 18:48  dblasby
+
+	* Dumper changes.
+
+2001-07-20 18:24  pramsey
+
+	* Spelling error in makefile.
+
+2001-07-20 18:23  pramsey
+
+	* Fixed dos2unix problem.
+
+2001-07-20 18:21  pramsey
+
+	* Added newlines after each begin directive.
+
+2001-07-20 16:10  dblasby
+
+	* Added -dump option to produce pg_dump format output. Minor fixes.
+
+2001-07-20 15:25  pramsey
+
+	* Hopefully fixed PGSQL_SRC environment variable test.
+
+2001-07-18 22:17  dblasby
+
+	* Added function:
+	  point_inside_circle(geometry, Px, Py, d)
+	  - returns true if there is a point in geometry whose distance to
+	  (Px,Py) is < d
+
+2001-07-18 21:45  pramsey
+
+	* Changed loader name to shp2pgsql
+
+2001-07-18 21:42  pramsey
+
+	* Initial add of the data loader code.
+
+2001-07-16 16:53  pramsey
+
+	* Added a 'make clean' directive.
+
+2001-06-29 22:32  dblasby
+
+	* Fixed bug: must ALWAYS copy input data - never modify it in
+	  place. If you
+	  do, it'll (unexpectly) update the database.
+
+2001-06-29 00:08  dblasby
+
+	* Fix typo in box3d
+
+2001-06-28 23:53  dblasby
+
+	* Added force_collection(geometry)
+
+2001-06-28 17:52  dblasby
+
+	* converting a GEOMETRYCOLLECTION to wkb had the size of the wkb
+	  off by 9
+	  bytes (size of the collection header). Fixed.
+
+2001-06-27 21:43  dblasby
+
+	* *** empty log message ***
+
+2001-06-27 17:28  dblasby
+
+	* Initial version of Projection support (currently limited to
+	  ellipsoids).
+
+2001-06-26 23:57  pramsey
+
+	* Building in non-standard location now requires the PGSQL_SRC
+	  environment
+	  variable to be set and installs in the build location.
+
+2001-06-26 18:33  dblasby
+
+	* Added OGIS support functions and basic constructors.
+
+2001-06-22 18:13  dblasby
+
+	* Altered to point local development library path at right place.
+
+2001-06-22 17:39  cvs
+
+	* Initial revision
+
+2001-06-22 17:39  cvs
+
+	* New repository initialized by cvs2svn.
+
diff --git a/LICENSE.TXT b/LICENSE.TXT
index aeca864..dcfb895 100644
--- a/LICENSE.TXT
+++ b/LICENSE.TXT
@@ -8,9 +8,9 @@ user for credit requirements for instance.
 PostGIS General
 ----------------
 
-In general PostGIS is licensed under GPL Version 2 terms except on files
-where expressly stated otherwise.  Please refer to the COPYING file for
-licensing details.
+In general PostGIS may be distributed and/or modified under the conditions
+of the GNU General Public License, either version 2 or (at your option) any
+later version. Please refer to the COPYING file for details.
 
 PostGIS has dependencies on other libraries which are not under GPL and
 that are commonly distributed with PostGIS core libraries.  In general
diff --git a/NEWS b/NEWS
index b7da619..5e70482 100644
--- a/NEWS
+++ b/NEWS
@@ -1,7 +1,42 @@
+PostGIS 2.1.1
+2013/11/08
+
+ * Important Changes *
+
+  - #2514, Change raster license from GPL v3+ to v2+, allowing 
+           distribution of PostGIS Extension as GPLv2.
+
+ * Bug Fixes *
+
+  - #2396, Make regression tests more endian-agnostic
+  - #2434, Fix ST_Intersection(geog,geog) regression in rare cases
+  - #2454, Fix behavior of ST_PixelAsXXX functions regarding
+           exclude_nodata_value parameter
+  - #2449, Fix potential infinite loop in index building
+  - #2489, Fix upgrades from 2.0 leaving stale function signatures
+  - #2493, Fix behavior of ST_DumpValues when passed an empty raster
+  - #2502, Fix postgis_topology_scripts_installed() install schema
+  - #2504, Fix segfault on bogus pgsql2shp call 
+  - #2512, Support for foreign tables and materialized views in
+           raster_columns and raster_overviews
+  - #2525, Fix handling of SRID in nested collections
+  - #2528, Fix memory leak in ST_Split / lwline_split_by_line
+  - #2532, Add missing raster/geometry commutator operators
+  - #2533, Remove duplicated signatures
+
+ * Enhancements *
+
+  - #2463, support for exact length calculations on arc geometries
+  - #2478, support for tiger 2013
+  - #2527, Added -k flag to raster2pgsql to skip checking that
+           band is NODATA
+
+
 PostGIS 2.1.0
 2013/08/17
 
  * Important / Breaking Changes  *
+
   - #1653, Removed srid parameter from ST_Resample(raster) and variants
            with reference raster no longer apply reference raster's SRID.
   - #1962 ST_Segmentize - As a result of 
@@ -40,8 +75,10 @@ PostGIS 2.1.0
     Use expression variants of ST_MapAlgebra instead
 
  * New Features *
- - Refer to http://postgis.net/docs/manual-2.1/PostGIS_Special_Functions_Index.html#NewFunctions_2_1
-   for complete list of new functions
+
+ Refer to http://postgis.net/docs/manual-2.1/PostGIS_Special_Functions_Index.html#NewFunctions_2_1
+ for complete list of new functions
+
   - #310, ST_DumpPoints converted to a C function (Nathan Wagner)
   - #739, UpdateRasterSRID()
   - #945, improved join selectivity, N-D selectivity calculations, 
@@ -220,16 +257,54 @@ PostGIS 2.1.0
  * Known Issues *
   - #2111, Raster bands can only reference the first 256 bands of out-db rasters
 
+PostGIS 2.0.4
+2013/09/06
+
+ * Bug Fixes *
+  - #2110, Equality operator between EMPTY and point on origin
+  - Allow adding points at precision distance with TopoGeo_addPoint
+  - #1968, Fix missing edge from toTopoGeom return
+  - #2165, ST_NumPoints regression failure with CircularString
+  - #2168, ST_Distance is not always commutative
+  - #2186, gui progress bar updates too frequent
+  - #2201, ST_GeoHash wrong on boundaries
+  - #2257, GBOX variables not initialized when testing with empty geometries
+  - #2271, Prevent parallel make of raster
+  - #2267, Server crash from analyze table
+  - #2277, potential segfault removed
+  - #2307, ST_MakeValid outputs invalid geometries
+  - #2351, st_distance between geographies wrong
+  - #2359, Incorrect handling of schema for overview constraints
+  - #2371, Support GEOS versions with more than 1 digit in micro
+  - #2372, Cannot parse space-padded KML coordinates
+  - Fix build with systemwide liblwgeom installed
+  - #2383, Fix unsafe use of \' in warning message
+  - #2410, Fix segmentize of collinear curve
+  - #2415, ST_Multi support for COMPOUNDCURVE and CURVEPOLYGON
+  - #2412, ST_LineToCurve support for lines with less than 4 vertices
+  - #2420, ST_LineToCurve: require at least 8 edges to define a full circle
+  - #2423, ST_LineToCurve: require all arc edges to form the same angle
+  - #2424, ST_CurveToLine: add support for COMPOUNDCURVE in MULTICURVE
+  - #2427, Make sure to retain first point of curves on ST_CurveToLine
+
+ * Enhancements *
+  - #2269, Avoid uselessly de-toasting full geometries on ANALYZE
+
+ * Known Issues *
+  - #2111, Raster bands can only reference the first 256 bands of out-db rasters
+
 PostGIS 2.0.3
 2013/03/01
 
  * Bug Fixes *
+
   - #2134, Fixed handling of SRS strings as they are passed to GDAL functions
 
 PostGIS 2.0.2
 2012/12/03
 
  * Bug Fixes *
+
   - #1287, Drop of "gist_geometry_ops" broke a few clients
            package of legacy_gist.sql for these cases
   - #1391, Errors during upgrade from 1.5
@@ -277,11 +352,10 @@ PostGIS 2.0.2
   - #2117, Ensure ST_PointOnSurface always returns POINT
   - #2129, Fix SRID in ST_Homogenize output with collection input
   - #2130, Fix memory error in MultiPolygon GeoJson parsing 
-
   - Update URL of Maven jar
-  
 
  * Enhancements *
+
   - #1581, ST_Clip(raster, ...) no longer imposes NODATA on a band if the
            corresponding band from the source raster did not have NODATA
   - #1928, Accept array properties in GML input multi-geom input
diff --git a/README.postgis b/README.postgis
index 7cb73ba..73068b5 100644
--- a/README.postgis
+++ b/README.postgis
@@ -1,8 +1,8 @@
 PostGIS - Geographic Information Systems Extensions to PostgreSQL
 =================================================================
 
-:Version: 2.1.0
-:Date: 2013-08-17
+:Version: 2.1.1
+:Date: 2013-11-08
 :Website: http://postgis.net
 
 This distribution contains a module which implements GIS simple features, ties
diff --git a/Version.config b/Version.config
index 4cf930c..91c4a91 100644
--- a/Version.config
+++ b/Version.config
@@ -5,5 +5,5 @@
 
 POSTGIS_MAJOR_VERSION=2
 POSTGIS_MINOR_VERSION=1
-POSTGIS_MICRO_VERSION=0
+POSTGIS_MICRO_VERSION=1
 
diff --git a/aclocal.m4 b/aclocal.m4
index e62fd24..8119f30 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1,7 +1,7 @@
-# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
+# generated automatically by aclocal 1.13.3 -*- Autoconf -*-
+
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
 
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -11,7 +11,8 @@
 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 # PARTICULAR PURPOSE.
 
-# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
+# Copyright (C) 2003-2013 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -19,10 +20,16 @@
 
 # AM_PROG_MKDIR_P
 # ---------------
-# Check for `mkdir -p'.
+# Check for 'mkdir -p'.
 AC_DEFUN([AM_PROG_MKDIR_P],
 [AC_PREREQ([2.60])dnl
 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+dnl FIXME we are no longer going to remove this! adjust warning
+dnl FIXME message accordingly.
+AC_DIAGNOSE([obsolete],
+[$0: this macro is deprecated, and will soon be removed.
+You should use the Autoconf-provided 'AC][_PROG_MKDIR_P' macro instead,
+and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.])
 dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
 dnl while keeping a definition of mkdir_p for backward compatibility.
 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
diff --git a/config.guess b/config.guess
index c2246a4..43f0cdb 100755
--- a/config.guess
+++ b/config.guess
@@ -1,10 +1,10 @@
 #! /bin/sh
 # Attempt to guess a canonical system name.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
-#   Free Software Foundation, Inc.
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
+#   2011 Free Software Foundation, Inc.
 
-timestamp='2009-12-30'
+timestamp='2011-10-01'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -57,7 +57,7 @@ GNU config.guess ($timestamp)
 
 Originally written by Per Bothner.
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
 Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
@@ -181,7 +181,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
 		fi
 		;;
 	    *)
-	        os=netbsd
+		os=netbsd
 		;;
 	esac
 	# The OS release
@@ -224,7 +224,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
 		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
 		;;
 	*5.*)
-	        UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
+		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
 		;;
 	esac
 	# According to Compaq, /usr/sbin/psrinfo has been available on
@@ -270,7 +270,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
 	# A Xn.n version is an unreleased experimental baselevel.
 	# 1.2 uses "1.2" for uname -r.
 	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
-	exit ;;
+	# Reset EXIT trap before exiting to avoid spurious non-zero exit code.
+	exitcode=$?
+	trap '' 0
+	exit $exitcode ;;
     Alpha\ *:Windows_NT*:*)
 	# How do we know it's Interix rather than the generic POSIX subsystem?
 	# Should we change UNAME_MACHINE based on the output of uname instead
@@ -296,7 +299,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
 	echo s390-ibm-zvmoe
 	exit ;;
     *:OS400:*:*)
-        echo powerpc-ibm-os400
+	echo powerpc-ibm-os400
 	exit ;;
     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
 	echo arm-acorn-riscix${UNAME_RELEASE}
@@ -395,23 +398,23 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
     # MiNT.  But MiNT is downward compatible to TOS, so this should
     # be no problem.
     atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
-        echo m68k-atari-mint${UNAME_RELEASE}
+	echo m68k-atari-mint${UNAME_RELEASE}
 	exit ;;
     atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
 	echo m68k-atari-mint${UNAME_RELEASE}
-        exit ;;
+	exit ;;
     *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
-        echo m68k-atari-mint${UNAME_RELEASE}
+	echo m68k-atari-mint${UNAME_RELEASE}
 	exit ;;
     milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
-        echo m68k-milan-mint${UNAME_RELEASE}
-        exit ;;
+	echo m68k-milan-mint${UNAME_RELEASE}
+	exit ;;
     hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
-        echo m68k-hades-mint${UNAME_RELEASE}
-        exit ;;
+	echo m68k-hades-mint${UNAME_RELEASE}
+	exit ;;
     *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
-        echo m68k-unknown-mint${UNAME_RELEASE}
-        exit ;;
+	echo m68k-unknown-mint${UNAME_RELEASE}
+	exit ;;
     m68k:machten:*:*)
 	echo m68k-apple-machten${UNAME_RELEASE}
 	exit ;;
@@ -481,8 +484,8 @@ EOF
 	echo m88k-motorola-sysv3
 	exit ;;
     AViiON:dgux:*:*)
-        # DG/UX returns AViiON for all architectures
-        UNAME_PROCESSOR=`/usr/bin/uname -p`
+	# DG/UX returns AViiON for all architectures
+	UNAME_PROCESSOR=`/usr/bin/uname -p`
 	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
 	then
 	    if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
@@ -495,7 +498,7 @@ EOF
 	else
 	    echo i586-dg-dgux${UNAME_RELEASE}
 	fi
- 	exit ;;
+	exit ;;
     M88*:DolphinOS:*:*)	# DolphinOS (SVR3)
 	echo m88k-dolphin-sysv3
 	exit ;;
@@ -552,7 +555,7 @@ EOF
 		echo rs6000-ibm-aix3.2
 	fi
 	exit ;;
-    *:AIX:*:[456])
+    *:AIX:*:[4567])
 	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
 	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
 		IBM_ARCH=rs6000
@@ -595,52 +598,52 @@ EOF
 	    9000/[678][0-9][0-9])
 		if [ -x /usr/bin/getconf ]; then
 		    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
-                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
-                    case "${sc_cpu_version}" in
-                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
-                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
-                      532)                      # CPU_PA_RISC2_0
-                        case "${sc_kernel_bits}" in
-                          32) HP_ARCH="hppa2.0n" ;;
-                          64) HP_ARCH="hppa2.0w" ;;
+		    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
+		    case "${sc_cpu_version}" in
+		      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
+		      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
+		      532)                      # CPU_PA_RISC2_0
+			case "${sc_kernel_bits}" in
+			  32) HP_ARCH="hppa2.0n" ;;
+			  64) HP_ARCH="hppa2.0w" ;;
 			  '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
-                        esac ;;
-                    esac
+			esac ;;
+		    esac
 		fi
 		if [ "${HP_ARCH}" = "" ]; then
 		    eval $set_cc_for_build
-		    sed 's/^              //' << EOF >$dummy.c
+		    sed 's/^		//' << EOF >$dummy.c
 
-              #define _HPUX_SOURCE
-              #include <stdlib.h>
-              #include <unistd.h>
+		#define _HPUX_SOURCE
+		#include <stdlib.h>
+		#include <unistd.h>
 
-              int main ()
-              {
-              #if defined(_SC_KERNEL_BITS)
-                  long bits = sysconf(_SC_KERNEL_BITS);
-              #endif
-                  long cpu  = sysconf (_SC_CPU_VERSION);
+		int main ()
+		{
+		#if defined(_SC_KERNEL_BITS)
+		    long bits = sysconf(_SC_KERNEL_BITS);
+		#endif
+		    long cpu  = sysconf (_SC_CPU_VERSION);
 
-                  switch (cpu)
-              	{
-              	case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
-              	case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
-              	case CPU_PA_RISC2_0:
-              #if defined(_SC_KERNEL_BITS)
-              	    switch (bits)
-              		{
-              		case 64: puts ("hppa2.0w"); break;
-              		case 32: puts ("hppa2.0n"); break;
-              		default: puts ("hppa2.0"); break;
-              		} break;
-              #else  /* !defined(_SC_KERNEL_BITS) */
-              	    puts ("hppa2.0"); break;
-              #endif
-              	default: puts ("hppa1.0"); break;
-              	}
-                  exit (0);
-              }
+		    switch (cpu)
+			{
+			case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
+			case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
+			case CPU_PA_RISC2_0:
+		#if defined(_SC_KERNEL_BITS)
+			    switch (bits)
+				{
+				case 64: puts ("hppa2.0w"); break;
+				case 32: puts ("hppa2.0n"); break;
+				default: puts ("hppa2.0"); break;
+				} break;
+		#else  /* !defined(_SC_KERNEL_BITS) */
+			    puts ("hppa2.0"); break;
+		#endif
+			default: puts ("hppa1.0"); break;
+			}
+		    exit (0);
+		}
 EOF
 		    (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
 		    test -z "$HP_ARCH" && HP_ARCH=hppa
@@ -731,22 +734,22 @@ EOF
 	exit ;;
     C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
 	echo c1-convex-bsd
-        exit ;;
+	exit ;;
     C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
 	if getsysinfo -f scalar_acc
 	then echo c32-convex-bsd
 	else echo c2-convex-bsd
 	fi
-        exit ;;
+	exit ;;
     C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
 	echo c34-convex-bsd
-        exit ;;
+	exit ;;
     C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
 	echo c38-convex-bsd
-        exit ;;
+	exit ;;
     C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
 	echo c4-convex-bsd
-        exit ;;
+	exit ;;
     CRAY*Y-MP:*:*:*)
 	echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 	exit ;;
@@ -770,14 +773,14 @@ EOF
 	exit ;;
     F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
 	FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
-        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
-        FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
-        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
-        exit ;;
+	FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+	FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
+	echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+	exit ;;
     5000:UNIX_System_V:4.*:*)
-        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
-        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
-        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+	FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+	FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
+	echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
 	exit ;;
     i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
 	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
@@ -789,13 +792,12 @@ EOF
 	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
 	exit ;;
     *:FreeBSD:*:*)
-	case ${UNAME_MACHINE} in
-	    pc98)
-		echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+	UNAME_PROCESSOR=`/usr/bin/uname -p`
+	case ${UNAME_PROCESSOR} in
 	    amd64)
 		echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 	    *)
-		echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+		echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 	esac
 	exit ;;
     i*:CYGWIN*:*)
@@ -805,14 +807,14 @@ EOF
 	echo ${UNAME_MACHINE}-pc-mingw32
 	exit ;;
     i*:windows32*:*)
-    	# uname -m includes "-pc" on this system.
-    	echo ${UNAME_MACHINE}-mingw32
+	# uname -m includes "-pc" on this system.
+	echo ${UNAME_MACHINE}-mingw32
 	exit ;;
     i*:PW*:*)
 	echo ${UNAME_MACHINE}-pc-pw32
 	exit ;;
     *:Interix*:*)
-    	case ${UNAME_MACHINE} in
+	case ${UNAME_MACHINE} in
 	    x86)
 		echo i586-pc-interix${UNAME_RELEASE}
 		exit ;;
@@ -867,7 +869,7 @@ EOF
 	  EV6)   UNAME_MACHINE=alphaev6 ;;
 	  EV67)  UNAME_MACHINE=alphaev67 ;;
 	  EV68*) UNAME_MACHINE=alphaev68 ;;
-        esac
+	esac
 	objdump --private-headers /bin/sh | grep -q ld.so.1
 	if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
 	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
@@ -879,7 +881,13 @@ EOF
 	then
 	    echo ${UNAME_MACHINE}-unknown-linux-gnu
 	else
-	    echo ${UNAME_MACHINE}-unknown-linux-gnueabi
+	    if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
+		| grep -q __ARM_PCS_VFP
+	    then
+		echo ${UNAME_MACHINE}-unknown-linux-gnueabi
+	    else
+		echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
+	    fi
 	fi
 	exit ;;
     avr32*:Linux:*:*)
@@ -892,7 +900,10 @@ EOF
 	echo crisv32-axis-linux-gnu
 	exit ;;
     frv:Linux:*:*)
-    	echo frv-unknown-linux-gnu
+	echo frv-unknown-linux-gnu
+	exit ;;
+    hexagon:Linux:*:*)
+	echo hexagon-unknown-linux-gnu
 	exit ;;
     i*86:Linux:*:*)
 	LIBC=gnu
@@ -960,7 +971,7 @@ EOF
 	echo ${UNAME_MACHINE}-ibm-linux
 	exit ;;
     sh64*:Linux:*:*)
-    	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit ;;
     sh*:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
@@ -968,6 +979,9 @@ EOF
     sparc:Linux:*:* | sparc64:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit ;;
+    tile*:Linux:*:*)
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	exit ;;
     vax:Linux:*:*)
 	echo ${UNAME_MACHINE}-dec-linux-gnu
 	exit ;;
@@ -975,7 +989,7 @@ EOF
 	echo x86_64-unknown-linux-gnu
 	exit ;;
     xtensa*:Linux:*:*)
-    	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit ;;
     i*86:DYNIX/ptx:4*:*)
 	# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
@@ -984,11 +998,11 @@ EOF
 	echo i386-sequent-sysv4
 	exit ;;
     i*86:UNIX_SV:4.2MP:2.*)
-        # Unixware is an offshoot of SVR4, but it has its own version
-        # number series starting with 2...
-        # I am not positive that other SVR4 systems won't match this,
+	# Unixware is an offshoot of SVR4, but it has its own version
+	# number series starting with 2...
+	# I am not positive that other SVR4 systems won't match this,
 	# I just have to hope.  -- rms.
-        # Use sysv4.2uw... so that sysv4* matches it.
+	# Use sysv4.2uw... so that sysv4* matches it.
 	echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
 	exit ;;
     i*86:OS/2:*:*)
@@ -1020,7 +1034,7 @@ EOF
 	fi
 	exit ;;
     i*86:*:5:[678]*)
-    	# UnixWare 7.x, OpenUNIX and OpenServer 6.
+	# UnixWare 7.x, OpenUNIX and OpenServer 6.
 	case `/bin/uname -X | grep "^Machine"` in
 	    *486*)	     UNAME_MACHINE=i486 ;;
 	    *Pentium)	     UNAME_MACHINE=i586 ;;
@@ -1048,13 +1062,13 @@ EOF
 	exit ;;
     pc:*:*:*)
 	# Left here for compatibility:
-        # uname -m prints for DJGPP always 'pc', but it prints nothing about
-        # the processor, so we play safe by assuming i586.
+	# uname -m prints for DJGPP always 'pc', but it prints nothing about
+	# the processor, so we play safe by assuming i586.
 	# Note: whatever this is, it MUST be the same as what config.sub
 	# prints for the "djgpp" host, or else GDB configury will decide that
 	# this is a cross-build.
 	echo i586-pc-msdosdjgpp
-        exit ;;
+	exit ;;
     Intel:Mach:3*:*)
 	echo i386-pc-mach3
 	exit ;;
@@ -1089,8 +1103,8 @@ EOF
 	/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
 	  && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
     3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
-        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
-          && { echo i486-ncr-sysv4; exit; } ;;
+	/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+	  && { echo i486-ncr-sysv4; exit; } ;;
     NCR*:*:4.2:* | MPRAS*:*:4.2:*)
 	OS_REL='.3'
 	test -r /etc/.relid \
@@ -1133,10 +1147,10 @@ EOF
 		echo ns32k-sni-sysv
 	fi
 	exit ;;
-    PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
-                      # says <Richard.M.Bartel at ccMail.Census.GOV>
-        echo i586-unisys-sysv4
-        exit ;;
+    PENTIUM:*:4.0*:*)	# Unisys `ClearPath HMP IX 4000' SVR4/MP effort
+			# says <Richard.M.Bartel at ccMail.Census.GOV>
+	echo i586-unisys-sysv4
+	exit ;;
     *:UNIX_System_V:4*:FTX*)
 	# From Gerald Hewes <hewes at openmarket.com>.
 	# How about differentiating between stratus architectures? -djm
@@ -1162,11 +1176,11 @@ EOF
 	exit ;;
     R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
 	if [ -d /usr/nec ]; then
-	        echo mips-nec-sysv${UNAME_RELEASE}
+		echo mips-nec-sysv${UNAME_RELEASE}
 	else
-	        echo mips-unknown-sysv${UNAME_RELEASE}
+		echo mips-unknown-sysv${UNAME_RELEASE}
 	fi
-        exit ;;
+	exit ;;
     BeBox:BeOS:*:*)	# BeOS running on hardware made by Be, PPC only.
 	echo powerpc-be-beos
 	exit ;;
@@ -1231,6 +1245,9 @@ EOF
     *:QNX:*:4*)
 	echo i386-pc-qnx
 	exit ;;
+    NEO-?:NONSTOP_KERNEL:*:*)
+	echo neo-tandem-nsk${UNAME_RELEASE}
+	exit ;;
     NSE-?:NONSTOP_KERNEL:*:*)
 	echo nse-tandem-nsk${UNAME_RELEASE}
 	exit ;;
@@ -1276,13 +1293,13 @@ EOF
 	echo pdp10-unknown-its
 	exit ;;
     SEI:*:*:SEIUX)
-        echo mips-sei-seiux${UNAME_RELEASE}
+	echo mips-sei-seiux${UNAME_RELEASE}
 	exit ;;
     *:DragonFly:*:*)
 	echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
 	exit ;;
     *:*VMS:*:*)
-    	UNAME_MACHINE=`(uname -p) 2>/dev/null`
+	UNAME_MACHINE=`(uname -p) 2>/dev/null`
 	case "${UNAME_MACHINE}" in
 	    A*) echo alpha-dec-vms ; exit ;;
 	    I*) echo ia64-dec-vms ; exit ;;
@@ -1322,11 +1339,11 @@ main ()
 #include <sys/param.h>
   printf ("m68k-sony-newsos%s\n",
 #ifdef NEWSOS4
-          "4"
+	"4"
 #else
-	  ""
+	""
 #endif
-         ); exit (0);
+	); exit (0);
 #endif
 #endif
 
diff --git a/config.sub b/config.sub
index c2d1257..5b87368 100755
--- a/config.sub
+++ b/config.sub
@@ -1,10 +1,10 @@
 #! /bin/sh
 # Configuration validation subroutine script.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
-#   Free Software Foundation, Inc.
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
+#   2011 Free Software Foundation, Inc.
 
-timestamp='2010-01-22'
+timestamp='2011-10-08'
 
 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -76,7 +76,7 @@ version="\
 GNU config.sub ($timestamp)
 
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
 Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
@@ -124,8 +124,9 @@ esac
 # Here we must recognize all the valid KERNEL-OS combinations.
 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
 case $maybe_os in
-  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
-  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
+  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
+  linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
+  knetbsd*-gnu* | netbsd*-gnu* | \
   kopensolaris*-gnu* | \
   storm-chaos* | os2-emx* | rtmk-nova*)
     os=-$maybe_os
@@ -157,8 +158,8 @@ case $os in
 		os=
 		basic_machine=$1
 		;;
-        -bluegene*)
-	        os=-cnk
+	-bluegene*)
+		os=-cnk
 		;;
 	-sim | -cisco | -oki | -wec | -winbond)
 		os=
@@ -174,10 +175,10 @@ case $os in
 		os=-chorusos
 		basic_machine=$1
 		;;
- 	-chorusrdb)
- 		os=-chorusrdb
+	-chorusrdb)
+		os=-chorusrdb
 		basic_machine=$1
- 		;;
+		;;
 	-hiux*)
 		os=-hiuxwe2
 		;;
@@ -250,13 +251,17 @@ case $basic_machine in
 	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
 	| am33_2.0 \
 	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
+        | be32 | be64 \
 	| bfin \
 	| c4x | clipper \
 	| d10v | d30v | dlx | dsp16xx \
+	| epiphany \
 	| fido | fr30 | frv \
 	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
+	| hexagon \
 	| i370 | i860 | i960 | ia64 \
 	| ip2k | iq2000 \
+	| le32 | le64 \
 	| lm32 \
 	| m32c | m32r | m32rle | m68000 | m68k | m88k \
 	| maxq | mb | microblaze | mcore | mep | metag \
@@ -282,11 +287,13 @@ case $basic_machine in
 	| moxie \
 	| mt \
 	| msp430 \
+	| nds32 | nds32le | nds32be \
 	| nios | nios2 \
 	| ns16k | ns32k \
+	| open8 \
 	| or32 \
 	| pdp10 | pdp11 | pj | pjl \
-	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
+	| powerpc | powerpc64 | powerpc64le | powerpcle \
 	| pyramid \
 	| rx \
 	| score \
@@ -294,15 +301,24 @@ case $basic_machine in
 	| sh64 | sh64le \
 	| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
 	| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
-	| spu | strongarm \
-	| tahoe | thumb | tic4x | tic80 | tron \
+	| spu \
+	| tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
 	| ubicom32 \
-	| v850 | v850e \
+	| v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
 	| we32k \
-	| x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
+	| x86 | xc16x | xstormy16 | xtensa \
 	| z8k | z80)
 		basic_machine=$basic_machine-unknown
 		;;
+	c54x)
+		basic_machine=tic54x-unknown
+		;;
+	c55x)
+		basic_machine=tic55x-unknown
+		;;
+	c6x)
+		basic_machine=tic6x-unknown
+		;;
 	m6811 | m68hc11 | m6812 | m68hc12 | picochip)
 		# Motorola 68HC11/12.
 		basic_machine=$basic_machine-unknown
@@ -314,6 +330,18 @@ case $basic_machine in
 		basic_machine=mt-unknown
 		;;
 
+	strongarm | thumb | xscale)
+		basic_machine=arm-unknown
+		;;
+
+	xscaleeb)
+		basic_machine=armeb-unknown
+		;;
+
+	xscaleel)
+		basic_machine=armel-unknown
+		;;
+
 	# We use `pc' rather than `unknown'
 	# because (1) that's what they normally are, and
 	# (2) the word "unknown" tends to confuse beginning users.
@@ -333,16 +361,19 @@ case $basic_machine in
 	| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
 	| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
 	| avr-* | avr32-* \
+	| be32-* | be64-* \
 	| bfin-* | bs2000-* \
-	| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
+	| c[123]* | c30-* | [cjt]90-* | c4x-* \
 	| clipper-* | craynv-* | cydra-* \
 	| d10v-* | d30v-* | dlx-* \
 	| elxsi-* \
 	| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
 	| h8300-* | h8500-* \
 	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
+	| hexagon-* \
 	| i*86-* | i860-* | i960-* | ia64-* \
 	| ip2k-* | iq2000-* \
+	| le32-* | le64-* \
 	| lm32-* \
 	| m32c-* | m32r-* | m32rle-* \
 	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
@@ -368,26 +399,29 @@ case $basic_machine in
 	| mmix-* \
 	| mt-* \
 	| msp430-* \
+	| nds32-* | nds32le-* | nds32be-* \
 	| nios-* | nios2-* \
 	| none-* | np1-* | ns16k-* | ns32k-* \
+	| open8-* \
 	| orion-* \
 	| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
-	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
+	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
 	| pyramid-* \
 	| romp-* | rs6000-* | rx-* \
 	| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
 	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
 	| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
 	| sparclite-* \
-	| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
-	| tahoe-* | thumb-* \
+	| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
+	| tahoe-* \
 	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
-	| tile-* | tilegx-* \
+	| tile*-* \
 	| tron-* \
 	| ubicom32-* \
-	| v850-* | v850e-* | vax-* \
+	| v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
+	| vax-* \
 	| we32k-* \
-	| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
+	| x86-* | x86_64-* | xc16x-* | xps100-* \
 	| xstormy16-* | xtensa*-* \
 	| ymp-* \
 	| z8k-* | z80-*)
@@ -412,7 +446,7 @@ case $basic_machine in
 		basic_machine=a29k-amd
 		os=-udi
 		;;
-    	abacus)
+	abacus)
 		basic_machine=abacus-unknown
 		;;
 	adobe68k)
@@ -482,11 +516,20 @@ case $basic_machine in
 		basic_machine=powerpc-ibm
 		os=-cnk
 		;;
+	c54x-*)
+		basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
+	c55x-*)
+		basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
+	c6x-*)
+		basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
 	c90)
 		basic_machine=c90-cray
 		os=-unicos
 		;;
-        cegcc)
+	cegcc)
 		basic_machine=arm-unknown
 		os=-cegcc
 		;;
@@ -518,7 +561,7 @@ case $basic_machine in
 		basic_machine=craynv-cray
 		os=-unicosmp
 		;;
-	cr16)
+	cr16 | cr16-*)
 		basic_machine=cr16-unknown
 		os=-elf
 		;;
@@ -734,7 +777,7 @@ case $basic_machine in
 		basic_machine=ns32k-utek
 		os=-sysv
 		;;
-        microblaze)
+	microblaze)
 		basic_machine=microblaze-xilinx
 		;;
 	mingw32)
@@ -777,6 +820,10 @@ case $basic_machine in
 		basic_machine=i370-ibm
 		os=-mvs
 		;;
+	nacl)
+		basic_machine=le32-unknown
+		os=-nacl
+		;;
 	ncr3000)
 		basic_machine=i486-ncr
 		os=-sysv4
@@ -841,6 +888,12 @@ case $basic_machine in
 	np1)
 		basic_machine=np1-gould
 		;;
+	neo-tandem)
+		basic_machine=neo-tandem
+		;;
+	nse-tandem)
+		basic_machine=nse-tandem
+		;;
 	nsr-tandem)
 		basic_machine=nsr-tandem
 		;;
@@ -923,9 +976,10 @@ case $basic_machine in
 		;;
 	power)	basic_machine=power-ibm
 		;;
-	ppc)	basic_machine=powerpc-unknown
+	ppc | ppcbe)	basic_machine=powerpc-unknown
 		;;
-	ppc-*)	basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
+	ppc-* | ppcbe-*)
+		basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
 		;;
 	ppcle | powerpclittle | ppc-le | powerpc-little)
 		basic_machine=powerpcle-unknown
@@ -1019,6 +1073,9 @@ case $basic_machine in
 		basic_machine=i860-stratus
 		os=-sysv4
 		;;
+	strongarm-* | thumb-*)
+		basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
 	sun2)
 		basic_machine=m68000-sun
 		;;
@@ -1075,25 +1132,8 @@ case $basic_machine in
 		basic_machine=t90-cray
 		os=-unicos
 		;;
-	tic54x | c54x*)
-		basic_machine=tic54x-unknown
-		os=-coff
-		;;
-	tic55x | c55x*)
-		basic_machine=tic55x-unknown
-		os=-coff
-		;;
-	tic6x | c6x*)
-		basic_machine=tic6x-unknown
-		os=-coff
-		;;
-        # This must be matched before tile*.
-        tilegx*)
-		basic_machine=tilegx-unknown
-		os=-linux-gnu
-		;;
 	tile*)
-		basic_machine=tile-unknown
+		basic_machine=$basic_machine-unknown
 		os=-linux-gnu
 		;;
 	tx39)
@@ -1163,6 +1203,9 @@ case $basic_machine in
 	xps | xps100)
 		basic_machine=xps100-honeywell
 		;;
+	xscale-* | xscalee[bl]-*)
+		basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
+		;;
 	ymp)
 		basic_machine=ymp-cray
 		os=-unicos
@@ -1260,11 +1303,11 @@ esac
 if [ x"$os" != x"" ]
 then
 case $os in
-        # First match some system type aliases
-        # that might get confused with valid system types.
+	# First match some system type aliases
+	# that might get confused with valid system types.
 	# -solaris* is a basic system type, with this one exception.
-        -auroraux)
-	        os=-auroraux
+	-auroraux)
+		os=-auroraux
 		;;
 	-solaris1 | -solaris1.*)
 		os=`echo $os | sed -e 's|solaris1|sunos4|'`
@@ -1301,7 +1344,8 @@ case $os in
 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
 	      | -chorusos* | -chorusrdb* | -cegcc* \
 	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
-	      | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
+	      | -mingw32* | -linux-gnu* | -linux-android* \
+	      | -linux-newlib* | -linux-uclibc* \
 	      | -uxpv* | -beos* | -mpeix* | -udk* \
 	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
 	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
@@ -1348,7 +1392,7 @@ case $os in
 	-opened*)
 		os=-openedition
 		;;
-        -os400*)
+	-os400*)
 		os=-os400
 		;;
 	-wince*)
@@ -1397,7 +1441,7 @@ case $os in
 	-sinix*)
 		os=-sysv4
 		;;
-        -tpf*)
+	-tpf*)
 		os=-tpf
 		;;
 	-triton*)
@@ -1442,8 +1486,8 @@ case $os in
 	-dicos*)
 		os=-dicos
 		;;
-        -nacl*)
-	        ;;
+	-nacl*)
+		;;
 	-none)
 		;;
 	*)
@@ -1466,10 +1510,10 @@ else
 # system, and we'll never get to this point.
 
 case $basic_machine in
-        score-*)
+	score-*)
 		os=-elf
 		;;
-        spu-*)
+	spu-*)
 		os=-elf
 		;;
 	*-acorn)
@@ -1481,8 +1525,17 @@ case $basic_machine in
 	arm*-semi)
 		os=-aout
 		;;
-        c4x-* | tic4x-*)
-        	os=-coff
+	c4x-* | tic4x-*)
+		os=-coff
+		;;
+	tic54x-*)
+		os=-coff
+		;;
+	tic55x-*)
+		os=-coff
+		;;
+	tic6x-*)
+		os=-coff
 		;;
 	# This must come before the *-dec entry.
 	pdp10-*)
@@ -1509,7 +1562,7 @@ case $basic_machine in
 	m68*-cisco)
 		os=-aout
 		;;
-        mep-*)
+	mep-*)
 		os=-elf
 		;;
 	mips*-cisco)
@@ -1536,7 +1589,7 @@ case $basic_machine in
 	*-ibm)
 		os=-aix
 		;;
-    	*-knuth)
+	*-knuth)
 		os=-mmixware
 		;;
 	*-wec)
diff --git a/configure b/configure
index 700fa09..f102512 100755
--- a/configure
+++ b/configure
@@ -1,11 +1,9 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.67.
+# Generated by GNU Autoconf 2.69.
 #
 #
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
-# Foundation, Inc.
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
 #
 #
 # This configure script is free software; the Free Software Foundation
@@ -89,6 +87,7 @@ fi
 IFS=" ""	$as_nl"
 
 # Find who we are.  Look in the path if we contain no directory separator.
+as_myself=
 case $0 in #((
   *[\\/]* ) as_myself=$0 ;;
   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -133,6 +132,31 @@ export LANGUAGE
 # CDPATH.
 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
+# Use a proper internal environment variable to ensure we don't fall
+  # into an infinite loop, continuously re-executing ourselves.
+  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
+    _as_can_reexec=no; export _as_can_reexec;
+    # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+  *v*x* | *x*v* ) as_opts=-vx ;;
+  *v* ) as_opts=-v ;;
+  *x* ) as_opts=-x ;;
+  * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+as_fn_exit 255
+  fi
+  # We don't want this to propagate to other subprocesses.
+          { _as_can_reexec=; unset _as_can_reexec;}
 if test "x$CONFIG_SHELL" = x; then
   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
   emulate sh
@@ -166,11 +190,20 @@ if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 else
   exitcode=1; echo positional parameters were not saved.
 fi
-test x\$exitcode = x0 || exit 1"
+test x\$exitcode = x0 || exit 1
+test -x / || exit 1"
   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
+
+  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
+    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
+    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
+    PATH=/empty FPATH=/empty; export PATH FPATH
+    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
+      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
 test \$(( 1 + 1 )) = 2 || exit 1"
   if (eval "$as_required") 2>/dev/null; then :
   as_have_required=yes
@@ -211,14 +244,25 @@ IFS=$as_save_IFS
 
 
       if test "x$CONFIG_SHELL" != x; then :
-  # We cannot yet assume a decent shell, so we have to provide a
-	# neutralization value for shells without unset; and this also
-	# works around shells that cannot unset nonexistent variables.
-	BASH_ENV=/dev/null
-	ENV=/dev/null
-	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-	export CONFIG_SHELL
-	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
+  export CONFIG_SHELL
+             # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+  *v*x* | *x*v* ) as_opts=-vx ;;
+  *v* ) as_opts=-v ;;
+  *x* ) as_opts=-x ;;
+  * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+exit 255
 fi
 
     if test x$as_have_required = xno; then :
@@ -320,6 +364,14 @@ $as_echo X"$as_dir" |
 
 
 } # as_fn_mkdir_p
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+  test -f "$1" && test -x "$1"
+} # as_fn_executable_p
 # as_fn_append VAR VALUE
 # ----------------------
 # Append the text in VALUE to the end of the definition contained in VAR. Take
@@ -441,6 +493,10 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
   chmod +x "$as_me.lineno" ||
     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
+  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
+  # already done that, so ensure we don't try to do so again and fall
+  # in an infinite loop.  This has already happened in practice.
+  _as_can_reexec=no; export _as_can_reexec
   # Don't try to exec as it changes $[0], causing all sort of problems
   # (the dirname of $[0] is not the place where we might find the
   # original and so on.  Autoconf is especially sensitive to this).
@@ -475,16 +531,16 @@ if (echo >conf$$.file) 2>/dev/null; then
     # ... but there are two gotchas:
     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
-    # In both cases, we have to default to `cp -p'.
+    # In both cases, we have to default to `cp -pR'.
     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
-      as_ln_s='cp -p'
+      as_ln_s='cp -pR'
   elif ln conf$$.file conf$$ 2>/dev/null; then
     as_ln_s=ln
   else
-    as_ln_s='cp -p'
+    as_ln_s='cp -pR'
   fi
 else
-  as_ln_s='cp -p'
+  as_ln_s='cp -pR'
 fi
 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 rmdir conf$$.dir 2>/dev/null
@@ -496,28 +552,8 @@ else
   as_mkdir_p=false
 fi
 
-if test -x / >/dev/null 2>&1; then
-  as_test_x='test -x'
-else
-  if ls -dL / >/dev/null 2>&1; then
-    as_ls_L_option=L
-  else
-    as_ls_L_option=
-  fi
-  as_test_x='
-    eval sh -c '\''
-      if test -d "$1"; then
-	test -d "$1/.";
-      else
-	case $1 in #(
-	-*)set "./$1";;
-	esac;
-	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
-	???[sx]*):;;*)false;;esac;fi
-    '\'' sh
-  '
-fi
-as_executable_p=$as_test_x
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
 
 # Sed expression to map a string onto a valid CPP name.
 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -525,155 +561,8 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 # Sed expression to map a string onto a valid variable name.
 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
-
-
-# Check that we are running under the correct shell.
 SHELL=${CONFIG_SHELL-/bin/sh}
 
-case X$lt_ECHO in
-X*--fallback-echo)
-  # Remove one level of quotation (which was required for Make).
-  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
-  ;;
-esac
-
-ECHO=${lt_ECHO-echo}
-if test "X$1" = X--no-reexec; then
-  # Discard the --no-reexec flag, and continue.
-  shift
-elif test "X$1" = X--fallback-echo; then
-  # Avoid inline document here, it may be left over
-  :
-elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
-  # Yippee, $ECHO works!
-  :
-else
-  # Restart under the correct shell.
-  exec $SHELL "$0" --no-reexec ${1+"$@"}
-fi
-
-if test "X$1" = X--fallback-echo; then
-  # used as fallback echo
-  shift
-  cat <<_LT_EOF
-$*
-_LT_EOF
-  exit 0
-fi
-
-# The HP-UX ksh and POSIX shell print the target directory to stdout
-# if CDPATH is set.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-if test -z "$lt_ECHO"; then
-  if test "X${echo_test_string+set}" != Xset; then
-    # find a string as large as possible, as long as the shell can cope with it
-    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
-      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
-      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
-	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
-      then
-        break
-      fi
-    done
-  fi
-
-  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
-     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
-     test "X$echo_testing_string" = "X$echo_test_string"; then
-    :
-  else
-    # The Solaris, AIX, and Digital Unix default echo programs unquote
-    # backslashes.  This makes it impossible to quote backslashes using
-    #   echo "$something" | sed 's/\\/\\\\/g'
-    #
-    # So, first we look for a working echo in the user's PATH.
-
-    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
-    for dir in $PATH /usr/ucb; do
-      IFS="$lt_save_ifs"
-      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
-         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
-         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
-         test "X$echo_testing_string" = "X$echo_test_string"; then
-        ECHO="$dir/echo"
-        break
-      fi
-    done
-    IFS="$lt_save_ifs"
-
-    if test "X$ECHO" = Xecho; then
-      # We didn't find a better echo, so look for alternatives.
-      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
-         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
-         test "X$echo_testing_string" = "X$echo_test_string"; then
-        # This shell has a builtin print -r that does the trick.
-        ECHO='print -r'
-      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
-	   test "X$CONFIG_SHELL" != X/bin/ksh; then
-        # If we have ksh, try running configure again with it.
-        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-        export ORIGINAL_CONFIG_SHELL
-        CONFIG_SHELL=/bin/ksh
-        export CONFIG_SHELL
-        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
-      else
-        # Try using printf.
-        ECHO='printf %s\n'
-        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
-	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
-	   test "X$echo_testing_string" = "X$echo_test_string"; then
-	  # Cool, printf works
-	  :
-        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
-	     test "X$echo_testing_string" = 'X\t' &&
-	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
-	     test "X$echo_testing_string" = "X$echo_test_string"; then
-	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
-	  export CONFIG_SHELL
-	  SHELL="$CONFIG_SHELL"
-	  export SHELL
-	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
-        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
-	     test "X$echo_testing_string" = 'X\t' &&
-	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
-	     test "X$echo_testing_string" = "X$echo_test_string"; then
-	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
-        else
-	  # maybe with a smaller string...
-	  prev=:
-
-	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
-	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
-	    then
-	      break
-	    fi
-	    prev="$cmd"
-	  done
-
-	  if test "$prev" != 'sed 50q "$0"'; then
-	    echo_test_string=`eval $prev`
-	    export echo_test_string
-	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
-	  else
-	    # Oops.  We lost completely, so just stick with echo.
-	    ECHO=echo
-	  fi
-        fi
-      fi
-    fi
-  fi
-fi
-
-# Copy echo and quote the copy suitably for passing to libtool from
-# the Makefile, instead of quoting the original, which is used later.
-lt_ECHO=$ECHO
-if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
-   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
-fi
-
-
-
 
 test -n "$DJDIR" || exec 7<&0 </dev/null
 exec 6>&1
@@ -871,10 +760,13 @@ OTOOL
 LIPO
 NMEDIT
 DSYMUTIL
-lt_ECHO
+MANIFEST_TOOL
+AWK
 RANLIB
 STRIP
+ac_ct_AR
 AR
+DLLTOOL
 OBJDUMP
 LN_S
 NM
@@ -947,6 +839,7 @@ enable_static
 with_pic
 enable_fast_install
 with_gnu_ld
+with_sysroot
 enable_libtool_lock
 with_xsldir
 with_mathmldtd
@@ -1392,7 +1285,7 @@ Try \`$0 --help' for more information"
     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
-    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
+    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
     ;;
 
   esac
@@ -1443,8 +1336,6 @@ target=$target_alias
 if test "x$host_alias" != x; then
   if test "x$build_alias" = x; then
     cross_compiling=maybe
-    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
-    If a cross compiler is detected then cross compile mode will be used" >&2
   elif test "x$build_alias" != "x$host_alias"; then
     cross_compiling=yes
   fi
@@ -1615,9 +1506,11 @@ Optional Features:
 Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
-  --with-pic              try to use only PIC/non-PIC objects [default=use
+  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
                           both]
   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
+  --with-sysroot=DIR Search for dependent libraries within DIR
+                        (or the compiler's sysroot if not specified).
   --with-xsldir=PATH      specify the directory containing the docbook.xsl
                           stylesheet
   --with-mathmldtd=PATH   specify the dtd path for mathml2.dtd
@@ -1657,8 +1550,9 @@ Some influential environment variables:
   CXX         C++ compiler command
   CXXFLAGS    C++ compiler flags
   CXXCPP      C++ preprocessor
-  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
-              the first program found out of: `bison -y', `byacc', `yacc'.
+  YACC        The `Yet Another Compiler Compiler' implementation to use.
+              Defaults to the first program found out of: `bison -y', `byacc',
+              `yacc'.
   YFLAGS      The list of arguments that will be passed by default to $YACC.
               This script will default YFLAGS to the empty string to avoid a
               default value of `-d' given by some make applications.
@@ -1732,9 +1626,9 @@ test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
 configure
-generated by GNU Autoconf 2.67
+generated by GNU Autoconf 2.69
 
-Copyright (C) 2010 Free Software Foundation, Inc.
+Copyright (C) 2012 Free Software Foundation, Inc.
 This configure script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it.
 _ACEOF
@@ -1778,7 +1672,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
 	ac_retval=1
 fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval
 
 } # ac_fn_c_try_compile
@@ -1810,7 +1704,7 @@ $as_echo "$ac_try_echo"; } >&5
 	 test ! -s conftest.err
        } && test -s conftest$ac_exeext && {
 	 test "$cross_compiling" = yes ||
-	 $as_test_x conftest$ac_exeext
+	 test -x conftest$ac_exeext
        }; then :
   ac_retval=0
 else
@@ -1824,7 +1718,7 @@ fi
   # interfere with the next link command; also delete a directory that is
   # left behind by Apple's compiler.  We do this before executing the actions.
   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval
 
 } # ac_fn_c_try_link
@@ -1838,7 +1732,7 @@ ac_fn_c_check_header_compile ()
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if eval "test \"\${$3+set}\"" = set; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1856,7 +1750,7 @@ fi
 eval ac_res=\$$3
 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 } # ac_fn_c_check_header_compile
 
@@ -1892,7 +1786,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
     ac_retval=1
 fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval
 
 } # ac_fn_c_try_cpp
@@ -1934,7 +1828,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
        ac_retval=$ac_status
 fi
   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval
 
 } # ac_fn_c_try_run
@@ -1947,7 +1841,7 @@ ac_fn_c_check_func ()
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if eval "test \"\${$3+set}\"" = set; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2002,7 +1896,7 @@ fi
 eval ac_res=\$$3
 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 } # ac_fn_c_check_func
 
@@ -2039,7 +1933,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
 	ac_retval=1
 fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval
 
 } # ac_fn_cxx_try_compile
@@ -2076,7 +1970,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
     ac_retval=1
 fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval
 
 } # ac_fn_cxx_try_cpp
@@ -2108,7 +2002,7 @@ $as_echo "$ac_try_echo"; } >&5
 	 test ! -s conftest.err
        } && test -s conftest$ac_exeext && {
 	 test "$cross_compiling" = yes ||
-	 $as_test_x conftest$ac_exeext
+	 test -x conftest$ac_exeext
        }; then :
   ac_retval=0
 else
@@ -2122,7 +2016,7 @@ fi
   # interfere with the next link command; also delete a directory that is
   # left behind by Apple's compiler.  We do this before executing the actions.
   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval
 
 } # ac_fn_cxx_try_link
@@ -2135,10 +2029,10 @@ fi
 ac_fn_c_check_header_mongrel ()
 {
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  if eval "test \"\${$3+set}\"" = set; then :
+  if eval \${$3+:} false; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if eval "test \"\${$3+set}\"" = set; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 fi
 eval ac_res=\$$3
@@ -2201,7 +2095,7 @@ $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 esac
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if eval "test \"\${$3+set}\"" = set; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   eval "$3=\$ac_header_compiler"
@@ -2210,7 +2104,7 @@ eval ac_res=\$$3
 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
 fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 } # ac_fn_c_check_header_mongrel
 cat >config.log <<_ACEOF
@@ -2218,7 +2112,7 @@ This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
 It was created by $as_me, which was
-generated by GNU Autoconf 2.67.  Invocation command line was
+generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
 
@@ -2476,7 +2370,7 @@ $as_echo "$as_me: loading site script $ac_site_file" >&6;}
       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5 ; }
+See \`config.log' for more details" "$LINENO" 5; }
   fi
 done
 
@@ -2571,31 +2465,6 @@ ac_config_headers="$ac_config_headers postgis_config.h"
 
 
 
-case `pwd` in
-  *\ * | *\	*)
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
-$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
-esac
-
-
-
-macro_version='2.2.6b'
-macro_revision='1.3017'
-
-
-
-
-
-
-
-
-
-
-
-
-
-ltmain="$ac_aux_dir/ltmain.sh"
-
 ac_aux_dir=
 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   if test -f "$ac_dir/install-sh"; then
@@ -2625,13 +2494,38 @@ ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
 
+case `pwd` in
+  *\ * | *\	*)
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
+$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
+esac
+
+
+
+macro_version='2.4.2'
+macro_revision='1.3337'
+
+
+
+
+
+
+
+
+
+
+
+
+
+ltmain="$ac_aux_dir/ltmain.sh"
+
 # Make sure we can run config.sub.
 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 $as_echo_n "checking build system type... " >&6; }
-if test "${ac_cv_build+set}" = set; then :
+if ${ac_cv_build+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_build_alias=$build_alias
@@ -2647,7 +2541,7 @@ fi
 $as_echo "$ac_cv_build" >&6; }
 case $ac_cv_build in
 *-*-*) ;;
-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 esac
 build=$ac_cv_build
 ac_save_IFS=$IFS; IFS='-'
@@ -2665,7 +2559,7 @@ case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 $as_echo_n "checking host system type... " >&6; }
-if test "${ac_cv_host+set}" = set; then :
+if ${ac_cv_host+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test "x$host_alias" = x; then
@@ -2680,7 +2574,7 @@ fi
 $as_echo "$ac_cv_host" >&6; }
 case $ac_cv_host in
 *-*-*) ;;
-*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 esac
 host=$ac_cv_host
 ac_save_IFS=$IFS; IFS='-'
@@ -2696,6 +2590,75 @@ IFS=$ac_save_IFS
 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
 
+# Backslashify metacharacters that are still active within
+# double-quoted strings.
+sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
+
+# Same as above, but do not quote variable references.
+double_quote_subst='s/\(["`\\]\)/\\\1/g'
+
+# Sed substitution to delay expansion of an escaped shell variable in a
+# double_quote_subst'ed string.
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+
+# Sed substitution to delay expansion of an escaped single quote.
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
+
+# Sed substitution to avoid accidental globbing in evaled expressions
+no_glob_subst='s/\*/\\\*/g'
+
+ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
+$as_echo_n "checking how to print strings... " >&6; }
+# Test print first, because it will be a builtin if present.
+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
+   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
+  ECHO='print -r --'
+elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
+  ECHO='printf %s\n'
+else
+  # Use this function as a fallback that always works.
+  func_fallback_echo ()
+  {
+    eval 'cat <<_LTECHO_EOF
+$1
+_LTECHO_EOF'
+  }
+  ECHO='func_fallback_echo'
+fi
+
+# func_echo_all arg...
+# Invoke $ECHO with all args, space-separated.
+func_echo_all ()
+{
+    $ECHO ""
+}
+
+case "$ECHO" in
+  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
+$as_echo "printf" >&6; } ;;
+  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
+$as_echo "print -r" >&6; } ;;
+  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
+$as_echo "cat" >&6; } ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -2706,7 +2669,7 @@ if test -n "$ac_tool_prefix"; then
 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
@@ -2718,7 +2681,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_CC="${ac_tool_prefix}gcc"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -2746,7 +2709,7 @@ if test -z "$ac_cv_prog_CC"; then
 set dummy gcc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_CC"; then
@@ -2758,7 +2721,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_CC="gcc"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -2799,7 +2762,7 @@ if test -z "$CC"; then
 set dummy ${ac_tool_prefix}cc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
@@ -2811,7 +2774,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_CC="${ac_tool_prefix}cc"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -2839,7 +2802,7 @@ if test -z "$CC"; then
 set dummy cc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
@@ -2852,7 +2815,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
        ac_prog_rejected=yes
        continue
@@ -2898,7 +2861,7 @@ if test -z "$CC"; then
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
@@ -2910,7 +2873,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -2942,7 +2905,7 @@ do
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_CC"; then
@@ -2954,7 +2917,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_CC="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -2997,7 +2960,7 @@ fi
 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error $? "no acceptable C compiler found in \$PATH
-See \`config.log' for more details" "$LINENO" 5 ; }
+See \`config.log' for more details" "$LINENO" 5; }
 
 # Provide some information about the compiler.
 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -3112,7 +3075,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error 77 "C compiler cannot create executables
-See \`config.log' for more details" "$LINENO" 5 ; }
+See \`config.log' for more details" "$LINENO" 5; }
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
@@ -3155,7 +3118,7 @@ else
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
-See \`config.log' for more details" "$LINENO" 5 ; }
+See \`config.log' for more details" "$LINENO" 5; }
 fi
 rm -f conftest conftest$ac_cv_exeext
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
@@ -3214,7 +3177,7 @@ $as_echo "$ac_try_echo"; } >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error $? "cannot run C compiled programs.
 If you meant to cross compile, use \`--host'.
-See \`config.log' for more details" "$LINENO" 5 ; }
+See \`config.log' for more details" "$LINENO" 5; }
     fi
   fi
 fi
@@ -3225,7 +3188,7 @@ rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 ac_clean_files=$ac_clean_files_save
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 $as_echo_n "checking for suffix of object files... " >&6; }
-if test "${ac_cv_objext+set}" = set; then :
+if ${ac_cv_objext+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -3266,7 +3229,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error $? "cannot compute suffix of object files: cannot compile
-See \`config.log' for more details" "$LINENO" 5 ; }
+See \`config.log' for more details" "$LINENO" 5; }
 fi
 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 fi
@@ -3276,7 +3239,7 @@ OBJEXT=$ac_cv_objext
 ac_objext=$OBJEXT
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then :
+if ${ac_cv_c_compiler_gnu+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -3313,7 +3276,7 @@ ac_test_CFLAGS=${CFLAGS+set}
 ac_save_CFLAGS=$CFLAGS
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 $as_echo_n "checking whether $CC accepts -g... " >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then :
+if ${ac_cv_prog_cc_g+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_save_c_werror_flag=$ac_c_werror_flag
@@ -3391,7 +3354,7 @@ else
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
-if test "${ac_cv_prog_cc_c89+set}" = set; then :
+if ${ac_cv_prog_cc_c89+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_cv_prog_cc_c89=no
@@ -3400,8 +3363,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <stdarg.h>
 #include <stdio.h>
-#include <sys/types.h>
-#include <sys/stat.h>
+struct stat;
 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 struct buf { int x; };
 FILE * (*rcsopen) (struct buf *, struct stat *, int);
@@ -3488,7 +3450,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
-if test "${ac_cv_path_SED+set}" = set; then :
+if ${ac_cv_path_SED+:} false; then :
   $as_echo_n "(cached) " >&6
 else
             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
@@ -3508,7 +3470,7 @@ do
     for ac_prog in sed gsed; do
     for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
-      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
+      as_fn_executable_p "$ac_path_SED" || continue
 # Check for GNU ac_path_SED and select it if it is found.
   # Check for GNU $ac_path_SED
 case `"$ac_path_SED" --version 2>&1` in
@@ -3570,7 +3532,7 @@ Xsed="$SED -e 1s/^X//"
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
-if test "${ac_cv_path_GREP+set}" = set; then :
+if ${ac_cv_path_GREP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -z "$GREP"; then
@@ -3584,7 +3546,7 @@ do
     for ac_prog in grep ggrep; do
     for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
-      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
+      as_fn_executable_p "$ac_path_GREP" || continue
 # Check for GNU ac_path_GREP and select it if it is found.
   # Check for GNU $ac_path_GREP
 case `"$ac_path_GREP" --version 2>&1` in
@@ -3633,7 +3595,7 @@ $as_echo "$ac_cv_path_GREP" >&6; }
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 $as_echo_n "checking for egrep... " >&6; }
-if test "${ac_cv_path_EGREP+set}" = set; then :
+if ${ac_cv_path_EGREP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
@@ -3650,7 +3612,7 @@ do
     for ac_prog in egrep; do
     for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
-      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
+      as_fn_executable_p "$ac_path_EGREP" || continue
 # Check for GNU ac_path_EGREP and select it if it is found.
   # Check for GNU $ac_path_EGREP
 case `"$ac_path_EGREP" --version 2>&1` in
@@ -3700,7 +3662,7 @@ $as_echo "$ac_cv_path_EGREP" >&6; }
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 $as_echo_n "checking for fgrep... " >&6; }
-if test "${ac_cv_path_FGREP+set}" = set; then :
+if ${ac_cv_path_FGREP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
@@ -3717,7 +3679,7 @@ do
     for ac_prog in fgrep; do
     for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
-      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
+      as_fn_executable_p "$ac_path_FGREP" || continue
 # Check for GNU ac_path_FGREP and select it if it is found.
   # Check for GNU $ac_path_FGREP
 case `"$ac_path_FGREP" --version 2>&1` in
@@ -3831,7 +3793,7 @@ else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 $as_echo_n "checking for non-GNU ld... " >&6; }
 fi
-if test "${lt_cv_path_LD+set}" = set; then :
+if ${lt_cv_path_LD+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -z "$LD"; then
@@ -3871,7 +3833,7 @@ fi
 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
-if test "${lt_cv_prog_gnu_ld+set}" = set; then :
+if ${lt_cv_prog_gnu_ld+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   # I'd rather use --version here, but apparently some GNU lds only accept -v.
@@ -3898,7 +3860,7 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
-if test "${lt_cv_path_NM+set}" = set; then :
+if ${lt_cv_path_NM+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$NM"; then
@@ -3951,14 +3913,17 @@ if test "$lt_cv_path_NM" != "no"; then
   NM="$lt_cv_path_NM"
 else
   # Didn't find any BSD compatible name lister, look for dumpbin.
-  if test -n "$ac_tool_prefix"; then
-  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
+  if test -n "$DUMPBIN"; then :
+    # Let the user override the test.
+  else
+    if test -n "$ac_tool_prefix"; then
+  for ac_prog in dumpbin "link -dump"
   do
     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
+if ${ac_cv_prog_DUMPBIN+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$DUMPBIN"; then
@@ -3970,7 +3935,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -3996,13 +3961,13 @@ fi
 fi
 if test -z "$DUMPBIN"; then
   ac_ct_DUMPBIN=$DUMPBIN
-  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
+  for ac_prog in dumpbin "link -dump"
 do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
+if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_DUMPBIN"; then
@@ -4014,7 +3979,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -4051,6 +4016,15 @@ esac
   fi
 fi
 
+    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
+    *COFF*)
+      DUMPBIN="$DUMPBIN -symbols"
+      ;;
+    *)
+      DUMPBIN=:
+      ;;
+    esac
+  fi
 
   if test "$DUMPBIN" != ":"; then
     NM="$DUMPBIN"
@@ -4065,18 +4039,18 @@ test -z "$NM" && NM=nm
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
-if test "${lt_cv_nm_interface+set}" = set; then :
+if ${lt_cv_nm_interface+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_nm_interface="BSD nm"
   echo "int some_variable = 0;" > conftest.$ac_ext
-  (eval echo "\"\$as_me:4073: $ac_compile\"" >&5)
+  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   (eval "$ac_compile" 2>conftest.err)
   cat conftest.err >&5
-  (eval echo "\"\$as_me:4076: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   cat conftest.err >&5
-  (eval echo "\"\$as_me:4079: output\"" >&5)
+  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   cat conftest.out >&5
   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
     lt_cv_nm_interface="MS dumpbin"
@@ -4100,7 +4074,7 @@ fi
 # find the maximum length of command line arguments
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
-if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
+if ${lt_cv_sys_max_cmd_len+:} false; then :
   $as_echo_n "(cached) " >&6
 else
     i=0
@@ -4133,6 +4107,11 @@ else
     lt_cv_sys_max_cmd_len=8192;
     ;;
 
+  mint*)
+    # On MiNT this can take a long time and run out of memory.
+    lt_cv_sys_max_cmd_len=8192;
+    ;;
+
   amigaos*)
     # On AmigaOS with pdksh, this test takes hours, literally.
     # So we just punt and use a minimum line length of 8192.
@@ -4158,6 +4137,11 @@ else
     lt_cv_sys_max_cmd_len=196608
     ;;
 
+  os2*)
+    # The test takes a long time on OS/2.
+    lt_cv_sys_max_cmd_len=8192
+    ;;
+
   osf*)
     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
@@ -4197,8 +4181,8 @@ else
       # If test is not a shell built-in, we'll probably end up computing a
       # maximum length that is only half of the actual maximum length, but
       # we can't tell.
-      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
-	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
+      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
+	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 	      test $i != 17 # 1/2 MB should be enough
       do
         i=`expr $i + 1`
@@ -4240,8 +4224,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
 # Try some XSI features
 xsi_shell=no
 ( _lt_dummy="a/b/c"
-  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
-      = c,a/b,, \
+  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
+      = c,a/b,b/c, \
     && eval 'test $(( 1 + 1 )) -eq 2 \
     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   && xsi_shell=yes
@@ -4290,9 +4274,83 @@ esac
 
 
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
+$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
+if ${lt_cv_to_host_file_cmd+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  case $host in
+  *-*-mingw* )
+    case $build in
+      *-*-mingw* ) # actually msys
+        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
+        ;;
+      *-*-cygwin* )
+        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
+        ;;
+      * ) # otherwise, assume *nix
+        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
+        ;;
+    esac
+    ;;
+  *-*-cygwin* )
+    case $build in
+      *-*-mingw* ) # actually msys
+        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
+        ;;
+      *-*-cygwin* )
+        lt_cv_to_host_file_cmd=func_convert_file_noop
+        ;;
+      * ) # otherwise, assume *nix
+        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
+        ;;
+    esac
+    ;;
+  * ) # unhandled hosts (and "normal" native builds)
+    lt_cv_to_host_file_cmd=func_convert_file_noop
+    ;;
+esac
+
+fi
+
+to_host_file_cmd=$lt_cv_to_host_file_cmd
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
+$as_echo "$lt_cv_to_host_file_cmd" >&6; }
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
+$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
+if ${lt_cv_to_tool_file_cmd+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  #assume ordinary cross tools, or native build.
+lt_cv_to_tool_file_cmd=func_convert_file_noop
+case $host in
+  *-*-mingw* )
+    case $build in
+      *-*-mingw* ) # actually msys
+        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
+        ;;
+    esac
+    ;;
+esac
+
+fi
+
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
+$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
+
+
+
+
+
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 $as_echo_n "checking for $LD option to reload object files... " >&6; }
-if test "${lt_cv_ld_reload_flag+set}" = set; then :
+if ${lt_cv_ld_reload_flag+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_ld_reload_flag='-r'
@@ -4306,6 +4364,11 @@ case $reload_flag in
 esac
 reload_cmds='$LD$reload_flag -o $output$reload_objs'
 case $host_os in
+  cygwin* | mingw* | pw32* | cegcc*)
+    if test "$GCC" != yes; then
+      reload_cmds=false
+    fi
+    ;;
   darwin*)
     if test "$GCC" = yes; then
       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
@@ -4328,7 +4391,7 @@ if test -n "$ac_tool_prefix"; then
 set dummy ${ac_tool_prefix}objdump; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
+if ${ac_cv_prog_OBJDUMP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$OBJDUMP"; then
@@ -4340,7 +4403,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -4368,7 +4431,7 @@ if test -z "$ac_cv_prog_OBJDUMP"; then
 set dummy objdump; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
+if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_OBJDUMP"; then
@@ -4380,7 +4443,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_OBJDUMP="objdump"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -4427,7 +4490,7 @@ test -z "$OBJDUMP" && OBJDUMP=objdump
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
-if test "${lt_cv_deplibs_check_method+set}" = set; then :
+if ${lt_cv_deplibs_check_method+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_file_magic_cmd='$MAGIC_CMD'
@@ -4469,16 +4532,18 @@ mingw* | pw32*)
   # Base MSYS/MinGW do not provide the 'file' command needed by
   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   # unless we find 'file', for example because we are cross-compiling.
-  if ( file / ) >/dev/null 2>&1; then
+  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
+  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
     lt_cv_file_magic_cmd='func_win32_libid'
   else
-    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+    # Keep this pattern in sync with the one in func_win32_libid.
+    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
     lt_cv_file_magic_cmd='$OBJDUMP -f'
   fi
   ;;
 
-cegcc)
+cegcc*)
   # use the weaker test based on 'objdump'. See mingw*.
   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   lt_cv_file_magic_cmd='$OBJDUMP -f'
@@ -4508,6 +4573,10 @@ gnu*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
+haiku*)
+  lt_cv_deplibs_check_method=pass_all
+  ;;
+
 hpux10.20* | hpux11*)
   lt_cv_file_magic_cmd=/usr/bin/file
   case $host_cpu in
@@ -4516,11 +4585,11 @@ hpux10.20* | hpux11*)
     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     ;;
   hppa*64*)
-    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
+    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
     ;;
   *)
-    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
+    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
     lt_cv_file_magic_test_file=/usr/lib/libc.sl
     ;;
   esac
@@ -4541,12 +4610,12 @@ irix5* | irix6* | nonstopux*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
-# This must be Linux ELF.
+# This must be glibc/ELF.
 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
-netbsd* | netbsdelf*-gnu)
+netbsd*)
   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   else
@@ -4623,6 +4692,21 @@ esac
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 $as_echo "$lt_cv_deplibs_check_method" >&6; }
+
+file_magic_glob=
+want_nocaseglob=no
+if test "$build" = "$host"; then
+  case $host_os in
+  mingw* | pw32*)
+    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
+      want_nocaseglob=yes
+    else
+      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
+    fi
+    ;;
+  esac
+fi
+
 file_magic_cmd=$lt_cv_file_magic_cmd
 deplibs_check_method=$lt_cv_deplibs_check_method
 test -z "$deplibs_check_method" && deplibs_check_method=unknown
@@ -4638,16 +4722,26 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
 
 
+
+
+
+
+
+
+
+
+
+
 if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ar; ac_word=$2
+  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_AR+set}" = set; then :
+if ${ac_cv_prog_DLLTOOL+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-  if test -n "$AR"; then
-  ac_cv_prog_AR="$AR" # Let the user override the test.
+  if test -n "$DLLTOOL"; then
+  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 else
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 for as_dir in $PATH
@@ -4655,8 +4749,8 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_AR="${ac_tool_prefix}ar"
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
   fi
@@ -4666,10 +4760,10 @@ IFS=$as_save_IFS
 
 fi
 fi
-AR=$ac_cv_prog_AR
-if test -n "$AR"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
-$as_echo "$AR" >&6; }
+DLLTOOL=$ac_cv_prog_DLLTOOL
+if test -n "$DLLTOOL"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
+$as_echo "$DLLTOOL" >&6; }
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
@@ -4677,17 +4771,17 @@ fi
 
 
 fi
-if test -z "$ac_cv_prog_AR"; then
-  ac_ct_AR=$AR
-  # Extract the first word of "ar", so it can be a program name with args.
-set dummy ar; ac_word=$2
+if test -z "$ac_cv_prog_DLLTOOL"; then
+  ac_ct_DLLTOOL=$DLLTOOL
+  # Extract the first word of "dlltool", so it can be a program name with args.
+set dummy dlltool; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
+if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-  if test -n "$ac_ct_AR"; then
-  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
+  if test -n "$ac_ct_DLLTOOL"; then
+  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 else
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 for as_dir in $PATH
@@ -4695,8 +4789,8 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_AR="ar"
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
   fi
@@ -4706,17 +4800,17 @@ IFS=$as_save_IFS
 
 fi
 fi
-ac_ct_AR=$ac_cv_prog_ac_ct_AR
-if test -n "$ac_ct_AR"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
-$as_echo "$ac_ct_AR" >&6; }
+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
+if test -n "$ac_ct_DLLTOOL"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
+$as_echo "$ac_ct_DLLTOOL" >&6; }
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
 fi
 
-  if test "x$ac_ct_AR" = x; then
-    AR="false"
+  if test "x$ac_ct_DLLTOOL" = x; then
+    DLLTOOL="false"
   else
     case $cross_compiling:$ac_tool_warned in
 yes:)
@@ -4724,15 +4818,13 @@ yes:)
 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 ac_tool_warned=yes ;;
 esac
-    AR=$ac_ct_AR
+    DLLTOOL=$ac_ct_DLLTOOL
   fi
 else
-  AR="$ac_cv_prog_AR"
+  DLLTOOL="$ac_cv_prog_DLLTOOL"
 fi
 
-test -z "$AR" && AR=ar
-test -z "$AR_FLAGS" && AR_FLAGS=cru
-
+test -z "$DLLTOOL" && DLLTOOL=dlltool
 
 
 
@@ -4743,24 +4835,234 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
 
 
 
-if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
-set dummy ${ac_tool_prefix}strip; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_STRIP+set}" = set; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
+$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
+if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-  if test -n "$STRIP"; then
-  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
+  lt_cv_sharedlib_from_linklib_cmd='unknown'
+
+case $host_os in
+cygwin* | mingw* | pw32* | cegcc*)
+  # two different shell functions defined in ltmain.sh
+  # decide which to use based on capabilities of $DLLTOOL
+  case `$DLLTOOL --help 2>&1` in
+  *--identify-strict*)
+    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
+    ;;
+  *)
+    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
+    ;;
+  esac
+  ;;
+*)
+  # fallback: assume linklib IS sharedlib
+  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
+  ;;
+esac
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
+$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
+
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+  for ac_prog in ar
+  do
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AR+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$AR"; then
+  ac_cv_prog_AR="$AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+AR=$ac_cv_prog_AR
+if test -n "$AR"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
+$as_echo "$AR" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+    test -n "$AR" && break
+  done
+fi
+if test -z "$AR"; then
+  ac_ct_AR=$AR
+  for ac_prog in ar
+do
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_AR+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$ac_ct_AR"; then
+  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_ac_ct_AR="$ac_prog"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_AR=$ac_cv_prog_ac_ct_AR
+if test -n "$ac_ct_AR"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
+$as_echo "$ac_ct_AR" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+  test -n "$ac_ct_AR" && break
+done
+
+  if test "x$ac_ct_AR" = x; then
+    AR="false"
+  else
+    case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+    AR=$ac_ct_AR
+  fi
+fi
+
+: ${AR=ar}
+: ${AR_FLAGS=cru}
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
+$as_echo_n "checking for archiver @FILE support... " >&6; }
+if ${lt_cv_ar_at_file+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  lt_cv_ar_at_file=no
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  echo conftest.$ac_objext > conftest.lst
+      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
+      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
+  (eval $lt_ar_try) 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }
+      if test "$ac_status" -eq 0; then
+	# Ensure the archiver fails upon bogus file names.
+	rm -f conftest.$ac_objext libconftest.a
+	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
+  (eval $lt_ar_try) 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }
+	if test "$ac_status" -ne 0; then
+          lt_cv_ar_at_file=@
+        fi
+      fi
+      rm -f conftest.* libconftest.a
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
+$as_echo "$lt_cv_ar_at_file" >&6; }
+
+if test "x$lt_cv_ar_at_file" = xno; then
+  archiver_list_spec=
+else
+  archiver_list_spec=$lt_cv_ar_at_file
+fi
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+set dummy ${ac_tool_prefix}strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_STRIP+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$STRIP"; then
+  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -4788,7 +5090,7 @@ if test -z "$ac_cv_prog_STRIP"; then
 set dummy strip; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_STRIP"; then
@@ -4800,7 +5102,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_STRIP="strip"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -4847,7 +5149,7 @@ if test -n "$ac_tool_prefix"; then
 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then :
+if ${ac_cv_prog_RANLIB+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$RANLIB"; then
@@ -4859,7 +5161,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -4887,7 +5189,7 @@ if test -z "$ac_cv_prog_RANLIB"; then
 set dummy ranlib; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_RANLIB"; then
@@ -4899,7 +5201,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_RANLIB="ranlib"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -4949,15 +5251,25 @@ old_postuninstall_cmds=
 if test -n "$RANLIB"; then
   case $host_os in
   openbsd*)
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
     ;;
   *)
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
     ;;
   esac
-  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
+  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 fi
 
+case $host_os in
+  darwin*)
+    lock_old_archive_extraction=yes ;;
+  *)
+    lock_old_archive_extraction=no ;;
+esac
+
+
+
+
 
 
 
@@ -4975,6 +5287,50 @@ fi
 
 
 
+for ac_prog in gawk mawk nawk awk
+do
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AWK+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$AWK"; then
+  ac_cv_prog_AWK="$AWK" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_AWK="$ac_prog"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+AWK=$ac_cv_prog_AWK
+if test -n "$AWK"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
+$as_echo "$AWK" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+  test -n "$AWK" && break
+done
+
+
+
 
 
 
@@ -5004,7 +5360,7 @@ compiler=$CC
 # Check for command to grab the raw symbol name followed by C symbol from nm.
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
-if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
+if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -5065,8 +5421,8 @@ esac
 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
 # Transform an extracted symbol line into symbol name and symbol address
-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
-lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 
 # Handle CRLF in mingw tool chain
 opt_cr=
@@ -5090,6 +5446,7 @@ for ac_symprfx in "" "_"; do
     # which start with @ or ?.
     lt_cv_sys_global_symbol_pipe="$AWK '"\
 "     {last_section=section; section=\$ 3};"\
+"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 "     \$ 0!~/External *\|/{next};"\
 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
@@ -5102,6 +5459,7 @@ for ac_symprfx in "" "_"; do
   else
     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   fi
+  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 
   # Check to see that the pipe works correctly.
   pipe_works=no
@@ -5127,8 +5485,8 @@ _LT_EOF
   test $ac_status = 0; }; then
     # Now try to grab the symbols.
     nlist=conftest.nm
-    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
-  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
+  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; } && test -s "$nlist"; then
@@ -5143,6 +5501,18 @@ _LT_EOF
       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 	  cat <<_LT_EOF > conftest.$ac_ext
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
+/* DATA imports from DLLs on WIN32 con't be const, because runtime
+   relocations are performed -- see ld's documentation on pseudo-relocs.  */
+# define LT_DLSYM_CONST
+#elif defined(__osf__)
+/* This system does not cope well with relocations in const data.  */
+# define LT_DLSYM_CONST
+#else
+# define LT_DLSYM_CONST const
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -5154,7 +5524,7 @@ _LT_EOF
 	  cat <<_LT_EOF >> conftest.$ac_ext
 
 /* The mapping between symbol names and symbols.  */
-const struct {
+LT_DLSYM_CONST struct {
   const char *name;
   void       *address;
 }
@@ -5180,8 +5550,8 @@ static const void *lt_preloaded_setup() {
 _LT_EOF
 	  # Now try linking the two files.
 	  mv conftest.$ac_objext conftstm.$ac_objext
-	  lt_save_LIBS="$LIBS"
-	  lt_save_CFLAGS="$CFLAGS"
+	  lt_globsym_save_LIBS=$LIBS
+	  lt_globsym_save_CFLAGS=$CFLAGS
 	  LIBS="conftstm.$ac_objext"
 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
@@ -5191,8 +5561,8 @@ _LT_EOF
   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 	    pipe_works=yes
 	  fi
-	  LIBS="$lt_save_LIBS"
-	  CFLAGS="$lt_save_CFLAGS"
+	  LIBS=$lt_globsym_save_LIBS
+	  CFLAGS=$lt_globsym_save_CFLAGS
 	else
 	  echo "cannot find nm_test_func in $nlist" >&5
 	fi
@@ -5229,6 +5599,15 @@ else
 $as_echo "ok" >&6; }
 fi
 
+# Response file support.
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+  nm_file_list_spec='@'
+elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
+  nm_file_list_spec='@'
+fi
+
+
+
 
 
 
@@ -5251,6 +5630,45 @@ fi
 
 
 
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
+$as_echo_n "checking for sysroot... " >&6; }
+
+# Check whether --with-sysroot was given.
+if test "${with_sysroot+set}" = set; then :
+  withval=$with_sysroot;
+else
+  with_sysroot=no
+fi
+
+
+lt_sysroot=
+case ${with_sysroot} in #(
+ yes)
+   if test "$GCC" = yes; then
+     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
+   fi
+   ;; #(
+ /*)
+   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
+   ;; #(
+ no|'')
+   ;; #(
+ *)
+   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
+$as_echo "${with_sysroot}" >&6; }
+   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
+   ;;
+esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
+$as_echo "${lt_sysroot:-no}" >&6; }
+
+
+
+
+
 # Check whether --enable-libtool-lock was given.
 if test "${enable_libtool_lock+set}" = set; then :
   enableval=$enable_libtool_lock;
@@ -5282,7 +5700,7 @@ ia64-*-hpux*)
   ;;
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 5285 "configure"' > conftest.$ac_ext
+  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -5376,7 +5794,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   CFLAGS="$CFLAGS -belf"
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
-if test "${lt_cv_cc_needs_belf+set}" = set; then :
+if ${lt_cv_cc_needs_belf+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_ext=c
@@ -5417,7 +5835,7 @@ $as_echo "$lt_cv_cc_needs_belf" >&6; }
     CFLAGS="$SAVE_CFLAGS"
   fi
   ;;
-sparc*-*solaris*)
+*-*solaris*)
   # Find out which ABI we are using.
   echo 'int i;' > conftest.$ac_ext
   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
@@ -5428,7 +5846,20 @@ sparc*-*solaris*)
     case `/usr/bin/file conftest.o` in
     *64-bit*)
       case $lt_cv_prog_gnu_ld in
-      yes*) LD="${LD-ld} -m elf64_sparc" ;;
+      yes*)
+        case $host in
+        i?86-*-solaris*)
+          LD="${LD-ld} -m elf_x86_64"
+          ;;
+        sparc*-*-solaris*)
+          LD="${LD-ld} -m elf64_sparc"
+          ;;
+        esac
+        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
+        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
+          LD="${LD-ld}_sol2"
+        fi
+        ;;
       *)
 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 	  LD="${LD-ld} -64"
@@ -5444,6 +5875,123 @@ esac
 
 need_locks="$enable_libtool_lock"
 
+if test -n "$ac_tool_prefix"; then
+  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
+set dummy ${ac_tool_prefix}mt; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$MANIFEST_TOOL"; then
+  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
+if test -n "$MANIFEST_TOOL"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
+$as_echo "$MANIFEST_TOOL" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
+  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
+  # Extract the first word of "mt", so it can be a program name with args.
+set dummy mt; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$ac_ct_MANIFEST_TOOL"; then
+  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
+if test -n "$ac_ct_MANIFEST_TOOL"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
+$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+  if test "x$ac_ct_MANIFEST_TOOL" = x; then
+    MANIFEST_TOOL=":"
+  else
+    case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
+  fi
+else
+  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
+fi
+
+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
+$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
+if ${lt_cv_path_mainfest_tool+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  lt_cv_path_mainfest_tool=no
+  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
+  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
+  cat conftest.err >&5
+  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
+    lt_cv_path_mainfest_tool=yes
+  fi
+  rm -f conftest*
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
+$as_echo "$lt_cv_path_mainfest_tool" >&6; }
+if test "x$lt_cv_path_mainfest_tool" != xyes; then
+  MANIFEST_TOOL=:
+fi
+
+
+
+
+
 
   case $host_os in
     rhapsody* | darwin*)
@@ -5452,7 +6000,7 @@ need_locks="$enable_libtool_lock"
 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
+if ${ac_cv_prog_DSYMUTIL+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$DSYMUTIL"; then
@@ -5464,7 +6012,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -5492,7 +6040,7 @@ if test -z "$ac_cv_prog_DSYMUTIL"; then
 set dummy dsymutil; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
+if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_DSYMUTIL"; then
@@ -5504,7 +6052,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -5544,7 +6092,7 @@ fi
 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_NMEDIT+set}" = set; then :
+if ${ac_cv_prog_NMEDIT+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$NMEDIT"; then
@@ -5556,7 +6104,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -5584,7 +6132,7 @@ if test -z "$ac_cv_prog_NMEDIT"; then
 set dummy nmedit; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
+if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_NMEDIT"; then
@@ -5596,7 +6144,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_NMEDIT="nmedit"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -5636,7 +6184,7 @@ fi
 set dummy ${ac_tool_prefix}lipo; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_LIPO+set}" = set; then :
+if ${ac_cv_prog_LIPO+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$LIPO"; then
@@ -5648,7 +6196,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -5676,7 +6224,7 @@ if test -z "$ac_cv_prog_LIPO"; then
 set dummy lipo; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
+if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_LIPO"; then
@@ -5688,7 +6236,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_LIPO="lipo"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -5728,7 +6276,7 @@ fi
 set dummy ${ac_tool_prefix}otool; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_OTOOL+set}" = set; then :
+if ${ac_cv_prog_OTOOL+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$OTOOL"; then
@@ -5740,7 +6288,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -5768,7 +6316,7 @@ if test -z "$ac_cv_prog_OTOOL"; then
 set dummy otool; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
+if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_OTOOL"; then
@@ -5780,7 +6328,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_OTOOL="otool"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -5820,7 +6368,7 @@ fi
 set dummy ${ac_tool_prefix}otool64; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_OTOOL64+set}" = set; then :
+if ${ac_cv_prog_OTOOL64+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$OTOOL64"; then
@@ -5832,7 +6380,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -5860,7 +6408,7 @@ if test -z "$ac_cv_prog_OTOOL64"; then
 set dummy otool64; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
+if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_OTOOL64"; then
@@ -5872,7 +6420,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_OTOOL64="otool64"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -5935,7 +6483,7 @@ fi
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 $as_echo_n "checking for -single_module linker flag... " >&6; }
-if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
+if ${lt_cv_apple_cc_single_mod+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_apple_cc_single_mod=no
@@ -5951,7 +6499,13 @@ else
 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
         _lt_result=$?
-	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
+	# If there is a non-empty error log, and "single_module"
+	# appears in it, assume the flag caused a linker warning
+        if test -s conftest.err && $GREP single_module conftest.err; then
+	  cat conftest.err >&5
+	# Otherwise, if the output was created with a 0 exit code from
+	# the compiler, it worked.
+	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
 	  lt_cv_apple_cc_single_mod=yes
 	else
 	  cat conftest.err >&5
@@ -5962,9 +6516,10 @@ else
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
+
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
-if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
+if ${lt_cv_ld_exported_symbols_list+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_ld_exported_symbols_list=no
@@ -5994,6 +6549,41 @@ rm -f core conftest.err conftest.$ac_objext \
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
+
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
+$as_echo_n "checking for -force_load linker flag... " >&6; }
+if ${lt_cv_ld_force_load+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  lt_cv_ld_force_load=no
+      cat > conftest.c << _LT_EOF
+int forced_loaded() { return 2;}
+_LT_EOF
+      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
+      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
+      echo "$AR cru libconftest.a conftest.o" >&5
+      $AR cru libconftest.a conftest.o 2>&5
+      echo "$RANLIB libconftest.a" >&5
+      $RANLIB libconftest.a 2>&5
+      cat > conftest.c << _LT_EOF
+int main() { return 0;}
+_LT_EOF
+      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
+      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
+      _lt_result=$?
+      if test -s conftest.err && $GREP force_load conftest.err; then
+	cat conftest.err >&5
+      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
+	lt_cv_ld_force_load=yes
+      else
+	cat conftest.err >&5
+      fi
+        rm -f conftest.err libconftest.a conftest conftest.c
+        rm -rf conftest.dSYM
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
+$as_echo "$lt_cv_ld_force_load" >&6; }
     case $host_os in
     rhapsody* | darwin1.[012])
       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
@@ -6021,7 +6611,7 @@ $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
     else
       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
     fi
-    if test "$DSYMUTIL" != ":"; then
+    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
       _lt_dsymutil='~$DSYMUTIL $lib || :'
     else
       _lt_dsymutil=
@@ -6041,7 +6631,7 @@ if test -n "$CPP" && test -d "$CPP"; then
   CPP=
 fi
 if test -z "$CPP"; then
-  if test "${ac_cv_prog_CPP+set}" = set; then :
+  if ${ac_cv_prog_CPP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
       # Double quotes because CPP needs to be expanded
@@ -6157,7 +6747,7 @@ else
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
-See \`config.log' for more details" "$LINENO" 5 ; }
+See \`config.log' for more details" "$LINENO" 5; }
 fi
 
 ac_ext=c
@@ -6169,7 +6759,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 $as_echo_n "checking for ANSI C header files... " >&6; }
-if test "${ac_cv_header_stdc+set}" = set; then :
+if ${ac_cv_header_stdc+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6300,7 +6890,7 @@ for ac_header in dlfcn.h
 do :
   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 "
-if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
+if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_DLFCN_H 1
 _ACEOF
@@ -6311,6 +6901,8 @@ done
 
 
 
+
+
 # Set options
 
 
@@ -6386,7 +6978,22 @@ fi
 
 # Check whether --with-pic was given.
 if test "${with_pic+set}" = set; then :
-  withval=$with_pic; pic_mode="$withval"
+  withval=$with_pic; lt_p=${PACKAGE-default}
+    case $withval in
+    yes|no) pic_mode=$withval ;;
+    *)
+      pic_mode=default
+      # Look at the argument we got.  We use all the common list separators.
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+      for lt_pkg in $withval; do
+	IFS="$lt_save_ifs"
+	if test "X$lt_pkg" = "X$lt_p"; then
+	  pic_mode=yes
+	fi
+      done
+      IFS="$lt_save_ifs"
+      ;;
+    esac
 else
   pic_mode=default
 fi
@@ -6463,6 +7070,11 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
 
 
+
+
+
+
+
 test -z "$LN_S" && LN_S="ln -s"
 
 
@@ -6484,7 +7096,7 @@ fi
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 $as_echo_n "checking for objdir... " >&6; }
-if test "${lt_cv_objdir+set}" = set; then :
+if ${lt_cv_objdir+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   rm -f .libs 2>/dev/null
@@ -6499,28 +7111,15 @@ rmdir .libs 2>/dev/null
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 $as_echo "$lt_cv_objdir" >&6; }
-objdir=$lt_cv_objdir
-
-
-
-
-
-cat >>confdefs.h <<_ACEOF
-#define LT_OBJDIR "$lt_cv_objdir/"
-_ACEOF
-
-
-
-
-
-
-
-
+objdir=$lt_cv_objdir
 
 
 
 
 
+cat >>confdefs.h <<_ACEOF
+#define LT_OBJDIR "$lt_cv_objdir/"
+_ACEOF
 
 
 
@@ -6537,23 +7136,6 @@ aix3*)
   ;;
 esac
 
-# Sed substitution that helps us do robust quoting.  It backslashifies
-# metacharacters that are still active within double-quoted strings.
-sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
-
-# Same as above, but do not quote variable references.
-double_quote_subst='s/\(["`\\]\)/\\\1/g'
-
-# Sed substitution to delay expansion of an escaped shell variable in a
-# double_quote_subst'ed string.
-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
-
-# Sed substitution to delay expansion of an escaped single quote.
-delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
-
-# Sed substitution to avoid accidental globbing in evaled expressions
-no_glob_subst='s/\*/\\\*/g'
-
 # Global variables:
 ofile=libtool
 can_build_shared=yes
@@ -6582,7 +7164,7 @@ for cc_temp in $compiler""; do
     *) break;;
   esac
 done
-cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
 
 # Only perform the check for file, if the check method requires it
@@ -6592,7 +7174,7 @@ file_magic*)
   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
+if ${lt_cv_path_MAGIC_CMD+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $MAGIC_CMD in
@@ -6658,7 +7240,7 @@ if test -z "$lt_cv_path_MAGIC_CMD"; then
   if test -n "$ac_tool_prefix"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 $as_echo_n "checking for file... " >&6; }
-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
+if ${lt_cv_path_MAGIC_CMD+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $MAGIC_CMD in
@@ -6791,11 +7373,16 @@ if test -n "$compiler"; then
 lt_prog_compiler_no_builtin_flag=
 
 if test "$GCC" = yes; then
-  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
+  case $cc_basename in
+  nvcc*)
+    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
+  *)
+    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
+  esac
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
-if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
+if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_rtti_exceptions=no
@@ -6811,15 +7398,15 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:6814: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:6818: \$? = $ac_status" >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
        lt_cv_prog_compiler_rtti_exceptions=yes
@@ -6848,8 +7435,6 @@ fi
 lt_prog_compiler_pic=
 lt_prog_compiler_static=
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
   if test "$GCC" = yes; then
     lt_prog_compiler_wl='-Wl,'
@@ -6897,6 +7482,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
       lt_prog_compiler_pic='-fno-common'
       ;;
 
+    haiku*)
+      # PIC is the default for Haiku.
+      # The "-static" flag exists, but is broken.
+      lt_prog_compiler_static=
+      ;;
+
     hpux*)
       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
@@ -6939,6 +7530,15 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
       lt_prog_compiler_pic='-fPIC'
       ;;
     esac
+
+    case $cc_basename in
+    nvcc*) # Cuda Compiler Driver 2.2
+      lt_prog_compiler_wl='-Xlinker '
+      if test -n "$lt_prog_compiler_pic"; then
+        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
+      fi
+      ;;
+    esac
   else
     # PORTME Check for flag to pass linker flags through the system compiler.
     case $host_os in
@@ -7001,7 +7601,13 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 	lt_prog_compiler_pic='--shared'
 	lt_prog_compiler_static='--static'
 	;;
-      pgcc* | pgf77* | pgf90* | pgf95*)
+      nagfor*)
+	# NAG Fortran compiler
+	lt_prog_compiler_wl='-Wl,-Wl,,'
+	lt_prog_compiler_pic='-PIC'
+	lt_prog_compiler_static='-Bstatic'
+	;;
+      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
         # Portland Group compilers (*not* the Pentium gcc compiler,
 	# which looks to be a dead project)
 	lt_prog_compiler_wl='-Wl,'
@@ -7013,25 +7619,40 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
         # All Alpha code is PIC.
         lt_prog_compiler_static='-non_shared'
         ;;
-      xl*)
-	# IBM XL C 8.0/Fortran 10.1 on PPC
+      xl* | bgxl* | bgf* | mpixl*)
+	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 	lt_prog_compiler_wl='-Wl,'
 	lt_prog_compiler_pic='-qpic'
 	lt_prog_compiler_static='-qstaticlink'
 	;;
       *)
 	case `$CC -V 2>&1 | sed 5q` in
+	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
+	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
+	  lt_prog_compiler_pic='-KPIC'
+	  lt_prog_compiler_static='-Bstatic'
+	  lt_prog_compiler_wl=''
+	  ;;
+	*Sun\ F* | *Sun*Fortran*)
+	  lt_prog_compiler_pic='-KPIC'
+	  lt_prog_compiler_static='-Bstatic'
+	  lt_prog_compiler_wl='-Qoption ld '
+	  ;;
 	*Sun\ C*)
 	  # Sun C 5.9
 	  lt_prog_compiler_pic='-KPIC'
 	  lt_prog_compiler_static='-Bstatic'
 	  lt_prog_compiler_wl='-Wl,'
 	  ;;
-	*Sun\ F*)
-	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
-	  lt_prog_compiler_pic='-KPIC'
+        *Intel*\ [CF]*Compiler*)
+	  lt_prog_compiler_wl='-Wl,'
+	  lt_prog_compiler_pic='-fPIC'
+	  lt_prog_compiler_static='-static'
+	  ;;
+	*Portland\ Group*)
+	  lt_prog_compiler_wl='-Wl,'
+	  lt_prog_compiler_pic='-fpic'
 	  lt_prog_compiler_static='-Bstatic'
-	  lt_prog_compiler_wl=''
 	  ;;
 	esac
 	;;
@@ -7063,7 +7684,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
       lt_prog_compiler_pic='-KPIC'
       lt_prog_compiler_static='-Bstatic'
       case $cc_basename in
-      f77* | f90* | f95*)
+      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 	lt_prog_compiler_wl='-Qoption ld ';;
       *)
 	lt_prog_compiler_wl='-Wl,';;
@@ -7120,13 +7741,17 @@ case $host_os in
     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
     ;;
 esac
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
-$as_echo "$lt_prog_compiler_pic" >&6; }
-
-
-
-
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+if ${lt_cv_prog_compiler_pic+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
+$as_echo "$lt_cv_prog_compiler_pic" >&6; }
+lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 
 #
 # Check to make sure the PIC flag actually works.
@@ -7134,7 +7759,7 @@ $as_echo "$lt_prog_compiler_pic" >&6; }
 if test -n "$lt_prog_compiler_pic"; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
-if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
+if ${lt_cv_prog_compiler_pic_works+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_pic_works=no
@@ -7150,15 +7775,15 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:7153: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:7157: \$? = $ac_status" >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
        lt_cv_prog_compiler_pic_works=yes
@@ -7187,13 +7812,18 @@ fi
 
 
 
+
+
+
+
+
 #
 # Check to make sure the static flag actually works.
 #
 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
-if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
+if ${lt_cv_prog_compiler_static_works+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_static_works=no
@@ -7206,7 +7836,7 @@ else
      if test -s conftest.err; then
        # Append any errors to the config.log.
        cat conftest.err 1>&5
-       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
+       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
        if diff conftest.exp conftest.er2 >/dev/null; then
          lt_cv_prog_compiler_static_works=yes
@@ -7236,7 +7866,7 @@ fi
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
-if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
+if ${lt_cv_prog_compiler_c_o+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_c_o=no
@@ -7255,16 +7885,16 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:7258: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:7262: \$? = $ac_status" >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
        lt_cv_prog_compiler_c_o=yes
@@ -7291,7 +7921,7 @@ $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
-if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
+if ${lt_cv_prog_compiler_c_o+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_c_o=no
@@ -7310,16 +7940,16 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:7313: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:7317: \$? = $ac_status" >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
        lt_cv_prog_compiler_c_o=yes
@@ -7385,7 +8015,6 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
   hardcode_direct=no
   hardcode_direct_absolute=no
   hardcode_libdir_flag_spec=
-  hardcode_libdir_flag_spec_ld=
   hardcode_libdir_separator=
   hardcode_minus_L=no
   hardcode_shlibpath_var=unsupported
@@ -7429,13 +8058,36 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
   openbsd*)
     with_gnu_ld=no
     ;;
-  linux* | k*bsd*-gnu)
-    link_all_deplibs=no
-    ;;
   esac
 
   ld_shlibs=yes
+
+  # On some targets, GNU ld is compatible enough with the native linker
+  # that we're better off using the native interface for both.
+  lt_use_gnu_ld_interface=no
   if test "$with_gnu_ld" = yes; then
+    case $host_os in
+      aix*)
+	# The AIX port of GNU ld has always aspired to compatibility
+	# with the native linker.  However, as the warning in the GNU ld
+	# block says, versions before 2.19.5* couldn't really create working
+	# shared libraries, regardless of the interface used.
+	case `$LD -v 2>&1` in
+	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
+	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
+	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
+	  *)
+	    lt_use_gnu_ld_interface=yes
+	    ;;
+	esac
+	;;
+      *)
+	lt_use_gnu_ld_interface=yes
+	;;
+    esac
+  fi
+
+  if test "$lt_use_gnu_ld_interface" = yes; then
     # If archive_cmds runs LD, not CC, wlarc should be empty
     wlarc='${wl}'
 
@@ -7469,11 +8121,12 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
 	ld_shlibs=no
 	cat <<_LT_EOF 1>&2
 
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
+*** Warning: the GNU linker, at least up to release 2.19, is reported
 *** to be unable to reliably create shared libraries on AIX.
 *** Therefore, libtool is disabling shared libraries support.  If you
-*** really care for shared libraries, you may want to modify your PATH
-*** so that a non-GNU linker is found, and then restart.
+*** really care for shared libraries, you may want to install binutils
+*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
+*** You will then need to restart the configuration process.
 
 _LT_EOF
       fi
@@ -7509,10 +8162,12 @@ _LT_EOF
       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
       # as there is no search path for DLLs.
       hardcode_libdir_flag_spec='-L$libdir'
+      export_dynamic_flag_spec='${wl}--export-all-symbols'
       allow_undefined_flag=unsupported
       always_export_symbols=no
       enable_shared_with_static_runtimes=yes
-      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
+      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
+      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
@@ -7530,6 +8185,11 @@ _LT_EOF
       fi
       ;;
 
+    haiku*)
+      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+      link_all_deplibs=yes
+      ;;
+
     interix[3-9]*)
       hardcode_direct=no
       hardcode_shlibpath_var=no
@@ -7555,15 +8215,16 @@ _LT_EOF
       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 	 && test "$tmp_diet" = no
       then
-	tmp_addflag=
+	tmp_addflag=' $pic_flag'
 	tmp_sharedflag='-shared'
 	case $cc_basename,$host_cpu in
         pgcc*)				# Portland Group C compiler
-	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 	  tmp_addflag=' $pic_flag'
 	  ;;
-	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
-	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+	pgf77* | pgf90* | pgf95* | pgfortran*)
+					# Portland Group f77 and f90 compilers
+	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 	  tmp_addflag=' $pic_flag -Mnomain' ;;
 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
 	  tmp_addflag=' -i_dynamic' ;;
@@ -7574,13 +8235,17 @@ _LT_EOF
 	lf95*)				# Lahey Fortran 8.1
 	  whole_archive_flag_spec=
 	  tmp_sharedflag='--shared' ;;
-	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
+	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 	  tmp_sharedflag='-qmkshrobj'
 	  tmp_addflag= ;;
+	nvcc*)	# Cuda Compiler Driver 2.2
+	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
+	  compiler_needs_object=yes
+	  ;;
 	esac
 	case `$CC -V 2>&1 | sed 5q` in
 	*Sun\ C*)			# Sun C 5.9
-	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 	  compiler_needs_object=yes
 	  tmp_sharedflag='-G' ;;
 	*Sun\ F*)			# Sun Fortran 8.3
@@ -7596,17 +8261,16 @@ _LT_EOF
         fi
 
 	case $cc_basename in
-	xlf*)
+	xlf* | bgf* | bgxlf* | mpixlf*)
 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
-	  hardcode_libdir_flag_spec=
-	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
-	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
+	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 	  if test "x$supports_anon_versioning" = xyes; then
 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 	      echo "local: *; };" >> $output_objdir/$libname.ver~
-	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
+	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 	  fi
 	  ;;
 	esac
@@ -7615,13 +8279,13 @@ _LT_EOF
       fi
       ;;
 
-    netbsd* | netbsdelf*-gnu)
+    netbsd*)
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 	wlarc=
       else
-	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       fi
       ;;
 
@@ -7639,8 +8303,8 @@ _LT_EOF
 
 _LT_EOF
       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
-	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       else
 	ld_shlibs=no
       fi
@@ -7686,8 +8350,8 @@ _LT_EOF
 
     *)
       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
-	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       else
 	ld_shlibs=no
       fi
@@ -7727,8 +8391,10 @@ _LT_EOF
       else
 	# If we're using GNU nm, then we don't want the "-C" option.
 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
+	# Also, AIX nm treats weak defined symbols like other global
+	# defined symbols, whereas GNU nm marks them as "W".
 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
-	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 	else
 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 	fi
@@ -7790,7 +8456,6 @@ _LT_EOF
 	if test "$aix_use_runtimelinking" = yes; then
 	  shared_flag="$shared_flag "'${wl}-G'
 	fi
-	link_all_deplibs=no
       else
 	# not using gcc
 	if test "$host_cpu" = ia64; then
@@ -7816,7 +8481,13 @@ _LT_EOF
 	allow_undefined_flag='-berok'
         # Determine the default libpath from the value encoded in an
         # empty executable.
-        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+        if test "${lt_cv_aix_libpath+set}" = set; then
+  aix_libpath=$lt_cv_aix_libpath
+else
+  if ${lt_cv_aix_libpath_+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -7829,25 +8500,32 @@ main ()
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
 
-lt_aix_libpath_sed='
-    /Import File Strings/,/^$/ {
-	/^0/ {
-	    s/^0  *\(.*\)$/\1/
-	    p
-	}
-    }'
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-# Check for a 64-bit object if we didn't find anything.
-if test -z "$aix_libpath"; then
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-fi
+  lt_aix_libpath_sed='
+      /Import File Strings/,/^$/ {
+	  /^0/ {
+	      s/^0  *\([^ ]*\) *$/\1/
+	      p
+	  }
+      }'
+  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+  # Check for a 64-bit object if we didn't find anything.
+  if test -z "$lt_cv_aix_libpath_"; then
+    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+  fi
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+  if test -z "$lt_cv_aix_libpath_"; then
+    lt_cv_aix_libpath_="/usr/lib:/lib"
+  fi
+
+fi
+
+  aix_libpath=$lt_cv_aix_libpath_
+fi
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
-        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
       else
 	if test "$host_cpu" = ia64; then
 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
@@ -7856,7 +8534,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 	else
 	 # Determine the default libpath from the value encoded in an
 	 # empty executable.
-	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+	 if test "${lt_cv_aix_libpath+set}" = set; then
+  aix_libpath=$lt_cv_aix_libpath
+else
+  if ${lt_cv_aix_libpath_+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -7869,30 +8553,42 @@ main ()
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
 
-lt_aix_libpath_sed='
-    /Import File Strings/,/^$/ {
-	/^0/ {
-	    s/^0  *\(.*\)$/\1/
-	    p
-	}
-    }'
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-# Check for a 64-bit object if we didn't find anything.
-if test -z "$aix_libpath"; then
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-fi
+  lt_aix_libpath_sed='
+      /Import File Strings/,/^$/ {
+	  /^0/ {
+	      s/^0  *\([^ ]*\) *$/\1/
+	      p
+	  }
+      }'
+  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+  # Check for a 64-bit object if we didn't find anything.
+  if test -z "$lt_cv_aix_libpath_"; then
+    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+  fi
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+  if test -z "$lt_cv_aix_libpath_"; then
+    lt_cv_aix_libpath_="/usr/lib:/lib"
+  fi
+
+fi
+
+  aix_libpath=$lt_cv_aix_libpath_
+fi
 
 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 	  # Warning - without using the other run time loading flags,
 	  # -berok will link without error, but may produce a broken library.
 	  no_undefined_flag=' ${wl}-bernotok'
 	  allow_undefined_flag=' ${wl}-berok'
-	  # Exported symbols can be pulled into shared objects from archives
-	  whole_archive_flag_spec='$convenience'
+	  if test "$with_gnu_ld" = yes; then
+	    # We only use this code for GNU lds that support --whole-archive.
+	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
+	  else
+	    # Exported symbols can be pulled into shared objects from archives
+	    whole_archive_flag_spec='$convenience'
+	  fi
 	  archive_cmds_need_lc=yes
 	  # This is similar to how AIX traditionally builds its shared libraries.
 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
@@ -7924,20 +8620,64 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       # Microsoft Visual C++.
       # hardcode_libdir_flag_spec is actually meaningless, as there is
       # no search path for DLLs.
-      hardcode_libdir_flag_spec=' '
-      allow_undefined_flag=unsupported
-      # Tell ltmain to make .lib files, not .a files.
-      libext=lib
-      # Tell ltmain to make .dll files, not .so files.
-      shrext_cmds=".dll"
-      # FIXME: Setting linknames here is a bad hack.
-      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
-      # The linker will automatically build a .lib file if we build a DLL.
-      old_archive_from_new_cmds='true'
-      # FIXME: Should let the user specify the lib program.
-      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
-      fix_srcfile_path='`cygpath -w "$srcfile"`'
-      enable_shared_with_static_runtimes=yes
+      case $cc_basename in
+      cl*)
+	# Native MSVC
+	hardcode_libdir_flag_spec=' '
+	allow_undefined_flag=unsupported
+	always_export_symbols=yes
+	file_list_spec='@'
+	# Tell ltmain to make .lib files, not .a files.
+	libext=lib
+	# Tell ltmain to make .dll files, not .so files.
+	shrext_cmds=".dll"
+	# FIXME: Setting linknames here is a bad hack.
+	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
+	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
+	  else
+	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
+	  fi~
+	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+	  linknames='
+	# The linker will not automatically build a static lib if we build a DLL.
+	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
+	enable_shared_with_static_runtimes=yes
+	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
+	# Don't use ranlib
+	old_postinstall_cmds='chmod 644 $oldlib'
+	postlink_cmds='lt_outputfile="@OUTPUT@"~
+	  lt_tool_outputfile="@TOOL_OUTPUT@"~
+	  case $lt_outputfile in
+	    *.exe|*.EXE) ;;
+	    *)
+	      lt_outputfile="$lt_outputfile.exe"
+	      lt_tool_outputfile="$lt_tool_outputfile.exe"
+	      ;;
+	  esac~
+	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
+	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+	    $RM "$lt_outputfile.manifest";
+	  fi'
+	;;
+      *)
+	# Assume MSVC wrapper
+	hardcode_libdir_flag_spec=' '
+	allow_undefined_flag=unsupported
+	# Tell ltmain to make .lib files, not .a files.
+	libext=lib
+	# Tell ltmain to make .dll files, not .so files.
+	shrext_cmds=".dll"
+	# FIXME: Setting linknames here is a bad hack.
+	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
+	# The linker will automatically build a .lib file if we build a DLL.
+	old_archive_from_new_cmds='true'
+	# FIXME: Should let the user specify the lib program.
+	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
+	enable_shared_with_static_runtimes=yes
+	;;
+      esac
       ;;
 
     darwin* | rhapsody*)
@@ -7947,7 +8687,12 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   hardcode_direct=no
   hardcode_automatic=yes
   hardcode_shlibpath_var=unsupported
-  whole_archive_flag_spec=''
+  if test "$lt_cv_ld_force_load" = "yes"; then
+    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
+
+  else
+    whole_archive_flag_spec=''
+  fi
   link_all_deplibs=yes
   allow_undefined_flag="$_lt_dar_allow_undefined"
   case $cc_basename in
@@ -7955,7 +8700,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
      *) _lt_dar_can_shared=$GCC ;;
   esac
   if test "$_lt_dar_can_shared" = "yes"; then
-    output_verbose_link_cmd=echo
+    output_verbose_link_cmd=func_echo_all
     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
@@ -7973,10 +8718,6 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       hardcode_shlibpath_var=no
       ;;
 
-    freebsd1*)
-      ld_shlibs=no
-      ;;
-
     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
     # support.  Future versions do this automatically, but an explicit c++rt0.o
     # does not break anything, and helps significantly (at the cost of a little
@@ -7989,7 +8730,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       ;;
 
     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
-    freebsd2*)
+    freebsd2.*)
       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       hardcode_direct=yes
       hardcode_minus_L=yes
@@ -7998,7 +8739,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
     freebsd* | dragonfly*)
-      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
       hardcode_libdir_flag_spec='-R$libdir'
       hardcode_direct=yes
       hardcode_shlibpath_var=no
@@ -8006,7 +8747,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
     hpux9*)
       if test "$GCC" = yes; then
-	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
       else
 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
       fi
@@ -8021,14 +8762,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       ;;
 
     hpux10*)
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
-	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
+	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       else
 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
       fi
       if test "$with_gnu_ld" = no; then
 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
-	hardcode_libdir_flag_spec_ld='+b $libdir'
 	hardcode_libdir_separator=:
 	hardcode_direct=yes
 	hardcode_direct_absolute=yes
@@ -8040,16 +8780,16 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       ;;
 
     hpux11*)
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
+      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 	case $host_cpu in
 	hppa*64*)
 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 	  ;;
 	ia64*)
-	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 	  ;;
 	*)
-	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 	  ;;
 	esac
       else
@@ -8061,7 +8801,46 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 	  ;;
 	*)
-	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+
+	  # Older versions of the 11.00 compiler do not understand -b yet
+	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
+	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
+$as_echo_n "checking if $CC understands -b... " >&6; }
+if ${lt_cv_prog_compiler__b+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  lt_cv_prog_compiler__b=no
+   save_LDFLAGS="$LDFLAGS"
+   LDFLAGS="$LDFLAGS -b"
+   echo "$lt_simple_link_test_code" > conftest.$ac_ext
+   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+     # The linker can only warn and ignore the option if not recognized
+     # So say no if there are warnings
+     if test -s conftest.err; then
+       # Append any errors to the config.log.
+       cat conftest.err 1>&5
+       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+       if diff conftest.exp conftest.er2 >/dev/null; then
+         lt_cv_prog_compiler__b=yes
+       fi
+     else
+       lt_cv_prog_compiler__b=yes
+     fi
+   fi
+   $RM -r conftest*
+   LDFLAGS="$save_LDFLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
+$as_echo "$lt_cv_prog_compiler__b" >&6; }
+
+if test x"$lt_cv_prog_compiler__b" = xyes; then
+    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+else
+    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+fi
+
 	  ;;
 	esac
       fi
@@ -8089,26 +8868,39 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
     irix5* | irix6* | nonstopux*)
       if test "$GCC" = yes; then
-	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 	# Try to use the -exported_symbol ld option, if it does not
 	# work, assume that -exports_file does not work either and
 	# implicitly export all symbols.
-        save_LDFLAGS="$LDFLAGS"
-        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
-        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+	# This should be the same for all languages, so no per-tag cache variable.
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
+$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
+if ${lt_cv_irix_exported_symbol+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  save_LDFLAGS="$LDFLAGS"
+	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
+	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-int foo(void) {}
+int foo (void) { return 0; }
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
-  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
-
+  lt_cv_irix_exported_symbol=yes
+else
+  lt_cv_irix_exported_symbol=no
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
-        LDFLAGS="$save_LDFLAGS"
+           LDFLAGS="$save_LDFLAGS"
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
+$as_echo "$lt_cv_irix_exported_symbol" >&6; }
+	if test "$lt_cv_irix_exported_symbol" = yes; then
+          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
+	fi
       else
-	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
-	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
+	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
       fi
       archive_cmds_need_lc='no'
       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
@@ -8117,7 +8909,7 @@ rm -f core conftest.err conftest.$ac_objext \
       link_all_deplibs=yes
       ;;
 
-    netbsd* | netbsdelf*-gnu)
+    netbsd*)
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
       else
@@ -8170,17 +8962,17 @@ rm -f core conftest.err conftest.$ac_objext \
       hardcode_libdir_flag_spec='-L$libdir'
       hardcode_minus_L=yes
       allow_undefined_flag=unsupported
-      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
+      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
       ;;
 
     osf3*)
       if test "$GCC" = yes; then
 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
-	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
       else
 	allow_undefined_flag=' -expect_unresolved \*'
-	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
       fi
       archive_cmds_need_lc='no'
       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
@@ -8190,13 +8982,13 @@ rm -f core conftest.err conftest.$ac_objext \
     osf4* | osf5*)	# as osf3* with the addition of -msym flag
       if test "$GCC" = yes; then
 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
-	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+	archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
       else
 	allow_undefined_flag=' -expect_unresolved \*'
-	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
-	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
+	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
 	# Both c and cxx compiler support -rpath directly
 	hardcode_libdir_flag_spec='-rpath $libdir'
@@ -8209,9 +9001,9 @@ rm -f core conftest.err conftest.$ac_objext \
       no_undefined_flag=' -z defs'
       if test "$GCC" = yes; then
 	wlarc='${wl}'
-	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+	  $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
       else
 	case `$CC -V 2>&1` in
 	*"Compilers 5.0"*)
@@ -8399,44 +9191,50 @@ x|xyes)
       # to ld, don't add -lc before -lgcc.
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
-      $RM conftest*
-      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+if ${lt_cv_archive_cmds_need_lc+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  $RM conftest*
+	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
-      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; } 2>conftest.err; then
-        soname=conftest
-        lib=conftest
-        libobjs=conftest.$ac_objext
-        deplibs=
-        wl=$lt_prog_compiler_wl
-	pic_flag=$lt_prog_compiler_pic
-        compiler_flags=-v
-        linker_flags=-v
-        verstring=
-        output_objdir=.
-        libname=conftest
-        lt_save_allow_undefined_flag=$allow_undefined_flag
-        allow_undefined_flag=
-        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
+	  soname=conftest
+	  lib=conftest
+	  libobjs=conftest.$ac_objext
+	  deplibs=
+	  wl=$lt_prog_compiler_wl
+	  pic_flag=$lt_prog_compiler_pic
+	  compiler_flags=-v
+	  linker_flags=-v
+	  verstring=
+	  output_objdir=.
+	  libname=conftest
+	  lt_save_allow_undefined_flag=$allow_undefined_flag
+	  allow_undefined_flag=
+	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }
-        then
-	  archive_cmds_need_lc=no
-        else
-	  archive_cmds_need_lc=yes
-        fi
-        allow_undefined_flag=$lt_save_allow_undefined_flag
-      else
-        cat conftest.err 1>&5
-      fi
-      $RM conftest*
-      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
-$as_echo "$archive_cmds_need_lc" >&6; }
+	  then
+	    lt_cv_archive_cmds_need_lc=no
+	  else
+	    lt_cv_archive_cmds_need_lc=yes
+	  fi
+	  allow_undefined_flag=$lt_save_allow_undefined_flag
+	else
+	  cat conftest.err 1>&5
+	fi
+	$RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
+$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
+      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
       ;;
     esac
   fi
@@ -8594,11 +9392,6 @@ esac
 
 
 
-
-
-
-
-
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 $as_echo_n "checking dynamic linker characteristics... " >&6; }
 
@@ -8607,16 +9400,23 @@ if test "$GCC" = yes; then
     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
     *) lt_awk_arg="/^libraries:/" ;;
   esac
-  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
-  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
+  case $host_os in
+    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
+    *) lt_sed_strip_eq="s,=/,/,g" ;;
+  esac
+  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
+  case $lt_search_path_spec in
+  *\;*)
     # if the path contains ";" then we assume it to be the separator
     # otherwise default to the standard path separator (i.e. ":") - it is
     # assumed that no part of a normal pathname contains ";" but that should
     # okay in the real world where ";" in dirpaths is itself problematic.
-    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
-  else
-    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
-  fi
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
+    ;;
+  *)
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
+    ;;
+  esac
   # Ok, now we have the path, separated by spaces, we can step through it
   # and add multilib dir if necessary.
   lt_tmp_lt_search_path_spec=
@@ -8629,7 +9429,7 @@ if test "$GCC" = yes; then
 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
     fi
   done
-  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
+  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 BEGIN {RS=" "; FS="/|\n";} {
   lt_foo="";
   lt_count=0;
@@ -8649,7 +9449,13 @@ BEGIN {RS=" "; FS="/|\n";} {
   if (lt_foo != "") { lt_freq[lt_foo]++; }
   if (lt_freq[lt_foo] == 1) { print lt_foo; }
 }'`
-  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
+  # AWK program above erroneously prepends '/' to C:/dos/paths
+  # for these hosts.
+  case $host_os in
+    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
+      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
+  esac
+  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 else
   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 fi
@@ -8675,7 +9481,7 @@ need_version=unknown
 
 case $host_os in
 aix3*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   shlibpath_var=LIBPATH
 
@@ -8684,7 +9490,7 @@ aix3*)
   ;;
 
 aix[4-9]*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   hardcode_into_libs=yes
@@ -8737,7 +9543,7 @@ amigaos*)
   m68k)
     library_names_spec='$libname.ixlibrary $libname.a'
     # Create ${libname}_ixlibrary.a entries in /sys/libs.
-    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
+    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
     ;;
   esac
   ;;
@@ -8749,7 +9555,7 @@ beos*)
   ;;
 
 bsdi[45]*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
@@ -8768,8 +9574,9 @@ cygwin* | mingw* | pw32* | cegcc*)
   need_version=no
   need_lib_prefix=no
 
-  case $GCC,$host_os in
-  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
+  case $GCC,$cc_basename in
+  yes,*)
+    # gcc
     library_names_spec='$libname.dll.a'
     # DLL is installed to $(libdir)/../bin by postinstall_cmds
     postinstall_cmds='base_file=`basename \${file}`~
@@ -8790,36 +9597,83 @@ cygwin* | mingw* | pw32* | cegcc*)
     cygwin*)
       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
-      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
+
+      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
       ;;
     mingw* | cegcc*)
       # MinGW DLLs use traditional 'lib' prefix
       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
-      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
-      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
-        # It is most probably a Windows format PATH printed by
-        # mingw gcc, but we are running on Cygwin. Gcc prints its search
-        # path with ; separators, and with drive letters. We can handle the
-        # drive letters (cygwin fileutils understands them), so leave them,
-        # especially as we might pass files found there to a mingw objdump,
-        # which wouldn't understand a cygwinified path. Ahh.
-        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
-      else
-        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
-      fi
       ;;
     pw32*)
       # pw32 DLLs use 'pw' prefix rather than 'lib'
       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       ;;
     esac
+    dynamic_linker='Win32 ld.exe'
+    ;;
+
+  *,cl*)
+    # Native MSVC
+    libname_spec='$name'
+    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+    library_names_spec='${libname}.dll.lib'
+
+    case $build_os in
+    mingw*)
+      sys_lib_search_path_spec=
+      lt_save_ifs=$IFS
+      IFS=';'
+      for lt_path in $LIB
+      do
+        IFS=$lt_save_ifs
+        # Let DOS variable expansion print the short 8.3 style file name.
+        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
+        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
+      done
+      IFS=$lt_save_ifs
+      # Convert to MSYS style.
+      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
+      ;;
+    cygwin*)
+      # Convert to unix form, then to dos form, then back to unix form
+      # but this time dos style (no spaces!) so that the unix form looks
+      # like /cygdrive/c/PROGRA~1:/cygdr...
+      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
+      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
+      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+      ;;
+    *)
+      sys_lib_search_path_spec="$LIB"
+      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
+        # It is most probably a Windows format PATH.
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+      else
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+      fi
+      # FIXME: find the short name or the path components, as spaces are
+      # common. (e.g. "Program Files" -> "PROGRA~1")
+      ;;
+    esac
+
+    # DLL is installed to $(libdir)/../bin by postinstall_cmds
+    postinstall_cmds='base_file=`basename \${file}`~
+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
+      dldir=$destdir/`dirname \$dlpath`~
+      test -d \$dldir || mkdir -p \$dldir~
+      $install_prog $dir/$dlname \$dldir/$dlname'
+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+      dlpath=$dir/\$dldll~
+       $RM \$dlpath'
+    shlibpath_overrides_runpath=yes
+    dynamic_linker='Win32 link.exe'
     ;;
 
   *)
+    # Assume MSVC wrapper
     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
+    dynamic_linker='Win32 ld.exe'
     ;;
   esac
-  dynamic_linker='Win32 ld.exe'
   # FIXME: first we should search . and the directory the executable is in
   shlibpath_var=PATH
   ;;
@@ -8840,7 +9694,7 @@ darwin* | rhapsody*)
   ;;
 
 dgux*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
@@ -8848,10 +9702,6 @@ dgux*)
   shlibpath_var=LD_LIBRARY_PATH
   ;;
 
-freebsd1*)
-  dynamic_linker=no
-  ;;
-
 freebsd* | dragonfly*)
   # DragonFly does not have aout.  When/if they implement a new
   # versioning mechanism, adjust this.
@@ -8859,7 +9709,7 @@ freebsd* | dragonfly*)
     objformat=`/usr/bin/objformat`
   else
     case $host_os in
-    freebsd[123]*) objformat=aout ;;
+    freebsd[23].*) objformat=aout ;;
     *) objformat=elf ;;
     esac
   fi
@@ -8877,7 +9727,7 @@ freebsd* | dragonfly*)
   esac
   shlibpath_var=LD_LIBRARY_PATH
   case $host_os in
-  freebsd2*)
+  freebsd2.*)
     shlibpath_overrides_runpath=yes
     ;;
   freebsd3.[01]* | freebsdelf3.[01]*)
@@ -8897,12 +9747,26 @@ freebsd* | dragonfly*)
   ;;
 
 gnu*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
   shlibpath_var=LD_LIBRARY_PATH
+  shlibpath_overrides_runpath=no
+  hardcode_into_libs=yes
+  ;;
+
+haiku*)
+  version_type=linux # correct to gnu/linux during the next big refactor
+  need_lib_prefix=no
+  need_version=no
+  dynamic_linker="$host_os runtime_loader"
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
+  soname_spec='${libname}${release}${shared_ext}$major'
+  shlibpath_var=LIBRARY_PATH
+  shlibpath_overrides_runpath=yes
+  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   hardcode_into_libs=yes
   ;;
 
@@ -8948,12 +9812,14 @@ hpux9* | hpux10* | hpux11*)
     soname_spec='${libname}${release}${shared_ext}$major'
     ;;
   esac
-  # HP-UX runs *really* slowly unless shared libraries are mode 555.
+  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   postinstall_cmds='chmod 555 $lib'
+  # or fails outright, so override atomically:
+  install_override_mode=555
   ;;
 
 interix[3-9]*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
@@ -8969,7 +9835,7 @@ irix5* | irix6* | nonstopux*)
     nonstopux*) version_type=nonstopux ;;
     *)
 	if test "$lt_cv_prog_gnu_ld" = yes; then
-		version_type=linux
+		version_type=linux # correct to gnu/linux during the next big refactor
 	else
 		version_type=irix
 	fi ;;
@@ -9006,9 +9872,9 @@ linux*oldld* | linux*aout* | linux*coff*)
   dynamic_linker=no
   ;;
 
-# This must be Linux ELF.
+# This must be glibc/ELF.
 linux* | k*bsd*-gnu | kopensolaris*-gnu)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -9016,12 +9882,17 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   shlibpath_var=LD_LIBRARY_PATH
   shlibpath_overrides_runpath=no
+
   # Some binutils ld are patched to set DT_RUNPATH
-  save_LDFLAGS=$LDFLAGS
-  save_libdir=$libdir
-  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
-       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  lt_cv_shlibpath_overrides_runpath=no
+    save_LDFLAGS=$LDFLAGS
+    save_libdir=$libdir
+    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
+	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -9034,13 +9905,17 @@ main ()
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
-  shlibpath_overrides_runpath=yes
+  lt_cv_shlibpath_overrides_runpath=yes
 fi
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
-  LDFLAGS=$save_LDFLAGS
-  libdir=$save_libdir
+    LDFLAGS=$save_LDFLAGS
+    libdir=$save_libdir
+
+fi
+
+  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
   # This implies no fast_install, which is unacceptable.
   # Some rework will be needed to allow for fast_install
@@ -9049,7 +9924,7 @@ rm -f core conftest.err conftest.$ac_objext \
 
   # Append ld.so.conf contents to the search path
   if test -f /etc/ld.so.conf; then
-    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
+    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   fi
 
@@ -9062,18 +9937,6 @@ rm -f core conftest.err conftest.$ac_objext \
   dynamic_linker='GNU/Linux ld.so'
   ;;
 
-netbsdelf*-gnu)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=no
-  hardcode_into_libs=yes
-  dynamic_linker='NetBSD ld.elf_so'
-  ;;
-
 netbsd*)
   version_type=sunos
   need_lib_prefix=no
@@ -9093,7 +9956,7 @@ netbsd*)
   ;;
 
 newsos6)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   shlibpath_var=LD_LIBRARY_PATH
   shlibpath_overrides_runpath=yes
@@ -9162,7 +10025,7 @@ rdos*)
   ;;
 
 solaris*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -9187,7 +10050,7 @@ sunos4*)
   ;;
 
 sysv4 | sysv4.3*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
   shlibpath_var=LD_LIBRARY_PATH
@@ -9211,7 +10074,7 @@ sysv4 | sysv4.3*)
 
 sysv4*MP*)
   if test -d /usr/nec ;then
-    version_type=linux
+    version_type=linux # correct to gnu/linux during the next big refactor
     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
     soname_spec='$libname${shared_ext}.$major'
     shlibpath_var=LD_LIBRARY_PATH
@@ -9242,7 +10105,7 @@ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
 tpf*)
   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -9252,7 +10115,7 @@ tpf*)
   ;;
 
 uts4*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
   shlibpath_var=LD_LIBRARY_PATH
@@ -9364,6 +10227,11 @@ fi
 
 
 
+
+
+
+
+
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 hardcode_action=
@@ -9436,7 +10304,7 @@ else
   # if libdl is installed we need to link against it
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 $as_echo_n "checking for dlopen in -ldl... " >&6; }
-if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
+if ${ac_cv_lib_dl_dlopen+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -9470,7 +10338,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
-if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 else
 
@@ -9484,12 +10352,12 @@ fi
 
   *)
     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
-if test "x$ac_cv_func_shl_load" = x""yes; then :
+if test "x$ac_cv_func_shl_load" = xyes; then :
   lt_cv_dlopen="shl_load"
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 $as_echo_n "checking for shl_load in -ldld... " >&6; }
-if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
+if ${ac_cv_lib_dld_shl_load+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -9523,16 +10391,16 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
-if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
+if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 else
   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
-if test "x$ac_cv_func_dlopen" = x""yes; then :
+if test "x$ac_cv_func_dlopen" = xyes; then :
   lt_cv_dlopen="dlopen"
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 $as_echo_n "checking for dlopen in -ldl... " >&6; }
-if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
+if ${ac_cv_lib_dl_dlopen+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -9566,12 +10434,12 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
-if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
-if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
+if ${ac_cv_lib_svld_dlopen+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -9605,12 +10473,12 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
-if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
+if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 $as_echo_n "checking for dld_link in -ldld... " >&6; }
-if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
+if ${ac_cv_lib_dld_dld_link+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -9644,7 +10512,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
-if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
+if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 fi
 
@@ -9685,7 +10553,7 @@ fi
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
-if test "${lt_cv_dlopen_self+set}" = set; then :
+if ${lt_cv_dlopen_self+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   	  if test "$cross_compiling" = yes; then :
@@ -9694,7 +10562,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 9697 "configure"
+#line $LINENO "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -9735,7 +10603,13 @@ else
 #  endif
 #endif
 
-void fnord() { int i=42;}
+/* When -fvisbility=hidden is used, assume the code has been annotated
+   correspondingly for the symbols needed.  */
+#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+
+int fnord () { return 42; }
 int main ()
 {
   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
@@ -9744,7 +10618,11 @@ int main ()
   if (self)
     {
       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
-      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+      else
+        {
+	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
+          else puts (dlerror ());
+	}
       /* dlclose (self); */
     }
   else
@@ -9781,7 +10659,7 @@ $as_echo "$lt_cv_dlopen_self" >&6; }
       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
-if test "${lt_cv_dlopen_self_static+set}" = set; then :
+if ${lt_cv_dlopen_self_static+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   	  if test "$cross_compiling" = yes; then :
@@ -9790,7 +10668,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 9793 "configure"
+#line $LINENO "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -9831,7 +10709,13 @@ else
 #  endif
 #endif
 
-void fnord() { int i=42;}
+/* When -fvisbility=hidden is used, assume the code has been annotated
+   correspondingly for the symbols needed.  */
+#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+
+int fnord () { return 42; }
 int main ()
 {
   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
@@ -9840,7 +10724,11 @@ int main ()
   if (self)
     {
       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
-      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+      else
+        {
+	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
+          else puts (dlerror ());
+	}
       /* dlclose (self); */
     }
   else
@@ -10009,6 +10897,8 @@ CC="$lt_save_CC"
 
 
 
+
+
         ac_config_commands="$ac_config_commands libtool"
 
 
@@ -10028,7 +10918,7 @@ if test -n "$ac_tool_prefix"; then
 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
@@ -10040,7 +10930,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_CC="${ac_tool_prefix}gcc"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -10068,7 +10958,7 @@ if test -z "$ac_cv_prog_CC"; then
 set dummy gcc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_CC"; then
@@ -10080,7 +10970,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_CC="gcc"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -10121,7 +11011,7 @@ if test -z "$CC"; then
 set dummy ${ac_tool_prefix}cc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
@@ -10133,7 +11023,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_CC="${ac_tool_prefix}cc"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -10161,7 +11051,7 @@ if test -z "$CC"; then
 set dummy cc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
@@ -10174,7 +11064,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
        ac_prog_rejected=yes
        continue
@@ -10220,7 +11110,7 @@ if test -z "$CC"; then
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
@@ -10232,7 +11122,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -10264,7 +11154,7 @@ do
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_CC"; then
@@ -10276,7 +11166,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_CC="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -10319,7 +11209,7 @@ fi
 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error $? "no acceptable C compiler found in \$PATH
-See \`config.log' for more details" "$LINENO" 5 ; }
+See \`config.log' for more details" "$LINENO" 5; }
 
 # Provide some information about the compiler.
 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -10348,7 +11238,7 @@ done
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then :
+if ${ac_cv_c_compiler_gnu+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -10385,7 +11275,7 @@ ac_test_CFLAGS=${CFLAGS+set}
 ac_save_CFLAGS=$CFLAGS
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 $as_echo_n "checking whether $CC accepts -g... " >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then :
+if ${ac_cv_prog_cc_g+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_save_c_werror_flag=$ac_c_werror_flag
@@ -10463,7 +11353,7 @@ else
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
-if test "${ac_cv_prog_cc_c89+set}" = set; then :
+if ${ac_cv_prog_cc_c89+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_cv_prog_cc_c89=no
@@ -10472,8 +11362,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <stdarg.h>
 #include <stdio.h>
-#include <sys/types.h>
-#include <sys/stat.h>
+struct stat;
 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 struct buf { int x; };
 FILE * (*rcsopen) (struct buf *, struct stat *, int);
@@ -10570,7 +11459,7 @@ if test -n "$CPP" && test -d "$CPP"; then
   CPP=
 fi
 if test -z "$CPP"; then
-  if test "${ac_cv_prog_CPP+set}" = set; then :
+  if ${ac_cv_prog_CPP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
       # Double quotes because CPP needs to be expanded
@@ -10581,378 +11470,120 @@ for ac_c_preproc_warn_flag in '' yes
 do
   # Use a header file that comes with gcc, so configuring glibc
   # with a fresh cross-compiler works.
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-  # <limits.h> exists even on freestanding compilers.
-  # On the NeXT, cc -E runs the code through the compiler's parser,
-  # not just through cpp. "Syntax error" is here to catch this case.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-		     Syntax error
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-
-else
-  # Broken: fails on valid input.
-continue
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-  # OK, works on sane cases.  Now check whether nonexistent headers
-  # can be detected and how.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <ac_nonexistent.h>
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  # Broken: success on invalid input.
-continue
-else
-  # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.i conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then :
-  break
-fi
-
-    done
-    ac_cv_prog_CPP=$CPP
-
-fi
-  CPP=$ac_cv_prog_CPP
-else
-  ac_cv_prog_CPP=$CPP
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
-$as_echo "$CPP" >&6; }
-ac_preproc_ok=false
-for ac_c_preproc_warn_flag in '' yes
-do
-  # Use a header file that comes with gcc, so configuring glibc
-  # with a fresh cross-compiler works.
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-  # <limits.h> exists even on freestanding compilers.
-  # On the NeXT, cc -E runs the code through the compiler's parser,
-  # not just through cpp. "Syntax error" is here to catch this case.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-		     Syntax error
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-
-else
-  # Broken: fails on valid input.
-continue
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-  # OK, works on sane cases.  Now check whether nonexistent headers
-  # can be detected and how.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <ac_nonexistent.h>
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  # Broken: success on invalid input.
-continue
-else
-  # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.i conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then :
-
-else
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
-See \`config.log' for more details" "$LINENO" 5 ; }
-fi
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-if test -z "$CXX"; then
-  if test -n "$CCC"; then
-    CXX=$CCC
-  else
-    if test -n "$ac_tool_prefix"; then
-  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
-  do
-    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CXX+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$CXX"; then
-  ac_cv_prog_CXX="$CXX" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-CXX=$ac_cv_prog_CXX
-if test -n "$CXX"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
-$as_echo "$CXX" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-    test -n "$CXX" && break
-  done
-fi
-if test -z "$CXX"; then
-  ac_ct_CXX=$CXX
-  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
-do
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_CXX"; then
-  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_CXX="$ac_prog"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
-if test -n "$ac_ct_CXX"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
-$as_echo "$ac_ct_CXX" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  test -n "$ac_ct_CXX" && break
-done
-
-  if test "x$ac_ct_CXX" = x; then
-    CXX="g++"
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    CXX=$ac_ct_CXX
-  fi
-fi
-
-  fi
-fi
-# Provide some information about the compiler.
-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
-set X $ac_compile
-ac_compiler=$2
-for ac_option in --version -v -V -qversion; do
-  { { ac_try="$ac_compiler $ac_option >&5"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    sed '10a\
-... rest of stderr output deleted ...
-         10q' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-  fi
-  rm -f conftest.er1 conftest.err
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }
-done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
-$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
-if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+  # <limits.h> exists even on freestanding compilers.
+  # On the NeXT, cc -E runs the code through the compiler's parser,
+  # not just through cpp. "Syntax error" is here to catch this case.
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-
-int
-main ()
-{
-#ifndef __GNUC__
-       choke me
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
 #endif
-
-  ;
-  return 0;
-}
+		     Syntax error
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  ac_compiler_gnu=yes
-else
-  ac_compiler_gnu=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
+if ac_fn_c_try_cpp "$LINENO"; then :
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
-$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
-if test $ac_compiler_gnu = yes; then
-  GXX=yes
 else
-  GXX=
+  # Broken: fails on valid input.
+continue
 fi
-ac_test_CXXFLAGS=${CXXFLAGS+set}
-ac_save_CXXFLAGS=$CXXFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
-$as_echo_n "checking whether $CXX accepts -g... " >&6; }
-if test "${ac_cv_prog_cxx_g+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
-   ac_cxx_werror_flag=yes
-   ac_cv_prog_cxx_g=no
-   CXXFLAGS="-g"
-   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
+rm -f conftest.err conftest.i conftest.$ac_ext
 
-  ;
-  return 0;
-}
+  # OK, works on sane cases.  Now check whether nonexistent headers
+  # can be detected and how.
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <ac_nonexistent.h>
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  ac_cv_prog_cxx_g=yes
+if ac_fn_c_try_cpp "$LINENO"; then :
+  # Broken: success on invalid input.
+continue
 else
-  CXXFLAGS=""
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+  # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
 
-int
-main ()
-{
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+  break
+fi
 
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
+    done
+    ac_cv_prog_CPP=$CPP
 
+fi
+  CPP=$ac_cv_prog_CPP
 else
-  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
-	 CXXFLAGS="-g"
-	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+  ac_cv_prog_CPP=$CPP
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
+$as_echo "$CPP" >&6; }
+ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+  # Use a header file that comes with gcc, so configuring glibc
+  # with a fresh cross-compiler works.
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+  # <limits.h> exists even on freestanding compilers.
+  # On the NeXT, cc -E runs the code through the compiler's parser,
+  # not just through cpp. "Syntax error" is here to catch this case.
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+		     Syntax error
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
 
-int
-main ()
-{
+else
+  # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
 
-  ;
-  return 0;
-}
+  # OK, works on sane cases.  Now check whether nonexistent headers
+  # can be detected and how.
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <ac_nonexistent.h>
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  ac_cv_prog_cxx_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+if ac_fn_c_try_cpp "$LINENO"; then :
+  # Broken: success on invalid input.
+continue
+else
+  # Passes both tests.
+ac_preproc_ok=:
+break
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
-$as_echo "$ac_cv_prog_cxx_g" >&6; }
-if test "$ac_test_CXXFLAGS" = set; then
-  CXXFLAGS=$ac_save_CXXFLAGS
-elif test $ac_cv_prog_cxx_g = yes; then
-  if test "$GXX" = yes; then
-    CXXFLAGS="-g -O2"
-  else
-    CXXFLAGS="-g"
-  fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+
 else
-  if test "$GXX" = yes; then
-    CXXFLAGS="-O2"
-  else
-    CXXFLAGS=
-  fi
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details" "$LINENO" 5; }
 fi
+
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -10969,7 +11600,7 @@ if test -z "$CXX"; then
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CXX+set}" = set; then :
+if ${ac_cv_prog_CXX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CXX"; then
@@ -10981,7 +11612,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -11013,7 +11644,7 @@ do
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
+if ${ac_cv_prog_ac_ct_CXX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_CXX"; then
@@ -11025,7 +11656,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_CXX="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -11091,7 +11722,7 @@ done
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
-if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
+if ${ac_cv_cxx_compiler_gnu+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11128,7 +11759,7 @@ ac_test_CXXFLAGS=${CXXFLAGS+set}
 ac_save_CXXFLAGS=$CXXFLAGS
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
-if test "${ac_cv_prog_cxx_g+set}" = set; then :
+if ${ac_cv_prog_cxx_g+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
@@ -11210,7 +11841,17 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
+
+
+func_stripname_cnf ()
+{
+  case ${2} in
+  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
+  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
+  esac
+} # func_stripname_cnf
+
+      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
     (test "X$CXX" != "Xg++"))) ; then
   ac_ext=cpp
@@ -11221,7 +11862,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
 if test -z "$CXXCPP"; then
-  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
+  if ${ac_cv_prog_CXXCPP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
       # Double quotes because CXXCPP needs to be expanded
@@ -11336,7 +11977,8 @@ if $ac_preproc_ok; then :
 else
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-_lt_caught_CXX_error=yes; }
+as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
+See \`config.log' for more details" "$LINENO" 5; }
 fi
 
 ac_ext=c
@@ -11349,9 +11991,6 @@ else
   _lt_caught_CXX_error=yes
 fi
 
-
-
-
 ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -11367,7 +12006,6 @@ export_dynamic_flag_spec_CXX=
 hardcode_direct_CXX=no
 hardcode_direct_absolute_CXX=no
 hardcode_libdir_flag_spec_CXX=
-hardcode_libdir_flag_spec_ld_CXX=
 hardcode_libdir_separator_CXX=
 hardcode_minus_L_CXX=no
 hardcode_shlibpath_var_CXX=unsupported
@@ -11377,6 +12015,8 @@ module_cmds_CXX=
 module_expsym_cmds_CXX=
 link_all_deplibs_CXX=unknown
 old_archive_cmds_CXX=$old_archive_cmds
+reload_flag_CXX=$reload_flag
+reload_cmds_CXX=$reload_cmds
 no_undefined_flag_CXX=
 whole_archive_flag_spec_CXX=
 enable_shared_with_static_runtimes_CXX=no
@@ -11432,6 +12072,7 @@ $RM -r conftest*
 
   # Allow CC to be a program name with arguments.
   lt_save_CC=$CC
+  lt_save_CFLAGS=$CFLAGS
   lt_save_LD=$LD
   lt_save_GCC=$GCC
   GCC=$GXX
@@ -11449,6 +12090,7 @@ $RM -r conftest*
   fi
   test -z "${LDCXX+set}" || LD=$LDCXX
   CC=${CXX-"c++"}
+  CFLAGS=$CXXFLAGS
   compiler=$CC
   compiler_CXX=$CC
   for cc_temp in $compiler""; do
@@ -11459,7 +12101,7 @@ $RM -r conftest*
     *) break;;
   esac
 done
-cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
 
   if test -n "$compiler"; then
@@ -11522,7 +12164,7 @@ else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 $as_echo_n "checking for non-GNU ld... " >&6; }
 fi
-if test "${lt_cv_path_LD+set}" = set; then :
+if ${lt_cv_path_LD+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -z "$LD"; then
@@ -11562,7 +12204,7 @@ fi
 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
-if test "${lt_cv_prog_gnu_ld+set}" = set; then :
+if ${lt_cv_prog_gnu_ld+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   # I'd rather use --version here, but apparently some GNU lds only accept -v.
@@ -11588,8 +12230,8 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
       # Check if GNU C++ uses GNU ld as the underlying linker, since the
       # archiving commands below assume that GNU ld is being used.
       if test "$with_gnu_ld" = yes; then
-        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
-        archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
+        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
@@ -11621,7 +12263,7 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
       # Commands to make compiler produce verbose output that lists
       # what "hidden" libraries, object files and flags are used when
       # linking a shared library.
-      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
+      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 
     else
       GXX=no
@@ -11731,7 +12373,13 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
           allow_undefined_flag_CXX='-berok'
           # Determine the default libpath from the value encoded in an empty
           # executable.
-          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+          if test "${lt_cv_aix_libpath+set}" = set; then
+  aix_libpath=$lt_cv_aix_libpath
+else
+  if ${lt_cv_aix_libpath__CXX+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -11744,26 +12392,33 @@ main ()
 _ACEOF
 if ac_fn_cxx_try_link "$LINENO"; then :
 
-lt_aix_libpath_sed='
-    /Import File Strings/,/^$/ {
-	/^0/ {
-	    s/^0  *\(.*\)$/\1/
-	    p
-	}
-    }'
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-# Check for a 64-bit object if we didn't find anything.
-if test -z "$aix_libpath"; then
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-fi
+  lt_aix_libpath_sed='
+      /Import File Strings/,/^$/ {
+	  /^0/ {
+	      s/^0  *\([^ ]*\) *$/\1/
+	      p
+	  }
+      }'
+  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+  # Check for a 64-bit object if we didn't find anything.
+  if test -z "$lt_cv_aix_libpath__CXX"; then
+    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+  fi
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+  if test -z "$lt_cv_aix_libpath__CXX"; then
+    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
+  fi
+
+fi
+
+  aix_libpath=$lt_cv_aix_libpath__CXX
+fi
 
           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
-          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
         else
           if test "$host_cpu" = ia64; then
 	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
@@ -11772,7 +12427,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
           else
 	    # Determine the default libpath from the value encoded in an
 	    # empty executable.
-	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+	    if test "${lt_cv_aix_libpath+set}" = set; then
+  aix_libpath=$lt_cv_aix_libpath
+else
+  if ${lt_cv_aix_libpath__CXX+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -11785,30 +12446,42 @@ main ()
 _ACEOF
 if ac_fn_cxx_try_link "$LINENO"; then :
 
-lt_aix_libpath_sed='
-    /Import File Strings/,/^$/ {
-	/^0/ {
-	    s/^0  *\(.*\)$/\1/
-	    p
-	}
-    }'
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-# Check for a 64-bit object if we didn't find anything.
-if test -z "$aix_libpath"; then
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-fi
+  lt_aix_libpath_sed='
+      /Import File Strings/,/^$/ {
+	  /^0/ {
+	      s/^0  *\([^ ]*\) *$/\1/
+	      p
+	  }
+      }'
+  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+  # Check for a 64-bit object if we didn't find anything.
+  if test -z "$lt_cv_aix_libpath__CXX"; then
+    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+  fi
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+  if test -z "$lt_cv_aix_libpath__CXX"; then
+    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
+  fi
+
+fi
+
+  aix_libpath=$lt_cv_aix_libpath__CXX
+fi
 
 	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 	    # Warning - without using the other run time loading flags,
 	    # -berok will link without error, but may produce a broken library.
 	    no_undefined_flag_CXX=' ${wl}-bernotok'
 	    allow_undefined_flag_CXX=' ${wl}-berok'
-	    # Exported symbols can be pulled into shared objects from archives
-	    whole_archive_flag_spec_CXX='$convenience'
+	    if test "$with_gnu_ld" = yes; then
+	      # We only use this code for GNU lds that support --whole-archive.
+	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
+	    else
+	      # Exported symbols can be pulled into shared objects from archives
+	      whole_archive_flag_spec_CXX='$convenience'
+	    fi
 	    archive_cmds_need_lc_CXX=yes
 	    # This is similar to how AIX traditionally builds its shared
 	    # libraries.
@@ -11838,28 +12511,75 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
         ;;
 
       cygwin* | mingw* | pw32* | cegcc*)
-        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
-        # as there is no search path for DLLs.
-        hardcode_libdir_flag_spec_CXX='-L$libdir'
-        allow_undefined_flag_CXX=unsupported
-        always_export_symbols_CXX=no
-        enable_shared_with_static_runtimes_CXX=yes
-
-        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
-          archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-          # If the export-symbols file already is a .def file (1st line
-          # is EXPORTS), use it as is; otherwise, prepend...
-          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
-	    cp $export_symbols $output_objdir/$soname.def;
-          else
-	    echo EXPORTS > $output_objdir/$soname.def;
-	    cat $export_symbols >> $output_objdir/$soname.def;
-          fi~
-          $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-        else
-          ld_shlibs_CXX=no
-        fi
-        ;;
+	case $GXX,$cc_basename in
+	,cl* | no,cl*)
+	  # Native MSVC
+	  # hardcode_libdir_flag_spec is actually meaningless, as there is
+	  # no search path for DLLs.
+	  hardcode_libdir_flag_spec_CXX=' '
+	  allow_undefined_flag_CXX=unsupported
+	  always_export_symbols_CXX=yes
+	  file_list_spec_CXX='@'
+	  # Tell ltmain to make .lib files, not .a files.
+	  libext=lib
+	  # Tell ltmain to make .dll files, not .so files.
+	  shrext_cmds=".dll"
+	  # FIXME: Setting linknames here is a bad hack.
+	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
+	  archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+	      $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
+	    else
+	      $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
+	    fi~
+	    $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+	    linknames='
+	  # The linker will not automatically build a static lib if we build a DLL.
+	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
+	  enable_shared_with_static_runtimes_CXX=yes
+	  # Don't use ranlib
+	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
+	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
+	    lt_tool_outputfile="@TOOL_OUTPUT@"~
+	    case $lt_outputfile in
+	      *.exe|*.EXE) ;;
+	      *)
+		lt_outputfile="$lt_outputfile.exe"
+		lt_tool_outputfile="$lt_tool_outputfile.exe"
+		;;
+	    esac~
+	    func_to_tool_file "$lt_outputfile"~
+	    if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
+	      $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+	      $RM "$lt_outputfile.manifest";
+	    fi'
+	  ;;
+	*)
+	  # g++
+	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
+	  # as there is no search path for DLLs.
+	  hardcode_libdir_flag_spec_CXX='-L$libdir'
+	  export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
+	  allow_undefined_flag_CXX=unsupported
+	  always_export_symbols_CXX=no
+	  enable_shared_with_static_runtimes_CXX=yes
+
+	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+	    # If the export-symbols file already is a .def file (1st line
+	    # is EXPORTS), use it as is; otherwise, prepend...
+	    archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+	      cp $export_symbols $output_objdir/$soname.def;
+	    else
+	      echo EXPORTS > $output_objdir/$soname.def;
+	      cat $export_symbols >> $output_objdir/$soname.def;
+	    fi~
+	    $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+	  else
+	    ld_shlibs_CXX=no
+	  fi
+	  ;;
+	esac
+	;;
       darwin* | rhapsody*)
 
 
@@ -11867,7 +12587,12 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   hardcode_direct_CXX=no
   hardcode_automatic_CXX=yes
   hardcode_shlibpath_var_CXX=unsupported
-  whole_archive_flag_spec_CXX=''
+  if test "$lt_cv_ld_force_load" = "yes"; then
+    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
+
+  else
+    whole_archive_flag_spec_CXX=''
+  fi
   link_all_deplibs_CXX=yes
   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   case $cc_basename in
@@ -11875,7 +12600,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
      *) _lt_dar_can_shared=$GCC ;;
   esac
   if test "$_lt_dar_can_shared" = "yes"; then
-    output_verbose_link_cmd=echo
+    output_verbose_link_cmd=func_echo_all
     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
     archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
@@ -11909,7 +12634,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
         esac
         ;;
 
-      freebsd[12]*)
+      freebsd2.*)
         # C++ shared libraries reported to be fairly broken before
 	# switch to ELF
         ld_shlibs_CXX=no
@@ -11928,6 +12653,11 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       gnu*)
         ;;
 
+      haiku*)
+        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+        link_all_deplibs_CXX=yes
+        ;;
+
       hpux9*)
         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
         hardcode_libdir_separator_CXX=:
@@ -11952,11 +12682,11 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
             # explicitly linking system object files so we need to strip them
             # from the output so that they don't get included in the library
             # dependencies.
-            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
             ;;
           *)
             if test "$GXX" = yes; then
-              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
             else
               # FIXME: insert proper C++ library support
               ld_shlibs_CXX=no
@@ -12017,7 +12747,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 	    # explicitly linking system object files so we need to strip them
 	    # from the output so that they don't get included in the library
 	    # dependencies.
-	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
 	    ;;
           *)
 	    if test "$GXX" = yes; then
@@ -12027,10 +12757,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 	            ;;
 	          ia64*)
-	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 	            ;;
 	          *)
-	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 	            ;;
 	        esac
 	      fi
@@ -12060,7 +12790,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
         case $cc_basename in
           CC*)
 	    # SGI C++
-	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
 	    # Archives containing C++ object files must be created using
 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
@@ -12071,9 +12801,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
           *)
 	    if test "$GXX" = yes; then
 	      if test "$with_gnu_ld" = no; then
-	        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 	      else
-	        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
+	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
 	      fi
 	    fi
 	    link_all_deplibs_CXX=yes
@@ -12102,7 +12832,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 	    # explicitly linking system object files so we need to strip them
 	    # from the output so that they don't get included in the library
 	    # dependencies.
-	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
 
 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
@@ -12139,26 +12869,26 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
           pgCC* | pgcpp*)
             # Portland Group C++ compiler
 	    case `$CC -V` in
-	    *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
+	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
 	      prelink_cmds_CXX='tpldir=Template.dir~
 		rm -rf $tpldir~
 		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
-		compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
+		compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
 	      old_archive_cmds_CXX='tpldir=Template.dir~
 		rm -rf $tpldir~
 		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
-		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
+		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
 		$RANLIB $oldlib'
 	      archive_cmds_CXX='tpldir=Template.dir~
 		rm -rf $tpldir~
 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
-		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
+		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 	      archive_expsym_cmds_CXX='tpldir=Template.dir~
 		rm -rf $tpldir~
 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
-		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
+		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 	      ;;
-	    *) # Version 6 will use weak symbols
+	    *) # Version 6 and above use weak symbols
 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 	      ;;
@@ -12166,7 +12896,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
 	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
-	    whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+	    whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
             ;;
 	  cxx*)
 	    # Compaq C++
@@ -12185,9 +12915,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 	    # explicitly linking system object files so we need to strip them
 	    # from the output so that they don't get included in the library
 	    # dependencies.
-	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
 	    ;;
-	  xl*)
+	  xl* | mpixl* | bgxl*)
 	    # IBM XL 8.0 on PPC, with GNU ld
 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
@@ -12207,13 +12937,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 	      archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 	      hardcode_libdir_flag_spec_CXX='-R$libdir'
-	      whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+	      whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 	      compiler_needs_object_CXX=yes
 
 	      # Not sure whether something based on
 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 	      # would be better.
-	      output_verbose_link_cmd='echo'
+	      output_verbose_link_cmd='func_echo_all'
 
 	      # Archives containing C++ object files must be created using
 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
@@ -12282,7 +13012,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 	    export_dynamic_flag_spec_CXX='${wl}-E'
 	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 	  fi
-	  output_verbose_link_cmd=echo
+	  output_verbose_link_cmd=func_echo_all
 	else
 	  ld_shlibs_CXX=no
 	fi
@@ -12317,15 +13047,15 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 	    case $host in
 	      osf3*)
 	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
-	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 		;;
 	      *)
 	        allow_undefined_flag_CXX=' -expect_unresolved \*'
-	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 	          echo "-hidden">> $lib.exp~
-	          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
+	          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
 	          $RM $lib.exp'
 	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 		;;
@@ -12341,17 +13071,17 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 	    # explicitly linking system object files so we need to strip them
 	    # from the output so that they don't get included in the library
 	    # dependencies.
-	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
 	    ;;
 	  *)
 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 	      case $host in
 	        osf3*)
-	          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+	          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 		  ;;
 	        *)
-	          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+	          archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 		  ;;
 	      esac
 
@@ -12361,7 +13091,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 	      # Commands to make compiler produce verbose output that lists
 	      # what "hidden" libraries, object files and flags are used when
 	      # linking a shared library.
-	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
+	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 
 	    else
 	      # FIXME: insert proper C++ library support
@@ -12397,7 +13127,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
       solaris*)
         case $cc_basename in
-          CC*)
+          CC* | sunCC*)
 	    # Sun C++ 4.2, 5.x and Centerline C++
             archive_cmds_need_lc_CXX=yes
 	    no_undefined_flag_CXX=' -zdefs'
@@ -12418,7 +13148,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 	    esac
 	    link_all_deplibs_CXX=yes
 
-	    output_verbose_link_cmd='echo'
+	    output_verbose_link_cmd='func_echo_all'
 
 	    # Archives containing C++ object files must be created using
 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
@@ -12438,14 +13168,14 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
-	        archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
+	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-		  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+		  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
 	        # Commands to make compiler produce verbose output that lists
 	        # what "hidden" libraries, object files and flags are used when
 	        # linking a shared library.
-	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
+	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 	      else
 	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
 	        # platform.
@@ -12456,7 +13186,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 	        # Commands to make compiler produce verbose output that lists
 	        # what "hidden" libraries, object files and flags are used when
 	        # linking a shared library.
-	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
+	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 	      fi
 
 	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
@@ -12510,6 +13240,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
           CC*)
 	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
+	      '"$old_archive_cmds_CXX"
+	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
+	      '"$reload_cmds_CXX"
 	    ;;
 	  *)
 	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
@@ -12571,6 +13305,14 @@ private:
 };
 _LT_EOF
 
+
+_lt_libdeps_save_CFLAGS=$CFLAGS
+case "$CC $CFLAGS " in #(
+*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
+*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
+*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
+esac
+
 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -12584,7 +13326,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   pre_test_object_deps_done=no
 
   for p in `eval "$output_verbose_link_cmd"`; do
-    case $p in
+    case ${prev}${p} in
 
     -L* | -R* | -l*)
        # Some compilers place space between "-{L,R}" and the path.
@@ -12593,13 +13335,22 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
           test $p = "-R"; then
 	 prev=$p
 	 continue
-       else
-	 prev=
        fi
 
+       # Expand the sysroot to ease extracting the directories later.
+       if test -z "$prev"; then
+         case $p in
+         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
+         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
+         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
+         esac
+       fi
+       case $p in
+       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
+       esac
        if test "$pre_test_object_deps_done" = no; then
-	 case $p in
-	 -L* | -R*)
+	 case ${prev} in
+	 -L | -R)
 	   # Internal compiler library paths should come after those
 	   # provided the user.  The postdeps already come after the
 	   # user supplied libs so there is no need to process them.
@@ -12619,8 +13370,10 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
 	 fi
        fi
+       prev=
        ;;
 
+    *.lto.$objext) ;; # Ignore GCC LTO objects
     *.$objext)
        # This assumes that the test object file only shows up
        # once in the compiler output.
@@ -12656,6 +13409,7 @@ else
 fi
 
 $RM -f confest.$objext
+CFLAGS=$_lt_libdeps_save_CFLAGS
 
 # PORTME: override above test on systems where it is broken
 case $host_os in
@@ -12691,7 +13445,7 @@ linux*)
 
 solaris*)
   case $cc_basename in
-  CC*)
+  CC* | sunCC*)
     # The more standards-conforming stlport4 library is
     # incompatible with the Cstd library. Avoid specifying
     # it if it's in CXXFLAGS. Ignore libCrun as
@@ -12756,8 +13510,6 @@ fi
 lt_prog_compiler_pic_CXX=
 lt_prog_compiler_static_CXX=
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
   # C++ specific cases for pic, static, wl, etc.
   if test "$GXX" = yes; then
@@ -12807,6 +13559,11 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
       # DJGPP does not support shared libraries at all
       lt_prog_compiler_pic_CXX=
       ;;
+    haiku*)
+      # PIC is the default for Haiku.
+      # The "-static" flag exists, but is broken.
+      lt_prog_compiler_static_CXX=
+      ;;
     interix[3-9]*)
       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
       # Instead, we relocate shared libraries at runtime.
@@ -12856,6 +13613,11 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 	  ;;
 	esac
 	;;
+      mingw* | cygwin* | os2* | pw32* | cegcc*)
+	# This hack is so that the source file can tell whether it is being
+	# built for inclusion in a dll (and should export symbols for example).
+	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
+	;;
       dgux*)
 	case $cc_basename in
 	  ec++*)
@@ -12945,8 +13707,8 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 	    lt_prog_compiler_pic_CXX=
 	    lt_prog_compiler_static_CXX='-non_shared'
 	    ;;
-	  xlc* | xlC*)
-	    # IBM XL 8.0 on PPC
+	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
+	    # IBM XL 8.0, 9.0 on PPC and BlueGene
 	    lt_prog_compiler_wl_CXX='-Wl,'
 	    lt_prog_compiler_pic_CXX='-qpic'
 	    lt_prog_compiler_static_CXX='-qstaticlink'
@@ -12976,7 +13738,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 	    ;;
 	esac
 	;;
-      netbsd* | netbsdelf*-gnu)
+      netbsd*)
 	;;
       *qnx* | *nto*)
         # QNX uses GNU C++, but need to define -shared option too, otherwise
@@ -13008,7 +13770,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 	;;
       solaris*)
 	case $cc_basename in
-	  CC*)
+	  CC* | sunCC*)
 	    # Sun C++ 4.2, 5.x and Centerline C++
 	    lt_prog_compiler_pic_CXX='-KPIC'
 	    lt_prog_compiler_static_CXX='-Bstatic'
@@ -13073,10 +13835,17 @@ case $host_os in
     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
     ;;
 esac
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
-$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
-
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
+lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
 
 #
 # Check to make sure the PIC flag actually works.
@@ -13084,7 +13853,7 @@ $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
 if test -n "$lt_prog_compiler_pic_CXX"; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
-if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
+if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_pic_works_CXX=no
@@ -13100,15 +13869,15 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:13103: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:13107: \$? = $ac_status" >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
        lt_cv_prog_compiler_pic_works_CXX=yes
@@ -13134,13 +13903,15 @@ fi
 
 
 
+
+
 #
 # Check to make sure the static flag actually works.
 #
 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
-if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
+if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_static_works_CXX=no
@@ -13153,7 +13924,7 @@ else
      if test -s conftest.err; then
        # Append any errors to the config.log.
        cat conftest.err 1>&5
-       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
+       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
        if diff conftest.exp conftest.er2 >/dev/null; then
          lt_cv_prog_compiler_static_works_CXX=yes
@@ -13180,7 +13951,7 @@ fi
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
-if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
+if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_c_o_CXX=no
@@ -13199,16 +13970,16 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:13202: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:13206: \$? = $ac_status" >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
        lt_cv_prog_compiler_c_o_CXX=yes
@@ -13232,7 +14003,7 @@ $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
-if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
+if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_c_o_CXX=no
@@ -13251,16 +14022,16 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:13254: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:13258: \$? = $ac_status" >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
        lt_cv_prog_compiler_c_o_CXX=yes
@@ -13311,30 +14082,37 @@ fi
 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   case $host_os in
   aix[4-9]*)
     # If we're using GNU nm, then we don't want the "-C" option.
     # -C means demangle to AIX nm, but means don't demangle with GNU nm
+    # Also, AIX nm treats weak defined symbols like other global defined
+    # symbols, whereas GNU nm marks them as "W".
     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
-      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
     else
       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
     fi
     ;;
   pw32*)
     export_symbols_cmds_CXX="$ltdll_cmds"
-  ;;
+    ;;
   cygwin* | mingw* | cegcc*)
-    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
-  ;;
-  linux* | k*bsd*-gnu)
-    link_all_deplibs_CXX=no
-  ;;
+    case $cc_basename in
+    cl*)
+      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+      ;;
+    *)
+      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
+      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
+      ;;
+    esac
+    ;;
   *)
     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
-  ;;
+    ;;
   esac
-  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 $as_echo "$ld_shlibs_CXX" >&6; }
@@ -13366,44 +14144,50 @@ x|xyes)
       # to ld, don't add -lc before -lgcc.
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
-      $RM conftest*
-      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  $RM conftest*
+	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
-      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; } 2>conftest.err; then
-        soname=conftest
-        lib=conftest
-        libobjs=conftest.$ac_objext
-        deplibs=
-        wl=$lt_prog_compiler_wl_CXX
-	pic_flag=$lt_prog_compiler_pic_CXX
-        compiler_flags=-v
-        linker_flags=-v
-        verstring=
-        output_objdir=.
-        libname=conftest
-        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
-        allow_undefined_flag_CXX=
-        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
+	  soname=conftest
+	  lib=conftest
+	  libobjs=conftest.$ac_objext
+	  deplibs=
+	  wl=$lt_prog_compiler_wl_CXX
+	  pic_flag=$lt_prog_compiler_pic_CXX
+	  compiler_flags=-v
+	  linker_flags=-v
+	  verstring=
+	  output_objdir=.
+	  libname=conftest
+	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
+	  allow_undefined_flag_CXX=
+	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }
-        then
-	  archive_cmds_need_lc_CXX=no
-        else
-	  archive_cmds_need_lc_CXX=yes
-        fi
-        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
-      else
-        cat conftest.err 1>&5
-      fi
-      $RM conftest*
-      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
-$as_echo "$archive_cmds_need_lc_CXX" >&6; }
+	  then
+	    lt_cv_archive_cmds_need_lc_CXX=no
+	  else
+	    lt_cv_archive_cmds_need_lc_CXX=yes
+	  fi
+	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
+	else
+	  cat conftest.err 1>&5
+	fi
+	$RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
+$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
+      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
       ;;
     esac
   fi
@@ -13471,8 +14255,6 @@ esac
 
 
 
-
-
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 $as_echo_n "checking dynamic linker characteristics... " >&6; }
 
@@ -13498,7 +14280,7 @@ need_version=unknown
 
 case $host_os in
 aix3*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   shlibpath_var=LIBPATH
 
@@ -13507,7 +14289,7 @@ aix3*)
   ;;
 
 aix[4-9]*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   hardcode_into_libs=yes
@@ -13560,7 +14342,7 @@ amigaos*)
   m68k)
     library_names_spec='$libname.ixlibrary $libname.a'
     # Create ${libname}_ixlibrary.a entries in /sys/libs.
-    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
+    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
     ;;
   esac
   ;;
@@ -13572,7 +14354,7 @@ beos*)
   ;;
 
 bsdi[45]*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
@@ -13591,8 +14373,9 @@ cygwin* | mingw* | pw32* | cegcc*)
   need_version=no
   need_lib_prefix=no
 
-  case $GCC,$host_os in
-  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
+  case $GCC,$cc_basename in
+  yes,*)
+    # gcc
     library_names_spec='$libname.dll.a'
     # DLL is installed to $(libdir)/../bin by postinstall_cmds
     postinstall_cmds='base_file=`basename \${file}`~
@@ -13613,36 +14396,82 @@ cygwin* | mingw* | pw32* | cegcc*)
     cygwin*)
       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
-      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
+
       ;;
     mingw* | cegcc*)
       # MinGW DLLs use traditional 'lib' prefix
       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
-      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
-      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
-        # It is most probably a Windows format PATH printed by
-        # mingw gcc, but we are running on Cygwin. Gcc prints its search
-        # path with ; separators, and with drive letters. We can handle the
-        # drive letters (cygwin fileutils understands them), so leave them,
-        # especially as we might pass files found there to a mingw objdump,
-        # which wouldn't understand a cygwinified path. Ahh.
-        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
-      else
-        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
-      fi
       ;;
     pw32*)
       # pw32 DLLs use 'pw' prefix rather than 'lib'
       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       ;;
     esac
+    dynamic_linker='Win32 ld.exe'
+    ;;
+
+  *,cl*)
+    # Native MSVC
+    libname_spec='$name'
+    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+    library_names_spec='${libname}.dll.lib'
+
+    case $build_os in
+    mingw*)
+      sys_lib_search_path_spec=
+      lt_save_ifs=$IFS
+      IFS=';'
+      for lt_path in $LIB
+      do
+        IFS=$lt_save_ifs
+        # Let DOS variable expansion print the short 8.3 style file name.
+        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
+        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
+      done
+      IFS=$lt_save_ifs
+      # Convert to MSYS style.
+      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
+      ;;
+    cygwin*)
+      # Convert to unix form, then to dos form, then back to unix form
+      # but this time dos style (no spaces!) so that the unix form looks
+      # like /cygdrive/c/PROGRA~1:/cygdr...
+      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
+      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
+      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+      ;;
+    *)
+      sys_lib_search_path_spec="$LIB"
+      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
+        # It is most probably a Windows format PATH.
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+      else
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+      fi
+      # FIXME: find the short name or the path components, as spaces are
+      # common. (e.g. "Program Files" -> "PROGRA~1")
+      ;;
+    esac
+
+    # DLL is installed to $(libdir)/../bin by postinstall_cmds
+    postinstall_cmds='base_file=`basename \${file}`~
+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
+      dldir=$destdir/`dirname \$dlpath`~
+      test -d \$dldir || mkdir -p \$dldir~
+      $install_prog $dir/$dlname \$dldir/$dlname'
+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+      dlpath=$dir/\$dldll~
+       $RM \$dlpath'
+    shlibpath_overrides_runpath=yes
+    dynamic_linker='Win32 link.exe'
     ;;
 
   *)
+    # Assume MSVC wrapper
     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
+    dynamic_linker='Win32 ld.exe'
     ;;
   esac
-  dynamic_linker='Win32 ld.exe'
   # FIXME: first we should search . and the directory the executable is in
   shlibpath_var=PATH
   ;;
@@ -13662,7 +14491,7 @@ darwin* | rhapsody*)
   ;;
 
 dgux*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
@@ -13670,10 +14499,6 @@ dgux*)
   shlibpath_var=LD_LIBRARY_PATH
   ;;
 
-freebsd1*)
-  dynamic_linker=no
-  ;;
-
 freebsd* | dragonfly*)
   # DragonFly does not have aout.  When/if they implement a new
   # versioning mechanism, adjust this.
@@ -13681,7 +14506,7 @@ freebsd* | dragonfly*)
     objformat=`/usr/bin/objformat`
   else
     case $host_os in
-    freebsd[123]*) objformat=aout ;;
+    freebsd[23].*) objformat=aout ;;
     *) objformat=elf ;;
     esac
   fi
@@ -13699,7 +14524,7 @@ freebsd* | dragonfly*)
   esac
   shlibpath_var=LD_LIBRARY_PATH
   case $host_os in
-  freebsd2*)
+  freebsd2.*)
     shlibpath_overrides_runpath=yes
     ;;
   freebsd3.[01]* | freebsdelf3.[01]*)
@@ -13719,12 +14544,26 @@ freebsd* | dragonfly*)
   ;;
 
 gnu*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
   shlibpath_var=LD_LIBRARY_PATH
+  shlibpath_overrides_runpath=no
+  hardcode_into_libs=yes
+  ;;
+
+haiku*)
+  version_type=linux # correct to gnu/linux during the next big refactor
+  need_lib_prefix=no
+  need_version=no
+  dynamic_linker="$host_os runtime_loader"
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
+  soname_spec='${libname}${release}${shared_ext}$major'
+  shlibpath_var=LIBRARY_PATH
+  shlibpath_overrides_runpath=yes
+  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   hardcode_into_libs=yes
   ;;
 
@@ -13770,12 +14609,14 @@ hpux9* | hpux10* | hpux11*)
     soname_spec='${libname}${release}${shared_ext}$major'
     ;;
   esac
-  # HP-UX runs *really* slowly unless shared libraries are mode 555.
+  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   postinstall_cmds='chmod 555 $lib'
+  # or fails outright, so override atomically:
+  install_override_mode=555
   ;;
 
 interix[3-9]*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
@@ -13791,7 +14632,7 @@ irix5* | irix6* | nonstopux*)
     nonstopux*) version_type=nonstopux ;;
     *)
 	if test "$lt_cv_prog_gnu_ld" = yes; then
-		version_type=linux
+		version_type=linux # correct to gnu/linux during the next big refactor
 	else
 		version_type=irix
 	fi ;;
@@ -13828,9 +14669,9 @@ linux*oldld* | linux*aout* | linux*coff*)
   dynamic_linker=no
   ;;
 
-# This must be Linux ELF.
+# This must be glibc/ELF.
 linux* | k*bsd*-gnu | kopensolaris*-gnu)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -13838,12 +14679,17 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   shlibpath_var=LD_LIBRARY_PATH
   shlibpath_overrides_runpath=no
+
   # Some binutils ld are patched to set DT_RUNPATH
-  save_LDFLAGS=$LDFLAGS
-  save_libdir=$libdir
-  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
-       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  lt_cv_shlibpath_overrides_runpath=no
+    save_LDFLAGS=$LDFLAGS
+    save_libdir=$libdir
+    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
+	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -13856,13 +14702,17 @@ main ()
 _ACEOF
 if ac_fn_cxx_try_link "$LINENO"; then :
   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
-  shlibpath_overrides_runpath=yes
+  lt_cv_shlibpath_overrides_runpath=yes
 fi
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
-  LDFLAGS=$save_LDFLAGS
-  libdir=$save_libdir
+    LDFLAGS=$save_LDFLAGS
+    libdir=$save_libdir
+
+fi
+
+  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
   # This implies no fast_install, which is unacceptable.
   # Some rework will be needed to allow for fast_install
@@ -13871,7 +14721,7 @@ rm -f core conftest.err conftest.$ac_objext \
 
   # Append ld.so.conf contents to the search path
   if test -f /etc/ld.so.conf; then
-    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
+    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   fi
 
@@ -13884,18 +14734,6 @@ rm -f core conftest.err conftest.$ac_objext \
   dynamic_linker='GNU/Linux ld.so'
   ;;
 
-netbsdelf*-gnu)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=no
-  hardcode_into_libs=yes
-  dynamic_linker='NetBSD ld.elf_so'
-  ;;
-
 netbsd*)
   version_type=sunos
   need_lib_prefix=no
@@ -13915,7 +14753,7 @@ netbsd*)
   ;;
 
 newsos6)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   shlibpath_var=LD_LIBRARY_PATH
   shlibpath_overrides_runpath=yes
@@ -13984,7 +14822,7 @@ rdos*)
   ;;
 
 solaris*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -14009,7 +14847,7 @@ sunos4*)
   ;;
 
 sysv4 | sysv4.3*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
   shlibpath_var=LD_LIBRARY_PATH
@@ -14033,7 +14871,7 @@ sysv4 | sysv4.3*)
 
 sysv4*MP*)
   if test -d /usr/nec ;then
-    version_type=linux
+    version_type=linux # correct to gnu/linux during the next big refactor
     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
     soname_spec='$libname${shared_ext}.$major'
     shlibpath_var=LD_LIBRARY_PATH
@@ -14064,7 +14902,7 @@ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
 tpf*)
   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -14074,7 +14912,7 @@ tpf*)
   ;;
 
 uts4*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
   shlibpath_var=LD_LIBRARY_PATH
@@ -14135,6 +14973,8 @@ fi
 
 
 
+
+
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 hardcode_action_CXX=
@@ -14182,6 +15022,7 @@ fi
   fi # test -n "$compiler"
 
   CC=$lt_save_CC
+  CFLAGS=$lt_save_CFLAGS
   LDCXX=$LD
   LD=$lt_save_LD
   GCC=$lt_save_GCC
@@ -14201,7 +15042,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
-if test "${ac_cv_path_GREP+set}" = set; then :
+if ${ac_cv_path_GREP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -z "$GREP"; then
@@ -14215,7 +15056,7 @@ do
     for ac_prog in grep ggrep; do
     for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
-      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
+      as_fn_executable_p "$ac_path_GREP" || continue
 # Check for GNU ac_path_GREP and select it if it is found.
   # Check for GNU $ac_path_GREP
 case `"$ac_path_GREP" --version 2>&1` in
@@ -14266,7 +15107,7 @@ $as_echo "$ac_cv_path_GREP" >&6; }
 set dummy ant; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_ANT+set}" = set; then :
+if ${ac_cv_path_ANT+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $ANT in
@@ -14280,7 +15121,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_ANT="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -14308,7 +15149,7 @@ fi
 set dummy cpp; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_CPPBIN+set}" = set; then :
+if ${ac_cv_path_CPPBIN+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $CPPBIN in
@@ -14322,7 +15163,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_CPPBIN="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -14345,13 +15186,13 @@ fi
 
 
 if test "x$CPPBIN" != "x"; then
-  SQLPP="${CPPBIN} -traditional-cpp -P"
+  SQLPP="${CPPBIN} -w -traditional-cpp -P"
 else
   # Extract the first word of "gpp_", so it can be a program name with args.
 set dummy gpp_; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_GPP+set}" = set; then :
+if ${ac_cv_path_GPP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $GPP in
@@ -14365,7 +15206,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_GPP="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -14389,7 +15230,7 @@ fi
 
   if test "x$GPP" != "x"; then
     SQLPP="${GPP} -C -s \'"   else
-    SQLPP="${CPP} -traditional-cpp"
+    SQLPP="${CPP} -w -traditional-cpp"
   fi
 fi
 
@@ -14400,7 +15241,7 @@ PICFLAGS="$lt_prog_compiler_pic"
 WARNFLAGS=""
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -Wall" >&5
 $as_echo_n "checking if $compiler supports -Wall... " >&6; }
-if test "${_cv_wall+set}" = set; then :
+if ${_cv_wall+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   _cv_wall=no
@@ -14416,15 +15257,15 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14419: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:14423: \$? = $ac_status" >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
        _cv_wall=yes
@@ -14444,7 +15285,7 @@ fi
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -Wmissing-prototypes" >&5
 $as_echo_n "checking if $compiler supports -Wmissing-prototypes... " >&6; }
-if test "${_cv_misprot+set}" = set; then :
+if ${_cv_misprot+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   _cv_misprot=no
@@ -14460,15 +15301,15 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14463: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:14467: \$? = $ac_status" >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
        _cv_misprot=yes
@@ -14491,7 +15332,7 @@ fi
 NUMERICFLAGS=""
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -ffloat-store" >&5
 $as_echo_n "checking if $compiler supports -ffloat-store... " >&6; }
-if test "${dummy_cv_ffloat_store+set}" = set; then :
+if ${dummy_cv_ffloat_store+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   dummy_cv_ffloat_store=no
@@ -14507,15 +15348,15 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14510: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:14514: \$? = $ac_status" >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
        dummy_cv_ffloat_store=yes
@@ -14569,7 +15410,7 @@ do
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_LEX+set}" = set; then :
+if ${ac_cv_prog_LEX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$LEX"; then
@@ -14581,7 +15422,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_LEX="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -14613,7 +15454,8 @@ a { ECHO; }
 b { REJECT; }
 c { yymore (); }
 d { yyless (1); }
-e { yyless (input () != 0); }
+e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
+    yyless ((input () != 0)); }
 f { unput (yytext[0]); }
 . { BEGIN INITIAL; }
 %%
@@ -14639,7 +15481,7 @@ $as_echo "$ac_try_echo"; } >&5
   test $ac_status = 0; }
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
 $as_echo_n "checking lex output file root... " >&6; }
-if test "${ac_cv_prog_lex_root+set}" = set; then :
+if ${ac_cv_prog_lex_root+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -14658,7 +15500,7 @@ LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
 if test -z "${LEXLIB+set}"; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
 $as_echo_n "checking lex library... " >&6; }
-if test "${ac_cv_lib_lex+set}" = set; then :
+if ${ac_cv_lib_lex+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -14688,7 +15530,7 @@ fi
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
 $as_echo_n "checking whether yytext is a pointer... " >&6; }
-if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
+if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   # POSIX says lex can declare yytext either as a pointer or an array; the
@@ -14699,7 +15541,8 @@ ac_save_LIBS=$LIBS
 LIBS="$LEXLIB $ac_save_LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#define YYTEXT_POINTER 1
+
+  #define YYTEXT_POINTER 1
 `cat $LEX_OUTPUT_ROOT.c`
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
@@ -14726,7 +15569,7 @@ do
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_YACC+set}" = set; then :
+if ${ac_cv_prog_YACC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$YACC"; then
@@ -14738,7 +15581,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_YACC="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -14767,7 +15610,7 @@ test -n "$YACC" || YACC="yacc"
 
 
 ac_fn_c_check_header_mongrel "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
-if test "x$ac_cv_header_ieeefp_h" = x""yes; then :
+if test "x$ac_cv_header_ieeefp_h" = xyes; then :
   HAVE_IEEEFP_H=1
 else
   HAVE_IEEEFP_H=0
@@ -14780,7 +15623,7 @@ cat >>confdefs.h <<_ACEOF
 _ACEOF
 
 ac_fn_c_check_header_mongrel "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
-if test "x$ac_cv_header_termios_h" = x""yes; then :
+if test "x$ac_cv_header_termios_h" = xyes; then :
   HAVE_TERMIOS_H=1
 else
   HAVE_TERMIOS_H=0
@@ -14795,7 +15638,7 @@ _ACEOF
 
 
 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
-if test "x$ac_cv_func_vasprintf" = x""yes; then :
+if test "x$ac_cv_func_vasprintf" = xyes; then :
   HAVE_VASPRINTF=1
 else
   HAVE_VASPRINTF=0
@@ -14804,7 +15647,7 @@ fi
 $as_echo "#define HAVE_VASPRINTF 1" >>confdefs.h
 
 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
-if test "x$ac_cv_func_asprintf" = x""yes; then :
+if test "x$ac_cv_func_asprintf" = xyes; then :
   HAVE_ASPRINTF=1
 else
   HAVE_ASPRINTF=0
@@ -14814,7 +15657,7 @@ $as_echo "#define HAVE_ASPRINTF 1" >>confdefs.h
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
-if test "${ac_cv_sys_largefile_source+set}" = set; then :
+if ${ac_cv_sys_largefile_source+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   while :; do
@@ -14895,7 +15738,7 @@ esac
 set dummy perl; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_PERL+set}" = set; then :
+if ${ac_cv_path_PERL+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $PERL in
@@ -14909,7 +15752,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -14941,7 +15784,7 @@ fi
 set dummy convert; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_IMAGEMAGICK+set}" = set; then :
+if ${ac_cv_path_IMAGEMAGICK+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $IMAGEMAGICK in
@@ -14955,7 +15798,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_IMAGEMAGICK="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -14986,7 +15829,7 @@ fi
 set dummy xsltproc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_XSLTPROC+set}" = set; then :
+if ${ac_cv_path_XSLTPROC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $XSLTPROC in
@@ -15000,7 +15843,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -15031,7 +15874,7 @@ fi
 set dummy xmllint; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_XMLLINT+set}" = set; then :
+if ${ac_cv_path_XMLLINT+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $XMLLINT in
@@ -15045,7 +15888,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -15076,7 +15919,7 @@ fi
 set dummy dblatex; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_DBLATEX+set}" = set; then :
+if ${ac_cv_path_DBLATEX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $DBLATEX in
@@ -15090,7 +15933,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_DBLATEX="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -15192,12 +16035,12 @@ fi
 
 CUNIT_LDFLAGS=""
 ac_fn_c_check_header_mongrel "$LINENO" "CUnit/CUnit.h" "ac_cv_header_CUnit_CUnit_h" "$ac_includes_default"
-if test "x$ac_cv_header_CUnit_CUnit_h" = x""yes; then :
+if test "x$ac_cv_header_CUnit_CUnit_h" = xyes; then :
 
 	CUNIT_CPPFLAGS="$CPPFLAGS"
 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CU_initialize_registry in -lcunit" >&5
 $as_echo_n "checking for CU_initialize_registry in -lcunit... " >&6; }
-if test "${ac_cv_lib_cunit_CU_initialize_registry+set}" = set; then :
+if ${ac_cv_lib_cunit_CU_initialize_registry+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -15231,7 +16074,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cunit_CU_initialize_registry" >&5
 $as_echo "$ac_cv_lib_cunit_CU_initialize_registry" >&6; }
-if test "x$ac_cv_lib_cunit_CU_initialize_registry" = x""yes; then :
+if test "x$ac_cv_lib_cunit_CU_initialize_registry" = xyes; then :
   CUNIT_LDFLAGS="$LDFLAGS -lcunit"
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not locate CUnit required for unit tests" >&5
@@ -15279,7 +16122,7 @@ fi
 
 HAVE_ICONV_H=0
 ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"
-if test "x$ac_cv_header_iconv_h" = x""yes; then :
+if test "x$ac_cv_header_iconv_h" = xyes; then :
   HAVE_ICONV_H=1
 fi
 
@@ -15288,7 +16131,7 @@ fi
 if test "x$HAVE_ICONV_H" = "x1"; then
 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libiconv_open in -liconv" >&5
 $as_echo_n "checking for libiconv_open in -liconv... " >&6; }
-if test "${ac_cv_lib_iconv_libiconv_open+set}" = set; then :
+if ${ac_cv_lib_iconv_libiconv_open+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -15322,14 +16165,14 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_libiconv_open" >&5
 $as_echo "$ac_cv_lib_iconv_libiconv_open" >&6; }
-if test "x$ac_cv_lib_iconv_libiconv_open" = x""yes; then :
+if test "x$ac_cv_lib_iconv_libiconv_open" = xyes; then :
   ICONV_LDFLAGS="$ICONV_LDFLAGS -liconv" HAVE_ICONV=1
 fi
 
 	if test "x$HAVE_ICONV" = "x"; then
 	        	        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv_open in -lc" >&5
 $as_echo_n "checking for iconv_open in -lc... " >&6; }
-if test "${ac_cv_lib_c_iconv_open+set}" = set; then :
+if ${ac_cv_lib_c_iconv_open+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -15363,14 +16206,14 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_iconv_open" >&5
 $as_echo "$ac_cv_lib_c_iconv_open" >&6; }
-if test "x$ac_cv_lib_c_iconv_open" = x""yes; then :
+if test "x$ac_cv_lib_c_iconv_open" = xyes; then :
   ICONV_LDFLAGS="$ICONV_LDFLAGS -lc" HAVE_ICONV=1
 fi
 
 		if test "x$HAVE_ICONV" = "x"; then
 						{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv_open in -liconv" >&5
 $as_echo_n "checking for iconv_open in -liconv... " >&6; }
-if test "${ac_cv_lib_iconv_iconv_open+set}" = set; then :
+if ${ac_cv_lib_iconv_iconv_open+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -15404,7 +16247,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_iconv_open" >&5
 $as_echo "$ac_cv_lib_iconv_iconv_open" >&6; }
-if test "x$ac_cv_lib_iconv_iconv_open" = x""yes; then :
+if test "x$ac_cv_lib_iconv_iconv_open" = xyes; then :
   ICONV_LDFLAGS="$ICONV_LDFLAGS -liconv" HAVE_ICONV=1
 fi
 
@@ -15462,7 +16305,7 @@ elif test "x$PG_CONFIG" = "x"; then
 set dummy pg_config; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_PG_CONFIG+set}" = set; then :
+if ${ac_cv_path_PG_CONFIG+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $PG_CONFIG in
@@ -15476,7 +16319,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -15525,8 +16368,8 @@ fi
 
 
 
-PGSQL_MAJOR_VERSION=`$PG_CONFIG --version | sed 's/[A-Za-z ]*//' | cut -d. -f1 | sed 's/[^0-9]//g'`
-PGSQL_MINOR_VERSION=`$PG_CONFIG --version | sed 's/[A-Za-z ]*//' | cut -d. -f2 | sed 's/[^0-9]//g'`
+PGSQL_MAJOR_VERSION=`$PG_CONFIG --version | sed 's/[^0-9]*\([0-9]\)\.\([0-9]\).*/\1/'`
+PGSQL_MINOR_VERSION=`$PG_CONFIG --version | sed 's/[^0-9]*\([0-9]\)\.\([0-9]\).*/\2/'`
 PGSQL_FULL_VERSION=`$PG_CONFIG --version`
 POSTGIS_PGSQL_VERSION="$PGSQL_MAJOR_VERSION$PGSQL_MINOR_VERSION"
 
@@ -15588,7 +16431,7 @@ PGSQL_SHAREDIR=`$PG_CONFIG --sharedir`
 CPPFLAGS_SAVE="$CPPFLAGS"
 CPPFLAGS="$PGSQL_FE_CPPFLAGS"
 ac_fn_c_check_header_mongrel "$LINENO" "libpq-fe.h" "ac_cv_header_libpq_fe_h" "$ac_includes_default"
-if test "x$ac_cv_header_libpq_fe_h" = x""yes; then :
+if test "x$ac_cv_header_libpq_fe_h" = xyes; then :
 
 else
   as_fn_error $? "could not find libpq-fe.h" "$LINENO" 5
@@ -15601,7 +16444,7 @@ LIBS_SAVE="$LIBS"
 LIBS="$PGSQL_FE_LDFLAGS"
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQserverVersion in -lpq" >&5
 $as_echo_n "checking for PQserverVersion in -lpq... " >&6; }
-if test "${ac_cv_lib_pq_PQserverVersion+set}" = set; then :
+if ${ac_cv_lib_pq_PQserverVersion+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -15635,7 +16478,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQserverVersion" >&5
 $as_echo "$ac_cv_lib_pq_PQserverVersion" >&6; }
-if test "x$ac_cv_lib_pq_PQserverVersion" = x""yes; then :
+if test "x$ac_cv_lib_pq_PQserverVersion" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LIBPQ 1
 _ACEOF
@@ -15691,7 +16534,7 @@ if test "x$XML2CONFIG" = "x"; then
 set dummy xml2-config; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_XML2CONFIG+set}" = set; then :
+if ${ac_cv_path_XML2CONFIG+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $XML2CONFIG in
@@ -15705,7 +16548,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_XML2CONFIG="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -15773,7 +16616,7 @@ LIBS_SAVE="$LIBS"
 LIBS="$XML2_LDFLAGS"
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlInitParser in -lxml2" >&5
 $as_echo_n "checking for xmlInitParser in -lxml2... " >&6; }
-if test "${ac_cv_lib_xml2_xmlInitParser+set}" = set; then :
+if ${ac_cv_lib_xml2_xmlInitParser+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -15807,7 +16650,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlInitParser" >&5
 $as_echo "$ac_cv_lib_xml2_xmlInitParser" >&6; }
-if test "x$ac_cv_lib_xml2_xmlInitParser" = x""yes; then :
+if test "x$ac_cv_lib_xml2_xmlInitParser" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LIBXML2 1
 _ACEOF
@@ -15844,7 +16687,7 @@ if test "x$GEOSCONFIG" = "x"; then
 set dummy geos-config; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_GEOSCONFIG+set}" = set; then :
+if ${ac_cv_path_GEOSCONFIG+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $GEOSCONFIG in
@@ -15858,7 +16701,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_GEOSCONFIG="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -15923,7 +16766,7 @@ GEOS_CPPFLAGS=-I`$GEOSCONFIG --includes`
 CPPFLAGS_SAVE="$CPPFLAGS"
 CPPFLAGS="$GEOS_CPPFLAGS"
 ac_fn_c_check_header_mongrel "$LINENO" "geos_c.h" "ac_cv_header_geos_c_h" "$ac_includes_default"
-if test "x$ac_cv_header_geos_c_h" = x""yes; then :
+if test "x$ac_cv_header_geos_c_h" = xyes; then :
 
 else
   as_fn_error $? "could not find geos_c.h - you may need to specify the directory of a geos-config file using --with-geosconfig" "$LINENO" 5
@@ -15936,7 +16779,7 @@ LIBS_SAVE="$LIBS"
 LIBS="$GEOS_LDFLAGS"
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initGEOS in -lgeos_c" >&5
 $as_echo_n "checking for initGEOS in -lgeos_c... " >&6; }
-if test "${ac_cv_lib_geos_c_initGEOS+set}" = set; then :
+if ${ac_cv_lib_geos_c_initGEOS+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -15970,7 +16813,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_geos_c_initGEOS" >&5
 $as_echo "$ac_cv_lib_geos_c_initGEOS" >&6; }
-if test "x$ac_cv_lib_geos_c_initGEOS" = x""yes; then :
+if test "x$ac_cv_lib_geos_c_initGEOS" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LIBGEOS_C 1
 _ACEOF
@@ -16001,7 +16844,7 @@ else
 set dummy sfcgal-config; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_SFCGAL_CONFIG+set}" = set; then :
+if ${ac_cv_path_SFCGAL_CONFIG+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $SFCGAL_CONFIG in
@@ -16015,7 +16858,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_SFCGAL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -16101,7 +16944,7 @@ $as_echo "checking user-specified gettext location: $GETTEXT_PATH" >&6; }
 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 set x ${MAKE-make}
 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
-if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat >conftest.make <<\_ACEOF
@@ -16145,7 +16988,7 @@ fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 $as_echo_n "checking for a BSD-compatible install... " >&6; }
 if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then :
+if ${ac_cv_path_install+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -16165,7 +17008,7 @@ case $as_dir/ in #((
     # by default.
     for ac_prog in ginstall scoinst install; do
       for ac_exec_ext in '' $ac_executable_extensions; do
-	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
+	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 	  if test $ac_prog = install &&
 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 	    # AIX install.  It has an incompatible calling convention.
@@ -16224,7 +17067,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 if test -z "$MKDIR_P"; then
-  if test "${ac_cv_path_mkdir+set}" = set; then :
+  if ${ac_cv_path_mkdir+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -16234,7 +17077,7 @@ do
   test -z "$as_dir" && as_dir=.
     for ac_prog in mkdir gmkdir; do
 	 for ac_exec_ext in '' $ac_executable_extensions; do
-	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
+	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 	     'mkdir (GNU coreutils) '* | \
 	     'mkdir (coreutils) '* | \
@@ -16263,6 +17106,7 @@ fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 $as_echo "$MKDIR_P" >&6; }
 
+
 mkdir_p="$MKDIR_P"
 case $mkdir_p in
   [\\/$]* | ?:[\\/]*) ;;
@@ -16322,7 +17166,7 @@ rm -f conf$$.file
 set dummy msgfmt; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_MSGFMT+set}" = set; then :
+if ${ac_cv_path_MSGFMT+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case "$MSGFMT" in
@@ -16363,7 +17207,7 @@ fi
 set dummy gmsgfmt; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_GMSGFMT+set}" = set; then :
+if ${ac_cv_path_GMSGFMT+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $GMSGFMT in
@@ -16377,7 +17221,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -16445,7 +17289,7 @@ rm -f conf$$.file
 set dummy xgettext; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_XGETTEXT+set}" = set; then :
+if ${ac_cv_path_XGETTEXT+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case "$XGETTEXT" in
@@ -16523,7 +17367,7 @@ rm -f conf$$.file
 set dummy msgmerge; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_MSGMERGE+set}" = set; then :
+if ${ac_cv_path_MSGMERGE+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case "$MSGMERGE" in
@@ -16645,7 +17489,7 @@ else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 $as_echo_n "checking for non-GNU ld... " >&6; }
 fi
-if test "${acl_cv_path_LD+set}" = set; then :
+if ${acl_cv_path_LD+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -z "$LD"; then
@@ -16682,7 +17526,7 @@ fi
 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
-if test "${acl_cv_prog_gnu_ld+set}" = set; then :
+if ${acl_cv_prog_gnu_ld+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
@@ -16702,7 +17546,7 @@ with_gnu_ld=$acl_cv_prog_gnu_ld
 
                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
 $as_echo_n "checking for shared library run path origin... " >&6; }
-if test "${acl_cv_rpath+set}" = set; then :
+if ${acl_cv_rpath+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -17216,7 +18060,7 @@ fi
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
-if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
+if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   gt_save_LIBS="$LIBS"
@@ -17250,7 +18094,7 @@ $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
   fi
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
-if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
+if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   gt_save_LIBS="$LIBS"
@@ -17326,7 +18170,7 @@ typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
 $as_echo_n "checking for GNU gettext in libc... " >&6; }
-if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
+if eval \${$gt_func_gnugettext_libc+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -17389,7 +18233,7 @@ $as_echo "$ac_res" >&6; }
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
 $as_echo_n "checking for iconv... " >&6; }
-if test "${am_cv_func_iconv+set}" = set; then :
+if ${am_cv_func_iconv+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -17446,7 +18290,7 @@ $as_echo "$am_cv_func_iconv" >&6; }
   if test "$am_cv_func_iconv" = yes; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
 $as_echo_n "checking for working iconv... " >&6; }
-if test "${am_cv_func_iconv_works+set}" = set; then :
+if ${am_cv_func_iconv_works+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -17997,7 +18841,7 @@ fi
 
           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
-if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
+if eval \${$gt_func_gnugettext_libintl+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   gt_save_CPPFLAGS="$CPPFLAGS"
@@ -18213,7 +19057,7 @@ fi
 CPPFLAGS_SAVE="$CPPFLAGS"
 CPPFLAGS="$PROJ_CPPFLAGS"
 ac_fn_c_check_header_mongrel "$LINENO" "proj_api.h" "ac_cv_header_proj_api_h" "$ac_includes_default"
-if test "x$ac_cv_header_proj_api_h" = x""yes; then :
+if test "x$ac_cv_header_proj_api_h" = xyes; then :
 
 else
   as_fn_error $? "could not find proj_api.h - you may need to specify the directory of a PROJ.4 installation using --with-projdir" "$LINENO" 5
@@ -18226,7 +19070,7 @@ fi
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error $? "cannot run test program while cross compiling
-See \`config.log' for more details" "$LINENO" 5 ; }
+See \`config.log' for more details" "$LINENO" 5; }
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -18284,7 +19128,7 @@ LIBS_SAVE="$LIBS"
 LIBS="$PROJ_LDFLAGS"
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pj_get_release in -lproj" >&5
 $as_echo_n "checking for pj_get_release in -lproj... " >&6; }
-if test "${ac_cv_lib_proj_pj_get_release+set}" = set; then :
+if ${ac_cv_lib_proj_pj_get_release+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -18318,7 +19162,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_proj_pj_get_release" >&5
 $as_echo "$ac_cv_lib_proj_pj_get_release" >&6; }
-if test "x$ac_cv_lib_proj_pj_get_release" = x""yes; then :
+if test "x$ac_cv_lib_proj_pj_get_release" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LIBPROJ 1
 _ACEOF
@@ -18377,7 +19221,7 @@ fi
 CPPFLAGS_SAVE="$CPPFLAGS"
 CPPFLAGS="$JSON_CPPFLAGS"
 ac_fn_c_check_header_mongrel "$LINENO" "json/json.h" "ac_cv_header_json_json_h" "$ac_includes_default"
-if test "x$ac_cv_header_json_json_h" = x""yes; then :
+if test "x$ac_cv_header_json_json_h" = xyes; then :
   HAVE_JSON=yes
 fi
 
@@ -18388,7 +19232,7 @@ LIBS_SAVE="$LIBS"
 LIBS="$JSON_LDFLAGS"
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for json_object_get in -ljson-c" >&5
 $as_echo_n "checking for json_object_get in -ljson-c... " >&6; }
-if test "${ac_cv_lib_json_c_json_object_get+set}" = set; then :
+if ${ac_cv_lib_json_c_json_object_get+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -18422,13 +19266,13 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_json_c_json_object_get" >&5
 $as_echo "$ac_cv_lib_json_c_json_object_get" >&6; }
-if test "x$ac_cv_lib_json_c_json_object_get" = x""yes; then :
+if test "x$ac_cv_lib_json_c_json_object_get" = xyes; then :
   HAVE_JSON=yes; JSON_LDFLAGS="${JSON_LDFLAGS} -ljson-c"
 else
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for json_object_get in -ljson" >&5
 $as_echo_n "checking for json_object_get in -ljson... " >&6; }
-if test "${ac_cv_lib_json_json_object_get+set}" = set; then :
+if ${ac_cv_lib_json_json_object_get+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -18462,7 +19306,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_json_json_object_get" >&5
 $as_echo "$ac_cv_lib_json_json_object_get" >&6; }
-if test "x$ac_cv_lib_json_json_object_get" = x""yes; then :
+if test "x$ac_cv_lib_json_json_object_get" = xyes; then :
   HAVE_JSON=yes; JSON_LDFLAGS="${JSON_LDFLAGS} -ljson"
 fi
 
@@ -18518,7 +19362,7 @@ fi
 set dummy pkg-config; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
+if ${ac_cv_path_PKG_CONFIG+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $PKG_CONFIG in
@@ -18532,7 +19376,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -19023,7 +19867,7 @@ else
 set dummy gdal-config; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_GDAL_CONFIG+set}" = set; then :
+if ${ac_cv_path_GDAL_CONFIG+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $GDAL_CONFIG in
@@ -19037,7 +19881,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_GDAL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -19127,7 +19971,7 @@ done
 
 				{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GDALAllRegister" >&5
 $as_echo_n "checking for library containing GDALAllRegister... " >&6; }
-if test "${ac_cv_search_GDALAllRegister+set}" = set; then :
+if ${ac_cv_search_GDALAllRegister+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -19161,11 +20005,11 @@ for ac_lib in '' gdal; do
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_GDALAllRegister+set}" = set; then :
+  if ${ac_cv_search_GDALAllRegister+:} false; then :
   break
 fi
 done
-if test "${ac_cv_search_GDALAllRegister+set}" = set; then :
+if ${ac_cv_search_GDALAllRegister+:} false; then :
 
 else
   ac_cv_search_GDALAllRegister=no
@@ -19188,7 +20032,7 @@ fi
 
 				{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OGRRegisterAll" >&5
 $as_echo_n "checking for library containing OGRRegisterAll... " >&6; }
-if test "${ac_cv_search_OGRRegisterAll+set}" = set; then :
+if ${ac_cv_search_OGRRegisterAll+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -19222,11 +20066,11 @@ for ac_lib in '' gdal; do
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_OGRRegisterAll+set}" = set; then :
+  if ${ac_cv_search_OGRRegisterAll+:} false; then :
   break
 fi
 done
-if test "${ac_cv_search_OGRRegisterAll+set}" = set; then :
+if ${ac_cv_search_OGRRegisterAll+:} false; then :
 
 else
   ac_cv_search_OGRRegisterAll=no
@@ -19249,7 +20093,7 @@ fi
 
 				{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GDALFPolygonize" >&5
 $as_echo_n "checking for library containing GDALFPolygonize... " >&6; }
-if test "${ac_cv_search_GDALFPolygonize+set}" = set; then :
+if ${ac_cv_search_GDALFPolygonize+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -19283,11 +20127,11 @@ for ac_lib in '' gdal; do
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_GDALFPolygonize+set}" = set; then :
+  if ${ac_cv_search_GDALFPolygonize+:} false; then :
   break
 fi
 done
-if test "${ac_cv_search_GDALFPolygonize+set}" = set; then :
+if ${ac_cv_search_GDALFPolygonize+:} false; then :
 
 else
   ac_cv_search_GDALFPolygonize=no
@@ -19438,10 +20282,21 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
      :end' >>confcache
 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   if test -w "$cache_file"; then
-    test "x$cache_file" != "x/dev/null" &&
+    if test "x$cache_file" != "x/dev/null"; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 $as_echo "$as_me: updating cache $cache_file" >&6;}
-    cat confcache >$cache_file
+      if test ! -f "$cache_file" || test -h "$cache_file"; then
+	cat confcache >"$cache_file"
+      else
+        case $cache_file in #(
+        */* | ?:*)
+	  mv -f confcache "$cache_file"$$ &&
+	  mv -f "$cache_file"$$ "$cache_file" ;; #(
+        *)
+	  mv -f confcache "$cache_file" ;;
+	esac
+      fi
+    fi
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
@@ -19473,7 +20328,7 @@ LTLIBOBJS=$ac_ltlibobjs
 
 
 
-: ${CONFIG_STATUS=./config.status}
+: "${CONFIG_STATUS=./config.status}"
 ac_write_fail=0
 ac_clean_files_save=$ac_clean_files
 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
@@ -19574,6 +20429,7 @@ fi
 IFS=" ""	$as_nl"
 
 # Find who we are.  Look in the path if we contain no directory separator.
+as_myself=
 case $0 in #((
   *[\\/]* ) as_myself=$0 ;;
   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -19769,16 +20625,16 @@ if (echo >conf$$.file) 2>/dev/null; then
     # ... but there are two gotchas:
     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
-    # In both cases, we have to default to `cp -p'.
+    # In both cases, we have to default to `cp -pR'.
     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
-      as_ln_s='cp -p'
+      as_ln_s='cp -pR'
   elif ln conf$$.file conf$$ 2>/dev/null; then
     as_ln_s=ln
   else
-    as_ln_s='cp -p'
+    as_ln_s='cp -pR'
   fi
 else
-  as_ln_s='cp -p'
+  as_ln_s='cp -pR'
 fi
 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 rmdir conf$$.dir 2>/dev/null
@@ -19838,28 +20694,16 @@ else
   as_mkdir_p=false
 fi
 
-if test -x / >/dev/null 2>&1; then
-  as_test_x='test -x'
-else
-  if ls -dL / >/dev/null 2>&1; then
-    as_ls_L_option=L
-  else
-    as_ls_L_option=
-  fi
-  as_test_x='
-    eval sh -c '\''
-      if test -d "$1"; then
-	test -d "$1/.";
-      else
-	case $1 in #(
-	-*)set "./$1";;
-	esac;
-	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
-	???[sx]*):;;*)false;;esac;fi
-    '\'' sh
-  '
-fi
-as_executable_p=$as_test_x
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+  test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
 
 # Sed expression to map a string onto a valid CPP name.
 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -19881,7 +20725,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # values after options handling.
 ac_log="
 This file was extended by $as_me, which was
-generated by GNU Autoconf 2.67.  Invocation command line was
+generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
   CONFIG_HEADERS  = $CONFIG_HEADERS
@@ -19947,10 +20791,10 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
 config.status
-configured by $0, generated by GNU Autoconf 2.67,
+configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
-Copyright (C) 2010 Free Software Foundation, Inc.
+Copyright (C) 2012 Free Software Foundation, Inc.
 This config.status script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it."
 
@@ -19958,6 +20802,7 @@ ac_pwd='$ac_pwd'
 srcdir='$srcdir'
 INSTALL='$INSTALL'
 MKDIR_P='$MKDIR_P'
+AWK='$AWK'
 test -n "\$AWK" || AWK=awk
 _ACEOF
 
@@ -20040,7 +20885,7 @@ fi
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 if \$ac_cs_recheck; then
-  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   shift
   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   CONFIG_SHELL='$SHELL'
@@ -20073,184 +20918,208 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 sed_quote_subst='$sed_quote_subst'
 double_quote_subst='$double_quote_subst'
 delay_variable_subst='$delay_variable_subst'
-macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
-macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
-enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
-enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
-pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
-enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
-host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
-host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
-host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
-build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
-build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
-build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
-SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
-Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
-GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
-EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
-FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
-LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
-NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
-LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
-max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
-ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
-exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
-lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
-lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
-lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
-reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
-reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
-deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
-file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
-AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
-AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
-STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
-RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
-old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
-CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
-compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
-GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
-lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
-lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
-lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
-lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
-objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
-SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
-ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
-MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
-lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
-lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
-lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
-lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
-lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
-need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
-DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
-NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
-LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
-OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
-OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
-libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
-shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
-enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
-export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
-whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
-compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
-old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
-allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
-no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
-inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
-link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
-fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
-always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
-export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
-include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
-prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
-variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
-need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
-need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
-version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
-runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
-shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
-shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
-libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
-library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
-soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
-postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
-finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
-sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
-sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
-enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
-enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
-enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
-old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
-striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
-compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
-predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
-postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
-predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
-postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
-compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
-LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
-compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
+macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
+macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
+enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
+enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
+pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
+enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
+SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
+ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
+PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
+host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
+host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
+host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
+build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
+build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
+build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
+SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
+Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
+GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
+EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
+FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
+LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
+NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
+LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
+max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
+ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
+exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
+lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
+lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
+lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
+lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
+lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
+reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
+reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
+OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
+deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
+file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
+file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
+want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
+DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
+sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
+AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
+AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
+archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
+STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
+RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
+old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
+old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
+old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
+lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
+CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
+CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
+compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
+GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
+nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
+lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
+objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
+MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
+lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
+need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
+MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
+DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
+NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
+LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
+OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
+OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
+libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
+shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
+extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
+archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
+enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
+export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
+whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
+compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
+old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
+old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
+archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
+archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
+module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
+module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
+with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
+allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
+no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
+hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
+hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
+hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
+hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
+hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
+inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
+link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
+always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
+export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
+exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
+include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
+prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
+postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
+file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
+variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
+need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
+need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
+version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
+runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
+shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
+shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
+libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
+library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
+soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
+install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
+postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
+postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
+finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
+finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
+hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
+sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
+sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
+hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
+enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
+enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
+enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
+old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
+striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
+predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
+postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
+predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
+postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
+LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
+reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
+reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
+GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
+lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
+archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
+enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
+export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
+whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
+old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
+allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
+no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
+inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
+link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
+always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
+export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
+include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
+prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
+predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
+postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
+predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
+postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
 
 LTCC='$LTCC'
 LTCFLAGS='$LTCFLAGS'
 compiler='$compiler_DEFAULT'
 
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+  eval 'cat <<_LTECHO_EOF
+\$1
+_LTECHO_EOF'
+}
+
 # Quote evaled strings.
-for var in SED \
+for var in SHELL \
+ECHO \
+PATH_SEPARATOR \
+SED \
 GREP \
 EGREP \
 FGREP \
@@ -20263,8 +21132,13 @@ reload_flag \
 OBJDUMP \
 deplibs_check_method \
 file_magic_cmd \
+file_magic_glob \
+want_nocaseglob \
+DLLTOOL \
+sharedlib_from_linklib_cmd \
 AR \
 AR_FLAGS \
+archiver_list_spec \
 STRIP \
 RANLIB \
 CC \
@@ -20274,14 +21148,14 @@ lt_cv_sys_global_symbol_pipe \
 lt_cv_sys_global_symbol_to_cdecl \
 lt_cv_sys_global_symbol_to_c_name_address \
 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
-SHELL \
-ECHO \
+nm_file_list_spec \
 lt_prog_compiler_no_builtin_flag \
-lt_prog_compiler_wl \
 lt_prog_compiler_pic \
+lt_prog_compiler_wl \
 lt_prog_compiler_static \
 lt_cv_prog_compiler_c_o \
 need_locks \
+MANIFEST_TOOL \
 DSYMUTIL \
 NMEDIT \
 LIPO \
@@ -20295,9 +21169,7 @@ with_gnu_ld \
 allow_undefined_flag \
 no_undefined_flag \
 hardcode_libdir_flag_spec \
-hardcode_libdir_flag_spec_ld \
 hardcode_libdir_separator \
-fix_srcfile_path \
 exclude_expsyms \
 include_expsyms \
 file_list_spec \
@@ -20305,6 +21177,7 @@ variables_saved_for_relink \
 libname_spec \
 library_names_spec \
 soname_spec \
+install_override_mode \
 finish_eval \
 old_striplib \
 striplib \
@@ -20315,10 +21188,11 @@ predeps \
 postdeps \
 compiler_lib_search_path \
 LD_CXX \
+reload_flag_CXX \
 compiler_CXX \
 lt_prog_compiler_no_builtin_flag_CXX \
-lt_prog_compiler_wl_CXX \
 lt_prog_compiler_pic_CXX \
+lt_prog_compiler_wl_CXX \
 lt_prog_compiler_static_CXX \
 lt_cv_prog_compiler_c_o_CXX \
 export_dynamic_flag_spec_CXX \
@@ -20328,9 +21202,7 @@ with_gnu_ld_CXX \
 allow_undefined_flag_CXX \
 no_undefined_flag_CXX \
 hardcode_libdir_flag_spec_CXX \
-hardcode_libdir_flag_spec_ld_CXX \
 hardcode_libdir_separator_CXX \
-fix_srcfile_path_CXX \
 exclude_expsyms_CXX \
 include_expsyms_CXX \
 file_list_spec_CXX \
@@ -20340,9 +21212,9 @@ postdep_objects_CXX \
 predeps_CXX \
 postdeps_CXX \
 compiler_lib_search_path_CXX; do
-    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
+    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
     *[\\\\\\\`\\"\\\$]*)
-      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
       ;;
     *)
       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
@@ -20364,11 +21236,13 @@ module_cmds \
 module_expsym_cmds \
 export_symbols_cmds \
 prelink_cmds \
+postlink_cmds \
 postinstall_cmds \
 postuninstall_cmds \
 finish_cmds \
 sys_lib_search_path_spec \
 sys_lib_dlsearch_path_spec \
+reload_cmds_CXX \
 old_archive_cmds_CXX \
 old_archive_from_new_cmds_CXX \
 old_archive_from_expsyms_cmds_CXX \
@@ -20377,10 +21251,11 @@ archive_expsym_cmds_CXX \
 module_cmds_CXX \
 module_expsym_cmds_CXX \
 export_symbols_cmds_CXX \
-prelink_cmds_CXX; do
-    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
+prelink_cmds_CXX \
+postlink_cmds_CXX; do
+    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
     *[\\\\\\\`\\"\\\$]*)
-      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
       ;;
     *)
       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
@@ -20388,12 +21263,6 @@ prelink_cmds_CXX; do
     esac
 done
 
-# Fix-up fallback echo if it was mangled by the above quoting rules.
-case \$lt_ECHO in
-*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
-  ;;
-esac
-
 ac_aux_dir='$ac_aux_dir'
 xsi_shell='$xsi_shell'
 lt_shell_append='$lt_shell_append'
@@ -20462,7 +21331,7 @@ do
     "java/jdbc/Makefile") CONFIG_FILES="$CONFIG_FILES java/jdbc/Makefile" ;;
     "$RT_MAKEFILE_LIST") CONFIG_FILES="$CONFIG_FILES $RT_MAKEFILE_LIST" ;;
 
-  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
+  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   esac
 done
 
@@ -20485,9 +21354,10 @@ fi
 # after its creation but before its name has been assigned to `$tmp'.
 $debug ||
 {
-  tmp=
+  tmp= ac_tmp=
   trap 'exit_status=$?
-  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
+  : "${ac_tmp:=$tmp}"
+  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 ' 0
   trap 'as_fn_exit 1' 1 2 13 15
 }
@@ -20495,12 +21365,13 @@ $debug ||
 
 {
   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
-  test -n "$tmp" && test -d "$tmp"
+  test -d "$tmp"
 }  ||
 {
   tmp=./conf$$-$RANDOM
   (umask 077 && mkdir "$tmp")
 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
+ac_tmp=$tmp
 
 # Set up the scripts for CONFIG_FILES section.
 # No need to generate them if there are no CONFIG_FILES.
@@ -20522,7 +21393,7 @@ else
   ac_cs_awk_cr=$ac_cr
 fi
 
-echo 'BEGIN {' >"$tmp/subs1.awk" &&
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 _ACEOF
 
 
@@ -20550,7 +21421,7 @@ done
 rm -f conf$$subs.sh
 
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 _ACEOF
 sed -n '
 h
@@ -20598,7 +21469,7 @@ t delim
 rm -f conf$$subs.awk
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 _ACAWK
-cat >>"\$tmp/subs1.awk" <<_ACAWK &&
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   for (key in S) S_is_set[key] = 1
   FS = ""
 
@@ -20630,7 +21501,7 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 else
   cat
-fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 _ACEOF
 
@@ -20664,7 +21535,7 @@ fi # test -n "$CONFIG_FILES"
 # No need to generate them if there are no CONFIG_HEADERS.
 # This happens for instance with `./config.status Makefile'.
 if test -n "$CONFIG_HEADERS"; then
-cat >"$tmp/defines.awk" <<\_ACAWK ||
+cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 BEGIN {
 _ACEOF
 
@@ -20676,8 +21547,8 @@ _ACEOF
 # handling of long lines.
 ac_delim='%!_!# '
 for ac_last_try in false false :; do
-  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
-  if test -z "$ac_t"; then
+  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
+  if test -z "$ac_tt"; then
     break
   elif $ac_last_try; then
     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
@@ -20778,7 +21649,7 @@ do
   esac
   case $ac_mode$ac_tag in
   :[FHL]*:*);;
-  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
+  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   :[FH]-) ac_tag=-:-;;
   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   esac
@@ -20797,7 +21668,7 @@ do
     for ac_f
     do
       case $ac_f in
-      -) ac_f="$tmp/stdin";;
+      -) ac_f="$ac_tmp/stdin";;
       *) # Look for the file first in the build tree, then in the source tree
 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
 	 # because $ac_f cannot contain `:'.
@@ -20806,7 +21677,7 @@ do
 	   [\\/$]*) false;;
 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 	   esac ||
-	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
+	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
       esac
       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
       as_fn_append ac_file_inputs " '$ac_f'"
@@ -20832,8 +21703,8 @@ $as_echo "$as_me: creating $ac_file" >&6;}
     esac
 
     case $ac_tag in
-    *:-:* | *:-) cat >"$tmp/stdin" \
-      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
+    *:-:* | *:-) cat >"$ac_tmp/stdin" \
+      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
     esac
     ;;
   esac
@@ -20969,21 +21840,22 @@ s&@INSTALL@&$ac_INSTALL&;t t
 s&@MKDIR_P@&$ac_MKDIR_P&;t t
 $ac_datarootdir_hack
 "
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
-  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
+  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
-  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
-  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
+  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
+  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
+      "$ac_tmp/out"`; test -z "$ac_out"; } &&
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 which seems to be undefined.  Please make sure it is defined" >&5
 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 which seems to be undefined.  Please make sure it is defined" >&2;}
 
-  rm -f "$tmp/stdin"
+  rm -f "$ac_tmp/stdin"
   case $ac_file in
-  -) cat "$tmp/out" && rm -f "$tmp/out";;
-  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
+  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
+  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   esac \
   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  ;;
@@ -20994,20 +21866,20 @@ which seems to be undefined.  Please make sure it is defined" >&2;}
   if test x"$ac_file" != x-; then
     {
       $as_echo "/* $configure_input  */" \
-      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
-    } >"$tmp/config.h" \
+      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
+    } >"$ac_tmp/config.h" \
       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
+    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 $as_echo "$as_me: $ac_file is unchanged" >&6;}
     else
       rm -f "$ac_file"
-      mv "$tmp/config.h" "$ac_file" \
+      mv "$ac_tmp/config.h" "$ac_file" \
 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
     fi
   else
     $as_echo "/* $configure_input  */" \
-      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
+      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
       || as_fn_error $? "could not create -" "$LINENO" 5
   fi
  ;;
@@ -21040,7 +21912,8 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
 #
 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
-#                 2006, 2007, 2008 Free Software Foundation, Inc.
+#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
+#                 Foundation, Inc.
 #   Written by Gordon Matzigkeit, 1996
 #
 #   This file is part of GNU Libtool.
@@ -21088,6 +21961,15 @@ pic_mode=$pic_mode
 # Whether or not to optimize for fast installation.
 fast_install=$enable_fast_install
 
+# Shell to use when invoking shell scripts.
+SHELL=$lt_SHELL
+
+# An echo program that protects backslashes.
+ECHO=$lt_ECHO
+
+# The PATH separator for the build system.
+PATH_SEPARATOR=$lt_PATH_SEPARATOR
+
 # The host system.
 host_alias=$host_alias
 host=$host
@@ -21137,9 +22019,11 @@ SP2NL=$lt_lt_SP2NL
 # turn newlines into spaces.
 NL2SP=$lt_lt_NL2SP
 
-# How to create reloadable object files.
-reload_flag=$lt_reload_flag
-reload_cmds=$lt_reload_cmds
+# convert \$build file names to \$host format.
+to_host_file_cmd=$lt_cv_to_host_file_cmd
+
+# convert \$build files to toolchain format.
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
 # An object symbol dumper.
 OBJDUMP=$lt_OBJDUMP
@@ -21147,13 +22031,30 @@ OBJDUMP=$lt_OBJDUMP
 # Method to check whether dependent libraries are shared objects.
 deplibs_check_method=$lt_deplibs_check_method
 
-# Command to use when deplibs_check_method == "file_magic".
+# Command to use when deplibs_check_method = "file_magic".
 file_magic_cmd=$lt_file_magic_cmd
 
+# How to find potential files when deplibs_check_method = "file_magic".
+file_magic_glob=$lt_file_magic_glob
+
+# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
+want_nocaseglob=$lt_want_nocaseglob
+
+# DLL creation program.
+DLLTOOL=$lt_DLLTOOL
+
+# Command to associate shared and link libraries.
+sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
+
 # The archiver.
 AR=$lt_AR
+
+# Flags to create an archive.
 AR_FLAGS=$lt_AR_FLAGS
 
+# How to feed a file listing to the archiver.
+archiver_list_spec=$lt_archiver_list_spec
+
 # A symbol stripping program.
 STRIP=$lt_STRIP
 
@@ -21162,6 +22063,9 @@ RANLIB=$lt_RANLIB
 old_postinstall_cmds=$lt_old_postinstall_cmds
 old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
+# Whether to use a lock for old archive extraction.
+lock_old_archive_extraction=$lock_old_archive_extraction
+
 # A C compiler.
 LTCC=$lt_CC
 
@@ -21180,14 +22084,14 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 # Transform the output of nm in a C name address pair when lib prefix is needed.
 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
-# The name of the directory that contains temporary libtool files.
-objdir=$objdir
+# Specify filename containing input files for \$NM.
+nm_file_list_spec=$lt_nm_file_list_spec
 
-# Shell to use when invoking shell scripts.
-SHELL=$lt_SHELL
+# The root where to search for dependent libraries,and in which our libraries should be installed.
+lt_sysroot=$lt_sysroot
 
-# An echo program that does not interpret backslashes.
-ECHO=$lt_ECHO
+# The name of the directory that contains temporary libtool files.
+objdir=$objdir
 
 # Used to examine libraries when file_magic_cmd begins with "file".
 MAGIC_CMD=$MAGIC_CMD
@@ -21195,6 +22099,9 @@ MAGIC_CMD=$MAGIC_CMD
 # Must we lock files when doing compilation?
 need_locks=$lt_need_locks
 
+# Manifest tool.
+MANIFEST_TOOL=$lt_MANIFEST_TOOL
+
 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 DSYMUTIL=$lt_DSYMUTIL
 
@@ -21251,6 +22158,9 @@ library_names_spec=$lt_library_names_spec
 # The coded name of the library, if different from the real name.
 soname_spec=$lt_soname_spec
 
+# Permission mode override for installation of shared libraries.
+install_override_mode=$lt_install_override_mode
+
 # Command to use after installation of a shared archive.
 postinstall_cmds=$lt_postinstall_cmds
 
@@ -21290,6 +22200,10 @@ striplib=$lt_striplib
 # The linker used to build libraries.
 LD=$lt_LD
 
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag
+reload_cmds=$lt_reload_cmds
+
 # Commands used to build an old-style archive.
 old_archive_cmds=$lt_old_archive_cmds
 
@@ -21302,12 +22216,12 @@ with_gcc=$GCC
 # Compiler flag to turn off builtin functions.
 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
-# How to pass a linker flag through the compiler.
-wl=$lt_lt_prog_compiler_wl
-
 # Additional compiler flags for building library objects.
 pic_flag=$lt_lt_prog_compiler_pic
 
+# How to pass a linker flag through the compiler.
+wl=$lt_lt_prog_compiler_wl
+
 # Compiler flag to prevent dynamic linking.
 link_static_flag=$lt_lt_prog_compiler_static
 
@@ -21357,10 +22271,6 @@ no_undefined_flag=$lt_no_undefined_flag
 # This must work even if \$libdir does not exist
 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
-# If ld is used when linking, flag to hardcode \$libdir into a binary
-# during linking.  This must work even if \$libdir does not exist.
-hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
-
 # Whether we need a single "-rpath" flag with a separated argument.
 hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
@@ -21394,9 +22304,6 @@ inherit_rpath=$inherit_rpath
 # Whether libtool must link a program against all its dependency libraries.
 link_all_deplibs=$link_all_deplibs
 
-# Fix the shell variable \$srcfile for the compiler.
-fix_srcfile_path=$lt_fix_srcfile_path
-
 # Set to "yes" if exported symbols are required.
 always_export_symbols=$always_export_symbols
 
@@ -21412,6 +22319,9 @@ include_expsyms=$lt_include_expsyms
 # Commands necessary for linking programs (against libraries) with templates.
 prelink_cmds=$lt_prelink_cmds
 
+# Commands necessary for finishing linking programs.
+postlink_cmds=$lt_postlink_cmds
+
 # Specify filename containing input files.
 file_list_spec=$lt_file_list_spec
 
@@ -21458,212 +22368,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   # text mode, it properly converts lines to CR/LF.  This bash problem
   # is reportedly fixed, but why not run on old versions too?
-  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
-    || (rm -f "$cfgfile"; exit 1)
-
-  case $xsi_shell in
-  yes)
-    cat << \_LT_EOF >> "$cfgfile"
-
-# func_dirname file append nondir_replacement
-# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
-# otherwise set result to NONDIR_REPLACEMENT.
-func_dirname ()
-{
-  case ${1} in
-    */*) func_dirname_result="${1%/*}${2}" ;;
-    *  ) func_dirname_result="${3}" ;;
-  esac
-}
-
-# func_basename file
-func_basename ()
-{
-  func_basename_result="${1##*/}"
-}
-
-# func_dirname_and_basename file append nondir_replacement
-# perform func_basename and func_dirname in a single function
-# call:
-#   dirname:  Compute the dirname of FILE.  If nonempty,
-#             add APPEND to the result, otherwise set result
-#             to NONDIR_REPLACEMENT.
-#             value returned in "$func_dirname_result"
-#   basename: Compute filename of FILE.
-#             value retuned in "$func_basename_result"
-# Implementation must be kept synchronized with func_dirname
-# and func_basename. For efficiency, we do not delegate to
-# those functions but instead duplicate the functionality here.
-func_dirname_and_basename ()
-{
-  case ${1} in
-    */*) func_dirname_result="${1%/*}${2}" ;;
-    *  ) func_dirname_result="${3}" ;;
-  esac
-  func_basename_result="${1##*/}"
-}
-
-# func_stripname prefix suffix name
-# strip PREFIX and SUFFIX off of NAME.
-# PREFIX and SUFFIX must not contain globbing or regex special
-# characters, hashes, percent signs, but SUFFIX may contain a leading
-# dot (in which case that matches only a dot).
-func_stripname ()
-{
-  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
-  # positional parameters, so assign one to ordinary parameter first.
-  func_stripname_result=${3}
-  func_stripname_result=${func_stripname_result#"${1}"}
-  func_stripname_result=${func_stripname_result%"${2}"}
-}
-
-# func_opt_split
-func_opt_split ()
-{
-  func_opt_split_opt=${1%%=*}
-  func_opt_split_arg=${1#*=}
-}
-
-# func_lo2o object
-func_lo2o ()
-{
-  case ${1} in
-    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
-    *)    func_lo2o_result=${1} ;;
-  esac
-}
-
-# func_xform libobj-or-source
-func_xform ()
-{
-  func_xform_result=${1%.*}.lo
-}
-
-# func_arith arithmetic-term...
-func_arith ()
-{
-  func_arith_result=$(( $* ))
-}
-
-# func_len string
-# STRING may not start with a hyphen.
-func_len ()
-{
-  func_len_result=${#1}
-}
-
-_LT_EOF
-    ;;
-  *) # Bourne compatible functions.
-    cat << \_LT_EOF >> "$cfgfile"
-
-# func_dirname file append nondir_replacement
-# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
-# otherwise set result to NONDIR_REPLACEMENT.
-func_dirname ()
-{
-  # Extract subdirectory from the argument.
-  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
-  if test "X$func_dirname_result" = "X${1}"; then
-    func_dirname_result="${3}"
-  else
-    func_dirname_result="$func_dirname_result${2}"
-  fi
-}
-
-# func_basename file
-func_basename ()
-{
-  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
-}
-
-
-# func_stripname prefix suffix name
-# strip PREFIX and SUFFIX off of NAME.
-# PREFIX and SUFFIX must not contain globbing or regex special
-# characters, hashes, percent signs, but SUFFIX may contain a leading
-# dot (in which case that matches only a dot).
-# func_strip_suffix prefix name
-func_stripname ()
-{
-  case ${2} in
-    .*) func_stripname_result=`$ECHO "X${3}" \
-           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
-    *)  func_stripname_result=`$ECHO "X${3}" \
-           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
-  esac
-}
-
-# sed scripts:
-my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
-my_sed_long_arg='1s/^-[^=]*=//'
-
-# func_opt_split
-func_opt_split ()
-{
-  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
-  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
-}
-
-# func_lo2o object
-func_lo2o ()
-{
-  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
-}
-
-# func_xform libobj-or-source
-func_xform ()
-{
-  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
-}
-
-# func_arith arithmetic-term...
-func_arith ()
-{
-  func_arith_result=`expr "$@"`
-}
-
-# func_len string
-# STRING may not start with a hyphen.
-func_len ()
-{
-  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
-}
-
-_LT_EOF
-esac
-
-case $lt_shell_append in
-  yes)
-    cat << \_LT_EOF >> "$cfgfile"
-
-# func_append var value
-# Append VALUE to the end of shell variable VAR.
-func_append ()
-{
-  eval "$1+=\$2"
-}
-_LT_EOF
-    ;;
-  *)
-    cat << \_LT_EOF >> "$cfgfile"
-
-# func_append var value
-# Append VALUE to the end of shell variable VAR.
-func_append ()
-{
-  eval "$1=\$$1\$2"
-}
-
-_LT_EOF
-    ;;
-  esac
-
-
-  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
-    || (rm -f "$cfgfile"; exit 1)
-
-  mv -f "$cfgfile" "$ofile" ||
+  sed '$q' "$ltmain" >> "$cfgfile" \
+     || (rm -f "$cfgfile"; exit 1)
+
+  if test x"$xsi_shell" = xyes; then
+  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
+func_dirname ()\
+{\
+\    case ${1} in\
+\      */*) func_dirname_result="${1%/*}${2}" ;;\
+\      *  ) func_dirname_result="${3}" ;;\
+\    esac\
+} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+  sed -e '/^func_basename ()$/,/^} # func_basename /c\
+func_basename ()\
+{\
+\    func_basename_result="${1##*/}"\
+} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
+func_dirname_and_basename ()\
+{\
+\    case ${1} in\
+\      */*) func_dirname_result="${1%/*}${2}" ;;\
+\      *  ) func_dirname_result="${3}" ;;\
+\    esac\
+\    func_basename_result="${1##*/}"\
+} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
+func_stripname ()\
+{\
+\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
+\    # positional parameters, so assign one to ordinary parameter first.\
+\    func_stripname_result=${3}\
+\    func_stripname_result=${func_stripname_result#"${1}"}\
+\    func_stripname_result=${func_stripname_result%"${2}"}\
+} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
+func_split_long_opt ()\
+{\
+\    func_split_long_opt_name=${1%%=*}\
+\    func_split_long_opt_arg=${1#*=}\
+} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
+func_split_short_opt ()\
+{\
+\    func_split_short_opt_arg=${1#??}\
+\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
+} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
+func_lo2o ()\
+{\
+\    case ${1} in\
+\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
+\      *)    func_lo2o_result=${1} ;;\
+\    esac\
+} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+  sed -e '/^func_xform ()$/,/^} # func_xform /c\
+func_xform ()\
+{\
+    func_xform_result=${1%.*}.lo\
+} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+  sed -e '/^func_arith ()$/,/^} # func_arith /c\
+func_arith ()\
+{\
+    func_arith_result=$(( $* ))\
+} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+  sed -e '/^func_len ()$/,/^} # func_len /c\
+func_len ()\
+{\
+    func_len_result=${#1}\
+} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+fi
+
+if test x"$lt_shell_append" = xyes; then
+  sed -e '/^func_append ()$/,/^} # func_append /c\
+func_append ()\
+{\
+    eval "${1}+=\\${2}"\
+} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
+func_append_quoted ()\
+{\
+\    func_quote_for_eval "${2}"\
+\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
+} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+  # Save a `func_append' function call where possible by direct use of '+='
+  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
+    && mv -f "$cfgfile.tmp" "$cfgfile" \
+      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+  test 0 -eq $? || _lt_function_replace_fail=:
+else
+  # Save a `func_append' function call even when '+=' is not available
+  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
+    && mv -f "$cfgfile.tmp" "$cfgfile" \
+      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+  test 0 -eq $? || _lt_function_replace_fail=:
+fi
+
+if test x"$_lt_function_replace_fail" = x":"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
+$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
+fi
+
+
+   mv -f "$cfgfile" "$ofile" ||
     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   chmod +x "$ofile"
 
@@ -21675,6 +22542,10 @@ _LT_EOF
 # The linker used to build libraries.
 LD=$lt_LD_CXX
 
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag_CXX
+reload_cmds=$lt_reload_cmds_CXX
+
 # Commands used to build an old-style archive.
 old_archive_cmds=$lt_old_archive_cmds_CXX
 
@@ -21687,12 +22558,12 @@ with_gcc=$GCC_CXX
 # Compiler flag to turn off builtin functions.
 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
 
-# How to pass a linker flag through the compiler.
-wl=$lt_lt_prog_compiler_wl_CXX
-
 # Additional compiler flags for building library objects.
 pic_flag=$lt_lt_prog_compiler_pic_CXX
 
+# How to pass a linker flag through the compiler.
+wl=$lt_lt_prog_compiler_wl_CXX
+
 # Compiler flag to prevent dynamic linking.
 link_static_flag=$lt_lt_prog_compiler_static_CXX
 
@@ -21742,10 +22613,6 @@ no_undefined_flag=$lt_no_undefined_flag_CXX
 # This must work even if \$libdir does not exist
 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
 
-# If ld is used when linking, flag to hardcode \$libdir into a binary
-# during linking.  This must work even if \$libdir does not exist.
-hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
-
 # Whether we need a single "-rpath" flag with a separated argument.
 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
 
@@ -21779,9 +22646,6 @@ inherit_rpath=$inherit_rpath_CXX
 # Whether libtool must link a program against all its dependency libraries.
 link_all_deplibs=$link_all_deplibs_CXX
 
-# Fix the shell variable \$srcfile for the compiler.
-fix_srcfile_path=$lt_fix_srcfile_path_CXX
-
 # Set to "yes" if exported symbols are required.
 always_export_symbols=$always_export_symbols_CXX
 
@@ -21797,6 +22661,9 @@ include_expsyms=$lt_include_expsyms_CXX
 # Commands necessary for linking programs (against libraries) with templates.
 prelink_cmds=$lt_prelink_cmds_CXX
 
+# Commands necessary for finishing linking programs.
+postlink_cmds=$lt_postlink_cmds_CXX
+
 # Specify filename containing input files.
 file_list_spec=$lt_file_list_spec_CXX
 
diff --git a/configure.ac b/configure.ac
index aaa69ed..67ad482 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,13 +34,13 @@ dnl SQL Preprocessor
 dnl
 AC_PATH_PROG([CPPBIN], [cpp], [])
 if test "x$CPPBIN" != "x"; then
-  SQLPP="${CPPBIN} -traditional-cpp -P"
+  SQLPP="${CPPBIN} -w -traditional-cpp -P"
 else
   AC_PATH_PROG([GPP], [gpp_], [])
   if test "x$GPP" != "x"; then
     SQLPP="${GPP} -C -s \'" dnl Use better string support
   else
-    SQLPP="${CPP} -traditional-cpp"
+    SQLPP="${CPP} -w -traditional-cpp"
   fi
 fi
 AC_SUBST([SQLPP])
@@ -379,8 +379,8 @@ AC_SUBST([PGXS])
 dnl Extract the version information from pg_config
 dnl Note: we extract the major & minor separately, ensure they are numeric, and then combine to give
 dnl the final version. This is to guard against user error... 
-PGSQL_MAJOR_VERSION=`$PG_CONFIG --version | sed 's/[[A-Za-z ]]*//' | cut -d. -f1 | sed 's/[[^0-9]]//g'`	
-PGSQL_MINOR_VERSION=`$PG_CONFIG --version | sed 's/[[A-Za-z ]]*//' | cut -d. -f2 | sed 's/[[^0-9]]//g'`	
+PGSQL_MAJOR_VERSION=`$PG_CONFIG --version | sed 's/[[^0-9]]*\([[0-9]]\)\.\([[0-9]]\).*/\1/'`
+PGSQL_MINOR_VERSION=`$PG_CONFIG --version | sed 's/[[^0-9]]*\([[0-9]]\)\.\([[0-9]]\).*/\2/'`
 PGSQL_FULL_VERSION=`$PG_CONFIG --version`
 POSTGIS_PGSQL_VERSION="$PGSQL_MAJOR_VERSION$PGSQL_MINOR_VERSION"
 
diff --git a/doc/Makefile b/doc/Makefile
index 3f20336..f327120 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -25,15 +25,15 @@ translations = it_IT pt_BR
 
 POSTGIS_MAJOR_VERSION=2
 POSTGIS_MINOR_VERSION=1
-POSTGIS_MICRO_VERSION=0
+POSTGIS_MICRO_VERSION=1
 
-INSTALL=/usr/bin/install -c
+INSTALL=/opt/local/bin/ginstall -c
 INSTALL_DATA=${INSTALL} -m 644
 
-XSLTPROC=/usr/bin/xsltproc
-XSLBASE=/usr/share/xml/docbook/stylesheet/nwalsh
-XMLLINT=/usr/bin/xmllint
-PERL=/usr/bin/perl
+XSLTPROC=/opt/local/bin/xsltproc
+XSLBASE=/opt/local/share/xsl/docbook-xsl
+XMLLINT=/opt/local/bin/xmllint
+PERL=/opt/local/bin/perl
 
 # To allow network access use:
 #
@@ -63,10 +63,10 @@ HTML_DOCBOOK_XSL=$(XSLBASE)/html/docbook.xsl
 CHUNK_HTML_DOCBOOK_XSL=$(XSLBASE)/html/chunk.xsl
 
 # DBLatex's dblatex script for PDF generation from DocBook
-DBLATEX=/usr/bin/dblatex
+DBLATEX=/opt/local/bin/dblatex
 
 # Imagemagick's convert utility program for generated images used in the documentation
-IMAGEMAGICK=/usr/bin/convert
+IMAGEMAGICK=/opt/local/bin/convert
 
 # Gettext for translated documentation
 MSGMERGE=msgmerge
@@ -78,9 +78,9 @@ XML2POT=xml2pot
 DBTOEPUB=dbtoepub
 
 # Directories for postgresql subdirectories
-PGSQL_DOCDIR=/var/lib/jenkins/workspace/pg/rel/pg9.2w64/share/doc/postgresql
-PGSQL_MANDIR=/var/lib/jenkins/workspace/pg/rel/pg9.2w64/share/man
-PGSQL_SHAREDIR=/var/lib/jenkins/workspace/pg/rel/pg9.2w64/share/postgresql
+PGSQL_DOCDIR=/usr/local/pgsql/9.2/share/doc
+PGSQL_MANDIR=/usr/local/pgsql/9.2/share/man
+PGSQL_SHAREDIR=/usr/local/pgsql/9.2/share
 
 # If XSLTPROC or XSLBASE were not found during configure, we cannot
 # build the documentation
diff --git a/doc/Makefile.comments b/doc/Makefile.comments
index 342e90e..4fbf34c 100644
--- a/doc/Makefile.comments
+++ b/doc/Makefile.comments
@@ -21,8 +21,8 @@ MODULEDIR=contrib/$(MODULE_doc)
 DATA_built=postgis_comments.sql raster_comments.sql topology_comments.sql
 
 # PGXS information
-PG_CONFIG = /var/lib/jenkins/workspace/pg/rel/pg9.2w64/bin/pg_config 
-PGXS := /var/lib/jenkins/workspace/pg/rel/pg9.2w64/lib/postgresql/pgxs/src/makefiles/pgxs.mk
+PG_CONFIG = /usr/local/pgsql/9.2/bin/pg_config 
+PGXS := /usr/local/pgsql/9.2/lib/pgxs/src/makefiles/pgxs.mk
 include $(PGXS)
 
 # PGXS override feature. The ability to allow PostGIS to install itself
diff --git a/doc/extras_tigergeocoder.xml b/doc/extras_tigergeocoder.xml
index 3975cf2..6fbc85a 100644
--- a/doc/extras_tigergeocoder.xml
+++ b/doc/extras_tigergeocoder.xml
@@ -4,7 +4,7 @@
 	 <sect1info>
 		<abstract>
 			<para>A plpgsql based geocoder written to work with the <ulink url="http://www.census.gov/geo/www/tiger/">TIGER (Topologically Integrated Geographic Encoding and Referencing system ) / Line and Master Address database export</ulink> released by the US Census Bureau.   </para>
-			<para>There are four components to the geocoder: the data loader functions, the address normalizer, the address geocoder, and the reverse geocoder. The latest version updated to use the TIGER 2011 and 2012 census data is located in the <varname>extras/tiger_geocoder/tiger_2011</varname> folder. It defaults to downloading and installing TIGER 2012 files.  </para>
+			<para>There are four components to the geocoder: the data loader functions, the address normalizer, the address geocoder, and the reverse geocoder. The latest version updated to use the TIGER 2011 and 2012 census data is located in the <varname>extras/tiger_geocoder/tiger_2011</varname> folder. It defaults to downloading and installing TIGER 2012 files in PostGIS 2.1.0 and TIGER 2013 in PostGIS 2.1.1+.  </para>
 			<para>Although it is designed specifically for the US, a lot of the concepts and functions are applicable and can be adapted to work with other country address and road networks.</para>
 			<para>The script builds a schema called <varname>tiger</varname> to house all the tiger related functions, reusable lookup data such as road type prefixes, suffixes, states, various control tables for managing data load, and skeleton base tables from which all the tiger loaded tables inherit from.</para>
 			<para>Another schema called <varname>tiger_data</varname> is also created which houses all the census data for each state that the loader downloads from Census site and loads into the database. In the current model, each set of state tables is
@@ -17,7 +17,7 @@
 If you are using tiger geocoder (tiger_2010),
 you can upgrade the scripts using the accompanying upgrade_geocoder.bat
 / .sh scripts in tiger_2011.  One major change between <varname>tiger_2010</varname> and <varname>tiger_2011/tiger_2012</varname> is that the county and <varname>county</varname> and <varname>state</varname> tables are no longer broken out by state.  We'll be refining the upgrade scripts
-until release.  If you have data from tiger_2010 and want replace with tiger_2012 refer to <xref linkend="upgrade_tiger_geocoder" />
+until release.  If you have data from tiger_2010 and want replace with tiger_2012 or tiger_2013 refer to <xref linkend="upgrade_tiger_geocoder" />
 			  </para></note>
 			  
 			  <note><para>New in PostGIS 2.1.0 release is ability to install tiger geocoder with PostgreSQL extension model if you are running PostgreSQL 9.1+. Refer to <xref linkend="install_tiger_geocoder_extension" /> for details.</para></note>
@@ -134,8 +134,7 @@ DROP INDEX tiger_data.idx_tiger_data_ma_county_snd_name;
 	  <refsynopsisdiv>
 		<funcsynopsis>
 		  <funcprototype>
-			<funcdef>text <function>Drop_State_Tables_Generate_Script</function></funcdef>
-				<paramdef><type>text </type> <parameter>param_state</parameter></paramdef>
+			<funcdef>text <function>Drop_Nation_Tables_Generate_Script</function></funcdef>
 				<paramdef choice="opt"><type>text </type> <parameter>param_schema=tiger_data</parameter></paramdef>
 			</funcprototype>
 		</funcsynopsis>
diff --git a/doc/html/image_src/Makefile b/doc/html/image_src/Makefile
index adacf98..6494769 100644
--- a/doc/html/image_src/Makefile
+++ b/doc/html/image_src/Makefile
@@ -13,8 +13,8 @@
 CC=gcc
 CFLAGS=-g -O2  -Wall -Wmissing-prototypes 
 
-CUNIT_LDFLAGS=-L/var/lib/jenkins/workspace/pg/rel/pg9.2w64/lib -L/var/lib/jenkins/workspace/gdal/rel-2.0w64/lib -lcunit
-CUNIT_CPPFLAGS=-I/var/lib/jenkins/workspace/pg/rel/pg9.2w64/pg9.2/include -I../../../liblwgeom
+CUNIT_LDFLAGS= -lcunit
+CUNIT_CPPFLAGS= -I../../../liblwgeom
 
 IMAGES= \
 	../images/de9im01.png \
diff --git a/doc/installation.xml b/doc/installation.xml
index c828b04..dab2f53 100644
--- a/doc/installation.xml
+++ b/doc/installation.xml
@@ -121,7 +121,7 @@ psql -d yourdatabase -f topology_comments.sql</programlisting>
 		<para>
 		  JSON-C, version 0.9 or higher. JSON-C is currently used to import GeoJSON via the
 		  function ST_GeomFromGeoJson. JSON-C is available for download from
-		  <ulink url="http://oss.metaparadigm.com/json-c/">http://oss.metaparadigm.com/json-c/</ulink>.
+		  <ulink url="https://github.com/json-c/json-c/releases">https://github.com/json-c/json-c/releases</ulink>.
 		</para>
 	  </listitem>
 	  
@@ -656,7 +656,7 @@ be backed up when the respective <varname>postgis</varname> or <varname>postgis_
 As of PostGIS 2.0.1, only srid records not packaged with PostGIS are backed up when the database is backed up so don't go around changing srids we package and expect your changes to be there. Put in a ticket if you find an issue.  The structures of extension tables are never backed up since they are created with <code>CREATE EXTENSION</code>
 and assumed to be the same for a given version of an extension. These behaviors are built into the current PostgreSQL extension model, so nothing we can do about it.</para></warning>
 
-<para>If you installed &last_release_version;, without using our wonderful extension system, you can change it to be extension based by first upgrading to the latest micro version running the upgrade scripts: <filename>postgis_upgrade_20_minor.sql</filename>,<filename>raster_upgrade_20_minor.sql</filename>,<filename>topology_upgrade_20_minor.sql</filename>.</para>
+<para>If you installed &last_release_version;, without using our wonderful extension system, you can change it to be extension based by first upgrading to the latest micro version running the upgrade scripts: <filename>postgis_upgrade_21_minor.sql</filename>,<filename>raster_upgrade_21_minor.sql</filename>,<filename>topology_upgrade_21_minor.sql</filename>.</para>
 <para>If you installed postgis without raster support, you'll need to install raster support first (using the full <filename>rtpostgis.sql</filename></para>
 <para>Then you can run the below commands to package the functions in their respective extension.</para>
 <programlisting>CREATE EXTENSION postgis FROM unpackaged;
@@ -1193,7 +1193,7 @@ Run tests: 90</programlisting>
 	<para>If you are on Windows and you don't have tar installed, you can use <ulink url="http://www.7-zip.org/">http://www.7-zip.org/</ulink> to unzip the PostGIS tarball.</para>
 	<sect2 id="install_tiger_geocoder_extension">
 		<title>Tiger Geocoder Enabling your PostGIS database: Using Extension</title>	
-		<para>If you are using PostgreSQL 9.1+ and PostGIS 2.1.0, you can take advantage of the new extension model for installing tiger geocoder. To do so:</para>
+		<para>If you are using PostgreSQL 9.1+ and PostGIS 2.1.0+, you can take advantage of the new extension model for installing tiger geocoder. To do so:</para>
 		<orderedlist>
 			<listitem><para>First get binaries for PostGIS 2.1.0 or compile and install as usual.  This should install the necessary extension files as well for tiger geocoder.</para></listitem>
 			<listitem><para>Connect to your database via psql or pgAdmin or some other tool and run the following SQL commands.  Note that if you are installing in a database that already has postgis, you don't need to do the first step.  If you have <varname>fuzzystrmatch</varname> extension already installed, you don't need to do the second step either.</para>
@@ -1238,8 +1238,12 @@ SELECT 'debbie', declare_sect, pgbin, wget, unzip_command, psql, path_sep,
 			<para>One of the many complaints of folks is the address normalizer function <xref linkend="Normalize_Address" /> function that normalizes an address for prepping before geocoding.  The normalizer is far from perfect and trying to patch its imperfectness takes a vast amount of resources.  As such we have integrated with another
 			project that has a much better address standardizer engine.  This is currently a separate project, which is a subproject of PAGC.  The source code for this PostgreSQL standardizer extension can be downloaded from <ulink url="http://sourceforge.net/p/pagc/code/360/tree/branches/sew-refactor/postgresql">PAGC PostgreSQL Address Standardizer</ulink>.  To use this new normalizer, you compile the pagc extension and install as an extension in your database.</para>
 			<para>The PAGC project and standardizer portion in particular, relies on PCRE which is usually already installed on most Nix systems, 
-but you can download the latest at: <ulink url="http://www.pcre.org">http://www.pcre.org</ulink> </para>
+but you can download the latest at: <ulink url="http://www.pcre.org">http://www.pcre.org</ulink>. It also requires Perl with the <code>Regexp::Assemble</code> installed </para>
 			<para>For Windows users, the PostGIS 2.1+ bundle will come packaged with the address_standardizer already so no need to compile and can move straight to <code>CREATE EXTENSION</code> step.</para>
+			<para>Installing Regex::Assemble</para>
+			<programlisting>cpan Regexp::Assemble</programlisting>
+			<para>or if you are on Ubuntu / Debian you might need to do</para>
+			<programlisting>sudo perl -MCPAN -e "install Regexp::Assemble"</programlisting>
 			<para>Compiling</para>
 			<programlisting>svn co svn://svn.code.sf.net/p/pagc/code/branches/sew-refactor/postgresql address_standardizer
 cd address_standardizer
@@ -1415,11 +1419,11 @@ pretty_address
 	  <programlisting>can't drop ... because postgis extension depends on it</programlisting>
 	  <para>
 		After compiling you should find several <filename>postgis_upgrade*.sql</filename> files.  Install the one
-		for your version of PostGIS.  For example <filename>postgis_upgrade_13_to_15.sql</filename> should be used if you are upgrading 
-		from PostGIS 1.3 to 1.5.  If you are moving from PostGIS 1.* to PostGIS 2.* or from PostGIS 2.* prior to r7409, you need to do a HARD UPGRADE.
+		for your version of PostGIS.  For example <filename>postgis_upgrade_20_to_21.sql</filename> should be used if you are upgrading 
+		from PostGIS 2.0 to 2.1.  If you are moving from PostGIS 1.* to PostGIS 2.* or from PostGIS 2.* prior to r7409, you need to do a HARD UPGRADE.
 	  </para>
 
-	  <programlisting>psql -f postgis_upgrade_20_minor.sql -d your_spatial_database</programlisting>
+	  <programlisting>psql -f postgis_upgrade_21_minor.sql -d your_spatial_database</programlisting>
 
 	  <para>
 		The same procedure applies to raster and
@@ -1429,8 +1433,8 @@ pretty_address
 		If you need them:
 	  </para>
 
-	  <programlisting>psql -f rtpostgis_upgrade_20_minor.sql -d your_spatial_database</programlisting>
-	  <programlisting>psql -f topology_upgrade_20_minor.sql -d your_spatial_database</programlisting>
+	  <programlisting>psql -f rtpostgis_upgrade_21_minor.sql -d your_spatial_database</programlisting>
+	  <programlisting>psql -f topology_upgrade_21_minor.sql -d your_spatial_database</programlisting>
 
 	  <note>
 		<para>
diff --git a/doc/postgis.xml b/doc/postgis.xml
index e629191..d0eedf9 100644
--- a/doc/postgis.xml
+++ b/doc/postgis.xml
@@ -3,16 +3,16 @@
                     "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 
 <!-- This value is automatically generated by the Makefile -->
-<!ENTITY last_release_version "@@LAST_RELEASE_VERSION@@">
+<!ENTITY last_release_version "2.1.1">
 <!ENTITY last_minor_version "2.1">
 
 <!-- ONCE Tagged, this need to change to http://download.osgeo.org/postgis/source/postgis-@@LAST_RELEASE_VERSION@@.tar.gz -->
 <!-- In dev should be, this need to change to http://postgis.net/stuff/postgis-@@LAST_RELEASE_VERSION@@.tar.gz -->
-<!ENTITY postgis_download_url "http://download.osgeo.org/postgis/source/postgis-@@LAST_RELEASE_VERSION@@.tar.gz">
+<!ENTITY postgis_download_url "http://download.osgeo.org/postgis/source/postgis-2.1.1.tar.gz">
 
 <!-- Change these values to update the version numbers referenced within the documentation -->
 <!ENTITY last_proj_release_version "4.8.0">
-<!ENTITY last_geos_release_version "3.4.0">
+<!ENTITY last_geos_release_version "3.4.2">
 <!ENTITY min_postgres_version "9.0">
 
 <!ENTITY introduction SYSTEM "introduction.xml">
diff --git a/doc/reference_raster.xml b/doc/reference_raster.xml
index f862189..08777e3 100644
--- a/doc/reference_raster.xml
+++ b/doc/reference_raster.xml
@@ -3608,9 +3608,15 @@ WHERE rid=2;
 						ST_PixelAsPolygons returns one polygon geometry for every pixel.  This is different than ST_DumpAsPolygons where each geometry represents one or more pixels with the same pixel value.
 					</para>
 				</note>
+				<note>
+					<para>
+						When exclude_nodata_value = TRUE, only those pixels whose values are not NODATA are returned as polygons.
+					</para>
+				</note>
 
 				<para>Availability: 2.0.0</para>
 				<para>Enhanced: 2.1.0 exclude_nodata_value optional argument was added.</para>
+				<para>Changed: 2.1.1 Changed behavior of exclude_nodata_value.</para>
 			</refsection>
 				
 			<refsection>
@@ -3721,7 +3727,13 @@ SELECT ST_AsText(ST_PixelAsPoint(rast, 1, 1)) FROM dummy_rast WHERE rid = 1;
 				<para>
 					Returns a point geometry for each pixel of a raster band along with the value, the X and the Y raster coordinates of each pixel.  The coordinates of the point geometry are of the pixel's upper-left corner.
 				</para>
+				<note>
+					<para>
+						When exclude_nodata_value = TRUE, only those pixels whose values are not NODATA are returned as points.
+					</para>
+				</note>
 				<para>Availability: 2.1.0</para>
+				<para>Changed: 2.1.1 Changed behavior of exclude_nodata_value.</para>
 			</refsection>
 
 			<refsection>
@@ -3845,7 +3857,13 @@ SELECT ST_AsText(ST_PixelAsCentroid(rast, 1, 1)) FROM dummy_rast WHERE rid = 1;
 				<para>
 					Returns the centroid (point geometry) for each pixel of a raster band along with the value, the X and the Y raster coordinates of each pixel.  The point geometry is the centroid of the area represented by a pixel.
 				</para>
+				<note>
+					<para>
+						When exclude_nodata_value = TRUE, only those pixels whose values are not NODATA are returned as points.
+					</para>
+				</note>
 				<para>Availability: 2.1.0</para>
+				<para>Changed: 2.1.1 Changed behavior of exclude_nodata_value.</para>
 			</refsection>
 
 			<refsection>
diff --git a/doc/release_notes.xml b/doc/release_notes.xml
index b723d4d..d139ae7 100644
--- a/doc/release_notes.xml
+++ b/doc/release_notes.xml
@@ -3,6 +3,33 @@
   <title>Appendix</title>
     <subtitle>Release Notes</subtitle>
     <sect1>
+      <title>Release 2.1.1</title>
+      <para>Release date: 2013/11/06</para>
+      <para>This is a bug fix release, addressing issues that have been filed since the 2.1.0 release.</para>
+      <simplesect>
+        <title>Important Changes</title>
+        <para>#2514, Change raster license from GPL v3+ to v2+, allowing distribution of PostGIS Extension as GPLv2.</para>
+      </simplesect>
+      <simplesect>
+        <title>Bug Fixes</title>
+        <para>#2396, Make regression tests more endian-agnostic</para>
+        <para>#2434, Fix ST_Intersection(geog,geog) regression in rare cases</para>
+        <para>#2454, Fix behavior of ST_PixelAsXXX functions regarding exclude_nodata_value parameter</para>
+        <para>#2489, Fix upgrades from 2.0 leaving stale function signatures</para>
+        <para>#2525, Fix handling of SRID in nested collections</para>
+        <para>#2449, Fix potential infinite loop in index building</para>
+        <para>#2493, Fix behavior of ST_DumpValues when passed an empty raster</para>
+        <para>#2502, Fix postgis_topology_scripts_installed() install schema</para>
+        <para>#2504, Fix segfault on bogus pgsql2shp call </para>
+        <para>#2512, Support for foreign tables and materialized views in raster_columns and raster_overviews</para>
+      </simplesect>
+      <simplesect>
+        <title>Enhancements</title>
+        <para>#2478, support for tiger 2013</para>
+        <para>#2463, support for exact length calculations on arc geometries</para>
+      </simplesect>
+    </sect1>    
+    <sect1>
 		  <title>Release 2.1.0</title>
 		  <para>Release date: 2013/08/17</para>
 		  <para>This is a minor release addressing both bug fixes and performance and functionality enhancements addressing issues since 2.0.3 release.
diff --git a/doc/tiger_geocoder_comments.sql b/doc/tiger_geocoder_comments.sql
index a73f2b3..670d2bd 100644
--- a/doc/tiger_geocoder_comments.sql
+++ b/doc/tiger_geocoder_comments.sql
@@ -1,7 +1,7 @@
 
 COMMENT ON FUNCTION Drop_Indexes_Generate_Script(text ) IS 'args: param_schema=tiger_data - Generates a script that drops all non-primary key and non-unique indexes on tiger schema and user specified schema. Defaults schema to tiger_data if no schema is specified.';
 			
-COMMENT ON FUNCTION Drop_State_Tables_Generate_Script(text , text ) IS 'args: param_state, param_schema=tiger_data - Generates a script that drops all tables in the specified schema that start with county_all, state_all or stae code followed by county or state.';
+COMMENT ON FUNCTION Drop_Nation_Tables_Generate_Script(text ) IS 'args: param_schema=tiger_data - Generates a script that drops all tables in the specified schema that start with county_all, state_all or stae code followed by county or state.';
 			
 COMMENT ON FUNCTION Drop_State_Tables_Generate_Script(text , text ) IS 'args: param_state, param_schema=tiger_data - Generates a script that drops all tables in the specified schema that are prefixed with the state abbreviation. Defaults schema to tiger_data if no schema is specified.';
 			
diff --git a/doc/using_postgis_dataman.xml b/doc/using_postgis_dataman.xml
index 8629f45..2b5c89c 100644
--- a/doc/using_postgis_dataman.xml
+++ b/doc/using_postgis_dataman.xml
@@ -751,7 +751,7 @@ SELECT AddGeometryColumn( 'roads', 'roads_geom', 0, 'GEOMETRY', 3 );</programlis
 		<para>The AddGeometryColumn() approach creates a geometry column and also registers the new
 		column in the geometry_columns table.  If your software utilizes geometry_columns, then
 		any geometry columns you need to query by must be registered in this view.  
-		Starting with PoastGIS 2.0, geometry_columns is no longer editable and all geometry columns are autoregistered.</para>
+		Starting with PostGIS 2.0, geometry_columns is no longer editable and all geometry columns are autoregistered.</para>
 		<para>However they may be registered as a generic geometry column if the column was not defined as a specific type during creation.</para>
 		
 		<para>Two of the cases
diff --git a/doc/xsl/postgis_aggs_mm.xml.xsl b/doc/xsl/postgis_aggs_mm.xml.xsl
index 19348e7..1655cf8 100644
--- a/doc/xsl/postgis_aggs_mm.xml.xsl
+++ b/doc/xsl/postgis_aggs_mm.xml.xsl
@@ -1,6 +1,6 @@
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 <!-- ********************************************************************
-	 $Id: postgis_aggs_mm.xml.xsl 11716 2013-08-02 01:30:11Z dustymugs $
+	 $Id: postgis_aggs_mm.xml.xsl 11972 2013-09-23 18:25:33Z robe $
 	 ********************************************************************
 	 Copyright 2010, Regina Obe
 	 License: BSD
@@ -459,7 +459,7 @@
 				
 				<note><para>More Topology performance Improvements.  Please refer to <xref linkend="Topology" /> for more details.</para></note>
 				<note><para>Bug fixes (particularly with handling of out-of-band rasters), many new functions (often shortening code you have to write to accomplish a common task) and massive speed improvements to raster functionality. Refer to <xref linkend="RT_reference" /> for more details. </para></note>
-				<note><para>Tiger Geocoder upgraded to work with TIGER 2012 census data.  <varname>geocode_settings</varname> added for debugging and tweaking rating preferences, loader made less greedy, now only downloads tables to be loaded.
+				<note><para>Tiger Geocoder upgraded to work with TIGER 2012 census data in 2.1.0 and TIGER 2013 in 2.1.1.  <varname>geocode_settings</varname> added for debugging and tweaking rating preferences, loader made less greedy, now only downloads tables to be loaded.
 					Please refer to <xref linkend="Tiger_Geocoder" /> for more details.</para></note>
 					
 				<note><para>Raster bands can only reference the first 256 bands of out-db rasters.</para></note>
diff --git a/extensions/Makefile b/extensions/Makefile
deleted file mode 100644
index 4c94a83..0000000
--- a/extensions/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#############################################################################
-#
-# Master makefile used to build extensions
-# Copyright (C) 2012 Regina Obe and Leo Hsu <lr at pcorp.us>
-# Copyright (C) 2012 Sandro Santilli <strk at keybit.net>
-#
-# This is free software; you can redistribute and/or modify it under
-# the terms of the GNU General Public Licence. See the COPYING file.
-#
-#############################################################################
-
-SUBDIRS = postgis 
-SUBDIRS += postgis_tiger_geocoder 
-ifeq (topology,topology)
-	SUBDIRS += postgis_topology
-endif
-
-all clean distclean install uninstall:
-	for DIR in $(SUBDIRS); do \
-		echo "---- Making $@ in $${DIR}"; \
-		$(MAKE) -C "$${DIR}" $@; \
-	done
-
-distclean: distclean-local
-
-distclean-local:
-	rm -f Makefile
-
-
-check:
-	@echo "Nothing to check"
-
diff --git a/extensions/postgis/Makefile b/extensions/postgis/Makefile
deleted file mode 100644
index 790fb58..0000000
--- a/extensions/postgis/Makefile
+++ /dev/null
@@ -1,155 +0,0 @@
-include ../upgradeable_versions.mk
-
-EXTENSION     = postgis
-EXTVERSION    = 2.1.0
-MINORVERSION  = 2.1
-GREP = /bin/grep
-
-MICRO_NUMBER  = $(shell echo $(EXTVERSION) | sed "s/[0-9]\.[0-9]\.\([0-9]*\)[a-zA-Z]*[0-9]*/\1/")
-PREREL_NUMBER = $(shell echo $(EXTVERSION) | \
-                        sed "s/[0-9]\.[0-9]\.\(.*\)/\1/" | \
-                        $(GREP) "[a-zA-Z]" | \
-                        sed "s/[0-9][a-zA-Z]\([0-9]*\)[a-zA-Z]*/\1/")
-MICRO_PREV    = $(shell if test "$(MICRO_NUMBER)x" != "x"; then expr $(MICRO_NUMBER) - 1; fi)
-PREREL_PREV   = $(shell if test "$(PREREL_NUMBER)x" != "x"; then expr $(PREREL_NUMBER) - 1; fi)
-
-PREREL_PREFIX = $(shell echo $(EXTVERSION) | \
-                        sed "s/[0-9]\.[0-9]\.\(.*\)/\1/" | \
-                        $(GREP) "[a-zA-Z]" | \
-                        sed "s/\([0-9][a-zA-Z]*\)[0-9]*/\1/")
-
-DATA         = $(filter-out $(wildcard sql/*--*.sql),$(wildcard sql/*.sql))
-
-#DOCS         = $(wildcard ../../doc/html/*.html)
-PG_CONFIG    = /var/lib/jenkins/workspace/pg/rel/pg9.2w64/bin/pg_config
-
-PG91         = $(shell $(PG_CONFIG) --version | $(GREP) -qE " 8\.| 9\.0" && echo no || echo yes)
-SQL_BITS     = $(wildcard sql_bits/*.sql)
-EXTRA_CLEAN += ${SQL_BITS} sql/*.sql
-
-
-ifeq ($(PG91),yes)
-sql/$(EXTENSION).sql: sql_bits/postgis.sql sql_bits/postgis_comments.sql sql_bits/rtpostgis.sql sql_bits/mark_editable_objects.sql.in sql_bits/raster_comments.sql sql_bits/spatial_ref_sys.sql
-	mkdir -p sql
-	cat $^ > $@
-	
-all: sql/$(EXTENSION)--$(EXTVERSION).sql sql/$(EXTENSION)--unpackaged--$(EXTVERSION).sql sql/$(EXTENSION)--$(EXTVERSION)--$(EXTVERSION)next.sql sql/$(EXTENSION)--$(EXTVERSION)next--$(EXTVERSION).sql sql_minor_upgrade
-
-sql/$(EXTENSION)--$(EXTVERSION).sql: sql/$(EXTENSION).sql
-	mkdir -p sql
-	cp $< $@
-
-sql/$(EXTENSION)--unpackaged--$(EXTVERSION).sql: sql_bits/postgis--unpackaged.sql.in
-	mkdir -p sql
-	cp $< $@
-	
-#this is a cludge to allow upgrading from same SVN to same SVN
-sql/$(EXTENSION)--$(EXTVERSION)--$(EXTVERSION)next.sql: sql_bits/postgis_raster_upgrade_minor.sql
-	cp $< $@
-sql/$(EXTENSION)--$(EXTVERSION)next--$(EXTVERSION).sql: sql_bits/postgis_raster_upgrade_minor.sql
-	cp $< $@
-
-#strip BEGIN/COMMIT since these are not allowed in extensions
-sql_bits/spatial_ref_sys.sql: ../../spatial_ref_sys.sql	
-	sed -e 's/BEGIN;//g' -e 's/COMMIT;//g'  $< > $@
-
-#strip BEGIN/COMMIT since these are not allowed in extensions
-sql_bits/postgis.sql: ../../postgis/postgis.sql
-	sed -e 's/BEGIN;//g' -e 's/COMMIT;//g'  $< > $@
-
-../../doc/postgis_comments.sql:
-	$(MAKE) -C ../../doc comments
-
-sql_bits/postgis_comments.sql: ../../doc/postgis_comments.sql
-	cp $< $@
-
-#strip BEGIN/COMMIT since these are not allowed in extensions
-sql_bits/rtpostgis.sql: ../../raster/rt_pg/rtpostgis.sql
-	sed -e 's/BEGIN;//g' -e 's/COMMIT;//g'  $< > $@
-
-# we need to also drop this temporary function from the extension
-# for casts that are being dropped we need to drop them 
-# from extension only if they are in the existension so we use our postgis_extension_drop..
-# so that it will silently fail if cast is not in extension
-sql_bits/rtpostgis_upgrade_20_21.sql: ../../raster/rt_pg/rtpostgis_upgrade_20_21.sql
-	sed -e 's/BEGIN;//g' -e 's/COMMIT;//g' \
-		-e 's/DROP FUNCTION _rename_raster_tables();/ALTER EXTENSION ${EXTENSION} DROP FUNCTION _rename_raster_tables();DROP FUNCTION _rename_raster_tables();/g' \
-		-e 's/DROP FUNCTION _drop_st_samealignment();/ALTER EXTENSION ${EXTENSION} DROP FUNCTION _drop_st_samealignment();DROP FUNCTION _drop_st_samealignment();/g' \
-		-e 's/DROP CAST\(.*\)/SELECT postgis_extension_drop_if_exists('\''$(EXTENSION)'\'', '\''DROP CAST \1'\'');DROP CAST \1/' \
-	$< > $@
-
-#don't drop casts just yet since we don't have provision to remove from extension yet
-#need to also drop temporary functions from extenions since it gets auto-added
-sql_bits/postgis_upgrade_20_21.sql: ../../postgis/postgis_upgrade_20_21.sql 
-		 sed -e 's/BEGIN;//g' -e 's/COMMIT;//g' \
-		 -e '/^\(DROP\|CREATE\) \(CAST\).*;/d' \
-		 -e '/^\(DROP\|CREATE\) \(CAST\)/,/\;/d' \
-		 -e 's/DROP FUNCTION postgis_major_version_check();/ALTER EXTENSION ${EXTENSION} DROP FUNCTION postgis_major_version_check();DROP FUNCTION postgis_major_version_check();/g' \
-	 	 $< > $@
-
-
-../../doc/raster_comments.sql:
-	$(MAKE) -C ../../doc comments
-
-sql_bits/raster_comments.sql: ../../doc/raster_comments.sql
-	cp $< $@
-
-#postgis_raster_upgrade_minor.sql is the one that contains both postgis AND raster
-#TODO: come up with a better name
-#TODO: what about postgis_drop_after.sql ? where does it fit ??
-sql_bits/postgis_raster_upgrade_minor.sql: ../postgis_extension_helper.sql sql_bits/remove_from_extension.sql.in sql_bits/postgis_upgrade_20_21.sql sql_bits/rtpostgis_upgrade_20_21.sql ../../doc/raster_comments.sql ../../doc/postgis_comments.sql ../postgis_extension_helper_uninstall.sql
-	cat $^ > $@
-
-# sql_bits/rtpostgis--unpackaged.sql:  ../../raster/rt_pg/rtpostgis.sql	 
-# 	sed -e 's/^[\t]*//' \
-# 		-e :a -e '$!N; s/,\n/,/; ta' \
-# 	$< > $@
-#remove leading white space and tabs
-#remove line break from a line if it ends in ,
-
-sql_bits/rtpostgis-filtered.sql:  ../../raster/rt_pg/rtpostgis.sql
-		sed \
-		-e 's/^[\t]*//' \
-		$< > $@
-
-## we are going to hard code for now using sql script to generate unpackage script
-# sql_bits/rtpostgis--unpackaged.sql:  ../../raster/rt_pg/rtpostgis.sql
-# 		sed \
-# 		-e 's/^[\t]*//' \
-# 		-e '$!N; s/(\n/(/g' \
-# 		-e '/^CREATE \(OR REPLACE FUNCTION\|TRIGGER\|TYPE\|TABLE\|VIEW\)/!d;' \
-# 		-e 's/OR REPLACE//g' \
-# 		-e 's/CREATE\(.*\)/ALTER EXTENSION $(EXTENSION) ADD\1;/' \
-# 		-e 's/DEFAULT [^()]\+//g' \
-# 		-e 's/\(BEFORE\|AS\|RETURNS\)\(.*\)/;/' \
-# 		-e 's/(;/;/' \
-# 		-e 's/\\(;/;/' \
-# 		-e 's/;;/;/g' $< > $@
-
-# sql_bits/postgis--unpackaged.sql:   ../../postgis/postgis.sql
-# 	sed -e '/^CREATE \(OR REPLACE\|TRIGGER\|TYPE\|TABLE\|VIEW\)/!d;' \
-# 		-e 's/OR REPLACE//g' \
-# 		-e 's/CREATE\(.*\)/ALTER EXTENSION $(EXTENSION) ADD\1;/' \
-# 		-e 's/DEFAULT [\.0-9a-zA-Z]\+//g' \
-# 		-e 's/\(BEFORE\|AS\|RETURNS\)\(.*\)/;/' \
-# 		-e 's/(;/;/' \
-# 		-e 's/\\(;/;/' \
-# 		-e 's/;;/;/g' $< > $@
-
-
-sql/postgis--unpackaged--$(EXTVERSION).sql: sql_bits/postgis--unpackaged.sql.in
-
-sql_minor_upgrade: sql_bits/postgis_raster_upgrade_minor.sql
-	for OLD_VERSION in $(UPGRADEABLE_VERSIONS); do \
-  	  cat $< > sql/$(EXTENSION)--$$OLD_VERSION--$(EXTVERSION).sql; \
-	done
-
-DATA = $(wildcard sql/*--*.sql)
-EXTRA_CLEAN += sql/$(EXTENSION)--$(EXTVERSION).sql sql/postgis--unpackaged--$(EXTVERSION).sql
-endif
-
-distclean: clean
-	rm -f Makefile
-
-PGXS := $(shell $(PG_CONFIG) --pgxs)
-include $(PGXS)
diff --git a/extensions/postgis/postgis.control b/extensions/postgis/postgis.control
index 47fde01..a7626cb 100644
--- a/extensions/postgis/postgis.control
+++ b/extensions/postgis/postgis.control
@@ -1,5 +1,5 @@
 # postgis extension
 comment = 'PostGIS geometry, geography, and raster spatial types and functions'
-default_version = '2.1.0'
+default_version = '2.1.1'
 module_pathname = '$libdir/postgis-2.1'
 relocatable = true
diff --git a/extensions/postgis/sql_bits/postgis--unpackaged.sql.in b/extensions/postgis/sql_bits/postgis--unpackaged.sql.in
index 8eaf852..42d7bf4 100644
--- a/extensions/postgis/sql_bits/postgis--unpackaged.sql.in
+++ b/extensions/postgis/sql_bits/postgis--unpackaged.sql.in
@@ -1,1170 +1,1172 @@
-ALTER EXTENSION postgis ADD cast(box2d as box3d);
-ALTER EXTENSION postgis ADD cast(box2d as geometry);
-ALTER EXTENSION postgis ADD cast(box3d as box);
-ALTER EXTENSION postgis ADD cast(box3d as box2d);
-ALTER EXTENSION postgis ADD cast(box3d as geometry);
-ALTER EXTENSION postgis ADD cast(bytea as geography);
-ALTER EXTENSION postgis ADD cast(bytea as geometry);
-ALTER EXTENSION postgis ADD cast(geography as bytea);
-ALTER EXTENSION postgis ADD cast(geography as geography);
-ALTER EXTENSION postgis ADD cast(geography as geometry);
-ALTER EXTENSION postgis ADD cast(geometry as box);
-ALTER EXTENSION postgis ADD cast(geometry as box2d);
-ALTER EXTENSION postgis ADD cast(geometry as box3d);
-ALTER EXTENSION postgis ADD cast(geometry as bytea);
-ALTER EXTENSION postgis ADD cast(geometry as geography);
-ALTER EXTENSION postgis ADD cast(geometry as geometry);
-ALTER EXTENSION postgis ADD cast(geometry as path);
-ALTER EXTENSION postgis ADD cast(geometry as point);
-ALTER EXTENSION postgis ADD cast(geometry as polygon);
-ALTER EXTENSION postgis ADD cast(geometry as text);
-ALTER EXTENSION postgis ADD cast(path as geometry);
-ALTER EXTENSION postgis ADD cast(point as geometry);
-ALTER EXTENSION postgis ADD cast(polygon as geometry);
-ALTER EXTENSION postgis ADD cast(raster as box3d);
-ALTER EXTENSION postgis ADD cast(raster as bytea);
-ALTER EXTENSION postgis ADD cast(raster as geometry);
-ALTER EXTENSION postgis ADD cast(text as geometry);
-ALTER EXTENSION postgis ADD function _add_overview_constraint(name,name,name,name,name,name,integer);
-ALTER EXTENSION postgis ADD function _add_raster_constraint(name,text);
-ALTER EXTENSION postgis ADD function _add_raster_constraint_alignment(name,name,name);
-ALTER EXTENSION postgis ADD function _add_raster_constraint_blocksize(name,name,name,text);
-ALTER EXTENSION postgis ADD function _add_raster_constraint_coverage_tile(name,name,name);
-ALTER EXTENSION postgis ADD function _add_raster_constraint_extent(name,name,name);
-ALTER EXTENSION postgis ADD function _add_raster_constraint_nodata_values(name,name,name);
-ALTER EXTENSION postgis ADD function _add_raster_constraint_num_bands(name,name,name);
-ALTER EXTENSION postgis ADD function _add_raster_constraint_out_db(name,name,name);
-ALTER EXTENSION postgis ADD function _add_raster_constraint_pixel_types(name,name,name);
-ALTER EXTENSION postgis ADD function _add_raster_constraint_scale(name,name,name,character);
-ALTER EXTENSION postgis ADD function _add_raster_constraint_spatially_unique(name,name,name);
-ALTER EXTENSION postgis ADD function _add_raster_constraint_srid(name,name,name);
-ALTER EXTENSION postgis ADD function _drop_overview_constraint(name,name,name);
-ALTER EXTENSION postgis ADD function _drop_raster_constraint(name,name,name);
-ALTER EXTENSION postgis ADD function _drop_raster_constraint_alignment(name,name,name);
-ALTER EXTENSION postgis ADD function _drop_raster_constraint_blocksize(name,name,name,text);
-ALTER EXTENSION postgis ADD function _drop_raster_constraint_coverage_tile(name,name,name);
-ALTER EXTENSION postgis ADD function _drop_raster_constraint_extent(name,name,name);
-ALTER EXTENSION postgis ADD function _drop_raster_constraint_nodata_values(name,name,name);
-ALTER EXTENSION postgis ADD function _drop_raster_constraint_num_bands(name,name,name);
-ALTER EXTENSION postgis ADD function _drop_raster_constraint_out_db(name,name,name);
-ALTER EXTENSION postgis ADD function _drop_raster_constraint_pixel_types(name,name,name);
-ALTER EXTENSION postgis ADD function _drop_raster_constraint_regular_blocking(name,name,name);
-ALTER EXTENSION postgis ADD function _drop_raster_constraint_scale(name,name,name,character);
-ALTER EXTENSION postgis ADD function _drop_raster_constraint_spatially_unique(name,name,name);
-ALTER EXTENSION postgis ADD function _drop_raster_constraint_srid(name,name,name);
-ALTER EXTENSION postgis ADD function _overview_constraint(raster,integer,name,name,name);
-ALTER EXTENSION postgis ADD function _overview_constraint_info(name,name,name);
-ALTER EXTENSION postgis ADD function _postgis_deprecate(text,text,text);
-ALTER EXTENSION postgis ADD function _postgis_join_selectivity(regclass,text,regclass,text,text);
-ALTER EXTENSION postgis ADD function _postgis_selectivity(regclass,text,geometry,text);
-ALTER EXTENSION postgis ADD function _postgis_stats(regclass,text,text);
-ALTER EXTENSION postgis ADD function _raster_constraint_info_alignment(name,name,name);
-ALTER EXTENSION postgis ADD function _raster_constraint_info_blocksize(name,name,name,text);
-ALTER EXTENSION postgis ADD function _raster_constraint_info_coverage_tile(name,name,name);
-ALTER EXTENSION postgis ADD function _raster_constraint_info_extent(name,name,name);
-ALTER EXTENSION postgis ADD function _raster_constraint_info_nodata_values(name,name,name);
-ALTER EXTENSION postgis ADD function _raster_constraint_info_num_bands(name,name,name);
-ALTER EXTENSION postgis ADD function _raster_constraint_info_out_db(name,name,name);
-ALTER EXTENSION postgis ADD function _raster_constraint_info_pixel_types(name,name,name);
-ALTER EXTENSION postgis ADD function _raster_constraint_info_regular_blocking(name,name,name);
-ALTER EXTENSION postgis ADD function _raster_constraint_info_scale(name,name,name,character);
-ALTER EXTENSION postgis ADD function _raster_constraint_info_spatially_unique(name,name,name);
-ALTER EXTENSION postgis ADD function _raster_constraint_info_srid(name,name,name);
-ALTER EXTENSION postgis ADD function _raster_constraint_nodata_values(raster);
-ALTER EXTENSION postgis ADD function _raster_constraint_out_db(raster);
-ALTER EXTENSION postgis ADD function _raster_constraint_pixel_types(raster);
-ALTER EXTENSION postgis ADD function _st_3ddfullywithin(geometry,geometry,double precision);
-ALTER EXTENSION postgis ADD function _st_3ddwithin(geometry,geometry,double precision);
-ALTER EXTENSION postgis ADD function _st_3dintersects(geometry,geometry);
-ALTER EXTENSION postgis ADD function _st_asgeojson(integer,geography,integer,integer);
-ALTER EXTENSION postgis ADD function _st_asgeojson(integer,geometry,integer,integer);
-ALTER EXTENSION postgis ADD function _st_asgml(integer,geography,integer,integer,text,text);
-ALTER EXTENSION postgis ADD function _st_asgml(integer,geometry,integer,integer,text,text);
-ALTER EXTENSION postgis ADD function _st_askml(integer,geography,integer,text);
-ALTER EXTENSION postgis ADD function _st_askml(integer,geometry,integer,text);
-ALTER EXTENSION postgis ADD function _st_aspect4ma(double precision[],integer[],text[]);
-ALTER EXTENSION postgis ADD function _st_asraster(geometry,double precision,double precision,integer,integer,text[],double precision[],double precision[],double precision,double precision,double precision,double precision,double precision,double precision,boolean);
-ALTER EXTENSION postgis ADD function _st_asx3d(integer,geometry,integer,integer,text);
-ALTER EXTENSION postgis ADD function _st_bestsrid(geography);
-ALTER EXTENSION postgis ADD function _st_bestsrid(geography,geography);
-ALTER EXTENSION postgis ADD function _st_buffer(geometry,double precision,cstring);
-ALTER EXTENSION postgis ADD function _st_colormap(raster,integer,text,text);
-ALTER EXTENSION postgis ADD function _st_concavehull(geometry);
-ALTER EXTENSION postgis ADD function _st_contains(geometry,geometry);
-ALTER EXTENSION postgis ADD function _st_contains(raster,integer,raster,integer);
-ALTER EXTENSION postgis ADD function _st_containsproperly(geometry,geometry);
-ALTER EXTENSION postgis ADD function _st_containsproperly(raster,integer,raster,integer);
-ALTER EXTENSION postgis ADD function _st_convertarray4ma(double precision[]);
-ALTER EXTENSION postgis ADD function _st_count(raster,integer,boolean,double precision);
-ALTER EXTENSION postgis ADD function _st_count(text,text,integer,boolean,double precision);
-ALTER EXTENSION postgis ADD function _st_coveredby(geometry,geometry);
-ALTER EXTENSION postgis ADD function _st_coveredby(raster,integer,raster,integer);
-ALTER EXTENSION postgis ADD function _st_covers(geography,geography);
-ALTER EXTENSION postgis ADD function _st_covers(geometry,geometry);
-ALTER EXTENSION postgis ADD function _st_covers(raster,integer,raster,integer);
-ALTER EXTENSION postgis ADD function _st_crosses(geometry,geometry);
-ALTER EXTENSION postgis ADD function _st_dfullywithin(geometry,geometry,double precision);
-ALTER EXTENSION postgis ADD function _st_dfullywithin(raster,integer,raster,integer,double precision);
-ALTER EXTENSION postgis ADD function _st_distance(geography,geography,double precision,boolean);
-ALTER EXTENSION postgis ADD function _st_distancetree(geography,geography);
-ALTER EXTENSION postgis ADD function _st_distancetree(geography,geography,double precision,boolean);
-ALTER EXTENSION postgis ADD function _st_distanceuncached(geography,geography);
-ALTER EXTENSION postgis ADD function _st_distanceuncached(geography,geography,boolean);
-ALTER EXTENSION postgis ADD function _st_distanceuncached(geography,geography,double precision,boolean);
-ALTER EXTENSION postgis ADD function _st_dumppoints(geometry,integer[]);
-ALTER EXTENSION postgis ADD function _st_dwithin(geography,geography,double precision,boolean);
-ALTER EXTENSION postgis ADD function _st_dwithin(geometry,geometry,double precision);
-ALTER EXTENSION postgis ADD function _st_dwithin(raster,integer,raster,integer,double precision);
-ALTER EXTENSION postgis ADD function _st_dwithinuncached(geography,geography,double precision);
-ALTER EXTENSION postgis ADD function _st_dwithinuncached(geography,geography,double precision,boolean);
-ALTER EXTENSION postgis ADD function _st_equals(geometry,geometry);
-ALTER EXTENSION postgis ADD function _st_expand(geography,double precision);
-ALTER EXTENSION postgis ADD function _st_gdalwarp(raster,text,double precision,integer,double precision,double precision,double precision,double precision,double precision,double precision,integer,integer);
-ALTER EXTENSION postgis ADD function _st_geomfromgml(text,integer);
-ALTER EXTENSION postgis ADD function _st_hillshade4ma(double precision[],integer[],text[]);
-ALTER EXTENSION postgis ADD function _st_histogram(raster,integer,boolean,double precision,integer,double precision[],boolean,double precision,double precision);
-ALTER EXTENSION postgis ADD function _st_histogram(text,text,integer,boolean,double precision,integer,double precision[],boolean);
-ALTER EXTENSION postgis ADD function _st_intersects(geometry,geometry);
-ALTER EXTENSION postgis ADD function _st_intersects(geometry,raster,integer);
-ALTER EXTENSION postgis ADD function _st_intersects(raster,integer,raster,integer);
-ALTER EXTENSION postgis ADD function _st_linecrossingdirection(geometry,geometry);
-ALTER EXTENSION postgis ADD function _st_longestline(geometry,geometry);
-ALTER EXTENSION postgis ADD function _st_mapalgebra(rastbandarg[],regprocedure,text,integer,integer,text,raster,text[]);
-ALTER EXTENSION postgis ADD function _st_mapalgebra(rastbandarg[],text,text,text,text,text,double precision);
-ALTER EXTENSION postgis ADD function _st_maxdistance(geometry,geometry);
-ALTER EXTENSION postgis ADD function _st_neighborhood(raster,integer,integer,integer,integer,integer,boolean);
-ALTER EXTENSION postgis ADD function _st_orderingequals(geometry,geometry);
-ALTER EXTENSION postgis ADD function _st_overlaps(geometry,geometry);
-ALTER EXTENSION postgis ADD function _st_overlaps(raster,integer,raster,integer);
-ALTER EXTENSION postgis ADD function _st_pixelaspolygons(raster,integer,integer,integer,boolean);
-ALTER EXTENSION postgis ADD function _st_pointoutside(geography);
-ALTER EXTENSION postgis ADD function _st_quantile(raster,integer,boolean,double precision,double precision[]);
-ALTER EXTENSION postgis ADD function _st_quantile(text,text,integer,boolean,double precision,double precision[]);
-ALTER EXTENSION postgis ADD function _st_rastertoworldcoord(raster,integer,integer);
-ALTER EXTENSION postgis ADD function _st_reclass(raster,reclassarg[]);
-ALTER EXTENSION postgis ADD function _st_roughness4ma(double precision[],integer[],text[]);
-ALTER EXTENSION postgis ADD function _st_samealignment_finalfn(agg_samealignment);
-ALTER EXTENSION postgis ADD function _st_samealignment_transfn(agg_samealignment,raster);
-ALTER EXTENSION postgis ADD function _st_setvalues(raster,integer,integer,integer,double precision[],boolean[],boolean,double precision,boolean);
-ALTER EXTENSION postgis ADD function _st_slope4ma(double precision[],integer[],text[]);
-ALTER EXTENSION postgis ADD function _st_summarystats(raster,integer,boolean,double precision);
-ALTER EXTENSION postgis ADD function _st_summarystats(text,text,integer,boolean,double precision);
-ALTER EXTENSION postgis ADD function _st_tile(raster,integer,integer,integer[],boolean,double precision);
-ALTER EXTENSION postgis ADD function _st_touches(geometry,geometry);
-ALTER EXTENSION postgis ADD function _st_touches(raster,integer,raster,integer);
-ALTER EXTENSION postgis ADD function _st_tpi4ma(double precision[],integer[],text[]);
-ALTER EXTENSION postgis ADD function _st_tri4ma(double precision[],integer[],text[]);
-ALTER EXTENSION postgis ADD function _st_union_finalfn(internal);
-ALTER EXTENSION postgis ADD function _st_union_transfn(internal,raster);
-ALTER EXTENSION postgis ADD function _st_union_transfn(internal,raster,integer);
-ALTER EXTENSION postgis ADD function _st_union_transfn(internal,raster,integer,text);
-ALTER EXTENSION postgis ADD function _st_union_transfn(internal,raster,text);
-ALTER EXTENSION postgis ADD function _st_union_transfn(internal,raster,unionarg[]);
-ALTER EXTENSION postgis ADD function _st_valuecount(raster,integer,boolean,double precision[],double precision);
-ALTER EXTENSION postgis ADD function _st_valuecount(text,text,integer,boolean,double precision[],double precision);
-ALTER EXTENSION postgis ADD function _st_within(geometry,geometry);
-ALTER EXTENSION postgis ADD function _st_within(raster,integer,raster,integer);
-ALTER EXTENSION postgis ADD function _st_worldtorastercoord(raster,double precision,double precision);
-ALTER EXTENSION postgis ADD function _updaterastersrid(name,name,name,integer);
-ALTER EXTENSION postgis ADD function addauth(text);
-ALTER EXTENSION postgis ADD function addgeometrycolumn(character varying,character varying,character varying,character varying,integer,character varying,integer,boolean);
-ALTER EXTENSION postgis ADD function addgeometrycolumn(character varying,character varying,character varying,integer,character varying,integer,boolean);
-ALTER EXTENSION postgis ADD function addgeometrycolumn(character varying,character varying,integer,character varying,integer,boolean);
-ALTER EXTENSION postgis ADD function addoverviewconstraints(name,name,name,name,integer);
-ALTER EXTENSION postgis ADD function addoverviewconstraints(name,name,name,name,name,name,integer);
-ALTER EXTENSION postgis ADD function addrasterconstraints(name,name,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean);
-ALTER EXTENSION postgis ADD function addrasterconstraints(name,name,name,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean);
-ALTER EXTENSION postgis ADD function addrasterconstraints(name,name,name,text[]);
-ALTER EXTENSION postgis ADD function addrasterconstraints(name,name,text[]);
-ALTER EXTENSION postgis ADD function box(box3d);
-ALTER EXTENSION postgis ADD function box(geometry);
-ALTER EXTENSION postgis ADD function box2d(box3d);
-ALTER EXTENSION postgis ADD function box2d(geometry);
-ALTER EXTENSION postgis ADD function box2d_in(cstring);
-ALTER EXTENSION postgis ADD function box2d_out(box2d);
-ALTER EXTENSION postgis ADD function box2df_in(cstring);
-ALTER EXTENSION postgis ADD function box2df_out(box2df);
-ALTER EXTENSION postgis ADD function box3d(box2d);
-ALTER EXTENSION postgis ADD function box3d(geometry);
-ALTER EXTENSION postgis ADD function box3d(raster);
-ALTER EXTENSION postgis ADD function box3d_in(cstring);
-ALTER EXTENSION postgis ADD function box3d_out(box3d);
-ALTER EXTENSION postgis ADD function box3dtobox(box3d);
-ALTER EXTENSION postgis ADD function bytea(geography);
-ALTER EXTENSION postgis ADD function bytea(geometry);
-ALTER EXTENSION postgis ADD function bytea(raster);
-ALTER EXTENSION postgis ADD function checkauth(text,text);
-ALTER EXTENSION postgis ADD function checkauth(text,text,text);
-ALTER EXTENSION postgis ADD function checkauthtrigger();
-ALTER EXTENSION postgis ADD function disablelongtransactions();
-ALTER EXTENSION postgis ADD function dropgeometrycolumn(character varying,character varying);
-ALTER EXTENSION postgis ADD function dropgeometrycolumn(character varying,character varying,character varying);
-ALTER EXTENSION postgis ADD function dropgeometrycolumn(character varying,character varying,character varying,character varying);
-ALTER EXTENSION postgis ADD function dropgeometrytable(character varying);
-ALTER EXTENSION postgis ADD function dropgeometrytable(character varying,character varying);
-ALTER EXTENSION postgis ADD function dropgeometrytable(character varying,character varying,character varying);
-ALTER EXTENSION postgis ADD function dropoverviewconstraints(name,name);
-ALTER EXTENSION postgis ADD function dropoverviewconstraints(name,name,name);
-ALTER EXTENSION postgis ADD function droprasterconstraints(name,name,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean);
-ALTER EXTENSION postgis ADD function droprasterconstraints(name,name,name,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean);
-ALTER EXTENSION postgis ADD function droprasterconstraints(name,name,name,text[]);
-ALTER EXTENSION postgis ADD function droprasterconstraints(name,name,text[]);
-ALTER EXTENSION postgis ADD function enablelongtransactions();
-ALTER EXTENSION postgis ADD function equals(geometry,geometry);
-ALTER EXTENSION postgis ADD function find_srid(character varying,character varying,character varying);
-ALTER EXTENSION postgis ADD function geography(bytea);
-ALTER EXTENSION postgis ADD function geography(geography,integer,boolean);
-ALTER EXTENSION postgis ADD function geography(geometry);
-ALTER EXTENSION postgis ADD function geography_analyze(internal);
-ALTER EXTENSION postgis ADD function geography_cmp(geography,geography);
-ALTER EXTENSION postgis ADD function geography_eq(geography,geography);
-ALTER EXTENSION postgis ADD function geography_ge(geography,geography);
-ALTER EXTENSION postgis ADD function geography_gist_compress(internal);
-ALTER EXTENSION postgis ADD function geography_gist_consistent(internal,geography,integer);
-ALTER EXTENSION postgis ADD function geography_gist_decompress(internal);
-ALTER EXTENSION postgis ADD function geography_gist_penalty(internal,internal,internal);
-ALTER EXTENSION postgis ADD function geography_gist_picksplit(internal,internal);
-ALTER EXTENSION postgis ADD function geography_gist_same(box2d,box2d,internal);
-ALTER EXTENSION postgis ADD function geography_gist_union(bytea,internal);
-ALTER EXTENSION postgis ADD function geography_gt(geography,geography);
-ALTER EXTENSION postgis ADD function geography_in(cstring,oid,integer);
-ALTER EXTENSION postgis ADD function geography_le(geography,geography);
-ALTER EXTENSION postgis ADD function geography_lt(geography,geography);
-ALTER EXTENSION postgis ADD function geography_out(geography);
-ALTER EXTENSION postgis ADD function geography_overlaps(geography,geography);
-ALTER EXTENSION postgis ADD function geography_recv(internal,oid,integer);
-ALTER EXTENSION postgis ADD function geography_send(geography);
-ALTER EXTENSION postgis ADD function geography_typmod_in(cstring[]);
-ALTER EXTENSION postgis ADD function geography_typmod_out(integer);
-ALTER EXTENSION postgis ADD function geometry(box2d);
-ALTER EXTENSION postgis ADD function geometry(box3d);
-ALTER EXTENSION postgis ADD function geometry(bytea);
-ALTER EXTENSION postgis ADD function geometry(geography);
-ALTER EXTENSION postgis ADD function geometry(geometry,integer,boolean);
-ALTER EXTENSION postgis ADD function geometry(path);
-ALTER EXTENSION postgis ADD function geometry(point);
-ALTER EXTENSION postgis ADD function geometry(polygon);
-ALTER EXTENSION postgis ADD function geometry(text);
-ALTER EXTENSION postgis ADD function geometry_above(geometry,geometry);
-ALTER EXTENSION postgis ADD function geometry_analyze(internal);
-ALTER EXTENSION postgis ADD function geometry_below(geometry,geometry);
-ALTER EXTENSION postgis ADD function geometry_cmp(geometry,geometry);
-ALTER EXTENSION postgis ADD function geometry_contains(geometry,geometry);
-ALTER EXTENSION postgis ADD function geometry_distance_box(geometry,geometry);
-ALTER EXTENSION postgis ADD function geometry_distance_centroid(geometry,geometry);
-ALTER EXTENSION postgis ADD function geometry_eq(geometry,geometry);
-ALTER EXTENSION postgis ADD function geometry_ge(geometry,geometry);
-ALTER EXTENSION postgis ADD function geometry_gist_compress_2d(internal);
-ALTER EXTENSION postgis ADD function geometry_gist_compress_nd(internal);
-ALTER EXTENSION postgis ADD function geometry_gist_consistent_2d(internal,geometry,integer);
-ALTER EXTENSION postgis ADD function geometry_gist_consistent_nd(internal,geometry,integer);
-ALTER EXTENSION postgis ADD function geometry_gist_decompress_2d(internal);
-ALTER EXTENSION postgis ADD function geometry_gist_decompress_nd(internal);
-ALTER EXTENSION postgis ADD function geometry_gist_distance_2d(internal,geometry,integer);
-ALTER EXTENSION postgis ADD function geometry_gist_penalty_2d(internal,internal,internal);
-ALTER EXTENSION postgis ADD function geometry_gist_penalty_nd(internal,internal,internal);
-ALTER EXTENSION postgis ADD function geometry_gist_picksplit_2d(internal,internal);
-ALTER EXTENSION postgis ADD function geometry_gist_picksplit_nd(internal,internal);
-ALTER EXTENSION postgis ADD function geometry_gist_same_2d(geometry,geometry,internal);
-ALTER EXTENSION postgis ADD function geometry_gist_same_nd(geometry,geometry,internal);
-ALTER EXTENSION postgis ADD function geometry_gist_union_2d(bytea,internal);
-ALTER EXTENSION postgis ADD function geometry_gist_union_nd(bytea,internal);
-ALTER EXTENSION postgis ADD function geometry_gt(geometry,geometry);
-ALTER EXTENSION postgis ADD function geometry_in(cstring);
-ALTER EXTENSION postgis ADD function geometry_le(geometry,geometry);
-ALTER EXTENSION postgis ADD function geometry_left(geometry,geometry);
-ALTER EXTENSION postgis ADD function geometry_lt(geometry,geometry);
-ALTER EXTENSION postgis ADD function geometry_out(geometry);
-ALTER EXTENSION postgis ADD function geometry_overabove(geometry,geometry);
-ALTER EXTENSION postgis ADD function geometry_overbelow(geometry,geometry);
-ALTER EXTENSION postgis ADD function geometry_overlaps(geometry,geometry);
-ALTER EXTENSION postgis ADD function geometry_overlaps_nd(geometry,geometry);
-ALTER EXTENSION postgis ADD function geometry_overleft(geometry,geometry);
-ALTER EXTENSION postgis ADD function geometry_overright(geometry,geometry);
-ALTER EXTENSION postgis ADD function geometry_raster_contain(geometry,raster);
-ALTER EXTENSION postgis ADD function geometry_raster_overlap(geometry,raster);
-ALTER EXTENSION postgis ADD function geometry_recv(internal);
-ALTER EXTENSION postgis ADD function geometry_right(geometry,geometry);
-ALTER EXTENSION postgis ADD function geometry_same(geometry,geometry);
-ALTER EXTENSION postgis ADD function geometry_send(geometry);
-ALTER EXTENSION postgis ADD function geometry_typmod_in(cstring[]);
-ALTER EXTENSION postgis ADD function geometry_typmod_out(integer);
-ALTER EXTENSION postgis ADD function geometry_within(geometry,geometry);
-ALTER EXTENSION postgis ADD function geometrytype(geography);
-ALTER EXTENSION postgis ADD function geometrytype(geometry);
-ALTER EXTENSION postgis ADD function geomfromewkb(bytea);
-ALTER EXTENSION postgis ADD function geomfromewkt(text);
-ALTER EXTENSION postgis ADD function get_proj4_from_srid(integer);
-ALTER EXTENSION postgis ADD function gettransactionid();
-ALTER EXTENSION postgis ADD function gidx_in(cstring);
-ALTER EXTENSION postgis ADD function gidx_out(gidx);
-ALTER EXTENSION postgis ADD function gserialized_gist_joinsel_2d(internal,oid,internal,smallint);
-ALTER EXTENSION postgis ADD function gserialized_gist_joinsel_nd(internal,oid,internal,smallint);
-ALTER EXTENSION postgis ADD function gserialized_gist_sel_2d(internal,oid,internal,integer);
-ALTER EXTENSION postgis ADD function gserialized_gist_sel_nd(internal,oid,internal,integer);
-ALTER EXTENSION postgis ADD function lockrow(text,text,text);
-ALTER EXTENSION postgis ADD function lockrow(text,text,text,text);
-ALTER EXTENSION postgis ADD function lockrow(text,text,text,text,timestamp without time zone);
-ALTER EXTENSION postgis ADD function lockrow(text,text,text,timestamp without time zone);
-ALTER EXTENSION postgis ADD function longtransactionsenabled();
-ALTER EXTENSION postgis ADD function path(geometry);
-ALTER EXTENSION postgis ADD function pgis_abs_in(cstring);
-ALTER EXTENSION postgis ADD function pgis_abs_out(pgis_abs);
-ALTER EXTENSION postgis ADD function pgis_geometry_accum_finalfn(pgis_abs);
-ALTER EXTENSION postgis ADD function pgis_geometry_accum_transfn(pgis_abs,geometry);
-ALTER EXTENSION postgis ADD function pgis_geometry_collect_finalfn(pgis_abs);
-ALTER EXTENSION postgis ADD function pgis_geometry_makeline_finalfn(pgis_abs);
-ALTER EXTENSION postgis ADD function pgis_geometry_polygonize_finalfn(pgis_abs);
-ALTER EXTENSION postgis ADD function pgis_geometry_union_finalfn(pgis_abs);
-ALTER EXTENSION postgis ADD function point(geometry);
-ALTER EXTENSION postgis ADD function polygon(geometry);
-ALTER EXTENSION postgis ADD function populate_geometry_columns(boolean);
-ALTER EXTENSION postgis ADD function populate_geometry_columns(oid,boolean);
-ALTER EXTENSION postgis ADD function postgis_addbbox(geometry);
-ALTER EXTENSION postgis ADD function postgis_cache_bbox();
-ALTER EXTENSION postgis ADD function postgis_constraint_dims(text,text,text);
-ALTER EXTENSION postgis ADD function postgis_constraint_srid(text,text,text);
-ALTER EXTENSION postgis ADD function postgis_constraint_type(text,text,text);
-ALTER EXTENSION postgis ADD function postgis_dropbbox(geometry);
-ALTER EXTENSION postgis ADD function postgis_full_version();
-ALTER EXTENSION postgis ADD function postgis_gdal_version();
-ALTER EXTENSION postgis ADD function postgis_geos_version();
-ALTER EXTENSION postgis ADD function postgis_getbbox(geometry);
-ALTER EXTENSION postgis ADD function postgis_hasbbox(geometry);
-ALTER EXTENSION postgis ADD function postgis_lib_build_date();
-ALTER EXTENSION postgis ADD function postgis_lib_version();
-ALTER EXTENSION postgis ADD function postgis_libjson_version();
-ALTER EXTENSION postgis ADD function postgis_libxml_version();
-ALTER EXTENSION postgis ADD function postgis_noop(geometry);
-ALTER EXTENSION postgis ADD function postgis_proj_version();
-ALTER EXTENSION postgis ADD function postgis_raster_lib_build_date();
-ALTER EXTENSION postgis ADD function postgis_raster_lib_version();
-ALTER EXTENSION postgis ADD function postgis_raster_scripts_installed();
-ALTER EXTENSION postgis ADD function postgis_scripts_build_date();
-ALTER EXTENSION postgis ADD function postgis_scripts_installed();
-ALTER EXTENSION postgis ADD function postgis_scripts_released();
-ALTER EXTENSION postgis ADD function postgis_svn_version();
-ALTER EXTENSION postgis ADD function postgis_transform_geometry(geometry,text,text,integer);
-ALTER EXTENSION postgis ADD function postgis_type_name(character varying,integer,boolean);
-ALTER EXTENSION postgis ADD function postgis_typmod_dims(integer);
-ALTER EXTENSION postgis ADD function postgis_typmod_srid(integer);
-ALTER EXTENSION postgis ADD function postgis_typmod_type(integer);
-ALTER EXTENSION postgis ADD function postgis_version();
-ALTER EXTENSION postgis ADD function raster_above(raster,raster);
-ALTER EXTENSION postgis ADD function raster_below(raster,raster);
-ALTER EXTENSION postgis ADD function raster_contain(raster,raster);
-ALTER EXTENSION postgis ADD function raster_contained(raster,raster);
-ALTER EXTENSION postgis ADD function raster_eq(raster,raster);
-ALTER EXTENSION postgis ADD function raster_geometry_contain(raster,geometry);
-ALTER EXTENSION postgis ADD function raster_geometry_overlap(raster,geometry);
-ALTER EXTENSION postgis ADD function raster_hash(raster);
-ALTER EXTENSION postgis ADD function raster_in(cstring);
-ALTER EXTENSION postgis ADD function raster_left(raster,raster);
-ALTER EXTENSION postgis ADD function raster_out(raster);
-ALTER EXTENSION postgis ADD function raster_overabove(raster,raster);
-ALTER EXTENSION postgis ADD function raster_overbelow(raster,raster);
-ALTER EXTENSION postgis ADD function raster_overlap(raster,raster);
-ALTER EXTENSION postgis ADD function raster_overleft(raster,raster);
-ALTER EXTENSION postgis ADD function raster_overright(raster,raster);
-ALTER EXTENSION postgis ADD function raster_right(raster,raster);
-ALTER EXTENSION postgis ADD function raster_same(raster,raster);
-ALTER EXTENSION postgis ADD function spheroid_in(cstring);
-ALTER EXTENSION postgis ADD function spheroid_out(spheroid);
-ALTER EXTENSION postgis ADD function st_3dclosestpoint(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_3ddfullywithin(geometry,geometry,double precision);
-ALTER EXTENSION postgis ADD function st_3ddistance(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_3ddwithin(geometry,geometry,double precision);
-ALTER EXTENSION postgis ADD function st_3dextent(geometry);
-ALTER EXTENSION postgis ADD function st_3dintersects(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_3dlength(geometry);
-ALTER EXTENSION postgis ADD function st_3dlength_spheroid(geometry,spheroid);
-ALTER EXTENSION postgis ADD function st_3dlongestline(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_3dmakebox(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_3dmaxdistance(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_3dperimeter(geometry);
-ALTER EXTENSION postgis ADD function st_3dshortestline(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_accum(geometry);
-ALTER EXTENSION postgis ADD function st_addband(raster,addbandarg[]);
-ALTER EXTENSION postgis ADD function st_addband(raster,integer,text,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_addband(raster,integer,text,integer[],double precision);
-ALTER EXTENSION postgis ADD function st_addband(raster,raster,integer,integer);
-ALTER EXTENSION postgis ADD function st_addband(raster,raster[],integer,integer);
-ALTER EXTENSION postgis ADD function st_addband(raster,text,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_addband(raster,text,integer[],integer,double precision);
-ALTER EXTENSION postgis ADD function st_addmeasure(geometry,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_addpoint(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_addpoint(geometry,geometry,integer);
-ALTER EXTENSION postgis ADD function st_affine(geometry,double precision,double precision,double precision,double precision,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_affine(geometry,double precision,double precision,double precision,double precision,double precision,double precision,double precision,double precision,double precision,double precision,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_approxcount(raster,boolean,double precision);
-ALTER EXTENSION postgis ADD function st_approxcount(raster,double precision);
-ALTER EXTENSION postgis ADD function st_approxcount(raster,integer,boolean,double precision);
-ALTER EXTENSION postgis ADD function st_approxcount(raster,integer,double precision);
-ALTER EXTENSION postgis ADD function st_approxcount(text,text,boolean,double precision);
-ALTER EXTENSION postgis ADD function st_approxcount(text,text,double precision);
-ALTER EXTENSION postgis ADD function st_approxcount(text,text,integer,boolean,double precision);
-ALTER EXTENSION postgis ADD function st_approxcount(text,text,integer,double precision);
-ALTER EXTENSION postgis ADD function st_approxhistogram(raster,double precision);
-ALTER EXTENSION postgis ADD function st_approxhistogram(raster,integer,boolean,double precision,integer,boolean);
-ALTER EXTENSION postgis ADD function st_approxhistogram(raster,integer,boolean,double precision,integer,double precision[],boolean);
-ALTER EXTENSION postgis ADD function st_approxhistogram(raster,integer,double precision);
-ALTER EXTENSION postgis ADD function st_approxhistogram(raster,integer,double precision,integer,boolean);
-ALTER EXTENSION postgis ADD function st_approxhistogram(raster,integer,double precision,integer,double precision[],boolean);
-ALTER EXTENSION postgis ADD function st_approxhistogram(text,text,double precision);
-ALTER EXTENSION postgis ADD function st_approxhistogram(text,text,integer,boolean,double precision,integer,boolean);
-ALTER EXTENSION postgis ADD function st_approxhistogram(text,text,integer,boolean,double precision,integer,double precision[],boolean);
-ALTER EXTENSION postgis ADD function st_approxhistogram(text,text,integer,double precision);
-ALTER EXTENSION postgis ADD function st_approxhistogram(text,text,integer,double precision,integer,boolean);
-ALTER EXTENSION postgis ADD function st_approxhistogram(text,text,integer,double precision,integer,double precision[],boolean);
-ALTER EXTENSION postgis ADD function st_approxquantile(raster,boolean,double precision);
-ALTER EXTENSION postgis ADD function st_approxquantile(raster,double precision);
-ALTER EXTENSION postgis ADD function st_approxquantile(raster,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_approxquantile(raster,double precision,double precision[]);
-ALTER EXTENSION postgis ADD function st_approxquantile(raster,double precision[]);
-ALTER EXTENSION postgis ADD function st_approxquantile(raster,integer,boolean,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_approxquantile(raster,integer,boolean,double precision,double precision[]);
-ALTER EXTENSION postgis ADD function st_approxquantile(raster,integer,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_approxquantile(raster,integer,double precision,double precision[]);
-ALTER EXTENSION postgis ADD function st_approxquantile(text,text,boolean,double precision);
-ALTER EXTENSION postgis ADD function st_approxquantile(text,text,double precision);
-ALTER EXTENSION postgis ADD function st_approxquantile(text,text,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_approxquantile(text,text,double precision,double precision[]);
-ALTER EXTENSION postgis ADD function st_approxquantile(text,text,double precision[]);
-ALTER EXTENSION postgis ADD function st_approxquantile(text,text,integer,boolean,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_approxquantile(text,text,integer,boolean,double precision,double precision[]);
-ALTER EXTENSION postgis ADD function st_approxquantile(text,text,integer,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_approxquantile(text,text,integer,double precision,double precision[]);
-ALTER EXTENSION postgis ADD function st_approxsummarystats(raster,boolean,double precision);
-ALTER EXTENSION postgis ADD function st_approxsummarystats(raster,double precision);
-ALTER EXTENSION postgis ADD function st_approxsummarystats(raster,integer,boolean,double precision);
-ALTER EXTENSION postgis ADD function st_approxsummarystats(raster,integer,double precision);
-ALTER EXTENSION postgis ADD function st_approxsummarystats(text,text,boolean);
-ALTER EXTENSION postgis ADD function st_approxsummarystats(text,text,double precision);
-ALTER EXTENSION postgis ADD function st_approxsummarystats(text,text,integer,boolean,double precision);
-ALTER EXTENSION postgis ADD function st_approxsummarystats(text,text,integer,double precision);
-ALTER EXTENSION postgis ADD function st_area(geography,boolean);
-ALTER EXTENSION postgis ADD function st_area(geometry);
-ALTER EXTENSION postgis ADD function st_area(text);
-ALTER EXTENSION postgis ADD function st_area2d(geometry);
-ALTER EXTENSION postgis ADD function st_asbinary(geography);
-ALTER EXTENSION postgis ADD function st_asbinary(geography,text);
-ALTER EXTENSION postgis ADD function st_asbinary(geometry);
-ALTER EXTENSION postgis ADD function st_asbinary(geometry,text);
-ALTER EXTENSION postgis ADD function st_asbinary(raster,boolean);
-ALTER EXTENSION postgis ADD function st_asewkb(geometry);
-ALTER EXTENSION postgis ADD function st_asewkb(geometry,text);
-ALTER EXTENSION postgis ADD function st_asewkt(geography);
-ALTER EXTENSION postgis ADD function st_asewkt(geometry);
-ALTER EXTENSION postgis ADD function st_asewkt(text);
-ALTER EXTENSION postgis ADD function st_asgdalraster(raster,text,text[],integer);
-ALTER EXTENSION postgis ADD function st_asgeojson(geography,integer,integer);
-ALTER EXTENSION postgis ADD function st_asgeojson(geometry,integer,integer);
-ALTER EXTENSION postgis ADD function st_asgeojson(integer,geography,integer,integer);
-ALTER EXTENSION postgis ADD function st_asgeojson(integer,geometry,integer,integer);
-ALTER EXTENSION postgis ADD function st_asgeojson(text);
-ALTER EXTENSION postgis ADD function st_asgml(geography,integer,integer);
-ALTER EXTENSION postgis ADD function st_asgml(geometry,integer,integer);
-ALTER EXTENSION postgis ADD function st_asgml(integer,geography,integer,integer,text,text);
-ALTER EXTENSION postgis ADD function st_asgml(integer,geometry,integer,integer,text,text);
-ALTER EXTENSION postgis ADD function st_asgml(text);
-ALTER EXTENSION postgis ADD function st_ashexewkb(geometry);
-ALTER EXTENSION postgis ADD function st_ashexewkb(geometry,text);
-ALTER EXTENSION postgis ADD function st_asjpeg(raster,integer,integer);
-ALTER EXTENSION postgis ADD function st_asjpeg(raster,integer,text[]);
-ALTER EXTENSION postgis ADD function st_asjpeg(raster,integer[],integer);
-ALTER EXTENSION postgis ADD function st_asjpeg(raster,integer[],text[]);
-ALTER EXTENSION postgis ADD function st_asjpeg(raster,text[]);
-ALTER EXTENSION postgis ADD function st_askml(geography,integer);
-ALTER EXTENSION postgis ADD function st_askml(geometry,integer);
-ALTER EXTENSION postgis ADD function st_askml(integer,geography,integer,text);
-ALTER EXTENSION postgis ADD function st_askml(integer,geometry,integer,text);
-ALTER EXTENSION postgis ADD function st_askml(text);
-ALTER EXTENSION postgis ADD function st_aslatlontext(geometry);
-ALTER EXTENSION postgis ADD function st_aslatlontext(geometry,text);
-ALTER EXTENSION postgis ADD function st_aspect(raster,integer,raster,text,text,boolean);
-ALTER EXTENSION postgis ADD function st_aspect(raster,integer,text,text,boolean);
-ALTER EXTENSION postgis ADD function st_aspng(raster,integer,integer);
-ALTER EXTENSION postgis ADD function st_aspng(raster,integer,text[]);
-ALTER EXTENSION postgis ADD function st_aspng(raster,integer[],integer);
-ALTER EXTENSION postgis ADD function st_aspng(raster,integer[],text[]);
-ALTER EXTENSION postgis ADD function st_aspng(raster,text[]);
-ALTER EXTENSION postgis ADD function st_asraster(geometry,double precision,double precision,double precision,double precision,text,double precision,double precision,double precision,double precision,boolean);
-ALTER EXTENSION postgis ADD function st_asraster(geometry,double precision,double precision,double precision,double precision,text[],double precision[],double precision[],double precision,double precision,boolean);
-ALTER EXTENSION postgis ADD function st_asraster(geometry,double precision,double precision,text,double precision,double precision,double precision,double precision,double precision,double precision,boolean);
-ALTER EXTENSION postgis ADD function st_asraster(geometry,double precision,double precision,text[],double precision[],double precision[],double precision,double precision,double precision,double precision,boolean);
-ALTER EXTENSION postgis ADD function st_asraster(geometry,integer,integer,double precision,double precision,text,double precision,double precision,double precision,double precision,boolean);
-ALTER EXTENSION postgis ADD function st_asraster(geometry,integer,integer,double precision,double precision,text[],double precision[],double precision[],double precision,double precision,boolean);
-ALTER EXTENSION postgis ADD function st_asraster(geometry,integer,integer,text,double precision,double precision,double precision,double precision,double precision,double precision,boolean);
-ALTER EXTENSION postgis ADD function st_asraster(geometry,integer,integer,text[],double precision[],double precision[],double precision,double precision,double precision,double precision,boolean);
-ALTER EXTENSION postgis ADD function st_asraster(geometry,raster,text,double precision,double precision,boolean);
-ALTER EXTENSION postgis ADD function st_asraster(geometry,raster,text[],double precision[],double precision[],boolean);
-ALTER EXTENSION postgis ADD function st_assvg(geography,integer,integer);
-ALTER EXTENSION postgis ADD function st_assvg(geometry,integer,integer);
-ALTER EXTENSION postgis ADD function st_assvg(text);
-ALTER EXTENSION postgis ADD function st_astext(geography);
-ALTER EXTENSION postgis ADD function st_astext(geometry);
-ALTER EXTENSION postgis ADD function st_astext(text);
-ALTER EXTENSION postgis ADD function st_astiff(raster,integer[],text,integer);
-ALTER EXTENSION postgis ADD function st_astiff(raster,integer[],text[],integer);
-ALTER EXTENSION postgis ADD function st_astiff(raster,text,integer);
-ALTER EXTENSION postgis ADD function st_astiff(raster,text[],integer);
-ALTER EXTENSION postgis ADD function st_asx3d(geometry,integer,integer);
-ALTER EXTENSION postgis ADD function st_azimuth(geography,geography);
-ALTER EXTENSION postgis ADD function st_azimuth(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_band(raster,integer);
-ALTER EXTENSION postgis ADD function st_band(raster,integer[]);
-ALTER EXTENSION postgis ADD function st_band(raster,text,character);
-ALTER EXTENSION postgis ADD function st_bandisnodata(raster,boolean);
-ALTER EXTENSION postgis ADD function st_bandisnodata(raster,integer,boolean);
-ALTER EXTENSION postgis ADD function st_bandmetadata(raster,integer);
-ALTER EXTENSION postgis ADD function st_bandmetadata(raster,integer[]);
-ALTER EXTENSION postgis ADD function st_bandnodatavalue(raster,integer);
-ALTER EXTENSION postgis ADD function st_bandpath(raster,integer);
-ALTER EXTENSION postgis ADD function st_bandpixeltype(raster,integer);
-ALTER EXTENSION postgis ADD function st_bdmpolyfromtext(text,integer);
-ALTER EXTENSION postgis ADD function st_bdpolyfromtext(text,integer);
-ALTER EXTENSION postgis ADD function st_boundary(geometry);
-ALTER EXTENSION postgis ADD function st_box2dfromgeohash(text,integer);
-ALTER EXTENSION postgis ADD function st_buffer(geography,double precision);
-ALTER EXTENSION postgis ADD function st_buffer(geometry,double precision);
-ALTER EXTENSION postgis ADD function st_buffer(geometry,double precision,integer);
-ALTER EXTENSION postgis ADD function st_buffer(geometry,double precision,text);
-ALTER EXTENSION postgis ADD function st_buffer(text,double precision);
-ALTER EXTENSION postgis ADD function st_buildarea(geometry);
-ALTER EXTENSION postgis ADD function st_centroid(geometry);
-ALTER EXTENSION postgis ADD function st_cleangeometry(geometry);
-ALTER EXTENSION postgis ADD function st_clip(raster,geometry,boolean);
-ALTER EXTENSION postgis ADD function st_clip(raster,geometry,double precision,boolean);
-ALTER EXTENSION postgis ADD function st_clip(raster,geometry,double precision[],boolean);
-ALTER EXTENSION postgis ADD function st_clip(raster,integer,geometry,boolean);
-ALTER EXTENSION postgis ADD function st_clip(raster,integer,geometry,double precision,boolean);
-ALTER EXTENSION postgis ADD function st_clip(raster,integer[],geometry,double precision[],boolean);
-ALTER EXTENSION postgis ADD function st_closestpoint(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_collect(geometry);
-ALTER EXTENSION postgis ADD function st_collect(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_collect(geometry[]);
-ALTER EXTENSION postgis ADD function st_collectionextract(geometry,integer);
-ALTER EXTENSION postgis ADD function st_collectionhomogenize(geometry);
-ALTER EXTENSION postgis ADD function st_colormap(raster,integer,text,text);
-ALTER EXTENSION postgis ADD function st_colormap(raster,text,text);
-ALTER EXTENSION postgis ADD function st_combine_bbox(box2d,geometry);
-ALTER EXTENSION postgis ADD function st_combine_bbox(box3d,geometry);
-ALTER EXTENSION postgis ADD function st_concavehull(geometry,double precision,boolean);
-ALTER EXTENSION postgis ADD function st_contains(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_contains(raster,integer,raster,integer);
-ALTER EXTENSION postgis ADD function st_contains(raster,raster);
-ALTER EXTENSION postgis ADD function st_containsproperly(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_containsproperly(raster,integer,raster,integer);
-ALTER EXTENSION postgis ADD function st_containsproperly(raster,raster);
-ALTER EXTENSION postgis ADD function st_convexhull(geometry);
-ALTER EXTENSION postgis ADD function st_convexhull(raster);
-ALTER EXTENSION postgis ADD function st_coorddim(geometry);
-ALTER EXTENSION postgis ADD function st_count(raster,boolean);
-ALTER EXTENSION postgis ADD function st_count(raster,integer,boolean);
-ALTER EXTENSION postgis ADD function st_count(text,text,boolean);
-ALTER EXTENSION postgis ADD function st_count(text,text,integer,boolean);
-ALTER EXTENSION postgis ADD function st_coveredby(geography,geography);
-ALTER EXTENSION postgis ADD function st_coveredby(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_coveredby(raster,integer,raster,integer);
-ALTER EXTENSION postgis ADD function st_coveredby(raster,raster);
-ALTER EXTENSION postgis ADD function st_coveredby(text,text);
-ALTER EXTENSION postgis ADD function st_covers(geography,geography);
-ALTER EXTENSION postgis ADD function st_covers(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_covers(raster,integer,raster,integer);
-ALTER EXTENSION postgis ADD function st_covers(raster,raster);
-ALTER EXTENSION postgis ADD function st_covers(text,text);
-ALTER EXTENSION postgis ADD function st_crosses(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_curvetoline(geometry);
-ALTER EXTENSION postgis ADD function st_curvetoline(geometry,integer);
-ALTER EXTENSION postgis ADD function st_delaunaytriangles(geometry,double precision,integer);
-ALTER EXTENSION postgis ADD function st_dfullywithin(geometry,geometry,double precision);
-ALTER EXTENSION postgis ADD function st_dfullywithin(raster,integer,raster,integer,double precision);
-ALTER EXTENSION postgis ADD function st_dfullywithin(raster,raster,double precision);
-ALTER EXTENSION postgis ADD function st_difference(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_dimension(geometry);
-ALTER EXTENSION postgis ADD function st_disjoint(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_disjoint(raster,integer,raster,integer);
-ALTER EXTENSION postgis ADD function st_disjoint(raster,raster);
-ALTER EXTENSION postgis ADD function st_distance(geography,geography);
-ALTER EXTENSION postgis ADD function st_distance(geography,geography,boolean);
-ALTER EXTENSION postgis ADD function st_distance(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_distance(text,text);
-ALTER EXTENSION postgis ADD function st_distance_sphere(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_distance_spheroid(geometry,geometry,spheroid);
-ALTER EXTENSION postgis ADD function st_distinct4ma(double precision[],integer[],text[]);
-ALTER EXTENSION postgis ADD function st_distinct4ma(double precision[],text,text[]);
-ALTER EXTENSION postgis ADD function st_dump(geometry);
-ALTER EXTENSION postgis ADD function st_dumpaspolygons(raster,integer,boolean);
-ALTER EXTENSION postgis ADD function st_dumppoints(geometry);
-ALTER EXTENSION postgis ADD function st_dumprings(geometry);
-ALTER EXTENSION postgis ADD function st_dumpvalues(raster,integer,boolean);
-ALTER EXTENSION postgis ADD function st_dumpvalues(raster,integer[],boolean);
-ALTER EXTENSION postgis ADD function st_dwithin(geography,geography,double precision);
-ALTER EXTENSION postgis ADD function st_dwithin(geography,geography,double precision,boolean);
-ALTER EXTENSION postgis ADD function st_dwithin(geometry,geometry,double precision);
-ALTER EXTENSION postgis ADD function st_dwithin(raster,integer,raster,integer,double precision);
-ALTER EXTENSION postgis ADD function st_dwithin(raster,raster,double precision);
-ALTER EXTENSION postgis ADD function st_dwithin(text,text,double precision);
-ALTER EXTENSION postgis ADD function st_endpoint(geometry);
-ALTER EXTENSION postgis ADD function st_envelope(geometry);
-ALTER EXTENSION postgis ADD function st_envelope(raster);
-ALTER EXTENSION postgis ADD function st_equals(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_estimated_extent(text,text);
-ALTER EXTENSION postgis ADD function st_estimated_extent(text,text,text);
-ALTER EXTENSION postgis ADD function st_estimatedextent(text,text);
-ALTER EXTENSION postgis ADD function st_estimatedextent(text,text,text);
-ALTER EXTENSION postgis ADD function st_expand(box2d,double precision);
-ALTER EXTENSION postgis ADD function st_expand(box3d,double precision);
-ALTER EXTENSION postgis ADD function st_expand(geometry,double precision);
-ALTER EXTENSION postgis ADD function st_extent(geometry);
-ALTER EXTENSION postgis ADD function st_exteriorring(geometry);
-ALTER EXTENSION postgis ADD function st_find_extent(text,text);
-ALTER EXTENSION postgis ADD function st_find_extent(text,text,text);
-ALTER EXTENSION postgis ADD function st_flipcoordinates(geometry);
-ALTER EXTENSION postgis ADD function st_force_2d(geometry);
-ALTER EXTENSION postgis ADD function st_force_3d(geometry);
-ALTER EXTENSION postgis ADD function st_force_3dm(geometry);
-ALTER EXTENSION postgis ADD function st_force_3dz(geometry);
-ALTER EXTENSION postgis ADD function st_force_4d(geometry);
-ALTER EXTENSION postgis ADD function st_force_collection(geometry);
-ALTER EXTENSION postgis ADD function st_force2d(geometry);
-ALTER EXTENSION postgis ADD function st_force3d(geometry);
-ALTER EXTENSION postgis ADD function st_force3dm(geometry);
-ALTER EXTENSION postgis ADD function st_force3dz(geometry);
-ALTER EXTENSION postgis ADD function st_force4d(geometry);
-ALTER EXTENSION postgis ADD function st_forcecollection(geometry);
-ALTER EXTENSION postgis ADD function st_forcerhr(geometry);
-ALTER EXTENSION postgis ADD function st_forcesfs(geometry);
-ALTER EXTENSION postgis ADD function st_forcesfs(geometry,text);
-ALTER EXTENSION postgis ADD function st_fromgdalraster(bytea,integer);
-ALTER EXTENSION postgis ADD function st_gdaldrivers();
-ALTER EXTENSION postgis ADD function st_geogfromtext(text);
-ALTER EXTENSION postgis ADD function st_geogfromwkb(bytea);
-ALTER EXTENSION postgis ADD function st_geographyfromtext(text);
-ALTER EXTENSION postgis ADD function st_geohash(geography,integer);
-ALTER EXTENSION postgis ADD function st_geohash(geometry,integer);
-ALTER EXTENSION postgis ADD function st_geomcollfromtext(text);
-ALTER EXTENSION postgis ADD function st_geomcollfromtext(text,integer);
-ALTER EXTENSION postgis ADD function st_geomcollfromwkb(bytea);
-ALTER EXTENSION postgis ADD function st_geomcollfromwkb(bytea,integer);
-ALTER EXTENSION postgis ADD function st_geometryfromtext(text);
-ALTER EXTENSION postgis ADD function st_geometryfromtext(text,integer);
-ALTER EXTENSION postgis ADD function st_geometryn(geometry,integer);
-ALTER EXTENSION postgis ADD function st_geometrytype(geometry);
-ALTER EXTENSION postgis ADD function st_geomfromewkb(bytea);
-ALTER EXTENSION postgis ADD function st_geomfromewkt(text);
-ALTER EXTENSION postgis ADD function st_geomfromgeohash(text,integer);
-ALTER EXTENSION postgis ADD function st_geomfromgeojson(text);
-ALTER EXTENSION postgis ADD function st_geomfromgml(text);
-ALTER EXTENSION postgis ADD function st_geomfromgml(text,integer);
-ALTER EXTENSION postgis ADD function st_geomfromkml(text);
-ALTER EXTENSION postgis ADD function st_geomfromtext(text);
-ALTER EXTENSION postgis ADD function st_geomfromtext(text,integer);
-ALTER EXTENSION postgis ADD function st_geomfromwkb(bytea);
-ALTER EXTENSION postgis ADD function st_geomfromwkb(bytea,integer);
-ALTER EXTENSION postgis ADD function st_georeference(raster,text);
-ALTER EXTENSION postgis ADD function st_geotransform(raster);
-ALTER EXTENSION postgis ADD function st_gmltosql(text);
-ALTER EXTENSION postgis ADD function st_gmltosql(text,integer);
-ALTER EXTENSION postgis ADD function st_hasarc(geometry);
-ALTER EXTENSION postgis ADD function st_hasnoband(raster,integer);
-ALTER EXTENSION postgis ADD function st_hausdorffdistance(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_hausdorffdistance(geometry,geometry,double precision);
-ALTER EXTENSION postgis ADD function st_height(raster);
-ALTER EXTENSION postgis ADD function st_hillshade(raster,integer,raster,text,double precision,double precision,double precision,double precision,boolean);
-ALTER EXTENSION postgis ADD function st_hillshade(raster,integer,text,double precision,double precision,double precision,double precision,boolean);
-ALTER EXTENSION postgis ADD function st_histogram(raster,integer,boolean,integer,boolean);
-ALTER EXTENSION postgis ADD function st_histogram(raster,integer,boolean,integer,double precision[],boolean);
-ALTER EXTENSION postgis ADD function st_histogram(raster,integer,integer,boolean);
-ALTER EXTENSION postgis ADD function st_histogram(raster,integer,integer,double precision[],boolean);
-ALTER EXTENSION postgis ADD function st_histogram(text,text,integer,boolean,integer,boolean);
-ALTER EXTENSION postgis ADD function st_histogram(text,text,integer,boolean,integer,double precision[],boolean);
-ALTER EXTENSION postgis ADD function st_histogram(text,text,integer,integer,boolean);
-ALTER EXTENSION postgis ADD function st_histogram(text,text,integer,integer,double precision[],boolean);
-ALTER EXTENSION postgis ADD function st_interiorringn(geometry,integer);
-ALTER EXTENSION postgis ADD function st_interpolatepoint(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_intersection(geography,geography);
-ALTER EXTENSION postgis ADD function st_intersection(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_intersection(geometry,raster,integer);
-ALTER EXTENSION postgis ADD function st_intersection(raster,geometry);
-ALTER EXTENSION postgis ADD function st_intersection(raster,integer,geometry);
-ALTER EXTENSION postgis ADD function st_intersection(raster,integer,raster,integer,double precision);
-ALTER EXTENSION postgis ADD function st_intersection(raster,integer,raster,integer,double precision[]);
-ALTER EXTENSION postgis ADD function st_intersection(raster,integer,raster,integer,text,double precision);
-ALTER EXTENSION postgis ADD function st_intersection(raster,integer,raster,integer,text,double precision[]);
-ALTER EXTENSION postgis ADD function st_intersection(raster,raster,double precision);
-ALTER EXTENSION postgis ADD function st_intersection(raster,raster,double precision[]);
-ALTER EXTENSION postgis ADD function st_intersection(raster,raster,text,double precision);
-ALTER EXTENSION postgis ADD function st_intersection(raster,raster,text,double precision[]);
-ALTER EXTENSION postgis ADD function st_intersection(text,text);
-ALTER EXTENSION postgis ADD function st_intersects(geography,geography);
-ALTER EXTENSION postgis ADD function st_intersects(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_intersects(geometry,raster,integer);
-ALTER EXTENSION postgis ADD function st_intersects(raster,geometry,integer);
-ALTER EXTENSION postgis ADD function st_intersects(raster,integer,geometry);
-ALTER EXTENSION postgis ADD function st_intersects(raster,integer,raster,integer);
-ALTER EXTENSION postgis ADD function st_intersects(raster,raster);
-ALTER EXTENSION postgis ADD function st_intersects(text,text);
-ALTER EXTENSION postgis ADD function st_invdistweight4ma(double precision[],integer[],text[]);
-ALTER EXTENSION postgis ADD function st_isclosed(geometry);
-ALTER EXTENSION postgis ADD function st_iscollection(geometry);
-ALTER EXTENSION postgis ADD function st_iscoveragetile(raster,raster,integer,integer);
-ALTER EXTENSION postgis ADD function st_isempty(geometry);
-ALTER EXTENSION postgis ADD function st_isempty(raster);
-ALTER EXTENSION postgis ADD function st_isring(geometry);
-ALTER EXTENSION postgis ADD function st_issimple(geometry);
-ALTER EXTENSION postgis ADD function st_isvalid(geometry);
-ALTER EXTENSION postgis ADD function st_isvalid(geometry,integer);
-ALTER EXTENSION postgis ADD function st_isvaliddetail(geometry);
-ALTER EXTENSION postgis ADD function st_isvaliddetail(geometry,integer);
-ALTER EXTENSION postgis ADD function st_isvalidreason(geometry);
-ALTER EXTENSION postgis ADD function st_isvalidreason(geometry,integer);
-ALTER EXTENSION postgis ADD function st_length(geography,boolean);
-ALTER EXTENSION postgis ADD function st_length(geometry);
-ALTER EXTENSION postgis ADD function st_length(text);
-ALTER EXTENSION postgis ADD function st_length_spheroid(geometry,spheroid);
-ALTER EXTENSION postgis ADD function st_length2d(geometry);
-ALTER EXTENSION postgis ADD function st_length2d_spheroid(geometry,spheroid);
-ALTER EXTENSION postgis ADD function st_line_interpolate_point(geometry,double precision);
-ALTER EXTENSION postgis ADD function st_line_locate_point(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_line_substring(geometry,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_linecrossingdirection(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_linefrommultipoint(geometry);
-ALTER EXTENSION postgis ADD function st_linefromtext(text);
-ALTER EXTENSION postgis ADD function st_linefromtext(text,integer);
-ALTER EXTENSION postgis ADD function st_linefromwkb(bytea);
-ALTER EXTENSION postgis ADD function st_linefromwkb(bytea,integer);
-ALTER EXTENSION postgis ADD function st_lineinterpolatepoint(geometry,double precision);
-ALTER EXTENSION postgis ADD function st_linelocatepoint(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_linemerge(geometry);
-ALTER EXTENSION postgis ADD function st_linestringfromwkb(bytea);
-ALTER EXTENSION postgis ADD function st_linestringfromwkb(bytea,integer);
-ALTER EXTENSION postgis ADD function st_linesubstring(geometry,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_linetocurve(geometry);
-ALTER EXTENSION postgis ADD function st_locate_along_measure(geometry,double precision);
-ALTER EXTENSION postgis ADD function st_locate_between_measures(geometry,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_locatealong(geometry,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_locatebetween(geometry,double precision,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_locatebetweenelevations(geometry,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_longestline(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_m(geometry);
-ALTER EXTENSION postgis ADD function st_makebox2d(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_makeemptyraster(integer,integer,double precision,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_makeemptyraster(integer,integer,double precision,double precision,double precision,double precision,double precision,double precision,integer);
-ALTER EXTENSION postgis ADD function st_makeemptyraster(raster);
-ALTER EXTENSION postgis ADD function st_makeenvelope(double precision,double precision,double precision,double precision,integer);
-ALTER EXTENSION postgis ADD function st_makeline(geometry);
-ALTER EXTENSION postgis ADD function st_makeline(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_makeline(geometry[]);
-ALTER EXTENSION postgis ADD function st_makepoint(double precision,double precision);
-ALTER EXTENSION postgis ADD function st_makepoint(double precision,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_makepoint(double precision,double precision,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_makepointm(double precision,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_makepolygon(geometry);
-ALTER EXTENSION postgis ADD function st_makepolygon(geometry,geometry[]);
-ALTER EXTENSION postgis ADD function st_makevalid(geometry);
-ALTER EXTENSION postgis ADD function st_mapalgebra(rastbandarg[],regprocedure,text,text,raster,integer,integer,text[]);
-ALTER EXTENSION postgis ADD function st_mapalgebra(raster,integer,raster,integer,regprocedure,text,text,raster,integer,integer,text[]);
-ALTER EXTENSION postgis ADD function st_mapalgebra(raster,integer,raster,integer,text,text,text,text,text,double precision);
-ALTER EXTENSION postgis ADD function st_mapalgebra(raster,integer,regprocedure,text,text,raster,integer,integer,text[]);
-ALTER EXTENSION postgis ADD function st_mapalgebra(raster,integer,text,text,double precision);
-ALTER EXTENSION postgis ADD function st_mapalgebra(raster,integer[],regprocedure,text,text,raster,integer,integer,text[]);
-ALTER EXTENSION postgis ADD function st_mapalgebra(raster,raster,text,text,text,text,text,double precision);
-ALTER EXTENSION postgis ADD function st_mapalgebra(raster,text,text,double precision);
-ALTER EXTENSION postgis ADD function st_mapalgebraexpr(raster,integer,raster,integer,text,text,text,text,text,double precision);
-ALTER EXTENSION postgis ADD function st_mapalgebraexpr(raster,integer,text,text,double precision);
-ALTER EXTENSION postgis ADD function st_mapalgebraexpr(raster,raster,text,text,text,text,text,double precision);
-ALTER EXTENSION postgis ADD function st_mapalgebraexpr(raster,text,text,double precision);
-ALTER EXTENSION postgis ADD function st_mapalgebrafct(raster,integer,raster,integer,regprocedure,text,text,text[]);
-ALTER EXTENSION postgis ADD function st_mapalgebrafct(raster,integer,regprocedure);
-ALTER EXTENSION postgis ADD function st_mapalgebrafct(raster,integer,regprocedure,text[]);
-ALTER EXTENSION postgis ADD function st_mapalgebrafct(raster,integer,text,regprocedure);
-ALTER EXTENSION postgis ADD function st_mapalgebrafct(raster,integer,text,regprocedure,text[]);
-ALTER EXTENSION postgis ADD function st_mapalgebrafct(raster,raster,regprocedure,text,text,text[]);
-ALTER EXTENSION postgis ADD function st_mapalgebrafct(raster,regprocedure);
-ALTER EXTENSION postgis ADD function st_mapalgebrafct(raster,regprocedure,text[]);
-ALTER EXTENSION postgis ADD function st_mapalgebrafct(raster,text,regprocedure);
-ALTER EXTENSION postgis ADD function st_mapalgebrafct(raster,text,regprocedure,text[]);
-ALTER EXTENSION postgis ADD function st_mapalgebrafctngb(raster,integer,text,integer,integer,regprocedure,text,text[]);
-ALTER EXTENSION postgis ADD function st_max4ma(double precision[],integer[],text[]);
-ALTER EXTENSION postgis ADD function st_max4ma(double precision[],text,text[]);
-ALTER EXTENSION postgis ADD function st_maxdistance(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_mean4ma(double precision[],integer[],text[]);
-ALTER EXTENSION postgis ADD function st_mean4ma(double precision[],text,text[]);
-ALTER EXTENSION postgis ADD function st_mem_size(geometry);
-ALTER EXTENSION postgis ADD function st_memcollect(geometry);
-ALTER EXTENSION postgis ADD function st_memunion(geometry);
-ALTER EXTENSION postgis ADD function st_metadata(raster);
-ALTER EXTENSION postgis ADD function st_min4ma(double precision[],integer[],text[]);
-ALTER EXTENSION postgis ADD function st_min4ma(double precision[],text,text[]);
-ALTER EXTENSION postgis ADD function st_minconvexhull(raster,integer);
-ALTER EXTENSION postgis ADD function st_mindist4ma(double precision[],integer[],text[]);
-ALTER EXTENSION postgis ADD function st_minimumboundingcircle(geometry,integer);
-ALTER EXTENSION postgis ADD function st_minpossiblevalue(text);
-ALTER EXTENSION postgis ADD function st_mlinefromtext(text);
-ALTER EXTENSION postgis ADD function st_mlinefromtext(text,integer);
-ALTER EXTENSION postgis ADD function st_mlinefromwkb(bytea);
-ALTER EXTENSION postgis ADD function st_mlinefromwkb(bytea,integer);
-ALTER EXTENSION postgis ADD function st_mpointfromtext(text);
-ALTER EXTENSION postgis ADD function st_mpointfromtext(text,integer);
-ALTER EXTENSION postgis ADD function st_mpointfromwkb(bytea);
-ALTER EXTENSION postgis ADD function st_mpointfromwkb(bytea,integer);
-ALTER EXTENSION postgis ADD function st_mpolyfromtext(text);
-ALTER EXTENSION postgis ADD function st_mpolyfromtext(text,integer);
-ALTER EXTENSION postgis ADD function st_mpolyfromwkb(bytea);
-ALTER EXTENSION postgis ADD function st_mpolyfromwkb(bytea,integer);
-ALTER EXTENSION postgis ADD function st_multi(geometry);
-ALTER EXTENSION postgis ADD function st_multilinefromwkb(bytea);
-ALTER EXTENSION postgis ADD function st_multilinestringfromtext(text);
-ALTER EXTENSION postgis ADD function st_multilinestringfromtext(text,integer);
-ALTER EXTENSION postgis ADD function st_multipointfromtext(text);
-ALTER EXTENSION postgis ADD function st_multipointfromwkb(bytea);
-ALTER EXTENSION postgis ADD function st_multipointfromwkb(bytea,integer);
-ALTER EXTENSION postgis ADD function st_multipolyfromwkb(bytea);
-ALTER EXTENSION postgis ADD function st_multipolyfromwkb(bytea,integer);
-ALTER EXTENSION postgis ADD function st_multipolygonfromtext(text);
-ALTER EXTENSION postgis ADD function st_multipolygonfromtext(text,integer);
-ALTER EXTENSION postgis ADD function st_ndims(geometry);
-ALTER EXTENSION postgis ADD function st_nearestvalue(raster,geometry,boolean);
-ALTER EXTENSION postgis ADD function st_nearestvalue(raster,integer,geometry,boolean);
-ALTER EXTENSION postgis ADD function st_nearestvalue(raster,integer,integer,boolean);
-ALTER EXTENSION postgis ADD function st_nearestvalue(raster,integer,integer,integer,boolean);
-ALTER EXTENSION postgis ADD function st_neighborhood(raster,geometry,integer,integer,boolean);
-ALTER EXTENSION postgis ADD function st_neighborhood(raster,integer,geometry,integer,integer,boolean);
-ALTER EXTENSION postgis ADD function st_neighborhood(raster,integer,integer,integer,integer,boolean);
-ALTER EXTENSION postgis ADD function st_neighborhood(raster,integer,integer,integer,integer,integer,boolean);
-ALTER EXTENSION postgis ADD function st_node(geometry);
-ALTER EXTENSION postgis ADD function st_notsamealignmentreason(raster,raster);
-ALTER EXTENSION postgis ADD function st_npoints(geometry);
-ALTER EXTENSION postgis ADD function st_nrings(geometry);
-ALTER EXTENSION postgis ADD function st_numbands(raster);
-ALTER EXTENSION postgis ADD function st_numgeometries(geometry);
-ALTER EXTENSION postgis ADD function st_numinteriorring(geometry);
-ALTER EXTENSION postgis ADD function st_numinteriorrings(geometry);
-ALTER EXTENSION postgis ADD function st_numpatches(geometry);
-ALTER EXTENSION postgis ADD function st_numpoints(geometry);
-ALTER EXTENSION postgis ADD function st_offsetcurve(geometry,double precision,text);
-ALTER EXTENSION postgis ADD function st_orderingequals(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_overlaps(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_overlaps(raster,integer,raster,integer);
-ALTER EXTENSION postgis ADD function st_overlaps(raster,raster);
-ALTER EXTENSION postgis ADD function st_patchn(geometry,integer);
-ALTER EXTENSION postgis ADD function st_perimeter(geography,boolean);
-ALTER EXTENSION postgis ADD function st_perimeter(geometry);
-ALTER EXTENSION postgis ADD function st_perimeter2d(geometry);
-ALTER EXTENSION postgis ADD function st_pixelascentroid(raster,integer,integer);
-ALTER EXTENSION postgis ADD function st_pixelascentroids(raster,integer,boolean);
-ALTER EXTENSION postgis ADD function st_pixelaspoint(raster,integer,integer);
-ALTER EXTENSION postgis ADD function st_pixelaspoints(raster,integer,boolean);
-ALTER EXTENSION postgis ADD function st_pixelaspolygon(raster,integer,integer);
-ALTER EXTENSION postgis ADD function st_pixelaspolygons(raster,integer,boolean);
-ALTER EXTENSION postgis ADD function st_pixelheight(raster);
-ALTER EXTENSION postgis ADD function st_pixelofvalue(raster,double precision,boolean);
-ALTER EXTENSION postgis ADD function st_pixelofvalue(raster,double precision[],boolean);
-ALTER EXTENSION postgis ADD function st_pixelofvalue(raster,integer,double precision,boolean);
-ALTER EXTENSION postgis ADD function st_pixelofvalue(raster,integer,double precision[],boolean);
-ALTER EXTENSION postgis ADD function st_pixelwidth(raster);
-ALTER EXTENSION postgis ADD function st_point(double precision,double precision);
-ALTER EXTENSION postgis ADD function st_point_inside_circle(geometry,double precision,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_pointfromgeohash(text,integer);
-ALTER EXTENSION postgis ADD function st_pointfromtext(text);
-ALTER EXTENSION postgis ADD function st_pointfromtext(text,integer);
-ALTER EXTENSION postgis ADD function st_pointfromwkb(bytea);
-ALTER EXTENSION postgis ADD function st_pointfromwkb(bytea,integer);
-ALTER EXTENSION postgis ADD function st_pointn(geometry,integer);
-ALTER EXTENSION postgis ADD function st_pointonsurface(geometry);
-ALTER EXTENSION postgis ADD function st_polyfromtext(text);
-ALTER EXTENSION postgis ADD function st_polyfromtext(text,integer);
-ALTER EXTENSION postgis ADD function st_polyfromwkb(bytea);
-ALTER EXTENSION postgis ADD function st_polyfromwkb(bytea,integer);
-ALTER EXTENSION postgis ADD function st_polygon(geometry,integer);
-ALTER EXTENSION postgis ADD function st_polygon(raster,integer);
-ALTER EXTENSION postgis ADD function st_polygonfromtext(text);
-ALTER EXTENSION postgis ADD function st_polygonfromtext(text,integer);
-ALTER EXTENSION postgis ADD function st_polygonfromwkb(bytea);
-ALTER EXTENSION postgis ADD function st_polygonfromwkb(bytea,integer);
-ALTER EXTENSION postgis ADD function st_polygonize(geometry);
-ALTER EXTENSION postgis ADD function st_polygonize(geometry[]);
-ALTER EXTENSION postgis ADD function st_project(geography,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_quantile(raster,boolean,double precision);
-ALTER EXTENSION postgis ADD function st_quantile(raster,double precision);
-ALTER EXTENSION postgis ADD function st_quantile(raster,double precision[]);
-ALTER EXTENSION postgis ADD function st_quantile(raster,integer,boolean,double precision);
-ALTER EXTENSION postgis ADD function st_quantile(raster,integer,boolean,double precision[]);
-ALTER EXTENSION postgis ADD function st_quantile(raster,integer,double precision);
-ALTER EXTENSION postgis ADD function st_quantile(raster,integer,double precision[]);
-ALTER EXTENSION postgis ADD function st_quantile(text,text,boolean,double precision);
-ALTER EXTENSION postgis ADD function st_quantile(text,text,double precision);
-ALTER EXTENSION postgis ADD function st_quantile(text,text,double precision[]);
-ALTER EXTENSION postgis ADD function st_quantile(text,text,integer,boolean,double precision);
-ALTER EXTENSION postgis ADD function st_quantile(text,text,integer,boolean,double precision[]);
-ALTER EXTENSION postgis ADD function st_quantile(text,text,integer,double precision);
-ALTER EXTENSION postgis ADD function st_quantile(text,text,integer,double precision[]);
-ALTER EXTENSION postgis ADD function st_range4ma(double precision[],integer[],text[]);
-ALTER EXTENSION postgis ADD function st_range4ma(double precision[],text,text[]);
-ALTER EXTENSION postgis ADD function st_rastertoworldcoord(raster,integer,integer);
-ALTER EXTENSION postgis ADD function st_rastertoworldcoordx(raster,integer);
-ALTER EXTENSION postgis ADD function st_rastertoworldcoordx(raster,integer,integer);
-ALTER EXTENSION postgis ADD function st_rastertoworldcoordy(raster,integer);
-ALTER EXTENSION postgis ADD function st_rastertoworldcoordy(raster,integer,integer);
-ALTER EXTENSION postgis ADD function st_reclass(raster,integer,text,text,double precision);
-ALTER EXTENSION postgis ADD function st_reclass(raster,reclassarg[]);
-ALTER EXTENSION postgis ADD function st_reclass(raster,text,text);
-ALTER EXTENSION postgis ADD function st_relate(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_relate(geometry,geometry,integer);
-ALTER EXTENSION postgis ADD function st_relate(geometry,geometry,text);
-ALTER EXTENSION postgis ADD function st_relatematch(text,text);
-ALTER EXTENSION postgis ADD function st_removepoint(geometry,integer);
-ALTER EXTENSION postgis ADD function st_removerepeatedpoints(geometry);
-ALTER EXTENSION postgis ADD function st_resample(raster,double precision,double precision,double precision,double precision,double precision,double precision,text,double precision);
-ALTER EXTENSION postgis ADD function st_resample(raster,integer,integer,double precision,double precision,double precision,double precision,text,double precision);
-ALTER EXTENSION postgis ADD function st_resample(raster,raster,boolean,text,double precision);
-ALTER EXTENSION postgis ADD function st_resample(raster,raster,text,double precision,boolean);
-ALTER EXTENSION postgis ADD function st_rescale(raster,double precision,double precision,text,double precision);
-ALTER EXTENSION postgis ADD function st_rescale(raster,double precision,text,double precision);
-ALTER EXTENSION postgis ADD function st_resize(raster,double precision,double precision,text,double precision);
-ALTER EXTENSION postgis ADD function st_resize(raster,integer,integer,text,double precision);
-ALTER EXTENSION postgis ADD function st_resize(raster,text,text,text,double precision);
-ALTER EXTENSION postgis ADD function st_reskew(raster,double precision,double precision,text,double precision);
-ALTER EXTENSION postgis ADD function st_reskew(raster,double precision,text,double precision);
-ALTER EXTENSION postgis ADD function st_reverse(geometry);
-ALTER EXTENSION postgis ADD function st_rotate(geometry,double precision);
-ALTER EXTENSION postgis ADD function st_rotate(geometry,double precision,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_rotate(geometry,double precision,geometry);
-ALTER EXTENSION postgis ADD function st_rotatex(geometry,double precision);
-ALTER EXTENSION postgis ADD function st_rotatey(geometry,double precision);
-ALTER EXTENSION postgis ADD function st_rotatez(geometry,double precision);
-ALTER EXTENSION postgis ADD function st_rotation(raster);
-ALTER EXTENSION postgis ADD function st_roughness(raster,integer,raster,text,boolean);
-ALTER EXTENSION postgis ADD function st_samealignment(double precision,double precision,double precision,double precision,double precision,double precision,double precision,double precision,double precision,double precision,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_samealignment(raster);
-ALTER EXTENSION postgis ADD function st_samealignment(raster,raster);
-ALTER EXTENSION postgis ADD function st_scale(geometry,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_scale(geometry,double precision,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_scalex(raster);
-ALTER EXTENSION postgis ADD function st_scaley(raster);
-ALTER EXTENSION postgis ADD function st_segmentize(geography,double precision);
-ALTER EXTENSION postgis ADD function st_segmentize(geometry,double precision);
-ALTER EXTENSION postgis ADD function st_setbandisnodata(raster,integer);
-ALTER EXTENSION postgis ADD function st_setbandnodatavalue(raster,double precision);
-ALTER EXTENSION postgis ADD function st_setbandnodatavalue(raster,integer,double precision,boolean);
-ALTER EXTENSION postgis ADD function st_setgeoreference(raster,double precision,double precision,double precision,double precision,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_setgeoreference(raster,text,text);
-ALTER EXTENSION postgis ADD function st_setgeotransform(raster,double precision,double precision,double precision,double precision,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_setpoint(geometry,integer,geometry);
-ALTER EXTENSION postgis ADD function st_setrotation(raster,double precision);
-ALTER EXTENSION postgis ADD function st_setscale(raster,double precision);
-ALTER EXTENSION postgis ADD function st_setscale(raster,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_setskew(raster,double precision);
-ALTER EXTENSION postgis ADD function st_setskew(raster,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_setsrid(geometry,integer);
-ALTER EXTENSION postgis ADD function st_setsrid(raster,integer);
-ALTER EXTENSION postgis ADD function st_setupperleft(raster,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_setvalue(raster,geometry,double precision);
-ALTER EXTENSION postgis ADD function st_setvalue(raster,integer,geometry,double precision);
-ALTER EXTENSION postgis ADD function st_setvalue(raster,integer,integer,double precision);
-ALTER EXTENSION postgis ADD function st_setvalue(raster,integer,integer,integer,double precision);
-ALTER EXTENSION postgis ADD function st_setvalues(raster,integer,geomval[],boolean);
-ALTER EXTENSION postgis ADD function st_setvalues(raster,integer,integer,integer,double precision[],boolean[],boolean);
-ALTER EXTENSION postgis ADD function st_setvalues(raster,integer,integer,integer,double precision[],double precision,boolean);
-ALTER EXTENSION postgis ADD function st_setvalues(raster,integer,integer,integer,integer,double precision,boolean);
-ALTER EXTENSION postgis ADD function st_setvalues(raster,integer,integer,integer,integer,integer,double precision,boolean);
-ALTER EXTENSION postgis ADD function st_sharedpaths(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_shift_longitude(geometry);
-ALTER EXTENSION postgis ADD function st_shortestline(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_simplify(geometry,double precision);
-ALTER EXTENSION postgis ADD function st_simplifypreservetopology(geometry,double precision);
-ALTER EXTENSION postgis ADD function st_skewx(raster);
-ALTER EXTENSION postgis ADD function st_skewy(raster);
-ALTER EXTENSION postgis ADD function st_slope(raster,integer,raster,text,text,double precision,boolean);
-ALTER EXTENSION postgis ADD function st_slope(raster,integer,text,text,double precision,boolean);
-ALTER EXTENSION postgis ADD function st_snap(geometry,geometry,double precision);
-ALTER EXTENSION postgis ADD function st_snaptogrid(geometry,double precision);
-ALTER EXTENSION postgis ADD function st_snaptogrid(geometry,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_snaptogrid(geometry,double precision,double precision,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_snaptogrid(geometry,geometry,double precision,double precision,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_snaptogrid(raster,double precision,double precision,double precision,double precision,text,double precision);
-ALTER EXTENSION postgis ADD function st_snaptogrid(raster,double precision,double precision,double precision,text,double precision);
-ALTER EXTENSION postgis ADD function st_snaptogrid(raster,double precision,double precision,text,double precision,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_split(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_srid(geometry);
-ALTER EXTENSION postgis ADD function st_srid(raster);
-ALTER EXTENSION postgis ADD function st_startpoint(geometry);
-ALTER EXTENSION postgis ADD function st_stddev4ma(double precision[],integer[],text[]);
-ALTER EXTENSION postgis ADD function st_stddev4ma(double precision[],text,text[]);
-ALTER EXTENSION postgis ADD function st_sum4ma(double precision[],integer[],text[]);
-ALTER EXTENSION postgis ADD function st_sum4ma(double precision[],text,text[]);
-ALTER EXTENSION postgis ADD function st_summary(geography);
-ALTER EXTENSION postgis ADD function st_summary(geometry);
-ALTER EXTENSION postgis ADD function st_summary(raster);
-ALTER EXTENSION postgis ADD function st_summarystats(raster,boolean);
-ALTER EXTENSION postgis ADD function st_summarystats(raster,integer,boolean);
-ALTER EXTENSION postgis ADD function st_summarystats(text,text,boolean);
-ALTER EXTENSION postgis ADD function st_summarystats(text,text,integer,boolean);
-ALTER EXTENSION postgis ADD function st_symdifference(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_symmetricdifference(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_tile(raster,integer,integer,boolean,double precision);
-ALTER EXTENSION postgis ADD function st_tile(raster,integer,integer,integer,boolean,double precision);
-ALTER EXTENSION postgis ADD function st_tile(raster,integer[],integer,integer,boolean,double precision);
-ALTER EXTENSION postgis ADD function st_touches(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_touches(raster,integer,raster,integer);
-ALTER EXTENSION postgis ADD function st_touches(raster,raster);
-ALTER EXTENSION postgis ADD function st_tpi(raster,integer,raster,text,boolean);
-ALTER EXTENSION postgis ADD function st_transform(geometry,integer);
-ALTER EXTENSION postgis ADD function st_transform(raster,integer,double precision,double precision,text,double precision);
-ALTER EXTENSION postgis ADD function st_transform(raster,integer,double precision,text,double precision);
-ALTER EXTENSION postgis ADD function st_transform(raster,integer,text,double precision,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_transform(raster,raster,text,double precision);
-ALTER EXTENSION postgis ADD function st_translate(geometry,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_translate(geometry,double precision,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_transscale(geometry,double precision,double precision,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_tri(raster,integer,raster,text,boolean);
-ALTER EXTENSION postgis ADD function st_unaryunion(geometry);
-ALTER EXTENSION postgis ADD function st_union(geometry);
-ALTER EXTENSION postgis ADD function st_union(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_union(geometry[]);
-ALTER EXTENSION postgis ADD function st_union(raster);
-ALTER EXTENSION postgis ADD function st_union(raster,integer);
-ALTER EXTENSION postgis ADD function st_union(raster,integer,text);
-ALTER EXTENSION postgis ADD function st_union(raster,text);
-ALTER EXTENSION postgis ADD function st_union(raster,unionarg[]);
-ALTER EXTENSION postgis ADD function st_upperleftx(raster);
-ALTER EXTENSION postgis ADD function st_upperlefty(raster);
-ALTER EXTENSION postgis ADD function st_value(raster,geometry,boolean);
-ALTER EXTENSION postgis ADD function st_value(raster,integer,geometry,boolean);
-ALTER EXTENSION postgis ADD function st_value(raster,integer,integer,boolean);
-ALTER EXTENSION postgis ADD function st_value(raster,integer,integer,integer,boolean);
-ALTER EXTENSION postgis ADD function st_valuecount(raster,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_valuecount(raster,double precision[],double precision);
-ALTER EXTENSION postgis ADD function st_valuecount(raster,integer,boolean,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_valuecount(raster,integer,boolean,double precision[],double precision);
-ALTER EXTENSION postgis ADD function st_valuecount(raster,integer,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_valuecount(raster,integer,double precision[],double precision);
-ALTER EXTENSION postgis ADD function st_valuecount(text,text,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_valuecount(text,text,double precision[],double precision);
-ALTER EXTENSION postgis ADD function st_valuecount(text,text,integer,boolean,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_valuecount(text,text,integer,boolean,double precision[],double precision);
-ALTER EXTENSION postgis ADD function st_valuecount(text,text,integer,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_valuecount(text,text,integer,double precision[],double precision);
-ALTER EXTENSION postgis ADD function st_valuepercent(raster,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_valuepercent(raster,double precision[],double precision);
-ALTER EXTENSION postgis ADD function st_valuepercent(raster,integer,boolean,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_valuepercent(raster,integer,boolean,double precision[],double precision);
-ALTER EXTENSION postgis ADD function st_valuepercent(raster,integer,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_valuepercent(raster,integer,double precision[],double precision);
-ALTER EXTENSION postgis ADD function st_valuepercent(text,text,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_valuepercent(text,text,double precision[],double precision);
-ALTER EXTENSION postgis ADD function st_valuepercent(text,text,integer,boolean,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_valuepercent(text,text,integer,boolean,double precision[],double precision);
-ALTER EXTENSION postgis ADD function st_valuepercent(text,text,integer,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_valuepercent(text,text,integer,double precision[],double precision);
-ALTER EXTENSION postgis ADD function st_width(raster);
-ALTER EXTENSION postgis ADD function st_within(geometry,geometry);
-ALTER EXTENSION postgis ADD function st_within(raster,integer,raster,integer);
-ALTER EXTENSION postgis ADD function st_within(raster,raster);
-ALTER EXTENSION postgis ADD function st_wkbtosql(bytea);
-ALTER EXTENSION postgis ADD function st_wkttosql(text);
-ALTER EXTENSION postgis ADD function st_worldtorastercoord(raster,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_worldtorastercoord(raster,geometry);
-ALTER EXTENSION postgis ADD function st_worldtorastercoordx(raster,double precision);
-ALTER EXTENSION postgis ADD function st_worldtorastercoordx(raster,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_worldtorastercoordx(raster,geometry);
-ALTER EXTENSION postgis ADD function st_worldtorastercoordy(raster,double precision);
-ALTER EXTENSION postgis ADD function st_worldtorastercoordy(raster,double precision,double precision);
-ALTER EXTENSION postgis ADD function st_worldtorastercoordy(raster,geometry);
-ALTER EXTENSION postgis ADD function st_x(geometry);
-ALTER EXTENSION postgis ADD function st_xmax(box3d);
-ALTER EXTENSION postgis ADD function st_xmin(box3d);
-ALTER EXTENSION postgis ADD function st_y(geometry);
-ALTER EXTENSION postgis ADD function st_ymax(box3d);
-ALTER EXTENSION postgis ADD function st_ymin(box3d);
-ALTER EXTENSION postgis ADD function st_z(geometry);
-ALTER EXTENSION postgis ADD function st_zmax(box3d);
-ALTER EXTENSION postgis ADD function st_zmflag(geometry);
-ALTER EXTENSION postgis ADD function st_zmin(box3d);
-ALTER EXTENSION postgis ADD function text(geometry);
-ALTER EXTENSION postgis ADD function unlockrows(text);
-ALTER EXTENSION postgis ADD function updategeometrysrid(character varying,character varying,character varying,character varying,integer);
-ALTER EXTENSION postgis ADD function updategeometrysrid(character varying,character varying,character varying,integer);
-ALTER EXTENSION postgis ADD function updategeometrysrid(character varying,character varying,integer);
-ALTER EXTENSION postgis ADD function updaterastersrid(name,name,integer);
-ALTER EXTENSION postgis ADD function updaterastersrid(name,name,name,integer);
-ALTER EXTENSION postgis ADD operator &&&(geometry,geometry);
-ALTER EXTENSION postgis ADD operator &&(geography,geography);
-ALTER EXTENSION postgis ADD operator &&(geometry,geometry);
-ALTER EXTENSION postgis ADD operator &&(geometry,raster);
-ALTER EXTENSION postgis ADD operator &&(raster,geometry);
-ALTER EXTENSION postgis ADD operator &&(raster,raster);
-ALTER EXTENSION postgis ADD operator &<(geometry,geometry);
-ALTER EXTENSION postgis ADD operator &<(raster,raster);
-ALTER EXTENSION postgis ADD operator &<|(geometry,geometry);
-ALTER EXTENSION postgis ADD operator &<|(raster,raster);
-ALTER EXTENSION postgis ADD operator &>(geometry,geometry);
-ALTER EXTENSION postgis ADD operator &>(raster,raster);
-ALTER EXTENSION postgis ADD operator @(geometry,geometry);
-ALTER EXTENSION postgis ADD operator @(geometry,raster);
-ALTER EXTENSION postgis ADD operator @(raster,geometry);
-ALTER EXTENSION postgis ADD operator @(raster,raster);
-ALTER EXTENSION postgis ADD operator |&>(geometry,geometry);
-ALTER EXTENSION postgis ADD operator |&>(raster,raster);
-ALTER EXTENSION postgis ADD operator |>>(geometry,geometry);
-ALTER EXTENSION postgis ADD operator |>>(raster,raster);
-ALTER EXTENSION postgis ADD operator ~(geometry,geometry);
-ALTER EXTENSION postgis ADD operator ~(geometry,raster);
-ALTER EXTENSION postgis ADD operator ~(raster,geometry);
-ALTER EXTENSION postgis ADD operator ~(raster,raster);
-ALTER EXTENSION postgis ADD operator ~=(geometry,geometry);
-ALTER EXTENSION postgis ADD operator ~=(raster,raster);
-ALTER EXTENSION postgis ADD operator <->(geometry,geometry);
-ALTER EXTENSION postgis ADD operator <#>(geometry,geometry);
-ALTER EXTENSION postgis ADD operator <(geography,geography);
-ALTER EXTENSION postgis ADD operator <(geometry,geometry);
-ALTER EXTENSION postgis ADD operator <<(geometry,geometry);
-ALTER EXTENSION postgis ADD operator <<(raster,raster);
-ALTER EXTENSION postgis ADD operator <<|(geometry,geometry);
-ALTER EXTENSION postgis ADD operator <<|(raster,raster);
-ALTER EXTENSION postgis ADD operator <=(geography,geography);
-ALTER EXTENSION postgis ADD operator <=(geometry,geometry);
-ALTER EXTENSION postgis ADD operator =(geography,geography);
-ALTER EXTENSION postgis ADD operator =(geometry,geometry);
-ALTER EXTENSION postgis ADD operator =(raster,raster);
-ALTER EXTENSION postgis ADD operator >(geography,geography);
-ALTER EXTENSION postgis ADD operator >(geometry,geometry);
-ALTER EXTENSION postgis ADD operator >=(geography,geography);
-ALTER EXTENSION postgis ADD operator >=(geometry,geometry);
-ALTER EXTENSION postgis ADD operator >>(geometry,geometry);
-ALTER EXTENSION postgis ADD operator >>(raster,raster);
-ALTER EXTENSION postgis ADD operator class btree_geography_ops using btree;
-ALTER EXTENSION postgis ADD operator class btree_geometry_ops using btree;
-ALTER EXTENSION postgis ADD operator class gist_geography_ops using gist;
-ALTER EXTENSION postgis ADD operator class gist_geometry_ops_2d using gist;
-ALTER EXTENSION postgis ADD operator class gist_geometry_ops_nd using gist;
-ALTER EXTENSION postgis ADD operator class hash_raster_ops using hash;
-ALTER EXTENSION postgis ADD operator family btree_geography_ops using btree;
-ALTER EXTENSION postgis ADD operator family btree_geometry_ops using btree;
-ALTER EXTENSION postgis ADD operator family gist_geography_ops using gist;
-ALTER EXTENSION postgis ADD operator family gist_geometry_ops_2d using gist;
-ALTER EXTENSION postgis ADD operator family gist_geometry_ops_nd using gist;
-ALTER EXTENSION postgis ADD operator family hash_raster_ops using hash;
-ALTER EXTENSION postgis ADD table spatial_ref_sys;
-ALTER EXTENSION postgis ADD type addbandarg;
-ALTER EXTENSION postgis ADD type agg_samealignment;
-ALTER EXTENSION postgis ADD type box2d;
-ALTER EXTENSION postgis ADD type box2df;
-ALTER EXTENSION postgis ADD type box3d;
-ALTER EXTENSION postgis ADD type geography;
-ALTER EXTENSION postgis ADD type geometry;
-ALTER EXTENSION postgis ADD type geometry_dump;
-ALTER EXTENSION postgis ADD type geomval;
-ALTER EXTENSION postgis ADD type gidx;
-ALTER EXTENSION postgis ADD type pgis_abs;
-ALTER EXTENSION postgis ADD type rastbandarg;
-ALTER EXTENSION postgis ADD type raster;
-ALTER EXTENSION postgis ADD type reclassarg;
-ALTER EXTENSION postgis ADD type spheroid;
-ALTER EXTENSION postgis ADD type unionarg;
-ALTER EXTENSION postgis ADD type valid_detail;
-ALTER EXTENSION postgis ADD view geography_columns;
-ALTER EXTENSION postgis ADD view geometry_columns;
-ALTER EXTENSION postgis ADD view raster_columns;
-ALTER EXTENSION postgis ADD view raster_overviews;
+ ALTER EXTENSION postgis ADD cast(box2d as box3d);
+ ALTER EXTENSION postgis ADD cast(box2d as geometry);
+ ALTER EXTENSION postgis ADD cast(box3d as box);
+ ALTER EXTENSION postgis ADD cast(box3d as box2d);
+ ALTER EXTENSION postgis ADD cast(box3d as geometry);
+ ALTER EXTENSION postgis ADD cast(bytea as geography);
+ ALTER EXTENSION postgis ADD cast(bytea as geometry);
+ ALTER EXTENSION postgis ADD cast(geography as bytea);
+ ALTER EXTENSION postgis ADD cast(geography as geography);
+ ALTER EXTENSION postgis ADD cast(geography as geometry);
+ ALTER EXTENSION postgis ADD cast(geometry as box);
+ ALTER EXTENSION postgis ADD cast(geometry as box2d);
+ ALTER EXTENSION postgis ADD cast(geometry as box3d);
+ ALTER EXTENSION postgis ADD cast(geometry as bytea);
+ ALTER EXTENSION postgis ADD cast(geometry as geography);
+ ALTER EXTENSION postgis ADD cast(geometry as geometry);
+ ALTER EXTENSION postgis ADD cast(geometry as path);
+ ALTER EXTENSION postgis ADD cast(geometry as point);
+ ALTER EXTENSION postgis ADD cast(geometry as polygon);
+ ALTER EXTENSION postgis ADD cast(geometry as text);
+ ALTER EXTENSION postgis ADD cast(path as geometry);
+ ALTER EXTENSION postgis ADD cast(point as geometry);
+ ALTER EXTENSION postgis ADD cast(polygon as geometry);
+ ALTER EXTENSION postgis ADD cast(raster as box3d);
+ ALTER EXTENSION postgis ADD cast(raster as bytea);
+ ALTER EXTENSION postgis ADD cast(raster as geometry);
+ ALTER EXTENSION postgis ADD cast(text as geometry);
+ ALTER EXTENSION postgis ADD function _add_overview_constraint(name,name,name,name,name,name,integer);
+ ALTER EXTENSION postgis ADD function _add_raster_constraint(name,text);
+ ALTER EXTENSION postgis ADD function _add_raster_constraint_alignment(name,name,name);
+ ALTER EXTENSION postgis ADD function _add_raster_constraint_blocksize(name,name,name,text);
+ ALTER EXTENSION postgis ADD function _add_raster_constraint_coverage_tile(name,name,name);
+ ALTER EXTENSION postgis ADD function _add_raster_constraint_extent(name,name,name);
+ ALTER EXTENSION postgis ADD function _add_raster_constraint_nodata_values(name,name,name);
+ ALTER EXTENSION postgis ADD function _add_raster_constraint_num_bands(name,name,name);
+ ALTER EXTENSION postgis ADD function _add_raster_constraint_out_db(name,name,name);
+ ALTER EXTENSION postgis ADD function _add_raster_constraint_pixel_types(name,name,name);
+ ALTER EXTENSION postgis ADD function _add_raster_constraint_scale(name,name,name,character);
+ ALTER EXTENSION postgis ADD function _add_raster_constraint_spatially_unique(name,name,name);
+ ALTER EXTENSION postgis ADD function _add_raster_constraint_srid(name,name,name);
+ ALTER EXTENSION postgis ADD function _drop_overview_constraint(name,name,name);
+ ALTER EXTENSION postgis ADD function _drop_raster_constraint(name,name,name);
+ ALTER EXTENSION postgis ADD function _drop_raster_constraint_alignment(name,name,name);
+ ALTER EXTENSION postgis ADD function _drop_raster_constraint_blocksize(name,name,name,text);
+ ALTER EXTENSION postgis ADD function _drop_raster_constraint_coverage_tile(name,name,name);
+ ALTER EXTENSION postgis ADD function _drop_raster_constraint_extent(name,name,name);
+ ALTER EXTENSION postgis ADD function _drop_raster_constraint_nodata_values(name,name,name);
+ ALTER EXTENSION postgis ADD function _drop_raster_constraint_num_bands(name,name,name);
+ ALTER EXTENSION postgis ADD function _drop_raster_constraint_out_db(name,name,name);
+ ALTER EXTENSION postgis ADD function _drop_raster_constraint_pixel_types(name,name,name);
+ ALTER EXTENSION postgis ADD function _drop_raster_constraint_regular_blocking(name,name,name);
+ ALTER EXTENSION postgis ADD function _drop_raster_constraint_scale(name,name,name,character);
+ ALTER EXTENSION postgis ADD function _drop_raster_constraint_spatially_unique(name,name,name);
+ ALTER EXTENSION postgis ADD function _drop_raster_constraint_srid(name,name,name);
+ ALTER EXTENSION postgis ADD function _overview_constraint(raster,integer,name,name,name);
+ ALTER EXTENSION postgis ADD function _overview_constraint_info(name,name,name);
+ ALTER EXTENSION postgis ADD function _postgis_deprecate(text,text,text);
+ ALTER EXTENSION postgis ADD function _postgis_join_selectivity(regclass,text,regclass,text,text);
+ ALTER EXTENSION postgis ADD function _postgis_selectivity(regclass,text,geometry,text);
+ ALTER EXTENSION postgis ADD function _postgis_stats(regclass,text,text);
+ ALTER EXTENSION postgis ADD function _raster_constraint_info_alignment(name,name,name);
+ ALTER EXTENSION postgis ADD function _raster_constraint_info_blocksize(name,name,name,text);
+ ALTER EXTENSION postgis ADD function _raster_constraint_info_coverage_tile(name,name,name);
+ ALTER EXTENSION postgis ADD function _raster_constraint_info_extent(name,name,name);
+ ALTER EXTENSION postgis ADD function _raster_constraint_info_nodata_values(name,name,name);
+ ALTER EXTENSION postgis ADD function _raster_constraint_info_num_bands(name,name,name);
+ ALTER EXTENSION postgis ADD function _raster_constraint_info_out_db(name,name,name);
+ ALTER EXTENSION postgis ADD function _raster_constraint_info_pixel_types(name,name,name);
+ ALTER EXTENSION postgis ADD function _raster_constraint_info_regular_blocking(name,name,name);
+ ALTER EXTENSION postgis ADD function _raster_constraint_info_scale(name,name,name,character);
+ ALTER EXTENSION postgis ADD function _raster_constraint_info_spatially_unique(name,name,name);
+ ALTER EXTENSION postgis ADD function _raster_constraint_info_srid(name,name,name);
+ ALTER EXTENSION postgis ADD function _raster_constraint_nodata_values(raster);
+ ALTER EXTENSION postgis ADD function _raster_constraint_out_db(raster);
+ ALTER EXTENSION postgis ADD function _raster_constraint_pixel_types(raster);
+ ALTER EXTENSION postgis ADD function _st_3ddfullywithin(geometry,geometry,double precision);
+ ALTER EXTENSION postgis ADD function _st_3ddwithin(geometry,geometry,double precision);
+ ALTER EXTENSION postgis ADD function _st_3dintersects(geometry,geometry);
+ ALTER EXTENSION postgis ADD function _st_asgeojson(integer,geography,integer,integer);
+ ALTER EXTENSION postgis ADD function _st_asgeojson(integer,geometry,integer,integer);
+ ALTER EXTENSION postgis ADD function _st_asgml(integer,geography,integer,integer,text,text);
+ ALTER EXTENSION postgis ADD function _st_asgml(integer,geometry,integer,integer,text,text);
+ ALTER EXTENSION postgis ADD function _st_askml(integer,geography,integer,text);
+ ALTER EXTENSION postgis ADD function _st_askml(integer,geometry,integer,text);
+ ALTER EXTENSION postgis ADD function _st_aspect4ma(double precision[],integer[],text[]);
+ ALTER EXTENSION postgis ADD function _st_asraster(geometry,double precision,double precision,integer,integer,text[],double precision[],double precision[],double precision,double precision,double precision,double precision,double precision,double precision,boolean);
+ ALTER EXTENSION postgis ADD function _st_asx3d(integer,geometry,integer,integer,text);
+ ALTER EXTENSION postgis ADD function _st_bestsrid(geography);
+ ALTER EXTENSION postgis ADD function _st_bestsrid(geography,geography);
+ ALTER EXTENSION postgis ADD function _st_buffer(geometry,double precision,cstring);
+ ALTER EXTENSION postgis ADD function _st_colormap(raster,integer,text,text);
+ ALTER EXTENSION postgis ADD function _st_concavehull(geometry);
+ ALTER EXTENSION postgis ADD function _st_contains(geometry,geometry);
+ ALTER EXTENSION postgis ADD function _st_contains(raster,integer,raster,integer);
+ ALTER EXTENSION postgis ADD function _st_containsproperly(geometry,geometry);
+ ALTER EXTENSION postgis ADD function _st_containsproperly(raster,integer,raster,integer);
+ ALTER EXTENSION postgis ADD function _st_convertarray4ma(double precision[]);
+ ALTER EXTENSION postgis ADD function _st_count(raster,integer,boolean,double precision);
+ ALTER EXTENSION postgis ADD function _st_count(text,text,integer,boolean,double precision);
+ ALTER EXTENSION postgis ADD function _st_coveredby(geometry,geometry);
+ ALTER EXTENSION postgis ADD function _st_coveredby(raster,integer,raster,integer);
+ ALTER EXTENSION postgis ADD function _st_covers(geography,geography);
+ ALTER EXTENSION postgis ADD function _st_covers(geometry,geometry);
+ ALTER EXTENSION postgis ADD function _st_covers(raster,integer,raster,integer);
+ ALTER EXTENSION postgis ADD function _st_crosses(geometry,geometry);
+ ALTER EXTENSION postgis ADD function _st_dfullywithin(geometry,geometry,double precision);
+ ALTER EXTENSION postgis ADD function _st_dfullywithin(raster,integer,raster,integer,double precision);
+ ALTER EXTENSION postgis ADD function _st_distance(geography,geography,double precision,boolean);
+ ALTER EXTENSION postgis ADD function _st_distancetree(geography,geography);
+ ALTER EXTENSION postgis ADD function _st_distancetree(geography,geography,double precision,boolean);
+ ALTER EXTENSION postgis ADD function _st_distanceuncached(geography,geography);
+ ALTER EXTENSION postgis ADD function _st_distanceuncached(geography,geography,boolean);
+ ALTER EXTENSION postgis ADD function _st_distanceuncached(geography,geography,double precision,boolean);
+ ALTER EXTENSION postgis ADD function _st_dumppoints(geometry,integer[]);
+ ALTER EXTENSION postgis ADD function _st_dwithin(geography,geography,double precision,boolean);
+ ALTER EXTENSION postgis ADD function _st_dwithin(geometry,geometry,double precision);
+ ALTER EXTENSION postgis ADD function _st_dwithin(raster,integer,raster,integer,double precision);
+ ALTER EXTENSION postgis ADD function _st_dwithinuncached(geography,geography,double precision);
+ ALTER EXTENSION postgis ADD function _st_dwithinuncached(geography,geography,double precision,boolean);
+ ALTER EXTENSION postgis ADD function _st_equals(geometry,geometry);
+ ALTER EXTENSION postgis ADD function _st_expand(geography,double precision);
+ ALTER EXTENSION postgis ADD function _st_gdalwarp(raster,text,double precision,integer,double precision,double precision,double precision,double precision,double precision,double precision,integer,integer);
+ ALTER EXTENSION postgis ADD function _st_geomfromgml(text,integer);
+ ALTER EXTENSION postgis ADD function _st_hillshade4ma(double precision[],integer[],text[]);
+ ALTER EXTENSION postgis ADD function _st_histogram(raster,integer,boolean,double precision,integer,double precision[],boolean,double precision,double precision);
+ ALTER EXTENSION postgis ADD function _st_histogram(text,text,integer,boolean,double precision,integer,double precision[],boolean);
+ ALTER EXTENSION postgis ADD function _st_intersects(geometry,geometry);
+ ALTER EXTENSION postgis ADD function _st_intersects(geometry,raster,integer);
+ ALTER EXTENSION postgis ADD function _st_intersects(raster,integer,raster,integer);
+ ALTER EXTENSION postgis ADD function _st_linecrossingdirection(geometry,geometry);
+ ALTER EXTENSION postgis ADD function _st_longestline(geometry,geometry);
+ ALTER EXTENSION postgis ADD function _st_mapalgebra(rastbandarg[],regprocedure,text,integer,integer,text,raster,text[]);
+ ALTER EXTENSION postgis ADD function _st_mapalgebra(rastbandarg[],text,text,text,text,text,double precision);
+ ALTER EXTENSION postgis ADD function _st_maxdistance(geometry,geometry);
+ ALTER EXTENSION postgis ADD function _st_neighborhood(raster,integer,integer,integer,integer,integer,boolean);
+ ALTER EXTENSION postgis ADD function _st_orderingequals(geometry,geometry);
+ ALTER EXTENSION postgis ADD function _st_overlaps(geometry,geometry);
+ ALTER EXTENSION postgis ADD function _st_overlaps(raster,integer,raster,integer);
+ ALTER EXTENSION postgis ADD function _st_pixelaspolygons(raster,integer,integer,integer,boolean);
+ ALTER EXTENSION postgis ADD function _st_pointoutside(geography);
+ ALTER EXTENSION postgis ADD function _st_quantile(raster,integer,boolean,double precision,double precision[]);
+ ALTER EXTENSION postgis ADD function _st_quantile(text,text,integer,boolean,double precision,double precision[]);
+ ALTER EXTENSION postgis ADD function _st_rastertoworldcoord(raster,integer,integer);
+ ALTER EXTENSION postgis ADD function _st_reclass(raster,reclassarg[]);
+ ALTER EXTENSION postgis ADD function _st_roughness4ma(double precision[],integer[],text[]);
+ ALTER EXTENSION postgis ADD function _st_samealignment_finalfn(agg_samealignment);
+ ALTER EXTENSION postgis ADD function _st_samealignment_transfn(agg_samealignment,raster);
+ ALTER EXTENSION postgis ADD function _st_setvalues(raster,integer,integer,integer,double precision[],boolean[],boolean,double precision,boolean);
+ ALTER EXTENSION postgis ADD function _st_slope4ma(double precision[],integer[],text[]);
+ ALTER EXTENSION postgis ADD function _st_summarystats(raster,integer,boolean,double precision);
+ ALTER EXTENSION postgis ADD function _st_summarystats(text,text,integer,boolean,double precision);
+ ALTER EXTENSION postgis ADD function _st_tile(raster,integer,integer,integer[],boolean,double precision);
+ ALTER EXTENSION postgis ADD function _st_touches(geometry,geometry);
+ ALTER EXTENSION postgis ADD function _st_touches(raster,integer,raster,integer);
+ ALTER EXTENSION postgis ADD function _st_tpi4ma(double precision[],integer[],text[]);
+ ALTER EXTENSION postgis ADD function _st_tri4ma(double precision[],integer[],text[]);
+ ALTER EXTENSION postgis ADD function _st_union_finalfn(internal);
+ ALTER EXTENSION postgis ADD function _st_union_transfn(internal,raster);
+ ALTER EXTENSION postgis ADD function _st_union_transfn(internal,raster,integer);
+ ALTER EXTENSION postgis ADD function _st_union_transfn(internal,raster,integer,text);
+ ALTER EXTENSION postgis ADD function _st_union_transfn(internal,raster,text);
+ ALTER EXTENSION postgis ADD function _st_union_transfn(internal,raster,unionarg[]);
+ ALTER EXTENSION postgis ADD function _st_valuecount(raster,integer,boolean,double precision[],double precision);
+ ALTER EXTENSION postgis ADD function _st_valuecount(text,text,integer,boolean,double precision[],double precision);
+ ALTER EXTENSION postgis ADD function _st_within(geometry,geometry);
+ ALTER EXTENSION postgis ADD function _st_within(raster,integer,raster,integer);
+ ALTER EXTENSION postgis ADD function _st_worldtorastercoord(raster,double precision,double precision);
+ ALTER EXTENSION postgis ADD function _updaterastersrid(name,name,name,integer);
+ ALTER EXTENSION postgis ADD function addauth(text);
+ ALTER EXTENSION postgis ADD function addgeometrycolumn(character varying,character varying,character varying,character varying,integer,character varying,integer,boolean);
+ ALTER EXTENSION postgis ADD function addgeometrycolumn(character varying,character varying,character varying,integer,character varying,integer,boolean);
+ ALTER EXTENSION postgis ADD function addgeometrycolumn(character varying,character varying,integer,character varying,integer,boolean);
+ ALTER EXTENSION postgis ADD function addoverviewconstraints(name,name,name,name,integer);
+ ALTER EXTENSION postgis ADD function addoverviewconstraints(name,name,name,name,name,name,integer);
+ ALTER EXTENSION postgis ADD function addrasterconstraints(name,name,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean);
+ ALTER EXTENSION postgis ADD function addrasterconstraints(name,name,name,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean);
+ ALTER EXTENSION postgis ADD function addrasterconstraints(name,name,name,text[]);
+ ALTER EXTENSION postgis ADD function addrasterconstraints(name,name,text[]);
+ ALTER EXTENSION postgis ADD function box(box3d);
+ ALTER EXTENSION postgis ADD function box(geometry);
+ ALTER EXTENSION postgis ADD function box2d(box3d);
+ ALTER EXTENSION postgis ADD function box2d(geometry);
+ ALTER EXTENSION postgis ADD function box2d_in(cstring);
+ ALTER EXTENSION postgis ADD function box2d_out(box2d);
+ ALTER EXTENSION postgis ADD function box2df_in(cstring);
+ ALTER EXTENSION postgis ADD function box2df_out(box2df);
+ ALTER EXTENSION postgis ADD function box3d(box2d);
+ ALTER EXTENSION postgis ADD function box3d(geometry);
+ ALTER EXTENSION postgis ADD function box3d(raster);
+ ALTER EXTENSION postgis ADD function box3d_in(cstring);
+ ALTER EXTENSION postgis ADD function box3d_out(box3d);
+ ALTER EXTENSION postgis ADD function box3dtobox(box3d);
+ ALTER EXTENSION postgis ADD function bytea(geography);
+ ALTER EXTENSION postgis ADD function bytea(geometry);
+ ALTER EXTENSION postgis ADD function bytea(raster);
+ ALTER EXTENSION postgis ADD function checkauth(text,text);
+ ALTER EXTENSION postgis ADD function checkauth(text,text,text);
+ ALTER EXTENSION postgis ADD function checkauthtrigger();
+ ALTER EXTENSION postgis ADD function disablelongtransactions();
+ ALTER EXTENSION postgis ADD function dropgeometrycolumn(character varying,character varying);
+ ALTER EXTENSION postgis ADD function dropgeometrycolumn(character varying,character varying,character varying);
+ ALTER EXTENSION postgis ADD function dropgeometrycolumn(character varying,character varying,character varying,character varying);
+ ALTER EXTENSION postgis ADD function dropgeometrytable(character varying);
+ ALTER EXTENSION postgis ADD function dropgeometrytable(character varying,character varying);
+ ALTER EXTENSION postgis ADD function dropgeometrytable(character varying,character varying,character varying);
+ ALTER EXTENSION postgis ADD function dropoverviewconstraints(name,name);
+ ALTER EXTENSION postgis ADD function dropoverviewconstraints(name,name,name);
+ ALTER EXTENSION postgis ADD function droprasterconstraints(name,name,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean);
+ ALTER EXTENSION postgis ADD function droprasterconstraints(name,name,name,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean);
+ ALTER EXTENSION postgis ADD function droprasterconstraints(name,name,name,text[]);
+ ALTER EXTENSION postgis ADD function droprasterconstraints(name,name,text[]);
+ ALTER EXTENSION postgis ADD function enablelongtransactions();
+ ALTER EXTENSION postgis ADD function equals(geometry,geometry);
+ ALTER EXTENSION postgis ADD function find_srid(character varying,character varying,character varying);
+ ALTER EXTENSION postgis ADD function geography(bytea);
+ ALTER EXTENSION postgis ADD function geography(geography,integer,boolean);
+ ALTER EXTENSION postgis ADD function geography(geometry);
+ ALTER EXTENSION postgis ADD function geography_analyze(internal);
+ ALTER EXTENSION postgis ADD function geography_cmp(geography,geography);
+ ALTER EXTENSION postgis ADD function geography_eq(geography,geography);
+ ALTER EXTENSION postgis ADD function geography_ge(geography,geography);
+ ALTER EXTENSION postgis ADD function geography_gist_compress(internal);
+ ALTER EXTENSION postgis ADD function geography_gist_consistent(internal,geography,integer);
+ ALTER EXTENSION postgis ADD function geography_gist_decompress(internal);
+ ALTER EXTENSION postgis ADD function geography_gist_penalty(internal,internal,internal);
+ ALTER EXTENSION postgis ADD function geography_gist_picksplit(internal,internal);
+ ALTER EXTENSION postgis ADD function geography_gist_same(box2d,box2d,internal);
+ ALTER EXTENSION postgis ADD function geography_gist_union(bytea,internal);
+ ALTER EXTENSION postgis ADD function geography_gt(geography,geography);
+ ALTER EXTENSION postgis ADD function geography_in(cstring,oid,integer);
+ ALTER EXTENSION postgis ADD function geography_le(geography,geography);
+ ALTER EXTENSION postgis ADD function geography_lt(geography,geography);
+ ALTER EXTENSION postgis ADD function geography_out(geography);
+ ALTER EXTENSION postgis ADD function geography_overlaps(geography,geography);
+ ALTER EXTENSION postgis ADD function geography_recv(internal,oid,integer);
+ ALTER EXTENSION postgis ADD function geography_send(geography);
+ ALTER EXTENSION postgis ADD function geography_typmod_in(cstring[]);
+ ALTER EXTENSION postgis ADD function geography_typmod_out(integer);
+ ALTER EXTENSION postgis ADD function geometry(box2d);
+ ALTER EXTENSION postgis ADD function geometry(box3d);
+ ALTER EXTENSION postgis ADD function geometry(bytea);
+ ALTER EXTENSION postgis ADD function geometry(geography);
+ ALTER EXTENSION postgis ADD function geometry(geometry,integer,boolean);
+ ALTER EXTENSION postgis ADD function geometry(path);
+ ALTER EXTENSION postgis ADD function geometry(point);
+ ALTER EXTENSION postgis ADD function geometry(polygon);
+ ALTER EXTENSION postgis ADD function geometry(text);
+ ALTER EXTENSION postgis ADD function geometry_above(geometry,geometry);
+ ALTER EXTENSION postgis ADD function geometry_analyze(internal);
+ ALTER EXTENSION postgis ADD function geometry_below(geometry,geometry);
+ ALTER EXTENSION postgis ADD function geometry_cmp(geometry,geometry);
+ ALTER EXTENSION postgis ADD function geometry_contained_by_raster(geometry,raster);
+ ALTER EXTENSION postgis ADD function geometry_contains(geometry,geometry);
+ ALTER EXTENSION postgis ADD function geometry_distance_box(geometry,geometry);
+ ALTER EXTENSION postgis ADD function geometry_distance_centroid(geometry,geometry);
+ ALTER EXTENSION postgis ADD function geometry_eq(geometry,geometry);
+ ALTER EXTENSION postgis ADD function geometry_ge(geometry,geometry);
+ ALTER EXTENSION postgis ADD function geometry_gist_compress_2d(internal);
+ ALTER EXTENSION postgis ADD function geometry_gist_compress_nd(internal);
+ ALTER EXTENSION postgis ADD function geometry_gist_consistent_2d(internal,geometry,integer);
+ ALTER EXTENSION postgis ADD function geometry_gist_consistent_nd(internal,geometry,integer);
+ ALTER EXTENSION postgis ADD function geometry_gist_decompress_2d(internal);
+ ALTER EXTENSION postgis ADD function geometry_gist_decompress_nd(internal);
+ ALTER EXTENSION postgis ADD function geometry_gist_distance_2d(internal,geometry,integer);
+ ALTER EXTENSION postgis ADD function geometry_gist_penalty_2d(internal,internal,internal);
+ ALTER EXTENSION postgis ADD function geometry_gist_penalty_nd(internal,internal,internal);
+ ALTER EXTENSION postgis ADD function geometry_gist_picksplit_2d(internal,internal);
+ ALTER EXTENSION postgis ADD function geometry_gist_picksplit_nd(internal,internal);
+ ALTER EXTENSION postgis ADD function geometry_gist_same_2d(geometry,geometry,internal);
+ ALTER EXTENSION postgis ADD function geometry_gist_same_nd(geometry,geometry,internal);
+ ALTER EXTENSION postgis ADD function geometry_gist_union_2d(bytea,internal);
+ ALTER EXTENSION postgis ADD function geometry_gist_union_nd(bytea,internal);
+ ALTER EXTENSION postgis ADD function geometry_gt(geometry,geometry);
+ ALTER EXTENSION postgis ADD function geometry_in(cstring);
+ ALTER EXTENSION postgis ADD function geometry_le(geometry,geometry);
+ ALTER EXTENSION postgis ADD function geometry_left(geometry,geometry);
+ ALTER EXTENSION postgis ADD function geometry_lt(geometry,geometry);
+ ALTER EXTENSION postgis ADD function geometry_out(geometry);
+ ALTER EXTENSION postgis ADD function geometry_overabove(geometry,geometry);
+ ALTER EXTENSION postgis ADD function geometry_overbelow(geometry,geometry);
+ ALTER EXTENSION postgis ADD function geometry_overlaps(geometry,geometry);
+ ALTER EXTENSION postgis ADD function geometry_overlaps_nd(geometry,geometry);
+ ALTER EXTENSION postgis ADD function geometry_overleft(geometry,geometry);
+ ALTER EXTENSION postgis ADD function geometry_overright(geometry,geometry);
+ ALTER EXTENSION postgis ADD function geometry_raster_contain(geometry,raster);
+ ALTER EXTENSION postgis ADD function geometry_raster_overlap(geometry,raster);
+ ALTER EXTENSION postgis ADD function geometry_recv(internal);
+ ALTER EXTENSION postgis ADD function geometry_right(geometry,geometry);
+ ALTER EXTENSION postgis ADD function geometry_same(geometry,geometry);
+ ALTER EXTENSION postgis ADD function geometry_send(geometry);
+ ALTER EXTENSION postgis ADD function geometry_typmod_in(cstring[]);
+ ALTER EXTENSION postgis ADD function geometry_typmod_out(integer);
+ ALTER EXTENSION postgis ADD function geometry_within(geometry,geometry);
+ ALTER EXTENSION postgis ADD function geometrytype(geography);
+ ALTER EXTENSION postgis ADD function geometrytype(geometry);
+ ALTER EXTENSION postgis ADD function geomfromewkb(bytea);
+ ALTER EXTENSION postgis ADD function geomfromewkt(text);
+ ALTER EXTENSION postgis ADD function get_proj4_from_srid(integer);
+ ALTER EXTENSION postgis ADD function gettransactionid();
+ ALTER EXTENSION postgis ADD function gidx_in(cstring);
+ ALTER EXTENSION postgis ADD function gidx_out(gidx);
+ ALTER EXTENSION postgis ADD function gserialized_gist_joinsel_2d(internal,oid,internal,smallint);
+ ALTER EXTENSION postgis ADD function gserialized_gist_joinsel_nd(internal,oid,internal,smallint);
+ ALTER EXTENSION postgis ADD function gserialized_gist_sel_2d(internal,oid,internal,integer);
+ ALTER EXTENSION postgis ADD function gserialized_gist_sel_nd(internal,oid,internal,integer);
+ ALTER EXTENSION postgis ADD function lockrow(text,text,text);
+ ALTER EXTENSION postgis ADD function lockrow(text,text,text,text);
+ ALTER EXTENSION postgis ADD function lockrow(text,text,text,text,timestamp without time zone);
+ ALTER EXTENSION postgis ADD function lockrow(text,text,text,timestamp without time zone);
+ ALTER EXTENSION postgis ADD function longtransactionsenabled();
+ ALTER EXTENSION postgis ADD function path(geometry);
+ ALTER EXTENSION postgis ADD function pgis_abs_in(cstring);
+ ALTER EXTENSION postgis ADD function pgis_abs_out(pgis_abs);
+ ALTER EXTENSION postgis ADD function pgis_geometry_accum_finalfn(pgis_abs);
+ ALTER EXTENSION postgis ADD function pgis_geometry_accum_transfn(pgis_abs,geometry);
+ ALTER EXTENSION postgis ADD function pgis_geometry_collect_finalfn(pgis_abs);
+ ALTER EXTENSION postgis ADD function pgis_geometry_makeline_finalfn(pgis_abs);
+ ALTER EXTENSION postgis ADD function pgis_geometry_polygonize_finalfn(pgis_abs);
+ ALTER EXTENSION postgis ADD function pgis_geometry_union_finalfn(pgis_abs);
+ ALTER EXTENSION postgis ADD function point(geometry);
+ ALTER EXTENSION postgis ADD function polygon(geometry);
+ ALTER EXTENSION postgis ADD function populate_geometry_columns(boolean);
+ ALTER EXTENSION postgis ADD function populate_geometry_columns(oid,boolean);
+ ALTER EXTENSION postgis ADD function postgis_addbbox(geometry);
+ ALTER EXTENSION postgis ADD function postgis_cache_bbox();
+ ALTER EXTENSION postgis ADD function postgis_constraint_dims(text,text,text);
+ ALTER EXTENSION postgis ADD function postgis_constraint_srid(text,text,text);
+ ALTER EXTENSION postgis ADD function postgis_constraint_type(text,text,text);
+ ALTER EXTENSION postgis ADD function postgis_dropbbox(geometry);
+ ALTER EXTENSION postgis ADD function postgis_full_version();
+ ALTER EXTENSION postgis ADD function postgis_gdal_version();
+ ALTER EXTENSION postgis ADD function postgis_geos_version();
+ ALTER EXTENSION postgis ADD function postgis_getbbox(geometry);
+ ALTER EXTENSION postgis ADD function postgis_hasbbox(geometry);
+ ALTER EXTENSION postgis ADD function postgis_lib_build_date();
+ ALTER EXTENSION postgis ADD function postgis_lib_version();
+ ALTER EXTENSION postgis ADD function postgis_libjson_version();
+ ALTER EXTENSION postgis ADD function postgis_libxml_version();
+ ALTER EXTENSION postgis ADD function postgis_noop(geometry);
+ ALTER EXTENSION postgis ADD function postgis_proj_version();
+ ALTER EXTENSION postgis ADD function postgis_raster_lib_build_date();
+ ALTER EXTENSION postgis ADD function postgis_raster_lib_version();
+ ALTER EXTENSION postgis ADD function postgis_raster_scripts_installed();
+ ALTER EXTENSION postgis ADD function postgis_scripts_build_date();
+ ALTER EXTENSION postgis ADD function postgis_scripts_installed();
+ ALTER EXTENSION postgis ADD function postgis_scripts_released();
+ ALTER EXTENSION postgis ADD function postgis_svn_version();
+ ALTER EXTENSION postgis ADD function postgis_transform_geometry(geometry,text,text,integer);
+ ALTER EXTENSION postgis ADD function postgis_type_name(character varying,integer,boolean);
+ ALTER EXTENSION postgis ADD function postgis_typmod_dims(integer);
+ ALTER EXTENSION postgis ADD function postgis_typmod_srid(integer);
+ ALTER EXTENSION postgis ADD function postgis_typmod_type(integer);
+ ALTER EXTENSION postgis ADD function postgis_version();
+ ALTER EXTENSION postgis ADD function raster_above(raster,raster);
+ ALTER EXTENSION postgis ADD function raster_below(raster,raster);
+ ALTER EXTENSION postgis ADD function raster_contain(raster,raster);
+ ALTER EXTENSION postgis ADD function raster_contained(raster,raster);
+ ALTER EXTENSION postgis ADD function raster_contained_by_geometry(raster,geometry);
+ ALTER EXTENSION postgis ADD function raster_eq(raster,raster);
+ ALTER EXTENSION postgis ADD function raster_geometry_contain(raster,geometry);
+ ALTER EXTENSION postgis ADD function raster_geometry_overlap(raster,geometry);
+ ALTER EXTENSION postgis ADD function raster_hash(raster);
+ ALTER EXTENSION postgis ADD function raster_in(cstring);
+ ALTER EXTENSION postgis ADD function raster_left(raster,raster);
+ ALTER EXTENSION postgis ADD function raster_out(raster);
+ ALTER EXTENSION postgis ADD function raster_overabove(raster,raster);
+ ALTER EXTENSION postgis ADD function raster_overbelow(raster,raster);
+ ALTER EXTENSION postgis ADD function raster_overlap(raster,raster);
+ ALTER EXTENSION postgis ADD function raster_overleft(raster,raster);
+ ALTER EXTENSION postgis ADD function raster_overright(raster,raster);
+ ALTER EXTENSION postgis ADD function raster_right(raster,raster);
+ ALTER EXTENSION postgis ADD function raster_same(raster,raster);
+ ALTER EXTENSION postgis ADD function spheroid_in(cstring);
+ ALTER EXTENSION postgis ADD function spheroid_out(spheroid);
+ ALTER EXTENSION postgis ADD function st_3dclosestpoint(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_3ddfullywithin(geometry,geometry,double precision);
+ ALTER EXTENSION postgis ADD function st_3ddistance(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_3ddwithin(geometry,geometry,double precision);
+ ALTER EXTENSION postgis ADD function st_3dextent(geometry);
+ ALTER EXTENSION postgis ADD function st_3dintersects(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_3dlength(geometry);
+ ALTER EXTENSION postgis ADD function st_3dlength_spheroid(geometry,spheroid);
+ ALTER EXTENSION postgis ADD function st_3dlongestline(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_3dmakebox(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_3dmaxdistance(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_3dperimeter(geometry);
+ ALTER EXTENSION postgis ADD function st_3dshortestline(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_accum(geometry);
+ ALTER EXTENSION postgis ADD function st_addband(raster,addbandarg[]);
+ ALTER EXTENSION postgis ADD function st_addband(raster,integer,text,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_addband(raster,integer,text,integer[],double precision);
+ ALTER EXTENSION postgis ADD function st_addband(raster,raster,integer,integer);
+ ALTER EXTENSION postgis ADD function st_addband(raster,raster[],integer,integer);
+ ALTER EXTENSION postgis ADD function st_addband(raster,text,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_addband(raster,text,integer[],integer,double precision);
+ ALTER EXTENSION postgis ADD function st_addmeasure(geometry,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_addpoint(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_addpoint(geometry,geometry,integer);
+ ALTER EXTENSION postgis ADD function st_affine(geometry,double precision,double precision,double precision,double precision,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_affine(geometry,double precision,double precision,double precision,double precision,double precision,double precision,double precision,double precision,double precision,double precision,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_approxcount(raster,boolean,double precision);
+ ALTER EXTENSION postgis ADD function st_approxcount(raster,double precision);
+ ALTER EXTENSION postgis ADD function st_approxcount(raster,integer,boolean,double precision);
+ ALTER EXTENSION postgis ADD function st_approxcount(raster,integer,double precision);
+ ALTER EXTENSION postgis ADD function st_approxcount(text,text,boolean,double precision);
+ ALTER EXTENSION postgis ADD function st_approxcount(text,text,double precision);
+ ALTER EXTENSION postgis ADD function st_approxcount(text,text,integer,boolean,double precision);
+ ALTER EXTENSION postgis ADD function st_approxcount(text,text,integer,double precision);
+ ALTER EXTENSION postgis ADD function st_approxhistogram(raster,double precision);
+ ALTER EXTENSION postgis ADD function st_approxhistogram(raster,integer,boolean,double precision,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_approxhistogram(raster,integer,boolean,double precision,integer,double precision[],boolean);
+ ALTER EXTENSION postgis ADD function st_approxhistogram(raster,integer,double precision);
+ ALTER EXTENSION postgis ADD function st_approxhistogram(raster,integer,double precision,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_approxhistogram(raster,integer,double precision,integer,double precision[],boolean);
+ ALTER EXTENSION postgis ADD function st_approxhistogram(text,text,double precision);
+ ALTER EXTENSION postgis ADD function st_approxhistogram(text,text,integer,boolean,double precision,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_approxhistogram(text,text,integer,boolean,double precision,integer,double precision[],boolean);
+ ALTER EXTENSION postgis ADD function st_approxhistogram(text,text,integer,double precision);
+ ALTER EXTENSION postgis ADD function st_approxhistogram(text,text,integer,double precision,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_approxhistogram(text,text,integer,double precision,integer,double precision[],boolean);
+ ALTER EXTENSION postgis ADD function st_approxquantile(raster,boolean,double precision);
+ ALTER EXTENSION postgis ADD function st_approxquantile(raster,double precision);
+ ALTER EXTENSION postgis ADD function st_approxquantile(raster,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_approxquantile(raster,double precision,double precision[]);
+ ALTER EXTENSION postgis ADD function st_approxquantile(raster,double precision[]);
+ ALTER EXTENSION postgis ADD function st_approxquantile(raster,integer,boolean,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_approxquantile(raster,integer,boolean,double precision,double precision[]);
+ ALTER EXTENSION postgis ADD function st_approxquantile(raster,integer,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_approxquantile(raster,integer,double precision,double precision[]);
+ ALTER EXTENSION postgis ADD function st_approxquantile(text,text,boolean,double precision);
+ ALTER EXTENSION postgis ADD function st_approxquantile(text,text,double precision);
+ ALTER EXTENSION postgis ADD function st_approxquantile(text,text,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_approxquantile(text,text,double precision,double precision[]);
+ ALTER EXTENSION postgis ADD function st_approxquantile(text,text,double precision[]);
+ ALTER EXTENSION postgis ADD function st_approxquantile(text,text,integer,boolean,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_approxquantile(text,text,integer,boolean,double precision,double precision[]);
+ ALTER EXTENSION postgis ADD function st_approxquantile(text,text,integer,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_approxquantile(text,text,integer,double precision,double precision[]);
+ ALTER EXTENSION postgis ADD function st_approxsummarystats(raster,boolean,double precision);
+ ALTER EXTENSION postgis ADD function st_approxsummarystats(raster,double precision);
+ ALTER EXTENSION postgis ADD function st_approxsummarystats(raster,integer,boolean,double precision);
+ ALTER EXTENSION postgis ADD function st_approxsummarystats(raster,integer,double precision);
+ ALTER EXTENSION postgis ADD function st_approxsummarystats(text,text,boolean);
+ ALTER EXTENSION postgis ADD function st_approxsummarystats(text,text,double precision);
+ ALTER EXTENSION postgis ADD function st_approxsummarystats(text,text,integer,boolean,double precision);
+ ALTER EXTENSION postgis ADD function st_approxsummarystats(text,text,integer,double precision);
+ ALTER EXTENSION postgis ADD function st_area(geography,boolean);
+ ALTER EXTENSION postgis ADD function st_area(geometry);
+ ALTER EXTENSION postgis ADD function st_area(text);
+ ALTER EXTENSION postgis ADD function st_area2d(geometry);
+ ALTER EXTENSION postgis ADD function st_asbinary(geography);
+ ALTER EXTENSION postgis ADD function st_asbinary(geography,text);
+ ALTER EXTENSION postgis ADD function st_asbinary(geometry);
+ ALTER EXTENSION postgis ADD function st_asbinary(geometry,text);
+ ALTER EXTENSION postgis ADD function st_asbinary(raster,boolean);
+ ALTER EXTENSION postgis ADD function st_asewkb(geometry);
+ ALTER EXTENSION postgis ADD function st_asewkb(geometry,text);
+ ALTER EXTENSION postgis ADD function st_asewkt(geography);
+ ALTER EXTENSION postgis ADD function st_asewkt(geometry);
+ ALTER EXTENSION postgis ADD function st_asewkt(text);
+ ALTER EXTENSION postgis ADD function st_asgdalraster(raster,text,text[],integer);
+ ALTER EXTENSION postgis ADD function st_asgeojson(geography,integer,integer);
+ ALTER EXTENSION postgis ADD function st_asgeojson(geometry,integer,integer);
+ ALTER EXTENSION postgis ADD function st_asgeojson(integer,geography,integer,integer);
+ ALTER EXTENSION postgis ADD function st_asgeojson(integer,geometry,integer,integer);
+ ALTER EXTENSION postgis ADD function st_asgeojson(text);
+ ALTER EXTENSION postgis ADD function st_asgml(geography,integer,integer);
+ ALTER EXTENSION postgis ADD function st_asgml(geometry,integer,integer);
+ ALTER EXTENSION postgis ADD function st_asgml(integer,geography,integer,integer,text,text);
+ ALTER EXTENSION postgis ADD function st_asgml(integer,geometry,integer,integer,text,text);
+ ALTER EXTENSION postgis ADD function st_asgml(text);
+ ALTER EXTENSION postgis ADD function st_ashexewkb(geometry);
+ ALTER EXTENSION postgis ADD function st_ashexewkb(geometry,text);
+ ALTER EXTENSION postgis ADD function st_asjpeg(raster,integer,integer);
+ ALTER EXTENSION postgis ADD function st_asjpeg(raster,integer,text[]);
+ ALTER EXTENSION postgis ADD function st_asjpeg(raster,integer[],integer);
+ ALTER EXTENSION postgis ADD function st_asjpeg(raster,integer[],text[]);
+ ALTER EXTENSION postgis ADD function st_asjpeg(raster,text[]);
+ ALTER EXTENSION postgis ADD function st_askml(geography,integer);
+ ALTER EXTENSION postgis ADD function st_askml(geometry,integer);
+ ALTER EXTENSION postgis ADD function st_askml(integer,geography,integer,text);
+ ALTER EXTENSION postgis ADD function st_askml(integer,geometry,integer,text);
+ ALTER EXTENSION postgis ADD function st_askml(text);
+ ALTER EXTENSION postgis ADD function st_aslatlontext(geometry);
+ ALTER EXTENSION postgis ADD function st_aslatlontext(geometry,text);
+ ALTER EXTENSION postgis ADD function st_aspect(raster,integer,raster,text,text,boolean);
+ ALTER EXTENSION postgis ADD function st_aspect(raster,integer,text,text,boolean);
+ ALTER EXTENSION postgis ADD function st_aspng(raster,integer,integer);
+ ALTER EXTENSION postgis ADD function st_aspng(raster,integer,text[]);
+ ALTER EXTENSION postgis ADD function st_aspng(raster,integer[],integer);
+ ALTER EXTENSION postgis ADD function st_aspng(raster,integer[],text[]);
+ ALTER EXTENSION postgis ADD function st_aspng(raster,text[]);
+ ALTER EXTENSION postgis ADD function st_asraster(geometry,double precision,double precision,double precision,double precision,text,double precision,double precision,double precision,double precision,boolean);
+ ALTER EXTENSION postgis ADD function st_asraster(geometry,double precision,double precision,double precision,double precision,text[],double precision[],double precision[],double precision,double precision,boolean);
+ ALTER EXTENSION postgis ADD function st_asraster(geometry,double precision,double precision,text,double precision,double precision,double precision,double precision,double precision,double precision,boolean);
+ ALTER EXTENSION postgis ADD function st_asraster(geometry,double precision,double precision,text[],double precision[],double precision[],double precision,double precision,double precision,double precision,boolean);
+ ALTER EXTENSION postgis ADD function st_asraster(geometry,integer,integer,double precision,double precision,text,double precision,double precision,double precision,double precision,boolean);
+ ALTER EXTENSION postgis ADD function st_asraster(geometry,integer,integer,double precision,double precision,text[],double precision[],double precision[],double precision,double precision,boolean);
+ ALTER EXTENSION postgis ADD function st_asraster(geometry,integer,integer,text,double precision,double precision,double precision,double precision,double precision,double precision,boolean);
+ ALTER EXTENSION postgis ADD function st_asraster(geometry,integer,integer,text[],double precision[],double precision[],double precision,double precision,double precision,double precision,boolean);
+ ALTER EXTENSION postgis ADD function st_asraster(geometry,raster,text,double precision,double precision,boolean);
+ ALTER EXTENSION postgis ADD function st_asraster(geometry,raster,text[],double precision[],double precision[],boolean);
+ ALTER EXTENSION postgis ADD function st_assvg(geography,integer,integer);
+ ALTER EXTENSION postgis ADD function st_assvg(geometry,integer,integer);
+ ALTER EXTENSION postgis ADD function st_assvg(text);
+ ALTER EXTENSION postgis ADD function st_astext(geography);
+ ALTER EXTENSION postgis ADD function st_astext(geometry);
+ ALTER EXTENSION postgis ADD function st_astext(text);
+ ALTER EXTENSION postgis ADD function st_astiff(raster,integer[],text,integer);
+ ALTER EXTENSION postgis ADD function st_astiff(raster,integer[],text[],integer);
+ ALTER EXTENSION postgis ADD function st_astiff(raster,text,integer);
+ ALTER EXTENSION postgis ADD function st_astiff(raster,text[],integer);
+ ALTER EXTENSION postgis ADD function st_asx3d(geometry,integer,integer);
+ ALTER EXTENSION postgis ADD function st_azimuth(geography,geography);
+ ALTER EXTENSION postgis ADD function st_azimuth(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_band(raster,integer);
+ ALTER EXTENSION postgis ADD function st_band(raster,integer[]);
+ ALTER EXTENSION postgis ADD function st_band(raster,text,character);
+ ALTER EXTENSION postgis ADD function st_bandisnodata(raster,boolean);
+ ALTER EXTENSION postgis ADD function st_bandisnodata(raster,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_bandmetadata(raster,integer);
+ ALTER EXTENSION postgis ADD function st_bandmetadata(raster,integer[]);
+ ALTER EXTENSION postgis ADD function st_bandnodatavalue(raster,integer);
+ ALTER EXTENSION postgis ADD function st_bandpath(raster,integer);
+ ALTER EXTENSION postgis ADD function st_bandpixeltype(raster,integer);
+ ALTER EXTENSION postgis ADD function st_bdmpolyfromtext(text,integer);
+ ALTER EXTENSION postgis ADD function st_bdpolyfromtext(text,integer);
+ ALTER EXTENSION postgis ADD function st_boundary(geometry);
+ ALTER EXTENSION postgis ADD function st_box2dfromgeohash(text,integer);
+ ALTER EXTENSION postgis ADD function st_buffer(geography,double precision);
+ ALTER EXTENSION postgis ADD function st_buffer(geometry,double precision);
+ ALTER EXTENSION postgis ADD function st_buffer(geometry,double precision,integer);
+ ALTER EXTENSION postgis ADD function st_buffer(geometry,double precision,text);
+ ALTER EXTENSION postgis ADD function st_buffer(text,double precision);
+ ALTER EXTENSION postgis ADD function st_buildarea(geometry);
+ ALTER EXTENSION postgis ADD function st_centroid(geometry);
+ ALTER EXTENSION postgis ADD function st_cleangeometry(geometry);
+ ALTER EXTENSION postgis ADD function st_clip(raster,geometry,boolean);
+ ALTER EXTENSION postgis ADD function st_clip(raster,geometry,double precision,boolean);
+ ALTER EXTENSION postgis ADD function st_clip(raster,geometry,double precision[],boolean);
+ ALTER EXTENSION postgis ADD function st_clip(raster,integer,geometry,boolean);
+ ALTER EXTENSION postgis ADD function st_clip(raster,integer,geometry,double precision,boolean);
+ ALTER EXTENSION postgis ADD function st_clip(raster,integer[],geometry,double precision[],boolean);
+ ALTER EXTENSION postgis ADD function st_closestpoint(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_collect(geometry);
+ ALTER EXTENSION postgis ADD function st_collect(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_collect(geometry[]);
+ ALTER EXTENSION postgis ADD function st_collectionextract(geometry,integer);
+ ALTER EXTENSION postgis ADD function st_collectionhomogenize(geometry);
+ ALTER EXTENSION postgis ADD function st_colormap(raster,integer,text,text);
+ ALTER EXTENSION postgis ADD function st_colormap(raster,text,text);
+ ALTER EXTENSION postgis ADD function st_combine_bbox(box2d,geometry);
+ ALTER EXTENSION postgis ADD function st_combine_bbox(box3d,geometry);
+ ALTER EXTENSION postgis ADD function st_concavehull(geometry,double precision,boolean);
+ ALTER EXTENSION postgis ADD function st_contains(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_contains(raster,integer,raster,integer);
+ ALTER EXTENSION postgis ADD function st_contains(raster,raster);
+ ALTER EXTENSION postgis ADD function st_containsproperly(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_containsproperly(raster,integer,raster,integer);
+ ALTER EXTENSION postgis ADD function st_containsproperly(raster,raster);
+ ALTER EXTENSION postgis ADD function st_convexhull(geometry);
+ ALTER EXTENSION postgis ADD function st_convexhull(raster);
+ ALTER EXTENSION postgis ADD function st_coorddim(geometry);
+ ALTER EXTENSION postgis ADD function st_count(raster,boolean);
+ ALTER EXTENSION postgis ADD function st_count(raster,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_count(text,text,boolean);
+ ALTER EXTENSION postgis ADD function st_count(text,text,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_coveredby(geography,geography);
+ ALTER EXTENSION postgis ADD function st_coveredby(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_coveredby(raster,integer,raster,integer);
+ ALTER EXTENSION postgis ADD function st_coveredby(raster,raster);
+ ALTER EXTENSION postgis ADD function st_coveredby(text,text);
+ ALTER EXTENSION postgis ADD function st_covers(geography,geography);
+ ALTER EXTENSION postgis ADD function st_covers(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_covers(raster,integer,raster,integer);
+ ALTER EXTENSION postgis ADD function st_covers(raster,raster);
+ ALTER EXTENSION postgis ADD function st_covers(text,text);
+ ALTER EXTENSION postgis ADD function st_crosses(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_curvetoline(geometry);
+ ALTER EXTENSION postgis ADD function st_curvetoline(geometry,integer);
+ ALTER EXTENSION postgis ADD function st_delaunaytriangles(geometry,double precision,integer);
+ ALTER EXTENSION postgis ADD function st_dfullywithin(geometry,geometry,double precision);
+ ALTER EXTENSION postgis ADD function st_dfullywithin(raster,integer,raster,integer,double precision);
+ ALTER EXTENSION postgis ADD function st_dfullywithin(raster,raster,double precision);
+ ALTER EXTENSION postgis ADD function st_difference(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_dimension(geometry);
+ ALTER EXTENSION postgis ADD function st_disjoint(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_disjoint(raster,integer,raster,integer);
+ ALTER EXTENSION postgis ADD function st_disjoint(raster,raster);
+ ALTER EXTENSION postgis ADD function st_distance(geography,geography);
+ ALTER EXTENSION postgis ADD function st_distance(geography,geography,boolean);
+ ALTER EXTENSION postgis ADD function st_distance(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_distance(text,text);
+ ALTER EXTENSION postgis ADD function st_distance_sphere(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_distance_spheroid(geometry,geometry,spheroid);
+ ALTER EXTENSION postgis ADD function st_distinct4ma(double precision[],integer[],text[]);
+ ALTER EXTENSION postgis ADD function st_distinct4ma(double precision[],text,text[]);
+ ALTER EXTENSION postgis ADD function st_dump(geometry);
+ ALTER EXTENSION postgis ADD function st_dumpaspolygons(raster,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_dumppoints(geometry);
+ ALTER EXTENSION postgis ADD function st_dumprings(geometry);
+ ALTER EXTENSION postgis ADD function st_dumpvalues(raster,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_dumpvalues(raster,integer[],boolean);
+ ALTER EXTENSION postgis ADD function st_dwithin(geography,geography,double precision);
+ ALTER EXTENSION postgis ADD function st_dwithin(geography,geography,double precision,boolean);
+ ALTER EXTENSION postgis ADD function st_dwithin(geometry,geometry,double precision);
+ ALTER EXTENSION postgis ADD function st_dwithin(raster,integer,raster,integer,double precision);
+ ALTER EXTENSION postgis ADD function st_dwithin(raster,raster,double precision);
+ ALTER EXTENSION postgis ADD function st_dwithin(text,text,double precision);
+ ALTER EXTENSION postgis ADD function st_endpoint(geometry);
+ ALTER EXTENSION postgis ADD function st_envelope(geometry);
+ ALTER EXTENSION postgis ADD function st_envelope(raster);
+ ALTER EXTENSION postgis ADD function st_equals(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_estimated_extent(text,text);
+ ALTER EXTENSION postgis ADD function st_estimated_extent(text,text,text);
+ ALTER EXTENSION postgis ADD function st_estimatedextent(text,text);
+ ALTER EXTENSION postgis ADD function st_estimatedextent(text,text,text);
+ ALTER EXTENSION postgis ADD function st_expand(box2d,double precision);
+ ALTER EXTENSION postgis ADD function st_expand(box3d,double precision);
+ ALTER EXTENSION postgis ADD function st_expand(geometry,double precision);
+ ALTER EXTENSION postgis ADD function st_extent(geometry);
+ ALTER EXTENSION postgis ADD function st_exteriorring(geometry);
+ ALTER EXTENSION postgis ADD function st_find_extent(text,text);
+ ALTER EXTENSION postgis ADD function st_find_extent(text,text,text);
+ ALTER EXTENSION postgis ADD function st_flipcoordinates(geometry);
+ ALTER EXTENSION postgis ADD function st_force2d(geometry);
+ ALTER EXTENSION postgis ADD function st_force3d(geometry);
+ ALTER EXTENSION postgis ADD function st_force3dm(geometry);
+ ALTER EXTENSION postgis ADD function st_force3dz(geometry);
+ ALTER EXTENSION postgis ADD function st_force4d(geometry);
+ ALTER EXTENSION postgis ADD function st_force_2d(geometry);
+ ALTER EXTENSION postgis ADD function st_force_3d(geometry);
+ ALTER EXTENSION postgis ADD function st_force_3dm(geometry);
+ ALTER EXTENSION postgis ADD function st_force_3dz(geometry);
+ ALTER EXTENSION postgis ADD function st_force_4d(geometry);
+ ALTER EXTENSION postgis ADD function st_force_collection(geometry);
+ ALTER EXTENSION postgis ADD function st_forcecollection(geometry);
+ ALTER EXTENSION postgis ADD function st_forcerhr(geometry);
+ ALTER EXTENSION postgis ADD function st_forcesfs(geometry);
+ ALTER EXTENSION postgis ADD function st_forcesfs(geometry,text);
+ ALTER EXTENSION postgis ADD function st_fromgdalraster(bytea,integer);
+ ALTER EXTENSION postgis ADD function st_gdaldrivers();
+ ALTER EXTENSION postgis ADD function st_geogfromtext(text);
+ ALTER EXTENSION postgis ADD function st_geogfromwkb(bytea);
+ ALTER EXTENSION postgis ADD function st_geographyfromtext(text);
+ ALTER EXTENSION postgis ADD function st_geohash(geography,integer);
+ ALTER EXTENSION postgis ADD function st_geohash(geometry,integer);
+ ALTER EXTENSION postgis ADD function st_geomcollfromtext(text);
+ ALTER EXTENSION postgis ADD function st_geomcollfromtext(text,integer);
+ ALTER EXTENSION postgis ADD function st_geomcollfromwkb(bytea);
+ ALTER EXTENSION postgis ADD function st_geomcollfromwkb(bytea,integer);
+ ALTER EXTENSION postgis ADD function st_geometryfromtext(text);
+ ALTER EXTENSION postgis ADD function st_geometryfromtext(text,integer);
+ ALTER EXTENSION postgis ADD function st_geometryn(geometry,integer);
+ ALTER EXTENSION postgis ADD function st_geometrytype(geometry);
+ ALTER EXTENSION postgis ADD function st_geomfromewkb(bytea);
+ ALTER EXTENSION postgis ADD function st_geomfromewkt(text);
+ ALTER EXTENSION postgis ADD function st_geomfromgeohash(text,integer);
+ ALTER EXTENSION postgis ADD function st_geomfromgeojson(text);
+ ALTER EXTENSION postgis ADD function st_geomfromgml(text);
+ ALTER EXTENSION postgis ADD function st_geomfromgml(text,integer);
+ ALTER EXTENSION postgis ADD function st_geomfromkml(text);
+ ALTER EXTENSION postgis ADD function st_geomfromtext(text);
+ ALTER EXTENSION postgis ADD function st_geomfromtext(text,integer);
+ ALTER EXTENSION postgis ADD function st_geomfromwkb(bytea);
+ ALTER EXTENSION postgis ADD function st_geomfromwkb(bytea,integer);
+ ALTER EXTENSION postgis ADD function st_georeference(raster,text);
+ ALTER EXTENSION postgis ADD function st_geotransform(raster);
+ ALTER EXTENSION postgis ADD function st_gmltosql(text);
+ ALTER EXTENSION postgis ADD function st_gmltosql(text,integer);
+ ALTER EXTENSION postgis ADD function st_hasarc(geometry);
+ ALTER EXTENSION postgis ADD function st_hasnoband(raster,integer);
+ ALTER EXTENSION postgis ADD function st_hausdorffdistance(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_hausdorffdistance(geometry,geometry,double precision);
+ ALTER EXTENSION postgis ADD function st_height(raster);
+ ALTER EXTENSION postgis ADD function st_hillshade(raster,integer,raster,text,double precision,double precision,double precision,double precision,boolean);
+ ALTER EXTENSION postgis ADD function st_hillshade(raster,integer,text,double precision,double precision,double precision,double precision,boolean);
+ ALTER EXTENSION postgis ADD function st_histogram(raster,integer,boolean,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_histogram(raster,integer,boolean,integer,double precision[],boolean);
+ ALTER EXTENSION postgis ADD function st_histogram(raster,integer,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_histogram(raster,integer,integer,double precision[],boolean);
+ ALTER EXTENSION postgis ADD function st_histogram(text,text,integer,boolean,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_histogram(text,text,integer,boolean,integer,double precision[],boolean);
+ ALTER EXTENSION postgis ADD function st_histogram(text,text,integer,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_histogram(text,text,integer,integer,double precision[],boolean);
+ ALTER EXTENSION postgis ADD function st_interiorringn(geometry,integer);
+ ALTER EXTENSION postgis ADD function st_interpolatepoint(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_intersection(geography,geography);
+ ALTER EXTENSION postgis ADD function st_intersection(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_intersection(geometry,raster,integer);
+ ALTER EXTENSION postgis ADD function st_intersection(raster,geometry);
+ ALTER EXTENSION postgis ADD function st_intersection(raster,integer,geometry);
+ ALTER EXTENSION postgis ADD function st_intersection(raster,integer,raster,integer,double precision);
+ ALTER EXTENSION postgis ADD function st_intersection(raster,integer,raster,integer,double precision[]);
+ ALTER EXTENSION postgis ADD function st_intersection(raster,integer,raster,integer,text,double precision);
+ ALTER EXTENSION postgis ADD function st_intersection(raster,integer,raster,integer,text,double precision[]);
+ ALTER EXTENSION postgis ADD function st_intersection(raster,raster,double precision);
+ ALTER EXTENSION postgis ADD function st_intersection(raster,raster,double precision[]);
+ ALTER EXTENSION postgis ADD function st_intersection(raster,raster,text,double precision);
+ ALTER EXTENSION postgis ADD function st_intersection(raster,raster,text,double precision[]);
+ ALTER EXTENSION postgis ADD function st_intersection(text,text);
+ ALTER EXTENSION postgis ADD function st_intersects(geography,geography);
+ ALTER EXTENSION postgis ADD function st_intersects(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_intersects(geometry,raster,integer);
+ ALTER EXTENSION postgis ADD function st_intersects(raster,geometry,integer);
+ ALTER EXTENSION postgis ADD function st_intersects(raster,integer,geometry);
+ ALTER EXTENSION postgis ADD function st_intersects(raster,integer,raster,integer);
+ ALTER EXTENSION postgis ADD function st_intersects(raster,raster);
+ ALTER EXTENSION postgis ADD function st_intersects(text,text);
+ ALTER EXTENSION postgis ADD function st_invdistweight4ma(double precision[],integer[],text[]);
+ ALTER EXTENSION postgis ADD function st_isclosed(geometry);
+ ALTER EXTENSION postgis ADD function st_iscollection(geometry);
+ ALTER EXTENSION postgis ADD function st_iscoveragetile(raster,raster,integer,integer);
+ ALTER EXTENSION postgis ADD function st_isempty(geometry);
+ ALTER EXTENSION postgis ADD function st_isempty(raster);
+ ALTER EXTENSION postgis ADD function st_isring(geometry);
+ ALTER EXTENSION postgis ADD function st_issimple(geometry);
+ ALTER EXTENSION postgis ADD function st_isvalid(geometry);
+ ALTER EXTENSION postgis ADD function st_isvalid(geometry,integer);
+ ALTER EXTENSION postgis ADD function st_isvaliddetail(geometry);
+ ALTER EXTENSION postgis ADD function st_isvaliddetail(geometry,integer);
+ ALTER EXTENSION postgis ADD function st_isvalidreason(geometry);
+ ALTER EXTENSION postgis ADD function st_isvalidreason(geometry,integer);
+ ALTER EXTENSION postgis ADD function st_length(geography,boolean);
+ ALTER EXTENSION postgis ADD function st_length(geometry);
+ ALTER EXTENSION postgis ADD function st_length(text);
+ ALTER EXTENSION postgis ADD function st_length2d(geometry);
+ ALTER EXTENSION postgis ADD function st_length2d_spheroid(geometry,spheroid);
+ ALTER EXTENSION postgis ADD function st_length_spheroid(geometry,spheroid);
+ ALTER EXTENSION postgis ADD function st_line_interpolate_point(geometry,double precision);
+ ALTER EXTENSION postgis ADD function st_line_locate_point(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_line_substring(geometry,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_linecrossingdirection(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_linefrommultipoint(geometry);
+ ALTER EXTENSION postgis ADD function st_linefromtext(text);
+ ALTER EXTENSION postgis ADD function st_linefromtext(text,integer);
+ ALTER EXTENSION postgis ADD function st_linefromwkb(bytea);
+ ALTER EXTENSION postgis ADD function st_linefromwkb(bytea,integer);
+ ALTER EXTENSION postgis ADD function st_lineinterpolatepoint(geometry,double precision);
+ ALTER EXTENSION postgis ADD function st_linelocatepoint(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_linemerge(geometry);
+ ALTER EXTENSION postgis ADD function st_linestringfromwkb(bytea);
+ ALTER EXTENSION postgis ADD function st_linestringfromwkb(bytea,integer);
+ ALTER EXTENSION postgis ADD function st_linesubstring(geometry,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_linetocurve(geometry);
+ ALTER EXTENSION postgis ADD function st_locate_along_measure(geometry,double precision);
+ ALTER EXTENSION postgis ADD function st_locate_between_measures(geometry,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_locatealong(geometry,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_locatebetween(geometry,double precision,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_locatebetweenelevations(geometry,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_longestline(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_m(geometry);
+ ALTER EXTENSION postgis ADD function st_makebox2d(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_makeemptyraster(integer,integer,double precision,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_makeemptyraster(integer,integer,double precision,double precision,double precision,double precision,double precision,double precision,integer);
+ ALTER EXTENSION postgis ADD function st_makeemptyraster(raster);
+ ALTER EXTENSION postgis ADD function st_makeenvelope(double precision,double precision,double precision,double precision,integer);
+ ALTER EXTENSION postgis ADD function st_makeline(geometry);
+ ALTER EXTENSION postgis ADD function st_makeline(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_makeline(geometry[]);
+ ALTER EXTENSION postgis ADD function st_makepoint(double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_makepoint(double precision,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_makepoint(double precision,double precision,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_makepointm(double precision,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_makepolygon(geometry);
+ ALTER EXTENSION postgis ADD function st_makepolygon(geometry,geometry[]);
+ ALTER EXTENSION postgis ADD function st_makevalid(geometry);
+ ALTER EXTENSION postgis ADD function st_mapalgebra(rastbandarg[],regprocedure,text,text,raster,integer,integer,text[]);
+ ALTER EXTENSION postgis ADD function st_mapalgebra(raster,integer,raster,integer,regprocedure,text,text,raster,integer,integer,text[]);
+ ALTER EXTENSION postgis ADD function st_mapalgebra(raster,integer,raster,integer,text,text,text,text,text,double precision);
+ ALTER EXTENSION postgis ADD function st_mapalgebra(raster,integer,regprocedure,text,text,raster,integer,integer,text[]);
+ ALTER EXTENSION postgis ADD function st_mapalgebra(raster,integer,text,text,double precision);
+ ALTER EXTENSION postgis ADD function st_mapalgebra(raster,integer[],regprocedure,text,text,raster,integer,integer,text[]);
+ ALTER EXTENSION postgis ADD function st_mapalgebra(raster,raster,text,text,text,text,text,double precision);
+ ALTER EXTENSION postgis ADD function st_mapalgebra(raster,text,text,double precision);
+ ALTER EXTENSION postgis ADD function st_mapalgebraexpr(raster,integer,raster,integer,text,text,text,text,text,double precision);
+ ALTER EXTENSION postgis ADD function st_mapalgebraexpr(raster,integer,text,text,double precision);
+ ALTER EXTENSION postgis ADD function st_mapalgebraexpr(raster,raster,text,text,text,text,text,double precision);
+ ALTER EXTENSION postgis ADD function st_mapalgebraexpr(raster,text,text,double precision);
+ ALTER EXTENSION postgis ADD function st_mapalgebrafct(raster,integer,raster,integer,regprocedure,text,text,text[]);
+ ALTER EXTENSION postgis ADD function st_mapalgebrafct(raster,integer,regprocedure);
+ ALTER EXTENSION postgis ADD function st_mapalgebrafct(raster,integer,regprocedure,text[]);
+ ALTER EXTENSION postgis ADD function st_mapalgebrafct(raster,integer,text,regprocedure);
+ ALTER EXTENSION postgis ADD function st_mapalgebrafct(raster,integer,text,regprocedure,text[]);
+ ALTER EXTENSION postgis ADD function st_mapalgebrafct(raster,raster,regprocedure,text,text,text[]);
+ ALTER EXTENSION postgis ADD function st_mapalgebrafct(raster,regprocedure);
+ ALTER EXTENSION postgis ADD function st_mapalgebrafct(raster,regprocedure,text[]);
+ ALTER EXTENSION postgis ADD function st_mapalgebrafct(raster,text,regprocedure);
+ ALTER EXTENSION postgis ADD function st_mapalgebrafct(raster,text,regprocedure,text[]);
+ ALTER EXTENSION postgis ADD function st_mapalgebrafctngb(raster,integer,text,integer,integer,regprocedure,text,text[]);
+ ALTER EXTENSION postgis ADD function st_max4ma(double precision[],integer[],text[]);
+ ALTER EXTENSION postgis ADD function st_max4ma(double precision[],text,text[]);
+ ALTER EXTENSION postgis ADD function st_maxdistance(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_mean4ma(double precision[],integer[],text[]);
+ ALTER EXTENSION postgis ADD function st_mean4ma(double precision[],text,text[]);
+ ALTER EXTENSION postgis ADD function st_mem_size(geometry);
+ ALTER EXTENSION postgis ADD function st_memcollect(geometry);
+ ALTER EXTENSION postgis ADD function st_memunion(geometry);
+ ALTER EXTENSION postgis ADD function st_metadata(raster);
+ ALTER EXTENSION postgis ADD function st_min4ma(double precision[],integer[],text[]);
+ ALTER EXTENSION postgis ADD function st_min4ma(double precision[],text,text[]);
+ ALTER EXTENSION postgis ADD function st_minconvexhull(raster,integer);
+ ALTER EXTENSION postgis ADD function st_mindist4ma(double precision[],integer[],text[]);
+ ALTER EXTENSION postgis ADD function st_minimumboundingcircle(geometry,integer);
+ ALTER EXTENSION postgis ADD function st_minpossiblevalue(text);
+ ALTER EXTENSION postgis ADD function st_mlinefromtext(text);
+ ALTER EXTENSION postgis ADD function st_mlinefromtext(text,integer);
+ ALTER EXTENSION postgis ADD function st_mlinefromwkb(bytea);
+ ALTER EXTENSION postgis ADD function st_mlinefromwkb(bytea,integer);
+ ALTER EXTENSION postgis ADD function st_mpointfromtext(text);
+ ALTER EXTENSION postgis ADD function st_mpointfromtext(text,integer);
+ ALTER EXTENSION postgis ADD function st_mpointfromwkb(bytea);
+ ALTER EXTENSION postgis ADD function st_mpointfromwkb(bytea,integer);
+ ALTER EXTENSION postgis ADD function st_mpolyfromtext(text);
+ ALTER EXTENSION postgis ADD function st_mpolyfromtext(text,integer);
+ ALTER EXTENSION postgis ADD function st_mpolyfromwkb(bytea);
+ ALTER EXTENSION postgis ADD function st_mpolyfromwkb(bytea,integer);
+ ALTER EXTENSION postgis ADD function st_multi(geometry);
+ ALTER EXTENSION postgis ADD function st_multilinefromwkb(bytea);
+ ALTER EXTENSION postgis ADD function st_multilinestringfromtext(text);
+ ALTER EXTENSION postgis ADD function st_multilinestringfromtext(text,integer);
+ ALTER EXTENSION postgis ADD function st_multipointfromtext(text);
+ ALTER EXTENSION postgis ADD function st_multipointfromwkb(bytea);
+ ALTER EXTENSION postgis ADD function st_multipointfromwkb(bytea,integer);
+ ALTER EXTENSION postgis ADD function st_multipolyfromwkb(bytea);
+ ALTER EXTENSION postgis ADD function st_multipolyfromwkb(bytea,integer);
+ ALTER EXTENSION postgis ADD function st_multipolygonfromtext(text);
+ ALTER EXTENSION postgis ADD function st_multipolygonfromtext(text,integer);
+ ALTER EXTENSION postgis ADD function st_ndims(geometry);
+ ALTER EXTENSION postgis ADD function st_nearestvalue(raster,geometry,boolean);
+ ALTER EXTENSION postgis ADD function st_nearestvalue(raster,integer,geometry,boolean);
+ ALTER EXTENSION postgis ADD function st_nearestvalue(raster,integer,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_nearestvalue(raster,integer,integer,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_neighborhood(raster,geometry,integer,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_neighborhood(raster,integer,geometry,integer,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_neighborhood(raster,integer,integer,integer,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_neighborhood(raster,integer,integer,integer,integer,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_node(geometry);
+ ALTER EXTENSION postgis ADD function st_notsamealignmentreason(raster,raster);
+ ALTER EXTENSION postgis ADD function st_npoints(geometry);
+ ALTER EXTENSION postgis ADD function st_nrings(geometry);
+ ALTER EXTENSION postgis ADD function st_numbands(raster);
+ ALTER EXTENSION postgis ADD function st_numgeometries(geometry);
+ ALTER EXTENSION postgis ADD function st_numinteriorring(geometry);
+ ALTER EXTENSION postgis ADD function st_numinteriorrings(geometry);
+ ALTER EXTENSION postgis ADD function st_numpatches(geometry);
+ ALTER EXTENSION postgis ADD function st_numpoints(geometry);
+ ALTER EXTENSION postgis ADD function st_offsetcurve(geometry,double precision,text);
+ ALTER EXTENSION postgis ADD function st_orderingequals(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_overlaps(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_overlaps(raster,integer,raster,integer);
+ ALTER EXTENSION postgis ADD function st_overlaps(raster,raster);
+ ALTER EXTENSION postgis ADD function st_patchn(geometry,integer);
+ ALTER EXTENSION postgis ADD function st_perimeter(geography,boolean);
+ ALTER EXTENSION postgis ADD function st_perimeter(geometry);
+ ALTER EXTENSION postgis ADD function st_perimeter2d(geometry);
+ ALTER EXTENSION postgis ADD function st_pixelascentroid(raster,integer,integer);
+ ALTER EXTENSION postgis ADD function st_pixelascentroids(raster,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_pixelaspoint(raster,integer,integer);
+ ALTER EXTENSION postgis ADD function st_pixelaspoints(raster,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_pixelaspolygon(raster,integer,integer);
+ ALTER EXTENSION postgis ADD function st_pixelaspolygons(raster,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_pixelheight(raster);
+ ALTER EXTENSION postgis ADD function st_pixelofvalue(raster,double precision,boolean);
+ ALTER EXTENSION postgis ADD function st_pixelofvalue(raster,double precision[],boolean);
+ ALTER EXTENSION postgis ADD function st_pixelofvalue(raster,integer,double precision,boolean);
+ ALTER EXTENSION postgis ADD function st_pixelofvalue(raster,integer,double precision[],boolean);
+ ALTER EXTENSION postgis ADD function st_pixelwidth(raster);
+ ALTER EXTENSION postgis ADD function st_point(double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_point_inside_circle(geometry,double precision,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_pointfromgeohash(text,integer);
+ ALTER EXTENSION postgis ADD function st_pointfromtext(text);
+ ALTER EXTENSION postgis ADD function st_pointfromtext(text,integer);
+ ALTER EXTENSION postgis ADD function st_pointfromwkb(bytea);
+ ALTER EXTENSION postgis ADD function st_pointfromwkb(bytea,integer);
+ ALTER EXTENSION postgis ADD function st_pointn(geometry,integer);
+ ALTER EXTENSION postgis ADD function st_pointonsurface(geometry);
+ ALTER EXTENSION postgis ADD function st_polyfromtext(text);
+ ALTER EXTENSION postgis ADD function st_polyfromtext(text,integer);
+ ALTER EXTENSION postgis ADD function st_polyfromwkb(bytea);
+ ALTER EXTENSION postgis ADD function st_polyfromwkb(bytea,integer);
+ ALTER EXTENSION postgis ADD function st_polygon(geometry,integer);
+ ALTER EXTENSION postgis ADD function st_polygon(raster,integer);
+ ALTER EXTENSION postgis ADD function st_polygonfromtext(text);
+ ALTER EXTENSION postgis ADD function st_polygonfromtext(text,integer);
+ ALTER EXTENSION postgis ADD function st_polygonfromwkb(bytea);
+ ALTER EXTENSION postgis ADD function st_polygonfromwkb(bytea,integer);
+ ALTER EXTENSION postgis ADD function st_polygonize(geometry);
+ ALTER EXTENSION postgis ADD function st_polygonize(geometry[]);
+ ALTER EXTENSION postgis ADD function st_project(geography,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_quantile(raster,boolean,double precision);
+ ALTER EXTENSION postgis ADD function st_quantile(raster,double precision);
+ ALTER EXTENSION postgis ADD function st_quantile(raster,double precision[]);
+ ALTER EXTENSION postgis ADD function st_quantile(raster,integer,boolean,double precision);
+ ALTER EXTENSION postgis ADD function st_quantile(raster,integer,boolean,double precision[]);
+ ALTER EXTENSION postgis ADD function st_quantile(raster,integer,double precision);
+ ALTER EXTENSION postgis ADD function st_quantile(raster,integer,double precision[]);
+ ALTER EXTENSION postgis ADD function st_quantile(text,text,boolean,double precision);
+ ALTER EXTENSION postgis ADD function st_quantile(text,text,double precision);
+ ALTER EXTENSION postgis ADD function st_quantile(text,text,double precision[]);
+ ALTER EXTENSION postgis ADD function st_quantile(text,text,integer,boolean,double precision);
+ ALTER EXTENSION postgis ADD function st_quantile(text,text,integer,boolean,double precision[]);
+ ALTER EXTENSION postgis ADD function st_quantile(text,text,integer,double precision);
+ ALTER EXTENSION postgis ADD function st_quantile(text,text,integer,double precision[]);
+ ALTER EXTENSION postgis ADD function st_range4ma(double precision[],integer[],text[]);
+ ALTER EXTENSION postgis ADD function st_range4ma(double precision[],text,text[]);
+ ALTER EXTENSION postgis ADD function st_rastertoworldcoord(raster,integer,integer);
+ ALTER EXTENSION postgis ADD function st_rastertoworldcoordx(raster,integer);
+ ALTER EXTENSION postgis ADD function st_rastertoworldcoordx(raster,integer,integer);
+ ALTER EXTENSION postgis ADD function st_rastertoworldcoordy(raster,integer);
+ ALTER EXTENSION postgis ADD function st_rastertoworldcoordy(raster,integer,integer);
+ ALTER EXTENSION postgis ADD function st_reclass(raster,integer,text,text,double precision);
+ ALTER EXTENSION postgis ADD function st_reclass(raster,reclassarg[]);
+ ALTER EXTENSION postgis ADD function st_reclass(raster,text,text);
+ ALTER EXTENSION postgis ADD function st_relate(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_relate(geometry,geometry,integer);
+ ALTER EXTENSION postgis ADD function st_relate(geometry,geometry,text);
+ ALTER EXTENSION postgis ADD function st_relatematch(text,text);
+ ALTER EXTENSION postgis ADD function st_removepoint(geometry,integer);
+ ALTER EXTENSION postgis ADD function st_removerepeatedpoints(geometry);
+ ALTER EXTENSION postgis ADD function st_resample(raster,double precision,double precision,double precision,double precision,double precision,double precision,text,double precision);
+ ALTER EXTENSION postgis ADD function st_resample(raster,integer,integer,double precision,double precision,double precision,double precision,text,double precision);
+ ALTER EXTENSION postgis ADD function st_resample(raster,raster,boolean,text,double precision);
+ ALTER EXTENSION postgis ADD function st_resample(raster,raster,text,double precision,boolean);
+ ALTER EXTENSION postgis ADD function st_rescale(raster,double precision,double precision,text,double precision);
+ ALTER EXTENSION postgis ADD function st_rescale(raster,double precision,text,double precision);
+ ALTER EXTENSION postgis ADD function st_resize(raster,double precision,double precision,text,double precision);
+ ALTER EXTENSION postgis ADD function st_resize(raster,integer,integer,text,double precision);
+ ALTER EXTENSION postgis ADD function st_resize(raster,text,text,text,double precision);
+ ALTER EXTENSION postgis ADD function st_reskew(raster,double precision,double precision,text,double precision);
+ ALTER EXTENSION postgis ADD function st_reskew(raster,double precision,text,double precision);
+ ALTER EXTENSION postgis ADD function st_reverse(geometry);
+ ALTER EXTENSION postgis ADD function st_rotate(geometry,double precision);
+ ALTER EXTENSION postgis ADD function st_rotate(geometry,double precision,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_rotate(geometry,double precision,geometry);
+ ALTER EXTENSION postgis ADD function st_rotatex(geometry,double precision);
+ ALTER EXTENSION postgis ADD function st_rotatey(geometry,double precision);
+ ALTER EXTENSION postgis ADD function st_rotatez(geometry,double precision);
+ ALTER EXTENSION postgis ADD function st_rotation(raster);
+ ALTER EXTENSION postgis ADD function st_roughness(raster,integer,raster,text,boolean);
+ ALTER EXTENSION postgis ADD function st_samealignment(double precision,double precision,double precision,double precision,double precision,double precision,double precision,double precision,double precision,double precision,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_samealignment(raster);
+ ALTER EXTENSION postgis ADD function st_samealignment(raster,raster);
+ ALTER EXTENSION postgis ADD function st_scale(geometry,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_scale(geometry,double precision,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_scalex(raster);
+ ALTER EXTENSION postgis ADD function st_scaley(raster);
+ ALTER EXTENSION postgis ADD function st_segmentize(geography,double precision);
+ ALTER EXTENSION postgis ADD function st_segmentize(geometry,double precision);
+ ALTER EXTENSION postgis ADD function st_setbandisnodata(raster,integer);
+ ALTER EXTENSION postgis ADD function st_setbandnodatavalue(raster,double precision);
+ ALTER EXTENSION postgis ADD function st_setbandnodatavalue(raster,integer,double precision,boolean);
+ ALTER EXTENSION postgis ADD function st_setgeoreference(raster,double precision,double precision,double precision,double precision,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_setgeoreference(raster,text,text);
+ ALTER EXTENSION postgis ADD function st_setgeotransform(raster,double precision,double precision,double precision,double precision,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_setpoint(geometry,integer,geometry);
+ ALTER EXTENSION postgis ADD function st_setrotation(raster,double precision);
+ ALTER EXTENSION postgis ADD function st_setscale(raster,double precision);
+ ALTER EXTENSION postgis ADD function st_setscale(raster,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_setskew(raster,double precision);
+ ALTER EXTENSION postgis ADD function st_setskew(raster,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_setsrid(geometry,integer);
+ ALTER EXTENSION postgis ADD function st_setsrid(raster,integer);
+ ALTER EXTENSION postgis ADD function st_setupperleft(raster,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_setvalue(raster,geometry,double precision);
+ ALTER EXTENSION postgis ADD function st_setvalue(raster,integer,geometry,double precision);
+ ALTER EXTENSION postgis ADD function st_setvalue(raster,integer,integer,double precision);
+ ALTER EXTENSION postgis ADD function st_setvalue(raster,integer,integer,integer,double precision);
+ ALTER EXTENSION postgis ADD function st_setvalues(raster,integer,geomval[],boolean);
+ ALTER EXTENSION postgis ADD function st_setvalues(raster,integer,integer,integer,double precision[],boolean[],boolean);
+ ALTER EXTENSION postgis ADD function st_setvalues(raster,integer,integer,integer,double precision[],double precision,boolean);
+ ALTER EXTENSION postgis ADD function st_setvalues(raster,integer,integer,integer,integer,double precision,boolean);
+ ALTER EXTENSION postgis ADD function st_setvalues(raster,integer,integer,integer,integer,integer,double precision,boolean);
+ ALTER EXTENSION postgis ADD function st_sharedpaths(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_shift_longitude(geometry);
+ ALTER EXTENSION postgis ADD function st_shortestline(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_simplify(geometry,double precision);
+ ALTER EXTENSION postgis ADD function st_simplifypreservetopology(geometry,double precision);
+ ALTER EXTENSION postgis ADD function st_skewx(raster);
+ ALTER EXTENSION postgis ADD function st_skewy(raster);
+ ALTER EXTENSION postgis ADD function st_slope(raster,integer,raster,text,text,double precision,boolean);
+ ALTER EXTENSION postgis ADD function st_slope(raster,integer,text,text,double precision,boolean);
+ ALTER EXTENSION postgis ADD function st_snap(geometry,geometry,double precision);
+ ALTER EXTENSION postgis ADD function st_snaptogrid(geometry,double precision);
+ ALTER EXTENSION postgis ADD function st_snaptogrid(geometry,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_snaptogrid(geometry,double precision,double precision,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_snaptogrid(geometry,geometry,double precision,double precision,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_snaptogrid(raster,double precision,double precision,double precision,double precision,text,double precision);
+ ALTER EXTENSION postgis ADD function st_snaptogrid(raster,double precision,double precision,double precision,text,double precision);
+ ALTER EXTENSION postgis ADD function st_snaptogrid(raster,double precision,double precision,text,double precision,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_split(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_srid(geometry);
+ ALTER EXTENSION postgis ADD function st_srid(raster);
+ ALTER EXTENSION postgis ADD function st_startpoint(geometry);
+ ALTER EXTENSION postgis ADD function st_stddev4ma(double precision[],integer[],text[]);
+ ALTER EXTENSION postgis ADD function st_stddev4ma(double precision[],text,text[]);
+ ALTER EXTENSION postgis ADD function st_sum4ma(double precision[],integer[],text[]);
+ ALTER EXTENSION postgis ADD function st_sum4ma(double precision[],text,text[]);
+ ALTER EXTENSION postgis ADD function st_summary(geography);
+ ALTER EXTENSION postgis ADD function st_summary(geometry);
+ ALTER EXTENSION postgis ADD function st_summary(raster);
+ ALTER EXTENSION postgis ADD function st_summarystats(raster,boolean);
+ ALTER EXTENSION postgis ADD function st_summarystats(raster,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_summarystats(text,text,boolean);
+ ALTER EXTENSION postgis ADD function st_summarystats(text,text,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_symdifference(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_symmetricdifference(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_tile(raster,integer,integer,boolean,double precision);
+ ALTER EXTENSION postgis ADD function st_tile(raster,integer,integer,integer,boolean,double precision);
+ ALTER EXTENSION postgis ADD function st_tile(raster,integer[],integer,integer,boolean,double precision);
+ ALTER EXTENSION postgis ADD function st_touches(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_touches(raster,integer,raster,integer);
+ ALTER EXTENSION postgis ADD function st_touches(raster,raster);
+ ALTER EXTENSION postgis ADD function st_tpi(raster,integer,raster,text,boolean);
+ ALTER EXTENSION postgis ADD function st_transform(geometry,integer);
+ ALTER EXTENSION postgis ADD function st_transform(raster,integer,double precision,double precision,text,double precision);
+ ALTER EXTENSION postgis ADD function st_transform(raster,integer,double precision,text,double precision);
+ ALTER EXTENSION postgis ADD function st_transform(raster,integer,text,double precision,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_transform(raster,raster,text,double precision);
+ ALTER EXTENSION postgis ADD function st_translate(geometry,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_translate(geometry,double precision,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_transscale(geometry,double precision,double precision,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_tri(raster,integer,raster,text,boolean);
+ ALTER EXTENSION postgis ADD function st_unaryunion(geometry);
+ ALTER EXTENSION postgis ADD function st_union(geometry);
+ ALTER EXTENSION postgis ADD function st_union(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_union(geometry[]);
+ ALTER EXTENSION postgis ADD function st_union(raster);
+ ALTER EXTENSION postgis ADD function st_union(raster,integer);
+ ALTER EXTENSION postgis ADD function st_union(raster,integer,text);
+ ALTER EXTENSION postgis ADD function st_union(raster,text);
+ ALTER EXTENSION postgis ADD function st_union(raster,unionarg[]);
+ ALTER EXTENSION postgis ADD function st_upperleftx(raster);
+ ALTER EXTENSION postgis ADD function st_upperlefty(raster);
+ ALTER EXTENSION postgis ADD function st_value(raster,geometry,boolean);
+ ALTER EXTENSION postgis ADD function st_value(raster,integer,geometry,boolean);
+ ALTER EXTENSION postgis ADD function st_value(raster,integer,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_value(raster,integer,integer,integer,boolean);
+ ALTER EXTENSION postgis ADD function st_valuecount(raster,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_valuecount(raster,double precision[],double precision);
+ ALTER EXTENSION postgis ADD function st_valuecount(raster,integer,boolean,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_valuecount(raster,integer,boolean,double precision[],double precision);
+ ALTER EXTENSION postgis ADD function st_valuecount(raster,integer,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_valuecount(raster,integer,double precision[],double precision);
+ ALTER EXTENSION postgis ADD function st_valuecount(text,text,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_valuecount(text,text,double precision[],double precision);
+ ALTER EXTENSION postgis ADD function st_valuecount(text,text,integer,boolean,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_valuecount(text,text,integer,boolean,double precision[],double precision);
+ ALTER EXTENSION postgis ADD function st_valuecount(text,text,integer,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_valuecount(text,text,integer,double precision[],double precision);
+ ALTER EXTENSION postgis ADD function st_valuepercent(raster,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_valuepercent(raster,double precision[],double precision);
+ ALTER EXTENSION postgis ADD function st_valuepercent(raster,integer,boolean,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_valuepercent(raster,integer,boolean,double precision[],double precision);
+ ALTER EXTENSION postgis ADD function st_valuepercent(raster,integer,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_valuepercent(raster,integer,double precision[],double precision);
+ ALTER EXTENSION postgis ADD function st_valuepercent(text,text,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_valuepercent(text,text,double precision[],double precision);
+ ALTER EXTENSION postgis ADD function st_valuepercent(text,text,integer,boolean,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_valuepercent(text,text,integer,boolean,double precision[],double precision);
+ ALTER EXTENSION postgis ADD function st_valuepercent(text,text,integer,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_valuepercent(text,text,integer,double precision[],double precision);
+ ALTER EXTENSION postgis ADD function st_width(raster);
+ ALTER EXTENSION postgis ADD function st_within(geometry,geometry);
+ ALTER EXTENSION postgis ADD function st_within(raster,integer,raster,integer);
+ ALTER EXTENSION postgis ADD function st_within(raster,raster);
+ ALTER EXTENSION postgis ADD function st_wkbtosql(bytea);
+ ALTER EXTENSION postgis ADD function st_wkttosql(text);
+ ALTER EXTENSION postgis ADD function st_worldtorastercoord(raster,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_worldtorastercoord(raster,geometry);
+ ALTER EXTENSION postgis ADD function st_worldtorastercoordx(raster,double precision);
+ ALTER EXTENSION postgis ADD function st_worldtorastercoordx(raster,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_worldtorastercoordx(raster,geometry);
+ ALTER EXTENSION postgis ADD function st_worldtorastercoordy(raster,double precision);
+ ALTER EXTENSION postgis ADD function st_worldtorastercoordy(raster,double precision,double precision);
+ ALTER EXTENSION postgis ADD function st_worldtorastercoordy(raster,geometry);
+ ALTER EXTENSION postgis ADD function st_x(geometry);
+ ALTER EXTENSION postgis ADD function st_xmax(box3d);
+ ALTER EXTENSION postgis ADD function st_xmin(box3d);
+ ALTER EXTENSION postgis ADD function st_y(geometry);
+ ALTER EXTENSION postgis ADD function st_ymax(box3d);
+ ALTER EXTENSION postgis ADD function st_ymin(box3d);
+ ALTER EXTENSION postgis ADD function st_z(geometry);
+ ALTER EXTENSION postgis ADD function st_zmax(box3d);
+ ALTER EXTENSION postgis ADD function st_zmflag(geometry);
+ ALTER EXTENSION postgis ADD function st_zmin(box3d);
+ ALTER EXTENSION postgis ADD function text(geometry);
+ ALTER EXTENSION postgis ADD function unlockrows(text);
+ ALTER EXTENSION postgis ADD function updategeometrysrid(character varying,character varying,character varying,character varying,integer);
+ ALTER EXTENSION postgis ADD function updategeometrysrid(character varying,character varying,character varying,integer);
+ ALTER EXTENSION postgis ADD function updategeometrysrid(character varying,character varying,integer);
+ ALTER EXTENSION postgis ADD function updaterastersrid(name,name,integer);
+ ALTER EXTENSION postgis ADD function updaterastersrid(name,name,name,integer);
+ ALTER EXTENSION postgis ADD operator &&&(geometry,geometry);
+ ALTER EXTENSION postgis ADD operator &&(geography,geography);
+ ALTER EXTENSION postgis ADD operator &&(geometry,geometry);
+ ALTER EXTENSION postgis ADD operator &&(geometry,raster);
+ ALTER EXTENSION postgis ADD operator &&(raster,geometry);
+ ALTER EXTENSION postgis ADD operator &&(raster,raster);
+ ALTER EXTENSION postgis ADD operator &<(geometry,geometry);
+ ALTER EXTENSION postgis ADD operator &<(raster,raster);
+ ALTER EXTENSION postgis ADD operator &<|(geometry,geometry);
+ ALTER EXTENSION postgis ADD operator &<|(raster,raster);
+ ALTER EXTENSION postgis ADD operator &>(geometry,geometry);
+ ALTER EXTENSION postgis ADD operator &>(raster,raster);
+ ALTER EXTENSION postgis ADD operator <#>(geometry,geometry);
+ ALTER EXTENSION postgis ADD operator <(geography,geography);
+ ALTER EXTENSION postgis ADD operator <(geometry,geometry);
+ ALTER EXTENSION postgis ADD operator <->(geometry,geometry);
+ ALTER EXTENSION postgis ADD operator <<(geometry,geometry);
+ ALTER EXTENSION postgis ADD operator <<(raster,raster);
+ ALTER EXTENSION postgis ADD operator <<|(geometry,geometry);
+ ALTER EXTENSION postgis ADD operator <<|(raster,raster);
+ ALTER EXTENSION postgis ADD operator <=(geography,geography);
+ ALTER EXTENSION postgis ADD operator <=(geometry,geometry);
+ ALTER EXTENSION postgis ADD operator =(geography,geography);
+ ALTER EXTENSION postgis ADD operator =(geometry,geometry);
+ ALTER EXTENSION postgis ADD operator =(raster,raster);
+ ALTER EXTENSION postgis ADD operator >(geography,geography);
+ ALTER EXTENSION postgis ADD operator >(geometry,geometry);
+ ALTER EXTENSION postgis ADD operator >=(geography,geography);
+ ALTER EXTENSION postgis ADD operator >=(geometry,geometry);
+ ALTER EXTENSION postgis ADD operator >>(geometry,geometry);
+ ALTER EXTENSION postgis ADD operator >>(raster,raster);
+ ALTER EXTENSION postgis ADD operator @(geometry,geometry);
+ ALTER EXTENSION postgis ADD operator @(geometry,raster);
+ ALTER EXTENSION postgis ADD operator @(raster,geometry);
+ ALTER EXTENSION postgis ADD operator @(raster,raster);
+ ALTER EXTENSION postgis ADD operator class btree_geography_ops using btree;
+ ALTER EXTENSION postgis ADD operator class btree_geometry_ops using btree;
+ ALTER EXTENSION postgis ADD operator class gist_geography_ops using gist;
+ ALTER EXTENSION postgis ADD operator class gist_geometry_ops_2d using gist;
+ ALTER EXTENSION postgis ADD operator class gist_geometry_ops_nd using gist;
+ ALTER EXTENSION postgis ADD operator class hash_raster_ops using hash;
+ ALTER EXTENSION postgis ADD operator family btree_geography_ops using btree;
+ ALTER EXTENSION postgis ADD operator family btree_geometry_ops using btree;
+ ALTER EXTENSION postgis ADD operator family gist_geography_ops using gist;
+ ALTER EXTENSION postgis ADD operator family gist_geometry_ops_2d using gist;
+ ALTER EXTENSION postgis ADD operator family gist_geometry_ops_nd using gist;
+ ALTER EXTENSION postgis ADD operator family hash_raster_ops using hash;
+ ALTER EXTENSION postgis ADD operator |&>(geometry,geometry);
+ ALTER EXTENSION postgis ADD operator |&>(raster,raster);
+ ALTER EXTENSION postgis ADD operator |>>(geometry,geometry);
+ ALTER EXTENSION postgis ADD operator |>>(raster,raster);
+ ALTER EXTENSION postgis ADD operator ~(geometry,geometry);
+ ALTER EXTENSION postgis ADD operator ~(geometry,raster);
+ ALTER EXTENSION postgis ADD operator ~(raster,geometry);
+ ALTER EXTENSION postgis ADD operator ~(raster,raster);
+ ALTER EXTENSION postgis ADD operator ~=(geometry,geometry);
+ ALTER EXTENSION postgis ADD operator ~=(raster,raster);
+ ALTER EXTENSION postgis ADD table spatial_ref_sys;
+ ALTER EXTENSION postgis ADD type addbandarg;
+ ALTER EXTENSION postgis ADD type agg_samealignment;
+ ALTER EXTENSION postgis ADD type box2d;
+ ALTER EXTENSION postgis ADD type box2df;
+ ALTER EXTENSION postgis ADD type box3d;
+ ALTER EXTENSION postgis ADD type geography;
+ ALTER EXTENSION postgis ADD type geometry;
+ ALTER EXTENSION postgis ADD type geometry_dump;
+ ALTER EXTENSION postgis ADD type geomval;
+ ALTER EXTENSION postgis ADD type gidx;
+ ALTER EXTENSION postgis ADD type pgis_abs;
+ ALTER EXTENSION postgis ADD type rastbandarg;
+ ALTER EXTENSION postgis ADD type raster;
+ ALTER EXTENSION postgis ADD type reclassarg;
+ ALTER EXTENSION postgis ADD type spheroid;
+ ALTER EXTENSION postgis ADD type unionarg;
+ ALTER EXTENSION postgis ADD type valid_detail;
+ ALTER EXTENSION postgis ADD view geography_columns;
+ ALTER EXTENSION postgis ADD view geometry_columns;
+ ALTER EXTENSION postgis ADD view raster_columns;
+ ALTER EXTENSION postgis ADD view raster_overviews;
diff --git a/extensions/postgis_tiger_geocoder/Makefile b/extensions/postgis_tiger_geocoder/Makefile
deleted file mode 100644
index 60eef7f..0000000
--- a/extensions/postgis_tiger_geocoder/Makefile
+++ /dev/null
@@ -1,174 +0,0 @@
-include ../upgradeable_versions.mk
-
-EXTENSION    = postgis_tiger_geocoder
-EXTVERSION    = 2.1.0
-MINORVERSION  = 2011.2.1
-
-MICRO_NUMBER  = $(shell echo $(EXTVERSION) | sed "s/[0-9]\.[0-9]\.\([0-9]*\)[a-zA-Z]*[0-9]*/\1/")
-PREREL_NUMBER = $(shell echo $(EXTVERSION) | \
-                        sed "s/[0-9]\.[0-9]\.\(.*\)/\1/" | \
-                        grep "[a-zA-Z]" | \
-                        sed "s/[0-9][a-zA-Z]\([0-9]*\)[a-zA-Z]*/\1/")
-MICRO_PREV    = $(shell if test "$(MICRO_NUMBER)x" != "x"; then expr $(MICRO_NUMBER) - 1; fi)
-PREREL_PREV   = $(shell if test "$(PREREL_NUMBER)x" != "x"; then expr $(PREREL_NUMBER) - 1; fi)
-
-PREREL_PREFIX = $(shell echo $(EXTVERSION) | \
-                        sed "s/[0-9]\.[0-9]\.\(.*\)/\1/" | \
-                        grep "[a-zA-Z]" | \
-                        sed "s/\([0-9][a-zA-Z]*\)[0-9]*/\1/")
-
-DATA         = $(filter-out $(wildcard sql/*--*.sql),$(wildcard sql/*.sql))
-
-PG_CONFIG    =  /var/lib/jenkins/workspace/pg/rel/pg9.2w64/bin/pg_config
-
-PG91         = $(shell $(PG_CONFIG) --version | grep -qE " 8\.| 9\.0" && echo no || echo yes)
-SQL_BITS     = $(wildcard sql_bits/*.sql)
-EXTRA_CLEAN += sql/*.sql ${SQL_BITS} 
-
-
-ifeq ($(PG91),yes)
-all: sql/$(EXTENSION)--$(EXTVERSION).sql sql/$(EXTENSION)--unpackaged--$(EXTVERSION).sql sql/$(EXTENSION)--$(EXTVERSION)--$(EXTVERSION)next.sql sql/$(EXTENSION)--$(EXTVERSION)next--$(EXTVERSION).sql  sql_minor_upgrade
-
-sql/$(EXTENSION)--$(EXTVERSION).sql: sql/$(EXTENSION).sql
-	cp $< $@
-	
-sql/$(EXTENSION).sql: sql_bits/tiger_geocoder.sql  sql_bits/mark_editable_objects.sql.in sql_bits/tiger_geocoder_comments.sql
-	cat $^ > $@
-	
-#this is a cludge to allow upgrading from same SVN to same SVN
-sql/$(EXTENSION)--$(EXTVERSION)--$(EXTVERSION)next.sql: ../postgis_extension_helper.sql sql_bits/remove_from_extension.sql.in sql/tiger_geocoder_upgrade_minor.sql sql_bits/mark_editable_objects.sql.in sql_bits/tiger_geocoder_comments.sql ../postgis_extension_helper_uninstall.sql
-	cat $^ > $@
-sql/$(EXTENSION)--$(EXTVERSION)next--$(EXTVERSION).sql: sql/$(EXTENSION)--$(EXTVERSION)--$(EXTVERSION)next.sql
-	cp $< $@
-	
-#strip BEGIN/COMMIT since these are not allowed in extensions
-#strip CREATE SCHEMA since we force extension 
-# to create schema by setting schema to tiger_geocoder in control
-sql_bits/tiger_geocoder_minor.sql.in: ../../extras/tiger_geocoder/tiger_2011/utility/set_search_path.sql \
-	../../extras/tiger_geocoder/tiger_2011/utility/utmzone.sql \
-	../../extras/tiger_geocoder/tiger_2011/utility/cull_null.sql \
-	../../extras/tiger_geocoder/tiger_2011/utility/nullable_levenshtein.sql \
-	../../extras/tiger_geocoder/tiger_2011/utility/levenshtein_ignore_case.sql \
-	../../extras/tiger_geocoder/tiger_2011/normalize/end_soundex.sql \
-	../../extras/tiger_geocoder/tiger_2011/normalize/count_words.sql \
-	../../extras/tiger_geocoder/tiger_2011/normalize/state_extract.sql \
-	../../extras/tiger_geocoder/tiger_2011/normalize/get_last_words.sql \
-	../../extras/tiger_geocoder/tiger_2011/normalize/location_extract_countysub_exact.sql \
-	../../extras/tiger_geocoder/tiger_2011/normalize/location_extract_countysub_fuzzy.sql \
-	../../extras/tiger_geocoder/tiger_2011/normalize/location_extract_place_exact.sql \
-	../../extras/tiger_geocoder/tiger_2011/normalize/location_extract_place_fuzzy.sql \
-	../../extras/tiger_geocoder/tiger_2011/normalize/location_extract.sql \
-	../../extras/tiger_geocoder/tiger_2011/normalize/normalize_address.sql \
-	../../extras/tiger_geocoder/tiger_2011/normalize/pprint_addy.sql \
-	../../extras/tiger_geocoder/tiger_2011/pagc_normalize/pagc_tables.sql \
-    ../../extras/tiger_geocoder/tiger_2011/pagc_normalize/pagc_normalize_address.sql \
-	../../extras/tiger_geocoder/tiger_2011/geocode/other_helper_functions.sql \
-	../../extras/tiger_geocoder/tiger_2011/geocode/rate_attributes.sql \
-	../../extras/tiger_geocoder/tiger_2011/geocode/includes_address.sql \
-	../../extras/tiger_geocoder/tiger_2011/geocode/interpolate_from_address.sql \
-	../../extras/tiger_geocoder/tiger_2011/geocode/geocode_address.sql \
-	../../extras/tiger_geocoder/tiger_2011/geocode/geocode_location.sql \
-	../../extras/tiger_geocoder/tiger_2011/geocode/geocode_intersection.sql \
-	../../extras/tiger_geocoder/tiger_2011/geocode/geocode.sql \
-	../../extras/tiger_geocoder/tiger_2011/geocode/reverse_geocode.sql \
-	../../extras/tiger_geocoder/tiger_2011/geocode/census_tracts_functions.sql
-	cat $^ > $@
-	
-sql_bits/tiger_geocoder.sql.in: sql_bits/norm_addy_create.sql.in \
-	../../extras/tiger_geocoder/tiger_2011/utility/set_search_path.sql \
-	../../extras/tiger_geocoder/tiger_2011/geocode_settings.sql \
-	../../extras/tiger_geocoder/tiger_2011/tables/lookup_tables_2011.sql \
-	../../extras/tiger_geocoder/tiger_2011/tiger_loader_2012.sql \
-	../../extras/tiger_geocoder/tiger_2011/census_loader.sql \
-	../../extras/tiger_geocoder/tiger_2011/utility/set_search_path.sql \
-	../../extras/tiger_geocoder/tiger_2011/utility/utmzone.sql \
-	../../extras/tiger_geocoder/tiger_2011/utility/cull_null.sql \
-	../../extras/tiger_geocoder/tiger_2011/utility/nullable_levenshtein.sql \
-	../../extras/tiger_geocoder/tiger_2011/utility/levenshtein_ignore_case.sql \
-	../../extras/tiger_geocoder/tiger_2011/normalize/end_soundex.sql \
-	../../extras/tiger_geocoder/tiger_2011/normalize/count_words.sql \
-	../../extras/tiger_geocoder/tiger_2011/normalize/state_extract.sql \
-	../../extras/tiger_geocoder/tiger_2011/normalize/get_last_words.sql \
-	../../extras/tiger_geocoder/tiger_2011/normalize/location_extract_countysub_exact.sql \
-	../../extras/tiger_geocoder/tiger_2011/normalize/location_extract_countysub_fuzzy.sql \
-	../../extras/tiger_geocoder/tiger_2011/normalize/location_extract_place_exact.sql \
-	../../extras/tiger_geocoder/tiger_2011/normalize/location_extract_place_fuzzy.sql \
-	../../extras/tiger_geocoder/tiger_2011/normalize/location_extract.sql \
-	../../extras/tiger_geocoder/tiger_2011/normalize/normalize_address.sql \
-	../../extras/tiger_geocoder/tiger_2011/normalize/pprint_addy.sql \
-	../../extras/tiger_geocoder/tiger_2011/pagc_normalize/pagc_tables.sql \
-    ../../extras/tiger_geocoder/tiger_2011/pagc_normalize/pagc_normalize_address.sql \
-	../../extras/tiger_geocoder/tiger_2011/geocode/other_helper_functions.sql \
-	../../extras/tiger_geocoder/tiger_2011/geocode/rate_attributes.sql \
-	../../extras/tiger_geocoder/tiger_2011/geocode/includes_address.sql \
-	../../extras/tiger_geocoder/tiger_2011/geocode/interpolate_from_address.sql \
-	../../extras/tiger_geocoder/tiger_2011/geocode/geocode_address.sql \
-	../../extras/tiger_geocoder/tiger_2011/geocode/geocode_location.sql \
-	../../extras/tiger_geocoder/tiger_2011/geocode/geocode_intersection.sql \
-	../../extras/tiger_geocoder/tiger_2011/geocode/geocode.sql \
-	../../extras/tiger_geocoder/tiger_2011/geocode/reverse_geocode.sql \
-	../../extras/tiger_geocoder/tiger_2011/geocode/census_tracts_functions.sql \
-	../../extras/tiger_geocoder/tiger_2011/topology/tiger_topology_loader.sql \
-	../postgis_extension_helper.sql \
-	sql_bits/add_search_path.sql \
-	../postgis_extension_helper_uninstall.sql 
-	cat $^ > $@
-	
-sql_bits/tiger_geocoder.sql: sql_bits/tiger_geocoder.sql.in
-	sed -e 's/BEGIN;//g' -e 's/COMMIT;//g' -e '/^CREATE SCHEMA/d;'  $< > $@
-	
-sql_bits/add_search_path.sql: sql_bits/add_search_path.sql.in
-	cp $< $@
-	
-../../doc/tiger_geocoder_comments.sql:
-	$(MAKE) -C ../../doc comments
-	
-sql_bits/tiger_geocoder_comments.sql: ../../doc/tiger_geocoder_comments.sql
-	cp $< $@
-	
-#grep all lines that start with CREATE OR REPLACE FUNCTION, TRIGGER...
-#then replace CREATE OR REPLACE .. with ALTER EXTENSION..;
-#then remove default values and extra junk
-# sql/$(EXTENSION)--unpackaged--$(EXTVERSION).sql: ../../tiger_geocoder/tiger_geocoder.sql
-# 	sed -e '/^CREATE \(OR REPLACE\|TYPE\|TABLE\|VIEW\|CAST\)/!d;' \
-# 		-e 's/OR REPLACE//g' \
-# 		-e 's/CREATE\(.*\)/ALTER EXTENSION $(EXTENSION) ADD\1;/' \
-# 		-e 's/DEFAULT [\.0-9a-zA-Z]\+//g' \
-# 		-e 's/\(BEFORE\|WITH FUNCTION\)\(.*\)/;/' \
-# 		-e 's/[ \t]+;/;/' \
-# 		-e 's/(;/;/' \
-# 		-e 's/\\(;/;/' \
-# 		-e 's/;;/;/g' $< > $@
-
-#hardcode for now using 
-#the extensions/make_unpackaged.sql script form an install
-sql/$(EXTENSION)--unpackaged--$(EXTVERSION).sql: sql_bits/tiger_geocoder--unpackaged.sql.in
-	cp $< $@
-
-#upgrade script should have everything but table, schema, type creation/alter
-#NOTE: we assume all object definitions end in ;
-#first expression deletes all non-removable objects defined on same line
-#second deletes all non-removable defined on multiple lines 
-#  the end of the body of object we assume ends in ;
-#aggregates are special 
-#they can be dropped but we need to remove
-#them from the extension first
-sql/tiger_geocoder_upgrade_minor.sql:  sql_bits/tiger_geocoder_minor.sql.in
-	 sed -e '/^\(CREATE\|ALTER\) \(CAST\|TYPE\|TABLE\|SCHEMA\|DOMAIN\|TRIGGER\).*;/d' \
-	 	 -e '/^\(CREATE\|ALTER\) \(CAST\|TYPE\|TABLE\|SCHEMA\|DOMAIN\|TRIGGER\)/,/\;/d' \
-	 	 $< > $@
-	
-sql_minor_upgrade: ../postgis_extension_helper.sql sql_bits/remove_from_extension.sql.in sql/tiger_geocoder_upgrade_minor.sql sql_bits/mark_editable_objects.sql.in sql_bits/tiger_geocoder_comments.sql ../postgis_extension_helper_uninstall.sql
-	for OLD_VERSION in $(UPGRADEABLE_VERSIONS); do \
-  	  cat $^ > sql/$(EXTENSION)--$$OLD_VERSION--$(EXTVERSION).sql; \
-	done
-	
-DATA = $(wildcard sql/*--*.sql)
-EXTRA_CLEAN += sql/$(EXTENSION)--$(EXTVERSION).sql sql/$(EXTENSION)--unpackaged--$(EXTVERSION).sql
-endif
-
-distclean: clean
-	rm Makefile
-
-PGXS := $(shell $(PG_CONFIG) --pgxs)
-include $(PGXS)
diff --git a/extensions/postgis_tiger_geocoder/Makefile.in b/extensions/postgis_tiger_geocoder/Makefile.in
index a4538ad..bf2350c 100644
--- a/extensions/postgis_tiger_geocoder/Makefile.in
+++ b/extensions/postgis_tiger_geocoder/Makefile.in
@@ -45,6 +45,7 @@ sql/$(EXTENSION)--$(EXTVERSION)next--$(EXTVERSION).sql: sql/$(EXTENSION)--$(EXTV
 #strip CREATE SCHEMA since we force extension 
 # to create schema by setting schema to tiger_geocoder in control
 sql_bits/tiger_geocoder_minor.sql.in: ../../extras/tiger_geocoder/tiger_2011/utility/set_search_path.sql \
+  ../../extras/tiger_geocoder/tiger_2011/tiger_loader_2013.sql \
 	../../extras/tiger_geocoder/tiger_2011/utility/utmzone.sql \
 	../../extras/tiger_geocoder/tiger_2011/utility/cull_null.sql \
 	../../extras/tiger_geocoder/tiger_2011/utility/nullable_levenshtein.sql \
@@ -61,7 +62,7 @@ sql_bits/tiger_geocoder_minor.sql.in: ../../extras/tiger_geocoder/tiger_2011/uti
 	../../extras/tiger_geocoder/tiger_2011/normalize/normalize_address.sql \
 	../../extras/tiger_geocoder/tiger_2011/normalize/pprint_addy.sql \
 	../../extras/tiger_geocoder/tiger_2011/pagc_normalize/pagc_tables.sql \
-    ../../extras/tiger_geocoder/tiger_2011/pagc_normalize/pagc_normalize_address.sql \
+  ../../extras/tiger_geocoder/tiger_2011/pagc_normalize/pagc_normalize_address.sql \
 	../../extras/tiger_geocoder/tiger_2011/geocode/other_helper_functions.sql \
 	../../extras/tiger_geocoder/tiger_2011/geocode/rate_attributes.sql \
 	../../extras/tiger_geocoder/tiger_2011/geocode/includes_address.sql \
@@ -78,7 +79,7 @@ sql_bits/tiger_geocoder.sql.in: sql_bits/norm_addy_create.sql.in \
 	../../extras/tiger_geocoder/tiger_2011/utility/set_search_path.sql \
 	../../extras/tiger_geocoder/tiger_2011/geocode_settings.sql \
 	../../extras/tiger_geocoder/tiger_2011/tables/lookup_tables_2011.sql \
-	../../extras/tiger_geocoder/tiger_2011/tiger_loader_2012.sql \
+	../../extras/tiger_geocoder/tiger_2011/tiger_loader_2013.sql \
 	../../extras/tiger_geocoder/tiger_2011/census_loader.sql \
 	../../extras/tiger_geocoder/tiger_2011/utility/set_search_path.sql \
 	../../extras/tiger_geocoder/tiger_2011/utility/utmzone.sql \
@@ -153,11 +154,12 @@ sql/$(EXTENSION)--unpackaged--$(EXTVERSION).sql: sql_bits/tiger_geocoder--unpack
 #aggregates are special 
 #they can be dropped but we need to remove
 #them from the extension first
-sql/tiger_geocoder_upgrade_minor.sql:  sql_bits/tiger_geocoder_minor.sql.in
+sql/tiger_geocoder_upgrade_minor.sql:  sql_bits/tiger_geocoder_minor.sql.in 
 	 sed -e '/^\(CREATE\|ALTER\) \(CAST\|TYPE\|TABLE\|SCHEMA\|DOMAIN\|TRIGGER\).*;/d' \
 	 	 -e '/^\(CREATE\|ALTER\) \(CAST\|TYPE\|TABLE\|SCHEMA\|DOMAIN\|TRIGGER\)/,/\;/d' \
+	 	 -e 's/BEGIN;//g' -e 's/COMMIT;//g' \
 	 	 $< > $@
-	
+	 	 	
 sql_minor_upgrade: ../postgis_extension_helper.sql sql_bits/remove_from_extension.sql.in sql/tiger_geocoder_upgrade_minor.sql sql_bits/mark_editable_objects.sql.in sql_bits/tiger_geocoder_comments.sql ../postgis_extension_helper_uninstall.sql
 	for OLD_VERSION in $(UPGRADEABLE_VERSIONS); do \
   	  cat $^ > sql/$(EXTENSION)--$$OLD_VERSION--$(EXTVERSION).sql; \
diff --git a/extensions/postgis_tiger_geocoder/postgis_tiger_geocoder.control b/extensions/postgis_tiger_geocoder/postgis_tiger_geocoder.control
index 5bfb395..46804fb 100644
--- a/extensions/postgis_tiger_geocoder/postgis_tiger_geocoder.control
+++ b/extensions/postgis_tiger_geocoder/postgis_tiger_geocoder.control
@@ -1,6 +1,6 @@
 # postgis tiger geocoder extension
 comment = 'PostGIS tiger geocoder and reverse geocoder'
-default_version = '2.1.0'
+default_version = '2.1.1'
 relocatable = false
 schema = tiger
 requires = 'postgis,fuzzystrmatch'
diff --git a/extensions/postgis_tiger_geocoder/sql_bits/tiger_geocoder--unpackaged.sql.in b/extensions/postgis_tiger_geocoder/sql_bits/tiger_geocoder--unpackaged.sql.in
index 1e565f0..c7efbc3 100644
--- a/extensions/postgis_tiger_geocoder/sql_bits/tiger_geocoder--unpackaged.sql.in
+++ b/extensions/postgis_tiger_geocoder/sql_bits/tiger_geocoder--unpackaged.sql.in
@@ -1,101 +1,102 @@
-ALTER EXTENSION postgis_tiger_geocoder ADD function count_words(character varying);
-ALTER EXTENSION postgis_tiger_geocoder ADD function create_census_base_tables();
-ALTER EXTENSION postgis_tiger_geocoder ADD function cull_null(character varying);
-ALTER EXTENSION postgis_tiger_geocoder ADD function diff_zip(character varying,character varying);
-ALTER EXTENSION postgis_tiger_geocoder ADD function drop_dupe_featnames_generate_script();
-ALTER EXTENSION postgis_tiger_geocoder ADD function drop_indexes_generate_script(text);
-ALTER EXTENSION postgis_tiger_geocoder ADD function drop_nation_tables_generate_script(text);
-ALTER EXTENSION postgis_tiger_geocoder ADD function drop_state_tables_generate_script(text,text);
-ALTER EXTENSION postgis_tiger_geocoder ADD function end_soundex(character varying);
-ALTER EXTENSION postgis_tiger_geocoder ADD function geocode(character varying,integer,geometry);
-ALTER EXTENSION postgis_tiger_geocoder ADD function geocode(norm_addy,integer,geometry);
-ALTER EXTENSION postgis_tiger_geocoder ADD function geocode_address(norm_addy,integer,geometry);
-ALTER EXTENSION postgis_tiger_geocoder ADD function geocode_intersection(text,text,text,text,text,integer);
-ALTER EXTENSION postgis_tiger_geocoder ADD function geocode_location(norm_addy,geometry);
-ALTER EXTENSION postgis_tiger_geocoder ADD function get_geocode_setting(text);
-ALTER EXTENSION postgis_tiger_geocoder ADD function get_last_words(character varying,integer);
-ALTER EXTENSION postgis_tiger_geocoder ADD function get_tract(geometry,text);
-ALTER EXTENSION postgis_tiger_geocoder ADD function greatest_hn(character varying,character varying);
-ALTER EXTENSION postgis_tiger_geocoder ADD function includes_address(integer,integer,integer,integer,integer);
-ALTER EXTENSION postgis_tiger_geocoder ADD function install_geocode_settings();
-ALTER EXTENSION postgis_tiger_geocoder ADD function install_missing_indexes();
-ALTER EXTENSION postgis_tiger_geocoder ADD function install_pagc_tables();
-ALTER EXTENSION postgis_tiger_geocoder ADD function interpolate_from_address(integer,character varying,character varying,geometry,character varying,double precision);
-ALTER EXTENSION postgis_tiger_geocoder ADD function is_pretype(text);
-ALTER EXTENSION postgis_tiger_geocoder ADD function least_hn(character varying,character varying);
-ALTER EXTENSION postgis_tiger_geocoder ADD function levenshtein_ignore_case(character varying,character varying);
-ALTER EXTENSION postgis_tiger_geocoder ADD function loader_generate_census_script(text[],text);
-ALTER EXTENSION postgis_tiger_geocoder ADD function loader_generate_nation_script(text);
-ALTER EXTENSION postgis_tiger_geocoder ADD function loader_generate_script(text[],text);
-ALTER EXTENSION postgis_tiger_geocoder ADD function loader_load_staged_data(text,text);
-ALTER EXTENSION postgis_tiger_geocoder ADD function loader_load_staged_data(text,text,text[]);
-ALTER EXTENSION postgis_tiger_geocoder ADD function loader_macro_replace(text,text[],text[]);
-ALTER EXTENSION postgis_tiger_geocoder ADD function location_extract(character varying,character varying);
-ALTER EXTENSION postgis_tiger_geocoder ADD function location_extract_countysub_exact(character varying,character varying);
-ALTER EXTENSION postgis_tiger_geocoder ADD function location_extract_countysub_fuzzy(character varying,character varying);
-ALTER EXTENSION postgis_tiger_geocoder ADD function location_extract_place_exact(character varying,character varying);
-ALTER EXTENSION postgis_tiger_geocoder ADD function location_extract_place_fuzzy(character varying,character varying);
-ALTER EXTENSION postgis_tiger_geocoder ADD function missing_indexes_generate_script();
-ALTER EXTENSION postgis_tiger_geocoder ADD function normalize_address(character varying);
-ALTER EXTENSION postgis_tiger_geocoder ADD function nullable_levenshtein(character varying,character varying);
-ALTER EXTENSION postgis_tiger_geocoder ADD function numeric_streets_equal(character varying,character varying);
-ALTER EXTENSION postgis_tiger_geocoder ADD function pagc_normalize_address(character varying);
-ALTER EXTENSION postgis_tiger_geocoder ADD function pprint_addy(norm_addy);
-ALTER EXTENSION postgis_tiger_geocoder ADD function rate_attributes(character varying,character varying,character varying,character varying,character varying,character varying,character varying,character varying,character varying);
-ALTER EXTENSION postgis_tiger_geocoder ADD function rate_attributes(character varying,character varying,character varying,character varying,character varying,character varying,character varying,character varying,character varying,character varying,character varying);
-ALTER EXTENSION postgis_tiger_geocoder ADD function reverse_geocode(geometry,boolean);
-ALTER EXTENSION postgis_tiger_geocoder ADD function set_geocode_setting(text,text);
-ALTER EXTENSION postgis_tiger_geocoder ADD function setsearchpathforinstall(character varying);
-ALTER EXTENSION postgis_tiger_geocoder ADD function state_extract(character varying);
-ALTER EXTENSION postgis_tiger_geocoder ADD function topology_load_tiger(character varying,character varying,character varying);
-ALTER EXTENSION postgis_tiger_geocoder ADD function utmzone(geometry);
-ALTER EXTENSION postgis_tiger_geocoder ADD function zip_range(text,integer,integer);
-ALTER EXTENSION postgis_tiger_geocoder ADD sequence addr_gid_seq;
-ALTER EXTENSION postgis_tiger_geocoder ADD sequence addrfeat_gid_seq;
-ALTER EXTENSION postgis_tiger_geocoder ADD sequence bg_gid_seq;
-ALTER EXTENSION postgis_tiger_geocoder ADD sequence county_gid_seq;
-ALTER EXTENSION postgis_tiger_geocoder ADD sequence cousub_gid_seq;
-ALTER EXTENSION postgis_tiger_geocoder ADD sequence edges_gid_seq;
-ALTER EXTENSION postgis_tiger_geocoder ADD sequence faces_gid_seq;
-ALTER EXTENSION postgis_tiger_geocoder ADD sequence featnames_gid_seq;
-ALTER EXTENSION postgis_tiger_geocoder ADD sequence pagc_gaz_id_seq;
-ALTER EXTENSION postgis_tiger_geocoder ADD sequence pagc_lex_id_seq;
-ALTER EXTENSION postgis_tiger_geocoder ADD sequence pagc_rules_id_seq;
-ALTER EXTENSION postgis_tiger_geocoder ADD sequence place_gid_seq;
-ALTER EXTENSION postgis_tiger_geocoder ADD sequence state_gid_seq;
-ALTER EXTENSION postgis_tiger_geocoder ADD sequence tabblock_gid_seq;
-ALTER EXTENSION postgis_tiger_geocoder ADD sequence tract_gid_seq;
-ALTER EXTENSION postgis_tiger_geocoder ADD sequence zcta5_gid_seq;
-ALTER EXTENSION postgis_tiger_geocoder ADD table addr;
-ALTER EXTENSION postgis_tiger_geocoder ADD table addrfeat;
-ALTER EXTENSION postgis_tiger_geocoder ADD table bg;
-ALTER EXTENSION postgis_tiger_geocoder ADD table county;
-ALTER EXTENSION postgis_tiger_geocoder ADD table county_lookup;
-ALTER EXTENSION postgis_tiger_geocoder ADD table countysub_lookup;
-ALTER EXTENSION postgis_tiger_geocoder ADD table cousub;
-ALTER EXTENSION postgis_tiger_geocoder ADD table direction_lookup;
-ALTER EXTENSION postgis_tiger_geocoder ADD table edges;
-ALTER EXTENSION postgis_tiger_geocoder ADD table faces;
-ALTER EXTENSION postgis_tiger_geocoder ADD table featnames;
-ALTER EXTENSION postgis_tiger_geocoder ADD table geocode_settings;
-ALTER EXTENSION postgis_tiger_geocoder ADD table loader_lookuptables;
-ALTER EXTENSION postgis_tiger_geocoder ADD table loader_platform;
-ALTER EXTENSION postgis_tiger_geocoder ADD table loader_variables;
-ALTER EXTENSION postgis_tiger_geocoder ADD table pagc_gaz;
-ALTER EXTENSION postgis_tiger_geocoder ADD table pagc_lex;
-ALTER EXTENSION postgis_tiger_geocoder ADD table pagc_rules;
-ALTER EXTENSION postgis_tiger_geocoder ADD table place;
-ALTER EXTENSION postgis_tiger_geocoder ADD table place_lookup;
-ALTER EXTENSION postgis_tiger_geocoder ADD table secondary_unit_lookup;
-ALTER EXTENSION postgis_tiger_geocoder ADD table state;
-ALTER EXTENSION postgis_tiger_geocoder ADD table state_lookup;
-ALTER EXTENSION postgis_tiger_geocoder ADD table street_type_lookup;
-ALTER EXTENSION postgis_tiger_geocoder ADD table tabblock;
-ALTER EXTENSION postgis_tiger_geocoder ADD table tract;
-ALTER EXTENSION postgis_tiger_geocoder ADD table zcta5;
-ALTER EXTENSION postgis_tiger_geocoder ADD table zip_lookup;
-ALTER EXTENSION postgis_tiger_geocoder ADD table zip_lookup_all;
-ALTER EXTENSION postgis_tiger_geocoder ADD table zip_lookup_base;
-ALTER EXTENSION postgis_tiger_geocoder ADD table zip_state;
-ALTER EXTENSION postgis_tiger_geocoder ADD table zip_state_loc;
-ALTER EXTENSION postgis_tiger_geocoder ADD type norm_addy;
+ ALTER EXTENSION postgis_tiger_geocoder ADD function count_words(character varying);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function create_census_base_tables();
+ ALTER EXTENSION postgis_tiger_geocoder ADD function cull_null(character varying);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function diff_zip(character varying,character varying);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function drop_dupe_featnames_generate_script();
+ ALTER EXTENSION postgis_tiger_geocoder ADD function drop_indexes_generate_script(text);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function drop_nation_tables_generate_script(text);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function drop_state_tables_generate_script(text,text);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function end_soundex(character varying);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function geocode(character varying,integer,geometry);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function geocode(norm_addy,integer,geometry);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function geocode_address(norm_addy,integer,geometry);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function geocode_intersection(text,text,text,text,text,integer);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function geocode_location(norm_addy,geometry);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function get_geocode_setting(text);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function get_last_words(character varying,integer);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function get_tract(geometry,text);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function greatest_hn(character varying,character varying);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function includes_address(integer,integer,integer,integer,integer);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function install_geocode_settings();
+ ALTER EXTENSION postgis_tiger_geocoder ADD function install_missing_indexes();
+ ALTER EXTENSION postgis_tiger_geocoder ADD function install_pagc_tables();
+ ALTER EXTENSION postgis_tiger_geocoder ADD function interpolate_from_address(integer,character varying,character varying,geometry,character varying,double precision);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function is_pretype(text);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function least_hn(character varying,character varying);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function levenshtein_ignore_case(character varying,character varying);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function loader_generate_census_script(text[],text);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function loader_generate_nation_script(text);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function loader_generate_script(text[],text);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function loader_load_staged_data(text,text);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function loader_load_staged_data(text,text,text[]);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function loader_macro_replace(text,text[],text[]);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function location_extract(character varying,character varying);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function location_extract_countysub_exact(character varying,character varying);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function location_extract_countysub_fuzzy(character varying,character varying);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function location_extract_place_exact(character varying,character varying);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function location_extract_place_fuzzy(character varying,character varying);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function missing_indexes_generate_script();
+ ALTER EXTENSION postgis_tiger_geocoder ADD function normalize_address(character varying);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function nullable_levenshtein(character varying,character varying);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function numeric_streets_equal(character varying,character varying);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function pagc_normalize_address(character varying);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function pprint_addy(norm_addy);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function rate_attributes(character varying,character varying,character varying,character varying,character varying,character varying,character varying,character varying,character varying);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function rate_attributes(character varying,character varying,character varying,character varying,character varying,character varying,character varying,character varying,character varying,character varying,character varying);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function reverse_geocode(geometry,boolean);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function set_geocode_setting(text,text);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function setsearchpathforinstall(character varying);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function state_extract(character varying);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function topology_load_tiger(character varying,character varying,character varying);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function utmzone(geometry);
+ ALTER EXTENSION postgis_tiger_geocoder ADD function zip_range(text,integer,integer);
+ ALTER EXTENSION postgis_tiger_geocoder ADD schema tiger_data;
+ ALTER EXTENSION postgis_tiger_geocoder ADD sequence addr_gid_seq;
+ ALTER EXTENSION postgis_tiger_geocoder ADD sequence addrfeat_gid_seq;
+ ALTER EXTENSION postgis_tiger_geocoder ADD sequence bg_gid_seq;
+ ALTER EXTENSION postgis_tiger_geocoder ADD sequence county_gid_seq;
+ ALTER EXTENSION postgis_tiger_geocoder ADD sequence cousub_gid_seq;
+ ALTER EXTENSION postgis_tiger_geocoder ADD sequence edges_gid_seq;
+ ALTER EXTENSION postgis_tiger_geocoder ADD sequence faces_gid_seq;
+ ALTER EXTENSION postgis_tiger_geocoder ADD sequence featnames_gid_seq;
+ ALTER EXTENSION postgis_tiger_geocoder ADD sequence pagc_gaz_id_seq;
+ ALTER EXTENSION postgis_tiger_geocoder ADD sequence pagc_lex_id_seq;
+ ALTER EXTENSION postgis_tiger_geocoder ADD sequence pagc_rules_id_seq;
+ ALTER EXTENSION postgis_tiger_geocoder ADD sequence place_gid_seq;
+ ALTER EXTENSION postgis_tiger_geocoder ADD sequence state_gid_seq;
+ ALTER EXTENSION postgis_tiger_geocoder ADD sequence tabblock_gid_seq;
+ ALTER EXTENSION postgis_tiger_geocoder ADD sequence tract_gid_seq;
+ ALTER EXTENSION postgis_tiger_geocoder ADD sequence zcta5_gid_seq;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table addr;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table addrfeat;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table bg;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table county;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table county_lookup;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table countysub_lookup;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table cousub;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table direction_lookup;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table edges;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table faces;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table featnames;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table geocode_settings;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table loader_lookuptables;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table loader_platform;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table loader_variables;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table pagc_gaz;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table pagc_lex;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table pagc_rules;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table place;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table place_lookup;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table secondary_unit_lookup;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table state;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table state_lookup;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table street_type_lookup;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table tabblock;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table tract;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table zcta5;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table zip_lookup;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table zip_lookup_all;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table zip_lookup_base;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table zip_state;
+ ALTER EXTENSION postgis_tiger_geocoder ADD table zip_state_loc;
+ ALTER EXTENSION postgis_tiger_geocoder ADD type norm_addy;
diff --git a/extensions/postgis_topology/Makefile b/extensions/postgis_topology/Makefile
deleted file mode 100644
index 5200c62..0000000
--- a/extensions/postgis_topology/Makefile
+++ /dev/null
@@ -1,104 +0,0 @@
-include ../upgradeable_versions.mk
-
-EXTENSION    = postgis_topology
-EXTVERSION    = 2.1.0
-MINORVERSION  = 2.1
-PGIS_MAJ_MIN=21
-GREP=/bin/grep
-
-MICRO_NUMBER  = $(shell echo $(EXTVERSION) | sed "s/[0-9]\.[0-9]\.\([0-9]*\)[a-zA-Z]*[0-9]*/\1/")
-PREREL_NUMBER = $(shell echo $(EXTVERSION) | \
-                        sed "s/[0-9]\.[0-9]\.\(.*\)/\1/" | \
-                        $(GREP) "[a-zA-Z]" | \
-                        sed "s/[0-9][a-zA-Z]\([0-9]*\)[a-zA-Z]*/\1/")
-MICRO_PREV    = $(shell if test "$(MICRO_NUMBER)x" != "x"; then expr $(MICRO_NUMBER) - 1; fi)
-PREREL_PREV   = $(shell if test "$(PREREL_NUMBER)x" != "x"; then expr $(PREREL_NUMBER) - 1; fi)
-
-PREREL_PREFIX = $(shell echo $(EXTVERSION) | \
-                        sed "s/[0-9]\.[0-9]\.\(.*\)/\1/" | \
-                        $(GREP) "[a-zA-Z]" | \
-                        sed "s/\([0-9][a-zA-Z]*\)[0-9]*/\1/")
-
-DATA         = $(filter-out $(wildcard sql/*--*.sql),$(wildcard sql/*.sql))
-
-PG_CONFIG    = /var/lib/jenkins/workspace/pg/rel/pg9.2w64/bin/pg_config
-
-PG91         = $(shell $(PG_CONFIG) --version | $(GREP) -qE " 8\.| 9\.0" && echo no || echo yes)
-SQL_BITS     = $(wildcard sql_bits/*.sql)
-EXTRA_CLEAN += sql/*.sql ${SQL_BITS}
-
-
-ifeq ($(PG91),yes)
-all: sql/$(EXTENSION)--$(EXTVERSION).sql sql/$(EXTENSION)--unpackaged--$(EXTVERSION).sql sql/$(EXTENSION)--$(EXTVERSION)--$(EXTVERSION)next.sql sql/$(EXTENSION)--$(EXTVERSION)next--$(EXTVERSION).sql sql_minor_upgrade
-
-sql/$(EXTENSION)--$(EXTVERSION).sql: sql/$(EXTENSION).sql
-	mkdir -p sql
-	cp $< $@
-	
-sql/$(EXTENSION).sql: sql_bits/topology.sql  sql_bits/mark_editable_objects.sql.in sql_bits/topology_comments.sql
-	mkdir -p sql
-	cat $^ > $@
-	
-#this is a cludge to allow upgrading from same SVN to same SVN
-sql/$(EXTENSION)--$(EXTVERSION)--$(EXTVERSION)next.sql: ../postgis_extension_helper.sql sql_bits/remove_from_extension.sql.in sql/topology_upgrade_minor.sql sql_bits/mark_editable_objects.sql.in sql_bits/topology_comments.sql ../postgis_extension_helper_uninstall.sql
-	cat $^ > $@
-sql/$(EXTENSION)--$(EXTVERSION)next--$(EXTVERSION).sql: ../postgis_extension_helper.sql sql_bits/remove_from_extension.sql.in sql/topology_upgrade_minor.sql sql_bits/mark_editable_objects.sql.in sql_bits/topology_comments.sql ../postgis_extension_helper_uninstall.sql
-	cat $^ > $@
-	
-#strip BEGIN/COMMIT since these are not allowed in extensions
-#strip CREATE SCHEMA since we force extension 
-# to create schema by setting schema to topology in control
-sql_bits/topology.sql: ../../topology/topology.sql
-	sed -e 's/BEGIN;//g' -e 's/COMMIT;//g' -e '/^CREATE SCHEMA/d;'  $< > $@
-	
-../../doc/topology_comments.sql:
-	$(MAKE) -C ../../doc comments
-	
-sql_bits/topology_comments.sql: ../../doc/topology_comments.sql
-	cp $< $@
-	
-#grep all lines that start with CREATE OR REPLACE FUNCTION, TRIGGER...
-#then replace CREATE OR REPLACE .. with ALTER EXTENSION..;
-#then remove default values and extra junk
-# sql/$(EXTENSION)--unpackaged--$(EXTVERSION).sql: ../../topology/topology.sql
-# 	sed -e '/^CREATE \(OR REPLACE\|TYPE\|TABLE\|VIEW\|CAST\)/!d;' \
-# 		-e 's/OR REPLACE//g' \
-# 		-e 's/CREATE\(.*\)/ALTER EXTENSION $(EXTENSION) ADD\1;/' \
-# 		-e 's/DEFAULT [\.0-9a-zA-Z]\+//g' \
-# 		-e 's/\(BEFORE\|WITH FUNCTION\)\(.*\)/;/' \
-# 		-e 's/[ \t]+;/;/' \
-# 		-e 's/(;/;/' \
-# 		-e 's/\\(;/;/' \
-# 		-e 's/;;/;/g' $< > $@
-
-#hardcode for now using 
-#the extensions/make_unpackaged.sql script form an install
-sql/$(EXTENSION)--unpackaged--$(EXTVERSION).sql: sql_bits/topology--unpackaged.sql.in
-	mkdir -p sql
-	cp $< $@
-
-#upgrade script should have everything but table, schema, type creation/alter
-#NOTE: we assume all object definitions end in ;
-#first expression deletes all non-removable objects defined on same line
-#second deletes all non-removable defined on multiple lines 
-#  the end of the body of object we assume ends in ;
-#aggregates are special 
-#they can be dropped but we need to remove
-#them from the extension first
-sql/topology_upgrade_minor.sql:  ../../topology/topology_upgrade_$(PGIS_MAJ_MIN)_minor.sql
-	 sed -e 's/BEGIN;//g' -e 's/COMMIT;//g' -e '/^CREATE SCHEMA/d;'  $< > $@
-	
-sql_minor_upgrade: ../postgis_extension_helper.sql sql_bits/remove_from_extension.sql.in sql/topology_upgrade_minor.sql sql_bits/mark_editable_objects.sql.in sql_bits/topology_comments.sql ../postgis_extension_helper_uninstall.sql
-	for OLD_VERSION in $(UPGRADEABLE_VERSIONS); do \
-  	  cat $^ > sql/$(EXTENSION)--$$OLD_VERSION--$(EXTVERSION).sql; \
-	done
-
-DATA = $(wildcard sql/*--*.sql)
-EXTRA_CLEAN += sql/$(EXTENSION)--$(EXTVERSION).sql sql/$(EXTENSION)--unpackaged--$(EXTVERSION).sql
-endif
-
-distclean: clean
-	rm Makefile
-
-PGXS := $(shell $(PG_CONFIG) --pgxs)
-include $(PGXS)
diff --git a/extensions/postgis_topology/postgis_topology.control b/extensions/postgis_topology/postgis_topology.control
index b761812..61b3c5e 100644
--- a/extensions/postgis_topology/postgis_topology.control
+++ b/extensions/postgis_topology/postgis_topology.control
@@ -1,6 +1,6 @@
 # postgis topology extension
 comment = 'PostGIS topology spatial types and functions'
-default_version = '2.1.0'
+default_version = '2.1.1'
 relocatable = false
 schema = topology
 requires = postgis
diff --git a/extensions/postgis_topology/sql_bits/topology--unpackaged.sql.in b/extensions/postgis_topology/sql_bits/topology--unpackaged.sql.in
index f2db770..99ba099 100644
--- a/extensions/postgis_topology/sql_bits/topology--unpackaged.sql.in
+++ b/extensions/postgis_topology/sql_bits/topology--unpackaged.sql.in
@@ -1,94 +1,94 @@
-ALTER EXTENSION postgis_topology ADD cast(topology.topogeometry as geometry);
-ALTER EXTENSION postgis_topology ADD function topology._asgmledge(integer,integer,integer,geometry,regclass,text,integer,integer,text,integer);
-ALTER EXTENSION postgis_topology ADD function topology._asgmlface(text,integer,regclass,text,integer,integer,text,integer);
-ALTER EXTENSION postgis_topology ADD function topology._asgmlnode(integer,geometry,text,integer,integer,text,integer);
-ALTER EXTENSION postgis_topology ADD function topology._st_addfacesplit(character varying,integer,integer,boolean);
-ALTER EXTENSION postgis_topology ADD function topology._st_adjacentedges(character varying,integer,integer);
-ALTER EXTENSION postgis_topology ADD function topology._st_mintolerance(character varying,geometry);
-ALTER EXTENSION postgis_topology ADD function topology._st_mintolerance(geometry);
-ALTER EXTENSION postgis_topology ADD function topology._st_remedgecheck(character varying,integer,integer,integer,integer);
-ALTER EXTENSION postgis_topology ADD function topology.addedge(character varying,geometry);
-ALTER EXTENSION postgis_topology ADD function topology.addface(character varying,geometry,boolean);
-ALTER EXTENSION postgis_topology ADD function topology.addnode(character varying,geometry);
-ALTER EXTENSION postgis_topology ADD function topology.addnode(character varying,geometry,boolean,boolean);
-ALTER EXTENSION postgis_topology ADD function topology.addtopogeometrycolumn(character varying,character varying,character varying,character varying,character varying);
-ALTER EXTENSION postgis_topology ADD function topology.addtopogeometrycolumn(character varying,character varying,character varying,character varying,character varying,integer);
-ALTER EXTENSION postgis_topology ADD function topology.addtosearchpath(character varying);
-ALTER EXTENSION postgis_topology ADD function topology.asgml(topology.topogeometry);
-ALTER EXTENSION postgis_topology ADD function topology.asgml(topology.topogeometry,regclass);
-ALTER EXTENSION postgis_topology ADD function topology.asgml(topology.topogeometry,regclass,text);
-ALTER EXTENSION postgis_topology ADD function topology.asgml(topology.topogeometry,text);
-ALTER EXTENSION postgis_topology ADD function topology.asgml(topology.topogeometry,text,integer,integer);
-ALTER EXTENSION postgis_topology ADD function topology.asgml(topology.topogeometry,text,integer,integer,regclass);
-ALTER EXTENSION postgis_topology ADD function topology.asgml(topology.topogeometry,text,integer,integer,regclass,text);
-ALTER EXTENSION postgis_topology ADD function topology.asgml(topology.topogeometry,text,integer,integer,regclass,text,integer);
-ALTER EXTENSION postgis_topology ADD function topology.astopojson(topology.topogeometry,regclass);
-ALTER EXTENSION postgis_topology ADD function topology.cleartopogeom(topology.topogeometry);
-ALTER EXTENSION postgis_topology ADD function topology.copytopology(character varying,character varying);
-ALTER EXTENSION postgis_topology ADD function topology.createtopogeom(character varying,integer,integer);
-ALTER EXTENSION postgis_topology ADD function topology.createtopogeom(character varying,integer,integer,topology.topoelementarray);
-ALTER EXTENSION postgis_topology ADD function topology.createtopology(character varying);
-ALTER EXTENSION postgis_topology ADD function topology.createtopology(character varying,integer);
-ALTER EXTENSION postgis_topology ADD function topology.createtopology(character varying,integer,double precision);
-ALTER EXTENSION postgis_topology ADD function topology.createtopology(character varying,integer,double precision,boolean);
-ALTER EXTENSION postgis_topology ADD function topology.droptopogeometrycolumn(character varying,character varying,character varying);
-ALTER EXTENSION postgis_topology ADD function topology.droptopology(character varying);
-ALTER EXTENSION postgis_topology ADD function topology.equals(topology.topogeometry,topology.topogeometry);
-ALTER EXTENSION postgis_topology ADD function topology.geometry(topology.topogeometry);
-ALTER EXTENSION postgis_topology ADD function topology.geometrytype(topology.topogeometry);
-ALTER EXTENSION postgis_topology ADD function topology.getedgebypoint(character varying,geometry,double precision);
-ALTER EXTENSION postgis_topology ADD function topology.getfacebypoint(character varying,geometry,double precision);
-ALTER EXTENSION postgis_topology ADD function topology.getnodebypoint(character varying,geometry,double precision);
-ALTER EXTENSION postgis_topology ADD function topology.getnodeedges(character varying,integer);
-ALTER EXTENSION postgis_topology ADD function topology.getringedges(character varying,integer,integer);
-ALTER EXTENSION postgis_topology ADD function topology.gettopogeomelementarray(character varying,integer,integer);
-ALTER EXTENSION postgis_topology ADD function topology.gettopogeomelementarray(topology.topogeometry);
-ALTER EXTENSION postgis_topology ADD function topology.gettopogeomelements(character varying,integer,integer);
-ALTER EXTENSION postgis_topology ADD function topology.gettopogeomelements(topology.topogeometry);
-ALTER EXTENSION postgis_topology ADD function topology.gettopologyid(character varying);
-ALTER EXTENSION postgis_topology ADD function topology.gettopologyname(integer);
-ALTER EXTENSION postgis_topology ADD function topology.gettopologysrid(character varying);
-ALTER EXTENSION postgis_topology ADD function topology.intersects(topology.topogeometry,topology.topogeometry);
-ALTER EXTENSION postgis_topology ADD function topology.layertrigger();
-ALTER EXTENSION postgis_topology ADD function topology.polygonize(character varying);
-ALTER EXTENSION postgis_topology ADD function topology.postgis_topology_scripts_installed();
-ALTER EXTENSION postgis_topology ADD function topology.relationtrigger();
-ALTER EXTENSION postgis_topology ADD function topology.st_addedgemodface(character varying,integer,integer,geometry);
-ALTER EXTENSION postgis_topology ADD function topology.st_addedgenewfaces(character varying,integer,integer,geometry);
-ALTER EXTENSION postgis_topology ADD function topology.st_addisoedge(character varying,integer,integer,geometry);
-ALTER EXTENSION postgis_topology ADD function topology.st_addisonode(character varying,integer,geometry);
-ALTER EXTENSION postgis_topology ADD function topology.st_changeedgegeom(character varying,integer,geometry);
-ALTER EXTENSION postgis_topology ADD function topology.st_createtopogeo(character varying,geometry);
-ALTER EXTENSION postgis_topology ADD function topology.st_geometrytype(topology.topogeometry);
-ALTER EXTENSION postgis_topology ADD function topology.st_getfaceedges(character varying,integer);
-ALTER EXTENSION postgis_topology ADD function topology.st_getfacegeometry(character varying,integer);
-ALTER EXTENSION postgis_topology ADD function topology.st_inittopogeo(character varying);
-ALTER EXTENSION postgis_topology ADD function topology.st_modedgeheal(character varying,integer,integer);
-ALTER EXTENSION postgis_topology ADD function topology.st_modedgesplit(character varying,integer,geometry);
-ALTER EXTENSION postgis_topology ADD function topology.st_moveisonode(character varying,integer,geometry);
-ALTER EXTENSION postgis_topology ADD function topology.st_newedgeheal(character varying,integer,integer);
-ALTER EXTENSION postgis_topology ADD function topology.st_newedgessplit(character varying,integer,geometry);
-ALTER EXTENSION postgis_topology ADD function topology.st_remedgemodface(character varying,integer);
-ALTER EXTENSION postgis_topology ADD function topology.st_remedgenewface(character varying,integer);
-ALTER EXTENSION postgis_topology ADD function topology.st_remisonode(character varying,integer);
-ALTER EXTENSION postgis_topology ADD function topology.st_removeisoedge(character varying,integer);
-ALTER EXTENSION postgis_topology ADD function topology.st_removeisonode(character varying,integer);
-ALTER EXTENSION postgis_topology ADD function topology.st_simplify(topology.topogeometry,double precision);
-ALTER EXTENSION postgis_topology ADD function topology.topoelementarray_agg(topology.topoelement);
-ALTER EXTENSION postgis_topology ADD function topology.topoelementarray_append(topology.topoelementarray,topology.topoelement);
-ALTER EXTENSION postgis_topology ADD function topology.topogeo_addgeometry(character varying,geometry,double precision);
-ALTER EXTENSION postgis_topology ADD function topology.topogeo_addlinestring(character varying,geometry,double precision);
-ALTER EXTENSION postgis_topology ADD function topology.topogeo_addpoint(character varying,geometry,double precision);
-ALTER EXTENSION postgis_topology ADD function topology.topogeo_addpolygon(character varying,geometry,double precision);
-ALTER EXTENSION postgis_topology ADD function topology.topologysummary(character varying);
-ALTER EXTENSION postgis_topology ADD function topology.totopogeom(geometry,character varying,integer,double precision);
-ALTER EXTENSION postgis_topology ADD function topology.totopogeom(geometry,topology.topogeometry,double precision);
-ALTER EXTENSION postgis_topology ADD function topology.validatetopology(character varying);
-ALTER EXTENSION postgis_topology ADD sequence topology.topology_id_seq;
-ALTER EXTENSION postgis_topology ADD table topology.layer;
-ALTER EXTENSION postgis_topology ADD table topology.topology;
-ALTER EXTENSION postgis_topology ADD type topology.getfaceedges_returntype;
-ALTER EXTENSION postgis_topology ADD type topology.topoelement;
-ALTER EXTENSION postgis_topology ADD type topology.topoelementarray;
-ALTER EXTENSION postgis_topology ADD type topology.topogeometry;
-ALTER EXTENSION postgis_topology ADD type topology.validatetopology_returntype;
+ ALTER EXTENSION postgis_topology ADD cast(topology.topogeometry as geometry);
+ ALTER EXTENSION postgis_topology ADD function topology._asgmledge(integer,integer,integer,geometry,regclass,text,integer,integer,text,integer);
+ ALTER EXTENSION postgis_topology ADD function topology._asgmlface(text,integer,regclass,text,integer,integer,text,integer);
+ ALTER EXTENSION postgis_topology ADD function topology._asgmlnode(integer,geometry,text,integer,integer,text,integer);
+ ALTER EXTENSION postgis_topology ADD function topology._st_addfacesplit(character varying,integer,integer,boolean);
+ ALTER EXTENSION postgis_topology ADD function topology._st_adjacentedges(character varying,integer,integer);
+ ALTER EXTENSION postgis_topology ADD function topology._st_mintolerance(character varying,geometry);
+ ALTER EXTENSION postgis_topology ADD function topology._st_mintolerance(geometry);
+ ALTER EXTENSION postgis_topology ADD function topology._st_remedgecheck(character varying,integer,integer,integer,integer);
+ ALTER EXTENSION postgis_topology ADD function topology.addedge(character varying,geometry);
+ ALTER EXTENSION postgis_topology ADD function topology.addface(character varying,geometry,boolean);
+ ALTER EXTENSION postgis_topology ADD function topology.addnode(character varying,geometry);
+ ALTER EXTENSION postgis_topology ADD function topology.addnode(character varying,geometry,boolean,boolean);
+ ALTER EXTENSION postgis_topology ADD function topology.addtopogeometrycolumn(character varying,character varying,character varying,character varying,character varying);
+ ALTER EXTENSION postgis_topology ADD function topology.addtopogeometrycolumn(character varying,character varying,character varying,character varying,character varying,integer);
+ ALTER EXTENSION postgis_topology ADD function topology.addtosearchpath(character varying);
+ ALTER EXTENSION postgis_topology ADD function topology.asgml(topology.topogeometry);
+ ALTER EXTENSION postgis_topology ADD function topology.asgml(topology.topogeometry,regclass);
+ ALTER EXTENSION postgis_topology ADD function topology.asgml(topology.topogeometry,regclass,text);
+ ALTER EXTENSION postgis_topology ADD function topology.asgml(topology.topogeometry,text);
+ ALTER EXTENSION postgis_topology ADD function topology.asgml(topology.topogeometry,text,integer,integer);
+ ALTER EXTENSION postgis_topology ADD function topology.asgml(topology.topogeometry,text,integer,integer,regclass);
+ ALTER EXTENSION postgis_topology ADD function topology.asgml(topology.topogeometry,text,integer,integer,regclass,text);
+ ALTER EXTENSION postgis_topology ADD function topology.asgml(topology.topogeometry,text,integer,integer,regclass,text,integer);
+ ALTER EXTENSION postgis_topology ADD function topology.astopojson(topology.topogeometry,regclass);
+ ALTER EXTENSION postgis_topology ADD function topology.cleartopogeom(topology.topogeometry);
+ ALTER EXTENSION postgis_topology ADD function topology.copytopology(character varying,character varying);
+ ALTER EXTENSION postgis_topology ADD function topology.createtopogeom(character varying,integer,integer);
+ ALTER EXTENSION postgis_topology ADD function topology.createtopogeom(character varying,integer,integer,topology.topoelementarray);
+ ALTER EXTENSION postgis_topology ADD function topology.createtopology(character varying);
+ ALTER EXTENSION postgis_topology ADD function topology.createtopology(character varying,integer);
+ ALTER EXTENSION postgis_topology ADD function topology.createtopology(character varying,integer,double precision);
+ ALTER EXTENSION postgis_topology ADD function topology.createtopology(character varying,integer,double precision,boolean);
+ ALTER EXTENSION postgis_topology ADD function topology.droptopogeometrycolumn(character varying,character varying,character varying);
+ ALTER EXTENSION postgis_topology ADD function topology.droptopology(character varying);
+ ALTER EXTENSION postgis_topology ADD function topology.equals(topology.topogeometry,topology.topogeometry);
+ ALTER EXTENSION postgis_topology ADD function topology.geometry(topology.topogeometry);
+ ALTER EXTENSION postgis_topology ADD function topology.geometrytype(topology.topogeometry);
+ ALTER EXTENSION postgis_topology ADD function topology.getedgebypoint(character varying,geometry,double precision);
+ ALTER EXTENSION postgis_topology ADD function topology.getfacebypoint(character varying,geometry,double precision);
+ ALTER EXTENSION postgis_topology ADD function topology.getnodebypoint(character varying,geometry,double precision);
+ ALTER EXTENSION postgis_topology ADD function topology.getnodeedges(character varying,integer);
+ ALTER EXTENSION postgis_topology ADD function topology.getringedges(character varying,integer,integer);
+ ALTER EXTENSION postgis_topology ADD function topology.gettopogeomelementarray(character varying,integer,integer);
+ ALTER EXTENSION postgis_topology ADD function topology.gettopogeomelementarray(topology.topogeometry);
+ ALTER EXTENSION postgis_topology ADD function topology.gettopogeomelements(character varying,integer,integer);
+ ALTER EXTENSION postgis_topology ADD function topology.gettopogeomelements(topology.topogeometry);
+ ALTER EXTENSION postgis_topology ADD function topology.gettopologyid(character varying);
+ ALTER EXTENSION postgis_topology ADD function topology.gettopologyname(integer);
+ ALTER EXTENSION postgis_topology ADD function topology.gettopologysrid(character varying);
+ ALTER EXTENSION postgis_topology ADD function topology.intersects(topology.topogeometry,topology.topogeometry);
+ ALTER EXTENSION postgis_topology ADD function topology.layertrigger();
+ ALTER EXTENSION postgis_topology ADD function topology.polygonize(character varying);
+ ALTER EXTENSION postgis_topology ADD function topology.postgis_topology_scripts_installed();
+ ALTER EXTENSION postgis_topology ADD function topology.relationtrigger();
+ ALTER EXTENSION postgis_topology ADD function topology.st_addedgemodface(character varying,integer,integer,geometry);
+ ALTER EXTENSION postgis_topology ADD function topology.st_addedgenewfaces(character varying,integer,integer,geometry);
+ ALTER EXTENSION postgis_topology ADD function topology.st_addisoedge(character varying,integer,integer,geometry);
+ ALTER EXTENSION postgis_topology ADD function topology.st_addisonode(character varying,integer,geometry);
+ ALTER EXTENSION postgis_topology ADD function topology.st_changeedgegeom(character varying,integer,geometry);
+ ALTER EXTENSION postgis_topology ADD function topology.st_createtopogeo(character varying,geometry);
+ ALTER EXTENSION postgis_topology ADD function topology.st_geometrytype(topology.topogeometry);
+ ALTER EXTENSION postgis_topology ADD function topology.st_getfaceedges(character varying,integer);
+ ALTER EXTENSION postgis_topology ADD function topology.st_getfacegeometry(character varying,integer);
+ ALTER EXTENSION postgis_topology ADD function topology.st_inittopogeo(character varying);
+ ALTER EXTENSION postgis_topology ADD function topology.st_modedgeheal(character varying,integer,integer);
+ ALTER EXTENSION postgis_topology ADD function topology.st_modedgesplit(character varying,integer,geometry);
+ ALTER EXTENSION postgis_topology ADD function topology.st_moveisonode(character varying,integer,geometry);
+ ALTER EXTENSION postgis_topology ADD function topology.st_newedgeheal(character varying,integer,integer);
+ ALTER EXTENSION postgis_topology ADD function topology.st_newedgessplit(character varying,integer,geometry);
+ ALTER EXTENSION postgis_topology ADD function topology.st_remedgemodface(character varying,integer);
+ ALTER EXTENSION postgis_topology ADD function topology.st_remedgenewface(character varying,integer);
+ ALTER EXTENSION postgis_topology ADD function topology.st_remisonode(character varying,integer);
+ ALTER EXTENSION postgis_topology ADD function topology.st_removeisoedge(character varying,integer);
+ ALTER EXTENSION postgis_topology ADD function topology.st_removeisonode(character varying,integer);
+ ALTER EXTENSION postgis_topology ADD function topology.st_simplify(topology.topogeometry,double precision);
+ ALTER EXTENSION postgis_topology ADD function topology.topoelementarray_agg(topology.topoelement);
+ ALTER EXTENSION postgis_topology ADD function topology.topoelementarray_append(topology.topoelementarray,topology.topoelement);
+ ALTER EXTENSION postgis_topology ADD function topology.topogeo_addgeometry(character varying,geometry,double precision);
+ ALTER EXTENSION postgis_topology ADD function topology.topogeo_addlinestring(character varying,geometry,double precision);
+ ALTER EXTENSION postgis_topology ADD function topology.topogeo_addpoint(character varying,geometry,double precision);
+ ALTER EXTENSION postgis_topology ADD function topology.topogeo_addpolygon(character varying,geometry,double precision);
+ ALTER EXTENSION postgis_topology ADD function topology.topologysummary(character varying);
+ ALTER EXTENSION postgis_topology ADD function topology.totopogeom(geometry,character varying,integer,double precision);
+ ALTER EXTENSION postgis_topology ADD function topology.totopogeom(geometry,topology.topogeometry,double precision);
+ ALTER EXTENSION postgis_topology ADD function topology.validatetopology(character varying);
+ ALTER EXTENSION postgis_topology ADD sequence topology.topology_id_seq;
+ ALTER EXTENSION postgis_topology ADD table topology.layer;
+ ALTER EXTENSION postgis_topology ADD table topology.topology;
+ ALTER EXTENSION postgis_topology ADD type topology.getfaceedges_returntype;
+ ALTER EXTENSION postgis_topology ADD type topology.topoelement;
+ ALTER EXTENSION postgis_topology ADD type topology.topoelementarray;
+ ALTER EXTENSION postgis_topology ADD type topology.topogeometry;
+ ALTER EXTENSION postgis_topology ADD type topology.validatetopology_returntype;
diff --git a/extensions/upgradeable_versions.mk b/extensions/upgradeable_versions.mk
index 7754531..e786e14 100644
--- a/extensions/upgradeable_versions.mk
+++ b/extensions/upgradeable_versions.mk
@@ -6,4 +6,5 @@ UPGRADEABLE_VERSIONS = \
     2.0.4 \
 	2.1.0rc1 \
 	2.1.0rc2 \
-	2.1.0rc3
+	2.1.0rc3 \
+	2.1.0
diff --git a/extras/tiger_geocoder/tiger_2011/create_geocode.bat b/extras/tiger_geocoder/tiger_2011/create_geocode.bat
index dbb81bf..67396ed 100755
--- a/extras/tiger_geocoder/tiger_2011/create_geocode.bat
+++ b/extras/tiger_geocoder/tiger_2011/create_geocode.bat
@@ -1,4 +1,4 @@
-REM $Id: create_geocode.bat 11244 2013-04-02 20:46:12Z robe $
+REM $Id: create_geocode.bat 11969 2013-09-23 04:36:25Z robe $
 set PGPORT=5432
 set PGHOST=localhost
 set PGUSER=postgres
@@ -15,7 +15,7 @@ REM "%PGBIN%\psql" -d "%THEDB%" -c "ALTER DATABASE %THEDB% SET search_path=publi
 "%PGBIN%\psql"  -d "%THEDB%" -f "create_geocode.sql"
 REM "%PGBIN%\psql"  -d "%THEDB%" -f "tables\lookup_tables_2011.sql"
 "%PGBIN%\psql"  -d "%THEDB%" -c "CREATE SCHEMA tiger_data;"
-"%PGBIN%\psql"  -d "%THEDB%" -f "tiger_loader_2012.sql;"
+"%PGBIN%\psql"  -d "%THEDB%" -f "tiger_loader_2013.sql;"
 "%PGBIN%\psql"  -d "%THEDB%" -f "census_loader.sql;"
 "%PGBIN%\psql"  -d "%THEDB%" -c "SELECT tiger.create_census_base_tables();"
 "%PGBIN%\psql"  -d "%THEDB%" -c "CREATE INDEX idx_tiger_addr_least_address ON addr USING btree (least_hn(fromhn,tohn));"
diff --git a/extras/tiger_geocoder/tiger_2011/create_geocode.sh b/extras/tiger_geocoder/tiger_2011/create_geocode.sh
index f8e8d34..112694f 100755
--- a/extras/tiger_geocoder/tiger_2011/create_geocode.sh
+++ b/extras/tiger_geocoder/tiger_2011/create_geocode.sh
@@ -1,5 +1,5 @@
 #!/bin/bash
-# $Id: create_geocode.sh 10634 2012-11-03 18:12:57Z robe $
+# $Id: create_geocode.sh 11969 2013-09-23 04:36:25Z robe $
 PGPORT=5432
 PGHOST=localhost
 PGUSER=postgres
@@ -16,7 +16,7 @@ ${PSQL_CMD} -d "${THEDB}" -c "CREATE SCHEMA tiger"
 #${PSQL_CMD} -d "${THEDB}" -f "tables/lookup_tables_2010.sql"
 ${PSQL_CMD} -d "${THEDB}" -c "CREATE SCHEMA tiger_data"
 ${PSQL_CMD} -d "${THEDB}" -f "create_geocode.sql"
-${PSQL_CMD} -d "${THEDB}" -f "tiger_loader_2012.sql"
+${PSQL_CMD} -d "${THEDB}" -f "tiger_loader_2013.sql"
 ${PSQL_CMD}  -d "${THEDB}" -f "census_loader.sql"
 ${PSQL_CMD}  -d "${THEDB}" -c "SELECT tiger.create_census_base_tables();"
 ${PSQL_CMD} -d "${THEDB}" -c "CREATE INDEX idx_tiger_addr_least_address ON addr USING btree (least_hn(fromhn,tohn));"
\ No newline at end of file
diff --git a/extras/tiger_geocoder/tiger_2011/tiger_loader_2011.sql b/extras/tiger_geocoder/tiger_2011/tiger_loader_2011.sql
index a3d80ea..3a854da 100644
--- a/extras/tiger_geocoder/tiger_2011/tiger_loader_2011.sql
+++ b/extras/tiger_geocoder/tiger_2011/tiger_loader_2011.sql
@@ -1,4 +1,4 @@
---$Id: tiger_loader_2011.sql 10309 2012-09-20 11:54:44Z robe $
+--$Id: tiger_loader_2011.sql 11993 2013-09-30 20:26:04Z robe $
 --
 -- PostGIS - Spatial Types for PostgreSQL
 -- http://www.postgis.org
@@ -80,7 +80,7 @@ cd ${staging_fold}
 %PSQL% -c "CREATE SCHEMA ${staging_schema};"
 for /r %%z in (*.zip) do %UNZIPTOOL% e %%z  -o%TMPDIR% 
 cd %TMPDIR%', E'%PSQL%', E'\\', E'%SHP2PGSQL%', 'set ', 
-'for /r %%z in (*${table_name}.dbf) do (${loader}  -s 4269 -g the_geom -W "latin1" %%z tiger_staging.${state_abbrev}_${table_name} | ${psql} & ${psql} -c "SELECT loader_load_staged_data(lower(''${state_abbrev}_${table_name}''), lower(''${state_abbrev}_${lookup_name}''));")'
+'for /r %%z in (*${table_name}.dbf) do (${loader} -D -s 4269 -g the_geom -W "latin1" %%z tiger_staging.${state_abbrev}_${table_name} | ${psql} & ${psql} -c "SELECT loader_load_staged_data(lower(''${state_abbrev}_${table_name}''), lower(''${state_abbrev}_${lookup_name}''));")'
 );
 
 
@@ -106,7 +106,7 @@ for z in *.zip; do $UNZIPTOOL -o -d $TMPDIR $z; done
 for z in */*.zip; do $UNZIPTOOL -o -d $TMPDIR $z; done
 cd $TMPDIR;\n', '${PSQL}', '/', '${SHP2PGSQL}', 'export ',
 'for z in *${table_name}.dbf; do 
-${loader} -s 4269 -g the_geom -W "latin1" $z ${staging_schema}.${state_abbrev}_${table_name} | ${psql} 
+${loader} -D -s 4269 -g the_geom -W "latin1" $z ${staging_schema}.${state_abbrev}_${table_name} | ${psql} 
 ${PSQL} -c "SELECT loader_load_staged_data(lower(''${state_abbrev}_${table_name}''), lower(''${state_abbrev}_${lookup_name}''));"
 done');
 
diff --git a/extras/tiger_geocoder/tiger_2011/tiger_loader_2012.sql b/extras/tiger_geocoder/tiger_2011/tiger_loader_2012.sql
index 5b95576..565b8d1 100644
--- a/extras/tiger_geocoder/tiger_2011/tiger_loader_2012.sql
+++ b/extras/tiger_geocoder/tiger_2011/tiger_loader_2012.sql
@@ -1,4 +1,4 @@
---$Id: tiger_loader_2012.sql 11750 2013-08-08 22:31:02Z robe $
+--$Id: tiger_loader_2012.sql 11993 2013-09-30 20:26:04Z robe $
 --
 -- PostGIS - Spatial Types for PostgreSQL
 -- http://www.postgis.org
@@ -12,8 +12,7 @@
 -- Author: Regina Obe and Leo Hsu <lr at pcorp.us>
 --  
 -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
---SET search_path TO tiger,public;
---ALTER TABLE tiger.faces RENAME cd111fp  TO cdfp;
+-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 SELECT tiger.SetSearchPathForInstall('tiger');
 BEGIN;
 CREATE OR REPLACE FUNCTION loader_macro_replace(param_input text, param_keys text[],param_values text[]) 
@@ -56,17 +55,33 @@ SELECT array_to_string(array_agg('DROP TABLE ' || quote_ident(table_schema) || '
 $$
   LANGUAGE sql VOLATILE;
   
+DO 
+$$
+BEGIN
+  IF NOT EXISTS (SELECT * FROM information_schema.tables WHERE table_name = 'loader_platform' AND table_schema = 'tiger') THEN
+      CREATE TABLE loader_platform(os varchar(50) PRIMARY KEY, declare_sect text, pgbin text, wget text, unzip_command text, psql text, path_sep text, loader text, environ_set_command text, county_process_command text);     
+  END IF;   
+END 
+$$ LANGUAGE 'plpgsql';
+
+DO 
+$$
+BEGIN
+  IF NOT EXISTS (SELECT * FROM information_schema.schemata WHERE schema_name = 'tiger_data') THEN
+       CREATE SCHEMA tiger_data;     
+  END IF;   
+END 
+$$ LANGUAGE 'plpgsql';
 
 
-DROP TABLE IF EXISTS loader_platform;
-CREATE TABLE loader_platform(os varchar(50) PRIMARY KEY, declare_sect text, pgbin text, wget text, unzip_command text, psql text, path_sep text, loader text, environ_set_command text, county_process_command text);
+DELETE FROM loader_platform WHERE os IN ('sh', 'windows');
 GRANT SELECT ON TABLE loader_platform TO public;
 INSERT INTO loader_platform(os, wget, pgbin, declare_sect, unzip_command, psql,path_sep,loader, environ_set_command, county_process_command)
 VALUES('windows', '%WGETTOOL%', '%PGBIN%', 
 E'set TMPDIR=${staging_fold}\\temp\\
 set UNZIPTOOL="C:\\Program Files\\7-Zip\\7z.exe"
 set WGETTOOL="C:\\wget\\wget.exe"
-set PGBIN=C:\\Program Files\\PostgreSQL\\8.4\\bin\\
+set PGBIN=C:\\Program Files\\PostgreSQL\\9.2\\bin\\
 set PGPORT=5432
 set PGHOST=localhost
 set PGUSER=postgres
@@ -77,11 +92,11 @@ set SHP2PGSQL="%PGBIN%shp2pgsql"
 cd ${staging_fold}
 ', E'del %TMPDIR%\\*.* /Q
 %PSQL% -c "DROP SCHEMA IF EXISTS ${staging_schema} CASCADE;"
-%PSQL% -c "CREATE SCHEMA IF NOT EXISTS ${staging_schema};"
-%PSQL% -c "CREATE SCHEMA IF NOT EXISTS ${data_schema};"
+%PSQL% -c "CREATE SCHEMA ${staging_schema};"
+%PSQL% -c "DO language ''plpgsql'' $$ BEGIN IF NOT EXISTS (SELECT * FROM information_schema.schemata WHERE schema_name = ''${data_schema}'' ) THEN CREATE SCHEMA ${data_schema}; END IF;  END $$"
 for /r %%z in (*.zip) do %UNZIPTOOL% e %%z  -o%TMPDIR% 
 cd %TMPDIR%', E'%PSQL%', E'\\', E'%SHP2PGSQL%', 'set ', 
-'for /r %%z in (*${table_name}.dbf) do (${loader}  -s 4269 -g the_geom -W "latin1" %%z tiger_staging.${state_abbrev}_${table_name} | ${psql} & ${psql} -c "SELECT loader_load_staged_data(lower(''${state_abbrev}_${table_name}''), lower(''${state_abbrev}_${lookup_name}''));")'
+'for /r %%z in (*${table_name}.dbf) do (${loader} -D -s 4269 -g the_geom -W "latin1" %%z tiger_staging.${state_abbrev}_${table_name} | ${psql} & ${psql} -c "SELECT loader_load_staged_data(lower(''${state_abbrev}_${table_name}''), lower(''${state_abbrev}_${lookup_name}''));")'
 );
 
 
@@ -101,26 +116,33 @@ SHP2PGSQL=${PGBIN}/shp2pgsql
 cd ${staging_fold}
 ', E'rm -f ${TMPDIR}/*.*
 ${PSQL} -c "DROP SCHEMA IF EXISTS ${staging_schema} CASCADE;"
-${PSQL} -c "CREATE SCHEMA IF NOT EXISTS ${staging_schema};"
-${PSQL} -c "CREATE SCHEMA IF NOT EXISTS ${data_schema};"
-
+${PSQL} -c "CREATE SCHEMA ${staging_schema};"
 for z in *.zip; do $UNZIPTOOL -o -d $TMPDIR $z; done
 for z in */*.zip; do $UNZIPTOOL -o -d $TMPDIR $z; done
 cd $TMPDIR;\n', '${PSQL}', '/', '${SHP2PGSQL}', 'export ',
 'for z in *${table_name}.dbf; do 
-${loader} -s 4269 -g the_geom -W "latin1" $z ${staging_schema}.${state_abbrev}_${table_name} | ${psql} 
+${loader} -D -s 4269 -g the_geom -W "latin1" $z ${staging_schema}.${state_abbrev}_${table_name} | ${psql} 
 ${PSQL} -c "SELECT loader_load_staged_data(lower(''${state_abbrev}_${table_name}''), lower(''${state_abbrev}_${lookup_name}''));"
 done');
 
 -- variables table
-DROP TABLE IF EXISTS loader_variables;
-CREATE TABLE loader_variables(tiger_year varchar(4) PRIMARY KEY, website_root text, staging_fold text, data_schema text, staging_schema text);
+DO $$
+BEGIN
+  IF NOT EXISTS (SELECT * FROM information_schema.tables WHERE table_name = 'loader_variables' AND table_schema = 'tiger') THEN
+      CREATE TABLE loader_variables(tiger_year varchar(4) PRIMARY KEY, website_root text, staging_fold text, data_schema text, staging_schema text);    
+  END IF;   
+END 
+$$ LANGUAGE 'plpgsql';
+
+TRUNCATE TABLE loader_variables;
 INSERT INTO loader_variables(tiger_year, website_root , staging_fold, data_schema, staging_schema)
 	VALUES('2012', 'ftp://ftp2.census.gov/geo/tiger/TIGER2012', '/gisdata', 'tiger_data', 'tiger_staging');
 GRANT SELECT ON TABLE loader_variables TO public;
 
-DROP TABLE IF EXISTS loader_lookuptables;
-CREATE TABLE loader_lookuptables(process_order integer NOT NULL DEFAULT 1000, 
+DO $$
+BEGIN
+  IF NOT EXISTS (SELECT * FROM information_schema.tables WHERE table_name = 'loader_lookuptables' AND table_schema = 'tiger') THEN
+   CREATE TABLE loader_lookuptables(process_order integer NOT NULL DEFAULT 1000, 
 		lookup_name text primary key, 
 		table_name text, single_mode boolean NOT NULL DEFAULT true, 
 		load boolean NOT NULL DEFAULT true, 
@@ -129,7 +151,13 @@ CREATE TABLE loader_lookuptables(process_order integer NOT NULL DEFAULT 1000,
 		level_nation boolean NOT NULL DEFAULT false,
 		post_load_process text, single_geom_mode boolean DEFAULT false, 
 		insert_mode char(1) NOT NULL DEFAULT 'c', 
-		pre_load_process text,columns_exclude text[], website_root_override text);
+		pre_load_process text,columns_exclude text[], website_root_override text);   
+  END IF;   
+END 
+$$ LANGUAGE 'plpgsql';
+
+TRUNCATE TABLE loader_lookuptables;
+
 		
 GRANT SELECT ON TABLE loader_lookuptables TO public;
 		
@@ -367,6 +395,7 @@ CREATE OR REPLACE FUNCTION loader_load_staged_data(param_staging_table text, par
 RETURNS integer AS
 $$
 -- exclude this set list of columns if no exclusion list is specified 
+
    SELECT  loader_load_staged_data($1, $2,(SELECT COALESCE(columns_exclude,ARRAY['gid', 'geoid','cpi','suffix1ce', 'statefp00', 'statefp10', 'countyfp00','countyfp10'
    ,'tractce00','tractce10', 'blkgrpce00', 'blkgrpce10', 'blockce00', 'blockce10'
       , 'cousubfp00', 'submcdfp00', 'conctyfp00', 'placefp00', 'aiannhfp00', 'aiannhce00', 
diff --git a/extras/tiger_geocoder/tiger_2011/tiger_loader_2012.sql b/extras/tiger_geocoder/tiger_2011/tiger_loader_2013.sql
similarity index 92%
copy from extras/tiger_geocoder/tiger_2011/tiger_loader_2012.sql
copy to extras/tiger_geocoder/tiger_2011/tiger_loader_2013.sql
index 5b95576..9773025 100644
--- a/extras/tiger_geocoder/tiger_2011/tiger_loader_2012.sql
+++ b/extras/tiger_geocoder/tiger_2011/tiger_loader_2013.sql
@@ -1,4 +1,4 @@
---$Id: tiger_loader_2012.sql 11750 2013-08-08 22:31:02Z robe $
+--$Id: tiger_loader_2012.sql 11850 2013-08-22 04:36:09Z robe $
 --
 -- PostGIS - Spatial Types for PostgreSQL
 -- http://www.postgis.org
@@ -12,8 +12,6 @@
 -- Author: Regina Obe and Leo Hsu <lr at pcorp.us>
 --  
 -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
---SET search_path TO tiger,public;
---ALTER TABLE tiger.faces RENAME cd111fp  TO cdfp;
 SELECT tiger.SetSearchPathForInstall('tiger');
 BEGIN;
 CREATE OR REPLACE FUNCTION loader_macro_replace(param_input text, param_keys text[],param_values text[]) 
@@ -56,17 +54,33 @@ SELECT array_to_string(array_agg('DROP TABLE ' || quote_ident(table_schema) || '
 $$
   LANGUAGE sql VOLATILE;
   
+DO 
+$$
+BEGIN
+  IF NOT EXISTS (SELECT * FROM information_schema.tables WHERE table_name = 'loader_platform' AND table_schema = 'tiger') THEN
+      CREATE TABLE loader_platform(os varchar(50) PRIMARY KEY, declare_sect text, pgbin text, wget text, unzip_command text, psql text, path_sep text, loader text, environ_set_command text, county_process_command text);     
+  END IF;   
+END 
+$$ LANGUAGE 'plpgsql';
+
+DO 
+$$
+BEGIN
+  IF NOT EXISTS (SELECT * FROM information_schema.schemata WHERE schema_name = 'tiger_data') THEN
+       CREATE SCHEMA tiger_data;     
+  END IF;   
+END 
+$$ LANGUAGE 'plpgsql';
 
 
-DROP TABLE IF EXISTS loader_platform;
-CREATE TABLE loader_platform(os varchar(50) PRIMARY KEY, declare_sect text, pgbin text, wget text, unzip_command text, psql text, path_sep text, loader text, environ_set_command text, county_process_command text);
+DELETE FROM loader_platform WHERE os IN ('sh', 'windows');
 GRANT SELECT ON TABLE loader_platform TO public;
 INSERT INTO loader_platform(os, wget, pgbin, declare_sect, unzip_command, psql,path_sep,loader, environ_set_command, county_process_command)
 VALUES('windows', '%WGETTOOL%', '%PGBIN%', 
 E'set TMPDIR=${staging_fold}\\temp\\
 set UNZIPTOOL="C:\\Program Files\\7-Zip\\7z.exe"
 set WGETTOOL="C:\\wget\\wget.exe"
-set PGBIN=C:\\Program Files\\PostgreSQL\\8.4\\bin\\
+set PGBIN=C:\\Program Files\\PostgreSQL\\9.2\\bin\\
 set PGPORT=5432
 set PGHOST=localhost
 set PGUSER=postgres
@@ -77,11 +91,11 @@ set SHP2PGSQL="%PGBIN%shp2pgsql"
 cd ${staging_fold}
 ', E'del %TMPDIR%\\*.* /Q
 %PSQL% -c "DROP SCHEMA IF EXISTS ${staging_schema} CASCADE;"
-%PSQL% -c "CREATE SCHEMA IF NOT EXISTS ${staging_schema};"
-%PSQL% -c "CREATE SCHEMA IF NOT EXISTS ${data_schema};"
+%PSQL% -c "CREATE SCHEMA ${staging_schema};"
+%PSQL% -c "DO language ''plpgsql'' $$ BEGIN IF NOT EXISTS (SELECT * FROM information_schema.schemata WHERE schema_name = ''${data_schema}'' ) THEN CREATE SCHEMA ${data_schema}; END IF;  END $$"
 for /r %%z in (*.zip) do %UNZIPTOOL% e %%z  -o%TMPDIR% 
 cd %TMPDIR%', E'%PSQL%', E'\\', E'%SHP2PGSQL%', 'set ', 
-'for /r %%z in (*${table_name}.dbf) do (${loader}  -s 4269 -g the_geom -W "latin1" %%z tiger_staging.${state_abbrev}_${table_name} | ${psql} & ${psql} -c "SELECT loader_load_staged_data(lower(''${state_abbrev}_${table_name}''), lower(''${state_abbrev}_${lookup_name}''));")'
+'for /r %%z in (*${table_name}.dbf) do (${loader} -D -s 4269 -g the_geom -W "latin1" %%z tiger_staging.${state_abbrev}_${table_name} | ${psql} & ${psql} -c "SELECT loader_load_staged_data(lower(''${state_abbrev}_${table_name}''), lower(''${state_abbrev}_${lookup_name}''));")'
 );
 
 
@@ -101,26 +115,33 @@ SHP2PGSQL=${PGBIN}/shp2pgsql
 cd ${staging_fold}
 ', E'rm -f ${TMPDIR}/*.*
 ${PSQL} -c "DROP SCHEMA IF EXISTS ${staging_schema} CASCADE;"
-${PSQL} -c "CREATE SCHEMA IF NOT EXISTS ${staging_schema};"
-${PSQL} -c "CREATE SCHEMA IF NOT EXISTS ${data_schema};"
-
+${PSQL} -c "CREATE SCHEMA ${staging_schema};"
 for z in *.zip; do $UNZIPTOOL -o -d $TMPDIR $z; done
 for z in */*.zip; do $UNZIPTOOL -o -d $TMPDIR $z; done
 cd $TMPDIR;\n', '${PSQL}', '/', '${SHP2PGSQL}', 'export ',
 'for z in *${table_name}.dbf; do 
-${loader} -s 4269 -g the_geom -W "latin1" $z ${staging_schema}.${state_abbrev}_${table_name} | ${psql} 
+${loader} -D -s 4269 -g the_geom -W "latin1" $z ${staging_schema}.${state_abbrev}_${table_name} | ${psql} 
 ${PSQL} -c "SELECT loader_load_staged_data(lower(''${state_abbrev}_${table_name}''), lower(''${state_abbrev}_${lookup_name}''));"
 done');
 
 -- variables table
-DROP TABLE IF EXISTS loader_variables;
-CREATE TABLE loader_variables(tiger_year varchar(4) PRIMARY KEY, website_root text, staging_fold text, data_schema text, staging_schema text);
+DO $$
+BEGIN
+  IF NOT EXISTS (SELECT * FROM information_schema.tables WHERE table_name = 'loader_variables' AND table_schema = 'tiger') THEN
+      CREATE TABLE loader_variables(tiger_year varchar(4) PRIMARY KEY, website_root text, staging_fold text, data_schema text, staging_schema text);    
+  END IF;   
+END 
+$$ LANGUAGE 'plpgsql';
+
+TRUNCATE TABLE loader_variables;
 INSERT INTO loader_variables(tiger_year, website_root , staging_fold, data_schema, staging_schema)
-	VALUES('2012', 'ftp://ftp2.census.gov/geo/tiger/TIGER2012', '/gisdata', 'tiger_data', 'tiger_staging');
+	VALUES('2013', 'ftp://ftp2.census.gov/geo/tiger/TIGER2013', '/gisdata', 'tiger_data', 'tiger_staging');
 GRANT SELECT ON TABLE loader_variables TO public;
 
-DROP TABLE IF EXISTS loader_lookuptables;
-CREATE TABLE loader_lookuptables(process_order integer NOT NULL DEFAULT 1000, 
+DO $$
+BEGIN
+  IF NOT EXISTS (SELECT * FROM information_schema.tables WHERE table_name = 'loader_lookuptables' AND table_schema = 'tiger') THEN
+   CREATE TABLE loader_lookuptables(process_order integer NOT NULL DEFAULT 1000, 
 		lookup_name text primary key, 
 		table_name text, single_mode boolean NOT NULL DEFAULT true, 
 		load boolean NOT NULL DEFAULT true, 
@@ -129,7 +150,13 @@ CREATE TABLE loader_lookuptables(process_order integer NOT NULL DEFAULT 1000,
 		level_nation boolean NOT NULL DEFAULT false,
 		post_load_process text, single_geom_mode boolean DEFAULT false, 
 		insert_mode char(1) NOT NULL DEFAULT 'c', 
-		pre_load_process text,columns_exclude text[], website_root_override text);
+		pre_load_process text,columns_exclude text[], website_root_override text);   
+  END IF;   
+END 
+$$ LANGUAGE 'plpgsql';
+
+TRUNCATE TABLE loader_lookuptables;
+
 		
 GRANT SELECT ON TABLE loader_lookuptables TO public;
 		
@@ -367,6 +394,7 @@ CREATE OR REPLACE FUNCTION loader_load_staged_data(param_staging_table text, par
 RETURNS integer AS
 $$
 -- exclude this set list of columns if no exclusion list is specified 
+
    SELECT  loader_load_staged_data($1, $2,(SELECT COALESCE(columns_exclude,ARRAY['gid', 'geoid','cpi','suffix1ce', 'statefp00', 'statefp10', 'countyfp00','countyfp10'
    ,'tractce00','tractce10', 'blkgrpce00', 'blkgrpce10', 'blockce00', 'blockce10'
       , 'cousubfp00', 'submcdfp00', 'conctyfp00', 'placefp00', 'aiannhfp00', 'aiannhce00', 
diff --git a/extras/tiger_geocoder/tiger_2011/upgrade_geocoder.bat b/extras/tiger_geocoder/tiger_2011/upgrade_geocoder.bat
index 1070616..8c9ae0d 100755
--- a/extras/tiger_geocoder/tiger_2011/upgrade_geocoder.bat
+++ b/extras/tiger_geocoder/tiger_2011/upgrade_geocoder.bat
@@ -1,4 +1,4 @@
-REM $Id: upgrade_geocoder.bat 10656 2012-11-08 05:46:48Z robe $
+REM $Id: upgrade_geocoder.bat 11969 2013-09-23 04:36:25Z robe $
 set PGPORT=5432
 set PGHOST=localhost
 set PGUSER=postgres
@@ -10,7 +10,7 @@ set PGCONTRIB=C:\Program Files\PostgreSQL\8.4\share\contrib
 
 REM unremark the loader line to update your loader scripts
 REM note this wipes out your custom settings in loader_* tables
-REM "%PGBIN%\psql"  -d "%THEDB%" -f "tiger_loader_2012.sql"
+REM "%PGBIN%\psql"  -d "%THEDB%" -f "tiger_loader_2013.sql"
 cd regress
 REM "%PGBIN%\psql"  -d "%THEDB%" -t -f regress.sql
 pause
diff --git a/extras/tiger_geocoder/tiger_2011/upgrade_geocoder.sh b/extras/tiger_geocoder/tiger_2011/upgrade_geocoder.sh
index 8e4a2a0..98496b4 100755
--- a/extras/tiger_geocoder/tiger_2011/upgrade_geocoder.sh
+++ b/extras/tiger_geocoder/tiger_2011/upgrade_geocoder.sh
@@ -1,5 +1,5 @@
 #!/bin/bash
-# $Id: upgrade_geocoder.sh 10656 2012-11-08 05:46:48Z robe $
+# $Id: upgrade_geocoder.sh 11969 2013-09-23 04:36:25Z robe $
 export PGPORT=5432
 export PGHOST=localhost
 export PGUSER=postgres
@@ -11,4 +11,4 @@ ${PSQL_CMD} -d "${THEDB}" -f "upgrade_geocode.sql"
 
 #unremark the loader line to update your loader scripts
 #note this wipes out your custom settings in loader_* tables
-#${PSQL_CMD} -d "${THEDB}" -f "tiger_loader_2012.sql"
\ No newline at end of file
+#${PSQL_CMD} -d "${THEDB}" -f "tiger_loader_2013.sql"
\ No newline at end of file
diff --git a/install-sh b/install-sh
index 6781b98..a9244eb 100755
--- a/install-sh
+++ b/install-sh
@@ -1,7 +1,7 @@
 #!/bin/sh
 # install - install a program, script, or datafile
 
-scriptversion=2009-04-28.21; # UTC
+scriptversion=2011-01-19.21; # UTC
 
 # This originates from X11R5 (mit/util/scripts/install.sh), which was
 # later released in X11R6 (xc/config/util/install.sh) with the
@@ -156,6 +156,10 @@ while test $# -ne 0; do
     -s) stripcmd=$stripprog;;
 
     -t) dst_arg=$2
+	# Protect names problematic for `test' and other utilities.
+	case $dst_arg in
+	  -* | [=\(\)!]) dst_arg=./$dst_arg;;
+	esac
 	shift;;
 
     -T) no_target_directory=true;;
@@ -186,6 +190,10 @@ if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
     fi
     shift # arg
     dst_arg=$arg
+    # Protect names problematic for `test' and other utilities.
+    case $dst_arg in
+      -* | [=\(\)!]) dst_arg=./$dst_arg;;
+    esac
   done
 fi
 
@@ -200,7 +208,11 @@ if test $# -eq 0; then
 fi
 
 if test -z "$dir_arg"; then
-  trap '(exit $?); exit' 1 2 13 15
+  do_exit='(exit $ret); exit $ret'
+  trap "ret=129; $do_exit" 1
+  trap "ret=130; $do_exit" 2
+  trap "ret=141; $do_exit" 13
+  trap "ret=143; $do_exit" 15
 
   # Set umask so as not to create temps with too-generous modes.
   # However, 'strip' requires both read and write access to temps.
@@ -228,9 +240,9 @@ fi
 
 for src
 do
-  # Protect names starting with `-'.
+  # Protect names problematic for `test' and other utilities.
   case $src in
-    -*) src=./$src;;
+    -* | [=\(\)!]) src=./$src;;
   esac
 
   if test -n "$dir_arg"; then
@@ -252,12 +264,7 @@ do
       echo "$0: no destination specified." >&2
       exit 1
     fi
-
     dst=$dst_arg
-    # Protect names starting with `-'.
-    case $dst in
-      -*) dst=./$dst;;
-    esac
 
     # If destination is a directory, append the input filename; won't work
     # if double slashes aren't ignored.
@@ -385,7 +392,7 @@ do
 
       case $dstdir in
 	/*) prefix='/';;
-	-*) prefix='./';;
+	[-=\(\)!]*) prefix='./';;
 	*)  prefix='';;
       esac
 
@@ -403,7 +410,7 @@ do
 
       for d
       do
-	test -z "$d" && continue
+	test X"$d" = X && continue
 
 	prefix=$prefix$d
 	if test -d "$prefix"; then
diff --git a/java/jdbc/Makefile b/java/jdbc/Makefile
index eedb263..dd4f5f9 100644
--- a/java/jdbc/Makefile
+++ b/java/jdbc/Makefile
@@ -10,7 +10,7 @@
 # *
 # **********************************************************************
 
-ANT=
+ANT=/usr/bin/ant
 
 all: build
 
diff --git a/liblwgeom/cunit/cu_in_geojson.c b/liblwgeom/cunit/cu_in_geojson.c
index 8f9f4b4..c8aa4d5 100644
--- a/liblwgeom/cunit/cu_in_geojson.c
+++ b/liblwgeom/cunit/cu_in_geojson.c
@@ -26,12 +26,10 @@ static void do_geojson_test(const char * exp, char * in, char * exp_srs, int pre
   char * srs = NULL;
   size_t size;
 
-  has_bbox = has_bbox; /* unused */
-
 	g = lwgeom_from_geojson(in, &srs);
   if ( ! g ) {
 		fprintf(stderr, "\nIn:   %s\nExp:  %s\nObt: %s\n", in, exp, cu_error_msg);
-	  CU_ASSERT(g);
+	  CU_ASSERT(g != NULL);
     return;
   }
 
@@ -61,7 +59,7 @@ static void do_geojson_test(const char * exp, char * in, char * exp_srs, int pre
   if ( srs ) lwfree(srs);
 }
 
-
+#if 0
 static void do_geojson_unsupported(char * in, char * exp)
 {
 	LWGEOM *g;
@@ -90,6 +88,7 @@ static void do_geojson_unsupported(char * in, char * exp)
   if ( h ) lwfree(h);
 	lwgeom_free(g);
 }
+#endif 
 
 static void in_geojson_test_srid(void)
 {
diff --git a/liblwgeom/cunit/cu_split.c b/liblwgeom/cunit/cu_split.c
index a7646c3..fa96342 100644
--- a/liblwgeom/cunit/cu_split.c
+++ b/liblwgeom/cunit/cu_split.c
@@ -122,6 +122,38 @@ static void test_lwgeom_split(void)
 	lwgeom_free(ret);
 	lwgeom_free(geom);
 	lwgeom_free(blade);
+
+  /* See #2528 (1) -- memory leak test, needs valgrind to check */
+  geom = lwgeom_from_wkt("SRID=1;LINESTRING(0 1,10 1)", LW_PARSER_CHECK_NONE);
+  CU_ASSERT(geom != NULL);
+  blade = lwgeom_from_wkt("LINESTRING(7 0,7 3)", LW_PARSER_CHECK_NONE);
+  ret = lwgeom_split(geom, blade);
+  CU_ASSERT(ret != NULL);
+  wkt = lwgeom_to_ewkt(ret);
+	in_wkt = "SRID=1;GEOMETRYCOLLECTION(LINESTRING(0 1,7 1),LINESTRING(7 1,10 1))";
+  if (strcmp(in_wkt, wkt))
+                fprintf(stderr, "\nExp:  %s\nObt:  %s\n", in_wkt, wkt);
+  CU_ASSERT_STRING_EQUAL(wkt, in_wkt);
+  lwfree(wkt);
+	lwgeom_free(ret);
+	lwgeom_free(geom);
+	lwgeom_free(blade);
+
+  /* See #2528 (2) -- memory leak test, needs valgrind to check */
+  geom = lwgeom_from_wkt("SRID=1;POLYGON((0 1, 10 1, 10 10, 0 10, 0 1))", LW_PARSER_CHECK_NONE);
+  CU_ASSERT(geom != NULL);
+  blade = lwgeom_from_wkt("LINESTRING(7 0,7 20)", LW_PARSER_CHECK_NONE);
+  ret = lwgeom_split(geom, blade);
+  CU_ASSERT(ret != NULL);
+  wkt = lwgeom_to_ewkt(ret);
+	in_wkt = "SRID=1;GEOMETRYCOLLECTION(POLYGON((7 1,0 1,0 10,7 10,7 1)),POLYGON((7 10,10 10,10 1,7 1,7 10)))";
+  if (strcmp(in_wkt, wkt))
+                fprintf(stderr, "\nExp:  %s\nObt:  %s\n", in_wkt, wkt);
+  CU_ASSERT_STRING_EQUAL(wkt, in_wkt);
+  lwfree(wkt);
+	lwgeom_free(ret);
+	lwgeom_free(geom);
+	lwgeom_free(blade);
 }
 
 
diff --git a/liblwgeom/cunit/cu_surface.c b/liblwgeom/cunit/cu_surface.c
index 59d5dfb..64aea41 100644
--- a/liblwgeom/cunit/cu_surface.c
+++ b/liblwgeom/cunit/cu_surface.c
@@ -12,8 +12,6 @@
 
 #include "cu_surface.h"
 
-static void check_tgeom(char *ewkt, int type, uint32_t srid, int is_solid);
-
 void triangle_parse(void)
 {
 	LWGEOM *geom;
@@ -313,7 +311,7 @@ void polyhedralsurface_parse(void)
 	geom = lwgeom_from_wkt("POLYHEDRALSURFACE EMPTY", LW_PARSER_CHECK_NONE);
 	CU_ASSERT_EQUAL(strlen(cu_error_msg), 0);
 	CU_ASSERT_EQUAL(geom->type, POLYHEDRALSURFACETYPE);
-	tmp = lwgeom_to_wkb(geom, WKB_HEX | WKB_ISO | WKB_NDR, 0);
+	tmp = (char*)lwgeom_to_wkb(geom, WKB_HEX | WKB_ISO | WKB_NDR, 0);
 	CU_ASSERT_STRING_EQUAL("010F00000000000000", tmp);
 	lwfree(tmp);
 	tmp = lwgeom_to_ewkt(geom);
diff --git a/liblwgeom/cunit/cu_tree.c b/liblwgeom/cunit/cu_tree.c
index be598c2..da29fba 100644
--- a/liblwgeom/cunit/cu_tree.c
+++ b/liblwgeom/cunit/cu_tree.c
@@ -16,8 +16,8 @@
 #include "CUnit/Basic.h"
 
 #include "liblwgeom_internal.h"
-#include "lwgeodetic.h";
-#include "lwgeodetic_tree.h";
+#include "lwgeodetic.h"
+#include "lwgeodetic_tree.h"
 #include "cu_tester.h"
 
 
diff --git a/liblwgeom/g_box.c b/liblwgeom/g_box.c
index db91363..ffcd8b9 100644
--- a/liblwgeom/g_box.c
+++ b/liblwgeom/g_box.c
@@ -1,5 +1,5 @@
 /**********************************************************************
- * $Id: g_box.c 11471 2013-05-18 21:07:29Z strk $
+ * $Id: g_box.c 12083 2013-11-04 23:17:11Z pramsey $
  *
  * PostGIS - Spatial Types for PostgreSQL
  * Copyright 2009 Paul Ramsey <pramsey at cleverelephant.ca>
@@ -146,28 +146,28 @@ int gbox_same(const GBOX *g1, const GBOX *g2)
 int gbox_is_valid(const GBOX *gbox)
 {
 	/* X */
-	if ( ! finite(gbox->xmin) || isnan(gbox->xmin) ||
-	     ! finite(gbox->xmax) || isnan(gbox->xmax) )
+	if ( ! isfinite(gbox->xmin) || isnan(gbox->xmin) ||
+	     ! isfinite(gbox->xmax) || isnan(gbox->xmax) )
 		return LW_FALSE;
 		
 	/* Y */
-	if ( ! finite(gbox->ymin) || isnan(gbox->ymin) ||
-	     ! finite(gbox->ymax) || isnan(gbox->ymax) )
+	if ( ! isfinite(gbox->ymin) || isnan(gbox->ymin) ||
+	     ! isfinite(gbox->ymax) || isnan(gbox->ymax) )
 		return LW_FALSE;
 		
 	/* Z */
 	if ( FLAGS_GET_GEODETIC(gbox->flags) || FLAGS_GET_Z(gbox->flags) )
 	{
-		if ( ! finite(gbox->zmin) || isnan(gbox->zmin) ||
-		     ! finite(gbox->zmax) || isnan(gbox->zmax) )
+		if ( ! isfinite(gbox->zmin) || isnan(gbox->zmin) ||
+		     ! isfinite(gbox->zmax) || isnan(gbox->zmax) )
 			return LW_FALSE;
 	}
 
 	/* M */
 	if ( FLAGS_GET_M(gbox->flags) )
 	{
-		if ( ! finite(gbox->mmin) || isnan(gbox->mmin) ||
-		     ! finite(gbox->mmax) || isnan(gbox->mmax) )
+		if ( ! isfinite(gbox->mmin) || isnan(gbox->mmin) ||
+		     ! isfinite(gbox->mmax) || isnan(gbox->mmax) )
 			return LW_FALSE;
 	}
 	
diff --git a/liblwgeom/liblwgeom.h.in b/liblwgeom/liblwgeom.h.in
index 1578fc7..ab3807e 100644
--- a/liblwgeom/liblwgeom.h.in
+++ b/liblwgeom/liblwgeom.h.in
@@ -1,5 +1,5 @@
 /**********************************************************************
- * $Id: liblwgeom.h.in 11409 2013-05-10 17:17:18Z colivier $
+ * $Id: liblwgeom.h.in 12043 2013-10-18 20:57:30Z pramsey $
  *
  * PostGIS - Spatial Types for PostgreSQL
  *
@@ -1075,6 +1075,7 @@ extern LWPOINT* lwcircstring_get_lwpoint(LWCIRCSTRING *circ, int where);
 
 extern double ptarray_length_2d(const POINTARRAY *pts);
 extern double ptarray_length(const POINTARRAY *pts);
+extern double ptarray_arc_length_2d(const POINTARRAY *pts);
 
 
 extern int pt_in_ring_2d(const POINT2D *p, const POINTARRAY *ring);
diff --git a/liblwgeom/lwalgorithm.c b/liblwgeom/lwalgorithm.c
index 65845e1..d3374d3 100644
--- a/liblwgeom/lwalgorithm.c
+++ b/liblwgeom/lwalgorithm.c
@@ -1,5 +1,5 @@
 /**********************************************************************
- * $Id: lwalgorithm.c 11396 2013-05-10 07:06:46Z strk $
+ * $Id: lwalgorithm.c 12043 2013-10-18 20:57:30Z pramsey $
  *
  * PostGIS - Spatial Types for PostgreSQL
  * http://postgis.refractions.net
@@ -132,7 +132,9 @@ lw_arc_length(const POINT2D *A1, const POINT2D *A2, const POINT2D *A3)
 	/* Co-linear! Return linear distance! */
 	if ( radius_A < 0 ) 
 	{
-		return sqrt((A1->x-A3->x)*(A1->x-A3->x) + (A1->y-A3->y)*(A1->y-A3->y));
+        double dx = A1->x - A3->x;
+        double dy = A1->y - A3->y;
+		return sqrt(dx*dx + dy*dy);
 	}
 	
 	/* Closed circle! Return the circumference! */
diff --git a/liblwgeom/lwcircstring.c b/liblwgeom/lwcircstring.c
index 247439b..f3729d5 100644
--- a/liblwgeom/lwcircstring.c
+++ b/liblwgeom/lwcircstring.c
@@ -269,26 +269,15 @@ int lwcircstring_is_empty(const LWCIRCSTRING *circ)
 
 double lwcircstring_length(const LWCIRCSTRING *circ)
 {
-	double length = 0.0;
-	LWLINE *line;
-	if ( lwcircstring_is_empty(circ) )
-		return 0.0;
-	line = lwcircstring_segmentize(circ, 32);
-	length = lwline_length(line);
-	lwline_free(line);
-	return length;
+	return lwcircstring_length_2d(circ);
 }
 
 double lwcircstring_length_2d(const LWCIRCSTRING *circ)
 {
-	double length = 0.0;
-	LWLINE *line;
 	if ( lwcircstring_is_empty(circ) )
 		return 0.0;
-	line = lwcircstring_segmentize(circ, 32);
-	length = lwline_length_2d(line);
-	lwline_free(line);
-	return length;
+	
+    return ptarray_arc_length_2d(circ->points);
 }
 
 /*
diff --git a/liblwgeom/lwgeom.c b/liblwgeom/lwgeom.c
index 55a5ccd..d2bd421 100644
--- a/liblwgeom/lwgeom.c
+++ b/liblwgeom/lwgeom.c
@@ -1458,12 +1458,11 @@ void lwgeom_set_srid(LWGEOM *geom, int32_t srid)
 
 	if ( lwgeom_is_collection(geom) )
 	{
-		/* All the children are set to the unknown SRID value 
-		   TODO: change this so the children have a known SRID? */
+		/* All the children are set to the same SRID value */
 		LWCOLLECTION *col = lwgeom_as_lwcollection(geom);
 		for ( i = 0; i < col->ngeoms; i++ )
 		{
-			lwgeom_set_srid(col->geoms[i], SRID_UNKNOWN);
+			lwgeom_set_srid(col->geoms[i], srid);
 		}
 	}
 }
diff --git a/liblwgeom/lwgeom_geos.c b/liblwgeom/lwgeom_geos.c
index f627fa0..7f21eb4 100644
--- a/liblwgeom/lwgeom_geos.c
+++ b/liblwgeom/lwgeom_geos.c
@@ -432,7 +432,7 @@ lwgeom_normalize(const LWGEOM *geom1)
 	g1 = LWGEOM2GEOS(geom1);
 	if ( 0 == g1 )   /* exception thrown at construction */
 	{
-		lwerror("First argument geometry could not be converted to GEOS.");
+		lwerror("First argument geometry could not be converted to GEOS: %s", lwgeom_geos_errmsg);
 		return NULL ;
 	}
 
@@ -485,7 +485,7 @@ lwgeom_intersection(const LWGEOM *geom1, const LWGEOM *geom2)
 	g1 = LWGEOM2GEOS(geom1);
 	if ( 0 == g1 )   /* exception thrown at construction */
 	{
-		lwerror("First argument geometry could not be converted to GEOS.");
+		lwerror("First argument geometry could not be converted to GEOS: %s", lwgeom_geos_errmsg);
 		return NULL ;
 	}
 
diff --git a/liblwgeom/lwgeom_geos_split.c b/liblwgeom/lwgeom_geos_split.c
index 7bf9a15..fa85190 100644
--- a/liblwgeom/lwgeom_geos_split.c
+++ b/liblwgeom/lwgeom_geos_split.c
@@ -118,7 +118,8 @@ lwline_split_by_line(const LWLINE* lwline_in, const LWLINE* blade_in)
 		return NULL;
 	}
 
-	if ( ! lwtype_is_collection(diff->type) )
+	out = lwgeom_as_lwcollection(diff);
+	if ( ! out )
 	{
 		components = lwalloc(sizeof(LWGEOM*)*1);
 		components[0] = diff;
@@ -127,9 +128,10 @@ lwline_split_by_line(const LWLINE* lwline_in, const LWLINE* blade_in)
 	}
 	else
 	{
-		out = lwcollection_construct(COLLECTIONTYPE, lwline_in->srid,
-		                             NULL, ((LWCOLLECTION*)diff)->ngeoms,
-		                             ((LWCOLLECTION*)diff)->geoms);
+	  /* Set SRID */
+		lwgeom_set_srid((LWGEOM*)out, lwline_in->srid);
+	  /* Force collection type */
+	  out->type = COLLECTIONTYPE;
 	}
 
 
@@ -337,7 +339,7 @@ lwpoly_split_by_line(const LWPOLY* lwpoly_in, const LWLINE* blade_in)
 	out = lwcollection_construct_empty(COLLECTIONTYPE, lwpoly_in->srid,
 				     hasZ, 0);
 	/* Allocate space for all polys */
-	out->geoms = lwalloc(sizeof(LWGEOM*)*n);
+	out->geoms = lwrealloc(out->geoms, sizeof(LWGEOM*)*n);
 	assert(0 == out->ngeoms);
 	for (i=0; i<n; ++i)
 	{
diff --git a/liblwgeom/ptarray.c b/liblwgeom/ptarray.c
index 6baad62..4a33ecc 100644
--- a/liblwgeom/ptarray.c
+++ b/liblwgeom/ptarray.c
@@ -1532,6 +1532,34 @@ ptarray_simplify(POINTARRAY *inpts, double epsilon, unsigned int minpts)
 	return outpts;
 }
 
+/**
+* Find the 2d length of the given #POINTARRAY, using circular
+* arc interpolation between each coordinate triple.
+* Length(A1, A2, A3, A4, A5) = Length(A1, A2, A3)+Length(A3, A4, A5)
+*/
+double
+ptarray_arc_length_2d(const POINTARRAY *pts)
+{
+	double dist = 0.0;
+	int i;
+	const POINT2D *a1;
+	const POINT2D *a2;
+	const POINT2D *a3;
+
+	if ( pts->npoints % 2 != 1 )
+        lwerror("arc point array with even number of points");
+        
+	a1 = getPoint2d_cp(pts, 0);
+	
+	for ( i=2; i < pts->npoints; i += 2 )
+	{
+    	a2 = getPoint2d_cp(pts, i-1);
+		a3 = getPoint2d_cp(pts, i);
+		dist += lw_arc_length(a1, a2, a3);
+		a1 = a3;
+	}
+	return dist;
+}
 
 /**
 * Find the 2d length of the given #POINTARRAY (even if it's 3d)
diff --git a/libtool b/libtool
index 12b1fc7..413ce5d 100755
--- a/libtool
+++ b/libtool
@@ -1,12 +1,13 @@
-#! /bin/bash
+#! /bin/sh
 
 # libtool - Provide generalized library-building support services.
 # Generated automatically by config.status () 
-# Libtool was configured on host 30266-3-1329969:
+# Libtool was configured on host Tadpole.local:
 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
 #
 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
-#                 2006, 2007, 2008 Free Software Foundation, Inc.
+#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
+#                 Foundation, Inc.
 #   Written by Gordon Matzigkeit, 1996
 #
 #   This file is part of GNU Libtool.
@@ -39,8 +40,8 @@ available_tags="CXX "
 # ### BEGIN LIBTOOL CONFIG
 
 # Which release of libtool.m4 was used?
-macro_version=2.2.6b
-macro_revision=1.3017
+macro_version=2.4.2
+macro_revision=1.3337
 
 # Whether or not to build shared libraries.
 build_libtool_libs=yes
@@ -52,41 +53,50 @@ build_old_libs=yes
 pic_mode=default
 
 # Whether or not to optimize for fast installation.
-fast_install=yes
+fast_install=needless
+
+# Shell to use when invoking shell scripts.
+SHELL="/bin/sh"
+
+# An echo program that protects backslashes.
+ECHO="printf %s\\n"
+
+# The PATH separator for the build system.
+PATH_SEPARATOR=":"
 
 # The host system.
 host_alias=
-host=x86_64-unknown-linux-gnu
-host_os=linux-gnu
+host=x86_64-apple-darwin10.8.0
+host_os=darwin10.8.0
 
 # The build system.
 build_alias=
-build=x86_64-unknown-linux-gnu
-build_os=linux-gnu
+build=x86_64-apple-darwin10.8.0
+build_os=darwin10.8.0
 
 # A sed program that does not truncate output.
-SED="/bin/sed"
+SED="/opt/local/bin/gsed"
 
 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
 Xsed="$SED -e 1s/^X//"
 
 # A grep program that handles long lines.
-GREP="/bin/grep"
+GREP="/usr/bin/grep"
 
 # An ERE matcher.
-EGREP="/bin/grep -E"
+EGREP="/usr/bin/grep -E"
 
 # A literal string matcher.
-FGREP="/bin/grep -F"
+FGREP="/usr/bin/grep -F"
 
 # A BSD- or MS-compatible name lister.
-NM="/usr/bin/nm -B"
+NM="/usr/bin/nm"
 
 # Whether we need soft or hard links.
 LN_S="ln -s"
 
 # What is the maximum length of a command?
-max_cmd_len=1572864
+max_cmd_len=196608
 
 # Object file suffix (normally "o").
 objext=o
@@ -103,31 +113,53 @@ SP2NL="tr \\040 \\012"
 # turn newlines into spaces.
 NL2SP="tr \\015\\012 \\040\\040"
 
-# How to create reloadable object files.
-reload_flag=" -r"
-reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs"
+# convert $build file names to $host format.
+to_host_file_cmd=func_convert_file_noop
+
+# convert $build files to toolchain format.
+to_tool_file_cmd=func_convert_file_noop
 
 # An object symbol dumper.
-OBJDUMP="objdump"
+OBJDUMP="false"
 
 # Method to check whether dependent libraries are shared objects.
 deplibs_check_method="pass_all"
 
-# Command to use when deplibs_check_method == "file_magic".
+# Command to use when deplibs_check_method = "file_magic".
 file_magic_cmd="\$MAGIC_CMD"
 
+# How to find potential files when deplibs_check_method = "file_magic".
+file_magic_glob=""
+
+# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
+want_nocaseglob="no"
+
+# DLL creation program.
+DLLTOOL="false"
+
+# Command to associate shared and link libraries.
+sharedlib_from_linklib_cmd="printf %s\\n"
+
 # The archiver.
 AR="ar"
+
+# Flags to create an archive.
 AR_FLAGS="cru"
 
+# How to feed a file listing to the archiver.
+archiver_list_spec=""
+
 # A symbol stripping program.
 STRIP="strip"
 
 # Commands used to install an old-style archive.
 RANLIB="ranlib"
-old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$oldlib"
+old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$tool_oldlib"
 old_postuninstall_cmds=""
 
+# Whether to use a lock for old archive extraction.
+lock_old_archive_extraction=yes
+
 # A C compiler.
 LTCC="gcc"
 
@@ -135,25 +167,25 @@ LTCC="gcc"
 LTCFLAGS="-g -O2"
 
 # Take the output of nm and produce a listing of raw symbols and C names.
-global_symbol_pipe="sed -n -e 's/^.*[	 ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[	 ][	 ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'"
+global_symbol_pipe="sed -n -e 's/^.*[	 ]\\([BCDEGRST][BCDEGRST]*\\)[	 ][	 ]*_\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 _\\2 \\2/p' | sed '/ __gnu_lto/d'"
 
 # Transform the output of nm in a proper C declaration.
-global_symbol_to_cdecl="sed -n -e 's/^T .* \\(.*\\)\$/extern int \\1();/p' -e 's/^[ABCDGIRSTW]* .* \\(.*\\)\$/extern char \\1;/p'"
+global_symbol_to_cdecl="sed -n -e 's/^T .* \\(.*\\)\$/extern int \\1();/p' -e 's/^[BCDEGRST]* .* \\(.*\\)\$/extern char \\1;/p'"
 
 # Transform the output of nm in a C name address pair.
-global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\) \$/  {\\\"\\1\\\", (void *) 0},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\([^ ]*\\)\$/  {\"\\2\", (void *) \\&\\2},/p'"
+global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\)[ ]*\$/  {\\\"\\1\\\", (void *) 0},/p' -e 's/^[BCDEGRST]* \\([^ ]*\\) \\([^ ]*\\)\$/  {\"\\2\", (void *) \\&\\2},/p'"
 
 # Transform the output of nm in a C name address pair when lib prefix is needed.
-global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \\([^ ]*\\) \$/  {\\\"\\1\\\", (void *) 0},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\(lib[^ ]*\\)\$/  {\"\\2\", (void *) \\&\\2},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\([^ ]*\\)\$/  {\"lib\\2\", (void *) \\&\\2},/p'"
+global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \\([^ ]*\\)[ ]*\$/  {\\\"\\1\\\", (void *) 0},/p' -e 's/^[BCDEGRST]* \\([^ ]*\\) \\(lib[^ ]*\\)\$/  {\"\\2\", (void *) \\&\\2},/p' -e 's/^[BCDEGRST]* \\([^ ]*\\) \\([^ ]*\\)\$/  {\"lib\\2\", (void *) \\&\\2},/p'"
 
-# The name of the directory that contains temporary libtool files.
-objdir=.libs
+# Specify filename containing input files for $NM.
+nm_file_list_spec=""
 
-# Shell to use when invoking shell scripts.
-SHELL="/bin/bash"
+# The root where to search for dependent libraries,and in which our libraries should be installed.
+lt_sysroot=
 
-# An echo program that does not interpret backslashes.
-ECHO="echo"
+# The name of the directory that contains temporary libtool files.
+objdir=.libs
 
 # Used to examine libraries when file_magic_cmd begins with "file".
 MAGIC_CMD=file
@@ -161,33 +193,36 @@ MAGIC_CMD=file
 # Must we lock files when doing compilation?
 need_locks="no"
 
+# Manifest tool.
+MANIFEST_TOOL=":"
+
 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
-DSYMUTIL=""
+DSYMUTIL="dsymutil"
 
 # Tool to change global to local symbols on Mac OS X.
-NMEDIT=""
+NMEDIT="nmedit"
 
 # Tool to manipulate fat objects and archives on Mac OS X.
-LIPO=""
+LIPO="lipo"
 
 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
-OTOOL=""
+OTOOL="otool"
 
 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
-OTOOL64=""
+OTOOL64=":"
 
 # Old archive suffix (normally "a").
 libext=a
 
 # Shared library suffix (normally ".so").
-shrext_cmds=".so"
+shrext_cmds="\`test .\$module = .yes && echo .so || echo .dylib\`"
 
 # The commands to extract the exported symbol list from a shared archive.
 extract_expsyms_cmds=""
 
 # Variables whose values should be saved in libtool wrapper scripts and
 # restored at link time.
-variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+variables_saved_for_relink="PATH DYLD_LIBRARY_PATH  GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
 # Do we need the "lib" prefix for modules?
 need_lib_prefix=no
@@ -196,26 +231,29 @@ need_lib_prefix=no
 need_version=no
 
 # Library versioning type.
-version_type=linux
+version_type=darwin
 
 # Shared library runtime path variable.
-runpath_var=LD_RUN_PATH
+runpath_var=
 
 # Shared library path variable.
-shlibpath_var=LD_LIBRARY_PATH
+shlibpath_var=DYLD_LIBRARY_PATH
 
 # Is shlibpath searched before the hard-coded library search path?
-shlibpath_overrides_runpath=no
+shlibpath_overrides_runpath=yes
 
 # Format of library name prefix.
 libname_spec="lib\$name"
 
 # List of archive names.  First name is the real one, the rest are links.
 # The last name is the one that the linker finds with -lNAME
-library_names_spec="\${libname}\${release}\${shared_ext}\$versuffix \${libname}\${release}\${shared_ext}\$major \$libname\${shared_ext}"
+library_names_spec="\${libname}\${release}\${major}\$shared_ext \${libname}\$shared_ext"
 
 # The coded name of the library, if different from the real name.
-soname_spec="\${libname}\${release}\${shared_ext}\$major"
+soname_spec="\${libname}\${release}\${major}\$shared_ext"
+
+# Permission mode override for installation of shared libraries.
+install_override_mode=""
 
 # Command to use after installation of a shared archive.
 postinstall_cmds=""
@@ -224,20 +262,20 @@ postinstall_cmds=""
 postuninstall_cmds=""
 
 # Commands used to finish a libtool library installation in a directory.
-finish_cmds="PATH=\\\"\\\$PATH:/sbin\\\" ldconfig -n \$libdir"
+finish_cmds=""
 
 # As "finish_cmds", except a single script fragment to be evaled but
 # not shown.
 finish_eval=""
 
 # Whether we should hardcode library paths into libraries.
-hardcode_into_libs=yes
+hardcode_into_libs=no
 
 # Compile-time system search path for libraries.
-sys_lib_search_path_spec="/usr/lib/gcc/x86_64-linux-gnu/4.4.5 /usr/lib /lib"
+sys_lib_search_path_spec="/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64 /usr/lib/i686-apple-darwin10/4.2.1 /usr/lib  /usr/local/lib"
 
 # Run-time system search path for libraries.
-sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu "
+sys_lib_dlsearch_path_spec="/usr/local/lib /lib /usr/lib"
 
 # Whether dlopen is supported.
 dlopen_support=unknown
@@ -249,15 +287,19 @@ dlopen_self=unknown
 dlopen_self_static=unknown
 
 # Commands to strip libraries.
-old_striplib="strip --strip-debug"
-striplib="strip --strip-unneeded"
+old_striplib="strip -S"
+striplib="strip -x"
 
 
 # The linker used to build libraries.
-LD="/usr/bin/ld -m elf_x86_64"
+LD="/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld"
+
+# How to create reloadable object files.
+reload_flag=" -r"
+reload_cmds="\$LTCC \$LTCFLAGS -nostdlib \${wl}-r -o \$output\$reload_objs"
 
 # Commands used to build an old-style archive.
-old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib"
+old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$tool_oldlib"
 
 # A language specific compiler.
 CC="gcc"
@@ -268,14 +310,14 @@ with_gcc=yes
 # Compiler flag to turn off builtin functions.
 no_builtin_flag=" -fno-builtin"
 
+# Additional compiler flags for building library objects.
+pic_flag=" -fno-common -DPIC"
+
 # How to pass a linker flag through the compiler.
 wl="-Wl,"
 
-# Additional compiler flags for building library objects.
-pic_flag=" -fPIC -DPIC"
-
 # Compiler flag to prevent dynamic linking.
-link_static_flag="-static"
+link_static_flag=""
 
 # Does compiler simultaneously support -c and -o options?
 compiler_c_o="yes"
@@ -287,10 +329,10 @@ build_libtool_need_lc=no
 allow_libtool_libs_with_static_runtimes=no
 
 # Compiler flag to allow reflexive dlopens.
-export_dynamic_flag_spec="\${wl}--export-dynamic"
+export_dynamic_flag_spec=""
 
 # Compiler flag to generate shared objects directly from archives.
-whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive"
+whole_archive_flag_spec="\`for conv in \$convenience\\\"\\\"; do test  -n \\\"\$conv\\\" && new_convenience=\\\"\$new_convenience \${wl}-force_load,\$conv\\\"; done; func_echo_all \\\"\$new_convenience\\\"\`"
 
 # Whether the compiler copes with passing no objects directly.
 compiler_needs_object="no"
@@ -302,33 +344,26 @@ old_archive_from_new_cmds=""
 old_archive_from_expsyms_cmds=""
 
 # Commands used to build a shared archive.
-archive_cmds="\$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib"
-archive_expsym_cmds="echo \\\"{ global:\\\" > \$output_objdir/\$libname.ver~
-	    cat \$export_symbols | sed -e \\\"s/\\\\(.*\\\\)/\\\\1;/\\\" >> \$output_objdir/\$libname.ver~
-	    echo \\\"local: *; };\\\" >> \$output_objdir/\$libname.ver~
-	    \$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-version-script \${wl}\$output_objdir/\$libname.ver -o \$lib"
+archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring \$single_module"
+archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring \$single_module \${wl}-exported_symbols_list,\$output_objdir/\${libname}-symbols.expsym"
 
 # Commands used to build a loadable module if different from building
 # a shared archive.
-module_cmds=""
-module_expsym_cmds=""
+module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags"
+module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags \${wl}-exported_symbols_list,\$output_objdir/\${libname}-symbols.expsym"
 
 # Whether we are building with GNU ld or not.
-with_gnu_ld="yes"
+with_gnu_ld="no"
 
 # Flag that allows shared libraries with undefined symbols to be built.
-allow_undefined_flag=""
+allow_undefined_flag="\${wl}-undefined \${wl}dynamic_lookup"
 
 # Flag that enforces no undefined symbols.
 no_undefined_flag=""
 
 # Flag to hardcode $libdir into a binary during linking.
 # This must work even if $libdir does not exist
-hardcode_libdir_flag_spec="\${wl}-rpath \${wl}\$libdir"
-
-# If ld is used when linking, flag to hardcode $libdir into a binary
-# during linking.  This must work even if $libdir does not exist.
-hardcode_libdir_flag_spec_ld=""
+hardcode_libdir_flag_spec=""
 
 # Whether we need a single "-rpath" flag with a separated argument.
 hardcode_libdir_separator=""
@@ -354,17 +389,14 @@ hardcode_shlibpath_var=unsupported
 # Set to "yes" if building a shared library automatically hardcodes DIR
 # into the library and all subsequent libraries and executables linked
 # against it.
-hardcode_automatic=no
+hardcode_automatic=yes
 
 # Set to yes if linker adds runtime paths of dependent libraries
 # to runtime path list.
 inherit_rpath=no
 
 # Whether libtool must link a program against all its dependency libraries.
-link_all_deplibs=no
-
-# Fix the shell variable $srcfile for the compiler.
-fix_srcfile_path=""
+link_all_deplibs=yes
 
 # Set to "yes" if exported symbols are required.
 always_export_symbols=no
@@ -381,6 +413,9 @@ include_expsyms=""
 # Commands necessary for linking programs (against libraries) with templates.
 prelink_cmds=""
 
+# Commands necessary for finishing linking programs.
+postlink_cmds=""
+
 # Specify filename containing input files.
 file_list_spec=""
 
@@ -403,12 +438,12 @@ compiler_lib_search_path=""
 
 # ### END LIBTOOL CONFIG
 
-# Generated from ltmain.m4sh.
 
-# ltmain.sh (GNU libtool) 2.2.6b
+# libtool (GNU libtool) 2.4.2
 # Written by Gordon Matzigkeit <gord at gnu.ai.mit.edu>, 1996
 
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
+# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
 # This is free software; see the source for copying conditions.  There is NO
 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
@@ -437,50 +472,57 @@ compiler_lib_search_path=""
 #
 # Provide generalized library-building support services.
 #
-#     --config             show all configuration variables
-#     --debug              enable verbose shell tracing
-# -n, --dry-run            display commands without modifying any files
-#     --features           display basic configuration information and exit
-#     --mode=MODE          use operation mode MODE
-#     --preserve-dup-deps  don't remove duplicate dependency libraries
-#     --quiet, --silent    don't print informational messages
-#     --tag=TAG            use configuration variables from tag TAG
-# -v, --verbose            print informational messages (default)
-#     --version            print version information
-# -h, --help               print short or long help message
+#       --config             show all configuration variables
+#       --debug              enable verbose shell tracing
+#   -n, --dry-run            display commands without modifying any files
+#       --features           display basic configuration information and exit
+#       --mode=MODE          use operation mode MODE
+#       --preserve-dup-deps  don't remove duplicate dependency libraries
+#       --quiet, --silent    don't print informational messages
+#       --no-quiet, --no-silent
+#                            print informational messages (default)
+#       --no-warn            don't display warning messages
+#       --tag=TAG            use configuration variables from tag TAG
+#   -v, --verbose            print more informational messages than default
+#       --no-verbose         don't print the extra informational messages
+#       --version            print version information
+#   -h, --help, --help-all   print short, long, or detailed help message
 #
 # MODE must be one of the following:
 #
-#       clean              remove files from the build directory
-#       compile            compile a source file into a libtool object
-#       execute            automatically set library path, then run a program
-#       finish             complete the installation of libtool libraries
-#       install            install libraries or executables
-#       link               create a library or an executable
-#       uninstall          remove libraries from an installed directory
+#         clean              remove files from the build directory
+#         compile            compile a source file into a libtool object
+#         execute            automatically set library path, then run a program
+#         finish             complete the installation of libtool libraries
+#         install            install libraries or executables
+#         link               create a library or an executable
+#         uninstall          remove libraries from an installed directory
 #
-# MODE-ARGS vary depending on the MODE.
+# MODE-ARGS vary depending on the MODE.  When passed as first option,
+# `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that.
 # Try `$progname --help --mode=MODE' for a more detailed description of MODE.
 #
 # When reporting a bug, please describe a test case to reproduce it and
 # include the following information:
 #
-#       host-triplet:	$host
-#       shell:		$SHELL
-#       compiler:		$LTCC
-#       compiler flags:		$LTCFLAGS
-#       linker:		$LD (gnu? $with_gnu_ld)
-#       $progname:		(GNU libtool) 2.2.6b Debian-2.2.6b-2
-#       automake:		$automake_version
-#       autoconf:		$autoconf_version
+#         host-triplet:	$host
+#         shell:		$SHELL
+#         compiler:		$LTCC
+#         compiler flags:		$LTCFLAGS
+#         linker:		$LD (gnu? $with_gnu_ld)
+#         $progname:	(GNU libtool) 2.4.2
+#         automake:	$automake_version
+#         autoconf:	$autoconf_version
 #
 # Report bugs to <bug-libtool at gnu.org>.
+# GNU libtool home page: <http://www.gnu.org/software/libtool/>.
+# General help using GNU software: <http://www.gnu.org/gethelp/>.
 
-PROGRAM=ltmain.sh
+PROGRAM=libtool
 PACKAGE=libtool
-VERSION="2.2.6b Debian-2.2.6b-2"
+VERSION=2.4.2
 TIMESTAMP=""
-package_revision=1.3017
+package_revision=1.3337
 
 # Be Bourne compatible
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
@@ -496,10 +538,15 @@ fi
 BIN_SH=xpg4; export BIN_SH # for Tru64
 DUALCASE=1; export DUALCASE # for MKS sh
 
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+  eval 'cat <<_LTECHO_EOF
+$1
+_LTECHO_EOF'
+}
+
 # NLS nuisances: We save the old values to restore during execute mode.
-# Only set LANG and LC_ALL to C if already set.
-# These must not be set unconditionally because not all systems understand
-# e.g. LANG=C (notably SCO).
 lt_user_locale=
 lt_safe_locale=
 for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
@@ -512,24 +559,28 @@ do
 	  lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
 	fi"
 done
+LC_ALL=C
+LANGUAGE=C
+export LANGUAGE LC_ALL
 
 $lt_unset CDPATH
 
 
+# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
+# is ksh but when the shell is invoked as "sh" and the current value of
+# the _XPG environment variable is not equal to 1 (one), the special
+# positional parameter $0, within a function call, is the name of the
+# function.
+progpath="$0"
 
 
 
 : ${CP="cp -f"}
-: ${ECHO="echo"}
-: ${EGREP="/bin/grep -E"}
-: ${FGREP="/bin/grep -F"}
-: ${GREP="/bin/grep"}
-: ${LN_S="ln -s"}
+test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
 : ${MAKE="make"}
 : ${MKDIR="mkdir"}
 : ${MV="mv -f"}
 : ${RM="rm -f"}
-: ${SED="/bin/sed"}
 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
 : ${Xsed="$SED -e 1s/^X//"}
 
@@ -549,48 +600,24 @@ IFS=" 	$lt_nl"
 dirname="s,/[^/]*$,,"
 basename="s,^.*/,,"
 
-# func_dirname_and_basename file append nondir_replacement
-# perform func_basename and func_dirname in a single function
-# call:
-#   dirname:  Compute the dirname of FILE.  If nonempty,
-#             add APPEND to the result, otherwise set result
-#             to NONDIR_REPLACEMENT.
-#             value returned in "$func_dirname_result"
-#   basename: Compute filename of FILE.
-#             value retuned in "$func_basename_result"
-# Implementation must be kept synchronized with func_dirname
-# and func_basename. For efficiency, we do not delegate to
-# those functions but instead duplicate the functionality here.
-func_dirname_and_basename ()
-{
-  # Extract subdirectory from the argument.
-  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
-  if test "X$func_dirname_result" = "X${1}"; then
-    func_dirname_result="${3}"
-  else
-    func_dirname_result="$func_dirname_result${2}"
-  fi
-  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
-}
-
-# Generated shell functions inserted here.
-
 # func_dirname file append nondir_replacement
 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 # otherwise set result to NONDIR_REPLACEMENT.
 func_dirname ()
 {
-  case ${1} in
-    */*) func_dirname_result="${1%/*}${2}" ;;
-    *  ) func_dirname_result="${3}" ;;
-  esac
-}
+    case ${1} in
+      */*) func_dirname_result="${1%/*}${2}" ;;
+      *  ) func_dirname_result="${3}" ;;
+    esac
+} # Extended-shell func_dirname implementation
+
 
 # func_basename file
 func_basename ()
 {
-  func_basename_result="${1##*/}"
-}
+    func_basename_result="${1##*/}"
+} # Extended-shell func_basename implementation
+
 
 # func_dirname_and_basename file append nondir_replacement
 # perform func_basename and func_dirname in a single function
@@ -606,86 +633,181 @@ func_basename ()
 # those functions but instead duplicate the functionality here.
 func_dirname_and_basename ()
 {
-  case ${1} in
-    */*) func_dirname_result="${1%/*}${2}" ;;
-    *  ) func_dirname_result="${3}" ;;
-  esac
-  func_basename_result="${1##*/}"
-}
+    case ${1} in
+      */*) func_dirname_result="${1%/*}${2}" ;;
+      *  ) func_dirname_result="${3}" ;;
+    esac
+    func_basename_result="${1##*/}"
+} # Extended-shell func_dirname_and_basename implementation
+
 
 # func_stripname prefix suffix name
 # strip PREFIX and SUFFIX off of NAME.
 # PREFIX and SUFFIX must not contain globbing or regex special
 # characters, hashes, percent signs, but SUFFIX may contain a leading
 # dot (in which case that matches only a dot).
+# func_strip_suffix prefix name
 func_stripname ()
 {
-  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
-  # positional parameters, so assign one to ordinary parameter first.
-  func_stripname_result=${3}
-  func_stripname_result=${func_stripname_result#"${1}"}
-  func_stripname_result=${func_stripname_result%"${2}"}
-}
-
-# func_opt_split
-func_opt_split ()
-{
-  func_opt_split_opt=${1%%=*}
-  func_opt_split_arg=${1#*=}
-}
-
-# func_lo2o object
-func_lo2o ()
+    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
+    # positional parameters, so assign one to ordinary parameter first.
+    func_stripname_result=${3}
+    func_stripname_result=${func_stripname_result#"${1}"}
+    func_stripname_result=${func_stripname_result%"${2}"}
+} # Extended-shell func_stripname implementation
+
+
+# These SED scripts presuppose an absolute path with a trailing slash.
+pathcar='s,^/\([^/]*\).*$,\1,'
+pathcdr='s,^/[^/]*,,'
+removedotparts=':dotsl
+		s@/\./@/@g
+		t dotsl
+		s,/\.$,/,'
+collapseslashes='s@/\{1,\}@/@g'
+finalslash='s,/*$,/,'
+
+# func_normal_abspath PATH
+# Remove doubled-up and trailing slashes, "." path components,
+# and cancel out any ".." path components in PATH after making
+# it an absolute path.
+#             value returned in "$func_normal_abspath_result"
+func_normal_abspath ()
 {
-  case ${1} in
-    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
-    *)    func_lo2o_result=${1} ;;
+  # Start from root dir and reassemble the path.
+  func_normal_abspath_result=
+  func_normal_abspath_tpath=$1
+  func_normal_abspath_altnamespace=
+  case $func_normal_abspath_tpath in
+    "")
+      # Empty path, that just means $cwd.
+      func_stripname '' '/' "`pwd`"
+      func_normal_abspath_result=$func_stripname_result
+      return
+    ;;
+    # The next three entries are used to spot a run of precisely
+    # two leading slashes without using negated character classes;
+    # we take advantage of case's first-match behaviour.
+    ///*)
+      # Unusual form of absolute path, do nothing.
+    ;;
+    //*)
+      # Not necessarily an ordinary path; POSIX reserves leading '//'
+      # and for example Cygwin uses it to access remote file shares
+      # over CIFS/SMB, so we conserve a leading double slash if found.
+      func_normal_abspath_altnamespace=/
+    ;;
+    /*)
+      # Absolute path, do nothing.
+    ;;
+    *)
+      # Relative path, prepend $cwd.
+      func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath
+    ;;
   esac
+  # Cancel out all the simple stuff to save iterations.  We also want
+  # the path to end with a slash for ease of parsing, so make sure
+  # there is one (and only one) here.
+  func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
+        -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"`
+  while :; do
+    # Processed it all yet?
+    if test "$func_normal_abspath_tpath" = / ; then
+      # If we ascended to the root using ".." the result may be empty now.
+      if test -z "$func_normal_abspath_result" ; then
+        func_normal_abspath_result=/
+      fi
+      break
+    fi
+    func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \
+        -e "$pathcar"`
+    func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
+        -e "$pathcdr"`
+    # Figure out what to do with it
+    case $func_normal_abspath_tcomponent in
+      "")
+        # Trailing empty path component, ignore it.
+      ;;
+      ..)
+        # Parent dir; strip last assembled component from result.
+        func_dirname "$func_normal_abspath_result"
+        func_normal_abspath_result=$func_dirname_result
+      ;;
+      *)
+        # Actual path component, append it.
+        func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent
+      ;;
+    esac
+  done
+  # Restore leading double-slash if one was found on entry.
+  func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result
 }
 
-# func_xform libobj-or-source
-func_xform ()
-{
-  func_xform_result=${1%.*}.lo
-}
-
-# func_arith arithmetic-term...
-func_arith ()
-{
-  func_arith_result=$(( $* ))
-}
-
-# func_len string
-# STRING may not start with a hyphen.
-func_len ()
+# func_relative_path SRCDIR DSTDIR
+# generates a relative path from SRCDIR to DSTDIR, with a trailing
+# slash if non-empty, suitable for immediately appending a filename
+# without needing to append a separator.
+#             value returned in "$func_relative_path_result"
+func_relative_path ()
 {
-  func_len_result=${#1}
-}
+  func_relative_path_result=
+  func_normal_abspath "$1"
+  func_relative_path_tlibdir=$func_normal_abspath_result
+  func_normal_abspath "$2"
+  func_relative_path_tbindir=$func_normal_abspath_result
+
+  # Ascend the tree starting from libdir
+  while :; do
+    # check if we have found a prefix of bindir
+    case $func_relative_path_tbindir in
+      $func_relative_path_tlibdir)
+        # found an exact match
+        func_relative_path_tcancelled=
+        break
+        ;;
+      $func_relative_path_tlibdir*)
+        # found a matching prefix
+        func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir"
+        func_relative_path_tcancelled=$func_stripname_result
+        if test -z "$func_relative_path_result"; then
+          func_relative_path_result=.
+        fi
+        break
+        ;;
+      *)
+        func_dirname $func_relative_path_tlibdir
+        func_relative_path_tlibdir=${func_dirname_result}
+        if test "x$func_relative_path_tlibdir" = x ; then
+          # Have to descend all the way to the root!
+          func_relative_path_result=../$func_relative_path_result
+          func_relative_path_tcancelled=$func_relative_path_tbindir
+          break
+        fi
+        func_relative_path_result=../$func_relative_path_result
+        ;;
+    esac
+  done
 
+  # Now calculate path; take care to avoid doubling-up slashes.
+  func_stripname '' '/' "$func_relative_path_result"
+  func_relative_path_result=$func_stripname_result
+  func_stripname '/' '/' "$func_relative_path_tcancelled"
+  if test "x$func_stripname_result" != x ; then
+    func_relative_path_result=${func_relative_path_result}/${func_stripname_result}
+  fi
 
-# func_append var value
-# Append VALUE to the end of shell variable VAR.
-func_append ()
-{
-  eval "$1+=\$2"
+  # Normalisation. If bindir is libdir, return empty string,
+  # else relative path ending with a slash; either way, target
+  # file name can be directly appended.
+  if test ! -z "$func_relative_path_result"; then
+    func_stripname './' '' "$func_relative_path_result/"
+    func_relative_path_result=$func_stripname_result
+  fi
 }
-# Generated shell functions inserted here.
-
-# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
-# is ksh but when the shell is invoked as "sh" and the current value of
-# the _XPG environment variable is not equal to 1 (one), the special
-# positional parameter $0, within a function call, is the name of the
-# function.
-progpath="$0"
 
 # The name of this program:
-# In the unlikely event $progname began with a '-', it would play havoc with
-# func_echo (imagine progname=-n), so we prepend ./ in that case:
 func_dirname_and_basename "$progpath"
 progname=$func_basename_result
-case $progname in
-  -*) progname=./$progname ;;
-esac
 
 # Make sure we have an absolute path for reexecution:
 case $progpath in
@@ -697,7 +819,7 @@ case $progpath in
      ;;
   *)
      save_IFS="$IFS"
-     IFS=:
+     IFS=${PATH_SEPARATOR-:}
      for progdir in $PATH; do
        IFS="$save_IFS"
        test -x "$progdir/$progname" && break
@@ -716,6 +838,15 @@ sed_quote_subst='s/\([`"$\\]\)/\\\1/g'
 # Same as above, but do not quote variable references.
 double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
+# Sed substitution that turns a string into a regex matching for the
+# string literally.
+sed_make_literal_regex='s,[].[^$\\*\/],\\&,g'
+
+# Sed substitution that converts a w32 file name or path
+# which contains forward slashes, into one that contains
+# (escaped) backslashes.  A very naive implementation.
+lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
+
 # Re-`\' parameter expansions in output of double_quote_subst that were
 # `\'-ed in input to the same.  If an odd number of `\' preceded a '$'
 # in input to double_quote_subst, that '$' was protected from expansion.
@@ -744,7 +875,7 @@ opt_warning=:
 # name if it has been set yet.
 func_echo ()
 {
-    $ECHO "$progname${mode+: }$mode: $*"
+    $ECHO "$progname: ${opt_mode+$opt_mode: }$*"
 }
 
 # func_verbose arg...
@@ -759,18 +890,25 @@ func_verbose ()
     :
 }
 
+# func_echo_all arg...
+# Invoke $ECHO with all args, space-separated.
+func_echo_all ()
+{
+    $ECHO "$*"
+}
+
 # func_error arg...
 # Echo program name prefixed message to standard error.
 func_error ()
 {
-    $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2
+    $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2
 }
 
 # func_warning arg...
 # Echo program name prefixed warning message to standard error.
 func_warning ()
 {
-    $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2
+    $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2
 
     # bash bug again:
     :
@@ -827,9 +965,9 @@ func_mkdir_p ()
         case $my_directory_path in */*) ;; *) break ;; esac
 
         # ...otherwise throw away the child directory and loop
-        my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"`
+        my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"`
       done
-      my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'`
+      my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'`
 
       save_mkdir_p_IFS="$IFS"; IFS=':'
       for my_dir in $my_dir_list; do
@@ -879,7 +1017,7 @@ func_mktempdir ()
         func_fatal_error "cannot create temporary directory \`$my_tmpdir'"
     fi
 
-    $ECHO "X$my_tmpdir" | $Xsed
+    $ECHO "$my_tmpdir"
 }
 
 
@@ -893,7 +1031,7 @@ func_quote_for_eval ()
 {
     case $1 in
       *[\\\`\"\$]*)
-	func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;;
+	func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;;
       *)
         func_quote_for_eval_unquoted_result="$1" ;;
     esac
@@ -920,7 +1058,7 @@ func_quote_for_expand ()
 {
     case $1 in
       *[\\\`\"]*)
-	my_arg=`$ECHO "X$1" | $Xsed \
+	my_arg=`$ECHO "$1" | $SED \
 	    -e "$double_quote_subst" -e "$sed_double_backslash"` ;;
       *)
         my_arg="$1" ;;
@@ -989,15 +1127,39 @@ func_show_eval_locale ()
     fi
 }
 
-
-
+# func_tr_sh
+# Turn $1 into a string suitable for a shell variable name.
+# Result is stored in $func_tr_sh_result.  All characters
+# not in the set a-zA-Z0-9_ are replaced with '_'. Further,
+# if $1 begins with a digit, a '_' is prepended as well.
+func_tr_sh ()
+{
+  case $1 in
+  [0-9]* | *[!a-zA-Z0-9_]*)
+    func_tr_sh_result=`$ECHO "$1" | $SED 's/^\([0-9]\)/_\1/; s/[^a-zA-Z0-9_]/_/g'`
+    ;;
+  * )
+    func_tr_sh_result=$1
+    ;;
+  esac
+}
 
 
 # func_version
 # Echo version message to standard output and exit.
 func_version ()
 {
-    $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / {
+    $opt_debug
+
+    $SED -n '/(C)/!b go
+	:more
+	/\./!{
+	  N
+	  s/\n# / /
+	  b more
+	}
+	:go
+	/^# '$PROGRAM' (GNU /,/# warranty; / {
         s/^# //
 	s/^# *$//
         s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/
@@ -1010,22 +1172,28 @@ func_version ()
 # Echo short help message to standard output and exit.
 func_usage ()
 {
-    $SED -n '/^# Usage:/,/# -h/ {
+    $opt_debug
+
+    $SED -n '/^# Usage:/,/^#  *.*--help/ {
         s/^# //
 	s/^# *$//
 	s/\$progname/'$progname'/
 	p
     }' < "$progpath"
-    $ECHO
+    echo
     $ECHO "run \`$progname --help | more' for full usage"
     exit $?
 }
 
-# func_help
-# Echo long help message to standard output and exit.
+# func_help [NOEXIT]
+# Echo long help message to standard output and exit,
+# unless 'noexit' is passed as argument.
 func_help ()
 {
+    $opt_debug
+
     $SED -n '/^# Usage:/,/# Report bugs to/ {
+	:print
         s/^# //
 	s/^# *$//
 	s*\$progname*'$progname'*
@@ -1035,11 +1203,18 @@ func_help ()
 	s*\$LTCFLAGS*'"$LTCFLAGS"'*
 	s*\$LD*'"$LD"'*
 	s/\$with_gnu_ld/'"$with_gnu_ld"'/
-	s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
-	s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
+	s/\$automake_version/'"`(${AUTOMAKE-automake} --version) 2>/dev/null |$SED 1q`"'/
+	s/\$autoconf_version/'"`(${AUTOCONF-autoconf} --version) 2>/dev/null |$SED 1q`"'/
 	p
-     }' < "$progpath"
-    exit $?
+	d
+     }
+     /^# .* home page:/b print
+     /^# General help using/b print
+     ' < "$progpath"
+    ret=$?
+    if test -z "$1"; then
+      exit $ret
+    fi
 }
 
 # func_missing_arg argname
@@ -1047,63 +1222,103 @@ func_help ()
 # exit_cmd.
 func_missing_arg ()
 {
-    func_error "missing argument for $1"
+    $opt_debug
+
+    func_error "missing argument for $1."
     exit_cmd=exit
 }
 
-exit_cmd=:
 
+# func_split_short_opt shortopt
+# Set func_split_short_opt_name and func_split_short_opt_arg shell
+# variables after splitting SHORTOPT after the 2nd character.
+func_split_short_opt ()
+{
+    func_split_short_opt_arg=${1#??}
+    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}
+} # Extended-shell func_split_short_opt implementation
 
 
+# func_split_long_opt longopt
+# Set func_split_long_opt_name and func_split_long_opt_arg shell
+# variables after splitting LONGOPT at the `=' sign.
+func_split_long_opt ()
+{
+    func_split_long_opt_name=${1%%=*}
+    func_split_long_opt_arg=${1#*=}
+} # Extended-shell func_split_long_opt implementation
+
+exit_cmd=:
+
 
 
-# Check that we have a working $ECHO.
-if test "X$1" = X--no-reexec; then
-  # Discard the --no-reexec flag, and continue.
-  shift
-elif test "X$1" = X--fallback-echo; then
-  # Avoid inline document here, it may be left over
-  :
-elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then
-  # Yippee, $ECHO works!
-  :
-else
-  # Restart under the correct shell, and then maybe $ECHO will work.
-  exec $SHELL "$progpath" --no-reexec ${1+"$@"}
-fi
 
-if test "X$1" = X--fallback-echo; then
-  # used as fallback echo
-  shift
-  cat <<EOF
-$*
-EOF
-  exit $EXIT_SUCCESS
-fi
 
 magic="%%%MAGIC variable%%%"
 magic_exe="%%%MAGIC EXE variable%%%"
 
 # Global variables.
-# $mode is unset
 nonopt=
-execute_dlfiles=
 preserve_args=
 lo2o="s/\\.lo\$/.${objext}/"
 o2lo="s/\\.${objext}\$/.lo/"
 extracted_archives=
 extracted_serial=0
 
-opt_dry_run=false
-opt_duplicate_deps=false
-opt_silent=false
-opt_debug=:
-
 # If this variable is set in any of the actions, the command in it
 # will be execed at the end.  This prevents here-documents from being
 # left over by shells.
 exec_cmd=
 
+# func_append var value
+# Append VALUE to the end of shell variable VAR.
+func_append ()
+{
+eval "${1}+=\${2}"
+} # Extended-shell func_append implementation
+
+# func_append_quoted var value
+# Quote VALUE and append to the end of shell variable VAR, separated
+# by a space.
+func_append_quoted ()
+{
+    func_quote_for_eval "${2}"
+    eval "${1}+=\\ \$func_quote_for_eval_result"
+} # Extended-shell func_append_quoted implementation
+
+
+# func_arith arithmetic-term...
+func_arith ()
+{
+func_arith_result=$(( $* ))
+} # Extended-shell func_arith implementation
+
+
+# func_len string
+# STRING may not start with a hyphen.
+func_len ()
+{
+func_len_result=${#1}
+} # Extended-shell func_len implementation
+
+
+# func_lo2o object
+func_lo2o ()
+{
+    case ${1} in
+      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
+      *)    func_lo2o_result=${1} ;;
+    esac
+} # Extended-shell func_lo2o implementation
+
+
+# func_xform libobj-or-source
+func_xform ()
+{
+func_xform_result=${1%.*}.lo
+} # Extended-shell func_xform implementation
+
+
 # func_fatal_configuration arg...
 # Echo program name prefixed message to standard error, followed by
 # a configuration failure hint, and exit.
@@ -1137,16 +1352,16 @@ func_config ()
 # Display the features supported by this script.
 func_features ()
 {
-    $ECHO "host: $host"
+    echo "host: $host"
     if test "$build_libtool_libs" = yes; then
-      $ECHO "enable shared libraries"
+      echo "enable shared libraries"
     else
-      $ECHO "disable shared libraries"
+      echo "disable shared libraries"
     fi
     if test "$build_old_libs" = yes; then
-      $ECHO "enable static libraries"
+      echo "enable static libraries"
     else
-      $ECHO "disable static libraries"
+      echo "disable static libraries"
     fi
 
     exit $?
@@ -1193,117 +1408,209 @@ func_enable_tag ()
   esac
 }
 
-# Parse options once, thoroughly.  This comes as soon as possible in
-# the script to make things like `libtool --version' happen quickly.
+# func_check_version_match
+# Ensure that we are using m4 macros, and libtool script from the same
+# release of libtool.
+func_check_version_match ()
 {
+  if test "$package_revision" != "$macro_revision"; then
+    if test "$VERSION" != "$macro_version"; then
+      if test -z "$macro_version"; then
+        cat >&2 <<_LT_EOF
+$progname: Version mismatch error.  This is $PACKAGE $VERSION, but the
+$progname: definition of this LT_INIT comes from an older release.
+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
+$progname: and run autoconf again.
+_LT_EOF
+      else
+        cat >&2 <<_LT_EOF
+$progname: Version mismatch error.  This is $PACKAGE $VERSION, but the
+$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
+$progname: and run autoconf again.
+_LT_EOF
+      fi
+    else
+      cat >&2 <<_LT_EOF
+$progname: Version mismatch error.  This is $PACKAGE $VERSION, revision $package_revision,
+$progname: but the definition of this LT_INIT comes from revision $macro_revision.
+$progname: You should recreate aclocal.m4 with macros from revision $package_revision
+$progname: of $PACKAGE $VERSION and run autoconf again.
+_LT_EOF
+    fi
 
-  # Shorthand for --mode=foo, only valid as the first argument
-  case $1 in
-  clean|clea|cle|cl)
-    shift; set dummy --mode clean ${1+"$@"}; shift
-    ;;
-  compile|compil|compi|comp|com|co|c)
-    shift; set dummy --mode compile ${1+"$@"}; shift
-    ;;
-  execute|execut|execu|exec|exe|ex|e)
-    shift; set dummy --mode execute ${1+"$@"}; shift
-    ;;
-  finish|finis|fini|fin|fi|f)
-    shift; set dummy --mode finish ${1+"$@"}; shift
-    ;;
-  install|instal|insta|inst|ins|in|i)
-    shift; set dummy --mode install ${1+"$@"}; shift
-    ;;
-  link|lin|li|l)
-    shift; set dummy --mode link ${1+"$@"}; shift
-    ;;
-  uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
-    shift; set dummy --mode uninstall ${1+"$@"}; shift
-    ;;
-  esac
+    exit $EXIT_MISMATCH
+  fi
+}
 
-  # Parse non-mode specific arguments:
-  while test "$#" -gt 0; do
+
+# Shorthand for --mode=foo, only valid as the first argument
+case $1 in
+clean|clea|cle|cl)
+  shift; set dummy --mode clean ${1+"$@"}; shift
+  ;;
+compile|compil|compi|comp|com|co|c)
+  shift; set dummy --mode compile ${1+"$@"}; shift
+  ;;
+execute|execut|execu|exec|exe|ex|e)
+  shift; set dummy --mode execute ${1+"$@"}; shift
+  ;;
+finish|finis|fini|fin|fi|f)
+  shift; set dummy --mode finish ${1+"$@"}; shift
+  ;;
+install|instal|insta|inst|ins|in|i)
+  shift; set dummy --mode install ${1+"$@"}; shift
+  ;;
+link|lin|li|l)
+  shift; set dummy --mode link ${1+"$@"}; shift
+  ;;
+uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
+  shift; set dummy --mode uninstall ${1+"$@"}; shift
+  ;;
+esac
+
+
+
+# Option defaults:
+opt_debug=:
+opt_dry_run=false
+opt_config=false
+opt_preserve_dup_deps=false
+opt_features=false
+opt_finish=false
+opt_help=false
+opt_help_all=false
+opt_silent=:
+opt_warning=:
+opt_verbose=:
+opt_silent=false
+opt_verbose=false
+
+
+# Parse options once, thoroughly.  This comes as soon as possible in the
+# script to make things like `--version' happen as quickly as we can.
+{
+  # this just eases exit handling
+  while test $# -gt 0; do
     opt="$1"
     shift
-
     case $opt in
-      --config)		func_config					;;
-
-      --debug)		preserve_args="$preserve_args $opt"
+      --debug|-x)	opt_debug='set -x'
 			func_echo "enabling shell trace mode"
-			opt_debug='set -x'
 			$opt_debug
 			;;
-
-      -dlopen)		test "$#" -eq 0 && func_missing_arg "$opt" && break
-			execute_dlfiles="$execute_dlfiles $1"
-			shift
+      --dry-run|--dryrun|-n)
+			opt_dry_run=:
 			;;
-
-      --dry-run | -n)	opt_dry_run=:					;;
-      --features)       func_features					;;
-      --finish)		mode="finish"					;;
-
-      --mode)		test "$#" -eq 0 && func_missing_arg "$opt" && break
-			case $1 in
-			  # Valid mode arguments:
-			  clean)	;;
-			  compile)	;;
-			  execute)	;;
-			  finish)	;;
-			  install)	;;
-			  link)		;;
-			  relink)	;;
-			  uninstall)	;;
-
-			  # Catch anything else as an error
-			  *) func_error "invalid argument for $opt"
-			     exit_cmd=exit
-			     break
-			     ;;
-		        esac
-
-			mode="$1"
+      --config)
+			opt_config=:
+func_config
+			;;
+      --dlopen|-dlopen)
+			optarg="$1"
+			opt_dlopen="${opt_dlopen+$opt_dlopen
+}$optarg"
 			shift
 			;;
-
       --preserve-dup-deps)
-			opt_duplicate_deps=:				;;
-
-      --quiet|--silent)	preserve_args="$preserve_args $opt"
-			opt_silent=:
+			opt_preserve_dup_deps=:
 			;;
-
-      --verbose| -v)	preserve_args="$preserve_args $opt"
+      --features)
+			opt_features=:
+func_features
+			;;
+      --finish)
+			opt_finish=:
+set dummy --mode finish ${1+"$@"}; shift
+			;;
+      --help)
+			opt_help=:
+			;;
+      --help-all)
+			opt_help_all=:
+opt_help=': help-all'
+			;;
+      --mode)
+			test $# = 0 && func_missing_arg $opt && break
+			optarg="$1"
+			opt_mode="$optarg"
+case $optarg in
+  # Valid mode arguments:
+  clean|compile|execute|finish|install|link|relink|uninstall) ;;
+
+  # Catch anything else as an error
+  *) func_error "invalid argument for $opt"
+     exit_cmd=exit
+     break
+     ;;
+esac
+			shift
+			;;
+      --no-silent|--no-quiet)
 			opt_silent=false
+preserve_args+=" $opt"
 			;;
-
-      --tag)		test "$#" -eq 0 && func_missing_arg "$opt" && break
-			preserve_args="$preserve_args $opt $1"
-			func_enable_tag "$1"	# tagname is set here
+      --no-warning|--no-warn)
+			opt_warning=false
+preserve_args+=" $opt"
+			;;
+      --no-verbose)
+			opt_verbose=false
+preserve_args+=" $opt"
+			;;
+      --silent|--quiet)
+			opt_silent=:
+preserve_args+=" $opt"
+        opt_verbose=false
+			;;
+      --verbose|-v)
+			opt_verbose=:
+preserve_args+=" $opt"
+opt_silent=false
+			;;
+      --tag)
+			test $# = 0 && func_missing_arg $opt && break
+			optarg="$1"
+			opt_tag="$optarg"
+preserve_args+=" $opt $optarg"
+func_enable_tag "$optarg"
 			shift
 			;;
 
+      -\?|-h)		func_usage				;;
+      --help)		func_help				;;
+      --version)	func_version				;;
+
       # Separate optargs to long options:
-      -dlopen=*|--mode=*|--tag=*)
-			func_opt_split "$opt"
-			set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"}
+      --*=*)
+			func_split_long_opt "$opt"
+			set dummy "$func_split_long_opt_name" "$func_split_long_opt_arg" ${1+"$@"}
 			shift
 			;;
 
-      -\?|-h)		func_usage					;;
-      --help)		opt_help=:					;;
-      --version)	func_version					;;
-
-      -*)		func_fatal_help "unrecognized option \`$opt'"	;;
-
-      *)		nonopt="$opt"
-			break
+      # Separate non-argument short options:
+      -\?*|-h*|-n*|-v*)
+			func_split_short_opt "$opt"
+			set dummy "$func_split_short_opt_name" "-$func_split_short_opt_arg" ${1+"$@"}
+			shift
 			;;
+
+      --)		break					;;
+      -*)		func_fatal_help "unrecognized option \`$opt'" ;;
+      *)		set dummy "$opt" ${1+"$@"};	shift; break  ;;
     esac
   done
 
+  # Validate options:
+
+  # save first non-option argument
+  if test "$#" -gt 0; then
+    nonopt="$opt"
+    shift
+  fi
+
+  # preserve --debug
+  test "$opt_debug" = : || preserve_args+=" --debug"
 
   case $host in
     *cygwin* | *mingw* | *pw32* | *cegcc*)
@@ -1311,82 +1618,44 @@ func_enable_tag ()
       opt_duplicate_compiler_generated_deps=:
       ;;
     *)
-      opt_duplicate_compiler_generated_deps=$opt_duplicate_deps
+      opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps
       ;;
   esac
 
-  # Having warned about all mis-specified options, bail out if
-  # anything was wrong.
-  $exit_cmd $EXIT_FAILURE
-}
+  $opt_help || {
+    # Sanity checks first:
+    func_check_version_match
 
-# func_check_version_match
-# Ensure that we are using m4 macros, and libtool script from the same
-# release of libtool.
-func_check_version_match ()
-{
-  if test "$package_revision" != "$macro_revision"; then
-    if test "$VERSION" != "$macro_version"; then
-      if test -z "$macro_version"; then
-        cat >&2 <<_LT_EOF
-$progname: Version mismatch error.  This is $PACKAGE $VERSION, but the
-$progname: definition of this LT_INIT comes from an older release.
-$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
-$progname: and run autoconf again.
-_LT_EOF
-      else
-        cat >&2 <<_LT_EOF
-$progname: Version mismatch error.  This is $PACKAGE $VERSION, but the
-$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
-$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
-$progname: and run autoconf again.
-_LT_EOF
-      fi
-    else
-      cat >&2 <<_LT_EOF
-$progname: Version mismatch error.  This is $PACKAGE $VERSION, revision $package_revision,
-$progname: but the definition of this LT_INIT comes from revision $macro_revision.
-$progname: You should recreate aclocal.m4 with macros from revision $package_revision
-$progname: of $PACKAGE $VERSION and run autoconf again.
-_LT_EOF
+    if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
+      func_fatal_configuration "not configured to build any kind of library"
     fi
 
-    exit $EXIT_MISMATCH
-  fi
-}
-
+    # Darwin sucks
+    eval std_shrext=\"$shrext_cmds\"
 
-## ----------- ##
-##    Main.    ##
-## ----------- ##
-
-$opt_help || {
-  # Sanity checks first:
-  func_check_version_match
-
-  if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
-    func_fatal_configuration "not configured to build any kind of library"
-  fi
+    # Only execute mode is allowed to have -dlopen flags.
+    if test -n "$opt_dlopen" && test "$opt_mode" != execute; then
+      func_error "unrecognized option \`-dlopen'"
+      $ECHO "$help" 1>&2
+      exit $EXIT_FAILURE
+    fi
 
-  test -z "$mode" && func_fatal_error "error: you must specify a MODE."
+    # Change the help message to a mode-specific one.
+    generic_help="$help"
+    help="Try \`$progname --help --mode=$opt_mode' for more information."
+  }
 
 
-  # Darwin sucks
-  eval std_shrext=\"$shrext_cmds\"
+  # Bail if the options were screwed
+  $exit_cmd $EXIT_FAILURE
+}
 
 
-  # Only execute mode is allowed to have -dlopen flags.
-  if test -n "$execute_dlfiles" && test "$mode" != execute; then
-    func_error "unrecognized option \`-dlopen'"
-    $ECHO "$help" 1>&2
-    exit $EXIT_FAILURE
-  fi
 
-  # Change the help message to a mode-specific one.
-  generic_help="$help"
-  help="Try \`$progname --help --mode=$mode' for more information."
-}
 
+## ----------- ##
+##    Main.    ##
+## ----------- ##
 
 # func_lalib_p file
 # True iff FILE is a libtool `.la' library or `.lo' object file.
@@ -1451,12 +1720,9 @@ func_ltwrapper_executable_p ()
 # temporary ltwrapper_script.
 func_ltwrapper_scriptname ()
 {
-    func_ltwrapper_scriptname_result=""
-    if func_ltwrapper_executable_p "$1"; then
-	func_dirname_and_basename "$1" "" "."
-	func_stripname '' '.exe' "$func_basename_result"
-	func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
-    fi
+    func_dirname_and_basename "$1" "" "."
+    func_stripname '' '.exe' "$func_basename_result"
+    func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
 }
 
 # func_ltwrapper_p file
@@ -1502,6 +1768,37 @@ func_source ()
 }
 
 
+# func_resolve_sysroot PATH
+# Replace a leading = in PATH with a sysroot.  Store the result into
+# func_resolve_sysroot_result
+func_resolve_sysroot ()
+{
+  func_resolve_sysroot_result=$1
+  case $func_resolve_sysroot_result in
+  =*)
+    func_stripname '=' '' "$func_resolve_sysroot_result"
+    func_resolve_sysroot_result=$lt_sysroot$func_stripname_result
+    ;;
+  esac
+}
+
+# func_replace_sysroot PATH
+# If PATH begins with the sysroot, replace it with = and
+# store the result into func_replace_sysroot_result.
+func_replace_sysroot ()
+{
+  case "$lt_sysroot:$1" in
+  ?*:"$lt_sysroot"*)
+    func_stripname "$lt_sysroot" '' "$1"
+    func_replace_sysroot_result="=$func_stripname_result"
+    ;;
+  *)
+    # Including no sysroot.
+    func_replace_sysroot_result=$1
+    ;;
+  esac
+}
+
 # func_infer_tag arg
 # Infer tagged configuration to use if any are available and
 # if one wasn't chosen via the "--tag" command line option.
@@ -1514,13 +1811,15 @@ func_infer_tag ()
     if test -n "$available_tags" && test -z "$tagname"; then
       CC_quoted=
       for arg in $CC; do
-        func_quote_for_eval "$arg"
-	CC_quoted="$CC_quoted $func_quote_for_eval_result"
+	func_append_quoted CC_quoted "$arg"
       done
+      CC_expanded=`func_echo_all $CC`
+      CC_quoted_expanded=`func_echo_all $CC_quoted`
       case $@ in
       # Blanks in the command may have been stripped by the calling shell,
       # but not from the CC environment variable when configure was run.
-      " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;;
+      " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
+      " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;;
       # Blanks at the start of $base_compile will cause this to fail
       # if we don't check for them as well.
       *)
@@ -1531,11 +1830,13 @@ func_infer_tag ()
 	    CC_quoted=
 	    for arg in $CC; do
 	      # Double-quote args containing other shell metacharacters.
-	      func_quote_for_eval "$arg"
-	      CC_quoted="$CC_quoted $func_quote_for_eval_result"
+	      func_append_quoted CC_quoted "$arg"
 	    done
+	    CC_expanded=`func_echo_all $CC`
+	    CC_quoted_expanded=`func_echo_all $CC_quoted`
 	    case "$@ " in
-	      " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*)
+	    " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
+	    " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*)
 	      # The compiler in the base compile command matches
 	      # the one in the tagged configuration.
 	      # Assume this is the tagged configuration we want.
@@ -1598,6 +1899,486 @@ EOF
     }
 }
 
+
+##################################################
+# FILE NAME AND PATH CONVERSION HELPER FUNCTIONS #
+##################################################
+
+# func_convert_core_file_wine_to_w32 ARG
+# Helper function used by file name conversion functions when $build is *nix,
+# and $host is mingw, cygwin, or some other w32 environment. Relies on a
+# correctly configured wine environment available, with the winepath program
+# in $build's $PATH.
+#
+# ARG is the $build file name to be converted to w32 format.
+# Result is available in $func_convert_core_file_wine_to_w32_result, and will
+# be empty on error (or when ARG is empty)
+func_convert_core_file_wine_to_w32 ()
+{
+  $opt_debug
+  func_convert_core_file_wine_to_w32_result="$1"
+  if test -n "$1"; then
+    # Unfortunately, winepath does not exit with a non-zero error code, so we
+    # are forced to check the contents of stdout. On the other hand, if the
+    # command is not found, the shell will set an exit code of 127 and print
+    # *an error message* to stdout. So we must check for both error code of
+    # zero AND non-empty stdout, which explains the odd construction:
+    func_convert_core_file_wine_to_w32_tmp=`winepath -w "$1" 2>/dev/null`
+    if test "$?" -eq 0 && test -n "${func_convert_core_file_wine_to_w32_tmp}"; then
+      func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" |
+        $SED -e "$lt_sed_naive_backslashify"`
+    else
+      func_convert_core_file_wine_to_w32_result=
+    fi
+  fi
+}
+# end: func_convert_core_file_wine_to_w32
+
+
+# func_convert_core_path_wine_to_w32 ARG
+# Helper function used by path conversion functions when $build is *nix, and
+# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly
+# configured wine environment available, with the winepath program in $build's
+# $PATH. Assumes ARG has no leading or trailing path separator characters.
+#
+# ARG is path to be converted from $build format to win32.
+# Result is available in $func_convert_core_path_wine_to_w32_result.
+# Unconvertible file (directory) names in ARG are skipped; if no directory names
+# are convertible, then the result may be empty.
+func_convert_core_path_wine_to_w32 ()
+{
+  $opt_debug
+  # unfortunately, winepath doesn't convert paths, only file names
+  func_convert_core_path_wine_to_w32_result=""
+  if test -n "$1"; then
+    oldIFS=$IFS
+    IFS=:
+    for func_convert_core_path_wine_to_w32_f in $1; do
+      IFS=$oldIFS
+      func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f"
+      if test -n "$func_convert_core_file_wine_to_w32_result" ; then
+        if test -z "$func_convert_core_path_wine_to_w32_result"; then
+          func_convert_core_path_wine_to_w32_result="$func_convert_core_file_wine_to_w32_result"
+        else
+          func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result"
+        fi
+      fi
+    done
+    IFS=$oldIFS
+  fi
+}
+# end: func_convert_core_path_wine_to_w32
+
+
+# func_cygpath ARGS...
+# Wrapper around calling the cygpath program via LT_CYGPATH. This is used when
+# when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2)
+# $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or
+# (2), returns the Cygwin file name or path in func_cygpath_result (input
+# file name or path is assumed to be in w32 format, as previously converted
+# from $build's *nix or MSYS format). In case (3), returns the w32 file name
+# or path in func_cygpath_result (input file name or path is assumed to be in
+# Cygwin format). Returns an empty string on error.
+#
+# ARGS are passed to cygpath, with the last one being the file name or path to
+# be converted.
+#
+# Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH
+# environment variable; do not put it in $PATH.
+func_cygpath ()
+{
+  $opt_debug
+  if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then
+    func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null`
+    if test "$?" -ne 0; then
+      # on failure, ensure result is empty
+      func_cygpath_result=
+    fi
+  else
+    func_cygpath_result=
+    func_error "LT_CYGPATH is empty or specifies non-existent file: \`$LT_CYGPATH'"
+  fi
+}
+#end: func_cygpath
+
+
+# func_convert_core_msys_to_w32 ARG
+# Convert file name or path ARG from MSYS format to w32 format.  Return
+# result in func_convert_core_msys_to_w32_result.
+func_convert_core_msys_to_w32 ()
+{
+  $opt_debug
+  # awkward: cmd appends spaces to result
+  func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |
+    $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
+}
+#end: func_convert_core_msys_to_w32
+
+
+# func_convert_file_check ARG1 ARG2
+# Verify that ARG1 (a file name in $build format) was converted to $host
+# format in ARG2. Otherwise, emit an error message, but continue (resetting
+# func_to_host_file_result to ARG1).
+func_convert_file_check ()
+{
+  $opt_debug
+  if test -z "$2" && test -n "$1" ; then
+    func_error "Could not determine host file name corresponding to"
+    func_error "  \`$1'"
+    func_error "Continuing, but uninstalled executables may not work."
+    # Fallback:
+    func_to_host_file_result="$1"
+  fi
+}
+# end func_convert_file_check
+
+
+# func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH
+# Verify that FROM_PATH (a path in $build format) was converted to $host
+# format in TO_PATH. Otherwise, emit an error message, but continue, resetting
+# func_to_host_file_result to a simplistic fallback value (see below).
+func_convert_path_check ()
+{
+  $opt_debug
+  if test -z "$4" && test -n "$3"; then
+    func_error "Could not determine the host path corresponding to"
+    func_error "  \`$3'"
+    func_error "Continuing, but uninstalled executables may not work."
+    # Fallback.  This is a deliberately simplistic "conversion" and
+    # should not be "improved".  See libtool.info.
+    if test "x$1" != "x$2"; then
+      lt_replace_pathsep_chars="s|$1|$2|g"
+      func_to_host_path_result=`echo "$3" |
+        $SED -e "$lt_replace_pathsep_chars"`
+    else
+      func_to_host_path_result="$3"
+    fi
+  fi
+}
+# end func_convert_path_check
+
+
+# func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG
+# Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT
+# and appending REPL if ORIG matches BACKPAT.
+func_convert_path_front_back_pathsep ()
+{
+  $opt_debug
+  case $4 in
+  $1 ) func_to_host_path_result="$3$func_to_host_path_result"
+    ;;
+  esac
+  case $4 in
+  $2 ) func_to_host_path_result+="$3"
+    ;;
+  esac
+}
+# end func_convert_path_front_back_pathsep
+
+
+##################################################
+# $build to $host FILE NAME CONVERSION FUNCTIONS #
+##################################################
+# invoked via `$to_host_file_cmd ARG'
+#
+# In each case, ARG is the path to be converted from $build to $host format.
+# Result will be available in $func_to_host_file_result.
+
+
+# func_to_host_file ARG
+# Converts the file name ARG from $build format to $host format. Return result
+# in func_to_host_file_result.
+func_to_host_file ()
+{
+  $opt_debug
+  $to_host_file_cmd "$1"
+}
+# end func_to_host_file
+
+
+# func_to_tool_file ARG LAZY
+# converts the file name ARG from $build format to toolchain format. Return
+# result in func_to_tool_file_result.  If the conversion in use is listed
+# in (the comma separated) LAZY, no conversion takes place.
+func_to_tool_file ()
+{
+  $opt_debug
+  case ,$2, in
+    *,"$to_tool_file_cmd",*)
+      func_to_tool_file_result=$1
+      ;;
+    *)
+      $to_tool_file_cmd "$1"
+      func_to_tool_file_result=$func_to_host_file_result
+      ;;
+  esac
+}
+# end func_to_tool_file
+
+
+# func_convert_file_noop ARG
+# Copy ARG to func_to_host_file_result.
+func_convert_file_noop ()
+{
+  func_to_host_file_result="$1"
+}
+# end func_convert_file_noop
+
+
+# func_convert_file_msys_to_w32 ARG
+# Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic
+# conversion to w32 is not available inside the cwrapper.  Returns result in
+# func_to_host_file_result.
+func_convert_file_msys_to_w32 ()
+{
+  $opt_debug
+  func_to_host_file_result="$1"
+  if test -n "$1"; then
+    func_convert_core_msys_to_w32 "$1"
+    func_to_host_file_result="$func_convert_core_msys_to_w32_result"
+  fi
+  func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_msys_to_w32
+
+
+# func_convert_file_cygwin_to_w32 ARG
+# Convert file name ARG from Cygwin to w32 format.  Returns result in
+# func_to_host_file_result.
+func_convert_file_cygwin_to_w32 ()
+{
+  $opt_debug
+  func_to_host_file_result="$1"
+  if test -n "$1"; then
+    # because $build is cygwin, we call "the" cygpath in $PATH; no need to use
+    # LT_CYGPATH in this case.
+    func_to_host_file_result=`cygpath -m "$1"`
+  fi
+  func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_cygwin_to_w32
+
+
+# func_convert_file_nix_to_w32 ARG
+# Convert file name ARG from *nix to w32 format.  Requires a wine environment
+# and a working winepath. Returns result in func_to_host_file_result.
+func_convert_file_nix_to_w32 ()
+{
+  $opt_debug
+  func_to_host_file_result="$1"
+  if test -n "$1"; then
+    func_convert_core_file_wine_to_w32 "$1"
+    func_to_host_file_result="$func_convert_core_file_wine_to_w32_result"
+  fi
+  func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_nix_to_w32
+
+
+# func_convert_file_msys_to_cygwin ARG
+# Convert file name ARG from MSYS to Cygwin format.  Requires LT_CYGPATH set.
+# Returns result in func_to_host_file_result.
+func_convert_file_msys_to_cygwin ()
+{
+  $opt_debug
+  func_to_host_file_result="$1"
+  if test -n "$1"; then
+    func_convert_core_msys_to_w32 "$1"
+    func_cygpath -u "$func_convert_core_msys_to_w32_result"
+    func_to_host_file_result="$func_cygpath_result"
+  fi
+  func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_msys_to_cygwin
+
+
+# func_convert_file_nix_to_cygwin ARG
+# Convert file name ARG from *nix to Cygwin format.  Requires Cygwin installed
+# in a wine environment, working winepath, and LT_CYGPATH set.  Returns result
+# in func_to_host_file_result.
+func_convert_file_nix_to_cygwin ()
+{
+  $opt_debug
+  func_to_host_file_result="$1"
+  if test -n "$1"; then
+    # convert from *nix to w32, then use cygpath to convert from w32 to cygwin.
+    func_convert_core_file_wine_to_w32 "$1"
+    func_cygpath -u "$func_convert_core_file_wine_to_w32_result"
+    func_to_host_file_result="$func_cygpath_result"
+  fi
+  func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_nix_to_cygwin
+
+
+#############################################
+# $build to $host PATH CONVERSION FUNCTIONS #
+#############################################
+# invoked via `$to_host_path_cmd ARG'
+#
+# In each case, ARG is the path to be converted from $build to $host format.
+# The result will be available in $func_to_host_path_result.
+#
+# Path separators are also converted from $build format to $host format.  If
+# ARG begins or ends with a path separator character, it is preserved (but
+# converted to $host format) on output.
+#
+# All path conversion functions are named using the following convention:
+#   file name conversion function    : func_convert_file_X_to_Y ()
+#   path conversion function         : func_convert_path_X_to_Y ()
+# where, for any given $build/$host combination the 'X_to_Y' value is the
+# same.  If conversion functions are added for new $build/$host combinations,
+# the two new functions must follow this pattern, or func_init_to_host_path_cmd
+# will break.
+
+
+# func_init_to_host_path_cmd
+# Ensures that function "pointer" variable $to_host_path_cmd is set to the
+# appropriate value, based on the value of $to_host_file_cmd.
+to_host_path_cmd=
+func_init_to_host_path_cmd ()
+{
+  $opt_debug
+  if test -z "$to_host_path_cmd"; then
+    func_stripname 'func_convert_file_' '' "$to_host_file_cmd"
+    to_host_path_cmd="func_convert_path_${func_stripname_result}"
+  fi
+}
+
+
+# func_to_host_path ARG
+# Converts the path ARG from $build format to $host format. Return result
+# in func_to_host_path_result.
+func_to_host_path ()
+{
+  $opt_debug
+  func_init_to_host_path_cmd
+  $to_host_path_cmd "$1"
+}
+# end func_to_host_path
+
+
+# func_convert_path_noop ARG
+# Copy ARG to func_to_host_path_result.
+func_convert_path_noop ()
+{
+  func_to_host_path_result="$1"
+}
+# end func_convert_path_noop
+
+
+# func_convert_path_msys_to_w32 ARG
+# Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic
+# conversion to w32 is not available inside the cwrapper.  Returns result in
+# func_to_host_path_result.
+func_convert_path_msys_to_w32 ()
+{
+  $opt_debug
+  func_to_host_path_result="$1"
+  if test -n "$1"; then
+    # Remove leading and trailing path separator characters from ARG.  MSYS
+    # behavior is inconsistent here; cygpath turns them into '.;' and ';.';
+    # and winepath ignores them completely.
+    func_stripname : : "$1"
+    func_to_host_path_tmp1=$func_stripname_result
+    func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
+    func_to_host_path_result="$func_convert_core_msys_to_w32_result"
+    func_convert_path_check : ";" \
+      "$func_to_host_path_tmp1" "$func_to_host_path_result"
+    func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
+  fi
+}
+# end func_convert_path_msys_to_w32
+
+
+# func_convert_path_cygwin_to_w32 ARG
+# Convert path ARG from Cygwin to w32 format.  Returns result in
+# func_to_host_file_result.
+func_convert_path_cygwin_to_w32 ()
+{
+  $opt_debug
+  func_to_host_path_result="$1"
+  if test -n "$1"; then
+    # See func_convert_path_msys_to_w32:
+    func_stripname : : "$1"
+    func_to_host_path_tmp1=$func_stripname_result
+    func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"`
+    func_convert_path_check : ";" \
+      "$func_to_host_path_tmp1" "$func_to_host_path_result"
+    func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
+  fi
+}
+# end func_convert_path_cygwin_to_w32
+
+
+# func_convert_path_nix_to_w32 ARG
+# Convert path ARG from *nix to w32 format.  Requires a wine environment and
+# a working winepath.  Returns result in func_to_host_file_result.
+func_convert_path_nix_to_w32 ()
+{
+  $opt_debug
+  func_to_host_path_result="$1"
+  if test -n "$1"; then
+    # See func_convert_path_msys_to_w32:
+    func_stripname : : "$1"
+    func_to_host_path_tmp1=$func_stripname_result
+    func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
+    func_to_host_path_result="$func_convert_core_path_wine_to_w32_result"
+    func_convert_path_check : ";" \
+      "$func_to_host_path_tmp1" "$func_to_host_path_result"
+    func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
+  fi
+}
+# end func_convert_path_nix_to_w32
+
+
+# func_convert_path_msys_to_cygwin ARG
+# Convert path ARG from MSYS to Cygwin format.  Requires LT_CYGPATH set.
+# Returns result in func_to_host_file_result.
+func_convert_path_msys_to_cygwin ()
+{
+  $opt_debug
+  func_to_host_path_result="$1"
+  if test -n "$1"; then
+    # See func_convert_path_msys_to_w32:
+    func_stripname : : "$1"
+    func_to_host_path_tmp1=$func_stripname_result
+    func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
+    func_cygpath -u -p "$func_convert_core_msys_to_w32_result"
+    func_to_host_path_result="$func_cygpath_result"
+    func_convert_path_check : : \
+      "$func_to_host_path_tmp1" "$func_to_host_path_result"
+    func_convert_path_front_back_pathsep ":*" "*:" : "$1"
+  fi
+}
+# end func_convert_path_msys_to_cygwin
+
+
+# func_convert_path_nix_to_cygwin ARG
+# Convert path ARG from *nix to Cygwin format.  Requires Cygwin installed in a
+# a wine environment, working winepath, and LT_CYGPATH set.  Returns result in
+# func_to_host_file_result.
+func_convert_path_nix_to_cygwin ()
+{
+  $opt_debug
+  func_to_host_path_result="$1"
+  if test -n "$1"; then
+    # Remove leading and trailing path separator characters from
+    # ARG. msys behavior is inconsistent here, cygpath turns them
+    # into '.;' and ';.', and winepath ignores them completely.
+    func_stripname : : "$1"
+    func_to_host_path_tmp1=$func_stripname_result
+    func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
+    func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result"
+    func_to_host_path_result="$func_cygpath_result"
+    func_convert_path_check : : \
+      "$func_to_host_path_tmp1" "$func_to_host_path_result"
+    func_convert_path_front_back_pathsep ":*" "*:" : "$1"
+  fi
+}
+# end func_convert_path_nix_to_cygwin
+
+
 # func_mode_compile arg...
 func_mode_compile ()
 {
@@ -1638,12 +2419,12 @@ func_mode_compile ()
 	  ;;
 
 	-pie | -fpie | -fPIE)
-          pie_flag="$pie_flag $arg"
+          pie_flag+=" $arg"
 	  continue
 	  ;;
 
 	-shared | -static | -prefer-pic | -prefer-non-pic)
-	  later="$later $arg"
+	  later+=" $arg"
 	  continue
 	  ;;
 
@@ -1664,15 +2445,14 @@ func_mode_compile ()
 	  save_ifs="$IFS"; IFS=','
 	  for arg in $args; do
 	    IFS="$save_ifs"
-	    func_quote_for_eval "$arg"
-	    lastarg="$lastarg $func_quote_for_eval_result"
+	    func_append_quoted lastarg "$arg"
 	  done
 	  IFS="$save_ifs"
 	  func_stripname ' ' '' "$lastarg"
 	  lastarg=$func_stripname_result
 
 	  # Add the arguments to base_compile.
-	  base_compile="$base_compile $lastarg"
+	  base_compile+=" $lastarg"
 	  continue
 	  ;;
 
@@ -1688,8 +2468,7 @@ func_mode_compile ()
       esac    #  case $arg_mode
 
       # Aesthetically quote the previous argument.
-      func_quote_for_eval "$lastarg"
-      base_compile="$base_compile $func_quote_for_eval_result"
+      func_append_quoted base_compile "$lastarg"
     done # for arg
 
     case $arg_mode in
@@ -1714,7 +2493,7 @@ func_mode_compile ()
     *.[cCFSifmso] | \
     *.ada | *.adb | *.ads | *.asm | \
     *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
-    *.[fF][09]? | *.for | *.java | *.obj | *.sx)
+    *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup)
       func_xform "$libobj"
       libobj=$func_xform_result
       ;;
@@ -1789,7 +2568,7 @@ func_mode_compile ()
     # Calculate the filename of the output object if compiler does
     # not support -o with -c
     if test "$compiler_c_o" = no; then
-      output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
+      output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext}
       lockfile="$output_obj.lock"
     else
       output_obj=
@@ -1820,17 +2599,16 @@ compiler."
 	$opt_dry_run || $RM $removelist
 	exit $EXIT_FAILURE
       fi
-      removelist="$removelist $output_obj"
+      removelist+=" $output_obj"
       $ECHO "$srcfile" > "$lockfile"
     fi
 
     $opt_dry_run || $RM $removelist
-    removelist="$removelist $lockfile"
+    removelist+=" $lockfile"
     trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
 
-    if test -n "$fix_srcfile_path"; then
-      eval srcfile=\"$fix_srcfile_path\"
-    fi
+    func_to_tool_file "$srcfile" func_convert_file_msys_to_w32
+    srcfile=$func_to_tool_file_result
     func_quote_for_eval "$srcfile"
     qsrcfile=$func_quote_for_eval_result
 
@@ -1850,7 +2628,7 @@ compiler."
 
       if test -z "$output_obj"; then
 	# Place PIC objects in $objdir
-	command="$command -o $lobj"
+	command+=" -o $lobj"
       fi
 
       func_show_eval_locale "$command"	\
@@ -1897,11 +2675,11 @@ compiler."
 	command="$base_compile $qsrcfile $pic_flag"
       fi
       if test "$compiler_c_o" = yes; then
-	command="$command -o $obj"
+	command+=" -o $obj"
       fi
 
       # Suppress compiler output if we already did a PIC compilation.
-      command="$command$suppress_output"
+      command+="$suppress_output"
       func_show_eval_locale "$command" \
         '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
 
@@ -1946,13 +2724,13 @@ compiler."
 }
 
 $opt_help || {
-test "$mode" = compile && func_mode_compile ${1+"$@"}
+  test "$opt_mode" = compile && func_mode_compile ${1+"$@"}
 }
 
 func_mode_help ()
 {
     # We need to display help for each of the modes.
-    case $mode in
+    case $opt_mode in
       "")
         # Generic help is extracted from the usage comments
         # at the start of this file.
@@ -1983,10 +2761,11 @@ This mode accepts the following additional options:
 
   -o OUTPUT-FILE    set the output file name to OUTPUT-FILE
   -no-suppress      do not suppress compiler output for multiple passes
-  -prefer-pic       try to building PIC objects only
-  -prefer-non-pic   try to building non-PIC objects only
+  -prefer-pic       try to build PIC objects only
+  -prefer-non-pic   try to build non-PIC objects only
   -shared           do not build a \`.o' file suitable for static linking
   -static           only build a \`.o' file suitable for static linking
+  -Wc,FLAG          pass FLAG directly to the compiler
 
 COMPILE-COMMAND is a command to be used in creating a \`standard' object file
 from the given SOURCEFILE.
@@ -2039,7 +2818,7 @@ either the \`install' or \`cp' program.
 
 The following components of INSTALL-COMMAND are treated specially:
 
-  -inst-prefix PREFIX-DIR  Use PREFIX-DIR as a staging area for installation
+  -inst-prefix-dir PREFIX-DIR  Use PREFIX-DIR as a staging area for installation
 
 The rest of the components are interpreted as arguments to that command (only
 BSD-compatible install options are recognized)."
@@ -2059,6 +2838,8 @@ The following components of LINK-COMMAND are treated specially:
 
   -all-static       do not do any dynamic linking at all
   -avoid-version    do not add a version suffix if possible
+  -bindir BINDIR    specify path to binaries directory (for systems where
+                    libraries must be found in the PATH setting at runtime)
   -dlopen FILE      \`-dlpreopen' FILE if it cannot be dlopened at runtime
   -dlpreopen FILE   link in FILE and add its symbols to lt_preloaded_symbols
   -export-dynamic   allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
@@ -2087,6 +2868,11 @@ The following components of LINK-COMMAND are treated specially:
   -version-info CURRENT[:REVISION[:AGE]]
                     specify library version info [each variable defaults to 0]
   -weak LIBNAME     declare that the target provides the LIBNAME interface
+  -Wc,FLAG
+  -Xcompiler FLAG   pass linker-specific FLAG directly to the compiler
+  -Wl,FLAG
+  -Xlinker FLAG     pass linker-specific FLAG directly to the linker
+  -XCClinker FLAG   pass link-specific FLAG to the compiler driver (CC)
 
 All other options (arguments beginning with \`-') are ignored.
 
@@ -2120,18 +2906,44 @@ Otherwise, only FILE itself is deleted using RM."
         ;;
 
       *)
-        func_fatal_help "invalid operation mode \`$mode'"
+        func_fatal_help "invalid operation mode \`$opt_mode'"
         ;;
     esac
 
-    $ECHO
+    echo
     $ECHO "Try \`$progname --help' for more information about other modes."
-
-    exit $?
 }
 
-  # Now that we've collected a possible --mode arg, show help if necessary
-  $opt_help && func_mode_help
+# Now that we've collected a possible --mode arg, show help if necessary
+if $opt_help; then
+  if test "$opt_help" = :; then
+    func_mode_help
+  else
+    {
+      func_help noexit
+      for opt_mode in compile link execute install finish uninstall clean; do
+	func_mode_help
+      done
+    } | sed -n '1p; 2,$s/^Usage:/  or: /p'
+    {
+      func_help noexit
+      for opt_mode in compile link execute install finish uninstall clean; do
+	echo
+	func_mode_help
+      done
+    } |
+    sed '1d
+      /^When reporting/,/^Report/{
+	H
+	d
+      }
+      $x
+      /information about other modes/d
+      /more detailed .*MODE/d
+      s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/'
+  fi
+  exit $?
+fi
 
 
 # func_mode_execute arg...
@@ -2144,13 +2956,16 @@ func_mode_execute ()
       func_fatal_help "you must specify a COMMAND"
 
     # Handle -dlopen flags immediately.
-    for file in $execute_dlfiles; do
+    for file in $opt_dlopen; do
       test -f "$file" \
 	|| func_fatal_help "\`$file' is not a file"
 
       dir=
       case $file in
       *.la)
+	func_resolve_sysroot "$file"
+	file=$func_resolve_sysroot_result
+
 	# Check to see that this really is a libtool archive.
 	func_lalib_unsafe_p "$file" \
 	  || func_fatal_help "\`$lib' is not a valid libtool archive"
@@ -2172,7 +2987,7 @@ func_mode_execute ()
 	dir="$func_dirname_result"
 
 	if test -f "$dir/$objdir/$dlname"; then
-	  dir="$dir/$objdir"
+	  dir+="/$objdir"
 	else
 	  if test ! -f "$dir/$dlname"; then
 	    func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'"
@@ -2213,7 +3028,7 @@ func_mode_execute ()
     for file
     do
       case $file in
-      -*) ;;
+      -* | *.la | *.lo ) ;;
       *)
 	# Do a test to see if this is really a libtool program.
 	if func_ltwrapper_script_p "$file"; then
@@ -2229,8 +3044,7 @@ func_mode_execute ()
 	;;
       esac
       # Quote arguments (to preserve shell metacharacters).
-      func_quote_for_eval "$file"
-      args="$args $func_quote_for_eval_result"
+      func_append_quoted args "$file"
     done
 
     if test "X$opt_dry_run" = Xfalse; then
@@ -2255,29 +3069,66 @@ func_mode_execute ()
       # Display what would be done.
       if test -n "$shlibpath_var"; then
 	eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
-	$ECHO "export $shlibpath_var"
+	echo "export $shlibpath_var"
       fi
       $ECHO "$cmd$args"
       exit $EXIT_SUCCESS
     fi
 }
 
-test "$mode" = execute && func_mode_execute ${1+"$@"}
+test "$opt_mode" = execute && func_mode_execute ${1+"$@"}
 
 
 # func_mode_finish arg...
 func_mode_finish ()
 {
     $opt_debug
-    libdirs="$nonopt"
+    libs=
+    libdirs=
     admincmds=
 
-    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
-      for dir
-      do
-	libdirs="$libdirs $dir"
-      done
+    for opt in "$nonopt" ${1+"$@"}
+    do
+      if test -d "$opt"; then
+	libdirs+=" $opt"
+
+      elif test -f "$opt"; then
+	if func_lalib_unsafe_p "$opt"; then
+	  libs+=" $opt"
+	else
+	  func_warning "\`$opt' is not a valid libtool archive"
+	fi
+
+      else
+	func_fatal_error "invalid argument \`$opt'"
+      fi
+    done
+
+    if test -n "$libs"; then
+      if test -n "$lt_sysroot"; then
+        sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"`
+        sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;"
+      else
+        sysroot_cmd=
+      fi
+
+      # Remove sysroot references
+      if $opt_dry_run; then
+        for lib in $libs; do
+          echo "removing references to $lt_sysroot and \`=' prefixes from $lib"
+        done
+      else
+        tmpdir=`func_mktempdir`
+        for lib in $libs; do
+	  sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \
+	    > $tmpdir/tmp-la
+	  mv -f $tmpdir/tmp-la $lib
+	done
+        ${RM}r "$tmpdir"
+      fi
+    fi
 
+    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
       for libdir in $libdirs; do
 	if test -n "$finish_cmds"; then
 	  # Do each command in the finish commands.
@@ -2287,7 +3138,7 @@ func_mode_finish ()
 	if test -n "$finish_eval"; then
 	  # Do the single finish_eval.
 	  eval cmds=\"$finish_eval\"
-	  $opt_dry_run || eval "$cmds" || admincmds="$admincmds
+	  $opt_dry_run || eval "$cmds" || admincmds+="
        $cmds"
 	fi
       done
@@ -2296,53 +3147,55 @@ func_mode_finish ()
     # Exit here if they wanted silent mode.
     $opt_silent && exit $EXIT_SUCCESS
 
-    $ECHO "X----------------------------------------------------------------------" | $Xsed
-    $ECHO "Libraries have been installed in:"
-    for libdir in $libdirs; do
-      $ECHO "   $libdir"
-    done
-    $ECHO
-    $ECHO "If you ever happen to want to link against installed libraries"
-    $ECHO "in a given directory, LIBDIR, you must either use libtool, and"
-    $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'"
-    $ECHO "flag during linking and do at least one of the following:"
-    if test -n "$shlibpath_var"; then
-      $ECHO "   - add LIBDIR to the \`$shlibpath_var' environment variable"
-      $ECHO "     during execution"
-    fi
-    if test -n "$runpath_var"; then
-      $ECHO "   - add LIBDIR to the \`$runpath_var' environment variable"
-      $ECHO "     during linking"
-    fi
-    if test -n "$hardcode_libdir_flag_spec"; then
-      libdir=LIBDIR
-      eval flag=\"$hardcode_libdir_flag_spec\"
+    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
+      echo "----------------------------------------------------------------------"
+      echo "Libraries have been installed in:"
+      for libdir in $libdirs; do
+	$ECHO "   $libdir"
+      done
+      echo
+      echo "If you ever happen to want to link against installed libraries"
+      echo "in a given directory, LIBDIR, you must either use libtool, and"
+      echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
+      echo "flag during linking and do at least one of the following:"
+      if test -n "$shlibpath_var"; then
+	echo "   - add LIBDIR to the \`$shlibpath_var' environment variable"
+	echo "     during execution"
+      fi
+      if test -n "$runpath_var"; then
+	echo "   - add LIBDIR to the \`$runpath_var' environment variable"
+	echo "     during linking"
+      fi
+      if test -n "$hardcode_libdir_flag_spec"; then
+	libdir=LIBDIR
+	eval flag=\"$hardcode_libdir_flag_spec\"
 
-      $ECHO "   - use the \`$flag' linker flag"
-    fi
-    if test -n "$admincmds"; then
-      $ECHO "   - have your system administrator run these commands:$admincmds"
-    fi
-    if test -f /etc/ld.so.conf; then
-      $ECHO "   - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
+	$ECHO "   - use the \`$flag' linker flag"
+      fi
+      if test -n "$admincmds"; then
+	$ECHO "   - have your system administrator run these commands:$admincmds"
+      fi
+      if test -f /etc/ld.so.conf; then
+	echo "   - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
+      fi
+      echo
+
+      echo "See any operating system documentation about shared libraries for"
+      case $host in
+	solaris2.[6789]|solaris2.1[0-9])
+	  echo "more information, such as the ld(1), crle(1) and ld.so(8) manual"
+	  echo "pages."
+	  ;;
+	*)
+	  echo "more information, such as the ld(1) and ld.so(8) manual pages."
+	  ;;
+      esac
+      echo "----------------------------------------------------------------------"
     fi
-    $ECHO
-
-    $ECHO "See any operating system documentation about shared libraries for"
-    case $host in
-      solaris2.[6789]|solaris2.1[0-9])
-        $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual"
-	$ECHO "pages."
-	;;
-      *)
-        $ECHO "more information, such as the ld(1) and ld.so(8) manual pages."
-        ;;
-    esac
-    $ECHO "X----------------------------------------------------------------------" | $Xsed
     exit $EXIT_SUCCESS
 }
 
-test "$mode" = finish && func_mode_finish ${1+"$@"}
+test "$opt_mode" = finish && func_mode_finish ${1+"$@"}
 
 
 # func_mode_install arg...
@@ -2353,7 +3206,7 @@ func_mode_install ()
     # install_prog (especially on Windows NT).
     if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
        # Allow the use of GNU shtool's install command.
-       $ECHO "X$nonopt" | $GREP shtool >/dev/null; then
+       case $nonopt in *shtool*) :;; *) false;; esac; then
       # Aesthetically quote it.
       func_quote_for_eval "$nonopt"
       install_prog="$func_quote_for_eval_result "
@@ -2367,7 +3220,12 @@ func_mode_install ()
     # The real first argument should be the name of the installation program.
     # Aesthetically quote it.
     func_quote_for_eval "$arg"
-    install_prog="$install_prog$func_quote_for_eval_result"
+    install_prog+="$func_quote_for_eval_result"
+    install_shared_prog=$install_prog
+    case " $install_prog " in
+      *[\\\ /]cp\ *) install_cp=: ;;
+      *) install_cp=false ;;
+    esac
 
     # We need to accept at least all the BSD install flags.
     dest=
@@ -2377,10 +3235,12 @@ func_mode_install ()
     install_type=
     isdir=no
     stripme=
+    no_mode=:
     for arg
     do
+      arg2=
       if test -n "$dest"; then
-	files="$files $dest"
+	files+=" $dest"
 	dest=$arg
 	continue
       fi
@@ -2388,10 +3248,9 @@ func_mode_install ()
       case $arg in
       -d) isdir=yes ;;
       -f)
-	case " $install_prog " in
-	*[\\\ /]cp\ *) ;;
-	*) prev=$arg ;;
-	esac
+	if $install_cp; then :; else
+	  prev=$arg
+	fi
 	;;
       -g | -m | -o)
 	prev=$arg
@@ -2405,6 +3264,10 @@ func_mode_install ()
       *)
 	# If the previous option needed an argument, then skip it.
 	if test -n "$prev"; then
+	  if test "x$prev" = x-m && test -n "$install_override_mode"; then
+	    arg2=$install_override_mode
+	    no_mode=false
+	  fi
 	  prev=
 	else
 	  dest=$arg
@@ -2415,7 +3278,11 @@ func_mode_install ()
 
       # Aesthetically quote the argument.
       func_quote_for_eval "$arg"
-      install_prog="$install_prog $func_quote_for_eval_result"
+      install_prog+=" $func_quote_for_eval_result"
+      if test -n "$arg2"; then
+	func_quote_for_eval "$arg2"
+      fi
+      install_shared_prog+=" $func_quote_for_eval_result"
     done
 
     test -z "$install_prog" && \
@@ -2424,6 +3291,13 @@ func_mode_install ()
     test -n "$prev" && \
       func_fatal_help "the \`$prev' option requires an argument"
 
+    if test -n "$install_override_mode" && $no_mode; then
+      if $install_cp; then :; else
+	func_quote_for_eval "$install_override_mode"
+	install_shared_prog+=" -m $func_quote_for_eval_result"
+      fi
+    fi
+
     if test -z "$files"; then
       if test -z "$dest"; then
 	func_fatal_help "no file or destination specified"
@@ -2478,10 +3352,13 @@ func_mode_install ()
       case $file in
       *.$libext)
 	# Do the static libraries later.
-	staticlibs="$staticlibs $file"
+	staticlibs+=" $file"
 	;;
 
       *.la)
+	func_resolve_sysroot "$file"
+	file=$func_resolve_sysroot_result
+
 	# Check to see that this really is a libtool archive.
 	func_lalib_unsafe_p "$file" \
 	  || func_fatal_help "\`$file' is not a valid libtool archive"
@@ -2495,23 +3372,23 @@ func_mode_install ()
 	if test "X$destdir" = "X$libdir"; then
 	  case "$current_libdirs " in
 	  *" $libdir "*) ;;
-	  *) current_libdirs="$current_libdirs $libdir" ;;
+	  *) current_libdirs+=" $libdir" ;;
 	  esac
 	else
 	  # Note the libdir as a future libdir.
 	  case "$future_libdirs " in
 	  *" $libdir "*) ;;
-	  *) future_libdirs="$future_libdirs $libdir" ;;
+	  *) future_libdirs+=" $libdir" ;;
 	  esac
 	fi
 
 	func_dirname "$file" "/" ""
 	dir="$func_dirname_result"
-	dir="$dir$objdir"
+	dir+="$objdir"
 
 	if test -n "$relink_command"; then
 	  # Determine the prefix the user has applied to our future dir.
-	  inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"`
+	  inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"`
 
 	  # Don't allow the user to place us outside of our expected
 	  # location b/c this prevents finding dependent libraries that
@@ -2524,9 +3401,9 @@ func_mode_install ()
 
 	  if test -n "$inst_prefix_dir"; then
 	    # Stick the inst_prefix_dir data into the link command.
-	    relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
+	    relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
 	  else
-	    relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"`
+	    relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
 	  fi
 
 	  func_warning "relinking \`$file'"
@@ -2544,7 +3421,7 @@ func_mode_install ()
 	  test -n "$relink_command" && srcname="$realname"T
 
 	  # Install the shared library and build the symlinks.
-	  func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \
+	  func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
 	      'exit $?'
 	  tstripme="$stripme"
 	  case $host_os in
@@ -2584,7 +3461,7 @@ func_mode_install ()
 	func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
 
 	# Maybe install the static library, too.
-	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
+	test -n "$old_library" && staticlibs+=" $dir/$old_library"
 	;;
 
       *.lo)
@@ -2684,7 +3561,7 @@ func_mode_install ()
 	    if test -f "$lib"; then
 	      func_source "$lib"
 	    fi
-	    libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
+	    libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test
 	    if test -n "$libdir" && test ! -f "$libfile"; then
 	      func_warning "\`$lib' has not been installed in \`$libdir'"
 	      finalize=no
@@ -2703,7 +3580,7 @@ func_mode_install ()
 		file="$func_basename_result"
 	        outputname="$tmpdir/$file"
 	        # Replace the output file specification.
-	        relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
+	        relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
 
 	        $opt_silent || {
 	          func_quote_for_expand "$relink_command"
@@ -2722,7 +3599,7 @@ func_mode_install ()
 	    }
 	  else
 	    # Install the binary that we compiled earlier.
-	    file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
+	    file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"`
 	  fi
 	fi
 
@@ -2758,11 +3635,13 @@ func_mode_install ()
 
       # Set up the ranlib parameters.
       oldlib="$destdir/$name"
+      func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
+      tool_oldlib=$func_to_tool_file_result
 
       func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
 
       if test -n "$stripme" && test -n "$old_striplib"; then
-	func_show_eval "$old_striplib $oldlib" 'exit $?'
+	func_show_eval "$old_striplib $tool_oldlib" 'exit $?'
       fi
 
       # Do each command in the postinstall commands.
@@ -2781,7 +3660,7 @@ func_mode_install ()
     fi
 }
 
-test "$mode" = install && func_mode_install ${1+"$@"}
+test "$opt_mode" = install && func_mode_install ${1+"$@"}
 
 
 # func_generate_dlsyms outputname originator pic_p
@@ -2824,6 +3703,22 @@ func_generate_dlsyms ()
 extern \"C\" {
 #endif
 
+#if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))
+#pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
+#endif
+
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
+/* DATA imports from DLLs on WIN32 con't be const, because runtime
+   relocations are performed -- see ld's documentation on pseudo-relocs.  */
+# define LT_DLSYM_CONST
+#elif defined(__osf__)
+/* This system does not cope well with relocations in const data.  */
+# define LT_DLSYM_CONST
+#else
+# define LT_DLSYM_CONST const
+#endif
+
 /* External symbol declarations for the compiler. */\
 "
 
@@ -2833,10 +3728,11 @@ extern \"C\" {
 	  $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
 
 	  # Add our own program objects to the symbol list.
-	  progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
+	  progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP`
 	  for progfile in $progfiles; do
-	    func_verbose "extracting global C symbols from \`$progfile'"
-	    $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'"
+	    func_to_tool_file "$progfile" func_convert_file_msys_to_w32
+	    func_verbose "extracting global C symbols from \`$func_to_tool_file_result'"
+	    $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'"
 	  done
 
 	  if test -n "$exclude_expsyms"; then
@@ -2872,7 +3768,7 @@ extern \"C\" {
 	      eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
 	      eval '$MV "$nlist"T "$nlist"'
 	      case $host in
-	        *cygwin | *mingw* | *cegcc* )
+	        *cygwin* | *mingw* | *cegcc* )
 	          eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
 	          eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
 	          ;;
@@ -2885,10 +3781,52 @@ extern \"C\" {
 	  func_verbose "extracting global C symbols from \`$dlprefile'"
 	  func_basename "$dlprefile"
 	  name="$func_basename_result"
-	  $opt_dry_run || {
-	    eval '$ECHO ": $name " >> "$nlist"'
-	    eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'"
-	  }
+          case $host in
+	    *cygwin* | *mingw* | *cegcc* )
+	      # if an import library, we need to obtain dlname
+	      if func_win32_import_lib_p "$dlprefile"; then
+	        func_tr_sh "$dlprefile"
+	        eval "curr_lafile=\$libfile_$func_tr_sh_result"
+	        dlprefile_dlbasename=""
+	        if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then
+	          # Use subshell, to avoid clobbering current variable values
+	          dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"`
+	          if test -n "$dlprefile_dlname" ; then
+	            func_basename "$dlprefile_dlname"
+	            dlprefile_dlbasename="$func_basename_result"
+	          else
+	            # no lafile. user explicitly requested -dlpreopen <import library>.
+	            $sharedlib_from_linklib_cmd "$dlprefile"
+	            dlprefile_dlbasename=$sharedlib_from_linklib_result
+	          fi
+	        fi
+	        $opt_dry_run || {
+	          if test -n "$dlprefile_dlbasename" ; then
+	            eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"'
+	          else
+	            func_warning "Could not compute DLL name from $name"
+	            eval '$ECHO ": $name " >> "$nlist"'
+	          fi
+	          func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
+	          eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe |
+	            $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'"
+	        }
+	      else # not an import lib
+	        $opt_dry_run || {
+	          eval '$ECHO ": $name " >> "$nlist"'
+	          func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
+	          eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
+	        }
+	      fi
+	    ;;
+	    *)
+	      $opt_dry_run || {
+	        eval '$ECHO ": $name " >> "$nlist"'
+	        func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
+	        eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
+	      }
+	    ;;
+          esac
 	done
 
 	$opt_dry_run || {
@@ -2916,36 +3854,19 @@ extern \"C\" {
 	  if test -f "$nlist"S; then
 	    eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
 	  else
-	    $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms"
+	    echo '/* NONE */' >> "$output_objdir/$my_dlsyms"
 	  fi
 
-	  $ECHO >> "$output_objdir/$my_dlsyms" "\
+	  echo >> "$output_objdir/$my_dlsyms" "\
 
 /* The mapping between symbol names and symbols.  */
 typedef struct {
   const char *name;
   void *address;
 } lt_dlsymlist;
-"
-	  case $host in
-	  *cygwin* | *mingw* | *cegcc* )
-	    $ECHO >> "$output_objdir/$my_dlsyms" "\
-/* DATA imports from DLLs on WIN32 con't be const, because
-   runtime relocations are performed -- see ld's documentation
-   on pseudo-relocs.  */"
-	    lt_dlsym_const= ;;
-	  *osf5*)
-	    echo >> "$output_objdir/$my_dlsyms" "\
-/* This system does not cope well with relocations in const data */"
-	    lt_dlsym_const= ;;
-	  *)
-	    lt_dlsym_const=const ;;
-	  esac
-
-	  $ECHO >> "$output_objdir/$my_dlsyms" "\
-extern $lt_dlsym_const lt_dlsymlist
+extern LT_DLSYM_CONST lt_dlsymlist
 lt_${my_prefix}_LTX_preloaded_symbols[];
-$lt_dlsym_const lt_dlsymlist
+LT_DLSYM_CONST lt_dlsymlist
 lt_${my_prefix}_LTX_preloaded_symbols[] =
 {\
   { \"$my_originator\", (void *) 0 },"
@@ -2958,7 +3879,7 @@ lt_${my_prefix}_LTX_preloaded_symbols[] =
 	    eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
 	    ;;
 	  esac
-	  $ECHO >> "$output_objdir/$my_dlsyms" "\
+	  echo >> "$output_objdir/$my_dlsyms" "\
   {0, (void *) 0}
 };
 
@@ -2985,7 +3906,7 @@ static const void *lt_preloaded_setup() {
 	  # linked before any other PIC object.  But we must not use
 	  # pic_flag when linking with -static.  The problem exists in
 	  # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
-	  *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
+	  *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
 	    pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
 	  *-*-hpux*)
 	    pic_flag_for_symtable=" $pic_flag"  ;;
@@ -3001,7 +3922,7 @@ static const void *lt_preloaded_setup() {
 	for arg in $LTCFLAGS; do
 	  case $arg in
 	  -pie | -fpie | -fPIE) ;;
-	  *) symtab_cflags="$symtab_cflags $arg" ;;
+	  *) symtab_cflags+=" $arg" ;;
 	  esac
 	done
 
@@ -3016,16 +3937,16 @@ static const void *lt_preloaded_setup() {
 	case $host in
 	*cygwin* | *mingw* | *cegcc* )
 	  if test -f "$output_objdir/$my_outputname.def"; then
-	    compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
-	    finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
+	    compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
+	    finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
 	  else
-	    compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
-	    finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
+	    compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
+	    finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
 	  fi
 	  ;;
 	*)
-	  compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
-	  finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
+	  compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
+	  finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
 	  ;;
 	esac
 	;;
@@ -3039,8 +3960,8 @@ static const void *lt_preloaded_setup() {
       # really was required.
 
       # Nullify the symbol file.
-      compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
-      finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
+      compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"`
+      finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"`
     fi
 }
 
@@ -3050,6 +3971,7 @@ static const void *lt_preloaded_setup() {
 # Need a lot of goo to handle *both* DLLs and import libs
 # Has to be a shell function in order to 'eat' the argument
 # that is supplied when $file_magic_command is called.
+# Despite the name, also deal with 64 bit binaries.
 func_win32_libid ()
 {
   $opt_debug
@@ -3060,9 +3982,11 @@ func_win32_libid ()
     win32_libid_type="x86 archive import"
     ;;
   *ar\ archive*) # could be an import, or static
+    # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD.
     if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
-       $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
-      win32_nmres=`eval $NM -f posix -A $1 |
+       $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
+      func_to_tool_file "$1" func_convert_file_msys_to_w32
+      win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" |
 	$SED -n -e '
 	    1,100{
 		/ I /{
@@ -3091,6 +4015,131 @@ func_win32_libid ()
   $ECHO "$win32_libid_type"
 }
 
+# func_cygming_dll_for_implib ARG
+#
+# Platform-specific function to extract the
+# name of the DLL associated with the specified
+# import library ARG.
+# Invoked by eval'ing the libtool variable
+#    $sharedlib_from_linklib_cmd
+# Result is available in the variable
+#    $sharedlib_from_linklib_result
+func_cygming_dll_for_implib ()
+{
+  $opt_debug
+  sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"`
+}
+
+# func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs
+#
+# The is the core of a fallback implementation of a
+# platform-specific function to extract the name of the
+# DLL associated with the specified import library LIBNAME.
+#
+# SECTION_NAME is either .idata$6 or .idata$7, depending
+# on the platform and compiler that created the implib.
+#
+# Echos the name of the DLL associated with the
+# specified import library.
+func_cygming_dll_for_implib_fallback_core ()
+{
+  $opt_debug
+  match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"`
+  $OBJDUMP -s --section "$1" "$2" 2>/dev/null |
+    $SED '/^Contents of section '"$match_literal"':/{
+      # Place marker at beginning of archive member dllname section
+      s/.*/====MARK====/
+      p
+      d
+    }
+    # These lines can sometimes be longer than 43 characters, but
+    # are always uninteresting
+    /:[	 ]*file format pe[i]\{,1\}-/d
+    /^In archive [^:]*:/d
+    # Ensure marker is printed
+    /^====MARK====/p
+    # Remove all lines with less than 43 characters
+    /^.\{43\}/!d
+    # From remaining lines, remove first 43 characters
+    s/^.\{43\}//' |
+    $SED -n '
+      # Join marker and all lines until next marker into a single line
+      /^====MARK====/ b para
+      H
+      $ b para
+      b
+      :para
+      x
+      s/\n//g
+      # Remove the marker
+      s/^====MARK====//
+      # Remove trailing dots and whitespace
+      s/[\. \t]*$//
+      # Print
+      /./p' |
+    # we now have a list, one entry per line, of the stringified
+    # contents of the appropriate section of all members of the
+    # archive which possess that section. Heuristic: eliminate
+    # all those which have a first or second character that is
+    # a '.' (that is, objdump's representation of an unprintable
+    # character.) This should work for all archives with less than
+    # 0x302f exports -- but will fail for DLLs whose name actually
+    # begins with a literal '.' or a single character followed by
+    # a '.'.
+    #
+    # Of those that remain, print the first one.
+    $SED -e '/^\./d;/^.\./d;q'
+}
+
+# func_cygming_gnu_implib_p ARG
+# This predicate returns with zero status (TRUE) if
+# ARG is a GNU/binutils-style import library. Returns
+# with nonzero status (FALSE) otherwise.
+func_cygming_gnu_implib_p ()
+{
+  $opt_debug
+  func_to_tool_file "$1" func_convert_file_msys_to_w32
+  func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'`
+  test -n "$func_cygming_gnu_implib_tmp"
+}
+
+# func_cygming_ms_implib_p ARG
+# This predicate returns with zero status (TRUE) if
+# ARG is an MS-style import library. Returns
+# with nonzero status (FALSE) otherwise.
+func_cygming_ms_implib_p ()
+{
+  $opt_debug
+  func_to_tool_file "$1" func_convert_file_msys_to_w32
+  func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'`
+  test -n "$func_cygming_ms_implib_tmp"
+}
+
+# func_cygming_dll_for_implib_fallback ARG
+# Platform-specific function to extract the
+# name of the DLL associated with the specified
+# import library ARG.
+#
+# This fallback implementation is for use when $DLLTOOL
+# does not support the --identify-strict option.
+# Invoked by eval'ing the libtool variable
+#    $sharedlib_from_linklib_cmd
+# Result is available in the variable
+#    $sharedlib_from_linklib_result
+func_cygming_dll_for_implib_fallback ()
+{
+  $opt_debug
+  if func_cygming_gnu_implib_p "$1" ; then
+    # binutils import library
+    sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"`
+  elif func_cygming_ms_implib_p "$1" ; then
+    # ms-generated import library
+    sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"`
+  else
+    # unknown
+    sharedlib_from_linklib_result=""
+  fi
+}
 
 
 # func_extract_an_archive dir oldlib
@@ -3099,7 +4148,18 @@ func_extract_an_archive ()
     $opt_debug
     f_ex_an_ar_dir="$1"; shift
     f_ex_an_ar_oldlib="$1"
-    func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?'
+    if test "$lock_old_archive_extraction" = yes; then
+      lockfile=$f_ex_an_ar_oldlib.lock
+      until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
+	func_echo "Waiting for $lockfile to be removed"
+	sleep 2
+      done
+    fi
+    func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \
+		   'stat=$?; rm -f "$lockfile"; exit $stat'
+    if test "$lock_old_archive_extraction" = yes; then
+      $opt_dry_run || rm -f "$lockfile"
+    fi
     if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
      :
     else
@@ -3170,7 +4230,7 @@ func_extract_archives ()
 	    darwin_file=
 	    darwin_files=
 	    for darwin_file in $darwin_filelist; do
-	      darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
+	      darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP`
 	      $LIPO -create -output "$darwin_file" $darwin_files
 	    done # $darwin_filelist
 	    $RM -rf unfat-$$
@@ -3185,25 +4245,30 @@ func_extract_archives ()
         func_extract_an_archive "$my_xdir" "$my_xabs"
 	;;
       esac
-      my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
+      my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
     done
 
     func_extract_archives_result="$my_oldobjs"
 }
 
 
-
-# func_emit_wrapper_part1 [arg=no]
+# func_emit_wrapper [arg=no]
+#
+# Emit a libtool wrapper script on stdout.
+# Don't directly open a file because we may want to
+# incorporate the script contents within a cygwin/mingw
+# wrapper executable.  Must ONLY be called from within
+# func_mode_link because it depends on a number of variables
+# set therein.
 #
-# Emit the first part of a libtool wrapper script on stdout.
-# For more information, see the description associated with
-# func_emit_wrapper(), below.
-func_emit_wrapper_part1 ()
+# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
+# variable will take.  If 'yes', then the emitted script
+# will assume that the directory in which it is stored is
+# the $objdir directory.  This is a cygwin/mingw-specific
+# behavior.
+func_emit_wrapper ()
 {
-	func_emit_wrapper_part1_arg1=no
-	if test -n "$1" ; then
-	  func_emit_wrapper_part1_arg1=$1
-	fi
+	func_emit_wrapper_arg1=${1-no}
 
 	$ECHO "\
 #! $SHELL
@@ -3219,7 +4284,6 @@ func_emit_wrapper_part1 ()
 
 # Sed substitution that helps us do robust quoting.  It backslashifies
 # metacharacters that are still active within double-quoted strings.
-Xsed='${SED} -e 1s/^X//'
 sed_quote_subst='$sed_quote_subst'
 
 # Be Bourne compatible
@@ -3250,31 +4314,135 @@ if test \"\$libtool_install_magic\" = \"$magic\"; then
 else
   # When we are sourced in execute mode, \$file and \$ECHO are already set.
   if test \"\$libtool_execute_magic\" != \"$magic\"; then
-    ECHO=\"$qecho\"
-    file=\"\$0\"
-    # Make sure echo works.
-    if test \"X\$1\" = X--no-reexec; then
-      # Discard the --no-reexec flag, and continue.
-      shift
-    elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then
-      # Yippee, \$ECHO works!
-      :
-    else
-      # Restart under the correct shell, and then maybe \$ECHO will work.
-      exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
-    fi
-  fi\
+    file=\"\$0\""
+
+    qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"`
+    $ECHO "\
+
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+  eval 'cat <<_LTECHO_EOF
+\$1
+_LTECHO_EOF'
+}
+    ECHO=\"$qECHO\"
+  fi
+
+# Very basic option parsing. These options are (a) specific to
+# the libtool wrapper, (b) are identical between the wrapper
+# /script/ and the wrapper /executable/ which is used only on
+# windows platforms, and (c) all begin with the string "--lt-"
+# (application programs are unlikely to have options which match
+# this pattern).
+#
+# There are only two supported options: --lt-debug and
+# --lt-dump-script. There is, deliberately, no --lt-help.
+#
+# The first argument to this parsing function should be the
+# script's $0 value, followed by "$@".
+lt_option_debug=
+func_parse_lt_options ()
+{
+  lt_script_arg0=\$0
+  shift
+  for lt_opt
+  do
+    case \"\$lt_opt\" in
+    --lt-debug) lt_option_debug=1 ;;
+    --lt-dump-script)
+        lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\`
+        test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=.
+        lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\`
+        cat \"\$lt_dump_D/\$lt_dump_F\"
+        exit 0
+      ;;
+    --lt-*)
+        \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2
+        exit 1
+      ;;
+    esac
+  done
+
+  # Print the debug banner immediately:
+  if test -n \"\$lt_option_debug\"; then
+    echo \"${outputname}:${output}:\${LINENO}: libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\" 1>&2
+  fi
+}
+
+# Used when --lt-debug. Prints its arguments to stdout
+# (redirection is the responsibility of the caller)
+func_lt_dump_args ()
+{
+  lt_dump_args_N=1;
+  for lt_arg
+  do
+    \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[\$lt_dump_args_N]: \$lt_arg\"
+    lt_dump_args_N=\`expr \$lt_dump_args_N + 1\`
+  done
+}
+
+# Core function for launching the target application
+func_exec_program_core ()
+{
 "
-	$ECHO "\
+  case $host in
+  # Backslashes separate directories on plain windows
+  *-*-mingw | *-*-os2* | *-cegcc*)
+    $ECHO "\
+      if test -n \"\$lt_option_debug\"; then
+        \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2
+        func_lt_dump_args \${1+\"\$@\"} 1>&2
+      fi
+      exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
+"
+    ;;
+
+  *)
+    $ECHO "\
+      if test -n \"\$lt_option_debug\"; then
+        \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2
+        func_lt_dump_args \${1+\"\$@\"} 1>&2
+      fi
+      exec \"\$progdir/\$program\" \${1+\"\$@\"}
+"
+    ;;
+  esac
+  $ECHO "\
+      \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
+      exit 1
+}
+
+# A function to encapsulate launching the target application
+# Strips options in the --lt-* namespace from \$@ and
+# launches target application with the remaining arguments.
+func_exec_program ()
+{
+  case \" \$* \" in
+  *\\ --lt-*)
+    for lt_wr_arg
+    do
+      case \$lt_wr_arg in
+      --lt-*) ;;
+      *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
+      esac
+      shift
+    done ;;
+  esac
+  func_exec_program_core \${1+\"\$@\"}
+}
+
+  # Parse options
+  func_parse_lt_options \"\$0\" \${1+\"\$@\"}
 
   # Find the directory that this script lives in.
-  thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
+  thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\`
   test \"x\$thisdir\" = \"x\$file\" && thisdir=.
 
   # Follow symbolic links until we get to the real thisdir.
-  file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
+  file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\`
   while test -n \"\$file\"; do
-    destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
+    destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\`
 
     # If there was a directory component, then change thisdir.
     if test \"x\$destdir\" != \"x\$file\"; then
@@ -3284,30 +4452,13 @@ else
       esac
     fi
 
-    file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
-    file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
+    file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\`
+    file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\`
   done
-"
-}
-# end: func_emit_wrapper_part1
-
-# func_emit_wrapper_part2 [arg=no]
-#
-# Emit the second part of a libtool wrapper script on stdout.
-# For more information, see the description associated with
-# func_emit_wrapper(), below.
-func_emit_wrapper_part2 ()
-{
-	func_emit_wrapper_part2_arg1=no
-	if test -n "$1" ; then
-	  func_emit_wrapper_part2_arg1=$1
-	fi
-
-	$ECHO "\
 
   # Usually 'no', except on cygwin/mingw when embedded into
   # the cwrapper.
-  WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1
+  WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1
   if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
     # special case for '.'
     if test \"\$thisdir\" = \".\"; then
@@ -3315,7 +4466,7 @@ func_emit_wrapper_part2 ()
     fi
     # remove .libs from thisdir
     case \"\$thisdir\" in
-    *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;;
+    *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;;
     $objdir )   thisdir=. ;;
     esac
   fi
@@ -3370,6 +4521,18 @@ func_emit_wrapper_part2 ()
 
   if test -f \"\$progdir/\$program\"; then"
 
+	# fixup the dll searchpath if we need to.
+	#
+	# Fix the DLL searchpath if we need to.  Do this before prepending
+	# to shlibpath, because on Windows, both are PATH and uninstalled
+	# libraries must come first.
+	if test -n "$dllsearchpath"; then
+	  $ECHO "\
+    # Add the dll search path components to the executable PATH
+    PATH=$dllsearchpath:\$PATH
+"
+	fi
+
 	# Export our shlibpath_var if we have one.
 	if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
 	  $ECHO "\
@@ -3378,253 +4541,28 @@ func_emit_wrapper_part2 ()
 
     # Some systems cannot cope with colon-terminated $shlibpath_var
     # The second colon is a workaround for a bug in BeOS R4 sed
-    $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
+    $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\`
 
     export $shlibpath_var
 "
 	fi
 
-	# fixup the dll searchpath if we need to.
-	if test -n "$dllsearchpath"; then
-	  $ECHO "\
-    # Add the dll search path components to the executable PATH
-    PATH=$dllsearchpath:\$PATH
-"
-	fi
-
 	$ECHO "\
     if test \"\$libtool_execute_magic\" != \"$magic\"; then
       # Run the actual program with our arguments.
-"
-	case $host in
-	# Backslashes separate directories on plain windows
-	*-*-mingw | *-*-os2* | *-cegcc*)
-	  $ECHO "\
-      exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
-"
-	  ;;
-
-	*)
-	  $ECHO "\
-      exec \"\$progdir/\$program\" \${1+\"\$@\"}
-"
-	  ;;
-	esac
-	$ECHO "\
-      \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
-      exit 1
+      func_exec_program \${1+\"\$@\"}
     fi
   else
     # The program doesn't exist.
     \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
     \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
-    $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
+    \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
     exit 1
   fi
 fi\
 "
 }
-# end: func_emit_wrapper_part2
-
-
-# func_emit_wrapper [arg=no]
-#
-# Emit a libtool wrapper script on stdout.
-# Don't directly open a file because we may want to
-# incorporate the script contents within a cygwin/mingw
-# wrapper executable.  Must ONLY be called from within
-# func_mode_link because it depends on a number of variables
-# set therein.
-#
-# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
-# variable will take.  If 'yes', then the emitted script
-# will assume that the directory in which it is stored is
-# the $objdir directory.  This is a cygwin/mingw-specific
-# behavior.
-func_emit_wrapper ()
-{
-	func_emit_wrapper_arg1=no
-	if test -n "$1" ; then
-	  func_emit_wrapper_arg1=$1
-	fi
-
-	# split this up so that func_emit_cwrapperexe_src
-	# can call each part independently.
-	func_emit_wrapper_part1 "${func_emit_wrapper_arg1}"
-	func_emit_wrapper_part2 "${func_emit_wrapper_arg1}"
-}
-
-
-# func_to_host_path arg
-#
-# Convert paths to host format when used with build tools.
-# Intended for use with "native" mingw (where libtool itself
-# is running under the msys shell), or in the following cross-
-# build environments:
-#    $build          $host
-#    mingw (msys)    mingw  [e.g. native]
-#    cygwin          mingw
-#    *nix + wine     mingw
-# where wine is equipped with the `winepath' executable.
-# In the native mingw case, the (msys) shell automatically
-# converts paths for any non-msys applications it launches,
-# but that facility isn't available from inside the cwrapper.
-# Similar accommodations are necessary for $host mingw and
-# $build cygwin.  Calling this function does no harm for other
-# $host/$build combinations not listed above.
-#
-# ARG is the path (on $build) that should be converted to
-# the proper representation for $host. The result is stored
-# in $func_to_host_path_result.
-func_to_host_path ()
-{
-  func_to_host_path_result="$1"
-  if test -n "$1" ; then
-    case $host in
-      *mingw* )
-        lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
-        case $build in
-          *mingw* ) # actually, msys
-            # awkward: cmd appends spaces to result
-            lt_sed_strip_trailing_spaces="s/[ ]*\$//"
-            func_to_host_path_tmp1=`( cmd //c echo "$1" |\
-              $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
-            func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
-              $SED -e "$lt_sed_naive_backslashify"`
-            ;;
-          *cygwin* )
-            func_to_host_path_tmp1=`cygpath -w "$1"`
-            func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
-              $SED -e "$lt_sed_naive_backslashify"`
-            ;;
-          * )
-            # Unfortunately, winepath does not exit with a non-zero
-            # error code, so we are forced to check the contents of
-            # stdout. On the other hand, if the command is not
-            # found, the shell will set an exit code of 127 and print
-            # *an error message* to stdout. So we must check for both
-            # error code of zero AND non-empty stdout, which explains
-            # the odd construction:
-            func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null`
-            if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then
-              func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
-                $SED -e "$lt_sed_naive_backslashify"`
-            else
-              # Allow warning below.
-              func_to_host_path_result=""
-            fi
-            ;;
-        esac
-        if test -z "$func_to_host_path_result" ; then
-          func_error "Could not determine host path corresponding to"
-          func_error "  '$1'"
-          func_error "Continuing, but uninstalled executables may not work."
-          # Fallback:
-          func_to_host_path_result="$1"
-        fi
-        ;;
-    esac
-  fi
-}
-# end: func_to_host_path
 
-# func_to_host_pathlist arg
-#
-# Convert pathlists to host format when used with build tools.
-# See func_to_host_path(), above. This function supports the
-# following $build/$host combinations (but does no harm for
-# combinations not listed here):
-#    $build          $host
-#    mingw (msys)    mingw  [e.g. native]
-#    cygwin          mingw
-#    *nix + wine     mingw
-#
-# Path separators are also converted from $build format to
-# $host format. If ARG begins or ends with a path separator
-# character, it is preserved (but converted to $host format)
-# on output.
-#
-# ARG is a pathlist (on $build) that should be converted to
-# the proper representation on $host. The result is stored
-# in $func_to_host_pathlist_result.
-func_to_host_pathlist ()
-{
-  func_to_host_pathlist_result="$1"
-  if test -n "$1" ; then
-    case $host in
-      *mingw* )
-        lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
-        # Remove leading and trailing path separator characters from
-        # ARG. msys behavior is inconsistent here, cygpath turns them
-        # into '.;' and ';.', and winepath ignores them completely.
-        func_to_host_pathlist_tmp2="$1"
-        # Once set for this call, this variable should not be
-        # reassigned. It is used in tha fallback case.
-        func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\
-          $SED -e 's|^:*||' -e 's|:*$||'`
-        case $build in
-          *mingw* ) # Actually, msys.
-            # Awkward: cmd appends spaces to result.
-            lt_sed_strip_trailing_spaces="s/[ ]*\$//"
-            func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\
-              $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
-            func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
-              $SED -e "$lt_sed_naive_backslashify"`
-            ;;
-          *cygwin* )
-            func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"`
-            func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
-              $SED -e "$lt_sed_naive_backslashify"`
-            ;;
-          * )
-            # unfortunately, winepath doesn't convert pathlists
-            func_to_host_pathlist_result=""
-            func_to_host_pathlist_oldIFS=$IFS
-            IFS=:
-            for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do
-              IFS=$func_to_host_pathlist_oldIFS
-              if test -n "$func_to_host_pathlist_f" ; then
-                func_to_host_path "$func_to_host_pathlist_f"
-                if test -n "$func_to_host_path_result" ; then
-                  if test -z "$func_to_host_pathlist_result" ; then
-                    func_to_host_pathlist_result="$func_to_host_path_result"
-                  else
-                    func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result"
-                  fi
-                fi
-              fi
-              IFS=:
-            done
-            IFS=$func_to_host_pathlist_oldIFS
-            ;;
-        esac
-        if test -z "$func_to_host_pathlist_result" ; then
-          func_error "Could not determine the host path(s) corresponding to"
-          func_error "  '$1'"
-          func_error "Continuing, but uninstalled executables may not work."
-          # Fallback. This may break if $1 contains DOS-style drive
-          # specifications. The fix is not to complicate the expression
-          # below, but for the user to provide a working wine installation
-          # with winepath so that path translation in the cross-to-mingw
-          # case works properly.
-          lt_replace_pathsep_nix_to_dos="s|:|;|g"
-          func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\
-            $SED -e "$lt_replace_pathsep_nix_to_dos"`
-        fi
-        # Now, add the leading and trailing path separators back
-        case "$1" in
-          :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result"
-            ;;
-        esac
-        case "$1" in
-          *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;"
-            ;;
-        esac
-        ;;
-    esac
-  fi
-}
-# end: func_to_host_pathlist
 
 # func_emit_cwrapperexe_src
 # emit the source code for a wrapper executable on stdout
@@ -3642,31 +4580,23 @@ func_emit_cwrapperexe_src ()
 
    This wrapper executable should never be moved out of the build directory.
    If it is, it will not operate correctly.
-
-   Currently, it simply execs the wrapper *script* "$SHELL $output",
-   but could eventually absorb all of the scripts functionality and
-   exec $objdir/$outputname directly.
 */
 EOF
 	    cat <<"EOF"
+#ifdef _MSC_VER
+# define _CRT_SECURE_NO_DEPRECATE 1
+#endif
 #include <stdio.h>
 #include <stdlib.h>
 #ifdef _MSC_VER
 # include <direct.h>
 # include <process.h>
 # include <io.h>
-# define setmode _setmode
 #else
 # include <unistd.h>
 # include <stdint.h>
 # ifdef __CYGWIN__
 #  include <io.h>
-#  define HAVE_SETENV
-#  ifdef __STRICT_ANSI__
-char *realpath (const char *, char *);
-int putenv (char *);
-int setenv (const char *, const char *, int);
-#  endif
 # endif
 #endif
 #include <malloc.h>
@@ -3678,6 +4608,44 @@ int setenv (const char *, const char *, int);
 #include <fcntl.h>
 #include <sys/stat.h>
 
+/* declarations of non-ANSI functions */
+#if defined(__MINGW32__)
+# ifdef __STRICT_ANSI__
+int _putenv (const char *);
+# endif
+#elif defined(__CYGWIN__)
+# ifdef __STRICT_ANSI__
+char *realpath (const char *, char *);
+int putenv (char *);
+int setenv (const char *, const char *, int);
+# endif
+/* #elif defined (other platforms) ... */
+#endif
+
+/* portability defines, excluding path handling macros */
+#if defined(_MSC_VER)
+# define setmode _setmode
+# define stat    _stat
+# define chmod   _chmod
+# define getcwd  _getcwd
+# define putenv  _putenv
+# define S_IXUSR _S_IEXEC
+# ifndef _INTPTR_T_DEFINED
+#  define _INTPTR_T_DEFINED
+#  define intptr_t int
+# endif
+#elif defined(__MINGW32__)
+# define setmode _setmode
+# define stat    _stat
+# define chmod   _chmod
+# define getcwd  _getcwd
+# define putenv  _putenv
+#elif defined(__CYGWIN__)
+# define HAVE_SETENV
+# define FOPEN_WB "wb"
+/* #elif defined (other platforms) ... */
+#endif
+
 #if defined(PATH_MAX)
 # define LT_PATHMAX PATH_MAX
 #elif defined(MAXPATHLEN)
@@ -3693,14 +4661,7 @@ int setenv (const char *, const char *, int);
 # define S_IXGRP 0
 #endif
 
-#ifdef _MSC_VER
-# define S_IXUSR _S_IEXEC
-# define stat _stat
-# ifndef _INTPTR_T_DEFINED
-#  define intptr_t int
-# endif
-#endif
-
+/* path handling portability macros */
 #ifndef DIR_SEPARATOR
 # define DIR_SEPARATOR '/'
 # define PATH_SEPARATOR ':'
@@ -3731,10 +4692,6 @@ int setenv (const char *, const char *, int);
 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
 #endif /* PATH_SEPARATOR_2 */
 
-#ifdef __CYGWIN__
-# define FOPEN_WB "wb"
-#endif
-
 #ifndef FOPEN_WB
 # define FOPEN_WB "w"
 #endif
@@ -3747,22 +4704,13 @@ int setenv (const char *, const char *, int);
   if (stale) { free ((void *) stale); stale = 0; } \
 } while (0)
 
-#undef LTWRAPPER_DEBUGPRINTF
-#if defined DEBUGWRAPPER
-# define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args
-static void
-ltwrapper_debugprintf (const char *fmt, ...)
-{
-    va_list args;
-    va_start (args, fmt);
-    (void) vfprintf (stderr, fmt, args);
-    va_end (args);
-}
+#if defined(LT_DEBUGWRAPPER)
+static int lt_debug = 1;
 #else
-# define LTWRAPPER_DEBUGPRINTF(args)
+static int lt_debug = 0;
 #endif
 
-const char *program_name = NULL;
+const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */
 
 void *xmalloc (size_t num);
 char *xstrdup (const char *string);
@@ -3772,41 +4720,27 @@ char *chase_symlinks (const char *pathspec);
 int make_executable (const char *path);
 int check_executable (const char *path);
 char *strendzap (char *str, const char *pat);
-void lt_fatal (const char *message, ...);
+void lt_debugprintf (const char *file, int line, const char *fmt, ...);
+void lt_fatal (const char *file, int line, const char *message, ...);
+static const char *nonnull (const char *s);
+static const char *nonempty (const char *s);
 void lt_setenv (const char *name, const char *value);
 char *lt_extend_str (const char *orig_value, const char *add, int to_end);
-void lt_opt_process_env_set (const char *arg);
-void lt_opt_process_env_prepend (const char *arg);
-void lt_opt_process_env_append (const char *arg);
-int lt_split_name_value (const char *arg, char** name, char** value);
 void lt_update_exe_path (const char *name, const char *value);
 void lt_update_lib_path (const char *name, const char *value);
-
-static const char *script_text_part1 =
-EOF
-
-	    func_emit_wrapper_part1 yes |
-	        $SED -e 's/\([\\"]\)/\\\1/g' \
-	             -e 's/^/  "/' -e 's/$/\\n"/'
-	    echo ";"
-	    cat <<EOF
-
-static const char *script_text_part2 =
+char **prepare_spawn (char **argv);
+void lt_dump_script (FILE *f);
 EOF
-	    func_emit_wrapper_part2 yes |
-	        $SED -e 's/\([\\"]\)/\\\1/g' \
-	             -e 's/^/  "/' -e 's/$/\\n"/'
-	    echo ";"
 
 	    cat <<EOF
-const char * MAGIC_EXE = "$magic_exe";
+volatile const char * MAGIC_EXE = "$magic_exe";
 const char * LIB_PATH_VARNAME = "$shlibpath_var";
 EOF
 
 	    if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
-              func_to_host_pathlist "$temp_rpath"
+              func_to_host_path "$temp_rpath"
 	      cat <<EOF
-const char * LIB_PATH_VALUE   = "$func_to_host_pathlist_result";
+const char * LIB_PATH_VALUE   = "$func_to_host_path_result";
 EOF
 	    else
 	      cat <<"EOF"
@@ -3815,10 +4749,10 @@ EOF
 	    fi
 
 	    if test -n "$dllsearchpath"; then
-              func_to_host_pathlist "$dllsearchpath:"
+              func_to_host_path "$dllsearchpath:"
 	      cat <<EOF
 const char * EXE_PATH_VARNAME = "PATH";
-const char * EXE_PATH_VALUE   = "$func_to_host_pathlist_result";
+const char * EXE_PATH_VALUE   = "$func_to_host_path_result";
 EOF
 	    else
 	      cat <<"EOF"
@@ -3841,24 +4775,10 @@ EOF
 	    cat <<"EOF"
 
 #define LTWRAPPER_OPTION_PREFIX         "--lt-"
-#define LTWRAPPER_OPTION_PREFIX_LENGTH  5
 
-static const size_t opt_prefix_len         = LTWRAPPER_OPTION_PREFIX_LENGTH;
 static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
-
 static const char *dumpscript_opt       = LTWRAPPER_OPTION_PREFIX "dump-script";
-
-static const size_t env_set_opt_len     = LTWRAPPER_OPTION_PREFIX_LENGTH + 7;
-static const char *env_set_opt          = LTWRAPPER_OPTION_PREFIX "env-set";
-  /* argument is putenv-style "foo=bar", value of foo is set to bar */
-
-static const size_t env_prepend_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 11;
-static const char *env_prepend_opt      = LTWRAPPER_OPTION_PREFIX "env-prepend";
-  /* argument is putenv-style "foo=bar", new value of foo is bar${foo} */
-
-static const size_t env_append_opt_len  = LTWRAPPER_OPTION_PREFIX_LENGTH + 10;
-static const char *env_append_opt       = LTWRAPPER_OPTION_PREFIX "env-append";
-  /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */
+static const char *debug_opt            = LTWRAPPER_OPTION_PREFIX "debug";
 
 int
 main (int argc, char *argv[])
@@ -3875,10 +4795,13 @@ main (int argc, char *argv[])
   int i;
 
   program_name = (char *) xstrdup (base_name (argv[0]));
-  LTWRAPPER_DEBUGPRINTF (("(main) argv[0]      : %s\n", argv[0]));
-  LTWRAPPER_DEBUGPRINTF (("(main) program_name : %s\n", program_name));
+  newargz = XMALLOC (char *, argc + 1);
 
-  /* very simple arg parsing; don't want to rely on getopt */
+  /* very simple arg parsing; don't want to rely on getopt
+   * also, copy all non cwrapper options to newargz, except
+   * argz[0], which is handled differently
+   */
+  newargc=0;
   for (i = 1; i < argc; i++)
     {
       if (strcmp (argv[i], dumpscript_opt) == 0)
@@ -3892,25 +4815,57 @@ EOF
 	      esac
 
 	    cat <<"EOF"
-	  printf ("%s", script_text_part1);
-	  printf ("%s", script_text_part2);
+	  lt_dump_script (stdout);
 	  return 0;
 	}
+      if (strcmp (argv[i], debug_opt) == 0)
+	{
+          lt_debug = 1;
+          continue;
+	}
+      if (strcmp (argv[i], ltwrapper_option_prefix) == 0)
+        {
+          /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
+             namespace, but it is not one of the ones we know about and
+             have already dealt with, above (inluding dump-script), then
+             report an error. Otherwise, targets might begin to believe
+             they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
+             namespace. The first time any user complains about this, we'll
+             need to make LTWRAPPER_OPTION_PREFIX a configure-time option
+             or a configure.ac-settable value.
+           */
+          lt_fatal (__FILE__, __LINE__,
+		    "unrecognized %s option: '%s'",
+                    ltwrapper_option_prefix, argv[i]);
+        }
+      /* otherwise ... */
+      newargz[++newargc] = xstrdup (argv[i]);
     }
+  newargz[++newargc] = NULL;
+
+EOF
+	    cat <<EOF
+  /* The GNU banner must be the first non-error debug message */
+  lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\n");
+EOF
+	    cat <<"EOF"
+  lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\n", argv[0]);
+  lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name);
 
-  newargz = XMALLOC (char *, argc + 1);
   tmp_pathspec = find_executable (argv[0]);
   if (tmp_pathspec == NULL)
-    lt_fatal ("Couldn't find %s", argv[0]);
-  LTWRAPPER_DEBUGPRINTF (("(main) found exe (before symlink chase) at : %s\n",
-			  tmp_pathspec));
+    lt_fatal (__FILE__, __LINE__, "couldn't find %s", argv[0]);
+  lt_debugprintf (__FILE__, __LINE__,
+                  "(main) found exe (before symlink chase) at: %s\n",
+		  tmp_pathspec);
 
   actual_cwrapper_path = chase_symlinks (tmp_pathspec);
-  LTWRAPPER_DEBUGPRINTF (("(main) found exe (after symlink chase) at : %s\n",
-			  actual_cwrapper_path));
+  lt_debugprintf (__FILE__, __LINE__,
+                  "(main) found exe (after symlink chase) at: %s\n",
+		  actual_cwrapper_path);
   XFREE (tmp_pathspec);
 
-  actual_cwrapper_name = xstrdup( base_name (actual_cwrapper_path));
+  actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path));
   strendzap (actual_cwrapper_path, actual_cwrapper_name);
 
   /* wrapper name transforms */
@@ -3928,8 +4883,9 @@ EOF
   target_name = tmp_pathspec;
   tmp_pathspec = 0;
 
-  LTWRAPPER_DEBUGPRINTF (("(main) libtool target name: %s\n",
-			  target_name));
+  lt_debugprintf (__FILE__, __LINE__,
+		  "(main) libtool target name: %s\n",
+		  target_name);
 EOF
 
 	    cat <<EOF
@@ -3979,80 +4935,19 @@ EOF
 
   lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
   lt_setenv ("DUALCASE", "1");  /* for MSK sh */
-  lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
+  /* Update the DLL searchpath.  EXE_PATH_VALUE ($dllsearchpath) must
+     be prepended before (that is, appear after) LIB_PATH_VALUE ($temp_rpath)
+     because on Windows, both *_VARNAMEs are PATH but uninstalled
+     libraries must come first. */
   lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
+  lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
 
-  newargc=0;
-  for (i = 1; i < argc; i++)
-    {
-      if (strncmp (argv[i], env_set_opt, env_set_opt_len) == 0)
-        {
-          if (argv[i][env_set_opt_len] == '=')
-            {
-              const char *p = argv[i] + env_set_opt_len + 1;
-              lt_opt_process_env_set (p);
-            }
-          else if (argv[i][env_set_opt_len] == '\0' && i + 1 < argc)
-            {
-              lt_opt_process_env_set (argv[++i]); /* don't copy */
-            }
-          else
-            lt_fatal ("%s missing required argument", env_set_opt);
-          continue;
-        }
-      if (strncmp (argv[i], env_prepend_opt, env_prepend_opt_len) == 0)
-        {
-          if (argv[i][env_prepend_opt_len] == '=')
-            {
-              const char *p = argv[i] + env_prepend_opt_len + 1;
-              lt_opt_process_env_prepend (p);
-            }
-          else if (argv[i][env_prepend_opt_len] == '\0' && i + 1 < argc)
-            {
-              lt_opt_process_env_prepend (argv[++i]); /* don't copy */
-            }
-          else
-            lt_fatal ("%s missing required argument", env_prepend_opt);
-          continue;
-        }
-      if (strncmp (argv[i], env_append_opt, env_append_opt_len) == 0)
-        {
-          if (argv[i][env_append_opt_len] == '=')
-            {
-              const char *p = argv[i] + env_append_opt_len + 1;
-              lt_opt_process_env_append (p);
-            }
-          else if (argv[i][env_append_opt_len] == '\0' && i + 1 < argc)
-            {
-              lt_opt_process_env_append (argv[++i]); /* don't copy */
-            }
-          else
-            lt_fatal ("%s missing required argument", env_append_opt);
-          continue;
-        }
-      if (strncmp (argv[i], ltwrapper_option_prefix, opt_prefix_len) == 0)
-        {
-          /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
-             namespace, but it is not one of the ones we know about and
-             have already dealt with, above (inluding dump-script), then
-             report an error. Otherwise, targets might begin to believe
-             they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
-             namespace. The first time any user complains about this, we'll
-             need to make LTWRAPPER_OPTION_PREFIX a configure-time option
-             or a configure.ac-settable value.
-           */
-          lt_fatal ("Unrecognized option in %s namespace: '%s'",
-                    ltwrapper_option_prefix, argv[i]);
-        }
-      /* otherwise ... */
-      newargz[++newargc] = xstrdup (argv[i]);
-    }
-  newargz[++newargc] = NULL;
-
-  LTWRAPPER_DEBUGPRINTF     (("(main) lt_argv_zero : %s\n", (lt_argv_zero ? lt_argv_zero : "<NULL>")));
+  lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n",
+		  nonnull (lt_argv_zero));
   for (i = 0; i < newargc; i++)
     {
-      LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d]   : %s\n", i, (newargz[i] ? newargz[i] : "<NULL>")));
+      lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n",
+		      i, nonnull (newargz[i]));
     }
 
 EOF
@@ -4061,11 +4956,14 @@ EOF
 	      mingw*)
 		cat <<"EOF"
   /* execv doesn't actually work on mingw as expected on unix */
+  newargz = prepare_spawn (newargz);
   rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
   if (rval == -1)
     {
       /* failed to start process */
-      LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno));
+      lt_debugprintf (__FILE__, __LINE__,
+		      "(main) failed to launch target \"%s\": %s\n",
+		      lt_argv_zero, nonnull (strerror (errno)));
       return 127;
     }
   return rval;
@@ -4087,7 +4985,7 @@ xmalloc (size_t num)
 {
   void *p = (void *) malloc (num);
   if (!p)
-    lt_fatal ("Memory exhausted");
+    lt_fatal (__FILE__, __LINE__, "memory exhausted");
 
   return p;
 }
@@ -4121,8 +5019,8 @@ check_executable (const char *path)
 {
   struct stat st;
 
-  LTWRAPPER_DEBUGPRINTF (("(check_executable)  : %s\n",
-			  path ? (*path ? path : "EMPTY!") : "NULL!"));
+  lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n",
+                  nonempty (path));
   if ((!path) || (!*path))
     return 0;
 
@@ -4139,8 +5037,8 @@ make_executable (const char *path)
   int rval = 0;
   struct stat st;
 
-  LTWRAPPER_DEBUGPRINTF (("(make_executable)   : %s\n",
-			  path ? (*path ? path : "EMPTY!") : "NULL!"));
+  lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n",
+                  nonempty (path));
   if ((!path) || (!*path))
     return 0;
 
@@ -4166,8 +5064,8 @@ find_executable (const char *wrapper)
   int tmp_len;
   char *concat_name;
 
-  LTWRAPPER_DEBUGPRINTF (("(find_executable)   : %s\n",
-			  wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"));
+  lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n",
+                  nonempty (wrapper));
 
   if ((wrapper == NULL) || (*wrapper == '\0'))
     return NULL;
@@ -4220,7 +5118,8 @@ find_executable (const char *wrapper)
 		{
 		  /* empty path: current directory */
 		  if (getcwd (tmp, LT_PATHMAX) == NULL)
-		    lt_fatal ("getcwd failed");
+		    lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
+                              nonnull (strerror (errno)));
 		  tmp_len = strlen (tmp);
 		  concat_name =
 		    XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
@@ -4245,7 +5144,8 @@ find_executable (const char *wrapper)
     }
   /* Relative path | not found in path: prepend cwd */
   if (getcwd (tmp, LT_PATHMAX) == NULL)
-    lt_fatal ("getcwd failed");
+    lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
+              nonnull (strerror (errno)));
   tmp_len = strlen (tmp);
   concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
   memcpy (concat_name, tmp, tmp_len);
@@ -4271,8 +5171,9 @@ chase_symlinks (const char *pathspec)
   int has_symlinks = 0;
   while (strlen (tmp_pathspec) && !has_symlinks)
     {
-      LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n",
-			      tmp_pathspec));
+      lt_debugprintf (__FILE__, __LINE__,
+		      "checking path component for symlinks: %s\n",
+		      tmp_pathspec);
       if (lstat (tmp_pathspec, &s) == 0)
 	{
 	  if (S_ISLNK (s.st_mode) != 0)
@@ -4294,8 +5195,9 @@ chase_symlinks (const char *pathspec)
 	}
       else
 	{
-	  char *errstr = strerror (errno);
-	  lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
+	  lt_fatal (__FILE__, __LINE__,
+		    "error accessing file \"%s\": %s",
+		    tmp_pathspec, nonnull (strerror (errno)));
 	}
     }
   XFREE (tmp_pathspec);
@@ -4308,7 +5210,8 @@ chase_symlinks (const char *pathspec)
   tmp_pathspec = realpath (pathspec, buf);
   if (tmp_pathspec == 0)
     {
-      lt_fatal ("Could not follow symlinks for %s", pathspec);
+      lt_fatal (__FILE__, __LINE__,
+		"could not follow symlinks for %s", pathspec);
     }
   return xstrdup (tmp_pathspec);
 #endif
@@ -4334,11 +5237,25 @@ strendzap (char *str, const char *pat)
   return str;
 }
 
+void
+lt_debugprintf (const char *file, int line, const char *fmt, ...)
+{
+  va_list args;
+  if (lt_debug)
+    {
+      (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line);
+      va_start (args, fmt);
+      (void) vfprintf (stderr, fmt, args);
+      va_end (args);
+    }
+}
+
 static void
-lt_error_core (int exit_status, const char *mode,
+lt_error_core (int exit_status, const char *file,
+	       int line, const char *mode,
 	       const char *message, va_list ap)
 {
-  fprintf (stderr, "%s: %s: ", program_name, mode);
+  fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode);
   vfprintf (stderr, message, ap);
   fprintf (stderr, ".\n");
 
@@ -4347,20 +5264,32 @@ lt_error_core (int exit_status, const char *mode,
 }
 
 void
-lt_fatal (const char *message, ...)
+lt_fatal (const char *file, int line, const char *message, ...)
 {
   va_list ap;
   va_start (ap, message);
-  lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
+  lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap);
   va_end (ap);
 }
 
+static const char *
+nonnull (const char *s)
+{
+  return s ? s : "(null)";
+}
+
+static const char *
+nonempty (const char *s)
+{
+  return (s && !*s) ? "(empty)" : nonnull (s);
+}
+
 void
 lt_setenv (const char *name, const char *value)
 {
-  LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n",
-                          (name ? name : "<NULL>"),
-                          (value ? value : "<NULL>")));
+  lt_debugprintf (__FILE__, __LINE__,
+		  "(lt_setenv) setting '%s' to '%s'\n",
+                  nonnull (name), nonnull (value));
   {
 #ifdef HAVE_SETENV
     /* always make a copy, for consistency with !HAVE_SETENV */
@@ -4405,95 +5334,12 @@ lt_extend_str (const char *orig_value, const char *add, int to_end)
   return new_value;
 }
 
-int
-lt_split_name_value (const char *arg, char** name, char** value)
-{
-  const char *p;
-  int len;
-  if (!arg || !*arg)
-    return 1;
-
-  p = strchr (arg, (int)'=');
-
-  if (!p)
-    return 1;
-
-  *value = xstrdup (++p);
-
-  len = strlen (arg) - strlen (*value);
-  *name = XMALLOC (char, len);
-  strncpy (*name, arg, len-1);
-  (*name)[len - 1] = '\0';
-
-  return 0;
-}
-
-void
-lt_opt_process_env_set (const char *arg)
-{
-  char *name = NULL;
-  char *value = NULL;
-
-  if (lt_split_name_value (arg, &name, &value) != 0)
-    {
-      XFREE (name);
-      XFREE (value);
-      lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg);
-    }
-
-  lt_setenv (name, value);
-  XFREE (name);
-  XFREE (value);
-}
-
-void
-lt_opt_process_env_prepend (const char *arg)
-{
-  char *name = NULL;
-  char *value = NULL;
-  char *new_value = NULL;
-
-  if (lt_split_name_value (arg, &name, &value) != 0)
-    {
-      XFREE (name);
-      XFREE (value);
-      lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg);
-    }
-
-  new_value = lt_extend_str (getenv (name), value, 0);
-  lt_setenv (name, new_value);
-  XFREE (new_value);
-  XFREE (name);
-  XFREE (value);
-}
-
-void
-lt_opt_process_env_append (const char *arg)
-{
-  char *name = NULL;
-  char *value = NULL;
-  char *new_value = NULL;
-
-  if (lt_split_name_value (arg, &name, &value) != 0)
-    {
-      XFREE (name);
-      XFREE (value);
-      lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg);
-    }
-
-  new_value = lt_extend_str (getenv (name), value, 1);
-  lt_setenv (name, new_value);
-  XFREE (new_value);
-  XFREE (name);
-  XFREE (value);
-}
-
 void
 lt_update_exe_path (const char *name, const char *value)
 {
-  LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
-                          (name ? name : "<NULL>"),
-                          (value ? value : "<NULL>")));
+  lt_debugprintf (__FILE__, __LINE__,
+		  "(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
+                  nonnull (name), nonnull (value));
 
   if (name && *name && value && *value)
     {
@@ -4512,9 +5358,9 @@ lt_update_exe_path (const char *name, const char *value)
 void
 lt_update_lib_path (const char *name, const char *value)
 {
-  LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
-                          (name ? name : "<NULL>"),
-                          (value ? value : "<NULL>")));
+  lt_debugprintf (__FILE__, __LINE__,
+		  "(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
+                  nonnull (name), nonnull (value));
 
   if (name && *name && value && *value)
     {
@@ -4524,11 +5370,158 @@ lt_update_lib_path (const char *name, const char *value)
     }
 }
 
+EOF
+	    case $host_os in
+	      mingw*)
+		cat <<"EOF"
+
+/* Prepares an argument vector before calling spawn().
+   Note that spawn() does not by itself call the command interpreter
+     (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") :
+      ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
+         GetVersionEx(&v);
+         v.dwPlatformId == VER_PLATFORM_WIN32_NT;
+      }) ? "cmd.exe" : "command.com").
+   Instead it simply concatenates the arguments, separated by ' ', and calls
+   CreateProcess().  We must quote the arguments since Win32 CreateProcess()
+   interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a
+   special way:
+   - Space and tab are interpreted as delimiters. They are not treated as
+     delimiters if they are surrounded by double quotes: "...".
+   - Unescaped double quotes are removed from the input. Their only effect is
+     that within double quotes, space and tab are treated like normal
+     characters.
+   - Backslashes not followed by double quotes are not special.
+   - But 2*n+1 backslashes followed by a double quote become
+     n backslashes followed by a double quote (n >= 0):
+       \" -> "
+       \\\" -> \"
+       \\\\\" -> \\"
+ */
+#define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
+#define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
+char **
+prepare_spawn (char **argv)
+{
+  size_t argc;
+  char **new_argv;
+  size_t i;
+
+  /* Count number of arguments.  */
+  for (argc = 0; argv[argc] != NULL; argc++)
+    ;
+
+  /* Allocate new argument vector.  */
+  new_argv = XMALLOC (char *, argc + 1);
+
+  /* Put quoted arguments into the new argument vector.  */
+  for (i = 0; i < argc; i++)
+    {
+      const char *string = argv[i];
+
+      if (string[0] == '\0')
+	new_argv[i] = xstrdup ("\"\"");
+      else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL)
+	{
+	  int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL);
+	  size_t length;
+	  unsigned int backslashes;
+	  const char *s;
+	  char *quoted_string;
+	  char *p;
+
+	  length = 0;
+	  backslashes = 0;
+	  if (quote_around)
+	    length++;
+	  for (s = string; *s != '\0'; s++)
+	    {
+	      char c = *s;
+	      if (c == '"')
+		length += backslashes + 1;
+	      length++;
+	      if (c == '\\')
+		backslashes++;
+	      else
+		backslashes = 0;
+	    }
+	  if (quote_around)
+	    length += backslashes + 1;
+
+	  quoted_string = XMALLOC (char, length + 1);
+
+	  p = quoted_string;
+	  backslashes = 0;
+	  if (quote_around)
+	    *p++ = '"';
+	  for (s = string; *s != '\0'; s++)
+	    {
+	      char c = *s;
+	      if (c == '"')
+		{
+		  unsigned int j;
+		  for (j = backslashes + 1; j > 0; j--)
+		    *p++ = '\\';
+		}
+	      *p++ = c;
+	      if (c == '\\')
+		backslashes++;
+	      else
+		backslashes = 0;
+	    }
+	  if (quote_around)
+	    {
+	      unsigned int j;
+	      for (j = backslashes; j > 0; j--)
+		*p++ = '\\';
+	      *p++ = '"';
+	    }
+	  *p = '\0';
+
+	  new_argv[i] = quoted_string;
+	}
+      else
+	new_argv[i] = (char *) string;
+    }
+  new_argv[argc] = NULL;
+
+  return new_argv;
+}
+EOF
+		;;
+	    esac
 
+            cat <<"EOF"
+void lt_dump_script (FILE* f)
+{
+EOF
+	    func_emit_wrapper yes |
+	      $SED -n -e '
+s/^\(.\{79\}\)\(..*\)/\1\
+\2/
+h
+s/\([\\"]\)/\\\1/g
+s/$/\\n/
+s/\([^\n]*\).*/  fputs ("\1", f);/p
+g
+D'
+            cat <<"EOF"
+}
 EOF
 }
 # end: func_emit_cwrapperexe_src
 
+# func_win32_import_lib_p ARG
+# True if ARG is an import lib, as indicated by $file_magic_cmd
+func_win32_import_lib_p ()
+{
+    $opt_debug
+    case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in
+    *import*) : ;;
+    *) false ;;
+    esac
+}
+
 # func_mode_link arg...
 func_mode_link ()
 {
@@ -4573,6 +5566,7 @@ func_mode_link ()
     new_inherited_linker_flags=
 
     avoid_version=no
+    bindir=
     dlfiles=
     dlprefiles=
     dlself=no
@@ -4653,23 +5647,28 @@ func_mode_link ()
       shift
       func_quote_for_eval "$arg"
       qarg=$func_quote_for_eval_unquoted_result
-      func_append libtool_args " $func_quote_for_eval_result"
+      libtool_args+=" $func_quote_for_eval_result"
 
       # If the previous option needs an argument, assign it.
       if test -n "$prev"; then
 	case $prev in
 	output)
-	  func_append compile_command " @OUTPUT@"
-	  func_append finalize_command " @OUTPUT@"
+	  compile_command+=" @OUTPUT@"
+	  finalize_command+=" @OUTPUT@"
 	  ;;
 	esac
 
 	case $prev in
+	bindir)
+	  bindir="$arg"
+	  prev=
+	  continue
+	  ;;
 	dlfiles|dlprefiles)
 	  if test "$preload" = no; then
 	    # Add the symbol object into the linking commands.
-	    func_append compile_command " @SYMFILE@"
-	    func_append finalize_command " @SYMFILE@"
+	    compile_command+=" @SYMFILE@"
+	    finalize_command+=" @SYMFILE@"
 	    preload=yes
 	  fi
 	  case $arg in
@@ -4696,9 +5695,9 @@ func_mode_link ()
 	    ;;
 	  *)
 	    if test "$prev" = dlfiles; then
-	      dlfiles="$dlfiles $arg"
+	      dlfiles+=" $arg"
 	    else
-	      dlprefiles="$dlprefiles $arg"
+	      dlprefiles+=" $arg"
 	    fi
 	    prev=
 	    continue
@@ -4722,7 +5721,7 @@ func_mode_link ()
 	    *-*-darwin*)
 	      case "$deplibs " in
 		*" $qarg.ltframework "*) ;;
-		*) deplibs="$deplibs $qarg.ltframework" # this is fixed later
+		*) deplibs+=" $qarg.ltframework" # this is fixed later
 		   ;;
 	      esac
 	      ;;
@@ -4741,7 +5740,7 @@ func_mode_link ()
 	    moreargs=
 	    for fil in `cat "$save_arg"`
 	    do
-#	      moreargs="$moreargs $fil"
+#	      moreargs+=" $fil"
 	      arg=$fil
 	      # A libtool-controlled object.
 
@@ -4770,7 +5769,7 @@ func_mode_link ()
 
 		  if test "$prev" = dlfiles; then
 		    if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
-		      dlfiles="$dlfiles $pic_object"
+		      dlfiles+=" $pic_object"
 		      prev=
 		      continue
 		    else
@@ -4782,12 +5781,12 @@ func_mode_link ()
 		  # CHECK ME:  I think I busted this.  -Ossama
 		  if test "$prev" = dlprefiles; then
 		    # Preload the old-style object.
-		    dlprefiles="$dlprefiles $pic_object"
+		    dlprefiles+=" $pic_object"
 		    prev=
 		  fi
 
 		  # A PIC object.
-		  func_append libobjs " $pic_object"
+		  libobjs+=" $pic_object"
 		  arg="$pic_object"
 		fi
 
@@ -4797,7 +5796,7 @@ func_mode_link ()
 		  non_pic_object="$xdir$non_pic_object"
 
 		  # A standard non-PIC object
-		  func_append non_pic_objects " $non_pic_object"
+		  non_pic_objects+=" $non_pic_object"
 		  if test -z "$pic_object" || test "$pic_object" = none ; then
 		    arg="$non_pic_object"
 		  fi
@@ -4805,7 +5804,7 @@ func_mode_link ()
 		  # If the PIC object exists, use it instead.
 		  # $xdir was prepended to $pic_object above.
 		  non_pic_object="$pic_object"
-		  func_append non_pic_objects " $non_pic_object"
+		  non_pic_objects+=" $non_pic_object"
 		fi
 	      else
 		# Only an error if not doing a dry-run.
@@ -4817,8 +5816,8 @@ func_mode_link ()
 		  func_lo2o "$arg"
 		  pic_object=$xdir$objdir/$func_lo2o_result
 		  non_pic_object=$xdir$func_lo2o_result
-		  func_append libobjs " $pic_object"
-		  func_append non_pic_objects " $non_pic_object"
+		  libobjs+=" $pic_object"
+		  non_pic_objects+=" $non_pic_object"
 	        else
 		  func_fatal_error "\`$arg' is not a valid libtool object"
 		fi
@@ -4852,12 +5851,12 @@ func_mode_link ()
 	  if test "$prev" = rpath; then
 	    case "$rpath " in
 	    *" $arg "*) ;;
-	    *) rpath="$rpath $arg" ;;
+	    *) rpath+=" $arg" ;;
 	    esac
 	  else
 	    case "$xrpath " in
 	    *" $arg "*) ;;
-	    *) xrpath="$xrpath $arg" ;;
+	    *) xrpath+=" $arg" ;;
 	    esac
 	  fi
 	  prev=
@@ -4869,31 +5868,31 @@ func_mode_link ()
 	  continue
 	  ;;
 	weak)
-	  weak_libs="$weak_libs $arg"
+	  weak_libs+=" $arg"
 	  prev=
 	  continue
 	  ;;
 	xcclinker)
-	  linker_flags="$linker_flags $qarg"
-	  compiler_flags="$compiler_flags $qarg"
+	  linker_flags+=" $qarg"
+	  compiler_flags+=" $qarg"
 	  prev=
-	  func_append compile_command " $qarg"
-	  func_append finalize_command " $qarg"
+	  compile_command+=" $qarg"
+	  finalize_command+=" $qarg"
 	  continue
 	  ;;
 	xcompiler)
-	  compiler_flags="$compiler_flags $qarg"
+	  compiler_flags+=" $qarg"
 	  prev=
-	  func_append compile_command " $qarg"
-	  func_append finalize_command " $qarg"
+	  compile_command+=" $qarg"
+	  finalize_command+=" $qarg"
 	  continue
 	  ;;
 	xlinker)
-	  linker_flags="$linker_flags $qarg"
-	  compiler_flags="$compiler_flags $wl$qarg"
+	  linker_flags+=" $qarg"
+	  compiler_flags+=" $wl$qarg"
 	  prev=
-	  func_append compile_command " $wl$qarg"
-	  func_append finalize_command " $wl$qarg"
+	  compile_command+=" $wl$qarg"
+	  finalize_command+=" $wl$qarg"
 	  continue
 	  ;;
 	*)
@@ -4910,8 +5909,8 @@ func_mode_link ()
       -all-static)
 	if test -n "$link_static_flag"; then
 	  # See comment for -static flag below, for more details.
-	  func_append compile_command " $link_static_flag"
-	  func_append finalize_command " $link_static_flag"
+	  compile_command+=" $link_static_flag"
+	  finalize_command+=" $link_static_flag"
 	fi
 	continue
 	;;
@@ -4926,6 +5925,11 @@ func_mode_link ()
 	continue
 	;;
 
+      -bindir)
+	prev=bindir
+	continue
+	;;
+
       -dlopen)
 	prev=dlfiles
 	continue
@@ -4968,23 +5972,24 @@ func_mode_link ()
       -L[A-Z][A-Z]*:*)
 	case $with_gcc/$host in
 	no/*-*-irix* | /*-*-irix*)
-	  func_append compile_command " $arg"
-	  func_append finalize_command " $arg"
+	  compile_command+=" $arg"
+	  finalize_command+=" $arg"
 	  ;;
 	esac
 	continue
 	;;
 
       -L*)
-	func_stripname '-L' '' "$arg"
-	dir=$func_stripname_result
-	if test -z "$dir"; then
+	func_stripname "-L" '' "$arg"
+	if test -z "$func_stripname_result"; then
 	  if test "$#" -gt 0; then
 	    func_fatal_error "require no space between \`-L' and \`$1'"
 	  else
 	    func_fatal_error "need path for \`-L' option"
 	  fi
 	fi
+	func_resolve_sysroot "$func_stripname_result"
+	dir=$func_resolve_sysroot_result
 	# We need an absolute path.
 	case $dir in
 	[\\/]* | [A-Za-z]:[\\/]*) ;;
@@ -4996,24 +6001,30 @@ func_mode_link ()
 	  ;;
 	esac
 	case "$deplibs " in
-	*" -L$dir "*) ;;
+	*" -L$dir "* | *" $arg "*)
+	  # Will only happen for absolute or sysroot arguments
+	  ;;
 	*)
-	  deplibs="$deplibs -L$dir"
-	  lib_search_path="$lib_search_path $dir"
+	  # Preserve sysroot, but never include relative directories
+	  case $dir in
+	    [\\/]* | [A-Za-z]:[\\/]* | =*) deplibs+=" $arg" ;;
+	    *) deplibs+=" -L$dir" ;;
+	  esac
+	  lib_search_path+=" $dir"
 	  ;;
 	esac
 	case $host in
 	*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
-	  testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'`
+	  testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'`
 	  case :$dllsearchpath: in
 	  *":$dir:"*) ;;
 	  ::) dllsearchpath=$dir;;
-	  *) dllsearchpath="$dllsearchpath:$dir";;
+	  *) dllsearchpath+=":$dir";;
 	  esac
 	  case :$dllsearchpath: in
 	  *":$testbindir:"*) ;;
 	  ::) dllsearchpath=$testbindir;;
-	  *) dllsearchpath="$dllsearchpath:$testbindir";;
+	  *) dllsearchpath+=":$testbindir";;
 	  esac
 	  ;;
 	esac
@@ -5023,7 +6034,7 @@ func_mode_link ()
       -l*)
 	if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
 	  case $host in
-	  *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*)
+	  *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
 	    # These systems don't actually have a C or math library (as such)
 	    continue
 	    ;;
@@ -5037,7 +6048,7 @@ func_mode_link ()
 	    ;;
 	  *-*-rhapsody* | *-*-darwin1.[012])
 	    # Rhapsody C and math libraries are in the System framework
-	    deplibs="$deplibs System.ltframework"
+	    deplibs+=" System.ltframework"
 	    continue
 	    ;;
 	  *-*-sco3.2v5* | *-*-sco5v6*)
@@ -5057,7 +6068,7 @@ func_mode_link ()
 	   ;;
 	 esac
 	fi
-	deplibs="$deplibs $arg"
+	deplibs+=" $arg"
 	continue
 	;;
 
@@ -5069,21 +6080,22 @@ func_mode_link ()
       # Tru64 UNIX uses -model [arg] to determine the layout of C++
       # classes, name mangling, and exception handling.
       # Darwin uses the -arch flag to determine output architecture.
-      -model|-arch|-isysroot)
-	compiler_flags="$compiler_flags $arg"
-	func_append compile_command " $arg"
-	func_append finalize_command " $arg"
+      -model|-arch|-isysroot|--sysroot)
+	compiler_flags+=" $arg"
+	compile_command+=" $arg"
+	finalize_command+=" $arg"
 	prev=xcompiler
 	continue
 	;;
 
-      -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
-	compiler_flags="$compiler_flags $arg"
-	func_append compile_command " $arg"
-	func_append finalize_command " $arg"
+      -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
+      |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
+	compiler_flags+=" $arg"
+	compile_command+=" $arg"
+	finalize_command+=" $arg"
 	case "$new_inherited_linker_flags " in
 	    *" $arg "*) ;;
-	    * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;;
+	    * ) new_inherited_linker_flags+=" $arg" ;;
 	esac
 	continue
 	;;
@@ -5150,13 +6162,17 @@ func_mode_link ()
 	# We need an absolute path.
 	case $dir in
 	[\\/]* | [A-Za-z]:[\\/]*) ;;
+	=*)
+	  func_stripname '=' '' "$dir"
+	  dir=$lt_sysroot$func_stripname_result
+	  ;;
 	*)
 	  func_fatal_error "only absolute run-paths are allowed"
 	  ;;
 	esac
 	case "$xrpath " in
 	*" $dir "*) ;;
-	*) xrpath="$xrpath $dir" ;;
+	*) xrpath+=" $dir" ;;
 	esac
 	continue
 	;;
@@ -5209,8 +6225,8 @@ func_mode_link ()
 	for flag in $args; do
 	  IFS="$save_ifs"
           func_quote_for_eval "$flag"
-	  arg="$arg $wl$func_quote_for_eval_result"
-	  compiler_flags="$compiler_flags $func_quote_for_eval_result"
+	  arg+=" $func_quote_for_eval_result"
+	  compiler_flags+=" $func_quote_for_eval_result"
 	done
 	IFS="$save_ifs"
 	func_stripname ' ' '' "$arg"
@@ -5225,9 +6241,9 @@ func_mode_link ()
 	for flag in $args; do
 	  IFS="$save_ifs"
           func_quote_for_eval "$flag"
-	  arg="$arg $wl$func_quote_for_eval_result"
-	  compiler_flags="$compiler_flags $wl$func_quote_for_eval_result"
-	  linker_flags="$linker_flags $func_quote_for_eval_result"
+	  arg+=" $wl$func_quote_for_eval_result"
+	  compiler_flags+=" $wl$func_quote_for_eval_result"
+	  linker_flags+=" $func_quote_for_eval_result"
 	done
 	IFS="$save_ifs"
 	func_stripname ' ' '' "$arg"
@@ -5255,23 +6271,28 @@ func_mode_link ()
 	arg="$func_quote_for_eval_result"
 	;;
 
-      # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
-      # -r[0-9][0-9]* specifies the processor on the SGI compiler
-      # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
-      # +DA*, +DD* enable 64-bit mode on the HP compiler
-      # -q* pass through compiler args for the IBM compiler
-      # -m*, -t[45]*, -txscale* pass through architecture-specific
-      # compiler args for GCC
-      # -F/path gives path to uninstalled frameworks, gcc on darwin
-      # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
-      # @file GCC response files
+      # Flags to be passed through unchanged, with rationale:
+      # -64, -mips[0-9]      enable 64-bit mode for the SGI compiler
+      # -r[0-9][0-9]*        specify processor for the SGI compiler
+      # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler
+      # +DA*, +DD*           enable 64-bit mode for the HP compiler
+      # -q*                  compiler args for the IBM compiler
+      # -m*, -t[45]*, -txscale* architecture-specific flags for GCC
+      # -F/path              path to uninstalled frameworks, gcc on darwin
+      # -p, -pg, --coverage, -fprofile-*  profiling flags for GCC
+      # @file                GCC response files
+      # -tp=*                Portland pgcc target processor selection
+      # --sysroot=*          for sysroot support
+      # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
+      # -stdlib=*            select c++ std lib with clang
       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
-      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
+      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
+      -O*|-flto*|-fwhopr*|-fuse-linker-plugin|-stdlib=*)
         func_quote_for_eval "$arg"
 	arg="$func_quote_for_eval_result"
-        func_append compile_command " $arg"
-        func_append finalize_command " $arg"
-        compiler_flags="$compiler_flags $arg"
+        compile_command+=" $arg"
+        finalize_command+=" $arg"
+        compiler_flags+=" $arg"
         continue
         ;;
 
@@ -5283,7 +6304,7 @@ func_mode_link ()
 
       *.$objext)
 	# A standard object.
-	objs="$objs $arg"
+	objs+=" $arg"
 	;;
 
       *.lo)
@@ -5314,7 +6335,7 @@ func_mode_link ()
 
 	    if test "$prev" = dlfiles; then
 	      if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
-		dlfiles="$dlfiles $pic_object"
+		dlfiles+=" $pic_object"
 		prev=
 		continue
 	      else
@@ -5326,12 +6347,12 @@ func_mode_link ()
 	    # CHECK ME:  I think I busted this.  -Ossama
 	    if test "$prev" = dlprefiles; then
 	      # Preload the old-style object.
-	      dlprefiles="$dlprefiles $pic_object"
+	      dlprefiles+=" $pic_object"
 	      prev=
 	    fi
 
 	    # A PIC object.
-	    func_append libobjs " $pic_object"
+	    libobjs+=" $pic_object"
 	    arg="$pic_object"
 	  fi
 
@@ -5341,7 +6362,7 @@ func_mode_link ()
 	    non_pic_object="$xdir$non_pic_object"
 
 	    # A standard non-PIC object
-	    func_append non_pic_objects " $non_pic_object"
+	    non_pic_objects+=" $non_pic_object"
 	    if test -z "$pic_object" || test "$pic_object" = none ; then
 	      arg="$non_pic_object"
 	    fi
@@ -5349,7 +6370,7 @@ func_mode_link ()
 	    # If the PIC object exists, use it instead.
 	    # $xdir was prepended to $pic_object above.
 	    non_pic_object="$pic_object"
-	    func_append non_pic_objects " $non_pic_object"
+	    non_pic_objects+=" $non_pic_object"
 	  fi
 	else
 	  # Only an error if not doing a dry-run.
@@ -5361,8 +6382,8 @@ func_mode_link ()
 	    func_lo2o "$arg"
 	    pic_object=$xdir$objdir/$func_lo2o_result
 	    non_pic_object=$xdir$func_lo2o_result
-	    func_append libobjs " $pic_object"
-	    func_append non_pic_objects " $non_pic_object"
+	    libobjs+=" $pic_object"
+	    non_pic_objects+=" $non_pic_object"
 	  else
 	    func_fatal_error "\`$arg' is not a valid libtool object"
 	  fi
@@ -5371,24 +6392,25 @@ func_mode_link ()
 
       *.$libext)
 	# An archive.
-	deplibs="$deplibs $arg"
-	old_deplibs="$old_deplibs $arg"
+	deplibs+=" $arg"
+	old_deplibs+=" $arg"
 	continue
 	;;
 
       *.la)
 	# A libtool-controlled library.
 
+	func_resolve_sysroot "$arg"
 	if test "$prev" = dlfiles; then
 	  # This library was specified with -dlopen.
-	  dlfiles="$dlfiles $arg"
+	  dlfiles+=" $func_resolve_sysroot_result"
 	  prev=
 	elif test "$prev" = dlprefiles; then
 	  # The library was specified with -dlpreopen.
-	  dlprefiles="$dlprefiles $arg"
+	  dlprefiles+=" $func_resolve_sysroot_result"
 	  prev=
 	else
-	  deplibs="$deplibs $arg"
+	  deplibs+=" $func_resolve_sysroot_result"
 	fi
 	continue
 	;;
@@ -5404,8 +6426,8 @@ func_mode_link ()
 
       # Now actually substitute the argument into the commands.
       if test -n "$arg"; then
-	func_append compile_command " $arg"
-	func_append finalize_command " $arg"
+	compile_command+=" $arg"
+	finalize_command+=" $arg"
       fi
     done # argument parsing loop
 
@@ -5414,8 +6436,8 @@ func_mode_link ()
 
     if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
       eval arg=\"$export_dynamic_flag_spec\"
-      func_append compile_command " $arg"
-      func_append finalize_command " $arg"
+      compile_command+=" $arg"
+      finalize_command+=" $arg"
     fi
 
     oldlibs=
@@ -5426,7 +6448,7 @@ func_mode_link ()
 
     if test -n "$shlibpath_var"; then
       # get the directories listed in $shlibpath_var
-      eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
+      eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\`
     else
       shlib_search_path=
     fi
@@ -5435,6 +6457,8 @@ func_mode_link ()
 
     func_dirname "$output" "/" ""
     output_objdir="$func_dirname_result$objdir"
+    func_to_tool_file "$output_objdir/"
+    tool_output_objdir=$func_to_tool_file_result
     # Create the object directory.
     func_mkdir_p "$output_objdir"
 
@@ -5455,12 +6479,12 @@ func_mode_link ()
     # Find all interdependent deplibs by searching for libraries
     # that are linked more than once (e.g. -la -lb -la)
     for deplib in $deplibs; do
-      if $opt_duplicate_deps ; then
+      if $opt_preserve_dup_deps ; then
 	case "$libs " in
-	*" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+	*" $deplib "*) specialdeplibs+=" $deplib" ;;
 	esac
       fi
-      libs="$libs $deplib"
+      libs+=" $deplib"
     done
 
     if test "$linkmode" = lib; then
@@ -5473,9 +6497,9 @@ func_mode_link ()
       if $opt_duplicate_compiler_generated_deps; then
 	for pre_post_dep in $predeps $postdeps; do
 	  case "$pre_post_deps " in
-	  *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
+	  *" $pre_post_dep "*) specialdeplibs+=" $pre_post_deps" ;;
 	  esac
-	  pre_post_deps="$pre_post_deps $pre_post_dep"
+	  pre_post_deps+=" $pre_post_dep"
 	done
       fi
       pre_post_deps=
@@ -5534,10 +6558,7 @@ func_mode_link ()
 	case $pass in
 	dlopen) libs="$dlfiles" ;;
 	dlpreopen) libs="$dlprefiles" ;;
-	link)
-	  libs="$deplibs %DEPLIBS%"
-	  test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
-	  ;;
+	link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
 	esac
       fi
       if test "$linkmode,$pass" = "lib,dlpreopen"; then
@@ -5545,17 +6566,19 @@ func_mode_link ()
 	for lib in $dlprefiles; do
 	  # Ignore non-libtool-libs
 	  dependency_libs=
+	  func_resolve_sysroot "$lib"
 	  case $lib in
-	  *.la)	func_source "$lib" ;;
+	  *.la)	func_source "$func_resolve_sysroot_result" ;;
 	  esac
 
 	  # Collect preopened libtool deplibs, except any this library
 	  # has declared as weak libs
 	  for deplib in $dependency_libs; do
-            deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"`
+	    func_basename "$deplib"
+            deplib_base=$func_basename_result
 	    case " $weak_libs " in
 	    *" $deplib_base "*) ;;
-	    *) deplibs="$deplibs $deplib" ;;
+	    *) deplibs+=" $deplib" ;;
 	    esac
 	  done
 	done
@@ -5571,16 +6594,17 @@ func_mode_link ()
 	lib=
 	found=no
 	case $deplib in
-	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
+	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
+        |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
 	  if test "$linkmode,$pass" = "prog,link"; then
 	    compile_deplibs="$deplib $compile_deplibs"
 	    finalize_deplibs="$deplib $finalize_deplibs"
 	  else
-	    compiler_flags="$compiler_flags $deplib"
+	    compiler_flags+=" $deplib"
 	    if test "$linkmode" = lib ; then
 		case "$new_inherited_linker_flags " in
 		    *" $deplib "*) ;;
-		    * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
+		    * ) new_inherited_linker_flags+=" $deplib" ;;
 		esac
 	    fi
 	  fi
@@ -5665,7 +6689,7 @@ func_mode_link ()
 	    if test "$linkmode" = lib ; then
 		case "$new_inherited_linker_flags " in
 		    *" $deplib "*) ;;
-		    * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
+		    * ) new_inherited_linker_flags+=" $deplib" ;;
 		esac
 	    fi
 	  fi
@@ -5678,7 +6702,8 @@ func_mode_link ()
 	    test "$pass" = conv && continue
 	    newdependency_libs="$deplib $newdependency_libs"
 	    func_stripname '-L' '' "$deplib"
-	    newlib_search_path="$newlib_search_path $func_stripname_result"
+	    func_resolve_sysroot "$func_stripname_result"
+	    newlib_search_path+=" $func_resolve_sysroot_result"
 	    ;;
 	  prog)
 	    if test "$pass" = conv; then
@@ -5692,7 +6717,8 @@ func_mode_link ()
 	      finalize_deplibs="$deplib $finalize_deplibs"
 	    fi
 	    func_stripname '-L' '' "$deplib"
-	    newlib_search_path="$newlib_search_path $func_stripname_result"
+	    func_resolve_sysroot "$func_stripname_result"
+	    newlib_search_path+=" $func_resolve_sysroot_result"
 	    ;;
 	  *)
 	    func_warning "\`-L' is ignored for archives/objects"
@@ -5703,17 +6729,21 @@ func_mode_link ()
 	-R*)
 	  if test "$pass" = link; then
 	    func_stripname '-R' '' "$deplib"
-	    dir=$func_stripname_result
+	    func_resolve_sysroot "$func_stripname_result"
+	    dir=$func_resolve_sysroot_result
 	    # Make sure the xrpath contains only unique directories.
 	    case "$xrpath " in
 	    *" $dir "*) ;;
-	    *) xrpath="$xrpath $dir" ;;
+	    *) xrpath+=" $dir" ;;
 	    esac
 	  fi
 	  deplibs="$deplib $deplibs"
 	  continue
 	  ;;
-	*.la) lib="$deplib" ;;
+	*.la)
+	  func_resolve_sysroot "$deplib"
+	  lib=$func_resolve_sysroot_result
+	  ;;
 	*.$libext)
 	  if test "$pass" = conv; then
 	    deplibs="$deplib $deplibs"
@@ -5731,7 +6761,7 @@ func_mode_link ()
 		match_pattern*)
 		  set dummy $deplibs_check_method; shift
 		  match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
-		  if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \
+		  if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \
 		    | $EGREP "$match_pattern_regex" > /dev/null; then
 		    valid_a_lib=yes
 		  fi
@@ -5741,15 +6771,15 @@ func_mode_link ()
 		;;
 	      esac
 	      if test "$valid_a_lib" != yes; then
-		$ECHO
+		echo
 		$ECHO "*** Warning: Trying to link with static lib archive $deplib."
-		$ECHO "*** I have the capability to make that library automatically link in when"
-		$ECHO "*** you link to this library.  But I can only do this if you have a"
-		$ECHO "*** shared version of the library, which you do not appear to have"
-		$ECHO "*** because the file extensions .$libext of this argument makes me believe"
-		$ECHO "*** that it is just a static archive that I should not use here."
+		echo "*** I have the capability to make that library automatically link in when"
+		echo "*** you link to this library.  But I can only do this if you have a"
+		echo "*** shared version of the library, which you do not appear to have"
+		echo "*** because the file extensions .$libext of this argument makes me believe"
+		echo "*** that it is just a static archive that I should not use here."
 	      else
-		$ECHO
+		echo
 		$ECHO "*** Warning: Linking the shared library $output against the"
 		$ECHO "*** static library $deplib is not portable!"
 		deplibs="$deplib $deplibs"
@@ -5776,11 +6806,11 @@ func_mode_link ()
 	    if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
 	      # If there is no dlopen support or we're linking statically,
 	      # we need to preload.
-	      newdlprefiles="$newdlprefiles $deplib"
+	      newdlprefiles+=" $deplib"
 	      compile_deplibs="$deplib $compile_deplibs"
 	      finalize_deplibs="$deplib $finalize_deplibs"
 	    else
-	      newdlfiles="$newdlfiles $deplib"
+	      newdlfiles+=" $deplib"
 	    fi
 	  fi
 	  continue
@@ -5822,20 +6852,20 @@ func_mode_link ()
 
 	# Convert "-framework foo" to "foo.ltframework"
 	if test -n "$inherited_linker_flags"; then
-	  tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'`
+	  tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'`
 	  for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
 	    case " $new_inherited_linker_flags " in
 	      *" $tmp_inherited_linker_flag "*) ;;
-	      *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";;
+	      *) new_inherited_linker_flags+=" $tmp_inherited_linker_flag";;
 	    esac
 	  done
 	fi
-	dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
+	dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
 	if test "$linkmode,$pass" = "lib,link" ||
 	   test "$linkmode,$pass" = "prog,scan" ||
 	   { test "$linkmode" != prog && test "$linkmode" != lib; }; then
-	  test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
-	  test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
+	  test -n "$dlopen" && dlfiles+=" $dlopen"
+	  test -n "$dlpreopen" && dlprefiles+=" $dlpreopen"
 	fi
 
 	if test "$pass" = conv; then
@@ -5846,30 +6876,36 @@ func_mode_link ()
 	      func_fatal_error "cannot find name of link library for \`$lib'"
 	    fi
 	    # It is a libtool convenience library, so add in its objects.
-	    convenience="$convenience $ladir/$objdir/$old_library"
-	    old_convenience="$old_convenience $ladir/$objdir/$old_library"
-	    tmp_libs=
-	    for deplib in $dependency_libs; do
-	      deplibs="$deplib $deplibs"
-	      if $opt_duplicate_deps ; then
-		case "$tmp_libs " in
-		*" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
-		esac
-	      fi
-	      tmp_libs="$tmp_libs $deplib"
-	    done
+	    convenience+=" $ladir/$objdir/$old_library"
+	    old_convenience+=" $ladir/$objdir/$old_library"
 	  elif test "$linkmode" != prog && test "$linkmode" != lib; then
 	    func_fatal_error "\`$lib' is not a convenience library"
 	  fi
+	  tmp_libs=
+	  for deplib in $dependency_libs; do
+	    deplibs="$deplib $deplibs"
+	    if $opt_preserve_dup_deps ; then
+	      case "$tmp_libs " in
+	      *" $deplib "*) specialdeplibs+=" $deplib" ;;
+	      esac
+	    fi
+	    tmp_libs+=" $deplib"
+	  done
 	  continue
 	fi # $pass = conv
 
 
 	# Get the name of the library we link against.
 	linklib=
-	for l in $old_library $library_names; do
-	  linklib="$l"
-	done
+	if test -n "$old_library" &&
+	   { test "$prefer_static_libs" = yes ||
+	     test "$prefer_static_libs,$installed" = "built,no"; }; then
+	  linklib=$old_library
+	else
+	  for l in $old_library $library_names; do
+	    linklib="$l"
+	  done
+	fi
 	if test -z "$linklib"; then
 	  func_fatal_error "cannot find name of link library for \`$lib'"
 	fi
@@ -5886,9 +6922,9 @@ func_mode_link ()
 	    # statically, we need to preload.  We also need to preload any
 	    # dependent libraries so libltdl's deplib preloader doesn't
 	    # bomb out in the load deplibs phase.
-	    dlprefiles="$dlprefiles $lib $dependency_libs"
+	    dlprefiles+=" $lib $dependency_libs"
 	  else
-	    newdlfiles="$newdlfiles $lib"
+	    newdlfiles+=" $lib"
 	  fi
 	  continue
 	fi # $pass = dlopen
@@ -5910,14 +6946,14 @@ func_mode_link ()
 
 	# Find the relevant object directory and library name.
 	if test "X$installed" = Xyes; then
-	  if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
+	  if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
 	    func_warning "library \`$lib' was moved."
 	    dir="$ladir"
 	    absdir="$abs_ladir"
 	    libdir="$abs_ladir"
 	  else
-	    dir="$libdir"
-	    absdir="$libdir"
+	    dir="$lt_sysroot$libdir"
+	    absdir="$lt_sysroot$libdir"
 	  fi
 	  test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
 	else
@@ -5925,12 +6961,12 @@ func_mode_link ()
 	    dir="$ladir"
 	    absdir="$abs_ladir"
 	    # Remove this search path later
-	    notinst_path="$notinst_path $abs_ladir"
+	    notinst_path+=" $abs_ladir"
 	  else
 	    dir="$ladir/$objdir"
 	    absdir="$abs_ladir/$objdir"
 	    # Remove this search path later
-	    notinst_path="$notinst_path $abs_ladir"
+	    notinst_path+=" $abs_ladir"
 	  fi
 	fi # $installed = yes
 	func_stripname 'lib' '.la' "$laname"
@@ -5941,20 +6977,46 @@ func_mode_link ()
 	  if test -z "$libdir" && test "$linkmode" = prog; then
 	    func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'"
 	  fi
-	  # Prefer using a static library (so that no silly _DYNAMIC symbols
-	  # are required to link).
-	  if test -n "$old_library"; then
-	    newdlprefiles="$newdlprefiles $dir/$old_library"
-	    # Keep a list of preopened convenience libraries to check
-	    # that they are being used correctly in the link pass.
-	    test -z "$libdir" && \
-		dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library"
-	  # Otherwise, use the dlname, so that lt_dlopen finds it.
-	  elif test -n "$dlname"; then
-	    newdlprefiles="$newdlprefiles $dir/$dlname"
-	  else
-	    newdlprefiles="$newdlprefiles $dir/$linklib"
-	  fi
+	  case "$host" in
+	    # special handling for platforms with PE-DLLs.
+	    *cygwin* | *mingw* | *cegcc* )
+	      # Linker will automatically link against shared library if both
+	      # static and shared are present.  Therefore, ensure we extract
+	      # symbols from the import library if a shared library is present
+	      # (otherwise, the dlopen module name will be incorrect).  We do
+	      # this by putting the import library name into $newdlprefiles.
+	      # We recover the dlopen module name by 'saving' the la file
+	      # name in a special purpose variable, and (later) extracting the
+	      # dlname from the la file.
+	      if test -n "$dlname"; then
+	        func_tr_sh "$dir/$linklib"
+	        eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname"
+	        newdlprefiles+=" $dir/$linklib"
+	      else
+	        newdlprefiles+=" $dir/$old_library"
+	        # Keep a list of preopened convenience libraries to check
+	        # that they are being used correctly in the link pass.
+	        test -z "$libdir" && \
+	          dlpreconveniencelibs+=" $dir/$old_library"
+	      fi
+	    ;;
+	    * )
+	      # Prefer using a static library (so that no silly _DYNAMIC symbols
+	      # are required to link).
+	      if test -n "$old_library"; then
+	        newdlprefiles+=" $dir/$old_library"
+	        # Keep a list of preopened convenience libraries to check
+	        # that they are being used correctly in the link pass.
+	        test -z "$libdir" && \
+	          dlpreconveniencelibs+=" $dir/$old_library"
+	      # Otherwise, use the dlname, so that lt_dlopen finds it.
+	      elif test -n "$dlname"; then
+	        newdlprefiles+=" $dir/$dlname"
+	      else
+	        newdlprefiles+=" $dir/$linklib"
+	      fi
+	    ;;
+	  esac
 	fi # $pass = dlpreopen
 
 	if test -z "$libdir"; then
@@ -5972,7 +7034,7 @@ func_mode_link ()
 
 
 	if test "$linkmode" = prog && test "$pass" != link; then
-	  newlib_search_path="$newlib_search_path $ladir"
+	  newlib_search_path+=" $ladir"
 	  deplibs="$lib $deplibs"
 
 	  linkalldeplibs=no
@@ -5985,7 +7047,8 @@ func_mode_link ()
 	  for deplib in $dependency_libs; do
 	    case $deplib in
 	    -L*) func_stripname '-L' '' "$deplib"
-	         newlib_search_path="$newlib_search_path $func_stripname_result"
+	         func_resolve_sysroot "$func_stripname_result"
+	         newlib_search_path+=" $func_resolve_sysroot_result"
 		 ;;
 	    esac
 	    # Need to link against all dependency_libs?
@@ -5996,12 +7059,12 @@ func_mode_link ()
 	      # or/and link against static libraries
 	      newdependency_libs="$deplib $newdependency_libs"
 	    fi
-	    if $opt_duplicate_deps ; then
+	    if $opt_preserve_dup_deps ; then
 	      case "$tmp_libs " in
-	      *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+	      *" $deplib "*) specialdeplibs+=" $deplib" ;;
 	      esac
 	    fi
-	    tmp_libs="$tmp_libs $deplib"
+	    tmp_libs+=" $deplib"
 	  done # for deplib
 	  continue
 	fi # $linkmode = prog...
@@ -6016,7 +7079,7 @@ func_mode_link ()
 	      # Make sure the rpath contains only unique directories.
 	      case "$temp_rpath:" in
 	      *"$absdir:"*) ;;
-	      *) temp_rpath="$temp_rpath$absdir:" ;;
+	      *) temp_rpath+="$absdir:" ;;
 	      esac
 	    fi
 
@@ -6028,7 +7091,7 @@ func_mode_link ()
 	    *)
 	      case "$compile_rpath " in
 	      *" $absdir "*) ;;
-	      *) compile_rpath="$compile_rpath $absdir"
+	      *) compile_rpath+=" $absdir" ;;
 	      esac
 	      ;;
 	    esac
@@ -6037,7 +7100,7 @@ func_mode_link ()
 	    *)
 	      case "$finalize_rpath " in
 	      *" $libdir "*) ;;
-	      *) finalize_rpath="$finalize_rpath $libdir"
+	      *) finalize_rpath+=" $libdir" ;;
 	      esac
 	      ;;
 	    esac
@@ -6062,12 +7125,12 @@ func_mode_link ()
 	  case $host in
 	  *cygwin* | *mingw* | *cegcc*)
 	      # No point in relinking DLLs because paths are not encoded
-	      notinst_deplibs="$notinst_deplibs $lib"
+	      notinst_deplibs+=" $lib"
 	      need_relink=no
 	    ;;
 	  *)
 	    if test "$installed" = no; then
-	      notinst_deplibs="$notinst_deplibs $lib"
+	      notinst_deplibs+=" $lib"
 	      need_relink=yes
 	    fi
 	    ;;
@@ -6084,7 +7147,7 @@ func_mode_link ()
 	    fi
 	  done
 	  if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then
-	    $ECHO
+	    echo
 	    if test "$linkmode" = prog; then
 	      $ECHO "*** Warning: Linking the executable $output against the loadable module"
 	    else
@@ -6102,7 +7165,7 @@ func_mode_link ()
 	    *)
 	      case "$compile_rpath " in
 	      *" $absdir "*) ;;
-	      *) compile_rpath="$compile_rpath $absdir"
+	      *) compile_rpath+=" $absdir" ;;
 	      esac
 	      ;;
 	    esac
@@ -6111,7 +7174,7 @@ func_mode_link ()
 	    *)
 	      case "$finalize_rpath " in
 	      *" $libdir "*) ;;
-	      *) finalize_rpath="$finalize_rpath $libdir"
+	      *) finalize_rpath+=" $libdir" ;;
 	      esac
 	      ;;
 	    esac
@@ -6165,7 +7228,7 @@ func_mode_link ()
 	    linklib=$newlib
 	  fi # test -n "$old_archive_from_expsyms_cmds"
 
-	  if test "$linkmode" = prog || test "$mode" != relink; then
+	  if test "$linkmode" = prog || test "$opt_mode" != relink; then
 	    add_shlibpath=
 	    add_dir=
 	    add=
@@ -6187,9 +7250,9 @@ func_mode_link ()
 		      if test "X$dlopenmodule" != "X$lib"; then
 			$ECHO "*** Warning: lib $linklib is a module, not a shared library"
 			if test -z "$old_library" ; then
-			  $ECHO
-			  $ECHO "*** And there doesn't seem to be a static archive available"
-			  $ECHO "*** The link will probably fail, sorry"
+			  echo
+			  echo "*** And there doesn't seem to be a static archive available"
+			  echo "*** The link will probably fail, sorry"
 			else
 			  add="$dir/$old_library"
 			fi
@@ -6216,12 +7279,12 @@ func_mode_link ()
 	         test "$hardcode_direct_absolute" = no; then
 		add="$dir/$linklib"
 	      elif test "$hardcode_minus_L" = yes; then
-		add_dir="-L$dir"
+		add_dir="-L$absdir"
 		# Try looking first in the location we're being installed to.
 		if test -n "$inst_prefix_dir"; then
 		  case $libdir in
 		    [\\/]*)
-		      add_dir="$add_dir -L$inst_prefix_dir$libdir"
+		      add_dir+=" -L$inst_prefix_dir$libdir"
 		      ;;
 		  esac
 		fi
@@ -6243,7 +7306,7 @@ func_mode_link ()
 	    if test -n "$add_shlibpath"; then
 	      case :$compile_shlibpath: in
 	      *":$add_shlibpath:"*) ;;
-	      *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
+	      *) compile_shlibpath+="$add_shlibpath:" ;;
 	      esac
 	    fi
 	    if test "$linkmode" = prog; then
@@ -6257,13 +7320,13 @@ func_mode_link ()
 		 test "$hardcode_shlibpath_var" = yes; then
 		case :$finalize_shlibpath: in
 		*":$libdir:"*) ;;
-		*) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
+		*) finalize_shlibpath+="$libdir:" ;;
 		esac
 	      fi
 	    fi
 	  fi
 
-	  if test "$linkmode" = prog || test "$mode" = relink; then
+	  if test "$linkmode" = prog || test "$opt_mode" = relink; then
 	    add_shlibpath=
 	    add_dir=
 	    add=
@@ -6277,7 +7340,7 @@ func_mode_link ()
 	    elif test "$hardcode_shlibpath_var" = yes; then
 	      case :$finalize_shlibpath: in
 	      *":$libdir:"*) ;;
-	      *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
+	      *) finalize_shlibpath+="$libdir:" ;;
 	      esac
 	      add="-l$name"
 	    elif test "$hardcode_automatic" = yes; then
@@ -6294,7 +7357,7 @@ func_mode_link ()
 	      if test -n "$inst_prefix_dir"; then
 		case $libdir in
 		  [\\/]*)
-		    add_dir="$add_dir -L$inst_prefix_dir$libdir"
+		    add_dir+=" -L$inst_prefix_dir$libdir"
 		    ;;
 		esac
 	      fi
@@ -6329,21 +7392,21 @@ func_mode_link ()
 
 	    # Just print a warning and add the library to dependency_libs so
 	    # that the program can be linked against the static library.
-	    $ECHO
+	    echo
 	    $ECHO "*** Warning: This system can not link to static lib archive $lib."
-	    $ECHO "*** I have the capability to make that library automatically link in when"
-	    $ECHO "*** you link to this library.  But I can only do this if you have a"
-	    $ECHO "*** shared version of the library, which you do not appear to have."
+	    echo "*** I have the capability to make that library automatically link in when"
+	    echo "*** you link to this library.  But I can only do this if you have a"
+	    echo "*** shared version of the library, which you do not appear to have."
 	    if test "$module" = yes; then
-	      $ECHO "*** But as you try to build a module library, libtool will still create "
-	      $ECHO "*** a static module, that should work as long as the dlopening application"
-	      $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime."
+	      echo "*** But as you try to build a module library, libtool will still create "
+	      echo "*** a static module, that should work as long as the dlopening application"
+	      echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
 	      if test -z "$global_symbol_pipe"; then
-		$ECHO
-		$ECHO "*** However, this would only work if libtool was able to extract symbol"
-		$ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
-		$ECHO "*** not find such a program.  So, this module is probably useless."
-		$ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
+		echo
+		echo "*** However, this would only work if libtool was able to extract symbol"
+		echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
+		echo "*** not find such a program.  So, this module is probably useless."
+		echo "*** \`nm' from GNU binutils and a full rebuild may help."
 	      fi
 	      if test "$build_old_libs" = no; then
 		build_libtool_libs=module
@@ -6371,27 +7434,33 @@ func_mode_link ()
 	           temp_xrpath=$func_stripname_result
 		   case " $xrpath " in
 		   *" $temp_xrpath "*) ;;
-		   *) xrpath="$xrpath $temp_xrpath";;
+		   *) xrpath+=" $temp_xrpath";;
 		   esac;;
-	      *) temp_deplibs="$temp_deplibs $libdir";;
+	      *) temp_deplibs+=" $libdir";;
 	      esac
 	    done
 	    dependency_libs="$temp_deplibs"
 	  fi
 
-	  newlib_search_path="$newlib_search_path $absdir"
+	  newlib_search_path+=" $absdir"
 	  # Link against this library
 	  test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
 	  # ... and its dependency_libs
 	  tmp_libs=
 	  for deplib in $dependency_libs; do
 	    newdependency_libs="$deplib $newdependency_libs"
-	    if $opt_duplicate_deps ; then
+	    case $deplib in
+              -L*) func_stripname '-L' '' "$deplib"
+                   func_resolve_sysroot "$func_stripname_result";;
+              *) func_resolve_sysroot "$deplib" ;;
+            esac
+	    if $opt_preserve_dup_deps ; then
 	      case "$tmp_libs " in
-	      *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+	      *" $func_resolve_sysroot_result "*)
+                specialdeplibs+=" $func_resolve_sysroot_result" ;;
 	      esac
 	    fi
-	    tmp_libs="$tmp_libs $deplib"
+	    tmp_libs+=" $func_resolve_sysroot_result"
 	  done
 
 	  if test "$link_all_deplibs" != no; then
@@ -6401,8 +7470,10 @@ func_mode_link ()
 	      case $deplib in
 	      -L*) path="$deplib" ;;
 	      *.la)
+	        func_resolve_sysroot "$deplib"
+	        deplib=$func_resolve_sysroot_result
 	        func_dirname "$deplib" "" "."
-		dir="$func_dirname_result"
+		dir=$func_dirname_result
 		# We need an absolute path.
 		case $dir in
 		[\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
@@ -6429,8 +7500,8 @@ func_mode_link ()
                       if test -z "$darwin_install_name"; then
                           darwin_install_name=`${OTOOL64} -L $depdepl  | awk '{if (NR == 2) {print $1;exit}}'`
                       fi
-		      compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
-		      linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}"
+		      compiler_flags+=" ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
+		      linker_flags+=" -dylib_file ${darwin_install_name}:${depdepl}"
 		      path=
 		    fi
 		  fi
@@ -6463,7 +7534,7 @@ func_mode_link ()
 	  compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
 	  finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
 	else
-	  compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
+	  compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
 	fi
       fi
       dependency_libs="$newdependency_libs"
@@ -6480,7 +7551,7 @@ func_mode_link ()
 	  for dir in $newlib_search_path; do
 	    case "$lib_search_path " in
 	    *" $dir "*) ;;
-	    *) lib_search_path="$lib_search_path $dir" ;;
+	    *) lib_search_path+=" $dir" ;;
 	    esac
 	  done
 	  newlib_search_path=
@@ -6538,10 +7609,10 @@ func_mode_link ()
 	    -L*)
 	      case " $tmp_libs " in
 	      *" $deplib "*) ;;
-	      *) tmp_libs="$tmp_libs $deplib" ;;
+	      *) tmp_libs+=" $deplib" ;;
 	      esac
 	      ;;
-	    *) tmp_libs="$tmp_libs $deplib" ;;
+	    *) tmp_libs+=" $deplib" ;;
 	    esac
 	  done
 	  eval $var=\"$tmp_libs\"
@@ -6557,7 +7628,7 @@ func_mode_link ()
 	  ;;
 	esac
 	if test -n "$i" ; then
-	  tmp_libs="$tmp_libs $i"
+	  tmp_libs+=" $i"
 	fi
       done
       dependency_libs=$tmp_libs
@@ -6598,7 +7669,7 @@ func_mode_link ()
       # Now set the variables for building old libraries.
       build_libtool_libs=no
       oldlibs="$output"
-      objs="$objs$old_deplibs"
+      objs+="$old_deplibs"
       ;;
 
     lib)
@@ -6631,10 +7702,10 @@ func_mode_link ()
 	if test "$deplibs_check_method" != pass_all; then
 	  func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs"
 	else
-	  $ECHO
+	  echo
 	  $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
 	  $ECHO "*** objects $objs is not portable!"
-	  libobjs="$libobjs $objs"
+	  libobjs+=" $objs"
 	fi
       fi
 
@@ -6693,13 +7764,14 @@ func_mode_link ()
 	  # which has an extra 1 added just for fun
 	  #
 	  case $version_type in
+	  # correct linux to gnu/linux during the next big refactor
 	  darwin|linux|osf|windows|none)
 	    func_arith $number_major + $number_minor
 	    current=$func_arith_result
 	    age="$number_minor"
 	    revision="$number_revision"
 	    ;;
-	  freebsd-aout|freebsd-elf|sunos)
+	  freebsd-aout|freebsd-elf|qnx|sunos)
 	    current="$number_major"
 	    revision="$number_minor"
 	    age="0"
@@ -6711,9 +7783,6 @@ func_mode_link ()
 	    revision="$number_minor"
 	    lt_irix_increment=no
 	    ;;
-	  *)
-	    func_fatal_configuration "$modename: unknown library version type \`$version_type'"
-	    ;;
 	  esac
 	  ;;
 	no)
@@ -6812,7 +7881,7 @@ func_mode_link ()
 	  versuffix="$major.$revision"
 	  ;;
 
-	linux)
+	linux) # correct to gnu/linux during the next big refactor
 	  func_arith $current - $age
 	  major=.$func_arith_result
 	  versuffix="$major.$age.$revision"
@@ -6835,7 +7904,7 @@ func_mode_link ()
 	  done
 
 	  # Make executables depend on our current version.
-	  verstring="$verstring:${current}.0"
+	  verstring+=":${current}.0"
 	  ;;
 
 	qnx)
@@ -6903,10 +7972,10 @@ func_mode_link ()
       fi
 
       func_generate_dlsyms "$libname" "$libname" "yes"
-      libobjs="$libobjs $symfileobj"
+      libobjs+=" $symfileobj"
       test "X$libobjs" = "X " && libobjs=
 
-      if test "$mode" != relink; then
+      if test "$opt_mode" != relink; then
 	# Remove our outputs, but don't remove object files since they
 	# may have been created when compiling PIC objects.
 	removelist=
@@ -6922,7 +7991,7 @@ func_mode_link ()
 		   continue
 		 fi
 	       fi
-	       removelist="$removelist $p"
+	       removelist+=" $p"
 	       ;;
 	    *) ;;
 	  esac
@@ -6933,27 +8002,28 @@ func_mode_link ()
 
       # Now set the variables for building old libraries.
       if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
-	oldlibs="$oldlibs $output_objdir/$libname.$libext"
+	oldlibs+=" $output_objdir/$libname.$libext"
 
 	# Transform .lo files to .o files.
-	oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
+	oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP`
       fi
 
       # Eliminate all temporary directories.
       #for path in $notinst_path; do
-      #	lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"`
-      #	deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"`
-      #	dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"`
+      #	lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"`
+      #	deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"`
+      #	dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"`
       #done
 
       if test -n "$xrpath"; then
 	# If the user specified any rpath flags, then add them.
 	temp_xrpath=
 	for libdir in $xrpath; do
-	  temp_xrpath="$temp_xrpath -R$libdir"
+	  func_replace_sysroot "$libdir"
+	  temp_xrpath+=" -R$func_replace_sysroot_result"
 	  case "$finalize_rpath " in
 	  *" $libdir "*) ;;
-	  *) finalize_rpath="$finalize_rpath $libdir" ;;
+	  *) finalize_rpath+=" $libdir" ;;
 	  esac
 	done
 	if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
@@ -6967,7 +8037,7 @@ func_mode_link ()
       for lib in $old_dlfiles; do
 	case " $dlprefiles $dlfiles " in
 	*" $lib "*) ;;
-	*) dlfiles="$dlfiles $lib" ;;
+	*) dlfiles+=" $lib" ;;
 	esac
       done
 
@@ -6977,19 +8047,19 @@ func_mode_link ()
       for lib in $old_dlprefiles; do
 	case "$dlprefiles " in
 	*" $lib "*) ;;
-	*) dlprefiles="$dlprefiles $lib" ;;
+	*) dlprefiles+=" $lib" ;;
 	esac
       done
 
       if test "$build_libtool_libs" = yes; then
 	if test -n "$rpath"; then
 	  case $host in
-	  *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*)
+	  *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
 	    # these systems don't actually have a c library (as such)!
 	    ;;
 	  *-*-rhapsody* | *-*-darwin1.[012])
 	    # Rhapsody C library is in the System framework
-	    deplibs="$deplibs System.ltframework"
+	    deplibs+=" System.ltframework"
 	    ;;
 	  *-*-netbsd*)
 	    # Don't link with libc until the a.out ld.so is fixed.
@@ -7006,7 +8076,7 @@ func_mode_link ()
 	  *)
 	    # Add libc to deplibs on all other systems if necessary.
 	    if test "$build_libtool_need_lc" = "yes"; then
-	      deplibs="$deplibs -lc"
+	      deplibs+=" -lc"
 	    fi
 	    ;;
 	  esac
@@ -7055,7 +8125,7 @@ EOF
 		if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
 		  case " $predeps $postdeps " in
 		  *" $i "*)
-		    newdeplibs="$newdeplibs $i"
+		    newdeplibs+=" $i"
 		    i=""
 		    ;;
 		  esac
@@ -7066,21 +8136,21 @@ EOF
 		  set dummy $deplib_matches; shift
 		  deplib_match=$1
 		  if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
-		    newdeplibs="$newdeplibs $i"
+		    newdeplibs+=" $i"
 		  else
 		    droppeddeps=yes
-		    $ECHO
+		    echo
 		    $ECHO "*** Warning: dynamic linker does not accept needed library $i."
-		    $ECHO "*** I have the capability to make that library automatically link in when"
-		    $ECHO "*** you link to this library.  But I can only do this if you have a"
-		    $ECHO "*** shared version of the library, which I believe you do not have"
-		    $ECHO "*** because a test_compile did reveal that the linker did not use it for"
-		    $ECHO "*** its dynamic dependency list that programs get resolved with at runtime."
+		    echo "*** I have the capability to make that library automatically link in when"
+		    echo "*** you link to this library.  But I can only do this if you have a"
+		    echo "*** shared version of the library, which I believe you do not have"
+		    echo "*** because a test_compile did reveal that the linker did not use it for"
+		    echo "*** its dynamic dependency list that programs get resolved with at runtime."
 		  fi
 		fi
 		;;
 	      *)
-		newdeplibs="$newdeplibs $i"
+		newdeplibs+=" $i"
 		;;
 	      esac
 	    done
@@ -7098,7 +8168,7 @@ EOF
 		  if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
 		    case " $predeps $postdeps " in
 		    *" $i "*)
-		      newdeplibs="$newdeplibs $i"
+		      newdeplibs+=" $i"
 		      i=""
 		      ;;
 		    esac
@@ -7109,29 +8179,29 @@ EOF
 		    set dummy $deplib_matches; shift
 		    deplib_match=$1
 		    if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
-		      newdeplibs="$newdeplibs $i"
+		      newdeplibs+=" $i"
 		    else
 		      droppeddeps=yes
-		      $ECHO
+		      echo
 		      $ECHO "*** Warning: dynamic linker does not accept needed library $i."
-		      $ECHO "*** I have the capability to make that library automatically link in when"
-		      $ECHO "*** you link to this library.  But I can only do this if you have a"
-		      $ECHO "*** shared version of the library, which you do not appear to have"
-		      $ECHO "*** because a test_compile did reveal that the linker did not use this one"
-		      $ECHO "*** as a dynamic dependency that programs can get resolved with at runtime."
+		      echo "*** I have the capability to make that library automatically link in when"
+		      echo "*** you link to this library.  But I can only do this if you have a"
+		      echo "*** shared version of the library, which you do not appear to have"
+		      echo "*** because a test_compile did reveal that the linker did not use this one"
+		      echo "*** as a dynamic dependency that programs can get resolved with at runtime."
 		    fi
 		  fi
 		else
 		  droppeddeps=yes
-		  $ECHO
+		  echo
 		  $ECHO "*** Warning!  Library $i is needed by this library but I was not able to"
-		  $ECHO "*** make it link in!  You will probably need to install it or some"
-		  $ECHO "*** library that it depends on before this library will be fully"
-		  $ECHO "*** functional.  Installing it before continuing would be even better."
+		  echo "*** make it link in!  You will probably need to install it or some"
+		  echo "*** library that it depends on before this library will be fully"
+		  echo "*** functional.  Installing it before continuing would be even better."
 		fi
 		;;
 	      *)
-		newdeplibs="$newdeplibs $i"
+		newdeplibs+=" $i"
 		;;
 	      esac
 	    done
@@ -7148,15 +8218,27 @@ EOF
 	      if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
 		case " $predeps $postdeps " in
 		*" $a_deplib "*)
-		  newdeplibs="$newdeplibs $a_deplib"
+		  newdeplibs+=" $a_deplib"
 		  a_deplib=""
 		  ;;
 		esac
 	      fi
 	      if test -n "$a_deplib" ; then
 		libname=`eval "\\$ECHO \"$libname_spec\""`
+		if test -n "$file_magic_glob"; then
+		  libnameglob=`func_echo_all "$libname" | $SED -e $file_magic_glob`
+		else
+		  libnameglob=$libname
+		fi
+		test "$want_nocaseglob" = yes && nocaseglob=`shopt -p nocaseglob`
 		for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
-		  potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
+		  if test "$want_nocaseglob" = yes; then
+		    shopt -s nocaseglob
+		    potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
+		    $nocaseglob
+		  else
+		    potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
+		  fi
 		  for potent_lib in $potential_libs; do
 		      # Follow soft links.
 		      if ls -lLd "$potent_lib" 2>/dev/null |
@@ -7173,13 +8255,13 @@ EOF
 			potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
 			case $potliblink in
 			[\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
-			*) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
+			*) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";;
 			esac
 		      done
 		      if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
 			 $SED -e 10q |
 			 $EGREP "$file_magic_regex" > /dev/null; then
-			newdeplibs="$newdeplibs $a_deplib"
+			newdeplibs+=" $a_deplib"
 			a_deplib=""
 			break 2
 		      fi
@@ -7188,12 +8270,12 @@ EOF
 	      fi
 	      if test -n "$a_deplib" ; then
 		droppeddeps=yes
-		$ECHO
+		echo
 		$ECHO "*** Warning: linker path does not have real file for library $a_deplib."
-		$ECHO "*** I have the capability to make that library automatically link in when"
-		$ECHO "*** you link to this library.  But I can only do this if you have a"
-		$ECHO "*** shared version of the library, which you do not appear to have"
-		$ECHO "*** because I did check the linker path looking for a file starting"
+		echo "*** I have the capability to make that library automatically link in when"
+		echo "*** you link to this library.  But I can only do this if you have a"
+		echo "*** shared version of the library, which you do not appear to have"
+		echo "*** because I did check the linker path looking for a file starting"
 		if test -z "$potlib" ; then
 		  $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
 		else
@@ -7204,7 +8286,7 @@ EOF
 	      ;;
 	    *)
 	      # Add a -L argument.
-	      newdeplibs="$newdeplibs $a_deplib"
+	      newdeplibs+=" $a_deplib"
 	      ;;
 	    esac
 	  done # Gone through all deplibs.
@@ -7220,7 +8302,7 @@ EOF
 	      if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
 		case " $predeps $postdeps " in
 		*" $a_deplib "*)
-		  newdeplibs="$newdeplibs $a_deplib"
+		  newdeplibs+=" $a_deplib"
 		  a_deplib=""
 		  ;;
 		esac
@@ -7231,9 +8313,9 @@ EOF
 		  potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
 		  for potent_lib in $potential_libs; do
 		    potlib="$potent_lib" # see symlink-check above in file_magic test
-		    if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \
+		    if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \
 		       $EGREP "$match_pattern_regex" > /dev/null; then
-		      newdeplibs="$newdeplibs $a_deplib"
+		      newdeplibs+=" $a_deplib"
 		      a_deplib=""
 		      break 2
 		    fi
@@ -7242,12 +8324,12 @@ EOF
 	      fi
 	      if test -n "$a_deplib" ; then
 		droppeddeps=yes
-		$ECHO
+		echo
 		$ECHO "*** Warning: linker path does not have real file for library $a_deplib."
-		$ECHO "*** I have the capability to make that library automatically link in when"
-		$ECHO "*** you link to this library.  But I can only do this if you have a"
-		$ECHO "*** shared version of the library, which you do not appear to have"
-		$ECHO "*** because I did check the linker path looking for a file starting"
+		echo "*** I have the capability to make that library automatically link in when"
+		echo "*** you link to this library.  But I can only do this if you have a"
+		echo "*** shared version of the library, which you do not appear to have"
+		echo "*** because I did check the linker path looking for a file starting"
 		if test -z "$potlib" ; then
 		  $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
 		else
@@ -7258,32 +8340,32 @@ EOF
 	      ;;
 	    *)
 	      # Add a -L argument.
-	      newdeplibs="$newdeplibs $a_deplib"
+	      newdeplibs+=" $a_deplib"
 	      ;;
 	    esac
 	  done # Gone through all deplibs.
 	  ;;
 	none | unknown | *)
 	  newdeplibs=""
-	  tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \
-	      -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'`
+	  tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'`
 	  if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
 	    for i in $predeps $postdeps ; do
 	      # can't use Xsed below, because $i might contain '/'
-	      tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"`
+	      tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"`
 	    done
 	  fi
-	  if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[	 ]//g' |
-	     $GREP . >/dev/null; then
-	    $ECHO
+	  case $tmp_deplibs in
+	  *[!\	\ ]*)
+	    echo
 	    if test "X$deplibs_check_method" = "Xnone"; then
-	      $ECHO "*** Warning: inter-library dependencies are not supported in this platform."
+	      echo "*** Warning: inter-library dependencies are not supported in this platform."
 	    else
-	      $ECHO "*** Warning: inter-library dependencies are not known to be supported."
+	      echo "*** Warning: inter-library dependencies are not known to be supported."
 	    fi
-	    $ECHO "*** All declared inter-library dependencies are being dropped."
+	    echo "*** All declared inter-library dependencies are being dropped."
 	    droppeddeps=yes
-	  fi
+	    ;;
+	  esac
 	  ;;
 	esac
 	versuffix=$versuffix_save
@@ -7295,23 +8377,23 @@ EOF
 	case $host in
 	*-*-rhapsody* | *-*-darwin1.[012])
 	  # On Rhapsody replace the C library with the System framework
-	  newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
+	  newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'`
 	  ;;
 	esac
 
 	if test "$droppeddeps" = yes; then
 	  if test "$module" = yes; then
-	    $ECHO
-	    $ECHO "*** Warning: libtool could not satisfy all declared inter-library"
+	    echo
+	    echo "*** Warning: libtool could not satisfy all declared inter-library"
 	    $ECHO "*** dependencies of module $libname.  Therefore, libtool will create"
-	    $ECHO "*** a static module, that should work as long as the dlopening"
-	    $ECHO "*** application is linked with the -dlopen flag."
+	    echo "*** a static module, that should work as long as the dlopening"
+	    echo "*** application is linked with the -dlopen flag."
 	    if test -z "$global_symbol_pipe"; then
-	      $ECHO
-	      $ECHO "*** However, this would only work if libtool was able to extract symbol"
-	      $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
-	      $ECHO "*** not find such a program.  So, this module is probably useless."
-	      $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
+	      echo
+	      echo "*** However, this would only work if libtool was able to extract symbol"
+	      echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
+	      echo "*** not find such a program.  So, this module is probably useless."
+	      echo "*** \`nm' from GNU binutils and a full rebuild may help."
 	    fi
 	    if test "$build_old_libs" = no; then
 	      oldlibs="$output_objdir/$libname.$libext"
@@ -7321,16 +8403,16 @@ EOF
 	      build_libtool_libs=no
 	    fi
 	  else
-	    $ECHO "*** The inter-library dependencies that have been dropped here will be"
-	    $ECHO "*** automatically added whenever a program is linked with this library"
-	    $ECHO "*** or is declared to -dlopen it."
+	    echo "*** The inter-library dependencies that have been dropped here will be"
+	    echo "*** automatically added whenever a program is linked with this library"
+	    echo "*** or is declared to -dlopen it."
 
 	    if test "$allow_undefined" = no; then
-	      $ECHO
-	      $ECHO "*** Since this library must not contain undefined symbols,"
-	      $ECHO "*** because either the platform does not support them or"
-	      $ECHO "*** it was explicitly requested with -no-undefined,"
-	      $ECHO "*** libtool will only create a static version of it."
+	      echo
+	      echo "*** Since this library must not contain undefined symbols,"
+	      echo "*** because either the platform does not support them or"
+	      echo "*** it was explicitly requested with -no-undefined,"
+	      echo "*** libtool will only create a static version of it."
 	      if test "$build_old_libs" = no; then
 		oldlibs="$output_objdir/$libname.$libext"
 		build_libtool_libs=module
@@ -7347,9 +8429,9 @@ EOF
       # Time to change all our "foo.ltframework" stuff back to "-framework foo"
       case $host in
 	*-*-darwin*)
-	  newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
-	  new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
-	  deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
+	  newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+	  new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+	  deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
 	  ;;
       esac
 
@@ -7362,7 +8444,7 @@ EOF
 	*)
 	  case " $deplibs " in
 	  *" -L$path/$objdir "*)
-	    new_libs="$new_libs -L$path/$objdir" ;;
+	    new_libs+=" -L$path/$objdir" ;;
 	  esac
 	  ;;
 	esac
@@ -7372,10 +8454,10 @@ EOF
 	-L*)
 	  case " $new_libs " in
 	  *" $deplib "*) ;;
-	  *) new_libs="$new_libs $deplib" ;;
+	  *) new_libs+=" $deplib" ;;
 	  esac
 	  ;;
-	*) new_libs="$new_libs $deplib" ;;
+	*) new_libs+=" $deplib" ;;
 	esac
       done
       deplibs="$new_libs"
@@ -7387,15 +8469,22 @@ EOF
 
       # Test again, we may have decided not to build it any more
       if test "$build_libtool_libs" = yes; then
+	# Remove ${wl} instances when linking with ld.
+	# FIXME: should test the right _cmds variable.
+	case $archive_cmds in
+	  *\$LD\ *) wl= ;;
+        esac
 	if test "$hardcode_into_libs" = yes; then
 	  # Hardcode the library paths
 	  hardcode_libdirs=
 	  dep_rpath=
 	  rpath="$finalize_rpath"
-	  test "$mode" != relink && rpath="$compile_rpath$rpath"
+	  test "$opt_mode" != relink && rpath="$compile_rpath$rpath"
 	  for libdir in $rpath; do
 	    if test -n "$hardcode_libdir_flag_spec"; then
 	      if test -n "$hardcode_libdir_separator"; then
+		func_replace_sysroot "$libdir"
+		libdir=$func_replace_sysroot_result
 		if test -z "$hardcode_libdirs"; then
 		  hardcode_libdirs="$libdir"
 		else
@@ -7404,18 +8493,18 @@ EOF
 		  *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
 		    ;;
 		  *)
-		    hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
+		    hardcode_libdirs+="$hardcode_libdir_separator$libdir"
 		    ;;
 		  esac
 		fi
 	      else
 		eval flag=\"$hardcode_libdir_flag_spec\"
-		dep_rpath="$dep_rpath $flag"
+		dep_rpath+=" $flag"
 	      fi
 	    elif test -n "$runpath_var"; then
 	      case "$perm_rpath " in
 	      *" $libdir "*) ;;
-	      *) perm_rpath="$perm_rpath $libdir" ;;
+	      *) perm_rpath+=" $libdir" ;;
 	      esac
 	    fi
 	  done
@@ -7423,17 +8512,13 @@ EOF
 	  if test -n "$hardcode_libdir_separator" &&
 	     test -n "$hardcode_libdirs"; then
 	    libdir="$hardcode_libdirs"
-	    if test -n "$hardcode_libdir_flag_spec_ld"; then
-	      eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
-	    else
-	      eval dep_rpath=\"$hardcode_libdir_flag_spec\"
-	    fi
+	    eval "dep_rpath=\"$hardcode_libdir_flag_spec\""
 	  fi
 	  if test -n "$runpath_var" && test -n "$perm_rpath"; then
 	    # We should set the runpath_var.
 	    rpath=
 	    for dir in $perm_rpath; do
-	      rpath="$rpath$dir:"
+	      rpath+="$dir:"
 	    done
 	    eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
 	  fi
@@ -7441,7 +8526,7 @@ EOF
 	fi
 
 	shlibpath="$finalize_shlibpath"
-	test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
+	test "$opt_mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
 	if test -n "$shlibpath"; then
 	  eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
 	fi
@@ -7467,18 +8552,18 @@ EOF
 	linknames=
 	for link
 	do
-	  linknames="$linknames $link"
+	  linknames+=" $link"
 	done
 
 	# Use standard objects if they are pic
-	test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
+	test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP`
 	test "X$libobjs" = "X " && libobjs=
 
 	delfiles=
 	if test -n "$export_symbols" && test -n "$include_expsyms"; then
 	  $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
 	  export_symbols="$output_objdir/$libname.uexp"
-	  delfiles="$delfiles $export_symbols"
+	  delfiles+=" $export_symbols"
 	fi
 
 	orig_export_symbols=
@@ -7509,14 +8594,46 @@ EOF
 	    $opt_dry_run || $RM $export_symbols
 	    cmds=$export_symbols_cmds
 	    save_ifs="$IFS"; IFS='~'
-	    for cmd in $cmds; do
+	    for cmd1 in $cmds; do
 	      IFS="$save_ifs"
-	      eval cmd=\"$cmd\"
-	      func_len " $cmd"
-	      len=$func_len_result
-	      if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
+	      # Take the normal branch if the nm_file_list_spec branch
+	      # doesn't work or if tool conversion is not needed.
+	      case $nm_file_list_spec~$to_tool_file_cmd in
+		*~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*)
+		  try_normal_branch=yes
+		  eval cmd=\"$cmd1\"
+		  func_len " $cmd"
+		  len=$func_len_result
+		  ;;
+		*)
+		  try_normal_branch=no
+		  ;;
+	      esac
+	      if test "$try_normal_branch" = yes \
+		 && { test "$len" -lt "$max_cmd_len" \
+		      || test "$max_cmd_len" -le -1; }
+	      then
 		func_show_eval "$cmd" 'exit $?'
 		skipped_export=false
+	      elif test -n "$nm_file_list_spec"; then
+		func_basename "$output"
+		output_la=$func_basename_result
+		save_libobjs=$libobjs
+		save_output=$output
+		output=${output_objdir}/${output_la}.nm
+		func_to_tool_file "$output"
+		libobjs=$nm_file_list_spec$func_to_tool_file_result
+		delfiles+=" $output"
+		func_verbose "creating $NM input file list: $output"
+		for obj in $save_libobjs; do
+		  func_to_tool_file "$obj"
+		  $ECHO "$func_to_tool_file_result"
+		done > "$output"
+		eval cmd=\"$cmd1\"
+		func_show_eval "$cmd" 'exit $?'
+		output=$save_output
+		libobjs=$save_libobjs
+		skipped_export=false
 	      else
 		# The command line is too long to execute in one step.
 		func_verbose "using reloadable object file for export list..."
@@ -7537,7 +8654,7 @@ EOF
 	if test -n "$export_symbols" && test -n "$include_expsyms"; then
 	  tmp_export_symbols="$export_symbols"
 	  test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
-	  $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
+	  $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
 	fi
 
 	if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
@@ -7549,7 +8666,7 @@ EOF
 	  # global variables. join(1) would be nice here, but unfortunately
 	  # isn't a blessed tool.
 	  $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
-	  delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
+	  delfiles+=" $export_symbols $output_objdir/$libname.filter"
 	  export_symbols=$output_objdir/$libname.def
 	  $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
 	fi
@@ -7559,7 +8676,7 @@ EOF
 	  case " $convenience " in
 	  *" $test_deplib "*) ;;
 	  *)
-	    tmp_deplibs="$tmp_deplibs $test_deplib"
+	    tmp_deplibs+=" $test_deplib"
 	    ;;
 	  esac
 	done
@@ -7579,21 +8696,21 @@ EOF
 	    test "X$libobjs" = "X " && libobjs=
 	  else
 	    gentop="$output_objdir/${outputname}x"
-	    generated="$generated $gentop"
+	    generated+=" $gentop"
 
 	    func_extract_archives $gentop $convenience
-	    libobjs="$libobjs $func_extract_archives_result"
+	    libobjs+=" $func_extract_archives_result"
 	    test "X$libobjs" = "X " && libobjs=
 	  fi
 	fi
 
 	if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
 	  eval flag=\"$thread_safe_flag_spec\"
-	  linker_flags="$linker_flags $flag"
+	  linker_flags+=" $flag"
 	fi
 
 	# Make a backup of the uninstalled library when relinking
-	if test "$mode" = relink; then
+	if test "$opt_mode" = relink; then
 	  $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
 	fi
 
@@ -7638,7 +8755,8 @@ EOF
 	    save_libobjs=$libobjs
 	  fi
 	  save_output=$output
-	  output_la=`$ECHO "X$output" | $Xsed -e "$basename"`
+	  func_basename "$output"
+	  output_la=$func_basename_result
 
 	  # Clear the reloadable object creation command queue and
 	  # initialize k to one.
@@ -7651,13 +8769,16 @@ EOF
 	  if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then
 	    output=${output_objdir}/${output_la}.lnkscript
 	    func_verbose "creating GNU ld script: $output"
-	    $ECHO 'INPUT (' > $output
+	    echo 'INPUT (' > $output
 	    for obj in $save_libobjs
 	    do
-	      $ECHO "$obj" >> $output
+	      func_to_tool_file "$obj"
+	      $ECHO "$func_to_tool_file_result" >> $output
 	    done
-	    $ECHO ')' >> $output
-	    delfiles="$delfiles $output"
+	    echo ')' >> $output
+	    delfiles+=" $output"
+	    func_to_tool_file "$output"
+	    output=$func_to_tool_file_result
 	  elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
 	    output=${output_objdir}/${output_la}.lnk
 	    func_verbose "creating linker input file list: $output"
@@ -7671,10 +8792,12 @@ EOF
 	    fi
 	    for obj
 	    do
-	      $ECHO "$obj" >> $output
+	      func_to_tool_file "$obj"
+	      $ECHO "$func_to_tool_file_result" >> $output
 	    done
-	    delfiles="$delfiles $output"
-	    output=$firstobj\"$file_list_spec$output\"
+	    delfiles+=" $output"
+	    func_to_tool_file "$output"
+	    output=$firstobj\"$file_list_spec$func_to_tool_file_result\"
 	  else
 	    if test -n "$save_libobjs"; then
 	      func_verbose "creating reloadable object files..."
@@ -7692,23 +8815,25 @@ EOF
 		len=$func_arith_result
 		if test "X$objlist" = X ||
 		   test "$len" -lt "$max_cmd_len"; then
-		  func_append objlist " $obj"
+		  objlist+=" $obj"
 		else
 		  # The command $test_cmds is almost too long, add a
 		  # command to the queue.
 		  if test "$k" -eq 1 ; then
 		    # The first file doesn't have a previous command to add.
-		    eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
+		    reload_objs=$objlist
+		    eval concat_cmds=\"$reload_cmds\"
 		  else
 		    # All subsequent reloadable object files will link in
 		    # the last one created.
-		    eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\"
+		    reload_objs="$objlist $last_robj"
+		    eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\"
 		  fi
 		  last_robj=$output_objdir/$output_la-${k}.$objext
 		  func_arith $k + 1
 		  k=$func_arith_result
 		  output=$output_objdir/$output_la-${k}.$objext
-		  objlist=$obj
+		  objlist=" $obj"
 		  func_len " $last_robj"
 		  func_arith $len0 + $func_len_result
 		  len=$func_arith_result
@@ -7718,11 +8843,12 @@ EOF
 	      # reloadable object file.  All subsequent reloadable object
 	      # files will link in the last one created.
 	      test -z "$concat_cmds" || concat_cmds=$concat_cmds~
-	      eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
+	      reload_objs="$objlist $last_robj"
+	      eval concat_cmds=\"\${concat_cmds}$reload_cmds\"
 	      if test -n "$last_robj"; then
 	        eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\"
 	      fi
-	      delfiles="$delfiles $output"
+	      delfiles+=" $output"
 
 	    else
 	      output=
@@ -7756,7 +8882,7 @@ EOF
 		lt_exit=$?
 
 		# Restore the uninstalled library and exit
-		if test "$mode" = relink; then
+		if test "$opt_mode" = relink; then
 		  ( cd "$output_objdir" && \
 		    $RM "${realname}T" && \
 		    $MV "${realname}U" "$realname" )
@@ -7777,7 +8903,7 @@ EOF
 	    if test -n "$export_symbols" && test -n "$include_expsyms"; then
 	      tmp_export_symbols="$export_symbols"
 	      test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
-	      $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
+	      $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
 	    fi
 
 	    if test -n "$orig_export_symbols"; then
@@ -7789,7 +8915,7 @@ EOF
 	      # global variables. join(1) would be nice here, but unfortunately
 	      # isn't a blessed tool.
 	      $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
-	      delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
+	      delfiles+=" $export_symbols $output_objdir/$libname.filter"
 	      export_symbols=$output_objdir/$libname.def
 	      $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
 	    fi
@@ -7830,10 +8956,10 @@ EOF
 	# Add any objects from preloaded convenience libraries
 	if test -n "$dlprefiles"; then
 	  gentop="$output_objdir/${outputname}x"
-	  generated="$generated $gentop"
+	  generated+=" $gentop"
 
 	  func_extract_archives $gentop $dlprefiles
-	  libobjs="$libobjs $func_extract_archives_result"
+	  libobjs+=" $func_extract_archives_result"
 	  test "X$libobjs" = "X " && libobjs=
 	fi
 
@@ -7849,7 +8975,7 @@ EOF
 	    lt_exit=$?
 
 	    # Restore the uninstalled library and exit
-	    if test "$mode" = relink; then
+	    if test "$opt_mode" = relink; then
 	      ( cd "$output_objdir" && \
 	        $RM "${realname}T" && \
 		$MV "${realname}U" "$realname" )
@@ -7861,7 +8987,7 @@ EOF
 	IFS="$save_ifs"
 
 	# Restore the uninstalled library and exit
-	if test "$mode" = relink; then
+	if test "$opt_mode" = relink; then
 	  $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
 
 	  if test -n "$convenience"; then
@@ -7942,18 +9068,21 @@ EOF
       if test -n "$convenience"; then
 	if test -n "$whole_archive_flag_spec"; then
 	  eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
-	  reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
+	  reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'`
 	else
 	  gentop="$output_objdir/${obj}x"
-	  generated="$generated $gentop"
+	  generated+=" $gentop"
 
 	  func_extract_archives $gentop $convenience
 	  reload_conv_objs="$reload_objs $func_extract_archives_result"
 	fi
       fi
 
+      # If we're not building shared, we need to use non_pic_objs
+      test "$build_libtool_libs" != yes && libobjs="$non_pic_objects"
+
       # Create the old-style object.
-      reload_objs="$objs$old_deplibs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
+      reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
 
       output="$obj"
       func_execute_cmds "$reload_cmds" 'exit $?'
@@ -8013,8 +9142,8 @@ EOF
       case $host in
       *-*-rhapsody* | *-*-darwin1.[012])
 	# On Rhapsody replace the C library is the System framework
-	compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
-	finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
+	compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'`
+	finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'`
 	;;
       esac
 
@@ -8025,14 +9154,14 @@ EOF
 	if test "$tagname" = CXX ; then
 	  case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
 	    10.[0123])
-	      compile_command="$compile_command ${wl}-bind_at_load"
-	      finalize_command="$finalize_command ${wl}-bind_at_load"
+	      compile_command+=" ${wl}-bind_at_load"
+	      finalize_command+=" ${wl}-bind_at_load"
 	    ;;
 	  esac
 	fi
 	# Time to change all our "foo.ltframework" stuff back to "-framework foo"
-	compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
-	finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
+	compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+	finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
 	;;
       esac
 
@@ -8046,7 +9175,7 @@ EOF
 	*)
 	  case " $compile_deplibs " in
 	  *" -L$path/$objdir "*)
-	    new_libs="$new_libs -L$path/$objdir" ;;
+	    new_libs+=" -L$path/$objdir" ;;
 	  esac
 	  ;;
 	esac
@@ -8056,17 +9185,17 @@ EOF
 	-L*)
 	  case " $new_libs " in
 	  *" $deplib "*) ;;
-	  *) new_libs="$new_libs $deplib" ;;
+	  *) new_libs+=" $deplib" ;;
 	  esac
 	  ;;
-	*) new_libs="$new_libs $deplib" ;;
+	*) new_libs+=" $deplib" ;;
 	esac
       done
       compile_deplibs="$new_libs"
 
 
-      compile_command="$compile_command $compile_deplibs"
-      finalize_command="$finalize_command $finalize_deplibs"
+      compile_command+=" $compile_deplibs"
+      finalize_command+=" $finalize_deplibs"
 
       if test -n "$rpath$xrpath"; then
 	# If the user specified any rpath flags, then add them.
@@ -8074,7 +9203,7 @@ EOF
 	  # This is the magic to use -rpath.
 	  case "$finalize_rpath " in
 	  *" $libdir "*) ;;
-	  *) finalize_rpath="$finalize_rpath $libdir" ;;
+	  *) finalize_rpath+=" $libdir" ;;
 	  esac
 	done
       fi
@@ -8093,18 +9222,18 @@ EOF
 	      *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
 		;;
 	      *)
-		hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
+		hardcode_libdirs+="$hardcode_libdir_separator$libdir"
 		;;
 	      esac
 	    fi
 	  else
 	    eval flag=\"$hardcode_libdir_flag_spec\"
-	    rpath="$rpath $flag"
+	    rpath+=" $flag"
 	  fi
 	elif test -n "$runpath_var"; then
 	  case "$perm_rpath " in
 	  *" $libdir "*) ;;
-	  *) perm_rpath="$perm_rpath $libdir" ;;
+	  *) perm_rpath+=" $libdir" ;;
 	  esac
 	fi
 	case $host in
@@ -8113,12 +9242,12 @@ EOF
 	  case :$dllsearchpath: in
 	  *":$libdir:"*) ;;
 	  ::) dllsearchpath=$libdir;;
-	  *) dllsearchpath="$dllsearchpath:$libdir";;
+	  *) dllsearchpath+=":$libdir";;
 	  esac
 	  case :$dllsearchpath: in
 	  *":$testbindir:"*) ;;
 	  ::) dllsearchpath=$testbindir;;
-	  *) dllsearchpath="$dllsearchpath:$testbindir";;
+	  *) dllsearchpath+=":$testbindir";;
 	  esac
 	  ;;
 	esac
@@ -8144,18 +9273,18 @@ EOF
 	      *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
 		;;
 	      *)
-		hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
+		hardcode_libdirs+="$hardcode_libdir_separator$libdir"
 		;;
 	      esac
 	    fi
 	  else
 	    eval flag=\"$hardcode_libdir_flag_spec\"
-	    rpath="$rpath $flag"
+	    rpath+=" $flag"
 	  fi
 	elif test -n "$runpath_var"; then
 	  case "$finalize_perm_rpath " in
 	  *" $libdir "*) ;;
-	  *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
+	  *) finalize_perm_rpath+=" $libdir" ;;
 	  esac
 	fi
       done
@@ -8169,8 +9298,8 @@ EOF
 
       if test -n "$libobjs" && test "$build_old_libs" = yes; then
 	# Transform all the library objects into standard objects.
-	compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
-	finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
+	compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
+	finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
       fi
 
       func_generate_dlsyms "$outputname" "@PROGRAM@" "no"
@@ -8182,15 +9311,15 @@ EOF
 
       wrappers_required=yes
       case $host in
+      *cegcc* | *mingw32ce*)
+        # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway.
+        wrappers_required=no
+        ;;
       *cygwin* | *mingw* )
         if test "$build_libtool_libs" != yes; then
           wrappers_required=no
         fi
         ;;
-      *cegcc)
-        # Disable wrappers for cegcc, we are cross compiling anyway.
-        wrappers_required=no
-        ;;
       *)
         if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
           wrappers_required=no
@@ -8199,13 +9328,19 @@ EOF
       esac
       if test "$wrappers_required" = no; then
 	# Replace the output file specification.
-	compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
+	compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
 	link_command="$compile_command$compile_rpath"
 
 	# We have no uninstalled library dependencies, so finalize right now.
 	exit_status=0
 	func_show_eval "$link_command" 'exit_status=$?'
 
+	if test -n "$postlink_cmds"; then
+	  func_to_tool_file "$output"
+	  postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
+	  func_execute_cmds "$postlink_cmds" 'exit $?'
+	fi
+
 	# Delete the generated files.
 	if test -f "$output_objdir/${outputname}S.${objext}"; then
 	  func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"'
@@ -8228,7 +9363,7 @@ EOF
 	  # We should set the runpath_var.
 	  rpath=
 	  for dir in $perm_rpath; do
-	    rpath="$rpath$dir:"
+	    rpath+="$dir:"
 	  done
 	  compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
 	fi
@@ -8236,7 +9371,7 @@ EOF
 	  # We should set the runpath_var.
 	  rpath=
 	  for dir in $finalize_perm_rpath; do
-	    rpath="$rpath$dir:"
+	    rpath+="$dir:"
 	  done
 	  finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
 	fi
@@ -8246,11 +9381,18 @@ EOF
 	# We don't need to create a wrapper script.
 	link_command="$compile_var$compile_command$compile_rpath"
 	# Replace the output file specification.
-	link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
+	link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
 	# Delete the old output file.
 	$opt_dry_run || $RM $output
 	# Link the executable and exit
 	func_show_eval "$link_command" 'exit $?'
+
+	if test -n "$postlink_cmds"; then
+	  func_to_tool_file "$output"
+	  postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
+	  func_execute_cmds "$postlink_cmds" 'exit $?'
+	fi
+
 	exit $EXIT_SUCCESS
       fi
 
@@ -8265,7 +9407,7 @@ EOF
 	if test "$fast_install" != no; then
 	  link_command="$finalize_var$compile_command$finalize_rpath"
 	  if test "$fast_install" = yes; then
-	    relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
+	    relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'`
 	  else
 	    # fast_install is set to needless
 	    relink_command=
@@ -8277,13 +9419,19 @@ EOF
       fi
 
       # Replace the output file specification.
-      link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
+      link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
 
       # Delete the old output files.
       $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
 
       func_show_eval "$link_command" 'exit $?'
 
+      if test -n "$postlink_cmds"; then
+	func_to_tool_file "$output_objdir/$outputname"
+	postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
+	func_execute_cmds "$postlink_cmds" 'exit $?'
+      fi
+
       # Now create the wrapper script.
       func_verbose "creating $output"
 
@@ -8301,18 +9449,7 @@ EOF
 	  fi
 	done
 	relink_command="(cd `pwd`; $relink_command)"
-	relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
-      fi
-
-      # Quote $ECHO for shipping.
-      if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then
-	case $progpath in
-	[\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
-	*) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
-	esac
-	qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"`
-      else
-	qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"`
+	relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
       fi
 
       # Only actually do things if not in dry run mode.
@@ -8392,7 +9529,7 @@ EOF
 	else
 	  oldobjs="$old_deplibs $non_pic_objects"
 	  if test "$preload" = yes && test -f "$symfileobj"; then
-	    oldobjs="$oldobjs $symfileobj"
+	    oldobjs+=" $symfileobj"
 	  fi
 	fi
 	addlibs="$old_convenience"
@@ -8400,10 +9537,10 @@ EOF
 
       if test -n "$addlibs"; then
 	gentop="$output_objdir/${outputname}x"
-	generated="$generated $gentop"
+	generated+=" $gentop"
 
 	func_extract_archives $gentop $addlibs
-	oldobjs="$oldobjs $func_extract_archives_result"
+	oldobjs+=" $func_extract_archives_result"
       fi
 
       # Do each command in the archive commands.
@@ -8414,10 +9551,10 @@ EOF
 	# Add any objects from preloaded convenience libraries
 	if test -n "$dlprefiles"; then
 	  gentop="$output_objdir/${outputname}x"
-	  generated="$generated $gentop"
+	  generated+=" $gentop"
 
 	  func_extract_archives $gentop $dlprefiles
-	  oldobjs="$oldobjs $func_extract_archives_result"
+	  oldobjs+=" $func_extract_archives_result"
 	fi
 
 	# POSIX demands no paths to be encoded in archives.  We have
@@ -8433,9 +9570,9 @@ EOF
 	    done | sort | sort -uc >/dev/null 2>&1); then
 	  :
 	else
-	  $ECHO "copying selected object files to avoid basename conflicts..."
+	  echo "copying selected object files to avoid basename conflicts..."
 	  gentop="$output_objdir/${outputname}x"
-	  generated="$generated $gentop"
+	  generated+=" $gentop"
 	  func_mkdir_p "$gentop"
 	  save_oldobjs=$oldobjs
 	  oldobjs=
@@ -8459,18 +9596,30 @@ EOF
 		esac
 	      done
 	      func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
-	      oldobjs="$oldobjs $gentop/$newobj"
+	      oldobjs+=" $gentop/$newobj"
 	      ;;
-	    *) oldobjs="$oldobjs $obj" ;;
+	    *) oldobjs+=" $obj" ;;
 	    esac
 	  done
 	fi
+	func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
+	tool_oldlib=$func_to_tool_file_result
 	eval cmds=\"$old_archive_cmds\"
 
 	func_len " $cmds"
 	len=$func_len_result
 	if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
 	  cmds=$old_archive_cmds
+	elif test -n "$archiver_list_spec"; then
+	  func_verbose "using command file archive linking..."
+	  for obj in $oldobjs
+	  do
+	    func_to_tool_file "$obj"
+	    $ECHO "$func_to_tool_file_result"
+	  done > $output_objdir/$libname.libcmd
+	  func_to_tool_file "$output_objdir/$libname.libcmd"
+	  oldobjs=" $archiver_list_spec$func_to_tool_file_result"
+	  cmds=$old_archive_cmds
 	else
 	  # the command line is too long to link in one step, link in parts
 	  func_verbose "using piecewise archive linking..."
@@ -8494,7 +9643,7 @@ EOF
 	    func_len " $obj"
 	    func_arith $len + $func_len_result
 	    len=$func_arith_result
-	    func_append objlist " $obj"
+	    objlist+=" $obj"
 	    if test "$len" -lt "$max_cmd_len"; then
 	      :
 	    else
@@ -8544,7 +9693,7 @@ EOF
       done
       # Quote the link command for shipping.
       relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
-      relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
+      relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
       if test "$hardcode_automatic" = yes ; then
 	relink_command=
       fi
@@ -8564,12 +9713,23 @@ EOF
 	      *.la)
 		func_basename "$deplib"
 		name="$func_basename_result"
-		eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
+		func_resolve_sysroot "$deplib"
+		eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
 		test -z "$libdir" && \
 		  func_fatal_error "\`$deplib' is not a valid libtool archive"
-		newdependency_libs="$newdependency_libs $libdir/$name"
+		newdependency_libs+=" ${lt_sysroot:+=}$libdir/$name"
 		;;
-	      *) newdependency_libs="$newdependency_libs $deplib" ;;
+	      -L*)
+		func_stripname -L '' "$deplib"
+		func_replace_sysroot "$func_stripname_result"
+		newdependency_libs+=" -L$func_replace_sysroot_result"
+		;;
+	      -R*)
+		func_stripname -R '' "$deplib"
+		func_replace_sysroot "$func_stripname_result"
+		newdependency_libs+=" -R$func_replace_sysroot_result"
+		;;
+	      *) newdependency_libs+=" $deplib" ;;
 	      esac
 	    done
 	    dependency_libs="$newdependency_libs"
@@ -8583,9 +9743,9 @@ EOF
 		eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
 		test -z "$libdir" && \
 		  func_fatal_error "\`$lib' is not a valid libtool archive"
-		newdlfiles="$newdlfiles $libdir/$name"
+		newdlfiles+=" ${lt_sysroot:+=}$libdir/$name"
 		;;
-	      *) newdlfiles="$newdlfiles $lib" ;;
+	      *) newdlfiles+=" $lib" ;;
 	      esac
 	    done
 	    dlfiles="$newdlfiles"
@@ -8602,7 +9762,7 @@ EOF
 		eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
 		test -z "$libdir" && \
 		  func_fatal_error "\`$lib' is not a valid libtool archive"
-		newdlprefiles="$newdlprefiles $libdir/$name"
+		newdlprefiles+=" ${lt_sysroot:+=}$libdir/$name"
 		;;
 	      esac
 	    done
@@ -8614,7 +9774,7 @@ EOF
 		[\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
 		*) abs=`pwd`"/$lib" ;;
 	      esac
-	      newdlfiles="$newdlfiles $abs"
+	      newdlfiles+=" $abs"
 	    done
 	    dlfiles="$newdlfiles"
 	    newdlprefiles=
@@ -8623,15 +9783,33 @@ EOF
 		[\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
 		*) abs=`pwd`"/$lib" ;;
 	      esac
-	      newdlprefiles="$newdlprefiles $abs"
+	      newdlprefiles+=" $abs"
 	    done
 	    dlprefiles="$newdlprefiles"
 	  fi
 	  $RM $output
 	  # place dlname in correct position for cygwin
+	  # In fact, it would be nice if we could use this code for all target
+	  # systems that can't hard-code library paths into their executables
+	  # and that have no shared library path variable independent of PATH,
+	  # but it turns out we can't easily determine that from inspecting
+	  # libtool variables, so we have to hard-code the OSs to which it
+	  # applies here; at the moment, that means platforms that use the PE
+	  # object format with DLL files.  See the long comment at the top of
+	  # tests/bindir.at for full details.
 	  tdlname=$dlname
 	  case $host,$output,$installed,$module,$dlname in
-	    *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
+	    *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll)
+	      # If a -bindir argument was supplied, place the dll there.
+	      if test "x$bindir" != x ;
+	      then
+		func_relative_path "$install_libdir" "$bindir"
+		tdlname=$func_relative_path_result$dlname
+	      else
+		# Otherwise fall back on heuristic.
+		tdlname=../bin/$dlname
+	      fi
+	      ;;
 	  esac
 	  $ECHO > $output "\
 # $outputname - a libtool library file
@@ -8690,7 +9868,7 @@ relink_command=\"$relink_command\""
     exit $EXIT_SUCCESS
 }
 
-{ test "$mode" = link || test "$mode" = relink; } &&
+{ test "$opt_mode" = link || test "$opt_mode" = relink; } &&
     func_mode_link ${1+"$@"}
 
 
@@ -8710,9 +9888,9 @@ func_mode_uninstall ()
     for arg
     do
       case $arg in
-      -f) RM="$RM $arg"; rmforce=yes ;;
-      -*) RM="$RM $arg" ;;
-      *) files="$files $arg" ;;
+      -f) RM+=" $arg"; rmforce=yes ;;
+      -*) RM+=" $arg" ;;
+      *) files+=" $arg" ;;
       esac
     done
 
@@ -8721,24 +9899,23 @@ func_mode_uninstall ()
 
     rmdirs=
 
-    origobjdir="$objdir"
     for file in $files; do
       func_dirname "$file" "" "."
       dir="$func_dirname_result"
       if test "X$dir" = X.; then
-	objdir="$origobjdir"
+	odir="$objdir"
       else
-	objdir="$dir/$origobjdir"
+	odir="$dir/$objdir"
       fi
       func_basename "$file"
       name="$func_basename_result"
-      test "$mode" = uninstall && objdir="$dir"
+      test "$opt_mode" = uninstall && odir="$dir"
 
-      # Remember objdir for removal later, being careful to avoid duplicates
-      if test "$mode" = clean; then
+      # Remember odir for removal later, being careful to avoid duplicates
+      if test "$opt_mode" = clean; then
 	case " $rmdirs " in
-	  *" $objdir "*) ;;
-	  *) rmdirs="$rmdirs $objdir" ;;
+	  *" $odir "*) ;;
+	  *) rmdirs+=" $odir" ;;
 	esac
       fi
 
@@ -8764,18 +9941,17 @@ func_mode_uninstall ()
 
 	  # Delete the libtool libraries and symlinks.
 	  for n in $library_names; do
-	    rmfiles="$rmfiles $objdir/$n"
+	    rmfiles+=" $odir/$n"
 	  done
-	  test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
+	  test -n "$old_library" && rmfiles+=" $odir/$old_library"
 
-	  case "$mode" in
+	  case "$opt_mode" in
 	  clean)
-	    case "  $library_names " in
-	    # "  " in the beginning catches empty $dlname
+	    case " $library_names " in
 	    *" $dlname "*) ;;
-	    *) rmfiles="$rmfiles $objdir/$dlname" ;;
+	    *) test -n "$dlname" && rmfiles+=" $odir/$dlname" ;;
 	    esac
-	    test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
+	    test -n "$libdir" && rmfiles+=" $odir/$name $odir/${name}i"
 	    ;;
 	  uninstall)
 	    if test -n "$library_names"; then
@@ -8803,19 +9979,19 @@ func_mode_uninstall ()
 	  # Add PIC object to the list of files to remove.
 	  if test -n "$pic_object" &&
 	     test "$pic_object" != none; then
-	    rmfiles="$rmfiles $dir/$pic_object"
+	    rmfiles+=" $dir/$pic_object"
 	  fi
 
 	  # Add non-PIC object to the list of files to remove.
 	  if test -n "$non_pic_object" &&
 	     test "$non_pic_object" != none; then
-	    rmfiles="$rmfiles $dir/$non_pic_object"
+	    rmfiles+=" $dir/$non_pic_object"
 	  fi
 	fi
 	;;
 
       *)
-	if test "$mode" = clean ; then
+	if test "$opt_mode" = clean ; then
 	  noexename=$name
 	  case $file in
 	  *.exe)
@@ -8825,7 +10001,7 @@ func_mode_uninstall ()
 	    noexename=$func_stripname_result
 	    # $file with .exe has already been added to rmfiles,
 	    # add $file without .exe
-	    rmfiles="$rmfiles $file"
+	    rmfiles+=" $file"
 	    ;;
 	  esac
 	  # Do a test to see if this is a libtool program.
@@ -8834,7 +10010,7 @@ func_mode_uninstall ()
 	      func_ltwrapper_scriptname "$file"
 	      relink_command=
 	      func_source $func_ltwrapper_scriptname_result
-	      rmfiles="$rmfiles $func_ltwrapper_scriptname_result"
+	      rmfiles+=" $func_ltwrapper_scriptname_result"
 	    else
 	      relink_command=
 	      func_source $dir/$noexename
@@ -8842,12 +10018,12 @@ func_mode_uninstall ()
 
 	    # note $name still contains .exe if it was in $file originally
 	    # as does the version of $file that was added into $rmfiles
-	    rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
+	    rmfiles+=" $odir/$name $odir/${name}S.${objext}"
 	    if test "$fast_install" = yes && test -n "$relink_command"; then
-	      rmfiles="$rmfiles $objdir/lt-$name"
+	      rmfiles+=" $odir/lt-$name"
 	    fi
 	    if test "X$noexename" != "X$name" ; then
-	      rmfiles="$rmfiles $objdir/lt-${noexename}.c"
+	      rmfiles+=" $odir/lt-${noexename}.c"
 	    fi
 	  fi
 	fi
@@ -8855,7 +10031,6 @@ func_mode_uninstall ()
       esac
       func_show_eval "$RM $rmfiles" 'exit_status=1'
     done
-    objdir="$origobjdir"
 
     # Try to remove the ${objdir}s in the directories where we deleted files
     for dir in $rmdirs; do
@@ -8867,16 +10042,16 @@ func_mode_uninstall ()
     exit $exit_status
 }
 
-{ test "$mode" = uninstall || test "$mode" = clean; } &&
+{ test "$opt_mode" = uninstall || test "$opt_mode" = clean; } &&
     func_mode_uninstall ${1+"$@"}
 
-test -z "$mode" && {
+test -z "$opt_mode" && {
   help="$generic_help"
   func_fatal_help "you must specify a MODE"
 }
 
 test -z "$exec_cmd" && \
-  func_fatal_help "invalid operation mode \`$mode'"
+  func_fatal_help "invalid operation mode \`$opt_mode'"
 
 if test -n "$exec_cmd"; then
   eval exec "$exec_cmd"
@@ -8916,10 +10091,14 @@ build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
 # ### BEGIN LIBTOOL TAG CONFIG: CXX
 
 # The linker used to build libraries.
-LD="/usr/bin/ld -m elf_x86_64"
+LD="/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld"
+
+# How to create reloadable object files.
+reload_flag=" -r"
+reload_cmds="\$LTCC \$LTCFLAGS -nostdlib \${wl}-r -o \$output\$reload_objs"
 
 # Commands used to build an old-style archive.
-old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib"
+old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$tool_oldlib"
 
 # A language specific compiler.
 CC="g++"
@@ -8930,14 +10109,14 @@ with_gcc=yes
 # Compiler flag to turn off builtin functions.
 no_builtin_flag=" -fno-builtin"
 
+# Additional compiler flags for building library objects.
+pic_flag=" -fno-common -DPIC"
+
 # How to pass a linker flag through the compiler.
 wl="-Wl,"
 
-# Additional compiler flags for building library objects.
-pic_flag=" -fPIC -DPIC"
-
 # Compiler flag to prevent dynamic linking.
-link_static_flag="-static"
+link_static_flag=""
 
 # Does compiler simultaneously support -c and -o options?
 compiler_c_o="yes"
@@ -8949,10 +10128,10 @@ build_libtool_need_lc=no
 allow_libtool_libs_with_static_runtimes=no
 
 # Compiler flag to allow reflexive dlopens.
-export_dynamic_flag_spec="\${wl}--export-dynamic"
+export_dynamic_flag_spec=""
 
 # Compiler flag to generate shared objects directly from archives.
-whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive"
+whole_archive_flag_spec="\`for conv in \$convenience\\\"\\\"; do test  -n \\\"\$conv\\\" && new_convenience=\\\"\$new_convenience \${wl}-force_load,\$conv\\\"; done; func_echo_all \\\"\$new_convenience\\\"\`"
 
 # Whether the compiler copes with passing no objects directly.
 compiler_needs_object="no"
@@ -8964,30 +10143,26 @@ old_archive_from_new_cmds=""
 old_archive_from_expsyms_cmds=""
 
 # Commands used to build a shared archive.
-archive_cmds="\$CC -shared -nostdlib \$predep_objects \$libobjs \$deplibs \$postdep_objects \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib"
-archive_expsym_cmds="\$CC -shared -nostdlib \$predep_objects \$libobjs \$deplibs \$postdep_objects \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-retain-symbols-file \$wl\$export_symbols -o \$lib"
+archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring \$single_module"
+archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring \$single_module \${wl}-exported_symbols_list,\$output_objdir/\${libname}-symbols.expsym"
 
 # Commands used to build a loadable module if different from building
 # a shared archive.
-module_cmds=""
-module_expsym_cmds=""
+module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags"
+module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags \${wl}-exported_symbols_list,\$output_objdir/\${libname}-symbols.expsym"
 
 # Whether we are building with GNU ld or not.
-with_gnu_ld="yes"
+with_gnu_ld="no"
 
 # Flag that allows shared libraries with undefined symbols to be built.
-allow_undefined_flag=""
+allow_undefined_flag="\${wl}-undefined \${wl}dynamic_lookup"
 
 # Flag that enforces no undefined symbols.
 no_undefined_flag=""
 
 # Flag to hardcode $libdir into a binary during linking.
 # This must work even if $libdir does not exist
-hardcode_libdir_flag_spec="\${wl}-rpath \${wl}\$libdir"
-
-# If ld is used when linking, flag to hardcode $libdir into a binary
-# during linking.  This must work even if $libdir does not exist.
-hardcode_libdir_flag_spec_ld=""
+hardcode_libdir_flag_spec=""
 
 # Whether we need a single "-rpath" flag with a separated argument.
 hardcode_libdir_separator=""
@@ -9013,17 +10188,14 @@ hardcode_shlibpath_var=unsupported
 # Set to "yes" if building a shared library automatically hardcodes DIR
 # into the library and all subsequent libraries and executables linked
 # against it.
-hardcode_automatic=no
+hardcode_automatic=yes
 
 # Set to yes if linker adds runtime paths of dependent libraries
 # to runtime path list.
 inherit_rpath=no
 
 # Whether libtool must link a program against all its dependency libraries.
-link_all_deplibs=no
-
-# Fix the shell variable $srcfile for the compiler.
-fix_srcfile_path=""
+link_all_deplibs=yes
 
 # Set to "yes" if exported symbols are required.
 always_export_symbols=no
@@ -9040,6 +10212,9 @@ include_expsyms=""
 # Commands necessary for linking programs (against libraries) with templates.
 prelink_cmds=""
 
+# Commands necessary for finishing linking programs.
+postlink_cmds=""
+
 # Specify filename containing input files.
 file_list_spec=""
 
@@ -9047,17 +10222,17 @@ file_list_spec=""
 hardcode_action=immediate
 
 # The directories searched by this compiler when creating a shared library.
-compiler_lib_search_dirs="/usr/lib/gcc/x86_64-linux-gnu/4.4.5 /usr/lib/gcc/x86_64-linux-gnu/4.4.5 /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib /lib/../lib /usr/lib/../lib /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../.."
+compiler_lib_search_dirs=""
 
 # Dependencies to place before and after the objects being linked to
 # create a shared library.
-predep_objects="/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.4.5/crtbeginS.o"
-postdep_objects="/usr/lib/gcc/x86_64-linux-gnu/4.4.5/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/crtn.o"
+predep_objects=""
+postdep_objects=""
 predeps=""
-postdeps="-lstdc++ -lm -lgcc_s -lc -lgcc_s"
+postdeps=""
 
 # The library search path used internally by the compiler when linking
 # a shared library.
-compiler_lib_search_path="-L/usr/lib/gcc/x86_64-linux-gnu/4.4.5 -L/usr/lib/gcc/x86_64-linux-gnu/4.4.5 -L/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../.."
+compiler_lib_search_path=""
 
 # ### END LIBTOOL TAG CONFIG: CXX
diff --git a/loader/pgsql2shp-cli.c b/loader/pgsql2shp-cli.c
index 61caf7b..defb067 100644
--- a/loader/pgsql2shp-cli.c
+++ b/loader/pgsql2shp-cli.c
@@ -163,6 +163,10 @@ main(int argc, char **argv)
       }
 		}
 	}
+	else
+	{
+		usage(1);
+	}
 
 	state = ShpDumperCreate(config);
 
diff --git a/loader/pgsql2shp-core.c b/loader/pgsql2shp-core.c
index 382c759..a6cff44 100644
--- a/loader/pgsql2shp-core.c
+++ b/loader/pgsql2shp-core.c
@@ -1194,7 +1194,9 @@ read_column_map(SHPDUMPERSTATE *state)
 		state->column_map_pgfieldnames[curmapsize][fieldnamesize] = '\0';
 		
 		/* Now swallow up any whitespace */
-		for (tmpstr = tmpptr; *tmpptr == '\t' || *tmpptr == '\n' || *tmpptr == ' '; tmpptr++);
+		for (tmpstr = tmpptr; *tmpptr == '\t' || *tmpptr == '\n' || *tmpptr == ' '; tmpptr++) {
+            ; /* Do nothing */
+        }
 
 		/* Finally locate end of second column (dbffieldname) */
  		for (tmpstr = tmpptr; *tmpptr != '\t' && *tmpptr != '\n' && *tmpptr != ' ' && *tmpptr != '\0'; tmpptr++);		
diff --git a/loader/shpopen.c b/loader/shpopen.c
index e292565..70e413d 100644
--- a/loader/shpopen.c
+++ b/loader/shpopen.c
@@ -1,5 +1,5 @@
 /******************************************************************************
- * $Id: shpopen.c 9324 2012-02-27 22:08:12Z pramsey $
+ * $Id: shpopen.c 12083 2013-11-04 23:17:11Z pramsey $
  *
  * Project:  Shapelib
  * Purpose:  Implementation of core Shapefile read/write functions.
@@ -233,7 +233,7 @@
  *
  * Revision 1.7  1995/10/21 03:15:58  warmerda
  * Added support for binary file access, the magic cookie 9997
- * and tried to improve the int32 selection logic for 16bit systems.
+ * and tried to improve the uint32 selection logic for 16bit systems.
  *
  * Revision 1.6  1995/09/04  04:19:41  warmerda
  * Added fix for file bounds.
@@ -264,14 +264,14 @@
 #include <string.h>
 #include <stdio.h>
 
-SHP_CVSID("$Id: shpopen.c 9324 2012-02-27 22:08:12Z pramsey $")
+SHP_CVSID("$Id: shpopen.c 12083 2013-11-04 23:17:11Z pramsey $")
 
 typedef unsigned char uchar;
 
 #if UINT_MAX == 65535
-typedef unsigned long	      int32;
+typedef unsigned long	      uint32;
 #else
-typedef unsigned int	      int32;
+typedef unsigned int	      uint32;
 #endif
 
 #ifndef FALSE
@@ -342,9 +342,9 @@ void SHPAPI_CALL SHPWriteHeader( SHPHandle psSHP )
 {
     uchar     	abyHeader[100];
     int		i;
-    int32	i32;
+    uint32	i32;
     double	dValue;
-    int32	*panSHX;
+    uint32	*panSHX;
     
     if (psSHP->fpSHX == NULL)
     {
@@ -418,7 +418,7 @@ void SHPAPI_CALL SHPWriteHeader( SHPHandle psSHP )
 /* -------------------------------------------------------------------- */
 /*      Prepare, and write .shx file header.                            */
 /* -------------------------------------------------------------------- */
-    i32 = (psSHP->nRecords * 2 * sizeof(int32) + 100)/2;   /* file size */
+    i32 = (psSHP->nRecords * 2 * sizeof(uint32) + 100)/2;   /* file size */
     ByteCopy( &i32, abyHeader+24, 4 );
     if( !bBigEndian ) SwapWord( 4, abyHeader+24 );
     
@@ -432,7 +432,7 @@ void SHPAPI_CALL SHPWriteHeader( SHPHandle psSHP )
 /* -------------------------------------------------------------------- */
 /*      Write out the .shx contents.                                    */
 /* -------------------------------------------------------------------- */
-    panSHX = (int32 *) malloc(sizeof(int32) * 2 * psSHP->nRecords);
+    panSHX = (uint32 *) malloc(sizeof(uint32) * 2 * psSHP->nRecords);
 
     for( i = 0; i < psSHP->nRecords; i++ )
     {
@@ -442,7 +442,7 @@ void SHPAPI_CALL SHPWriteHeader( SHPHandle psSHP )
         if( !bBigEndian ) SwapWord( 4, panSHX+i*2+1 );
     }
 
-    if( (int)psSHP->sHooks.FWrite( panSHX, sizeof(int32)*2, psSHP->nRecords, psSHP->fpSHX ) 
+    if( (int)psSHP->sHooks.FWrite( panSHX, sizeof(uint32)*2, psSHP->nRecords, psSHP->fpSHX ) 
         != psSHP->nRecords )
     {
         psSHP->sHooks.Error( "Failure writing .shx contents" );
@@ -734,7 +734,7 @@ SHPOpenLL( const char * pszLayer, const char * pszAccess, SAHooks *psHooks )
 
     for( i = 0; i < psSHP->nRecords; i++ )
     {
-        int32		nOffset, nLength;
+        uint32		nOffset, nLength;
 
         memcpy( &nOffset, pabyBuf + i * 8, 4 );
         if( !bBigEndian ) SwapWord( 4, &nOffset );
@@ -851,7 +851,7 @@ SHPCreateLL( const char * pszLayer, int nShapeType, SAHooks *psHooks )
     int		i;
     SAFile	fpSHP = NULL, fpSHX = NULL;
     uchar     	abyHeader[100];
-    int32	i32;
+    uint32	i32;
     double	dValue;
     
 /* -------------------------------------------------------------------- */
@@ -1174,7 +1174,7 @@ SHPWriteObject(SHPHandle psSHP, int nShapeId, SHPObject * psObject )
     unsigned int	       	nRecordOffset, nRecordSize=0;
     int i;
     uchar	*pabyRec;
-    int32	i32;
+    uint32	i32;
 
     psSHP->bUpdated = TRUE;
 
@@ -1226,7 +1226,7 @@ SHPWriteObject(SHPHandle psSHP, int nShapeId, SHPObject * psObject )
         || psObject->nSHPType == SHPT_ARCM
         || psObject->nSHPType == SHPT_MULTIPATCH )
     {
-        int32		nPoints, nParts;
+        uint32		nPoints, nParts;
         int    		i;
 
         nPoints = psObject->nVertices;
@@ -1343,7 +1343,7 @@ SHPWriteObject(SHPHandle psSHP, int nShapeId, SHPObject * psObject )
              || psObject->nSHPType == SHPT_MULTIPOINTZ
              || psObject->nSHPType == SHPT_MULTIPOINTM )
     {
-        int32		nPoints;
+        uint32		nPoints;
         int    		i;
 
         nPoints = psObject->nVertices;
@@ -1668,7 +1668,7 @@ SHPReadObject( SHPHandle psSHP, int hEntity )
         || psShape->nSHPType == SHPT_ARCM
         || psShape->nSHPType == SHPT_MULTIPATCH )
     {
-        int32		nPoints, nParts;
+        uint32		nPoints, nParts;
         int    		i, nOffset;
 
         if ( 40 + 8 + 4 > nEntitySize )
@@ -1703,8 +1703,7 @@ SHPReadObject( SHPHandle psSHP, int hEntity )
         if( bBigEndian ) SwapWord( 4, &nPoints );
         if( bBigEndian ) SwapWord( 4, &nParts );
 
-        if (nPoints < 0 || nParts < 0 ||
-            nPoints > 50 * 1000 * 1000 || nParts > 10 * 1000 * 1000)
+        if ( nPoints > 50 * 1000 * 1000 || nParts > 10 * 1000 * 1000 )
         {
             snprintf(szErrorMsg, sizeof(szErrorMsg),
                      "Corrupted .shp file : shape %d, nPoints=%d, nParts=%d.",
@@ -1886,7 +1885,7 @@ SHPReadObject( SHPHandle psSHP, int hEntity )
              || psShape->nSHPType == SHPT_MULTIPOINTM
              || psShape->nSHPType == SHPT_MULTIPOINTZ )
     {
-        int32		nPoints;
+        uint32		nPoints;
         int    		i, nOffset;
 
         if ( 44 + 4 > nEntitySize )
@@ -1902,7 +1901,7 @@ SHPReadObject( SHPHandle psSHP, int hEntity )
 
         if( bBigEndian ) SwapWord( 4, &nPoints );
 
-        if (nPoints < 0 || nPoints > 50 * 1000 * 1000)
+        if ( nPoints > 50 * 1000 * 1000)
         {
             snprintf(szErrorMsg, sizeof(szErrorMsg),
                      "Corrupted .shp file : shape %d : nPoints = %d",
diff --git a/ltmain.sh b/ltmain.sh
old mode 100755
new mode 100644
index d88da2c..9ae038c
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -1,9 +1,9 @@
-# Generated from ltmain.m4sh.
 
-# ltmain.sh (GNU libtool) 2.2.6b
+# libtool (GNU libtool) 2.4.2
 # Written by Gordon Matzigkeit <gord at gnu.ai.mit.edu>, 1996
 
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
+# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
 # This is free software; see the source for copying conditions.  There is NO
 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
@@ -32,50 +32,57 @@
 #
 # Provide generalized library-building support services.
 #
-#     --config             show all configuration variables
-#     --debug              enable verbose shell tracing
-# -n, --dry-run            display commands without modifying any files
-#     --features           display basic configuration information and exit
-#     --mode=MODE          use operation mode MODE
-#     --preserve-dup-deps  don't remove duplicate dependency libraries
-#     --quiet, --silent    don't print informational messages
-#     --tag=TAG            use configuration variables from tag TAG
-# -v, --verbose            print informational messages (default)
-#     --version            print version information
-# -h, --help               print short or long help message
+#       --config             show all configuration variables
+#       --debug              enable verbose shell tracing
+#   -n, --dry-run            display commands without modifying any files
+#       --features           display basic configuration information and exit
+#       --mode=MODE          use operation mode MODE
+#       --preserve-dup-deps  don't remove duplicate dependency libraries
+#       --quiet, --silent    don't print informational messages
+#       --no-quiet, --no-silent
+#                            print informational messages (default)
+#       --no-warn            don't display warning messages
+#       --tag=TAG            use configuration variables from tag TAG
+#   -v, --verbose            print more informational messages than default
+#       --no-verbose         don't print the extra informational messages
+#       --version            print version information
+#   -h, --help, --help-all   print short, long, or detailed help message
 #
 # MODE must be one of the following:
 #
-#       clean              remove files from the build directory
-#       compile            compile a source file into a libtool object
-#       execute            automatically set library path, then run a program
-#       finish             complete the installation of libtool libraries
-#       install            install libraries or executables
-#       link               create a library or an executable
-#       uninstall          remove libraries from an installed directory
+#         clean              remove files from the build directory
+#         compile            compile a source file into a libtool object
+#         execute            automatically set library path, then run a program
+#         finish             complete the installation of libtool libraries
+#         install            install libraries or executables
+#         link               create a library or an executable
+#         uninstall          remove libraries from an installed directory
 #
-# MODE-ARGS vary depending on the MODE.
+# MODE-ARGS vary depending on the MODE.  When passed as first option,
+# `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that.
 # Try `$progname --help --mode=MODE' for a more detailed description of MODE.
 #
 # When reporting a bug, please describe a test case to reproduce it and
 # include the following information:
 #
-#       host-triplet:	$host
-#       shell:		$SHELL
-#       compiler:		$LTCC
-#       compiler flags:		$LTCFLAGS
-#       linker:		$LD (gnu? $with_gnu_ld)
-#       $progname:		(GNU libtool) 2.2.6b Debian-2.2.6b-2
-#       automake:		$automake_version
-#       autoconf:		$autoconf_version
+#         host-triplet:	$host
+#         shell:		$SHELL
+#         compiler:		$LTCC
+#         compiler flags:		$LTCFLAGS
+#         linker:		$LD (gnu? $with_gnu_ld)
+#         $progname:	(GNU libtool) 2.4.2
+#         automake:	$automake_version
+#         autoconf:	$autoconf_version
 #
 # Report bugs to <bug-libtool at gnu.org>.
+# GNU libtool home page: <http://www.gnu.org/software/libtool/>.
+# General help using GNU software: <http://www.gnu.org/gethelp/>.
 
-PROGRAM=ltmain.sh
+PROGRAM=libtool
 PACKAGE=libtool
-VERSION="2.2.6b Debian-2.2.6b-2"
+VERSION=2.4.2
 TIMESTAMP=""
-package_revision=1.3017
+package_revision=1.3337
 
 # Be Bourne compatible
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
@@ -91,10 +98,15 @@ fi
 BIN_SH=xpg4; export BIN_SH # for Tru64
 DUALCASE=1; export DUALCASE # for MKS sh
 
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+  eval 'cat <<_LTECHO_EOF
+$1
+_LTECHO_EOF'
+}
+
 # NLS nuisances: We save the old values to restore during execute mode.
-# Only set LANG and LC_ALL to C if already set.
-# These must not be set unconditionally because not all systems understand
-# e.g. LANG=C (notably SCO).
 lt_user_locale=
 lt_safe_locale=
 for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
@@ -107,24 +119,28 @@ do
 	  lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
 	fi"
 done
+LC_ALL=C
+LANGUAGE=C
+export LANGUAGE LC_ALL
 
 $lt_unset CDPATH
 
 
+# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
+# is ksh but when the shell is invoked as "sh" and the current value of
+# the _XPG environment variable is not equal to 1 (one), the special
+# positional parameter $0, within a function call, is the name of the
+# function.
+progpath="$0"
 
 
 
 : ${CP="cp -f"}
-: ${ECHO="echo"}
-: ${EGREP="/bin/grep -E"}
-: ${FGREP="/bin/grep -F"}
-: ${GREP="/bin/grep"}
-: ${LN_S="ln -s"}
+test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
 : ${MAKE="make"}
 : ${MKDIR="mkdir"}
 : ${MV="mv -f"}
 : ${RM="rm -f"}
-: ${SED="/bin/sed"}
 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
 : ${Xsed="$SED -e 1s/^X//"}
 
@@ -144,6 +160,27 @@ IFS=" 	$lt_nl"
 dirname="s,/[^/]*$,,"
 basename="s,^.*/,,"
 
+# func_dirname file append nondir_replacement
+# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
+# otherwise set result to NONDIR_REPLACEMENT.
+func_dirname ()
+{
+    func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
+    if test "X$func_dirname_result" = "X${1}"; then
+      func_dirname_result="${3}"
+    else
+      func_dirname_result="$func_dirname_result${2}"
+    fi
+} # func_dirname may be replaced by extended shell implementation
+
+
+# func_basename file
+func_basename ()
+{
+    func_basename_result=`$ECHO "${1}" | $SED "$basename"`
+} # func_basename may be replaced by extended shell implementation
+
+
 # func_dirname_and_basename file append nondir_replacement
 # perform func_basename and func_dirname in a single function
 # call:
@@ -158,33 +195,183 @@ basename="s,^.*/,,"
 # those functions but instead duplicate the functionality here.
 func_dirname_and_basename ()
 {
-  # Extract subdirectory from the argument.
-  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
-  if test "X$func_dirname_result" = "X${1}"; then
-    func_dirname_result="${3}"
-  else
-    func_dirname_result="$func_dirname_result${2}"
-  fi
-  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
+    # Extract subdirectory from the argument.
+    func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"`
+    if test "X$func_dirname_result" = "X${1}"; then
+      func_dirname_result="${3}"
+    else
+      func_dirname_result="$func_dirname_result${2}"
+    fi
+    func_basename_result=`$ECHO "${1}" | $SED -e "$basename"`
+} # func_dirname_and_basename may be replaced by extended shell implementation
+
+
+# func_stripname prefix suffix name
+# strip PREFIX and SUFFIX off of NAME.
+# PREFIX and SUFFIX must not contain globbing or regex special
+# characters, hashes, percent signs, but SUFFIX may contain a leading
+# dot (in which case that matches only a dot).
+# func_strip_suffix prefix name
+func_stripname ()
+{
+    case ${2} in
+      .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
+      *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
+    esac
+} # func_stripname may be replaced by extended shell implementation
+
+
+# These SED scripts presuppose an absolute path with a trailing slash.
+pathcar='s,^/\([^/]*\).*$,\1,'
+pathcdr='s,^/[^/]*,,'
+removedotparts=':dotsl
+		s@/\./@/@g
+		t dotsl
+		s,/\.$,/,'
+collapseslashes='s@/\{1,\}@/@g'
+finalslash='s,/*$,/,'
+
+# func_normal_abspath PATH
+# Remove doubled-up and trailing slashes, "." path components,
+# and cancel out any ".." path components in PATH after making
+# it an absolute path.
+#             value returned in "$func_normal_abspath_result"
+func_normal_abspath ()
+{
+  # Start from root dir and reassemble the path.
+  func_normal_abspath_result=
+  func_normal_abspath_tpath=$1
+  func_normal_abspath_altnamespace=
+  case $func_normal_abspath_tpath in
+    "")
+      # Empty path, that just means $cwd.
+      func_stripname '' '/' "`pwd`"
+      func_normal_abspath_result=$func_stripname_result
+      return
+    ;;
+    # The next three entries are used to spot a run of precisely
+    # two leading slashes without using negated character classes;
+    # we take advantage of case's first-match behaviour.
+    ///*)
+      # Unusual form of absolute path, do nothing.
+    ;;
+    //*)
+      # Not necessarily an ordinary path; POSIX reserves leading '//'
+      # and for example Cygwin uses it to access remote file shares
+      # over CIFS/SMB, so we conserve a leading double slash if found.
+      func_normal_abspath_altnamespace=/
+    ;;
+    /*)
+      # Absolute path, do nothing.
+    ;;
+    *)
+      # Relative path, prepend $cwd.
+      func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath
+    ;;
+  esac
+  # Cancel out all the simple stuff to save iterations.  We also want
+  # the path to end with a slash for ease of parsing, so make sure
+  # there is one (and only one) here.
+  func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
+        -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"`
+  while :; do
+    # Processed it all yet?
+    if test "$func_normal_abspath_tpath" = / ; then
+      # If we ascended to the root using ".." the result may be empty now.
+      if test -z "$func_normal_abspath_result" ; then
+        func_normal_abspath_result=/
+      fi
+      break
+    fi
+    func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \
+        -e "$pathcar"`
+    func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
+        -e "$pathcdr"`
+    # Figure out what to do with it
+    case $func_normal_abspath_tcomponent in
+      "")
+        # Trailing empty path component, ignore it.
+      ;;
+      ..)
+        # Parent dir; strip last assembled component from result.
+        func_dirname "$func_normal_abspath_result"
+        func_normal_abspath_result=$func_dirname_result
+      ;;
+      *)
+        # Actual path component, append it.
+        func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent
+      ;;
+    esac
+  done
+  # Restore leading double-slash if one was found on entry.
+  func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result
 }
 
-# Generated shell functions inserted here.
+# func_relative_path SRCDIR DSTDIR
+# generates a relative path from SRCDIR to DSTDIR, with a trailing
+# slash if non-empty, suitable for immediately appending a filename
+# without needing to append a separator.
+#             value returned in "$func_relative_path_result"
+func_relative_path ()
+{
+  func_relative_path_result=
+  func_normal_abspath "$1"
+  func_relative_path_tlibdir=$func_normal_abspath_result
+  func_normal_abspath "$2"
+  func_relative_path_tbindir=$func_normal_abspath_result
+
+  # Ascend the tree starting from libdir
+  while :; do
+    # check if we have found a prefix of bindir
+    case $func_relative_path_tbindir in
+      $func_relative_path_tlibdir)
+        # found an exact match
+        func_relative_path_tcancelled=
+        break
+        ;;
+      $func_relative_path_tlibdir*)
+        # found a matching prefix
+        func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir"
+        func_relative_path_tcancelled=$func_stripname_result
+        if test -z "$func_relative_path_result"; then
+          func_relative_path_result=.
+        fi
+        break
+        ;;
+      *)
+        func_dirname $func_relative_path_tlibdir
+        func_relative_path_tlibdir=${func_dirname_result}
+        if test "x$func_relative_path_tlibdir" = x ; then
+          # Have to descend all the way to the root!
+          func_relative_path_result=../$func_relative_path_result
+          func_relative_path_tcancelled=$func_relative_path_tbindir
+          break
+        fi
+        func_relative_path_result=../$func_relative_path_result
+        ;;
+    esac
+  done
 
-# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
-# is ksh but when the shell is invoked as "sh" and the current value of
-# the _XPG environment variable is not equal to 1 (one), the special
-# positional parameter $0, within a function call, is the name of the
-# function.
-progpath="$0"
+  # Now calculate path; take care to avoid doubling-up slashes.
+  func_stripname '' '/' "$func_relative_path_result"
+  func_relative_path_result=$func_stripname_result
+  func_stripname '/' '/' "$func_relative_path_tcancelled"
+  if test "x$func_stripname_result" != x ; then
+    func_relative_path_result=${func_relative_path_result}/${func_stripname_result}
+  fi
+
+  # Normalisation. If bindir is libdir, return empty string,
+  # else relative path ending with a slash; either way, target
+  # file name can be directly appended.
+  if test ! -z "$func_relative_path_result"; then
+    func_stripname './' '' "$func_relative_path_result/"
+    func_relative_path_result=$func_stripname_result
+  fi
+}
 
 # The name of this program:
-# In the unlikely event $progname began with a '-', it would play havoc with
-# func_echo (imagine progname=-n), so we prepend ./ in that case:
 func_dirname_and_basename "$progpath"
 progname=$func_basename_result
-case $progname in
-  -*) progname=./$progname ;;
-esac
 
 # Make sure we have an absolute path for reexecution:
 case $progpath in
@@ -196,7 +383,7 @@ case $progpath in
      ;;
   *)
      save_IFS="$IFS"
-     IFS=:
+     IFS=${PATH_SEPARATOR-:}
      for progdir in $PATH; do
        IFS="$save_IFS"
        test -x "$progdir/$progname" && break
@@ -215,6 +402,15 @@ sed_quote_subst='s/\([`"$\\]\)/\\\1/g'
 # Same as above, but do not quote variable references.
 double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
+# Sed substitution that turns a string into a regex matching for the
+# string literally.
+sed_make_literal_regex='s,[].[^$\\*\/],\\&,g'
+
+# Sed substitution that converts a w32 file name or path
+# which contains forward slashes, into one that contains
+# (escaped) backslashes.  A very naive implementation.
+lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
+
 # Re-`\' parameter expansions in output of double_quote_subst that were
 # `\'-ed in input to the same.  If an odd number of `\' preceded a '$'
 # in input to double_quote_subst, that '$' was protected from expansion.
@@ -243,7 +439,7 @@ opt_warning=:
 # name if it has been set yet.
 func_echo ()
 {
-    $ECHO "$progname${mode+: }$mode: $*"
+    $ECHO "$progname: ${opt_mode+$opt_mode: }$*"
 }
 
 # func_verbose arg...
@@ -258,18 +454,25 @@ func_verbose ()
     :
 }
 
+# func_echo_all arg...
+# Invoke $ECHO with all args, space-separated.
+func_echo_all ()
+{
+    $ECHO "$*"
+}
+
 # func_error arg...
 # Echo program name prefixed message to standard error.
 func_error ()
 {
-    $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2
+    $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2
 }
 
 # func_warning arg...
 # Echo program name prefixed warning message to standard error.
 func_warning ()
 {
-    $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2
+    $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2
 
     # bash bug again:
     :
@@ -326,9 +529,9 @@ func_mkdir_p ()
         case $my_directory_path in */*) ;; *) break ;; esac
 
         # ...otherwise throw away the child directory and loop
-        my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"`
+        my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"`
       done
-      my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'`
+      my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'`
 
       save_mkdir_p_IFS="$IFS"; IFS=':'
       for my_dir in $my_dir_list; do
@@ -378,7 +581,7 @@ func_mktempdir ()
         func_fatal_error "cannot create temporary directory \`$my_tmpdir'"
     fi
 
-    $ECHO "X$my_tmpdir" | $Xsed
+    $ECHO "$my_tmpdir"
 }
 
 
@@ -392,7 +595,7 @@ func_quote_for_eval ()
 {
     case $1 in
       *[\\\`\"\$]*)
-	func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;;
+	func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;;
       *)
         func_quote_for_eval_unquoted_result="$1" ;;
     esac
@@ -419,7 +622,7 @@ func_quote_for_expand ()
 {
     case $1 in
       *[\\\`\"]*)
-	my_arg=`$ECHO "X$1" | $Xsed \
+	my_arg=`$ECHO "$1" | $SED \
 	    -e "$double_quote_subst" -e "$sed_double_backslash"` ;;
       *)
         my_arg="$1" ;;
@@ -488,15 +691,39 @@ func_show_eval_locale ()
     fi
 }
 
-
-
+# func_tr_sh
+# Turn $1 into a string suitable for a shell variable name.
+# Result is stored in $func_tr_sh_result.  All characters
+# not in the set a-zA-Z0-9_ are replaced with '_'. Further,
+# if $1 begins with a digit, a '_' is prepended as well.
+func_tr_sh ()
+{
+  case $1 in
+  [0-9]* | *[!a-zA-Z0-9_]*)
+    func_tr_sh_result=`$ECHO "$1" | $SED 's/^\([0-9]\)/_\1/; s/[^a-zA-Z0-9_]/_/g'`
+    ;;
+  * )
+    func_tr_sh_result=$1
+    ;;
+  esac
+}
 
 
 # func_version
 # Echo version message to standard output and exit.
 func_version ()
 {
-    $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / {
+    $opt_debug
+
+    $SED -n '/(C)/!b go
+	:more
+	/\./!{
+	  N
+	  s/\n# / /
+	  b more
+	}
+	:go
+	/^# '$PROGRAM' (GNU /,/# warranty; / {
         s/^# //
 	s/^# *$//
         s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/
@@ -509,22 +736,28 @@ func_version ()
 # Echo short help message to standard output and exit.
 func_usage ()
 {
-    $SED -n '/^# Usage:/,/# -h/ {
+    $opt_debug
+
+    $SED -n '/^# Usage:/,/^#  *.*--help/ {
         s/^# //
 	s/^# *$//
 	s/\$progname/'$progname'/
 	p
     }' < "$progpath"
-    $ECHO
+    echo
     $ECHO "run \`$progname --help | more' for full usage"
     exit $?
 }
 
-# func_help
-# Echo long help message to standard output and exit.
+# func_help [NOEXIT]
+# Echo long help message to standard output and exit,
+# unless 'noexit' is passed as argument.
 func_help ()
 {
+    $opt_debug
+
     $SED -n '/^# Usage:/,/# Report bugs to/ {
+	:print
         s/^# //
 	s/^# *$//
 	s*\$progname*'$progname'*
@@ -534,11 +767,18 @@ func_help ()
 	s*\$LTCFLAGS*'"$LTCFLAGS"'*
 	s*\$LD*'"$LD"'*
 	s/\$with_gnu_ld/'"$with_gnu_ld"'/
-	s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
-	s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
+	s/\$automake_version/'"`(${AUTOMAKE-automake} --version) 2>/dev/null |$SED 1q`"'/
+	s/\$autoconf_version/'"`(${AUTOCONF-autoconf} --version) 2>/dev/null |$SED 1q`"'/
 	p
-     }' < "$progpath"
-    exit $?
+	d
+     }
+     /^# .* home page:/b print
+     /^# General help using/b print
+     ' < "$progpath"
+    ret=$?
+    if test -z "$1"; then
+      exit $ret
+    fi
 }
 
 # func_missing_arg argname
@@ -546,63 +786,106 @@ func_help ()
 # exit_cmd.
 func_missing_arg ()
 {
-    func_error "missing argument for $1"
+    $opt_debug
+
+    func_error "missing argument for $1."
     exit_cmd=exit
 }
 
-exit_cmd=:
 
+# func_split_short_opt shortopt
+# Set func_split_short_opt_name and func_split_short_opt_arg shell
+# variables after splitting SHORTOPT after the 2nd character.
+func_split_short_opt ()
+{
+    my_sed_short_opt='1s/^\(..\).*$/\1/;q'
+    my_sed_short_rest='1s/^..\(.*\)$/\1/;q'
+
+    func_split_short_opt_name=`$ECHO "$1" | $SED "$my_sed_short_opt"`
+    func_split_short_opt_arg=`$ECHO "$1" | $SED "$my_sed_short_rest"`
+} # func_split_short_opt may be replaced by extended shell implementation
 
 
+# func_split_long_opt longopt
+# Set func_split_long_opt_name and func_split_long_opt_arg shell
+# variables after splitting LONGOPT at the `=' sign.
+func_split_long_opt ()
+{
+    my_sed_long_opt='1s/^\(--[^=]*\)=.*/\1/;q'
+    my_sed_long_arg='1s/^--[^=]*=//'
+
+    func_split_long_opt_name=`$ECHO "$1" | $SED "$my_sed_long_opt"`
+    func_split_long_opt_arg=`$ECHO "$1" | $SED "$my_sed_long_arg"`
+} # func_split_long_opt may be replaced by extended shell implementation
+
+exit_cmd=:
+
 
 
-# Check that we have a working $ECHO.
-if test "X$1" = X--no-reexec; then
-  # Discard the --no-reexec flag, and continue.
-  shift
-elif test "X$1" = X--fallback-echo; then
-  # Avoid inline document here, it may be left over
-  :
-elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then
-  # Yippee, $ECHO works!
-  :
-else
-  # Restart under the correct shell, and then maybe $ECHO will work.
-  exec $SHELL "$progpath" --no-reexec ${1+"$@"}
-fi
 
-if test "X$1" = X--fallback-echo; then
-  # used as fallback echo
-  shift
-  cat <<EOF
-$*
-EOF
-  exit $EXIT_SUCCESS
-fi
 
 magic="%%%MAGIC variable%%%"
 magic_exe="%%%MAGIC EXE variable%%%"
 
 # Global variables.
-# $mode is unset
 nonopt=
-execute_dlfiles=
 preserve_args=
 lo2o="s/\\.lo\$/.${objext}/"
 o2lo="s/\\.${objext}\$/.lo/"
 extracted_archives=
 extracted_serial=0
 
-opt_dry_run=false
-opt_duplicate_deps=false
-opt_silent=false
-opt_debug=:
-
 # If this variable is set in any of the actions, the command in it
 # will be execed at the end.  This prevents here-documents from being
 # left over by shells.
 exec_cmd=
 
+# func_append var value
+# Append VALUE to the end of shell variable VAR.
+func_append ()
+{
+    eval "${1}=\$${1}\${2}"
+} # func_append may be replaced by extended shell implementation
+
+# func_append_quoted var value
+# Quote VALUE and append to the end of shell variable VAR, separated
+# by a space.
+func_append_quoted ()
+{
+    func_quote_for_eval "${2}"
+    eval "${1}=\$${1}\\ \$func_quote_for_eval_result"
+} # func_append_quoted may be replaced by extended shell implementation
+
+
+# func_arith arithmetic-term...
+func_arith ()
+{
+    func_arith_result=`expr "${@}"`
+} # func_arith may be replaced by extended shell implementation
+
+
+# func_len string
+# STRING may not start with a hyphen.
+func_len ()
+{
+    func_len_result=`expr "${1}" : ".*" 2>/dev/null || echo $max_cmd_len`
+} # func_len may be replaced by extended shell implementation
+
+
+# func_lo2o object
+func_lo2o ()
+{
+    func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
+} # func_lo2o may be replaced by extended shell implementation
+
+
+# func_xform libobj-or-source
+func_xform ()
+{
+    func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
+} # func_xform may be replaced by extended shell implementation
+
+
 # func_fatal_configuration arg...
 # Echo program name prefixed message to standard error, followed by
 # a configuration failure hint, and exit.
@@ -636,16 +919,16 @@ func_config ()
 # Display the features supported by this script.
 func_features ()
 {
-    $ECHO "host: $host"
+    echo "host: $host"
     if test "$build_libtool_libs" = yes; then
-      $ECHO "enable shared libraries"
+      echo "enable shared libraries"
     else
-      $ECHO "disable shared libraries"
+      echo "disable shared libraries"
     fi
     if test "$build_old_libs" = yes; then
-      $ECHO "enable static libraries"
+      echo "enable static libraries"
     else
-      $ECHO "disable static libraries"
+      echo "disable static libraries"
     fi
 
     exit $?
@@ -692,117 +975,209 @@ func_enable_tag ()
   esac
 }
 
-# Parse options once, thoroughly.  This comes as soon as possible in
-# the script to make things like `libtool --version' happen quickly.
+# func_check_version_match
+# Ensure that we are using m4 macros, and libtool script from the same
+# release of libtool.
+func_check_version_match ()
 {
+  if test "$package_revision" != "$macro_revision"; then
+    if test "$VERSION" != "$macro_version"; then
+      if test -z "$macro_version"; then
+        cat >&2 <<_LT_EOF
+$progname: Version mismatch error.  This is $PACKAGE $VERSION, but the
+$progname: definition of this LT_INIT comes from an older release.
+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
+$progname: and run autoconf again.
+_LT_EOF
+      else
+        cat >&2 <<_LT_EOF
+$progname: Version mismatch error.  This is $PACKAGE $VERSION, but the
+$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
+$progname: and run autoconf again.
+_LT_EOF
+      fi
+    else
+      cat >&2 <<_LT_EOF
+$progname: Version mismatch error.  This is $PACKAGE $VERSION, revision $package_revision,
+$progname: but the definition of this LT_INIT comes from revision $macro_revision.
+$progname: You should recreate aclocal.m4 with macros from revision $package_revision
+$progname: of $PACKAGE $VERSION and run autoconf again.
+_LT_EOF
+    fi
+
+    exit $EXIT_MISMATCH
+  fi
+}
+
+
+# Shorthand for --mode=foo, only valid as the first argument
+case $1 in
+clean|clea|cle|cl)
+  shift; set dummy --mode clean ${1+"$@"}; shift
+  ;;
+compile|compil|compi|comp|com|co|c)
+  shift; set dummy --mode compile ${1+"$@"}; shift
+  ;;
+execute|execut|execu|exec|exe|ex|e)
+  shift; set dummy --mode execute ${1+"$@"}; shift
+  ;;
+finish|finis|fini|fin|fi|f)
+  shift; set dummy --mode finish ${1+"$@"}; shift
+  ;;
+install|instal|insta|inst|ins|in|i)
+  shift; set dummy --mode install ${1+"$@"}; shift
+  ;;
+link|lin|li|l)
+  shift; set dummy --mode link ${1+"$@"}; shift
+  ;;
+uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
+  shift; set dummy --mode uninstall ${1+"$@"}; shift
+  ;;
+esac
 
-  # Shorthand for --mode=foo, only valid as the first argument
-  case $1 in
-  clean|clea|cle|cl)
-    shift; set dummy --mode clean ${1+"$@"}; shift
-    ;;
-  compile|compil|compi|comp|com|co|c)
-    shift; set dummy --mode compile ${1+"$@"}; shift
-    ;;
-  execute|execut|execu|exec|exe|ex|e)
-    shift; set dummy --mode execute ${1+"$@"}; shift
-    ;;
-  finish|finis|fini|fin|fi|f)
-    shift; set dummy --mode finish ${1+"$@"}; shift
-    ;;
-  install|instal|insta|inst|ins|in|i)
-    shift; set dummy --mode install ${1+"$@"}; shift
-    ;;
-  link|lin|li|l)
-    shift; set dummy --mode link ${1+"$@"}; shift
-    ;;
-  uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
-    shift; set dummy --mode uninstall ${1+"$@"}; shift
-    ;;
-  esac
 
-  # Parse non-mode specific arguments:
-  while test "$#" -gt 0; do
+
+# Option defaults:
+opt_debug=:
+opt_dry_run=false
+opt_config=false
+opt_preserve_dup_deps=false
+opt_features=false
+opt_finish=false
+opt_help=false
+opt_help_all=false
+opt_silent=:
+opt_warning=:
+opt_verbose=:
+opt_silent=false
+opt_verbose=false
+
+
+# Parse options once, thoroughly.  This comes as soon as possible in the
+# script to make things like `--version' happen as quickly as we can.
+{
+  # this just eases exit handling
+  while test $# -gt 0; do
     opt="$1"
     shift
-
     case $opt in
-      --config)		func_config					;;
-
-      --debug)		preserve_args="$preserve_args $opt"
+      --debug|-x)	opt_debug='set -x'
 			func_echo "enabling shell trace mode"
-			opt_debug='set -x'
 			$opt_debug
 			;;
-
-      -dlopen)		test "$#" -eq 0 && func_missing_arg "$opt" && break
-			execute_dlfiles="$execute_dlfiles $1"
-			shift
+      --dry-run|--dryrun|-n)
+			opt_dry_run=:
 			;;
-
-      --dry-run | -n)	opt_dry_run=:					;;
-      --features)       func_features					;;
-      --finish)		mode="finish"					;;
-
-      --mode)		test "$#" -eq 0 && func_missing_arg "$opt" && break
-			case $1 in
-			  # Valid mode arguments:
-			  clean)	;;
-			  compile)	;;
-			  execute)	;;
-			  finish)	;;
-			  install)	;;
-			  link)		;;
-			  relink)	;;
-			  uninstall)	;;
-
-			  # Catch anything else as an error
-			  *) func_error "invalid argument for $opt"
-			     exit_cmd=exit
-			     break
-			     ;;
-		        esac
-
-			mode="$1"
+      --config)
+			opt_config=:
+func_config
+			;;
+      --dlopen|-dlopen)
+			optarg="$1"
+			opt_dlopen="${opt_dlopen+$opt_dlopen
+}$optarg"
 			shift
 			;;
-
       --preserve-dup-deps)
-			opt_duplicate_deps=:				;;
-
-      --quiet|--silent)	preserve_args="$preserve_args $opt"
-			opt_silent=:
+			opt_preserve_dup_deps=:
 			;;
-
-      --verbose| -v)	preserve_args="$preserve_args $opt"
+      --features)
+			opt_features=:
+func_features
+			;;
+      --finish)
+			opt_finish=:
+set dummy --mode finish ${1+"$@"}; shift
+			;;
+      --help)
+			opt_help=:
+			;;
+      --help-all)
+			opt_help_all=:
+opt_help=': help-all'
+			;;
+      --mode)
+			test $# = 0 && func_missing_arg $opt && break
+			optarg="$1"
+			opt_mode="$optarg"
+case $optarg in
+  # Valid mode arguments:
+  clean|compile|execute|finish|install|link|relink|uninstall) ;;
+
+  # Catch anything else as an error
+  *) func_error "invalid argument for $opt"
+     exit_cmd=exit
+     break
+     ;;
+esac
+			shift
+			;;
+      --no-silent|--no-quiet)
 			opt_silent=false
+func_append preserve_args " $opt"
 			;;
-
-      --tag)		test "$#" -eq 0 && func_missing_arg "$opt" && break
-			preserve_args="$preserve_args $opt $1"
-			func_enable_tag "$1"	# tagname is set here
+      --no-warning|--no-warn)
+			opt_warning=false
+func_append preserve_args " $opt"
+			;;
+      --no-verbose)
+			opt_verbose=false
+func_append preserve_args " $opt"
+			;;
+      --silent|--quiet)
+			opt_silent=:
+func_append preserve_args " $opt"
+        opt_verbose=false
+			;;
+      --verbose|-v)
+			opt_verbose=:
+func_append preserve_args " $opt"
+opt_silent=false
+			;;
+      --tag)
+			test $# = 0 && func_missing_arg $opt && break
+			optarg="$1"
+			opt_tag="$optarg"
+func_append preserve_args " $opt $optarg"
+func_enable_tag "$optarg"
 			shift
 			;;
 
+      -\?|-h)		func_usage				;;
+      --help)		func_help				;;
+      --version)	func_version				;;
+
       # Separate optargs to long options:
-      -dlopen=*|--mode=*|--tag=*)
-			func_opt_split "$opt"
-			set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"}
+      --*=*)
+			func_split_long_opt "$opt"
+			set dummy "$func_split_long_opt_name" "$func_split_long_opt_arg" ${1+"$@"}
 			shift
 			;;
 
-      -\?|-h)		func_usage					;;
-      --help)		opt_help=:					;;
-      --version)	func_version					;;
-
-      -*)		func_fatal_help "unrecognized option \`$opt'"	;;
-
-      *)		nonopt="$opt"
-			break
+      # Separate non-argument short options:
+      -\?*|-h*|-n*|-v*)
+			func_split_short_opt "$opt"
+			set dummy "$func_split_short_opt_name" "-$func_split_short_opt_arg" ${1+"$@"}
+			shift
 			;;
+
+      --)		break					;;
+      -*)		func_fatal_help "unrecognized option \`$opt'" ;;
+      *)		set dummy "$opt" ${1+"$@"};	shift; break  ;;
     esac
   done
 
+  # Validate options:
+
+  # save first non-option argument
+  if test "$#" -gt 0; then
+    nonopt="$opt"
+    shift
+  fi
+
+  # preserve --debug
+  test "$opt_debug" = : || func_append preserve_args " --debug"
 
   case $host in
     *cygwin* | *mingw* | *pw32* | *cegcc*)
@@ -810,82 +1185,44 @@ func_enable_tag ()
       opt_duplicate_compiler_generated_deps=:
       ;;
     *)
-      opt_duplicate_compiler_generated_deps=$opt_duplicate_deps
+      opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps
       ;;
   esac
 
-  # Having warned about all mis-specified options, bail out if
-  # anything was wrong.
-  $exit_cmd $EXIT_FAILURE
-}
+  $opt_help || {
+    # Sanity checks first:
+    func_check_version_match
 
-# func_check_version_match
-# Ensure that we are using m4 macros, and libtool script from the same
-# release of libtool.
-func_check_version_match ()
-{
-  if test "$package_revision" != "$macro_revision"; then
-    if test "$VERSION" != "$macro_version"; then
-      if test -z "$macro_version"; then
-        cat >&2 <<_LT_EOF
-$progname: Version mismatch error.  This is $PACKAGE $VERSION, but the
-$progname: definition of this LT_INIT comes from an older release.
-$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
-$progname: and run autoconf again.
-_LT_EOF
-      else
-        cat >&2 <<_LT_EOF
-$progname: Version mismatch error.  This is $PACKAGE $VERSION, but the
-$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
-$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
-$progname: and run autoconf again.
-_LT_EOF
-      fi
-    else
-      cat >&2 <<_LT_EOF
-$progname: Version mismatch error.  This is $PACKAGE $VERSION, revision $package_revision,
-$progname: but the definition of this LT_INIT comes from revision $macro_revision.
-$progname: You should recreate aclocal.m4 with macros from revision $package_revision
-$progname: of $PACKAGE $VERSION and run autoconf again.
-_LT_EOF
+    if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
+      func_fatal_configuration "not configured to build any kind of library"
     fi
 
-    exit $EXIT_MISMATCH
-  fi
-}
-
+    # Darwin sucks
+    eval std_shrext=\"$shrext_cmds\"
 
-## ----------- ##
-##    Main.    ##
-## ----------- ##
-
-$opt_help || {
-  # Sanity checks first:
-  func_check_version_match
-
-  if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
-    func_fatal_configuration "not configured to build any kind of library"
-  fi
+    # Only execute mode is allowed to have -dlopen flags.
+    if test -n "$opt_dlopen" && test "$opt_mode" != execute; then
+      func_error "unrecognized option \`-dlopen'"
+      $ECHO "$help" 1>&2
+      exit $EXIT_FAILURE
+    fi
 
-  test -z "$mode" && func_fatal_error "error: you must specify a MODE."
+    # Change the help message to a mode-specific one.
+    generic_help="$help"
+    help="Try \`$progname --help --mode=$opt_mode' for more information."
+  }
 
 
-  # Darwin sucks
-  eval std_shrext=\"$shrext_cmds\"
+  # Bail if the options were screwed
+  $exit_cmd $EXIT_FAILURE
+}
 
 
-  # Only execute mode is allowed to have -dlopen flags.
-  if test -n "$execute_dlfiles" && test "$mode" != execute; then
-    func_error "unrecognized option \`-dlopen'"
-    $ECHO "$help" 1>&2
-    exit $EXIT_FAILURE
-  fi
 
-  # Change the help message to a mode-specific one.
-  generic_help="$help"
-  help="Try \`$progname --help --mode=$mode' for more information."
-}
 
+## ----------- ##
+##    Main.    ##
+## ----------- ##
 
 # func_lalib_p file
 # True iff FILE is a libtool `.la' library or `.lo' object file.
@@ -950,12 +1287,9 @@ func_ltwrapper_executable_p ()
 # temporary ltwrapper_script.
 func_ltwrapper_scriptname ()
 {
-    func_ltwrapper_scriptname_result=""
-    if func_ltwrapper_executable_p "$1"; then
-	func_dirname_and_basename "$1" "" "."
-	func_stripname '' '.exe' "$func_basename_result"
-	func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
-    fi
+    func_dirname_and_basename "$1" "" "."
+    func_stripname '' '.exe' "$func_basename_result"
+    func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
 }
 
 # func_ltwrapper_p file
@@ -1001,6 +1335,37 @@ func_source ()
 }
 
 
+# func_resolve_sysroot PATH
+# Replace a leading = in PATH with a sysroot.  Store the result into
+# func_resolve_sysroot_result
+func_resolve_sysroot ()
+{
+  func_resolve_sysroot_result=$1
+  case $func_resolve_sysroot_result in
+  =*)
+    func_stripname '=' '' "$func_resolve_sysroot_result"
+    func_resolve_sysroot_result=$lt_sysroot$func_stripname_result
+    ;;
+  esac
+}
+
+# func_replace_sysroot PATH
+# If PATH begins with the sysroot, replace it with = and
+# store the result into func_replace_sysroot_result.
+func_replace_sysroot ()
+{
+  case "$lt_sysroot:$1" in
+  ?*:"$lt_sysroot"*)
+    func_stripname "$lt_sysroot" '' "$1"
+    func_replace_sysroot_result="=$func_stripname_result"
+    ;;
+  *)
+    # Including no sysroot.
+    func_replace_sysroot_result=$1
+    ;;
+  esac
+}
+
 # func_infer_tag arg
 # Infer tagged configuration to use if any are available and
 # if one wasn't chosen via the "--tag" command line option.
@@ -1013,13 +1378,15 @@ func_infer_tag ()
     if test -n "$available_tags" && test -z "$tagname"; then
       CC_quoted=
       for arg in $CC; do
-        func_quote_for_eval "$arg"
-	CC_quoted="$CC_quoted $func_quote_for_eval_result"
+	func_append_quoted CC_quoted "$arg"
       done
+      CC_expanded=`func_echo_all $CC`
+      CC_quoted_expanded=`func_echo_all $CC_quoted`
       case $@ in
       # Blanks in the command may have been stripped by the calling shell,
       # but not from the CC environment variable when configure was run.
-      " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;;
+      " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
+      " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;;
       # Blanks at the start of $base_compile will cause this to fail
       # if we don't check for them as well.
       *)
@@ -1030,11 +1397,13 @@ func_infer_tag ()
 	    CC_quoted=
 	    for arg in $CC; do
 	      # Double-quote args containing other shell metacharacters.
-	      func_quote_for_eval "$arg"
-	      CC_quoted="$CC_quoted $func_quote_for_eval_result"
+	      func_append_quoted CC_quoted "$arg"
 	    done
+	    CC_expanded=`func_echo_all $CC`
+	    CC_quoted_expanded=`func_echo_all $CC_quoted`
 	    case "$@ " in
-	      " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*)
+	    " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
+	    " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*)
 	      # The compiler in the base compile command matches
 	      # the one in the tagged configuration.
 	      # Assume this is the tagged configuration we want.
@@ -1097,6 +1466,486 @@ EOF
     }
 }
 
+
+##################################################
+# FILE NAME AND PATH CONVERSION HELPER FUNCTIONS #
+##################################################
+
+# func_convert_core_file_wine_to_w32 ARG
+# Helper function used by file name conversion functions when $build is *nix,
+# and $host is mingw, cygwin, or some other w32 environment. Relies on a
+# correctly configured wine environment available, with the winepath program
+# in $build's $PATH.
+#
+# ARG is the $build file name to be converted to w32 format.
+# Result is available in $func_convert_core_file_wine_to_w32_result, and will
+# be empty on error (or when ARG is empty)
+func_convert_core_file_wine_to_w32 ()
+{
+  $opt_debug
+  func_convert_core_file_wine_to_w32_result="$1"
+  if test -n "$1"; then
+    # Unfortunately, winepath does not exit with a non-zero error code, so we
+    # are forced to check the contents of stdout. On the other hand, if the
+    # command is not found, the shell will set an exit code of 127 and print
+    # *an error message* to stdout. So we must check for both error code of
+    # zero AND non-empty stdout, which explains the odd construction:
+    func_convert_core_file_wine_to_w32_tmp=`winepath -w "$1" 2>/dev/null`
+    if test "$?" -eq 0 && test -n "${func_convert_core_file_wine_to_w32_tmp}"; then
+      func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" |
+        $SED -e "$lt_sed_naive_backslashify"`
+    else
+      func_convert_core_file_wine_to_w32_result=
+    fi
+  fi
+}
+# end: func_convert_core_file_wine_to_w32
+
+
+# func_convert_core_path_wine_to_w32 ARG
+# Helper function used by path conversion functions when $build is *nix, and
+# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly
+# configured wine environment available, with the winepath program in $build's
+# $PATH. Assumes ARG has no leading or trailing path separator characters.
+#
+# ARG is path to be converted from $build format to win32.
+# Result is available in $func_convert_core_path_wine_to_w32_result.
+# Unconvertible file (directory) names in ARG are skipped; if no directory names
+# are convertible, then the result may be empty.
+func_convert_core_path_wine_to_w32 ()
+{
+  $opt_debug
+  # unfortunately, winepath doesn't convert paths, only file names
+  func_convert_core_path_wine_to_w32_result=""
+  if test -n "$1"; then
+    oldIFS=$IFS
+    IFS=:
+    for func_convert_core_path_wine_to_w32_f in $1; do
+      IFS=$oldIFS
+      func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f"
+      if test -n "$func_convert_core_file_wine_to_w32_result" ; then
+        if test -z "$func_convert_core_path_wine_to_w32_result"; then
+          func_convert_core_path_wine_to_w32_result="$func_convert_core_file_wine_to_w32_result"
+        else
+          func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result"
+        fi
+      fi
+    done
+    IFS=$oldIFS
+  fi
+}
+# end: func_convert_core_path_wine_to_w32
+
+
+# func_cygpath ARGS...
+# Wrapper around calling the cygpath program via LT_CYGPATH. This is used when
+# when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2)
+# $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or
+# (2), returns the Cygwin file name or path in func_cygpath_result (input
+# file name or path is assumed to be in w32 format, as previously converted
+# from $build's *nix or MSYS format). In case (3), returns the w32 file name
+# or path in func_cygpath_result (input file name or path is assumed to be in
+# Cygwin format). Returns an empty string on error.
+#
+# ARGS are passed to cygpath, with the last one being the file name or path to
+# be converted.
+#
+# Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH
+# environment variable; do not put it in $PATH.
+func_cygpath ()
+{
+  $opt_debug
+  if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then
+    func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null`
+    if test "$?" -ne 0; then
+      # on failure, ensure result is empty
+      func_cygpath_result=
+    fi
+  else
+    func_cygpath_result=
+    func_error "LT_CYGPATH is empty or specifies non-existent file: \`$LT_CYGPATH'"
+  fi
+}
+#end: func_cygpath
+
+
+# func_convert_core_msys_to_w32 ARG
+# Convert file name or path ARG from MSYS format to w32 format.  Return
+# result in func_convert_core_msys_to_w32_result.
+func_convert_core_msys_to_w32 ()
+{
+  $opt_debug
+  # awkward: cmd appends spaces to result
+  func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |
+    $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
+}
+#end: func_convert_core_msys_to_w32
+
+
+# func_convert_file_check ARG1 ARG2
+# Verify that ARG1 (a file name in $build format) was converted to $host
+# format in ARG2. Otherwise, emit an error message, but continue (resetting
+# func_to_host_file_result to ARG1).
+func_convert_file_check ()
+{
+  $opt_debug
+  if test -z "$2" && test -n "$1" ; then
+    func_error "Could not determine host file name corresponding to"
+    func_error "  \`$1'"
+    func_error "Continuing, but uninstalled executables may not work."
+    # Fallback:
+    func_to_host_file_result="$1"
+  fi
+}
+# end func_convert_file_check
+
+
+# func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH
+# Verify that FROM_PATH (a path in $build format) was converted to $host
+# format in TO_PATH. Otherwise, emit an error message, but continue, resetting
+# func_to_host_file_result to a simplistic fallback value (see below).
+func_convert_path_check ()
+{
+  $opt_debug
+  if test -z "$4" && test -n "$3"; then
+    func_error "Could not determine the host path corresponding to"
+    func_error "  \`$3'"
+    func_error "Continuing, but uninstalled executables may not work."
+    # Fallback.  This is a deliberately simplistic "conversion" and
+    # should not be "improved".  See libtool.info.
+    if test "x$1" != "x$2"; then
+      lt_replace_pathsep_chars="s|$1|$2|g"
+      func_to_host_path_result=`echo "$3" |
+        $SED -e "$lt_replace_pathsep_chars"`
+    else
+      func_to_host_path_result="$3"
+    fi
+  fi
+}
+# end func_convert_path_check
+
+
+# func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG
+# Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT
+# and appending REPL if ORIG matches BACKPAT.
+func_convert_path_front_back_pathsep ()
+{
+  $opt_debug
+  case $4 in
+  $1 ) func_to_host_path_result="$3$func_to_host_path_result"
+    ;;
+  esac
+  case $4 in
+  $2 ) func_append func_to_host_path_result "$3"
+    ;;
+  esac
+}
+# end func_convert_path_front_back_pathsep
+
+
+##################################################
+# $build to $host FILE NAME CONVERSION FUNCTIONS #
+##################################################
+# invoked via `$to_host_file_cmd ARG'
+#
+# In each case, ARG is the path to be converted from $build to $host format.
+# Result will be available in $func_to_host_file_result.
+
+
+# func_to_host_file ARG
+# Converts the file name ARG from $build format to $host format. Return result
+# in func_to_host_file_result.
+func_to_host_file ()
+{
+  $opt_debug
+  $to_host_file_cmd "$1"
+}
+# end func_to_host_file
+
+
+# func_to_tool_file ARG LAZY
+# converts the file name ARG from $build format to toolchain format. Return
+# result in func_to_tool_file_result.  If the conversion in use is listed
+# in (the comma separated) LAZY, no conversion takes place.
+func_to_tool_file ()
+{
+  $opt_debug
+  case ,$2, in
+    *,"$to_tool_file_cmd",*)
+      func_to_tool_file_result=$1
+      ;;
+    *)
+      $to_tool_file_cmd "$1"
+      func_to_tool_file_result=$func_to_host_file_result
+      ;;
+  esac
+}
+# end func_to_tool_file
+
+
+# func_convert_file_noop ARG
+# Copy ARG to func_to_host_file_result.
+func_convert_file_noop ()
+{
+  func_to_host_file_result="$1"
+}
+# end func_convert_file_noop
+
+
+# func_convert_file_msys_to_w32 ARG
+# Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic
+# conversion to w32 is not available inside the cwrapper.  Returns result in
+# func_to_host_file_result.
+func_convert_file_msys_to_w32 ()
+{
+  $opt_debug
+  func_to_host_file_result="$1"
+  if test -n "$1"; then
+    func_convert_core_msys_to_w32 "$1"
+    func_to_host_file_result="$func_convert_core_msys_to_w32_result"
+  fi
+  func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_msys_to_w32
+
+
+# func_convert_file_cygwin_to_w32 ARG
+# Convert file name ARG from Cygwin to w32 format.  Returns result in
+# func_to_host_file_result.
+func_convert_file_cygwin_to_w32 ()
+{
+  $opt_debug
+  func_to_host_file_result="$1"
+  if test -n "$1"; then
+    # because $build is cygwin, we call "the" cygpath in $PATH; no need to use
+    # LT_CYGPATH in this case.
+    func_to_host_file_result=`cygpath -m "$1"`
+  fi
+  func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_cygwin_to_w32
+
+
+# func_convert_file_nix_to_w32 ARG
+# Convert file name ARG from *nix to w32 format.  Requires a wine environment
+# and a working winepath. Returns result in func_to_host_file_result.
+func_convert_file_nix_to_w32 ()
+{
+  $opt_debug
+  func_to_host_file_result="$1"
+  if test -n "$1"; then
+    func_convert_core_file_wine_to_w32 "$1"
+    func_to_host_file_result="$func_convert_core_file_wine_to_w32_result"
+  fi
+  func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_nix_to_w32
+
+
+# func_convert_file_msys_to_cygwin ARG
+# Convert file name ARG from MSYS to Cygwin format.  Requires LT_CYGPATH set.
+# Returns result in func_to_host_file_result.
+func_convert_file_msys_to_cygwin ()
+{
+  $opt_debug
+  func_to_host_file_result="$1"
+  if test -n "$1"; then
+    func_convert_core_msys_to_w32 "$1"
+    func_cygpath -u "$func_convert_core_msys_to_w32_result"
+    func_to_host_file_result="$func_cygpath_result"
+  fi
+  func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_msys_to_cygwin
+
+
+# func_convert_file_nix_to_cygwin ARG
+# Convert file name ARG from *nix to Cygwin format.  Requires Cygwin installed
+# in a wine environment, working winepath, and LT_CYGPATH set.  Returns result
+# in func_to_host_file_result.
+func_convert_file_nix_to_cygwin ()
+{
+  $opt_debug
+  func_to_host_file_result="$1"
+  if test -n "$1"; then
+    # convert from *nix to w32, then use cygpath to convert from w32 to cygwin.
+    func_convert_core_file_wine_to_w32 "$1"
+    func_cygpath -u "$func_convert_core_file_wine_to_w32_result"
+    func_to_host_file_result="$func_cygpath_result"
+  fi
+  func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_nix_to_cygwin
+
+
+#############################################
+# $build to $host PATH CONVERSION FUNCTIONS #
+#############################################
+# invoked via `$to_host_path_cmd ARG'
+#
+# In each case, ARG is the path to be converted from $build to $host format.
+# The result will be available in $func_to_host_path_result.
+#
+# Path separators are also converted from $build format to $host format.  If
+# ARG begins or ends with a path separator character, it is preserved (but
+# converted to $host format) on output.
+#
+# All path conversion functions are named using the following convention:
+#   file name conversion function    : func_convert_file_X_to_Y ()
+#   path conversion function         : func_convert_path_X_to_Y ()
+# where, for any given $build/$host combination the 'X_to_Y' value is the
+# same.  If conversion functions are added for new $build/$host combinations,
+# the two new functions must follow this pattern, or func_init_to_host_path_cmd
+# will break.
+
+
+# func_init_to_host_path_cmd
+# Ensures that function "pointer" variable $to_host_path_cmd is set to the
+# appropriate value, based on the value of $to_host_file_cmd.
+to_host_path_cmd=
+func_init_to_host_path_cmd ()
+{
+  $opt_debug
+  if test -z "$to_host_path_cmd"; then
+    func_stripname 'func_convert_file_' '' "$to_host_file_cmd"
+    to_host_path_cmd="func_convert_path_${func_stripname_result}"
+  fi
+}
+
+
+# func_to_host_path ARG
+# Converts the path ARG from $build format to $host format. Return result
+# in func_to_host_path_result.
+func_to_host_path ()
+{
+  $opt_debug
+  func_init_to_host_path_cmd
+  $to_host_path_cmd "$1"
+}
+# end func_to_host_path
+
+
+# func_convert_path_noop ARG
+# Copy ARG to func_to_host_path_result.
+func_convert_path_noop ()
+{
+  func_to_host_path_result="$1"
+}
+# end func_convert_path_noop
+
+
+# func_convert_path_msys_to_w32 ARG
+# Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic
+# conversion to w32 is not available inside the cwrapper.  Returns result in
+# func_to_host_path_result.
+func_convert_path_msys_to_w32 ()
+{
+  $opt_debug
+  func_to_host_path_result="$1"
+  if test -n "$1"; then
+    # Remove leading and trailing path separator characters from ARG.  MSYS
+    # behavior is inconsistent here; cygpath turns them into '.;' and ';.';
+    # and winepath ignores them completely.
+    func_stripname : : "$1"
+    func_to_host_path_tmp1=$func_stripname_result
+    func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
+    func_to_host_path_result="$func_convert_core_msys_to_w32_result"
+    func_convert_path_check : ";" \
+      "$func_to_host_path_tmp1" "$func_to_host_path_result"
+    func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
+  fi
+}
+# end func_convert_path_msys_to_w32
+
+
+# func_convert_path_cygwin_to_w32 ARG
+# Convert path ARG from Cygwin to w32 format.  Returns result in
+# func_to_host_file_result.
+func_convert_path_cygwin_to_w32 ()
+{
+  $opt_debug
+  func_to_host_path_result="$1"
+  if test -n "$1"; then
+    # See func_convert_path_msys_to_w32:
+    func_stripname : : "$1"
+    func_to_host_path_tmp1=$func_stripname_result
+    func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"`
+    func_convert_path_check : ";" \
+      "$func_to_host_path_tmp1" "$func_to_host_path_result"
+    func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
+  fi
+}
+# end func_convert_path_cygwin_to_w32
+
+
+# func_convert_path_nix_to_w32 ARG
+# Convert path ARG from *nix to w32 format.  Requires a wine environment and
+# a working winepath.  Returns result in func_to_host_file_result.
+func_convert_path_nix_to_w32 ()
+{
+  $opt_debug
+  func_to_host_path_result="$1"
+  if test -n "$1"; then
+    # See func_convert_path_msys_to_w32:
+    func_stripname : : "$1"
+    func_to_host_path_tmp1=$func_stripname_result
+    func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
+    func_to_host_path_result="$func_convert_core_path_wine_to_w32_result"
+    func_convert_path_check : ";" \
+      "$func_to_host_path_tmp1" "$func_to_host_path_result"
+    func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
+  fi
+}
+# end func_convert_path_nix_to_w32
+
+
+# func_convert_path_msys_to_cygwin ARG
+# Convert path ARG from MSYS to Cygwin format.  Requires LT_CYGPATH set.
+# Returns result in func_to_host_file_result.
+func_convert_path_msys_to_cygwin ()
+{
+  $opt_debug
+  func_to_host_path_result="$1"
+  if test -n "$1"; then
+    # See func_convert_path_msys_to_w32:
+    func_stripname : : "$1"
+    func_to_host_path_tmp1=$func_stripname_result
+    func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
+    func_cygpath -u -p "$func_convert_core_msys_to_w32_result"
+    func_to_host_path_result="$func_cygpath_result"
+    func_convert_path_check : : \
+      "$func_to_host_path_tmp1" "$func_to_host_path_result"
+    func_convert_path_front_back_pathsep ":*" "*:" : "$1"
+  fi
+}
+# end func_convert_path_msys_to_cygwin
+
+
+# func_convert_path_nix_to_cygwin ARG
+# Convert path ARG from *nix to Cygwin format.  Requires Cygwin installed in a
+# a wine environment, working winepath, and LT_CYGPATH set.  Returns result in
+# func_to_host_file_result.
+func_convert_path_nix_to_cygwin ()
+{
+  $opt_debug
+  func_to_host_path_result="$1"
+  if test -n "$1"; then
+    # Remove leading and trailing path separator characters from
+    # ARG. msys behavior is inconsistent here, cygpath turns them
+    # into '.;' and ';.', and winepath ignores them completely.
+    func_stripname : : "$1"
+    func_to_host_path_tmp1=$func_stripname_result
+    func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
+    func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result"
+    func_to_host_path_result="$func_cygpath_result"
+    func_convert_path_check : : \
+      "$func_to_host_path_tmp1" "$func_to_host_path_result"
+    func_convert_path_front_back_pathsep ":*" "*:" : "$1"
+  fi
+}
+# end func_convert_path_nix_to_cygwin
+
+
 # func_mode_compile arg...
 func_mode_compile ()
 {
@@ -1137,12 +1986,12 @@ func_mode_compile ()
 	  ;;
 
 	-pie | -fpie | -fPIE)
-          pie_flag="$pie_flag $arg"
+          func_append pie_flag " $arg"
 	  continue
 	  ;;
 
 	-shared | -static | -prefer-pic | -prefer-non-pic)
-	  later="$later $arg"
+	  func_append later " $arg"
 	  continue
 	  ;;
 
@@ -1163,15 +2012,14 @@ func_mode_compile ()
 	  save_ifs="$IFS"; IFS=','
 	  for arg in $args; do
 	    IFS="$save_ifs"
-	    func_quote_for_eval "$arg"
-	    lastarg="$lastarg $func_quote_for_eval_result"
+	    func_append_quoted lastarg "$arg"
 	  done
 	  IFS="$save_ifs"
 	  func_stripname ' ' '' "$lastarg"
 	  lastarg=$func_stripname_result
 
 	  # Add the arguments to base_compile.
-	  base_compile="$base_compile $lastarg"
+	  func_append base_compile " $lastarg"
 	  continue
 	  ;;
 
@@ -1187,8 +2035,7 @@ func_mode_compile ()
       esac    #  case $arg_mode
 
       # Aesthetically quote the previous argument.
-      func_quote_for_eval "$lastarg"
-      base_compile="$base_compile $func_quote_for_eval_result"
+      func_append_quoted base_compile "$lastarg"
     done # for arg
 
     case $arg_mode in
@@ -1213,7 +2060,7 @@ func_mode_compile ()
     *.[cCFSifmso] | \
     *.ada | *.adb | *.ads | *.asm | \
     *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
-    *.[fF][09]? | *.for | *.java | *.obj | *.sx)
+    *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup)
       func_xform "$libobj"
       libobj=$func_xform_result
       ;;
@@ -1288,7 +2135,7 @@ func_mode_compile ()
     # Calculate the filename of the output object if compiler does
     # not support -o with -c
     if test "$compiler_c_o" = no; then
-      output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
+      output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext}
       lockfile="$output_obj.lock"
     else
       output_obj=
@@ -1319,17 +2166,16 @@ compiler."
 	$opt_dry_run || $RM $removelist
 	exit $EXIT_FAILURE
       fi
-      removelist="$removelist $output_obj"
+      func_append removelist " $output_obj"
       $ECHO "$srcfile" > "$lockfile"
     fi
 
     $opt_dry_run || $RM $removelist
-    removelist="$removelist $lockfile"
+    func_append removelist " $lockfile"
     trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
 
-    if test -n "$fix_srcfile_path"; then
-      eval srcfile=\"$fix_srcfile_path\"
-    fi
+    func_to_tool_file "$srcfile" func_convert_file_msys_to_w32
+    srcfile=$func_to_tool_file_result
     func_quote_for_eval "$srcfile"
     qsrcfile=$func_quote_for_eval_result
 
@@ -1349,7 +2195,7 @@ compiler."
 
       if test -z "$output_obj"; then
 	# Place PIC objects in $objdir
-	command="$command -o $lobj"
+	func_append command " -o $lobj"
       fi
 
       func_show_eval_locale "$command"	\
@@ -1396,11 +2242,11 @@ compiler."
 	command="$base_compile $qsrcfile $pic_flag"
       fi
       if test "$compiler_c_o" = yes; then
-	command="$command -o $obj"
+	func_append command " -o $obj"
       fi
 
       # Suppress compiler output if we already did a PIC compilation.
-      command="$command$suppress_output"
+      func_append command "$suppress_output"
       func_show_eval_locale "$command" \
         '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
 
@@ -1445,13 +2291,13 @@ compiler."
 }
 
 $opt_help || {
-test "$mode" = compile && func_mode_compile ${1+"$@"}
+  test "$opt_mode" = compile && func_mode_compile ${1+"$@"}
 }
 
 func_mode_help ()
 {
     # We need to display help for each of the modes.
-    case $mode in
+    case $opt_mode in
       "")
         # Generic help is extracted from the usage comments
         # at the start of this file.
@@ -1482,10 +2328,11 @@ This mode accepts the following additional options:
 
   -o OUTPUT-FILE    set the output file name to OUTPUT-FILE
   -no-suppress      do not suppress compiler output for multiple passes
-  -prefer-pic       try to building PIC objects only
-  -prefer-non-pic   try to building non-PIC objects only
+  -prefer-pic       try to build PIC objects only
+  -prefer-non-pic   try to build non-PIC objects only
   -shared           do not build a \`.o' file suitable for static linking
   -static           only build a \`.o' file suitable for static linking
+  -Wc,FLAG          pass FLAG directly to the compiler
 
 COMPILE-COMMAND is a command to be used in creating a \`standard' object file
 from the given SOURCEFILE.
@@ -1538,7 +2385,7 @@ either the \`install' or \`cp' program.
 
 The following components of INSTALL-COMMAND are treated specially:
 
-  -inst-prefix PREFIX-DIR  Use PREFIX-DIR as a staging area for installation
+  -inst-prefix-dir PREFIX-DIR  Use PREFIX-DIR as a staging area for installation
 
 The rest of the components are interpreted as arguments to that command (only
 BSD-compatible install options are recognized)."
@@ -1558,6 +2405,8 @@ The following components of LINK-COMMAND are treated specially:
 
   -all-static       do not do any dynamic linking at all
   -avoid-version    do not add a version suffix if possible
+  -bindir BINDIR    specify path to binaries directory (for systems where
+                    libraries must be found in the PATH setting at runtime)
   -dlopen FILE      \`-dlpreopen' FILE if it cannot be dlopened at runtime
   -dlpreopen FILE   link in FILE and add its symbols to lt_preloaded_symbols
   -export-dynamic   allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
@@ -1586,6 +2435,11 @@ The following components of LINK-COMMAND are treated specially:
   -version-info CURRENT[:REVISION[:AGE]]
                     specify library version info [each variable defaults to 0]
   -weak LIBNAME     declare that the target provides the LIBNAME interface
+  -Wc,FLAG
+  -Xcompiler FLAG   pass linker-specific FLAG directly to the compiler
+  -Wl,FLAG
+  -Xlinker FLAG     pass linker-specific FLAG directly to the linker
+  -XCClinker FLAG   pass link-specific FLAG to the compiler driver (CC)
 
 All other options (arguments beginning with \`-') are ignored.
 
@@ -1619,18 +2473,44 @@ Otherwise, only FILE itself is deleted using RM."
         ;;
 
       *)
-        func_fatal_help "invalid operation mode \`$mode'"
+        func_fatal_help "invalid operation mode \`$opt_mode'"
         ;;
     esac
 
-    $ECHO
+    echo
     $ECHO "Try \`$progname --help' for more information about other modes."
-
-    exit $?
 }
 
-  # Now that we've collected a possible --mode arg, show help if necessary
-  $opt_help && func_mode_help
+# Now that we've collected a possible --mode arg, show help if necessary
+if $opt_help; then
+  if test "$opt_help" = :; then
+    func_mode_help
+  else
+    {
+      func_help noexit
+      for opt_mode in compile link execute install finish uninstall clean; do
+	func_mode_help
+      done
+    } | sed -n '1p; 2,$s/^Usage:/  or: /p'
+    {
+      func_help noexit
+      for opt_mode in compile link execute install finish uninstall clean; do
+	echo
+	func_mode_help
+      done
+    } |
+    sed '1d
+      /^When reporting/,/^Report/{
+	H
+	d
+      }
+      $x
+      /information about other modes/d
+      /more detailed .*MODE/d
+      s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/'
+  fi
+  exit $?
+fi
 
 
 # func_mode_execute arg...
@@ -1643,13 +2523,16 @@ func_mode_execute ()
       func_fatal_help "you must specify a COMMAND"
 
     # Handle -dlopen flags immediately.
-    for file in $execute_dlfiles; do
+    for file in $opt_dlopen; do
       test -f "$file" \
 	|| func_fatal_help "\`$file' is not a file"
 
       dir=
       case $file in
       *.la)
+	func_resolve_sysroot "$file"
+	file=$func_resolve_sysroot_result
+
 	# Check to see that this really is a libtool archive.
 	func_lalib_unsafe_p "$file" \
 	  || func_fatal_help "\`$lib' is not a valid libtool archive"
@@ -1671,7 +2554,7 @@ func_mode_execute ()
 	dir="$func_dirname_result"
 
 	if test -f "$dir/$objdir/$dlname"; then
-	  dir="$dir/$objdir"
+	  func_append dir "/$objdir"
 	else
 	  if test ! -f "$dir/$dlname"; then
 	    func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'"
@@ -1712,7 +2595,7 @@ func_mode_execute ()
     for file
     do
       case $file in
-      -*) ;;
+      -* | *.la | *.lo ) ;;
       *)
 	# Do a test to see if this is really a libtool program.
 	if func_ltwrapper_script_p "$file"; then
@@ -1728,8 +2611,7 @@ func_mode_execute ()
 	;;
       esac
       # Quote arguments (to preserve shell metacharacters).
-      func_quote_for_eval "$file"
-      args="$args $func_quote_for_eval_result"
+      func_append_quoted args "$file"
     done
 
     if test "X$opt_dry_run" = Xfalse; then
@@ -1754,29 +2636,66 @@ func_mode_execute ()
       # Display what would be done.
       if test -n "$shlibpath_var"; then
 	eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
-	$ECHO "export $shlibpath_var"
+	echo "export $shlibpath_var"
       fi
       $ECHO "$cmd$args"
       exit $EXIT_SUCCESS
     fi
 }
 
-test "$mode" = execute && func_mode_execute ${1+"$@"}
+test "$opt_mode" = execute && func_mode_execute ${1+"$@"}
 
 
 # func_mode_finish arg...
 func_mode_finish ()
 {
     $opt_debug
-    libdirs="$nonopt"
+    libs=
+    libdirs=
     admincmds=
 
-    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
-      for dir
-      do
-	libdirs="$libdirs $dir"
-      done
+    for opt in "$nonopt" ${1+"$@"}
+    do
+      if test -d "$opt"; then
+	func_append libdirs " $opt"
+
+      elif test -f "$opt"; then
+	if func_lalib_unsafe_p "$opt"; then
+	  func_append libs " $opt"
+	else
+	  func_warning "\`$opt' is not a valid libtool archive"
+	fi
+
+      else
+	func_fatal_error "invalid argument \`$opt'"
+      fi
+    done
+
+    if test -n "$libs"; then
+      if test -n "$lt_sysroot"; then
+        sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"`
+        sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;"
+      else
+        sysroot_cmd=
+      fi
+
+      # Remove sysroot references
+      if $opt_dry_run; then
+        for lib in $libs; do
+          echo "removing references to $lt_sysroot and \`=' prefixes from $lib"
+        done
+      else
+        tmpdir=`func_mktempdir`
+        for lib in $libs; do
+	  sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \
+	    > $tmpdir/tmp-la
+	  mv -f $tmpdir/tmp-la $lib
+	done
+        ${RM}r "$tmpdir"
+      fi
+    fi
 
+    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
       for libdir in $libdirs; do
 	if test -n "$finish_cmds"; then
 	  # Do each command in the finish commands.
@@ -1786,7 +2705,7 @@ func_mode_finish ()
 	if test -n "$finish_eval"; then
 	  # Do the single finish_eval.
 	  eval cmds=\"$finish_eval\"
-	  $opt_dry_run || eval "$cmds" || admincmds="$admincmds
+	  $opt_dry_run || eval "$cmds" || func_append admincmds "
        $cmds"
 	fi
       done
@@ -1795,53 +2714,55 @@ func_mode_finish ()
     # Exit here if they wanted silent mode.
     $opt_silent && exit $EXIT_SUCCESS
 
-    $ECHO "X----------------------------------------------------------------------" | $Xsed
-    $ECHO "Libraries have been installed in:"
-    for libdir in $libdirs; do
-      $ECHO "   $libdir"
-    done
-    $ECHO
-    $ECHO "If you ever happen to want to link against installed libraries"
-    $ECHO "in a given directory, LIBDIR, you must either use libtool, and"
-    $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'"
-    $ECHO "flag during linking and do at least one of the following:"
-    if test -n "$shlibpath_var"; then
-      $ECHO "   - add LIBDIR to the \`$shlibpath_var' environment variable"
-      $ECHO "     during execution"
-    fi
-    if test -n "$runpath_var"; then
-      $ECHO "   - add LIBDIR to the \`$runpath_var' environment variable"
-      $ECHO "     during linking"
-    fi
-    if test -n "$hardcode_libdir_flag_spec"; then
-      libdir=LIBDIR
-      eval flag=\"$hardcode_libdir_flag_spec\"
+    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
+      echo "----------------------------------------------------------------------"
+      echo "Libraries have been installed in:"
+      for libdir in $libdirs; do
+	$ECHO "   $libdir"
+      done
+      echo
+      echo "If you ever happen to want to link against installed libraries"
+      echo "in a given directory, LIBDIR, you must either use libtool, and"
+      echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
+      echo "flag during linking and do at least one of the following:"
+      if test -n "$shlibpath_var"; then
+	echo "   - add LIBDIR to the \`$shlibpath_var' environment variable"
+	echo "     during execution"
+      fi
+      if test -n "$runpath_var"; then
+	echo "   - add LIBDIR to the \`$runpath_var' environment variable"
+	echo "     during linking"
+      fi
+      if test -n "$hardcode_libdir_flag_spec"; then
+	libdir=LIBDIR
+	eval flag=\"$hardcode_libdir_flag_spec\"
+
+	$ECHO "   - use the \`$flag' linker flag"
+      fi
+      if test -n "$admincmds"; then
+	$ECHO "   - have your system administrator run these commands:$admincmds"
+      fi
+      if test -f /etc/ld.so.conf; then
+	echo "   - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
+      fi
+      echo
 
-      $ECHO "   - use the \`$flag' linker flag"
-    fi
-    if test -n "$admincmds"; then
-      $ECHO "   - have your system administrator run these commands:$admincmds"
-    fi
-    if test -f /etc/ld.so.conf; then
-      $ECHO "   - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
+      echo "See any operating system documentation about shared libraries for"
+      case $host in
+	solaris2.[6789]|solaris2.1[0-9])
+	  echo "more information, such as the ld(1), crle(1) and ld.so(8) manual"
+	  echo "pages."
+	  ;;
+	*)
+	  echo "more information, such as the ld(1) and ld.so(8) manual pages."
+	  ;;
+      esac
+      echo "----------------------------------------------------------------------"
     fi
-    $ECHO
-
-    $ECHO "See any operating system documentation about shared libraries for"
-    case $host in
-      solaris2.[6789]|solaris2.1[0-9])
-        $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual"
-	$ECHO "pages."
-	;;
-      *)
-        $ECHO "more information, such as the ld(1) and ld.so(8) manual pages."
-        ;;
-    esac
-    $ECHO "X----------------------------------------------------------------------" | $Xsed
     exit $EXIT_SUCCESS
 }
 
-test "$mode" = finish && func_mode_finish ${1+"$@"}
+test "$opt_mode" = finish && func_mode_finish ${1+"$@"}
 
 
 # func_mode_install arg...
@@ -1852,7 +2773,7 @@ func_mode_install ()
     # install_prog (especially on Windows NT).
     if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
        # Allow the use of GNU shtool's install command.
-       $ECHO "X$nonopt" | $GREP shtool >/dev/null; then
+       case $nonopt in *shtool*) :;; *) false;; esac; then
       # Aesthetically quote it.
       func_quote_for_eval "$nonopt"
       install_prog="$func_quote_for_eval_result "
@@ -1866,7 +2787,12 @@ func_mode_install ()
     # The real first argument should be the name of the installation program.
     # Aesthetically quote it.
     func_quote_for_eval "$arg"
-    install_prog="$install_prog$func_quote_for_eval_result"
+    func_append install_prog "$func_quote_for_eval_result"
+    install_shared_prog=$install_prog
+    case " $install_prog " in
+      *[\\\ /]cp\ *) install_cp=: ;;
+      *) install_cp=false ;;
+    esac
 
     # We need to accept at least all the BSD install flags.
     dest=
@@ -1876,10 +2802,12 @@ func_mode_install ()
     install_type=
     isdir=no
     stripme=
+    no_mode=:
     for arg
     do
+      arg2=
       if test -n "$dest"; then
-	files="$files $dest"
+	func_append files " $dest"
 	dest=$arg
 	continue
       fi
@@ -1887,10 +2815,9 @@ func_mode_install ()
       case $arg in
       -d) isdir=yes ;;
       -f)
-	case " $install_prog " in
-	*[\\\ /]cp\ *) ;;
-	*) prev=$arg ;;
-	esac
+	if $install_cp; then :; else
+	  prev=$arg
+	fi
 	;;
       -g | -m | -o)
 	prev=$arg
@@ -1904,6 +2831,10 @@ func_mode_install ()
       *)
 	# If the previous option needed an argument, then skip it.
 	if test -n "$prev"; then
+	  if test "x$prev" = x-m && test -n "$install_override_mode"; then
+	    arg2=$install_override_mode
+	    no_mode=false
+	  fi
 	  prev=
 	else
 	  dest=$arg
@@ -1914,7 +2845,11 @@ func_mode_install ()
 
       # Aesthetically quote the argument.
       func_quote_for_eval "$arg"
-      install_prog="$install_prog $func_quote_for_eval_result"
+      func_append install_prog " $func_quote_for_eval_result"
+      if test -n "$arg2"; then
+	func_quote_for_eval "$arg2"
+      fi
+      func_append install_shared_prog " $func_quote_for_eval_result"
     done
 
     test -z "$install_prog" && \
@@ -1923,6 +2858,13 @@ func_mode_install ()
     test -n "$prev" && \
       func_fatal_help "the \`$prev' option requires an argument"
 
+    if test -n "$install_override_mode" && $no_mode; then
+      if $install_cp; then :; else
+	func_quote_for_eval "$install_override_mode"
+	func_append install_shared_prog " -m $func_quote_for_eval_result"
+      fi
+    fi
+
     if test -z "$files"; then
       if test -z "$dest"; then
 	func_fatal_help "no file or destination specified"
@@ -1977,10 +2919,13 @@ func_mode_install ()
       case $file in
       *.$libext)
 	# Do the static libraries later.
-	staticlibs="$staticlibs $file"
+	func_append staticlibs " $file"
 	;;
 
       *.la)
+	func_resolve_sysroot "$file"
+	file=$func_resolve_sysroot_result
+
 	# Check to see that this really is a libtool archive.
 	func_lalib_unsafe_p "$file" \
 	  || func_fatal_help "\`$file' is not a valid libtool archive"
@@ -1994,23 +2939,23 @@ func_mode_install ()
 	if test "X$destdir" = "X$libdir"; then
 	  case "$current_libdirs " in
 	  *" $libdir "*) ;;
-	  *) current_libdirs="$current_libdirs $libdir" ;;
+	  *) func_append current_libdirs " $libdir" ;;
 	  esac
 	else
 	  # Note the libdir as a future libdir.
 	  case "$future_libdirs " in
 	  *" $libdir "*) ;;
-	  *) future_libdirs="$future_libdirs $libdir" ;;
+	  *) func_append future_libdirs " $libdir" ;;
 	  esac
 	fi
 
 	func_dirname "$file" "/" ""
 	dir="$func_dirname_result"
-	dir="$dir$objdir"
+	func_append dir "$objdir"
 
 	if test -n "$relink_command"; then
 	  # Determine the prefix the user has applied to our future dir.
-	  inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"`
+	  inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"`
 
 	  # Don't allow the user to place us outside of our expected
 	  # location b/c this prevents finding dependent libraries that
@@ -2023,9 +2968,9 @@ func_mode_install ()
 
 	  if test -n "$inst_prefix_dir"; then
 	    # Stick the inst_prefix_dir data into the link command.
-	    relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
+	    relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
 	  else
-	    relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"`
+	    relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
 	  fi
 
 	  func_warning "relinking \`$file'"
@@ -2043,7 +2988,7 @@ func_mode_install ()
 	  test -n "$relink_command" && srcname="$realname"T
 
 	  # Install the shared library and build the symlinks.
-	  func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \
+	  func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
 	      'exit $?'
 	  tstripme="$stripme"
 	  case $host_os in
@@ -2083,7 +3028,7 @@ func_mode_install ()
 	func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
 
 	# Maybe install the static library, too.
-	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
+	test -n "$old_library" && func_append staticlibs " $dir/$old_library"
 	;;
 
       *.lo)
@@ -2183,7 +3128,7 @@ func_mode_install ()
 	    if test -f "$lib"; then
 	      func_source "$lib"
 	    fi
-	    libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
+	    libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test
 	    if test -n "$libdir" && test ! -f "$libfile"; then
 	      func_warning "\`$lib' has not been installed in \`$libdir'"
 	      finalize=no
@@ -2202,7 +3147,7 @@ func_mode_install ()
 		file="$func_basename_result"
 	        outputname="$tmpdir/$file"
 	        # Replace the output file specification.
-	        relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
+	        relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
 
 	        $opt_silent || {
 	          func_quote_for_expand "$relink_command"
@@ -2221,7 +3166,7 @@ func_mode_install ()
 	    }
 	  else
 	    # Install the binary that we compiled earlier.
-	    file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
+	    file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"`
 	  fi
 	fi
 
@@ -2257,11 +3202,13 @@ func_mode_install ()
 
       # Set up the ranlib parameters.
       oldlib="$destdir/$name"
+      func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
+      tool_oldlib=$func_to_tool_file_result
 
       func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
 
       if test -n "$stripme" && test -n "$old_striplib"; then
-	func_show_eval "$old_striplib $oldlib" 'exit $?'
+	func_show_eval "$old_striplib $tool_oldlib" 'exit $?'
       fi
 
       # Do each command in the postinstall commands.
@@ -2280,7 +3227,7 @@ func_mode_install ()
     fi
 }
 
-test "$mode" = install && func_mode_install ${1+"$@"}
+test "$opt_mode" = install && func_mode_install ${1+"$@"}
 
 
 # func_generate_dlsyms outputname originator pic_p
@@ -2323,6 +3270,22 @@ func_generate_dlsyms ()
 extern \"C\" {
 #endif
 
+#if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))
+#pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
+#endif
+
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
+/* DATA imports from DLLs on WIN32 con't be const, because runtime
+   relocations are performed -- see ld's documentation on pseudo-relocs.  */
+# define LT_DLSYM_CONST
+#elif defined(__osf__)
+/* This system does not cope well with relocations in const data.  */
+# define LT_DLSYM_CONST
+#else
+# define LT_DLSYM_CONST const
+#endif
+
 /* External symbol declarations for the compiler. */\
 "
 
@@ -2332,10 +3295,11 @@ extern \"C\" {
 	  $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
 
 	  # Add our own program objects to the symbol list.
-	  progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
+	  progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP`
 	  for progfile in $progfiles; do
-	    func_verbose "extracting global C symbols from \`$progfile'"
-	    $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'"
+	    func_to_tool_file "$progfile" func_convert_file_msys_to_w32
+	    func_verbose "extracting global C symbols from \`$func_to_tool_file_result'"
+	    $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'"
 	  done
 
 	  if test -n "$exclude_expsyms"; then
@@ -2371,7 +3335,7 @@ extern \"C\" {
 	      eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
 	      eval '$MV "$nlist"T "$nlist"'
 	      case $host in
-	        *cygwin | *mingw* | *cegcc* )
+	        *cygwin* | *mingw* | *cegcc* )
 	          eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
 	          eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
 	          ;;
@@ -2384,10 +3348,52 @@ extern \"C\" {
 	  func_verbose "extracting global C symbols from \`$dlprefile'"
 	  func_basename "$dlprefile"
 	  name="$func_basename_result"
-	  $opt_dry_run || {
-	    eval '$ECHO ": $name " >> "$nlist"'
-	    eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'"
-	  }
+          case $host in
+	    *cygwin* | *mingw* | *cegcc* )
+	      # if an import library, we need to obtain dlname
+	      if func_win32_import_lib_p "$dlprefile"; then
+	        func_tr_sh "$dlprefile"
+	        eval "curr_lafile=\$libfile_$func_tr_sh_result"
+	        dlprefile_dlbasename=""
+	        if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then
+	          # Use subshell, to avoid clobbering current variable values
+	          dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"`
+	          if test -n "$dlprefile_dlname" ; then
+	            func_basename "$dlprefile_dlname"
+	            dlprefile_dlbasename="$func_basename_result"
+	          else
+	            # no lafile. user explicitly requested -dlpreopen <import library>.
+	            $sharedlib_from_linklib_cmd "$dlprefile"
+	            dlprefile_dlbasename=$sharedlib_from_linklib_result
+	          fi
+	        fi
+	        $opt_dry_run || {
+	          if test -n "$dlprefile_dlbasename" ; then
+	            eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"'
+	          else
+	            func_warning "Could not compute DLL name from $name"
+	            eval '$ECHO ": $name " >> "$nlist"'
+	          fi
+	          func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
+	          eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe |
+	            $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'"
+	        }
+	      else # not an import lib
+	        $opt_dry_run || {
+	          eval '$ECHO ": $name " >> "$nlist"'
+	          func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
+	          eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
+	        }
+	      fi
+	    ;;
+	    *)
+	      $opt_dry_run || {
+	        eval '$ECHO ": $name " >> "$nlist"'
+	        func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
+	        eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
+	      }
+	    ;;
+          esac
 	done
 
 	$opt_dry_run || {
@@ -2415,36 +3421,19 @@ extern \"C\" {
 	  if test -f "$nlist"S; then
 	    eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
 	  else
-	    $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms"
+	    echo '/* NONE */' >> "$output_objdir/$my_dlsyms"
 	  fi
 
-	  $ECHO >> "$output_objdir/$my_dlsyms" "\
+	  echo >> "$output_objdir/$my_dlsyms" "\
 
 /* The mapping between symbol names and symbols.  */
 typedef struct {
   const char *name;
   void *address;
 } lt_dlsymlist;
-"
-	  case $host in
-	  *cygwin* | *mingw* | *cegcc* )
-	    $ECHO >> "$output_objdir/$my_dlsyms" "\
-/* DATA imports from DLLs on WIN32 con't be const, because
-   runtime relocations are performed -- see ld's documentation
-   on pseudo-relocs.  */"
-	    lt_dlsym_const= ;;
-	  *osf5*)
-	    echo >> "$output_objdir/$my_dlsyms" "\
-/* This system does not cope well with relocations in const data */"
-	    lt_dlsym_const= ;;
-	  *)
-	    lt_dlsym_const=const ;;
-	  esac
-
-	  $ECHO >> "$output_objdir/$my_dlsyms" "\
-extern $lt_dlsym_const lt_dlsymlist
+extern LT_DLSYM_CONST lt_dlsymlist
 lt_${my_prefix}_LTX_preloaded_symbols[];
-$lt_dlsym_const lt_dlsymlist
+LT_DLSYM_CONST lt_dlsymlist
 lt_${my_prefix}_LTX_preloaded_symbols[] =
 {\
   { \"$my_originator\", (void *) 0 },"
@@ -2457,7 +3446,7 @@ lt_${my_prefix}_LTX_preloaded_symbols[] =
 	    eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
 	    ;;
 	  esac
-	  $ECHO >> "$output_objdir/$my_dlsyms" "\
+	  echo >> "$output_objdir/$my_dlsyms" "\
   {0, (void *) 0}
 };
 
@@ -2484,7 +3473,7 @@ static const void *lt_preloaded_setup() {
 	  # linked before any other PIC object.  But we must not use
 	  # pic_flag when linking with -static.  The problem exists in
 	  # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
-	  *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
+	  *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
 	    pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
 	  *-*-hpux*)
 	    pic_flag_for_symtable=" $pic_flag"  ;;
@@ -2500,7 +3489,7 @@ static const void *lt_preloaded_setup() {
 	for arg in $LTCFLAGS; do
 	  case $arg in
 	  -pie | -fpie | -fPIE) ;;
-	  *) symtab_cflags="$symtab_cflags $arg" ;;
+	  *) func_append symtab_cflags " $arg" ;;
 	  esac
 	done
 
@@ -2515,16 +3504,16 @@ static const void *lt_preloaded_setup() {
 	case $host in
 	*cygwin* | *mingw* | *cegcc* )
 	  if test -f "$output_objdir/$my_outputname.def"; then
-	    compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
-	    finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
+	    compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
+	    finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
 	  else
-	    compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
-	    finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
+	    compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
+	    finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
 	  fi
 	  ;;
 	*)
-	  compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
-	  finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
+	  compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
+	  finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
 	  ;;
 	esac
 	;;
@@ -2538,8 +3527,8 @@ static const void *lt_preloaded_setup() {
       # really was required.
 
       # Nullify the symbol file.
-      compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
-      finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
+      compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"`
+      finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"`
     fi
 }
 
@@ -2549,6 +3538,7 @@ static const void *lt_preloaded_setup() {
 # Need a lot of goo to handle *both* DLLs and import libs
 # Has to be a shell function in order to 'eat' the argument
 # that is supplied when $file_magic_command is called.
+# Despite the name, also deal with 64 bit binaries.
 func_win32_libid ()
 {
   $opt_debug
@@ -2559,9 +3549,11 @@ func_win32_libid ()
     win32_libid_type="x86 archive import"
     ;;
   *ar\ archive*) # could be an import, or static
+    # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD.
     if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
-       $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
-      win32_nmres=`eval $NM -f posix -A $1 |
+       $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
+      func_to_tool_file "$1" func_convert_file_msys_to_w32
+      win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" |
 	$SED -n -e '
 	    1,100{
 		/ I /{
@@ -2590,6 +3582,131 @@ func_win32_libid ()
   $ECHO "$win32_libid_type"
 }
 
+# func_cygming_dll_for_implib ARG
+#
+# Platform-specific function to extract the
+# name of the DLL associated with the specified
+# import library ARG.
+# Invoked by eval'ing the libtool variable
+#    $sharedlib_from_linklib_cmd
+# Result is available in the variable
+#    $sharedlib_from_linklib_result
+func_cygming_dll_for_implib ()
+{
+  $opt_debug
+  sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"`
+}
+
+# func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs
+#
+# The is the core of a fallback implementation of a
+# platform-specific function to extract the name of the
+# DLL associated with the specified import library LIBNAME.
+#
+# SECTION_NAME is either .idata$6 or .idata$7, depending
+# on the platform and compiler that created the implib.
+#
+# Echos the name of the DLL associated with the
+# specified import library.
+func_cygming_dll_for_implib_fallback_core ()
+{
+  $opt_debug
+  match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"`
+  $OBJDUMP -s --section "$1" "$2" 2>/dev/null |
+    $SED '/^Contents of section '"$match_literal"':/{
+      # Place marker at beginning of archive member dllname section
+      s/.*/====MARK====/
+      p
+      d
+    }
+    # These lines can sometimes be longer than 43 characters, but
+    # are always uninteresting
+    /:[	 ]*file format pe[i]\{,1\}-/d
+    /^In archive [^:]*:/d
+    # Ensure marker is printed
+    /^====MARK====/p
+    # Remove all lines with less than 43 characters
+    /^.\{43\}/!d
+    # From remaining lines, remove first 43 characters
+    s/^.\{43\}//' |
+    $SED -n '
+      # Join marker and all lines until next marker into a single line
+      /^====MARK====/ b para
+      H
+      $ b para
+      b
+      :para
+      x
+      s/\n//g
+      # Remove the marker
+      s/^====MARK====//
+      # Remove trailing dots and whitespace
+      s/[\. \t]*$//
+      # Print
+      /./p' |
+    # we now have a list, one entry per line, of the stringified
+    # contents of the appropriate section of all members of the
+    # archive which possess that section. Heuristic: eliminate
+    # all those which have a first or second character that is
+    # a '.' (that is, objdump's representation of an unprintable
+    # character.) This should work for all archives with less than
+    # 0x302f exports -- but will fail for DLLs whose name actually
+    # begins with a literal '.' or a single character followed by
+    # a '.'.
+    #
+    # Of those that remain, print the first one.
+    $SED -e '/^\./d;/^.\./d;q'
+}
+
+# func_cygming_gnu_implib_p ARG
+# This predicate returns with zero status (TRUE) if
+# ARG is a GNU/binutils-style import library. Returns
+# with nonzero status (FALSE) otherwise.
+func_cygming_gnu_implib_p ()
+{
+  $opt_debug
+  func_to_tool_file "$1" func_convert_file_msys_to_w32
+  func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'`
+  test -n "$func_cygming_gnu_implib_tmp"
+}
+
+# func_cygming_ms_implib_p ARG
+# This predicate returns with zero status (TRUE) if
+# ARG is an MS-style import library. Returns
+# with nonzero status (FALSE) otherwise.
+func_cygming_ms_implib_p ()
+{
+  $opt_debug
+  func_to_tool_file "$1" func_convert_file_msys_to_w32
+  func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'`
+  test -n "$func_cygming_ms_implib_tmp"
+}
+
+# func_cygming_dll_for_implib_fallback ARG
+# Platform-specific function to extract the
+# name of the DLL associated with the specified
+# import library ARG.
+#
+# This fallback implementation is for use when $DLLTOOL
+# does not support the --identify-strict option.
+# Invoked by eval'ing the libtool variable
+#    $sharedlib_from_linklib_cmd
+# Result is available in the variable
+#    $sharedlib_from_linklib_result
+func_cygming_dll_for_implib_fallback ()
+{
+  $opt_debug
+  if func_cygming_gnu_implib_p "$1" ; then
+    # binutils import library
+    sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"`
+  elif func_cygming_ms_implib_p "$1" ; then
+    # ms-generated import library
+    sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"`
+  else
+    # unknown
+    sharedlib_from_linklib_result=""
+  fi
+}
 
 
 # func_extract_an_archive dir oldlib
@@ -2598,7 +3715,18 @@ func_extract_an_archive ()
     $opt_debug
     f_ex_an_ar_dir="$1"; shift
     f_ex_an_ar_oldlib="$1"
-    func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?'
+    if test "$lock_old_archive_extraction" = yes; then
+      lockfile=$f_ex_an_ar_oldlib.lock
+      until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
+	func_echo "Waiting for $lockfile to be removed"
+	sleep 2
+      done
+    fi
+    func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \
+		   'stat=$?; rm -f "$lockfile"; exit $stat'
+    if test "$lock_old_archive_extraction" = yes; then
+      $opt_dry_run || rm -f "$lockfile"
+    fi
     if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
      :
     else
@@ -2669,7 +3797,7 @@ func_extract_archives ()
 	    darwin_file=
 	    darwin_files=
 	    for darwin_file in $darwin_filelist; do
-	      darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
+	      darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP`
 	      $LIPO -create -output "$darwin_file" $darwin_files
 	    done # $darwin_filelist
 	    $RM -rf unfat-$$
@@ -2684,25 +3812,30 @@ func_extract_archives ()
         func_extract_an_archive "$my_xdir" "$my_xabs"
 	;;
       esac
-      my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
+      my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
     done
 
     func_extract_archives_result="$my_oldobjs"
 }
 
 
-
-# func_emit_wrapper_part1 [arg=no]
+# func_emit_wrapper [arg=no]
+#
+# Emit a libtool wrapper script on stdout.
+# Don't directly open a file because we may want to
+# incorporate the script contents within a cygwin/mingw
+# wrapper executable.  Must ONLY be called from within
+# func_mode_link because it depends on a number of variables
+# set therein.
 #
-# Emit the first part of a libtool wrapper script on stdout.
-# For more information, see the description associated with
-# func_emit_wrapper(), below.
-func_emit_wrapper_part1 ()
+# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
+# variable will take.  If 'yes', then the emitted script
+# will assume that the directory in which it is stored is
+# the $objdir directory.  This is a cygwin/mingw-specific
+# behavior.
+func_emit_wrapper ()
 {
-	func_emit_wrapper_part1_arg1=no
-	if test -n "$1" ; then
-	  func_emit_wrapper_part1_arg1=$1
-	fi
+	func_emit_wrapper_arg1=${1-no}
 
 	$ECHO "\
 #! $SHELL
@@ -2718,7 +3851,6 @@ func_emit_wrapper_part1 ()
 
 # Sed substitution that helps us do robust quoting.  It backslashifies
 # metacharacters that are still active within double-quoted strings.
-Xsed='${SED} -e 1s/^X//'
 sed_quote_subst='$sed_quote_subst'
 
 # Be Bourne compatible
@@ -2749,31 +3881,135 @@ if test \"\$libtool_install_magic\" = \"$magic\"; then
 else
   # When we are sourced in execute mode, \$file and \$ECHO are already set.
   if test \"\$libtool_execute_magic\" != \"$magic\"; then
-    ECHO=\"$qecho\"
-    file=\"\$0\"
-    # Make sure echo works.
-    if test \"X\$1\" = X--no-reexec; then
-      # Discard the --no-reexec flag, and continue.
-      shift
-    elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then
-      # Yippee, \$ECHO works!
-      :
-    else
-      # Restart under the correct shell, and then maybe \$ECHO will work.
-      exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
-    fi
-  fi\
+    file=\"\$0\""
+
+    qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"`
+    $ECHO "\
+
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+  eval 'cat <<_LTECHO_EOF
+\$1
+_LTECHO_EOF'
+}
+    ECHO=\"$qECHO\"
+  fi
+
+# Very basic option parsing. These options are (a) specific to
+# the libtool wrapper, (b) are identical between the wrapper
+# /script/ and the wrapper /executable/ which is used only on
+# windows platforms, and (c) all begin with the string "--lt-"
+# (application programs are unlikely to have options which match
+# this pattern).
+#
+# There are only two supported options: --lt-debug and
+# --lt-dump-script. There is, deliberately, no --lt-help.
+#
+# The first argument to this parsing function should be the
+# script's $0 value, followed by "$@".
+lt_option_debug=
+func_parse_lt_options ()
+{
+  lt_script_arg0=\$0
+  shift
+  for lt_opt
+  do
+    case \"\$lt_opt\" in
+    --lt-debug) lt_option_debug=1 ;;
+    --lt-dump-script)
+        lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\`
+        test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=.
+        lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\`
+        cat \"\$lt_dump_D/\$lt_dump_F\"
+        exit 0
+      ;;
+    --lt-*)
+        \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2
+        exit 1
+      ;;
+    esac
+  done
+
+  # Print the debug banner immediately:
+  if test -n \"\$lt_option_debug\"; then
+    echo \"${outputname}:${output}:\${LINENO}: libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\" 1>&2
+  fi
+}
+
+# Used when --lt-debug. Prints its arguments to stdout
+# (redirection is the responsibility of the caller)
+func_lt_dump_args ()
+{
+  lt_dump_args_N=1;
+  for lt_arg
+  do
+    \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[\$lt_dump_args_N]: \$lt_arg\"
+    lt_dump_args_N=\`expr \$lt_dump_args_N + 1\`
+  done
+}
+
+# Core function for launching the target application
+func_exec_program_core ()
+{
 "
-	$ECHO "\
+  case $host in
+  # Backslashes separate directories on plain windows
+  *-*-mingw | *-*-os2* | *-cegcc*)
+    $ECHO "\
+      if test -n \"\$lt_option_debug\"; then
+        \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2
+        func_lt_dump_args \${1+\"\$@\"} 1>&2
+      fi
+      exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
+"
+    ;;
+
+  *)
+    $ECHO "\
+      if test -n \"\$lt_option_debug\"; then
+        \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2
+        func_lt_dump_args \${1+\"\$@\"} 1>&2
+      fi
+      exec \"\$progdir/\$program\" \${1+\"\$@\"}
+"
+    ;;
+  esac
+  $ECHO "\
+      \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
+      exit 1
+}
+
+# A function to encapsulate launching the target application
+# Strips options in the --lt-* namespace from \$@ and
+# launches target application with the remaining arguments.
+func_exec_program ()
+{
+  case \" \$* \" in
+  *\\ --lt-*)
+    for lt_wr_arg
+    do
+      case \$lt_wr_arg in
+      --lt-*) ;;
+      *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
+      esac
+      shift
+    done ;;
+  esac
+  func_exec_program_core \${1+\"\$@\"}
+}
+
+  # Parse options
+  func_parse_lt_options \"\$0\" \${1+\"\$@\"}
 
   # Find the directory that this script lives in.
-  thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
+  thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\`
   test \"x\$thisdir\" = \"x\$file\" && thisdir=.
 
   # Follow symbolic links until we get to the real thisdir.
-  file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
+  file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\`
   while test -n \"\$file\"; do
-    destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
+    destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\`
 
     # If there was a directory component, then change thisdir.
     if test \"x\$destdir\" != \"x\$file\"; then
@@ -2783,30 +4019,13 @@ else
       esac
     fi
 
-    file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
-    file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
+    file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\`
+    file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\`
   done
-"
-}
-# end: func_emit_wrapper_part1
-
-# func_emit_wrapper_part2 [arg=no]
-#
-# Emit the second part of a libtool wrapper script on stdout.
-# For more information, see the description associated with
-# func_emit_wrapper(), below.
-func_emit_wrapper_part2 ()
-{
-	func_emit_wrapper_part2_arg1=no
-	if test -n "$1" ; then
-	  func_emit_wrapper_part2_arg1=$1
-	fi
-
-	$ECHO "\
 
   # Usually 'no', except on cygwin/mingw when embedded into
   # the cwrapper.
-  WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1
+  WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1
   if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
     # special case for '.'
     if test \"\$thisdir\" = \".\"; then
@@ -2814,7 +4033,7 @@ func_emit_wrapper_part2 ()
     fi
     # remove .libs from thisdir
     case \"\$thisdir\" in
-    *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;;
+    *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;;
     $objdir )   thisdir=. ;;
     esac
   fi
@@ -2869,6 +4088,18 @@ func_emit_wrapper_part2 ()
 
   if test -f \"\$progdir/\$program\"; then"
 
+	# fixup the dll searchpath if we need to.
+	#
+	# Fix the DLL searchpath if we need to.  Do this before prepending
+	# to shlibpath, because on Windows, both are PATH and uninstalled
+	# libraries must come first.
+	if test -n "$dllsearchpath"; then
+	  $ECHO "\
+    # Add the dll search path components to the executable PATH
+    PATH=$dllsearchpath:\$PATH
+"
+	fi
+
 	# Export our shlibpath_var if we have one.
 	if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
 	  $ECHO "\
@@ -2877,253 +4108,28 @@ func_emit_wrapper_part2 ()
 
     # Some systems cannot cope with colon-terminated $shlibpath_var
     # The second colon is a workaround for a bug in BeOS R4 sed
-    $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
+    $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\`
 
     export $shlibpath_var
 "
 	fi
 
-	# fixup the dll searchpath if we need to.
-	if test -n "$dllsearchpath"; then
-	  $ECHO "\
-    # Add the dll search path components to the executable PATH
-    PATH=$dllsearchpath:\$PATH
-"
-	fi
-
 	$ECHO "\
     if test \"\$libtool_execute_magic\" != \"$magic\"; then
       # Run the actual program with our arguments.
-"
-	case $host in
-	# Backslashes separate directories on plain windows
-	*-*-mingw | *-*-os2* | *-cegcc*)
-	  $ECHO "\
-      exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
-"
-	  ;;
-
-	*)
-	  $ECHO "\
-      exec \"\$progdir/\$program\" \${1+\"\$@\"}
-"
-	  ;;
-	esac
-	$ECHO "\
-      \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
-      exit 1
+      func_exec_program \${1+\"\$@\"}
     fi
   else
     # The program doesn't exist.
     \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
     \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
-    $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
+    \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
     exit 1
   fi
 fi\
 "
 }
-# end: func_emit_wrapper_part2
-
-
-# func_emit_wrapper [arg=no]
-#
-# Emit a libtool wrapper script on stdout.
-# Don't directly open a file because we may want to
-# incorporate the script contents within a cygwin/mingw
-# wrapper executable.  Must ONLY be called from within
-# func_mode_link because it depends on a number of variables
-# set therein.
-#
-# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
-# variable will take.  If 'yes', then the emitted script
-# will assume that the directory in which it is stored is
-# the $objdir directory.  This is a cygwin/mingw-specific
-# behavior.
-func_emit_wrapper ()
-{
-	func_emit_wrapper_arg1=no
-	if test -n "$1" ; then
-	  func_emit_wrapper_arg1=$1
-	fi
-
-	# split this up so that func_emit_cwrapperexe_src
-	# can call each part independently.
-	func_emit_wrapper_part1 "${func_emit_wrapper_arg1}"
-	func_emit_wrapper_part2 "${func_emit_wrapper_arg1}"
-}
-
-
-# func_to_host_path arg
-#
-# Convert paths to host format when used with build tools.
-# Intended for use with "native" mingw (where libtool itself
-# is running under the msys shell), or in the following cross-
-# build environments:
-#    $build          $host
-#    mingw (msys)    mingw  [e.g. native]
-#    cygwin          mingw
-#    *nix + wine     mingw
-# where wine is equipped with the `winepath' executable.
-# In the native mingw case, the (msys) shell automatically
-# converts paths for any non-msys applications it launches,
-# but that facility isn't available from inside the cwrapper.
-# Similar accommodations are necessary for $host mingw and
-# $build cygwin.  Calling this function does no harm for other
-# $host/$build combinations not listed above.
-#
-# ARG is the path (on $build) that should be converted to
-# the proper representation for $host. The result is stored
-# in $func_to_host_path_result.
-func_to_host_path ()
-{
-  func_to_host_path_result="$1"
-  if test -n "$1" ; then
-    case $host in
-      *mingw* )
-        lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
-        case $build in
-          *mingw* ) # actually, msys
-            # awkward: cmd appends spaces to result
-            lt_sed_strip_trailing_spaces="s/[ ]*\$//"
-            func_to_host_path_tmp1=`( cmd //c echo "$1" |\
-              $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
-            func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
-              $SED -e "$lt_sed_naive_backslashify"`
-            ;;
-          *cygwin* )
-            func_to_host_path_tmp1=`cygpath -w "$1"`
-            func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
-              $SED -e "$lt_sed_naive_backslashify"`
-            ;;
-          * )
-            # Unfortunately, winepath does not exit with a non-zero
-            # error code, so we are forced to check the contents of
-            # stdout. On the other hand, if the command is not
-            # found, the shell will set an exit code of 127 and print
-            # *an error message* to stdout. So we must check for both
-            # error code of zero AND non-empty stdout, which explains
-            # the odd construction:
-            func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null`
-            if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then
-              func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
-                $SED -e "$lt_sed_naive_backslashify"`
-            else
-              # Allow warning below.
-              func_to_host_path_result=""
-            fi
-            ;;
-        esac
-        if test -z "$func_to_host_path_result" ; then
-          func_error "Could not determine host path corresponding to"
-          func_error "  '$1'"
-          func_error "Continuing, but uninstalled executables may not work."
-          # Fallback:
-          func_to_host_path_result="$1"
-        fi
-        ;;
-    esac
-  fi
-}
-# end: func_to_host_path
 
-# func_to_host_pathlist arg
-#
-# Convert pathlists to host format when used with build tools.
-# See func_to_host_path(), above. This function supports the
-# following $build/$host combinations (but does no harm for
-# combinations not listed here):
-#    $build          $host
-#    mingw (msys)    mingw  [e.g. native]
-#    cygwin          mingw
-#    *nix + wine     mingw
-#
-# Path separators are also converted from $build format to
-# $host format. If ARG begins or ends with a path separator
-# character, it is preserved (but converted to $host format)
-# on output.
-#
-# ARG is a pathlist (on $build) that should be converted to
-# the proper representation on $host. The result is stored
-# in $func_to_host_pathlist_result.
-func_to_host_pathlist ()
-{
-  func_to_host_pathlist_result="$1"
-  if test -n "$1" ; then
-    case $host in
-      *mingw* )
-        lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
-        # Remove leading and trailing path separator characters from
-        # ARG. msys behavior is inconsistent here, cygpath turns them
-        # into '.;' and ';.', and winepath ignores them completely.
-        func_to_host_pathlist_tmp2="$1"
-        # Once set for this call, this variable should not be
-        # reassigned. It is used in tha fallback case.
-        func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\
-          $SED -e 's|^:*||' -e 's|:*$||'`
-        case $build in
-          *mingw* ) # Actually, msys.
-            # Awkward: cmd appends spaces to result.
-            lt_sed_strip_trailing_spaces="s/[ ]*\$//"
-            func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\
-              $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
-            func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
-              $SED -e "$lt_sed_naive_backslashify"`
-            ;;
-          *cygwin* )
-            func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"`
-            func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
-              $SED -e "$lt_sed_naive_backslashify"`
-            ;;
-          * )
-            # unfortunately, winepath doesn't convert pathlists
-            func_to_host_pathlist_result=""
-            func_to_host_pathlist_oldIFS=$IFS
-            IFS=:
-            for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do
-              IFS=$func_to_host_pathlist_oldIFS
-              if test -n "$func_to_host_pathlist_f" ; then
-                func_to_host_path "$func_to_host_pathlist_f"
-                if test -n "$func_to_host_path_result" ; then
-                  if test -z "$func_to_host_pathlist_result" ; then
-                    func_to_host_pathlist_result="$func_to_host_path_result"
-                  else
-                    func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result"
-                  fi
-                fi
-              fi
-              IFS=:
-            done
-            IFS=$func_to_host_pathlist_oldIFS
-            ;;
-        esac
-        if test -z "$func_to_host_pathlist_result" ; then
-          func_error "Could not determine the host path(s) corresponding to"
-          func_error "  '$1'"
-          func_error "Continuing, but uninstalled executables may not work."
-          # Fallback. This may break if $1 contains DOS-style drive
-          # specifications. The fix is not to complicate the expression
-          # below, but for the user to provide a working wine installation
-          # with winepath so that path translation in the cross-to-mingw
-          # case works properly.
-          lt_replace_pathsep_nix_to_dos="s|:|;|g"
-          func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\
-            $SED -e "$lt_replace_pathsep_nix_to_dos"`
-        fi
-        # Now, add the leading and trailing path separators back
-        case "$1" in
-          :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result"
-            ;;
-        esac
-        case "$1" in
-          *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;"
-            ;;
-        esac
-        ;;
-    esac
-  fi
-}
-# end: func_to_host_pathlist
 
 # func_emit_cwrapperexe_src
 # emit the source code for a wrapper executable on stdout
@@ -3141,31 +4147,23 @@ func_emit_cwrapperexe_src ()
 
    This wrapper executable should never be moved out of the build directory.
    If it is, it will not operate correctly.
-
-   Currently, it simply execs the wrapper *script* "$SHELL $output",
-   but could eventually absorb all of the scripts functionality and
-   exec $objdir/$outputname directly.
 */
 EOF
 	    cat <<"EOF"
+#ifdef _MSC_VER
+# define _CRT_SECURE_NO_DEPRECATE 1
+#endif
 #include <stdio.h>
 #include <stdlib.h>
 #ifdef _MSC_VER
 # include <direct.h>
 # include <process.h>
 # include <io.h>
-# define setmode _setmode
 #else
 # include <unistd.h>
 # include <stdint.h>
 # ifdef __CYGWIN__
 #  include <io.h>
-#  define HAVE_SETENV
-#  ifdef __STRICT_ANSI__
-char *realpath (const char *, char *);
-int putenv (char *);
-int setenv (const char *, const char *, int);
-#  endif
 # endif
 #endif
 #include <malloc.h>
@@ -3177,6 +4175,44 @@ int setenv (const char *, const char *, int);
 #include <fcntl.h>
 #include <sys/stat.h>
 
+/* declarations of non-ANSI functions */
+#if defined(__MINGW32__)
+# ifdef __STRICT_ANSI__
+int _putenv (const char *);
+# endif
+#elif defined(__CYGWIN__)
+# ifdef __STRICT_ANSI__
+char *realpath (const char *, char *);
+int putenv (char *);
+int setenv (const char *, const char *, int);
+# endif
+/* #elif defined (other platforms) ... */
+#endif
+
+/* portability defines, excluding path handling macros */
+#if defined(_MSC_VER)
+# define setmode _setmode
+# define stat    _stat
+# define chmod   _chmod
+# define getcwd  _getcwd
+# define putenv  _putenv
+# define S_IXUSR _S_IEXEC
+# ifndef _INTPTR_T_DEFINED
+#  define _INTPTR_T_DEFINED
+#  define intptr_t int
+# endif
+#elif defined(__MINGW32__)
+# define setmode _setmode
+# define stat    _stat
+# define chmod   _chmod
+# define getcwd  _getcwd
+# define putenv  _putenv
+#elif defined(__CYGWIN__)
+# define HAVE_SETENV
+# define FOPEN_WB "wb"
+/* #elif defined (other platforms) ... */
+#endif
+
 #if defined(PATH_MAX)
 # define LT_PATHMAX PATH_MAX
 #elif defined(MAXPATHLEN)
@@ -3192,14 +4228,7 @@ int setenv (const char *, const char *, int);
 # define S_IXGRP 0
 #endif
 
-#ifdef _MSC_VER
-# define S_IXUSR _S_IEXEC
-# define stat _stat
-# ifndef _INTPTR_T_DEFINED
-#  define intptr_t int
-# endif
-#endif
-
+/* path handling portability macros */
 #ifndef DIR_SEPARATOR
 # define DIR_SEPARATOR '/'
 # define PATH_SEPARATOR ':'
@@ -3230,10 +4259,6 @@ int setenv (const char *, const char *, int);
 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
 #endif /* PATH_SEPARATOR_2 */
 
-#ifdef __CYGWIN__
-# define FOPEN_WB "wb"
-#endif
-
 #ifndef FOPEN_WB
 # define FOPEN_WB "w"
 #endif
@@ -3246,22 +4271,13 @@ int setenv (const char *, const char *, int);
   if (stale) { free ((void *) stale); stale = 0; } \
 } while (0)
 
-#undef LTWRAPPER_DEBUGPRINTF
-#if defined DEBUGWRAPPER
-# define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args
-static void
-ltwrapper_debugprintf (const char *fmt, ...)
-{
-    va_list args;
-    va_start (args, fmt);
-    (void) vfprintf (stderr, fmt, args);
-    va_end (args);
-}
+#if defined(LT_DEBUGWRAPPER)
+static int lt_debug = 1;
 #else
-# define LTWRAPPER_DEBUGPRINTF(args)
+static int lt_debug = 0;
 #endif
 
-const char *program_name = NULL;
+const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */
 
 void *xmalloc (size_t num);
 char *xstrdup (const char *string);
@@ -3271,41 +4287,27 @@ char *chase_symlinks (const char *pathspec);
 int make_executable (const char *path);
 int check_executable (const char *path);
 char *strendzap (char *str, const char *pat);
-void lt_fatal (const char *message, ...);
+void lt_debugprintf (const char *file, int line, const char *fmt, ...);
+void lt_fatal (const char *file, int line, const char *message, ...);
+static const char *nonnull (const char *s);
+static const char *nonempty (const char *s);
 void lt_setenv (const char *name, const char *value);
 char *lt_extend_str (const char *orig_value, const char *add, int to_end);
-void lt_opt_process_env_set (const char *arg);
-void lt_opt_process_env_prepend (const char *arg);
-void lt_opt_process_env_append (const char *arg);
-int lt_split_name_value (const char *arg, char** name, char** value);
 void lt_update_exe_path (const char *name, const char *value);
 void lt_update_lib_path (const char *name, const char *value);
-
-static const char *script_text_part1 =
-EOF
-
-	    func_emit_wrapper_part1 yes |
-	        $SED -e 's/\([\\"]\)/\\\1/g' \
-	             -e 's/^/  "/' -e 's/$/\\n"/'
-	    echo ";"
-	    cat <<EOF
-
-static const char *script_text_part2 =
+char **prepare_spawn (char **argv);
+void lt_dump_script (FILE *f);
 EOF
-	    func_emit_wrapper_part2 yes |
-	        $SED -e 's/\([\\"]\)/\\\1/g' \
-	             -e 's/^/  "/' -e 's/$/\\n"/'
-	    echo ";"
 
 	    cat <<EOF
-const char * MAGIC_EXE = "$magic_exe";
+volatile const char * MAGIC_EXE = "$magic_exe";
 const char * LIB_PATH_VARNAME = "$shlibpath_var";
 EOF
 
 	    if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
-              func_to_host_pathlist "$temp_rpath"
+              func_to_host_path "$temp_rpath"
 	      cat <<EOF
-const char * LIB_PATH_VALUE   = "$func_to_host_pathlist_result";
+const char * LIB_PATH_VALUE   = "$func_to_host_path_result";
 EOF
 	    else
 	      cat <<"EOF"
@@ -3314,10 +4316,10 @@ EOF
 	    fi
 
 	    if test -n "$dllsearchpath"; then
-              func_to_host_pathlist "$dllsearchpath:"
+              func_to_host_path "$dllsearchpath:"
 	      cat <<EOF
 const char * EXE_PATH_VARNAME = "PATH";
-const char * EXE_PATH_VALUE   = "$func_to_host_pathlist_result";
+const char * EXE_PATH_VALUE   = "$func_to_host_path_result";
 EOF
 	    else
 	      cat <<"EOF"
@@ -3340,24 +4342,10 @@ EOF
 	    cat <<"EOF"
 
 #define LTWRAPPER_OPTION_PREFIX         "--lt-"
-#define LTWRAPPER_OPTION_PREFIX_LENGTH  5
 
-static const size_t opt_prefix_len         = LTWRAPPER_OPTION_PREFIX_LENGTH;
 static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
-
 static const char *dumpscript_opt       = LTWRAPPER_OPTION_PREFIX "dump-script";
-
-static const size_t env_set_opt_len     = LTWRAPPER_OPTION_PREFIX_LENGTH + 7;
-static const char *env_set_opt          = LTWRAPPER_OPTION_PREFIX "env-set";
-  /* argument is putenv-style "foo=bar", value of foo is set to bar */
-
-static const size_t env_prepend_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 11;
-static const char *env_prepend_opt      = LTWRAPPER_OPTION_PREFIX "env-prepend";
-  /* argument is putenv-style "foo=bar", new value of foo is bar${foo} */
-
-static const size_t env_append_opt_len  = LTWRAPPER_OPTION_PREFIX_LENGTH + 10;
-static const char *env_append_opt       = LTWRAPPER_OPTION_PREFIX "env-append";
-  /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */
+static const char *debug_opt            = LTWRAPPER_OPTION_PREFIX "debug";
 
 int
 main (int argc, char *argv[])
@@ -3374,10 +4362,13 @@ main (int argc, char *argv[])
   int i;
 
   program_name = (char *) xstrdup (base_name (argv[0]));
-  LTWRAPPER_DEBUGPRINTF (("(main) argv[0]      : %s\n", argv[0]));
-  LTWRAPPER_DEBUGPRINTF (("(main) program_name : %s\n", program_name));
+  newargz = XMALLOC (char *, argc + 1);
 
-  /* very simple arg parsing; don't want to rely on getopt */
+  /* very simple arg parsing; don't want to rely on getopt
+   * also, copy all non cwrapper options to newargz, except
+   * argz[0], which is handled differently
+   */
+  newargc=0;
   for (i = 1; i < argc; i++)
     {
       if (strcmp (argv[i], dumpscript_opt) == 0)
@@ -3391,25 +4382,57 @@ EOF
 	      esac
 
 	    cat <<"EOF"
-	  printf ("%s", script_text_part1);
-	  printf ("%s", script_text_part2);
+	  lt_dump_script (stdout);
 	  return 0;
 	}
+      if (strcmp (argv[i], debug_opt) == 0)
+	{
+          lt_debug = 1;
+          continue;
+	}
+      if (strcmp (argv[i], ltwrapper_option_prefix) == 0)
+        {
+          /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
+             namespace, but it is not one of the ones we know about and
+             have already dealt with, above (inluding dump-script), then
+             report an error. Otherwise, targets might begin to believe
+             they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
+             namespace. The first time any user complains about this, we'll
+             need to make LTWRAPPER_OPTION_PREFIX a configure-time option
+             or a configure.ac-settable value.
+           */
+          lt_fatal (__FILE__, __LINE__,
+		    "unrecognized %s option: '%s'",
+                    ltwrapper_option_prefix, argv[i]);
+        }
+      /* otherwise ... */
+      newargz[++newargc] = xstrdup (argv[i]);
     }
+  newargz[++newargc] = NULL;
+
+EOF
+	    cat <<EOF
+  /* The GNU banner must be the first non-error debug message */
+  lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\n");
+EOF
+	    cat <<"EOF"
+  lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\n", argv[0]);
+  lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name);
 
-  newargz = XMALLOC (char *, argc + 1);
   tmp_pathspec = find_executable (argv[0]);
   if (tmp_pathspec == NULL)
-    lt_fatal ("Couldn't find %s", argv[0]);
-  LTWRAPPER_DEBUGPRINTF (("(main) found exe (before symlink chase) at : %s\n",
-			  tmp_pathspec));
+    lt_fatal (__FILE__, __LINE__, "couldn't find %s", argv[0]);
+  lt_debugprintf (__FILE__, __LINE__,
+                  "(main) found exe (before symlink chase) at: %s\n",
+		  tmp_pathspec);
 
   actual_cwrapper_path = chase_symlinks (tmp_pathspec);
-  LTWRAPPER_DEBUGPRINTF (("(main) found exe (after symlink chase) at : %s\n",
-			  actual_cwrapper_path));
+  lt_debugprintf (__FILE__, __LINE__,
+                  "(main) found exe (after symlink chase) at: %s\n",
+		  actual_cwrapper_path);
   XFREE (tmp_pathspec);
 
-  actual_cwrapper_name = xstrdup( base_name (actual_cwrapper_path));
+  actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path));
   strendzap (actual_cwrapper_path, actual_cwrapper_name);
 
   /* wrapper name transforms */
@@ -3427,8 +4450,9 @@ EOF
   target_name = tmp_pathspec;
   tmp_pathspec = 0;
 
-  LTWRAPPER_DEBUGPRINTF (("(main) libtool target name: %s\n",
-			  target_name));
+  lt_debugprintf (__FILE__, __LINE__,
+		  "(main) libtool target name: %s\n",
+		  target_name);
 EOF
 
 	    cat <<EOF
@@ -3478,80 +4502,19 @@ EOF
 
   lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
   lt_setenv ("DUALCASE", "1");  /* for MSK sh */
-  lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
+  /* Update the DLL searchpath.  EXE_PATH_VALUE ($dllsearchpath) must
+     be prepended before (that is, appear after) LIB_PATH_VALUE ($temp_rpath)
+     because on Windows, both *_VARNAMEs are PATH but uninstalled
+     libraries must come first. */
   lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
+  lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
 
-  newargc=0;
-  for (i = 1; i < argc; i++)
-    {
-      if (strncmp (argv[i], env_set_opt, env_set_opt_len) == 0)
-        {
-          if (argv[i][env_set_opt_len] == '=')
-            {
-              const char *p = argv[i] + env_set_opt_len + 1;
-              lt_opt_process_env_set (p);
-            }
-          else if (argv[i][env_set_opt_len] == '\0' && i + 1 < argc)
-            {
-              lt_opt_process_env_set (argv[++i]); /* don't copy */
-            }
-          else
-            lt_fatal ("%s missing required argument", env_set_opt);
-          continue;
-        }
-      if (strncmp (argv[i], env_prepend_opt, env_prepend_opt_len) == 0)
-        {
-          if (argv[i][env_prepend_opt_len] == '=')
-            {
-              const char *p = argv[i] + env_prepend_opt_len + 1;
-              lt_opt_process_env_prepend (p);
-            }
-          else if (argv[i][env_prepend_opt_len] == '\0' && i + 1 < argc)
-            {
-              lt_opt_process_env_prepend (argv[++i]); /* don't copy */
-            }
-          else
-            lt_fatal ("%s missing required argument", env_prepend_opt);
-          continue;
-        }
-      if (strncmp (argv[i], env_append_opt, env_append_opt_len) == 0)
-        {
-          if (argv[i][env_append_opt_len] == '=')
-            {
-              const char *p = argv[i] + env_append_opt_len + 1;
-              lt_opt_process_env_append (p);
-            }
-          else if (argv[i][env_append_opt_len] == '\0' && i + 1 < argc)
-            {
-              lt_opt_process_env_append (argv[++i]); /* don't copy */
-            }
-          else
-            lt_fatal ("%s missing required argument", env_append_opt);
-          continue;
-        }
-      if (strncmp (argv[i], ltwrapper_option_prefix, opt_prefix_len) == 0)
-        {
-          /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
-             namespace, but it is not one of the ones we know about and
-             have already dealt with, above (inluding dump-script), then
-             report an error. Otherwise, targets might begin to believe
-             they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
-             namespace. The first time any user complains about this, we'll
-             need to make LTWRAPPER_OPTION_PREFIX a configure-time option
-             or a configure.ac-settable value.
-           */
-          lt_fatal ("Unrecognized option in %s namespace: '%s'",
-                    ltwrapper_option_prefix, argv[i]);
-        }
-      /* otherwise ... */
-      newargz[++newargc] = xstrdup (argv[i]);
-    }
-  newargz[++newargc] = NULL;
-
-  LTWRAPPER_DEBUGPRINTF     (("(main) lt_argv_zero : %s\n", (lt_argv_zero ? lt_argv_zero : "<NULL>")));
+  lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n",
+		  nonnull (lt_argv_zero));
   for (i = 0; i < newargc; i++)
     {
-      LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d]   : %s\n", i, (newargz[i] ? newargz[i] : "<NULL>")));
+      lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n",
+		      i, nonnull (newargz[i]));
     }
 
 EOF
@@ -3560,11 +4523,14 @@ EOF
 	      mingw*)
 		cat <<"EOF"
   /* execv doesn't actually work on mingw as expected on unix */
+  newargz = prepare_spawn (newargz);
   rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
   if (rval == -1)
     {
       /* failed to start process */
-      LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno));
+      lt_debugprintf (__FILE__, __LINE__,
+		      "(main) failed to launch target \"%s\": %s\n",
+		      lt_argv_zero, nonnull (strerror (errno)));
       return 127;
     }
   return rval;
@@ -3586,7 +4552,7 @@ xmalloc (size_t num)
 {
   void *p = (void *) malloc (num);
   if (!p)
-    lt_fatal ("Memory exhausted");
+    lt_fatal (__FILE__, __LINE__, "memory exhausted");
 
   return p;
 }
@@ -3620,8 +4586,8 @@ check_executable (const char *path)
 {
   struct stat st;
 
-  LTWRAPPER_DEBUGPRINTF (("(check_executable)  : %s\n",
-			  path ? (*path ? path : "EMPTY!") : "NULL!"));
+  lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n",
+                  nonempty (path));
   if ((!path) || (!*path))
     return 0;
 
@@ -3638,8 +4604,8 @@ make_executable (const char *path)
   int rval = 0;
   struct stat st;
 
-  LTWRAPPER_DEBUGPRINTF (("(make_executable)   : %s\n",
-			  path ? (*path ? path : "EMPTY!") : "NULL!"));
+  lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n",
+                  nonempty (path));
   if ((!path) || (!*path))
     return 0;
 
@@ -3665,8 +4631,8 @@ find_executable (const char *wrapper)
   int tmp_len;
   char *concat_name;
 
-  LTWRAPPER_DEBUGPRINTF (("(find_executable)   : %s\n",
-			  wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"));
+  lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n",
+                  nonempty (wrapper));
 
   if ((wrapper == NULL) || (*wrapper == '\0'))
     return NULL;
@@ -3719,7 +4685,8 @@ find_executable (const char *wrapper)
 		{
 		  /* empty path: current directory */
 		  if (getcwd (tmp, LT_PATHMAX) == NULL)
-		    lt_fatal ("getcwd failed");
+		    lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
+                              nonnull (strerror (errno)));
 		  tmp_len = strlen (tmp);
 		  concat_name =
 		    XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
@@ -3744,7 +4711,8 @@ find_executable (const char *wrapper)
     }
   /* Relative path | not found in path: prepend cwd */
   if (getcwd (tmp, LT_PATHMAX) == NULL)
-    lt_fatal ("getcwd failed");
+    lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
+              nonnull (strerror (errno)));
   tmp_len = strlen (tmp);
   concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
   memcpy (concat_name, tmp, tmp_len);
@@ -3770,8 +4738,9 @@ chase_symlinks (const char *pathspec)
   int has_symlinks = 0;
   while (strlen (tmp_pathspec) && !has_symlinks)
     {
-      LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n",
-			      tmp_pathspec));
+      lt_debugprintf (__FILE__, __LINE__,
+		      "checking path component for symlinks: %s\n",
+		      tmp_pathspec);
       if (lstat (tmp_pathspec, &s) == 0)
 	{
 	  if (S_ISLNK (s.st_mode) != 0)
@@ -3793,8 +4762,9 @@ chase_symlinks (const char *pathspec)
 	}
       else
 	{
-	  char *errstr = strerror (errno);
-	  lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
+	  lt_fatal (__FILE__, __LINE__,
+		    "error accessing file \"%s\": %s",
+		    tmp_pathspec, nonnull (strerror (errno)));
 	}
     }
   XFREE (tmp_pathspec);
@@ -3807,7 +4777,8 @@ chase_symlinks (const char *pathspec)
   tmp_pathspec = realpath (pathspec, buf);
   if (tmp_pathspec == 0)
     {
-      lt_fatal ("Could not follow symlinks for %s", pathspec);
+      lt_fatal (__FILE__, __LINE__,
+		"could not follow symlinks for %s", pathspec);
     }
   return xstrdup (tmp_pathspec);
 #endif
@@ -3833,11 +4804,25 @@ strendzap (char *str, const char *pat)
   return str;
 }
 
+void
+lt_debugprintf (const char *file, int line, const char *fmt, ...)
+{
+  va_list args;
+  if (lt_debug)
+    {
+      (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line);
+      va_start (args, fmt);
+      (void) vfprintf (stderr, fmt, args);
+      va_end (args);
+    }
+}
+
 static void
-lt_error_core (int exit_status, const char *mode,
+lt_error_core (int exit_status, const char *file,
+	       int line, const char *mode,
 	       const char *message, va_list ap)
 {
-  fprintf (stderr, "%s: %s: ", program_name, mode);
+  fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode);
   vfprintf (stderr, message, ap);
   fprintf (stderr, ".\n");
 
@@ -3846,20 +4831,32 @@ lt_error_core (int exit_status, const char *mode,
 }
 
 void
-lt_fatal (const char *message, ...)
+lt_fatal (const char *file, int line, const char *message, ...)
 {
   va_list ap;
   va_start (ap, message);
-  lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
+  lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap);
   va_end (ap);
 }
 
+static const char *
+nonnull (const char *s)
+{
+  return s ? s : "(null)";
+}
+
+static const char *
+nonempty (const char *s)
+{
+  return (s && !*s) ? "(empty)" : nonnull (s);
+}
+
 void
 lt_setenv (const char *name, const char *value)
 {
-  LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n",
-                          (name ? name : "<NULL>"),
-                          (value ? value : "<NULL>")));
+  lt_debugprintf (__FILE__, __LINE__,
+		  "(lt_setenv) setting '%s' to '%s'\n",
+                  nonnull (name), nonnull (value));
   {
 #ifdef HAVE_SETENV
     /* always make a copy, for consistency with !HAVE_SETENV */
@@ -3904,95 +4901,12 @@ lt_extend_str (const char *orig_value, const char *add, int to_end)
   return new_value;
 }
 
-int
-lt_split_name_value (const char *arg, char** name, char** value)
-{
-  const char *p;
-  int len;
-  if (!arg || !*arg)
-    return 1;
-
-  p = strchr (arg, (int)'=');
-
-  if (!p)
-    return 1;
-
-  *value = xstrdup (++p);
-
-  len = strlen (arg) - strlen (*value);
-  *name = XMALLOC (char, len);
-  strncpy (*name, arg, len-1);
-  (*name)[len - 1] = '\0';
-
-  return 0;
-}
-
-void
-lt_opt_process_env_set (const char *arg)
-{
-  char *name = NULL;
-  char *value = NULL;
-
-  if (lt_split_name_value (arg, &name, &value) != 0)
-    {
-      XFREE (name);
-      XFREE (value);
-      lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg);
-    }
-
-  lt_setenv (name, value);
-  XFREE (name);
-  XFREE (value);
-}
-
-void
-lt_opt_process_env_prepend (const char *arg)
-{
-  char *name = NULL;
-  char *value = NULL;
-  char *new_value = NULL;
-
-  if (lt_split_name_value (arg, &name, &value) != 0)
-    {
-      XFREE (name);
-      XFREE (value);
-      lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg);
-    }
-
-  new_value = lt_extend_str (getenv (name), value, 0);
-  lt_setenv (name, new_value);
-  XFREE (new_value);
-  XFREE (name);
-  XFREE (value);
-}
-
-void
-lt_opt_process_env_append (const char *arg)
-{
-  char *name = NULL;
-  char *value = NULL;
-  char *new_value = NULL;
-
-  if (lt_split_name_value (arg, &name, &value) != 0)
-    {
-      XFREE (name);
-      XFREE (value);
-      lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg);
-    }
-
-  new_value = lt_extend_str (getenv (name), value, 1);
-  lt_setenv (name, new_value);
-  XFREE (new_value);
-  XFREE (name);
-  XFREE (value);
-}
-
 void
 lt_update_exe_path (const char *name, const char *value)
 {
-  LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
-                          (name ? name : "<NULL>"),
-                          (value ? value : "<NULL>")));
+  lt_debugprintf (__FILE__, __LINE__,
+		  "(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
+                  nonnull (name), nonnull (value));
 
   if (name && *name && value && *value)
     {
@@ -4011,9 +4925,9 @@ lt_update_exe_path (const char *name, const char *value)
 void
 lt_update_lib_path (const char *name, const char *value)
 {
-  LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
-                          (name ? name : "<NULL>"),
-                          (value ? value : "<NULL>")));
+  lt_debugprintf (__FILE__, __LINE__,
+		  "(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
+                  nonnull (name), nonnull (value));
 
   if (name && *name && value && *value)
     {
@@ -4023,11 +4937,158 @@ lt_update_lib_path (const char *name, const char *value)
     }
 }
 
+EOF
+	    case $host_os in
+	      mingw*)
+		cat <<"EOF"
+
+/* Prepares an argument vector before calling spawn().
+   Note that spawn() does not by itself call the command interpreter
+     (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") :
+      ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
+         GetVersionEx(&v);
+         v.dwPlatformId == VER_PLATFORM_WIN32_NT;
+      }) ? "cmd.exe" : "command.com").
+   Instead it simply concatenates the arguments, separated by ' ', and calls
+   CreateProcess().  We must quote the arguments since Win32 CreateProcess()
+   interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a
+   special way:
+   - Space and tab are interpreted as delimiters. They are not treated as
+     delimiters if they are surrounded by double quotes: "...".
+   - Unescaped double quotes are removed from the input. Their only effect is
+     that within double quotes, space and tab are treated like normal
+     characters.
+   - Backslashes not followed by double quotes are not special.
+   - But 2*n+1 backslashes followed by a double quote become
+     n backslashes followed by a double quote (n >= 0):
+       \" -> "
+       \\\" -> \"
+       \\\\\" -> \\"
+ */
+#define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
+#define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
+char **
+prepare_spawn (char **argv)
+{
+  size_t argc;
+  char **new_argv;
+  size_t i;
+
+  /* Count number of arguments.  */
+  for (argc = 0; argv[argc] != NULL; argc++)
+    ;
+
+  /* Allocate new argument vector.  */
+  new_argv = XMALLOC (char *, argc + 1);
+
+  /* Put quoted arguments into the new argument vector.  */
+  for (i = 0; i < argc; i++)
+    {
+      const char *string = argv[i];
+
+      if (string[0] == '\0')
+	new_argv[i] = xstrdup ("\"\"");
+      else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL)
+	{
+	  int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL);
+	  size_t length;
+	  unsigned int backslashes;
+	  const char *s;
+	  char *quoted_string;
+	  char *p;
+
+	  length = 0;
+	  backslashes = 0;
+	  if (quote_around)
+	    length++;
+	  for (s = string; *s != '\0'; s++)
+	    {
+	      char c = *s;
+	      if (c == '"')
+		length += backslashes + 1;
+	      length++;
+	      if (c == '\\')
+		backslashes++;
+	      else
+		backslashes = 0;
+	    }
+	  if (quote_around)
+	    length += backslashes + 1;
+
+	  quoted_string = XMALLOC (char, length + 1);
+
+	  p = quoted_string;
+	  backslashes = 0;
+	  if (quote_around)
+	    *p++ = '"';
+	  for (s = string; *s != '\0'; s++)
+	    {
+	      char c = *s;
+	      if (c == '"')
+		{
+		  unsigned int j;
+		  for (j = backslashes + 1; j > 0; j--)
+		    *p++ = '\\';
+		}
+	      *p++ = c;
+	      if (c == '\\')
+		backslashes++;
+	      else
+		backslashes = 0;
+	    }
+	  if (quote_around)
+	    {
+	      unsigned int j;
+	      for (j = backslashes; j > 0; j--)
+		*p++ = '\\';
+	      *p++ = '"';
+	    }
+	  *p = '\0';
+
+	  new_argv[i] = quoted_string;
+	}
+      else
+	new_argv[i] = (char *) string;
+    }
+  new_argv[argc] = NULL;
+
+  return new_argv;
+}
+EOF
+		;;
+	    esac
 
+            cat <<"EOF"
+void lt_dump_script (FILE* f)
+{
+EOF
+	    func_emit_wrapper yes |
+	      $SED -n -e '
+s/^\(.\{79\}\)\(..*\)/\1\
+\2/
+h
+s/\([\\"]\)/\\\1/g
+s/$/\\n/
+s/\([^\n]*\).*/  fputs ("\1", f);/p
+g
+D'
+            cat <<"EOF"
+}
 EOF
 }
 # end: func_emit_cwrapperexe_src
 
+# func_win32_import_lib_p ARG
+# True if ARG is an import lib, as indicated by $file_magic_cmd
+func_win32_import_lib_p ()
+{
+    $opt_debug
+    case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in
+    *import*) : ;;
+    *) false ;;
+    esac
+}
+
 # func_mode_link arg...
 func_mode_link ()
 {
@@ -4072,6 +5133,7 @@ func_mode_link ()
     new_inherited_linker_flags=
 
     avoid_version=no
+    bindir=
     dlfiles=
     dlprefiles=
     dlself=no
@@ -4164,6 +5226,11 @@ func_mode_link ()
 	esac
 
 	case $prev in
+	bindir)
+	  bindir="$arg"
+	  prev=
+	  continue
+	  ;;
 	dlfiles|dlprefiles)
 	  if test "$preload" = no; then
 	    # Add the symbol object into the linking commands.
@@ -4195,9 +5262,9 @@ func_mode_link ()
 	    ;;
 	  *)
 	    if test "$prev" = dlfiles; then
-	      dlfiles="$dlfiles $arg"
+	      func_append dlfiles " $arg"
 	    else
-	      dlprefiles="$dlprefiles $arg"
+	      func_append dlprefiles " $arg"
 	    fi
 	    prev=
 	    continue
@@ -4221,7 +5288,7 @@ func_mode_link ()
 	    *-*-darwin*)
 	      case "$deplibs " in
 		*" $qarg.ltframework "*) ;;
-		*) deplibs="$deplibs $qarg.ltframework" # this is fixed later
+		*) func_append deplibs " $qarg.ltframework" # this is fixed later
 		   ;;
 	      esac
 	      ;;
@@ -4240,7 +5307,7 @@ func_mode_link ()
 	    moreargs=
 	    for fil in `cat "$save_arg"`
 	    do
-#	      moreargs="$moreargs $fil"
+#	      func_append moreargs " $fil"
 	      arg=$fil
 	      # A libtool-controlled object.
 
@@ -4269,7 +5336,7 @@ func_mode_link ()
 
 		  if test "$prev" = dlfiles; then
 		    if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
-		      dlfiles="$dlfiles $pic_object"
+		      func_append dlfiles " $pic_object"
 		      prev=
 		      continue
 		    else
@@ -4281,7 +5348,7 @@ func_mode_link ()
 		  # CHECK ME:  I think I busted this.  -Ossama
 		  if test "$prev" = dlprefiles; then
 		    # Preload the old-style object.
-		    dlprefiles="$dlprefiles $pic_object"
+		    func_append dlprefiles " $pic_object"
 		    prev=
 		  fi
 
@@ -4351,12 +5418,12 @@ func_mode_link ()
 	  if test "$prev" = rpath; then
 	    case "$rpath " in
 	    *" $arg "*) ;;
-	    *) rpath="$rpath $arg" ;;
+	    *) func_append rpath " $arg" ;;
 	    esac
 	  else
 	    case "$xrpath " in
 	    *" $arg "*) ;;
-	    *) xrpath="$xrpath $arg" ;;
+	    *) func_append xrpath " $arg" ;;
 	    esac
 	  fi
 	  prev=
@@ -4368,28 +5435,28 @@ func_mode_link ()
 	  continue
 	  ;;
 	weak)
-	  weak_libs="$weak_libs $arg"
+	  func_append weak_libs " $arg"
 	  prev=
 	  continue
 	  ;;
 	xcclinker)
-	  linker_flags="$linker_flags $qarg"
-	  compiler_flags="$compiler_flags $qarg"
+	  func_append linker_flags " $qarg"
+	  func_append compiler_flags " $qarg"
 	  prev=
 	  func_append compile_command " $qarg"
 	  func_append finalize_command " $qarg"
 	  continue
 	  ;;
 	xcompiler)
-	  compiler_flags="$compiler_flags $qarg"
+	  func_append compiler_flags " $qarg"
 	  prev=
 	  func_append compile_command " $qarg"
 	  func_append finalize_command " $qarg"
 	  continue
 	  ;;
 	xlinker)
-	  linker_flags="$linker_flags $qarg"
-	  compiler_flags="$compiler_flags $wl$qarg"
+	  func_append linker_flags " $qarg"
+	  func_append compiler_flags " $wl$qarg"
 	  prev=
 	  func_append compile_command " $wl$qarg"
 	  func_append finalize_command " $wl$qarg"
@@ -4425,6 +5492,11 @@ func_mode_link ()
 	continue
 	;;
 
+      -bindir)
+	prev=bindir
+	continue
+	;;
+
       -dlopen)
 	prev=dlfiles
 	continue
@@ -4475,15 +5547,16 @@ func_mode_link ()
 	;;
 
       -L*)
-	func_stripname '-L' '' "$arg"
-	dir=$func_stripname_result
-	if test -z "$dir"; then
+	func_stripname "-L" '' "$arg"
+	if test -z "$func_stripname_result"; then
 	  if test "$#" -gt 0; then
 	    func_fatal_error "require no space between \`-L' and \`$1'"
 	  else
 	    func_fatal_error "need path for \`-L' option"
 	  fi
 	fi
+	func_resolve_sysroot "$func_stripname_result"
+	dir=$func_resolve_sysroot_result
 	# We need an absolute path.
 	case $dir in
 	[\\/]* | [A-Za-z]:[\\/]*) ;;
@@ -4495,24 +5568,30 @@ func_mode_link ()
 	  ;;
 	esac
 	case "$deplibs " in
-	*" -L$dir "*) ;;
+	*" -L$dir "* | *" $arg "*)
+	  # Will only happen for absolute or sysroot arguments
+	  ;;
 	*)
-	  deplibs="$deplibs -L$dir"
-	  lib_search_path="$lib_search_path $dir"
+	  # Preserve sysroot, but never include relative directories
+	  case $dir in
+	    [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;;
+	    *) func_append deplibs " -L$dir" ;;
+	  esac
+	  func_append lib_search_path " $dir"
 	  ;;
 	esac
 	case $host in
 	*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
-	  testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'`
+	  testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'`
 	  case :$dllsearchpath: in
 	  *":$dir:"*) ;;
 	  ::) dllsearchpath=$dir;;
-	  *) dllsearchpath="$dllsearchpath:$dir";;
+	  *) func_append dllsearchpath ":$dir";;
 	  esac
 	  case :$dllsearchpath: in
 	  *":$testbindir:"*) ;;
 	  ::) dllsearchpath=$testbindir;;
-	  *) dllsearchpath="$dllsearchpath:$testbindir";;
+	  *) func_append dllsearchpath ":$testbindir";;
 	  esac
 	  ;;
 	esac
@@ -4522,7 +5601,7 @@ func_mode_link ()
       -l*)
 	if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
 	  case $host in
-	  *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*)
+	  *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
 	    # These systems don't actually have a C or math library (as such)
 	    continue
 	    ;;
@@ -4536,7 +5615,7 @@ func_mode_link ()
 	    ;;
 	  *-*-rhapsody* | *-*-darwin1.[012])
 	    # Rhapsody C and math libraries are in the System framework
-	    deplibs="$deplibs System.ltframework"
+	    func_append deplibs " System.ltframework"
 	    continue
 	    ;;
 	  *-*-sco3.2v5* | *-*-sco5v6*)
@@ -4556,7 +5635,7 @@ func_mode_link ()
 	   ;;
 	 esac
 	fi
-	deplibs="$deplibs $arg"
+	func_append deplibs " $arg"
 	continue
 	;;
 
@@ -4568,21 +5647,22 @@ func_mode_link ()
       # Tru64 UNIX uses -model [arg] to determine the layout of C++
       # classes, name mangling, and exception handling.
       # Darwin uses the -arch flag to determine output architecture.
-      -model|-arch|-isysroot)
-	compiler_flags="$compiler_flags $arg"
+      -model|-arch|-isysroot|--sysroot)
+	func_append compiler_flags " $arg"
 	func_append compile_command " $arg"
 	func_append finalize_command " $arg"
 	prev=xcompiler
 	continue
 	;;
 
-      -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
-	compiler_flags="$compiler_flags $arg"
+      -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
+      |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
+	func_append compiler_flags " $arg"
 	func_append compile_command " $arg"
 	func_append finalize_command " $arg"
 	case "$new_inherited_linker_flags " in
 	    *" $arg "*) ;;
-	    * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;;
+	    * ) func_append new_inherited_linker_flags " $arg" ;;
 	esac
 	continue
 	;;
@@ -4649,13 +5729,17 @@ func_mode_link ()
 	# We need an absolute path.
 	case $dir in
 	[\\/]* | [A-Za-z]:[\\/]*) ;;
+	=*)
+	  func_stripname '=' '' "$dir"
+	  dir=$lt_sysroot$func_stripname_result
+	  ;;
 	*)
 	  func_fatal_error "only absolute run-paths are allowed"
 	  ;;
 	esac
 	case "$xrpath " in
 	*" $dir "*) ;;
-	*) xrpath="$xrpath $dir" ;;
+	*) func_append xrpath " $dir" ;;
 	esac
 	continue
 	;;
@@ -4708,8 +5792,8 @@ func_mode_link ()
 	for flag in $args; do
 	  IFS="$save_ifs"
           func_quote_for_eval "$flag"
-	  arg="$arg $wl$func_quote_for_eval_result"
-	  compiler_flags="$compiler_flags $func_quote_for_eval_result"
+	  func_append arg " $func_quote_for_eval_result"
+	  func_append compiler_flags " $func_quote_for_eval_result"
 	done
 	IFS="$save_ifs"
 	func_stripname ' ' '' "$arg"
@@ -4724,9 +5808,9 @@ func_mode_link ()
 	for flag in $args; do
 	  IFS="$save_ifs"
           func_quote_for_eval "$flag"
-	  arg="$arg $wl$func_quote_for_eval_result"
-	  compiler_flags="$compiler_flags $wl$func_quote_for_eval_result"
-	  linker_flags="$linker_flags $func_quote_for_eval_result"
+	  func_append arg " $wl$func_quote_for_eval_result"
+	  func_append compiler_flags " $wl$func_quote_for_eval_result"
+	  func_append linker_flags " $func_quote_for_eval_result"
 	done
 	IFS="$save_ifs"
 	func_stripname ' ' '' "$arg"
@@ -4754,23 +5838,28 @@ func_mode_link ()
 	arg="$func_quote_for_eval_result"
 	;;
 
-      # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
-      # -r[0-9][0-9]* specifies the processor on the SGI compiler
-      # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
-      # +DA*, +DD* enable 64-bit mode on the HP compiler
-      # -q* pass through compiler args for the IBM compiler
-      # -m*, -t[45]*, -txscale* pass through architecture-specific
-      # compiler args for GCC
-      # -F/path gives path to uninstalled frameworks, gcc on darwin
-      # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
-      # @file GCC response files
+      # Flags to be passed through unchanged, with rationale:
+      # -64, -mips[0-9]      enable 64-bit mode for the SGI compiler
+      # -r[0-9][0-9]*        specify processor for the SGI compiler
+      # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler
+      # +DA*, +DD*           enable 64-bit mode for the HP compiler
+      # -q*                  compiler args for the IBM compiler
+      # -m*, -t[45]*, -txscale* architecture-specific flags for GCC
+      # -F/path              path to uninstalled frameworks, gcc on darwin
+      # -p, -pg, --coverage, -fprofile-*  profiling flags for GCC
+      # @file                GCC response files
+      # -tp=*                Portland pgcc target processor selection
+      # --sysroot=*          for sysroot support
+      # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
+      # -stdlib=*            select c++ std lib with clang
       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
-      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
+      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
+      -O*|-flto*|-fwhopr*|-fuse-linker-plugin|-stdlib=*)
         func_quote_for_eval "$arg"
 	arg="$func_quote_for_eval_result"
         func_append compile_command " $arg"
         func_append finalize_command " $arg"
-        compiler_flags="$compiler_flags $arg"
+        func_append compiler_flags " $arg"
         continue
         ;;
 
@@ -4782,7 +5871,7 @@ func_mode_link ()
 
       *.$objext)
 	# A standard object.
-	objs="$objs $arg"
+	func_append objs " $arg"
 	;;
 
       *.lo)
@@ -4813,7 +5902,7 @@ func_mode_link ()
 
 	    if test "$prev" = dlfiles; then
 	      if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
-		dlfiles="$dlfiles $pic_object"
+		func_append dlfiles " $pic_object"
 		prev=
 		continue
 	      else
@@ -4825,7 +5914,7 @@ func_mode_link ()
 	    # CHECK ME:  I think I busted this.  -Ossama
 	    if test "$prev" = dlprefiles; then
 	      # Preload the old-style object.
-	      dlprefiles="$dlprefiles $pic_object"
+	      func_append dlprefiles " $pic_object"
 	      prev=
 	    fi
 
@@ -4870,24 +5959,25 @@ func_mode_link ()
 
       *.$libext)
 	# An archive.
-	deplibs="$deplibs $arg"
-	old_deplibs="$old_deplibs $arg"
+	func_append deplibs " $arg"
+	func_append old_deplibs " $arg"
 	continue
 	;;
 
       *.la)
 	# A libtool-controlled library.
 
+	func_resolve_sysroot "$arg"
 	if test "$prev" = dlfiles; then
 	  # This library was specified with -dlopen.
-	  dlfiles="$dlfiles $arg"
+	  func_append dlfiles " $func_resolve_sysroot_result"
 	  prev=
 	elif test "$prev" = dlprefiles; then
 	  # The library was specified with -dlpreopen.
-	  dlprefiles="$dlprefiles $arg"
+	  func_append dlprefiles " $func_resolve_sysroot_result"
 	  prev=
 	else
-	  deplibs="$deplibs $arg"
+	  func_append deplibs " $func_resolve_sysroot_result"
 	fi
 	continue
 	;;
@@ -4925,7 +6015,7 @@ func_mode_link ()
 
     if test -n "$shlibpath_var"; then
       # get the directories listed in $shlibpath_var
-      eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
+      eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\`
     else
       shlib_search_path=
     fi
@@ -4934,6 +6024,8 @@ func_mode_link ()
 
     func_dirname "$output" "/" ""
     output_objdir="$func_dirname_result$objdir"
+    func_to_tool_file "$output_objdir/"
+    tool_output_objdir=$func_to_tool_file_result
     # Create the object directory.
     func_mkdir_p "$output_objdir"
 
@@ -4954,12 +6046,12 @@ func_mode_link ()
     # Find all interdependent deplibs by searching for libraries
     # that are linked more than once (e.g. -la -lb -la)
     for deplib in $deplibs; do
-      if $opt_duplicate_deps ; then
+      if $opt_preserve_dup_deps ; then
 	case "$libs " in
-	*" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+	*" $deplib "*) func_append specialdeplibs " $deplib" ;;
 	esac
       fi
-      libs="$libs $deplib"
+      func_append libs " $deplib"
     done
 
     if test "$linkmode" = lib; then
@@ -4972,9 +6064,9 @@ func_mode_link ()
       if $opt_duplicate_compiler_generated_deps; then
 	for pre_post_dep in $predeps $postdeps; do
 	  case "$pre_post_deps " in
-	  *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
+	  *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;;
 	  esac
-	  pre_post_deps="$pre_post_deps $pre_post_dep"
+	  func_append pre_post_deps " $pre_post_dep"
 	done
       fi
       pre_post_deps=
@@ -5033,10 +6125,7 @@ func_mode_link ()
 	case $pass in
 	dlopen) libs="$dlfiles" ;;
 	dlpreopen) libs="$dlprefiles" ;;
-	link)
-	  libs="$deplibs %DEPLIBS%"
-	  test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
-	  ;;
+	link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
 	esac
       fi
       if test "$linkmode,$pass" = "lib,dlpreopen"; then
@@ -5044,17 +6133,19 @@ func_mode_link ()
 	for lib in $dlprefiles; do
 	  # Ignore non-libtool-libs
 	  dependency_libs=
+	  func_resolve_sysroot "$lib"
 	  case $lib in
-	  *.la)	func_source "$lib" ;;
+	  *.la)	func_source "$func_resolve_sysroot_result" ;;
 	  esac
 
 	  # Collect preopened libtool deplibs, except any this library
 	  # has declared as weak libs
 	  for deplib in $dependency_libs; do
-            deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"`
+	    func_basename "$deplib"
+            deplib_base=$func_basename_result
 	    case " $weak_libs " in
 	    *" $deplib_base "*) ;;
-	    *) deplibs="$deplibs $deplib" ;;
+	    *) func_append deplibs " $deplib" ;;
 	    esac
 	  done
 	done
@@ -5070,16 +6161,17 @@ func_mode_link ()
 	lib=
 	found=no
 	case $deplib in
-	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
+	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
+        |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
 	  if test "$linkmode,$pass" = "prog,link"; then
 	    compile_deplibs="$deplib $compile_deplibs"
 	    finalize_deplibs="$deplib $finalize_deplibs"
 	  else
-	    compiler_flags="$compiler_flags $deplib"
+	    func_append compiler_flags " $deplib"
 	    if test "$linkmode" = lib ; then
 		case "$new_inherited_linker_flags " in
 		    *" $deplib "*) ;;
-		    * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
+		    * ) func_append new_inherited_linker_flags " $deplib" ;;
 		esac
 	    fi
 	  fi
@@ -5164,7 +6256,7 @@ func_mode_link ()
 	    if test "$linkmode" = lib ; then
 		case "$new_inherited_linker_flags " in
 		    *" $deplib "*) ;;
-		    * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
+		    * ) func_append new_inherited_linker_flags " $deplib" ;;
 		esac
 	    fi
 	  fi
@@ -5177,7 +6269,8 @@ func_mode_link ()
 	    test "$pass" = conv && continue
 	    newdependency_libs="$deplib $newdependency_libs"
 	    func_stripname '-L' '' "$deplib"
-	    newlib_search_path="$newlib_search_path $func_stripname_result"
+	    func_resolve_sysroot "$func_stripname_result"
+	    func_append newlib_search_path " $func_resolve_sysroot_result"
 	    ;;
 	  prog)
 	    if test "$pass" = conv; then
@@ -5191,7 +6284,8 @@ func_mode_link ()
 	      finalize_deplibs="$deplib $finalize_deplibs"
 	    fi
 	    func_stripname '-L' '' "$deplib"
-	    newlib_search_path="$newlib_search_path $func_stripname_result"
+	    func_resolve_sysroot "$func_stripname_result"
+	    func_append newlib_search_path " $func_resolve_sysroot_result"
 	    ;;
 	  *)
 	    func_warning "\`-L' is ignored for archives/objects"
@@ -5202,17 +6296,21 @@ func_mode_link ()
 	-R*)
 	  if test "$pass" = link; then
 	    func_stripname '-R' '' "$deplib"
-	    dir=$func_stripname_result
+	    func_resolve_sysroot "$func_stripname_result"
+	    dir=$func_resolve_sysroot_result
 	    # Make sure the xrpath contains only unique directories.
 	    case "$xrpath " in
 	    *" $dir "*) ;;
-	    *) xrpath="$xrpath $dir" ;;
+	    *) func_append xrpath " $dir" ;;
 	    esac
 	  fi
 	  deplibs="$deplib $deplibs"
 	  continue
 	  ;;
-	*.la) lib="$deplib" ;;
+	*.la)
+	  func_resolve_sysroot "$deplib"
+	  lib=$func_resolve_sysroot_result
+	  ;;
 	*.$libext)
 	  if test "$pass" = conv; then
 	    deplibs="$deplib $deplibs"
@@ -5230,7 +6328,7 @@ func_mode_link ()
 		match_pattern*)
 		  set dummy $deplibs_check_method; shift
 		  match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
-		  if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \
+		  if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \
 		    | $EGREP "$match_pattern_regex" > /dev/null; then
 		    valid_a_lib=yes
 		  fi
@@ -5240,15 +6338,15 @@ func_mode_link ()
 		;;
 	      esac
 	      if test "$valid_a_lib" != yes; then
-		$ECHO
+		echo
 		$ECHO "*** Warning: Trying to link with static lib archive $deplib."
-		$ECHO "*** I have the capability to make that library automatically link in when"
-		$ECHO "*** you link to this library.  But I can only do this if you have a"
-		$ECHO "*** shared version of the library, which you do not appear to have"
-		$ECHO "*** because the file extensions .$libext of this argument makes me believe"
-		$ECHO "*** that it is just a static archive that I should not use here."
+		echo "*** I have the capability to make that library automatically link in when"
+		echo "*** you link to this library.  But I can only do this if you have a"
+		echo "*** shared version of the library, which you do not appear to have"
+		echo "*** because the file extensions .$libext of this argument makes me believe"
+		echo "*** that it is just a static archive that I should not use here."
 	      else
-		$ECHO
+		echo
 		$ECHO "*** Warning: Linking the shared library $output against the"
 		$ECHO "*** static library $deplib is not portable!"
 		deplibs="$deplib $deplibs"
@@ -5275,11 +6373,11 @@ func_mode_link ()
 	    if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
 	      # If there is no dlopen support or we're linking statically,
 	      # we need to preload.
-	      newdlprefiles="$newdlprefiles $deplib"
+	      func_append newdlprefiles " $deplib"
 	      compile_deplibs="$deplib $compile_deplibs"
 	      finalize_deplibs="$deplib $finalize_deplibs"
 	    else
-	      newdlfiles="$newdlfiles $deplib"
+	      func_append newdlfiles " $deplib"
 	    fi
 	  fi
 	  continue
@@ -5321,20 +6419,20 @@ func_mode_link ()
 
 	# Convert "-framework foo" to "foo.ltframework"
 	if test -n "$inherited_linker_flags"; then
-	  tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'`
+	  tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'`
 	  for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
 	    case " $new_inherited_linker_flags " in
 	      *" $tmp_inherited_linker_flag "*) ;;
-	      *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";;
+	      *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";;
 	    esac
 	  done
 	fi
-	dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
+	dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
 	if test "$linkmode,$pass" = "lib,link" ||
 	   test "$linkmode,$pass" = "prog,scan" ||
 	   { test "$linkmode" != prog && test "$linkmode" != lib; }; then
-	  test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
-	  test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
+	  test -n "$dlopen" && func_append dlfiles " $dlopen"
+	  test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen"
 	fi
 
 	if test "$pass" = conv; then
@@ -5345,30 +6443,36 @@ func_mode_link ()
 	      func_fatal_error "cannot find name of link library for \`$lib'"
 	    fi
 	    # It is a libtool convenience library, so add in its objects.
-	    convenience="$convenience $ladir/$objdir/$old_library"
-	    old_convenience="$old_convenience $ladir/$objdir/$old_library"
-	    tmp_libs=
-	    for deplib in $dependency_libs; do
-	      deplibs="$deplib $deplibs"
-	      if $opt_duplicate_deps ; then
-		case "$tmp_libs " in
-		*" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
-		esac
-	      fi
-	      tmp_libs="$tmp_libs $deplib"
-	    done
+	    func_append convenience " $ladir/$objdir/$old_library"
+	    func_append old_convenience " $ladir/$objdir/$old_library"
 	  elif test "$linkmode" != prog && test "$linkmode" != lib; then
 	    func_fatal_error "\`$lib' is not a convenience library"
 	  fi
+	  tmp_libs=
+	  for deplib in $dependency_libs; do
+	    deplibs="$deplib $deplibs"
+	    if $opt_preserve_dup_deps ; then
+	      case "$tmp_libs " in
+	      *" $deplib "*) func_append specialdeplibs " $deplib" ;;
+	      esac
+	    fi
+	    func_append tmp_libs " $deplib"
+	  done
 	  continue
 	fi # $pass = conv
 
 
 	# Get the name of the library we link against.
 	linklib=
-	for l in $old_library $library_names; do
-	  linklib="$l"
-	done
+	if test -n "$old_library" &&
+	   { test "$prefer_static_libs" = yes ||
+	     test "$prefer_static_libs,$installed" = "built,no"; }; then
+	  linklib=$old_library
+	else
+	  for l in $old_library $library_names; do
+	    linklib="$l"
+	  done
+	fi
 	if test -z "$linklib"; then
 	  func_fatal_error "cannot find name of link library for \`$lib'"
 	fi
@@ -5385,9 +6489,9 @@ func_mode_link ()
 	    # statically, we need to preload.  We also need to preload any
 	    # dependent libraries so libltdl's deplib preloader doesn't
 	    # bomb out in the load deplibs phase.
-	    dlprefiles="$dlprefiles $lib $dependency_libs"
+	    func_append dlprefiles " $lib $dependency_libs"
 	  else
-	    newdlfiles="$newdlfiles $lib"
+	    func_append newdlfiles " $lib"
 	  fi
 	  continue
 	fi # $pass = dlopen
@@ -5409,14 +6513,14 @@ func_mode_link ()
 
 	# Find the relevant object directory and library name.
 	if test "X$installed" = Xyes; then
-	  if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
+	  if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
 	    func_warning "library \`$lib' was moved."
 	    dir="$ladir"
 	    absdir="$abs_ladir"
 	    libdir="$abs_ladir"
 	  else
-	    dir="$libdir"
-	    absdir="$libdir"
+	    dir="$lt_sysroot$libdir"
+	    absdir="$lt_sysroot$libdir"
 	  fi
 	  test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
 	else
@@ -5424,12 +6528,12 @@ func_mode_link ()
 	    dir="$ladir"
 	    absdir="$abs_ladir"
 	    # Remove this search path later
-	    notinst_path="$notinst_path $abs_ladir"
+	    func_append notinst_path " $abs_ladir"
 	  else
 	    dir="$ladir/$objdir"
 	    absdir="$abs_ladir/$objdir"
 	    # Remove this search path later
-	    notinst_path="$notinst_path $abs_ladir"
+	    func_append notinst_path " $abs_ladir"
 	  fi
 	fi # $installed = yes
 	func_stripname 'lib' '.la' "$laname"
@@ -5440,20 +6544,46 @@ func_mode_link ()
 	  if test -z "$libdir" && test "$linkmode" = prog; then
 	    func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'"
 	  fi
-	  # Prefer using a static library (so that no silly _DYNAMIC symbols
-	  # are required to link).
-	  if test -n "$old_library"; then
-	    newdlprefiles="$newdlprefiles $dir/$old_library"
-	    # Keep a list of preopened convenience libraries to check
-	    # that they are being used correctly in the link pass.
-	    test -z "$libdir" && \
-		dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library"
-	  # Otherwise, use the dlname, so that lt_dlopen finds it.
-	  elif test -n "$dlname"; then
-	    newdlprefiles="$newdlprefiles $dir/$dlname"
-	  else
-	    newdlprefiles="$newdlprefiles $dir/$linklib"
-	  fi
+	  case "$host" in
+	    # special handling for platforms with PE-DLLs.
+	    *cygwin* | *mingw* | *cegcc* )
+	      # Linker will automatically link against shared library if both
+	      # static and shared are present.  Therefore, ensure we extract
+	      # symbols from the import library if a shared library is present
+	      # (otherwise, the dlopen module name will be incorrect).  We do
+	      # this by putting the import library name into $newdlprefiles.
+	      # We recover the dlopen module name by 'saving' the la file
+	      # name in a special purpose variable, and (later) extracting the
+	      # dlname from the la file.
+	      if test -n "$dlname"; then
+	        func_tr_sh "$dir/$linklib"
+	        eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname"
+	        func_append newdlprefiles " $dir/$linklib"
+	      else
+	        func_append newdlprefiles " $dir/$old_library"
+	        # Keep a list of preopened convenience libraries to check
+	        # that they are being used correctly in the link pass.
+	        test -z "$libdir" && \
+	          func_append dlpreconveniencelibs " $dir/$old_library"
+	      fi
+	    ;;
+	    * )
+	      # Prefer using a static library (so that no silly _DYNAMIC symbols
+	      # are required to link).
+	      if test -n "$old_library"; then
+	        func_append newdlprefiles " $dir/$old_library"
+	        # Keep a list of preopened convenience libraries to check
+	        # that they are being used correctly in the link pass.
+	        test -z "$libdir" && \
+	          func_append dlpreconveniencelibs " $dir/$old_library"
+	      # Otherwise, use the dlname, so that lt_dlopen finds it.
+	      elif test -n "$dlname"; then
+	        func_append newdlprefiles " $dir/$dlname"
+	      else
+	        func_append newdlprefiles " $dir/$linklib"
+	      fi
+	    ;;
+	  esac
 	fi # $pass = dlpreopen
 
 	if test -z "$libdir"; then
@@ -5471,7 +6601,7 @@ func_mode_link ()
 
 
 	if test "$linkmode" = prog && test "$pass" != link; then
-	  newlib_search_path="$newlib_search_path $ladir"
+	  func_append newlib_search_path " $ladir"
 	  deplibs="$lib $deplibs"
 
 	  linkalldeplibs=no
@@ -5484,7 +6614,8 @@ func_mode_link ()
 	  for deplib in $dependency_libs; do
 	    case $deplib in
 	    -L*) func_stripname '-L' '' "$deplib"
-	         newlib_search_path="$newlib_search_path $func_stripname_result"
+	         func_resolve_sysroot "$func_stripname_result"
+	         func_append newlib_search_path " $func_resolve_sysroot_result"
 		 ;;
 	    esac
 	    # Need to link against all dependency_libs?
@@ -5495,12 +6626,12 @@ func_mode_link ()
 	      # or/and link against static libraries
 	      newdependency_libs="$deplib $newdependency_libs"
 	    fi
-	    if $opt_duplicate_deps ; then
+	    if $opt_preserve_dup_deps ; then
 	      case "$tmp_libs " in
-	      *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+	      *" $deplib "*) func_append specialdeplibs " $deplib" ;;
 	      esac
 	    fi
-	    tmp_libs="$tmp_libs $deplib"
+	    func_append tmp_libs " $deplib"
 	  done # for deplib
 	  continue
 	fi # $linkmode = prog...
@@ -5515,7 +6646,7 @@ func_mode_link ()
 	      # Make sure the rpath contains only unique directories.
 	      case "$temp_rpath:" in
 	      *"$absdir:"*) ;;
-	      *) temp_rpath="$temp_rpath$absdir:" ;;
+	      *) func_append temp_rpath "$absdir:" ;;
 	      esac
 	    fi
 
@@ -5527,7 +6658,7 @@ func_mode_link ()
 	    *)
 	      case "$compile_rpath " in
 	      *" $absdir "*) ;;
-	      *) compile_rpath="$compile_rpath $absdir"
+	      *) func_append compile_rpath " $absdir" ;;
 	      esac
 	      ;;
 	    esac
@@ -5536,7 +6667,7 @@ func_mode_link ()
 	    *)
 	      case "$finalize_rpath " in
 	      *" $libdir "*) ;;
-	      *) finalize_rpath="$finalize_rpath $libdir"
+	      *) func_append finalize_rpath " $libdir" ;;
 	      esac
 	      ;;
 	    esac
@@ -5561,12 +6692,12 @@ func_mode_link ()
 	  case $host in
 	  *cygwin* | *mingw* | *cegcc*)
 	      # No point in relinking DLLs because paths are not encoded
-	      notinst_deplibs="$notinst_deplibs $lib"
+	      func_append notinst_deplibs " $lib"
 	      need_relink=no
 	    ;;
 	  *)
 	    if test "$installed" = no; then
-	      notinst_deplibs="$notinst_deplibs $lib"
+	      func_append notinst_deplibs " $lib"
 	      need_relink=yes
 	    fi
 	    ;;
@@ -5583,7 +6714,7 @@ func_mode_link ()
 	    fi
 	  done
 	  if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then
-	    $ECHO
+	    echo
 	    if test "$linkmode" = prog; then
 	      $ECHO "*** Warning: Linking the executable $output against the loadable module"
 	    else
@@ -5601,7 +6732,7 @@ func_mode_link ()
 	    *)
 	      case "$compile_rpath " in
 	      *" $absdir "*) ;;
-	      *) compile_rpath="$compile_rpath $absdir"
+	      *) func_append compile_rpath " $absdir" ;;
 	      esac
 	      ;;
 	    esac
@@ -5610,7 +6741,7 @@ func_mode_link ()
 	    *)
 	      case "$finalize_rpath " in
 	      *" $libdir "*) ;;
-	      *) finalize_rpath="$finalize_rpath $libdir"
+	      *) func_append finalize_rpath " $libdir" ;;
 	      esac
 	      ;;
 	    esac
@@ -5664,7 +6795,7 @@ func_mode_link ()
 	    linklib=$newlib
 	  fi # test -n "$old_archive_from_expsyms_cmds"
 
-	  if test "$linkmode" = prog || test "$mode" != relink; then
+	  if test "$linkmode" = prog || test "$opt_mode" != relink; then
 	    add_shlibpath=
 	    add_dir=
 	    add=
@@ -5686,9 +6817,9 @@ func_mode_link ()
 		      if test "X$dlopenmodule" != "X$lib"; then
 			$ECHO "*** Warning: lib $linklib is a module, not a shared library"
 			if test -z "$old_library" ; then
-			  $ECHO
-			  $ECHO "*** And there doesn't seem to be a static archive available"
-			  $ECHO "*** The link will probably fail, sorry"
+			  echo
+			  echo "*** And there doesn't seem to be a static archive available"
+			  echo "*** The link will probably fail, sorry"
 			else
 			  add="$dir/$old_library"
 			fi
@@ -5715,12 +6846,12 @@ func_mode_link ()
 	         test "$hardcode_direct_absolute" = no; then
 		add="$dir/$linklib"
 	      elif test "$hardcode_minus_L" = yes; then
-		add_dir="-L$dir"
+		add_dir="-L$absdir"
 		# Try looking first in the location we're being installed to.
 		if test -n "$inst_prefix_dir"; then
 		  case $libdir in
 		    [\\/]*)
-		      add_dir="$add_dir -L$inst_prefix_dir$libdir"
+		      func_append add_dir " -L$inst_prefix_dir$libdir"
 		      ;;
 		  esac
 		fi
@@ -5742,7 +6873,7 @@ func_mode_link ()
 	    if test -n "$add_shlibpath"; then
 	      case :$compile_shlibpath: in
 	      *":$add_shlibpath:"*) ;;
-	      *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
+	      *) func_append compile_shlibpath "$add_shlibpath:" ;;
 	      esac
 	    fi
 	    if test "$linkmode" = prog; then
@@ -5756,13 +6887,13 @@ func_mode_link ()
 		 test "$hardcode_shlibpath_var" = yes; then
 		case :$finalize_shlibpath: in
 		*":$libdir:"*) ;;
-		*) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
+		*) func_append finalize_shlibpath "$libdir:" ;;
 		esac
 	      fi
 	    fi
 	  fi
 
-	  if test "$linkmode" = prog || test "$mode" = relink; then
+	  if test "$linkmode" = prog || test "$opt_mode" = relink; then
 	    add_shlibpath=
 	    add_dir=
 	    add=
@@ -5776,7 +6907,7 @@ func_mode_link ()
 	    elif test "$hardcode_shlibpath_var" = yes; then
 	      case :$finalize_shlibpath: in
 	      *":$libdir:"*) ;;
-	      *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
+	      *) func_append finalize_shlibpath "$libdir:" ;;
 	      esac
 	      add="-l$name"
 	    elif test "$hardcode_automatic" = yes; then
@@ -5793,7 +6924,7 @@ func_mode_link ()
 	      if test -n "$inst_prefix_dir"; then
 		case $libdir in
 		  [\\/]*)
-		    add_dir="$add_dir -L$inst_prefix_dir$libdir"
+		    func_append add_dir " -L$inst_prefix_dir$libdir"
 		    ;;
 		esac
 	      fi
@@ -5828,21 +6959,21 @@ func_mode_link ()
 
 	    # Just print a warning and add the library to dependency_libs so
 	    # that the program can be linked against the static library.
-	    $ECHO
+	    echo
 	    $ECHO "*** Warning: This system can not link to static lib archive $lib."
-	    $ECHO "*** I have the capability to make that library automatically link in when"
-	    $ECHO "*** you link to this library.  But I can only do this if you have a"
-	    $ECHO "*** shared version of the library, which you do not appear to have."
+	    echo "*** I have the capability to make that library automatically link in when"
+	    echo "*** you link to this library.  But I can only do this if you have a"
+	    echo "*** shared version of the library, which you do not appear to have."
 	    if test "$module" = yes; then
-	      $ECHO "*** But as you try to build a module library, libtool will still create "
-	      $ECHO "*** a static module, that should work as long as the dlopening application"
-	      $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime."
+	      echo "*** But as you try to build a module library, libtool will still create "
+	      echo "*** a static module, that should work as long as the dlopening application"
+	      echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
 	      if test -z "$global_symbol_pipe"; then
-		$ECHO
-		$ECHO "*** However, this would only work if libtool was able to extract symbol"
-		$ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
-		$ECHO "*** not find such a program.  So, this module is probably useless."
-		$ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
+		echo
+		echo "*** However, this would only work if libtool was able to extract symbol"
+		echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
+		echo "*** not find such a program.  So, this module is probably useless."
+		echo "*** \`nm' from GNU binutils and a full rebuild may help."
 	      fi
 	      if test "$build_old_libs" = no; then
 		build_libtool_libs=module
@@ -5870,27 +7001,33 @@ func_mode_link ()
 	           temp_xrpath=$func_stripname_result
 		   case " $xrpath " in
 		   *" $temp_xrpath "*) ;;
-		   *) xrpath="$xrpath $temp_xrpath";;
+		   *) func_append xrpath " $temp_xrpath";;
 		   esac;;
-	      *) temp_deplibs="$temp_deplibs $libdir";;
+	      *) func_append temp_deplibs " $libdir";;
 	      esac
 	    done
 	    dependency_libs="$temp_deplibs"
 	  fi
 
-	  newlib_search_path="$newlib_search_path $absdir"
+	  func_append newlib_search_path " $absdir"
 	  # Link against this library
 	  test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
 	  # ... and its dependency_libs
 	  tmp_libs=
 	  for deplib in $dependency_libs; do
 	    newdependency_libs="$deplib $newdependency_libs"
-	    if $opt_duplicate_deps ; then
+	    case $deplib in
+              -L*) func_stripname '-L' '' "$deplib"
+                   func_resolve_sysroot "$func_stripname_result";;
+              *) func_resolve_sysroot "$deplib" ;;
+            esac
+	    if $opt_preserve_dup_deps ; then
 	      case "$tmp_libs " in
-	      *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+	      *" $func_resolve_sysroot_result "*)
+                func_append specialdeplibs " $func_resolve_sysroot_result" ;;
 	      esac
 	    fi
-	    tmp_libs="$tmp_libs $deplib"
+	    func_append tmp_libs " $func_resolve_sysroot_result"
 	  done
 
 	  if test "$link_all_deplibs" != no; then
@@ -5900,8 +7037,10 @@ func_mode_link ()
 	      case $deplib in
 	      -L*) path="$deplib" ;;
 	      *.la)
+	        func_resolve_sysroot "$deplib"
+	        deplib=$func_resolve_sysroot_result
 	        func_dirname "$deplib" "" "."
-		dir="$func_dirname_result"
+		dir=$func_dirname_result
 		# We need an absolute path.
 		case $dir in
 		[\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
@@ -5928,8 +7067,8 @@ func_mode_link ()
                       if test -z "$darwin_install_name"; then
                           darwin_install_name=`${OTOOL64} -L $depdepl  | awk '{if (NR == 2) {print $1;exit}}'`
                       fi
-		      compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
-		      linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}"
+		      func_append compiler_flags " ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
+		      func_append linker_flags " -dylib_file ${darwin_install_name}:${depdepl}"
 		      path=
 		    fi
 		  fi
@@ -5962,7 +7101,7 @@ func_mode_link ()
 	  compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
 	  finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
 	else
-	  compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
+	  compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
 	fi
       fi
       dependency_libs="$newdependency_libs"
@@ -5979,7 +7118,7 @@ func_mode_link ()
 	  for dir in $newlib_search_path; do
 	    case "$lib_search_path " in
 	    *" $dir "*) ;;
-	    *) lib_search_path="$lib_search_path $dir" ;;
+	    *) func_append lib_search_path " $dir" ;;
 	    esac
 	  done
 	  newlib_search_path=
@@ -6037,10 +7176,10 @@ func_mode_link ()
 	    -L*)
 	      case " $tmp_libs " in
 	      *" $deplib "*) ;;
-	      *) tmp_libs="$tmp_libs $deplib" ;;
+	      *) func_append tmp_libs " $deplib" ;;
 	      esac
 	      ;;
-	    *) tmp_libs="$tmp_libs $deplib" ;;
+	    *) func_append tmp_libs " $deplib" ;;
 	    esac
 	  done
 	  eval $var=\"$tmp_libs\"
@@ -6056,7 +7195,7 @@ func_mode_link ()
 	  ;;
 	esac
 	if test -n "$i" ; then
-	  tmp_libs="$tmp_libs $i"
+	  func_append tmp_libs " $i"
 	fi
       done
       dependency_libs=$tmp_libs
@@ -6097,7 +7236,7 @@ func_mode_link ()
       # Now set the variables for building old libraries.
       build_libtool_libs=no
       oldlibs="$output"
-      objs="$objs$old_deplibs"
+      func_append objs "$old_deplibs"
       ;;
 
     lib)
@@ -6130,10 +7269,10 @@ func_mode_link ()
 	if test "$deplibs_check_method" != pass_all; then
 	  func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs"
 	else
-	  $ECHO
+	  echo
 	  $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
 	  $ECHO "*** objects $objs is not portable!"
-	  libobjs="$libobjs $objs"
+	  func_append libobjs " $objs"
 	fi
       fi
 
@@ -6192,13 +7331,14 @@ func_mode_link ()
 	  # which has an extra 1 added just for fun
 	  #
 	  case $version_type in
+	  # correct linux to gnu/linux during the next big refactor
 	  darwin|linux|osf|windows|none)
 	    func_arith $number_major + $number_minor
 	    current=$func_arith_result
 	    age="$number_minor"
 	    revision="$number_revision"
 	    ;;
-	  freebsd-aout|freebsd-elf|sunos)
+	  freebsd-aout|freebsd-elf|qnx|sunos)
 	    current="$number_major"
 	    revision="$number_minor"
 	    age="0"
@@ -6210,9 +7350,6 @@ func_mode_link ()
 	    revision="$number_minor"
 	    lt_irix_increment=no
 	    ;;
-	  *)
-	    func_fatal_configuration "$modename: unknown library version type \`$version_type'"
-	    ;;
 	  esac
 	  ;;
 	no)
@@ -6311,7 +7448,7 @@ func_mode_link ()
 	  versuffix="$major.$revision"
 	  ;;
 
-	linux)
+	linux) # correct to gnu/linux during the next big refactor
 	  func_arith $current - $age
 	  major=.$func_arith_result
 	  versuffix="$major.$age.$revision"
@@ -6334,7 +7471,7 @@ func_mode_link ()
 	  done
 
 	  # Make executables depend on our current version.
-	  verstring="$verstring:${current}.0"
+	  func_append verstring ":${current}.0"
 	  ;;
 
 	qnx)
@@ -6402,10 +7539,10 @@ func_mode_link ()
       fi
 
       func_generate_dlsyms "$libname" "$libname" "yes"
-      libobjs="$libobjs $symfileobj"
+      func_append libobjs " $symfileobj"
       test "X$libobjs" = "X " && libobjs=
 
-      if test "$mode" != relink; then
+      if test "$opt_mode" != relink; then
 	# Remove our outputs, but don't remove object files since they
 	# may have been created when compiling PIC objects.
 	removelist=
@@ -6421,7 +7558,7 @@ func_mode_link ()
 		   continue
 		 fi
 	       fi
-	       removelist="$removelist $p"
+	       func_append removelist " $p"
 	       ;;
 	    *) ;;
 	  esac
@@ -6432,27 +7569,28 @@ func_mode_link ()
 
       # Now set the variables for building old libraries.
       if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
-	oldlibs="$oldlibs $output_objdir/$libname.$libext"
+	func_append oldlibs " $output_objdir/$libname.$libext"
 
 	# Transform .lo files to .o files.
-	oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
+	oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP`
       fi
 
       # Eliminate all temporary directories.
       #for path in $notinst_path; do
-      #	lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"`
-      #	deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"`
-      #	dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"`
+      #	lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"`
+      #	deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"`
+      #	dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"`
       #done
 
       if test -n "$xrpath"; then
 	# If the user specified any rpath flags, then add them.
 	temp_xrpath=
 	for libdir in $xrpath; do
-	  temp_xrpath="$temp_xrpath -R$libdir"
+	  func_replace_sysroot "$libdir"
+	  func_append temp_xrpath " -R$func_replace_sysroot_result"
 	  case "$finalize_rpath " in
 	  *" $libdir "*) ;;
-	  *) finalize_rpath="$finalize_rpath $libdir" ;;
+	  *) func_append finalize_rpath " $libdir" ;;
 	  esac
 	done
 	if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
@@ -6466,7 +7604,7 @@ func_mode_link ()
       for lib in $old_dlfiles; do
 	case " $dlprefiles $dlfiles " in
 	*" $lib "*) ;;
-	*) dlfiles="$dlfiles $lib" ;;
+	*) func_append dlfiles " $lib" ;;
 	esac
       done
 
@@ -6476,19 +7614,19 @@ func_mode_link ()
       for lib in $old_dlprefiles; do
 	case "$dlprefiles " in
 	*" $lib "*) ;;
-	*) dlprefiles="$dlprefiles $lib" ;;
+	*) func_append dlprefiles " $lib" ;;
 	esac
       done
 
       if test "$build_libtool_libs" = yes; then
 	if test -n "$rpath"; then
 	  case $host in
-	  *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*)
+	  *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
 	    # these systems don't actually have a c library (as such)!
 	    ;;
 	  *-*-rhapsody* | *-*-darwin1.[012])
 	    # Rhapsody C library is in the System framework
-	    deplibs="$deplibs System.ltframework"
+	    func_append deplibs " System.ltframework"
 	    ;;
 	  *-*-netbsd*)
 	    # Don't link with libc until the a.out ld.so is fixed.
@@ -6505,7 +7643,7 @@ func_mode_link ()
 	  *)
 	    # Add libc to deplibs on all other systems if necessary.
 	    if test "$build_libtool_need_lc" = "yes"; then
-	      deplibs="$deplibs -lc"
+	      func_append deplibs " -lc"
 	    fi
 	    ;;
 	  esac
@@ -6554,7 +7692,7 @@ EOF
 		if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
 		  case " $predeps $postdeps " in
 		  *" $i "*)
-		    newdeplibs="$newdeplibs $i"
+		    func_append newdeplibs " $i"
 		    i=""
 		    ;;
 		  esac
@@ -6565,21 +7703,21 @@ EOF
 		  set dummy $deplib_matches; shift
 		  deplib_match=$1
 		  if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
-		    newdeplibs="$newdeplibs $i"
+		    func_append newdeplibs " $i"
 		  else
 		    droppeddeps=yes
-		    $ECHO
+		    echo
 		    $ECHO "*** Warning: dynamic linker does not accept needed library $i."
-		    $ECHO "*** I have the capability to make that library automatically link in when"
-		    $ECHO "*** you link to this library.  But I can only do this if you have a"
-		    $ECHO "*** shared version of the library, which I believe you do not have"
-		    $ECHO "*** because a test_compile did reveal that the linker did not use it for"
-		    $ECHO "*** its dynamic dependency list that programs get resolved with at runtime."
+		    echo "*** I have the capability to make that library automatically link in when"
+		    echo "*** you link to this library.  But I can only do this if you have a"
+		    echo "*** shared version of the library, which I believe you do not have"
+		    echo "*** because a test_compile did reveal that the linker did not use it for"
+		    echo "*** its dynamic dependency list that programs get resolved with at runtime."
 		  fi
 		fi
 		;;
 	      *)
-		newdeplibs="$newdeplibs $i"
+		func_append newdeplibs " $i"
 		;;
 	      esac
 	    done
@@ -6597,7 +7735,7 @@ EOF
 		  if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
 		    case " $predeps $postdeps " in
 		    *" $i "*)
-		      newdeplibs="$newdeplibs $i"
+		      func_append newdeplibs " $i"
 		      i=""
 		      ;;
 		    esac
@@ -6608,29 +7746,29 @@ EOF
 		    set dummy $deplib_matches; shift
 		    deplib_match=$1
 		    if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
-		      newdeplibs="$newdeplibs $i"
+		      func_append newdeplibs " $i"
 		    else
 		      droppeddeps=yes
-		      $ECHO
+		      echo
 		      $ECHO "*** Warning: dynamic linker does not accept needed library $i."
-		      $ECHO "*** I have the capability to make that library automatically link in when"
-		      $ECHO "*** you link to this library.  But I can only do this if you have a"
-		      $ECHO "*** shared version of the library, which you do not appear to have"
-		      $ECHO "*** because a test_compile did reveal that the linker did not use this one"
-		      $ECHO "*** as a dynamic dependency that programs can get resolved with at runtime."
+		      echo "*** I have the capability to make that library automatically link in when"
+		      echo "*** you link to this library.  But I can only do this if you have a"
+		      echo "*** shared version of the library, which you do not appear to have"
+		      echo "*** because a test_compile did reveal that the linker did not use this one"
+		      echo "*** as a dynamic dependency that programs can get resolved with at runtime."
 		    fi
 		  fi
 		else
 		  droppeddeps=yes
-		  $ECHO
+		  echo
 		  $ECHO "*** Warning!  Library $i is needed by this library but I was not able to"
-		  $ECHO "*** make it link in!  You will probably need to install it or some"
-		  $ECHO "*** library that it depends on before this library will be fully"
-		  $ECHO "*** functional.  Installing it before continuing would be even better."
+		  echo "*** make it link in!  You will probably need to install it or some"
+		  echo "*** library that it depends on before this library will be fully"
+		  echo "*** functional.  Installing it before continuing would be even better."
 		fi
 		;;
 	      *)
-		newdeplibs="$newdeplibs $i"
+		func_append newdeplibs " $i"
 		;;
 	      esac
 	    done
@@ -6647,15 +7785,27 @@ EOF
 	      if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
 		case " $predeps $postdeps " in
 		*" $a_deplib "*)
-		  newdeplibs="$newdeplibs $a_deplib"
+		  func_append newdeplibs " $a_deplib"
 		  a_deplib=""
 		  ;;
 		esac
 	      fi
 	      if test -n "$a_deplib" ; then
 		libname=`eval "\\$ECHO \"$libname_spec\""`
+		if test -n "$file_magic_glob"; then
+		  libnameglob=`func_echo_all "$libname" | $SED -e $file_magic_glob`
+		else
+		  libnameglob=$libname
+		fi
+		test "$want_nocaseglob" = yes && nocaseglob=`shopt -p nocaseglob`
 		for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
-		  potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
+		  if test "$want_nocaseglob" = yes; then
+		    shopt -s nocaseglob
+		    potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
+		    $nocaseglob
+		  else
+		    potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
+		  fi
 		  for potent_lib in $potential_libs; do
 		      # Follow soft links.
 		      if ls -lLd "$potent_lib" 2>/dev/null |
@@ -6672,13 +7822,13 @@ EOF
 			potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
 			case $potliblink in
 			[\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
-			*) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
+			*) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";;
 			esac
 		      done
 		      if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
 			 $SED -e 10q |
 			 $EGREP "$file_magic_regex" > /dev/null; then
-			newdeplibs="$newdeplibs $a_deplib"
+			func_append newdeplibs " $a_deplib"
 			a_deplib=""
 			break 2
 		      fi
@@ -6687,12 +7837,12 @@ EOF
 	      fi
 	      if test -n "$a_deplib" ; then
 		droppeddeps=yes
-		$ECHO
+		echo
 		$ECHO "*** Warning: linker path does not have real file for library $a_deplib."
-		$ECHO "*** I have the capability to make that library automatically link in when"
-		$ECHO "*** you link to this library.  But I can only do this if you have a"
-		$ECHO "*** shared version of the library, which you do not appear to have"
-		$ECHO "*** because I did check the linker path looking for a file starting"
+		echo "*** I have the capability to make that library automatically link in when"
+		echo "*** you link to this library.  But I can only do this if you have a"
+		echo "*** shared version of the library, which you do not appear to have"
+		echo "*** because I did check the linker path looking for a file starting"
 		if test -z "$potlib" ; then
 		  $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
 		else
@@ -6703,7 +7853,7 @@ EOF
 	      ;;
 	    *)
 	      # Add a -L argument.
-	      newdeplibs="$newdeplibs $a_deplib"
+	      func_append newdeplibs " $a_deplib"
 	      ;;
 	    esac
 	  done # Gone through all deplibs.
@@ -6719,7 +7869,7 @@ EOF
 	      if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
 		case " $predeps $postdeps " in
 		*" $a_deplib "*)
-		  newdeplibs="$newdeplibs $a_deplib"
+		  func_append newdeplibs " $a_deplib"
 		  a_deplib=""
 		  ;;
 		esac
@@ -6730,9 +7880,9 @@ EOF
 		  potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
 		  for potent_lib in $potential_libs; do
 		    potlib="$potent_lib" # see symlink-check above in file_magic test
-		    if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \
+		    if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \
 		       $EGREP "$match_pattern_regex" > /dev/null; then
-		      newdeplibs="$newdeplibs $a_deplib"
+		      func_append newdeplibs " $a_deplib"
 		      a_deplib=""
 		      break 2
 		    fi
@@ -6741,12 +7891,12 @@ EOF
 	      fi
 	      if test -n "$a_deplib" ; then
 		droppeddeps=yes
-		$ECHO
+		echo
 		$ECHO "*** Warning: linker path does not have real file for library $a_deplib."
-		$ECHO "*** I have the capability to make that library automatically link in when"
-		$ECHO "*** you link to this library.  But I can only do this if you have a"
-		$ECHO "*** shared version of the library, which you do not appear to have"
-		$ECHO "*** because I did check the linker path looking for a file starting"
+		echo "*** I have the capability to make that library automatically link in when"
+		echo "*** you link to this library.  But I can only do this if you have a"
+		echo "*** shared version of the library, which you do not appear to have"
+		echo "*** because I did check the linker path looking for a file starting"
 		if test -z "$potlib" ; then
 		  $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
 		else
@@ -6757,32 +7907,32 @@ EOF
 	      ;;
 	    *)
 	      # Add a -L argument.
-	      newdeplibs="$newdeplibs $a_deplib"
+	      func_append newdeplibs " $a_deplib"
 	      ;;
 	    esac
 	  done # Gone through all deplibs.
 	  ;;
 	none | unknown | *)
 	  newdeplibs=""
-	  tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \
-	      -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'`
+	  tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'`
 	  if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
 	    for i in $predeps $postdeps ; do
 	      # can't use Xsed below, because $i might contain '/'
-	      tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"`
+	      tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"`
 	    done
 	  fi
-	  if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[	 ]//g' |
-	     $GREP . >/dev/null; then
-	    $ECHO
+	  case $tmp_deplibs in
+	  *[!\	\ ]*)
+	    echo
 	    if test "X$deplibs_check_method" = "Xnone"; then
-	      $ECHO "*** Warning: inter-library dependencies are not supported in this platform."
+	      echo "*** Warning: inter-library dependencies are not supported in this platform."
 	    else
-	      $ECHO "*** Warning: inter-library dependencies are not known to be supported."
+	      echo "*** Warning: inter-library dependencies are not known to be supported."
 	    fi
-	    $ECHO "*** All declared inter-library dependencies are being dropped."
+	    echo "*** All declared inter-library dependencies are being dropped."
 	    droppeddeps=yes
-	  fi
+	    ;;
+	  esac
 	  ;;
 	esac
 	versuffix=$versuffix_save
@@ -6794,23 +7944,23 @@ EOF
 	case $host in
 	*-*-rhapsody* | *-*-darwin1.[012])
 	  # On Rhapsody replace the C library with the System framework
-	  newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
+	  newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'`
 	  ;;
 	esac
 
 	if test "$droppeddeps" = yes; then
 	  if test "$module" = yes; then
-	    $ECHO
-	    $ECHO "*** Warning: libtool could not satisfy all declared inter-library"
+	    echo
+	    echo "*** Warning: libtool could not satisfy all declared inter-library"
 	    $ECHO "*** dependencies of module $libname.  Therefore, libtool will create"
-	    $ECHO "*** a static module, that should work as long as the dlopening"
-	    $ECHO "*** application is linked with the -dlopen flag."
+	    echo "*** a static module, that should work as long as the dlopening"
+	    echo "*** application is linked with the -dlopen flag."
 	    if test -z "$global_symbol_pipe"; then
-	      $ECHO
-	      $ECHO "*** However, this would only work if libtool was able to extract symbol"
-	      $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
-	      $ECHO "*** not find such a program.  So, this module is probably useless."
-	      $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
+	      echo
+	      echo "*** However, this would only work if libtool was able to extract symbol"
+	      echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
+	      echo "*** not find such a program.  So, this module is probably useless."
+	      echo "*** \`nm' from GNU binutils and a full rebuild may help."
 	    fi
 	    if test "$build_old_libs" = no; then
 	      oldlibs="$output_objdir/$libname.$libext"
@@ -6820,16 +7970,16 @@ EOF
 	      build_libtool_libs=no
 	    fi
 	  else
-	    $ECHO "*** The inter-library dependencies that have been dropped here will be"
-	    $ECHO "*** automatically added whenever a program is linked with this library"
-	    $ECHO "*** or is declared to -dlopen it."
+	    echo "*** The inter-library dependencies that have been dropped here will be"
+	    echo "*** automatically added whenever a program is linked with this library"
+	    echo "*** or is declared to -dlopen it."
 
 	    if test "$allow_undefined" = no; then
-	      $ECHO
-	      $ECHO "*** Since this library must not contain undefined symbols,"
-	      $ECHO "*** because either the platform does not support them or"
-	      $ECHO "*** it was explicitly requested with -no-undefined,"
-	      $ECHO "*** libtool will only create a static version of it."
+	      echo
+	      echo "*** Since this library must not contain undefined symbols,"
+	      echo "*** because either the platform does not support them or"
+	      echo "*** it was explicitly requested with -no-undefined,"
+	      echo "*** libtool will only create a static version of it."
 	      if test "$build_old_libs" = no; then
 		oldlibs="$output_objdir/$libname.$libext"
 		build_libtool_libs=module
@@ -6846,9 +7996,9 @@ EOF
       # Time to change all our "foo.ltframework" stuff back to "-framework foo"
       case $host in
 	*-*-darwin*)
-	  newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
-	  new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
-	  deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
+	  newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+	  new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+	  deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
 	  ;;
       esac
 
@@ -6861,7 +8011,7 @@ EOF
 	*)
 	  case " $deplibs " in
 	  *" -L$path/$objdir "*)
-	    new_libs="$new_libs -L$path/$objdir" ;;
+	    func_append new_libs " -L$path/$objdir" ;;
 	  esac
 	  ;;
 	esac
@@ -6871,10 +8021,10 @@ EOF
 	-L*)
 	  case " $new_libs " in
 	  *" $deplib "*) ;;
-	  *) new_libs="$new_libs $deplib" ;;
+	  *) func_append new_libs " $deplib" ;;
 	  esac
 	  ;;
-	*) new_libs="$new_libs $deplib" ;;
+	*) func_append new_libs " $deplib" ;;
 	esac
       done
       deplibs="$new_libs"
@@ -6886,15 +8036,22 @@ EOF
 
       # Test again, we may have decided not to build it any more
       if test "$build_libtool_libs" = yes; then
+	# Remove ${wl} instances when linking with ld.
+	# FIXME: should test the right _cmds variable.
+	case $archive_cmds in
+	  *\$LD\ *) wl= ;;
+        esac
 	if test "$hardcode_into_libs" = yes; then
 	  # Hardcode the library paths
 	  hardcode_libdirs=
 	  dep_rpath=
 	  rpath="$finalize_rpath"
-	  test "$mode" != relink && rpath="$compile_rpath$rpath"
+	  test "$opt_mode" != relink && rpath="$compile_rpath$rpath"
 	  for libdir in $rpath; do
 	    if test -n "$hardcode_libdir_flag_spec"; then
 	      if test -n "$hardcode_libdir_separator"; then
+		func_replace_sysroot "$libdir"
+		libdir=$func_replace_sysroot_result
 		if test -z "$hardcode_libdirs"; then
 		  hardcode_libdirs="$libdir"
 		else
@@ -6903,18 +8060,18 @@ EOF
 		  *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
 		    ;;
 		  *)
-		    hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
+		    func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
 		    ;;
 		  esac
 		fi
 	      else
 		eval flag=\"$hardcode_libdir_flag_spec\"
-		dep_rpath="$dep_rpath $flag"
+		func_append dep_rpath " $flag"
 	      fi
 	    elif test -n "$runpath_var"; then
 	      case "$perm_rpath " in
 	      *" $libdir "*) ;;
-	      *) perm_rpath="$perm_rpath $libdir" ;;
+	      *) func_append perm_rpath " $libdir" ;;
 	      esac
 	    fi
 	  done
@@ -6922,17 +8079,13 @@ EOF
 	  if test -n "$hardcode_libdir_separator" &&
 	     test -n "$hardcode_libdirs"; then
 	    libdir="$hardcode_libdirs"
-	    if test -n "$hardcode_libdir_flag_spec_ld"; then
-	      eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
-	    else
-	      eval dep_rpath=\"$hardcode_libdir_flag_spec\"
-	    fi
+	    eval "dep_rpath=\"$hardcode_libdir_flag_spec\""
 	  fi
 	  if test -n "$runpath_var" && test -n "$perm_rpath"; then
 	    # We should set the runpath_var.
 	    rpath=
 	    for dir in $perm_rpath; do
-	      rpath="$rpath$dir:"
+	      func_append rpath "$dir:"
 	    done
 	    eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
 	  fi
@@ -6940,7 +8093,7 @@ EOF
 	fi
 
 	shlibpath="$finalize_shlibpath"
-	test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
+	test "$opt_mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
 	if test -n "$shlibpath"; then
 	  eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
 	fi
@@ -6966,18 +8119,18 @@ EOF
 	linknames=
 	for link
 	do
-	  linknames="$linknames $link"
+	  func_append linknames " $link"
 	done
 
 	# Use standard objects if they are pic
-	test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
+	test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP`
 	test "X$libobjs" = "X " && libobjs=
 
 	delfiles=
 	if test -n "$export_symbols" && test -n "$include_expsyms"; then
 	  $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
 	  export_symbols="$output_objdir/$libname.uexp"
-	  delfiles="$delfiles $export_symbols"
+	  func_append delfiles " $export_symbols"
 	fi
 
 	orig_export_symbols=
@@ -7008,13 +8161,45 @@ EOF
 	    $opt_dry_run || $RM $export_symbols
 	    cmds=$export_symbols_cmds
 	    save_ifs="$IFS"; IFS='~'
-	    for cmd in $cmds; do
+	    for cmd1 in $cmds; do
 	      IFS="$save_ifs"
-	      eval cmd=\"$cmd\"
-	      func_len " $cmd"
-	      len=$func_len_result
-	      if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
+	      # Take the normal branch if the nm_file_list_spec branch
+	      # doesn't work or if tool conversion is not needed.
+	      case $nm_file_list_spec~$to_tool_file_cmd in
+		*~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*)
+		  try_normal_branch=yes
+		  eval cmd=\"$cmd1\"
+		  func_len " $cmd"
+		  len=$func_len_result
+		  ;;
+		*)
+		  try_normal_branch=no
+		  ;;
+	      esac
+	      if test "$try_normal_branch" = yes \
+		 && { test "$len" -lt "$max_cmd_len" \
+		      || test "$max_cmd_len" -le -1; }
+	      then
+		func_show_eval "$cmd" 'exit $?'
+		skipped_export=false
+	      elif test -n "$nm_file_list_spec"; then
+		func_basename "$output"
+		output_la=$func_basename_result
+		save_libobjs=$libobjs
+		save_output=$output
+		output=${output_objdir}/${output_la}.nm
+		func_to_tool_file "$output"
+		libobjs=$nm_file_list_spec$func_to_tool_file_result
+		func_append delfiles " $output"
+		func_verbose "creating $NM input file list: $output"
+		for obj in $save_libobjs; do
+		  func_to_tool_file "$obj"
+		  $ECHO "$func_to_tool_file_result"
+		done > "$output"
+		eval cmd=\"$cmd1\"
 		func_show_eval "$cmd" 'exit $?'
+		output=$save_output
+		libobjs=$save_libobjs
 		skipped_export=false
 	      else
 		# The command line is too long to execute in one step.
@@ -7036,7 +8221,7 @@ EOF
 	if test -n "$export_symbols" && test -n "$include_expsyms"; then
 	  tmp_export_symbols="$export_symbols"
 	  test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
-	  $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
+	  $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
 	fi
 
 	if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
@@ -7048,7 +8233,7 @@ EOF
 	  # global variables. join(1) would be nice here, but unfortunately
 	  # isn't a blessed tool.
 	  $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
-	  delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
+	  func_append delfiles " $export_symbols $output_objdir/$libname.filter"
 	  export_symbols=$output_objdir/$libname.def
 	  $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
 	fi
@@ -7058,7 +8243,7 @@ EOF
 	  case " $convenience " in
 	  *" $test_deplib "*) ;;
 	  *)
-	    tmp_deplibs="$tmp_deplibs $test_deplib"
+	    func_append tmp_deplibs " $test_deplib"
 	    ;;
 	  esac
 	done
@@ -7078,21 +8263,21 @@ EOF
 	    test "X$libobjs" = "X " && libobjs=
 	  else
 	    gentop="$output_objdir/${outputname}x"
-	    generated="$generated $gentop"
+	    func_append generated " $gentop"
 
 	    func_extract_archives $gentop $convenience
-	    libobjs="$libobjs $func_extract_archives_result"
+	    func_append libobjs " $func_extract_archives_result"
 	    test "X$libobjs" = "X " && libobjs=
 	  fi
 	fi
 
 	if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
 	  eval flag=\"$thread_safe_flag_spec\"
-	  linker_flags="$linker_flags $flag"
+	  func_append linker_flags " $flag"
 	fi
 
 	# Make a backup of the uninstalled library when relinking
-	if test "$mode" = relink; then
+	if test "$opt_mode" = relink; then
 	  $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
 	fi
 
@@ -7137,7 +8322,8 @@ EOF
 	    save_libobjs=$libobjs
 	  fi
 	  save_output=$output
-	  output_la=`$ECHO "X$output" | $Xsed -e "$basename"`
+	  func_basename "$output"
+	  output_la=$func_basename_result
 
 	  # Clear the reloadable object creation command queue and
 	  # initialize k to one.
@@ -7150,13 +8336,16 @@ EOF
 	  if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then
 	    output=${output_objdir}/${output_la}.lnkscript
 	    func_verbose "creating GNU ld script: $output"
-	    $ECHO 'INPUT (' > $output
+	    echo 'INPUT (' > $output
 	    for obj in $save_libobjs
 	    do
-	      $ECHO "$obj" >> $output
+	      func_to_tool_file "$obj"
+	      $ECHO "$func_to_tool_file_result" >> $output
 	    done
-	    $ECHO ')' >> $output
-	    delfiles="$delfiles $output"
+	    echo ')' >> $output
+	    func_append delfiles " $output"
+	    func_to_tool_file "$output"
+	    output=$func_to_tool_file_result
 	  elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
 	    output=${output_objdir}/${output_la}.lnk
 	    func_verbose "creating linker input file list: $output"
@@ -7170,10 +8359,12 @@ EOF
 	    fi
 	    for obj
 	    do
-	      $ECHO "$obj" >> $output
+	      func_to_tool_file "$obj"
+	      $ECHO "$func_to_tool_file_result" >> $output
 	    done
-	    delfiles="$delfiles $output"
-	    output=$firstobj\"$file_list_spec$output\"
+	    func_append delfiles " $output"
+	    func_to_tool_file "$output"
+	    output=$firstobj\"$file_list_spec$func_to_tool_file_result\"
 	  else
 	    if test -n "$save_libobjs"; then
 	      func_verbose "creating reloadable object files..."
@@ -7197,17 +8388,19 @@ EOF
 		  # command to the queue.
 		  if test "$k" -eq 1 ; then
 		    # The first file doesn't have a previous command to add.
-		    eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
+		    reload_objs=$objlist
+		    eval concat_cmds=\"$reload_cmds\"
 		  else
 		    # All subsequent reloadable object files will link in
 		    # the last one created.
-		    eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\"
+		    reload_objs="$objlist $last_robj"
+		    eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\"
 		  fi
 		  last_robj=$output_objdir/$output_la-${k}.$objext
 		  func_arith $k + 1
 		  k=$func_arith_result
 		  output=$output_objdir/$output_la-${k}.$objext
-		  objlist=$obj
+		  objlist=" $obj"
 		  func_len " $last_robj"
 		  func_arith $len0 + $func_len_result
 		  len=$func_arith_result
@@ -7217,11 +8410,12 @@ EOF
 	      # reloadable object file.  All subsequent reloadable object
 	      # files will link in the last one created.
 	      test -z "$concat_cmds" || concat_cmds=$concat_cmds~
-	      eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
+	      reload_objs="$objlist $last_robj"
+	      eval concat_cmds=\"\${concat_cmds}$reload_cmds\"
 	      if test -n "$last_robj"; then
 	        eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\"
 	      fi
-	      delfiles="$delfiles $output"
+	      func_append delfiles " $output"
 
 	    else
 	      output=
@@ -7255,7 +8449,7 @@ EOF
 		lt_exit=$?
 
 		# Restore the uninstalled library and exit
-		if test "$mode" = relink; then
+		if test "$opt_mode" = relink; then
 		  ( cd "$output_objdir" && \
 		    $RM "${realname}T" && \
 		    $MV "${realname}U" "$realname" )
@@ -7276,7 +8470,7 @@ EOF
 	    if test -n "$export_symbols" && test -n "$include_expsyms"; then
 	      tmp_export_symbols="$export_symbols"
 	      test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
-	      $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
+	      $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
 	    fi
 
 	    if test -n "$orig_export_symbols"; then
@@ -7288,7 +8482,7 @@ EOF
 	      # global variables. join(1) would be nice here, but unfortunately
 	      # isn't a blessed tool.
 	      $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
-	      delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
+	      func_append delfiles " $export_symbols $output_objdir/$libname.filter"
 	      export_symbols=$output_objdir/$libname.def
 	      $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
 	    fi
@@ -7329,10 +8523,10 @@ EOF
 	# Add any objects from preloaded convenience libraries
 	if test -n "$dlprefiles"; then
 	  gentop="$output_objdir/${outputname}x"
-	  generated="$generated $gentop"
+	  func_append generated " $gentop"
 
 	  func_extract_archives $gentop $dlprefiles
-	  libobjs="$libobjs $func_extract_archives_result"
+	  func_append libobjs " $func_extract_archives_result"
 	  test "X$libobjs" = "X " && libobjs=
 	fi
 
@@ -7348,7 +8542,7 @@ EOF
 	    lt_exit=$?
 
 	    # Restore the uninstalled library and exit
-	    if test "$mode" = relink; then
+	    if test "$opt_mode" = relink; then
 	      ( cd "$output_objdir" && \
 	        $RM "${realname}T" && \
 		$MV "${realname}U" "$realname" )
@@ -7360,7 +8554,7 @@ EOF
 	IFS="$save_ifs"
 
 	# Restore the uninstalled library and exit
-	if test "$mode" = relink; then
+	if test "$opt_mode" = relink; then
 	  $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
 
 	  if test -n "$convenience"; then
@@ -7441,18 +8635,21 @@ EOF
       if test -n "$convenience"; then
 	if test -n "$whole_archive_flag_spec"; then
 	  eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
-	  reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
+	  reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'`
 	else
 	  gentop="$output_objdir/${obj}x"
-	  generated="$generated $gentop"
+	  func_append generated " $gentop"
 
 	  func_extract_archives $gentop $convenience
 	  reload_conv_objs="$reload_objs $func_extract_archives_result"
 	fi
       fi
 
+      # If we're not building shared, we need to use non_pic_objs
+      test "$build_libtool_libs" != yes && libobjs="$non_pic_objects"
+
       # Create the old-style object.
-      reload_objs="$objs$old_deplibs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
+      reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
 
       output="$obj"
       func_execute_cmds "$reload_cmds" 'exit $?'
@@ -7512,8 +8709,8 @@ EOF
       case $host in
       *-*-rhapsody* | *-*-darwin1.[012])
 	# On Rhapsody replace the C library is the System framework
-	compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
-	finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
+	compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'`
+	finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'`
 	;;
       esac
 
@@ -7524,14 +8721,14 @@ EOF
 	if test "$tagname" = CXX ; then
 	  case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
 	    10.[0123])
-	      compile_command="$compile_command ${wl}-bind_at_load"
-	      finalize_command="$finalize_command ${wl}-bind_at_load"
+	      func_append compile_command " ${wl}-bind_at_load"
+	      func_append finalize_command " ${wl}-bind_at_load"
 	    ;;
 	  esac
 	fi
 	# Time to change all our "foo.ltframework" stuff back to "-framework foo"
-	compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
-	finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
+	compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+	finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
 	;;
       esac
 
@@ -7545,7 +8742,7 @@ EOF
 	*)
 	  case " $compile_deplibs " in
 	  *" -L$path/$objdir "*)
-	    new_libs="$new_libs -L$path/$objdir" ;;
+	    func_append new_libs " -L$path/$objdir" ;;
 	  esac
 	  ;;
 	esac
@@ -7555,17 +8752,17 @@ EOF
 	-L*)
 	  case " $new_libs " in
 	  *" $deplib "*) ;;
-	  *) new_libs="$new_libs $deplib" ;;
+	  *) func_append new_libs " $deplib" ;;
 	  esac
 	  ;;
-	*) new_libs="$new_libs $deplib" ;;
+	*) func_append new_libs " $deplib" ;;
 	esac
       done
       compile_deplibs="$new_libs"
 
 
-      compile_command="$compile_command $compile_deplibs"
-      finalize_command="$finalize_command $finalize_deplibs"
+      func_append compile_command " $compile_deplibs"
+      func_append finalize_command " $finalize_deplibs"
 
       if test -n "$rpath$xrpath"; then
 	# If the user specified any rpath flags, then add them.
@@ -7573,7 +8770,7 @@ EOF
 	  # This is the magic to use -rpath.
 	  case "$finalize_rpath " in
 	  *" $libdir "*) ;;
-	  *) finalize_rpath="$finalize_rpath $libdir" ;;
+	  *) func_append finalize_rpath " $libdir" ;;
 	  esac
 	done
       fi
@@ -7592,18 +8789,18 @@ EOF
 	      *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
 		;;
 	      *)
-		hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
+		func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
 		;;
 	      esac
 	    fi
 	  else
 	    eval flag=\"$hardcode_libdir_flag_spec\"
-	    rpath="$rpath $flag"
+	    func_append rpath " $flag"
 	  fi
 	elif test -n "$runpath_var"; then
 	  case "$perm_rpath " in
 	  *" $libdir "*) ;;
-	  *) perm_rpath="$perm_rpath $libdir" ;;
+	  *) func_append perm_rpath " $libdir" ;;
 	  esac
 	fi
 	case $host in
@@ -7612,12 +8809,12 @@ EOF
 	  case :$dllsearchpath: in
 	  *":$libdir:"*) ;;
 	  ::) dllsearchpath=$libdir;;
-	  *) dllsearchpath="$dllsearchpath:$libdir";;
+	  *) func_append dllsearchpath ":$libdir";;
 	  esac
 	  case :$dllsearchpath: in
 	  *":$testbindir:"*) ;;
 	  ::) dllsearchpath=$testbindir;;
-	  *) dllsearchpath="$dllsearchpath:$testbindir";;
+	  *) func_append dllsearchpath ":$testbindir";;
 	  esac
 	  ;;
 	esac
@@ -7643,18 +8840,18 @@ EOF
 	      *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
 		;;
 	      *)
-		hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
+		func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
 		;;
 	      esac
 	    fi
 	  else
 	    eval flag=\"$hardcode_libdir_flag_spec\"
-	    rpath="$rpath $flag"
+	    func_append rpath " $flag"
 	  fi
 	elif test -n "$runpath_var"; then
 	  case "$finalize_perm_rpath " in
 	  *" $libdir "*) ;;
-	  *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
+	  *) func_append finalize_perm_rpath " $libdir" ;;
 	  esac
 	fi
       done
@@ -7668,8 +8865,8 @@ EOF
 
       if test -n "$libobjs" && test "$build_old_libs" = yes; then
 	# Transform all the library objects into standard objects.
-	compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
-	finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
+	compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
+	finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
       fi
 
       func_generate_dlsyms "$outputname" "@PROGRAM@" "no"
@@ -7681,15 +8878,15 @@ EOF
 
       wrappers_required=yes
       case $host in
+      *cegcc* | *mingw32ce*)
+        # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway.
+        wrappers_required=no
+        ;;
       *cygwin* | *mingw* )
         if test "$build_libtool_libs" != yes; then
           wrappers_required=no
         fi
         ;;
-      *cegcc)
-        # Disable wrappers for cegcc, we are cross compiling anyway.
-        wrappers_required=no
-        ;;
       *)
         if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
           wrappers_required=no
@@ -7698,13 +8895,19 @@ EOF
       esac
       if test "$wrappers_required" = no; then
 	# Replace the output file specification.
-	compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
+	compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
 	link_command="$compile_command$compile_rpath"
 
 	# We have no uninstalled library dependencies, so finalize right now.
 	exit_status=0
 	func_show_eval "$link_command" 'exit_status=$?'
 
+	if test -n "$postlink_cmds"; then
+	  func_to_tool_file "$output"
+	  postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
+	  func_execute_cmds "$postlink_cmds" 'exit $?'
+	fi
+
 	# Delete the generated files.
 	if test -f "$output_objdir/${outputname}S.${objext}"; then
 	  func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"'
@@ -7727,7 +8930,7 @@ EOF
 	  # We should set the runpath_var.
 	  rpath=
 	  for dir in $perm_rpath; do
-	    rpath="$rpath$dir:"
+	    func_append rpath "$dir:"
 	  done
 	  compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
 	fi
@@ -7735,7 +8938,7 @@ EOF
 	  # We should set the runpath_var.
 	  rpath=
 	  for dir in $finalize_perm_rpath; do
-	    rpath="$rpath$dir:"
+	    func_append rpath "$dir:"
 	  done
 	  finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
 	fi
@@ -7745,11 +8948,18 @@ EOF
 	# We don't need to create a wrapper script.
 	link_command="$compile_var$compile_command$compile_rpath"
 	# Replace the output file specification.
-	link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
+	link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
 	# Delete the old output file.
 	$opt_dry_run || $RM $output
 	# Link the executable and exit
 	func_show_eval "$link_command" 'exit $?'
+
+	if test -n "$postlink_cmds"; then
+	  func_to_tool_file "$output"
+	  postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
+	  func_execute_cmds "$postlink_cmds" 'exit $?'
+	fi
+
 	exit $EXIT_SUCCESS
       fi
 
@@ -7764,7 +8974,7 @@ EOF
 	if test "$fast_install" != no; then
 	  link_command="$finalize_var$compile_command$finalize_rpath"
 	  if test "$fast_install" = yes; then
-	    relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
+	    relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'`
 	  else
 	    # fast_install is set to needless
 	    relink_command=
@@ -7776,13 +8986,19 @@ EOF
       fi
 
       # Replace the output file specification.
-      link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
+      link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
 
       # Delete the old output files.
       $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
 
       func_show_eval "$link_command" 'exit $?'
 
+      if test -n "$postlink_cmds"; then
+	func_to_tool_file "$output_objdir/$outputname"
+	postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
+	func_execute_cmds "$postlink_cmds" 'exit $?'
+      fi
+
       # Now create the wrapper script.
       func_verbose "creating $output"
 
@@ -7800,18 +9016,7 @@ EOF
 	  fi
 	done
 	relink_command="(cd `pwd`; $relink_command)"
-	relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
-      fi
-
-      # Quote $ECHO for shipping.
-      if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then
-	case $progpath in
-	[\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
-	*) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
-	esac
-	qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"`
-      else
-	qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"`
+	relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
       fi
 
       # Only actually do things if not in dry run mode.
@@ -7891,7 +9096,7 @@ EOF
 	else
 	  oldobjs="$old_deplibs $non_pic_objects"
 	  if test "$preload" = yes && test -f "$symfileobj"; then
-	    oldobjs="$oldobjs $symfileobj"
+	    func_append oldobjs " $symfileobj"
 	  fi
 	fi
 	addlibs="$old_convenience"
@@ -7899,10 +9104,10 @@ EOF
 
       if test -n "$addlibs"; then
 	gentop="$output_objdir/${outputname}x"
-	generated="$generated $gentop"
+	func_append generated " $gentop"
 
 	func_extract_archives $gentop $addlibs
-	oldobjs="$oldobjs $func_extract_archives_result"
+	func_append oldobjs " $func_extract_archives_result"
       fi
 
       # Do each command in the archive commands.
@@ -7913,10 +9118,10 @@ EOF
 	# Add any objects from preloaded convenience libraries
 	if test -n "$dlprefiles"; then
 	  gentop="$output_objdir/${outputname}x"
-	  generated="$generated $gentop"
+	  func_append generated " $gentop"
 
 	  func_extract_archives $gentop $dlprefiles
-	  oldobjs="$oldobjs $func_extract_archives_result"
+	  func_append oldobjs " $func_extract_archives_result"
 	fi
 
 	# POSIX demands no paths to be encoded in archives.  We have
@@ -7932,9 +9137,9 @@ EOF
 	    done | sort | sort -uc >/dev/null 2>&1); then
 	  :
 	else
-	  $ECHO "copying selected object files to avoid basename conflicts..."
+	  echo "copying selected object files to avoid basename conflicts..."
 	  gentop="$output_objdir/${outputname}x"
-	  generated="$generated $gentop"
+	  func_append generated " $gentop"
 	  func_mkdir_p "$gentop"
 	  save_oldobjs=$oldobjs
 	  oldobjs=
@@ -7958,18 +9163,30 @@ EOF
 		esac
 	      done
 	      func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
-	      oldobjs="$oldobjs $gentop/$newobj"
+	      func_append oldobjs " $gentop/$newobj"
 	      ;;
-	    *) oldobjs="$oldobjs $obj" ;;
+	    *) func_append oldobjs " $obj" ;;
 	    esac
 	  done
 	fi
+	func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
+	tool_oldlib=$func_to_tool_file_result
 	eval cmds=\"$old_archive_cmds\"
 
 	func_len " $cmds"
 	len=$func_len_result
 	if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
 	  cmds=$old_archive_cmds
+	elif test -n "$archiver_list_spec"; then
+	  func_verbose "using command file archive linking..."
+	  for obj in $oldobjs
+	  do
+	    func_to_tool_file "$obj"
+	    $ECHO "$func_to_tool_file_result"
+	  done > $output_objdir/$libname.libcmd
+	  func_to_tool_file "$output_objdir/$libname.libcmd"
+	  oldobjs=" $archiver_list_spec$func_to_tool_file_result"
+	  cmds=$old_archive_cmds
 	else
 	  # the command line is too long to link in one step, link in parts
 	  func_verbose "using piecewise archive linking..."
@@ -8043,7 +9260,7 @@ EOF
       done
       # Quote the link command for shipping.
       relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
-      relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
+      relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
       if test "$hardcode_automatic" = yes ; then
 	relink_command=
       fi
@@ -8063,12 +9280,23 @@ EOF
 	      *.la)
 		func_basename "$deplib"
 		name="$func_basename_result"
-		eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
+		func_resolve_sysroot "$deplib"
+		eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
 		test -z "$libdir" && \
 		  func_fatal_error "\`$deplib' is not a valid libtool archive"
-		newdependency_libs="$newdependency_libs $libdir/$name"
+		func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"
+		;;
+	      -L*)
+		func_stripname -L '' "$deplib"
+		func_replace_sysroot "$func_stripname_result"
+		func_append newdependency_libs " -L$func_replace_sysroot_result"
 		;;
-	      *) newdependency_libs="$newdependency_libs $deplib" ;;
+	      -R*)
+		func_stripname -R '' "$deplib"
+		func_replace_sysroot "$func_stripname_result"
+		func_append newdependency_libs " -R$func_replace_sysroot_result"
+		;;
+	      *) func_append newdependency_libs " $deplib" ;;
 	      esac
 	    done
 	    dependency_libs="$newdependency_libs"
@@ -8082,9 +9310,9 @@ EOF
 		eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
 		test -z "$libdir" && \
 		  func_fatal_error "\`$lib' is not a valid libtool archive"
-		newdlfiles="$newdlfiles $libdir/$name"
+		func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name"
 		;;
-	      *) newdlfiles="$newdlfiles $lib" ;;
+	      *) func_append newdlfiles " $lib" ;;
 	      esac
 	    done
 	    dlfiles="$newdlfiles"
@@ -8101,7 +9329,7 @@ EOF
 		eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
 		test -z "$libdir" && \
 		  func_fatal_error "\`$lib' is not a valid libtool archive"
-		newdlprefiles="$newdlprefiles $libdir/$name"
+		func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name"
 		;;
 	      esac
 	    done
@@ -8113,7 +9341,7 @@ EOF
 		[\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
 		*) abs=`pwd`"/$lib" ;;
 	      esac
-	      newdlfiles="$newdlfiles $abs"
+	      func_append newdlfiles " $abs"
 	    done
 	    dlfiles="$newdlfiles"
 	    newdlprefiles=
@@ -8122,15 +9350,33 @@ EOF
 		[\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
 		*) abs=`pwd`"/$lib" ;;
 	      esac
-	      newdlprefiles="$newdlprefiles $abs"
+	      func_append newdlprefiles " $abs"
 	    done
 	    dlprefiles="$newdlprefiles"
 	  fi
 	  $RM $output
 	  # place dlname in correct position for cygwin
+	  # In fact, it would be nice if we could use this code for all target
+	  # systems that can't hard-code library paths into their executables
+	  # and that have no shared library path variable independent of PATH,
+	  # but it turns out we can't easily determine that from inspecting
+	  # libtool variables, so we have to hard-code the OSs to which it
+	  # applies here; at the moment, that means platforms that use the PE
+	  # object format with DLL files.  See the long comment at the top of
+	  # tests/bindir.at for full details.
 	  tdlname=$dlname
 	  case $host,$output,$installed,$module,$dlname in
-	    *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
+	    *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll)
+	      # If a -bindir argument was supplied, place the dll there.
+	      if test "x$bindir" != x ;
+	      then
+		func_relative_path "$install_libdir" "$bindir"
+		tdlname=$func_relative_path_result$dlname
+	      else
+		# Otherwise fall back on heuristic.
+		tdlname=../bin/$dlname
+	      fi
+	      ;;
 	  esac
 	  $ECHO > $output "\
 # $outputname - a libtool library file
@@ -8189,7 +9435,7 @@ relink_command=\"$relink_command\""
     exit $EXIT_SUCCESS
 }
 
-{ test "$mode" = link || test "$mode" = relink; } &&
+{ test "$opt_mode" = link || test "$opt_mode" = relink; } &&
     func_mode_link ${1+"$@"}
 
 
@@ -8209,9 +9455,9 @@ func_mode_uninstall ()
     for arg
     do
       case $arg in
-      -f) RM="$RM $arg"; rmforce=yes ;;
-      -*) RM="$RM $arg" ;;
-      *) files="$files $arg" ;;
+      -f) func_append RM " $arg"; rmforce=yes ;;
+      -*) func_append RM " $arg" ;;
+      *) func_append files " $arg" ;;
       esac
     done
 
@@ -8220,24 +9466,23 @@ func_mode_uninstall ()
 
     rmdirs=
 
-    origobjdir="$objdir"
     for file in $files; do
       func_dirname "$file" "" "."
       dir="$func_dirname_result"
       if test "X$dir" = X.; then
-	objdir="$origobjdir"
+	odir="$objdir"
       else
-	objdir="$dir/$origobjdir"
+	odir="$dir/$objdir"
       fi
       func_basename "$file"
       name="$func_basename_result"
-      test "$mode" = uninstall && objdir="$dir"
+      test "$opt_mode" = uninstall && odir="$dir"
 
-      # Remember objdir for removal later, being careful to avoid duplicates
-      if test "$mode" = clean; then
+      # Remember odir for removal later, being careful to avoid duplicates
+      if test "$opt_mode" = clean; then
 	case " $rmdirs " in
-	  *" $objdir "*) ;;
-	  *) rmdirs="$rmdirs $objdir" ;;
+	  *" $odir "*) ;;
+	  *) func_append rmdirs " $odir" ;;
 	esac
       fi
 
@@ -8263,18 +9508,17 @@ func_mode_uninstall ()
 
 	  # Delete the libtool libraries and symlinks.
 	  for n in $library_names; do
-	    rmfiles="$rmfiles $objdir/$n"
+	    func_append rmfiles " $odir/$n"
 	  done
-	  test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
+	  test -n "$old_library" && func_append rmfiles " $odir/$old_library"
 
-	  case "$mode" in
+	  case "$opt_mode" in
 	  clean)
-	    case "  $library_names " in
-	    # "  " in the beginning catches empty $dlname
+	    case " $library_names " in
 	    *" $dlname "*) ;;
-	    *) rmfiles="$rmfiles $objdir/$dlname" ;;
+	    *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;;
 	    esac
-	    test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
+	    test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i"
 	    ;;
 	  uninstall)
 	    if test -n "$library_names"; then
@@ -8302,19 +9546,19 @@ func_mode_uninstall ()
 	  # Add PIC object to the list of files to remove.
 	  if test -n "$pic_object" &&
 	     test "$pic_object" != none; then
-	    rmfiles="$rmfiles $dir/$pic_object"
+	    func_append rmfiles " $dir/$pic_object"
 	  fi
 
 	  # Add non-PIC object to the list of files to remove.
 	  if test -n "$non_pic_object" &&
 	     test "$non_pic_object" != none; then
-	    rmfiles="$rmfiles $dir/$non_pic_object"
+	    func_append rmfiles " $dir/$non_pic_object"
 	  fi
 	fi
 	;;
 
       *)
-	if test "$mode" = clean ; then
+	if test "$opt_mode" = clean ; then
 	  noexename=$name
 	  case $file in
 	  *.exe)
@@ -8324,7 +9568,7 @@ func_mode_uninstall ()
 	    noexename=$func_stripname_result
 	    # $file with .exe has already been added to rmfiles,
 	    # add $file without .exe
-	    rmfiles="$rmfiles $file"
+	    func_append rmfiles " $file"
 	    ;;
 	  esac
 	  # Do a test to see if this is a libtool program.
@@ -8333,7 +9577,7 @@ func_mode_uninstall ()
 	      func_ltwrapper_scriptname "$file"
 	      relink_command=
 	      func_source $func_ltwrapper_scriptname_result
-	      rmfiles="$rmfiles $func_ltwrapper_scriptname_result"
+	      func_append rmfiles " $func_ltwrapper_scriptname_result"
 	    else
 	      relink_command=
 	      func_source $dir/$noexename
@@ -8341,12 +9585,12 @@ func_mode_uninstall ()
 
 	    # note $name still contains .exe if it was in $file originally
 	    # as does the version of $file that was added into $rmfiles
-	    rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
+	    func_append rmfiles " $odir/$name $odir/${name}S.${objext}"
 	    if test "$fast_install" = yes && test -n "$relink_command"; then
-	      rmfiles="$rmfiles $objdir/lt-$name"
+	      func_append rmfiles " $odir/lt-$name"
 	    fi
 	    if test "X$noexename" != "X$name" ; then
-	      rmfiles="$rmfiles $objdir/lt-${noexename}.c"
+	      func_append rmfiles " $odir/lt-${noexename}.c"
 	    fi
 	  fi
 	fi
@@ -8354,7 +9598,6 @@ func_mode_uninstall ()
       esac
       func_show_eval "$RM $rmfiles" 'exit_status=1'
     done
-    objdir="$origobjdir"
 
     # Try to remove the ${objdir}s in the directories where we deleted files
     for dir in $rmdirs; do
@@ -8366,16 +9609,16 @@ func_mode_uninstall ()
     exit $exit_status
 }
 
-{ test "$mode" = uninstall || test "$mode" = clean; } &&
+{ test "$opt_mode" = uninstall || test "$opt_mode" = clean; } &&
     func_mode_uninstall ${1+"$@"}
 
-test -z "$mode" && {
+test -z "$opt_mode" && {
   help="$generic_help"
   func_fatal_help "you must specify a MODE"
 }
 
 test -z "$exec_cmd" && \
-  func_fatal_help "invalid operation mode \`$mode'"
+  func_fatal_help "invalid operation mode \`$opt_mode'"
 
 if test -n "$exec_cmd"; then
   eval exec "$exec_cmd"
diff --git a/macros/libtool.m4 b/macros/libtool.m4
index a3fee53..44e0ecf 100644
--- a/macros/libtool.m4
+++ b/macros/libtool.m4
@@ -1,7 +1,8 @@
 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
 #
 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
-#                 2006, 2007, 2008 Free Software Foundation, Inc.
+#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
+#                 Foundation, Inc.
 #   Written by Gordon Matzigkeit, 1996
 #
 # This file is free software; the Free Software Foundation gives
@@ -10,7 +11,8 @@
 
 m4_define([_LT_COPYING], [dnl
 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
-#                 2006, 2007, 2008 Free Software Foundation, Inc.
+#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
+#                 Foundation, Inc.
 #   Written by Gordon Matzigkeit, 1996
 #
 #   This file is part of GNU Libtool.
@@ -37,7 +39,7 @@ m4_define([_LT_COPYING], [dnl
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 ])
 
-# serial 56 LT_INIT
+# serial 57 LT_INIT
 
 
 # LT_PREREQ(VERSION)
@@ -66,6 +68,7 @@ esac
 # ------------------
 AC_DEFUN([LT_INIT],
 [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
+AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
 AC_BEFORE([$0], [LT_LANG])dnl
 AC_BEFORE([$0], [LT_OUTPUT])dnl
 AC_BEFORE([$0], [LTDL_INIT])dnl
@@ -82,6 +85,8 @@ AC_REQUIRE([LTVERSION_VERSION])dnl
 AC_REQUIRE([LTOBSOLETE_VERSION])dnl
 m4_require([_LT_PROG_LTMAIN])dnl
 
+_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
+
 dnl Parse OPTIONS
 _LT_SET_OPTIONS([$0], [$1])
 
@@ -118,7 +123,7 @@ m4_defun([_LT_CC_BASENAME],
     *) break;;
   esac
 done
-cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 ])
 
 
@@ -138,6 +143,11 @@ m4_defun([_LT_FILEUTILS_DEFAULTS],
 m4_defun([_LT_SETUP],
 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
+AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
+
+_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
+dnl
 _LT_DECL([], [host_alias], [0], [The host system])dnl
 _LT_DECL([], [host], [0])dnl
 _LT_DECL([], [host_os], [0])dnl
@@ -160,10 +170,13 @@ _LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
 dnl
 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 m4_require([_LT_CHECK_SHELL_FEATURES])dnl
+m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
 m4_require([_LT_CMD_RELOAD])dnl
 m4_require([_LT_CHECK_MAGIC_METHOD])dnl
+m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
 m4_require([_LT_CMD_OLD_ARCHIVE])dnl
 m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
+m4_require([_LT_WITH_SYSROOT])dnl
 
 _LT_CONFIG_LIBTOOL_INIT([
 # See if we are running on zsh, and set the options which allow our
@@ -179,7 +192,6 @@ fi
 _LT_CHECK_OBJDIR
 
 m4_require([_LT_TAG_COMPILER])dnl
-_LT_PROG_ECHO_BACKSLASH
 
 case $host_os in
 aix3*)
@@ -193,23 +205,6 @@ aix3*)
   ;;
 esac
 
-# Sed substitution that helps us do robust quoting.  It backslashifies
-# metacharacters that are still active within double-quoted strings.
-sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
-
-# Same as above, but do not quote variable references.
-double_quote_subst='s/\([["`\\]]\)/\\\1/g'
-
-# Sed substitution to delay expansion of an escaped shell variable in a
-# double_quote_subst'ed string.
-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
-
-# Sed substitution to delay expansion of an escaped single quote.
-delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
-
-# Sed substitution to avoid accidental globbing in evaled expressions
-no_glob_subst='s/\*/\\\*/g'
-
 # Global variables:
 ofile=libtool
 can_build_shared=yes
@@ -250,6 +245,28 @@ _LT_CONFIG_COMMANDS
 ])# _LT_SETUP
 
 
+# _LT_PREPARE_SED_QUOTE_VARS
+# --------------------------
+# Define a few sed substitution that help us do robust quoting.
+m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
+[# Backslashify metacharacters that are still active within
+# double-quoted strings.
+sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
+
+# Same as above, but do not quote variable references.
+double_quote_subst='s/\([["`\\]]\)/\\\1/g'
+
+# Sed substitution to delay expansion of an escaped shell variable in a
+# double_quote_subst'ed string.
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+
+# Sed substitution to delay expansion of an escaped single quote.
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
+
+# Sed substitution to avoid accidental globbing in evaled expressions
+no_glob_subst='s/\*/\\\*/g'
+])
+
 # _LT_PROG_LTMAIN
 # ---------------
 # Note that this code is called both from `configure', and `config.status'
@@ -408,7 +425,7 @@ m4_define([_lt_decl_all_varnames],
 # declaration there will have the same value as in `configure'.  VARNAME
 # must have a single quote delimited value for this to work.
 m4_define([_LT_CONFIG_STATUS_DECLARE],
-[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
+[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
 
 
 # _LT_CONFIG_STATUS_DECLARATIONS
@@ -418,7 +435,7 @@ m4_define([_LT_CONFIG_STATUS_DECLARE],
 # embedded single quotes properly.  In configure, this macro expands
 # each variable declared with _LT_DECL (and _LT_TAGDECL) into:
 #
-#    <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
+#    <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
 m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
 [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
     [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
@@ -517,12 +534,20 @@ LTCC='$LTCC'
 LTCFLAGS='$LTCFLAGS'
 compiler='$compiler_DEFAULT'
 
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+  eval 'cat <<_LTECHO_EOF
+\$[]1
+_LTECHO_EOF'
+}
+
 # Quote evaled strings.
 for var in lt_decl_all_varnames([[ \
 ]], lt_decl_quote_varnames); do
-    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
+    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
     *[[\\\\\\\`\\"\\\$]]*)
-      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
       ;;
     *)
       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
@@ -533,9 +558,9 @@ done
 # Double-quote double-evaled strings.
 for var in lt_decl_all_varnames([[ \
 ]], lt_decl_dquote_varnames); do
-    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
+    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
     *[[\\\\\\\`\\"\\\$]]*)
-      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
       ;;
     *)
       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
@@ -543,16 +568,38 @@ for var in lt_decl_all_varnames([[ \
     esac
 done
 
-# Fix-up fallback echo if it was mangled by the above quoting rules.
-case \$lt_ECHO in
-*'\\\[$]0 --fallback-echo"')dnl "
-  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
-  ;;
-esac
-
 _LT_OUTPUT_LIBTOOL_INIT
 ])
 
+# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
+# ------------------------------------
+# Generate a child script FILE with all initialization necessary to
+# reuse the environment learned by the parent script, and make the
+# file executable.  If COMMENT is supplied, it is inserted after the
+# `#!' sequence but before initialization text begins.  After this
+# macro, additional text can be appended to FILE to form the body of
+# the child script.  The macro ends with non-zero status if the
+# file could not be fully written (such as if the disk is full).
+m4_ifdef([AS_INIT_GENERATED],
+[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
+[m4_defun([_LT_GENERATED_FILE_INIT],
+[m4_require([AS_PREPARE])]dnl
+[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
+[lt_write_fail=0
+cat >$1 <<_ASEOF || lt_write_fail=1
+#! $SHELL
+# Generated by $as_me.
+$2
+SHELL=\${CONFIG_SHELL-$SHELL}
+export SHELL
+_ASEOF
+cat >>$1 <<\_ASEOF || lt_write_fail=1
+AS_SHELL_SANITIZE
+_AS_PREPARE
+exec AS_MESSAGE_FD>&1
+_ASEOF
+test $lt_write_fail = 0 && chmod +x $1[]dnl
+m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
 
 # LT_OUTPUT
 # ---------
@@ -562,20 +609,11 @@ _LT_OUTPUT_LIBTOOL_INIT
 AC_DEFUN([LT_OUTPUT],
 [: ${CONFIG_LT=./config.lt}
 AC_MSG_NOTICE([creating $CONFIG_LT])
-cat >"$CONFIG_LT" <<_LTEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate a libtool stub with the current configuration.
-
-lt_cl_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_LTEOF
+_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
+[# Run this file to recreate a libtool stub with the current configuration.])
 
 cat >>"$CONFIG_LT" <<\_LTEOF
-AS_SHELL_SANITIZE
-_AS_PREPARE
-
-exec AS_MESSAGE_FD>&1
+lt_cl_silent=false
 exec AS_MESSAGE_LOG_FD>>config.log
 {
   echo
@@ -601,7 +639,7 @@ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
 configured by $[0], generated by m4_PACKAGE_STRING.
 
-Copyright (C) 2008 Free Software Foundation, Inc.
+Copyright (C) 2011 Free Software Foundation, Inc.
 This config.lt script is free software; the Free Software Foundation
 gives unlimited permision to copy, distribute and modify it."
 
@@ -646,15 +684,13 @@ chmod +x "$CONFIG_LT"
 # appending to config.log, which fails on DOS, as config.log is still kept
 # open by configure.  Here we exec the FD to /dev/null, effectively closing
 # config.log, so it can be properly (re)opened and appended to by config.lt.
-if test "$no_create" != yes; then
-  lt_cl_success=:
-  test "$silent" = yes &&
-    lt_config_lt_args="$lt_config_lt_args --quiet"
-  exec AS_MESSAGE_LOG_FD>/dev/null
-  $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
-  exec AS_MESSAGE_LOG_FD>>config.log
-  $lt_cl_success || AS_EXIT(1)
-fi
+lt_cl_success=:
+test "$silent" = yes &&
+  lt_config_lt_args="$lt_config_lt_args --quiet"
+exec AS_MESSAGE_LOG_FD>/dev/null
+$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
+exec AS_MESSAGE_LOG_FD>>config.log
+$lt_cl_success || AS_EXIT(1)
 ])# LT_OUTPUT
 
 
@@ -717,15 +753,12 @@ _LT_EOF
   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   # text mode, it properly converts lines to CR/LF.  This bash problem
   # is reportedly fixed, but why not run on old versions too?
-  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
-    || (rm -f "$cfgfile"; exit 1)
-
-  _LT_PROG_XSI_SHELLFNS
+  sed '$q' "$ltmain" >> "$cfgfile" \
+     || (rm -f "$cfgfile"; exit 1)
 
-  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
-    || (rm -f "$cfgfile"; exit 1)
+  _LT_PROG_REPLACE_SHELLFNS
 
-  mv -f "$cfgfile" "$ofile" ||
+   mv -f "$cfgfile" "$ofile" ||
     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   chmod +x "$ofile"
 ],
@@ -770,6 +803,7 @@ AC_DEFUN([LT_LANG],
 m4_case([$1],
   [C],			[_LT_LANG(C)],
   [C++],		[_LT_LANG(CXX)],
+  [Go],			[_LT_LANG(GO)],
   [Java],		[_LT_LANG(GCJ)],
   [Fortran 77],		[_LT_LANG(F77)],
   [Fortran],		[_LT_LANG(FC)],
@@ -791,6 +825,31 @@ m4_defun([_LT_LANG],
 ])# _LT_LANG
 
 
+m4_ifndef([AC_PROG_GO], [
+############################################################
+# NOTE: This macro has been submitted for inclusion into   #
+#  GNU Autoconf as AC_PROG_GO.  When it is available in    #
+#  a released version of Autoconf we should remove this    #
+#  macro and use it instead.                               #
+############################################################
+m4_defun([AC_PROG_GO],
+[AC_LANG_PUSH(Go)dnl
+AC_ARG_VAR([GOC],     [Go compiler command])dnl
+AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
+_AC_ARG_VAR_LDFLAGS()dnl
+AC_CHECK_TOOL(GOC, gccgo)
+if test -z "$GOC"; then
+  if test -n "$ac_tool_prefix"; then
+    AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
+  fi
+fi
+if test -z "$GOC"; then
+  AC_CHECK_PROG(GOC, gccgo, gccgo, false)
+fi
+])#m4_defun
+])#m4_ifndef
+
+
 # _LT_LANG_DEFAULT_CONFIG
 # -----------------------
 m4_defun([_LT_LANG_DEFAULT_CONFIG],
@@ -821,6 +880,10 @@ AC_PROVIDE_IFELSE([AC_PROG_GCJ],
        m4_ifdef([LT_PROG_GCJ],
 	[m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
 
+AC_PROVIDE_IFELSE([AC_PROG_GO],
+  [LT_LANG(GO)],
+  [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
+
 AC_PROVIDE_IFELSE([LT_PROG_RC],
   [LT_LANG(RC)],
   [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
@@ -831,11 +894,13 @@ AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
 AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
 AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
 AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
+AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
 dnl aclocal-1.4 backwards compatibility:
 dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
 dnl AC_DEFUN([AC_LIBTOOL_F77], [])
 dnl AC_DEFUN([AC_LIBTOOL_FC], [])
 dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
+dnl AC_DEFUN([AC_LIBTOOL_RC], [])
 
 
 # _LT_TAG_COMPILER
@@ -921,7 +986,13 @@ m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
         _lt_result=$?
-	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
+	# If there is a non-empty error log, and "single_module"
+	# appears in it, assume the flag caused a linker warning
+        if test -s conftest.err && $GREP single_module conftest.err; then
+	  cat conftest.err >&AS_MESSAGE_LOG_FD
+	# Otherwise, if the output was created with a 0 exit code from
+	# the compiler, it worked.
+	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
 	  lt_cv_apple_cc_single_mod=yes
 	else
 	  cat conftest.err >&AS_MESSAGE_LOG_FD
@@ -929,6 +1000,7 @@ m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
 	rm -rf libconftest.dylib*
 	rm -f conftest.*
       fi])
+
     AC_CACHE_CHECK([for -exported_symbols_list linker flag],
       [lt_cv_ld_exported_symbols_list],
       [lt_cv_ld_exported_symbols_list=no
@@ -940,6 +1012,34 @@ m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
 	[lt_cv_ld_exported_symbols_list=no])
 	LDFLAGS="$save_LDFLAGS"
     ])
+
+    AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
+      [lt_cv_ld_force_load=no
+      cat > conftest.c << _LT_EOF
+int forced_loaded() { return 2;}
+_LT_EOF
+      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
+      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
+      echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
+      $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
+      echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
+      $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
+      cat > conftest.c << _LT_EOF
+int main() { return 0;}
+_LT_EOF
+      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
+      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
+      _lt_result=$?
+      if test -s conftest.err && $GREP force_load conftest.err; then
+	cat conftest.err >&AS_MESSAGE_LOG_FD
+      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
+	lt_cv_ld_force_load=yes
+      else
+	cat conftest.err >&AS_MESSAGE_LOG_FD
+      fi
+        rm -f conftest.err libconftest.a conftest conftest.c
+        rm -rf conftest.dSYM
+    ])
     case $host_os in
     rhapsody* | darwin1.[[012]])
       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
@@ -967,7 +1067,7 @@ m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
     else
       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
     fi
-    if test "$DSYMUTIL" != ":"; then
+    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
       _lt_dsymutil='~$DSYMUTIL $lib || :'
     else
       _lt_dsymutil=
@@ -977,8 +1077,8 @@ m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
 ])
 
 
-# _LT_DARWIN_LINKER_FEATURES
-# --------------------------
+# _LT_DARWIN_LINKER_FEATURES([TAG])
+# ---------------------------------
 # Checks for linker and compiler features on darwin
 m4_defun([_LT_DARWIN_LINKER_FEATURES],
 [
@@ -987,7 +1087,13 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
   _LT_TAGVAR(hardcode_direct, $1)=no
   _LT_TAGVAR(hardcode_automatic, $1)=yes
   _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
-  _LT_TAGVAR(whole_archive_flag_spec, $1)=''
+  if test "$lt_cv_ld_force_load" = "yes"; then
+    _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
+    m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
+                  [FC],  [_LT_TAGVAR(compiler_needs_object, $1)=yes])
+  else
+    _LT_TAGVAR(whole_archive_flag_spec, $1)=''
+  fi
   _LT_TAGVAR(link_all_deplibs, $1)=yes
   _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
   case $cc_basename in
@@ -995,7 +1101,7 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
      *) _lt_dar_can_shared=$GCC ;;
   esac
   if test "$_lt_dar_can_shared" = "yes"; then
-    output_verbose_link_cmd=echo
+    output_verbose_link_cmd=func_echo_all
     _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
     _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
     _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
@@ -1011,203 +1117,142 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
   fi
 ])
 
-# _LT_SYS_MODULE_PATH_AIX
-# -----------------------
+# _LT_SYS_MODULE_PATH_AIX([TAGNAME])
+# ----------------------------------
 # Links a minimal program and checks the executable
 # for the system default hardcoded library path. In most cases,
 # this is /usr/lib:/lib, but when the MPI compilers are used
 # the location of the communication and MPI libs are included too.
 # If we don't find anything, use the default library path according
 # to the aix ld manual.
+# Store the results from the different compilers for each TAGNAME.
+# Allow to override them for all tags through lt_cv_aix_libpath.
 m4_defun([_LT_SYS_MODULE_PATH_AIX],
 [m4_require([_LT_DECL_SED])dnl
-AC_LINK_IFELSE(AC_LANG_PROGRAM,[
-lt_aix_libpath_sed='
-    /Import File Strings/,/^$/ {
-	/^0/ {
-	    s/^0  *\(.*\)$/\1/
-	    p
-	}
-    }'
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-# Check for a 64-bit object if we didn't find anything.
-if test -z "$aix_libpath"; then
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-fi],[])
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+if test "${lt_cv_aix_libpath+set}" = set; then
+  aix_libpath=$lt_cv_aix_libpath
+else
+  AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
+  [AC_LINK_IFELSE([AC_LANG_PROGRAM],[
+  lt_aix_libpath_sed='[
+      /Import File Strings/,/^$/ {
+	  /^0/ {
+	      s/^0  *\([^ ]*\) *$/\1/
+	      p
+	  }
+      }]'
+  _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+  # Check for a 64-bit object if we didn't find anything.
+  if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
+    _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+  fi],[])
+  if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
+    _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib"
+  fi
+  ])
+  aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
+fi
 ])# _LT_SYS_MODULE_PATH_AIX
 
 
 # _LT_SHELL_INIT(ARG)
 # -------------------
 m4_define([_LT_SHELL_INIT],
-[ifdef([AC_DIVERSION_NOTICE],
-	     [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
-	 [AC_DIVERT_PUSH(NOTICE)])
-$1
-AC_DIVERT_POP
-])# _LT_SHELL_INIT
+[m4_divert_text([M4SH-INIT], [$1
+])])# _LT_SHELL_INIT
+
 
 
 # _LT_PROG_ECHO_BACKSLASH
 # -----------------------
-# Add some code to the start of the generated configure script which
-# will find an echo command which doesn't interpret backslashes.
+# Find how we can fake an echo command that does not interpret backslash.
+# In particular, with Autoconf 2.60 or later we add some code to the start
+# of the generated configure script which will find a shell with a builtin
+# printf (which we can use as an echo command).
 m4_defun([_LT_PROG_ECHO_BACKSLASH],
-[_LT_SHELL_INIT([
-# Check that we are running under the correct shell.
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-case X$lt_ECHO in
-X*--fallback-echo)
-  # Remove one level of quotation (which was required for Make).
-  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
-  ;;
-esac
-
-ECHO=${lt_ECHO-echo}
-if test "X[$]1" = X--no-reexec; then
-  # Discard the --no-reexec flag, and continue.
-  shift
-elif test "X[$]1" = X--fallback-echo; then
-  # Avoid inline document here, it may be left over
-  :
-elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
-  # Yippee, $ECHO works!
-  :
+[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+
+AC_MSG_CHECKING([how to print strings])
+# Test print first, because it will be a builtin if present.
+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
+   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
+  ECHO='print -r --'
+elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
+  ECHO='printf %s\n'
 else
-  # Restart under the correct shell.
-  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
-fi
-
-if test "X[$]1" = X--fallback-echo; then
-  # used as fallback echo
-  shift
-  cat <<_LT_EOF
-[$]*
-_LT_EOF
-  exit 0
+  # Use this function as a fallback that always works.
+  func_fallback_echo ()
+  {
+    eval 'cat <<_LTECHO_EOF
+$[]1
+_LTECHO_EOF'
+  }
+  ECHO='func_fallback_echo'
 fi
 
-# The HP-UX ksh and POSIX shell print the target directory to stdout
-# if CDPATH is set.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-if test -z "$lt_ECHO"; then
-  if test "X${echo_test_string+set}" != Xset; then
-    # find a string as large as possible, as long as the shell can cope with it
-    for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
-      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
-      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
-	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
-      then
-        break
-      fi
-    done
-  fi
-
-  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
-     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
-     test "X$echo_testing_string" = "X$echo_test_string"; then
-    :
-  else
-    # The Solaris, AIX, and Digital Unix default echo programs unquote
-    # backslashes.  This makes it impossible to quote backslashes using
-    #   echo "$something" | sed 's/\\/\\\\/g'
-    #
-    # So, first we look for a working echo in the user's PATH.
-
-    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
-    for dir in $PATH /usr/ucb; do
-      IFS="$lt_save_ifs"
-      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
-         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
-         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
-         test "X$echo_testing_string" = "X$echo_test_string"; then
-        ECHO="$dir/echo"
-        break
-      fi
-    done
-    IFS="$lt_save_ifs"
-
-    if test "X$ECHO" = Xecho; then
-      # We didn't find a better echo, so look for alternatives.
-      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
-         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
-         test "X$echo_testing_string" = "X$echo_test_string"; then
-        # This shell has a builtin print -r that does the trick.
-        ECHO='print -r'
-      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
-	   test "X$CONFIG_SHELL" != X/bin/ksh; then
-        # If we have ksh, try running configure again with it.
-        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-        export ORIGINAL_CONFIG_SHELL
-        CONFIG_SHELL=/bin/ksh
-        export CONFIG_SHELL
-        exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
-      else
-        # Try using printf.
-        ECHO='printf %s\n'
-        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
-	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
-	   test "X$echo_testing_string" = "X$echo_test_string"; then
-	  # Cool, printf works
-	  :
-        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
-	     test "X$echo_testing_string" = 'X\t' &&
-	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
-	     test "X$echo_testing_string" = "X$echo_test_string"; then
-	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
-	  export CONFIG_SHELL
-	  SHELL="$CONFIG_SHELL"
-	  export SHELL
-	  ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
-        elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
-	     test "X$echo_testing_string" = 'X\t' &&
-	     echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
-	     test "X$echo_testing_string" = "X$echo_test_string"; then
-	  ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
-        else
-	  # maybe with a smaller string...
-	  prev=:
-
-	  for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
-	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
-	    then
-	      break
-	    fi
-	    prev="$cmd"
-	  done
+# func_echo_all arg...
+# Invoke $ECHO with all args, space-separated.
+func_echo_all ()
+{
+    $ECHO "$*" 
+}
 
-	  if test "$prev" != 'sed 50q "[$]0"'; then
-	    echo_test_string=`eval $prev`
-	    export echo_test_string
-	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
-	  else
-	    # Oops.  We lost completely, so just stick with echo.
-	    ECHO=echo
-	  fi
-        fi
-      fi
-    fi
-  fi
-fi
+case "$ECHO" in
+  printf*) AC_MSG_RESULT([printf]) ;;
+  print*) AC_MSG_RESULT([print -r]) ;;
+  *) AC_MSG_RESULT([cat]) ;;
+esac
 
-# Copy echo and quote the copy suitably for passing to libtool from
-# the Makefile, instead of quoting the original, which is used later.
-lt_ECHO=$ECHO
-if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
-   lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
-fi
+m4_ifdef([_AS_DETECT_SUGGESTED],
+[_AS_DETECT_SUGGESTED([
+  test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
+    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
+    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+    PATH=/empty FPATH=/empty; export PATH FPATH
+    test "X`printf %s $ECHO`" = "X$ECHO" \
+      || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
 
-AC_SUBST(lt_ECHO)
-])
 _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
-_LT_DECL([], [ECHO], [1],
-    [An echo program that does not interpret backslashes])
+_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
 ])# _LT_PROG_ECHO_BACKSLASH
 
 
+# _LT_WITH_SYSROOT
+# ----------------
+AC_DEFUN([_LT_WITH_SYSROOT],
+[AC_MSG_CHECKING([for sysroot])
+AC_ARG_WITH([sysroot],
+[  --with-sysroot[=DIR] Search for dependent libraries within DIR
+                        (or the compiler's sysroot if not specified).],
+[], [with_sysroot=no])
+
+dnl lt_sysroot will always be passed unquoted.  We quote it here
+dnl in case the user passed a directory name.
+lt_sysroot=
+case ${with_sysroot} in #(
+ yes)
+   if test "$GCC" = yes; then
+     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
+   fi
+   ;; #(
+ /*)
+   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
+   ;; #(
+ no|'')
+   ;; #(
+ *)
+   AC_MSG_RESULT([${with_sysroot}])
+   AC_MSG_ERROR([The sysroot must be an absolute path.])
+   ;;
+esac
+
+ AC_MSG_RESULT([${lt_sysroot:-no}])
+_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
+[dependent libraries, and in which our libraries should be installed.])])
+
 # _LT_ENABLE_LOCK
 # ---------------
 m4_defun([_LT_ENABLE_LOCK],
@@ -1236,7 +1281,7 @@ ia64-*-hpux*)
   ;;
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
+  echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
   if AC_TRY_EVAL(ac_compile); then
     if test "$lt_cv_prog_gnu_ld" = yes; then
       case `/usr/bin/file conftest.$ac_objext` in
@@ -1329,14 +1374,27 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
     CFLAGS="$SAVE_CFLAGS"
   fi
   ;;
-sparc*-*solaris*)
+*-*solaris*)
   # Find out which ABI we are using.
   echo 'int i;' > conftest.$ac_ext
   if AC_TRY_EVAL(ac_compile); then
     case `/usr/bin/file conftest.o` in
     *64-bit*)
       case $lt_cv_prog_gnu_ld in
-      yes*) LD="${LD-ld} -m elf64_sparc" ;;
+      yes*)
+        case $host in
+        i?86-*-solaris*)
+          LD="${LD-ld} -m elf_x86_64"
+          ;;
+        sparc*-*-solaris*)
+          LD="${LD-ld} -m elf64_sparc"
+          ;;
+        esac
+        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
+        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
+          LD="${LD-ld}_sol2"
+        fi
+        ;;
       *)
 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 	  LD="${LD-ld} -64"
@@ -1354,14 +1412,47 @@ need_locks="$enable_libtool_lock"
 ])# _LT_ENABLE_LOCK
 
 
+# _LT_PROG_AR
+# -----------
+m4_defun([_LT_PROG_AR],
+[AC_CHECK_TOOLS(AR, [ar], false)
+: ${AR=ar}
+: ${AR_FLAGS=cru}
+_LT_DECL([], [AR], [1], [The archiver])
+_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
+
+AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
+  [lt_cv_ar_at_file=no
+   AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
+     [echo conftest.$ac_objext > conftest.lst
+      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
+      AC_TRY_EVAL([lt_ar_try])
+      if test "$ac_status" -eq 0; then
+	# Ensure the archiver fails upon bogus file names.
+	rm -f conftest.$ac_objext libconftest.a
+	AC_TRY_EVAL([lt_ar_try])
+	if test "$ac_status" -ne 0; then
+          lt_cv_ar_at_file=@
+        fi
+      fi
+      rm -f conftest.* libconftest.a
+     ])
+  ])
+
+if test "x$lt_cv_ar_at_file" = xno; then
+  archiver_list_spec=
+else
+  archiver_list_spec=$lt_cv_ar_at_file
+fi
+_LT_DECL([], [archiver_list_spec], [1],
+  [How to feed a file listing to the archiver])
+])# _LT_PROG_AR
+
+
 # _LT_CMD_OLD_ARCHIVE
 # -------------------
 m4_defun([_LT_CMD_OLD_ARCHIVE],
-[AC_CHECK_TOOL(AR, ar, false)
-test -z "$AR" && AR=ar
-test -z "$AR_FLAGS" && AR_FLAGS=cru
-_LT_DECL([], [AR], [1], [The archiver])
-_LT_DECL([], [AR_FLAGS], [1])
+[_LT_PROG_AR
 
 AC_CHECK_TOOL(STRIP, strip, :)
 test -z "$STRIP" && STRIP=:
@@ -1380,18 +1471,27 @@ old_postuninstall_cmds=
 if test -n "$RANLIB"; then
   case $host_os in
   openbsd*)
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
     ;;
   *)
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
     ;;
   esac
-  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
+  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 fi
+
+case $host_os in
+  darwin*)
+    lock_old_archive_extraction=yes ;;
+  *)
+    lock_old_archive_extraction=no ;;
+esac
 _LT_DECL([], [old_postinstall_cmds], [2])
 _LT_DECL([], [old_postuninstall_cmds], [2])
 _LT_TAGDECL([], [old_archive_cmds], [2],
     [Commands used to build an old-style archive])
+_LT_DECL([], [lock_old_archive_extraction], [0],
+    [Whether to use a lock for old archive extraction])
 ])# _LT_CMD_OLD_ARCHIVE
 
 
@@ -1416,15 +1516,15 @@ AC_CACHE_CHECK([$1], [$2],
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
+   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&AS_MESSAGE_LOG_FD
-   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
        $2=yes
@@ -1464,7 +1564,7 @@ AC_CACHE_CHECK([$1], [$2],
      if test -s conftest.err; then
        # Append any errors to the config.log.
        cat conftest.err 1>&AS_MESSAGE_LOG_FD
-       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
+       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
        if diff conftest.exp conftest.er2 >/dev/null; then
          $2=yes
@@ -1527,6 +1627,11 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
     lt_cv_sys_max_cmd_len=8192;
     ;;
 
+  mint*)
+    # On MiNT this can take a long time and run out of memory.
+    lt_cv_sys_max_cmd_len=8192;
+    ;;
+
   amigaos*)
     # On AmigaOS with pdksh, this test takes hours, literally.
     # So we just punt and use a minimum line length of 8192.
@@ -1552,6 +1657,11 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
     lt_cv_sys_max_cmd_len=196608
     ;;
 
+  os2*)
+    # The test takes a long time on OS/2.
+    lt_cv_sys_max_cmd_len=8192
+    ;;
+
   osf*)
     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
@@ -1591,8 +1701,8 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
       # If test is not a shell built-in, we'll probably end up computing a
       # maximum length that is only half of the actual maximum length, but
       # we can't tell.
-      while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
-	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
+      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
+	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 	      test $i != 17 # 1/2 MB should be enough
       do
         i=`expr $i + 1`
@@ -1643,7 +1753,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-[#line __oline__ "configure"
+[#line $LINENO "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -1684,7 +1794,13 @@ else
 #  endif
 #endif
 
-void fnord() { int i=42;}
+/* When -fvisbility=hidden is used, assume the code has been annotated
+   correspondingly for the symbols needed.  */
+#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+
+int fnord () { return 42; }
 int main ()
 {
   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
@@ -1693,7 +1809,11 @@ int main ()
   if (self)
     {
       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
-      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+      else
+        {
+	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
+          else puts (dlerror ());
+	}
       /* dlclose (self); */
     }
   else
@@ -1869,16 +1989,16 @@ AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
+   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&AS_MESSAGE_LOG_FD
-   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
        _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
@@ -2037,6 +2157,7 @@ m4_require([_LT_DECL_EGREP])dnl
 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 m4_require([_LT_DECL_OBJDUMP])dnl
 m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_CHECK_SHELL_FEATURES])dnl
 AC_MSG_CHECKING([dynamic linker characteristics])
 m4_if([$1],
 	[], [
@@ -2045,16 +2166,23 @@ if test "$GCC" = yes; then
     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
     *) lt_awk_arg="/^libraries:/" ;;
   esac
-  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
-  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
+  case $host_os in
+    mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
+    *) lt_sed_strip_eq="s,=/,/,g" ;;
+  esac
+  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
+  case $lt_search_path_spec in
+  *\;*)
     # if the path contains ";" then we assume it to be the separator
     # otherwise default to the standard path separator (i.e. ":") - it is
     # assumed that no part of a normal pathname contains ";" but that should
     # okay in the real world where ";" in dirpaths is itself problematic.
-    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
-  else
-    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
-  fi
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
+    ;;
+  *)
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
+    ;;
+  esac
   # Ok, now we have the path, separated by spaces, we can step through it
   # and add multilib dir if necessary.
   lt_tmp_lt_search_path_spec=
@@ -2067,7 +2195,7 @@ if test "$GCC" = yes; then
 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
     fi
   done
-  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
+  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 BEGIN {RS=" "; FS="/|\n";} {
   lt_foo="";
   lt_count=0;
@@ -2087,7 +2215,13 @@ BEGIN {RS=" "; FS="/|\n";} {
   if (lt_foo != "") { lt_freq[[lt_foo]]++; }
   if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
 }'`
-  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
+  # AWK program above erroneously prepends '/' to C:/dos/paths
+  # for these hosts.
+  case $host_os in
+    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
+      $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
+  esac
+  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 else
   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 fi])
@@ -2113,7 +2247,7 @@ need_version=unknown
 
 case $host_os in
 aix3*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   shlibpath_var=LIBPATH
 
@@ -2122,7 +2256,7 @@ aix3*)
   ;;
 
 aix[[4-9]]*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   hardcode_into_libs=yes
@@ -2175,7 +2309,7 @@ amigaos*)
   m68k)
     library_names_spec='$libname.ixlibrary $libname.a'
     # Create ${libname}_ixlibrary.a entries in /sys/libs.
-    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
+    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
     ;;
   esac
   ;;
@@ -2187,7 +2321,7 @@ beos*)
   ;;
 
 bsdi[[45]]*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
@@ -2206,8 +2340,9 @@ cygwin* | mingw* | pw32* | cegcc*)
   need_version=no
   need_lib_prefix=no
 
-  case $GCC,$host_os in
-  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
+  case $GCC,$cc_basename in
+  yes,*)
+    # gcc
     library_names_spec='$libname.dll.a'
     # DLL is installed to $(libdir)/../bin by postinstall_cmds
     postinstall_cmds='base_file=`basename \${file}`~
@@ -2228,36 +2363,83 @@ cygwin* | mingw* | pw32* | cegcc*)
     cygwin*)
       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
-      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
+m4_if([$1], [],[
+      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
       ;;
     mingw* | cegcc*)
       # MinGW DLLs use traditional 'lib' prefix
       soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
-      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
-      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
-        # It is most probably a Windows format PATH printed by
-        # mingw gcc, but we are running on Cygwin. Gcc prints its search
-        # path with ; separators, and with drive letters. We can handle the
-        # drive letters (cygwin fileutils understands them), so leave them,
-        # especially as we might pass files found there to a mingw objdump,
-        # which wouldn't understand a cygwinified path. Ahh.
-        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
-      else
-        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
-      fi
       ;;
     pw32*)
       # pw32 DLLs use 'pw' prefix rather than 'lib'
       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
       ;;
     esac
+    dynamic_linker='Win32 ld.exe'
+    ;;
+
+  *,cl*)
+    # Native MSVC
+    libname_spec='$name'
+    soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
+    library_names_spec='${libname}.dll.lib'
+
+    case $build_os in
+    mingw*)
+      sys_lib_search_path_spec=
+      lt_save_ifs=$IFS
+      IFS=';'
+      for lt_path in $LIB
+      do
+        IFS=$lt_save_ifs
+        # Let DOS variable expansion print the short 8.3 style file name.
+        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
+        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
+      done
+      IFS=$lt_save_ifs
+      # Convert to MSYS style.
+      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
+      ;;
+    cygwin*)
+      # Convert to unix form, then to dos form, then back to unix form
+      # but this time dos style (no spaces!) so that the unix form looks
+      # like /cygdrive/c/PROGRA~1:/cygdr...
+      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
+      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
+      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+      ;;
+    *)
+      sys_lib_search_path_spec="$LIB"
+      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
+        # It is most probably a Windows format PATH.
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+      else
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+      fi
+      # FIXME: find the short name or the path components, as spaces are
+      # common. (e.g. "Program Files" -> "PROGRA~1")
+      ;;
+    esac
+
+    # DLL is installed to $(libdir)/../bin by postinstall_cmds
+    postinstall_cmds='base_file=`basename \${file}`~
+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
+      dldir=$destdir/`dirname \$dlpath`~
+      test -d \$dldir || mkdir -p \$dldir~
+      $install_prog $dir/$dlname \$dldir/$dlname'
+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+      dlpath=$dir/\$dldll~
+       $RM \$dlpath'
+    shlibpath_overrides_runpath=yes
+    dynamic_linker='Win32 link.exe'
     ;;
 
   *)
+    # Assume MSVC wrapper
     library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
+    dynamic_linker='Win32 ld.exe'
     ;;
   esac
-  dynamic_linker='Win32 ld.exe'
   # FIXME: first we should search . and the directory the executable is in
   shlibpath_var=PATH
   ;;
@@ -2278,7 +2460,7 @@ m4_if([$1], [],[
   ;;
 
 dgux*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
@@ -2286,10 +2468,6 @@ dgux*)
   shlibpath_var=LD_LIBRARY_PATH
   ;;
 
-freebsd1*)
-  dynamic_linker=no
-  ;;
-
 freebsd* | dragonfly*)
   # DragonFly does not have aout.  When/if they implement a new
   # versioning mechanism, adjust this.
@@ -2297,7 +2475,7 @@ freebsd* | dragonfly*)
     objformat=`/usr/bin/objformat`
   else
     case $host_os in
-    freebsd[[123]]*) objformat=aout ;;
+    freebsd[[23]].*) objformat=aout ;;
     *) objformat=elf ;;
     esac
   fi
@@ -2315,7 +2493,7 @@ freebsd* | dragonfly*)
   esac
   shlibpath_var=LD_LIBRARY_PATH
   case $host_os in
-  freebsd2*)
+  freebsd2.*)
     shlibpath_overrides_runpath=yes
     ;;
   freebsd3.[[01]]* | freebsdelf3.[[01]]*)
@@ -2335,12 +2513,26 @@ freebsd* | dragonfly*)
   ;;
 
 gnu*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
   shlibpath_var=LD_LIBRARY_PATH
+  shlibpath_overrides_runpath=no
+  hardcode_into_libs=yes
+  ;;
+
+haiku*)
+  version_type=linux # correct to gnu/linux during the next big refactor
+  need_lib_prefix=no
+  need_version=no
+  dynamic_linker="$host_os runtime_loader"
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
+  soname_spec='${libname}${release}${shared_ext}$major'
+  shlibpath_var=LIBRARY_PATH
+  shlibpath_overrides_runpath=yes
+  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   hardcode_into_libs=yes
   ;;
 
@@ -2386,12 +2578,14 @@ hpux9* | hpux10* | hpux11*)
     soname_spec='${libname}${release}${shared_ext}$major'
     ;;
   esac
-  # HP-UX runs *really* slowly unless shared libraries are mode 555.
+  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   postinstall_cmds='chmod 555 $lib'
+  # or fails outright, so override atomically:
+  install_override_mode=555
   ;;
 
 interix[[3-9]]*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
@@ -2407,7 +2601,7 @@ irix5* | irix6* | nonstopux*)
     nonstopux*) version_type=nonstopux ;;
     *)
 	if test "$lt_cv_prog_gnu_ld" = yes; then
-		version_type=linux
+		version_type=linux # correct to gnu/linux during the next big refactor
 	else
 		version_type=irix
 	fi ;;
@@ -2444,9 +2638,9 @@ linux*oldld* | linux*aout* | linux*coff*)
   dynamic_linker=no
   ;;
 
-# This must be Linux ELF.
+# This must be glibc/ELF.
 linux* | k*bsd*-gnu | kopensolaris*-gnu)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -2454,16 +2648,21 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   shlibpath_var=LD_LIBRARY_PATH
   shlibpath_overrides_runpath=no
+
   # Some binutils ld are patched to set DT_RUNPATH
-  save_LDFLAGS=$LDFLAGS
-  save_libdir=$libdir
-  eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
-       LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
-  AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
-    [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
-       [shlibpath_overrides_runpath=yes])])
-  LDFLAGS=$save_LDFLAGS
-  libdir=$save_libdir
+  AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
+    [lt_cv_shlibpath_overrides_runpath=no
+    save_LDFLAGS=$LDFLAGS
+    save_libdir=$libdir
+    eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
+	 LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
+    AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
+      [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
+	 [lt_cv_shlibpath_overrides_runpath=yes])])
+    LDFLAGS=$save_LDFLAGS
+    libdir=$save_libdir
+    ])
+  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
   # This implies no fast_install, which is unacceptable.
   # Some rework will be needed to allow for fast_install
@@ -2472,7 +2671,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
   # Append ld.so.conf contents to the search path
   if test -f /etc/ld.so.conf; then
-    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
+    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   fi
 
@@ -2485,18 +2684,6 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
   dynamic_linker='GNU/Linux ld.so'
   ;;
 
-netbsdelf*-gnu)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=no
-  hardcode_into_libs=yes
-  dynamic_linker='NetBSD ld.elf_so'
-  ;;
-
 netbsd*)
   version_type=sunos
   need_lib_prefix=no
@@ -2516,7 +2703,7 @@ netbsd*)
   ;;
 
 newsos6)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   shlibpath_var=LD_LIBRARY_PATH
   shlibpath_overrides_runpath=yes
@@ -2585,7 +2772,7 @@ rdos*)
   ;;
 
 solaris*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -2610,7 +2797,7 @@ sunos4*)
   ;;
 
 sysv4 | sysv4.3*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
   shlibpath_var=LD_LIBRARY_PATH
@@ -2634,7 +2821,7 @@ sysv4 | sysv4.3*)
 
 sysv4*MP*)
   if test -d /usr/nec ;then
-    version_type=linux
+    version_type=linux # correct to gnu/linux during the next big refactor
     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
     soname_spec='$libname${shared_ext}.$major'
     shlibpath_var=LD_LIBRARY_PATH
@@ -2665,7 +2852,7 @@ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
 tpf*)
   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -2675,7 +2862,7 @@ tpf*)
   ;;
 
 uts4*)
-  version_type=linux
+  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'
   shlibpath_var=LD_LIBRARY_PATH
@@ -2717,6 +2904,8 @@ _LT_DECL([], [library_names_spec], [1],
     The last name is the one that the linker finds with -lNAME]])
 _LT_DECL([], [soname_spec], [1],
     [[The coded name of the library, if different from the real name]])
+_LT_DECL([], [install_override_mode], [1],
+    [Permission mode override for installation of shared libraries])
 _LT_DECL([], [postinstall_cmds], [2],
     [Command to use after installation of a shared archive])
 _LT_DECL([], [postuninstall_cmds], [2],
@@ -2829,6 +3018,7 @@ AC_REQUIRE([AC_CANONICAL_HOST])dnl
 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 m4_require([_LT_DECL_SED])dnl
 m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
 
 AC_ARG_WITH([gnu-ld],
     [AS_HELP_STRING([--with-gnu-ld],
@@ -2950,6 +3140,11 @@ case $reload_flag in
 esac
 reload_cmds='$LD$reload_flag -o $output$reload_objs'
 case $host_os in
+  cygwin* | mingw* | pw32* | cegcc*)
+    if test "$GCC" != yes; then
+      reload_cmds=false
+    fi
+    ;;
   darwin*)
     if test "$GCC" = yes; then
       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
@@ -2958,8 +3153,8 @@ case $host_os in
     fi
     ;;
 esac
-_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
-_LT_DECL([], [reload_cmds], [2])dnl
+_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
+_LT_TAGDECL([], [reload_cmds], [2])dnl
 ])# _LT_CMD_RELOAD
 
 
@@ -3011,16 +3206,18 @@ mingw* | pw32*)
   # Base MSYS/MinGW do not provide the 'file' command needed by
   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   # unless we find 'file', for example because we are cross-compiling.
-  if ( file / ) >/dev/null 2>&1; then
+  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
+  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
     lt_cv_file_magic_cmd='func_win32_libid'
   else
-    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+    # Keep this pattern in sync with the one in func_win32_libid.
+    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
     lt_cv_file_magic_cmd='$OBJDUMP -f'
   fi
   ;;
 
-cegcc)
+cegcc*)
   # use the weaker test based on 'objdump'. See mingw*.
   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   lt_cv_file_magic_cmd='$OBJDUMP -f'
@@ -3050,6 +3247,10 @@ gnu*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
+haiku*)
+  lt_cv_deplibs_check_method=pass_all
+  ;;
+
 hpux10.20* | hpux11*)
   lt_cv_file_magic_cmd=/usr/bin/file
   case $host_cpu in
@@ -3058,11 +3259,11 @@ hpux10.20* | hpux11*)
     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     ;;
   hppa*64*)
-    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
+    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]']
     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
     ;;
   *)
-    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
+    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
     lt_cv_file_magic_test_file=/usr/lib/libc.sl
     ;;
   esac
@@ -3083,12 +3284,12 @@ irix5* | irix6* | nonstopux*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
-# This must be Linux ELF.
+# This must be glibc/ELF.
 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
-netbsd* | netbsdelf*-gnu)
+netbsd*)
   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
     lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
   else
@@ -3162,6 +3363,21 @@ tpf*)
   ;;
 esac
 ])
+
+file_magic_glob=
+want_nocaseglob=no
+if test "$build" = "$host"; then
+  case $host_os in
+  mingw* | pw32*)
+    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
+      want_nocaseglob=yes
+    else
+      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"`
+    fi
+    ;;
+  esac
+fi
+
 file_magic_cmd=$lt_cv_file_magic_cmd
 deplibs_check_method=$lt_cv_deplibs_check_method
 test -z "$deplibs_check_method" && deplibs_check_method=unknown
@@ -3169,7 +3385,11 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
 _LT_DECL([], [deplibs_check_method], [1],
     [Method to check whether dependent libraries are shared objects])
 _LT_DECL([], [file_magic_cmd], [1],
-    [Command to use when deplibs_check_method == "file_magic"])
+    [Command to use when deplibs_check_method = "file_magic"])
+_LT_DECL([], [file_magic_glob], [1],
+    [How to find potential files when deplibs_check_method = "file_magic"])
+_LT_DECL([], [want_nocaseglob], [1],
+    [Find potential files using nocaseglob when deplibs_check_method = "file_magic"])
 ])# _LT_CHECK_MAGIC_METHOD
 
 
@@ -3226,10 +3446,22 @@ if test "$lt_cv_path_NM" != "no"; then
   NM="$lt_cv_path_NM"
 else
   # Didn't find any BSD compatible name lister, look for dumpbin.
-  AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
-  AC_SUBST([DUMPBIN])
-  if test "$DUMPBIN" != ":"; then
-    NM="$DUMPBIN"
+  if test -n "$DUMPBIN"; then :
+    # Let the user override the test.
+  else
+    AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
+    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
+    *COFF*)
+      DUMPBIN="$DUMPBIN -symbols"
+      ;;
+    *)
+      DUMPBIN=:
+      ;;
+    esac
+  fi
+  AC_SUBST([DUMPBIN])
+  if test "$DUMPBIN" != ":"; then
+    NM="$DUMPBIN"
   fi
 fi
 test -z "$NM" && NM=nm
@@ -3239,13 +3471,13 @@ _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
 AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
   [lt_cv_nm_interface="BSD nm"
   echo "int some_variable = 0;" > conftest.$ac_ext
-  (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
+  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
   (eval "$ac_compile" 2>conftest.err)
   cat conftest.err >&AS_MESSAGE_LOG_FD
-  (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
+  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   cat conftest.err >&AS_MESSAGE_LOG_FD
-  (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
+  (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
   cat conftest.out >&AS_MESSAGE_LOG_FD
   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
     lt_cv_nm_interface="MS dumpbin"
@@ -3260,6 +3492,67 @@ dnl aclocal-1.4 backwards compatibility:
 dnl AC_DEFUN([AM_PROG_NM], [])
 dnl AC_DEFUN([AC_PROG_NM], [])
 
+# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
+# --------------------------------
+# how to determine the name of the shared library
+# associated with a specific link library.
+#  -- PORTME fill in with the dynamic library characteristics
+m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB],
+[m4_require([_LT_DECL_EGREP])
+m4_require([_LT_DECL_OBJDUMP])
+m4_require([_LT_DECL_DLLTOOL])
+AC_CACHE_CHECK([how to associate runtime and link libraries],
+lt_cv_sharedlib_from_linklib_cmd,
+[lt_cv_sharedlib_from_linklib_cmd='unknown'
+
+case $host_os in
+cygwin* | mingw* | pw32* | cegcc*)
+  # two different shell functions defined in ltmain.sh
+  # decide which to use based on capabilities of $DLLTOOL
+  case `$DLLTOOL --help 2>&1` in
+  *--identify-strict*)
+    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
+    ;;
+  *)
+    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
+    ;;
+  esac
+  ;;
+*)
+  # fallback: assume linklib IS sharedlib
+  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
+  ;;
+esac
+])
+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
+
+_LT_DECL([], [sharedlib_from_linklib_cmd], [1],
+    [Command to associate shared and link libraries])
+])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
+
+
+# _LT_PATH_MANIFEST_TOOL
+# ----------------------
+# locate the manifest tool
+m4_defun([_LT_PATH_MANIFEST_TOOL],
+[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :)
+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
+AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool],
+  [lt_cv_path_mainfest_tool=no
+  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
+  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
+  cat conftest.err >&AS_MESSAGE_LOG_FD
+  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
+    lt_cv_path_mainfest_tool=yes
+  fi
+  rm -f conftest*])
+if test "x$lt_cv_path_mainfest_tool" != xyes; then
+  MANIFEST_TOOL=:
+fi
+_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl
+])# _LT_PATH_MANIFEST_TOOL
+
 
 # LT_LIB_M
 # --------
@@ -3268,7 +3561,7 @@ AC_DEFUN([LT_LIB_M],
 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
 LIBM=
 case $host in
-*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
+*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
   # These system don't have libm, or don't need it
   ;;
 *-ncr-sysv4.3*)
@@ -3296,7 +3589,12 @@ m4_defun([_LT_COMPILER_NO_RTTI],
 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
 
 if test "$GCC" = yes; then
-  _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
+  case $cc_basename in
+  nvcc*)
+    _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
+  *)
+    _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
+  esac
 
   _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
     lt_cv_prog_compiler_rtti_exceptions,
@@ -3313,6 +3611,7 @@ _LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
 m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
 AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([AC_PROG_AWK])dnl
 AC_REQUIRE([LT_PATH_NM])dnl
 AC_REQUIRE([LT_PATH_LD])dnl
 m4_require([_LT_DECL_SED])dnl
@@ -3380,8 +3679,8 @@ esac
 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
 # Transform an extracted symbol line into symbol name and symbol address
-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"
-lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 
 # Handle CRLF in mingw tool chain
 opt_cr=
@@ -3405,6 +3704,7 @@ for ac_symprfx in "" "_"; do
     # which start with @ or ?.
     lt_cv_sys_global_symbol_pipe="$AWK ['"\
 "     {last_section=section; section=\$ 3};"\
+"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 "     \$ 0!~/External *\|/{next};"\
 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
@@ -3417,6 +3717,7 @@ for ac_symprfx in "" "_"; do
   else
     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[	 ]]\($symcode$symcode*\)[[	 ]][[	 ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   fi
+  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 
   # Check to see that the pipe works correctly.
   pipe_works=no
@@ -3438,7 +3739,7 @@ _LT_EOF
   if AC_TRY_EVAL(ac_compile); then
     # Now try to grab the symbols.
     nlist=conftest.nm
-    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
+    if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
       # Try sorting and uniquifying the output.
       if sort "$nlist" | uniq > "$nlist"T; then
 	mv -f "$nlist"T "$nlist"
@@ -3450,6 +3751,18 @@ _LT_EOF
       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 	  cat <<_LT_EOF > conftest.$ac_ext
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
+/* DATA imports from DLLs on WIN32 con't be const, because runtime
+   relocations are performed -- see ld's documentation on pseudo-relocs.  */
+# define LT@&t at _DLSYM_CONST
+#elif defined(__osf__)
+/* This system does not cope well with relocations in const data.  */
+# define LT@&t at _DLSYM_CONST
+#else
+# define LT@&t at _DLSYM_CONST const
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -3461,7 +3774,7 @@ _LT_EOF
 	  cat <<_LT_EOF >> conftest.$ac_ext
 
 /* The mapping between symbol names and symbols.  */
-const struct {
+LT@&t at _DLSYM_CONST struct {
   const char *name;
   void       *address;
 }
@@ -3487,15 +3800,15 @@ static const void *lt_preloaded_setup() {
 _LT_EOF
 	  # Now try linking the two files.
 	  mv conftest.$ac_objext conftstm.$ac_objext
-	  lt_save_LIBS="$LIBS"
-	  lt_save_CFLAGS="$CFLAGS"
+	  lt_globsym_save_LIBS=$LIBS
+	  lt_globsym_save_CFLAGS=$CFLAGS
 	  LIBS="conftstm.$ac_objext"
 	  CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
 	  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
 	    pipe_works=yes
 	  fi
-	  LIBS="$lt_save_LIBS"
-	  CFLAGS="$lt_save_CFLAGS"
+	  LIBS=$lt_globsym_save_LIBS
+	  CFLAGS=$lt_globsym_save_CFLAGS
 	else
 	  echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
 	fi
@@ -3528,6 +3841,13 @@ else
   AC_MSG_RESULT(ok)
 fi
 
+# Response file support.
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+  nm_file_list_spec='@'
+elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
+  nm_file_list_spec='@'
+fi
+
 _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
     [Take the output of nm and produce a listing of raw symbols and C names])
 _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
@@ -3538,6 +3858,8 @@ _LT_DECL([global_symbol_to_c_name_address],
 _LT_DECL([global_symbol_to_c_name_address_lib_prefix],
     [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
     [Transform the output of nm in a C name address pair when lib prefix is needed])
+_LT_DECL([], [nm_file_list_spec], [1],
+    [Specify filename containing input files for $NM])
 ]) # _LT_CMD_GLOBAL_SYMBOLS
 
 
@@ -3549,7 +3871,6 @@ _LT_TAGVAR(lt_prog_compiler_wl, $1)=
 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
 _LT_TAGVAR(lt_prog_compiler_static, $1)=
 
-AC_MSG_CHECKING([for $compiler option to produce PIC])
 m4_if([$1], [CXX], [
   # C++ specific cases for pic, static, wl, etc.
   if test "$GXX" = yes; then
@@ -3600,6 +3921,11 @@ m4_if([$1], [CXX], [
       # DJGPP does not support shared libraries at all
       _LT_TAGVAR(lt_prog_compiler_pic, $1)=
       ;;
+    haiku*)
+      # PIC is the default for Haiku.
+      # The "-static" flag exists, but is broken.
+      _LT_TAGVAR(lt_prog_compiler_static, $1)=
+      ;;
     interix[[3-9]]*)
       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
       # Instead, we relocate shared libraries at runtime.
@@ -3649,6 +3975,12 @@ m4_if([$1], [CXX], [
 	  ;;
 	esac
 	;;
+      mingw* | cygwin* | os2* | pw32* | cegcc*)
+	# This hack is so that the source file can tell whether it is being
+	# built for inclusion in a dll (and should export symbols for example).
+	m4_if([$1], [GCJ], [],
+	  [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+	;;
       dgux*)
 	case $cc_basename in
 	  ec++*)
@@ -3738,8 +4070,8 @@ m4_if([$1], [CXX], [
 	    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
 	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 	    ;;
-	  xlc* | xlC*)
-	    # IBM XL 8.0 on PPC
+	  xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)
+	    # IBM XL 8.0, 9.0 on PPC and BlueGene
 	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
 	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
@@ -3769,7 +4101,7 @@ m4_if([$1], [CXX], [
 	    ;;
 	esac
 	;;
-      netbsd* | netbsdelf*-gnu)
+      netbsd*)
 	;;
       *qnx* | *nto*)
         # QNX uses GNU C++, but need to define -shared option too, otherwise
@@ -3801,7 +4133,7 @@ m4_if([$1], [CXX], [
 	;;
       solaris*)
 	case $cc_basename in
-	  CC*)
+	  CC* | sunCC*)
 	    # Sun C++ 4.2, 5.x and Centerline C++
 	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
@@ -3905,6 +4237,12 @@ m4_if([$1], [CXX], [
       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
       ;;
 
+    haiku*)
+      # PIC is the default for Haiku.
+      # The "-static" flag exists, but is broken.
+      _LT_TAGVAR(lt_prog_compiler_static, $1)=
+      ;;
+
     hpux*)
       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
@@ -3947,6 +4285,15 @@ m4_if([$1], [CXX], [
       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
       ;;
     esac
+
+    case $cc_basename in
+    nvcc*) # Cuda Compiler Driver 2.2
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
+      if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
+        _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
+      fi
+      ;;
+    esac
   else
     # PORTME Check for flag to pass linker flags through the system compiler.
     case $host_os in
@@ -4010,7 +4357,13 @@ m4_if([$1], [CXX], [
 	_LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
 	_LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
 	;;
-      pgcc* | pgf77* | pgf90* | pgf95*)
+      nagfor*)
+	# NAG Fortran compiler
+	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
+	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+	;;
+      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
         # Portland Group compilers (*not* the Pentium gcc compiler,
 	# which looks to be a dead project)
 	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
@@ -4022,25 +4375,40 @@ m4_if([$1], [CXX], [
         # All Alpha code is PIC.
         _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
         ;;
-      xl*)
-	# IBM XL C 8.0/Fortran 10.1 on PPC
+      xl* | bgxl* | bgf* | mpixl*)
+	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
 	_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
 	;;
       *)
 	case `$CC -V 2>&1 | sed 5q` in
+	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
+	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
+	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+	  _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
+	  ;;
+	*Sun\ F* | *Sun*Fortran*)
+	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+	  _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
+	  ;;
 	*Sun\ C*)
 	  # Sun C 5.9
 	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 	  _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 	  ;;
-	*Sun\ F*)
-	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
-	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+        *Intel*\ [[CF]]*Compiler*)
+	  _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+	  ;;
+	*Portland\ Group*)
+	  _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
 	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-	  _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
 	  ;;
 	esac
 	;;
@@ -4072,7 +4440,7 @@ m4_if([$1], [CXX], [
       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
       case $cc_basename in
-      f77* | f90* | f95*)
+      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
       *)
 	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
@@ -4129,9 +4497,11 @@ case $host_os in
     _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t at m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
     ;;
 esac
-AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
-_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
-	[How to pass a linker flag through the compiler])
+
+AC_CACHE_CHECK([for $compiler option to produce PIC],
+  [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)],
+  [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
+_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)
 
 #
 # Check to make sure the PIC flag actually works.
@@ -4150,6 +4520,8 @@ fi
 _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
 	[Additional compiler flags for building library objects])
 
+_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
+	[How to pass a linker flag through the compiler])
 #
 # Check to make sure the static flag actually works.
 #
@@ -4170,6 +4542,7 @@ _LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
 m4_defun([_LT_LINKER_SHLIBS],
 [AC_REQUIRE([LT_PATH_LD])dnl
 AC_REQUIRE([LT_PATH_NM])dnl
+m4_require([_LT_PATH_MANIFEST_TOOL])dnl
 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 m4_require([_LT_DECL_EGREP])dnl
 m4_require([_LT_DECL_SED])dnl
@@ -4178,30 +4551,37 @@ m4_require([_LT_TAG_COMPILER])dnl
 AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
 m4_if([$1], [CXX], [
   _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
   case $host_os in
   aix[[4-9]]*)
     # If we're using GNU nm, then we don't want the "-C" option.
     # -C means demangle to AIX nm, but means don't demangle with GNU nm
+    # Also, AIX nm treats weak defined symbols like other global defined
+    # symbols, whereas GNU nm marks them as "W".
     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
-      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
     else
       _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
     fi
     ;;
   pw32*)
     _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
-  ;;
+    ;;
   cygwin* | mingw* | cegcc*)
-    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
-  ;;
-  linux* | k*bsd*-gnu)
-    _LT_TAGVAR(link_all_deplibs, $1)=no
-  ;;
+    case $cc_basename in
+    cl*)
+      _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+      ;;
+    *)
+      _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
+      _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
+      ;;
+    esac
+    ;;
   *)
     _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
-  ;;
+    ;;
   esac
-  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
 ], [
   runpath_var=
   _LT_TAGVAR(allow_undefined_flag, $1)=
@@ -4216,7 +4596,6 @@ m4_if([$1], [CXX], [
   _LT_TAGVAR(hardcode_direct, $1)=no
   _LT_TAGVAR(hardcode_direct_absolute, $1)=no
   _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
-  _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
   _LT_TAGVAR(hardcode_libdir_separator, $1)=
   _LT_TAGVAR(hardcode_minus_L, $1)=no
   _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
@@ -4261,13 +4640,36 @@ dnl Note also adjust exclude_expsyms for C++ above.
   openbsd*)
     with_gnu_ld=no
     ;;
-  linux* | k*bsd*-gnu)
-    _LT_TAGVAR(link_all_deplibs, $1)=no
-    ;;
   esac
 
   _LT_TAGVAR(ld_shlibs, $1)=yes
+
+  # On some targets, GNU ld is compatible enough with the native linker
+  # that we're better off using the native interface for both.
+  lt_use_gnu_ld_interface=no
   if test "$with_gnu_ld" = yes; then
+    case $host_os in
+      aix*)
+	# The AIX port of GNU ld has always aspired to compatibility
+	# with the native linker.  However, as the warning in the GNU ld
+	# block says, versions before 2.19.5* couldn't really create working
+	# shared libraries, regardless of the interface used.
+	case `$LD -v 2>&1` in
+	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
+	  *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
+	  *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
+	  *)
+	    lt_use_gnu_ld_interface=yes
+	    ;;
+	esac
+	;;
+      *)
+	lt_use_gnu_ld_interface=yes
+	;;
+    esac
+  fi
+
+  if test "$lt_use_gnu_ld_interface" = yes; then
     # If archive_cmds runs LD, not CC, wlarc should be empty
     wlarc='${wl}'
 
@@ -4301,11 +4703,12 @@ dnl Note also adjust exclude_expsyms for C++ above.
 	_LT_TAGVAR(ld_shlibs, $1)=no
 	cat <<_LT_EOF 1>&2
 
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
+*** Warning: the GNU linker, at least up to release 2.19, is reported
 *** to be unable to reliably create shared libraries on AIX.
 *** Therefore, libtool is disabling shared libraries support.  If you
-*** really care for shared libraries, you may want to modify your PATH
-*** so that a non-GNU linker is found, and then restart.
+*** really care for shared libraries, you may want to install binutils
+*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
+*** You will then need to restart the configuration process.
 
 _LT_EOF
       fi
@@ -4341,10 +4744,12 @@ _LT_EOF
       # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
       # as there is no search path for DLLs.
       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
       _LT_TAGVAR(always_export_symbols, $1)=no
       _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
-      _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
+      _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
+      _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
 
       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
@@ -4362,6 +4767,11 @@ _LT_EOF
       fi
       ;;
 
+    haiku*)
+      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+      _LT_TAGVAR(link_all_deplibs, $1)=yes
+      ;;
+
     interix[[3-9]]*)
       _LT_TAGVAR(hardcode_direct, $1)=no
       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
@@ -4387,15 +4797,16 @@ _LT_EOF
       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 	 && test "$tmp_diet" = no
       then
-	tmp_addflag=
+	tmp_addflag=' $pic_flag'
 	tmp_sharedflag='-shared'
 	case $cc_basename,$host_cpu in
         pgcc*)				# Portland Group C compiler
-	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 	  tmp_addflag=' $pic_flag'
 	  ;;
-	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
-	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+	pgf77* | pgf90* | pgf95* | pgfortran*)
+					# Portland Group f77 and f90 compilers
+	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 	  tmp_addflag=' $pic_flag -Mnomain' ;;
 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
 	  tmp_addflag=' -i_dynamic' ;;
@@ -4406,13 +4817,17 @@ _LT_EOF
 	lf95*)				# Lahey Fortran 8.1
 	  _LT_TAGVAR(whole_archive_flag_spec, $1)=
 	  tmp_sharedflag='--shared' ;;
-	xl[[cC]]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
+	xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 	  tmp_sharedflag='-qmkshrobj'
 	  tmp_addflag= ;;
+	nvcc*)	# Cuda Compiler Driver 2.2
+	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
+	  _LT_TAGVAR(compiler_needs_object, $1)=yes
+	  ;;
 	esac
 	case `$CC -V 2>&1 | sed 5q` in
 	*Sun\ C*)			# Sun C 5.9
-	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 	  _LT_TAGVAR(compiler_needs_object, $1)=yes
 	  tmp_sharedflag='-G' ;;
 	*Sun\ F*)			# Sun Fortran 8.3
@@ -4428,17 +4843,16 @@ _LT_EOF
         fi
 
 	case $cc_basename in
-	xlf*)
+	xlf* | bgf* | bgxlf* | mpixlf*)
 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 	  _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
-	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
-	  _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
-	  _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
+	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+	  _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 	  if test "x$supports_anon_versioning" = xyes; then
 	    _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 	      echo "local: *; };" >> $output_objdir/$libname.ver~
-	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
+	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 	  fi
 	  ;;
 	esac
@@ -4447,13 +4861,13 @@ _LT_EOF
       fi
       ;;
 
-    netbsd* | netbsdelf*-gnu)
+    netbsd*)
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 	_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 	wlarc=
       else
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       fi
       ;;
 
@@ -4471,8 +4885,8 @@ _LT_EOF
 
 _LT_EOF
       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       else
 	_LT_TAGVAR(ld_shlibs, $1)=no
       fi
@@ -4518,8 +4932,8 @@ _LT_EOF
 
     *)
       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       else
 	_LT_TAGVAR(ld_shlibs, $1)=no
       fi
@@ -4559,8 +4973,10 @@ _LT_EOF
       else
 	# If we're using GNU nm, then we don't want the "-C" option.
 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
+	# Also, AIX nm treats weak defined symbols like other global
+	# defined symbols, whereas GNU nm marks them as "W".
 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
-	  _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+	  _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 	else
 	  _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 	fi
@@ -4622,7 +5038,6 @@ _LT_EOF
 	if test "$aix_use_runtimelinking" = yes; then
 	  shared_flag="$shared_flag "'${wl}-G'
 	fi
-	_LT_TAGVAR(link_all_deplibs, $1)=no
       else
 	# not using gcc
 	if test "$host_cpu" = ia64; then
@@ -4648,9 +5063,9 @@ _LT_EOF
 	_LT_TAGVAR(allow_undefined_flag, $1)='-berok'
         # Determine the default libpath from the value encoded in an
         # empty executable.
-        _LT_SYS_MODULE_PATH_AIX
+        _LT_SYS_MODULE_PATH_AIX([$1])
         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
-        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
       else
 	if test "$host_cpu" = ia64; then
 	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
@@ -4659,14 +5074,19 @@ _LT_EOF
 	else
 	 # Determine the default libpath from the value encoded in an
 	 # empty executable.
-	 _LT_SYS_MODULE_PATH_AIX
+	 _LT_SYS_MODULE_PATH_AIX([$1])
 	 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 	  # Warning - without using the other run time loading flags,
 	  # -berok will link without error, but may produce a broken library.
 	  _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
 	  _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
-	  # Exported symbols can be pulled into shared objects from archives
-	  _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
+	  if test "$with_gnu_ld" = yes; then
+	    # We only use this code for GNU lds that support --whole-archive.
+	    _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
+	  else
+	    # Exported symbols can be pulled into shared objects from archives
+	    _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
+	  fi
 	  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
 	  # This is similar to how AIX traditionally builds its shared libraries.
 	  _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
@@ -4698,20 +5118,64 @@ _LT_EOF
       # Microsoft Visual C++.
       # hardcode_libdir_flag_spec is actually meaningless, as there is
       # no search path for DLLs.
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
-      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
-      # Tell ltmain to make .lib files, not .a files.
-      libext=lib
-      # Tell ltmain to make .dll files, not .so files.
-      shrext_cmds=".dll"
-      # FIXME: Setting linknames here is a bad hack.
-      _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
-      # The linker will automatically build a .lib file if we build a DLL.
-      _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
-      # FIXME: Should let the user specify the lib program.
-      _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
-      _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
-      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+      case $cc_basename in
+      cl*)
+	# Native MSVC
+	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
+	_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+	_LT_TAGVAR(always_export_symbols, $1)=yes
+	_LT_TAGVAR(file_list_spec, $1)='@'
+	# Tell ltmain to make .lib files, not .a files.
+	libext=lib
+	# Tell ltmain to make .dll files, not .so files.
+	shrext_cmds=".dll"
+	# FIXME: Setting linknames here is a bad hack.
+	_LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
+	_LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
+	  else
+	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
+	  fi~
+	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+	  linknames='
+	# The linker will not automatically build a static lib if we build a DLL.
+	# _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
+	_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+	_LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+	_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
+	# Don't use ranlib
+	_LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
+	_LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
+	  lt_tool_outputfile="@TOOL_OUTPUT@"~
+	  case $lt_outputfile in
+	    *.exe|*.EXE) ;;
+	    *)
+	      lt_outputfile="$lt_outputfile.exe"
+	      lt_tool_outputfile="$lt_tool_outputfile.exe"
+	      ;;
+	  esac~
+	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
+	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+	    $RM "$lt_outputfile.manifest";
+	  fi'
+	;;
+      *)
+	# Assume MSVC wrapper
+	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
+	_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+	# Tell ltmain to make .lib files, not .a files.
+	libext=lib
+	# Tell ltmain to make .dll files, not .so files.
+	shrext_cmds=".dll"
+	# FIXME: Setting linknames here is a bad hack.
+	_LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
+	# The linker will automatically build a .lib file if we build a DLL.
+	_LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
+	# FIXME: Should let the user specify the lib program.
+	_LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
+	_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+	;;
+      esac
       ;;
 
     darwin* | rhapsody*)
@@ -4724,10 +5188,6 @@ _LT_EOF
       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
       ;;
 
-    freebsd1*)
-      _LT_TAGVAR(ld_shlibs, $1)=no
-      ;;
-
     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
     # support.  Future versions do this automatically, but an explicit c++rt0.o
     # does not break anything, and helps significantly (at the cost of a little
@@ -4740,7 +5200,7 @@ _LT_EOF
       ;;
 
     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
-    freebsd2*)
+    freebsd2.*)
       _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       _LT_TAGVAR(hardcode_direct, $1)=yes
       _LT_TAGVAR(hardcode_minus_L, $1)=yes
@@ -4749,7 +5209,7 @@ _LT_EOF
 
     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
     freebsd* | dragonfly*)
-      _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
       _LT_TAGVAR(hardcode_direct, $1)=yes
       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
@@ -4757,7 +5217,7 @@ _LT_EOF
 
     hpux9*)
       if test "$GCC" = yes; then
-	_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+	_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
       else
 	_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
       fi
@@ -4772,14 +5232,13 @@ _LT_EOF
       ;;
 
     hpux10*)
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       else
 	_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
       fi
       if test "$with_gnu_ld" = no; then
 	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
-	_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
 	_LT_TAGVAR(hardcode_libdir_separator, $1)=:
 	_LT_TAGVAR(hardcode_direct, $1)=yes
 	_LT_TAGVAR(hardcode_direct_absolute, $1)=yes
@@ -4791,16 +5250,16 @@ _LT_EOF
       ;;
 
     hpux11*)
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
+      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 	case $host_cpu in
 	hppa*64*)
 	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 	  ;;
 	ia64*)
-	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 	  ;;
 	*)
-	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 	  ;;
 	esac
       else
@@ -4812,7 +5271,14 @@ _LT_EOF
 	  _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 	  ;;
 	*)
-	  _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+	m4_if($1, [], [
+	  # Older versions of the 11.00 compiler do not understand -b yet
+	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
+	  _LT_LINKER_OPTION([if $CC understands -b],
+	    _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
+	    [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
+	    [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
+	  [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
 	  ;;
 	esac
       fi
@@ -4840,19 +5306,34 @@ _LT_EOF
 
     irix5* | irix6* | nonstopux*)
       if test "$GCC" = yes; then
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 	# Try to use the -exported_symbol ld option, if it does not
 	# work, assume that -exports_file does not work either and
 	# implicitly export all symbols.
-        save_LDFLAGS="$LDFLAGS"
-        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
-        AC_LINK_IFELSE(int foo(void) {},
-          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
-        )
-        LDFLAGS="$save_LDFLAGS"
+	# This should be the same for all languages, so no per-tag cache variable.
+	AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
+	  [lt_cv_irix_exported_symbol],
+	  [save_LDFLAGS="$LDFLAGS"
+	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
+	   AC_LINK_IFELSE(
+	     [AC_LANG_SOURCE(
+	        [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],
+			      [C++], [[int foo (void) { return 0; }]],
+			      [Fortran 77], [[
+      subroutine foo
+      end]],
+			      [Fortran], [[
+      subroutine foo
+      end]])])],
+	      [lt_cv_irix_exported_symbol=yes],
+	      [lt_cv_irix_exported_symbol=no])
+           LDFLAGS="$save_LDFLAGS"])
+	if test "$lt_cv_irix_exported_symbol" = yes; then
+          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
+	fi
       else
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
-	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
       fi
       _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
@@ -4861,7 +5342,7 @@ _LT_EOF
       _LT_TAGVAR(link_all_deplibs, $1)=yes
       ;;
 
-    netbsd* | netbsdelf*-gnu)
+    netbsd*)
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 	_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
       else
@@ -4914,17 +5395,17 @@ _LT_EOF
       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
       _LT_TAGVAR(hardcode_minus_L, $1)=yes
       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
-      _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
+      _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
       _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
       ;;
 
     osf3*)
       if test "$GCC" = yes; then
 	_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
       else
 	_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
       fi
       _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
@@ -4934,13 +5415,13 @@ _LT_EOF
     osf4* | osf5*)	# as osf3* with the addition of -msym flag
       if test "$GCC" = yes; then
 	_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
       else
 	_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 	_LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
-	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
+	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
 	# Both c and cxx compiler support -rpath directly
 	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
@@ -4953,9 +5434,9 @@ _LT_EOF
       _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
       if test "$GCC" = yes; then
 	wlarc='${wl}'
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 	_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+	  $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
       else
 	case `$CC -V 2>&1` in
 	*"Compilers 5.0"*)
@@ -5131,36 +5612,38 @@ x|xyes)
       # Test whether the compiler implicitly links with -lc since on some
       # systems, -lgcc has to come before -lc. If gcc already passes -lc
       # to ld, don't add -lc before -lgcc.
-      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
-      $RM conftest*
-      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
-
-      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
-        soname=conftest
-        lib=conftest
-        libobjs=conftest.$ac_objext
-        deplibs=
-        wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
-	pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
-        compiler_flags=-v
-        linker_flags=-v
-        verstring=
-        output_objdir=.
-        libname=conftest
-        lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
-        _LT_TAGVAR(allow_undefined_flag, $1)=
-        if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
-        then
-	  _LT_TAGVAR(archive_cmds_need_lc, $1)=no
-        else
-	  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
-        fi
-        _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
-      else
-        cat conftest.err 1>&5
-      fi
-      $RM conftest*
-      AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
+      AC_CACHE_CHECK([whether -lc should be explicitly linked in],
+	[lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),
+	[$RM conftest*
+	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+	if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
+	  soname=conftest
+	  lib=conftest
+	  libobjs=conftest.$ac_objext
+	  deplibs=
+	  wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
+	  pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
+	  compiler_flags=-v
+	  linker_flags=-v
+	  verstring=
+	  output_objdir=.
+	  libname=conftest
+	  lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
+	  _LT_TAGVAR(allow_undefined_flag, $1)=
+	  if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
+	  then
+	    lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+	  else
+	    lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
+	  fi
+	  _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
+	else
+	  cat conftest.err 1>&5
+	fi
+	$RM conftest*
+	])
+      _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
       ;;
     esac
   fi
@@ -5197,9 +5680,6 @@ _LT_TAGDECL([], [no_undefined_flag], [1],
 _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
     [Flag to hardcode $libdir into a binary during linking.
     This must work even if $libdir does not exist])
-_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
-    [[If ld is used when linking, flag to hardcode $libdir into a binary
-    during linking.  This must work even if $libdir does not exist]])
 _LT_TAGDECL([], [hardcode_libdir_separator], [1],
     [Whether we need a single "-rpath" flag with a separated argument])
 _LT_TAGDECL([], [hardcode_direct], [0],
@@ -5225,8 +5705,6 @@ _LT_TAGDECL([], [inherit_rpath], [0],
     to runtime path list])
 _LT_TAGDECL([], [link_all_deplibs], [0],
     [Whether libtool must link a program against all its dependency libraries])
-_LT_TAGDECL([], [fix_srcfile_path], [1],
-    [Fix the shell variable $srcfile for the compiler])
 _LT_TAGDECL([], [always_export_symbols], [0],
     [Set to "yes" if exported symbols are required])
 _LT_TAGDECL([], [export_symbols_cmds], [2],
@@ -5237,6 +5715,8 @@ _LT_TAGDECL([], [include_expsyms], [1],
     [Symbols that must always be exported])
 _LT_TAGDECL([], [prelink_cmds], [2],
     [Commands necessary for linking programs (against libraries) with templates])
+_LT_TAGDECL([], [postlink_cmds], [2],
+    [Commands necessary for finishing linking programs])
 _LT_TAGDECL([], [file_list_spec], [1],
     [Specify filename containing input files])
 dnl FIXME: Not yet implemented
@@ -5330,37 +5810,22 @@ CC="$lt_save_CC"
 ])# _LT_LANG_C_CONFIG
 
 
-# _LT_PROG_CXX
-# ------------
-# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
-# compiler, we have our own version here.
-m4_defun([_LT_PROG_CXX],
-[
-pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
-AC_PROG_CXX
-if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
-    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
-    (test "X$CXX" != "Xg++"))) ; then
-  AC_PROG_CXXCPP
-else
-  _lt_caught_CXX_error=yes
-fi
-popdef([AC_MSG_ERROR])
-])# _LT_PROG_CXX
-
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([_LT_PROG_CXX], [])
-
-
 # _LT_LANG_CXX_CONFIG([TAG])
 # --------------------------
 # Ensure that the configuration variables for a C++ compiler are suitably
 # defined.  These variables are subsequently used by _LT_CONFIG to write
 # the compiler configuration to `libtool'.
 m4_defun([_LT_LANG_CXX_CONFIG],
-[AC_REQUIRE([_LT_PROG_CXX])dnl
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_PATH_MANIFEST_TOOL])dnl
+if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
+    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
+    (test "X$CXX" != "Xg++"))) ; then
+  AC_PROG_CXXCPP
+else
+  _lt_caught_CXX_error=yes
+fi
 
 AC_LANG_PUSH(C++)
 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
@@ -5372,7 +5837,6 @@ _LT_TAGVAR(export_dynamic_flag_spec, $1)=
 _LT_TAGVAR(hardcode_direct, $1)=no
 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
-_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
 _LT_TAGVAR(hardcode_libdir_separator, $1)=
 _LT_TAGVAR(hardcode_minus_L, $1)=no
 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
@@ -5382,6 +5846,8 @@ _LT_TAGVAR(module_cmds, $1)=
 _LT_TAGVAR(module_expsym_cmds, $1)=
 _LT_TAGVAR(link_all_deplibs, $1)=unknown
 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
 _LT_TAGVAR(no_undefined_flag, $1)=
 _LT_TAGVAR(whole_archive_flag_spec, $1)=
 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
@@ -5413,6 +5879,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 
   # Allow CC to be a program name with arguments.
   lt_save_CC=$CC
+  lt_save_CFLAGS=$CFLAGS
   lt_save_LD=$LD
   lt_save_GCC=$GCC
   GCC=$GXX
@@ -5430,6 +5897,7 @@ if test "$_lt_caught_CXX_error" != yes; then
   fi
   test -z "${LDCXX+set}" || LD=$LDCXX
   CC=${CXX-"c++"}
+  CFLAGS=$CXXFLAGS
   compiler=$CC
   _LT_TAGVAR(compiler, $1)=$CC
   _LT_CC_BASENAME([$compiler])
@@ -5451,8 +5919,8 @@ if test "$_lt_caught_CXX_error" != yes; then
       # Check if GNU C++ uses GNU ld as the underlying linker, since the
       # archiving commands below assume that GNU ld is being used.
       if test "$with_gnu_ld" = yes; then
-        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
-        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+        _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
+        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
@@ -5484,7 +5952,7 @@ if test "$_lt_caught_CXX_error" != yes; then
       # Commands to make compiler produce verbose output that lists
       # what "hidden" libraries, object files and flags are used when
       # linking a shared library.
-      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
+      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 
     else
       GXX=no
@@ -5593,10 +6061,10 @@ if test "$_lt_caught_CXX_error" != yes; then
           _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
           # Determine the default libpath from the value encoded in an empty
           # executable.
-          _LT_SYS_MODULE_PATH_AIX
+          _LT_SYS_MODULE_PATH_AIX([$1])
           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 
-          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
         else
           if test "$host_cpu" = ia64; then
 	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
@@ -5605,14 +6073,19 @@ if test "$_lt_caught_CXX_error" != yes; then
           else
 	    # Determine the default libpath from the value encoded in an
 	    # empty executable.
-	    _LT_SYS_MODULE_PATH_AIX
+	    _LT_SYS_MODULE_PATH_AIX([$1])
 	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 	    # Warning - without using the other run time loading flags,
 	    # -berok will link without error, but may produce a broken library.
 	    _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
 	    _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
-	    # Exported symbols can be pulled into shared objects from archives
-	    _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
+	    if test "$with_gnu_ld" = yes; then
+	      # We only use this code for GNU lds that support --whole-archive.
+	      _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
+	    else
+	      # Exported symbols can be pulled into shared objects from archives
+	      _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
+	    fi
 	    _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
 	    # This is similar to how AIX traditionally builds its shared
 	    # libraries.
@@ -5642,28 +6115,75 @@ if test "$_lt_caught_CXX_error" != yes; then
         ;;
 
       cygwin* | mingw* | pw32* | cegcc*)
-        # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
-        # as there is no search path for DLLs.
-        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
-        _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
-        _LT_TAGVAR(always_export_symbols, $1)=no
-        _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
-
-        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
-          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-          # If the export-symbols file already is a .def file (1st line
-          # is EXPORTS), use it as is; otherwise, prepend...
-          _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
-	    cp $export_symbols $output_objdir/$soname.def;
-          else
-	    echo EXPORTS > $output_objdir/$soname.def;
-	    cat $export_symbols >> $output_objdir/$soname.def;
-          fi~
-          $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-        else
-          _LT_TAGVAR(ld_shlibs, $1)=no
-        fi
-        ;;
+	case $GXX,$cc_basename in
+	,cl* | no,cl*)
+	  # Native MSVC
+	  # hardcode_libdir_flag_spec is actually meaningless, as there is
+	  # no search path for DLLs.
+	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
+	  _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+	  _LT_TAGVAR(always_export_symbols, $1)=yes
+	  _LT_TAGVAR(file_list_spec, $1)='@'
+	  # Tell ltmain to make .lib files, not .a files.
+	  libext=lib
+	  # Tell ltmain to make .dll files, not .so files.
+	  shrext_cmds=".dll"
+	  # FIXME: Setting linknames here is a bad hack.
+	  _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
+	  _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+	      $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
+	    else
+	      $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
+	    fi~
+	    $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+	    linknames='
+	  # The linker will not automatically build a static lib if we build a DLL.
+	  # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
+	  _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+	  # Don't use ranlib
+	  _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
+	  _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
+	    lt_tool_outputfile="@TOOL_OUTPUT@"~
+	    case $lt_outputfile in
+	      *.exe|*.EXE) ;;
+	      *)
+		lt_outputfile="$lt_outputfile.exe"
+		lt_tool_outputfile="$lt_tool_outputfile.exe"
+		;;
+	    esac~
+	    func_to_tool_file "$lt_outputfile"~
+	    if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
+	      $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+	      $RM "$lt_outputfile.manifest";
+	    fi'
+	  ;;
+	*)
+	  # g++
+	  # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
+	  # as there is no search path for DLLs.
+	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+	  _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
+	  _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+	  _LT_TAGVAR(always_export_symbols, $1)=no
+	  _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+
+	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+	    # If the export-symbols file already is a .def file (1st line
+	    # is EXPORTS), use it as is; otherwise, prepend...
+	    _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+	      cp $export_symbols $output_objdir/$soname.def;
+	    else
+	      echo EXPORTS > $output_objdir/$soname.def;
+	      cat $export_symbols >> $output_objdir/$soname.def;
+	    fi~
+	    $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+	  else
+	    _LT_TAGVAR(ld_shlibs, $1)=no
+	  fi
+	  ;;
+	esac
+	;;
       darwin* | rhapsody*)
         _LT_DARWIN_LINKER_FEATURES($1)
 	;;
@@ -5686,7 +6206,7 @@ if test "$_lt_caught_CXX_error" != yes; then
         esac
         ;;
 
-      freebsd[[12]]*)
+      freebsd2.*)
         # C++ shared libraries reported to be fairly broken before
 	# switch to ELF
         _LT_TAGVAR(ld_shlibs, $1)=no
@@ -5705,6 +6225,11 @@ if test "$_lt_caught_CXX_error" != yes; then
       gnu*)
         ;;
 
+      haiku*)
+        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+        _LT_TAGVAR(link_all_deplibs, $1)=yes
+        ;;
+
       hpux9*)
         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
         _LT_TAGVAR(hardcode_libdir_separator, $1)=:
@@ -5729,11 +6254,11 @@ if test "$_lt_caught_CXX_error" != yes; then
             # explicitly linking system object files so we need to strip them
             # from the output so that they don't get included in the library
             # dependencies.
-            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
             ;;
           *)
             if test "$GXX" = yes; then
-              _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+              _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
             else
               # FIXME: insert proper C++ library support
               _LT_TAGVAR(ld_shlibs, $1)=no
@@ -5794,7 +6319,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    # explicitly linking system object files so we need to strip them
 	    # from the output so that they don't get included in the library
 	    # dependencies.
-	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
 	    ;;
           *)
 	    if test "$GXX" = yes; then
@@ -5804,10 +6329,10 @@ if test "$_lt_caught_CXX_error" != yes; then
 	            _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 	            ;;
 	          ia64*)
-	            _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+	            _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 	            ;;
 	          *)
-	            _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+	            _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 	            ;;
 	        esac
 	      fi
@@ -5837,7 +6362,7 @@ if test "$_lt_caught_CXX_error" != yes; then
         case $cc_basename in
           CC*)
 	    # SGI C++
-	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
 	    # Archives containing C++ object files must be created using
 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
@@ -5848,9 +6373,9 @@ if test "$_lt_caught_CXX_error" != yes; then
           *)
 	    if test "$GXX" = yes; then
 	      if test "$with_gnu_ld" = no; then
-	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 	      else
-	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
+	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
 	      fi
 	    fi
 	    _LT_TAGVAR(link_all_deplibs, $1)=yes
@@ -5879,7 +6404,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    # explicitly linking system object files so we need to strip them
 	    # from the output so that they don't get included in the library
 	    # dependencies.
-	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
 
 	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
@@ -5916,26 +6441,26 @@ if test "$_lt_caught_CXX_error" != yes; then
           pgCC* | pgcpp*)
             # Portland Group C++ compiler
 	    case `$CC -V` in
-	    *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
+	    *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
 	      _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
 		rm -rf $tpldir~
 		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
-		compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
+		compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
 	      _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
 		rm -rf $tpldir~
 		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
-		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
+		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
 		$RANLIB $oldlib'
 	      _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
 		rm -rf $tpldir~
 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
-		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
+		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 	      _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
 		rm -rf $tpldir~
 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
-		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
+		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 	      ;;
-	    *) # Version 6 will use weak symbols
+	    *) # Version 6 and above use weak symbols
 	      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 	      _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 	      ;;
@@ -5943,7 +6468,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 
 	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
 	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
-	    _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+	    _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
             ;;
 	  cxx*)
 	    # Compaq C++
@@ -5962,9 +6487,9 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    # explicitly linking system object files so we need to strip them
 	    # from the output so that they don't get included in the library
 	    # dependencies.
-	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
 	    ;;
-	  xl*)
+	  xl* | mpixl* | bgxl*)
 	    # IBM XL 8.0 on PPC, with GNU ld
 	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
@@ -5984,13 +6509,13 @@ if test "$_lt_caught_CXX_error" != yes; then
 	      _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 	      _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 	      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
-	      _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
+	      _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 	      _LT_TAGVAR(compiler_needs_object, $1)=yes
 
 	      # Not sure whether something based on
 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 	      # would be better.
-	      output_verbose_link_cmd='echo'
+	      output_verbose_link_cmd='func_echo_all'
 
 	      # Archives containing C++ object files must be created using
 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
@@ -6059,7 +6584,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 	    _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 	  fi
-	  output_verbose_link_cmd=echo
+	  output_verbose_link_cmd=func_echo_all
 	else
 	  _LT_TAGVAR(ld_shlibs, $1)=no
 	fi
@@ -6094,15 +6619,15 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    case $host in
 	      osf3*)
 	        _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
-	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 	        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 		;;
 	      *)
 	        _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
-	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
+	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 	        _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 	          echo "-hidden">> $lib.exp~
-	          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
+	          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
 	          $RM $lib.exp'
 	        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
 		;;
@@ -6118,17 +6643,17 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    # explicitly linking system object files so we need to strip them
 	    # from the output so that they don't get included in the library
 	    # dependencies.
-	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
+	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
 	    ;;
 	  *)
 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 	      _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 	      case $host in
 	        osf3*)
-	          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+	          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 		  ;;
 	        *)
-	          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+	          _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 		  ;;
 	      esac
 
@@ -6138,7 +6663,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 	      # Commands to make compiler produce verbose output that lists
 	      # what "hidden" libraries, object files and flags are used when
 	      # linking a shared library.
-	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
+	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 
 	    else
 	      # FIXME: insert proper C++ library support
@@ -6174,7 +6699,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 
       solaris*)
         case $cc_basename in
-          CC*)
+          CC* | sunCC*)
 	    # Sun C++ 4.2, 5.x and Centerline C++
             _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
 	    _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
@@ -6195,7 +6720,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    esac
 	    _LT_TAGVAR(link_all_deplibs, $1)=yes
 
-	    output_verbose_link_cmd='echo'
+	    output_verbose_link_cmd='func_echo_all'
 
 	    # Archives containing C++ object files must be created using
 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
@@ -6215,14 +6740,14 @@ if test "$_lt_caught_CXX_error" != yes; then
 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 	      _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
-	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
+	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 	        _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-		  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+		  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
 	        # Commands to make compiler produce verbose output that lists
 	        # what "hidden" libraries, object files and flags are used when
 	        # linking a shared library.
-	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
+	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 	      else
 	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
 	        # platform.
@@ -6233,7 +6758,7 @@ if test "$_lt_caught_CXX_error" != yes; then
 	        # Commands to make compiler produce verbose output that lists
 	        # what "hidden" libraries, object files and flags are used when
 	        # linking a shared library.
-	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
+	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 	      fi
 
 	      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
@@ -6287,6 +6812,10 @@ if test "$_lt_caught_CXX_error" != yes; then
           CC*)
 	    _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 	    _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+	    _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
+	      '"$_LT_TAGVAR(old_archive_cmds, $1)"
+	    _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
+	      '"$_LT_TAGVAR(reload_cmds, $1)"
 	    ;;
 	  *)
 	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
@@ -6342,6 +6871,7 @@ if test "$_lt_caught_CXX_error" != yes; then
   fi # test -n "$compiler"
 
   CC=$lt_save_CC
+  CFLAGS=$lt_save_CFLAGS
   LDCXX=$LD
   LD=$lt_save_LD
   GCC=$lt_save_GCC
@@ -6356,6 +6886,29 @@ AC_LANG_POP
 ])# _LT_LANG_CXX_CONFIG
 
 
+# _LT_FUNC_STRIPNAME_CNF
+# ----------------------
+# func_stripname_cnf prefix suffix name
+# strip PREFIX and SUFFIX off of NAME.
+# PREFIX and SUFFIX must not contain globbing or regex special
+# characters, hashes, percent signs, but SUFFIX may contain a leading
+# dot (in which case that matches only a dot).
+#
+# This function is identical to the (non-XSI) version of func_stripname,
+# except this one can be used by m4 code that may be executed by configure,
+# rather than the libtool script.
+m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl
+AC_REQUIRE([_LT_DECL_SED])
+AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])
+func_stripname_cnf ()
+{
+  case ${2} in
+  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
+  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
+  esac
+} # func_stripname_cnf
+])# _LT_FUNC_STRIPNAME_CNF
+
 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
 # ---------------------------------
 # Figure out "hidden" library dependencies from verbose
@@ -6364,6 +6917,7 @@ AC_LANG_POP
 # objects, libraries and library flags.
 m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl
 # Dependencies to place before and after the object being linked:
 _LT_TAGVAR(predep_objects, $1)=
 _LT_TAGVAR(postdep_objects, $1)=
@@ -6413,7 +6967,20 @@ public class foo {
   }
 };
 _LT_EOF
+], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
+package foo
+func foo() {
+}
+_LT_EOF
 ])
+
+_lt_libdeps_save_CFLAGS=$CFLAGS
+case "$CC $CFLAGS " in #(
+*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
+*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
+*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
+esac
+
 dnl Parse the compiler output and extract the necessary
 dnl objects, libraries and library flags.
 if AC_TRY_EVAL(ac_compile); then
@@ -6425,7 +6992,7 @@ if AC_TRY_EVAL(ac_compile); then
   pre_test_object_deps_done=no
 
   for p in `eval "$output_verbose_link_cmd"`; do
-    case $p in
+    case ${prev}${p} in
 
     -L* | -R* | -l*)
        # Some compilers place space between "-{L,R}" and the path.
@@ -6434,13 +7001,22 @@ if AC_TRY_EVAL(ac_compile); then
           test $p = "-R"; then
 	 prev=$p
 	 continue
-       else
-	 prev=
        fi
 
+       # Expand the sysroot to ease extracting the directories later.
+       if test -z "$prev"; then
+         case $p in
+         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
+         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
+         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
+         esac
+       fi
+       case $p in
+       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
+       esac
        if test "$pre_test_object_deps_done" = no; then
-	 case $p in
-	 -L* | -R*)
+	 case ${prev} in
+	 -L | -R)
 	   # Internal compiler library paths should come after those
 	   # provided the user.  The postdeps already come after the
 	   # user supplied libs so there is no need to process them.
@@ -6460,8 +7036,10 @@ if AC_TRY_EVAL(ac_compile); then
 	   _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
 	 fi
        fi
+       prev=
        ;;
 
+    *.lto.$objext) ;; # Ignore GCC LTO objects
     *.$objext)
        # This assumes that the test object file only shows up
        # once in the compiler output.
@@ -6497,6 +7075,7 @@ else
 fi
 
 $RM -f confest.$objext
+CFLAGS=$_lt_libdeps_save_CFLAGS
 
 # PORTME: override above test on systems where it is broken
 m4_if([$1], [CXX],
@@ -6533,7 +7112,7 @@ linux*)
 
 solaris*)
   case $cc_basename in
-  CC*)
+  CC* | sunCC*)
     # The more standards-conforming stlport4 library is
     # incompatible with the Cstd library. Avoid specifying
     # it if it's in CXXFLAGS. Ignore libCrun as
@@ -6577,32 +7156,16 @@ _LT_TAGDECL([], [compiler_lib_search_path], [1],
 ])# _LT_SYS_HIDDEN_LIBDEPS
 
 
-# _LT_PROG_F77
-# ------------
-# Since AC_PROG_F77 is broken, in that it returns the empty string
-# if there is no fortran compiler, we have our own version here.
-m4_defun([_LT_PROG_F77],
-[
-pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
-AC_PROG_F77
-if test -z "$F77" || test "X$F77" = "Xno"; then
-  _lt_disable_F77=yes
-fi
-popdef([AC_MSG_ERROR])
-])# _LT_PROG_F77
-
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([_LT_PROG_F77], [])
-
-
 # _LT_LANG_F77_CONFIG([TAG])
 # --------------------------
 # Ensure that the configuration variables for a Fortran 77 compiler are
 # suitably defined.  These variables are subsequently used by _LT_CONFIG
 # to write the compiler configuration to `libtool'.
 m4_defun([_LT_LANG_F77_CONFIG],
-[AC_REQUIRE([_LT_PROG_F77])dnl
-AC_LANG_PUSH(Fortran 77)
+[AC_LANG_PUSH(Fortran 77)
+if test -z "$F77" || test "X$F77" = "Xno"; then
+  _lt_disable_F77=yes
+fi
 
 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 _LT_TAGVAR(allow_undefined_flag, $1)=
@@ -6612,7 +7175,6 @@ _LT_TAGVAR(export_dynamic_flag_spec, $1)=
 _LT_TAGVAR(hardcode_direct, $1)=no
 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
-_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
 _LT_TAGVAR(hardcode_libdir_separator, $1)=
 _LT_TAGVAR(hardcode_minus_L, $1)=no
 _LT_TAGVAR(hardcode_automatic, $1)=no
@@ -6621,6 +7183,8 @@ _LT_TAGVAR(module_cmds, $1)=
 _LT_TAGVAR(module_expsym_cmds, $1)=
 _LT_TAGVAR(link_all_deplibs, $1)=unknown
 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
 _LT_TAGVAR(no_undefined_flag, $1)=
 _LT_TAGVAR(whole_archive_flag_spec, $1)=
 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
@@ -6660,7 +7224,9 @@ if test "$_lt_disable_F77" != yes; then
   # Allow CC to be a program name with arguments.
   lt_save_CC="$CC"
   lt_save_GCC=$GCC
+  lt_save_CFLAGS=$CFLAGS
   CC=${F77-"f77"}
+  CFLAGS=$FFLAGS
   compiler=$CC
   _LT_TAGVAR(compiler, $1)=$CC
   _LT_CC_BASENAME([$compiler])
@@ -6714,38 +7280,24 @@ if test "$_lt_disable_F77" != yes; then
 
   GCC=$lt_save_GCC
   CC="$lt_save_CC"
+  CFLAGS="$lt_save_CFLAGS"
 fi # test "$_lt_disable_F77" != yes
 
 AC_LANG_POP
 ])# _LT_LANG_F77_CONFIG
 
 
-# _LT_PROG_FC
-# -----------
-# Since AC_PROG_FC is broken, in that it returns the empty string
-# if there is no fortran compiler, we have our own version here.
-m4_defun([_LT_PROG_FC],
-[
-pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
-AC_PROG_FC
-if test -z "$FC" || test "X$FC" = "Xno"; then
-  _lt_disable_FC=yes
-fi
-popdef([AC_MSG_ERROR])
-])# _LT_PROG_FC
-
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([_LT_PROG_FC], [])
-
-
 # _LT_LANG_FC_CONFIG([TAG])
 # -------------------------
 # Ensure that the configuration variables for a Fortran compiler are
 # suitably defined.  These variables are subsequently used by _LT_CONFIG
 # to write the compiler configuration to `libtool'.
 m4_defun([_LT_LANG_FC_CONFIG],
-[AC_REQUIRE([_LT_PROG_FC])dnl
-AC_LANG_PUSH(Fortran)
+[AC_LANG_PUSH(Fortran)
+
+if test -z "$FC" || test "X$FC" = "Xno"; then
+  _lt_disable_FC=yes
+fi
 
 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 _LT_TAGVAR(allow_undefined_flag, $1)=
@@ -6755,7 +7307,6 @@ _LT_TAGVAR(export_dynamic_flag_spec, $1)=
 _LT_TAGVAR(hardcode_direct, $1)=no
 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
-_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
 _LT_TAGVAR(hardcode_libdir_separator, $1)=
 _LT_TAGVAR(hardcode_minus_L, $1)=no
 _LT_TAGVAR(hardcode_automatic, $1)=no
@@ -6764,6 +7315,8 @@ _LT_TAGVAR(module_cmds, $1)=
 _LT_TAGVAR(module_expsym_cmds, $1)=
 _LT_TAGVAR(link_all_deplibs, $1)=unknown
 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
 _LT_TAGVAR(no_undefined_flag, $1)=
 _LT_TAGVAR(whole_archive_flag_spec, $1)=
 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
@@ -6803,7 +7356,9 @@ if test "$_lt_disable_FC" != yes; then
   # Allow CC to be a program name with arguments.
   lt_save_CC="$CC"
   lt_save_GCC=$GCC
+  lt_save_CFLAGS=$CFLAGS
   CC=${FC-"f95"}
+  CFLAGS=$FCFLAGS
   compiler=$CC
   GCC=$ac_cv_fc_compiler_gnu
 
@@ -6859,7 +7414,8 @@ if test "$_lt_disable_FC" != yes; then
   fi # test -n "$compiler"
 
   GCC=$lt_save_GCC
-  CC="$lt_save_CC"
+  CC=$lt_save_CC
+  CFLAGS=$lt_save_CFLAGS
 fi # test "$_lt_disable_FC" != yes
 
 AC_LANG_POP
@@ -6896,10 +7452,12 @@ _LT_COMPILER_BOILERPLATE
 _LT_LINKER_BOILERPLATE
 
 # Allow CC to be a program name with arguments.
-lt_save_CC="$CC"
+lt_save_CC=$CC
+lt_save_CFLAGS=$CFLAGS
 lt_save_GCC=$GCC
 GCC=yes
 CC=${GCJ-"gcj"}
+CFLAGS=$GCJFLAGS
 compiler=$CC
 _LT_TAGVAR(compiler, $1)=$CC
 _LT_TAGVAR(LD, $1)="$LD"
@@ -6909,6 +7467,8 @@ _LT_CC_BASENAME([$compiler])
 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
 
 ## CAVEAT EMPTOR:
 ## There is no encapsulation within the following macros, do not change
@@ -6928,10 +7488,82 @@ fi
 AC_LANG_RESTORE
 
 GCC=$lt_save_GCC
-CC="$lt_save_CC"
+CC=$lt_save_CC
+CFLAGS=$lt_save_CFLAGS
 ])# _LT_LANG_GCJ_CONFIG
 
 
+# _LT_LANG_GO_CONFIG([TAG])
+# --------------------------
+# Ensure that the configuration variables for the GNU Go compiler
+# are suitably defined.  These variables are subsequently used by _LT_CONFIG
+# to write the compiler configuration to `libtool'.
+m4_defun([_LT_LANG_GO_CONFIG],
+[AC_REQUIRE([LT_PROG_GO])dnl
+AC_LANG_SAVE
+
+# Source file extension for Go test sources.
+ac_ext=go
+
+# Object file extension for compiled Go test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="package main; func main() { }"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='package main; func main() { }'
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_TAG_COMPILER
+
+# save warnings/boilerplate of simple test code
+_LT_COMPILER_BOILERPLATE
+_LT_LINKER_BOILERPLATE
+
+# Allow CC to be a program name with arguments.
+lt_save_CC=$CC
+lt_save_CFLAGS=$CFLAGS
+lt_save_GCC=$GCC
+GCC=yes
+CC=${GOC-"gccgo"}
+CFLAGS=$GOFLAGS
+compiler=$CC
+_LT_TAGVAR(compiler, $1)=$CC
+_LT_TAGVAR(LD, $1)="$LD"
+_LT_CC_BASENAME([$compiler])
+
+# Go did not exist at the time GCC didn't implicitly link libc in.
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+if test -n "$compiler"; then
+  _LT_COMPILER_NO_RTTI($1)
+  _LT_COMPILER_PIC($1)
+  _LT_COMPILER_C_O($1)
+  _LT_COMPILER_FILE_LOCKS($1)
+  _LT_LINKER_SHLIBS($1)
+  _LT_LINKER_HARDCODE_LIBPATH($1)
+
+  _LT_CONFIG($1)
+fi
+
+AC_LANG_RESTORE
+
+GCC=$lt_save_GCC
+CC=$lt_save_CC
+CFLAGS=$lt_save_CFLAGS
+])# _LT_LANG_GO_CONFIG
+
+
 # _LT_LANG_RC_CONFIG([TAG])
 # -------------------------
 # Ensure that the configuration variables for the Windows resource compiler
@@ -6963,9 +7595,11 @@ _LT_LINKER_BOILERPLATE
 
 # Allow CC to be a program name with arguments.
 lt_save_CC="$CC"
+lt_save_CFLAGS=$CFLAGS
 lt_save_GCC=$GCC
 GCC=
 CC=${RC-"windres"}
+CFLAGS=
 compiler=$CC
 _LT_TAGVAR(compiler, $1)=$CC
 _LT_CC_BASENAME([$compiler])
@@ -6978,7 +7612,8 @@ fi
 
 GCC=$lt_save_GCC
 AC_LANG_RESTORE
-CC="$lt_save_CC"
+CC=$lt_save_CC
+CFLAGS=$lt_save_CFLAGS
 ])# _LT_LANG_RC_CONFIG
 
 
@@ -6998,6 +7633,13 @@ dnl aclocal-1.4 backwards compatibility:
 dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
 
 
+# LT_PROG_GO
+# ----------
+AC_DEFUN([LT_PROG_GO],
+[AC_CHECK_TOOL(GOC, gccgo,)
+])
+
+
 # LT_PROG_RC
 # ----------
 AC_DEFUN([LT_PROG_RC],
@@ -7037,6 +7679,15 @@ _LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
 AC_SUBST([OBJDUMP])
 ])
 
+# _LT_DECL_DLLTOOL
+# ----------------
+# Ensure DLLTOOL variable is set.
+m4_defun([_LT_DECL_DLLTOOL],
+[AC_CHECK_TOOL(DLLTOOL, dlltool, false)
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+_LT_DECL([], [DLLTOOL], [1], [DLL creation program])
+AC_SUBST([DLLTOOL])
+])
 
 # _LT_DECL_SED
 # ------------
@@ -7130,8 +7781,8 @@ m4_defun([_LT_CHECK_SHELL_FEATURES],
 # Try some XSI features
 xsi_shell=no
 ( _lt_dummy="a/b/c"
-  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
-      = c,a/b,, \
+  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
+      = c,a/b,b/c, \
     && eval 'test $(( 1 + 1 )) -eq 2 \
     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   && xsi_shell=yes
@@ -7170,208 +7821,162 @@ _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
 ])# _LT_CHECK_SHELL_FEATURES
 
 
-# _LT_PROG_XSI_SHELLFNS
-# ---------------------
-# Bourne and XSI compatible variants of some useful shell functions.
-m4_defun([_LT_PROG_XSI_SHELLFNS],
-[case $xsi_shell in
-  yes)
-    cat << \_LT_EOF >> "$cfgfile"
-
-# func_dirname file append nondir_replacement
-# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
-# otherwise set result to NONDIR_REPLACEMENT.
-func_dirname ()
-{
-  case ${1} in
-    */*) func_dirname_result="${1%/*}${2}" ;;
-    *  ) func_dirname_result="${3}" ;;
-  esac
-}
-
-# func_basename file
-func_basename ()
-{
-  func_basename_result="${1##*/}"
-}
-
-# func_dirname_and_basename file append nondir_replacement
-# perform func_basename and func_dirname in a single function
-# call:
-#   dirname:  Compute the dirname of FILE.  If nonempty,
-#             add APPEND to the result, otherwise set result
-#             to NONDIR_REPLACEMENT.
-#             value returned in "$func_dirname_result"
-#   basename: Compute filename of FILE.
-#             value retuned in "$func_basename_result"
-# Implementation must be kept synchronized with func_dirname
-# and func_basename. For efficiency, we do not delegate to
-# those functions but instead duplicate the functionality here.
-func_dirname_and_basename ()
-{
-  case ${1} in
-    */*) func_dirname_result="${1%/*}${2}" ;;
-    *  ) func_dirname_result="${3}" ;;
-  esac
-  func_basename_result="${1##*/}"
-}
-
-# func_stripname prefix suffix name
-# strip PREFIX and SUFFIX off of NAME.
-# PREFIX and SUFFIX must not contain globbing or regex special
-# characters, hashes, percent signs, but SUFFIX may contain a leading
-# dot (in which case that matches only a dot).
-func_stripname ()
-{
-  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
-  # positional parameters, so assign one to ordinary parameter first.
-  func_stripname_result=${3}
-  func_stripname_result=${func_stripname_result#"${1}"}
-  func_stripname_result=${func_stripname_result%"${2}"}
-}
-
-# func_opt_split
-func_opt_split ()
-{
-  func_opt_split_opt=${1%%=*}
-  func_opt_split_arg=${1#*=}
-}
-
-# func_lo2o object
-func_lo2o ()
-{
-  case ${1} in
-    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
-    *)    func_lo2o_result=${1} ;;
-  esac
-}
-
-# func_xform libobj-or-source
-func_xform ()
-{
-  func_xform_result=${1%.*}.lo
-}
+# _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY)
+# ------------------------------------------------------
+# In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and
+# '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY.
+m4_defun([_LT_PROG_FUNCTION_REPLACE],
+[dnl {
+sed -e '/^$1 ()$/,/^} # $1 /c\
+$1 ()\
+{\
+m4_bpatsubsts([$2], [$], [\\], [^\([	 ]\)], [\\\1])
+} # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \
+  && mv -f "$cfgfile.tmp" "$cfgfile" \
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+])
 
-# func_arith arithmetic-term...
-func_arith ()
-{
-  func_arith_result=$(( $[*] ))
-}
 
-# func_len string
-# STRING may not start with a hyphen.
-func_len ()
-{
-  func_len_result=${#1}
-}
+# _LT_PROG_REPLACE_SHELLFNS
+# -------------------------
+# Replace existing portable implementations of several shell functions with
+# equivalent extended shell implementations where those features are available..
+m4_defun([_LT_PROG_REPLACE_SHELLFNS],
+[if test x"$xsi_shell" = xyes; then
+  _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl
+    case ${1} in
+      */*) func_dirname_result="${1%/*}${2}" ;;
+      *  ) func_dirname_result="${3}" ;;
+    esac])
+
+  _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl
+    func_basename_result="${1##*/}"])
+
+  _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl
+    case ${1} in
+      */*) func_dirname_result="${1%/*}${2}" ;;
+      *  ) func_dirname_result="${3}" ;;
+    esac
+    func_basename_result="${1##*/}"])
 
-_LT_EOF
-    ;;
-  *) # Bourne compatible functions.
-    cat << \_LT_EOF >> "$cfgfile"
+  _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl
+    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
+    # positional parameters, so assign one to ordinary parameter first.
+    func_stripname_result=${3}
+    func_stripname_result=${func_stripname_result#"${1}"}
+    func_stripname_result=${func_stripname_result%"${2}"}])
 
-# func_dirname file append nondir_replacement
-# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
-# otherwise set result to NONDIR_REPLACEMENT.
-func_dirname ()
-{
-  # Extract subdirectory from the argument.
-  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
-  if test "X$func_dirname_result" = "X${1}"; then
-    func_dirname_result="${3}"
-  else
-    func_dirname_result="$func_dirname_result${2}"
-  fi
-}
+  _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl
+    func_split_long_opt_name=${1%%=*}
+    func_split_long_opt_arg=${1#*=}])
 
-# func_basename file
-func_basename ()
-{
-  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
-}
+  _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl
+    func_split_short_opt_arg=${1#??}
+    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}])
 
-dnl func_dirname_and_basename
-dnl A portable version of this function is already defined in general.m4sh
-dnl so there is no need for it here.
+  _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl
+    case ${1} in
+      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
+      *)    func_lo2o_result=${1} ;;
+    esac])
 
-# func_stripname prefix suffix name
-# strip PREFIX and SUFFIX off of NAME.
-# PREFIX and SUFFIX must not contain globbing or regex special
-# characters, hashes, percent signs, but SUFFIX may contain a leading
-# dot (in which case that matches only a dot).
-# func_strip_suffix prefix name
-func_stripname ()
-{
-  case ${2} in
-    .*) func_stripname_result=`$ECHO "X${3}" \
-           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
-    *)  func_stripname_result=`$ECHO "X${3}" \
-           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
-  esac
-}
+  _LT_PROG_FUNCTION_REPLACE([func_xform], [    func_xform_result=${1%.*}.lo])
 
-# sed scripts:
-my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
-my_sed_long_arg='1s/^-[[^=]]*=//'
+  _LT_PROG_FUNCTION_REPLACE([func_arith], [    func_arith_result=$(( $[*] ))])
 
-# func_opt_split
-func_opt_split ()
-{
-  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
-  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
-}
-
-# func_lo2o object
-func_lo2o ()
-{
-  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
-}
-
-# func_xform libobj-or-source
-func_xform ()
-{
-  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
-}
+  _LT_PROG_FUNCTION_REPLACE([func_len], [    func_len_result=${#1}])
+fi
 
-# func_arith arithmetic-term...
-func_arith ()
-{
-  func_arith_result=`expr "$[@]"`
-}
+if test x"$lt_shell_append" = xyes; then
+  _LT_PROG_FUNCTION_REPLACE([func_append], [    eval "${1}+=\\${2}"])
 
-# func_len string
-# STRING may not start with a hyphen.
-func_len ()
-{
-  func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
-}
+  _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl
+    func_quote_for_eval "${2}"
+dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \
+    eval "${1}+=\\\\ \\$func_quote_for_eval_result"])
 
-_LT_EOF
-esac
+  # Save a `func_append' function call where possible by direct use of '+='
+  sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
+    && mv -f "$cfgfile.tmp" "$cfgfile" \
+      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+  test 0 -eq $? || _lt_function_replace_fail=:
+else
+  # Save a `func_append' function call even when '+=' is not available
+  sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
+    && mv -f "$cfgfile.tmp" "$cfgfile" \
+      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+  test 0 -eq $? || _lt_function_replace_fail=:
+fi
 
-case $lt_shell_append in
-  yes)
-    cat << \_LT_EOF >> "$cfgfile"
+if test x"$_lt_function_replace_fail" = x":"; then
+  AC_MSG_WARN([Unable to substitute extended shell functions in $ofile])
+fi
+])
 
-# func_append var value
-# Append VALUE to the end of shell variable VAR.
-func_append ()
-{
-  eval "$[1]+=\$[2]"
-}
-_LT_EOF
+# _LT_PATH_CONVERSION_FUNCTIONS
+# -----------------------------
+# Determine which file name conversion functions should be used by
+# func_to_host_file (and, implicitly, by func_to_host_path).  These are needed
+# for certain cross-compile configurations and native mingw.
+m4_defun([_LT_PATH_CONVERSION_FUNCTIONS],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+AC_MSG_CHECKING([how to convert $build file names to $host format])
+AC_CACHE_VAL(lt_cv_to_host_file_cmd,
+[case $host in
+  *-*-mingw* )
+    case $build in
+      *-*-mingw* ) # actually msys
+        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
+        ;;
+      *-*-cygwin* )
+        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
+        ;;
+      * ) # otherwise, assume *nix
+        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
+        ;;
+    esac
     ;;
-  *)
-    cat << \_LT_EOF >> "$cfgfile"
-
-# func_append var value
-# Append VALUE to the end of shell variable VAR.
-func_append ()
-{
-  eval "$[1]=\$$[1]\$[2]"
-}
-
-_LT_EOF
+  *-*-cygwin* )
+    case $build in
+      *-*-mingw* ) # actually msys
+        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
+        ;;
+      *-*-cygwin* )
+        lt_cv_to_host_file_cmd=func_convert_file_noop
+        ;;
+      * ) # otherwise, assume *nix
+        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
+        ;;
+    esac
     ;;
-  esac
+  * ) # unhandled hosts (and "normal" native builds)
+    lt_cv_to_host_file_cmd=func_convert_file_noop
+    ;;
+esac
+])
+to_host_file_cmd=$lt_cv_to_host_file_cmd
+AC_MSG_RESULT([$lt_cv_to_host_file_cmd])
+_LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd],
+         [0], [convert $build file names to $host format])dnl
+
+AC_MSG_CHECKING([how to convert $build file names to toolchain format])
+AC_CACHE_VAL(lt_cv_to_tool_file_cmd,
+[#assume ordinary cross tools, or native build.
+lt_cv_to_tool_file_cmd=func_convert_file_noop
+case $host in
+  *-*-mingw* )
+    case $build in
+      *-*-mingw* ) # actually msys
+        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
+        ;;
+    esac
+    ;;
+esac
 ])
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
+AC_MSG_RESULT([$lt_cv_to_tool_file_cmd])
+_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd],
+         [0], [convert $build files to toolchain format])dnl
+])# _LT_PATH_CONVERSION_FUNCTIONS
diff --git a/macros/ltoptions.m4 b/macros/ltoptions.m4
index 34151a3..5d9acd8 100644
--- a/macros/ltoptions.m4
+++ b/macros/ltoptions.m4
@@ -1,13 +1,14 @@
 # Helper functions for option handling.                    -*- Autoconf -*-
 #
-#   Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
+#   Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
+#   Inc.
 #   Written by Gary V. Vaughan, 2004
 #
 # This file is free software; the Free Software Foundation gives
 # unlimited permission to copy and/or distribute it, with or without
 # modifications, as long as this notice is preserved.
 
-# serial 6 ltoptions.m4
+# serial 7 ltoptions.m4
 
 # This is to help aclocal find these macros, as it can't see m4_define.
 AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
@@ -125,7 +126,7 @@ LT_OPTION_DEFINE([LT_INIT], [win32-dll],
 [enable_win32_dll=yes
 
 case $host in
-*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
   AC_CHECK_TOOL(AS, as, false)
   AC_CHECK_TOOL(DLLTOOL, dlltool, false)
   AC_CHECK_TOOL(OBJDUMP, objdump, false)
@@ -133,13 +134,13 @@ case $host in
 esac
 
 test -z "$AS" && AS=as
-_LT_DECL([], [AS],      [0], [Assembler program])dnl
+_LT_DECL([], [AS],      [1], [Assembler program])dnl
 
 test -z "$DLLTOOL" && DLLTOOL=dlltool
-_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
+_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
 
 test -z "$OBJDUMP" && OBJDUMP=objdump
-_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
+_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
 ])# win32-dll
 
 AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
@@ -325,9 +326,24 @@ dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
 # MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
 m4_define([_LT_WITH_PIC],
 [AC_ARG_WITH([pic],
-    [AS_HELP_STRING([--with-pic],
+    [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
 	[try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
-    [pic_mode="$withval"],
+    [lt_p=${PACKAGE-default}
+    case $withval in
+    yes|no) pic_mode=$withval ;;
+    *)
+      pic_mode=default
+      # Look at the argument we got.  We use all the common list separators.
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+      for lt_pkg in $withval; do
+	IFS="$lt_save_ifs"
+	if test "X$lt_pkg" = "X$lt_p"; then
+	  pic_mode=yes
+	fi
+      done
+      IFS="$lt_save_ifs"
+      ;;
+    esac],
     [pic_mode=default])
 
 test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
diff --git a/macros/ltversion.m4 b/macros/ltversion.m4
index f3c5309..07a8602 100644
--- a/macros/ltversion.m4
+++ b/macros/ltversion.m4
@@ -7,17 +7,17 @@
 # unlimited permission to copy and/or distribute it, with or without
 # modifications, as long as this notice is preserved.
 
-# Generated from ltversion.in.
+# @configure_input@
 
-# serial 3017 ltversion.m4
+# serial 3337 ltversion.m4
 # This file is part of GNU Libtool
 
-m4_define([LT_PACKAGE_VERSION], [2.2.6b])
-m4_define([LT_PACKAGE_REVISION], [1.3017])
+m4_define([LT_PACKAGE_VERSION], [2.4.2])
+m4_define([LT_PACKAGE_REVISION], [1.3337])
 
 AC_DEFUN([LTVERSION_VERSION],
-[macro_version='2.2.6b'
-macro_revision='1.3017'
+[macro_version='2.4.2'
+macro_revision='1.3337'
 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
 _LT_DECL(, macro_revision, 0)
 ])
diff --git a/macros/lt~obsolete.m4 b/macros/lt~obsolete.m4
index 637bb20..c573da9 100644
--- a/macros/lt~obsolete.m4
+++ b/macros/lt~obsolete.m4
@@ -1,13 +1,13 @@
 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions.    -*-Autoconf-*-
 #
-#   Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
+#   Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
 #   Written by Scott James Remnant, 2004.
 #
 # This file is free software; the Free Software Foundation gives
 # unlimited permission to copy and/or distribute it, with or without
 # modifications, as long as this notice is preserved.
 
-# serial 4 lt~obsolete.m4
+# serial 5 lt~obsolete.m4
 
 # These exist entirely to fool aclocal when bootstrapping libtool.
 #
@@ -77,7 +77,6 @@ m4_ifndef([AC_DISABLE_FAST_INSTALL],	[AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
 m4_ifndef([_LT_AC_LANG_CXX],		[AC_DEFUN([_LT_AC_LANG_CXX])])
 m4_ifndef([_LT_AC_LANG_F77],		[AC_DEFUN([_LT_AC_LANG_F77])])
 m4_ifndef([_LT_AC_LANG_GCJ],		[AC_DEFUN([_LT_AC_LANG_GCJ])])
-m4_ifndef([AC_LIBTOOL_RC],		[AC_DEFUN([AC_LIBTOOL_RC])])
 m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
 m4_ifndef([_LT_AC_LANG_C_CONFIG],	[AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
 m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
@@ -90,3 +89,10 @@ m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
 m4_ifndef([_LT_AC_LANG_RC_CONFIG],	[AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
 m4_ifndef([AC_LIBTOOL_CONFIG],		[AC_DEFUN([AC_LIBTOOL_CONFIG])])
 m4_ifndef([_LT_AC_FILE_LTDLL_C],	[AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
+m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS],	[AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
+m4_ifndef([_LT_AC_PROG_CXXCPP],		[AC_DEFUN([_LT_AC_PROG_CXXCPP])])
+m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS],	[AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
+m4_ifndef([_LT_PROG_ECHO_BACKSLASH],	[AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
+m4_ifndef([_LT_PROG_F77],		[AC_DEFUN([_LT_PROG_F77])])
+m4_ifndef([_LT_PROG_FC],		[AC_DEFUN([_LT_PROG_FC])])
+m4_ifndef([_LT_PROG_CXX],		[AC_DEFUN([_LT_PROG_CXX])])
diff --git a/postgis/geography_measurement.c b/postgis/geography_measurement.c
index e41f646..ce37004 100644
--- a/postgis/geography_measurement.c
+++ b/postgis/geography_measurement.c
@@ -707,7 +707,7 @@ Datum geography_bestsrid(PG_FUNCTION_ARGS)
 		g2 = (GSERIALIZED*)PG_DETOAST_DATUM(d2);
 		gbox2.flags = g2->flags;
 		empty2 = gserialized_is_empty(g2);
-		if ( ! empty1 && gserialized_get_gbox_p(g2, &gbox2) == LW_FAILURE )
+		if ( ! empty2 && gserialized_get_gbox_p(g2, &gbox2) == LW_FAILURE )
 			elog(ERROR, "Error in geography_bestsrid calling gserialized_get_gbox_p(g2, &gbox2)");
 	}
 	/*
diff --git a/postgis/gserialized_gist_2d.c b/postgis/gserialized_gist_2d.c
index ef3be4d..53f22b6 100644
--- a/postgis/gserialized_gist_2d.c
+++ b/postgis/gserialized_gist_2d.c
@@ -131,11 +131,15 @@ static void box2df_merge(BOX2DF *b_union, BOX2DF *b_new)
 
 	POSTGIS_DEBUGF(5, "merging %s with %s", box2df_to_string(b_union), box2df_to_string(b_new));
 	/* Adjust minimums */
-	b_union->xmin = Min(b_union->xmin, b_new->xmin);
-	b_union->ymin = Min(b_union->ymin, b_new->ymin);
+	if (b_union->xmin > b_new->xmin || isnan(b_union->xmin))
+		b_union->xmin = b_new->xmin;
+	if (b_union->ymin > b_new->ymin || isnan(b_union->ymin))
+		b_union->ymin = b_new->ymin;
 	/* Adjust maximums */
-	b_union->xmax = Max(b_union->xmax, b_new->xmax);
-	b_union->ymax = Max(b_union->ymax, b_new->ymax);
+	if (b_union->xmax < b_new->xmax || isnan(b_union->xmax))
+		b_union->xmax = b_new->xmax;
+	if (b_union->ymax < b_new->ymax || isnan(b_union->ymax))
+		b_union->ymax = b_new->ymax;
 
 	POSTGIS_DEBUGF(5, "merge complete %s", box2df_to_string(b_union));
 	return;
@@ -802,8 +806,8 @@ Datum gserialized_gist_compress_2d(PG_FUNCTION_ARGS)
 	POSTGIS_DEBUGF(4, "[GIST] got entry_in->key: %s", box2df_to_string(&bbox_out));
 
 	/* Check all the dimensions for finite values */
-	if ( ! finite(bbox_out.xmax) || ! finite(bbox_out.xmin) ||
-	     ! finite(bbox_out.ymax) || ! finite(bbox_out.ymin) )
+	if ( ! isfinite(bbox_out.xmax) || ! isfinite(bbox_out.xmin) ||
+	     ! isfinite(bbox_out.ymax) || ! isfinite(bbox_out.ymin) )
 	{
 		POSTGIS_DEBUG(4, "[GIST] infinite geometry!");
 		PG_RETURN_POINTER(entry_in);
@@ -1184,13 +1188,13 @@ Datum gserialized_gist_same_2d(PG_FUNCTION_ARGS)
 static void
 adjustBox(BOX2DF *b, BOX2DF *addon)
 {
-	if (b->xmax < addon->xmax)
+	if (b->xmax < addon->xmax || isnan(b->xmax))
 		b->xmax = addon->xmax;
-	if (b->xmin > addon->xmin)
+	if (b->xmin > addon->xmin || isnan(b->xmin))
 		b->xmin = addon->xmin;
-	if (b->ymax < addon->ymax)
+	if (b->ymax < addon->ymax || isnan(b->ymax))
 		b->ymax = addon->ymax;
-	if (b->ymin > addon->ymin)
+	if (b->ymin > addon->ymin || isnan(b->ymin))
 		b->ymin = addon->ymin;
 }
 
@@ -1310,14 +1314,29 @@ interval_cmp_lower(const void *i1, const void *i2)
 	float		lower1 = ((const SplitInterval *) i1)->lower,
 				lower2 = ((const SplitInterval *) i2)->lower;
 
-	if (lower1 < lower2)
+	if (isnan(lower1))
+	{
+		if (isnan(lower2))
+			return 0;
+		else
+			return 1;
+	}
+	else if (isnan(lower2))
+	{
 		return -1;
-	else if (lower1 > lower2)
-		return 1;
+	}
 	else
-		return 0;
+	{
+		if (lower1 < lower2)
+			return -1;
+		else if (lower1 > lower2)
+			return 1;
+		else
+			return 0;
+	}
 }
 
+
 /*
  * Interval comparison function by upper bound of the interval;
  */
@@ -1327,12 +1346,26 @@ interval_cmp_upper(const void *i1, const void *i2)
 	float		upper1 = ((const SplitInterval *) i1)->upper,
 				upper2 = ((const SplitInterval *) i2)->upper;
 
-	if (upper1 < upper2)
-		return -1;
-	else if (upper1 > upper2)
+	if (isnan(upper1))
+	{
+		if (isnan(upper2))
+			return 0;
+		else
+			return -1;
+	}
+	else if (isnan(upper2))
+	{
 		return 1;
+	}
 	else
-		return 0;
+	{
+		if (upper1 < upper2)
+			return -1;
+		else if (upper1 > upper2)
+			return 1;
+		else
+			return 0;
+	}
 }
 
 /*
@@ -1645,7 +1678,8 @@ Datum gserialized_gist_picksplit_2d(PG_FUNCTION_ARGS)
 			/*
 			 * Find next lower bound of right group.
 			 */
-			while (i1 < nentries && rightLower == intervalsLower[i1].lower)
+			while (i1 < nentries && (rightLower == intervalsLower[i1].lower ||
+					isnan(intervalsLower[i1].lower)))
 			{
 				leftUpper = Max(leftUpper, intervalsLower[i1].upper);
 				i1++;
@@ -1680,7 +1714,8 @@ Datum gserialized_gist_picksplit_2d(PG_FUNCTION_ARGS)
 			/*
 			 * Find next upper bound of left group.
 			 */
-			while (i2 >= 0 && leftUpper == intervalsUpper[i2].upper)
+			while (i2 >= 0 && (leftUpper == intervalsUpper[i2].upper ||
+					isnan(intervalsUpper[i2].upper)))
 			{
 				rightLower = Min(rightLower, intervalsUpper[i2].lower);
 				i2--;
@@ -1784,10 +1819,10 @@ Datum gserialized_gist_picksplit_2d(PG_FUNCTION_ARGS)
 			upper = box->ymax;
 		}
 
-		if (upper <= context.leftUpper)
+		if (upper <= context.leftUpper || isnan(upper))
 		{
 			/* Fits to the left group */
-			if (lower >= context.rightLower)
+			if (lower >= context.rightLower || isnan(lower))
 			{
 				/* Fits also to the right group, so "common entry" */
 				commonEntries[commonEntriesCount++].index = i;
diff --git a/postgis/gserialized_gist_nd.c b/postgis/gserialized_gist_nd.c
index d01f04b..b977cdf 100644
--- a/postgis/gserialized_gist_nd.c
+++ b/postgis/gserialized_gist_nd.c
@@ -585,8 +585,8 @@ Datum gserialized_gist_compress(PG_FUNCTION_ARGS)
 	 * If not, use the "unknown" GIDX as a key */
 	for ( i = 0; i < GIDX_NDIMS(bbox_out); i++ )
 	{
-		if ( ! finite(GIDX_GET_MAX(bbox_out, i))
-		     || ! finite(GIDX_GET_MIN(bbox_out, i)) )
+		if ( ! isfinite(GIDX_GET_MAX(bbox_out, i)) ||
+		     ! isfinite(GIDX_GET_MIN(bbox_out, i)) )
 		{
 			gidx_set_unknown(bbox_out);
 			gistentryinit(*entry_out, 
diff --git a/postgis/lwgeom_functions_basic.c b/postgis/lwgeom_functions_basic.c
index 6b523cc..883d2de 100644
--- a/postgis/lwgeom_functions_basic.c
+++ b/postgis/lwgeom_functions_basic.c
@@ -1,5 +1,5 @@
 /**********************************************************************
- * $Id: lwgeom_functions_basic.c 11755 2013-08-09 07:00:25Z strk $
+ * $Id: lwgeom_functions_basic.c 12090 2013-11-05 19:57:22Z pramsey $
  *
  * PostGIS - Spatial Types for PostgreSQL
  * http://postgis.refractions.net
@@ -2653,7 +2653,7 @@ Datum ST_RemoveRepeatedPoints(PG_FUNCTION_ARGS);
 PG_FUNCTION_INFO_V1(ST_RemoveRepeatedPoints);
 Datum ST_RemoveRepeatedPoints(PG_FUNCTION_ARGS)
 {
-	GSERIALIZED *input = (GSERIALIZED *)PG_DETOAST_DATUM(PG_GETARG_DATUM(0));
+	GSERIALIZED *input = (GSERIALIZED *)PG_DETOAST_DATUM_COPY(PG_GETARG_DATUM(0));
 	GSERIALIZED *output;
 	LWGEOM *lwgeom_in = lwgeom_from_gserialized(input);
 	LWGEOM *lwgeom_out;
@@ -2673,7 +2673,7 @@ Datum ST_FlipCoordinates(PG_FUNCTION_ARGS);
 PG_FUNCTION_INFO_V1(ST_FlipCoordinates);
 Datum ST_FlipCoordinates(PG_FUNCTION_ARGS)
 {
-	GSERIALIZED *input = (GSERIALIZED *)PG_DETOAST_DATUM(PG_GETARG_DATUM(0));
+	GSERIALIZED *input = (GSERIALIZED *)PG_DETOAST_DATUM_COPY(PG_GETARG_DATUM(0));
 	GSERIALIZED *output;
 	LWGEOM *lwgeom_in = lwgeom_from_gserialized(input);
 	LWGEOM *lwgeom_out;
diff --git a/postgis/lwgeom_sqlmm.c b/postgis/lwgeom_sqlmm.c
index d0f3775..2e1bce4 100644
--- a/postgis/lwgeom_sqlmm.c
+++ b/postgis/lwgeom_sqlmm.c
@@ -1,5 +1,5 @@
 /**********************************************************************
- * $Id: lwgeom_sqlmm.c 10671 2012-11-14 21:25:52Z pramsey $
+ * $Id: lwgeom_sqlmm.c 12083 2013-11-04 23:17:11Z pramsey $
  *
  * PostGIS - Spatial Types for PostgreSQL
  * http://postgis.refractions.net
@@ -54,7 +54,7 @@ PG_FUNCTION_INFO_V1(LWGEOM_curve_segmentize);
 Datum LWGEOM_curve_segmentize(PG_FUNCTION_ARGS)
 {
 	GSERIALIZED *geom = (GSERIALIZED *)PG_DETOAST_DATUM(PG_GETARG_DATUM(0));
-	uint32 perQuad = PG_GETARG_INT32(1);
+	int32 perQuad = PG_GETARG_INT32(1);
 	GSERIALIZED *ret;
 	LWGEOM *igeom = NULL, *ogeom = NULL;
 
diff --git a/postgis/postgis.sql.in b/postgis/postgis.sql.in
index 8a4dbe0..7f7c640 100644
--- a/postgis/postgis.sql.in
+++ b/postgis/postgis.sql.in
@@ -1,6 +1,6 @@
 -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 --
--- $Id: postgis.sql.in 11409 2013-05-10 17:17:18Z colivier $
+-- $Id: postgis.sql.in 12102 2013-11-06 16:32:54Z strk $
 --
 -- PostGIS - Spatial Types for PostgreSQL
 -- http://postgis.refractions.net
@@ -27,14 +27,26 @@ SET client_min_messages TO warning;
 
 BEGIN;
 
--------------------------------------------------------------------
---  SPHEROID TYPE
--------------------------------------------------------------------
+-- Let the user know about a deprecated signature and its new name, if any
 CREATE OR REPLACE FUNCTION _postgis_deprecate(oldname text, newname text, version text)
 RETURNS void AS
 $$
+DECLARE
+  curver_text text;
 BEGIN
-    RAISE WARNING '% signature was deprecated in %. Please use %', oldname, version, newname;
+  --
+  -- Raises a NOTICE if it was deprecated in this version,
+  -- a WARNING if in a previous version (only up to minor version checked)
+  --
+    curver_text := POSTGIS_LIB_VERSION;
+    IF split_part(curver_text,'.',1)::int > split_part(version,'.',1)::int OR
+       ( split_part(curver_text,'.',1) = split_part(version,'.',1) AND
+         split_part(curver_text,'.',2) != split_part(version,'.',2) )
+    THEN
+      RAISE WARNING '% signature was deprecated in %. Please use %', oldname, version, newname;
+    ELSE
+      RAISE DEBUG '% signature was deprecated in %. Please use %', oldname, version, newname;
+    END IF;
 END;
 $$ LANGUAGE 'plpgsql' IMMUTABLE STRICT;
 
@@ -2560,9 +2572,9 @@ BEGIN
 	SELECT postgis_scripts_released() INTO relproc;
 	select postgis_svn_version() INTO svnver;
 	BEGIN
-		SELECT postgis_topology_scripts_installed() INTO topo_scr_ver;
+		SELECT topology.postgis_topology_scripts_installed() INTO topo_scr_ver;
 	EXCEPTION
-		WHEN undefined_function THEN
+		WHEN undefined_function OR invalid_schema_name THEN
 			topo_scr_ver := NULL;
 			RAISE NOTICE 'Function postgis_topology_scripts_installed() not found. Is topology support enabled and topology.sql installed?';
 	END;
@@ -4071,12 +4083,6 @@ CREATE OR REPLACE FUNCTION ST_MultiPointFromText(text)
 	AS 'SELECT ST_MPointFromText($1)'
 	LANGUAGE 'sql' IMMUTABLE STRICT;
 
--- Availability: 1.2.2
-CREATE OR REPLACE FUNCTION ST_MultiPointFromText(text)
-	RETURNS geometry
-	AS 'SELECT ST_MPointFromText($1)'
-	LANGUAGE 'sql' IMMUTABLE STRICT;
-
 -- PostGIS equivalent function: MPolyFromText(text, int4)
 CREATE OR REPLACE FUNCTION ST_MPolyFromText(text, int4)
 	RETURNS geometry
@@ -4526,16 +4532,6 @@ CREATE OR REPLACE FUNCTION ST_distance_sphere(geom1 geometry, geom2 geometry)
 	LANGUAGE 'sql' IMMUTABLE STRICT
 	COST 300;
 
--- Availability: 1.2.2
-CREATE OR REPLACE FUNCTION ST_distance_sphere(geom1 geometry, geom2 geometry)
-	RETURNS FLOAT8
-	AS $$
-	select st_distance(geography($1),geography($2),false)
-	$$
-	LANGUAGE 'sql' IMMUTABLE STRICT
-	COST 300;
-
-
 ---------------------------------------------------------------
 -- GEOMETRY_COLUMNS view support functions
 ---------------------------------------------------------------
@@ -4707,7 +4703,7 @@ CREATE OR REPLACE VIEW geometry_columns AS
     AND a.atttypid = t.oid 
     AND a.attrelid = c.oid 
     AND c.relnamespace = n.oid 
-    AND (c.relkind = 'r'::"char" OR c.relkind = 'v'::"char")
+    AND (c.relkind = 'r'::"char" OR c.relkind = 'v'::"char" OR c.relkind = 'm'::"char" OR c.relkind = 'f'::"char")
     AND NOT pg_is_other_temp_schema(c.relnamespace)
     AND NOT ( n.nspname = 'public' AND c.relname = 'raster_columns' )
     AND has_table_privilege( c.oid, 'SELECT'::text );
diff --git a/postgis/postgis_drop_after.sql b/postgis/postgis_drop_after.sql
index 378d10b..7726dcc 100644
--- a/postgis/postgis_drop_after.sql
+++ b/postgis/postgis_drop_after.sql
@@ -1,6 +1,6 @@
 -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 --
--- $Id: postgis_drop_after.sql 11289 2013-04-12 18:46:39Z pramsey $
+-- $Id: postgis_drop_after.sql 12010 2013-10-08 14:05:07Z strk $
 --
 -- PostGIS - Spatial Types for PostgreSQL
 -- http://postgis.refractions.net
@@ -61,11 +61,15 @@ DROP FUNCTION IF EXISTS st_asgml(geometry, int4);  -- changed to use default arg
 DROP FUNCTION IF EXISTS st_asgml(int4, geometry);  -- changed to use default args
 DROP FUNCTION IF EXISTS st_asgml(int4, geometry, int4);  -- changed to use default args
 DROP FUNCTION IF EXISTS st_asgml(int4, geometry, int4,int4);  -- changed to use default args
+DROP FUNCTION IF EXISTS st_asgml(int4, geometry, int4,int4,text); -- changed to use default args
 DROP FUNCTION IF EXISTS st_asgml(geography); -- changed to use default args
 DROP FUNCTION IF EXISTS st_asgml(geography, int4);  -- changed to use default args
 DROP FUNCTION IF EXISTS st_asgml(int4, geography);  -- changed to use default args
 DROP FUNCTION IF EXISTS st_asgml(int4, geography, int4);  -- changed to use default args
 DROP FUNCTION IF EXISTS st_asgml(int4, geography, int4,int4);  -- changed to use default args
+DROP FUNCTION IF EXISTS st_asgml(int4, geography, int4,int4,text); -- changed to use default args
+DROP FUNCTION IF EXISTS _st_asgml(int4, geometry, int4,int4,text); -- changed to use default args
+DROP FUNCTION IF EXISTS _st_asgml(int4, geography, int4,int4,text); -- changed to use default args
 DROP FUNCTION IF EXISTS ST_AsKML(geometry); -- changed to use default args
 DROP FUNCTION IF EXISTS ST_AsKML(geography); -- changed to use default args
 DROP FUNCTION IF EXISTS ST_AsKML(int4, geometry, int4); -- changed to use default args
diff --git a/postgis/sqldefines.h b/postgis/sqldefines.h
index 3a7ac29..643ebc3 100644
--- a/postgis/sqldefines.h
+++ b/postgis/sqldefines.h
@@ -7,10 +7,10 @@
  * Define just the version numbers; otherwise we get some strange substitutions in postgis.sql.in
  */
 #define POSTGIS_PGSQL_VERSION 92
-#define POSTGIS_GEOS_VERSION 35
-#define POSTGIS_PROJ_VERSION 47
-#define POSTGIS_LIB_VERSION 2.1.0
-#define POSTGIS_LIBXML2_VERSION 2.7.8
+#define POSTGIS_GEOS_VERSION 34
+#define POSTGIS_PROJ_VERSION 48
+#define POSTGIS_LIB_VERSION '2.1.1'
+#define POSTGIS_LIBXML2_VERSION 2.9.0
 
 /*
  * Define the build date and the version number
@@ -18,12 +18,12 @@
  * won't substitute within apostrophes)
  */
 #define _POSTGIS_SQL_SELECT_POSTGIS_VERSION 'SELECT ''2.1 USE_GEOS=1 USE_PROJ=1 USE_STATS=1''::text AS version'
-#define _POSTGIS_SQL_SELECT_POSTGIS_BUILD_DATE 'SELECT ''2013-08-18 01:36:40''::text AS version'
+#define _POSTGIS_SQL_SELECT_POSTGIS_BUILD_DATE 'SELECT ''2013-11-08 19:46:11''::text AS version'
 
 #if POSTGIS_SVN_REVISION
-#define _POSTGIS_SQL_SELECT_POSTGIS_SCRIPTS_VERSION $$ SELECT '2.1.0'::text || ' r' || POSTGIS_SVN_REVISION::text AS version $$
+#define _POSTGIS_SQL_SELECT_POSTGIS_SCRIPTS_VERSION $$ SELECT '2.1.1'::text || ' r' || POSTGIS_SVN_REVISION::text AS version $$
 #else
-#define _POSTGIS_SQL_SELECT_POSTGIS_SCRIPTS_VERSION $$ SELECT '2.1.0'::text AS version $$
+#define _POSTGIS_SQL_SELECT_POSTGIS_SCRIPTS_VERSION $$ SELECT '2.1.1'::text AS version $$
 #endif
 
 #define SRID_USR_MAX 998999
diff --git a/postgis/sqldefines.h.in b/postgis/sqldefines.h.in
index 9cb1810..1235af6 100644
--- a/postgis/sqldefines.h.in
+++ b/postgis/sqldefines.h.in
@@ -9,7 +9,7 @@
 #define POSTGIS_PGSQL_VERSION @POSTGIS_PGSQL_VERSION@
 #define POSTGIS_GEOS_VERSION @POSTGIS_GEOS_VERSION@
 #define POSTGIS_PROJ_VERSION @POSTGIS_PROJ_VERSION@
-#define POSTGIS_LIB_VERSION @POSTGIS_LIB_VERSION@
+#define POSTGIS_LIB_VERSION '@POSTGIS_LIB_VERSION@'
 #define POSTGIS_LIBXML2_VERSION @POSTGIS_LIBXML2_VERSION@
 
 /*
diff --git a/postgis_svn_revision.h b/postgis_svn_revision.h
index c693de5..9625478 100644
--- a/postgis_svn_revision.h
+++ b/postgis_svn_revision.h
@@ -1 +1 @@
-#define POSTGIS_SVN_REVISION 11822
+#define POSTGIS_SVN_REVISION 12113
diff --git a/raster/Makefile b/raster/Makefile
deleted file mode 100644
index 66629a3..0000000
--- a/raster/Makefile
+++ /dev/null
@@ -1,58 +0,0 @@
-#############################################################################
-# $Id: Makefile 3940 2009-03-30 09:30:43Z mloskot $
-#
-# Master makefile used to build WKT Raster
-#
-# Copyright (c) 2009 Sandro Santilli <strk at keybit.net>
-#
-# This is free software; you can redistribute and/or modify it under
-# the terms of the GNU General Public Licence. See the COPYING file.
-#
-#############################################################################
-
-.NOTPARALLEL:
-
-all:     
-
-corelib:
-	$(MAKE) -C rt_core
-
-pglib:
-	$(MAKE) -C rt_pg
-
-rtloader:
-	$(MAKE) -C loader
-
-rtpostgis.sql:
-	$(MAKE) -C rt_pg rtpostgis.sql
-
-install: all
-	$(MAKE) -C rt_pg install
-	$(MAKE) -C loader install
-	$(MAKE) -C scripts install
-
-uninstall:
-	$(MAKE) -C rt_pg uninstall
-	$(MAKE) -C loader uninstall
-	$(MAKE) -C scripts uninstall
-
-clean:
-	$(MAKE) -C rt_core $@
-	$(MAKE) -C rt_pg $@
-	$(MAKE) -C loader $@
-	$(MAKE) -C test $@
-	$(MAKE) -C scripts $@
-
-distclean: clean
-	$(MAKE) -C rt_core $@
-	$(MAKE) -C rt_pg $@
-	$(MAKE) -C loader $@
-	$(MAKE) -C test $@
-	$(MAKE) -C scripts $@
-	rm -f raster_config.h Makefile
-
-core-check:
-	$(MAKE) -C test $@
-
-check:
-	$(MAKE) -C test $@
diff --git a/raster/Makefile.in b/raster/Makefile.in
index 5e71c6b..86df62a 100644
--- a/raster/Makefile.in
+++ b/raster/Makefile.in
@@ -5,8 +5,19 @@
 #
 # Copyright (c) 2009 Sandro Santilli <strk at keybit.net>
 #
-# This is free software; you can redistribute and/or modify it under
-# the terms of the GNU General Public Licence. See the COPYING file.
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 #
 #############################################################################
 
diff --git a/raster/loader/Makefile.in b/raster/loader/Makefile.in
index a1d75b1..a539fba 100644
--- a/raster/loader/Makefile.in
+++ b/raster/loader/Makefile.in
@@ -5,8 +5,19 @@
 #   <bkpark at ucdavis.edu>
 # Copyright (c) 2009 Sandro Santilli <strk at keybit.net>
 #
-# This is free software; you can redistribute and/or modify it under
-# the terms of the GNU General Public Licence. See the COPYING file.
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 #
 #############################################################################
 
diff --git a/raster/loader/raster2pgsql.c b/raster/loader/raster2pgsql.c
index a7a205b..1efa8b3 100644
--- a/raster/loader/raster2pgsql.c
+++ b/raster/loader/raster2pgsql.c
@@ -1,5 +1,5 @@
 /*
- * $Id: raster2pgsql.c 11544 2013-06-13 15:26:07Z dustymugs $
+ * $Id: raster2pgsql.c 12093 2013-11-06 05:12:11Z dustymugs $
  *
  * PostGIS raster loader
  * http://trac.osgeo.org/postgis/wiki/WKTRaster
@@ -10,10 +10,10 @@
  * Copyright (C) 2011 Regents of the University of California
  *   <bkpark at ucdavis.edu>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -21,8 +21,8 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
 
@@ -414,6 +414,9 @@ usage() {
 		"  -N <nodata> NODATA value to use on bands without a NODATA value.\n"
 	));
 	printf(_(
+		"  -k  Skip NODATA value checks for each raster band.\n"
+	));
+	printf(_(
 		"  -E <endian> Control endianness of generated binary output of\n"
 		"      raster. Use 0 for XDR and 1 for NDR (default). Only NDR\n"
 		"      is supported at this time.\n"
@@ -706,6 +709,7 @@ init_config(RTLOADERCFG *config) {
 	config->idx_tablespace = NULL;
 	config->hasnodata = 0;
 	config->nodataval = 0;
+	config->skip_nodataval_check = 0;
 	config->endian = 1;
 	config->version = 0;
 	config->transaction = 1;
@@ -1814,7 +1818,8 @@ convert_raster(int idx, RTLOADERCFG *config, RASTERINFO *info, STRINGBUFFER *til
 					}
 
 					/* inspect each band of raster where band is NODATA */
-					rt_band_check_is_nodata(band);
+					if (!config->skip_nodataval_check)
+						rt_band_check_is_nodata(band);
 				}
 
 				/* convert rt_raster to hexwkb */
@@ -1931,7 +1936,7 @@ convert_raster(int idx, RTLOADERCFG *config, RASTERINFO *info, STRINGBUFFER *til
 				numbands = rt_raster_get_num_bands(rast);
 				for (i = 0; i < numbands; i++) {
 					band = rt_raster_get_band(rast, i);
-					if (band != NULL)
+					if (band != NULL && !config->skip_nodataval_check)
 						rt_band_check_is_nodata(band);
 				}
 
@@ -2579,6 +2584,10 @@ main(int argc, char **argv) {
 			config->hasnodata = 1;
 			config->nodataval = atof(argv[++i]);
 		}
+		/* skip NODATA value check for bands */
+		else if (CSEQUAL(argv[i], "-k")) {
+			config->skip_nodataval_check = 1;
+		}
 		/* endianness */
 		else if (CSEQUAL(argv[i], "-E") && i < argc - 1) {
 			config->endian = atoi(argv[++i]);
diff --git a/raster/loader/raster2pgsql.h b/raster/loader/raster2pgsql.h
index 77042cd..302e49a 100644
--- a/raster/loader/raster2pgsql.h
+++ b/raster/loader/raster2pgsql.h
@@ -1,5 +1,5 @@
 /*
- * $Id: raster2pgsql.h 11200 2013-03-25 03:05:13Z dustymugs $
+ * $Id: raster2pgsql.h 12093 2013-11-06 05:12:11Z dustymugs $
  *
  * PostGIS Raster loader
  * http://trac.osgeo.org/postgis/wiki/WKTRaster
@@ -10,10 +10,10 @@
  * Copyright (C) 2011 Regents of the University of California
  *   <bkpark at ucdavis.edu>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -21,8 +21,8 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
 
@@ -65,7 +65,7 @@
 */
 #define MAXTILESIZE 1073741824
 
-#define RCSID "$Id: raster2pgsql.h 11200 2013-03-25 03:05:13Z dustymugs $"
+#define RCSID "$Id: raster2pgsql.h 12093 2013-11-06 05:12:11Z dustymugs $"
 
 typedef struct raster_loader_config {
 	/* raster filename */
@@ -139,6 +139,9 @@ typedef struct raster_loader_config {
 	/* nodata value for bands with no nodata value */
 	double nodataval;
 
+	/* skip NODATA value check for bands */
+	int skip_nodataval_check;
+
 	/* endianness of binary output, 0 = XDR, 1 = NDR (default) */
 	int endian;
 
diff --git a/raster/macros/ac_proj4_version.m4 b/raster/macros/ac_proj4_version.m4
index 2fd75cc..4526b54 100644
--- a/raster/macros/ac_proj4_version.m4
+++ b/raster/macros/ac_proj4_version.m4
@@ -1,12 +1,23 @@
 dnl **********************************************************************
-dnl * $Id: ac_proj4_version.m4 9324 2012-02-27 22:08:12Z pramsey $
+dnl * $Id: ac_proj4_version.m4 12060 2013-10-28 19:44:03Z dustymugs $
 dnl *
 dnl * PostGIS - Spatial Types for PostgreSQL
 dnl * http://postgis.refractions.net
 dnl * Copyright 2008 Mark Cave-Ayland
 dnl *
-dnl * This is free software; you can redistribute and/or modify it under
-dnl * the terms of the GNU General Public Licence. See the COPYING file.
+dnl * This program is free software; you can redistribute it and/or
+dnl * modify it under the terms of the GNU General Public License
+dnl * as published by the Free Software Foundation; either version 2
+dnl * of the License, or (at your option) any later version.
+dnl *
+dnl * This program is distributed in the hope that it will be useful,
+dnl * but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+dnl * GNU General Public License for more details.
+dnl *
+dnl * You should have received a copy of the GNU General Public License
+dnl * along with this program; if not, write to the Free Software Foundation,
+dnl * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 dnl *
 dnl **********************************************************************
 
diff --git a/raster/rt_core/Makefile.in b/raster/rt_core/Makefile.in
index 414b04f..38b3412 100644
--- a/raster/rt_core/Makefile.in
+++ b/raster/rt_core/Makefile.in
@@ -1,10 +1,21 @@
 #############################################################################
-# $Id: Makefile.in 9523 2012-03-21 21:36:59Z pramsey $
+# $Id: Makefile.in 12060 2013-10-28 19:44:03Z dustymugs $
 #
 # Copyright (c) 2009 Sandro Santilli <strk at keybit.net>
 #
-# This is free software; you can redistribute and/or modify it under
-# the terms of the GNU General Public Licence. See the COPYING file.
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 #
 #############################################################################
 
diff --git a/raster/rt_core/rt_api.c b/raster/rt_core/rt_api.c
index be476f8..5fa7c46 100644
--- a/raster/rt_core/rt_api.c
+++ b/raster/rt_core/rt_api.c
@@ -1,5 +1,5 @@
 /*
- * $Id: rt_api.c 11541 2013-06-11 22:52:01Z dustymugs $
+ * $Id: rt_api.c 12060 2013-10-28 19:44:03Z dustymugs $
  *
  * WKTRaster - Raster Types for PostGIS
  * http://trac.osgeo.org/postgis/wiki/WKTRaster
@@ -12,10 +12,10 @@
  * Copyright (C) 2009-2011 Mateusz Loskot <mateusz at loskot.net>
  * Copyright (C) 2008-2009 Sandro Santilli <strk at keybit.net>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -23,8 +23,8 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
 
diff --git a/raster/rt_core/rt_api.h b/raster/rt_core/rt_api.h
index 78c38be..4a5b4d1 100644
--- a/raster/rt_core/rt_api.h
+++ b/raster/rt_core/rt_api.h
@@ -1,5 +1,5 @@
 /*
- * $Id: rt_api.h 11392 2013-05-10 00:09:11Z dustymugs $
+ * $Id: rt_api.h 12060 2013-10-28 19:44:03Z dustymugs $
  *
  * WKTRaster - Raster Types for PostGIS
  * http://www.postgis.org/support/wiki/index.php?WKTRasterHomePage
@@ -12,10 +12,10 @@
  * Copyright (C) 2009-2011 Mateusz Loskot <mateusz at loskot.net>
  * Copyright (C) 2008-2009 Sandro Santilli <strk at keybit.net>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -23,8 +23,8 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
 
diff --git a/raster/rt_pg/Makefile.in b/raster/rt_pg/Makefile.in
index f439936..f3beb9d 100644
--- a/raster/rt_pg/Makefile.in
+++ b/raster/rt_pg/Makefile.in
@@ -1,10 +1,21 @@
 #############################################################################
-# $Id: Makefile.in 11523 2013-06-04 19:18:17Z dustymugs $
+# $Id: Makefile.in 12060 2013-10-28 19:44:03Z dustymugs $
 #
 # Copyright (c) 2009-2011 Sandro Santilli <strk at keybit.net>
 #
-# This is free software; you can redistribute and/or modify it under
-# the terms of the GNU General Public Licence. See the COPYING file.
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 #
 #############################################################################
 
diff --git a/raster/rt_pg/rt_pg.c b/raster/rt_pg/rt_pg.c
index d00b726..50f1028 100644
--- a/raster/rt_pg/rt_pg.c
+++ b/raster/rt_pg/rt_pg.c
@@ -1,5 +1,5 @@
 /*
- * $Id: rt_pg.c 11542 2013-06-11 22:52:06Z dustymugs $
+ * $Id: rt_pg.c 12060 2013-10-28 19:44:03Z dustymugs $
  *
  * WKTRaster - Raster Types for PostGIS
  * http://www.postgis.org/support/wiki/index.php?WKTRasterHomePage
@@ -12,10 +12,10 @@
  * Copyright (C) 2009-2011 Mateusz Loskot <mateusz at loskot.net>
  * Copyright (C) 2008-2009 Sandro Santilli <strk at keybit.net>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -23,8 +23,8 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
 
@@ -2614,6 +2614,7 @@ Datum RASTER_dumpValues(PG_FUNCTION_ARGS)
 		}
 
 		/* check that raster is not empty */
+		/*
 		if (rt_raster_is_empty(raster)) {
 			elog(NOTICE, "Raster provided is empty");
 			rt_raster_destroy(raster);
@@ -2621,6 +2622,7 @@ Datum RASTER_dumpValues(PG_FUNCTION_ARGS)
 			MemoryContextSwitchTo(oldcontext);
 			SRF_RETURN_DONE(funcctx);
 		}
+		*/
 
 		/* raster has bands */
 		numbands = rt_raster_get_num_bands(raster); 
@@ -2759,6 +2761,10 @@ Datum RASTER_dumpValues(PG_FUNCTION_ARGS)
 
 		/* get each band and dump data */
 		for (z = 0; z < arg1->numbands; z++) {
+			/* shortcut if raster is empty */
+			if (rt_raster_is_empty(raster))
+				break;
+
 			band = rt_raster_get_band(raster, arg1->nbands[z]);
 			if (!band) {
 				int nband = arg1->nbands[z] + 1;
@@ -2866,6 +2872,7 @@ Datum RASTER_dumpValues(PG_FUNCTION_ARGS)
 		HeapTuple tuple;
 		Datum result;
 		ArrayType *mdValues = NULL;
+		int ndim = 2;
 		int dim[2] = {arg2->rows, arg2->columns};
 		int lbound[2] = {1, 1};
 
@@ -2879,10 +2886,14 @@ Datum RASTER_dumpValues(PG_FUNCTION_ARGS)
 		/* info about the type of item in the multi-dimensional array (float8). */
 		get_typlenbyvalalign(FLOAT8OID, &typlen, &typbyval, &typalign);
 
+		/* if values is NULL, return empty raster */
+		if (arg2->values[call_cntr] == NULL)
+			ndim = 0;
+
 		/* assemble 3-dimension array of values */
 		mdValues = construct_md_array(
 			arg2->values[call_cntr], arg2->nodata[call_cntr],
-			2, dim, lbound,
+			ndim, dim, lbound,
 			FLOAT8OID,
 			typlen, typbyval, typalign
 		);
@@ -3963,7 +3974,7 @@ Datum RASTER_getPixelPolygons(PG_FUNCTION_ARGS)
 		rt_band band = NULL;
 		int nband = 1;
 		int numbands;
-		bool noband = FALSE;
+		bool hasband = TRUE;
 		bool exclude_nodata_value = TRUE;
 		bool nocolumnx = FALSE;
 		bool norowy = FALSE;
@@ -3971,10 +3982,13 @@ Datum RASTER_getPixelPolygons(PG_FUNCTION_ARGS)
 		int y = 0;
 		int bounds[4] = {0};
 		int pixcount = 0;
+		double value = 0;
 		int isnodata = 0;
 
 		LWPOLY *poly;
 
+		POSTGIS_RT_DEBUG(3, "RASTER_getPixelPolygons first call");
+
 		/* create a function context for cross-call persistence */
 		funcctx = SRF_FIRSTCALL_INIT();
 
@@ -3989,10 +4003,10 @@ Datum RASTER_getPixelPolygons(PG_FUNCTION_ARGS)
 
 		/* band */
 		if (PG_ARGISNULL(1))
-			noband = TRUE;
+			hasband = FALSE;
 		else {
 			nband = PG_GETARG_INT32(1);
-			noband = FALSE;
+			hasband = TRUE;
 		}
 
 		/* column */
@@ -4036,29 +4050,30 @@ Datum RASTER_getPixelPolygons(PG_FUNCTION_ARGS)
 		}
 
 		/* band specified, load band and info */
-		if (!noband) {
-			do {
-				numbands = rt_raster_get_num_bands(raster);
-				POSTGIS_RT_DEBUGF(3, "band %d", nband);
-				POSTGIS_RT_DEBUGF(3, "# of bands %d", numbands);
-
-				if (nband < 1 || nband > numbands) {
-					elog(NOTICE, "Invalid band index (must use 1-based). Returning pixel values will be NULL");
-					noband = TRUE;
-					break;
-				}
+		if (hasband) {
+			numbands = rt_raster_get_num_bands(raster);
+			POSTGIS_RT_DEBUGF(3, "band %d", nband);
+			POSTGIS_RT_DEBUGF(3, "# of bands %d", numbands);
 
-				band = rt_raster_get_band(raster, nband - 1);
-				if (!band) {
-					elog(NOTICE, "Could not find band at index %d. Returning pixel values will be NULL", nband);
-					noband = TRUE;
-					break;
-				}
+			if (nband < 1 || nband > numbands) {
+				elog(NOTICE, "Invalid band index (must use 1-based). Returning NULL");
+				rt_raster_destroy(raster);
+				PG_FREE_IF_COPY(pgraster, 0);
+				MemoryContextSwitchTo(oldcontext);
+				SRF_RETURN_DONE(funcctx);
+			}
 
-				if (!rt_band_get_hasnodata_flag(band))
-					exclude_nodata_value = FALSE;
+			band = rt_raster_get_band(raster, nband - 1);
+			if (!band) {
+				elog(NOTICE, "Could not find band at index %d. Returning NULL", nband);
+				rt_raster_destroy(raster);
+				PG_FREE_IF_COPY(pgraster, 0);
+				MemoryContextSwitchTo(oldcontext);
+				SRF_RETURN_DONE(funcctx);
 			}
-			while (0);
+
+			if (!rt_band_get_hasnodata_flag(band))
+				exclude_nodata_value = FALSE;
 		}
 
 		/* set bounds if columnx, rowy not set */
@@ -4078,6 +4093,33 @@ Datum RASTER_getPixelPolygons(PG_FUNCTION_ARGS)
 		for (y = bounds[2]; y <= bounds[3]; y++) {
 			/* columnx */
 			for (x = bounds[0]; x <= bounds[1]; x++) {
+
+				value = 0;
+				isnodata = TRUE;
+
+				if (hasband) {
+					if (rt_band_get_pixel(band, x - 1, y - 1, &value, &isnodata) != ES_NONE) {
+
+						for (i = 0; i < pixcount; i++)
+							lwgeom_free(pix[i].geom);
+						if (pixcount) pfree(pix);
+
+						rt_band_destroy(band);
+						rt_raster_destroy(raster);
+						PG_FREE_IF_COPY(pgraster, 0);
+
+						MemoryContextSwitchTo(oldcontext);
+						elog(ERROR, "RASTER_getPixelPolygons: Could not get pixel value");
+						SRF_RETURN_DONE(funcctx);
+					}
+
+					/* don't continue if pixel is NODATA and to exclude NODATA */
+					if (isnodata && exclude_nodata_value) {
+						POSTGIS_RT_DEBUG(5, "pixel value is NODATA and exclude_nodata_value = TRUE");
+						continue;
+					}
+				}
+
 				/* geometry */
 				poly = rt_raster_pixel_as_polygon(raster, x - 1, y - 1);
 				if (!poly) {
@@ -4085,7 +4127,7 @@ Datum RASTER_getPixelPolygons(PG_FUNCTION_ARGS)
 						lwgeom_free(pix[i].geom);
 					if (pixcount) pfree(pix);
 
-					if (!noband) rt_band_destroy(band);
+					if (hasband) rt_band_destroy(band);
 					rt_raster_destroy(raster);
 					PG_FREE_IF_COPY(pgraster, 0);
 
@@ -4101,7 +4143,7 @@ Datum RASTER_getPixelPolygons(PG_FUNCTION_ARGS)
 				if (pix == NULL) {
 
 					lwpoly_free(poly);
-					if (!noband) rt_band_destroy(band);
+					if (hasband) rt_band_destroy(band);
 					rt_raster_destroy(raster);
 					PG_FREE_IF_COPY(pgraster, 0);
 
@@ -4110,56 +4152,48 @@ Datum RASTER_getPixelPolygons(PG_FUNCTION_ARGS)
 					SRF_RETURN_DONE(funcctx);
 				}
 				pix[pixcount].geom = (LWGEOM *) poly;
-				/*
-				POSTGIS_RT_DEBUGF(4, "poly @ %p", poly);
-				POSTGIS_RT_DEBUGF(4, "geom @ %p", pix[pixcount].geom);
-				*/
+				POSTGIS_RT_DEBUGF(5, "poly @ %p", poly);
+				POSTGIS_RT_DEBUGF(5, "geom @ %p", pix[pixcount].geom);
 
 				/* x, y */
 				pix[pixcount].x = x;
 				pix[pixcount].y = y;
 
-				/* value, NODATA flag */
-				if (!noband) {
-					if (rt_band_get_pixel(band, x - 1, y - 1, &(pix[pixcount].value), &isnodata) != ES_NONE) {
-
-						for (i = 0; i < pixcount; i++)
-							lwgeom_free(pix[i].geom);
-						if (pixcount) pfree(pix);
-
-						if (!noband) rt_band_destroy(band);
-						rt_raster_destroy(raster);
-						PG_FREE_IF_COPY(pgraster, 0);
-
-						MemoryContextSwitchTo(oldcontext);
-						elog(ERROR, "RASTER_getPixelPolygons: Could not get pixel value");
-						SRF_RETURN_DONE(funcctx);
-					}
+				/* value */
+				pix[pixcount].value = value;
 
-					if (!exclude_nodata_value || !isnodata) {
-						pix[pixcount].nodata = 0;
-					}
-					else {
-						pix[pixcount].nodata = 1;
-					}
+				/* NODATA */
+				if (hasband) {
+					if (exclude_nodata_value)
+						pix[pixcount].nodata = isnodata;
+					else
+						pix[pixcount].nodata = FALSE;
 				}
 				else {
-					pix[pixcount].nodata = 1;
+					pix[pixcount].nodata = isnodata;
 				}
 
 				pixcount++;
 			}
 		}
 
-		if (!noband) rt_band_destroy(band);
+		if (hasband) rt_band_destroy(band);
 		rt_raster_destroy(raster);
 		PG_FREE_IF_COPY(pgraster, 0);
 
+		/* shortcut if no pixcount */
+		if (pixcount < 1) {
+			elog(NOTICE, "No pixels found for band %d", nband);
+			MemoryContextSwitchTo(oldcontext);
+			SRF_RETURN_DONE(funcctx);
+		}
+
 		/* Store needed information */
 		funcctx->user_fctx = pix;
 
 		/* total number of tuples to be returned */
 		funcctx->max_calls = pixcount;
+		POSTGIS_RT_DEBUGF(3, "pixcount = %d", pixcount);
 
 		/* Build a tuple descriptor for our result type */
 		if (get_call_result_type(fcinfo, NULL, &tupdesc) != TYPEFUNC_COMPOSITE) {
diff --git a/raster/rt_pg/rt_pg.h b/raster/rt_pg/rt_pg.h
index bb14f7f..c9d8025 100644
--- a/raster/rt_pg/rt_pg.h
+++ b/raster/rt_pg/rt_pg.h
@@ -1,5 +1,5 @@
 /*
- * $Id: rt_pg.h 10860 2012-12-19 18:06:17Z strk $
+ * $Id: rt_pg.h 12060 2013-10-28 19:44:03Z dustymugs $
  *
  * WKTRaster - Raster Types for PostGIS
  * http://www.postgis.org/support/wiki/index.php?WKTRasterHomePage
@@ -10,10 +10,10 @@
  * Copyright (C) 2009-2011 Mateusz Loskot <mateusz at loskot.net>
  * Copyright (C) 2008-2009 Sandro Santilli <strk at keybit.net>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -21,8 +21,8 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
 
diff --git a/raster/rt_pg/rtpostgis.sql.in b/raster/rt_pg/rtpostgis.sql.in
index 6825b17..45429fe 100644
--- a/raster/rt_pg/rtpostgis.sql.in
+++ b/raster/rt_pg/rtpostgis.sql.in
@@ -12,8 +12,19 @@
 -- Copyright (C) 2011-2013 Regents of the University of California
 --   <bkpark at ucdavis.edu>
 --
--- This is free software; you can redistribute and/or modify it under
--- the terms of the GNU General Public Licence. See the COPYING file.
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software Foundation,
+-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 --
 -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 --
@@ -5513,6 +5524,11 @@ CREATE OR REPLACE FUNCTION raster_geometry_contain(raster, geometry)
     AS 'select $1::geometry ~ $2'
     LANGUAGE 'sql' IMMUTABLE STRICT;
 
+CREATE OR REPLACE FUNCTION raster_contained_by_geometry(raster, geometry)
+    RETURNS bool
+    AS 'select $1::geometry @ $2'
+    LANGUAGE 'sql' IMMUTABLE STRICT;
+
 CREATE OR REPLACE FUNCTION raster_geometry_overlap(raster, geometry)
     RETURNS bool
     AS 'select $1::geometry && $2'
@@ -5524,6 +5540,11 @@ CREATE OR REPLACE FUNCTION geometry_raster_contain(geometry, raster)
     AS 'select $1 ~ $2::geometry'
     LANGUAGE 'sql' IMMUTABLE STRICT;
 
+CREATE OR REPLACE FUNCTION geometry_contained_by_raster(geometry, raster)
+    RETURNS bool
+    AS 'select $1 @ $2::geometry'
+    LANGUAGE 'sql' IMMUTABLE STRICT;
+
 CREATE OR REPLACE FUNCTION geometry_raster_overlap(geometry, raster)
     RETURNS bool
     AS 'select $1 && $2::geometry'
@@ -5611,7 +5632,13 @@ CREATE OPERATOR ~ (
     COMMUTATOR = '@',
     RESTRICT = contsel, JOIN = contjoinsel
     );
-    
+
+CREATE OPERATOR @ (
+    LEFTARG = raster, RIGHTARG = geometry, PROCEDURE = raster_contained_by_geometry,
+    COMMUTATOR = '~',
+    RESTRICT = contsel, JOIN = contjoinsel
+    );
+
 CREATE OPERATOR && (
     LEFTARG = raster, RIGHTARG = geometry, PROCEDURE = raster_geometry_overlap,
     COMMUTATOR = '&&',
@@ -5624,7 +5651,13 @@ CREATE OPERATOR ~ (
     COMMUTATOR = '@',
     RESTRICT = contsel, JOIN = contjoinsel
     );
-    
+
+CREATE OPERATOR @ (
+    LEFTARG = geometry, RIGHTARG = raster, PROCEDURE = geometry_contained_by_raster,
+    COMMUTATOR = '~',
+    RESTRICT = contsel, JOIN = contjoinsel
+    );
+
 CREATE OPERATOR && (
     LEFTARG = geometry, RIGHTARG = raster, PROCEDURE = geometry_raster_overlap,
     COMMUTATOR = '&&',
@@ -8006,7 +8039,7 @@ CREATE OR REPLACE VIEW raster_columns AS
 		AND a.atttypid = t.oid
 		AND a.attrelid = c.oid
 		AND c.relnamespace = n.oid
-		AND (c.relkind = 'r'::"char" OR c.relkind = 'v'::"char")
+		AND c.relkind = ANY(ARRAY['r'::char, 'v'::char, 'm'::char, 'f'::char])
 		AND NOT pg_is_other_temp_schema(c.relnamespace);
 
 ------------------------------------------------------------------------------
@@ -8106,7 +8139,7 @@ CREATE OR REPLACE VIEW raster_overviews AS
 		AND a.atttypid = t.oid
 		AND a.attrelid = c.oid
 		AND c.relnamespace = n.oid
-		AND (c.relkind = 'r'::"char" OR c.relkind = 'v'::"char")
+		AND c.relkind = ANY(ARRAY['r'::char, 'v'::char, 'm'::char, 'f'::char])
 		AND s.connamespace = n.oid
 		AND s.conrelid = c.oid
 		AND s.consrc LIKE '%_overview_constraint(%'
diff --git a/raster/rt_pg/rtpostgis_drop.sql.in b/raster/rt_pg/rtpostgis_drop.sql.in
index f521772..51bc5f3 100644
--- a/raster/rt_pg/rtpostgis_drop.sql.in
+++ b/raster/rt_pg/rtpostgis_drop.sql.in
@@ -9,8 +9,19 @@
 -- Copyright (C) 2011-2012 Regents of the University of California
 --   <bkpark at ucdavis.edu>
 --
--- This is free software; you can redistribute and/or modify it under
--- the terms of the GNU General Public Licence. See the COPYING file.
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software Foundation,
+-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 --
 -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 --
@@ -486,3 +497,13 @@ DROP FUNCTION IF EXISTS _add_raster_constraint_regular_blocking(name, name, name
 
 -- function signature changed
 DROP FUNCTION IF EXISTS st_asbinary(raster);
+
+DROP FUNCTION IF EXISTS _st_aspect4ma(float8[], text, text[]);
+DROP FUNCTION IF EXISTS _st_hillshade4ma(float8[], text, text[]);
+DROP FUNCTION IF EXISTS _st_mapalgebra4unionfinal1(raster);
+DROP FUNCTION IF EXISTS _st_mapalgebra4unionstate(raster, raster, int4);
+DROP FUNCTION IF EXISTS _st_mapalgebra4unionstate(raster, raster);
+DROP FUNCTION IF EXISTS _st_mapalgebra4unionstate(raster, raster, text);
+DROP FUNCTION IF EXISTS _st_mapalgebra4unionstate(raster, raster, int4, text);
+DROP FUNCTION IF EXISTS _st_mapalgebra4unionstate(raster, raster, text, text, text, float8, text, text, text, float8);
+DROP FUNCTION IF EXISTS _st_slope4ma(float8[], text, text[]);
diff --git a/raster/rt_pg/rtpostgis_legacy.sql.in b/raster/rt_pg/rtpostgis_legacy.sql.in
index ab72f01..3646d65 100644
--- a/raster/rt_pg/rtpostgis_legacy.sql.in
+++ b/raster/rt_pg/rtpostgis_legacy.sql.in
@@ -1,6 +1,6 @@
 -------------------------------------------------------------------------------
 --
--- $Id: rtpostgis_legacy.sql.in 11179 2013-03-19 09:16:45Z strk $
+-- $Id: rtpostgis_legacy.sql.in 12060 2013-10-28 19:44:03Z dustymugs $
 --
 -- PostGIS Raster - Raster Type for PostGIS
 -- http://trac.osgeo.org/postgis/wiki/WKTRaster
@@ -8,8 +8,19 @@
 -- Copyright (C) 2012 Regents of the University of California
 --   <bkpark at ucdavis.edu>
 --
--- This is free software; you can redistribute and/or modify it under
--- the terms of the GNU General Public Licence. See the COPYING file.
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software Foundation,
+-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 --
 -------------------------------------------------------------------------------
 
diff --git a/raster/rt_pg/rtpostgis_upgrade_cleanup.sql.in b/raster/rt_pg/rtpostgis_upgrade_cleanup.sql.in
index ad7ea4a..a6155ce 100644
--- a/raster/rt_pg/rtpostgis_upgrade_cleanup.sql.in
+++ b/raster/rt_pg/rtpostgis_upgrade_cleanup.sql.in
@@ -9,8 +9,19 @@
 -- Copyright (C) 2011 Regents of the University of California
 --   <bkpark at ucdavis.edu>
 --
--- This is free software; you can redistribute and/or modify it under
--- the terms of the GNU General Public Licence. See the COPYING file.
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software Foundation,
+-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 --
 -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 --
@@ -133,3 +144,54 @@ END$$;
 DROP CAST IF EXISTS (raster AS geometry);
 CREATE CAST (raster AS geometry)
 	WITH FUNCTION st_convexhull(raster) AS ASSIGNMENT;
+
+-- add missing OPERATORs
+DO LANGUAGE 'plpgsql' $$
+BEGIN
+	IF NOT EXISTS (
+			SELECT
+				proname
+			FROM pg_proc f
+			JOIN pg_type r
+				ON r.typname = 'raster'
+					AND (f.proargtypes::oid[])[0] = r.oid
+			JOIN pg_type g
+				ON g.typname = 'geometry'
+					AND (f.proargtypes::oid[])[1] = g.oid
+			WHERE proname = 'raster_contained_by_geometry'
+		) THEN
+		CREATE OR REPLACE FUNCTION raster_contained_by_geometry(raster, geometry)
+			RETURNS bool
+	    AS 'select $1::geometry @ $2'
+	    LANGUAGE 'sql' IMMUTABLE STRICT;
+		CREATE OPERATOR @ (
+			LEFTARG = raster, RIGHTARG = geometry, PROCEDURE = raster_contained_by_geometry,
+	    COMMUTATOR = '~',
+		  RESTRICT = contsel, JOIN = contjoinsel
+		);
+	END IF;
+
+	IF NOT EXISTS (
+			SELECT
+				proname
+			FROM pg_proc f
+			JOIN pg_type r
+				ON r.typname = 'raster'
+					AND (f.proargtypes::oid[])[1] = r.oid
+			JOIN pg_type g
+				ON g.typname = 'geometry'
+					AND (f.proargtypes::oid[])[0] = g.oid
+			WHERE proname = 'geometry_contained_by_raster'
+		) THEN
+		CREATE OR REPLACE FUNCTION geometry_contained_by_raster(geometry, raster)
+	    RETURNS bool
+		  AS 'select $1 @ $2::geometry'
+	    LANGUAGE 'sql' IMMUTABLE STRICT;
+		CREATE OPERATOR @ (
+	    LEFTARG = geometry, RIGHTARG = raster, PROCEDURE = geometry_contained_by_raster,
+		  COMMUTATOR = '~',
+			RESTRICT = contsel, JOIN = contjoinsel
+    );
+	END IF;
+END;
+$$;
diff --git a/raster/scripts/Makefile.in b/raster/scripts/Makefile.in
index 2798dfd..77956e9 100644
--- a/raster/scripts/Makefile.in
+++ b/raster/scripts/Makefile.in
@@ -4,8 +4,19 @@
 # Copyright (c) 2011 Regents of the University of California
 #   <bkpark at ucdavis.edu>
 #
-# This is free software; you can redistribute and/or modify it under
-# the terms of the GNU General Public Licence. See the COPYING file.
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 #
 #############################################################################
 
diff --git a/raster/scripts/python/Makefile.in b/raster/scripts/python/Makefile.in
index 0f5ccfd..7fdee7d 100644
--- a/raster/scripts/python/Makefile.in
+++ b/raster/scripts/python/Makefile.in
@@ -1,10 +1,21 @@
 #############################################################################
-# $Id: Makefile.in 9523 2012-03-21 21:36:59Z pramsey $
+# $Id: Makefile.in 12060 2013-10-28 19:44:03Z dustymugs $
 #
 # Copyright (c) 2009 Pierre Racine <pierre.racine at sbf.ulaval.ca>
 #
-# This is free software; you can redistribute and/or modify it under
-# the terms of the GNU General Public Licence. See the COPYING file.
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 #
 #############################################################################
 CP = cp -p
diff --git a/raster/scripts/python/Makefile.rt.sample b/raster/scripts/python/Makefile.rt.sample
index 4caa715..11baced 100644
--- a/raster/scripts/python/Makefile.rt.sample
+++ b/raster/scripts/python/Makefile.rt.sample
@@ -1,5 +1,5 @@
 #############################################################################
-# $Id: Makefile.rt.sample 9324 2012-02-27 22:08:12Z pramsey $ 
+# $Id: Makefile.rt.sample 12060 2013-10-28 19:44:03Z dustymugs $ 
 #
 # Makefile used to simplify creation of PostGIS and WKT Raster enabled
 # database. Run make -f Makefile.rt to see usage message.
@@ -7,8 +7,19 @@
 #############################################################################
 # Copyright (C) 2009 Mateusz Loskot <mateusz at loskot.net>
 #
-# This is free software; you can redistribute and/or modify it under
-# the terms of the GNU General Public Licence. See the COPYING file.
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 #
 #############################################################################
 #
diff --git a/raster/scripts/python/genraster.py b/raster/scripts/python/genraster.py
index ea2a1d4..38df09f 100755
--- a/raster/scripts/python/genraster.py
+++ b/raster/scripts/python/genraster.py
@@ -12,19 +12,19 @@
 ###############################################################################
 # (C) 2009 Mateusz Loskot <mateusz at loskot.net>
 # 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
-# (at your option) any later version.
-# 
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 #
 ###############################################################################
 import Image
diff --git a/raster/scripts/python/ovdump.py b/raster/scripts/python/ovdump.py
index 23abe82..d9611a6 100755
--- a/raster/scripts/python/ovdump.py
+++ b/raster/scripts/python/ovdump.py
@@ -10,19 +10,19 @@
 #
 # Copyright (C) 2009 Mateusz Loskot <mateusz at loskot.net>
 # 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
-# (at your option) any later version.
-# 
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 #
 from osgeo import gdal
 from osgeo import osr
diff --git a/raster/scripts/python/pixval.py b/raster/scripts/python/pixval.py
index 9cd16f9..761113a 100755
--- a/raster/scripts/python/pixval.py
+++ b/raster/scripts/python/pixval.py
@@ -1,25 +1,25 @@
 #! /usr/bin/env python
 #
-# $Id: pixval.py 9324 2012-02-27 22:08:12Z pramsey $
+# $Id: pixval.py 12060 2013-10-28 19:44:03Z dustymugs $
 #
 # This is a simple script based on GDAL and used to retrieve value of single raster pixel.
 # It is used in WKTRaster testing to compare raster samples.
 #
 # Copyright (C) 2009 Mateusz Loskot <mateusz at loskot.net>
 # 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
-# (at your option) any later version.
-# 
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 #
 from osgeo import gdal
 from osgeo import osr
diff --git a/raster/scripts/python/raster2pgsql.py b/raster/scripts/python/raster2pgsql.py
index 3270b37..ee61a0e 100755
--- a/raster/scripts/python/raster2pgsql.py
+++ b/raster/scripts/python/raster2pgsql.py
@@ -1,6 +1,6 @@
 #! /usr/bin/env python
 #
-# $Id: raster2pgsql.py 9324 2012-02-27 22:08:12Z pramsey $
+# $Id: raster2pgsql.py 12060 2013-10-28 19:44:03Z dustymugs $
 #
 # This is a simple utility used to dump GDAL dataset into HEX WKB stream.
 # It's considered as a prototype of raster2pgsql tool planned to develop
@@ -16,19 +16,20 @@
 # Copyright (C) 2009-2011 Pierre Racine <pierre.racine at sbf.ulaval.ca>
 # Copyright (C) 2009-2010 Jorge Arevalo <jorge.arevalo at deimos-space.com>
 # 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
-# (at your option) any later version.
-# 
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+#
 ################################################################################
 #
 from osgeo import gdal
@@ -79,7 +80,7 @@ def is_nan(x):
 def parse_command_line():
     """Collects, parses and validates command line arguments."""
 
-    prs = OptionParser(version="%prog $Revision: 9324 $")
+    prs = OptionParser(version="%prog $Revision: 12060 $")
 
     # Mandatory parameters
     grp0 = OptionGroup(prs, "Source and destination",
diff --git a/raster/scripts/python/rtgdalraster.py b/raster/scripts/python/rtgdalraster.py
index ed63d75..5e5fe44 100755
--- a/raster/scripts/python/rtgdalraster.py
+++ b/raster/scripts/python/rtgdalraster.py
@@ -15,19 +15,19 @@
 #   <bkpark at ucdavis.edu>
 # Copyright (C) 2009 Mateusz Loskot <mateusz at loskot.net>
 # 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
-# (at your option) any later version.
-# 
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 #
 ###############################################################################
 from optparse import OptionParser
diff --git a/raster/scripts/python/rtpixdump.py b/raster/scripts/python/rtpixdump.py
index 37259e9..7732943 100755
--- a/raster/scripts/python/rtpixdump.py
+++ b/raster/scripts/python/rtpixdump.py
@@ -1,25 +1,25 @@
 #! /usr/bin/env python
 #
-# $Id: rtpixdump.py 9324 2012-02-27 22:08:12Z pramsey $
+# $Id: rtpixdump.py 12060 2013-10-28 19:44:03Z dustymugs $
 #
 # Brute-force dump of all pixels of all bands in WKT Raster field/row to text.
 # This utility is handy for debugging purposes.
 #
 # Copyright (C) 2009 Mateusz Loskot <mateusz at loskot.net>
 # 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
-# (at your option) any later version.
-# 
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 #
 ###############################################################################
 import rtreader
@@ -33,7 +33,7 @@ def logit(msg):
 ###############################################################################
 try:
 
-    prs = OptionParser(version="%prog $Revision: 9324 $",
+    prs = OptionParser(version="%prog $Revision: 12060 $",
                        usage="%prog -d <DB> -t <TABLE> [-c <COLUMN>]",
                        description="Brute-force dump of all pixel values of WKT Raster dataset")
     prs.add_option("-d", "--db", dest="db", action="store", default=None,
diff --git a/raster/scripts/python/rtreader.py b/raster/scripts/python/rtreader.py
index 9b57cec..c58dedc 100755
--- a/raster/scripts/python/rtreader.py
+++ b/raster/scripts/python/rtreader.py
@@ -1,24 +1,24 @@
 #! /usr/bin/env python
 #
-# $Id: rtreader.py 10805 2012-12-06 17:39:04Z mloskot $
+# $Id: rtreader.py 12060 2013-10-28 19:44:03Z dustymugs $
 #
 # A simple driver to read RASTER field data directly from PostGIS/WKTRaster.
 #
 # Copyright (C) 2009 Mateusz Loskot <mateusz at loskot.net>
 # 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
-# (at your option) any later version.
-# 
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 #
 ###############################################################################
 #
diff --git a/raster/scripts/python/rtrowdump.py b/raster/scripts/python/rtrowdump.py
index 79863d3..f029637 100755
--- a/raster/scripts/python/rtrowdump.py
+++ b/raster/scripts/python/rtrowdump.py
@@ -12,19 +12,19 @@
 ###############################################################################
 # Copyright (C) 2009 Mateusz Loskot <mateusz at loskot.net>
 # 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
-# (at your option) any later version.
-# 
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 #
 ###############################################################################
 import rtreader
diff --git a/raster/scripts/python/window.py b/raster/scripts/python/window.py
index 04dfd6b..e8e31d1 100755
--- a/raster/scripts/python/window.py
+++ b/raster/scripts/python/window.py
@@ -1,6 +1,6 @@
 #! /usr/bin/env python
 #
-# $Id: window.py 9324 2012-02-27 22:08:12Z pramsey $
+# $Id: window.py 12060 2013-10-28 19:44:03Z dustymugs $
 #
 # Calculates coordinates of window corners of given raster dataset.
 # It's just a simple helper for testing and debugging WKT Raster.
@@ -8,8 +8,20 @@
 ##############################################################################
 # Copyright (C) 2009 Mateusz Loskot <mateusz at loskot.net>
 # 
-# This is free software; you can redistribute and/or modify it under
-# the terms of the GNU General Public Licence. See the COPYING file.
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+#
 ##############################################################################
 from osgeo import gdal
 from osgeo import osr
diff --git a/raster/test/Makefile.in b/raster/test/Makefile.in
index d947e65..b1492e0 100644
--- a/raster/test/Makefile.in
+++ b/raster/test/Makefile.in
@@ -3,8 +3,19 @@
 #
 # Copyright (c) 2009 Mateusz Loskot <mateusz at loskot.net>
 #
-# This is free software; you can redistribute and/or modify it under
-# the terms of the GNU General Public Licence. See the COPYING file.
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 #
 #############################################################################
 
diff --git a/raster/test/cunit/Makefile.in b/raster/test/cunit/Makefile.in
index 9770199..d77389e 100644
--- a/raster/test/cunit/Makefile.in
+++ b/raster/test/cunit/Makefile.in
@@ -5,8 +5,19 @@
 # * http://postgis.refractions.net
 # * Copyright 2008 Paul Ramsey, Mark Cave-Ayland
 # *
-# * This is free software; you can redistribute and/or modify it under
-# * the terms of the GNU General Public Licence. See the COPYING file.
+# * This program is free software; you can redistribute it and/or
+# * modify it under the terms of the GNU General Public License
+# * as published by the Free Software Foundation; either version 2
+# * of the License, or (at your option) any later version.
+# *
+# * This program is distributed in the hope that it will be useful,
+# * but WITHOUT ANY WARRANTY; without even the implied warranty of
+# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# * GNU General Public License for more details.
+# *
+# * You should have received a copy of the GNU General Public License
+# * along with this program; if not, write to the Free Software Foundation,
+# * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 # *
 # **********************************************************************
 
diff --git a/raster/test/cunit/cu_band_basics.c b/raster/test/cunit/cu_band_basics.c
index 0f46784..7bef88f 100644
--- a/raster/test/cunit/cu_band_basics.c
+++ b/raster/test/cunit/cu_band_basics.c
@@ -5,10 +5,10 @@
  * Copyright (C) 2012 Regents of the University of California
  *   <bkpark at ucdavis.edu>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -16,8 +16,8 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
 
diff --git a/raster/test/cunit/cu_band_misc.c b/raster/test/cunit/cu_band_misc.c
index d10e3dd..1f64f9c 100644
--- a/raster/test/cunit/cu_band_misc.c
+++ b/raster/test/cunit/cu_band_misc.c
@@ -5,10 +5,10 @@
  * Copyright (C) 2012 Regents of the University of California
  *   <bkpark at ucdavis.edu>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -16,8 +16,8 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
 
diff --git a/raster/test/cunit/cu_band_stats.c b/raster/test/cunit/cu_band_stats.c
index aa5fef1..f02ca37 100644
--- a/raster/test/cunit/cu_band_stats.c
+++ b/raster/test/cunit/cu_band_stats.c
@@ -5,10 +5,10 @@
  * Copyright (C) 2012 Regents of the University of California
  *   <bkpark at ucdavis.edu>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -16,8 +16,8 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
 
diff --git a/raster/test/cunit/cu_gdal.c b/raster/test/cunit/cu_gdal.c
index 78b1c70..1418627 100644
--- a/raster/test/cunit/cu_gdal.c
+++ b/raster/test/cunit/cu_gdal.c
@@ -5,10 +5,10 @@
  * Copyright (C) 2012 Regents of the University of California
  *   <bkpark at ucdavis.edu>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -16,8 +16,8 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
 
diff --git a/raster/test/cunit/cu_mapalgebra.c b/raster/test/cunit/cu_mapalgebra.c
index 0cb2f06..ecc195c 100644
--- a/raster/test/cunit/cu_mapalgebra.c
+++ b/raster/test/cunit/cu_mapalgebra.c
@@ -5,10 +5,10 @@
  * Copyright (C) 2012 Regents of the University of California
  *   <bkpark at ucdavis.edu>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -16,8 +16,8 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
 
diff --git a/raster/test/cunit/cu_misc.c b/raster/test/cunit/cu_misc.c
index c38f7b0..bc89a72 100644
--- a/raster/test/cunit/cu_misc.c
+++ b/raster/test/cunit/cu_misc.c
@@ -5,10 +5,10 @@
  * Copyright (C) 2013 Regents of the University of California
  *   <bkpark at ucdavis.edu>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -16,8 +16,8 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
 
diff --git a/raster/test/cunit/cu_pixtype.c b/raster/test/cunit/cu_pixtype.c
index f89c3e9..d463768 100644
--- a/raster/test/cunit/cu_pixtype.c
+++ b/raster/test/cunit/cu_pixtype.c
@@ -5,10 +5,10 @@
  * Copyright (C) 2012 Regents of the University of California
  *   <bkpark at ucdavis.edu>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -16,8 +16,8 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
 
diff --git a/raster/test/cunit/cu_raster_basics.c b/raster/test/cunit/cu_raster_basics.c
index 87d6364..477fae0 100644
--- a/raster/test/cunit/cu_raster_basics.c
+++ b/raster/test/cunit/cu_raster_basics.c
@@ -5,10 +5,10 @@
  * Copyright (C) 2012 Regents of the University of California
  *   <bkpark at ucdavis.edu>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -16,8 +16,8 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
 
diff --git a/raster/test/cunit/cu_raster_geometry.c b/raster/test/cunit/cu_raster_geometry.c
index 5615a9e..0d02770 100644
--- a/raster/test/cunit/cu_raster_geometry.c
+++ b/raster/test/cunit/cu_raster_geometry.c
@@ -5,10 +5,10 @@
  * Copyright (C) 2012-2013 Regents of the University of California
  *   <bkpark at ucdavis.edu>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -16,8 +16,8 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
 
diff --git a/raster/test/cunit/cu_raster_misc.c b/raster/test/cunit/cu_raster_misc.c
index 4f90ea6..9bdd58f 100644
--- a/raster/test/cunit/cu_raster_misc.c
+++ b/raster/test/cunit/cu_raster_misc.c
@@ -5,10 +5,10 @@
  * Copyright (C) 2012 Regents of the University of California
  *   <bkpark at ucdavis.edu>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -16,8 +16,8 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
 
diff --git a/raster/test/cunit/cu_raster_wkb.c b/raster/test/cunit/cu_raster_wkb.c
index 0036677..033f956 100644
--- a/raster/test/cunit/cu_raster_wkb.c
+++ b/raster/test/cunit/cu_raster_wkb.c
@@ -6,10 +6,10 @@
  *   <bkpark at ucdavis.edu>
  * Copyright (C) 2009  Sandro Santilli <strk at keybit.net>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -17,8 +17,8 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
 
diff --git a/raster/test/cunit/cu_spatial_relationship.c b/raster/test/cunit/cu_spatial_relationship.c
index 6090495..7579c38 100644
--- a/raster/test/cunit/cu_spatial_relationship.c
+++ b/raster/test/cunit/cu_spatial_relationship.c
@@ -5,10 +5,10 @@
  * Copyright (C) 2012 Regents of the University of California
  *   <bkpark at ucdavis.edu>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -16,8 +16,8 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
 
diff --git a/raster/test/cunit/cu_tester.c b/raster/test/cunit/cu_tester.c
index 31f8eb6..b93f17a 100644
--- a/raster/test/cunit/cu_tester.c
+++ b/raster/test/cunit/cu_tester.c
@@ -5,8 +5,19 @@
  * http://postgis.refractions.net
  * Copyright 2008 Paul Ramsey <pramsey at cleverelephant.ca>
  *
- * This is free software; you can redistribute and/or modify it under
- * the terms of the GNU General Public Licence. See the COPYING file.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  **********************************************************************/
 
diff --git a/raster/test/cunit/cu_tester.h b/raster/test/cunit/cu_tester.h
index 26d5724..295ca18 100644
--- a/raster/test/cunit/cu_tester.h
+++ b/raster/test/cunit/cu_tester.h
@@ -4,8 +4,19 @@
  * PostGIS - Spatial Types for PostgreSQL
  * http://postgis.refractions.net
  *
- * This is free software; you can redistribute and/or modify it under
- * the terms of the GNU General Public Licence. See the COPYING file.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  **********************************************************************/
 
diff --git a/raster/test/regress/Makefile.in b/raster/test/regress/Makefile.in
index 8161dbb..b233678 100644
--- a/raster/test/regress/Makefile.in
+++ b/raster/test/regress/Makefile.in
@@ -6,8 +6,19 @@
 # Copyright (c) 2011-2013 Regents of the University of California
 #   <bkpark at ucdavis.edu>
 #
-# This is free software; you can redistribute and/or modify it under
-# the terms of the GNU General Public Licence. See the COPYING file.
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 #
 #############################################################################
 
@@ -68,6 +79,9 @@ TEST_PROPS = \
 TEST_BANDPROPS = \
 	rt_band_properties \
 	rt_set_band_properties \
+	rt_pixelaspolygons \
+	rt_pixelaspoints \
+	rt_pixelascentroids \
 	rt_setvalues_array \
 	rt_summarystats \
 	rt_count \
@@ -80,9 +94,6 @@ TEST_BANDPROPS = \
 	rt_neighborhood \
 	rt_nearestvalue \
 	rt_pixelofvalue \
-	rt_pixelaspolygons \
-	rt_pixelaspoints \
-	rt_pixelascentroids \
 	rt_polygon
 
 TEST_UTILITY = \
diff --git a/raster/test/regress/box3d.sql b/raster/test/regress/box3d.sql
index 3b24f68..e27fd42 100644
--- a/raster/test/regress/box3d.sql
+++ b/raster/test/regress/box3d.sql
@@ -3,8 +3,19 @@
 --
 -- Copyright (c) 2009 Sandro Santilli <strk at keybit.net>, David Zwarg <dzwarg at azavea.com>
 --
--- This is free software; you can redistribute and/or modify it under
--- the terms of the GNU General Public Licence. See the COPYING file.
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software Foundation,
+-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 -----------------------------------------------------------------------
 
 CREATE TABLE rt_box3d_test (
diff --git a/raster/test/regress/bug_test_car5.sql b/raster/test/regress/bug_test_car5.sql
index c02514e..53ca14e 100644
--- a/raster/test/regress/bug_test_car5.sql
+++ b/raster/test/regress/bug_test_car5.sql
@@ -2,8 +2,19 @@
 --
 -- Copyright (c) 2009 Mateusz Loskot <mateusz at loskot.net>
 --
--- This is free software; you can redistribute and/or modify it under
--- the terms of the GNU General Public Licence. See the COPYING file.
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software Foundation,
+-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 -----------------------------------------------------------------------
 --
 -- Test case for mysterious band truncation revealed recently
diff --git a/raster/test/regress/check_raster_columns.sql b/raster/test/regress/check_raster_columns.sql
index 2222ed7..40d4377 100644
--- a/raster/test/regress/check_raster_columns.sql
+++ b/raster/test/regress/check_raster_columns.sql
@@ -5,8 +5,19 @@
 -- Copyright (C) 2011 Regents of the University of California
 --   <bkpark at ucdavis.edu>
 --
--- This is free software; you can redistribute and/or modify it under
--- the terms of the GNU General Public Licence. See the COPYING file.
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software Foundation,
+-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 -----------------------------------------------------------------------
 
 SET client_min_messages TO warning;
diff --git a/raster/test/regress/check_raster_overviews.sql b/raster/test/regress/check_raster_overviews.sql
index e32b24d..1dfd726 100644
--- a/raster/test/regress/check_raster_overviews.sql
+++ b/raster/test/regress/check_raster_overviews.sql
@@ -5,8 +5,19 @@
 -- Copyright (C) 2011 Regents of the University of California
 --   <bkpark at ucdavis.edu>
 --
--- This is free software; you can redistribute and/or modify it under
--- the terms of the GNU General Public Licence. See the COPYING file.
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software Foundation,
+-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 -----------------------------------------------------------------------
 
 SET client_min_messages TO warning;
diff --git a/raster/test/regress/rt_addband.sql b/raster/test/regress/rt_addband.sql
index b932ef4..393f9f3 100644
--- a/raster/test/regress/rt_addband.sql
+++ b/raster/test/regress/rt_addband.sql
@@ -3,8 +3,19 @@
 --
 -- Copyright (c) 2010 Pierre Racine <pierre.racine at sbf.ulaval.ca>
 --
--- This is free software; you can redistribute and/or modify it under
--- the terms of the GNU General Public Licence. See the COPYING file.
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software Foundation,
+-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 -----------------------------------------------------------------------
 
 -----------------------------------------------------------------------
diff --git a/raster/test/regress/rt_band_properties.sql b/raster/test/regress/rt_band_properties.sql
index 80bbe22..5fbeb48 100644
--- a/raster/test/regress/rt_band_properties.sql
+++ b/raster/test/regress/rt_band_properties.sql
@@ -3,8 +3,19 @@
 --
 -- Copyright (c) 2010 David Zwarg <dzwarg at azavea.com>, Pierre Racine <pierre.racine at sbf.ulaval.ca>
 --
--- This is free software; you can redistribute and/or modify it under
--- the terms of the GNU General Public Licence. See the COPYING file.
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software Foundation,
+-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 -----------------------------------------------------------------------
 
 -----------------------------------------------------------------------
diff --git a/raster/test/regress/rt_bytea.sql b/raster/test/regress/rt_bytea.sql
index f74c2f9..3493ba8 100644
--- a/raster/test/regress/rt_bytea.sql
+++ b/raster/test/regress/rt_bytea.sql
@@ -3,8 +3,19 @@
 --
 -- Copyright (c) 2009 Mateusz Loskot <mateusz at loskot.net>
 --
--- This is free software; you can redistribute and/or modify it under
--- the terms of the GNU General Public Licence. See the COPYING file.
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software Foundation,
+-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 -----------------------------------------------------------------------
 
 CREATE TABLE rt_bytea_test (
diff --git a/raster/test/regress/rt_clip_expected b/raster/test/regress/rt_clip_expected
index 9d71b68..a6deb45 100644
--- a/raster/test/regress/rt_clip_expected
+++ b/raster/test/regress/rt_clip_expected
@@ -38,64 +38,11 @@
 4|2|3|1.000|-1.000|2|2|1.000|-1.000|0.000|0.000|0|3|8BUI|255.000
 4|2|4|1.000|0.000|3|4|1.000|-1.000|0.000|0.000|0|3|8BUI|255.000
 4|2|5|0.000|0.000|4|4|1.000|-1.000|0.000|0.000|0|3|8BUI|255.000
-1|1|1|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-1|1|1|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-1|1|1|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-1|1|1|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-1|1|1|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
-1|1|1|2|2||POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-1|1|1|2|3||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-1|1|1|2|4||POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
-1|1|1|3|1||POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-1|1|1|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-1|1|1|3|3||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-1|1|1|3|4||POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
-1|1|1|4|1||POLYGON((3 0,4 0,4 -1,3 -1,3 0))
-1|1|1|4|2||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-1|1|1|4|3||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
-1|1|1|4|4||POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-1|1|2|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-1|1|2|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-1|1|2|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-1|1|2|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-1|1|2|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
-1|1|2|2|2||POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-1|1|2|2|3||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-1|1|2|2|4||POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
-1|1|2|3|1||POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-1|1|2|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-1|1|2|3|3||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-1|1|2|3|4||POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
-1|1|2|4|1||POLYGON((3 0,4 0,4 -1,3 -1,3 0))
-1|1|2|4|2||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-1|1|2|4|3||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
-1|1|2|4|4||POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-1|1|3|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-1|1|3|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-1|1|3|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-1|1|3|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-1|1|3|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
 1|1|3|2|2|1|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-1|1|3|2|3||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-1|1|3|2|4||POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
-1|1|3|3|1||POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-1|1|3|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-1|1|3|3|3||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-1|1|3|3|4||POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
-1|1|3|4|1||POLYGON((3 0,4 0,4 -1,3 -1,3 0))
-1|1|3|4|2||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-1|1|3|4|3||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
-1|1|3|4|4||POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-1|1|4|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-1|1|4|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-1|1|4|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-1|1|4|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-1|1|4|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
 1|1|4|2|2|1|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
 1|1|4|2|3|1|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 1|1|4|2|4|1|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 1|1|4|3|1|1|POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-1|1|4|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 1|1|4|3|3|1|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 1|1|4|3|4|1|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
 1|1|4|4|1|1|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
@@ -111,27 +58,17 @@
 1|1|5|2|3|1|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 1|1|5|2|4|1|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 1|1|5|3|1|1|POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-1|1|5|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 1|1|5|3|3|1|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 1|1|5|3|4|1|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
 1|1|5|4|1|1|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
 1|1|5|4|2|1|POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
 1|1|5|4|3|1|POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
 1|1|5|4|4|1|POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-2|1|2|1|1||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-2|1|2|1|2||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-2|1|2|2|1||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-2|1|2|2|2||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
 2|1|3|1|1|1|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-2|1|3|1|2||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-2|1|3|2|1||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-2|1|3|2|2||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-2|1|4|1|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
 2|1|4|1|2|1|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
 2|1|4|1|3|1|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 2|1|4|1|4|1|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 2|1|4|2|1|1|POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-2|1|4|2|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 2|1|4|2|3|1|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 2|1|4|2|4|1|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
 2|1|4|3|1|1|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
@@ -147,71 +84,17 @@
 2|1|5|2|3|1|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 2|1|5|2|4|1|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 2|1|5|3|1|1|POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-2|1|5|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 2|1|5|3|3|1|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 2|1|5|3|4|1|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
 2|1|5|4|1|1|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
 2|1|5|4|2|1|POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
 2|1|5|4|3|1|POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
 2|1|5|4|4|1|POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-3|1|1|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-3|1|1|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-3|1|1|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-3|1|1|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-3|1|1|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
-3|1|1|2|2||POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-3|1|1|2|3||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-3|1|1|2|4||POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
-3|1|1|3|1||POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-3|1|1|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-3|1|1|3|3||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-3|1|1|3|4||POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
-3|1|1|4|1||POLYGON((3 0,4 0,4 -1,3 -1,3 0))
-3|1|1|4|2||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-3|1|1|4|3||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
-3|1|1|4|4||POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-3|1|2|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-3|1|2|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-3|1|2|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-3|1|2|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-3|1|2|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
-3|1|2|2|2||POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-3|1|2|2|3||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-3|1|2|2|4||POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
-3|1|2|3|1||POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-3|1|2|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-3|1|2|3|3||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-3|1|2|3|4||POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
-3|1|2|4|1||POLYGON((3 0,4 0,4 -1,3 -1,3 0))
-3|1|2|4|2||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-3|1|2|4|3||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
-3|1|2|4|4||POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-3|1|3|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-3|1|3|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-3|1|3|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-3|1|3|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-3|1|3|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
 3|1|3|2|2|1|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-3|1|3|2|3||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-3|1|3|2|4||POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
-3|1|3|3|1||POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-3|1|3|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-3|1|3|3|3||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-3|1|3|3|4||POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
-3|1|3|4|1||POLYGON((3 0,4 0,4 -1,3 -1,3 0))
-3|1|3|4|2||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-3|1|3|4|3||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
-3|1|3|4|4||POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-3|1|4|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-3|1|4|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-3|1|4|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-3|1|4|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-3|1|4|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
 3|1|4|2|2|1|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
 3|1|4|2|3|1|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 3|1|4|2|4|1|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 3|1|4|3|1|1|POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-3|1|4|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 3|1|4|3|3|1|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 3|1|4|3|4|1|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
 3|1|4|4|1|1|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
@@ -227,27 +110,17 @@
 3|1|5|2|3|1|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 3|1|5|2|4|1|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 3|1|5|3|1|1|POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-3|1|5|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 3|1|5|3|3|1|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 3|1|5|3|4|1|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
 3|1|5|4|1|1|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
 3|1|5|4|2|1|POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
 3|1|5|4|3|1|POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
 3|1|5|4|4|1|POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-4|1|2|1|1||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-4|1|2|1|2||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-4|1|2|2|1||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-4|1|2|2|2||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
 4|1|3|1|1|1|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-4|1|3|1|2||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-4|1|3|2|1||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-4|1|3|2|2||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-4|1|4|1|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
 4|1|4|1|2|1|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
 4|1|4|1|3|1|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 4|1|4|1|4|1|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 4|1|4|2|1|1|POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-4|1|4|2|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 4|1|4|2|3|1|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 4|1|4|2|4|1|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
 4|1|4|3|1|1|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
@@ -263,45 +136,12 @@
 4|1|5|2|3|1|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 4|1|5|2|4|1|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 4|1|5|3|1|1|POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-4|1|5|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 4|1|5|3|3|1|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 4|1|5|3|4|1|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
 4|1|5|4|1|1|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
 4|1|5|4|2|1|POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
 4|1|5|4|3|1|POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
 4|1|5|4|4|1|POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-1|2|1|1|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-1|2|1|1|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-1|2|1|1|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-1|2|1|1|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-1|2|1|1|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
-1|2|1|1|2|2||POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-1|2|1|1|2|3||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-1|2|1|1|2|4||POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
-1|2|1|1|3|1||POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-1|2|1|1|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-1|2|1|1|3|3||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-1|2|1|1|3|4||POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
-1|2|1|1|4|1||POLYGON((3 0,4 0,4 -1,3 -1,3 0))
-1|2|1|1|4|2||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-1|2|1|1|4|3||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
-1|2|1|1|4|4||POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-1|2|1|2|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-1|2|1|2|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-1|2|1|2|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-1|2|1|2|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-1|2|1|2|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
-1|2|1|2|2|2||POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-1|2|1|2|2|3||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-1|2|1|2|2|4||POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
-1|2|1|2|3|1||POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-1|2|1|2|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-1|2|1|2|3|3||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-1|2|1|2|3|4||POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
-1|2|1|2|4|1||POLYGON((3 0,4 0,4 -1,3 -1,3 0))
-1|2|1|2|4|2||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-1|2|1|2|4|3||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
-1|2|1|2|4|4||POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
 1|2|1|3|1|1|0|POLYGON((0 0,1 0,1 -1,0 -1,0 0))
 1|2|1|3|1|2|0|POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
 1|2|1|3|1|3|0|POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
@@ -318,38 +158,6 @@
 1|2|1|3|4|2|0|POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
 1|2|1|3|4|3|0|POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
 1|2|1|3|4|4|0|POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-1|2|2|1|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-1|2|2|1|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-1|2|2|1|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-1|2|2|1|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-1|2|2|1|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
-1|2|2|1|2|2||POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-1|2|2|1|2|3||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-1|2|2|1|2|4||POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
-1|2|2|1|3|1||POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-1|2|2|1|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-1|2|2|1|3|3||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-1|2|2|1|3|4||POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
-1|2|2|1|4|1||POLYGON((3 0,4 0,4 -1,3 -1,3 0))
-1|2|2|1|4|2||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-1|2|2|1|4|3||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
-1|2|2|1|4|4||POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-1|2|2|2|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-1|2|2|2|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-1|2|2|2|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-1|2|2|2|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-1|2|2|2|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
-1|2|2|2|2|2||POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-1|2|2|2|2|3||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-1|2|2|2|2|4||POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
-1|2|2|2|3|1||POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-1|2|2|2|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-1|2|2|2|3|3||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-1|2|2|2|3|4||POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
-1|2|2|2|4|1||POLYGON((3 0,4 0,4 -1,3 -1,3 0))
-1|2|2|2|4|2||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-1|2|2|2|4|3||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
-1|2|2|2|4|4||POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
 1|2|2|3|1|1|0|POLYGON((0 0,1 0,1 -1,0 -1,0 0))
 1|2|2|3|1|2|0|POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
 1|2|2|3|1|3|0|POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
@@ -366,38 +174,8 @@
 1|2|2|3|4|2|0|POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
 1|2|2|3|4|3|0|POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
 1|2|2|3|4|4|0|POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-1|2|3|1|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-1|2|3|1|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-1|2|3|1|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-1|2|3|1|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-1|2|3|1|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
 1|2|3|1|2|2|10|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-1|2|3|1|2|3||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-1|2|3|1|2|4||POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
-1|2|3|1|3|1||POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-1|2|3|1|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-1|2|3|1|3|3||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-1|2|3|1|3|4||POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
-1|2|3|1|4|1||POLYGON((3 0,4 0,4 -1,3 -1,3 0))
-1|2|3|1|4|2||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-1|2|3|1|4|3||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
-1|2|3|1|4|4||POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-1|2|3|2|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-1|2|3|2|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-1|2|3|2|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-1|2|3|2|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-1|2|3|2|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
 1|2|3|2|2|2|2|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-1|2|3|2|2|3||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-1|2|3|2|2|4||POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
-1|2|3|2|3|1||POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-1|2|3|2|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-1|2|3|2|3|3||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-1|2|3|2|3|4||POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
-1|2|3|2|4|1||POLYGON((3 0,4 0,4 -1,3 -1,3 0))
-1|2|3|2|4|2||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-1|2|3|2|4|3||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
-1|2|3|2|4|4||POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
 1|2|3|3|1|1|0|POLYGON((0 0,1 0,1 -1,0 -1,0 0))
 1|2|3|3|1|2|0|POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
 1|2|3|3|1|3|0|POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
@@ -414,32 +192,20 @@
 1|2|3|3|4|2|0|POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
 1|2|3|3|4|3|0|POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
 1|2|3|3|4|4|0|POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-1|2|4|1|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-1|2|4|1|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-1|2|4|1|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-1|2|4|1|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-1|2|4|1|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
 1|2|4|1|2|2|10|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
 1|2|4|1|2|3|10|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 1|2|4|1|2|4|10|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 1|2|4|1|3|1|10|POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-1|2|4|1|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 1|2|4|1|3|3|10|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 1|2|4|1|3|4|10|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
 1|2|4|1|4|1|10|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
 1|2|4|1|4|2|10|POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
 1|2|4|1|4|3|10|POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
 1|2|4|1|4|4|10|POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-1|2|4|2|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-1|2|4|2|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-1|2|4|2|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-1|2|4|2|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-1|2|4|2|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
 1|2|4|2|2|2|2|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
 1|2|4|2|2|3|2|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 1|2|4|2|2|4|2|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 1|2|4|2|3|1|2|POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-1|2|4|2|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 1|2|4|2|3|3|2|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 1|2|4|2|3|4|2|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
 1|2|4|2|4|1|2|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
@@ -471,7 +237,6 @@
 1|2|5|1|2|3|10|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 1|2|5|1|2|4|10|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 1|2|5|1|3|1|10|POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-1|2|5|1|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 1|2|5|1|3|3|10|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 1|2|5|1|3|4|10|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
 1|2|5|1|4|1|10|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
@@ -487,7 +252,6 @@
 1|2|5|2|2|3|2|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 1|2|5|2|2|4|2|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 1|2|5|2|3|1|2|POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-1|2|5|2|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 1|2|5|2|3|3|2|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 1|2|5|2|3|4|2|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
 1|2|5|2|4|1|2|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
@@ -510,48 +274,30 @@
 1|2|5|3|4|2|3|POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
 1|2|5|3|4|3|3|POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
 1|2|5|3|4|4|3|POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-2|2|2|1|1|1||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-2|2|2|1|1|2||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-2|2|2|1|2|1||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-2|2|2|1|2|2||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
-2|2|2|2|1|1||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-2|2|2|2|1|2||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-2|2|2|2|2|1||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-2|2|2|2|2|2||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
 2|2|2|3|1|1|3|POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 2|2|2|3|1|2|0|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 2|2|2|3|2|1|0|POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
 2|2|2|3|2|2|0|POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
 2|2|3|1|1|1|10|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-2|2|3|1|1|2||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-2|2|3|1|2|1||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-2|2|3|1|2|2||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 2|2|3|2|1|1|2|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-2|2|3|2|1|2||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-2|2|3|2|2|1||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-2|2|3|2|2|2||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 2|2|3|3|1|1|3|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
 2|2|3|3|1|2|0|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 2|2|3|3|2|1|0|POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 2|2|3|3|2|2|0|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-2|2|4|1|1|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
 2|2|4|1|1|2|10|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
 2|2|4|1|1|3|10|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 2|2|4|1|1|4|10|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 2|2|4|1|2|1|10|POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-2|2|4|1|2|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 2|2|4|1|2|3|10|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 2|2|4|1|2|4|10|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
 2|2|4|1|3|1|10|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
 2|2|4|1|3|2|10|POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
 2|2|4|1|3|3|10|POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
 2|2|4|1|3|4|10|POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-2|2|4|2|1|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
 2|2|4|2|1|2|2|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
 2|2|4|2|1|3|2|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 2|2|4|2|1|4|2|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 2|2|4|2|2|1|2|POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-2|2|4|2|2|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 2|2|4|2|2|3|2|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 2|2|4|2|2|4|2|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
 2|2|4|2|3|1|2|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
@@ -579,7 +325,6 @@
 2|2|5|1|2|3|10|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 2|2|5|1|2|4|10|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 2|2|5|1|3|1|10|POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-2|2|5|1|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 2|2|5|1|3|3|10|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 2|2|5|1|3|4|10|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
 2|2|5|1|4|1|10|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
@@ -595,7 +340,6 @@
 2|2|5|2|2|3|2|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 2|2|5|2|2|4|2|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 2|2|5|2|3|1|2|POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-2|2|5|2|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 2|2|5|2|3|3|2|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 2|2|5|2|3|4|2|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
 2|2|5|2|4|1|2|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
@@ -618,187 +362,30 @@
 2|2|5|3|4|2|3|POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
 2|2|5|3|4|3|3|POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
 2|2|5|3|4|4|3|POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-3|2|1|1|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-3|2|1|1|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-3|2|1|1|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-3|2|1|1|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-3|2|1|1|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
-3|2|1|1|2|2||POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-3|2|1|1|2|3||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-3|2|1|1|2|4||POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
-3|2|1|1|3|1||POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-3|2|1|1|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-3|2|1|1|3|3||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-3|2|1|1|3|4||POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
-3|2|1|1|4|1||POLYGON((3 0,4 0,4 -1,3 -1,3 0))
-3|2|1|1|4|2||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-3|2|1|1|4|3||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
-3|2|1|1|4|4||POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-3|2|1|2|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-3|2|1|2|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-3|2|1|2|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-3|2|1|2|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-3|2|1|2|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
-3|2|1|2|2|2||POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-3|2|1|2|2|3||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-3|2|1|2|2|4||POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
-3|2|1|2|3|1||POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-3|2|1|2|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-3|2|1|2|3|3||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-3|2|1|2|3|4||POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
-3|2|1|2|4|1||POLYGON((3 0,4 0,4 -1,3 -1,3 0))
-3|2|1|2|4|2||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-3|2|1|2|4|3||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
-3|2|1|2|4|4||POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-3|2|1|3|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-3|2|1|3|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-3|2|1|3|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-3|2|1|3|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-3|2|1|3|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
-3|2|1|3|2|2||POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-3|2|1|3|2|3||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-3|2|1|3|2|4||POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
-3|2|1|3|3|1||POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-3|2|1|3|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-3|2|1|3|3|3||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-3|2|1|3|3|4||POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
-3|2|1|3|4|1||POLYGON((3 0,4 0,4 -1,3 -1,3 0))
-3|2|1|3|4|2||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-3|2|1|3|4|3||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
-3|2|1|3|4|4||POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-3|2|2|1|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-3|2|2|1|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-3|2|2|1|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-3|2|2|1|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-3|2|2|1|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
-3|2|2|1|2|2||POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-3|2|2|1|2|3||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-3|2|2|1|2|4||POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
-3|2|2|1|3|1||POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-3|2|2|1|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-3|2|2|1|3|3||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-3|2|2|1|3|4||POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
-3|2|2|1|4|1||POLYGON((3 0,4 0,4 -1,3 -1,3 0))
-3|2|2|1|4|2||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-3|2|2|1|4|3||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
-3|2|2|1|4|4||POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-3|2|2|2|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-3|2|2|2|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-3|2|2|2|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-3|2|2|2|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-3|2|2|2|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
-3|2|2|2|2|2||POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-3|2|2|2|2|3||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-3|2|2|2|2|4||POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
-3|2|2|2|3|1||POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-3|2|2|2|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-3|2|2|2|3|3||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-3|2|2|2|3|4||POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
-3|2|2|2|4|1||POLYGON((3 0,4 0,4 -1,3 -1,3 0))
-3|2|2|2|4|2||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-3|2|2|2|4|3||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
-3|2|2|2|4|4||POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-3|2|2|3|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-3|2|2|3|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-3|2|2|3|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-3|2|2|3|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-3|2|2|3|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
-3|2|2|3|2|2||POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-3|2|2|3|2|3||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-3|2|2|3|2|4||POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
-3|2|2|3|3|1||POLYGON((2 0,3 0,3 -1,2 -1,2 0))
 3|2|2|3|3|2|3|POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-3|2|2|3|3|3||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-3|2|2|3|3|4||POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
-3|2|2|3|4|1||POLYGON((3 0,4 0,4 -1,3 -1,3 0))
-3|2|2|3|4|2||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-3|2|2|3|4|3||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
-3|2|2|3|4|4||POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-3|2|3|1|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-3|2|3|1|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-3|2|3|1|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-3|2|3|1|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-3|2|3|1|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
 3|2|3|1|2|2|10|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-3|2|3|1|2|3||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-3|2|3|1|2|4||POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
-3|2|3|1|3|1||POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-3|2|3|1|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-3|2|3|1|3|3||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-3|2|3|1|3|4||POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
-3|2|3|1|4|1||POLYGON((3 0,4 0,4 -1,3 -1,3 0))
-3|2|3|1|4|2||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-3|2|3|1|4|3||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
-3|2|3|1|4|4||POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-3|2|3|2|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-3|2|3|2|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-3|2|3|2|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-3|2|3|2|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-3|2|3|2|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
 3|2|3|2|2|2|2|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-3|2|3|2|2|3||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-3|2|3|2|2|4||POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
-3|2|3|2|3|1||POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-3|2|3|2|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-3|2|3|2|3|3||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-3|2|3|2|3|4||POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
-3|2|3|2|4|1||POLYGON((3 0,4 0,4 -1,3 -1,3 0))
-3|2|3|2|4|2||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-3|2|3|2|4|3||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
-3|2|3|2|4|4||POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-3|2|3|3|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-3|2|3|3|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-3|2|3|3|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-3|2|3|3|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-3|2|3|3|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
 3|2|3|3|2|2|3|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-3|2|3|3|2|3||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-3|2|3|3|2|4||POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
-3|2|3|3|3|1||POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-3|2|3|3|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-3|2|3|3|3|3||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-3|2|3|3|3|4||POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
-3|2|3|3|4|1||POLYGON((3 0,4 0,4 -1,3 -1,3 0))
-3|2|3|3|4|2||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-3|2|3|3|4|3||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
-3|2|3|3|4|4||POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-3|2|4|1|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-3|2|4|1|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-3|2|4|1|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-3|2|4|1|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-3|2|4|1|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
 3|2|4|1|2|2|10|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
 3|2|4|1|2|3|10|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 3|2|4|1|2|4|10|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 3|2|4|1|3|1|10|POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-3|2|4|1|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 3|2|4|1|3|3|10|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 3|2|4|1|3|4|10|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
 3|2|4|1|4|1|10|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
 3|2|4|1|4|2|10|POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
 3|2|4|1|4|3|10|POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
 3|2|4|1|4|4|10|POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-3|2|4|2|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-3|2|4|2|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-3|2|4|2|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-3|2|4|2|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-3|2|4|2|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
 3|2|4|2|2|2|2|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
 3|2|4|2|2|3|2|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 3|2|4|2|2|4|2|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 3|2|4|2|3|1|2|POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-3|2|4|2|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 3|2|4|2|3|3|2|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 3|2|4|2|3|4|2|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
 3|2|4|2|4|1|2|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
 3|2|4|2|4|2|2|POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
 3|2|4|2|4|3|2|POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
 3|2|4|2|4|4|2|POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-3|2|4|3|1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
-3|2|4|3|1|2||POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-3|2|4|3|1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
-3|2|4|3|1|4||POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-3|2|4|3|2|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
 3|2|4|3|2|2|3|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
 3|2|4|3|2|3|3|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 3|2|4|3|2|4|3|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
@@ -819,7 +406,6 @@
 3|2|5|1|2|3|10|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 3|2|5|1|2|4|10|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 3|2|5|1|3|1|10|POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-3|2|5|1|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 3|2|5|1|3|3|10|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 3|2|5|1|3|4|10|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
 3|2|5|1|4|1|10|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
@@ -835,7 +421,6 @@
 3|2|5|2|2|3|2|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 3|2|5|2|2|4|2|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 3|2|5|2|3|1|2|POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-3|2|5|2|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 3|2|5|2|3|3|2|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 3|2|5|2|3|4|2|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
 3|2|5|2|4|1|2|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
@@ -858,55 +443,30 @@
 3|2|5|3|4|2|3|POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
 3|2|5|3|4|3|3|POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
 3|2|5|3|4|4|3|POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-4|2|2|1|1|1||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-4|2|2|1|1|2||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-4|2|2|1|2|1||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-4|2|2|1|2|2||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
-4|2|2|2|1|1||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-4|2|2|2|1|2||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-4|2|2|2|2|1||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-4|2|2|2|2|2||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
 4|2|2|3|1|1|3|POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-4|2|2|3|1|2||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-4|2|2|3|2|1||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
-4|2|2|3|2|2||POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
 4|2|3|1|1|1|10|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-4|2|3|1|1|2||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-4|2|3|1|2|1||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-4|2|3|1|2|2||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 4|2|3|2|1|1|2|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-4|2|3|2|1|2||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-4|2|3|2|2|1||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-4|2|3|2|2|2||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 4|2|3|3|1|1|3|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
-4|2|3|3|1|2||POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-4|2|3|3|2|1||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-4|2|3|3|2|2||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
-4|2|4|1|1|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
 4|2|4|1|1|2|10|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
 4|2|4|1|1|3|10|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 4|2|4|1|1|4|10|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 4|2|4|1|2|1|10|POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-4|2|4|1|2|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 4|2|4|1|2|3|10|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 4|2|4|1|2|4|10|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
 4|2|4|1|3|1|10|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
 4|2|4|1|3|2|10|POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
 4|2|4|1|3|3|10|POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
 4|2|4|1|3|4|10|POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-4|2|4|2|1|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
 4|2|4|2|1|2|2|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
 4|2|4|2|1|3|2|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 4|2|4|2|1|4|2|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 4|2|4|2|2|1|2|POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-4|2|4|2|2|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 4|2|4|2|2|3|2|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 4|2|4|2|2|4|2|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
 4|2|4|2|3|1|2|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
 4|2|4|2|3|2|2|POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
 4|2|4|2|3|3|2|POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
 4|2|4|2|3|4|2|POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
-4|2|4|3|1|1||POLYGON((1 0,2 0,2 -1,1 -1,1 0))
 4|2|4|3|1|2|3|POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
 4|2|4|3|1|3|3|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 4|2|4|3|1|4|3|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
@@ -927,7 +487,6 @@
 4|2|5|1|2|3|10|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 4|2|5|1|2|4|10|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 4|2|5|1|3|1|10|POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-4|2|5|1|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 4|2|5|1|3|3|10|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 4|2|5|1|3|4|10|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
 4|2|5|1|4|1|10|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
@@ -943,7 +502,6 @@
 4|2|5|2|2|3|2|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
 4|2|5|2|2|4|2|POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 4|2|5|2|3|1|2|POLYGON((2 0,3 0,3 -1,2 -1,2 0))
-4|2|5|2|3|2||POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
 4|2|5|2|3|3|2|POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 4|2|5|2|3|4|2|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
 4|2|5|2|4|1|2|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
diff --git a/raster/test/regress/rt_dimensions.sql b/raster/test/regress/rt_dimensions.sql
index 878b72a..3e353d5 100644
--- a/raster/test/regress/rt_dimensions.sql
+++ b/raster/test/regress/rt_dimensions.sql
@@ -3,8 +3,19 @@
 --
 -- Copyright (c) 2009 Mateusz Loskot <mateusz at loskot.net>
 --
--- This is free software; you can redistribute and/or modify it under
--- the terms of the GNU General Public Licence. See the COPYING file.
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software Foundation,
+-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 -----------------------------------------------------------------------
 
 CREATE TABLE rt_properties_test (
diff --git a/raster/test/regress/rt_dumpvalues.sql b/raster/test/regress/rt_dumpvalues.sql
index a754f8e..a305bd8 100644
--- a/raster/test/regress/rt_dumpvalues.sql
+++ b/raster/test/regress/rt_dumpvalues.sql
@@ -97,3 +97,7 @@ WHERE rid > 20
 ORDER BY rid;
 
 DROP TABLE IF EXISTS raster_dumpvalues;
+
+
+-- ticket #2493
+SELECT (ST_DumpValues(ST_AddBand(ST_MakeEmptyRaster(0, 0, 0, 0, 1), ARRAY[ROW(NULL, '8BUI', 255, 0),ROW(NULL, '16BUI', 1, 2)]::addbandarg[]))).*
diff --git a/raster/test/regress/rt_dumpvalues_expected b/raster/test/regress/rt_dumpvalues_expected
index b31b5be..5a4b4e0 100644
--- a/raster/test/regress/rt_dumpvalues_expected
+++ b/raster/test/regress/rt_dumpvalues_expected
@@ -43,3 +43,5 @@
 25|3|{{7,8,9},{10,11,12},{13,14,NULL}}
 25|2|{{2,3,4},{NULL,6,7},{8,9,10}}
 25|1|{{2,3,4},{5,6,7},{8,9,10}}
+1|{}
+2|{}
diff --git a/raster/test/regress/rt_elevation_functions_expected b/raster/test/regress/rt_elevation_functions_expected
index aae5158..0d367d5 100644
--- a/raster/test/regress/rt_elevation_functions_expected
+++ b/raster/test/regress/rt_elevation_functions_expected
@@ -161,16 +161,6 @@ DO
 9|aspect|1|3|180.000000
 9|aspect|2|3|161.565048
 9|aspect|3|3|135.000000
-0|hillshade|1|1|
-0|hillshade|2|1|
-0|hillshade|3|1|
-0|hillshade|4|1|
-0|hillshade|5|1|
-0|hillshade|6|1|
-0|hillshade|7|1|
-0|hillshade|8|1|
-0|hillshade|9|1|
-0|hillshade|1|2|
 0|hillshade|2|2|251.327637
 0|hillshade|3|2|220.749786
 0|hillshade|4|2|171.473175
@@ -178,8 +168,6 @@ DO
 0|hillshade|6|2|248.749847
 0|hillshade|7|2|220.749786
 0|hillshade|8|2|147.224319
-0|hillshade|9|2|
-0|hillshade|1|3|
 0|hillshade|2|3|220.749786
 0|hillshade|3|3|180.312225
 0|hillshade|4|3|104.256424
@@ -187,8 +175,6 @@ DO
 0|hillshade|6|3|218.295898
 0|hillshade|7|3|180.312225
 0|hillshade|8|3|67.749786
-0|hillshade|9|3|
-0|hillshade|1|4|
 0|hillshade|2|4|171.473175
 0|hillshade|3|4|104.256424
 0|hillshade|4|4|109.895920
@@ -196,8 +182,6 @@ DO
 0|hillshade|6|4|170.000000
 0|hillshade|7|4|104.256424
 0|hillshade|8|4|42.678726
-0|hillshade|9|4|
-0|hillshade|1|5|
 0|hillshade|2|5|218.295898
 0|hillshade|3|5|180.312225
 0|hillshade|4|5|180.312225
@@ -205,8 +189,6 @@ DO
 0|hillshade|6|5|180.312225
 0|hillshade|7|5|180.312225
 0|hillshade|8|5|104.256424
-0|hillshade|9|5|
-0|hillshade|1|6|
 0|hillshade|2|6|248.749847
 0|hillshade|3|6|218.295898
 0|hillshade|4|6|170.000000
@@ -214,8 +196,6 @@ DO
 0|hillshade|6|6|230.104080
 0|hillshade|7|6|218.295898
 0|hillshade|8|6|119.955399
-0|hillshade|9|6|
-0|hillshade|1|7|
 0|hillshade|2|7|220.749786
 0|hillshade|3|7|180.312225
 0|hillshade|4|7|104.256424
@@ -223,8 +203,6 @@ DO
 0|hillshade|6|7|218.295898
 0|hillshade|7|7|180.312225
 0|hillshade|8|7|67.749786
-0|hillshade|9|7|
-0|hillshade|1|8|
 0|hillshade|2|8|147.224319
 0|hillshade|3|8|67.749786
 0|hillshade|4|8|42.678726
@@ -232,46 +210,20 @@ DO
 0|hillshade|6|8|119.955399
 0|hillshade|7|8|67.749786
 0|hillshade|8|8|43.121006
-0|hillshade|9|8|
-0|hillshade|1|9|
-0|hillshade|2|9|
-0|hillshade|3|9|
-0|hillshade|4|9|
-0|hillshade|5|9|
-0|hillshade|6|9|
-0|hillshade|7|9|
-0|hillshade|8|9|
-0|hillshade|9|9|
-1|hillshade|1|1|
-1|hillshade|2|1|
-1|hillshade|3|1|
-1|hillshade|1|2|
 1|hillshade|2|2|251.327637
 1|hillshade|3|2|220.749786
-1|hillshade|1|3|
 1|hillshade|2|3|220.749786
 1|hillshade|3|3|180.312225
-2|hillshade|1|1|
 2|hillshade|2|1|171.473175
 2|hillshade|3|1|104.256424
-2|hillshade|1|2|
 2|hillshade|2|2|218.295898
 2|hillshade|3|2|180.312225
-2|hillshade|1|3|
 2|hillshade|2|3|248.749847
 2|hillshade|3|3|218.295898
-3|hillshade|1|1|
 3|hillshade|2|1|220.749786
 3|hillshade|3|1|180.312225
-3|hillshade|1|2|
 3|hillshade|2|2|147.224319
 3|hillshade|3|2|67.749786
-3|hillshade|1|3|
-3|hillshade|2|3|
-3|hillshade|3|3|
-4|hillshade|1|1|
-4|hillshade|2|1|
-4|hillshade|3|1|
 4|hillshade|1|2|171.473175
 4|hillshade|2|2|218.295898
 4|hillshade|3|2|248.749847
@@ -293,36 +245,20 @@ DO
 6|hillshade|1|2|42.678726
 6|hillshade|2|2|104.256424
 6|hillshade|3|2|119.955399
-6|hillshade|1|3|
-6|hillshade|2|3|
-6|hillshade|3|3|
-7|hillshade|1|1|
-7|hillshade|2|1|
-7|hillshade|3|1|
 7|hillshade|1|2|220.749786
 7|hillshade|2|2|147.224319
-7|hillshade|3|2|
 7|hillshade|1|3|180.312225
 7|hillshade|2|3|67.749786
-7|hillshade|3|3|
 8|hillshade|1|1|104.256424
 8|hillshade|2|1|42.678726
-8|hillshade|3|1|
 8|hillshade|1|2|180.312225
 8|hillshade|2|2|104.256424
-8|hillshade|3|2|
 8|hillshade|1|3|218.295898
 8|hillshade|2|3|119.955399
-8|hillshade|3|3|
 9|hillshade|1|1|180.312225
 9|hillshade|2|1|67.749786
-9|hillshade|3|1|
 9|hillshade|1|2|67.749786
 9|hillshade|2|2|43.121006
-9|hillshade|3|2|
-9|hillshade|1|3|
-9|hillshade|2|3|
-9|hillshade|3|3|
 0|slope|1|1|10.024988
 0|slope|2|1|21.568129
 0|slope|3|1|26.565052
diff --git a/raster/test/regress/rt_georeference.sql b/raster/test/regress/rt_georeference.sql
index ff9edb4..da66c47 100644
--- a/raster/test/regress/rt_georeference.sql
+++ b/raster/test/regress/rt_georeference.sql
@@ -3,8 +3,19 @@
 --
 -- Copyright (c) 2009-2010 Mateusz Loskot <mateusz at loskot.net>, David Zwarg <dzwarg at azavea.com>
 --
--- This is free software; you can redistribute and/or modify it under
--- the terms of the GNU General Public Licence. See the COPYING file.
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software Foundation,
+-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 -----------------------------------------------------------------------
 
 CREATE TABLE rt_properties_test (
diff --git a/raster/test/regress/rt_gist_relationships.sql b/raster/test/regress/rt_gist_relationships.sql
index 979db06..1bf79f8 100644
--- a/raster/test/regress/rt_gist_relationships.sql
+++ b/raster/test/regress/rt_gist_relationships.sql
@@ -3,8 +3,19 @@
 --
 -- Copyright (c) 2009 Sandro Santilli <strk at keybit.net>
 --
--- This is free software; you can redistribute and/or modify it under
--- the terms of the GNU General Public Licence. See the COPYING file.
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software Foundation,
+-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 -----------------------------------------------------------------------
 
 CREATE TYPE tile AS (x int, y int, tile raster);
diff --git a/raster/test/regress/rt_hasnoband.sql b/raster/test/regress/rt_hasnoband.sql
index eef4d80..fc1a257 100644
--- a/raster/test/regress/rt_hasnoband.sql
+++ b/raster/test/regress/rt_hasnoband.sql
@@ -3,8 +3,19 @@
 --
 -- Copyright (c) 2011 Jorge Arevalo <jorge.arevalo at deimos-space.com>
 --
--- This is free software; you can redistribute and/or modify it under
--- the terms of the GNU General Public Licence. See the COPYING file.
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software Foundation,
+-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 -----------------------------------------------------------------------
 
 CREATE TABLE empty_raster_test (
diff --git a/raster/test/regress/rt_intersection_expected b/raster/test/regress/rt_intersection_expected
index 9507873..67161ba 100644
--- a/raster/test/regress/rt_intersection_expected
+++ b/raster/test/regress/rt_intersection_expected
@@ -35,17 +35,9 @@
 0|1|1|2|2|1|POLYGON((1 1,2 1,2 2,1 2,1 1))
 0|1|1|2|2|2|POLYGON((1 1,2 1,2 2,1 2,1 1))
 0|1|2|1|1|2|POLYGON((0 0,1 0,1 1,0 1,0 0))
-0|1|2|1|1||POLYGON((0 0,1 0,1 1,0 1,0 0))
-0|1|2|1|1||POLYGON((0 0,1 0,1 1,0 1,0 0))
 0|1|2|1|2|2|POLYGON((0 1,1 1,1 2,0 2,0 1))
-0|1|2|1|2||POLYGON((0 1,1 1,1 2,0 2,0 1))
-0|1|2|1|2||POLYGON((0 1,1 1,1 2,0 2,0 1))
 0|1|2|2|1|2|POLYGON((1 0,2 0,2 1,1 1,1 0))
-0|1|2|2|1||POLYGON((1 0,2 0,2 1,1 1,1 0))
-0|1|2|2|1||POLYGON((1 0,2 0,2 1,1 1,1 0))
 0|1|2|2|2|2|POLYGON((1 1,2 1,2 2,1 2,1 1))
-0|1|2|2|2||POLYGON((1 1,2 1,2 2,1 2,1 1))
-0|1|2|2|2||POLYGON((1 1,2 1,2 2,1 2,1 1))
 0|2|1|1|1|1|POLYGON((1 -1,2 -1,2 0,1 0,1 -1))
 0|2|1|1|1|1|POLYGON((1 -1,2 -1,2 0,1 0,1 -1))
 0|2|1|1|1|3|POLYGON((1 -1,2 -1,2 0,1 0,1 -1))
@@ -53,17 +45,11 @@
 0|2|1|1|2|1|POLYGON((1 0,2 0,2 1,1 1,1 0))
 0|2|1|1|2|3|POLYGON((1 0,2 0,2 1,1 1,1 0))
 0|2|2|1|1|3|POLYGON((1 -1,2 -1,2 0,1 0,1 -1))
-0|2|2|1|1||POLYGON((1 -1,2 -1,2 0,1 0,1 -1))
-0|2|2|1|1||POLYGON((1 -1,2 -1,2 0,1 0,1 -1))
 0|2|2|1|2|3|POLYGON((1 0,2 0,2 1,1 1,1 0))
-0|2|2|1|2||POLYGON((1 0,2 0,2 1,1 1,1 0))
-0|2|2|1|2||POLYGON((1 0,2 0,2 1,1 1,1 0))
 0|3|1|1|1|1|POLYGON((1 1,2 1,2 2,1 2,1 1))
 0|3|1|1|1|1|POLYGON((1 1,2 1,2 2,1 2,1 1))
 0|3|1|1|1|4|POLYGON((1 1,2 1,2 2,1 2,1 1))
 0|3|2|1|1|4|POLYGON((1 1,2 1,2 2,1 2,1 1))
-0|3|2|1|1||POLYGON((1 1,2 1,2 2,1 2,1 1))
-0|3|2|1|1||POLYGON((1 1,2 1,2 2,1 2,1 1))
 10|11|1|1|1|1|POLYGON((-0.9 -0.9,0.1 -0.8,0.2 0.2,-0.8 0.1,-0.9 -0.9))
 10|11|1|1|1|1|POLYGON((-0.9 -0.9,0.1 -0.8,0.2 0.2,-0.8 0.1,-0.9 -0.9))
 10|11|1|1|1|2|POLYGON((-0.9 -0.9,0.1 -0.8,0.2 0.2,-0.8 0.1,-0.9 -0.9))
@@ -92,32 +78,14 @@
 10|11|1|3|3|1|POLYGON((1.3 1.3,2.3 1.4,2.4 2.4,1.4 2.3,1.3 1.3))
 10|11|1|3|3|2|POLYGON((1.3 1.3,2.3 1.4,2.4 2.4,1.4 2.3,1.3 1.3))
 10|11|2|1|1|2|POLYGON((-0.9 -0.9,0.1 -0.8,0.2 0.2,-0.8 0.1,-0.9 -0.9))
-10|11|2|1|1||POLYGON((-0.9 -0.9,0.1 -0.8,0.2 0.2,-0.8 0.1,-0.9 -0.9))
-10|11|2|1|1||POLYGON((-0.9 -0.9,0.1 -0.8,0.2 0.2,-0.8 0.1,-0.9 -0.9))
 10|11|2|1|2|2|POLYGON((-0.8 0.1,0.2 0.2,0.3 1.2,-0.7 1.1,-0.8 0.1))
-10|11|2|1|2||POLYGON((-0.8 0.1,0.2 0.2,0.3 1.2,-0.7 1.1,-0.8 0.1))
-10|11|2|1|2||POLYGON((-0.8 0.1,0.2 0.2,0.3 1.2,-0.7 1.1,-0.8 0.1))
 10|11|2|1|3|2|POLYGON((-0.7 1.1,0.3 1.2,0.4 2.2,-0.6 2.1,-0.7 1.1))
-10|11|2|1|3||POLYGON((-0.7 1.1,0.3 1.2,0.4 2.2,-0.6 2.1,-0.7 1.1))
-10|11|2|1|3||POLYGON((-0.7 1.1,0.3 1.2,0.4 2.2,-0.6 2.1,-0.7 1.1))
 10|11|2|2|1|2|POLYGON((0.1 -0.8,1.1 -0.7,1.2 0.3,0.2 0.2,0.1 -0.8))
-10|11|2|2|1||POLYGON((0.1 -0.8,1.1 -0.7,1.2 0.3,0.2 0.2,0.1 -0.8))
-10|11|2|2|1||POLYGON((0.1 -0.8,1.1 -0.7,1.2 0.3,0.2 0.2,0.1 -0.8))
 10|11|2|2|2|2|POLYGON((0.2 0.2,1.2 0.3,1.3 1.3,0.3 1.2,0.2 0.2))
-10|11|2|2|2||POLYGON((0.2 0.2,1.2 0.3,1.3 1.3,0.3 1.2,0.2 0.2))
-10|11|2|2|2||POLYGON((0.2 0.2,1.2 0.3,1.3 1.3,0.3 1.2,0.2 0.2))
 10|11|2|2|3|2|POLYGON((0.3 1.2,1.3 1.3,1.4 2.3,0.4 2.2,0.3 1.2))
-10|11|2|2|3||POLYGON((0.3 1.2,1.3 1.3,1.4 2.3,0.4 2.2,0.3 1.2))
-10|11|2|2|3||POLYGON((0.3 1.2,1.3 1.3,1.4 2.3,0.4 2.2,0.3 1.2))
 10|11|2|3|1|2|POLYGON((1.1 -0.7,2.1 -0.6,2.2 0.4,1.2 0.3,1.1 -0.7))
-10|11|2|3|1||POLYGON((1.1 -0.7,2.1 -0.6,2.2 0.4,1.2 0.3,1.1 -0.7))
-10|11|2|3|1||POLYGON((1.1 -0.7,2.1 -0.6,2.2 0.4,1.2 0.3,1.1 -0.7))
 10|11|2|3|2|2|POLYGON((1.2 0.3,2.2 0.4,2.3 1.4,1.3 1.3,1.2 0.3))
-10|11|2|3|2||POLYGON((1.2 0.3,2.2 0.4,2.3 1.4,1.3 1.3,1.2 0.3))
-10|11|2|3|2||POLYGON((1.2 0.3,2.2 0.4,2.3 1.4,1.3 1.3,1.2 0.3))
 10|11|2|3|3|2|POLYGON((1.3 1.3,2.3 1.4,2.4 2.4,1.4 2.3,1.3 1.3))
-10|11|2|3|3||POLYGON((1.3 1.3,2.3 1.4,2.4 2.4,1.4 2.3,1.3 1.3))
-10|11|2|3|3||POLYGON((1.3 1.3,2.3 1.4,2.4 2.4,1.4 2.3,1.3 1.3))
 10|12|1|1|1|1|POLYGON((-1.9 -1,-0.9 -0.9,-0.8 0.1,-1.8 0,-1.9 -1))
 10|12|1|1|1|1|POLYGON((-1.9 -1,-0.9 -0.9,-0.8 0.1,-1.8 0,-1.9 -1))
 10|12|1|1|1|3|POLYGON((-1.9 -1,-0.9 -0.9,-0.8 0.1,-1.8 0,-1.9 -1))
@@ -131,17 +99,9 @@
 10|12|1|2|2|1|POLYGON((-0.8 0.1,0.2 0.2,0.3 1.2,-0.7 1.1,-0.8 0.1))
 10|12|1|2|2|3|POLYGON((-0.8 0.1,0.2 0.2,0.3 1.2,-0.7 1.1,-0.8 0.1))
 10|12|2|1|1|3|POLYGON((-1.9 -1,-0.9 -0.9,-0.8 0.1,-1.8 0,-1.9 -1))
-10|12|2|1|1||POLYGON((-1.9 -1,-0.9 -0.9,-0.8 0.1,-1.8 0,-1.9 -1))
-10|12|2|1|1||POLYGON((-1.9 -1,-0.9 -0.9,-0.8 0.1,-1.8 0,-1.9 -1))
 10|12|2|1|2|3|POLYGON((-1.8 0,-0.8 0.1,-0.7 1.1,-1.7 1,-1.8 0))
-10|12|2|1|2||POLYGON((-1.8 0,-0.8 0.1,-0.7 1.1,-1.7 1,-1.8 0))
-10|12|2|1|2||POLYGON((-1.8 0,-0.8 0.1,-0.7 1.1,-1.7 1,-1.8 0))
 10|12|2|2|1|3|POLYGON((-0.9 -0.9,0.1 -0.8,0.2 0.2,-0.8 0.1,-0.9 -0.9))
-10|12|2|2|1||POLYGON((-0.9 -0.9,0.1 -0.8,0.2 0.2,-0.8 0.1,-0.9 -0.9))
-10|12|2|2|1||POLYGON((-0.9 -0.9,0.1 -0.8,0.2 0.2,-0.8 0.1,-0.9 -0.9))
 10|12|2|2|2|3|POLYGON((-0.8 0.1,0.2 0.2,0.3 1.2,-0.7 1.1,-0.8 0.1))
-10|12|2|2|2||POLYGON((-0.8 0.1,0.2 0.2,0.3 1.2,-0.7 1.1,-0.8 0.1))
-10|12|2|2|2||POLYGON((-0.8 0.1,0.2 0.2,0.3 1.2,-0.7 1.1,-0.8 0.1))
 10|13|1|1|1|1|POLYGON((0 -1.8,1 -1.7,1.1 -0.7,0.1 -0.8,0 -1.8))
 10|13|1|1|1|1|POLYGON((0 -1.8,1 -1.7,1.1 -0.7,0.1 -0.8,0 -1.8))
 10|13|1|1|1|4|POLYGON((0 -1.8,1 -1.7,1.1 -0.7,0.1 -0.8,0 -1.8))
@@ -155,14 +115,6 @@
 10|13|1|2|2|1|POLYGON((1.1 -0.7,2.1 -0.6,2.2 0.4,1.2 0.3,1.1 -0.7))
 10|13|1|2|2|4|POLYGON((1.1 -0.7,2.1 -0.6,2.2 0.4,1.2 0.3,1.1 -0.7))
 10|13|2|1|1|4|POLYGON((0 -1.8,1 -1.7,1.1 -0.7,0.1 -0.8,0 -1.8))
-10|13|2|1|1||POLYGON((0 -1.8,1 -1.7,1.1 -0.7,0.1 -0.8,0 -1.8))
-10|13|2|1|1||POLYGON((0 -1.8,1 -1.7,1.1 -0.7,0.1 -0.8,0 -1.8))
 10|13|2|1|2|4|POLYGON((0.1 -0.8,1.1 -0.7,1.2 0.3,0.2 0.2,0.1 -0.8))
-10|13|2|1|2||POLYGON((0.1 -0.8,1.1 -0.7,1.2 0.3,0.2 0.2,0.1 -0.8))
-10|13|2|1|2||POLYGON((0.1 -0.8,1.1 -0.7,1.2 0.3,0.2 0.2,0.1 -0.8))
 10|13|2|2|1|4|POLYGON((1 -1.7,2 -1.6,2.1 -0.6,1.1 -0.7,1 -1.7))
-10|13|2|2|1||POLYGON((1 -1.7,2 -1.6,2.1 -0.6,1.1 -0.7,1 -1.7))
-10|13|2|2|1||POLYGON((1 -1.7,2 -1.6,2.1 -0.6,1.1 -0.7,1 -1.7))
 10|13|2|2|2|4|POLYGON((1.1 -0.7,2.1 -0.6,2.2 0.4,1.2 0.3,1.1 -0.7))
-10|13|2|2|2||POLYGON((1.1 -0.7,2.1 -0.6,2.2 0.4,1.2 0.3,1.1 -0.7))
-10|13|2|2|2||POLYGON((1.1 -0.7,2.1 -0.6,2.2 0.4,1.2 0.3,1.1 -0.7))
diff --git a/raster/test/regress/rt_isempty.sql b/raster/test/regress/rt_isempty.sql
index 2207628..fa50702 100644
--- a/raster/test/regress/rt_isempty.sql
+++ b/raster/test/regress/rt_isempty.sql
@@ -3,8 +3,19 @@
 --
 -- Copyright (c) 2011 Jorge Arevalo <jorge.arevalo at deimos-space.com>
 --
--- This is free software; you can redistribute and/or modify it under
--- the terms of the GNU General Public Licence. See the COPYING file.
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software Foundation,
+-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 -----------------------------------------------------------------------
 
 CREATE TABLE empty_raster_test (
diff --git a/raster/test/regress/rt_pixelascentroids_expected b/raster/test/regress/rt_pixelascentroids_expected
index d3aebb9..dba7baf 100644
--- a/raster/test/regress/rt_pixelascentroids_expected
+++ b/raster/test/regress/rt_pixelascentroids_expected
@@ -1,104 +1,54 @@
 NOTICE:  table "raster_pixelascentroids" does not exist, skipping
-1|1|0|0||POINT(0.5 -0.5)
 1|2|0|-1|3|POINT(0.5 -1.5)
-1|3|0|-2||POINT(0.5 -2.5)
 1|4|0|-3|5|POINT(0.5 -3.5)
-1|5|0|-4||POINT(0.5 -4.5)
 1|6|0|-5|7|POINT(0.5 -5.5)
-1|7|0|-6||POINT(0.5 -6.5)
 1|8|0|-7|9|POINT(0.5 -7.5)
-1|9|0|-8||POINT(0.5 -8.5)
 1|10|0|-9|11|POINT(0.5 -9.5)
 2|1|1|0|3|POINT(1.5 -0.5)
-2|2|1|-1||POINT(1.5 -1.5)
 2|3|1|-2|5|POINT(1.5 -2.5)
-2|4|1|-3||POINT(1.5 -3.5)
 2|5|1|-4|7|POINT(1.5 -4.5)
-2|6|1|-5||POINT(1.5 -5.5)
 2|7|1|-6|9|POINT(1.5 -6.5)
-2|8|1|-7||POINT(1.5 -7.5)
 2|9|1|-8|11|POINT(1.5 -8.5)
-2|10|1|-9||POINT(1.5 -9.5)
-3|1|2|0||POINT(2.5 -0.5)
 3|2|2|-1|5|POINT(2.5 -1.5)
-3|3|2|-2||POINT(2.5 -2.5)
 3|4|2|-3|7|POINT(2.5 -3.5)
-3|5|2|-4||POINT(2.5 -4.5)
 3|6|2|-5|9|POINT(2.5 -5.5)
-3|7|2|-6||POINT(2.5 -6.5)
 3|8|2|-7|11|POINT(2.5 -7.5)
-3|9|2|-8||POINT(2.5 -8.5)
 3|10|2|-9|13|POINT(2.5 -9.5)
 4|1|3|0|5|POINT(3.5 -0.5)
-4|2|3|-1||POINT(3.5 -1.5)
 4|3|3|-2|7|POINT(3.5 -2.5)
-4|4|3|-3||POINT(3.5 -3.5)
 4|5|3|-4|9|POINT(3.5 -4.5)
-4|6|3|-5||POINT(3.5 -5.5)
 4|7|3|-6|11|POINT(3.5 -6.5)
-4|8|3|-7||POINT(3.5 -7.5)
 4|9|3|-8|13|POINT(3.5 -8.5)
-4|10|3|-9||POINT(3.5 -9.5)
-5|1|4|0||POINT(4.5 -0.5)
 5|2|4|-1|7|POINT(4.5 -1.5)
-5|3|4|-2||POINT(4.5 -2.5)
 5|4|4|-3|9|POINT(4.5 -3.5)
-5|5|4|-4||POINT(4.5 -4.5)
 5|6|4|-5|11|POINT(4.5 -5.5)
-5|7|4|-6||POINT(4.5 -6.5)
 5|8|4|-7|13|POINT(4.5 -7.5)
-5|9|4|-8||POINT(4.5 -8.5)
 5|10|4|-9|15|POINT(4.5 -9.5)
 6|1|5|0|7|POINT(5.5 -0.5)
-6|2|5|-1||POINT(5.5 -1.5)
 6|3|5|-2|9|POINT(5.5 -2.5)
-6|4|5|-3||POINT(5.5 -3.5)
 6|5|5|-4|11|POINT(5.5 -4.5)
-6|6|5|-5||POINT(5.5 -5.5)
 6|7|5|-6|13|POINT(5.5 -6.5)
-6|8|5|-7||POINT(5.5 -7.5)
 6|9|5|-8|15|POINT(5.5 -8.5)
-6|10|5|-9||POINT(5.5 -9.5)
-7|1|6|0||POINT(6.5 -0.5)
 7|2|6|-1|9|POINT(6.5 -1.5)
-7|3|6|-2||POINT(6.5 -2.5)
 7|4|6|-3|11|POINT(6.5 -3.5)
-7|5|6|-4||POINT(6.5 -4.5)
 7|6|6|-5|13|POINT(6.5 -5.5)
-7|7|6|-6||POINT(6.5 -6.5)
 7|8|6|-7|15|POINT(6.5 -7.5)
-7|9|6|-8||POINT(6.5 -8.5)
 7|10|6|-9|17|POINT(6.5 -9.5)
 8|1|7|0|9|POINT(7.5 -0.5)
-8|2|7|-1||POINT(7.5 -1.5)
 8|3|7|-2|11|POINT(7.5 -2.5)
-8|4|7|-3||POINT(7.5 -3.5)
 8|5|7|-4|13|POINT(7.5 -4.5)
-8|6|7|-5||POINT(7.5 -5.5)
 8|7|7|-6|15|POINT(7.5 -6.5)
-8|8|7|-7||POINT(7.5 -7.5)
 8|9|7|-8|17|POINT(7.5 -8.5)
-8|10|7|-9||POINT(7.5 -9.5)
-9|1|8|0||POINT(8.5 -0.5)
 9|2|8|-1|11|POINT(8.5 -1.5)
-9|3|8|-2||POINT(8.5 -2.5)
 9|4|8|-3|13|POINT(8.5 -3.5)
-9|5|8|-4||POINT(8.5 -4.5)
 9|6|8|-5|15|POINT(8.5 -5.5)
-9|7|8|-6||POINT(8.5 -6.5)
 9|8|8|-7|17|POINT(8.5 -7.5)
-9|9|8|-8||POINT(8.5 -8.5)
 9|10|8|-9|19|POINT(8.5 -9.5)
 10|1|9|0|11|POINT(9.5 -0.5)
-10|2|9|-1||POINT(9.5 -1.5)
 10|3|9|-2|13|POINT(9.5 -2.5)
-10|4|9|-3||POINT(9.5 -3.5)
 10|5|9|-4|15|POINT(9.5 -4.5)
-10|6|9|-5||POINT(9.5 -5.5)
 10|7|9|-6|17|POINT(9.5 -6.5)
-10|8|9|-7||POINT(9.5 -7.5)
 10|9|9|-8|19|POINT(9.5 -8.5)
-10|10|9|-9||POINT(9.5 -9.5)
 1|1|0|0|0|POINT(0.5 -0.5)
 1|2|0|-1|3|POINT(0.5 -1.5)
 1|3|0|-2|0|POINT(0.5 -2.5)
diff --git a/raster/test/regress/rt_pixelaspoints_expected b/raster/test/regress/rt_pixelaspoints_expected
index 0695f72..77fc9fa 100644
--- a/raster/test/regress/rt_pixelaspoints_expected
+++ b/raster/test/regress/rt_pixelaspoints_expected
@@ -1,104 +1,54 @@
 NOTICE:  table "raster_pixelaspoints" does not exist, skipping
-1|1|0|0||POINT(0 0)
 1|2|0|-1|3|POINT(0 -1)
-1|3|0|-2||POINT(0 -2)
 1|4|0|-3|5|POINT(0 -3)
-1|5|0|-4||POINT(0 -4)
 1|6|0|-5|7|POINT(0 -5)
-1|7|0|-6||POINT(0 -6)
 1|8|0|-7|9|POINT(0 -7)
-1|9|0|-8||POINT(0 -8)
 1|10|0|-9|11|POINT(0 -9)
 2|1|1|0|3|POINT(1 0)
-2|2|1|-1||POINT(1 -1)
 2|3|1|-2|5|POINT(1 -2)
-2|4|1|-3||POINT(1 -3)
 2|5|1|-4|7|POINT(1 -4)
-2|6|1|-5||POINT(1 -5)
 2|7|1|-6|9|POINT(1 -6)
-2|8|1|-7||POINT(1 -7)
 2|9|1|-8|11|POINT(1 -8)
-2|10|1|-9||POINT(1 -9)
-3|1|2|0||POINT(2 0)
 3|2|2|-1|5|POINT(2 -1)
-3|3|2|-2||POINT(2 -2)
 3|4|2|-3|7|POINT(2 -3)
-3|5|2|-4||POINT(2 -4)
 3|6|2|-5|9|POINT(2 -5)
-3|7|2|-6||POINT(2 -6)
 3|8|2|-7|11|POINT(2 -7)
-3|9|2|-8||POINT(2 -8)
 3|10|2|-9|13|POINT(2 -9)
 4|1|3|0|5|POINT(3 0)
-4|2|3|-1||POINT(3 -1)
 4|3|3|-2|7|POINT(3 -2)
-4|4|3|-3||POINT(3 -3)
 4|5|3|-4|9|POINT(3 -4)
-4|6|3|-5||POINT(3 -5)
 4|7|3|-6|11|POINT(3 -6)
-4|8|3|-7||POINT(3 -7)
 4|9|3|-8|13|POINT(3 -8)
-4|10|3|-9||POINT(3 -9)
-5|1|4|0||POINT(4 0)
 5|2|4|-1|7|POINT(4 -1)
-5|3|4|-2||POINT(4 -2)
 5|4|4|-3|9|POINT(4 -3)
-5|5|4|-4||POINT(4 -4)
 5|6|4|-5|11|POINT(4 -5)
-5|7|4|-6||POINT(4 -6)
 5|8|4|-7|13|POINT(4 -7)
-5|9|4|-8||POINT(4 -8)
 5|10|4|-9|15|POINT(4 -9)
 6|1|5|0|7|POINT(5 0)
-6|2|5|-1||POINT(5 -1)
 6|3|5|-2|9|POINT(5 -2)
-6|4|5|-3||POINT(5 -3)
 6|5|5|-4|11|POINT(5 -4)
-6|6|5|-5||POINT(5 -5)
 6|7|5|-6|13|POINT(5 -6)
-6|8|5|-7||POINT(5 -7)
 6|9|5|-8|15|POINT(5 -8)
-6|10|5|-9||POINT(5 -9)
-7|1|6|0||POINT(6 0)
 7|2|6|-1|9|POINT(6 -1)
-7|3|6|-2||POINT(6 -2)
 7|4|6|-3|11|POINT(6 -3)
-7|5|6|-4||POINT(6 -4)
 7|6|6|-5|13|POINT(6 -5)
-7|7|6|-6||POINT(6 -6)
 7|8|6|-7|15|POINT(6 -7)
-7|9|6|-8||POINT(6 -8)
 7|10|6|-9|17|POINT(6 -9)
 8|1|7|0|9|POINT(7 0)
-8|2|7|-1||POINT(7 -1)
 8|3|7|-2|11|POINT(7 -2)
-8|4|7|-3||POINT(7 -3)
 8|5|7|-4|13|POINT(7 -4)
-8|6|7|-5||POINT(7 -5)
 8|7|7|-6|15|POINT(7 -6)
-8|8|7|-7||POINT(7 -7)
 8|9|7|-8|17|POINT(7 -8)
-8|10|7|-9||POINT(7 -9)
-9|1|8|0||POINT(8 0)
 9|2|8|-1|11|POINT(8 -1)
-9|3|8|-2||POINT(8 -2)
 9|4|8|-3|13|POINT(8 -3)
-9|5|8|-4||POINT(8 -4)
 9|6|8|-5|15|POINT(8 -5)
-9|7|8|-6||POINT(8 -6)
 9|8|8|-7|17|POINT(8 -7)
-9|9|8|-8||POINT(8 -8)
 9|10|8|-9|19|POINT(8 -9)
 10|1|9|0|11|POINT(9 0)
-10|2|9|-1||POINT(9 -1)
 10|3|9|-2|13|POINT(9 -2)
-10|4|9|-3||POINT(9 -3)
 10|5|9|-4|15|POINT(9 -4)
-10|6|9|-5||POINT(9 -5)
 10|7|9|-6|17|POINT(9 -6)
-10|8|9|-7||POINT(9 -7)
 10|9|9|-8|19|POINT(9 -8)
-10|10|9|-9||POINT(9 -9)
 1|1|0|0|0|POINT(0 0)
 1|2|0|-1|3|POINT(0 -1)
 1|3|0|-2|0|POINT(0 -2)
diff --git a/raster/test/regress/rt_pixelaspolygons_expected b/raster/test/regress/rt_pixelaspolygons_expected
index 888201c..866693f 100644
--- a/raster/test/regress/rt_pixelaspolygons_expected
+++ b/raster/test/regress/rt_pixelaspolygons_expected
@@ -1,104 +1,54 @@
 NOTICE:  table "raster_pixelaspolygons" does not exist, skipping
-1|1||POLYGON((0 0,1 0,1 -1,0 -1,0 0))
 1|2|3|POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
-1|3||POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
 1|4|5|POLYGON((0 -3,1 -3,1 -4,0 -4,0 -3))
-1|5||POLYGON((0 -4,1 -4,1 -5,0 -5,0 -4))
 1|6|7|POLYGON((0 -5,1 -5,1 -6,0 -6,0 -5))
-1|7||POLYGON((0 -6,1 -6,1 -7,0 -7,0 -6))
 1|8|9|POLYGON((0 -7,1 -7,1 -8,0 -8,0 -7))
-1|9||POLYGON((0 -8,1 -8,1 -9,0 -9,0 -8))
 1|10|11|POLYGON((0 -9,1 -9,1 -10,0 -10,0 -9))
 2|1|3|POLYGON((1 0,2 0,2 -1,1 -1,1 0))
-2|2||POLYGON((1 -1,2 -1,2 -2,1 -2,1 -1))
 2|3|5|POLYGON((1 -2,2 -2,2 -3,1 -3,1 -2))
-2|4||POLYGON((1 -3,2 -3,2 -4,1 -4,1 -3))
 2|5|7|POLYGON((1 -4,2 -4,2 -5,1 -5,1 -4))
-2|6||POLYGON((1 -5,2 -5,2 -6,1 -6,1 -5))
 2|7|9|POLYGON((1 -6,2 -6,2 -7,1 -7,1 -6))
-2|8||POLYGON((1 -7,2 -7,2 -8,1 -8,1 -7))
 2|9|11|POLYGON((1 -8,2 -8,2 -9,1 -9,1 -8))
-2|10||POLYGON((1 -9,2 -9,2 -10,1 -10,1 -9))
-3|1||POLYGON((2 0,3 0,3 -1,2 -1,2 0))
 3|2|5|POLYGON((2 -1,3 -1,3 -2,2 -2,2 -1))
-3|3||POLYGON((2 -2,3 -2,3 -3,2 -3,2 -2))
 3|4|7|POLYGON((2 -3,3 -3,3 -4,2 -4,2 -3))
-3|5||POLYGON((2 -4,3 -4,3 -5,2 -5,2 -4))
 3|6|9|POLYGON((2 -5,3 -5,3 -6,2 -6,2 -5))
-3|7||POLYGON((2 -6,3 -6,3 -7,2 -7,2 -6))
 3|8|11|POLYGON((2 -7,3 -7,3 -8,2 -8,2 -7))
-3|9||POLYGON((2 -8,3 -8,3 -9,2 -9,2 -8))
 3|10|13|POLYGON((2 -9,3 -9,3 -10,2 -10,2 -9))
 4|1|5|POLYGON((3 0,4 0,4 -1,3 -1,3 0))
-4|2||POLYGON((3 -1,4 -1,4 -2,3 -2,3 -1))
 4|3|7|POLYGON((3 -2,4 -2,4 -3,3 -3,3 -2))
-4|4||POLYGON((3 -3,4 -3,4 -4,3 -4,3 -3))
 4|5|9|POLYGON((3 -4,4 -4,4 -5,3 -5,3 -4))
-4|6||POLYGON((3 -5,4 -5,4 -6,3 -6,3 -5))
 4|7|11|POLYGON((3 -6,4 -6,4 -7,3 -7,3 -6))
-4|8||POLYGON((3 -7,4 -7,4 -8,3 -8,3 -7))
 4|9|13|POLYGON((3 -8,4 -8,4 -9,3 -9,3 -8))
-4|10||POLYGON((3 -9,4 -9,4 -10,3 -10,3 -9))
-5|1||POLYGON((4 0,5 0,5 -1,4 -1,4 0))
 5|2|7|POLYGON((4 -1,5 -1,5 -2,4 -2,4 -1))
-5|3||POLYGON((4 -2,5 -2,5 -3,4 -3,4 -2))
 5|4|9|POLYGON((4 -3,5 -3,5 -4,4 -4,4 -3))
-5|5||POLYGON((4 -4,5 -4,5 -5,4 -5,4 -4))
 5|6|11|POLYGON((4 -5,5 -5,5 -6,4 -6,4 -5))
-5|7||POLYGON((4 -6,5 -6,5 -7,4 -7,4 -6))
 5|8|13|POLYGON((4 -7,5 -7,5 -8,4 -8,4 -7))
-5|9||POLYGON((4 -8,5 -8,5 -9,4 -9,4 -8))
 5|10|15|POLYGON((4 -9,5 -9,5 -10,4 -10,4 -9))
 6|1|7|POLYGON((5 0,6 0,6 -1,5 -1,5 0))
-6|2||POLYGON((5 -1,6 -1,6 -2,5 -2,5 -1))
 6|3|9|POLYGON((5 -2,6 -2,6 -3,5 -3,5 -2))
-6|4||POLYGON((5 -3,6 -3,6 -4,5 -4,5 -3))
 6|5|11|POLYGON((5 -4,6 -4,6 -5,5 -5,5 -4))
-6|6||POLYGON((5 -5,6 -5,6 -6,5 -6,5 -5))
 6|7|13|POLYGON((5 -6,6 -6,6 -7,5 -7,5 -6))
-6|8||POLYGON((5 -7,6 -7,6 -8,5 -8,5 -7))
 6|9|15|POLYGON((5 -8,6 -8,6 -9,5 -9,5 -8))
-6|10||POLYGON((5 -9,6 -9,6 -10,5 -10,5 -9))
-7|1||POLYGON((6 0,7 0,7 -1,6 -1,6 0))
 7|2|9|POLYGON((6 -1,7 -1,7 -2,6 -2,6 -1))
-7|3||POLYGON((6 -2,7 -2,7 -3,6 -3,6 -2))
 7|4|11|POLYGON((6 -3,7 -3,7 -4,6 -4,6 -3))
-7|5||POLYGON((6 -4,7 -4,7 -5,6 -5,6 -4))
 7|6|13|POLYGON((6 -5,7 -5,7 -6,6 -6,6 -5))
-7|7||POLYGON((6 -6,7 -6,7 -7,6 -7,6 -6))
 7|8|15|POLYGON((6 -7,7 -7,7 -8,6 -8,6 -7))
-7|9||POLYGON((6 -8,7 -8,7 -9,6 -9,6 -8))
 7|10|17|POLYGON((6 -9,7 -9,7 -10,6 -10,6 -9))
 8|1|9|POLYGON((7 0,8 0,8 -1,7 -1,7 0))
-8|2||POLYGON((7 -1,8 -1,8 -2,7 -2,7 -1))
 8|3|11|POLYGON((7 -2,8 -2,8 -3,7 -3,7 -2))
-8|4||POLYGON((7 -3,8 -3,8 -4,7 -4,7 -3))
 8|5|13|POLYGON((7 -4,8 -4,8 -5,7 -5,7 -4))
-8|6||POLYGON((7 -5,8 -5,8 -6,7 -6,7 -5))
 8|7|15|POLYGON((7 -6,8 -6,8 -7,7 -7,7 -6))
-8|8||POLYGON((7 -7,8 -7,8 -8,7 -8,7 -7))
 8|9|17|POLYGON((7 -8,8 -8,8 -9,7 -9,7 -8))
-8|10||POLYGON((7 -9,8 -9,8 -10,7 -10,7 -9))
-9|1||POLYGON((8 0,9 0,9 -1,8 -1,8 0))
 9|2|11|POLYGON((8 -1,9 -1,9 -2,8 -2,8 -1))
-9|3||POLYGON((8 -2,9 -2,9 -3,8 -3,8 -2))
 9|4|13|POLYGON((8 -3,9 -3,9 -4,8 -4,8 -3))
-9|5||POLYGON((8 -4,9 -4,9 -5,8 -5,8 -4))
 9|6|15|POLYGON((8 -5,9 -5,9 -6,8 -6,8 -5))
-9|7||POLYGON((8 -6,9 -6,9 -7,8 -7,8 -6))
 9|8|17|POLYGON((8 -7,9 -7,9 -8,8 -8,8 -7))
-9|9||POLYGON((8 -8,9 -8,9 -9,8 -9,8 -8))
 9|10|19|POLYGON((8 -9,9 -9,9 -10,8 -10,8 -9))
 10|1|11|POLYGON((9 0,10 0,10 -1,9 -1,9 0))
-10|2||POLYGON((9 -1,10 -1,10 -2,9 -2,9 -1))
 10|3|13|POLYGON((9 -2,10 -2,10 -3,9 -3,9 -2))
-10|4||POLYGON((9 -3,10 -3,10 -4,9 -4,9 -3))
 10|5|15|POLYGON((9 -4,10 -4,10 -5,9 -5,9 -4))
-10|6||POLYGON((9 -5,10 -5,10 -6,9 -6,9 -5))
 10|7|17|POLYGON((9 -6,10 -6,10 -7,9 -7,9 -6))
-10|8||POLYGON((9 -7,10 -7,10 -8,9 -8,9 -7))
 10|9|19|POLYGON((9 -8,10 -8,10 -9,9 -9,9 -8))
-10|10||POLYGON((9 -9,10 -9,10 -10,9 -10,9 -9))
 1|1|0|POLYGON((0 0,1 0,1 -1,0 -1,0 0))
 1|2|3|POLYGON((0 -1,1 -1,1 -2,0 -2,0 -1))
 1|3|0|POLYGON((0 -2,1 -2,1 -3,0 -3,0 -2))
diff --git a/raster/test/regress/rt_pixelsize.sql b/raster/test/regress/rt_pixelsize.sql
index 36c7fd0..78aa4eb 100644
--- a/raster/test/regress/rt_pixelsize.sql
+++ b/raster/test/regress/rt_pixelsize.sql
@@ -3,8 +3,19 @@
 --
 -- Copyright (c) 2011 David Zwarg <dzwarg at azavea.com>
 --
--- This is free software; you can redistribute and/or modify it under
--- the terms of the GNU General Public Licence. See the COPYING file.
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software Foundation,
+-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 -----------------------------------------------------------------------
 
 CREATE TABLE rt_properties_test (
diff --git a/raster/test/regress/rt_pixelvalue.sql b/raster/test/regress/rt_pixelvalue.sql
index 9e4ae98..e32d0dd 100644
--- a/raster/test/regress/rt_pixelvalue.sql
+++ b/raster/test/regress/rt_pixelvalue.sql
@@ -3,8 +3,19 @@
 --
 -- Copyright (c) 2010 Pierre Racine <pierre.racine at sbf.ulaval.ca>
 --
--- This is free software; you can redistribute and/or modify it under
--- the terms of the GNU General Public Licence. See the COPYING file.
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software Foundation,
+-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 -----------------------------------------------------------------------
 
 -----------------------------------------------------------------------
diff --git a/raster/test/regress/rt_rotation.sql b/raster/test/regress/rt_rotation.sql
index 1ce946b..eee5ec9 100644
--- a/raster/test/regress/rt_rotation.sql
+++ b/raster/test/regress/rt_rotation.sql
@@ -4,8 +4,19 @@
 -- Copyright (c) 2009 Mateusz Loskot <mateusz at loskot.net>
 -- Copyright (c) 2011 David Zwarg <dzwarg at azavea.com>
 --
--- This is free software; you can redistribute and/or modify it under
--- the terms of the GNU General Public Licence. See the COPYING file.
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software Foundation,
+-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 -----------------------------------------------------------------------
 
 CREATE TABLE rt_properties_test (
diff --git a/raster/test/regress/rt_scale.sql b/raster/test/regress/rt_scale.sql
index 186dbcc..b7069d1 100644
--- a/raster/test/regress/rt_scale.sql
+++ b/raster/test/regress/rt_scale.sql
@@ -3,8 +3,19 @@
 --
 -- Copyright (c) 2009 Mateusz Loskot <mateusz at loskot.net>
 --
--- This is free software; you can redistribute and/or modify it under
--- the terms of the GNU General Public Licence. See the COPYING file.
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software Foundation,
+-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 -----------------------------------------------------------------------
 
 CREATE TABLE rt_properties_test (
diff --git a/raster/test/regress/rt_set_band_properties.sql b/raster/test/regress/rt_set_band_properties.sql
index dfd3363..3e3841d 100644
--- a/raster/test/regress/rt_set_band_properties.sql
+++ b/raster/test/regress/rt_set_band_properties.sql
@@ -3,8 +3,19 @@
 --
 -- Copyright (c) 2010 David Zwarg <dzwarg at azavea.com>
 --
--- This is free software; you can redistribute and/or modify it under
--- the terms of the GNU General Public Licence. See the COPYING file.
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software Foundation,
+-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 -----------------------------------------------------------------------
 
 -----------------------------------------------------------------------
diff --git a/raster/test/regress/rt_set_properties.sql b/raster/test/regress/rt_set_properties.sql
index 03b058e..21f7283 100644
--- a/raster/test/regress/rt_set_properties.sql
+++ b/raster/test/regress/rt_set_properties.sql
@@ -3,8 +3,19 @@
 --
 -- Copyright (c) 2010 David Zwarg <dzwarg at azavea.com>, Pierre Racine <pierre.racine at sbf.ulaval.ca>
 --
--- This is free software; you can redistribute and/or modify it under
--- the terms of the GNU General Public Licence. See the COPYING file.
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software Foundation,
+-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 -----------------------------------------------------------------------
 
 CREATE TABLE rt_properties_test (
diff --git a/raster/test/regress/rt_setvalues_array_expected b/raster/test/regress/rt_setvalues_array_expected
index c295212..d07f0f1 100644
--- a/raster/test/regress/rt_setvalues_array_expected
+++ b/raster/test/regress/rt_setvalues_array_expected
@@ -132,7 +132,6 @@
 9|4|3|7
 9|5|1|5
 9|5|2|6
-9|5|3|
 10|1|1|1
 10|1|2|1
 10|1|3|1
@@ -147,7 +146,6 @@
 10|4|3|7
 10|5|1|5
 10|5|2|6
-10|5|3|
 11|1|1|10
 11|1|2|1
 11|1|3|1
@@ -163,13 +161,11 @@
 11|5|1|1
 11|5|2|1
 11|5|3|1
-12|1|1|
 12|1|2|1
 12|1|3|1
 12|2|1|10
 12|2|2|1
 12|2|3|1
-12|3|1|
 12|3|2|1
 12|3|3|1
 12|4|1|1
@@ -178,7 +174,6 @@
 12|5|1|1
 12|5|2|1
 12|5|3|1
-13|1|1|
 13|1|2|1
 13|1|3|1
 13|2|1|10
@@ -208,36 +203,6 @@
 21|5|1|100
 21|5|2|100
 21|5|3|100
-22|1|1|
-22|1|2|
-22|1|3|
-22|2|1|
-22|2|2|
-22|2|3|
-22|3|1|
-22|3|2|
-22|3|3|
-22|4|1|
-22|4|2|
-22|4|3|
-22|5|1|
-22|5|2|
-22|5|3|
-23|1|1|
-23|1|2|
-23|1|3|
-23|2|1|
-23|2|2|
-23|2|3|
-23|3|1|
-23|3|2|
-23|3|3|
-23|4|1|
-23|4|2|
-23|4|3|
-23|5|1|
-23|5|2|
-23|5|3|
 31|1|1|1
 31|1|2|1
 31|1|3|1
diff --git a/raster/test/regress/rt_union_expected b/raster/test/regress/rt_union_expected
index 719d4cd..4b72d92 100644
--- a/raster/test/regress/rt_union_expected
+++ b/raster/test/regress/rt_union_expected
@@ -11,67 +11,51 @@ COUNT|2|3|1
 COUNT|3|3|1
 FIRST|1|1|1
 FIRST|2|1|1
-FIRST|3|1|
 FIRST|1|2|1
 FIRST|2|2|1
 FIRST|3|2|2
-FIRST|1|3|
 FIRST|2|3|2
 FIRST|3|3|2
 LAST|1|1|1
 LAST|2|1|1
-LAST|3|1|
 LAST|1|2|1
 LAST|2|2|2
 LAST|3|2|2
-LAST|1|3|
 LAST|2|3|2
 LAST|3|3|2
 MAX|1|1|1
 MAX|2|1|1
-MAX|3|1|
 MAX|1|2|1
 MAX|2|2|2
 MAX|3|2|2
-MAX|1|3|
 MAX|2|3|2
 MAX|3|3|2
 MEAN|1|1|1
 MEAN|2|1|1
-MEAN|3|1|
 MEAN|1|2|1
 MEAN|2|2|1
 MEAN|3|2|2
-MEAN|1|3|
 MEAN|2|3|2
 MEAN|3|3|2
 MIN|1|1|1
 MIN|2|1|1
-MIN|3|1|
 MIN|1|2|1
 MIN|2|2|1
 MIN|3|2|2
-MIN|1|3|
 MIN|2|3|2
 MIN|3|3|2
-RANGE|1|1|
-RANGE|2|1|
-RANGE|3|1|
-RANGE|1|2|
 RANGE|2|2|1
-RANGE|3|2|
-RANGE|1|3|
-RANGE|2|3|
-RANGE|3|3|
 SUM|1|1|1
 SUM|2|1|1
-SUM|3|1|
 SUM|1|2|1
 SUM|2|2|3
 SUM|3|2|2
-SUM|1|3|
 SUM|2|3|2
 SUM|3|3|2
+NOTICE:  No pixels found for band 1
+NOTICE:  No pixels found for band 1
+NOTICE:  No pixels found for band 1
+NOTICE:  No pixels found for band 1
 COUNT|1|1|1
 COUNT|2|1|1
 COUNT|3|1|1
@@ -288,42 +272,6 @@ MIN|3|6|1
 MIN|4|6|1
 MIN|5|6|1
 MIN|6|6|1
-RANGE|1|1|
-RANGE|2|1|
-RANGE|3|1|
-RANGE|4|1|
-RANGE|5|1|
-RANGE|6|1|
-RANGE|1|2|
-RANGE|2|2|
-RANGE|3|2|
-RANGE|4|2|
-RANGE|5|2|
-RANGE|6|2|
-RANGE|1|3|
-RANGE|2|3|
-RANGE|3|3|
-RANGE|4|3|
-RANGE|5|3|
-RANGE|6|3|
-RANGE|1|4|
-RANGE|2|4|
-RANGE|3|4|
-RANGE|4|4|
-RANGE|5|4|
-RANGE|6|4|
-RANGE|1|5|
-RANGE|2|5|
-RANGE|3|5|
-RANGE|4|5|
-RANGE|5|5|
-RANGE|6|5|
-RANGE|1|6|
-RANGE|2|6|
-RANGE|3|6|
-RANGE|4|6|
-RANGE|5|6|
-RANGE|6|6|
 SUM|1|1|1
 SUM|2|1|1
 SUM|3|1|1
@@ -371,74 +319,58 @@ COUNT|2|3|1
 COUNT|3|3|1
 FIRST|1|1|1
 FIRST|2|1|1
-FIRST|3|1|
 FIRST|1|2|1
 FIRST|2|2|1
 FIRST|3|2|2
-FIRST|1|3|
 FIRST|2|3|2
 FIRST|3|3|2
 LAST|1|1|1
 LAST|2|1|1
-LAST|3|1|
 LAST|1|2|1
 LAST|2|2|2
 LAST|3|2|2
-LAST|1|3|
 LAST|2|3|2
 LAST|3|3|2
 MAX|1|1|1
 MAX|2|1|1
-MAX|3|1|
 MAX|1|2|1
 MAX|2|2|2
 MAX|3|2|2
-MAX|1|3|
 MAX|2|3|2
 MAX|3|3|2
 MEAN|1|1|1
 MEAN|2|1|1
-MEAN|3|1|
 MEAN|1|2|1
 MEAN|2|2|1.5
 MEAN|3|2|2
-MEAN|1|3|
 MEAN|2|3|2
 MEAN|3|3|2
 MIN|1|1|1
 MIN|2|1|1
-MIN|3|1|
 MIN|1|2|1
 MIN|2|2|1
 MIN|3|2|2
-MIN|1|3|
 MIN|2|3|2
 MIN|3|3|2
 RANGE|1|1|0
 RANGE|2|1|0
-RANGE|3|1|
 RANGE|1|2|0
 RANGE|2|2|1
 RANGE|3|2|0
-RANGE|1|3|
 RANGE|2|3|0
 RANGE|3|3|0
 SUM|1|1|1
 SUM|2|1|1
-SUM|3|1|
 SUM|1|2|1
 SUM|2|2|3
 SUM|3|2|2
-SUM|1|3|
 SUM|2|3|2
 SUM|3|3|2
 LAST|1|1|1
 LAST|2|1|1
-LAST|3|1|
 LAST|1|2|1
 LAST|2|2|2
 LAST|3|2|2
-LAST|1|3|
 LAST|2|3|2
 LAST|3|3|2
 COUNT|1|1|1
@@ -452,65 +384,45 @@ COUNT|2|3|1
 COUNT|3|3|1
 FIRST|1|1|1
 FIRST|2|1|1
-FIRST|3|1|
 FIRST|1|2|1
 FIRST|2|2|1
 FIRST|3|2|2
-FIRST|1|3|
 FIRST|2|3|2
 FIRST|3|3|2
 LAST|1|1|1
 LAST|2|1|1
-LAST|3|1|
 LAST|1|2|1
 LAST|2|2|2
 LAST|3|2|2
-LAST|1|3|
 LAST|2|3|2
 LAST|3|3|2
 MAX|1|1|1
 MAX|2|1|1
-MAX|3|1|
 MAX|1|2|1
 MAX|2|2|2
 MAX|3|2|2
-MAX|1|3|
 MAX|2|3|2
 MAX|3|3|2
 MEAN|1|1|1
 MEAN|2|1|1
-MEAN|3|1|
 MEAN|1|2|1
 MEAN|2|2|1
 MEAN|3|2|2
-MEAN|1|3|
 MEAN|2|3|2
 MEAN|3|3|2
 MIN|1|1|1
 MIN|2|1|1
-MIN|3|1|
 MIN|1|2|1
 MIN|2|2|1
 MIN|3|2|2
-MIN|1|3|
 MIN|2|3|2
 MIN|3|3|2
-RANGE|1|1|
-RANGE|2|1|
-RANGE|3|1|
-RANGE|1|2|
 RANGE|2|2|1
-RANGE|3|2|
-RANGE|1|3|
-RANGE|2|3|
-RANGE|3|3|
 SUM|1|1|1
 SUM|2|1|1
-SUM|3|1|
 SUM|1|2|1
 SUM|2|2|3
 SUM|3|2|2
-SUM|1|3|
 SUM|2|3|2
 SUM|3|3|2
 COUNT|1|1|1
@@ -524,65 +436,51 @@ COUNT|2|3|1
 COUNT|3|3|1
 FIRST|1|1|100
 FIRST|2|1|100
-FIRST|3|1|
 FIRST|1|2|100
 FIRST|2|2|100
 FIRST|3|2|200
-FIRST|1|3|
 FIRST|2|3|200
 FIRST|3|3|200
 LAST|1|1|100
 LAST|2|1|100
-LAST|3|1|
 LAST|1|2|100
 LAST|2|2|200
 LAST|3|2|200
-LAST|1|3|
 LAST|2|3|200
 LAST|3|3|200
 MAX|1|1|100
 MAX|2|1|100
-MAX|3|1|
 MAX|1|2|100
 MAX|2|2|200
 MAX|3|2|200
-MAX|1|3|
 MAX|2|3|200
 MAX|3|3|200
 MEAN|1|1|100
 MEAN|2|1|100
-MEAN|3|1|
 MEAN|1|2|100
 MEAN|2|2|150
 MEAN|3|2|200
-MEAN|1|3|
 MEAN|2|3|200
 MEAN|3|3|200
 MIN|1|1|100
 MIN|2|1|100
-MIN|3|1|
 MIN|1|2|100
 MIN|2|2|100
 MIN|3|2|200
-MIN|1|3|
 MIN|2|3|200
 MIN|3|3|200
 RANGE|1|1|0
 RANGE|2|1|0
-RANGE|3|1|
 RANGE|1|2|0
 RANGE|2|2|100
 RANGE|3|2|0
-RANGE|1|3|
 RANGE|2|3|0
 RANGE|3|3|0
 SUM|1|1|100
 SUM|2|1|100
-SUM|3|1|
 SUM|1|2|100
 SUM|2|2|300
 SUM|3|2|200
-SUM|1|3|
 SUM|2|3|200
 SUM|3|3|200
 FIRST-2|-1|1|4|4|1|-1|0|0|0|3
@@ -597,12 +495,9 @@ FIRST-2|1|2|3
 FIRST-2|2|2|1
 FIRST-2|3|2|1
 FIRST-2|4|2|4
-FIRST-2|1|3|
 FIRST-2|2|3|1
 FIRST-2|3|3|1
 FIRST-2|4|3|2
-FIRST-2|1|4|
-FIRST-2|2|4|
 FIRST-2|3|4|2
 FIRST-2|4|4|2
 LAST-1|1|1|3
@@ -613,12 +508,9 @@ LAST-1|1|2|3
 LAST-1|2|2|3
 LAST-1|3|2|4
 LAST-1|4|2|4
-LAST-1|1|3|
 LAST-1|2|3|1
 LAST-1|3|3|2
 LAST-1|4|3|2
-LAST-1|1|4|
-LAST-1|2|4|
 LAST-1|3|4|2
 LAST-1|4|4|2
 LAST-2|1|1|3
@@ -629,12 +521,9 @@ LAST-2|1|2|3
 LAST-2|2|2|3
 LAST-2|3|2|4
 LAST-2|4|2|4
-LAST-2|1|3|
 LAST-2|2|3|1
 LAST-2|3|3|2
 LAST-2|4|3|2
-LAST-2|1|4|
-LAST-2|2|4|
 LAST-2|3|4|2
 LAST-2|4|4|2
 MEAN-2|1|1|3
@@ -645,12 +534,9 @@ MEAN-2|1|2|3
 MEAN-2|2|2|2
 MEAN-2|3|2|2
 MEAN-2|4|2|4
-MEAN-2|1|3|
 MEAN-2|2|3|1
 MEAN-2|3|3|1
 MEAN-2|4|3|2
-MEAN-2|1|4|
-MEAN-2|2|4|
 MEAN-2|3|4|2
 MEAN-2|4|4|2
 FIRST-2|1|1|300
@@ -661,12 +547,9 @@ FIRST-2|1|2|300
 FIRST-2|2|2|100
 FIRST-2|3|2|100
 FIRST-2|4|2|400
-FIRST-2|1|3|
 FIRST-2|2|3|100
 FIRST-2|3|3|100
 FIRST-2|4|3|200
-FIRST-2|1|4|
-FIRST-2|2|4|
 FIRST-2|3|4|200
 FIRST-2|4|4|200
 LAST-1|1|1|300
@@ -677,12 +560,9 @@ LAST-1|1|2|300
 LAST-1|2|2|300
 LAST-1|3|2|400
 LAST-1|4|2|400
-LAST-1|1|3|
 LAST-1|2|3|100
 LAST-1|3|3|200
 LAST-1|4|3|200
-LAST-1|1|4|
-LAST-1|2|4|
 LAST-1|3|4|200
 LAST-1|4|4|200
 LAST-2|1|1|300
@@ -693,12 +573,9 @@ LAST-2|1|2|300
 LAST-2|2|2|300
 LAST-2|3|2|400
 LAST-2|4|2|400
-LAST-2|1|3|
 LAST-2|2|3|100
 LAST-2|3|3|200
 LAST-2|4|3|200
-LAST-2|1|4|
-LAST-2|2|4|
 LAST-2|3|4|200
 LAST-2|4|4|200
 MEAN-2|1|1|300
@@ -709,130 +586,45 @@ MEAN-2|1|2|300
 MEAN-2|2|2|200
 MEAN-2|3|2|250
 MEAN-2|4|2|400
-MEAN-2|1|3|
 MEAN-2|2|3|100
 MEAN-2|3|3|150
 MEAN-2|4|3|200
-MEAN-2|1|4|
-MEAN-2|2|4|
 MEAN-2|3|4|200
 MEAN-2|4|4|200
 FIRST-2|1|1|-1
 FIRST-2|2|1|-1
-FIRST-2|3|1|
-FIRST-2|4|1|
 FIRST-2|1|2|-1
 FIRST-2|2|2|-1
-FIRST-2|3|2|
-FIRST-2|4|2|
-FIRST-2|1|3|
-FIRST-2|2|3|
-FIRST-2|3|3|
-FIRST-2|4|3|
-FIRST-2|1|4|
-FIRST-2|2|4|
-FIRST-2|3|4|
-FIRST-2|4|4|
 LAST-1|1|1|-1
 LAST-1|2|1|-1
-LAST-1|3|1|
-LAST-1|4|1|
 LAST-1|1|2|-1
 LAST-1|2|2|-1
-LAST-1|3|2|
-LAST-1|4|2|
-LAST-1|1|3|
-LAST-1|2|3|
-LAST-1|3|3|
-LAST-1|4|3|
-LAST-1|1|4|
-LAST-1|2|4|
-LAST-1|3|4|
-LAST-1|4|4|
 LAST-2|1|1|-1
 LAST-2|2|1|-1
-LAST-2|3|1|
-LAST-2|4|1|
 LAST-2|1|2|-1
 LAST-2|2|2|-1
-LAST-2|3|2|
-LAST-2|4|2|
-LAST-2|1|3|
-LAST-2|2|3|
-LAST-2|3|3|
-LAST-2|4|3|
-LAST-2|1|4|
-LAST-2|2|4|
-LAST-2|3|4|
-LAST-2|4|4|
 MEAN-2|1|1|-1
 MEAN-2|2|1|-1
-MEAN-2|3|1|
-MEAN-2|4|1|
 MEAN-2|1|2|-1
 MEAN-2|2|2|-1
-MEAN-2|3|2|
-MEAN-2|4|2|
-MEAN-2|1|3|
-MEAN-2|2|3|
-MEAN-2|3|3|
-MEAN-2|4|3|
-MEAN-2|1|4|
-MEAN-2|2|4|
-MEAN-2|3|4|
-MEAN-2|4|4|
 -2|4|6|9|1|-1|0|0|0|1
 LAST|1|1|5
 LAST|2|1|5
-LAST|3|1|
-LAST|4|1|
-LAST|5|1|
-LAST|6|1|
 LAST|1|2|5
 LAST|2|2|5
-LAST|3|2|
-LAST|4|2|
-LAST|5|2|
-LAST|6|2|
-LAST|1|3|
-LAST|2|3|
-LAST|3|3|
-LAST|4|3|
-LAST|5|3|
-LAST|6|3|
-LAST|1|4|
-LAST|2|4|
-LAST|3|4|
-LAST|4|4|
-LAST|5|4|
-LAST|6|4|
-LAST|1|5|
-LAST|2|5|
 LAST|3|5|2
 LAST|4|5|2
 LAST|5|5|3
 LAST|6|5|3
-LAST|1|6|
-LAST|2|6|
 LAST|3|6|2
 LAST|4|6|2
 LAST|5|6|3
 LAST|6|6|3
-LAST|1|7|
-LAST|2|7|
-LAST|3|7|
-LAST|4|7|
 LAST|5|7|1
 LAST|6|7|1
-LAST|1|8|
 LAST|2|8|4
 LAST|3|8|4
-LAST|4|8|
 LAST|5|8|1
 LAST|6|8|1
-LAST|1|9|
 LAST|2|9|4
 LAST|3|9|4
-LAST|4|9|
-LAST|5|9|
-LAST|6|9|
diff --git a/raster/test/regress/rt_upperleft.sql b/raster/test/regress/rt_upperleft.sql
index eedaa08..ab1d8c1 100644
--- a/raster/test/regress/rt_upperleft.sql
+++ b/raster/test/regress/rt_upperleft.sql
@@ -3,8 +3,19 @@
 --
 -- Copyright (c) 2009 Mateusz Loskot <mateusz at loskot.net>
 --
--- This is free software; you can redistribute and/or modify it under
--- the terms of the GNU General Public Licence. See the COPYING file.
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software Foundation,
+-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 -----------------------------------------------------------------------
 
 CREATE TABLE rt_properties_test (
diff --git a/raster/test/regress/rt_utility.sql b/raster/test/regress/rt_utility.sql
index f1c11ca..9529040 100644
--- a/raster/test/regress/rt_utility.sql
+++ b/raster/test/regress/rt_utility.sql
@@ -3,8 +3,19 @@
 --
 -- Copyright (c) 2010 Pierre Racine <pierre.racine at sbf.ulaval.ca>
 --
--- This is free software; you can redistribute and/or modify it under
--- the terms of the GNU General Public Licence. See the COPYING file.
+-- This program is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software Foundation,
+-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 -----------------------------------------------------------------------
 
 CREATE TABLE rt_utility_test (
diff --git a/raster/test/regress/tickets.sql b/raster/test/regress/tickets.sql
index 9ea0f44..7ce9c24 100644
--- a/raster/test/regress/tickets.sql
+++ b/raster/test/regress/tickets.sql
@@ -1,3 +1,7 @@
 -- #1485
 SELECT '#1485', count(*) FROM geometry_columns
 WHERE f_table_name = 'raster_columns';
+
+-- #2532
+SELECT NULL::raster @ null::geometry;
+SELECT NULL::geometry @ null::raster;
diff --git a/regress/empty.sql b/regress/empty.sql
index f7f4772..1a0bd87 100644
--- a/regress/empty.sql
+++ b/regress/empty.sql
@@ -36,29 +36,29 @@ WITH inp AS (SELECT
  'POLYGON EMPTY'::geometry as empty,
  'POLYGON((0 0, 10 0, 5 5, 0 0))'::geometry as geometry,
  120 as tolerance
- ) SELECT 'ST_Buffer(empty, tolerance) == empty', ST_Buffer(empty, tolerance) FROM inp;
+ ) SELECT 'ST_Buffer(empty, tolerance) == empty', encode(ST_AsBinary(ST_Buffer(empty, tolerance),'ndr'),'hex') FROM inp;
 WITH inp AS (SELECT
  'POLYGON EMPTY'::geometry as empty,
  'POLYGON((0 0, 10 0, 5 5, 0 0))'::geometry as geometry
- ) SELECT 'ST_Union(geometry, empty) == geometry', ST_Union(geometry, empty) FROM inp;
+ ) SELECT 'ST_Union(geometry, empty) == geometry', encode(ST_AsBinary(ST_Union(geometry, empty),'ndr'),'hex') FROM inp;
 WITH inp AS (SELECT
  'POLYGON EMPTY'::geometry as empty
- ) SELECT 'ST_Union(empty, empty) == empty', ST_Union(empty, empty) FROM inp;
+ ) SELECT 'ST_Union(empty, empty) == empty', encode(ST_AsBinary(ST_Union(empty, empty),'ndr'),'hex') FROM inp;
 WITH inp AS (SELECT
  'POLYGON EMPTY'::geometry as empty,
  'POLYGON((0 0, 10 0, 5 5, 0 0))'::geometry as geometry
- ) SELECT 'ST_Intersection(geometry, empty) == geometry', ST_Intersection(geometry, empty) FROM inp;
+ ) SELECT 'ST_Intersection(geometry, empty) == geometry', encode(ST_AsBinary(ST_Intersection(geometry, empty),'ndr'),'hex') FROM inp;
 WITH inp AS (SELECT
  'POLYGON EMPTY'::geometry as empty
- ) SELECT 'ST_Intersection(empty, empty) == empty', ST_Intersection(empty, empty) FROM inp;
+ ) SELECT 'ST_Intersection(empty, empty) == empty', encode(ST_AsBinary(ST_Intersection(empty, empty),'ndr'),'hex') FROM inp;
 WITH inp AS (SELECT
  'POLYGON EMPTY'::geometry as empty,
  'POLYGON((0 0, 10 0, 5 5, 0 0))'::geometry as geometry
- ) SELECT 'ST_Difference(geometry, empty) == geometry', ST_Difference(geometry, empty) FROM inp;
+ ) SELECT 'ST_Difference(geometry, empty) == geometry', encode(ST_AsBinary(ST_Difference(geometry, empty),'ndr'),'hex') FROM inp;
 WITH inp AS (SELECT
  'POLYGON EMPTY'::geometry as empty,
  'POLYGON((0 0, 10 0, 5 5, 0 0))'::geometry as geometry
- ) SELECT 'ST_Difference(empty, geometry) == empty', ST_Difference(empty, geometry) FROM inp;
+ ) SELECT 'ST_Difference(empty, geometry) == empty', encode(ST_AsBinary(ST_Difference(empty, geometry),'ndr'),'hex') FROM inp;
 WITH inp AS (SELECT
  'POLYGON EMPTY'::geometry as empty,
  'POLYGON((0 0, 10 0, 5 5, 0 0))'::geometry as geometry
diff --git a/regress/regress.sql b/regress/regress.sql
index 1057a40..fbefa13 100644
--- a/regress/regress.sql
+++ b/regress/regress.sql
@@ -234,18 +234,18 @@ select '141', ST_AsEWKT(ST_multi(ST_setsrid('LINESTRING(2 2, 3 3)'::geometry, 4)
 select '142', ST_AsEWKT(ST_multi(ST_setsrid('LINESTRING(2 2, 3 3)'::geometry, 5)));
 select '143', ST_AsEWKT(ST_multi(ST_setsrid('POLYGON((0 0, 1 0, 1 1, 0 1, 0 0))'::geometry, 6)));
 select '143c1', ST_AsEWKT(ST_multi('CIRCULARSTRING(0 0, 1 1, 2 2)'::geometry));
-select '144', ST_AsEWKT(ST_Force3DM('POINT(1 2 3)'));
-select '145', ST_AsEWKT(ST_Force3DZ('POINTM(1 2 3)'));
-select '146', ST_AsEWKT(ST_Force4D('POINTM(1 2 3)'));
-select '147', ST_AsEWKT(ST_Force4D('POINT(1 2 3)'));
+select '144', ST_AsEWKT(ST_force_3dm('POINT(1 2 3)'));
+select '145', ST_AsEWKT(ST_force_3dz('POINTM(1 2 3)'));
+select '146', ST_AsEWKT(ST_force_4d('POINTM(1 2 3)'));
+select '147', ST_AsEWKT(ST_force_4d('POINT(1 2 3)'));
 
 select '148', ST_AsText(ST_segmentize('LINESTRING(0 0, 10 0)'::geometry, 5));
 
 select '149', ST_AsText(ST_segmentize('GEOMETRYCOLLECTION EMPTY'::geometry, 0.5));
 
-select '150', ST_AsEWKT(ST_ForceCollection(ST_setsrid('POLYGON((0 0, 1 0, 1 1, 0 1, 0 0))'::geometry, 6)));
+select '150', ST_AsEWKT(ST_force_collection(ST_setsrid('POLYGON((0 0, 1 0, 1 1, 0 1, 0 0))'::geometry, 6)));
 
-select '151', ST_MakeEnvelope(0, 0, 1, 1, 4326);
+select '151', encode(ST_AsBinary(ST_MakeEnvelope(0, 0, 1, 1, 4326),'ndr'),'hex');
 select '152', ST_SRID(ST_MakeEnvelope(0, 0, 1, 1, 4326));
 select '152.1', ST_SRID(ST_MakeEnvelope(0, 0, 1, 1)) = ST_SRID('POINT(0 0)'::geometry);
 select '152.2', ST_SRID(ST_SetSRID(ST_MakeEnvelope(0, 0, 1, 1), 4326));
@@ -259,7 +259,7 @@ select '158', ST_AsText(ST_CollectionExtract('GEOMETRYCOLLECTION(GEOMETRYCOLLECT
 select '159', ST_AsText(ST_CollectionExtract('GEOMETRYCOLLECTION(GEOMETRYCOLLECTION(LINESTRING(0 0, 1 1), POINT(1 1)),LINESTRING(2 2, 3 3))',3));
 select '160', ST_AsText(ST_CollectionExtract('GEOMETRYCOLLECTION(GEOMETRYCOLLECTION(LINESTRING(0 0, 1 1), POINT(1 1)),LINESTRING(2 2, 3 3))',1));
 select '161', ST_AsText(ST_CollectionExtract('GEOMETRYCOLLECTION(GEOMETRYCOLLECTION(LINESTRING(0 0, 1 1), GEOMETRYCOLLECTION(POINT(1 1))),LINESTRING(2 2, 3 3))',2));
-select '162', ST_MakeLine(ST_GeomFromText('POINT(-11.1111111 40)'),ST_GeomFromText('LINESTRING(-11.1111111 70,70 -11.1111111)')) As result;
+select '162', encode(ST_AsBinary(ST_MakeLine(ST_GeomFromText('POINT(-11.1111111 40)'),ST_GeomFromText('LINESTRING(-11.1111111 70,70 -11.1111111)')),'ndr'),'hex') As result;
 select '163', ST_AsEWKT('POLYGON((0 0 0, 1 0 0, 1 1 0, 0 1 0, 0 0 0))');
 select '164', ST_AsEWKT('POLYGON((0 0 0, 1 0 0, 1 1 0, 0 1 0, 0 0 1))');
 select '165', ST_AsEWKT('POLYGON((0 0 0, 1 0 0, 1 1 0, 0 1 0, 0 0.1 1))');
diff --git a/regress/regress_expected b/regress/regress_expected
index 6c409ad..4caabad 100644
--- a/regress/regress_expected
+++ b/regress/regress_expected
@@ -154,7 +154,7 @@ ERROR:  parse error - invalid geometry at character 23
 148|LINESTRING(0 0,5 0,10 0)
 149|GEOMETRYCOLLECTION EMPTY
 150|SRID=6;GEOMETRYCOLLECTION(POLYGON((0 0,1 0,1 1,0 1,0 0)))
-151|0103000020E61000000100000005000000000000000000000000000000000000000000000000000000000000000000F03F000000000000F03F000000000000F03F000000000000F03F000000000000000000000000000000000000000000000000
+151|01030000000100000005000000000000000000000000000000000000000000000000000000000000000000f03f000000000000f03f000000000000f03f000000000000f03f000000000000000000000000000000000000000000000000
 152|4326
 152.1|t
 152.2|4326
@@ -167,7 +167,7 @@ ERROR:  parse error - invalid geometry at character 23
 159|MULTIPOLYGON EMPTY
 160|MULTIPOINT(1 1)
 161|MULTILINESTRING((0 0,1 1),(2 2,3 3))
-162|010200000003000000F771D98DE33826C00000000000004440F771D98DE33826C000000000008051400000000000805140F771D98DE33826C0
+162|010200000003000000f771d98de33826c00000000000004440f771d98de33826c000000000008051400000000000805140f771d98de33826c0
 163|POLYGON((0 0 0,1 0 0,1 1 0,0 1 0,0 0 0))
 164|POLYGON((0 0 0,1 0 0,1 1 0,0 1 0,0 0 1))
 ERROR:  geometry contains non-closed rings
diff --git a/regress/regress_index_nulls.sql b/regress/regress_index_nulls.sql
index 7f19dde..b642d89 100644
--- a/regress/regress_index_nulls.sql
+++ b/regress/regress_index_nulls.sql
@@ -1,5 +1,5 @@
 \i regress_lots_of_nulls.sql
-
+SET client_min_messages TO NOTICE;
 
 CREATE INDEX "test_geom_idx" ON "test" using gist (the_geom);
 
diff --git a/regress/regress_ogc.sql b/regress/regress_ogc.sql
index 2b7b6f9..382d309 100644
--- a/regress/regress_ogc.sql
+++ b/regress/regress_ogc.sql
@@ -3,6 +3,7 @@
 ---
 ---
 -- Repeat all tests with new function names.
+SET client_min_messages TO NOTICE;
 SELECT 'buffer', ST_astext(ST_SnapToGrid(ST_buffer('POINT(0 0)', 1, 2), 1.0e-6));
 
 SELECT 'geomunion', ST_astext(ST_union('POINT(0 0)', 'POINT(1 1)'));
diff --git a/regress/run_test b/regress/run_test
index b85f9c8..8241684 100755
--- a/regress/run_test
+++ b/regress/run_test
@@ -33,7 +33,7 @@ ORIG_LANG=$LANG
 export LC_ALL=C
 export LANG=C
 
-PGOPTIONS="${PGOPTIONS} -c lc_messages=C"
+PGOPTIONS="${PGOPTIONS} -c lc_messages=C -c client_min_messages=NOTICE"
 export PGOPTIONS
 
 REGDIR=`dirname $0`
diff --git a/regress/run_test.pl b/regress/run_test.pl
index 6751a77..cf8a66f 100755
--- a/regress/run_test.pl
+++ b/regress/run_test.pl
@@ -76,7 +76,7 @@ $ENV{"LC_ALL"} = "C";
 $ENV{"LANG"} = "C";
 
 # Add locale info to the psql options
-my $PGOPTIONS = $ENV{"PGOPTIONS"} . " -c lc_messages=C";
+my $PGOPTIONS = $ENV{"PGOPTIONS"} . " -c lc_messages=C -c client_min_messages=NOTICE";
 $ENV{"PGOPTIONS"} = $PGOPTIONS;
 
 # Bring the path info in
@@ -553,7 +553,7 @@ sub run_simple_test
 	@lines = grep(!/^(INSERT|DELETE|UPDATE|SELECT)/, @lines);
 	@lines = grep(!/^(CONTEXT|RESET|ANALYZE)/, @lines);
 	@lines = grep(!/^(DROP|CREATE|VACUUM)/, @lines);
-	@lines = grep(!/^(SET|TRUNCATE)/, @lines);
+	@lines = grep(!/^(LOG|SET|TRUNCATE)/, @lines);
 	@lines = grep(!/^LINE \d/, @lines);
 	@lines = grep(!/^\s+$/, @lines);
 
diff --git a/regress/sql-mm-compoundcurve.sql b/regress/sql-mm-compoundcurve.sql
index f13d3a8..53c9642 100644
--- a/regress/sql-mm-compoundcurve.sql
+++ b/regress/sql-mm-compoundcurve.sql
@@ -303,11 +303,11 @@ SELECT DropGeometryColumn('public', 'compoundcurve', 'the_geom_3dm');
 SELECT DropGeometryColumn('public', 'compoundcurve', 'the_geom_2d');
 DROP TABLE public.compoundcurve;
 
-SELECT 'valid wkt compound curve 1', ST_GeomFromEWKT('COMPOUNDCURVE((153.72942375 -27.21757040, 152.29285719 -29.23940482, 154.74034096 -30.51635287),(154.74034096 -30.51635287, 152.39926953 -32.16574411, 155.11278414 -34.08116619, 151.86720784 -35.62414508))');
-SELECT 'valid wkt compound curve 2', ST_GeomFromEWKT('COMPOUNDCURVE((153.72942375 -27.21757040, 152.29285719 -29.23940482, 154.74034096 -30.51635287, 152.39926953 -32.16574411, 155.11278414 -34.08116619, 151.86720784 -35.62414508))');
-SELECT 'valid wkt compound curve 3', ST_GeomFromEWKT('COMPOUNDCURVE((151.60117699 -27.32398274, 151.22873381 -35.94338210, 150.74987829 -27.80283826))');
-SELECT 'valid wkt compound curve 4', ST_GeomFromEWKT('COMPOUNDCURVE((153.72942375 -27.21757040, 152.29285719 -29.23940482, 154.74034096 -30.51635287),CIRCULARSTRING(154.74034096 -30.51635287, 154.74034096 -30.51635287, 152.39926953 -32.16574411, 155.11278414 -34.08116619, 151.86720784 -35.62414508))');
-SELECT 'valid wkt compound curve 5', ST_GeomFromEWKT('COMPOUNDCURVE(CIRCULARSTRING(157.87950492 -27.59001358, 156.01728901 -28.28169378, 155.59163966 -26.52589021),(155.59163966 -26.52589021, 153.72942375 -27.21757040, 152.29285719 -29.23940482, 154.74034096 -30.51635287),CIRCULARSTRING(154.74034096 -30.51635287, 154.74034096 -30.51635287, 152.39926953 -32.16574411, 155.11278414 -34.08116619, 151.86720784 -35.62414508))');
+SELECT 'valid wkt compound curve 1', encode(ST_AsBinary(ST_GeomFromEWKT('COMPOUNDCURVE((153.72942375 -27.21757040, 152.29285719 -29.23940482, 154.74034096 -30.51635287),(154.74034096 -30.51635287, 152.39926953 -32.16574411, 155.11278414 -34.08116619, 151.86720784 -35.62414508))'),'ndr'),'hex');
+SELECT 'valid wkt compound curve 2', encode(ST_AsBinary(ST_GeomFromEWKT('COMPOUNDCURVE((153.72942375 -27.21757040, 152.29285719 -29.23940482, 154.74034096 -30.51635287, 152.39926953 -32.16574411, 155.11278414 -34.08116619, 151.86720784 -35.62414508))'),'ndr'),'hex');
+SELECT 'valid wkt compound curve 3', encode(ST_AsBinary(ST_GeomFromEWKT('COMPOUNDCURVE((151.60117699 -27.32398274, 151.22873381 -35.94338210, 150.74987829 -27.80283826))'),'ndr'),'hex');
+SELECT 'valid wkt compound curve 4', encode(ST_AsBinary(ST_GeomFromEWKT('COMPOUNDCURVE((153.72942375 -27.21757040, 152.29285719 -29.23940482, 154.74034096 -30.51635287),CIRCULARSTRING(154.74034096 -30.51635287, 154.74034096 -30.51635287, 152.39926953 -32.16574411, 155.11278414 -34.08116619, 151.86720784 -35.62414508))'),'ndr'),'hex');
+SELECT 'valid wkt compound curve 5', encode(ST_AsBinary(ST_GeomFromEWKT('COMPOUNDCURVE(CIRCULARSTRING(157.87950492 -27.59001358, 156.01728901 -28.28169378, 155.59163966 -26.52589021),(155.59163966 -26.52589021, 153.72942375 -27.21757040, 152.29285719 -29.23940482, 154.74034096 -30.51635287),CIRCULARSTRING(154.74034096 -30.51635287, 154.74034096 -30.51635287, 152.39926953 -32.16574411, 155.11278414 -34.08116619, 151.86720784 -35.62414508))'),'ndr'),'hex');
 SELECT 'invalid wkt compound curve 1', ST_GeomFromEWKT('COMPOUNDCURVE((153.72942375 -27.21757040, 152.29285719 -29.23940482, 154.74034096 -30.51635287),(152.39926953 -32.16574411, 155.11278414 -34.08116619, 151.86720784 -35.62414508))');
 SELECT 'invalid wkt compound curve 2', ST_GeomFromEWKT('COMPOUNDCURVE((153.72942375 -27.21757040, 152.29285719 -29.23940482),CIRCULARSTRING(154.74034096 -30.51635287, 154.74034096 -30.51635287, 152.39926953 -32.16574411, 155.11278414 -34.08116619, 151.86720784 -35.62414508))');
 SELECT 'invalid wkt compound curve 3', ST_GeomFromEWKT('COMPOUNDCURVE(CIRCULARSTRING(157.87950492 -27.59001358, 156.01728901 -28.28169378, 155.59163966 -26.52589021, 153.72942375 -27.21757040),(153.72942375 -27.21757040, 152.29285719 -29.23940482),CIRCULARSTRING(154.74034096 -30.51635287, 154.74034096 -30.51635287, 152.39926953 -32.16574411, 155.11278414 -34.08116619, 151.86720784 -35.62414508))');
@@ -317,8 +317,8 @@ SELECT 'valid wkb compound curve 3', ST_asEWKT(ST_GeomFromEWKB(decode('010900000
 SELECT 'valid wkb compound curve 4', ST_asEWKT(ST_GeomFromEWKB(decode('0109000000020000000102000000030000009FE5797057376340E09398B1B2373BC05AAE0A165F0963409F6760A2493D3DC0DB6286DFB057634082D8A1B32F843EC0010800000005000000DB6286DFB057634082D8A1B32F843EC0DB6286DFB057634082D8A1B32F843EC075B4E4D0C60C634031FA5D1A371540C0D7197CED9B636340A3CB59A7630A41C050F4A72AC0FB6240974769FCE3CF41C0', 'hex')));
 SELECT 'valid wkb compound curve 5', ST_asEWKT(ST_GeomFromEWKB(decode('010900000003000000010800000003000000468280E724BC6340BF4B46210B973BC0F890AEA18D8063402D9664151D483CC0EED64BB6EE726340903CA5BDA0863AC0010200000004000000EED64BB6EE726340903CA5BDA0863AC09FE5797057376340E09398B1B2373BC05AAE0A165F0963409F6760A2493D3DC0DB6286DFB057634082D8A1B32F843EC0010800000005000000DB6286DFB057634082D8A1B32F843EC0DB6286DFB057634082D8A1B32F843EC075B4E4D0C60C634031FA5D1A371540C0D7197CED9B636340A3CB59A7630A41C050F4A72AC0FB6240974769FCE3CF41C0', 'hex')));
 SELECT 'null response', ST_NumPoints(ST_GeomFromEWKT('COMPOUNDCURVE(CIRCULARSTRING(0 0,2 0, 2 1, 2 3, 4 3),(4 3, 4 5, 1 4, 0 0))'));
-SELECT 'minpoints issues - pass', ST_GeomFromText('COMPOUNDCURVE((0 0,1 1))');
-SELECT 'minpoints issues - pass', ST_GeomFromText('COMPOUNDCURVE(CIRCULARSTRING(0 0,0 1,1 1))');
+SELECT 'minpoints issues - pass', encode(ST_AsBinary(ST_GeomFromText('COMPOUNDCURVE((0 0,1 1))'),'ndr'),'hex');
+SELECT 'minpoints issues - pass', encode(ST_AsBinary(ST_GeomFromText('COMPOUNDCURVE(CIRCULARSTRING(0 0,0 1,1 1))'),'ndr'),'hex');
 SELECT 'minpoints issues - fail', ST_GeomFromText('COMPOUNDCURVE(CIRCULARSTRING(0 0,1 1))');
 SELECT 'minpoints issues - fail', ST_GeomFromText('COMPOUNDCURVE(CIRCULARSTRING(0 0))');
 SELECT 'minpoints issues - fail', ST_GeomFromText('COMPOUNDCURVE((0 0),(0 0,1 1))');
diff --git a/regress/sql-mm-compoundcurve_expected b/regress/sql-mm-compoundcurve_expected
index 832338d..6d535db 100644
--- a/regress/sql-mm-compoundcurve_expected
+++ b/regress/sql-mm-compoundcurve_expected
@@ -66,11 +66,11 @@ public.compoundcurve.the_geom_4d effectively removed.
 public.compoundcurve.the_geom_3dz effectively removed.
 public.compoundcurve.the_geom_3dm effectively removed.
 public.compoundcurve.the_geom_2d effectively removed.
-valid wkt compound curve 1|0109000000020000000102000000030000009FE5797057376340E09398B1B2373BC05AAE0A165F0963409F6760A2493D3DC0DB6286DFB057634082D8A1B32F843EC0010200000004000000DB6286DFB057634082D8A1B32F843EC075B4E4D0C60C634031FA5D1A371540C0D7197CED9B636340A3CB59A7630A41C050F4A72AC0FB6240974769FCE3CF41C0
-valid wkt compound curve 2|0109000000010000000102000000060000009FE5797057376340E09398B1B2373BC05AAE0A165F0963409F6760A2493D3DC0DB6286DFB057634082D8A1B32F843EC075B4E4D0C60C634031FA5D1A371540C0D7197CED9B636340A3CB59A7630A41C050F4A72AC0FB6240974769FCE3CF41C0
-valid wkt compound curve 3|0109000000010000000102000000030000000CE586D73CF36240BBC46888F0523BC0102E91C951E76240DF90A1BEC0F841C0F970C100FFD7624074ADE6CE86CD3BC0
-valid wkt compound curve 4|0109000000020000000102000000030000009FE5797057376340E09398B1B2373BC05AAE0A165F0963409F6760A2493D3DC0DB6286DFB057634082D8A1B32F843EC0010800000005000000DB6286DFB057634082D8A1B32F843EC0DB6286DFB057634082D8A1B32F843EC075B4E4D0C60C634031FA5D1A371540C0D7197CED9B636340A3CB59A7630A41C050F4A72AC0FB6240974769FCE3CF41C0
-valid wkt compound curve 5|010900000003000000010800000003000000468280E724BC6340BF4B46210B973BC0F890AEA18D8063402D9664151D483CC0EED64BB6EE726340903CA5BDA0863AC0010200000004000000EED64BB6EE726340903CA5BDA0863AC09FE5797057376340E09398B1B2373BC05AAE0A165F0963409F6760A2493D3DC0DB6286DFB057634082D8A1B32F843EC0010800000005000000DB6286DFB057634082D8A1B32F843EC0DB6286DFB057634082D8A1B32F843EC075B4E4D0C60C634031FA5D1A371540C0D7197CED9B636340A3CB59A7630A41C050F4A72AC0FB6240974769FCE3CF41C0
+valid wkt compound curve 1|0109000000020000000102000000030000009fe5797057376340e09398b1b2373bc05aae0a165f0963409f6760a2493d3dc0db6286dfb057634082d8a1b32f843ec0010200000004000000db6286dfb057634082d8a1b32f843ec075b4e4d0c60c634031fa5d1a371540c0d7197ced9b636340a3cb59a7630a41c050f4a72ac0fb6240974769fce3cf41c0
+valid wkt compound curve 2|0109000000010000000102000000060000009fe5797057376340e09398b1b2373bc05aae0a165f0963409f6760a2493d3dc0db6286dfb057634082d8a1b32f843ec075b4e4d0c60c634031fa5d1a371540c0d7197ced9b636340a3cb59a7630a41c050f4a72ac0fb6240974769fce3cf41c0
+valid wkt compound curve 3|0109000000010000000102000000030000000ce586d73cf36240bbc46888f0523bc0102e91c951e76240df90a1bec0f841c0f970c100ffd7624074ade6ce86cd3bc0
+valid wkt compound curve 4|0109000000020000000102000000030000009fe5797057376340e09398b1b2373bc05aae0a165f0963409f6760a2493d3dc0db6286dfb057634082d8a1b32f843ec0010800000005000000db6286dfb057634082d8a1b32f843ec0db6286dfb057634082d8a1b32f843ec075b4e4d0c60c634031fa5d1a371540c0d7197ced9b636340a3cb59a7630a41c050f4a72ac0fb6240974769fce3cf41c0
+valid wkt compound curve 5|010900000003000000010800000003000000468280e724bc6340bf4b46210b973bc0f890aea18d8063402d9664151d483cc0eed64bb6ee726340903ca5bda0863ac0010200000004000000eed64bb6ee726340903ca5bda0863ac09fe5797057376340e09398b1b2373bc05aae0a165f0963409f6760a2493d3dc0db6286dfb057634082d8a1b32f843ec0010800000005000000db6286dfb057634082d8a1b32f843ec0db6286dfb057634082d8a1b32f843ec075b4e4d0c60c634031fa5d1a371540c0d7197ced9b636340a3cb59a7630a41c050f4a72ac0fb6240974769fce3cf41c0
 ERROR:  incontinuous compound curve
 ERROR:  incontinuous compound curve
 ERROR:  geometry must have an odd number of points
@@ -80,8 +80,8 @@ valid wkb compound curve 3|COMPOUNDCURVE((151.60117699 -27.32398274,151.22873381
 valid wkb compound curve 4|COMPOUNDCURVE((153.72942375 -27.2175704,152.29285719 -29.23940482,154.74034096 -30.51635287),CIRCULARSTRING(154.74034096 -30.51635287,154.74034096 -30.51635287,152.39926953 -32.16574411,155.11278414 -34.08116619,151.86720784 -35.62414508))
 valid wkb compound curve 5|COMPOUNDCURVE(CIRCULARSTRING(157.87950492 -27.59001358,156.01728901 -28.28169378,155.59163966 -26.52589021),(155.59163966 -26.52589021,153.72942375 -27.2175704,152.29285719 -29.23940482,154.74034096 -30.51635287),CIRCULARSTRING(154.74034096 -30.51635287,154.74034096 -30.51635287,152.39926953 -32.16574411,155.11278414 -34.08116619,151.86720784 -35.62414508))
 null response|
-minpoints issues - pass|01090000000100000001020000000200000000000000000000000000000000000000000000000000F03F000000000000F03F
-minpoints issues - pass|010900000001000000010800000003000000000000000000000000000000000000000000000000000000000000000000F03F000000000000F03F000000000000F03F
+minpoints issues - pass|01090000000100000001020000000200000000000000000000000000000000000000000000000000f03f000000000000f03f
+minpoints issues - pass|010900000001000000010800000003000000000000000000000000000000000000000000000000000000000000000000f03f000000000000f03f000000000000f03f
 ERROR:  geometry requires more points
 ERROR:  geometry requires more points
 ERROR:  geometry requires more points
diff --git a/regress/sql-mm-curvepoly.sql b/regress/sql-mm-curvepoly.sql
index fa04dc1..4e8dae6 100644
--- a/regress/sql-mm-curvepoly.sql
+++ b/regress/sql-mm-curvepoly.sql
@@ -317,12 +317,12 @@ SELECT DropGeometryColumn('public', 'curvepolygon', 'the_geom_3dz');
 SELECT DropGeometryColumn('public', 'curvepolygon', 'the_geom_4d');
 DROP TABLE public.curvepolygon;
 
-SELECT 'valid wkt curve polygon 1', ST_GeomFromEWKT('CURVEPOLYGON((143.62025166838282 -30.037497356076827, 142.92857147299705 -32.75101196874403, 145.96132309891922 -34.985671061528784, 149.57565307617188 -33.41153335571289, 149.41972407584802 -29.824672680573517, 146.1209416055467 -30.19711586270431, 143.62025166838282 -30.037497356076827))');
-SELECT 'valid wkt curve polygon 2', ST_GeomFromEWKT('CURVEPOLYGON((143.62025166838282 -30.037497356076827, 142.92857147299705 -32.75101196874403, 145.96132309891922 -34.985671061528784, 149.57565307617188 -33.41153335571289, 149.41972407584802 -29.824672680573517, 146.1209416055467 -30.19711586270431, 143.62025166838282 -30.037497356076827),(144.84399355252685 -31.26123924022086, 144.20551952601693 -32.27215644886158, 145.55230712890625 -33.49203872680664, 147.97080993652344 -32.03618621826172, 146.38697244992585 -31.47406391572417, 144.84399355252685 -31.26123924022086))');
-SELECT 'valid wkt curve polygon 3', ST_GeomFromEWKT('CURVEPOLYGON(CIRCULARSTRING(143.62025166838282 -30.037497356076827, 142.92857147299705 -32.75101196874403, 145.96132309891922 -34.985671061528784, 149.57565307617188 -33.41153335571289, 149.41972407584802 -29.824672680573517, 146.1209416055467 -30.19711586270431, 143.62025166838282 -30.037497356076827))');
+SELECT 'valid wkt curve polygon 1', encode(ST_AsBinary(ST_GeomFromEWKT('CURVEPOLYGON((143.62025166838282 -30.037497356076827, 142.92857147299705 -32.75101196874403, 145.96132309891922 -34.985671061528784, 149.57565307617188 -33.41153335571289, 149.41972407584802 -29.824672680573517, 146.1209416055467 -30.19711586270431, 143.62025166838282 -30.037497356076827))'),'ndr'),'hex');
+SELECT 'valid wkt curve polygon 2', encode(ST_AsBinary(ST_GeomFromEWKT('CURVEPOLYGON((143.62025166838282 -30.037497356076827, 142.92857147299705 -32.75101196874403, 145.96132309891922 -34.985671061528784, 149.57565307617188 -33.41153335571289, 149.41972407584802 -29.824672680573517, 146.1209416055467 -30.19711586270431, 143.62025166838282 -30.037497356076827),(144.84399355252685 -31.26123924022086, 144.20551952601693 -32.27215644886158, 145.55230712890625 -33.49203872680664, 147.97080993652344 -32.03618621826172, 146.38697244992585 -31.47406391572417, 144.84399355252685 -31.26123924022086))'),'ndr'),'hex');
+SELECT 'valid wkt curve polygon 3', encode(ST_AsBinary(ST_GeomFromEWKT('CURVEPOLYGON(CIRCULARSTRING(143.62025166838282 -30.037497356076827, 142.92857147299705 -32.75101196874403, 145.96132309891922 -34.985671061528784, 149.57565307617188 -33.41153335571289, 149.41972407584802 -29.824672680573517, 146.1209416055467 -30.19711586270431, 143.62025166838282 -30.037497356076827))'),'ndr'),'hex');
 SELECT 'valid wkt curve polygon 4',
-  ST_GeomFromEWKT('CURVEPOLYGON(CIRCULARSTRING(143.62025166838282 -30.037497356076827, 142.92857147299705 -32.75101196874403, 145.96132309891922 -34.985671061528784, 149.57565307617188 -33.41153335571289, 149.41972407584802 -29.824672680573517, 146.1209416055467 -30.19711586270431, 143.62025166838282 -30.037497356076827),(144.84399355252685 -31.26123924022086, 144.20551952601693 -32.27215644886158, 145.55230712890625 -33.49203872680664, 147.97080993652344 -32.03618621826172, 146.38697244992585 -31.47406391572417, 144.84399355252685 -31.26123924022086))');
-SELECT 'valid wkt curve polygon 5', ST_GeomFromEWKT('CURVEPOLYGON((143.62025166838282 -30.037497356076827, 142.92857147299705 -32.75101196874403, 145.96132309891922 -34.985671061528784, 149.57565307617188 -33.41153335571289, 149.41972407584802 -29.824672680573517, 146.1209416055467 -30.19711586270431, 143.62025166838282 -30.037497356076827),COMPOUNDCURVE(CIRCULARSTRING(144.84399355252685 -31.26123924022086, 144.20551952601693 -32.27215644886158, 145.55230712890625 -33.49203872680664), (145.55230712890625 -33.49203872680664, 147.97080993652344 -32.03618621826172),CIRCULARSTRING(147.97080993652344 -32.03618621826172, 146.38697244992585 -31.47406391572417, 144.84399355252685 -31.26123924022086)))');
+  encode(ST_AsBinary(ST_GeomFromEWKT('CURVEPOLYGON(CIRCULARSTRING(143.62025166838282 -30.037497356076827, 142.92857147299705 -32.75101196874403, 145.96132309891922 -34.985671061528784, 149.57565307617188 -33.41153335571289, 149.41972407584802 -29.824672680573517, 146.1209416055467 -30.19711586270431, 143.62025166838282 -30.037497356076827),(144.84399355252685 -31.26123924022086, 144.20551952601693 -32.27215644886158, 145.55230712890625 -33.49203872680664, 147.97080993652344 -32.03618621826172, 146.38697244992585 -31.47406391572417, 144.84399355252685 -31.26123924022086))'),'ndr'),'hex');
+SELECT 'valid wkt curve polygon 5', encode(ST_AsBinary(ST_GeomFromEWKT('CURVEPOLYGON((143.62025166838282 -30.037497356076827, 142.92857147299705 -32.75101196874403, 145.96132309891922 -34.985671061528784, 149.57565307617188 -33.41153335571289, 149.41972407584802 -29.824672680573517, 146.1209416055467 -30.19711586270431, 143.62025166838282 -30.037497356076827),COMPOUNDCURVE(CIRCULARSTRING(144.84399355252685 -31.26123924022086, 144.20551952601693 -32.27215644886158, 145.55230712890625 -33.49203872680664), (145.55230712890625 -33.49203872680664, 147.97080993652344 -32.03618621826172),CIRCULARSTRING(147.97080993652344 -32.03618621826172, 146.38697244992585 -31.47406391572417, 144.84399355252685 -31.26123924022086)))'),'ndr'),'hex');
 SELECT 'invalid wkt curve polygon 4', ST_GeomFromEWKT('CURVEPOLYGON((143.62025166838282 -30.037497356076827, 142.92857147299705 -32.75101196874403, 145.96132309891922 -34.985671061528784, 149.57565307617188 -33.41153335571289, 149.41972407584802 -29.824672680573517, 146.1209416055467 -30.19711586270431, 143.62025166838282 -30.037497356076))');
 SELECT 'invalid wkt curve polygon 5', ST_GeomFromEWKT('CURVEPOLYGON((143.62025166838282 -30.037497356076827, 142.92857147299705 -32.75101196874403, 145.96132309891922 -34.985671061528784, 149.57565307617188 -33.41153335571289, 149.41972407584802 -29.824672680573517, 146.1209416055467 -30.19711586270431, 143.62025166838282 -30.037497356076827),(144.84399355252685 -31.26123924022086, 144.20551952601693 -32.27215644886158, 145.55230712890625 -33.49203872680664, 147.97080993652344 -32.03618621826172, 146.38697244992585 -31.47406391572417))');
 SELECT 'invalid wkt curve polygon 6', ST_GeomFromEWKT('CURVEPOLYGON((143.62025166838282 -30.037497356076827, 142.92857147299705 -32.75101196874403, 145.96132309891922 -34.985671061528784, 149.57565307617188 -33.41153335571289, 149.41972407584802 -29.824672680573517, 146.1209416055467 -30.19711586270431),(144.84399355252685 -31.26123924022086, 144.20551952601693 -32.27215644886158, 145.55230712890625 -33.49203872680664, 147.97080993652344 -32.03618621826172, 146.38697244992585 -31.47406391572417, 144.84399355252685 -31.26123924022086))');
diff --git a/regress/sql-mm-curvepoly_expected b/regress/sql-mm-curvepoly_expected
index 3ef31d5..5c75152 100644
--- a/regress/sql-mm-curvepoly_expected
+++ b/regress/sql-mm-curvepoly_expected
@@ -71,11 +71,11 @@ public.curvepolygon.the_geom_2d effectively removed.
 public.curvepolygon.the_geom_3dm effectively removed.
 public.curvepolygon.the_geom_3dz effectively removed.
 public.curvepolygon.the_geom_4d effectively removed.
-valid wkt curve polygon 1|010A00000001000000010200000007000000CCDF061AD9F3614054093E6D99093EC0AB9085DBB6DD614081540229216040C0EBD7A828C33E62409BF026782A7E41C0000000C06BB2624000000020ADB440C08E632F616EAD6240C9F7B0BF1DD33DC09011EEC0DE4362407DD6672F76323EC0CCDF061AD9F3614054093E6D99093EC0
-valid wkt curve polygon 2|010A00000002000000010200000007000000CCDF061AD9F3614054093E6D99093EC0AB9085DBB6DD614081540229216040C0EBD7A828C33E62409BF026782A7E41C0000000C06BB2624000000020ADB440C08E632F616EAD6240C9F7B0BF1DD33DC09011EEC0DE4362407DD6672F76323EC0CCDF061AD9F3614054093E6D99093EC00102000000060000006844C4FE011B6240342E2993E0423FC0D45DAF9D93066240C4A0C305D62240C000000080AC31624000000020FBBE40C0000000E0107F6240000000C0A10440C04E1C0C14624C6240BF3FB6405C793FC06844C4FE011B6240342E2993E0423FC0
-valid wkt curve polygon 3|010A00000001000000010800000007000000CCDF061AD9F3614054093E6D99093EC0AB9085DBB6DD614081540229216040C0EBD7A828C33E62409BF026782A7E41C0000000C06BB2624000000020ADB440C08E632F616EAD6240C9F7B0BF1DD33DC09011EEC0DE4362407DD6672F76323EC0CCDF061AD9F3614054093E6D99093EC0
-valid wkt curve polygon 4|010A00000002000000010800000007000000CCDF061AD9F3614054093E6D99093EC0AB9085DBB6DD614081540229216040C0EBD7A828C33E62409BF026782A7E41C0000000C06BB2624000000020ADB440C08E632F616EAD6240C9F7B0BF1DD33DC09011EEC0DE4362407DD6672F76323EC0CCDF061AD9F3614054093E6D99093EC00102000000060000006844C4FE011B6240342E2993E0423FC0D45DAF9D93066240C4A0C305D62240C000000080AC31624000000020FBBE40C0000000E0107F6240000000C0A10440C04E1C0C14624C6240BF3FB6405C793FC06844C4FE011B6240342E2993E0423FC0
-valid wkt curve polygon 5|010A00000002000000010200000007000000CCDF061AD9F3614054093E6D99093EC0AB9085DBB6DD614081540229216040C0EBD7A828C33E62409BF026782A7E41C0000000C06BB2624000000020ADB440C08E632F616EAD6240C9F7B0BF1DD33DC09011EEC0DE4362407DD6672F76323EC0CCDF061AD9F3614054093E6D99093EC00109000000030000000108000000030000006844C4FE011B6240342E2993E0423FC0D45DAF9D93066240C4A0C305D62240C000000080AC31624000000020FBBE40C001020000000200000000000080AC31624000000020FBBE40C0000000E0107F6240000000C0A10440C0010800000003000000000000E0107F6240000000C0A10440C04E1C0C14624C6240BF3FB6405C793FC06844C4FE011B6240342E2993E0423FC0
+valid wkt curve polygon 1|010a00000001000000010200000007000000ccdf061ad9f3614054093e6d99093ec0ab9085dbb6dd614081540229216040c0ebd7a828c33e62409bf026782a7e41c0000000c06bb2624000000020adb440c08e632f616ead6240c9f7b0bf1dd33dc09011eec0de4362407dd6672f76323ec0ccdf061ad9f3614054093e6d99093ec0
+valid wkt curve polygon 2|010a00000002000000010200000007000000ccdf061ad9f3614054093e6d99093ec0ab9085dbb6dd614081540229216040c0ebd7a828c33e62409bf026782a7e41c0000000c06bb2624000000020adb440c08e632f616ead6240c9f7b0bf1dd33dc09011eec0de4362407dd6672f76323ec0ccdf061ad9f3614054093e6d99093ec00102000000060000006844c4fe011b6240342e2993e0423fc0d45daf9d93066240c4a0c305d62240c000000080ac31624000000020fbbe40c0000000e0107f6240000000c0a10440c04e1c0c14624c6240bf3fb6405c793fc06844c4fe011b6240342e2993e0423fc0
+valid wkt curve polygon 3|010a00000001000000010800000007000000ccdf061ad9f3614054093e6d99093ec0ab9085dbb6dd614081540229216040c0ebd7a828c33e62409bf026782a7e41c0000000c06bb2624000000020adb440c08e632f616ead6240c9f7b0bf1dd33dc09011eec0de4362407dd6672f76323ec0ccdf061ad9f3614054093e6d99093ec0
+valid wkt curve polygon 4|010a00000002000000010800000007000000ccdf061ad9f3614054093e6d99093ec0ab9085dbb6dd614081540229216040c0ebd7a828c33e62409bf026782a7e41c0000000c06bb2624000000020adb440c08e632f616ead6240c9f7b0bf1dd33dc09011eec0de4362407dd6672f76323ec0ccdf061ad9f3614054093e6d99093ec00102000000060000006844c4fe011b6240342e2993e0423fc0d45daf9d93066240c4a0c305d62240c000000080ac31624000000020fbbe40c0000000e0107f6240000000c0a10440c04e1c0c14624c6240bf3fb6405c793fc06844c4fe011b6240342e2993e0423fc0
+valid wkt curve polygon 5|010a00000002000000010200000007000000ccdf061ad9f3614054093e6d99093ec0ab9085dbb6dd614081540229216040c0ebd7a828c33e62409bf026782a7e41c0000000c06bb2624000000020adb440c08e632f616ead6240c9f7b0bf1dd33dc09011eec0de4362407dd6672f76323ec0ccdf061ad9f3614054093e6d99093ec00109000000030000000108000000030000006844c4fe011b6240342e2993e0423fc0d45daf9d93066240c4a0c305d62240c000000080ac31624000000020fbbe40c001020000000200000000000080ac31624000000020fbbe40c0000000e0107f6240000000c0a10440c0010800000003000000000000e0107f6240000000c0a10440c04e1c0c14624c6240bf3fb6405c793fc06844c4fe011b6240342e2993e0423fc0
 ERROR:  geometry contains non-closed rings
 ERROR:  geometry contains non-closed rings
 ERROR:  geometry contains non-closed rings
diff --git a/regress/summary_expected b/regress/summary_expected
index 1a2c485..7c2f793 100644
--- a/regress/summary_expected
+++ b/regress/summary_expected
@@ -9,7 +9,7 @@ T1ZMBS|Point[ZMBS]
 T3|MultiPoint[B] with 1 elements
   Point[]
 T4|MultiPoint[BS] with 1 elements
-  Point[]
+  Point[S]
 T5|GeometryCollection[B] with 2 elements
   MultiLineString[] with 2 elements
     LineString[] with 2 points
@@ -17,8 +17,8 @@ T5|GeometryCollection[B] with 2 elements
   MultiPoint[] with 1 elements
     Point[]
 T6|GeometryCollection[BS] with 2 elements
-  MultiLineString[] with 2 elements
-    LineString[] with 2 points
-    LineString[] with 2 points
-  MultiPoint[] with 1 elements
-    Point[]
+  MultiLineString[S] with 2 elements
+    LineString[S] with 2 points
+    LineString[S] with 2 points
+  MultiPoint[S] with 1 elements
+    Point[S]
diff --git a/regress/tickets.sql b/regress/tickets.sql
index 48bedd7..b18cc64 100644
--- a/regress/tickets.sql
+++ b/regress/tickets.sql
@@ -2,7 +2,7 @@
 -- Regression tests that were filed as cases in bug tickets,
 -- referenced by bug number for historical interest.
 --
-
+SET client_min_messages TO NOTICE;
 -- NOTE: some tests _require_ spatial_ref_sys entries.
 -- In particular, the GML output ones want auth_name and auth_srid too,
 -- so we provide one for EPSG:4326
@@ -99,7 +99,7 @@ SELECT '#124a', ST_AsText(ST_GeomFromEWKT('COMPOUNDCURVE(CIRCULARSTRING(0 0,1 1,
 SELECT '#124b', ST_AsText(ST_GeomFromEWKT('COMPOUNDCURVE(CIRCULARSTRING(0 0,1 1,1 0),(1 0,30 6),CIRCULARSTRING(30 5,34 56,67 89))'));
 
 -- #145 --
-SELECT '#145a', ST_Buffer(ST_GeomFromText('LINESTRING(-116.93414544665981 34.16033385105459,-116.87777514700957 34.10831080544884,-116.86972224705954 34.086748622072776,-116.9327074288116 34.08458099517253,-117.00216369088065 34.130329331330216,-117.00216369088065 34.130329331330216)', 4326), 0);
+SELECT '#145a', encode(ST_AsEWKB(ST_Buffer(ST_GeomFromText('LINESTRING(-116.93414544665981 34.16033385105459,-116.87777514700957 34.10831080544884,-116.86972224705954 34.086748622072776,-116.9327074288116 34.08458099517253,-117.00216369088065 34.130329331330216,-117.00216369088065 34.130329331330216)', 4326), 0),'ndr'),'hex');
 SELECT '#145b', ST_Area(ST_Buffer(ST_GeomFromText('LINESTRING(-116.93414544665981 34.16033385105459,-116.87777514700957 34.10831080544884,-116.86972224705954 34.086748622072776,-116.9327074288116 34.08458099517253,-117.00216369088065 34.130329331330216,-117.00216369088065 34.130329331330216)', 4326), 0));
 
 -- #146 --
@@ -163,7 +163,7 @@ SELECT '#241', sum(ST_LineCrossingDirection(the_geom, ST_GeomFromText('LINESTRIN
 DROP TABLE c;
 
 -- #254 --
-SELECT '#254', ST_Segmentize(ST_GeomFromText('GEOMETRYCOLLECTION EMPTY'), 0.5);
+SELECT '#254', encode(ST_AsEWKB(ST_Segmentize(ST_GeomFromText('GEOMETRYCOLLECTION EMPTY'), 0.5),'ndr'),'hex');
 
 -- #259 --
 SELECT '#259', ST_Distance(ST_GeographyFromText('SRID=4326;POLYGON EMPTY'), ST_GeographyFromText('SRID=4326;POINT(1 2)'));
@@ -328,7 +328,7 @@ SELECT '#667', ST_AsEWKT(ST_LineToCurve(ST_Buffer(ST_SetSRID(ST_Point(i,j),4326)
 SELECT '#677',round(ST_Distance_Spheroid(ST_GeomFromEWKT('MULTIPOLYGON(((-10 40,-10 55,-10 70,5 40,-10 40)))'), ST_GeomFromEWKT('MULTIPOINT(20 40,20 55,20 70,35 40,35 55,35 70,50 40,50 55,50 70)'), 'SPHEROID["GRS_1980",6378137,298.257222101]')) As result;
 
 -- #680 --
-SELECT '#680', encode(ST_AsBinary(geography(foo1.the_geom)),'hex') As result FROM ((SELECT ST_SetSRID(ST_MakePointM(i,j,m),4326) As the_geom FROM generate_series(-10,50,10) As i CROSS JOIN generate_series(50,70, 20) AS j CROSS JOIN generate_series(1,2) As m ORDER BY i, j, i*j*m)) As foo1 LIMIT 1;
+SELECT '#680', encode(ST_AsBinary(geography(foo1.the_geom),'ndr'),'hex') As result FROM ((SELECT ST_SetSRID(ST_MakePointM(i,j,m),4326) As the_geom FROM generate_series(-10,50,10) As i CROSS JOIN generate_series(50,70, 20) AS j CROSS JOIN generate_series(1,2) As m ORDER BY i, j, i*j*m)) As foo1 LIMIT 1;
 
 -- #681 --
 SELECT '#681a', ST_AsGML(ST_GeomFromText('POINT EMPTY', 4326));
@@ -341,20 +341,20 @@ SELECT '#681g', ST_AsGML(ST_GeomFromText('GEOMETRYCOLLECTION EMPTY', 4326));
 
 
 -- #682 --
-SELECT '#682', ST_Buffer(ST_GeomFromText('POLYGON EMPTY',4326) , 0.5);
+SELECT '#682', encode(ST_AsEWKB(ST_Buffer(ST_GeomFromText('POLYGON EMPTY',4326) , 0.5), 'ndr'),'hex');
 
 -- #683 --
-SELECT '#683', ST_BuildArea(ST_GeomFromText('POINT EMPTY',4326));
+SELECT '#683', encode(ST_AsEWKB(ST_BuildArea(ST_GeomFromText('POINT EMPTY',4326)),'ndr'),'hex');
 
 -- #684,#2109 --
 SELECT '#684,#2109', ST_AsEWKT(ST_Centroid(ST_GeomFromText('POLYGON EMPTY',4326)));
 SELECT '#2109', ST_AsEWKT(ST_Centroid(ST_GeomFromText('MULTILINESTRING ZM EMPTY',3395)));
 
 -- #685 --
-SELECT '#685', ST_ConvexHull(ST_GeomFromText('POLYGON EMPTY',4326));
+SELECT '#685', encode(ST_AsEWKB(ST_ConvexHull(ST_GeomFromText('POLYGON EMPTY',4326)),'ndr'),'hex');
 
 -- #686 --
-SELECT '#686', ST_COLLECT(ST_GeomFromText('POLYGON EMPTY',4326),ST_GeomFromText('TRIANGLE EMPTY',4326));
+SELECT '#686', encode(ST_AsEWKB(ST_COLLECT(ST_GeomFromText('POLYGON EMPTY',4326),ST_GeomFromText('TRIANGLE EMPTY',4326)),'ndr'),'hex');
 
 -- #687 --
 SELECT '#687', ST_DFullyWithin(ST_GeomFromText('LINESTRING(-10 50,50 -10)',4326), ST_GeomFromText('POLYGON EMPTY',4326),5);
@@ -364,11 +364,11 @@ SELECT '#689', ST_CoveredBy(ST_GeomFromText('POLYGON EMPTY'), ST_GeomFromText('L
 
 -- #690 --
 SELECT '#690';
-SELECT ST_MakeLine(ST_GeomFromText('POINT(-11.1111111 40)'), ST_GeomFromText('LINESTRING(-11.1111111 70,70 -11.1111111)')) As result;
+SELECT encode(ST_AsEWKB(ST_MakeLine(ST_GeomFromText('POINT(-11.1111111 40)'), ST_GeomFromText('LINESTRING(-11.1111111 70,70 -11.1111111)')),'ndr'), 'hex') As result;
 
 -- #693 --
-SELECT '#693a', ST_GeomFromEWKT('SRID=4326;POLYGONM((-71.1319 42.2503 1,-71.132 42.2502 3,-71.1323 42.2504 -2,-71.1322 42.2505 1,-71.1319 42.2503 0))');
-SELECT '#693b', ST_GeomFromEWKT('SRID=4326;POLYGONM((-71.1319 42.2512 0,-71.1318 42.2511 20,-71.1317 42.2511 -20,-71.1317 42.251 5,-71.1317 42.2509 4,-71.132 42.2511 6,-71.1319 42.2512 30))');
+SELECT '#693a', encode(ST_AsEWKB(ST_GeomFromEWKT('SRID=4326;POLYGONM((-71.1319 42.2503 1,-71.132 42.2502 3,-71.1323 42.2504 -2,-71.1322 42.2505 1,-71.1319 42.2503 0))'),'ndr'),'hex');
+SELECT '#693b', encode(ST_AsEWKB(ST_GeomFromEWKT('SRID=4326;POLYGONM((-71.1319 42.2512 0,-71.1318 42.2511 20,-71.1317 42.2511 -20,-71.1317 42.251 5,-71.1317 42.2509 4,-71.132 42.2511 6,-71.1319 42.2512 30))'),'ndr'),'hex');
 
 -- #694 --
 SELECT '#694';
@@ -379,14 +379,14 @@ SELECT '#695';
 SELECT ST_RemovePoint('POINT(-11.1111111 40)'::geometry, 1);
 
 -- #696 --
-SELECT '#696',ST_Segmentize(ST_GeomFromEWKT('PolyhedralSurface( ((0 0 0, 0 0 1, 0 1 1, 0 1 0, 0 0 0)), ((0 0 0, 0 1 0, 1 1 0, 1 0 0, 0 0 0)), ((0 0 0, 1 0 0, 1 0 1, 0 0 1, 0 0 0)), ((1 1 0, 1 1 1, 1 0 1, 1 0 0, 1 1 0)), ((0 1 0, 0 1 1, 1 1 1, 1 1 0, 0 1 0)), ((0 0 1, 1 0 1, 1 1 1, 0 1 1, 0 0 1)) )'), 0.5);
+SELECT '#696', encode(ST_AsEWKB(ST_Segmentize(ST_GeomFromEWKT('PolyhedralSurface( ((0 0 0, 0 0 1, 0 1 1, 0 1 0, 0 0 0)), ((0 0 0, 0 1 0, 1 1 0, 1 0 0, 0 0 0)), ((0 0 0, 1 0 0, 1 0 1, 0 0 1, 0 0 0)), ((1 1 0, 1 1 1, 1 0 1, 1 0 0, 1 1 0)), ((0 1 0, 0 1 1, 1 1 1, 1 1 0, 0 1 0)), ((0 0 1, 1 0 1, 1 1 1, 0 1 1, 0 0 1)) )'), 0.5),'ndr'),'hex');
 
 -- #720 --
 SELECT '#720', ST_AsText(ST_SnapTogrid(ST_Transform(ST_GeomFromText('MULTIPOINT(-10 40,-10 55,-10 70,5 40,5 55,5 70,20 40,20 55,20 70,35 40,35 55,35 70,50 40,50 55,50 70)',4326), 3395), 0.01));
 
 -- #723 --
 SELECT '#723',
- ST_SnapToGrid( ST_Intersection(a.geog, b.geog)::geometry, 0.00001)
+ encode(ST_AsEWKB(ST_SnapToGrid( ST_Intersection(a.geog, b.geog)::geometry, 0.00001),'ndr'),'hex')
 FROM (VALUES (ST_GeogFromText('SRID=4326;POINT(-11.1111111 40)') ), (ST_GeogFromText('SRID=4326;POINT(-11.1111111 55)') ) ) As  a(geog) CROSS JOIN ( VALUES (ST_GeogFromText('SRID=4326;POINT(-11.1111111 40)') ), (ST_GeogFromText('SRID=4326;POINT(-11.1111111 55)') )) As b(geog);
 
 -- #729 --
@@ -453,7 +453,9 @@ create table t(g geometry);
 select '#877.1', ST_EstimatedExtent('t','g');
 analyze t;
 select '#877.2', ST_EstimatedExtent('public', 't','g');
+SET client_min_messages TO DEBUG;
 select '#877.2.deprecated', ST_Estimated_Extent('public', 't','g');
+SET client_min_messages TO NOTICE;
 insert into t(g) values ('LINESTRING(-10 -50, 20 30)');
 
 -- #877.3
@@ -556,7 +558,7 @@ SELECT '#1454', st_orderingequals(g,g) from inp;
 SELECT '#1414', st_astext(st_Force3DZ('CURVEPOLYGON EMPTY'));
 
 -- #1478
-SELECT '#1478', 'SRID=1;POINT EMPTY'::geometry::text::geometry;
+SELECT '#1478', encode(ST_AsEWKB('SRID=1;POINT EMPTY'::geometry::text::geometry,'ndr'),'hex');
 
 -- #745 
 SELECT '#745', ST_AsEWKT(ST_Split('POLYGON((-72 42 1,-70 43 1,-71 41 1,-72 42 1))',
@@ -683,7 +685,7 @@ SELECT '#1734.1', count(*) FROM eg;
 DROP table eg;
 
 -- #1755 --
-select '#1755', st_geographyFromText('SRID=4326;Point(85 35 0)');
+select '#1755', encode(ST_AsBinary(ST_GeographyFromText('SRID=4326;Point(85 35 0)'),'ndr'),'hex');
 
 -- #1776 --
 with inp as ( SELECT 
@@ -791,7 +793,7 @@ DROP TABLE "city";
 
 
 -- #2084 --
-SELECT '#2048', num, ST_Within('POINT(-54.394 56.522)', "the_geom"), ST_CoveredBy('POINT(-54.394 56.522)', "the_geom")
+SELECT '#2084', num, ST_Within('POINT(-54.394 56.522)', the_geom), ST_CoveredBy('POINT(-54.394 56.522)', the_geom)
 FROM ( VALUES
 (1, '0103000000010000000E00000051C6F7C5A5324BC02EB69F8CF13F4C40F12EA4C343364BC0326AA2CF47434C402BC1A8A44E364BC02A50E10852434C407F2990D959364BC0A0D1730B5D434C404102452C62364BC0ECF335CB65434C400903232F6B364BC0F635E84B6F434C40BD0CC51D6F364BC0D2805EB873434C40B9E6E26F7B364BC0F20B93A982434C40D9FAAF73D3344BC0FE84D04197444C40BD5C8AABCA344BC0CED05CA791444C4023F2237EC5344BC02A84F23E8E444C40BDCDD8077B324BC0C60FB90F01434C409FD1702E65324BC04EF1915C17404C4051C6F7C5A5324BC02EB69F8CF13F4C40'::geometry), 
 (2, '0103000000010000001C00000003F25650F73B4BC098477F523E3E4C40C9A6A344CE3C4BC0C69698653E3E4C40BDD0E979373E4BC0081FA0FB723E4C400FD252793B3E4BC01A137F14753E4C40537170E998414BC070D3BCE314414C4023FC51D499474BC0D4D100DE024F4C40638C47A984454BC024130D52F0504C40B9442DCDAD404BC03A29E96168554C40C7108DEE20404BC07C7C26FBE7554C40195D6BEF533F4BC0E20391459A564C40239FE40E9B344BC08C1ADB6B41514C40132D3F7095314BC0BA2ADF33124F4C409DB91457952D4BC02C7B681F2B4C4C4089DC60A8C32C4BC07C5C3810924B4C40D7ED409DF22A4BC0F64389963C4A4C405D1EF818AC2A4BC00EC84274084A4C401B48A46DFC294BC0B271A8DF85494C40E78AA6B393294BC01ED0EFFB37494C4081C64B3789294BC0DC5BE7DF2E494C409B23329287294BC0F0D6974E2D494C40CD22D5D687294BC0844316D72C494C40F5229D4FE2294BC002F19825AB484C40A3D0BD5AE9294BC06C0776A9A2484C409FD1702E65324BC04EF1915C17404C409F860AA7BD324BC0162CA390E33F4C40539A5C1C23334BC0FE86B04EB03F4C4081511DFF90334BC088FF36D4873F4C4003F25650F73B4BC098477F523E3E4C40'::geometry), 
@@ -844,5 +846,9 @@ SELECT '#2424', ST_AsText(ST_SnapToGrid(ST_CurveToLine(
 
 SELECT '#2427', st_astext(st_pointn(ST_CurveToLine('CIRCULARSTRING(-1 0,0 1,0 -1)'),1));
 
+SELECT '#2168',  ST_Distance(g1,g2)::numeric(16,8)  As dist_g1_g2, ST_Distance(g2,g1)::numeric(16,8) AS dist_g2_g1,ST_Distance(g1,g2) - ST_Distance(g2,g1) 
+  FROM (SELECT 'POINT(18.5107234 54.7587757)'::geography As g1, 'POINT(18.58218 54.7344227)'::geography As g2) As a;
+
+
 -- Clean up
 DELETE FROM spatial_ref_sys;
diff --git a/regress/tickets_expected b/regress/tickets_expected
index 1e34dbd..7601b28 100644
--- a/regress/tickets_expected
+++ b/regress/tickets_expected
@@ -23,7 +23,7 @@ ERROR:  Geometry argument does not have an 'M' ordinate
 #122|CIRCULARSTRING(220268 150415,220227 150505,220227 150406)
 #124a|COMPOUNDCURVE(CIRCULARSTRING(0 0,1 1,1 0),(1 0,30 5),CIRCULARSTRING(30 5,34 56,67 89))
 ERROR:  incontinuous compound curve
-#145a|0103000020E610000000000000
+#145a|0103000020e610000000000000
 #145b|0
 #146|0|t|GEOMETRYCOLLECTION(LINESTRING(0 0,-1 -1),MULTIPOINT(1 2,2 3))
 ERROR:  Invalid hex string, length (267) has to be a multiple of two!
@@ -105,28 +105,28 @@ NOTICE:  IllegalArgumentException: Invalid number of points in LinearRing found
 #681e|
 #681f|
 #681g|
-#682|0103000020E610000000000000
-#683|0103000020E610000000000000
+#682|0103000020e610000000000000
+#683|0103000020e610000000000000
 #684,#2109|SRID=4326;POINT EMPTY
 #2109|SRID=3395;POINT EMPTY
-#685|0103000020E610000000000000
-#686|0107000020E610000000000000
+#685|0103000020e610000000000000
+#686|0107000020e610000000000000
 #687|f
 #689|f
 #690
-010200000003000000F771D98DE33826C00000000000004440F771D98DE33826C000000000008051400000000000805140F771D98DE33826C0
-#693a|0103000060E61000000100000005000000EA95B20C71C851C02B1895D409204540000000000000F03F9CC420B072C851C0C7BAB88D062045400000000000000840B1506B9A77C851C08E75711B0D20454000000000000000C0FF21FDF675C851C0F2D24D6210204540000000000000F03FEA95B20C71C851C02B1895D4092045400000000000000000
-#693b|0103000060E61000000100000007000000EA95B20C71C851C0AA605452272045400000000000000000386744696FC851C04703780B2420454000000000000034408638D6C56DC851C04703780B2420454000000000000034C08638D6C56DC851C0E3A59BC42020454000000000000014408638D6C56DC851C08048BF7D1D20454000000000000010409CC420B072C851C04703780B242045400000000000001840EA95B20C71C851C0AA605452272045400000000000003E40
+010200000003000000f771d98de33826c00000000000004440f771d98de33826c000000000008051400000000000805140f771d98de33826c0
+#693a|0103000060e61000000100000005000000ea95b20c71c851c02b1895d409204540000000000000f03f9cc420b072c851c0c7bab88d062045400000000000000840b1506b9a77c851c08e75711b0d20454000000000000000c0ff21fdf675c851c0f2d24d6210204540000000000000f03fea95b20c71c851c02b1895d4092045400000000000000000
+#693b|0103000060e61000000100000007000000ea95b20c71c851c0aa605452272045400000000000000000386744696fc851c04703780b2420454000000000000034408638d6c56dc851c04703780b2420454000000000000034c08638d6c56dc851c0e3a59bc42020454000000000000014408638d6c56dc851c08048bf7d1d20454000000000000010409cc420b072c851c04703780b242045400000000000001840ea95b20c71c851c0aa605452272045400000000000003e40
 #694
 ERROR:  Shell is not a line
 #695
 ERROR:  First argument must be a LINESTRING
-#696|010F000080060000000103000080010000000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F03F0000000000000000000000000000F03F000000000000F03F0000000000000000000000000000F03F0000000000000000000000000000000000000000000000000000000000000000010300008001000000050000000000000000000000000000000000000000000000000000000000000000000000000000000000F03F0000000000000000000000000000F03F000000000000F03F0000000000000000000000000000F03F0000000000000000000000000000000000000000000000000000000000000000000000000000000001030000800100000005000000000000000000000000000000000000000000000000000000000000000000F03F00000000000000000000000000000000000000000000F03F0000000000000000000000000000F03F00000000000000000000000000000000000000000000F03F00000000000000000000000000000000000000000000000001030000800100000005000000000000000000F03F000000000000F03F0000000000000000000000000000F03F000000000000F03F000000000000F03F000000000000F03F0000000000000000000000000000F03F000000000000F03F00000000000000000000000000000000000000000000F03F000000000000F03F0000000000000000010300008001000000050000000000000000000000000000000000F03F00000000000000000000000000000000000000000000F03F000000000000F03F000000000000F03F000000000000F03F000000000000F03F000000000000F03F000000000000F03F00000000000000000000000000000000000000000000F03F00000000000000000103000080010000000500000000000000000000000000000000000000000000000000F03F000000000000F03F0000000000000000000000000000F03F000000000000F03F000000000000F03F000000000000F03F0000000000000000000000000000F03F000000000000F03F00000000000000000000000000000000000000000000F03F
+#696|010f000080060000000103000080010000000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f03f0000000000000000000000000000f03f000000000000f03f0000000000000000000000000000f03f0000000000000000000000000000000000000000000000000000000000000000010300008001000000050000000000000000000000000000000000000000000000000000000000000000000000000000000000f03f0000000000000000000000000000f03f000000000000f03f0000000000000000000000000000f03f0000000000000000000000000000000000000000000000000000000000000000000000000000000001030000800100000005000000000000000000000000000000000000000000000000000000000000000000f03f00000000000000000000000000000000000000000000f03f0000000000000000000000000000f03f00000000000000000000000000000000000000000000f03f00000000000000000000000000000000000000000000000001030000800100000005000000000000000000f03f000000000000f03f0000000000000000000000000000f03f000000000000f03f000000000000f03f000000000000f03f0000000000000000000000000000f03f000000000000f03f00000000000000000000000000000000000000000000f03f000000000000f03f0000000000000000010300008001000000050000000000000000000000000000000000f03f00000000000000000000000000000000000000000000f03f000000000000f03f000000000000f03f000000000000f03f000000000000f03f000000000000f03f000000000000f03f00000000000000000000000000000000000000000000f03f00000000000000000103000080010000000500000000000000000000000000000000000000000000000000f03f000000000000f03f0000000000000000000000000000f03f000000000000f03f000000000000f03f000000000000f03f0000000000000000000000000000f03f000000000000f03f00000000000000000000000000000000000000000000f03f
 #720|MULTIPOINT(-1113194.91 4838471.4,-1113194.91 7326837.72,-1113194.91 11028513.63,556597.45 4838471.4,556597.45 7326837.72,556597.45 11028513.63,2226389.82 4838471.4,2226389.82 7326837.72,2226389.82 11028513.63,3896182.18 4838471.4,3896182.18 7326837.72,3896182.18 11028513.63,5565974.54 4838471.4,5565974.54 7326837.72,5565974.54 11028513.63)
-#723|0101000020E61000006284F068E33826C00000000000004440
-#723|0107000020E610000000000000
-#723|0107000020E610000000000000
-#723|0101000020E61000006284F068E33826C00100000000804B40
+#723|0101000020e61000006284f068e33826c00000000000004440
+#723|0107000020e610000000000000
+#723|0107000020e610000000000000
+#723|0101000020e61000006284f068e33826c00100000000804b40
 #804|<gml:Point srsName="urn:ogc:def:crs:EPSG::4326"><gml:pos srsDimension="2">0 0</gml:pos></gml:Point>
 #845|t
 #834|GEOMETRYCOLLECTION(POINT(0 0 5),LINESTRING(10 10 5,10 0 5))
@@ -145,7 +145,7 @@ ERROR:  First argument must be a LINESTRING
 #1273.1|t
 ERROR:  stats for "t.g" do not exist
 ERROR:  stats for "t.g" do not exist
-WARNING:  ST_Estimated_Extent signature was deprecated in 2.1.0. Please use ST_EstimatedExtent
+DEBUG:  ST_Estimated_Extent signature was deprecated in 2.1.0. Please use ST_EstimatedExtent
 ERROR:  stats for "t.g" do not exist
 ERROR:  stats for "t.g" do not exist
 #877.4|-10.15000|20.15000|-50.40000|30.40000
@@ -219,22 +219,22 @@ NOTICE:  SRID value -1 converted to the officially unknown SRID value 0
 #1697.2|0
 #1697.3|1024
 #1734.1|1026
-#1755|01010000A0E6100000000000000040554000000000008041400000000000000000
+#1755|01e9030000000000000040554000000000008041400000000000000000
 #1776|POLYGON((0 0,10 0,10 10,0 0))|POLYGON((0 0,10 0,10 10,0 0))
 #1780|t
 #1791|4.7
 ERROR:  ST_Segmentize: invalid max_distance 0 (must be >= 0)
 ERROR:  invalid GML representation
 #1957|1
-#1978|3.1413
+#1978|3.1416
 #1996|{"type":"Point","coordinates":[]}
 #2001|POLYGON((0 0,0 1,1 1,0 0))
 #2028|TIN(((0 0,0 1,1 1,0 0)))
 #2035a|6
 #2035b|6
-#2048|1|f|f
-#2048|2|t|t
-#2048|3|f|f
+#2084|1|f|f
+#2084|2|t|t
+#2084|3|f|f
 #2112a|0|LINESTRING(2.5 2.5 1,2.5 2.5 1)
 #2112b|1|LINESTRING(1 1 1,1 0 1)
 #2108|SRID=3395;POINTM EMPTY
@@ -252,3 +252,4 @@ ERROR:  invalid GML representation
 #2423|POLYGON((-10 0,-9.2388 3.82683,-7.07107 7.07107,-3.82683 9.2388,0 10,3.82683 9.2388,7.07107 7.07107,9.2388 3.82683,10 0,-10 0))
 #2424|MULTILINESTRING((0 0,10 0,24 3,30 10))
 #2427|POINT(-1 0)
+#2168|5340.76237395|5340.76237395|0
diff --git a/topology/test/Makefile b/topology/test/Makefile
index 6102972..2a46c24 100644
--- a/topology/test/Makefile
+++ b/topology/test/Makefile
@@ -1,8 +1,8 @@
 DATABASE=postgis_topo_regress
 
 PSQL=psql
-PERL=/usr/bin/perl
-GEOS_NUMERIC_VERSION=30500
+PERL=/opt/local/bin/perl
+GEOS_NUMERIC_VERSION=30403
 
 all: 
 	@echo "Use 'make check' to run all tests"
diff --git a/topology/topology.sql.in b/topology/topology.sql.in
index b93dd8d..bf49acf 100644
--- a/topology/topology.sql.in
+++ b/topology/topology.sql.in
@@ -1,6 +1,6 @@
 -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 -- 
--- $Id: topology.sql.in 11183 2013-03-19 18:29:38Z strk $
+-- $Id: topology.sql.in 12013 2013-10-09 06:45:26Z strk $
 --
 -- PostGIS - Spatial Types for PostgreSQL
 -- http://postgis.refractions.net
@@ -2003,7 +2003,7 @@ LANGUAGE 'plpgsql' VOLATILE STRICT;
 --general management --
 #include "sql/manage/ManageHelper.sql.in"
 
-CREATE OR REPLACE FUNCTION postgis_topology_scripts_installed() RETURNS text
+CREATE OR REPLACE FUNCTION topology.postgis_topology_scripts_installed() RETURNS text
 	AS _POSTGIS_SQL_SELECT_POSTGIS_SCRIPTS_VERSION
 	LANGUAGE 'sql' IMMUTABLE;
 
diff --git a/topology/topology_drop_before.sql.in b/topology/topology_drop_before.sql.in
index 4ab6c3a..e907003 100644
--- a/topology/topology_drop_before.sql.in
+++ b/topology/topology_drop_before.sql.in
@@ -1,4 +1,4 @@
--- $Id: topology_drop_before.sql.in 11180 2013-03-19 09:53:17Z strk $
+-- $Id: topology_drop_before.sql.in 12013 2013-10-09 06:45:26Z strk $
 -- PostGIS - Spatial Types for PostgreSQL
 -- http://www.postgis.org
 --
@@ -15,3 +15,6 @@
 -- I don't think too many people installed the bad name
 DROP FUNCTION IF EXISTS topology.toTopoGeom(Geometry, varchar, int, float8);
 
+-- used to be in public, will now be moved to topology
+DROP FUNCTION IF EXISTS postgis_topology_scripts_installed();
+
diff --git a/utils/postgis_proc_upgrade.pl b/utils/postgis_proc_upgrade.pl
index 7dcd9e2..93b82ff 100755
--- a/utils/postgis_proc_upgrade.pl
+++ b/utils/postgis_proc_upgrade.pl
@@ -336,7 +336,14 @@ BEGIN
 	-- postgis_lib_version() and postgis_scripts_installed()
 	-- would both return actual PostGIS release number.
 	-- 
-	SELECT into old_scripts postgis_lib_version();
+
+	BEGIN
+		SELECT into old_scripts postgis_lib_version();
+	EXCEPTION WHEN OTHERS THEN
+		RAISE DEBUG ''Got %'', SQLERRM;
+		SELECT into old_scripts postgis_scripts_installed();
+	END;
+
 	SELECT into new_scripts ''NEWVERSION'';
 	SELECT into old_maj substring(old_scripts from 1 for 2);
 	SELECT into new_maj substring(new_scripts from 1 for 2);
diff --git a/utils/postgis_restore.pl.in b/utils/postgis_restore.pl.in
index aaafdc4..cadb2dd 100755
--- a/utils/postgis_restore.pl.in
+++ b/utils/postgis_restore.pl.in
@@ -1759,6 +1759,7 @@ FUNCTION postgis_jts_version()
 FUNCTION postgis_lib_build_date()
 FUNCTION postgis_lib_version()
 FUNCTION postgis_libxml_version()
+FUNCTION postgis_libjson_version()
 FUNCTION postgis_noop(geometry)
 FUNCTION postgis_proj_version()
 FUNCTION postgis_raster_lib_build_date()
@@ -1938,6 +1939,7 @@ FUNCTION st_asewkb(geometry)
 FUNCTION st_asewkb(geometry, text)
 FUNCTION st_asewkt(geography)
 FUNCTION st_asewkt(geometry)
+FUNCTION st_asewkt(text)
 FUNCTION st_asgdalraster(raster, text, text[], integer)
 FUNCTION st_asgeojson(geography)
 FUNCTION st_asgeojson(geography, integer)
@@ -2810,6 +2812,8 @@ OPERATOR &&(geometry, geometry)
 OPERATOR &&&(geometry, geometry)
 OPERATOR ~(geometry, raster)
 OPERATOR &&(geometry, raster)
+OPERATOR <#>(geometry, geometry)
+OPERATOR <->(geometry, geometry)
 OPERATOR ~(raster, geometry)
 OPERATOR &&(raster, geometry)
 OPERATOR ~=(raster, raster)

-- 
PostGIS for PostgreSQL



More information about the Pkg-grass-devel mailing list