summaryrefslogtreecommitdiff
path: root/aclocal.m4
Commit message (Collapse)AuthorAgeFilesLines
* Replace our hacked version of ax_pthread.m4 with latest upstream version.Heikki Linnakangas2015-07-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Our version was different from the upstream version in that we tried to use all possible pthread-related flags that the compiler accepts, rather than just the first one that works. That change was made in commit e48322a6d6cfce1ec52ab303441df329ddbc04d1, to work-around a bug affecting GCC versions 3.2 and below (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=8888), although we didn't realize that it was a GCC bug at the time. We hardly care about that old GCC versions anymore, so we no longer need that workaround. This fixes the macro for compilers that print warnings with the chosen flags. That's pretty annoying on its own right, but it also inconspicuously disabled thread-safety, because we refused to use any pthread-related flags if the compiler produced warnings. Max Filippov reported that problem when linking with uClibc and OpenSSL. The warnings-check was added because the workaround for the GCC bug caused warnings otherwise, so it's no longer needed either. We can just use the upstream version as is. If you really want to compile with GCC version 3.2 or older, you can still work-around it manually by setting PTHREAD_CFLAGS="-pthread -lpthread" manually on the configure command line. Backpatch to 9.5. I don't want to unnecessarily rock the boat on stable branches, but 9.5 seems like fair game.
* Remove cvs keywords from all files.Magnus Hagander2010-09-201-1/+1
|
* Add new auto-detection of thread flags.Bruce Momjian2004-04-231-1/+2
| | | | | | | 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.
* Remove JDBC from the build system and documentation, too.Tom Lane2004-01-191-2/+1
|
* $Header: -> $PostgreSQL Changes ...PostgreSQL Daemon2003-11-291-1/+1
|
* Remove leftovers from subproject removals. Fixes for Python and KerberosPeter Eisentraut2002-09-041-2/+1
| | | | configuration.
* Upgrade to Autoconf version 2.53. Replaced many custom macroPeter Eisentraut2002-03-291-13/+13
| | | | | | 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.
* Put the right runpath to libpq into the Perl module shared object on morePeter Eisentraut2001-08-261-1/+2
| | | | | | platforms and without relinking. Also support VPATH builds and DESTDIR installs. One hopes.
* Ok, I've split todays commit into three, the first two already done had somePeter Mount2001-03-051-1/+2
| | | | | | | | | | | | | | | | | | | | | bits in JDBC & the first set of tools into contrib. This is the third, and deals with enabling JDBC to be compiled with the main source. What it does is add a new option to configure: --with-java This option tells configure to look for ant (our build tool of choice) and if found, it then compiles both the JDBC driver and the new tools as part of the normal make. Also, when the postgresql install is done, all the .jar files are also installed into the ${PGLIB}/java directory (thought best to keep then separate) Now I had some conflicts when this applied so could someone please double check that everything is ok? Peter
* Add some configure checks for DocBook and related tools. With a somewhatPeter Eisentraut2000-11-051-1/+2
| | | | | standard installation layout it should be possible to build the HTML and print documentation without additional manual setup.
* Add check for GNU or not GNU ld, needed to pick the right export_dynamicPeter Eisentraut2000-10-201-1/+2
| | | | flags for Solaris. The test itself is straight from libtool.
* Revise Tcl/Tk configuration. Make missing Tcl after --with-tcl an error,Peter Eisentraut2000-09-251-1/+2
| | | | | | | add --without-tk option to disable Tk. We don't need the AC_PATH_XTRA test because tkConfig.sh already contains all the information about how to compile and link with X. Also make sure that libpq is up to date for libpgtcl. Remove executable bits from pgaccess.sh, but add it to pgaccess.
* Replace brain-dead Autoconf macros AC_ARG_{ENABLE,WITH} with somethingPeter Eisentraut2000-09-211-453/+8
| | | | | | | that's actually useful, robust, consistent. Better plan to generate aclocal.m4 as well: use m4 include directives, rather than cat.
* Revert removal of signed, volatile, and signal handler arg type tests.Peter Eisentraut2000-08-291-6/+36
|
* New configure test for flex, which recognizes only flex but does so in allPeter Eisentraut2000-08-281-5/+77
| | | | | | incarnations (I hope). When an acceptable flex version is not found, print instructive error messages from both configure and the makefiles, so that users can continue building anyway.
* Remove configure tests for `signed', `volatile', and signal handler args;Peter Eisentraut2000-08-271-36/+5
| | | | the harm potential outweighs the possible benefits.
* Fix AC_FUNC_ACCEPT_ARGTYPES to accept `const struct sockaddr *' as secondPeter Eisentraut2000-08-261-15/+16
| | | | | | argument, change the order of tests for the third argument to be safe against missing prototypes, and make it fail hard if none of the combinations succeed.
* Big warnings cleanup for Solaris/GCC. Down to about 40 now, butPeter Eisentraut2000-06-141-211/+178
| | | | | | | | | | | we'll get there one day. Use `cat' to create aclocal.m4, not `aclocal'. Some people don't have automake installed. Only run the autoconf rule in the top-level GNUmakefile if the invoker specified `make configure', don't run it automatically because of CVS timestamp skew.
* Substituted new configure test for types of accept()Peter Eisentraut2000-06-111-1/+336
| | | | | | | | | | | Interfaced a lot of the custom tests to the config.cache, in the process made them separate macros and grouped them out into files. Made naming adjustments. Removed a couple of useless/unused configure tests. Disabled C++ by default. C++ is no more special than Perl, Python, and Tcl. And it breaks equally often. :(
* Moved the intricacies of the perl interface build into its own makefilePeter Eisentraut2000-06-101-0/+79
that now functions as a wrapper around the MakeMaker stuff. It might even behave sensically when we have separate build dirs. Same for plperl, which of course still doesn't work very well. Made sure that plperl respects the choice of --libdir. Added --with-python to automatically build and install the Python interface. Works similarly to the Perl5 stuff. Moved the burden of the distclean targets lower down into the source tree. Eventually, each make file should have its own. Added automatic remaking of makefiles and configure. Currently only for the top-level because of a bug(?) in Autoconf. Use GNU `missing' to work around missing autoconf and aclocal. Start factoring out macros into their own config/*.m4 files to increase readability and organization.