From 1721bd07c47be340df6d1610cbdf04569f89b21c Mon Sep 17 00:00:00 2001 From: nia Date: Fri, 21 Dec 2018 14:23:13 +0000 Subject: [PATCH] Use the correct message when printing macro tests. --- qb/qb.libs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qb/qb.libs.sh b/qb/qb.libs.sh index 8b5cd5adea..891082eba7 100644 --- a/qb/qb.libs.sh +++ b/qb/qb.libs.sh @@ -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" = 'no' ] && return 0 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") else - ECHOBUF="Checking presence of predefined macro $2 in $3" + ECHOBUF="Checking presence of predefined macro $2" header_include="" fi cat << EOF > "$TEMP_C"