[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Malloc issue when cross-compiling with autotools
From: |
Paul Eggert |
Subject: |
Re: Malloc issue when cross-compiling with autotools |
Date: |
Mon, 04 Feb 2013 15:32:45 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
One possible way to fix it is to alter these lines in
m4/malloc.m4:
[case "$host_os" in
# Guess yes on platforms where we know the result.
*-gnu* | freebsd* | netbsd* | openbsd* \
| hpux* | solaris* | cygwin* | mingw*)
ac_cv_func_malloc_0_nonnull=yes ;;
# If we don't know, assume the worst.
*) ac_cv_func_malloc_0_nonnull=no ;;
esac
Is your platform is one where 'yes' is the appropriate
answer? If so, what is the value of "$host_os" for you?
Perhaps we should change gnulib by adding your platform to the list.