Bug 143186 - ./configure --without-alsa fails with configure: error: conditional "include_ALSA" was never defined.
Summary: ./configure --without-alsa fails with configure: error: conditional "include_...
Status: RESOLVED FIXED
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-18 21:00 UTC by Petteri Räty
Modified: 2007-03-19 10:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty 2007-03-18 21:00:11 UTC
Version:           1.0 (using KDE KDE 3.5.6)
Installed from:    Gentoo Packages
OS:                Linux

checking if plugins should be compiled... yes
checking if src should be compiled... yes
configure: error: conditional "include_ALSA" was never defined.
Usually this means the macro was only invoked conditionally.
betelgeuse@pena /var/tmp/portage/app-cdr/k3b-1.0/work/k3b-1.0 $ ./configure --without-alsa | grep alsa
configure: error: conditional "include_ALSA" was never defined.
Usually this means the macro was only invoked conditionally.

The downstream bug report is in https://bugs.gentoo.org/show_bug.cgi?id=152321 There you can find more information.
Comment 1 Sebastian Trueg 2007-03-19 10:30:32 UTC
SVN commit 644100 by trueg:

Always define the include_ALSA conditional.

BUG: 143186


 M  +2 -2      configure.in.in  


--- trunk/extragear/multimedia/k3b/plugins/audiooutput/alsa/configure.in.in #644099:644100
@@ -5,8 +5,6 @@
   PKG_CHECK_MODULES([ALSA], [alsa >= 0.9], [have_alsa=yes], [have_alsa=no])
   AC_SUBST([ALSA_CFLAGS])
   AC_SUBST([ALSA_LIBS])
-
-  AM_CONDITIONAL(include_ALSA, [test "x$have_alsa" = "xyes"])
 ])
 
 AC_ARG_WITH(alsa,
@@ -23,4 +21,6 @@
   fi
 fi
 
+AM_CONDITIONAL(include_ALSA, [test "x$have_alsa" = "xyes"])
+
 dnl --------- ALSA CHECK END ---------------