diff options
Diffstat (limited to 'src/video_dec/libmpeg2new/libmpeg2/configure.incl')
-rw-r--r-- | src/video_dec/libmpeg2new/libmpeg2/configure.incl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/video_dec/libmpeg2new/libmpeg2/configure.incl b/src/video_dec/libmpeg2new/libmpeg2/configure.incl new file mode 100644 index 000000000..f8dbd5aef --- /dev/null +++ b/src/video_dec/libmpeg2new/libmpeg2/configure.incl @@ -0,0 +1,11 @@ +AC_SUBST([LIBMPEG2_CFLAGS]) + +dnl avoid -fPIC when possible +AC_LIBTOOL_NON_PIC([LIBMPEG2_CFLAGS="$LIBMPEG2_CFLAGS -prefer-non-pic"]) + +dnl check for cpudetect +AC_ARG_ENABLE([accel-detect], + [ --disable-accel-detect make a version without accel detection code]) +if test x"$enable_accel_detect" != x"no"; then + AC_DEFINE([ACCEL_DETECT],,[autodetect accelerations]) +fi |