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

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 2015-10-24 21:13 -0400
Organization ITS, Case Western Reserve University
Message-ID <mailman.1015.1445735616.7904.bug-bash@gnu.org> (permalink)
References <561D653A.8060107@haus-gisela.de>

Show all headers | 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