mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
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.
This commit is contained in:
@ -227,6 +227,14 @@ AC_DEFINE_UNQUOTED([DEF_MAXBACKENDS], [$with_maxbackends],
|
||||
[The default soft limit on the number of concurrent connections, i.e., the default for the postmaster -N switch (--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
|
||||
#
|
||||
|
Reference in New Issue
Block a user