;;
*mingw32* | *cygwin* | *wince* | *mingwce* | *pe*)
AC_CHECK_TOOL(WINDRES, windres, :)
+ AC_CHECK_TOOL(OBJCOPY, objcopy, :)
case "${host_os}" in
*wince* | *mingwce* | *mingw32ce* | *pe*)
AC_CHECK_FUNCS(fcntl)
dnl Check for Linux system calls
-AC_CHECK_FUNCS([vmsplice eventfd])
+AC_CHECK_FUNCS([vmsplice])
AH_BOTTOM([#include <vlc_fixups.h>])
"")
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)
dnl
AC_ARG_ENABLE(run-as-root,
[ --enable-run-as-root allow runing VLC as root (default disabled)])
-AS_IF([test "${enable_run_as_root}" == "yes"],[
+AS_IF([test "${enable_run_as_root}" = "yes"],[
AC_DEFINE(ALLOW_RUN_AS_ROOT, 1,
[Define to 1 to allow runing VLC as root (uid 0).])
])
VLC_ADD_PLUGIN([x264])
VLC_ADD_LDFLAGS([x264],[${X264_LIBS}])
VLC_ADD_CFLAGS([x264],[${X264_CFLAGS}])
+ if echo ${X264_LIBS} |grep -q 'pthreadGC2'; then
+ VLC_ADD_CFLAGS([x264], [-DPTW32_STATIC_LIB])
+ fi
],[
AC_MSG_ERROR([the specified tree hasn't been compiled])
])
VLC_ADD_PLUGIN([x264])
VLC_ADD_LDFLAGS([x264],[${X264_LIBS}])
VLC_ADD_CFLAGS([x264],[${X264_CFLAGS}])
+ if echo ${X264_LIBS} |grep -q 'pthreadGC2'; then
+ VLC_ADD_CFLAGS([x264], [-DPTW32_STATIC_LIB])
+ fi
],[
if test "${enable_x264}" = "yes"; then
AC_MSG_ERROR([Could not find libx264 on your system: you may get it from http://www.videolan.org/x264.html])
po/Makefile.in
projects/activex/axvlc_rc.rc
projects/mozilla/npvlc_rc.rc
+ projects/mozilla/vlc.r
share/Makefile
share/vlc_win32_rc.rc
share/libvlc_win32_rc.rc