NetworkManager/m4
Thomas Haller 119d30145e
m4: add NM_COMPILER_WARNING_FLAG() macro
We used

  COMPILER_FLAG(LIBSYSTEMD_NM_CFLAGS, "-Wno-gnu-variable-sized-type-not-at-end")

to detect whether the flag is supported. However, that does not work with GCC since
version 4.4 due to https://gcc.gnu.org/wiki/FAQ#wnowarning.

Note that we already had NM_COMPILER_WARNING(), but that again does
something rather different.
2022-08-11 19:49:41 +02:00
..
attributes.m4 build: import attributes.m4 from systemd 2016-06-03 22:19:37 +02:00
ax_lib_readline.m4 build: rework libreadline detection in autotools 2021-07-19 09:08:06 +02:00
ax_pthread.m4 tests: fix undefined references to pthread 2021-04-07 08:29:50 +02:00
compiler_options.m4 m4: add NM_COMPILER_WARNING_FLAG() macro 2022-08-11 19:49:41 +02:00
git-sha-record.m4 build: move detection of NM_GIT_SHA to separate "m4/git-sha-record.m4" 2016-09-14 14:11:07 +02:00
gnome-code-coverage.m4 build: disable lcov version check 2017-10-20 17:16:22 +02:00
introspection.m4 build: remove subshells and fix invalid test syntax 2020-04-20 08:54:38 +02:00
vapigen.m4 build: document defaults consistently 2019-04-16 15:57:20 +02:00