]> git.ipfire.org Git - thirdparty/libarchive.git/commit
configure.ac: check if flags are needed for c99 1383/head
authorgoshhhy <37872995+goshhhy@users.noreply.github.com>
Sun, 24 May 2020 23:17:44 +0000 (14:17 -0900)
committerGitHub <noreply@github.com>
Sun, 24 May 2020 23:17:44 +0000 (14:17 -0900)
commit4394d8b2b8032594ef7256cc233c0a49ecd78485
treee36a7659434bfa6ad49a8184103d2ec887ed90ae
parent48c375370bb5da0509148bb2ee0075b818e2094e
configure.ac: check if flags are needed for c99

some older and more obscure compilers (e.g. mipspro on irix) default to the strictest standard they know instead of the most permissive. since libarchive uses c99 features in several places throughout, but does not pass appropriate cflags to parse c99 code, it will fail to compile from the configure script on these systems. this change will have autoconf check if any flags are needed for the c compiler to accept c99 code, and add them to cflags.
configure.ac