head	1.16;
access;
symbols
	REL9_0_0:1.16
	REL9_1_ALPHA1:1.16
	REL9_0_RC1:1.16
	REL9_0_BETA4:1.16
	REL9_0_STABLE:1.16.0.16
	REL9_0_BETA3:1.16
	REL9_0_BETA2:1.16
	REL7_4_29:1.10
	REL8_0_25:1.14
	REL8_1_21:1.14
	REL8_2_17:1.15
	REL8_3_11:1.16
	REL8_4_4:1.16
	REL9_0_BETA1:1.16
	REL9_0_ALPHA5_BRANCH:1.16.0.14
	REL9_0_ALPHA5:1.16
	REL7_4_28:1.10
	REL8_0_24:1.14
	REL8_1_20:1.14
	REL8_2_16:1.15
	REL8_3_10:1.16
	REL8_4_3:1.16
	REL9_0_ALPHA4:1.16
	REL9_0_ALPHA4_BRANCH:1.16.0.12
	REL8_5_ALPHA3:1.16
	REL8_5_ALPHA3_BRANCH:1.16.0.10
	REL7_4_27:1.10
	REL8_0_23:1.14
	REL8_1_19:1.14
	REL8_2_15:1.15
	REL8_3_9:1.16
	REL8_4_2:1.16
	REL8_5_ALPHA2:1.16
	REL8_5_ALPHA2_BRANCH:1.16.0.8
	REL7_4_26:1.10
	REL8_0_22:1.14
	REL8_1_18:1.14
	REL8_2_14:1.15
	REL8_3_8:1.16
	REL8_4_1:1.16
	REL8_5_ALPHA1:1.16
	REL8_5_ALPHA1_BRANCH:1.16.0.6
	REL8_4_STABLE:1.16.0.4
	REL8_4_0:1.16
	REL8_4_RC2:1.16
	REL8_4_RC1:1.16
	REL8_4_BETA2:1.16
	REL8_4_BETA1:1.16
	REL7_4_25:1.10
	REL8_0_21:1.14
	REL8_1_17:1.14
	REL8_2_13:1.15
	REL8_3_7:1.16
	REL7_4_24:1.10
	REL8_0_20:1.14
	REL8_1_16:1.14
	REL8_2_12:1.15
	REL8_3_6:1.16
	REL7_4_23:1.10
	REL8_0_19:1.14
	REL8_1_15:1.14
	REL8_2_11:1.15
	REL8_3_5:1.16
	REL7_4_22:1.10
	REL8_0_18:1.14
	REL8_1_14:1.14
	REL8_2_10:1.15
	REL8_3_4:1.16
	REL7_4_21:1.10
	REL8_0_17:1.14
	REL8_1_13:1.14
	REL8_2_9:1.15
	REL8_3_3:1.16
	REL7_4_20:1.10
	REL8_0_16:1.14
	REL8_1_12:1.14
	REL8_2_8:1.15
	REL8_3_2:1.16
	REL8_2_7:1.15
	REL8_3_1:1.16
	REL8_3_STABLE:1.16.0.2
	REL8_3_0:1.16
	REL8_3_RC2:1.16
	REL7_3_21:1.6
	REL7_4_19:1.10
	REL8_0_15:1.14
	REL8_1_11:1.14
	REL8_2_6:1.15
	REL8_3_RC1:1.16
	REL8_3_BETA4:1.16
	REL8_3_BETA3:1.16
	REL8_3_BETA2:1.16
	REL8_3_BETA1:1.16
	REL7_3_20:1.6
	REL7_4_18:1.10
	REL8_0_14:1.14
	REL8_1_10:1.14
	REL8_2_5:1.15
	REL7_3_19:1.6
	REL7_4_17:1.10
	REL8_0_13:1.14
	REL8_1_9:1.14
	REL8_2_4:1.15
	REL8_0_12:1.14
	REL8_1_8:1.14
	REL8_2_3:1.15
	REL7_3_18:1.6
	REL7_4_16:1.10
	REL8_0_11:1.14
	REL8_1_7:1.14
	REL8_2_2:1.15
	REL8_0_10:1.14
	REL8_1_6:1.14
	REL8_2_1:1.15
	REL7_4_15:1.10
	REL7_3_17:1.6
	REL8_2_STABLE:1.15.0.2
	REL8_2_0:1.15
	REL8_2_RC1:1.15
	REL8_2_BETA3:1.15
	REL8_2_BETA2:1.15
	REL8_1_5:1.14
	REL8_0_9:1.14
	REL7_4_14:1.10
	REL7_3_16:1.6
	REL8_2_BETA1:1.15
	REL7_3_15:1.6
	REL7_4_13:1.10
	REL8_0_8:1.14
	REL8_1_4:1.14
	REL7_3_14:1.6
	REL7_4_12:1.10
	REL8_0_7:1.14
	REL8_1_3:1.14
	REL7_3_13:1.6
	REL7_4_11:1.10
	REL8_0_6:1.14
	REL8_1_2:1.14
	REL7_3_12:1.6
	REL7_4_10:1.10
	REL8_0_5:1.14
	REL8_1_1:1.14
	REL8_1_STABLE:1.14.0.6
	REL8_1_0:1.14
	REL8_1_0RC1:1.14
	REL8_1_0BETA4:1.14
	REL8_1_0BETA3:1.14
	REL7_3_11:1.6
	REL7_4_9:1.10
	REL8_0_4:1.14
	REL8_1_0BETA2:1.14
	REL8_1_0BETA1:1.14
	REL7_2_8:1.5
	REL7_3_10:1.6
	REL7_4_8:1.10
	REL8_0_3:1.14
	REL8_0_2:1.14
	REL7_2_7:1.5
	REL7_3_9:1.6
	REL7_4_7:1.10
	REL8_0_1:1.14
	REL8_0_STABLE:1.14.0.4
	REL8_0_0:1.14.0.2
	REL8_0_0RC5:1.14
	REL8_0_0RC4:1.14
	REL8_0_0RC3:1.14
	REL8_0_0RC2:1.14
	REL8_0_0RC1:1.14
	REL8_0_0BETA5:1.12
	REL8_0_0BETA4:1.12
	REL7_4_6:1.10
	REL7_3_8:1.6
	REL7_2_6:1.5
	REL8_0_0BETA3:1.12
	REL8_0_0BETA2:1.12
	REL7_2_5:1.5
	REL7_4_5:1.10
	REL7_3_7:1.6
	REL7_4_4:1.10
	REL8_0_0BETA1:1.12
	REL7_4_3:1.10
	REL7_4_2:1.10
	REL7_3_6:1.6
	REL7_4_1:1.10
	REL7_3_5:1.6
	REL7_4:1.10
	REL7_4_RC2:1.10
	REL7_4_STABLE:1.10.0.2
	REL7_4_RC1:1.10
	REL7_4_BETA5:1.9
	REL7_4_BETA4:1.7
	REL7_4_BETA3:1.7
	REL7_4_BETA2:1.7
	WIN32_DEV:1.7.0.2
	REL7_4_BETA1:1.7
	REL7_3_4:1.6
	REL7_3_2:1.6
	REL7_2_4:1.5
	REL7_3_STABLE:1.6.0.2
	REL7_2_3:1.5
	REL7_2_STABLE:1.5.0.4
	REL7_2:1.5
	REL7_2_RC2:1.5
	REL7_2_RC1:1.5
	REL7_2_BETA5:1.5
	REL7_2_BETA4:1.5
	REL7_2_BETA3:1.5
	REL7_2_BETA2:1.5
	REL7_2_BETA1:1.5
	REL7_1_2:1.5
	REL7_1_STABLE:1.5.0.2
	REL7_1_BETA:1.4
	REL7_1_BETA3:1.4
	REL7_1_BETA2:1.4
	REL7_1:1.5;
locks; strict;
comment	@# @;


1.16
date	2006.12.12.19.43.19;	author petere;	state Exp;
branches;
next	1.15;

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

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

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

1.12
date	2003.12.23.22.15.07;	author tgl;	state Exp;
branches;
next	1.11;

1.11
date	2003.12.23.18.40.53;	author tgl;	state Exp;
branches;
next	1.10;

1.10
date	2003.10.25.15.32.11;	author petere;	state Exp;
branches;
next	1.9;

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

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

1.7
date	2003.04.02.00.49.28;	author tgl;	state Exp;
branches;
next	1.6;

1.6
date	2002.09.04.22.54.18;	author petere;	state Exp;
branches;
next	1.5;

1.5
date	2001.02.20.19.04.04;	author tgl;	state Exp;
branches;
next	1.4;

1.4
date	2000.11.04.14.34.54;	author petere;	state Exp;
branches;
next	1.3;

1.3
date	2000.10.21.22.36.13;	author petere;	state Exp;
branches;
next	1.2;

1.2
date	2000.10.07.18.43.23;	author petere;	state Exp;
branches;
next	1.1;

1.1
date	2000.07.15.15.54.52;	author petere;	state Exp;
branches;
next	;


desc
@@


1.16
log
@Allow augmenting CPPFLAGS from the configure command line.  This generally
works, but some platform templates overwrote it without asking.
@
text
@# $PostgreSQL: pgsql/src/template/hpux,v 1.15 2006/03/11 04:38:41 momjian Exp $

CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED"

if test "$GCC" != yes ; then
  CC="$CC -Ae"
  CFLAGS="+O2"
fi

# Pick right test-and-set (TAS) code.  We need out-of-line assembler
# when not using gcc.
case $host in
  hppa*-*-hpux*)
	if test "$GCC" != yes ; then
		need_tas=yes
		tas_file=hpux_hppa.s
	fi
    ;;
esac
@


1.15
log
@Add CVS tag lines to files that were lacking them.
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.314 2006/03/07 02:54:23 momjian Exp $
d3 1
a3 1
CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED"
@


1.14
log
@Don't bother adding to cflags/cppflags, just set them because configure
handles that, and make solaris debug use no optimization.
@
text
@d1 2
@


1.13
log
@Add to CPPFLAGS/CFLAGS in template files, don't over-ride them.
@
text
@d1 1
a1 1
CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED"
d5 1
a5 1
  CFLAGS="$CFLAGS +O2"
@


1.12
log
@Use inlined TAS() on PA-RISC, if we are compiling with gcc.
Patch inspired by original submission from ViSolve.
@
text
@d1 1
a1 1
CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED"
d5 1
a5 1
  CFLAGS="+O2"
@


1.11
log
@Push responsibility for selecting out-of-line-assembler TAS code out to
the platform template files, instead of doing it directly in configure.in.
This seems cleaner, and also opens the door to making the choice be
dependent on the compiler being used.
@
text
@d8 2
a9 1
# Pick right test-and-set (TAS) code.
d11 6
a16 1
  hppa*-*-hpux*)        need_tas=yes; tas_file=hpux_hppa.s ;;
@


1.10
log
@Fix CFLAGS selection to actually work.  Add test to detect whether gcc's
option -fno-strict-aliasing is available.
@
text
@d7 5
@


1.9
log
@Make template CFLAGS handling consistent.
@
text
@d5 1
a5 1
  CFLAGS="$CFLAGS +O2"
@


1.8
log
@This centralizes the optimization defaults into configure.in, rather
than having CFLAGS= in the template files.

It uses -O2 for gcc (generated by autoconf), and -O for non-gcc, unless
the template overrides it.
@
text
@d5 1
a5 1
  CFLAGS="+O2"
@


1.7
log
@Whack getaddrinfo() patch around until it works, more or less, on
machines without IPv6.  Or at least it works on HPUX 10.20 ...
@
text
@d1 3
a3 4
if test "$GCC" = yes ; then
  CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED"
  CFLAGS="-O2"
else
a4 1
  CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED"
@


1.6
log
@Remove leftovers from subproject removals.  Fixes for Python and Kerberos
configuration.
@
text
@d2 2
a3 1
  CFLAGS=-O2
d6 2
a7 1
  CFLAGS=+O2
@


1.5
log
@Select optimization by default for HP's C compiler.
@
text
@a2 1
  CCC=g++
a5 1
  CCC=aCC
@


1.4
log
@Put -Ae into CC not CFLAGS, since it's not optional.
@
text
@d6 1
@


1.3
log
@Move DLSUFFIX, AROPT, and CFLAGS_SL settings from template to
Makefile.port, since they are of no use to configure and much of the
library magic happens in Makefile.port anyway.

Use __alpha, not __alpha__, since the former is universally available.
Remove -DNOFIXADE from the compile command line and put it in the port
include file.
@
text
@d5 1
a5 2
  CFLAGS=-Ae
  CPP='cc -E -Ae'
@


1.2
log
@Separate -Wl,-E or equivalent into separate make variable, since it's only
necessary for the postgres/postmaster link, not every link.
@
text
@a0 3
AROPT=crs
DLSUFFIX=.sl

a2 2
  SHARED_LIB=-fPIC
  DL_LIB=/usr/lib/libdld.sl
a5 1
  SHARED_LIB=+z
@


1.1
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
@d10 1
a10 1
  CFLAGS='-Wl,-E -Ae'
@
