]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Dynamically determine supported compiler flags during configure 673/head
authorEric N. Vander Weele <ericvw@gmail.com>
Fri, 18 Mar 2016 22:51:25 +0000 (18:51 -0400)
committerEric N. Vander Weele <ericvw@gmail.com>
Fri, 18 Mar 2016 22:51:25 +0000 (18:51 -0400)
commit9f6c6d5d69209eefb2a1ecc4ca508840465dff63
tree38384b6b2202e8ca94c9828975771de9747fa06e
parentdf2b46bf40d073bc9547c4c96f486a1fa05bd4cc
Dynamically determine supported compiler flags during configure

Some compilers (e.g., `xlc` on AIX) don't support GCC compiler flags.
This change dynamically tests for supported `COMMON_FLAGS`, which get
appended to `CFLAGS`.

Signed-off-by: Eric N. Vander Weele <ericvw@gmail.com>
Makefile.am
build/autoconf/ax_append_compile_flags.m4 [new file with mode: 0644]
build/autoconf/ax_append_flag.m4 [new file with mode: 0644]
build/autoconf/ax_check_compile_flag.m4 [new file with mode: 0644]
build/autoconf/ax_require_defined.m4 [new file with mode: 0644]
configure.ac