empserver/m4
Markus Armbruster 9645caf6ff configure: Use -fstack-protector-strong when available
Testing whether the compiler supports it is a bit tricky.

The obvious AX_APPEND_COMPILE_FLAGS([-fstack-protector-strong])
doesn't suffice, since some ports of the GNU toolchain reportedly pass
this test, then fail to link.  That's because the compiler accepts the
flag, duly emits references to helper code in libc, but libc doesn't
provide, and linking fails.

Instead, use AX_APPEND_LINK_FLAGS with an input source that makes the
compiler emit the extra stack checking code.  This requires the latest
version from the autoconf-archive, so update m4/ax* to commit e3d948b.
Also update m4/my_append_compile_flags.m4 to keep it in sync with
upstream's ax_append_compile_flags.m4.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2015-12-05 13:19:38 +01:00
..
ax_append_flag.m4 configure: Use -fstack-protector-strong when available 2015-12-05 13:19:38 +01:00
ax_append_link_flags.m4 configure: Use -fstack-protector-strong when available 2015-12-05 13:19:38 +01:00
ax_check_compile_flag.m4 configure: Test compiler flags 2015-11-22 10:23:54 +01:00
ax_check_link_flag.m4 configure: Use -fstack-protector-strong when available 2015-12-05 13:19:38 +01:00
ax_lib_socket_nsl.m4 Refresh autoconf macros from autoconf-archive-2013.04.06 2013-05-08 14:35:04 +02:00
ax_pthread.m4 m4: Refresh from autoconf-archive v2015.02.24 2015-03-04 20:10:13 +01:00
ax_require_defined.m4 configure: Test compiler flags 2015-11-22 10:23:54 +01:00
my_append_compile_flags.m4 configure: Use -fstack-protector-strong when available 2015-12-05 13:19:38 +01:00
my_func_makecontext.m4 LWP doesn't work with Darwin due to OS bugs, avoid it for now 2008-12-07 17:25:35 -05:00
my_terminfo.m4 configure: Fix check for term.h to include curses.h first 2013-08-17 17:57:37 +02:00
my_windows_api.m4 Fix portability bug in configure test for Windows API 2012-08-11 15:36:56 +02:00