Re: gnulib unsetenv/environ compile failure in hp-ux

2009-05-24 Thread Bruno Haible
imu...@netspace.net.au wrote: > The compile fails with > > cc -DHAVE_CONFIG_H -I. -I.. ... -g -z +O2 -c unsetenv.c +Z -DPIC -o > .libs/unsetenv.o > cc: "unsetenv.c", line 67: error 1588: "environ" undefined. This fails because this command line does not include the option -Ae or -D_HPUX_SOURC

gnulib unsetenv/environ compile failure in hp-ux

2009-05-24 Thread imunro
I am having a problem with gnulib in hp-ux. The objective is to provide the unsetenv function which is missing in hp-ux, unsetenv requires environ. The compile fails with cc -DHAVE_CONFIG_H -I. -I.. -I/opt/TWWfsw/bzip2/include -I/opt/TWWfsw/fcpackage24/include -I/opt/TWWfsw/gettext014/include