summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Fussenegger <fleshgrinder@users.noreply.github.com>2018-01-12 22:52:47 +0100
committerPeter Kokot <peterkokot@gmail.com>2018-09-15 20:42:25 +0200
commita25171b96dd20891b09ba3b9dd7df95986cff293 (patch)
tree4181cd0bc160f73022d4325e8101e936f5ac2df2
parent6da3a1e3ce8726054f87f6cc63210bf4760c680d (diff)
downloadphp-git-a25171b96dd20891b09ba3b9dd7df95986cff293.tar.gz
Silence ar warning
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b7e7a78e03..cb171fc19f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1439,6 +1439,10 @@ case $host_alias in
;;
esac
+dnl Silence warning: `ar: 'u' modifier ignored since 'D' is the default`
+dnl SEE https://www.mail-archive.com/automake-patches@gnu.org/msg07705.html
+AC_SUBST(AR_FLAGS, [cr])
+
dnl Only allow AC_PROG_CXX and AC_PROG_CXXCPP if they are explicitly called (by PHP_REQUIRE_CXX).
dnl Otherwise AC_PROG_LIBTOOL fails if there is no working C++ compiler.
AC_PROVIDE_IFELSE([PHP_REQUIRE_CXX], [], [