]> git.sesse.net Git - vlc/commitdiff
configure: fix vcdinfo/libvcdinfo inconsistencies
authorDetlef Schroeder <detlef.schroeder@feinsinn.com>
Tue, 12 Jan 2010 20:42:30 +0000 (21:42 +0100)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 12 Jan 2010 21:24:26 +0000 (23:24 +0200)
Additional changes in configure.ac according to
[71fafba47612fa01e51b3933060a277bef900346].
--enable-vcdinfo was changed to --enable-libvcdinfo and some VCDINFO
were renamed to LIBVCDINFO but the checking was incomplete so pkg-config
could not correctly configure libvcdinfo

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
configure.ac

index 12fd3109f5b5cc797ca1c5699475cb9e523526d2..c04857c5a0e3ceab5b330b1b0ee7e2461793bd53 100644 (file)
@@ -2488,7 +2488,7 @@ then
      [Define if you have libcdio 0.78.2 or greater installed]),
      [AC_MSG_WARN(CD Reading and information library not found)])
 
-  if test "${enable_vcdinfo}" != "no"
+  if test "${enable_libvcdinfo}" != "no"
   then
     PKG_CHECK_MODULES(LIBVCDINFO, libvcdinfo >= 0.7.22,
        [have_libvcdinfo=yes],
@@ -2506,8 +2506,8 @@ if test "${enable_vcdx}" = "yes"
 then
   if test "${have_libvcdinfo}" = "yes"
   then
-    VLC_ADD_LIBS([vcdx],[$VCDINFO_LIBS])
-    VLC_ADD_CFLAGS([vcdx],[$VCDINFO_CFLAGS])
+    VLC_ADD_LIBS([vcdx],[$LIBVCDINFO_LIBS])
+    VLC_ADD_CFLAGS([vcdx],[$LIBVCDINFO_CFLAGS])
   else
     AC_MSG_WARN([vcdx plugin disabled because ok libvcdinfo library not found or disabled])
     HAVE_VCDX=no
@@ -2523,8 +2523,8 @@ then
   then
     AC_DEFINE(HAVE_VCDX, 1,
     [Define for the VCD plugin using libcdio/libvcdinfo])
-    VLC_ADD_LIBS([vcdx],[$VCDINFO_LIBS])
-    VLC_ADD_CFLAGS([vcdx],[$VCDINFO_CFLAGS])
+    VLC_ADD_LIBS([vcdx],[$LIBVCDINFO_LIBS])
+    VLC_ADD_CFLAGS([vcdx],[$LIBVCDINFO_CFLAGS])
     VLC_ADD_PLUGIN([vcdx])
   else
     AC_MSG_WARN([vcdx plugin disabled because ok libvcdinfo library not found])