head	1.48;
access;
symbols
	REL7_0_PATCHES:1.47.0.2
	REL7_0:1.47
	REL6_5_PATCHES:1.41.0.2
	REL6_5:1.41
	REL6_4:1.34.0.2
	release-6-3:1.26;
locks; strict;
comment	@# @;


1.48
date	2000.07.15.15.54.52;	author petere;	state dead;
branches;
next	1.47;

1.47
date	2000.04.18.05.57.45;	author tgl;	state Exp;
branches;
next	1.46;

1.46
date	2000.04.17.18.11.40;	author momjian;	state Exp;
branches;
next	1.45;

1.45
date	2000.03.19.22.48.30;	author tgl;	state Exp;
branches;
next	1.44;

1.44
date	99.11.06.01.55.44;	author momjian;	state Exp;
branches;
next	1.43;

1.43
date	99.09.27.00.48.42;	author momjian;	state Exp;
branches;
next	1.42;

1.42
date	99.09.06.15.15.07;	author momjian;	state Exp;
branches;
next	1.41;

1.41
date	99.06.11.14.34.02;	author momjian;	state Exp;
branches;
next	1.40;

1.40
date	99.05.31.16.18.53;	author momjian;	state Exp;
branches;
next	1.39;

1.39
date	99.04.12.04.04.54;	author ishii;	state Exp;
branches;
next	1.38;

1.38
date	99.01.17.06.19.55;	author momjian;	state Exp;
branches;
next	1.37;

1.37
date	98.12.18.17.25.40;	author momjian;	state Exp;
branches;
next	1.36;

1.36
date	98.12.18.07.08.01;	author momjian;	state Exp;
branches;
next	1.35;

1.35
date	98.11.23.04.40.58;	author tgl;	state Exp;
branches;
next	1.34;

1.34
date	98.10.23.01.02.10;	author momjian;	state Exp;
branches
	1.34.2.1;
next	1.33;

1.33
date	98.09.10.04.39.46;	author momjian;	state Exp;
branches;
next	1.32;

1.32
date	98.09.09.18.39.31;	author momjian;	state Exp;
branches;
next	1.31;

1.31
date	98.08.25.14.12.27;	author scrappy;	state Exp;
branches;
next	1.30;

1.30
date	98.06.18.04.29.53;	author momjian;	state Exp;
branches;
next	1.29;

1.29
date	98.05.22.04.48.45;	author momjian;	state Exp;
branches;
next	1.28;

1.28
date	98.03.16.15.14.50;	author momjian;	state Exp;
branches;
next	1.27;

1.27
date	98.03.16.14.46.37;	author momjian;	state Exp;
branches;
next	1.26;

1.26
date	98.02.27.21.55.22;	author scrappy;	state Exp;
branches;
next	1.25;

1.25
date	98.02.23.15.44.25;	author scrappy;	state Exp;
branches;
next	1.24;

1.24
date	98.02.03.01.00.48;	author scrappy;	state Exp;
branches;
next	1.23;

1.23
date	98.01.29.17.16.02;	author scrappy;	state Exp;
branches;
next	1.22;

1.22
date	97.12.02.02.43.08;	author scrappy;	state Exp;
branches;
next	1.21;

1.21
date	97.11.19.17.57.42;	author momjian;	state Exp;
branches;
next	1.20;

1.20
date	97.11.10.03.31.49;	author scrappy;	state Exp;
branches;
next	1.19;

1.19
date	97.11.09.03.58.20;	author scrappy;	state Exp;
branches;
next	1.18;

1.18
date	97.11.09.03.45.39;	author scrappy;	state Exp;
branches;
next	1.17;

1.17
date	97.10.30.03.37.20;	author momjian;	state Exp;
branches;
next	1.16;

1.16
date	97.09.24.15.49.46;	author momjian;	state Exp;
branches;
next	1.15;

1.15
date	97.09.23.22.53.47;	author momjian;	state Exp;
branches;
next	1.14;

1.14
date	97.09.16.18.51.49;	author momjian;	state Exp;
branches;
next	1.13;

1.13
date	97.09.14.23.34.16;	author momjian;	state Exp;
branches;
next	1.12;

1.12
date	97.08.22.18.48.25;	author momjian;	state Exp;
branches;
next	1.11;

1.11
date	97.08.17.02.40.00;	author scrappy;	state Exp;
branches;
next	1.10;

1.10
date	97.08.02.16.32.51;	author momjian;	state Exp;
branches;
next	1.9;

1.9
date	97.07.28.00.56.32;	author momjian;	state Exp;
branches;
next	1.8;

1.8
date	97.07.16.02.25.16;	author momjian;	state Exp;
branches;
next	1.7;

1.7
date	97.07.15.17.16.46;	author momjian;	state Exp;
branches;
next	1.6;

1.6
date	97.06.05.17.36.43;	author momjian;	state Exp;
branches;
next	1.5;

1.5
date	97.06.03.20.08.06;	author momjian;	state Exp;
branches;
next	1.4;

1.4
date	97.05.17.03.02.04;	author scrappy;	state Exp;
branches;
next	1.3;

1.3
date	97.04.28.16.19.45;	author scrappy;	state Exp;
branches;
next	1.2;

1.2
date	97.04.22.17.55.20;	author scrappy;	state Exp;
branches;
next	1.1;

1.1
date	97.04.06.04.43.28;	author scrappy;	state Exp;
branches;
next	;

1.34.2.1
date	98.11.23.04.44.22;	author tgl;	state Exp;
branches;
next	;


desc
@@


1.48
log
@Rename templates to match names in makefiles/Makefile.* and include/port.
Read templates after compiler is detected. Convert all templates to real
shell scripts. Rename bsd->openbsd, alpha->osf.
@
text
@# Format of this file is expr-style-regular-expression=templatefilename
alpha[a-z0-9]*-unknown-linux-gnu=linux_alpha
alpha[a-z0-9]*-dec-osf=alpha_cc
arm-unknown-linux-gnu=linux_arm
hppa[0-9.]*-hp-hpux=hpux_cc
hppa1.1-stratus-sysv4=svr4
i.86-next-nextstep3=nextstep
i.86-pc-bsdi2.0=bsdi_2.0
i.86-pc-bsdi2.1=bsdi_2.1
i.86-pc-bsdi3=bsdi_2.1
i.86-pc-bsdi4=bsdi_4.0
i.86-pc-cygwin=cygwin32
i.86-pc-linux-gnu=linux_i386
i.86-pc-sco3.2v=sco
i.86-pc-solaris=solaris_i386_gcc
i.86-pc-sunos5=solaris_i386_gcc
i.86-unknown-freebsd=freebsd
i.86-unknown-netbsd=netbsd
m68k-unknown-linux=linux_m68k
mips-pc-linux-gnu=linux_mips
mips-sgi-irix=irix5
mipsel-unknown-linux-gnu=linux_mips
powerpc-ibm-aix3.2.5=aix_325
powerpc-ibm-aix4.1=aix_41
powerpc-ibm-aix4.2=aix_42
powerpc-ibm-aix4.3=aix_42
powerpc-unknown-linux-gnu=linux_ppc
rs6000-ibm-aix4.2=aix_42
rs6000-ibm-aix4.3=aix_42
sparc-sun-solaris=solaris_sparc_gcc
sparc-sun-sunos4=sunos4_gcc
sparc-sun-sunos5=solaris_sparc_gcc
sparc-unknown-bsdi4=bsdi_4.0_sparc
sparc-unknown-linux-gnu=linux_sparc
@


1.47
log
@linux_alpha pattern should allow for more-detailed machine type such
as 'alphaev5', cf report from Stepanov 13-Apr-00.
@
text
@@


1.46
log
@Aix additions
@
text
@d2 1
a2 1
alpha-unknown-linux-gnu=linux_alpha
@


1.45
log
@Make use of pre-existing regexp match capability to eliminate redundant
entries in template selection rules.  Also, change alpha-dec-osf pattern
to cope with version info attached to the 'alpha' part.
@
text
@d28 2
@


1.44
log
@Add Linux ARM.
@
text
@d1 1
a1 1
alpha-dec-osf=alpha_cc
d3 3
a5 2
hppa1.1-hp-hpux=hpux_cc
hppa2.0-hp-hpux10.20=hpux_cc
d7 12
a18 19
i386-next-nextstep3=nextstep
i386-pc-bsdi2.0=bsdi_2.0
i386-pc-bsdi2.1=bsdi_2.1
i386-pc-bsdi3=bsdi_2.1
i386-pc-bsdi4=bsdi_4.0
i386-pc-linux-gnu=linux_i386
i386-pc-solaris=solaris_i386_gcc
i386-pc-sunos5=solaris_i386_gcc
i386-unknown-freebsd=freebsd
i386-unknown-netbsd=netbsd
i386-pc-cygwin32=cygwin32
i486-pc-linux-gnu=linux_i386
i586-pc-linux-gnu=linux_i386
i586-pc-sco3.2v=sco
i686-pc-linux-gnu=linux_i386
i386-pc-cygwin=cygwin32
i486-pc-cygwin=cygwin32
i586-pc-cygwin=cygwin32
i686-pc-cygwin=cygwin32
d20 1
a20 1
m68k-unknown-linux-gnu=linux_m68k
d22 1
a32 3
mips-pc-linux-gnu=linux_mips
mipsel-unknown-linux-gnu=linux_mips
arm-unknown-linux-gnu=linux_arm
@


1.43
log
@Add bsdi sparc port.
@
text
@d40 1
@


1.42
log
@test
@
text
@d36 1
@


1.41
log
@add m86 similar entries.
@
text
@d4 1
@


1.40
log
@NT similar file update.
@
text
@d24 2
@


1.39
log
@add mipsel-unknown-linux-gnu support. config.guess seems slightly changed
since April 1?
@
text
@d20 4
@


1.38
log
@Apply Win32 patch from Horak Daniel.
@
text
@d31 1
@


1.37
log
@I have ported PostgreSQL 6.4 to Cobalt Qube running Linux 2.0.33 with
MIPS cpu (I think it's R4000). I have tested the patches on LinuxPPC
and FreeBSD. I believe they do not harm other platforms.
--
Tatsuo Ishii
@
text
@d15 1
@


1.36
log
@Attached is a patch with some fixes that (I think that) should go into
6.4.1. Here is the list:

- The type int8 now works. In fact, the bug(s) were in
src/backend/port/snprintf.c, so int8 is probably broken in every platform
that hasn't a native snprintf/vsnprintf. The type itself worked as
expected, only the output was wrong. Anyway, this patch should be checked
in other platforms.

- The regression tests for int2 and int4, which were broken due to
differences in the error messages, are fixed.

- The regression test for float8, which was broken in the reference
platform, is also fixed. I don't know if the new file (float8-OSF1.out)
will work on other platforms, but it might be worth to try it.

- Two new template files are provided (alpha_cc, which includes
optimization, and alpha_gcc), and src/templates/.similar is updated
accordingly. src/templates/alpha should be removed from the distribution.
*IMPORTANT NOTE*: I don't know if you can use gcc to compile postgres;
I've written the alpha_gcc file because alpha_cc has some flags that are
specific to DEC C.

- There is a (very basic) Digital Unix specific FAQ in
doc/FAQ_DigitalUnix.

--
-------------------------------------------------------------------
Pedro Jos Lobo Perea                   Tel:    +34 91 336 78 19
@
text
@d29 1
@


1.35
log
@modify configure so that template/.similar entries can be
selected when they match a prefix of the  value.  The previous method,
which stripped all version data from  and then tried to match that
against .similar entries, was entirely useless when .similar contained
several entries for different version numbers of a single OS name.
@
text
@d1 1
a1 1
alpha-dec-osf=alpha
@


1.34
log
@Update for bsdi 3.0.
@
text
@d3 1
a3 1
hppa1.1-hp-hpux10.20=hpux_cc
d8 2
a9 3
i386-pc-bsdi3.0=bsdi_2.1
i386-pc-bsdi3.1=bsdi_2.1
i386-pc-bsdi4.0=bsdi_4.0
d11 1
a11 1
i386-pc-solaris2.6=solaris_i386_gcc
d21 3
a23 4
powerpc-ibm-aix4.1.4.0=aix_41
powerpc-ibm-aix4.1.5.0=aix_41
powerpc-ibm-aix4.2.1.0=aix_42
powerpc-ibm-aix4.3.1.0=aix_42
@


1.34.2.1
log
@modify configure so that template/.similar entries can be
selected when they match a prefix of the  value.  The previous method,
which stripped all version data from  and then tried to match that
against .similar entries, was entirely useless when .similar contained
several entries for different version numbers of a single OS name.
@
text
@d3 1
a3 1
hppa1.1-hp-hpux=hpux_cc
d8 3
a10 2
i386-pc-bsdi3=bsdi_2.1
i386-pc-bsdi4=bsdi_4.0
d12 1
a12 1
i386-pc-solaris=solaris_i386_gcc
d22 4
a25 3
powerpc-ibm-aix4.1=aix_41
powerpc-ibm-aix4.2=aix_42
powerpc-ibm-aix4.3=aix_42
@


1.33
log
@Add some support for BSDI 4.0.
@
text
@d9 1
@


1.32
log
@Aix4 fixes from Andreas Zeugswetter
@
text
@d8 2
a9 1
i386-pc-bsdi3.0=bsdi_3.0
@


1.31
log
@
Add nextstep to similar template file
@
text
@d22 2
@


1.30
log
@Update .similar file for new template names.
@
text
@d3 1
d5 1
a5 1
hppa1.1-hp-hpux10.20=hpux_cc
d24 1
a26 1
sparc-sun-sunos4=sunos4_gcc
@


1.29
log
@Solaris 5 fix.
@
text
@d2 1
a2 1
alpha-unknown-linux-gnu=linuxalpha
d4 7
a10 7
hppa1.1-hp-hpux10.20=hpux
i386-pc-bsdi2.0=bsdi-2.0
i386-pc-bsdi2.1=bsdi-2.1
i386-pc-bsdi3.0=bsdi-3.0
i386-pc-linux-gnu=linux-elf
i386-pc-solaris2.6=i386_solaris-gcc
i386-pc-sunos5=i386_solaris-gcc
d13 2
a14 3
i486-pc-linux-gnu=linux-elf
i486-pc-linux-gnuaout=linux
i586-pc-linux-gnu=linux-elf
d16 1
a16 1
i686-pc-linux-gnu=linux-elf
d21 5
a25 5
powerpc-unknown-linux-gnu=linux-elf
sparc-sun-solaris=sparc_solaris-gcc
sparc-sun-sunos5=sparc_solaris-gcc
sparc-unknown-linux-gnu=linux-elf-sparc
sparc-sun-sunos4=sunos4-gcc
@


1.28
log
@SunOS .similar cleanup.
@
text
@d10 1
d24 1
@


1.27
log
@Add SunOS entries.
@
text
@d24 1
a24 4
sparc-sun-sunos4.1.3=sunos4-gcc
sparc-sun-sunos4.1.3_JL=sunos4-gcc
sparc-sun-sunos4.1.4=sunos4-gcc
sparc-sun-sunos4.1.4_JL=sunos4-gcc
@


1.26
log
@Add for port hppa-??-hpux...
@
text
@d24 4
@


1.25
log
@A few misc fixes brought up by Andrew
@
text
@d4 1
@


1.24
log
@Fixes for linux-elf-sparc related template file

From: "Thomas A. Szybist" <szybist@@boxhill.com>
@
text
@d16 1
a16 1
mips-sgi-irix=irix
@


1.23
log
@don't forget to 'template' i386_solaris
@
text
@d22 1
a22 1
sparc-unknown-linux-gnu=linux-elf
@


1.22
log
@Linux related change to .similar to handle 'a.out' files...

From: Herb Richter <hgr@@buynet.com>
@
text
@d8 1
@


1.21
log
@Add to .similar file, Tatsuo Ishii
@
text
@d11 1
a15 1
powerpc-unknown-linux-gnu=linux-elf
d19 1
@


1.20
log
@From: "Gillies, Robert" <GilliesR@@Nichols.com>

Add: Stratus computer (a fault tolerant Unix box running an Intel I960
processor).
@
text
@d15 1
@


1.19
log
@Oops, shouldn't have added that extra, it seems... :)
@
text
@d2 2
d7 1
a9 4
i586-pc-sco3.2v=sco
mips-sgi-irix=irix
sparc-sun-solaris=sparc_solaris-gcc
i386-pc-linux-gnu=linux-elf
d12 1
d14 1
a14 2
sparc-unknown-linux-gnu=linux-elf
alpha-unknown-linux-gnu=linuxalpha
d18 2
@


1.18
log
@Add i586-pc-sco3.2v5.0.2 to .similar file

Pointed out by: Pieter Huyser <pieter@@inetsys.alt.za>
@
text
@a7 1
i586-pc-sco3.2v5.0.2=sco
@


1.17
log
@AIX patch from Darren King.
@
text
@d8 1
@


1.16
log
@Remove aix power pc.
@
text
@d16 3
@


1.15
log
@AIX fixes.
@
text
@a15 1
powerpc-ibm-aix4.1.5.0
@


1.14
log
@Linux seems to have 3/4/5/686.
@
text
@d16 1
@


1.13
log
@-Linux configure additoin, libtcl Makefile patch.
@
text
@d10 4
a13 1
i585-pc-linux-gnu=linux-elf
@


1.12
log
@Update .similar version file.
@
text
@a4 1
i586-pc-sco3.2v=sco
d7 1
d10 1
@


1.11
log
@Fixes for alphalinux port by abrams@@philos.umass.edu
@
text
@d1 1
a1 1
alpha-dec-osf4=alpha
d5 1
a5 1
i586-pc-sco3.2v5=sco
d8 2
a9 2
mips-sgi-irix5=irix5
sparc-sun-solaris2=sparc_solaris-gcc
@


1.10
log
@Makei configure less os-version specific, were possible.
@
text
@d11 1
@


1.9
log
@Added SCO support, from Daniel Harris.
@
text
@d1 1
a1 1
alpha-dec-osf4.0=alpha
d5 5
a9 6
i586-pc-sco3.2v5.0.2=sco
i386-unknown-freebsd3.0=freebsd
i386-unknown-netbsd1.2.1=netbsd
mips-sgi-irix5.3=irix5
sparc-sun-solaris2.5=sparc_solaris-gcc
sparc-sun-solaris2.5.1=sparc_solaris-gcc
@


1.8
log
@Solaris .similar update.
@
text
@d5 1
@


1.7
log
@.similar patch for irix
@
text
@d9 1
@


1.6
log
@bsdi configure detection fix.
@
text
@d2 3
d7 1
a9 4
i386-pc-bsdi2.0=bsdi-2.0
i386-pc-bsdi2.1=bsdi-2.1
i386-pc-bsdi3.0=bsdi-3.0

@


1.5
log
@Add bsdi to template detection.
@
text
@d6 3
a8 3
i386-pc-bsdi2.0
i386-pc-bsdi2.1
i386-pc-bsdi3.0
@


1.4
log
@From: David Friend <dfriend@@atlsci.atlsci.com>

Add an entry for the Sparc/Linux port in .similar
@
text
@d6 4
@


1.3
log
@Add a netbsd template file and update linux-elf and .similar
@
text
@d1 1
a1 1
sparc-sun-solaris2.5=sparc_solaris-gcc
a2 1
alpha-dec-osf4.0=alpha
d4 2
@


1.2
log
@From: System Administrator <igor@@sba.miami.edu>
Subject: [PORTS] Configure for DEC-Alpha

Configure script properly detects alpha-dec-osf4.0 machine, but
sets a default GENERIC template for it. I modified tempplate/.similar to
add alpha-dec-osf4.0=alpha. Then configure properly set the template to
alpha.
@
text
@d4 1
@


1.1
log
@Add in support so that build will at least guess which template file
should be used :)
@
text
@d3 1
@
