Merge commit 'b1ee8eec849f17fce2f411a297de9cbf2edaeb3a'
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 5 May 2013 08:47:19 +0000 (10:47 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 5 May 2013 08:47:19 +0000 (10:47 +0200)
* commit 'b1ee8eec849f17fce2f411a297de9cbf2edaeb3a':
  configure: Add basic valgrind-memcheck support

Conflicts:
configure

Merged-by: Michael Niedermayer <michaelni@gmx.at>
1  2 
configure
doc/developer.texi

diff --cc configure
+++ b/configure
@@@ -2520,7 -2230,7 +2524,7 @@@ case "$toolchain" i
      ;;
  esac
  
- set_default arch cc cxx pkg_config strip sysinclude target_os yasmexe
 -set_default arch cc pkg_config sysinclude target_exec target_os
++set_default arch cc cxx pkg_config strip sysinclude target_exec target_os yasmexe
  enabled cross_compile || host_cc_default=$cc
  set_default host_cc
  
@@@ -4550,10 -4028,10 +4554,10 @@@ HOSTCC_DEPFLAGS=$HOSTCC_DEPFLAG
  HOSTCC_C=$HOSTCC_C
  HOSTCC_O=$HOSTCC_O
  HOSTLD_O=$HOSTLD_O
- TARGET_EXEC=$target_exec
+ TARGET_EXEC=$target_exec $target_exec_args
  TARGET_PATH=$target_path
 -LIBS-avplay=$sdl_libs
 -CFLAGS-avplay=$sdl_cflags
 +LIBS-ffplay=$sdl_libs
 +CFLAGS-ffplay=$sdl_cflags
  ZLIB=$($ldflags_filter -lz)
  LIB_INSTALL_EXTRA_CMD=$LIB_INSTALL_EXTRA_CMD
  EXTRALIBS=$extralibs
Simple merge