[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sr #110451] autoconf 2.71 generated configure file does not enable
From: |
Zack Weinberg |
Subject: |
Re: [sr #110451] autoconf 2.71 generated configure file does not enable C compiler flag for C99 on Solaris 10 |
Date: |
Sun, 28 Feb 2021 10:55:13 -0500 |
On Sat, Feb 27, 2021 at 3:05 PM Bruno Haible <INVALID.NOREPLY@gnu.org> wrote:
> Find attached two tarballs, hello-c-2.69.tar.gz (generated with autoconf 2.69)
> and hello-c-2.71.tar.gz (generated with autoconf 2.71). They contain the same
> source code, except for the version number in configure.ac. In particular,
> they contain
> - in configure.ac, an AC_PROG_CC_C99 invocation,
> - in hello.c: code that requires C99.
FYI, AC_PROG_CC_C99 is supposed to be unnecessary with 2.70 and later.
> On Solaris 10, I'm using CC="cc -O". This compiler is not C99 compliant, but
> it accepts the option '-xc99' which makes it C99 compliant.
>
> Both packages ought to exhibit the same behaviour, but they don't:
Savannah seems to be down at the moment, so I can't download your test
tarballs. Could you please reply to this message and attach the
config.log files you get from both? (I was going to ask for this
anyway since I may not have access to exactly the same incarnation of
Sun's compiler as you do.)
zw