Change AC_SUBST to one-per-line instead of one-line-for-all. Seems to make more recen...
[geos.git] / README
blobb38dfdb4a3f5fd1df12eb63a555dcaaa5712087e
1 BUILDING, TESTING, INSTALLING
2 =============================
4 Unix
5 -----
7         # ./configure
8         # make
9         # make check
10         # make install
12 Win32
13 -----
15 Win32 Visual Studio Builds:
16         source\makefile.vc
19 CLIENT APPLICATIONS
20 ===================
22 Using the C interface (recommended)
23 -----------------------------------
25 To compile programs against the C lib (recommended):
27         CFLAGS += `geos-config --cflags`
28         LDFLAGS += `geos-config --ldflags` -lgeos_c
29         #include <geos_c.h>
31 Example usage:
33         capi/geostest.c contains basic usage
34         examples.
36 Using the C++ interface (discouraged)
37 -------------------------------------
39 To compile programs against the C++ lib:
41         CFLAGS += `geos-config --cflags`
42         LDFLAGS += `geos-config --ldflags` -lgeos
43         #include <geos.h>
45 Example usage:
47         doc/example.cpp contains basic usage
48         examples.
51 DOCUMENTATION
52 =============
54         # cd doc; make doxygen-html
56         http://geos.refractions.net