On 9 February 2015 at 13:10, Daniel P. Berrange <berrange(a)redhat.com> wrote:
On Mon, Feb 09, 2015 at 11:06:16AM +0000, Margaret Lewicka wrote:
> gnulib's error.c requires program_name to be externally defined
> for !_LIBC systems. This defines program_name for Darwin only.
> ---
> configure.ac | 3 +++
> src/Makefile.am | 6 ++++++
> src/program_name.c | 4 ++++
> 3 files changed, 13 insertions(+)
> create mode 100644 src/program_name.c
src/guestfs-internal-frontend.h has a #define to replace use
of 'program_name' with something that is defined, so this
should not be required unless the header includes are not
right somewhere.
It is required, because gnulib itself explicitly defines an extern
char *program_name. See gnulib/lib/error.c:118
--
M.