Commit Graph

187 Commits

Author SHA1 Message Date
Bruce Momjian 5ab8a4ee6e Fix for install path 1998-09-02 02:34:00 +00:00
Bruce Momjian 566cd87873 update 1998-09-02 02:08:02 +00:00
Bruce Momjian ec47d20cf9 autoconf 1998-09-02 02:00:07 +00:00
Bruce Momjian b07f4b4efb Configure fix for install script search. 1998-09-02 01:54:18 +00:00
Marc G. Fournier 91178b8b2e From: Tom Lane <tgl@sss.pgh.pa.us>
We're carrying around a copy of install-sh in case the local system
has no install script.  It's wasted baggage, because configure doesn't
know it's there :-(.  (Apparently everyone who's used postgres lately
already had an install script somewhere in their path.  I happened to
try to run configure with a minimal PATH tonight, and it promptly
gave up for lack of an install program.)  Here's the patch.
1998-08-30 19:41:50 +00:00
Bruce Momjian e875dfb81e autoconf 1998-08-30 03:25:22 +00:00
Bruce Momjian a06ba33cfd int64 fix 1998-08-25 02:23:58 +00:00
Bruce Momjian f821eece80 autoconf 1998-08-24 15:43:50 +00:00
Bruce Momjian 4d0c5506bc autoconf 1998-08-24 04:17:51 +00:00
Bruce Momjian 9438fe5d09 autoconf 1998-08-23 22:36:41 +00:00
Marc G. Fournier 31de2c9461 Fix for SNPRINTF test in configure
From: Tom Lane <tgl@sss.pgh.pa.us>
1998-08-19 00:16:04 +00:00
Bruce Momjian 34aecb3557 run autoconf 1998-08-02 00:34:05 +00:00
Marc G. Fournier 0668aa8817 Adrian Hall reported a problem to me that snprintf() doesn't exist in, at
least, Solaris 2.5.1.  We use it in backend/utils/adt/int8.c.

Add a check to configure so that we see if it exists or not, and, if not,
compile in snprintf.c from backend/port, which was taken from, and falls under
the same Berkeley license as us, the FreeBSD libc/stdio ...
1998-08-01 19:30:29 +00:00
Marc G. Fournier f7f989c990 Missed a few files in the last round of commits from Tatsuo, as well
as needed to run autoconf ...
1998-07-27 03:21:58 +00:00
Bruce Momjian 0624f3dcbd My mailer munged the intro text in my last post. Here is the text
in a more readable form.  -- I am submitting the following patches
to the June 6, 1998 snapshot of PostgreSQL.  These patches implement
a port of PostgreSQL to SCO UnixWare 7, and updates the Univel port
(UnixWare 2.x).  The patched files, and the reason
 for the patch are:

File            Reason for the patch ---------------
---------------------------------------------------------------
src/backend/port/dynloader/unixware.c src/backend/port/dynloader/unixware.h
src/include/port/unixware.h src/makefiles/Makefile.unixware
src/template/unixware
		Created for the UNIXWARE port.

src/include/port/univel.h
		Modifed this file to work with the changes made to
		s_lock.[ch].

src/backend/storage/buffer/s_lock.c src/include/storage/s_lock.h
		Moved the UNIXWARE (and Univel) tas() function from
		s_lock.c to s_lock.h.  The UnixWare compiler asm
		construct is treated as a macro and needs to be in
		the s_lock.h file.  I also reworked the tas()
		function to correct some errors in the code.

src/include/version.h.in
		The use of the ## operator with quoted strings in
		the VERSION macro caused problems with the UnixWare
		C compiler.  I removed the ## operators since they
		were not needed in this case.  The macro expands
		into a sequence of quoted strings that will be
		concatenated by any ANSI C compiler.

src/config.guess
		This script was modified to recognize SCO UnixWare
		7.

src/configure src/configure.in
		The configure script was modified to recognize SCO
		UnixWare 7.

Billy G. Allie
1998-07-19 04:17:13 +00:00
Bruce Momjian 0acc52ae91 utoconf 1998-07-14 03:02:53 +00:00
Bruce Momjian da1ac9ad25 autocoinf 1998-06-18 16:38:59 +00:00
Bruce Momjian c6f18c260d goodbye vfork. 1998-06-17 23:01:58 +00:00
Bruce Momjian cb7cbc16fa Hi, here are the patches to enhance existing MB handling. This time
I have implemented a framework of encoding translation between the
backend and the frontend. Also I have added a new variable setting
command:

SET CLIENT_ENCODING TO 'encoding';

Other features include:
	Latin1 support more 8 bit cleaness

See doc/README.mb for more details. Note that the pacthes are
against May 30 snapshot.

Tatsuo Ishii
1998-06-16 07:29:54 +00:00
Bruce Momjian b4672e29df autoconf 1998-06-16 03:33:31 +00:00
Bruce Momjian 8575afa4f1 run autoconf 1998-06-12 18:44:21 +00:00
Edmund Mergl 0b09955da8 pgsql no more needs to be installed for perl 1998-06-01 16:50:23 +00:00
Marc G. Fournier b2d7c58cb2 1998-05-18 Karl Eichwalder <ke@suse.de>
* configure.in (AC_CHECK_LIB): check for ncurses; if this fails
        check for curses.
1998-05-24 03:54:56 +00:00
Marc G. Fournier 8686b83784 Made a copy of errors with the AC_TRY_RUN() macro...appears to work better
under FreeBSD for DBL_MIN check now...
1998-05-13 04:01:44 +00:00
Marc G. Fournier 9391dd3698 Add a check for DBL_MIN problem...not sure if this is right...needs
testing...
1998-05-13 03:44:48 +00:00
Marc G. Fournier 51a1741cfb From: Jeroen van Vianen <jeroenv@design.nl>
Attached patch will add a version() function to Postges, e.g.

template1=> select version();
version
------------------------------------------------------------
PostgreSQL 6.3.2 on i586-pc-linux-gnu, compiled by gcc 2.8.1
(1 row)
1998-04-29 12:41:29 +00:00
Marc G. Fournier f554af0a9f From: t-ishii@sra.co.jp
Hi, here are patches I promised (against 6.3.2):

* character_length(), position(), substring() are now aware of
          multi-byte characters
* add octet_length()
* add --with-mb option to configure
* new regression tests for EUC_KR
  (contributed by "Soonmyung. Hong" <hong@lunaris.hanmesoft.co.kr>)
* add some test cases to the EUC_JP regression test
* fix problem in regress/regress.sh in case of System V
* fix toupper(), tolower() to handle 8bit chars

note that:

o  patches for both configure.in and configure are
included. maybe the one for configure is not necessary.

o pg_proc.h was modified to add octet_length(). I used OIDs
(1374-1379) for that. Please let me know if these numbers are not
appropriate.
1998-04-27 17:10:50 +00:00
Marc G. Fournier 6d817475b2 From: Tom Lane <tgl@sss.pgh.pa.us>
HP-UX (all versions) requires shared libraries to have execute
permission, and really needs them to be exactly mode 555 for
performance reasons.  The standard configure/install procedure
installs libpq.sl as mode 644, which DOES NOT WORK.

The attached patch modifies the makefiles to distinguish
INSTL_LIB_OPTS (install mode for ordinary libraries) from
INSTL_SHLIB_OPTS (mode for shared libs), and adds a test
to configure to set INSTL_SHLIB_OPTS="-m 555" when on HP-UX.
1998-04-27 14:55:46 +00:00
Bruce Momjian e8fd57d763 Add prper perl config testing. 1998-04-27 03:56:59 +00:00
Bruce Momjian 9260d4b440 template cleanup 1998-04-24 15:58:17 +00:00
Marc G. Fournier f2b64d3593 Clean up configure so that it properly (I hope?) GUESSes the template to
use, if not stipulated via --with-template
1998-04-24 01:19:00 +00:00
Marc G. Fournier 5e6b0a574b Try for a LINUX_ELF fix (bandage?) 1998-04-21 12:38:46 +00:00
Marc G. Fournier 83fd305f78 A few minor mods:
gram.c updated
	scan.c updated
	ecpg/Makefile added LDFLAGS
	configure requires sfio for those systems with it installed...
1998-04-17 03:06:35 +00:00
Marc G. Fournier 2219c230ed Get rid of the TEMPLATE verbosity and make it so that --with-template is
documented in ./configure --help
1998-04-17 01:55:31 +00:00
Marc G. Fournier 8973192283 From: Brook Milligan <brook@trillium.NMSU.Edu>
Here is a pair of patches that (I hope) finish the configuration
issues with tcl/tk and make the recognition of the two packages
completely parallel in organization.  This should make future changes
easier to maintain.

Hope to see this in 6.2.2.
1998-04-17 01:30:21 +00:00
Marc G. Fournier b5bd8c3f08 make --with-libs == --with-libraries 1998-04-10 02:59:38 +00:00
Bruce Momjian 7e12122b40 Oops reverse patch. no need for it. 1998-04-09 04:42:56 +00:00
Bruce Momjian fa785bac3b Allow -lib-dir to find libreadline.a 1998-04-09 04:24:52 +00:00
Marc G. Fournier 4a7b30d126 From: Bruce Stephens <bruce@cenderis.demon.co.uk>
fix for the tk problem...
1998-04-08 02:06:37 +00:00
Bruce Momjian 3da39b3fd2 Update configure. 1998-04-07 21:26:52 +00:00
Bruce Momjian 2ffd727531 ASSERT fixes. 1998-04-06 17:27:54 +00:00
Bruce Momjian 041d2e1ca2 confiure cleanup 1998-04-06 03:10:32 +00:00
Bruce Momjian fdb37f073b this patch solve 2 problemes :
probleme number 1 :

- configure can find the library readline , but don't
  find the header file . so in this case we don't use lib readline
  .

probleme number 2 :

- when you have postgres 6.2.1 and readline installed
  with the same prefix( and generally all your software ) .  you
  can compile the version 6.3 .  I use this prefix , when configure
  ask me for "Additional directories to search for include files"
  .

  ( because there a conflict in the header when you
    compile psql.c ) In this case, you must permut the sequence of
  directive -I .

Erwan MAS
1998-04-05 21:29:49 +00:00
Bruce Momjian 9e45687df5 confiugre.in cleanup. 1998-04-05 20:54:38 +00:00
Bruce Momjian 05102c7551 Here are 3 patches (all relative to the src directory) to help with
the configuration of v6.3.1.  I have replaced the queries for
include/lib directories with --with configuration options.  I have
also included a list of potential tcl/tk include directories directly
in the CPPFLAGS variable.  As new versions are needed, these should
be added to the list in reverse numerical order (libraries are in
a separate list near the end).  This greatly simplifies the later
checks if --with-tcl is set.  I hope this solution works for
everyone.

I also added a check to disable the perl support if postgres was
not already installed (as per the instructions in the directory).
By the way, why must there be an installed pgsql to compile perl
support? This seems odd, at best.

Finally, I changed the Makefile in the libpgtcl interface to place
the shared libraries at the end of the list of files, not at the
beginning.  With NetBSD at least, libraries are linked in order,
so the original sequence does not work.

Brook Milligan
1998-04-05 20:28:23 +00:00
Bruce Momjian 6755026937 A couple of weeks ago I submitted a patch to fix configure --with-tcl.
However somebody else also applied a patch to the same part of
configure to fix a different problem. So part of my patch was not
applied or got reversed or ... whatever.

The attached patch will restore configure --with-tcl to working
order and should remove a lot of the messages complaining about
tcl not working.

Alvin
1998-04-03 20:21:51 +00:00
Marc G. Fournier 91964bd984 resync configure 1998-04-01 18:47:47 +00:00
Marc G. Fournier 92c6bf9775 Pointed out by: Doug Winterburn <dlw@seavme.xroads.com>
2) Add "#define gettimeofday(a,b) gettimeofday(a) to src/include/config.h
        On the 88k SVR4, gettimeofday only has one argument.  This is
        checked for in a few other packages by configure, so there should
        be some examples of the configure test out there.
1998-03-31 02:59:07 +00:00
Bruce Momjian 137d3428de autoconf again. 1998-03-23 06:08:51 +00:00
Bruce Momjian df18ece06c oops, forgot to run autoconf. 1998-03-23 03:48:32 +00:00