Commit 73a2f963 authored by Rocky Bernstein's avatar Rocky Bernstein

Test for libcdio only once. Make disable-libcddb work (typo in test variable).

parent c4fb5be7
dnl Autoconf settings for vlc dnl Autoconf settings for vlc
dnl $Id: configure.ac,v 1.155 2004/01/24 15:18:29 gbazin Exp $ dnl $Id: configure.ac,v 1.156 2004/01/25 21:03:16 rocky Exp $
AC_INIT(vlc,0.7.1-cvs) AC_INIT(vlc,0.7.1-cvs)
...@@ -1523,7 +1523,7 @@ then ...@@ -1523,7 +1523,7 @@ then
[AC_MSG_WARN(libcdio library not found) [AC_MSG_WARN(libcdio library not found)
HAVE_CDDAX=no]) HAVE_CDDAX=no])
if test x$enable_cddb != no; then if test x$enable_libcddb != no; then
PKG_CHECK_MODULES(LIBCDDB, libcddb >= 0.9.4, [ PKG_CHECK_MODULES(LIBCDDB, libcddb >= 0.9.4, [
HAVE_LIBCDDB=yes HAVE_LIBCDDB=yes
AC_DEFINE(HAVE_LIBCDDB, [], [Define this if you have libcddb installed]) AC_DEFINE(HAVE_LIBCDDB, [], [Define this if you have libcddb installed])
...@@ -1534,13 +1534,6 @@ then ...@@ -1534,13 +1534,6 @@ then
HAVE_LIBCDDB=no]) HAVE_LIBCDDB=no])
fi fi
PKG_CHECK_MODULES(LIBCDIO, libcdio >= 0.65,
[enable_cddax="no"
AX_ADD_LDFLAGS([cddax],[$LIBCDIO_LIBS])
AX_ADD_CFLAGS([cddax],[$LIBCDIO_CFLAGS])
AX_ADD_PLUGINS([cddax])],
[AC_MSG_WARN(libcdio library not found)])
if test "${enable_vcdx}" != "no" if test "${enable_vcdx}" != "no"
then then
PKG_CHECK_MODULES(VCDINFO, libvcdinfo >= 0.7.20-cdio, PKG_CHECK_MODULES(VCDINFO, libvcdinfo >= 0.7.20-cdio,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment