From e320a274c7239e496393be9d9c1ad7e81798ec3a Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 27 Mar 2016 10:25:50 +0200 Subject: [PATCH] build: silence libtool warning about using cru Use "cr" instead. Snippet stolen from freeciv. --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index b7ff5d79..04b0cc80 100644 --- a/configure.ac +++ b/configure.ac @@ -373,6 +373,11 @@ AM_CONDITIONAL([USE_JSON], [test x"$with_json" = x"json-c" || test -x"$with_json AM_CONDITIONAL([USE_JANSSON], [test x"$with_json" = x"jansson"]) AM_CONDITIONAL([USE_JSONC], [test x"$with_json" = x"json-c"]) AM_CONDITIONAL([USE_SECCOMP], [test x"$with_seccomp" = x"yes"]) +dnl If old default of AR_FLAGS is otherwise being used (because of older automake), +dnl replace it with one without 'u' +if test "x$AR_FLAGS" = "xcru" ; then + AR_FLAGS="cr" +fi AC_OUTPUT if test x"$LIBEVENT_EMBEDDED" = x; then -- 2.39.5