On 09/10/2015 02:11 PM, John David Anglin wrote:
The attached patch fixes bootstrap on hppa-hpux and possibly other older
systems without setenv and unsetenv.
The setenv and unsetenvy functions are available in libiberty. All that
is needed is to add declaration configure checks
and the missing declarations when they are not available on the host.
Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Okay for trunk?
Dave
--
John David Anglin dave.ang...@bell.net
setenv.d.txt
2015-09-15 John David Anglin<dang...@gcc.gnu.org>
PR bootstrap/67363
* configure.ac: Check if setenv and unsetenv are declared.
* configure: Rebuild.
* config.in: Rebuild.
* system.h: Declare setenv and unsetenv if not declared.
OK.
jeff