Commit graph

20 commits

Author SHA1 Message Date
Paul Ramsey 820079f092 Roll back changes for autodetecting C99 vsnprintf (#1688)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9485 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-13 16:23:38 +00:00
Paul Ramsey 8be09879c7 Complete alternate implementation of vsnprintf, vasprintf for non-C99 systems. (#1668)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9477 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-12 21:27:39 +00:00
Paul Ramsey 7d7ee7ac97 Report SVN revision in PostGIS_Full_Version (#1518)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9155 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-11 05:14:39 +00:00
Paul Ramsey c8cd388daf Back out SVN generation stuff.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9151 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-10 20:21:51 +00:00
Paul Ramsey 4ff8a6d0f0 Report SVN revision in PostGIS_Full_Version (#1518)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9149 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-10 19:49:53 +00:00
Paul Ramsey 8df9db5c4b Detect asprintf, vasprintf, fseeko
git-svn-id: http://svn.osgeo.org/postgis/trunk@8938 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-26 20:19:42 +00:00
Mark Cave-Ayland 2ca77b8a4a 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.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8808 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-14 00:49:14 +00:00
Mark Cave-Ayland 58f78ebcbe 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.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8805 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-14 00:48:48 +00:00
Paul Ramsey 07b03da783 Add ST_GeomFromGeoJSON (#376)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8167 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 00:17:56 +00:00
Paul Ramsey 32e4d5caee Clean out scruft from my G_ phase and start attempting to separate _internal from external liblwgeom functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6157 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-31 02:31:34 +00:00
Olivier Courtin 1358086804 Libxml become mandatory. Cf #344. Modify configure step, remove all HAVE_LIBXML2 from code, sql and unit tests. Update documentation
git-svn-id: http://svn.osgeo.org/postgis/trunk@5032 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-18 19:08:20 +00:00
Paul Ramsey 1c9d9e9e83 Move have_libxml2 define to the other library have_ defines.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4944 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-30 20:39:35 +00:00
Olivier Courtin d1f3fe6f05 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.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4885 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-23 14:26:45 +00:00
Olivier Courtin fa26dead1d Add HAVE_LIBXML2
git-svn-id: http://svn.osgeo.org/postgis/trunk@4668 b70326c6-7e19-0410-871a-916f4a2858ee
2009-10-20 13:07:05 +00:00
Paul Ramsey 5c31005664 Oops, we don't use the literal output of autoheader.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3893 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-19 06:05:28 +00:00
Paul Ramsey cc79e4b192 Add testing for ieeefp.h to autoconf
git-svn-id: http://svn.osgeo.org/postgis/trunk@3890 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-19 05:53:05 +00:00
Mark Cave-Ayland 51050033a8 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.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3307 b70326c6-7e19-0410-871a-916f4a2858ee
2008-11-20 15:00:57 +00:00
Mark Cave-Ayland 1243c2d07f 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.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2797 b70326c6-7e19-0410-871a-916f4a2858ee
2008-05-31 09:56:44 +00:00
Mark Cave-Ayland c8c98e13ab Update new build system to include iconv detection for shp2pgsql
git-svn-id: http://svn.osgeo.org/postgis/trunk@2784 b70326c6-7e19-0410-871a-916f4a2858ee
2008-05-27 14:47:06 +00:00
Mark Cave-Ayland cee1f271e5 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.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2774 b70326c6-7e19-0410-871a-916f4a2858ee
2008-05-14 17:10:19 +00:00