summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1998-06-16 03:28:58 +0000
committerBruce Momjian <bruce@momjian.us>1998-06-16 03:28:58 +0000
commit916cb38431af6e41cdc8f744d545ffd01343daba (patch)
tree12dee8975ca139499ced0eb29e45d2c4c1e3829d /INSTALL
parent26d5a31dbf705ca09971be0891963885bb3b4558 (diff)
downloadpostgresql-916cb38431af6e41cdc8f744d545ffd01343daba.tar.gz
Here are two patches to fix up the c++ (and c) support in the
configuration system. The idea is to make the configure arguments that specify compilers to be compatible with the other --with options. The main point, though, is that the c++ support is on by default, but can easily be disabled by the --without-CXX option for those few(?) that don't want it. Brook Milligan
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL10
1 files changed, 10 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 22f556f845..bb48cffdfd 100644
--- a/INSTALL
+++ b/INSTALL
@@ -286,6 +286,16 @@ PostgreSQL:
for archive libraries. (Typical use will need
--with-libraries=/usr/local/lib)
+ --with-CC=compiler
+ Use a specific C compiler that the configure
+ script cannot find.
+
+ --with-CXX=compiler
+ --without-CXX
+ Use a specific C++ compiler that the configure
+ script cannot find, or exclude C++ compilation
+ altogether.
+
As an example, here is the configure script I use on a Sparc
Solaris 2.5 system with /opt/postgres being the install base.