Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11761

Re: bash 4.3.42 configure script needs to test sys/resource.h different on SunOS4

Path csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!bloom-beacon.mit.edu!bloom-beacon.mit.edu!171.64.64.130.MISMATCH!usenet.stanford.edu!not-for-mail
From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: bash 4.3.42 configure script needs to test sys/resource.h different on SunOS4
Date Sat, 24 Oct 2015 21:13:10 -0400
Organization ITS, Case Western Reserve University
Lines 27
Approved bug-bash@gnu.org
Message-ID <mailman.1015.1445735616.7904.bug-bash@gnu.org> (permalink)
References <561D653A.8060107@haus-gisela.de>
Reply-To chet.ramey@case.edu
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace usenet.stanford.edu 1445735616 9098 208.118.235.17 (25 Oct 2015 01:13:36 GMT)
X-Complaints-To action@cs.stanford.edu
Cc h_berghaeuser@yahoo.de, chet.ramey@case.edu
To "Klaus Ziegler - owner of sunfreeware.de" <klausz@haus-gisela.de>, bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
In-Reply-To <561D653A.8060107@haus-gisela.de>
X-Mirapoint-Virus-RAPID-Raw score=unknown(0), refid=str=0001.0A020205.562C2CB0.001F,ss=1,re=0.000,fgs=0, ip=71.30.36.64, so=2015-08-12 04:07:17, dmn=2011-05-27 18:58:46
X-Mirapoint-Loop-Id 5cb82d7012a53f9418362d988e10872c
X-Junkmail-Whitelist YES (by domain whitelist at mpv1-2015.case.edu)
X-Mirapoint-Virus-RAPID-Raw score=unknown(0), refid=str=0001.0A020203.562C2CB2.0075,ss=1,re=0.000,fgs=0, ip=71.30.36.64, so=2015-08-12 04:07:17, dmn=2011-05-27 18:58:46
X-Mirapoint-Loop-Id d376619abaf02f014e5862ab69ffb05e
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy]
X-Received-From 129.22.103.226
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.14
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:11761

Show key headers only | View raw


On 10/13/15 4:10 PM, Klaus Ziegler - owner of sunfreeware.de wrote:

> I have no clue how to fix the bashversion linking error in the configure
> script, besides modifying config.h after
> configure has done it's work. 

This one is easy.  version.c and version2.c need to use #if HAVE_SNPRINTF
instead of using #ifdef because new versions of autoconf end up putting
#define HAVE_SNPRINTF 0 into config.h.


> However, the compile error in execute_cmd.c,
> is directly related to the failed
> autoconf test for <sys/resource.h> from above. On SunOS4 a test for
> /usr/include/sys/resource.h needs to
> include /usr/include/sys/time.h to be successful.

This is due to a new version of autoconf, which requires that a header file
compile to have it reported as present.  I'll need to write a new test.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: bash 4.3.42 configure script needs to test sys/resource.h different on SunOS4 Chet Ramey <chet.ramey@case.edu> - 2015-10-24 21:13 -0400

csiph-web