diff options
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2014-10-10 17:21:49 +0000 |
---|---|---|
committer | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2015-03-02 16:10:50 +0000 |
commit | 8374b0e0e927257b974405e9d3526b7b394f1082 (patch) | |
tree | c24d326c58636134be87e75627f82d25aca454b1 | |
parent | 2f9efbd9520acd1b6968fff027d3f3132cc07519 (diff) |
autogen.sh: do not invoke ./configure when requiredupstream/0.0_git20150302.8374b0e0upstream
allow to not automatically call ./configure , since there are times when it
should not be done (e.g. packaging).
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rwxr-xr-x | autogen.sh | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -8,11 +8,13 @@ autoreconf --verbose --force --install || { exit 1; } -./configure "$@" || { - echo 'configure failed'; - exit 1; -} +if [ -z "$NOCONFIGURE" ] ; then + ./configure "$@" || { + echo 'configure failed'; + exit 1; + } -echo -echo "Now type 'make' to compile this module." -echo + echo + echo "Now type 'make' to compile this module." + echo +fi |