From f795d323e170892e9b37b063a086325f793e167e Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Sat, 11 May 2019 17:24:11 +0200 Subject: [PATCH] Hint about not running autogen.sh when building from release archive Related to #418. --- autogen.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index eb3d9ba12..00c9f52c8 100755 --- a/autogen.sh +++ b/autogen.sh @@ -2,7 +2,19 @@ set -e -rm -f dev_mode_disabled +if [ -f dev_mode_disabled ]; then + cat <&2 +Error: It looks like you are building ccache from a release archive. If so, +there is no need to run autoconf.sh. See INSTALL.md for further instructions. + +If you do want to the enable the development mode, delete the file +dev_mode_disabled first, but it's probably a better idea to work with the +proper ccache Git repository directly as described on +. +EOF + exit 1 +fi + autoheader autoconf echo "Now run ./configure and make" -- 2.47.2