summaryrefslogtreecommitdiff
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* Better solution to the tr problem: use sed instead. Per Martijn and Andrew.Tom Lane2006-11-301-2/+2
|
* Improve portability of 'tr' invocation in PGAC_ARG_CHECK. Reported byTom Lane2006-11-301-2/+2
| | | | Olivier Prenant, fixed by Peter.
* Code the unknown options check without using m4 diversions. Otherwise thisPeter Eisentraut2006-10-301-23/+17
| | | | | | | | | | code relies on the checking macro actually being called at the end, or the automatic undiversion will produce garbage. These sort of implicit side-effects undermine the modularity of the macros and happen to break the ODBC driver which makes use of them. Also put the warnings at the very end of configure, so there is an even better chance of seeing them.
* Punt when trying to build with threaded Python on FreeBSD.Peter Eisentraut2006-10-161-3/+3
| | | | | Also cut back on excessive use of *** to decorate configure error messages. If it's an error message, you are sure to see it without any decoration.
* Make unknown-option-warning code more portable. echo -n is not portable,Peter Eisentraut2006-10-131-11/+11
| | | | and neither is "|" or "\|" in basic regular expressions.
* Updated config.guess and config.subPeter Eisentraut2006-10-072-52/+128
|
* Fix typo.Alvaro Herrera2006-08-111-2/+2
|
* Emit warnings for unknown configure options.Bruce Momjian2006-05-301-1/+24
| | | | Martijn van Oosterhout
* Avoid duplicate definition of LOCALEDIR in pg_config.h, already definedBruce Momjian2006-05-231-9/+1
| | | | in port/pg_config_paths.h.
* Add CVS tag lines to files that were lacking them.Bruce Momjian2006-03-113-0/+6
|
* Allow installation into directories containing spaces in the name.Peter Eisentraut2005-12-091-5/+5
|
* Add configure flag to allow libedit to be preferred over GNU readline:Bruce Momjian2005-12-041-9/+18
| | | | --with-libedit-preferred prefer BSD Libedit over GNU Readline
* Enable threaded python builds on freebsd5, per report from Jim C. NasbyBruce Momjian2005-10-131-2/+2
|
* Prevent threaded python build on BSD's, where it fails.Bruce Momjian2005-09-261-1/+16
| | | | Marko Kreen
* Allow Win32 libpq will use it's minimal pthread implementation, and ecpgBruce Momjian2005-08-291-1/+1
| | | | | | will use pthreadGC2. Dave Page
* Update to autoconf 2.59 as well as updates of related scriptsPeter Eisentraut2005-07-014-443/+535
|
* Clean up printf arg-control test, per Kurt Roeckx.Tom Lane2005-02-241-11/+9
|
* Add support to port/snprintf.c for position parameter specification:Bruce Momjian2005-02-221-1/+34
| | | | | | | | | + # 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.
* New version of mkinstalldirs fixes problems on Tru64 UNIX.Peter Eisentraut2005-01-081-15/+54
|
* 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
|