--- Output/Makefile.in.orig	Tue Nov 28 14:58:15 2000
+++ Output/Makefile.in	Tue Nov 28 14:58:46 2000
@@ -152,7 +152,10 @@
 sidplay_library = @sidplay_library@
 xmmsdir = @xmmsdir@
 
-SUBDIRS = OSS esd disk_writer
+SUBDIRS = OSS disk_writer
+.if defined(HAVE_ESOUND) || defined(HAVE_GNOME)
+SUBDIRS += esd
+.endif
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = ../config.h
 CONFIG_CLEAN_FILES = 
