From 7d0685f19a6c52e0644bb00256e8eabb14139fd5 Mon Sep 17 00:00:00 2001 From: Sebastian Blunt Date: Mon, 5 Jun 2017 15:09:36 +0200 Subject: [PATCH] Add autotools deprecation warning Adds a warning about autotools being deprecated directly in autogen.sh Using the m4_warn/m4_errprintn macro causes the warning to not be displayed with autogen.sh, and using AC_MSG_WARN is only displayed when configure is run (which might instead be desirable.) This solution very clearly displays the warning when running autogen.sh. --- autogen.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/autogen.sh b/autogen.sh index 5bce9ba..ac210b6 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1567,6 +1567,15 @@ else $ECHO " make" fi +$ECHO +$ECHO "WARNING: Building umurmur with autotools has been deprecated. In the" +$ECHO "future, support for autotools will be dropped, please switch to" +$ECHO "compiling with cmake instead. See the links below for information" +$ECHO "on how to compile with cmake, and the relevant discussion." +$ECHO +$ECHO "https://github.com/umurmur/umurmur/wiki/Building" +$ECHO "https://github.com/umurmur/umurmur/issues/111" + # Local Variables: # mode: sh -- 2.30.2