From dev-return-11021-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Thu Feb 12 05:13:46 2004 Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 35005 invoked from network); 12 Feb 2004 05:13:46 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 12 Feb 2004 05:13:46 -0000 Received: (qmail 40768 invoked by uid 500); 12 Feb 2004 05:13:24 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 40723 invoked by uid 500); 12 Feb 2004 05:13:24 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 40709 invoked from network); 12 Feb 2004 05:13:23 -0000 Date: Thu, 12 Feb 2004 00:13:41 -0500 From: Craig Rodrigues To: Jeff Trawick Cc: dev@apr.apache.org Subject: Re: Problems with configure on new platform. Message-ID: <20040212051341.GA70064@crodrigues.org> References: <1787266898.20040210223332@serebryakov.spb.ru> <20040210203742.GF1486@manyfish.co.uk> <40294A54.2030401@attglobal.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40294A54.2030401@attglobal.net> User-Agent: Mutt/1.4.1i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Tue, Feb 10, 2004 at 04:17:08PM -0500, Jeff Trawick wrote: > I'll try to resync 390 stuff on the symbols set by recent GNU versions... > can't hack OS/400 or OS/2 though. Can you take a look at what I have done? I obtained config.guess and config.sub from autoconf 2.59 and added back in the Apache changes. I replaced the config.guess and config.sub files in apr with the 2.59 + patched versions, and things worked for me. --- /home/rodrigc/autoconf-2.59/config/config.guess Thu Oct 23 10:28:51 2003 +++ config.guess Wed Feb 11 23:46:49 2004 @@ -24,6 +24,11 @@ # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. +##################################################################### +# This file contains changes for Apache, clearly marked below. +# These changes are hereby donated to the public domain. +##################################################################### + # Originally written by Per Bothner . # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. @@ -304,6 +309,24 @@ *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit 0 ;; +######################### +# Apache changes +# +# *:OS/390:*:*) +# echo i370-ibm-openedition +# exit 0 ;; + *:OS390:*:* | *:OS/390:*:*) + echo s390-ibm-os390 + exit 0 ;; + *:OS400:*:* | *:OS/400:*:*) + echo as400-ibm-os400 + exit 0 ;; + *:OS/2:*:*) + echo "i386-pc-os2_emx" + exit 0;; +# +# end Apache changes +######################### *:OS/390:*:*) echo i370-ibm-openedition exit 0 ;; --- /home/rodrigc/autoconf-2.59/config/config.sub Thu Oct 23 10:28:51 2003 +++ config.sub Thu Feb 12 00:09:15 2004 @@ -29,6 +29,11 @@ # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. +##################################################################### +# This file contains changes for Apache, clearly marked below. +# These changes are hereby donated to the public domain. +##################################################################### + # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # @@ -122,6 +127,24 @@ os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; +######################## +# changes for Apache +# + tpf | os390 | vmcms) + os=-$maybe_os + basic_machine=s390; + ;; + os400) + os=-$maybe_os + basic_machine=as400; + ;; + mvs) + os=-mvs + basic_machine=i370; + ;; +# +# end Apache changes +######################## *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] @@ -844,6 +867,15 @@ basic_machine=a29k-amd os=-udi ;; +######################## +# changes for Apache +# + as400*) + basic_machine=as400-ibm + ;; +# +# end Apache changes +######################## sb1) basic_machine=mipsisa64sb1-unknown ;; @@ -1120,6 +1152,14 @@ -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; +######################## +# changes for Apache +# + -os2_emx | -tpf* | -os390* | -vmcms* | -os400* ) + ;; +# +# end Apache changes +######################## # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. @@ -1338,6 +1378,32 @@ *-be) os=-beos ;; +######################## +# changes for Apache +# +# *-ibm) +# os=-aix +# ;; +# + *-ibm) + case $basic_machine in + s390*) + os=-os390; + ;; + i370*) + os=-mvs; + ;; + as400*) + os=-os400; + ;; + *) + os=-aix + ;; + esac + ;; +# +# end Apache changes +######################## *-ibm) os=-aix ;; -- Craig Rodrigues http://crodrigues.org rodrigc@crodrigues.org