summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorMatthias Hopf <mat@mshopf.de>2008-08-08 15:39:37 +0200
committerMatthias Hopf <mat@mshopf.de>2008-08-08 15:39:37 +0200
commit93f518565b5f53c795aeddf544f3582d44ff9fe6 (patch)
treef79884a40a9f80068b15d1c9cc8cb7660a1bf3fb /m4
parent6f79d815918aa83d706b6dc6722c2006f27e8084 (diff)
parent8c24b5cd856fa47f605eba68ec0a49bd4d47d7da (diff)
downloadxine-lib-93f518565b5f53c795aeddf544f3582d44ff9fe6.tar.gz
xine-lib-93f518565b5f53c795aeddf544f3582d44ff9fe6.tar.bz2
Merge.
Diffstat (limited to 'm4')
-rw-r--r--m4/attributes.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/m4/attributes.m4 b/m4/attributes.m4
index 3fee49ab5..9c4a0c89a 100644
--- a/m4/attributes.m4
+++ b/m4/attributes.m4
@@ -42,7 +42,7 @@ AC_DEFUN([CC_CHECK_CFLAGS_SILENT], [
CFLAGS="$ac_save_CFLAGS"
])
- AS_IF([test x$]AS_TR_SH([cc_cv_cflags_$1])[ = xyes],
+ AS_IF([eval test x$]AS_TR_SH([cc_cv_cflags_$1])[ = xyes],
[$2], [$3])
])
@@ -52,7 +52,7 @@ AC_DEFUN([CC_CHECK_CFLAGS], [
CC_CHECK_CFLAGS_SILENT([$1]) dnl Don't execute actions here!
)
- AS_IF([test x$]AS_TR_SH([cc_cv_cflags_$1])[ = xyes],
+ AS_IF([eval test x$]AS_TR_SH([cc_cv_cflags_$1])[ = xyes],
[$2], [$3])
])
@@ -67,7 +67,7 @@ AC_DEFUN([CC_CHECK_LDFLAGS], [
LDFLAGS="$ac_save_LDFLAGS"
])
- AS_IF([test x$]AS_TR_SH([cc_cv_ldflags_$1])[ = xyes],
+ AS_IF([eval test x$]AS_TR_SH([cc_cv_ldflags_$1])[ = xyes],
[$2], [$3])
])
@@ -100,7 +100,7 @@ AC_DEFUN([CC_CHECK_ATTRIBUTE], [
CFLAGS="$ac_save_CFLAGS"
])
- AS_IF([test x$]AS_TR_SH([cc_cv_attribute_$1])[ = xyes],
+ AS_IF([eval test x$]AS_TR_SH([cc_cv_attribute_$1])[ = xyes],
[AC_DEFINE(
AS_TR_CPP([SUPPORT_ATTRIBUTE_$1]), 1,
[Define this if the compiler supports __attribute__(( ifelse([$2], , [$1], [$2]) ))]