Fix problem with reporting audio enabled when really disabled.
authorDavid Griffith <dave@661.org>
Mon, 15 Jul 2019 03:53:51 +0000 (20:53 -0700)
committerDavid Griffith <dave@661.org>
Mon, 15 Jul 2019 03:53:51 +0000 (20:53 -0700)
Makefile

index 067393705b94b03c0e7f1b28f7a21da02e9b5f4e..ac50a6fb4f0fa489de1b03e2ed8d49360ed398f6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -175,9 +175,10 @@ endif
 ifeq ($(SOUND), ao)
   CURSES_SOUND_LDFLAGS += -lao -ldl -lpthread -lm \
        -lsndfile -lvorbisfile -lmodplug -lsamplerate
+  CURSES_SOUND = enabled
+else
+  CURSES_SOUND = disabled
 endif
-# To report if Frotz compiled with or without sound support
-CURSES_SOUND = enabled
 
 
 # Source locations