Commit Graph

145 Commits

Author SHA1 Message Date
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 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 f74f2d39d8 update for 6.3.1 1998-03-23 16:14:50 +00:00
Bruce Momjian 953ca76b8d more tcl/tk fixes 1998-03-23 06:03:04 +00:00
Bruce Momjian c69e58f620 another tcl/tk patch
another tcl/tk patch
1998-03-23 03:45:10 +00:00
Bruce Momjian 4d09be4413 fix for tcl/tk in configure 1998-03-23 03:27:07 +00:00
Bruce Momjian 10fac62c25 Better identify tcl and tk. 1998-03-21 04:42:58 +00:00
Bruce Momjian 55c235b266 Disable -lbsd on alpha. 1998-03-20 18:47:15 +00:00
Marc G. Fournier bb7f173c0c Reply-To: Jordi MacDonald <jordi@spartanmedia.com>
There is an error in the configure script when using
--with-pgport= that will cause the compiled version of
PostgreSQL to no longer allow connections to the
new port and to treat shared memory improperly.

What happens is that if the port is changed, the configure
script defines DEF_PGPORT as "", which atoi() will return
as 0, which makes the IPC_KEY value 0. This then causes
semaphores to be allocated, but never released. Postgres
eventually returns from semget() with
"no space left on device". The source of this error could
easily be overlooked in version 6.3 since it is possible
to connect via UNIX domain sockets, and having DEF_PGPORT
defined as "0" would not be noticed until TCP was used.
1998-03-15 08:15:46 +00:00
Marc G. Fournier 661ecf3c48 From: t-ishii@sra.co.jp
Included are patches intended for allowing PostgreSQL to handle
multi-byte charachter sets such as EUC(Extende Unix Code), Unicode and
Mule internal code. With the MB patch you can use multi-byte character
sets in regexp and LIKE. The encoding system chosen is determined at
the compile time.

To enable the MB extension, you need to define a variable "MB" in
Makefile.global or in Makefile.custom. For further information please
take a look at README.mb under doc directory.

(Note that unlike "jp patch" I do not use modified GNU regexp any
more. I changed Henry Spencer's regexp coming with PostgreSQL.)
1998-03-15 07:39:04 +00:00
Marc G. Fournier 86d1343987 Change configure to reflect v6.3 vs v6.2 :) 1998-03-02 05:33:14 +00:00
Marc G. Fournier 4a7447e032 Convert the -enable/-with options to use proper m4 macros and provide
-help messages

Suggested by: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
1998-02-28 20:05:09 +00:00
Bruce Momjian 757bf69a2e Fix permist on libs. 1998-02-26 02:18:09 +00:00
Marc G. Fournier 0227a4e114 From: "Denis V. Dmitrienko" <denis@null.net>
What it does:
It solves stupid problem with cyrillic charsets IP-based on-fly recoding.
take a look at /data/charset.conf for details.
You can use any tables for any charset.
Tables are from Russian Apache project.
Tables in this patch contains also Ukrainian characters.

Then run ./configure --enable-recode
1998-02-24 15:27:04 +00:00
Marc G. Fournier 96316211c3 From: t-ishii@sra.co.jp
Ok. I have decided to use:

#if defined(sun) && if defined(sparc) && !defined(__svr4)

instead of defined(sunos4).  interfaces/libpq/libpq-fe.h and
include/c.h have been modified(see included patches).

Another porblems I have found are:

o SunOS lacks strtoul(). to fix this I stole strtoul.c from FreeBSD
and place it under backend/port. necessary modifications have been
also made to backend/port/Makefile.in, include/config.h.in and
configure.in (see included patches).
1998-02-24 06:04:55 +00:00
Marc G. Fournier 712e77e3df Various fixes for string.h vs strings.h
From: Frank Ridderbusch <ridderbusch.pad@sni.de>
1998-02-24 04:02:20 +00:00
Marc G. Fournier 906d5cc051 Slight change to GUESS for finding the right entry in .similar 1998-02-24 03:16:52 +00:00
Bruce Momjian 55f86ec8f7 Configure patches from Brook Milligan. 1998-02-22 20:02:34 +00:00
Marc G. Fournier 9a55013403 Various minor modes for i386_solaris 1998-02-19 14:27:33 +00:00
Marc G. Fournier 9a4d023bb5 Check for <netinet/in.h>, required by DG/ux 1998-02-19 13:59:16 +00:00
Marc G. Fournier 922ea913b1 Check for and include <getopt.h> 1998-02-18 01:26:02 +00:00
Marc G. Fournier 067cb82d6a The problem is that $ac_cv_prog_gcc is empty, instead of 'no' or
whatsoever. The patch is not a solution, because configure is generated
from configure.in, and I don't know how to patch it to get a working
'configure'.

From: "Pedro J. Lobo" <pjlobo@euitt.upm.es>
1998-02-17 01:32:37 +00:00
Marc G. Fournier dde2b66f44 Remove HBA related switch
From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
1998-02-14 18:02:43 +00:00
Marc G. Fournier 084e66a077 Remove interfaces/ecpg/{include,preproc}/Makefile.in from configure 1998-02-13 13:14:41 +00:00
Marc G. Fournier 72aa1dabb9 From: Michael Meskes <meskes@topsystem.de>
Cleanups for ecpg, as well as a missing patch so that its configured in
1998-02-11 15:18:05 +00:00
Marc G. Fournier af7a2b3243 Build in a 'dummy' tas file...nothing in it, just used for the link process
of configure
1998-02-05 04:00:55 +00:00
Marc G. Fournier 60f54d629d Try this fix for the tas.s code... 1998-02-04 13:19:32 +00:00
Marc G. Fournier 73867f773e Strange, this should be required, but initialize need_tas to no 1998-02-03 20:30:43 +00:00
Marc G. Fournier cadda10a14 I tried to match up the if/test stuff...fixed now, I think 1998-02-03 19:40:15 +00:00
Marc G. Fournier f00a9e3e9f various i386_solaris cleanups that should fix sparc_solaris and hpux 1998-02-03 18:06:37 +00:00
Marc G. Fournier b17bf38ccc Learning a little more about autoconf each day...
Fix inclusion of 'tas.s' for various ports
1998-02-03 16:58:46 +00:00
Marc G. Fournier ea514d2e6a Fix for missing tas.s under sparc_solaris
Reported by:  Shiby Thomas <sthomas@cise.ufl.edu>
1998-02-03 02:07:15 +00:00
Marc G. Fournier a86e06cb9b Fix HP/ux port for tas.s 1998-02-02 00:13:41 +00:00
Marc G. Fournier e6e364088a Move all the isinf() stuff from float.c to isinf.c, and build it according to
configure vs port specific #ifdef's...
1998-02-02 00:04:08 +00:00
Marc G. Fournier 6e9558e639 From: "Billy G. Allie" <Bill.Allie@mug.org>
The following patches will bring the UNIVEL port in line with the new porting
model used in postgreSQL 6.3
1998-02-01 07:44:00 +00:00
Marc G. Fournier 7fc4c76edb Someone wants to try a Cynus port.... 1998-01-28 12:45:44 +00:00
Marc G. Fournier 9f8d3b668b this is to help someone that wants an AUX port get started... 1998-01-25 07:08:31 +00:00
Marc G. Fournier 25a8c053e3 From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
Hi -- a couple of small items concerning the January 23rd snapshot:
the inclusion of the Kerberos stuff in one Makefile, a "leading tab"
cleanup in another, and a fix for a typo in the configure script.
1998-01-25 04:14:36 +00:00
Marc G. Fournier 33de29fc45 Minor cleanups for i386_solaris port 1998-01-23 19:13:22 +00:00
Marc G. Fournier 8700377384 Start an openbsd port 1998-01-20 03:11:11 +00:00
Marc G. Fournier 36c1c94bca From: "Billy G. Allie" <Bill.Allie@mug.org>
The attached patches will allow postgreSQL to compile successfully on SCO
UNIXWARE 2.1.x.  The patches fix the following problems:

1.  Configure did not properly recognize the UNIXWARE system as needing the
    univel port.  It used the sys4 port.

2.  Configure did not properly process the CC flag in the template file.

3.  There was no working test and set locking implementation for the native
    UNIXWARE compiler.

4.  The test and set locking used for Intel X86 that was selected by defining
    NEED_I386_TAS_ASM could fail in a multi-processor environment.

5.  The makefiles for libpq and libpgtcl did not make a shared library for
    the univel port.
1998-01-17 23:33:58 +00:00
Marc G. Fournier d8972c62b4 this should pretty much clean up the i386_solaris port, with regression
tests running "as expected"...
1998-01-13 20:13:19 +00:00
Marc G. Fournier 434165295a isinf() doesn't exist under i386_solaris, so code it such that
it is (!isnan() && !finite()) instead
1998-01-13 19:22:29 +00:00
Marc G. Fournier 06356b8978 Oops, should be 'tas.o', not 'tas.s' 1998-01-13 19:04:39 +00:00
Marc G. Fournier 3a48ee4a0f MIssed a semi-colon in AC_LINK_FILES for i386_solaris port... 1998-01-13 15:53:02 +00:00
Marc G. Fournier 80b6206c5a Further clean up "auto-configuration" for ports 1998-01-13 15:31:24 +00:00
Marc G. Fournier 405ced26ba Various fixes resulting from removing the PORTNAME defines
From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
1998-01-13 04:18:22 +00:00
Marc G. Fournier 0d48d4f3be Missed a subst() for the RANDOM substritution... 1997-12-31 03:51:17 +00:00