]> git.sesse.net Git - vlc/blob - extras/contrib/src/Patches/mpcdec.patch
1f8befda950146f447b5d3da87b974c378440995
[vlc] / extras / contrib / src / Patches / mpcdec.patch
1 --- mpcdec/configure.ac 2007-04-17 21:05:32.000000000 +0200
2 +++ mpcdec/configure.ac 2007-09-06 23:52:09.000000000 +0200
3 @@ -58,10 +58,15 @@
4         ac_cv_c_int64_t=int64_t
5  fi
6  
7 +if test "x$cross_compiling" = "xyes" ; then
8 +AC_CHECK_FUNCS([memcmp], [],
9 +        AC_MSG_ERROR([memcmp is missing.]))
10 +else
11  AC_FUNC_MEMCMP
12  if test "x$ac_cv_func_memcmp_working" = "xno" ; then
13         AC_MSG_ERROR([working memcmp is not available.])
14  fi
15 +fi
16  
17  AC_CHECK_FUNCS([memmove memset], [],
18          AC_MSG_ERROR([memset or memmove is missing.]))