configure.ac: Fix --disable-extern (can't set conditionals conditionally, #343602).
authorTim-Philipp Müller <tim@centricular.net>
Sat, 17 Jun 2006 14:13:03 +0000 (14:13 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Sat, 17 Jun 2006 14:13:03 +0000 (14:13 +0000)
Original commit message from CVS:
* configure.ac:
Fix --disable-extern (can't set conditionals conditionally,
#343602).

ChangeLog
configure.ac

index 7596c9a..0b826f2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-06-17  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * configure.ac:
+         Fix --disable-extern (can't set conditionals conditionally,
+         #343602).
+
 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
 
        * tests/check/elements/audioresample.c: (test_reuse),
index 7019f60..0ac0621 100644 (file)
@@ -489,6 +489,19 @@ vorbis_synthesis_restart (v);
   CFLAGS="$ac_cflags_save"
 fi
 
+else
+
+dnl not building plugins with external dependencies,
+dnl but we still need to set the conditionals
+AM_CONDITIONAL(USE_ALSA, false)
+AM_CONDITIONAL(USE_CDPARANOIA, false)
+AM_CONDITIONAL(USE_GNOME_VFS, false)
+AM_CONDITIONAL(USE_LIBVISUAL, false)
+AM_CONDITIONAL(USE_OGG, false)
+AM_CONDITIONAL(USE_PANGO, false)
+AM_CONDITIONAL(USE_THEORA, false)
+AM_CONDITIONAL(USE_VORBIS, false)
+
 fi dnl of EXT plugins
 
 dnl seeking needs freetype, so check for it here