summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/ext/Makefile.am b/ext/Makefile.am
index 108a55f2..ef399c58 100644
--- a/ext/Makefile.am
+++ b/ext/Makefile.am
@@ -198,15 +198,17 @@ endif
if USE_TIMIDITY
TIMIDITY_DIR=timidity
-else
-TIMIDITY_DIR=
endif
if USE_WILDMIDI
TIMIDITY_DIR=timidity
-else
+endif
+
+if !USE_WILDMIDI
+if !USE_TIMIDITY
TIMIDITY_DIR=
endif
+endif
# if USE_POLYP
# POLYP_DIR=polyp