twain47/Nominatim — pull request #14 by lonvia (2012-06-17 08:40:45+00:00)
Title: Restructure confiugration system

Adds a globale configure and Makefile to the project and pulls in osm2pgsql as a submodule. This removes the need to build all parts of Nominatim separately. Building Nominatim becomes as simple as:

git clone --recursive
./autogen.sh
./configure [--enable-64bit-ids]
make

The `--recursive` is important to get the submodule code. `--enable-64bit-ids` is optional and will build an osm2pgsql that uses bigint for OSM ids.

submodules are a bit of a pain to handle in git but the solution has the advantage that users are forced to a) build osm2pgsql from the source and b) use the correct version. And the configure can be used as is for a release that comes with osm2pgsql bundled.

This has only been tested on Debian Testing, so I'd appreciate if I could get feedback for other distros before merging.