]> git.sesse.net Git - vlc/commit
Simplify vcdx configure.ac logic.
authorDaniel Mierswa <impulze@impulze.org>
Thu, 21 Jan 2010 23:25:07 +0000 (00:25 +0100)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 23 Jan 2010 10:06:33 +0000 (12:06 +0200)
commitc8631c65127e95626aac7fc5106b52805b6096be
tree70a62dfbc2f5a12537a330733246fcb362fe48b8
parentef139b0b5c75c5bbd48686d72d59875ebc46c4c2
Simplify vcdx configure.ac logic.

HAVE_{LIBCDIO,LIBVCDINFO} and have_{libcdio,libvcdinfo} were nowhere
used in the source except when --enable-vcdx was given, hence only probe
for them when vcdx is to be enabled.
Since have_libvcdinfo (which is a requirement for vcdx) can only be
enabled if have_libcdio was defined, I simply put it in the enable_vcdx
block. And because vcdx needs to be explicitly enabled, we can safely
AC_MSG_ERROR on every missing library.

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