Test for CFLAGS/LFLAGS availability
authorDavid Herrmann <dh.herrmann@gmail.com>
Thu, 12 Sep 2013 16:07:53 +0000 (18:07 +0200)
committerPeter Hutterer <peter.hutterer@who-t.net>
Fri, 13 Sep 2013 05:49:50 +0000 (15:49 +1000)
commit92b2b1ccd527ed05f8882726cc090af747e1f58e
tree6365c81f88c0012d57f4663be4a1c5e119e142cb
parentb539cfd8085e13acce35b11b9ad5550ac5644505
Test for CFLAGS/LFLAGS availability

Use the CC_CHECK_FLAGS_APPEND() m4 macro to test for availability of
CFLAGS and LFLAGS. It automatically drops the unavailable flags.

This is also used by systemd, so it ought to work with ostree and other
non-standard build-environments.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
configure.ac
m4/attributes.m4 [new file with mode: 0644]