Use the correct message when printing macro tests.

This commit is contained in:
nia 2018-12-21 14:23:13 +00:00
parent 3ef9bbb592
commit 1721bd07c4

View File

@ -141,10 +141,10 @@ check_macro() #$1 = HAVE_$1 $2 = macro name $3 = header name [included only if
{ tmpval="$(eval "printf %s \"\$HAVE_$1\"")" { tmpval="$(eval "printf %s \"\$HAVE_$1\"")"
[ "$tmpval" = 'no' ] && return 0 [ "$tmpval" = 'no' ] && return 0
if [ $3 ]; then if [ $3 ]; then
ECHOBUF="Checking presence of predefined macro $2" ECHOBUF="Checking presence of predefined macro $2 in $3"
header_include=$(printf '#include <%s>' "$3") header_include=$(printf '#include <%s>' "$3")
else else
ECHOBUF="Checking presence of predefined macro $2 in $3" ECHOBUF="Checking presence of predefined macro $2"
header_include="" header_include=""
fi fi
cat << EOF > "$TEMP_C" cat << EOF > "$TEMP_C"