mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
added jpeg_mmx check
Original commit message from CVS: added jpeg_mmx check
This commit is contained in:
parent
e867f02458
commit
e46ad4f4c2
1 changed files with 11 additions and 0 deletions
11
configure.ac
11
configure.ac
|
@ -522,6 +522,17 @@ GST_CHECK_FEATURE(JPEG, [jpeg], jpegenc jpegdec, [
|
|||
AC_SUBST(JPEG_LIBS)
|
||||
])
|
||||
|
||||
dnl *** jpeg-mmx ***
|
||||
AC_ARG_WITH(jpeg-mmx-path, [ --with-jpeg-mmx-path, path to mmx accelerated jpeg lib])
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_JPEG_MMX, true)
|
||||
GST_CHECK_FEATURE(JPEG_MMX, [jpeg-mmx], jpegmmxenc jpegmmxdec, [
|
||||
AC_CHECK_LIB(jpeg-mmx, jpeg_start_compress, HAVE_JPEG_MMX="yes", HAVE_JPEG_MMX="no", "-L$with_jpeg_mmx_path")
|
||||
JPEG_MMX_LIBS="-L$with_jpeg_mmx_path -ljpeg-mmx"
|
||||
JPEG_MMX_CFLAGS="-I$with_jpeg_mmx_path"
|
||||
AC_SUBST(JPEG_MMX_LIBS)
|
||||
AC_SUBST(JPEG_MMX_CFLAGS)
|
||||
])
|
||||
|
||||
dnl *** mad ***
|
||||
dnl FIXME: we could use header checks here as well IMO
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_MAD, true)
|
||||
|
|
Loading…
Reference in a new issue