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

1) unicode/configure.ac
add AC_PROG_CC_C99
add -std=c++11 to CXXFLAGS

2) libs/rfc1035
add -std=c99 to CFLAGS

3) libs/rfc2045
add -std=c++11 to CXXFLAGS

4) libs/maildir
add -std=c++11 to CXXFLAGS

Without the above changes courier-imap, unicode compiles on all the
below distributions.

Arch Linux, CentOS8, CentOS8_stream, oracle 8, almalinux 8 Debian 9,
Debian 10, Debian 11, FC35, FC36, SLE15, Univention 4.3, Univention
4.4, openSUSE leap 15.3, openSUSE Leap 15.4, openSUSE Tumbleweed,
Ubuntu 18.04, Ubuntu 19.04, Ubuntui 20.04, Ubuntu 21.04, Ubuntu 21.10,
Ubuntu 22.04


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

Reply via email to