mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 22:25:07 -05:00
configure: prefix error messages
This commit is contained in:
6
configure
vendored
6
configure
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user