summaryrefslogtreecommitdiff
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* Allow AIX to use --enable-thread-safety by passing PTHREAD_LIBS toBruce Momjian2004-12-162-13/+18
| | | | binary compiles, and adjust configure tests for AIX.
* Update aix cc_r wording.Bruce Momjian2004-12-141-3/+3
|
* Mention aix cc_r is not supported, and whyBruce Momjian2004-12-141-0/+3
|
* Hack to work around broken linker on older NetBSD/OpenBSD/Irix assumedTom Lane2004-12-021-8/+9
| | | | | that readline must depend on libcurses, but it seems more recent ones use libtermcap instead. Allow that case.
* Fix readline/libedit selection code to prefer readline over libeditTom Lane2004-11-301-6/+5
| | | | | | | | | 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.
* If we're going to test for switch validity by observing whether theTom Lane2004-10-241-1/+3
| | | | | | | 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.
* When using GCC, change the default CFLAGS to:Neil Conway2004-10-201-30/+14
| | | | | | | | | | | | -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.
* Another try at making plpython autoconfiguration work correctly. Use aTom Lane2004-10-111-4/+28
| | | | | | | | -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.
* Un-break plpython build for non-Windows platforms.Tom Lane2004-10-101-13/+5
|
* Allow plpython to build on Win32.Bruce Momjian2004-10-061-19/+4
| | | | Magnus Hagander
* Update comment on int64 printf speciifications for MinGW:Bruce Momjian2004-10-041-1/+5
| | | | | # MinGW uses '%I64d', though gcc throws an warning with -Wall, # while '%lld' doesn't generate a warning, but doesn't work.
* New config.guess and config.subPeter Eisentraut2004-09-172-64/+109
|
* Make discovery of python_configdir architecture independent. SolutionJoe Conway2004-09-161-2/+10
| | | | from James William Pye.
* Send thread test output to file descriptor 5 like configure does ratherBruce Momjian2004-09-111-1/+1
| | | | than /dev/null, which Win32 doesn't have.
* Check for ignored thread compiler options to reduce compiler noise.Bruce Momjian2004-09-111-7/+21
|
* Use _timezone global on Cygwin instead of timezone.Bruce Momjian2004-09-081-2/+6
|
* Some versions of lex will drop a lex.yy.c file when we probe to see ifTom Lane2004-09-021-2/+2
| | | | they are flex. Clean up after them.
* Use $PATH_SEPARATOR like the rest of the autoconf code, instead ofTom Lane2004-09-021-3/+3
| | | | hardwiring IFS=: when searching paths.
* Fix agressive collection of thread flags.Bruce Momjian2004-08-171-2/+3
|
* Fix syntax error just introduced.Bruce Momjian2004-08-161-1/+0
|
* Be more aggressive about adding flags to thread compiles. The configureBruce Momjian2004-08-121-9/+14
| | | | | | | | | | 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.
* Minor style cleanup of thread test script.Bruce Momjian2004-08-121-11/+11
|
* PostgreSQL extension makefile framework ("pgxs"), by Fabien Coelho, withPeter Eisentraut2004-07-301-0/+16
| | | | | some massaging by Peter Eisentraut. This is basically a simple generalization of the existing contrib makefiles.
* Rename AC_PROG_LD* macros to PGAC_PROG_LD*. This avoids clashes with thePeter Eisentraut2004-07-171-4/+4
| | | | | macros provided by the real libtool, when other packages borrow some macros from PostgreSQL, as in the case of the ODBC driver.
* Fix strerror_r by checking return type from configure.Bruce Momjian2004-06-071-1/+18
|
* Configure adjustments for irix.Bruce Momjian2004-05-191-3/+3
| | | | David Turover
* Unconditionally define:Bruce Momjian2004-04-261-4/+8
| | | | | | | | | | -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.
* Add new auto-detection of thread flags.Bruce Momjian2004-04-231-0/+199
| | | | | | | 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.
* Handle draft version of getpwuid_r() that accepts only four arguments.Bruce Momjian2004-03-201-1/+24
| | | | Backpatch to 7.4.X. Required for Solaris 7 & 8.
* Do not let external specification of CFLAGS stop us from addingTom Lane2004-02-021-2/+2
| | | | -fno-strict-aliasing.
* Remove JDBC from the build system and documentation, too.Tom Lane2004-01-191-61/+0
|
* Add /usr/local/sgml/docbook-dsssl to the default search patch forBruce Momjian2003-12-131-1/+2
| | | | docbook style sheets, as discussed with Peter.
* $Header: -> $PostgreSQL Changes ...PostgreSQL Daemon2003-11-2910-10/+10
|
* Use --with-docdir to choose installation location of documentation; putPeter Eisentraut2003-11-241-1/+1
| | | | | | | 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.
* Make the detection of nsgmls more robust for funny shells.Peter Eisentraut2003-11-061-6/+8
|
* Update install-sh and mkinstalldirs from master source (Automake). TheyPeter Eisentraut2003-11-042-210/+304
| | | | | have included a few fixes over the years to make them more robust and faster.
* New config.guess and config.sub from upstream.Peter Eisentraut2003-11-042-324/+564
|
* Unset CFLAGS before reading template. This should be more robust.Peter Eisentraut2003-11-011-1/+41
| | | | | | | | 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.
* Fix CFLAGS selection to actually work. Add test to detect whether gcc'sPeter Eisentraut2003-10-251-2/+31
| | | | option -fno-strict-aliasing is available.
* Changes for MinGW/WIN32:Bruce Momjian2003-09-071-13/+22
| | | | | | | | | 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)
* Clean up after pygresql removal: adjust/remove documentation and removePeter Eisentraut2003-09-011-19/+1
| | | | unneeded configure work.
* Have a go at fixing various outstanding portability issues in code thatTom Lane2003-07-231-9/+15
| | | | | | | | | 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 ...
* Remove references to sa_family_t, except when SOCKADDR_STORAGE requiresBruce Momjian2003-06-231-1/+14
| | | | | | | | it. Also handle __ss_family as a synonym for ss_family. Kurt Roeckx
* <sys/socket.h> requires <sys/types.h> to already have been includedTom Lane2003-06-121-2/+3
| | | | on some platforms.
* IPv6 cleanups.Bruce Momjian2003-06-121-5/+16
| | | | | Kurt Roeckx Andrew Dunstan
* Adjust configure so that extern tzname[] will be checked forTom Lane2003-05-221-1/+33
| | | | | | 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...
* Properly test for buggy flex 2.5.3.Bruce Momjian2003-05-061-2/+2
|
* Infrastructure for upgraded error reporting mechanism. elog.c isTom Lane2003-04-241-1/+27
| | | | | | | 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?
* On some systems <sys/types.h> must be included before <sys/socket.h>.Tom Lane2003-04-121-2/+3
|
* Generate pg_config.h.in by autoheader. Separate out manually editablePeter Eisentraut2003-04-063-12/+17
| | | | parts. Standardize spelling of comments in pg_config.h.