summaryrefslogtreecommitdiff
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Whack getaddrinfo() patch around until it works, more or less, onTom Lane2003-04-021-1/+11
| | | | machines without IPv6. Or at least it works on HPUX 10.20 ...
* Factor out the code that detects the long long int snprintf format into aPeter Eisentraut2003-01-282-5/+55
| | | | | | | | | separate macro. Also add support for %I64d which is the way on Windows. The code that checks for the 64-bit int type now gives more reasonable results when cross-compiling: In that case we just take the compiler's information and trust that the arithmetic works. Disabling int64 is too pessimistic.
* Remove leftovers from subproject removals. Fixes for Python and KerberosPeter Eisentraut2002-09-042-65/+6
| | | | configuration.
* Assemble portability modules into libpgport library.Peter Eisentraut2002-07-271-25/+1
| | | | Some makefile simplifications.
* This fixes 2 inaccuracies in the recently added SQL99 feature list docs.Bruce Momjian2002-07-161-1/+2
| | | | | | | | | | | UNIQUE and DISTINCT predicates are both listed as implemented -- AFAIK, neither is. I also included another trivial patch which adds the default location of the DSSSL stylesheets on my system (Debian unstable, docbook-dsssl 1.76) to the list of paths that configure looks for. Neil Conway
* Change PL/Perl and Pg interface build to use configured compiler andPeter Eisentraut2002-05-281-16/+24
| | | | Makefile.shlib system, not MakeMaker.
* Change PL/Tcl build to use configured compiler and Makefile.shlibPeter Eisentraut2002-05-241-1/+14
| | | | | | | | | | system, not Tcl-provided one. Make sure export file, if any, is cleaned. Tcl configuration is now read directly in configure and recorded in Makefile.global. This eliminates some duplicate efforts and allows for easier hand-editing of the results, if necessary.
* Allow detection of collateindex.pl in stylesheet directory or in path,Peter Eisentraut2002-04-141-3/+17
| | | | | | | | | which covers some recent installation schemes. Add Mandrake installation layout to directories to check for stylesheets. Allow documentation build to proceed if stylesheets were not found, in case the stylesheets might be found through the SGML catalog mechanism.
* Readline and Zlib now required by default. Add options --without-readlinePeter Eisentraut2002-04-101-1/+22
| | | | and --without-zlib to turn them off.
* Add make install-strip target.Peter Eisentraut2002-04-101-1/+26
|
* Fix more random breakage manifesting on FreeBSD.Peter Eisentraut2002-03-301-2/+2
|
* Add missing comma.Peter Eisentraut2002-03-291-2/+2
|
* Upgrade to Autoconf version 2.53. Replaced many custom macroPeter Eisentraut2002-03-2911-294/+118
| | | | | | calls with new or now-built-in versions. Make sure that all calls to AC_DEFINE have a third argument, for possible use of autoheader in the future.
* Heimdal support (Kerberos V implementation from KTH)Peter Eisentraut2002-02-231-1/+32
|
* Add memcmp() test and new memcmp.c file, for SunOS. Tested by Tatsuo.Bruce Momjian2001-12-201-1/+25
|
* More correct way to check for existence of types, which allows to specifyPeter Eisentraut2001-12-021-1/+32
| | | | which include files to consider. Should fix BeOS problems with int8 types.
* Make prep_buildtree harmless when run on top of the source tree.Peter Eisentraut2001-09-101-2/+4
| | | | from Ian Lance Taylor
* Add explicit '-print' to 'find' commands.Peter Eisentraut2001-09-101-1/+1
| | | | (partially) from Ian Lance Taylor
* Update SCM_CREDS for Net/Free/BSD-OS. Add configure checks.Bruce Momjian2001-09-071-1/+49
|
* Fix the readline test to find dependent libraries on NetBSD and OpenBSD.Peter Eisentraut2001-08-281-3/+16
| | | | Not pretty, but it doesn't look like the OS will get fixed sometime soon.
* Put the right runpath to libpq into the Perl module shared object on morePeter Eisentraut2001-08-261-0/+27
| | | | | | platforms and without relinking. Also support VPATH builds and DESTDIR installs. One hopes.
* Do not pre-expand localedir as substituted in the makefile, so that 'makePeter Eisentraut2001-08-061-4/+5
| | | | install prefix=elsewhere' works.
* update from upstreamPeter Eisentraut2001-08-062-372/+452
|
* Support fake root install, separate build dir, dependency tracking, ourPeter Eisentraut2001-07-101-24/+20
| | | | | | choice of compiler and flags, uninstall, and peculiar Python installation layouts for PyGreSql. Also install into site-packages now, as officially recommended. And pgdb.py is also installed now, used to be forgotten.
* Check for jakarta-ant before ant, in case 'ant' is the screen saver program.Peter Eisentraut2001-07-041-2/+51
| | | | Then, run a small reality test with $ANT to see whether it works.
* Native Language Support (NLS)Peter Eisentraut2001-06-021-1/+32
| | | | | | | | | | | Use --enable-nls to turn it on; see installation instructions for details. See developer's guide how to make use of it in programs and how to add translations. psql sources have been almost fully prepared and an incomplete German translation has been provided. In the backend, only elog() calls are currently translatable, and the provided German translation file is more of a placeholder.
* PL/Python should build portably now, if you can get over the fact thatPeter Eisentraut2001-05-121-36/+74
| | | | | there's no shared libpython. Test suite works as well. Also, add some documentation.
* Throw error if Ant is not found and Java is requested. Remove redundantPeter Eisentraut2001-03-111-7/+3
| | | | AC_SUBST that messed up the diversions and thus the configure output.
* There's always 1 file missed out ;-)Peter Mount2001-03-051-0/+16
| | | | Found while testing against a full checkout. Peter
* Add configure check for -lunix, for QNX.Peter Eisentraut2001-03-031-4/+9
| | | | | Recode test for equality of source and build directory using 'test -ef', because even using pwd you might not get equal strings. Thanks, QNX.
* Only look for bison as YACC; other yaccs need to be selected explicitly.Peter Eisentraut2001-02-102-18/+15
| | | | | When no suitable YACC is configured, supply useful informational messages to users. (Same way flex has been handled for a while.)
* Make more portable.Peter Eisentraut2001-02-091-7/+8
|
* Only use termcap xor [n]curses, depending on what readline needs. SolarisPeter Eisentraut2001-02-061-1/+33
| | | | has problems when linking with both.
* Remove rangechecks on errno; just call strerror unconditionally. ThisTom Lane2001-01-221-17/+1
| | | | | | | | | eliminates a raft of portability issues, including whether sys_nerr exists, whether the platform has any valid negative errnos, etc. The downside is minimal: errno shouldn't ever contain an invalid value anyway, and if it does, reasonably modern versions of strerror will not choke. This rangecheck idea seemed good at the time, but it's clearly a net loss, and I apologize to all concerned for having ever put it in.
* Make checks for global variables (sys_nerr, timezone) safe against gettingPeter Eisentraut2001-01-101-5/+7
| | | | optimized away completely.
* Add configure check for sys_nerr, to end all discussions.Peter Eisentraut2001-01-091-1/+16
|
* Also test for 'void *' as third arg of accept() (as on Solaris 7 and 8),Peter Eisentraut2000-11-091-3/+10
| | | | | | | | | | | but take it as 'int *' instead. Add real test for whether ld -R works on Unixware. Rename --enable-uniconv to --enable-unicode-conversion. Install shlibs mode 755 by default, since 644 causes gratuitous complaints from ldd et al. on some systems.
* Add some configure checks for DocBook and related tools. With a somewhatPeter Eisentraut2000-11-051-0/+79
| | | | | standard installation layout it should be possible to build the HTML and print documentation without additional manual setup.
* Add configure check to see whether <string.h> and <strings.h> may both bePeter Eisentraut2000-11-031-1/+28
| | | | | | | included, and then include <strings.h> if so. Several systems already needed <strings.h> anyway. Some new systems that claim to conform to the Unix 9x "standard" do not declare str[n]casemp() in string.h, and C99 compilers will not like that.
* In flex --version test, redirect stdin to /dev/null, because some lex' hangPeter Eisentraut2000-10-261-2/+2
| | | | waiting for input. From Pete Forman <gsez020@kryten.bedford.waii.com>.
* New config.guess and config.sub with Darwin support (from official GNUPeter Eisentraut2000-10-242-57/+250
| | | | source). Adjust resultmap accordingly and fix some other regexps.