configure: prefix error messages

This commit is contained in:
Miroslav Lichvar 2015-09-17 13:32:14 +02:00
parent 22fc0a6846
commit 4f172f6f9f

6
configure vendored
View file

@ -416,7 +416,7 @@ case $OPERATINGSYSTEM in
echo "Configuring for Solaris (" $SYSTEM "SunOS version" $VERSION ")" echo "Configuring for Solaris (" $SYSTEM "SunOS version" $VERSION ")"
;; ;;
* ) * )
echo "Sorry, I don't know how to build this software on your system." echo "error: $SYSTEM is not supported (yet?)"
exit 1 exit 1
;; ;;
esac esac
@ -461,7 +461,7 @@ then
else else
split_seconds=`date '+%s'` split_seconds=`date '+%s'`
if [ "x$split_seconds" = "" ]; then if [ "x$split_seconds" = "" ]; then
echo "Could not get current time, --with-ntp-era option is needed" echo "error: could not get current time, --with-ntp-era option is needed"
exit 1 exit 1
fi fi
split_days=$((50 * 365)) split_days=$((50 * 365))
@ -490,7 +490,7 @@ else
if test_code 'math in -lm' 'math.h' '' '-lm' "$MATHCODE"; then if test_code 'math in -lm' 'math.h' '' '-lm' "$MATHCODE"; then
LIBS="-lm" LIBS="-lm"
else else
echo "Can't compile/link a program which uses sqrt(), log(), pow(), bailing out" echo "error: could not compile/link a program which uses sqrt(), log(), pow()"
exit 1 exit 1
fi fi
fi fi