    Copyright (C) 2008, 2009 Aurimas Černius

    This file is part of wxPostgres.

    wxPostgres is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    wxPostgres 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 Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public License
    along with wxPostgres.  If not, see <http://www.gnu.org/licenses/>.


wxPostgres is a library for integrating wxWidgets GUI toolkit with PostgreSQL
database.

Help
=========================

If you need any help related to installing or using wxPostgres,
send an e-mail to wxpostgres-users mailing list. You can find it at
http://sourceforge.net/projects/wxpostgres/


Feedback
=========================

If you find any bugs or want to add some new code to wxPostgres,
please submit your reports and patches to wxPostgres Tracker at
http://sourceforge.net/projects/wxpostgres/


Requirements
=========================

wxPostgres requires:
1. wxWidgets 2.8.4 or newer.
2. PostgreSQL client library.


Installation instructions
=========================

Currently only GNU Autotools build system is supported, but easy to compile
this package using other building tools.

1. Install using `configure'

Typical install is:
cd wxPostgres  #enter wxPostgres derectory here
./configure
make
make install

Use `./configure --help' to get a lis of available options for configure.
Default configuration uses only static build of the library, but shared library
is also supported.
wxWidgets and PostgreSQL should be installed on your system. `configure' tries to
detect them, but you might need to specify them yourself.


2. Install using Code::Blocks

Copy conf.h from `prepare' directory to `wxPg'
If you use wxMSW, check the definition of wxPG_SHARED. It should be 1, when
building a .dll, and 0 otherwise.
Edit appropriate target(s). In most cases you will need to change search directories
in `Build Options', but you may do more changes, such as compile as static library instead
of shared.
Build necessairy target(s).
Copy `wxPg' and `lib' directories to your installation directory.


3. Custom install

Copy conf.h from `prepare' directory to `wxPg'
If you use wxMSW, check the definition of wxPG_SHARED. It should be 1, when
building a .dll, and 0 otherwise.
All wxPostgres headers are placed in `wxPg' directory. Copy this entire
directory to the place, where you wan't to install this library.
All library source files are in src directory. You need to compile and link
them all. Compilation requires, that wxWidgets, wxPostgres and PostgreSQL
client headers (libpq-fe.h) are accessible to compiler.
