Add to git.
[pthrlib.git] / README.Solaris
1 You need to install c2lib, postgresql (and development libraries) and pcre.
2
3 PostgreSQL is normally installed in /usr/local/pgsql, so you need to
4 add the right directories to your $CFLAGS and $LIBS, eg:
5
6 CFLAGS='-I/usr/local/pgsql/include' export CFLAGS
7 LIBS='-L/usr/local/pgsql/lib' export LIBS
8
9 If in doubt, check build-*/config.h, and make sure it contains the
10 following line after the configure stage:
11
12 #define HAVE_LIBPQ_FE_H 1
13
14 Solaris supports the setcontext/makecontext family of functions, and
15 pthrlib should be able to detect this. Check that HAVE_WORKING_SETCONTEXT
16 is defined in build-*/config.h.