summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* autoconfBruce Momjian2000-10-021-1/+1
|
* autoconfBruce Momjian2000-10-021-125/+126
|
* fix shell bugPeter Eisentraut2000-09-301-3/+3
|
* autoconfBruce Momjian2000-09-291-2/+2
|
* New unified regression test driver, test/regress makefile cleanup,Peter Eisentraut2000-09-291-353/+353
| | | | | add "check" and "installcheck" targets, straighten out make variable naming of host_os, host_cpu, etc.
* Fixes for Cygwin, with help from Pete Forman <gsez020@kryten.bedford.waii.com>.Peter Eisentraut2000-09-271-321/+450
| | | | | | | 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.
* Revise Tcl/Tk configuration. Make missing Tcl after --with-tcl an error,Peter Eisentraut2000-09-251-1356/+434
| | | | | | | 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-701/+864
| | | | | | | that's actually useful, robust, consistent. Better plan to generate aclocal.m4 as well: use m4 include directives, rather than cat.
* autoconfBruce Momjian2000-09-121-352/+355
|
* Revert removal of signed, volatile, and signal handler arg type tests.Peter Eisentraut2000-08-291-183/+247
|
* New configure test for flex, which recognizes only flex but does so in allPeter Eisentraut2000-08-281-398/+373
| | | | | | 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-247/+183
| | | | the harm potential outweighs the possible benefits.
* Fix AC_FUNC_ACCEPT_ARGTYPES to accept `const struct sockaddr *' as secondPeter Eisentraut2000-08-261-173/+171
| | | | | | 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.
* Make the location of the Kerberos server key file run time configurablePeter Eisentraut2000-08-251-413/+398
| | | | | | | | | (rather than compile time). For libpq, even when Kerberos support is compiled in, the default user name should still fall back to geteuid() if it can't be determined via the Kerberos system. A couple of fixes for string type configuration parameters, now that there is one.
* ./configure --without-CXX errroneously tried to use a C++ compiler named "no"Peter Eisentraut2000-08-191-362/+365
| | | | reported by Mark Hollomon
* Remove <values.h> inclusions, no-longer-needed MAXINT definitions.Tom Lane2000-07-281-2/+2
|
* Unset locale variables before running regression tests. (All of them!)Peter Eisentraut2000-07-231-2/+0
| | | | Don't do config.status substitutions into the regression test makefile.
* Add distprep target to take some of the job of the release_prep script.Peter Eisentraut2000-07-191-9/+11
| | | | | | | | | | | | | The latter updated accordingly. Also add `dist' and `distcheck' targets to play with, but caveat packager. Updated backend/bootstrap and backend/parser makefile to make them marginally builddir aware and fix the usual set of things. Add rule to automatically remake config.h dependent on config.h.in and config.status. (Adopted from Autoconf manual and about every other package.) On a good day we should now have a complete and accurate set of dependencies throughout everything.
* forgot autoconf run...Peter Eisentraut2000-07-171-399/+402
|
* Automatic dependency trackingPeter Eisentraut2000-07-161-391/+410
| | | | | The .DEFAULT rule in backend/Makefile is harmful -- removed. Replace `::' rules by `:'.
* Rename templates to match names in makefiles/Makefile.* and include/port.Peter Eisentraut2000-07-151-625/+647
| | | | | Read templates after compiler is detected. Convert all templates to real shell scripts. Rename bsd->openbsd, alpha->osf.
* Remove a bunch of unused configure tests, in particular cases wherePeter Eisentraut2000-07-121-1867/+609
| | | | | | | | | | * the result is not recorded anywhere * the result is not used anywhere * the result is only used in some places, whereas others have been getting away with it * the result is used improperly Also make command line options handling a little better (e.g., --disable-locale, while redundant, should really still *dis*able).
* Another round of those unportable config/build changes :-/Peter Eisentraut2000-07-091-899/+1112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add option to build with OpenSSL out of the box. Fix thusly exposed bit rot. Although it compiles now, getting this to do something useful is left as an exercise. * Fix Kerberos options to defer checking for required libraries until all the other libraries are checked for. * Change default odbcinst.ini and krb5.srvtab path to PREFIX/etc. * Install work around for Autoconf's install-sh relative path anomaly. Get rid of old INSTL_*_OPTS variables, now that we don't need them anymore. * Use `gunzip -c' instead of g?zcat. Reportedly broke on AIX. * Look for only one of readline.h or readline/readline.h, not both. * Make check for PS_STRINGS cacheable. Don't test for the header files separately. * Disable fcntl(F_SETLK) test on Linux. * Substitute the standard GCC warnings set into CFLAGS in configure, don't add it on in Makefile.global. * Sweep through contrib tree to teach makefiles standard semantics. ... and in completely unrelated news: * Make postmaster.opts arbitrary options-aware. I still think we need to save the environment as well.
* Backend makefile cleanup. make maintainer-clean is now completelyPeter Eisentraut2000-07-061-494/+384
| | | | | | | | | | | | | | | functional. Handle include file installation in src/include/Makefile genbki.sh improvements: Don't substitute anything by config.status, instead pass in AWK and CPP through environment. Change calling convention to support named output files, so we get to see error messages on stderr. Rename bootstrap template files and install them into PREFIX/share. Update initdb to that effect and other readability improvements in initdb.
* add check for libz compression library for pg_dumpMarc G. Fournier2000-07-051-376/+419
|
* autoconfBruce Momjian2000-07-051-182/+183
|
* Version number now set in configure, available through Makefile.globalPeter Eisentraut2000-07-021-473/+481
| | | | | | | | | | and config.h. Adjusted all referring code. Scrapped pg_version and changed initdb accordingly. Integrated src/utils/version.c into src/backend/utils/init/miscinit.c. Changed all callers. Set version number to `7.1devel'. (Non-numeric version suffixes now allowed.)
* We don't need config.status substituting anything into Gen_fmgrtab.sh, wePeter Eisentraut2000-07-011-2/+0
| | | | just pass in CPP and AWK via the environment from the Makefile.
* A little bit of clean-up/bug fix in Tcl build. Handle gracefully casesPeter Eisentraut2000-07-011-6/+0
| | | | where someone wants to build these but hasn't configured for Tcl.
* Fixes for Solaris/cc suggested by <pgsql-hackers@thewrittenword.com>Peter Eisentraut2000-06-301-383/+406
| | | | | | | | Don't use DISABLE_COMPLEX_MACRO on Solaris. Don't define the replacement function in the header file. Use -KPIC, not -K PIC. Use CC to link C++ libraries, not ld/ar. Eliminate file not found warnings in tcl build code.
* Makefile cleanup for interface tree. Now essentially with all thePeter Eisentraut2000-06-281-21/+1
| | | | | | | | | | | | | | | | | | | | | standard targets and behaviour. Replaced Makefile.in's with Makefile's and declared the respective variables in Makefile.global. maintainer-clean target now available at top level, although it does not work in the backend tree yet. Cleanup pass over Makefile.shlib, renamed some targets and variables. The shared library symlink tests are now done by make, not the shell. ecpg: Remove one warning in sloppy flex output. PL/Perl and Perl interface: the MakeMaker documentation is confusing, the realclean target *does* "delete derived files", but it also uninstalls them. Don't use that. The submake targets in the various bin directories that update libpq should `make all', not `make libpq.a'. That is a) unportable, and b) doesn't build the shared library.
* Call me silly, but I think it would be a good idea if initdb and otherTom Lane2000-06-281-390/+395
| | | | | scripts are executable after being installed. Latest changes got the permissions wrong (non executable).
* Makefile cleanup for bin and pl subtrees. They should now supportPeter Eisentraut2000-06-271-14/+0
| | | | | all the standard semantics. Also get rid of Makefile.in's on the way and instead declare all variables in Makefile.global.
* Fix typoPeter Eisentraut2000-06-211-1/+1
|
* Cleaned up PL/pgSQL build. Fixed a couple of copyandpaste'os in thePeter Eisentraut2000-06-201-11/+2
| | | | | interfaces and interfaces/odbc make files. Adjusted regression test driver to start building and installing in the top level directory.
* Integrated ODBC driver into regular build. No more standalone business,Peter Eisentraut2000-06-191-688/+497
| | | | | which didn't work anyway. Had to back out unixodbc related patch which broke the regular ODBC build.
* autoconfBruce Momjian2000-06-191-2/+2
|
* Rename HAVE_SQLGETPRIVATEPROFILESTRING to something resonable in lengthBruce Momjian2000-06-191-1/+1
| | | | and readability.
* Remove fmgrstamp-h business -- not needed and confusingPeter Eisentraut2000-06-171-485/+881
| | | | | Add options to configure to automatically build for Kerberos support; no more editing of make files.
* Big warnings cleanup for Solaris/GCC. Down to about 40 now, butPeter Eisentraut2000-06-141-417/+389
| | | | | | | | | | | 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.
* autoconfBruce Momjian2000-06-141-4/+0
|
* autoconfBruce Momjian2000-06-141-758/+416
|
* autoconfBruce Momjian2000-06-131-0/+4
|
* autoconfBruce Momjian2000-06-121-496/+830
|
* Small bug fixPeter Eisentraut2000-06-111-3/+3
|
* Substituted new configure test for types of accept()Peter Eisentraut2000-06-111-698/+861
| | | | | | | | | | | 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-491/+586
| | | | | | | | | | | | | | | | | | 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.
* Repair configure.in breakage from unixODBC patch. Doesn't anyone aroundTom Lane2000-06-101-576/+723
| | | | | | | here bother to run autoconf, or pay attention when it complains? To say nothing of actually committing the configure that goes with the configure.in. -- Tom the janitor.
* Gen_fmgrtab.sh is strange: it is a platform dependent way (because it usesPeter Eisentraut2000-06-071-509/+493
| | | | | | | | | | | | | | | | | | | | | CPP) to create platform independent files. Unfortunately, that means that every config.status (or configure) run invariably causes a relink of the postmaster and also that we can't put these files in the distribution (usefully). So we make it a little smarter: when the output files already exist and it notices that it would recreate them in identical form, it doesn't touch them. In order to avoid re-running the make rule all the time we update a timestamp file instead. Update release_prep accordingly. Also make Gen_fmgrtab.sh use the awk that is detected at configure time, not necessarily named `awk' and have it check for exit statuses a little better. In other news... Remove USE_LOCALE from the templates, it was set to `no' everywhere anyway. Also remove YACC and YFLAGS from the templates, configure is smart enough to find bison or yacc itself. Use AC_PROG_YACC for that instead of the hand-crafted code. Do not set YFLAGS to `-d'. The make rules that need this flag should explicitly invoke it. YFLAGS should be a user variable. Update the makefiles to that effect.
* Moved configure script from src/ to the top level directory. MovedPeter Eisentraut2000-06-061-0/+8764
configuration helper things into config/ dir. Adjusted some relative paths in makefiles.