]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Get rid of ax_check_compile_flag.m4
authorSteffan Karger <steffan@karger.me>
Tue, 20 Feb 2018 20:25:08 +0000 (21:25 +0100)
committerGert Doering <gert@greenie.muc.de>
Wed, 21 Feb 2018 19:00:27 +0000 (20:00 +0100)
commit6a5d10e96b9ad2f9a9472aeee8cdb7c02fe4d050
tree34be49d46cb5dbda404bd7fe94f98d3e33454890
parent7de0ee4f6f6f44fab48717e4cc2073ff4e8580f6
Get rid of ax_check_compile_flag.m4

The macro was too new for some of the platforms we still support.  In
particular, centos/rhel 6 and opensolaris 10.  To work around that, we
introduce our own simpler and more tailored ACL_CHECK_ADD_COMPILE_FLAGS
macro, that not only checks but also sets the flags in CFLAGS if it is
accepted.  Since this doesn't use new-and-shine autoconf features, it
should also work on the legacy platforms.

Signed-off-by: Steffan Karger <steffan@karger.me>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20180220202508.16201-1-steffan@karger.me>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg16515.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
configure.ac
m4/ax_check_compile_flag.m4 [deleted file]