From 26ef9fc88138875b0ca66e1963822b05c7c37500 Mon Sep 17 00:00:00 2001 From: Chengwei Yang Date: Wed, 5 Jun 2013 21:11:23 +0800 Subject: [PATCH] Do not suggest user to do 'make' if configure failed Bug: https://bugs.freedesktop.org/show_bug.cgi?id=65415 Signed-off-by: Chengwei Yang --- autogen.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index 1558112..b0adb33 100755 --- a/autogen.sh +++ b/autogen.sh @@ -102,8 +102,11 @@ fi if $run_configure; then $srcdir/configure --enable-developer --config-cache "$@" + ret=$? echo - echo "Now type 'make' to compile $PROJECT." + if test $ret -eq 0; then + echo "Now type 'make' to compile $PROJECT." + fi else echo echo "Now run 'configure' and 'make' to compile $PROJECT." -- 1.7.9.5