diff options
author | David I. Lehn <dlehn@users.sourceforge.net> | 2002-07-04 19:38:06 +0000 |
---|---|---|
committer | David I. Lehn <dlehn@users.sourceforge.net> | 2002-07-04 19:38:06 +0000 |
commit | d3f347aee815ba27f2ad4e66f175ebc9bc47c40e (patch) | |
tree | 83e1d287097d5608593c1b455fc15e207f105a98 | |
parent | d826a5e1ea807295312c0a0eccc588b4fdbd1c78 (diff) | |
download | gst-plugins-bad-d3f347aee815ba27f2ad4e66f175ebc9bc47c40e.tar.gz gst-plugins-bad-d3f347aee815ba27f2ad4e66f175ebc9bc47c40e.tar.bz2 gst-plugins-bad-d3f347aee815ba27f2ad4e66f175ebc9bc47c40e.zip |
fix cdparanoia include dir location check.
Original commit message from CVS:
fix cdparanoia include dir location check.
fix libdv check to use pkg-config.
use libdv cflags.
m--------- | common | 0 | ||||
-rw-r--r-- | configure.ac | 30 |
2 files changed, 14 insertions, 16 deletions
diff --git a/common b/common -Subproject c6bd62c43f01b2012d81dfa61dd58777c41de07 +Subproject 1a826743b023d38a14e16cf1b3fb85eabdbb65d diff --git a/configure.ac b/configure.ac index dcccf4cc..85c9e27e 100644 --- a/configure.ac +++ b/configure.ac @@ -381,12 +381,17 @@ GST_CHECK_FEATURE(CDPARANOIA, [CDParanoia], cdparanoia, [ cdda_open, -lm, cdda_interface.h, CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia" - HEADER_DIR="no") - GST_CHECK_LIBHEADER(CDPARANOIA, cdda_interface, - cdda_open, -lm, - cdda/cdda_interface.h, - CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia" - HEADER_DIR="yes") + HEADER_DIR="no" + FOUND_CDPARANOIA="yes") + if test "x$FOUND_CDPARANOIA" != "xyes"; + then + GST_CHECK_LIBHEADER(CDPARANOIA, cdda_interface, + cdda_open, -lm, + cdda/cdda_interface.h, + CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia" + HEADER_DIR="yes" + FOUND_CDPARANOIA="yes") + fi if test "x$HEADER_DIR" = "xyes"; then AC_DEFINE_UNQUOTED(CDPARANOIA_HEADERS_IN_DIR, , @@ -400,8 +405,9 @@ dnl AC_CHECK_HEADER(cdda_paranoia.h, :, HAVE_CDPARANOIA=no) dnl *** dv *** translit(dnm, m, l) AM_CONDITIONAL(USE_DV, true) -GST_CHECK_FEATURE(DV, [dv library], dv, [ - AM_PATH_LIBDV(HAVE_DV=yes, HAVE_DV=no) +GST_CHECK_FEATURE(DV, [libdv DV/video decoder], dvdec, [ + PKG_CHECK_MODULES(DV, libdv, HAVE_DV="yes", HAVE_DV="no") + AC_SUBST(DV_CFLAGS) AC_SUBST(DV_LIBS) ]) @@ -534,14 +540,6 @@ GST_CHECK_FEATURE(LCS, Lcs, lcs, [ AC_SUBST(LCS_LIBS) ]) -dnl *** libdv *** -translit(dnm, m, l) AM_CONDITIONAL(USE_LIBDV, true) -GST_CHECK_FEATURE(LIBDV, [libdv DV/video decoder], dvdec, [ - PKG_CHECK_MODULES(LIBDV, libdv, HAVE_LIBDV="yes", HAVE_LIBDV="no") - AC_SUBST(LIBDV_CFLAGS) - AC_SUBST(LIBDV_LIBS) -]) - dnl *** libfame *** translit(dnm, m, l) AM_CONDITIONAL(USE_LIBFAME, true) GST_CHECK_FEATURE(LIBFAME, [libfame MPEG1/4 encoder], libfame, [ |