summaryrefslogtreecommitdiff
path: root/src/libmpeg2new/libmpeg2/configure.incl
blob: f8dbd5aef47b4373aa16f4c807e730735bb69cf7 (plain)
1
2
3
4
5
6
7
8
9
10
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