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
2a29325cec
Must commit configure changes after patch to configure.in
1998-01-17 23:35:24 +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
Marc G. Fournier
d82f2f1f93
Change @RANDOM@ to @MISSING_RANDOM@ because of bash
1997-12-30 04:08:55 +00:00
Marc G. Fournier
0356acebd5
Make sure configure reflects changes
1997-12-20 03:41:06 +00:00
Marc G. Fournier
20ff6432a1
Get it so that everything else *should* work with my changes...
1997-12-20 02:33:56 +00:00
Marc G. Fournier
10ff1eea60
First clean compile without a "PORTNAME" variable being set...
1997-12-20 00:11:13 +00:00
Marc G. Fournier
f4ceaf8484
If this doesn't break something, nothing will *muhahaha*
...
Just got rid of PORTNAME altogether for FreeBSD and AIX...more to follow
1997-12-19 23:10:16 +00:00
Marc G. Fournier
429b9d6691
Nice clean compile...still need to run regression tests, but its a major
...
start
1997-12-19 03:42:14 +00:00
Marc G. Fournier
d7046ada02
Update configure so that it auto-detects and configures for missing
...
functions...
1997-12-19 03:08:03 +00:00
Marc G. Fournier
5379b84eff
More cleanups. I can now compile without PORTNAME being defined n
...
Makefile.global.
End result, if all goes well, should allow for much easier porting, since
there will no longer be a concept of a "port". Most, if not everything,
*should* be determined by configure, or by the compiler itself. Still
work to be done though :)
1997-12-19 02:09:10 +00:00
Marc G. Fournier
6bdcad66e4
Add recognition for 'machten'
1997-12-17 03:23:52 +00:00
Bruce Momjian
1dfde614a4
Make configure more automated, from Brook Milligan.
1997-10-30 04:46:45 +00:00
Marc G. Fournier
1337751e50
From: Darren King <darrenk@insightdist.com>
...
I asked for this a long time ago and Frank Dana recently has
indicated that using lbsd on aix breaks the timezone code.
1997-09-28 10:10:36 +00:00
Bruce Momjian
9eaaf36f04
Update configure.
1997-09-24 15:57:28 +00:00
Bruce Momjian
2a8bea900a
Configure OS cleanup.
1997-09-21 22:54:19 +00:00
Bruce Momjian
e9cd0f2e6b
Update configure.
1997-09-19 22:02:26 +00:00
Bruce Momjian
c3072cb1f0
Have to do [[ ]] in configure.in.
1997-09-18 19:57:31 +00:00
Marc G. Fournier
220941dac5
Add in srandom() check to configure
...
Add appropriate HAVE_{RANDOM,SRANDOM} values to config.h
Add approrpiate #ifdef's to sparc_solaris port files for Solaris v2.6
1997-09-18 16:09:41 +00:00
Bruce Momjian
b02086b303
Remove extra backets in tr test.
1997-09-17 20:14:16 +00:00
Bruce Momjian
e0a4c7acaa
configure cleanup.
1997-09-13 04:43:53 +00:00
Bruce Momjian
26a1956f8c
pg_version Makefile was not being processed.
1997-09-12 23:24:25 +00:00
Marc G. Fournier
ceac1d5a4e
Only need to check for strerror once :)
1997-08-27 05:06:20 +00:00
Marc G. Fournier
9d90de5de7
Changes so that it actually checks for <readline/history.h>, instead
...
of assuming it does exist
1997-08-17 00:48:51 +00:00
Bruce Momjian
1ebc1280e8
Fix for os version handling.
1997-08-06 03:33:45 +00:00
Bruce Momjian
105889e1d8
Makei configure less os-version specific, were possible.
1997-08-02 16:32:51 +00:00
Bruce Momjian
da76711714
FIx solaris template finding.
1997-08-01 03:49:22 +00:00
Bruce Momjian
f5f18af02b
Configure cleanup for /usr/ucb patch.
1997-07-31 01:37:56 +00:00
Bruce Momjian
aff479b4d1
Look in /usr/ucb first for install.
1997-07-30 19:16:23 +00:00
Bruce Momjian
cdc2c06386
configure.in cleanup for tr and strerror2.
1997-07-30 18:27:18 +00:00
Marc G. Fournier
5089f6ce87
Check for and use <netdb.h> for postmaster.c, instead of checking if
...
MAXHOSTNAMELEN is defined. For some reason, my 2.5.1 Solaris box at
work fails on that check...
1997-07-30 14:03:33 +00:00
Bruce Momjian
6c93fe8f9d
configure.in cleanup from sco install.
1997-07-30 01:32:44 +00:00
Bruce Momjian
9db76f384d
Update configure after sunos4 update.
1997-07-29 21:16:52 +00:00
Bruce Momjian
79e78f0b80
Added SCO support, from Daniel Harris.
1997-07-28 00:57:08 +00:00
Marc G. Fournier
012cb6d8c8
Search for ginstall before the other installs...
...
As requested by Dr. Andrew C.R. Martin
1997-07-15 23:11:38 +00:00
Bruce Momjian
10da89c1fb
Add sysv4 support to configure and docs.
1997-07-14 16:47:36 +00:00
Marc G. Fournier
a27fafecc5
Ordering of libraries changed so that -lbsd is *after* -lm
...
Fixes a problem Darren reports with AIX, and doesn't seem to break either
FreeBSD or Linux(David?)...
1997-06-01 16:25:34 +00:00
Marc G. Fournier
f4279c46e7
Fix configure so that installbsd gets -c also
...
From: Lee Roth <roth@tpusa.com>
1997-04-28 22:40:35 +00:00
Marc G. Fournier
f522a32ceb
Reverse check for TR so that trbsd gets checked for first
...
Pointed out by: adrian@waltham.harvard.net
1997-04-26 13:36:38 +00:00
Marc G. Fournier
bcd0fae871
Fix for bootstrap.c problem (F_* values missing from fmgr.h)
1997-04-26 04:40:00 +00:00
Marc G. Fournier
5514c1fa23
Add fcvt() as a check to configure so that we can get rid of the BSD44_derived
...
type check in numutils.c:ftoa()
Pointed out by: "Martin J. Laubach" <mjl@emsi.priv.at>
1997-04-22 17:47:42 +00:00
Marc G. Fournier
2de10b0b01
From: adrian@waltham.harvard.net
...
Subject: [PATCHES] Patch for configure.in to not ask for CASSERT
The following patch defaults to CASSERT, so it doesn't ask you. You can
still use --enable-cassert and --disable-cassert to do it explicitly.
Default: disabled
1997-04-22 17:41:15 +00:00
Marc G. Fournier
fd8e90a848
Add a --with-compiler switch that allows someone to specify:
...
--with-compiler=xlc
Requested by: Darren King <aixssd!darrenk@abs.net>
1997-04-18 18:43:28 +00:00
Marc G. Fournier
49153540da
From: adrian@waltham.harvard.net
...
Subject: [HACKERS] Another patch to configure.in
I heard very little in objections/approvals to defaulting some of the
parameters to configure. Enclosed is a patch to configure.in which
removes the questions for
PGPORT
USE_LOCALE
NOHBA
By default (i.e. assuming you don't put anything extra in the configure
command line), it assumes PGPORT=5432, USE_LOCAL=no and NOHBA=no (i.e.
HBA is turned on)
--with-pgport=PGPORT_NO Over-rides the PGPORT value
--enable-locale enables USE_LOCALE
--disable-hba disables HBA
Just for completeness:
--prefix=BASEDIR Defaults to /usr/local/pgsql
--with-template=TEMPLATE Defaults to asking you
1997-04-18 18:34:11 +00:00
Marc G. Fournier
f9d2ec0eba
Have CASSERT enabled/disabled via configure, and passed through config.h
...
instead of as a -D
1997-04-15 18:35:50 +00:00
Marc G. Fournier
5dcc9bef6e
Patch for Solaris 2.5 from: adrian@waltham.harvard.net
1997-04-15 18:18:45 +00:00
Marc G. Fournier
f2b98c4624
Fixes for [] escaping pointed out by Adrian
1997-04-12 13:56:44 +00:00
Marc G. Fournier
cecfd642f5
Make sure that Makefile.${PORTNAME} is link'd and that teh port/*.h
...
file that has moved to include is also link'd properly
1997-04-12 10:35:49 +00:00
Marc G. Fournier
02fa41951b
Fix detection of install vs installbsd
...
Submitted by: adrian@waltham.harvard.net
1997-04-12 09:39:56 +00:00
Marc G. Fournier
e6dfee305c
Much improved configure that integrates the build script right into it
...
Submitted by: adrian@waltham.harvard.net
1997-04-09 08:55:32 +00:00
Marc G. Fournier
eda9d69d6c
Move YACC and YFLAGS into the template files
...
Clean up the .sample files...comment out all sample entries except for
the localhost one
1997-04-04 11:23:15 +00:00
Marc G. Fournier
c7b40e6058
This commit represents a clean compile with the new templates under
...
FreeBSD
The Makefile(s) have all been cleaned up such that there is a single
LDFLAGS vs LD_ADD or LDADD or LDFLAGS or LDFLAGS_BE. The Makefile(s)
should be alot more straightforward then they were before...and
consistent
1997-04-04 10:43:16 +00:00
Marc G. Fournier
f2eb14ad0d
One helluva mess.
...
Further extended Makefile.global/build/configure so that we can
have a 'template' file for each OS (and each version of OS, as in BSDi)
which is used as much as possible to generate Makefile.global
Any future ports should look at using the template file as a basis,
before moving over to Makefile.global.
This will most probably break alot of the ports, atho I've tried to
be very neat about it...
1997-04-04 07:59:48 +00:00
Marc G. Fournier
0213a81dca
More modifications to make building more interactive:
...
Allow installer to change DEF_PGPORT
Allow installer to disable HBA
1997-04-03 22:16:34 +00:00
Marc G. Fournier
e3649e9e52
Various improvements to reduce questions :)
...
Remove USE_LOCALE from Makefile.global.in
Add USE_LOCALE to build/configure/config.h
Add check for BUILDRUN in configure to make sure that build is run before
configure
1997-04-03 21:26:36 +00:00
Marc G. Fournier
986bfc5053
Misc port related issues
1997-04-01 09:27:11 +00:00
Marc G. Fournier
64c82a5016
Add checs for float.h
...
Remove 'unused variable' from dt.c
1997-03-25 20:02:42 +00:00
Marc G. Fournier
ea2fa32eff
Rather than make this a Linux test, we should just test for the existence
...
of endian.h. I figure that if it exists it's pretty sure that it has
the byte order information and we may catch some other ports without
any further testing.
From: "D'Arcy J.M. Cain" <darcy@druid.net>
1997-03-25 08:25:47 +00:00
Marc G. Fournier
e16b43e2dc
Add in alpha port
1997-03-25 02:29:08 +00:00
Marc G. Fournier
ae93ad8511
Forgot to add an AC_SUBST(STRERROR) to configure.in for the strerror() test
...
Thanks to D'Arcy for pointing this one out
1997-03-21 18:58:23 +00:00
Marc G. Fournier
7d5770eaf2
Check for and set HAVE_CRYPT_H if <crypt.h> exists
...
include crypt.h in password.c if crypt.h does exist
1997-03-20 18:04:32 +00:00
Marc G. Fournier
419b4304ba
use autoconf 2.12 instead of 2.10 to gernate configure script...
...
*hopefully* will fix the linux configuration problem..?
1997-03-20 07:30:26 +00:00
Marc G. Fournier
6ffd26d8eb
Add a check for strerr, and add in D'Arcy's strerror() code in case not
...
found
1997-03-19 02:37:42 +00:00
Marc G. Fournier
c9ba25eb6d
Add in a check for libcrypt.a
...
Pointed out by Martin
1997-03-17 19:03:05 +00:00
Marc G. Fournier
336eb7056d
Add in the sunos4 portname to configure detection
1997-03-11 02:12:17 +00:00
Marc G. Fournier
bb21784caa
Fix, I think, the stdup.o problem reported on those systems without
...
it.
1997-02-25 18:14:43 +00:00
Marc G. Fournier
069b71d721
Add in port hpux to configure
...
Pointed out by: Mark Hollomon <mhh@nortel.ca>
1997-02-20 18:29:45 +00:00
Marc G. Fournier
2407a0473a
Removed a ',' that didn't belong in the timezone test case
...
Pointed out by: afc@teri.superlink.net
1997-02-19 13:55:13 +00:00
Marc G. Fournier
aa7dbd0b95
Had configure check for strdup, but didn't have it set HAVE_STRDUP
...
Fixed
1997-02-13 08:33:28 +00:00
Marc G. Fournier
ba82bb3eac
Make sure we have an irix port
...
Pointed out by: Dave Morrison (mirrison@mail.phy.ornl.gov )
1997-02-12 05:17:19 +00:00
Marc G. Fournier
e7c767b477
Try to further reduce the PORT dependencies.
...
Essentially, config.h now includes an 'os.h', which is created via
configure by linking a "port.h" file from the port directory to the
include directory.
Going to try to merge backend/port in similar ways
1997-02-09 04:34:07 +00:00
Marc G. Fournier
171e0c27e4
Changes to configure/config.h.in to check for:
...
sigprocmask, setsid and waitpid
Especially for nextstep systems
Awaiting for a context diff from Gregor to complete changes for the nextstep
port
1997-02-09 03:33:38 +00:00
Marc G. Fournier
ad6bfe67bd
Various fixes suggested by Gregor Hoffleit
...
Add a check to configure for strdup
Remove all the '-ltermcap' checks from psql/Makefile
Have {psql,pg_dump}/Makefile modified if strdup doesn't exist on the system
1997-02-09 03:23:52 +00:00
Marc G. Fournier
f3ceb0a144
Oops, the port is ultrix4, not ultrix
...
Pointed out by: Erik Bertelsen
1997-02-08 03:29:31 +00:00
Marc G. Fournier
37e7e77c33
Add in netbsd*) to configure
...
Pointed out by D'Arcy
1997-02-07 17:49:50 +00:00
Marc G. Fournier
4c0faba0fe
Add ultrix to configure
1997-02-07 11:07:43 +00:00
Marc G. Fournier
cfd9f6e7a9
Add in the nextstep port so that configure will (should?) run on it
1997-02-07 10:18:35 +00:00
Marc G. Fournier
1ce7b0c808
The test for union semun requires <sys/ipc.h>
...
Pointed out by Bruce
1997-02-06 20:55:03 +00:00
Marc G. Fournier
2c9dbc57e5
Various changes to improve/support Mklinux
...
Submitted by: Tatsuo Ishii
1997-02-06 08:40:16 +00:00
Marc G. Fournier
e72b1ccd30
Add test for union semun to configure
...
Remove references to NEED_UNION_SEMUN from include/config.h.in and
from include/storage/ipc.h, replacing it with a single HAVE_UNION_SEMUN
1997-02-06 05:30:50 +00:00
Marc G. Fournier
321d42c6d0
Change ordering of libraries
1997-02-06 05:05:04 +00:00