summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cceabc8)
raw | patch | inline | side by side (parent: cceabc8)
author | Richard Boulton <richard@tartarus.org> | |
Thu, 28 Jun 2001 18:35:51 +0000 (18:35 +0000) | ||
committer | Richard Boulton <richard@tartarus.org> | |
Thu, 28 Jun 2001 18:35:51 +0000 (18:35 +0000) |
Original commit message from CVS:
Fix ALSA check; was overwriting the ALSA_CFLAGS and ALSA_LIBS variables
determined for alsa 0.5 with the ones from the check that alsa 0.9 wasn't
there. Now does the 0.9 check first, to avoid this problem.
Fix ALSA check; was overwriting the ALSA_CFLAGS and ALSA_LIBS variables
determined for alsa 0.5 with the ones from the check that alsa 0.9 wasn't
there. Now does the 0.9 check first, to avoid this problem.
configure.base | patch | blob | history |
diff --git a/configure.base b/configure.base
index e1dd242f500466718efb8ecfacbc7a7f921f3c91..702cf54b512484f422568fb6cbe0f14b0f5f63ca 100644 (file)
--- a/configure.base
+++ b/configure.base
dnl Check for alsa
GST_CHECK_FEATURE(ALSA, [alsa plugins], gstalsa, [
- AM_PATH_ALSA(0.5.0, HAVE_ALSA=yes, HAVE_ALSA=no)
+ HAVE_ALSA=yes
AM_PATH_ALSA(0.9.0, HAVE_ALSA=no; AC_MSG_WARN(Alsa 0.9.x not yet supported),:)
+ if test x$HAVE_ALSA = xno; then
+ ALSA_CFLAGS=
+ ALSA_LIBS=
+ else
+ AM_PATH_ALSA(0.5.0, :, HAVE_ALSA=no)
+ fi
])
dnl Check for libaudiofile