]> git.sesse.net Git - vlc/commitdiff
Fix configure with --disable-sout
authorPierre Ynard <linkfanel@yahoo.fr>
Mon, 24 Aug 2009 12:01:35 +0000 (14:01 +0200)
committerPierre Ynard <linkfanel@yahoo.fr>
Mon, 24 Aug 2009 12:01:35 +0000 (14:01 +0200)
This is ugly, until jb finds "a clever solution."

configure.ac

index 7a38023040c9b26392bc4d5b4f1e1fa2058f47e5..e484bcf8d18202eb4709d5eed3783bf337448566 100644 (file)
@@ -2568,11 +2568,15 @@ dnl
 PKG_ENABLE_MODULES_VLC([OGG], [], [ogg >= 1.0], [Ogg demux support], [auto])
 if test "${enable_sout}" != "no"; then
     PKG_ENABLE_MODULES_VLC([MUX_OGG], [], [ogg >= 1.0], [Ogg demux support], [auto])
+else
+    AM_CONDITIONAL(HAVE_MUX_OGG, 0)
 fi
 
 if test "${enable_sout}" != "no"; then
 dnl Check for libshout
 PKG_ENABLE_MODULES_VLC([shout], [access_output_shout], [shout >= 2.1], [libshout output plugin], [auto])
+else
+    AM_CONDITIONAL(HAVE_shout, 0)
 fi
 
 dnl