Commit graph

55 commits

Author SHA1 Message Date
Paul Ramsey 2bfaa2112f 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)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5180 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-29 21:24:24 +00:00
Paul Ramsey 151d59d317 Make GEOS test insist on >= 3.1.1
git-svn-id: http://svn.osgeo.org/postgis/trunk@5171 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-26 21:10:56 +00:00
Nicklas Avén 4c3126d011 add missing comment
git-svn-id: http://svn.osgeo.org/postgis/trunk@5149 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-21 13:08:34 +00:00
Nicklas Avén 2a46f5271b Fix for make check on MingW #389
git-svn-id: http://svn.osgeo.org/postgis/trunk@5148 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-21 07:19:31 +00:00
Paul Ramsey 7d94c6fd13 Make GEOS 3.1 the mandatory minimum (#385)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5129 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-15 17:54:52 +00:00
Paul Ramsey 59cdac512b Override pgxs defaults for install, from mcayland (#311)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5105 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-08 22:48:29 +00:00
Paul Ramsey 05c892198a Make configure error out when iconv is unavailable. (#367)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5097 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-04 05:42:06 +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 b91c810871 Add in icon and resource information for Win32 GUI
git-svn-id: http://svn.osgeo.org/postgis/trunk@5024 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-18 06:39:48 +00:00
Paul Ramsey 22582d936c Make GUI open w/o console under Win32
git-svn-id: http://svn.osgeo.org/postgis/trunk@5023 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-18 05:55:45 +00:00
Paul Ramsey a2e2a58e0b 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!)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5004 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-15 18:44:09 +00:00
Paul Ramsey ece3a6e512 Fix warnings from cpp during sql file build as reported by kneufeld
git-svn-id: http://svn.osgeo.org/postgis/trunk@4943 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-30 20:37:56 +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
Paul Ramsey 843402c2fd Make scripts version independent of library micro-version.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4838 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-16 20:25:13 +00:00
Paul Ramsey 88301cc4d4 Make POSTGIS_SCRIPTS_VERSION reflect the maximum SVN version of the SQL input files. (#242)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4837 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-16 19:52:58 +00:00
Paul Ramsey 8e1bedc4d9 Make the configure-time test for PgSQL version check for 8.3+ (#290)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4765 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-07 16:17:58 +00:00
Olivier Courtin 87841204af Add xpath headers support for libxml2
git-svn-id: http://svn.osgeo.org/postgis/trunk@4730 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-03 22:24:12 +00:00
Regina Obe 693e9c398e fix typo in libxml deactivated notice
git-svn-id: http://svn.osgeo.org/postgis/trunk@4669 b70326c6-7e19-0410-871a-916f4a2858ee
2009-10-20 15:30:23 +00:00
Olivier Courtin ec452e41ff Add libxml2 support (needed by GeomFromGML)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4666 b70326c6-7e19-0410-871a-916f4a2858ee
2009-10-20 12:51:40 +00:00
Mark Cave-Ayland 0b6f67024b Remove dependency on regex library by implementing the same functionality using standard C functions. Passes regression tests for me.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4520 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-22 11:13:33 +00:00
Regina Obe e0f6d5c6ee #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.

git-svn-id: http://svn.osgeo.org/postgis/trunk@4511 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-18 14:10:55 +00:00
Paul Ramsey e749503918 remove warnings from autoconf process
git-svn-id: http://svn.osgeo.org/postgis/trunk@4130 b70326c6-7e19-0410-871a-916f4a2858ee
2009-06-03 22:46:42 +00:00
Kevin Neufeld c6114a5762 added dblatex and convert to the status lines at the end of configure
git-svn-id: http://svn.osgeo.org/postgis/trunk@4108 b70326c6-7e19-0410-871a-916f4a2858ee
2009-05-26 18:27:26 +00:00
Kevin Neufeld 5926457447 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')


git-svn-id: http://svn.osgeo.org/postgis/trunk@4106 b70326c6-7e19-0410-871a-916f4a2858ee
2009-05-26 18:00:55 +00:00
Kevin Neufeld 9bf9327b74 added styles to the generated documentation images
added ImageMagick as a dependency

git-svn-id: http://svn.osgeo.org/postgis/trunk@4081 b70326c6-7e19-0410-871a-916f4a2858ee
2009-05-14 23:42:02 +00:00
Kevin Neufeld 26bf6dde72 Added code that will automatically generate the spatial images used in the documentation from WKT input.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4075 b70326c6-7e19-0410-871a-916f4a2858ee
2009-05-06 23:20:35 +00:00
Paul Ramsey b693970827 More info about XSL in final configure output
git-svn-id: http://svn.osgeo.org/postgis/trunk@4012 b70326c6-7e19-0410-871a-916f4a2858ee
2009-04-21 17:45:34 +00:00
Paul Ramsey 5656ca0eda Can't get enough punishment: write out results of configure.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3929 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-22 07:08:20 +00:00
Kevin Neufeld 780054c51c 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. 

git-svn-id: http://svn.osgeo.org/postgis/trunk@3905 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-20 05:32:45 +00:00
Paul Ramsey d170351f42 Make autogen.sh a little more tolerant of missing / re-named autotools.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3901 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-19 17:50:36 +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 486fc7251b 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.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3837 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-10 19:29:55 +00:00
Paul Ramsey ddfe100a7c Change references from ./lwgeom to ./postgis
git-svn-id: http://svn.osgeo.org/postgis/trunk@3687 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-11 18:28:53 +00:00
Paul Ramsey 91d72effc2 Solve iconv-on-Solaris (and hopefully many other platforms with system iconv in libc) problem in autoconf.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3683 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-10 21:20:17 +00:00
Paul Ramsey 4a4c305bfa Add support for fast unions, with cascaded union. Currently for testing, in the ST_Union_Fast() agggregate. Requires GEOS SVN r2252 or higher.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3547 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-21 23:19:50 +00:00
Paul Ramsey 6b2bb990a3 Replace hand-built pkg-config routine w/ m4 from gtk source.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3542 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-20 17:48:44 +00:00
Paul Ramsey 1893da945c 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.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3538 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-19 21:33:14 +00:00
Mark Cave-Ayland 5d1472ea60 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.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3494 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-05 20:54:12 +00:00
Mark Cave-Ayland 7aff0181c9 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 :(
.


git-svn-id: http://svn.osgeo.org/postgis/trunk@3492 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-05 00:08:26 +00:00
Paul Ramsey 7f7be31b65 Add CUnit to main 'make test' build and check for existance of CUnit.h as part of ./configure
git-svn-id: http://svn.osgeo.org/postgis/trunk@3472 b70326c6-7e19-0410-871a-916f4a2858ee
2008-12-22 23:37:58 +00:00
Mark Cave-Ayland e7e86a9573 Fix typo in the backticks when extracting linker/include flags from pg_config. Resolving this allows SVN trunk to compile on MingW! :)
git-svn-id: http://svn.osgeo.org/postgis/trunk@3471 b70326c6-7e19-0410-871a-916f4a2858ee
2008-12-22 21:49:00 +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 b6e444e638 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.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3261 b70326c6-7e19-0410-871a-916f4a2858ee
2008-11-06 15:15:06 +00:00
Mark Cave-Ayland e83d625fe1 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.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3143 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-19 14:52:29 +00:00
Kevin Neufeld df0a7e5aa2 added dblatex as a dependency for building PDF's
added a pdf target to doc/Makefile.in

git-svn-id: http://svn.osgeo.org/postgis/trunk@3125 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-16 18:12:34 +00:00
Mark Cave-Ayland 2efcfe29e4 Reinstate the PDF documentation system based on OpenJade, including integration with autoconf. "make postgis.pdf" should now output lovely PDF format documentation :)
git-svn-id: http://svn.osgeo.org/postgis/trunk@2957 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-11 12:18:37 +00:00
Mark Cave-Ayland 4eec27c992 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.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2885 b70326c6-7e19-0410-871a-916f4a2858ee
2008-07-28 10:03:31 +00:00
Mark Cave-Ayland 2f829b9b34 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)
git-svn-id: http://svn.osgeo.org/postgis/trunk@2882 b70326c6-7e19-0410-871a-916f4a2858ee
2008-07-24 10:22:16 +00:00
Mark Cave-Ayland 3f549dc5e3 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.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2846 b70326c6-7e19-0410-871a-916f4a2858ee
2008-07-14 11:40:41 +00:00
Mark Cave-Ayland 57a45ced5c 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.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2845 b70326c6-7e19-0410-871a-916f4a2858ee
2008-07-14 10:41:05 +00:00