John,

I just noticed that in the configure.ac file, line 332 says
'ac_cv_cstd=gnu99' but line 336 says 'ac_cv_cstd=c11'. If I change line 336
locally to also say 'ac_cv_cstd=gnu99', then autogen.sh does regenerate
configure with CFLAGS set to gnu99 and make, make-check and make-install
all work on the F22 machine. Should that be changed on master, and, if so,
will you do it? Or would you like me to do it?

Thanks,

Alex

On Wed, Jun 17, 2015 at 3:22 PM, Alex Aycinena <alex.aycin...@gmail.com>
wrote:

> John,
>
> The config.log for the F21 system that builds properly does show CFLAGS
> as  -std=gnu99, but the config.log for the F22 system that doesn't build,
> shows CFLAGS as -std=c11. I checked to make sure the configure.ac file on
> the F22 does have the 'ac_cv_cstd=gnu99' line that you had previously
> pushed and, as expected, it does. When I re-run './autogen.sh', then switch
> to the build directory and run 'configure', at the end it shows 'CFLAGS
> ............... : -g  -std=c11 -g'. I do not understand what causes the
> difference. Doesn't autogen.sh use configure.ac to regenerate configure?
> And wouldn't your change cause the CFLAGS to be set as on the F21 system?
> Any guidance?
>
> Thanks,
>
> Alex
>
> On Mon, Jun 15, 2015 at 2:04 PM, John Ralls <jra...@ceridwen.us> wrote:
>
>>
>> > On Jun 15, 2015, at 1:58 PM, Christian Stimming <christ...@cstimming.de>
>> wrote:
>> >
>> > Aren't you just missing an #include <string.h> which is needed for
>> strdup()
>> > ... ?
>> >
>>
>> Nope, line 10.
>>
>> Regards,
>> John Ralls
>>
>>
>
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to