summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* Reverse out because the lack of using pgport in timezone/ is causingBruce Momjian2005-07-061-13/+1
| | | | | | | | | | problems: --------------------------------------------------------------------------- Support cross compilation by compiling "zic" with a native compiler. This relies on the output of zic being platform independent, but that is currently the case.
* Fix contrib/pgcrypto to autoconfigure for OpenSSL when --with-opensslTom Lane2005-07-051-1/+3
| | | | is used in the toplevel configure. Per Marko Kreen.
* Support cross compilation by compiling "zic" with a native compiler. ThisPeter Eisentraut2005-07-031-1/+13
| | | | | relies on the output of zic being platform independent, but that is currently the case.
* Update to autoconf 2.59 as well as updates of related scriptsPeter Eisentraut2005-07-011-3230/+6953
|
* Remove support for Kerberos V4. It seems no one is using this, it hasNeil Conway2005-06-271-386/+1
| | | | | some security issues, and upstream has declared it "dead". Patch from Magnus Hagander, minor editorialization from Neil Conway.
* Allow kerberos name and username case sensitivity to be specified fromBruce Momjian2005-06-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | postgresql.conf. --------------------------------------------------------------------------- Here's an updated version of the patch, with the following changes: 1) No longer uses "service name" as "application version". It's instead hardcoded as "postgres". It could be argued that this part should be backpatched to 8.0, but it doesn't make a big difference until you can start changing it with GUC / connection parameters. This change only affects kerberos 5, not 4. 2) Now downcases kerberos usernames when the client is running on win32. 3) Adds guc option for "krb_caseins_users" to make the server ignore case mismatch which is required by some KDCs such as Active Directory. Off by default, per discussion with Tom. This change only affects kerberos 5, not 4. 4) Updated so it doesn't conflict with the rendevouz/bonjour patch already in ;-) Magnus Hagander
* Rename Rendezvous to Bonjour to match OS/X renaming.Bruce Momjian2005-05-151-17/+17
|
* Revert the ld --as-needed patch. This breaks Fedora Core 3, due to a strangeNeil Conway2005-05-071-68/+5
| | | | | | | | | | interaction between ld, readline, termcap, and psql. The symptom is psql failing with this error on startup: symbol lookup error: /usr/lib64/libreadline.so.4: undefined symbol: BC I'm still trying to find the best way to solve this, but in the mean time I'm reverting the patch in order to unbreak FC3.
* On Win32, libintl replaces snprintf() with its own version thatBruce Momjian2005-05-051-1/+7
| | | | | | understands arg control, so we don't need our own. In fact, it also uses macros that conflict with ours, so we _can't_ use our own.
* The issue has been raised in the past that our build system links eachNeil Conway2005-05-051-5/+68
| | | | | | | | | | | | | | executable against the maximal set of libraries it might need. So for example, if one executable requires `libreadline', all executables are linked against it. The easiest fix is to make use of GNU ld's --as-needed flag, which ignores linker arguments that are not actually needed by the specified object files. The attached patch modifies configure to check for this flag (when using GNU ld), and if ld supports it, adds the flag to LDFLAGS (we need to do the check since only relatively recent versions of GNU ld support this capability). Currently only GNU ld is supported; I'm not aware of any other linkers that support this functionality.
* Kerberos fixes from Magnus Hagander --- in theory Kerberos 5 authTom Lane2005-03-251-3/+118
| | | | | | should work on Windows now. Also, rename set_noblock to pg_set_noblock; since it is included in libpq, the former name polluted application namespace.
* Define snprintf() to call pg_snprintf() so our own snprintf-likeBruce Momjian2005-03-111-0/+5
| | | | | implementation doesn't export out via libpq and get used by a user application.
* Use test && test rather than test -a, per Peter.Bruce Momjian2005-03-021-1/+1
|
* Use our own snprintf() only if NLS is enabled, and support %qd and %I64d.Bruce Momjian2005-03-021-1/+2
|
* Un-break configure snprintf tests (partly my fault, partly Bruce's).Tom Lane2005-02-281-62/+64
|
* Move PGAC_FUNC_PRINTF_ARG_CONTROL to just above snprintf 64-bit tests soBruce Momjian2005-02-281-62/+62
| | | | its output can be used to select the proper printf outputs.
* We aren't supposed to try to run test programs until after we'veTom Lane2005-02-241-134/+137
| | | | verified that AC_TRY_RUN works.
* Clean up printf arg-control test, per Kurt Roeckx.Tom Lane2005-02-241-10/+8
|
* Add support to port/snprintf.c for position parameter specification:Bruce Momjian2005-02-221-0/+57
| | | | | | | | | + # Determine if printf supports %1$ argument selection, e.g. %5$ selects + # the fifth argument after the printf print string. + # This is not in the C99 standard, but in the Single Unix Specification (SUS). + # It is used in our langauge translation strings. Nicolai Tufar with configure changes by Bruce.
* Stamp 8.1 in configure.Bruce Momjian2005-01-181-9/+9
|
* its that time ... tag it for releaseREL8_0_0PostgreSQL Daemon2005-01-171-9/+9
|
* up release to rc5REL8_0_0RC5PostgreSQL Daemon2005-01-111-9/+9
|
* upgrade tags to rc4REL8_0_0RC4PostgreSQL Daemon2005-01-071-9/+9
|
* Adjust a few more copyright notices to match the format expected byTom Lane2005-01-011-2/+2
| | | | the src/tools/copyright script.
* forgot to autoconf after tag'ng configure.in with rc3REL8_0_0RC3PostgreSQL Daemon2004-12-311-11/+11
|
* tag files for rc2REL8_0_0RC2PostgreSQL Daemon2004-12-211-9/+9
|
* Remove direct inclusions of <com_err.h> as well as configure test forTom Lane2004-12-201-110/+0
| | | | | | | its presence. This amounts to desupporting Kerberos 5 releases 1.0.*, which is small loss, and simplifies use of our Kerberos code on platforms with Red-Hat-style include file layouts. Per gripe from John Gray and followup discussion.
* Cause configure --with-tcl to check for presence of <tcl.h>, as perTom Lane2004-12-161-1/+115
| | | | | gripe from John Gray. Also fix thinko in pltcl Makefile: if a special Tcl include directory is specified, that ought to be searched first.
* Allow AIX to use --enable-thread-safety by passing PTHREAD_LIBS toBruce Momjian2004-12-161-15/+20
| | | | 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
|
* tag configure for rc1 ..REL8_0_0RC1PostgreSQL Daemon2004-12-031-9/+9
|
* Allow libedit to keep its headers in /usr/include/readline/ ... not aTom Lane2004-12-021-0/+234
| | | | very good practice IMHO, but apparently some people think so.
* Hack to work around broken linker on older NetBSD/OpenBSD/Irix assumedTom Lane2004-12-021-7/+8
| | | | | that readline must depend on libcurses, but it seems more recent ones use libtermcap instead. Allow that case.
* Rework libpq threaded SIGPIPE handling to avoid interference withBruce Momjian2004-12-021-0/+12
| | | | | | calling applications. This is done by blocking sigpipe in the libpq thread and using sigpending/sigwait to possibily discard any sigpipe we generated.
* Fix readline/libedit selection code to prefer readline over libeditTom Lane2004-11-301-20/+270
| | | | | | | | | 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.
* update us to beta5REL8_0_0BETA5PostgreSQL Daemon2004-11-221-9/+9
|
* Add code to find_my_exec() to resolve a symbolic link down to theTom Lane2004-11-061-1/+2
| | | | | | actual executable location. This allows people to continue to use setups where, eg, postmaster is symlinked from a convenient place. Per gripe from Josh Berkus.
* Move pthread.h test up to use PTHREAD_CFLAGS.Bruce Momjian2004-11-021-5/+6
| | | | Kris Jurka
* make sure we tag configure.in as beta4 as well ...REL8_0_0BETA4PostgreSQL Daemon2004-10-251-9/+9
|
* 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-21/+145
| | | | | | | | | | | | -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.
* > This lets you do something like:Bruce Momjian2004-10-151-0/+7
| | | | | | | | | > > ./configure LDFLAGS=-static-libgcc LDFLAGS_SL=-static-libgcc > > to produce binaries that do not depend on libgcc_s.so at all. Oliver Jowett
* Another try at making plpython autoconfiguration work correctly. Use aTom Lane2004-10-111-3/+21
| | | | | | | | -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-15/+6
|
* Here is a patch to fix win32 ssl builds. Summary of changes:Bruce Momjian2004-10-061-0/+141
| | | | | | | | | | | | | | | | | | | | | * Links with -leay32 and -lssleay32 instead of crypto and ssl. On win32, "crypto and ssl" is only used for static linking. * Initializes SSL in the backend and not just in the postmaster. We cannot pass the SSL context from the postmaster through the parameter file, because it contains function pointers. * Split one error check in be-secure.c. Previously we could not tell which of three calls actually failed. The previous code also returned incorrect error messages if SSL_accept() failed - that function needs to use SSL_get_error() on the return value, can't just use the error queue. * Since the win32 implementation uses non-blocking sockets "behind the scenes" in order to deliver signals correctly, implements a version of SSL_accept() that can handle this. Also, add a wait function in case SSL_read or SSL_write() needs more data. Magnus Hagander
* Allow plpython to build on Win32.Bruce Momjian2004-10-061-20/+3
| | | | Magnus Hagander
* Remove more traces of libpgtcl from the source tree. Also, make someNeil Conway2004-10-011-2/+2
| | | | | semi-related SGML cleanup. Original patch from ljb220@mindspring.com, additional cleanup by Neil Conway.
* update for beta3, and update Copyright date to 2004REL8_0_0BETA3PostgreSQL Daemon2004-09-271-11/+11
|
* Add support for GNU/Hurd and GNU/*BSD. For our purposes, they behave justPeter Eisentraut2004-09-171-1/+2
| | | | like Linux; we just need to recognize the system types.