diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2002-01-16 22:24:40 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2002-01-16 22:24:40 +0000 |
commit | 237cbf490676362654d7a00dee2ca6f809c2b880 (patch) | |
tree | afba9ed3d61336336a98812bf57cc1a84336174b /configure.ac | |
parent | d3e711c44131ca295057b943cee57b19b86a0cdb (diff) | |
download | gst-plugins-bad-237cbf490676362654d7a00dee2ca6f809c2b880.tar.gz gst-plugins-bad-237cbf490676362654d7a00dee2ca6f809c2b880.tar.bz2 gst-plugins-bad-237cbf490676362654d7a00dee2ca6f809c2b880.zip |
added jpeg_mmx check
Original commit message from CVS:
added jpeg_mmx check
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index edb4d5f6..48d252ec 100644 --- a/configure.ac +++ b/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) |