summaryrefslogtreecommitdiff
path: root/configure
AgeCommit message (Collapse)Author
2000-11-29Get rid of not-very-portable fcntl(F_SETLK) mechanism for locking the UnixTom Lane
socket file, in favor of having an ordinary lockfile beside the socket file. Clean up a few robustness problems in the lockfile code. If postmaster is going to reject a connection request based on database state, it will now tell you so before authentication exchange not after. (Of course, a failure after is still possible if conditions change meanwhile, but this makes life easier for a yet-to-be-written pg_ping utility.)
2000-11-26Fix directory search for include and library directories to accept white-Peter Eisentraut
space as separator again.
2000-11-22Remove check for 'ln' library. On FreeBSD this is some obscure lexPeter Eisentraut
compatibility library which contains a 'main' function, which is not good. If someone really needed it, think of a different plan.
2000-11-20Add configure checks for strtoll, strtoull (or strto[u]q). DisablePeter Eisentraut
'long long int' portions of ecpg if the type or these functions don't exist.
2000-11-09Also test for 'void *' as third arg of accept() (as on Solaris 7 and 8),Peter Eisentraut
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.
2000-11-06Add -V option to backend, to show version, since --version doesn't seemPeter Eisentraut
to work everywhere. Also, on FreeBSD you need to set the optreset variable to 1 before parsing the command line a second time with getopt().
2000-11-05Add some configure checks for DocBook and related tools. With a somewhatPeter Eisentraut
standard installation layout it should be possible to build the HTML and print documentation without additional manual setup.
2000-11-04If CFLAGS was specified in the environment, use that, not what the templatePeter Eisentraut
says.
2000-11-04autoconfBruce Momjian
2000-11-03Add configure check to see whether <string.h> and <strings.h> may both bePeter Eisentraut
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.
2000-11-02autoconfBruce Momjian
2000-10-31This is the minimal version of the Darwin support patch fromPeter Eisentraut
Bruce Hartzler <bruceh@mail.utexas.edu>. It contains shared library support, regression test map, and the usual template files. The dynamic loader is missing, the spin lock code apparently doesn't assemble due to syntax problems, and semaphores are to be hoped for from Apple.
2000-10-31Determine CXXFLAGS after the C++ compiler was detected. Also honorPeter Eisentraut
--enable-debug and environment variable override.
2000-10-30Add -enable-uniconvTatsuo Ishii
2000-10-27Make use of system-specific linker option to embed shared library searchPeter Eisentraut
path into executables and shared libraries (-rpath or -R for most). Can be disabled with --disable-rpath, since some binary packaging standards do not like this option.
2000-10-26In flex --version test, redirect stdin to /dev/null, because some lex' hangPeter Eisentraut
waiting for input. From Pete Forman <gsez020@kryten.bedford.waii.com>.
2000-10-25autoconfBruce Momjian
2000-10-25Rearrange handling of -L linker options so that they are always before allPeter Eisentraut
the -l options. (This was not the case when using the OpenSSL or Kerberos options.) Also make sure that shared library links get to see all the -L options. Get Kerberos 5 support to compile on Redhat 7.0. Add OpenSSL and -lsocket (if used/found) to libpq link.
2000-10-24Don't call AC_SUBST (in libtool.m4) before AC_INIT. The m4 diversions getPeter Eisentraut
messed up and we end up with the comments from included files in the output "configure".
2000-10-24Make test for <netinet/tcp.h> IRIX-proof.Tom Lane
2000-10-23Polish shared library build to reduce number of special hacks. InPeter Eisentraut
particular, allow linking with arbitrary commands rather than only $(AR) or $(LD), and treat C++ without hacks. Add option to disable shared libraries. This takes the place of the BSD_SHLIB variable. The regression test driver ignores the plpgsql test if there are no shared libraries available.
2000-10-23autoconfBruce Momjian
2000-10-21Move DLSUFFIX, AROPT, and CFLAGS_SL settings from template toPeter Eisentraut
Makefile.port, since they are of no use to configure and much of the library magic happens in Makefile.port anyway. Use __alpha, not __alpha__, since the former is universally available. Remove -DNOFIXADE from the compile command line and put it in the port include file.
2000-10-20Add check for GNU or not GNU ld, needed to pick the right export_dynamicPeter Eisentraut
flags for Solaris. The test itself is straight from libtool.
2000-10-20Add support for VPATH builds, that is, building somewhere else than in thePeter Eisentraut
source directory. This involves mostly makefiles using $(srcdir) when they might have used ".". (Regression tests don't work with this, yet.) Sort out usage of CPPFLAGS, CFLAGS (and CXXFLAGS). Add "override" keyword in most places, to preserve necessary flags even when the user overrode the flags.
2000-10-14autoconfBruce Momjian
2000-10-11autoconfBruce Momjian
2000-10-10Unify solaris_i386 and solaris_sparc templates. They were almost identicalPeter Eisentraut
anyway, the rest being due to them not being kept in sync. Add configure test for lorder and use it (on Solaris) when found.
2000-10-09Cosmetic cleanups of Beos portPeter Eisentraut
2000-10-08Append "/postgresql" to (certain) installation subdirectories whenPeter Eisentraut
installing into a shared location. Also Makefile.global organizational cleanup.
2000-10-08autoconfBruce Momjian
2000-10-07autoconfBruce Momjian
2000-10-07autoconfBruce Momjian
2000-10-03Better coding of readline testsPeter Eisentraut
2000-10-03One check for sys/un.h ought to be enough. Zero checks for sys/shm.h are not.Peter Eisentraut
2000-10-03autoconfBruce Momjian
2000-10-03autoconfBruce Momjian
2000-10-02autoconfBruce Momjian
2000-10-02autoconfBruce Momjian
2000-09-30fix shell bugPeter Eisentraut
2000-09-29autoconfBruce Momjian
2000-09-29New unified regression test driver, test/regress makefile cleanup,Peter Eisentraut
add "check" and "installcheck" targets, straighten out make variable naming of host_os, host_cpu, etc.
2000-09-27Fixes for Cygwin, with help from Pete Forman <gsez020@kryten.bedford.waii.com>.Peter Eisentraut
Update the installation instructions (formerly misnamed "FAQ"), add configure checks for some headers rather than having users copy stubs manually (ugh!). Use Autoconf check for exe extension. This also avoids inheriting the value of $(X) from the environment.
2000-09-25Revise Tcl/Tk configuration. Make missing Tcl after --with-tcl an error,Peter Eisentraut
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.
2000-09-21Replace brain-dead Autoconf macros AC_ARG_{ENABLE,WITH} with somethingPeter Eisentraut
that's actually useful, robust, consistent. Better plan to generate aclocal.m4 as well: use m4 include directives, rather than cat.
2000-09-12autoconfBruce Momjian
2000-08-29Revert removal of signed, volatile, and signal handler arg type tests.Peter Eisentraut
2000-08-28New configure test for flex, which recognizes only flex but does so in allPeter Eisentraut
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.
2000-08-27Remove configure tests for `signed', `volatile', and signal handler args;Peter Eisentraut
the harm potential outweighs the possible benefits.
2000-08-26Fix AC_FUNC_ACCEPT_ARGTYPES to accept `const struct sockaddr *' as secondPeter Eisentraut
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.