]> 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:03:06 +0000 (20:03 +0100)
commitfc70bc8b30eab2bea5e9486182184b1b6b7ceb60
tree67d962aaffc4840a27627b703a9e43f16404a42d
parente9b85ebd2895fda85daeb15a9794d5a2e3a79fab
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>
(cherry picked from commit 6a5d10e96b9ad2f9a9472aeee8cdb7c02fe4d050)
configure.ac
m4/ax_check_compile_flag.m4 [deleted file]