summaryrefslogtreecommitdiff
path: root/configure
AgeCommit message (Collapse)Author
2011-01-24sepgsql, an SE-Linux integration for PostgreSQLRobert Haas
This is still pretty rough - among other things, the documentation needs work, and the messages need a visit from the style police - but this gets the basic framework in place. KaiGai Kohei
2011-01-01Stamp copyrights for year 2011.Bruce Momjian
2010-12-26Only build in crashdump support on Windows if there's a working dbghelp.h.Andrew Dunstan
2010-12-16Fix up getopt() reset management so it works on recent mingw.Tom Lane
The mingw people don't appear to care about compatibility with non-GNU versions of getopt, so force use of our own copy of getopt on Windows. Also, ensure that we make use of optreset when using our own copy. Per report from Andrew Dunstan. Back-patch to all versions supported on Windows.
2010-09-29Add/fix caching on some configure checksPeter Eisentraut
2010-09-22Fix remaining stray references to CVS.Tom Lane
These are just cosmetic and don't seem worth back-patching far. I put them into 9.0 just because it was trivial to do so.
2010-09-11Introduce latches. A latch is a boolean variable, with the capability toHeikki Linnakangas
wait until it is set. Latches can be used to reliably wait until a signal arrives, which is hard otherwise because signals don't interrupt select() on some platforms, and even when they do, there's race conditions. On Unix, latches use the so called self-pipe trick under the covers to implement the sleep until the latch is set, without race conditions. On Windows, Windows events are used. Use the new latch abstraction to sleep in walsender, so that as soon as a transaction finishes, walsender is woken up to immediately send the WAL to the standby. This reduces the latency between master and standby, which is good. Preliminary work by Fujii Masao. The latch implementation is by me, with helpful comments from many people.
2010-07-09Stamp HEAD as 9.1devel.Tom Lane
(And there was much rejoicing.)
2010-07-09tag beta3REL9_0_BETA3Marc G. Fournier
2010-07-05Split the LDFLAGS make variable into two parts: LDFLAGS is now used forTom Lane
linking both executables and shared libraries, and we add on LDFLAGS_EX when linking executables or LDFLAGS_SL when linking shared libraries. This provides a significantly cleaner way of dealing with link-time switches than the former behavior. Also, make sure that the various platform-specific %.so: %.o rules incorporate LDFLAGS and LDFLAGS_SL; most of them missed that before. (I did not add these variables for the platforms that invoke $(LD) directly, however. It's not clear if we can do that safely, since for the most part we assume these variables use CC command-line syntax.) Per gripe from Aaron Swenson and subsequent investigation.
2010-06-04tag 9.0beta2REL9_0_BETA2Marc G. Fournier
2010-05-25Replace self written 'long long int' configure test by standard ↵Michael Meskes
'AC_TYPE_LONG_LONG_INT' macro call.
2010-05-25Added a configure test for "long long" datatypes. So far this is only used ↵Michael Meskes
in ecpg and replaces the old test that was kind of hackish.
2010-05-13Fix up lame idea of not using autoconf to determine if platform has scandir().Tom Lane
Should fix buildfarm failures.
2010-04-30tag for 9.0beta1REL9_0_BETA1Marc G. Fournier
2010-03-17Don't link PL/Python against LOCALMODLIBSPeter Eisentraut
This variable is apparently only for Python internally. In newer releases of Python this variable pulls in more and more libraries that users are less likely to have, leading to potential build failures.
2010-02-23Fix configure's regexp for extracting the Perl version number from perl -vTom Lane
output. Per bug #5339, Perl 5.11 has changed the format of that output enough to break the previous coding. Alex Hunsaker
2010-02-22Revert configure warning to use "official distribution".Bruce Momjian
2010-02-22Use the term "bundled distribution" instead of "official distribution" inBruce Momjian
configure warnings.
2010-02-19Revert version stamping in wrong branchPeter Eisentraut
2010-02-19Version stamp 9.0alpha4Peter Eisentraut
2010-02-17Stamp HEAD as 9.0devel, and update various places that were referring to 8.5Tom Lane
(hope I got 'em all). Per discussion, this release will be 9.0 not 8.5.
2010-02-13Support inlining various small performance-critical functions on non-GCCTom Lane
compilers, by applying a configure check to see if the compiler will accept an unreferenced "static inline foo ..." function without warnings. It is believed that such warnings are the only reason not to declare inlined functions in headers, if the compiler understands "inline" at all. Kurt Harriman
2010-01-16Re-order configure tests to reflect the fact that the code generated forTom Lane
posix_fadvise and other file-related functions can depend on _LARGEFILE_SOURCE and/or _FILE_OFFSET_BITS. Per report from Robert Treat. Back-patch to 8.4. This has been wrong all along, but we weren't really using posix_fadvise in anger before, and AC_FUNC_FSEEKO seems to mask the issue well enough for that function.
2010-01-07Fail in a nicer way if we have --with-perl and no Perl.Tom Lane
2010-01-07Make configure check the version of Perl we're building with, and rejectTom Lane
versions < 5.8. Also, if there's no Perl, emit a warning informing the user that he won't be able to build from a CVS pull. This is exactly the same treatment we give Bison and Perl, and for the same reasons.
2010-01-07Alter the configure script to fail immediately if the C compiler does notTom Lane
provide a working 64-bit integer datatype. As recently noted, we've been broken on such platforms since early in the 8.4 development cycle. Since it took nearly two years for anyone to even notice, it seems that the rationale for continuing to support such platforms has reached the point of non-existence. Rather than thrashing around to try to make it work again, we'll just admit up front that this no longer works. Back-patch to 8.4 since that branch is also broken. We should go around to remove INT64_IS_BUSTED support, but just in HEAD, so that seems like material for a separate commit.
2010-01-02Update copyright for the year 2010.Bruce Momjian
2009-12-31Redefine Datum as uintptr_t, instead of unsigned long.Tom Lane
This is more in keeping with modern practice, and is a first step towards porting to Win64 (which has sizeof(pointer) > sizeof(long)). Tsutomu Yamada, Magnus Hagander, Tom Lane
2009-12-15Python 3 support in PL/PythonPeter Eisentraut
Behaves more or less unchanged compared to Python 2, but the new language variant is called plpython3u. Documentation describing the naming scheme is included.
2009-12-11Properly define ENABLE_THREAD_SAFETY in conflgure, per suggestion from Peter.Bruce Momjian
2009-12-02thread-safetyBruce Momjian
Apply full patch to enable thread-safety by default, e.g. doc changes.
2009-12-01Enable thread safetyBruce Momjian
Enable thread safety on all platforms. This will either be followed up by a more extensive patch, or reverted, depending on the build farm results.
2009-11-30THREAD_SUPPORTBruce Momjian
There is no reference to THREAD_SUPPORT outside configure, and it is never set, so remove it.
2009-10-14In the configure check for the Python distutils module, use a less obscurePeter Eisentraut
shell construct to hide away the stderr output. Python 3.1 actually core dumps on the current invocation (http://bugs.python.org/issue7111), but the new version also has the more general advantage of saving the error message in config.log for analysis.
2009-10-01Support "samehost" and "samenet" specifications in pg_hba.conf,Tom Lane
by enumerating the machine's IP interfaces to look for a match. Stef Walter
2009-09-13Write psql's ~/.psql_history file using history_truncate_file() andTom Lane
append_history(), if libreadline is new enough to have those functions (they seem to be present at least since 4.2; but libedit may not have them). This gives significantly saner behavior when two or more sessions overlap in their use of the history file; although having two sessions exit at just the same time is still perilous to your history. The behavior of \s remains unchanged, ie, overwrite whatever was there. Per bug #5052 from Marek Wójtowicz.
2009-09-08Remove any -arch switches given in ExtUtils::Embed's ldopts from ourTom Lane
perl_embed_ldflags setting. On OS X it seems that ExtUtils::Embed is trying to force a universal binary to be built, but you need to specify that a lot further upstream if you want Postgres built that way; the only result of including -arch in perl_embed_ldflags is some warnings at the plperl.so link step. Per my complaint and Jan Otto's suggestion.
2009-09-08Replace use of the long-deprecated Bonjour API DNSServiceRegistrationCreateTom Lane
with the not-so-deprecated DNSServiceRegister. This patch shouldn't change any user-visible behavior, it just gets rid of a deprecation warning in --with-bonjour builds. The new code will fail on OS X releases before 10.3, but it seems unlikely that anyone will want to run Postgres 8.5 on 10.2.
2009-08-26Update of install-sh, mkinstalldirs, and associated configuryPeter Eisentraut
Update install-sh to that from Autoconf 2.63, plus our Darwin-specific changes (which I simplified a bit). install-sh is now able to install multiple files in one run, so we could simplify our makefiles sometime. install-sh also now has a -d option to create directories, so we don't need mkinstalldirs anymore. Use AC_PROG_MKDIR_P in configure.in, so we can use mkdir -p when available instead of install-sh -d. For consistency with the rest of the world, the corresponding make variable has been renamed from $(mkinstalldirs) to $(MKDIR_P).
2009-08-04Use DocBook XSL stylesheets for man page buildingPeter Eisentraut
This switches the man page building process to use the DocBook XSL stylesheet toolchain. The previous targets for Docbook2X are removed. configure has been updated to look for the new tools. The Documentation appendix contains the new build instructions. There are also a few isolated tweaks in the documentation to improve places that came out strangely in the man pages.
2009-07-24Add commentary about Cygwin's broken erand48, per report from Andrew Dunstan.Tom Lane
2009-07-23Force use of our erand48 on CygwinAndrew Dunstan
2009-07-16Add erand48() to the set of functions supported by our src/port/ library,Tom Lane
and extend configure to test for it properly instead of hard-wiring an assumption that everybody but Windows has the rand48 functions. (We do cheat to the extent of assuming that probing for erand48 will do for the entire rand48 family.) erand48() is unused as of this commit, but a followon patch will cause GEQO to depend on it. Andres Freund, additional hacking by Tom
2009-07-13Make the configure messages rejecting old bison and flex versions includeTom Lane
the full path and version of the program being rejected.
2009-07-13Advance the minimum required version of "flex" from 2.5.4 to 2.5.31, andTom Lane
update documentation accordingly. This is required in order to have support for a reentrant scanner. I'm committing this bit separately in order to have an easy reference if we later decide to make the minimum something different (like 2.5.33).
2009-07-02Upgrade to Autoconf 2.63Peter Eisentraut
This upgrades the configure infrastructure to the latest Autoconf version. Some notable news are: - The workaround for the broken fseeko() test is gone. - Checking for unknown options is now provided by Autoconf itself. - Fixes for Mac OS X
2009-07-01Stamp HEAD as 8.5devel.Tom Lane
2009-06-27Bundle v8.4.0Marc G. Fournier
2009-06-22bundle RC2REL8_4_RC2Marc G. Fournier