diff options
author | ๆๅไป(Buo-ren Lin) <Buo.Ren.Lin@gmail.com> | 2018-08-18 14:22:57 +0800 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2018-08-19 19:02:12 +0200 |
commit | 173ea684dd355c68c3a9f521d108ff10c2fb3f5d (patch) | |
tree | e7eac5056ff5086caeaf60028873c507dcc8049f | |
parent | 2240fbf5912054af025fb6e01e26375100275e74 (diff) | |
download | libxml2-173ea684dd355c68c3a9f521d108ff10c2fb3f5d.tar.gz |
Don't instruct user to run make when autogen.sh failed
Currently the autogen script will always tell user to run make even
when the configure script failed, this patch changes the behavior to
only show this message when the configure script terminates without
error.
-rwxr-xr-x | autogen.sh | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -76,6 +76,11 @@ fi if test -z "$NOCONFIGURE"; then $srcdir/configure $EXTRA_ARGS "$@" - echo - echo "Now type 'make' to compile libxml2." + if test "$?" -ne 0; then + echo + echo "Configure script failed, check config.log for more info." + else + echo + echo "Now type 'make' to compile libxml2." + fi fi |