[vlc-devel] commit: Revert "configure: An other test that warns." ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Aug 23 19:47:37 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Aug 23 20:47:18 2009 +0300| [fa7e52308caca32f493ca79c06b49e3ed0ed06da] | committer: Rémi Denis-Courmont
Revert "configure: An other test that warns."
This reverts commit e70077bff48d1edc1c6376f60d4dbeced2e18a11.
This was completely broken (NULL not defined).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fa7e52308caca32f493ca79c06b49e3ed0ed06da
---
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index e461bbf..c9fd1ef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1451,7 +1451,7 @@ AS_IF([test "${enable_sse}" != "no"], [
AC_CACHE_CHECK([if $CC groks 3D Now! inline assembly],
[ac_cv_3dnow_inline],
[CFLAGS="${CFLAGS_save}"
- AC_TRY_COMPILE(,[void *p = NULL; asm volatile("pfadd %%mm1,%%mm2"::"r"(p));],
+ AC_TRY_COMPILE(,[void *p;asm volatile("pfadd %%mm1,%%mm2"::"r"(p));],
ac_cv_3dnow_inline=yes, ac_cv_3dnow_inline=no)])
AS_IF([test "${ac_cv_3dnow_inline}" != "no"], [
AC_DEFINE(CAN_COMPILE_3DNOW, 1,
More information about the vlc-devel
mailing list