[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash 4.3.42 configure script needs to test sys/resource.h different
From: |
Chet Ramey |
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 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
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/