[LTP] [PATCH 2/3] openposix: Setup autoconf and fix installation layout
Joerg Vehlow
lkml@jv-coder.de
Tue Jul 5 08:43:26 CEST 2022
Hi,
Am 7/5/2022 um 7:57 AM schrieb Richard Palethorpe:
> Hello Joerg,
>
> Joerg Vehlow <lkml@jv-coder.de> writes:
>> +AC_PROG_CC_C99
>
> This causes a deprecation warning for me
I think autoconf developers messed up here. They obsoleted the macro in
2.70 and told users to replace it with just AC_PROG_CC, which defaults
to C11, but also excepts C89. It is not possible (without adding more
code), to verify if the required C version is available. What is even
worse, that autoconf does not fallback to a version, where this was
still not obsolete, even if an older autoconf version is defined in
AC_PREREQ.
Nevertheless, I guess in case of C99, we can just switch to AC_PROG_CC,
because every compiler should support C99 nowadays. I just wanted to be
explicit, because C99 us currenty selected in the CFLAGS file, that I
dropped.
Joerg
More information about the ltp
mailing list