From: Vincent Bernat Date: Sun, 27 Mar 2016 08:25:50 +0000 (+0200) Subject: build: silence libtool warning about using cru X-Git-Tag: 0.9.3~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e320a274c7239e496393be9d9c1ad7e81798ec3a;p=thirdparty%2Flldpd.git build: silence libtool warning about using cru Use "cr" instead. Snippet stolen from freeciv. --- 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