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


1.20
date	2009.02.11.20.02.40;	author tgl;	state Exp;
branches;
next	1.19;

1.19
date	2006.02.03.13.56.20;	author momjian;	state Exp;
branches;
next	1.18;

1.18
date	2006.02.03.13.53.15;	author momjian;	state Exp;
branches;
next	1.17;

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

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

1.15
date	2003.11.01.20.45.30;	author petere;	state Exp;
branches;
next	1.14;

1.14
date	2003.10.25.15.32.11;	author petere;	state Exp;
branches;
next	1.13;

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

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

1.11
date	2002.09.04.22.54.18;	author petere;	state Exp;
branches;
next	1.10;

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

1.9
date	2000.11.18.05.40.03;	author tgl;	state Exp;
branches;
next	1.8;

1.8
date	2000.10.31.18.16.20;	author petere;	state Exp;
branches;
next	1.7;

1.7
date	2000.10.21.22.36.13;	author petere;	state Exp;
branches;
next	1.6;

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

1.5
date	97.05.20.03.00.14;	author scrappy;	state dead;
branches;
next	1.4;

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

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

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

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


desc
@@


1.20
log
@Tweak configure to attempt to add -qnoansialias to CFLAGS whenever running
on AIX with a non-gcc compiler.  The previous coding would do this only if
CC was exactly "xlc"; which is a bad idea, as demonstrated by trouble report
from Mihai Criveti.
@
text
@# Set appropriate default compiler options if using xlc
# Note: configure will add -qnoansialias if the compiler accepts it,
# even if user specifies a non-default CFLAGS setting.
if test "$GCC" != yes ; then
  case $host_os in
    aix3.2.5 | aix4.1*)
      CFLAGS="-O -qmaxmem=16384 -qsrcmsg"
      ;;
    *)
      CFLAGS="-O2 -qmaxmem=16384 -qsrcmsg -qlonglong"
      ;;
  esac
fi

# Native memset() is faster, tested on:
# 	AIX 5.1 and 5.2, XLC 6.0 (IBM's cc)
# 	AIX 5.3 ML3, gcc 4.0.1
MEMSET_LOOP_LIMIT=0
@


1.19
log
@Update tested AIX memset platforms.
@
text
@d1 3
@


1.18
log
@Allow MEMSET_LOOP_LIMIT to be set on a per-platform basis, and turn off
MemSet on AIX by setting MEMSET_LOOP_LIMIT to zero.

Add optimization to skip MemSet tests in MEMSET_LOOP_LIMIT == 0 case and
just call memset() directly.
@
text
@d12 3
a14 2
# native memset() is faster, 2006-02-03
# XLC 6.0, (IBM's cc), tested on AIX 5.2 and 5.1
@


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


1.16
log
@Add to CPPFLAGS/CFLAGS in template files, don't over-ride them.
@
text
@d4 1
a4 1
      CFLAGS="$CFLAGS -O -qmaxmem=16384 -qsrcmsg"
d7 1
a7 1
      CFLAGS="$CFLAGS -O2 -qmaxmem=16384 -qsrcmsg -qlonglong"
@


1.15
log
@Fix CFLAGS logic.
@
text
@d4 1
a4 1
      CFLAGS="-O -qmaxmem=16384 -qsrcmsg"
d7 1
a7 1
      CFLAGS="-O2 -qmaxmem=16384 -qsrcmsg -qlonglong"
@


1.14
log
@Fix CFLAGS selection to actually work.  Add test to detect whether gcc's
option -fno-strict-aliasing is available.
@
text
@d3 6
a8 2
    aix3.2.5 | aix4.1*) ;;
    *) CFLAGS="-O2 -qlonglong";;
a9 1
  CFLAGS="-O -qmaxmem=16384 -qsrcmsg"
@


1.13
log
@Remove -pipe from compiles.
@
text
@d4 1
a4 1
    *) CFLAGS="$CFLAGS -O2 -qlonglong";;
d6 1
a6 1
  CFLAGS="$CFLAGS -qmaxmem=16384 -qsrcmsg"
@


1.12
log
@Make template CFLAGS handling consistent.
@
text
@d1 1
a1 3
if test "$GCC" = yes ; then
  CFLAGS="$CFLAGS -pipe"
else
@


1.11
log
@Remove leftovers from subproject removals.  Fixes for Python and Kerberos
configuration.
@
text
@d2 2
a3 3
  CFLAGS='-O2 -pipe'
else # not GCC
  CFLAGS='-O2 -qmaxmem=16384 -qsrcmsg -qlonglong'
d5 2
a6 2
    aix3.2.5 | aix4.1*)
      CFLAGS='-qmaxmem=16384 -qsrcmsg' ;;
d8 2
a9 1
fi # not GCC
@


1.10
log
@Upgrade to Autoconf version 2.53.  Replaced many custom macro
calls with new or now-built-in versions.  Make sure that all
calls to AC_DEFINE have a third argument, for possible use of
autoheader in the future.
@
text
@a8 1
  CCC=xlC
@


1.9
log
@AIX patches from Andreas.
@
text
@d9 1
@


1.8
log
@Determine CXXFLAGS after the C++ compiler was detected.  Also honor
--enable-debug and environment variable override.
@
text
@d2 1
a2 1
  CFLAGS=-pipe
d4 1
d6 2
a7 9
    aix3.2.5)
      CFLAGS='-qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg'
      ;;
    aix4.1)
      CFLAGS='-qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg -qcheck=divzero'
      ;;
    aix4.2 | aix4.3)
      CFLAGS='-qmaxmem=16384 -qhalt=w -qsrcmsg -qlanglvl=extended -qlonglong'
      ;;
@


1.7
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
@a2 1
  CXXFLAGS=-pipe
@


1.6
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
@a0 3
AROPT=crs
DLSUFFIX=.so

a3 1
  SHARED_LIB=-lc
a7 1
      SHARED_LIB='-e _nostart -lc'
a10 1
      SHARED_LIB='-bnoentry -lc'
a13 1
      SHARED_LIB='-lc'
@


1.5
log
@From: Darren King <aixssd!darrenk@@abs.net>
Subject: [PATCHES] AIX 6.2 make patch.

New template files to replace the old AIX template
@
text
@d1 23
a23 10
AROPT:crs
CFLAGS:-qchars=signed -qmaxmem=4000
SHARED_LIB:
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:
@


1.4
log
@Change BACKEND to CFLAGS
@
text
@@


1.3
log
@Move YACC and YFLAGS into the template files

Clean up the .sample files...comment out all sample entries except for
the localhost one
@
text
@d2 1
a2 1
BACKEND:-qchars=signed -qmaxmem=4000
@


1.2
log
@Got AROPT setting backwards...correct it
@
text
@d9 2
@


1.1
log
@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...
@
text
@d1 1
a1 1
AROPT:cq
@
