From 32e6087eee6aeeed77bd9d25bd2ffdb639553a04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Thu, 22 May 2008 16:36:41 +0200 Subject: Set the cc_cv_cflags_* cached values to no when the flag is not supported. --HG-- extra : transplant_source : %D0hU%99%0D%1F%7D%0D%86s%7B%B2%CB%19_%13%153%86%84 --- m4/attributes.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/attributes.m4 b/m4/attributes.m4 index bb53cca41..56cdd51d1 100644 --- a/m4/attributes.m4 +++ b/m4/attributes.m4 @@ -39,7 +39,7 @@ AC_DEFUN([CC_CHECK_CFLAGS], [ CFLAGS="$CFLAGS $1" AC_COMPILE_IFELSE([int a;], [eval "AS_TR_SH([cc_cv_cflags_$1])='yes'"], - [eval "AS_TR_SH([cc_cv_cflags_$1])="]) + [eval "AS_TR_SH([cc_cv_cflags_$1])='no'"]) CFLAGS="$ac_save_CFLAGS" ]) -- cgit v1.2.3