summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-10-23 21:44:12 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-10-23 21:44:12 +0000
commit7b021ce17c4abe731a3a4c6cb5e23f13d6fd3f52 (patch)
tree6cb59b5918e05e9fc04f1a86931cec3cfbae11aa /configure.in
parentbc083d3d90dd26b755a60c74d561f9dab5897d5c (diff)
Polish shared library build to reduce number of special hacks. In
particular, allow linking with arbitrary commands rather than only $(AR) or $(LD), and treat C++ without hacks. Add option to disable shared libraries. This takes the place of the BSD_SHLIB variable. The regression test driver ignores the plpgsql test if there are no shared libraries available.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 3c70ed26216..68967efa0a6 100644
--- a/configure.in
+++ b/configure.in
@@ -228,6 +228,14 @@ AC_DEFINE_UNQUOTED([DEF_MAXBACKENDS], [$with_maxbackends],
#
+# Option to disable shared libraries
+#
+PGAC_ARG_BOOL(enable, shared, yes,
+ [ --disable-shared do not build shared libraries])
+AC_SUBST(enable_shared)
+
+
+#
# C compiler
#