mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 09:45:07 -05:00
Replace printf calls with echo in configure
This commit is contained in:
8
configure
vendored
8
configure
vendored
@@ -43,7 +43,7 @@ test_code () {
|
|||||||
ldflags=$4
|
ldflags=$4
|
||||||
code=$5
|
code=$5
|
||||||
|
|
||||||
printf "Checking for $name : "
|
echo -n "Checking for $name : "
|
||||||
|
|
||||||
(
|
(
|
||||||
for h in $headers; do
|
for h in $headers; do
|
||||||
@@ -63,10 +63,10 @@ test_code () {
|
|||||||
|
|
||||||
if [ $? -eq 0 ]
|
if [ $? -eq 0 ]
|
||||||
then
|
then
|
||||||
printf "Yes\n"
|
echo "Yes"
|
||||||
result=0
|
result=0
|
||||||
else
|
else
|
||||||
printf "No\n"
|
echo "No"
|
||||||
result=1
|
result=1
|
||||||
fi
|
fi
|
||||||
rm -f docheck.c docheck
|
rm -f docheck.c docheck
|
||||||
@@ -361,7 +361,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
|
||||||
printf "Can't compile/link a program which uses sqrt(), log(), pow(), bailing out\n"
|
echo "Can't compile/link a program which uses sqrt(), log(), pow(), bailing out"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user