summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-05-22 16:36:41 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-05-22 16:36:41 +0200
commit32e6087eee6aeeed77bd9d25bd2ffdb639553a04 (patch)
treef90cb849b5a2df5e4b51acb836f4ddd78020dc9e
parent0c3e2a0e3f7c617f230418ed3f100443251d7b4a (diff)
downloadxine-lib-32e6087eee6aeeed77bd9d25bd2ffdb639553a04.tar.gz
xine-lib-32e6087eee6aeeed77bd9d25bd2ffdb639553a04.tar.bz2
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
-rw-r--r--m4/attributes.m42
1 files changed, 1 insertions, 1 deletions
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"
])