On 02/04/2013 08:37 AM, Francisco Cuesta wrote:
> 
> I know how to fix it through linux terminal through adding the option *export
> ac_cv_func_malloc_0_nonnull=yes* , but non through Eclipse or autotools
> pluging, since the settings of the project aren't available. May you
> enlighten me?

Can't you set that environment variable before starting eclipse, so that
it propagates all the way through to when eclipse starts running configure?

Or, it might be possible to set up a config.site that pre-populates the
correct answer for your toolchain:
https://www.gnu.org/software/autoconf/manual/autoconf.html#Site-Defaults

> PS: the parameters which I've set in autotools plugin are the following
> ones:
> 
> -Command: configure  CFLAGS="-m32" LDFLAGS="-m32"
> CC=/home/t/s/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/arm-mv5sft-linux-gnueabi-gcc
> CC=c99

I'm not familiar with eclipse, but wouldn't this -Command: line be where
you can add arbitrary options to configure, including
ac_cv_func_malloc_0_nonnull=yes?

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
https://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to