From xemacs-m  Wed Jul 30 13:30:21 1997
Received: from newman.aventail.com (root@newman.aventail.com [199.238.236.1])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id NAA09613
	for <xemacs-beta@xemacs.org>; Wed, 30 Jul 1997 13:30:20 -0500 (CDT)
Received: from kramer.in.aventail.com (wmperry@kramer.in.aventail.com [192.168.1.12])
	by newman.aventail.com (8.8.5/8.8.5) with ESMTP id LAA16590;
	Wed, 30 Jul 1997 11:30:16 -0700 (PDT)
Received: (from wmperry@localhost)
	by kramer.in.aventail.com (8.8.5/8.8.5) id LAA31807;
	Wed, 30 Jul 1997 11:29:49 -0700
To: "Barry Friedman" <friedman@nortel.ca>
Cc: mrb@Eng.Sun.COM, xemacs-beta@xemacs.org
Subject: Re: HPUX 9 + cc + alloca + libPW
References: <9707301253.AA03127@nquah6f>
Errors-to: wmperry@aventail.com
Reply-to: wmperry@aventail.com
X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7</SYF`{vYQ(&RI1&EiH[FvT;J}@f!4kfz
 x_!Y#=y{Uuj9GvUi=cPuajQ(Z42R[wE@{G,sn$qGr5g/wnb*"*ktI+,CD}1Z'wxrM2ag-r0p5I6\nA
 [WJopW_J.WY;
From: wmperry@aventail.com (William M. Perry)
Date: 30 Jul 1997 11:29:48 -0700
In-Reply-To: Barry Friedman's message of "Wed, 30 Jul 1997 08:53:27 -0400 (EDT)"
Message-ID: <8667ts5r6r.fsf@kramer.in.aventail.com>
Lines: 26
X-Mailer: Gnus v5.4.63/XEmacs 20.3(beta14) - "Vienna"

Barry Friedman <friedman@nquah6f> writes:

> I think you have given us the solution to this problem:
> 
> Martin Buchholz wrote:
> > 
> > Here is the relevant section from the Autoconf 2.12 documentation:
> > 
> [snip]
> >           #   ifndef alloca /* predefined by HP cc +Olibcalls */
> 
> I modified src/s/hpux9.h  to define :  (patch below)
> #define C_SWITCH_SYSTEM "-Ae -Wp,-H100000 +Olibcalls"
> 
> and commented out your last configure change which tests for alloca
> in libPW.a   
> 
> The build is now fine on both gcc and hp-cc (c89)
> 
> If this works on hpux 10.x  (which it should given the same compiler)
> then we can lay this problem to rest.

  Amen.  That was the compiler switch I couldn't remember, and I don't have 
access to the ANSI compiler from hp right now.  Whee.

-Bill P.

