diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2002-01-17 12:41:05 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2002-01-17 12:41:05 +0000 |
commit | 07819510e9177ef212a47a783b18047329dacccb (patch) | |
tree | 3dce6f1e8909f1b1bf4d09a8a14003515b797b92 /configure.ac | |
parent | d5787f754ff011ff5e9d06396b90ba6153690d98 (diff) | |
download | gst-plugins-bad-07819510e9177ef212a47a783b18047329dacccb.tar.gz gst-plugins-bad-07819510e9177ef212a47a783b18047329dacccb.tar.bz2 gst-plugins-bad-07819510e9177ef212a47a783b18047329dacccb.zip |
jpegmmx addition and some small changes
Original commit message from CVS:
jpegmmx addition and some small changes
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac index 48d252ec..857f96cb 100644 --- a/configure.ac +++ b/configure.ac @@ -522,15 +522,12 @@ 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 *** mjpegtools *** +translit(dnm, m, l) AM_CONDITIONAL(USE_MJPEGTOOLS, true) +GST_CHECK_FEATURE(MJPEGTOOLS, [mjpegtools], jpegmmxenc jpegmmxdec, [ + PKG_CHECK_MODULES(MJPEGTOOLS, mjpegtools, HAVE_MJPEGTOOLS="yes", HAVE_MJPEGTOOLS="no") + AC_SUBST(MJPEGTOOLS_LIBS) + AC_SUBST(MJPEGTOOLS_CFLAGS) ]) dnl *** mad *** @@ -1037,6 +1034,7 @@ ext/gsm/Makefile ext/hermes/Makefile ext/http/Makefile ext/jpeg/Makefile +ext/jpeg-mmx/Makefile ext/ladspa/Makefile ext/lame/Makefile ext/mad/Makefile |