diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2019-05-11 17:24:11 +0200 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2019-05-11 17:24:38 +0200 |
commit | 6821579c2c2567415ed4d8a442e14860ab102f83 (patch) | |
tree | e03d284668a38ad49170d8d1ef6ded12494ecb73 | |
parent | 4e4588a8fc17c6c62a66e39f8492d80c1e7a684a (diff) | |
download | ccache-6821579c2c2567415ed4d8a442e14860ab102f83.tar.gz |
Hint about not running autogen.sh when building from release archive
Related to #418.
-rwxr-xr-x | autogen.sh | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -2,7 +2,19 @@ set -e -rm -f dev_mode_disabled +if [ -f dev_mode_disabled ]; then + cat <<EOF >&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 +<https://ccache.dev/repo.html>. +EOF + exit 1 +fi + autoheader autoconf echo "Now run ./configure and make" |