summaryrefslogtreecommitdiff
path: root/ext/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'ext/Makefile.am')
-rw-r--r--ext/Makefile.am10
1 files changed, 9 insertions, 1 deletions
diff --git a/ext/Makefile.am b/ext/Makefile.am
index 05a603fd..7c006ff7 100644
--- a/ext/Makefile.am
+++ b/ext/Makefile.am
@@ -42,9 +42,17 @@ endif
if USE_VORBIS
VORBIS_DIR=vorbis
-else
+endif
+
+if USE_IVORBIS
+VORBIS_DIR=vorbis
+endif
+
+if !USE_VORBIS
+if !USE_IVORBIS
VORBIS_DIR=
endif
+endif
if USE_THEORA
THEORA_DIR=theora