summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2002-06-22 08:21:31 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2002-06-22 08:21:31 +0000
commit518ff9ae11a549f4c3a4bcc22eeac118db2f3c05 (patch)
tree8fa5ca35434e0c23dce130ab662f478e4295339c /configure.ac
parent9eda452c87096b878f170bd923f443ecf23e2d35 (diff)
downloadgst-plugins-bad-518ff9ae11a549f4c3a4bcc22eeac118db2f3c05.tar.gz
gst-plugins-bad-518ff9ae11a549f4c3a4bcc22eeac118db2f3c05.tar.bz2
gst-plugins-bad-518ff9ae11a549f4c3a4bcc22eeac118db2f3c05.zip
check if cdda headers in dir
Original commit message from CVS: check if cdda headers in dir
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac16
1 files changed, 15 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1fb6b006..91d52b7d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -368,7 +368,21 @@ GST_CHECK_FEATURE(AVIFILE, [avifile], windec winenc, [
dnl *** CDParanoia ***
translit(dnm, m, l) AM_CONDITIONAL(USE_CDPARANOIA, true)
GST_CHECK_FEATURE(CDPARANOIA, [CDParanoia], cdparanoia, [
- GST_CHECK_LIBHEADER(CDPARANOIA, cdda_interface, cdda_open, -lm, cdda_interface.h, CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia")
+ GST_CHECK_LIBHEADER(CDPARANOIA, cdda_interface,
+ 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")
+ if test "x$HEADER_DIR" = "xyes";
+ then
+ AC_DEFINE_UNQUOTED(CDPARANOIA_HEADERS_IN_DIR, ,
+ defined if cdda headers are in a cdda/ directory)
+ fi
AC_SUBST(CDPARANOIA_LIBS)
])
dnl FIXME : add second check somehow if that is necessary