| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
binary compiles, and adjust configure tests for AIX.
|
| |
|
| |
|
|
|
|
|
| |
that readline must depend on libcurses, but it seems more recent ones
use libtermcap instead. Allow that case.
|
|
|
|
|
|
|
|
|
| |
reliably (ie, regardless of which libraries they depend on). Also
make sure that we don't select headers that obviously belong to the
wrong one of the two libraries. This was discussed back around 4-Sep
but seems to have slipped through the cracks. The header selection
could be checked more closely, perhaps, but let's see if this is good
enough.
|
|
|
|
|
|
|
| |
compiler emits any warnings, the test program had better be 100%
correct, not only 90% correct. The recent addition of -Wold-style-definition
broke thread-safety detection on every platform that has that switch,
because the test program used an old-style definition.
|
|
|
|
|
|
|
|
|
|
|
|
| |
-O2 -Wall -Wmissing-prototypes -Wpointer-arith
Check whether the version of GCC we are using supports any of:
-Wdeclaration-after-statement
-Wendif-labels
-Wold-style-definition
And add the supported flags to CFLAGS.
|
|
|
|
|
|
|
|
| |
-L spec rather than assuming libpython is in the standard search path
(this returns to the way 7.4 did it). But check the distutils output
to see if it looks like Python has built a shared library, and if so
link with that instead of the probably-not-shared library found in
configdir.
|
| |
|
|
|
|
| |
Magnus Hagander
|
|
|
|
|
| |
# MinGW uses '%I64d', though gcc throws an warning with -Wall,
# while '%lld' doesn't generate a warning, but doesn't work.
|
| |
|
|
|
|
| |
from James William Pye.
|
|
|
|
| |
than /dev/null, which Win32 doesn't have.
|
| |
|
| |
|
|
|
|
| |
they are flex. Clean up after them.
|
|
|
|
| |
hardwiring IFS=: when searching paths.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
test only tests for building a binary, not building a shared library.
On Linux, you can build a binary with -pthread, but you can't build a
binary that uses a threaded shared library unless you also use -pthread
when building the binary, or adding -lpthread to the shared library
build. This patch has the effect of doing the later by adding both
-pthread and -lpthread when building libpq.
|
| |
|
|
|
|
|
| |
some massaging by Peter Eisentraut. This is basically a simple
generalization of the existing contrib makefiles.
|
|
|
|
|
| |
macros provided by the real libtool, when other packages borrow some macros
from PostgreSQL, as in the case of the ODBC driver.
|
| |
|
|
|
|
| |
David Turover
|
|
|
|
|
|
|
|
|
|
| |
-D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS
for all ports. It can't hurt if they are not supported, but it makes
our job easier for porting.
Should fix Darwin compile and other platforms without mucking with the
thread detection code.
|
|
|
|
|
|
|
| |
Allow additional thread flags to be added via port templates.
Change thread flag names to PTHREAD_CFLAGS and PTHREAD_LIBS to match new
configure script.
|
|
|
|
| |
Backpatch to 7.4.X. Required for Solaris 7 & 8.
|
|
|
|
| |
-fno-strict-aliasing.
|
| |
|
|
|
|
| |
docbook style sheets, as discussed with Peter.
|
| |
|
|
|
|
|
|
|
| |
back --infodir, which several automatic build environments expect to exist.
Add --without-docdir to prevent installation of documentation, which is
helpful for things like RPM that have their own method of installing
documentation.
|
| |
|
|
|
|
|
| |
have included a few fixes over the years to make them more robust and
faster.
|
| |
|
|
|
|
|
|
|
|
| |
When --enable-debug is used, then the default CFLAGS for non-GCC is just
-g without -O.
Backpatch enhancement of Autoconf inline test that detects problems with
the HP C compiler.
|
|
|
|
| |
option -fno-strict-aliasing is available.
|
|
|
|
|
|
|
|
|
| |
o allow configure to see include/port/win32 include files
o add matching Win32 accept() prototype
o allow pg_id to compile with native Win32 API
o fix invalide mbvalidate() function calls (existing bug)
o allow /scripts to compile with native Win32 API
o add win32.c to Win32 compiles (already in *.mak files)
|
|
|
|
| |
unneeded configure work.
|
|
|
|
|
|
|
|
|
| |
was modified for IPv6. Use a robust definition of struct sockaddr_storage,
do a proper configure test to see if ss_len exists, don't assume that
getnameinfo() will handle AF_UNIX sockets, don't trust getaddrinfo to
return the protocol we ask for, etc. This incorporates several outstanding
patches from Kurt Roeckx, but I'm to blame for anything that doesn't
work ...
|
|
|
|
|
|
|
|
| |
it.
Also handle __ss_family as a synonym for ss_family.
Kurt Roeckx
|
|
|
|
| |
on some platforms.
|
|
|
|
|
| |
Kurt Roeckx
Andrew Dunstan
|
|
|
|
|
|
| |
independently of whether the struct tm tm_zone member exists.
Also run autoheader, which seems not to have been done lately;
it added about three more things to pg_config.h.in than I was expecting...
|
| |
|
|
|
|
|
|
|
| |
rewritten and the protocol is changed, but most elog calls are still
elog calls. Also, we need to contemplate mechanisms for controlling
all this functionality --- eg, how much stuff should appear in the
postmaster log? And what API should libpq expose for it?
|
| |
|
|
|
|
| |
parts. Standardize spelling of comments in pg_config.h.
|