empserver/m4
Markus Armbruster 23373d01d9 configure: Test compiler flags
When AC_PROG_CC detects GCC, Make.mk adds a bunch of flags to CFLAGS.
Works only for flags that any version of gcc in use accepts.

Instead, make configure add the flags that actually work to CFLAGS.
This will let us add flags that work only for some compilers.

The new autoconf macros are from autoconf-archive v2015.02.24.

Unfortunately, AX_APPEND_COMPILE_FLAGS doesn't work reliably for
-Wno-*: gcc complains about unknown -Wno-foo only when other
diagnostics are being produced.  Test -Wfoo instead of -Wno-foo, and
rename to MY_APPEND_COMPILE_FLAGS.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2015-11-22 10:23:54 +01:00
..
ax_append_flag.m4 configure: Test compiler flags 2015-11-22 10:23:54 +01:00
ax_check_compile_flag.m4 configure: Test compiler flags 2015-11-22 10:23:54 +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: Test compiler flags 2015-11-22 10:23:54 +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