com php-src: Silence ar warning: configure.ac
| From: | Peter Kokot | Date: | Sat, 15 Sep 2018 18:42:25 +0000 |
| Subject: | com php-src: Silence ar warning: configure.ac | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-103112@lists.php.net to get a copy of this message | ||
Commit: a25171b96dd20891b09ba3b9dd7df95986cff293
Author: Richard Fussenegger <fleshgrinder@users.noreply.github.com> Fri, 12 Jan
2018 22:52:47 +0100
Committer: Peter Kokot <peterkokot@gmail.com> Sat, 15 Sep 2018 20:42:25 +0200
Parents: 6da3a1e3ce8726054f87f6cc63210bf4760c680d
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a25171b96dd20891b09ba3b9dd7df95986cff293
Log:
Silence ar warning
Changed paths:
M configure.ac
Diff:
diff --git a/configure.ac b/configure.ac
index b7e7a78..cb171fc 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], [], [