Manvendra Bhangui writes:

On Wed, 1 Jun 2022 at 09:39, Sam Varshavchik <mr...@courier-mta.com> wrote:
>
> Download: https://www.courier-mta.org/download.html
>
> New development builds of all packages.
>
> Changes:
>

>
> - all: updates for gcc 12, autotools, and OpenSSL 3.0.
>
Not very important, but I thought it could help someone still using
ancient distros to compile courier-imap. The latest autotools changes
to configure.ac removing AC_PROG_CC_C99 has broken compilation on the
following distributions.

CentOS7
RHEL7
SLE12 and all SLE12 variants
Ubuntu 16.04

I had to do 4 minor changes to make courier-imap compile on all
distributions, including the above 3

Autoconf deprecated the AC_PROG_CC_C99 macro, for the ostensibly reason that all currently supported major platforms don't need it.

There's automation on Github to automatically build everything on every commit, using containers. The CentOS 7 container had no issues building a courier-imap centos 7 rpm:

https://github.com/svarshavchik/courier/runs/6764330421?check_suite_focus=true

The likely explanation is that the original compiler that was released for CentOS 7 did not default to c++11/C99 by default, but was updated over CentOS 7's lifetime to a newer version that does, now.

Attachment: pgpTHmK1J82vp.pgp
Description: PGP signature

_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to