1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-19 14:50:07 +03:00

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.
This commit is contained in:
林博仁(Buo-ren Lin) 2018-08-18 14:22:57 +08:00 committed by Nick Wellnhofer
parent 2240fbf591
commit 173ea684dd

View File

@ -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