From 87dfa2ae1f169b2477723a27269996c3983885da Mon Sep 17 00:00:00 2001
From: Stan Seibert <volsung@xiph.org>
Date: Wed, 8 Oct 2003 15:20:27 +0000
Subject: [PATCH] Never put AM_CONDITIONAL in an if-statement.  Fix for esd
 from Christian Weisgerber.

git-svn-id: http://svn.xiph.org/trunk/ao@5439 0101bb08-14d6-0310-b084-bc0e0c8e3800
---
 CHANGES      | 3 +++
 configure.in | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/CHANGES b/CHANGES
index 7831a39..ccaeb0c 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+? - ??
+- Can build with --disable-esd option
+
 0.8.4 - October 4, 2003
 - Added AIX sound driver from Stefan Tibus <sjti@gmx.net>
 - Committed some fixes from the Fink project to allow compiling on
diff --git a/configure.in b/configure.in
index a6767ef..de14b22 100644
--- a/configure.in
+++ b/configure.in
@@ -174,8 +174,8 @@ AC_ARG_ENABLE(esd, [  --enable-esd            include ESD output plugin ],
 
 if test "$BUILD_ESD" = "yes"; then
   AM_PATH_ESD(0.2.8, have_esd=yes, have_esd=no)
-  AM_CONDITIONAL(HAVE_ESD,test "x$have_esd" = xyes)
 fi
+AM_CONDITIONAL(HAVE_ESD,test "x$have_esd" = xyes)
 
 
 dnl Check for OSS
-- 
GitLab