diff --git a/m4/attributes.m4 b/m4/attributes.m4 index 9c4a0c89a..65f837885 100644 --- a/m4/attributes.m4 +++ b/m4/attributes.m4 @@ -63,7 +63,7 @@ AC_DEFUN([CC_CHECK_LDFLAGS], [ LDFLAGS="$LDFLAGS $1" AC_LINK_IFELSE([int main() { return 1; }], [eval "AS_TR_SH([cc_cv_ldflags_$1])='yes'"], - [eval "AS_TR_SH([cc_cv_ldflags_$1])="]) + [eval "AS_TR_SH([cc_cv_ldflags_$1])='no'"]) LDFLAGS="$ac_save_LDFLAGS" ])