;;
*mingw32* | *cygwin* | *wince* | *mingwce* | *pe*)
AC_CHECK_TOOL(WINDRES, windres, :)
+ AC_CHECK_TOOL(OBJCOPY, objcopy, :)
case "${host_os}" in
*wince* | *mingwce* | *mingw32ce* | *pe*)
"")
ARCH=unknown
;;
- arm*)
- dnl use arm assembly
- VLC_ADD_CFLAGS([wma_fixed],[-DCPU_ARM])
- ARCH="${host_cpu}"
- ;;
*)
ARCH="${host_cpu}"
;;
test "${enable_debug}" != "yes" && enable_debug="no"
AH_TEMPLATE(NDEBUG,
[Define to 1 if debug code should NOT be compiled])
-AS_IF([test "x${enable_debug}" = "xno"], [AC_DEFINE(NDEBUG)])
+AS_IF([test "x${enable_debug}" = "xno"], [
+ AC_DEFINE(NDEBUG)
+], [
+ AC_CHECK_HEADERS([valgrind/valgrind.h])
+])
dnl
dnl Allow runing as root (usefull for people runing on embedded platforms)