head	1.10;
access;
symbols
	REL7_0_PATCHES:1.8.0.2
	REL7_0:1.8
	REL6_5_PATCHES:1.2.0.2
	REL6_5:1.2
	REL6_4:1.1.0.2;
locks; strict;
comment	@# @;


1.10
date	2000.07.15.15.54.52;	author petere;	state dead;
branches;
next	1.9;

1.9
date	2000.06.07.16.26.58;	author petere;	state Exp;
branches;
next	1.8;

1.8
date	2000.04.18.00.27.34;	author tgl;	state Exp;
branches;
next	1.7;

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

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

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

1.4
date	2000.03.23.22.25.36;	author momjian;	state Exp;
branches;
next	1.3;

1.3
date	2000.03.23.17.27.30;	author momjian;	state Exp;
branches;
next	1.2;

1.2
date	99.06.07.17.20.24;	author momjian;	state Exp;
branches;
next	1.1;

1.1
date	98.09.09.18.39.33;	author momjian;	state Exp;
branches;
next	;


desc
@@


1.10
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
@AROPT:crs
CFLAGS:-qmaxmem=16384 -qhalt=w -qsrcmsg -qlanglvl=extended -qlonglong
SHARED_LIB:-lc
ALL:
SRCH_INC:
SRCH_LIB:
DLSUFFIX:.so
CC:xlc
@


1.9
log
@Gen_fmgrtab.sh is strange: it is a platform dependent way (because it uses
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.
@
text
@@


1.8
log
@Revert no-longer-needed relaxation of compiler errors.
@
text
@a6 1
USE_LOCALE:no
a7 2
YFLAGS:-d
YACC:
@


1.7
log
@Add comment for -qhalt=w removal so it can be re-added later
@
text
@d2 1
a2 2
# -qhalt=w  re-add when ecpg is fixed, bjm 2000-04-17
CFLAGS:-qmaxmem=16384 -qsrcmsg -qlanglvl=extended -qlonglong
@


1.6
log
@Remove -qhalt=w flag from aix42.
@
text
@d2 1
@


1.5
log
@Remove -O2 for aix.
@
text
@d2 1
a2 1
CFLAGS:-qmaxmem=16384 -qhalt=w -qsrcmsg -qlanglvl=extended -qlonglong
@


1.4
log
@Back out // compiler flag.
@
text
@d2 1
a2 1
CFLAGS:-O2 -qmaxmem=16384 -qhalt=w -qsrcmsg -qlanglvl=extended -qlonglong
@


1.3
log
@Some points for portability improvements:

1. C++ style comments in C source for ecpg ( // comment )
2. compiler finds wrong include file extern.h in ecpg/lib/descriptor.c
from
include path instead of workdir (rename it ?)
3. fe-connect getsockopt takes a socklen_t as fifth arg not int (use
SOCKET_SIZE_TYPE instead)
4. char vs unsigned char in psql calls to libpq
5. empty define that results in an empty but terminated line ( ; )

Now for all but point 3 I can supply changes to the
compiler flags, to make the compiler less pedantic.
Or is someone interested in the complications ?

in the meantime can someone apply the attached patch ?

Andreas
@
text
@d2 1
a2 1
CFLAGS:-O2 -qmaxmem=16384 -qhalt=w -qsrcmsg -qlanglvl=extended -qlonglong -qcpluscmt
@


1.2
log
@On AIX 4.3.2 the third line in template/aix_42:
SHARED_LIB:

needs to be changed to:
SHARED_LIB:-lc

I think this was also needed on AIX 4.2. Comments Please !!

If nobody objects, I suggest to make this change, since it cannot
break AIX 4.2 and is necessary on AIX 4.3

Andreas
@
text
@d2 1
a2 1
CFLAGS:-qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg -qcheck=divzero -qlonglong
@


1.1
log
@Aix4 fixes from Andreas Zeugswetter
@
text
@d3 1
a3 1
SHARED_LIB:
@

