|
From: <pst...@us...> - 2008-05-09 21:24:37
|
Revision: 496
http://jazzplusplus.svn.sourceforge.net/jazzplusplus/?rev=496&view=rev
Author: pstieber
Date: 2008-05-09 14:24:35 -0700 (Fri, 09 May 2008)
Log Message:
-----------
If ALSA is possible, check for it as a configure option. This will fix the Linux build, but might break the Mac build.
Modified Paths:
--------------
trunk/jazz/configure.ac
Modified: trunk/jazz/configure.ac
===================================================================
--- trunk/jazz/configure.ac 2008-05-09 19:03:45 UTC (rev 495)
+++ trunk/jazz/configure.ac 2008-05-09 21:24:35 UTC (rev 496)
@@ -89,22 +89,25 @@
AC_MSG_ERROR(unknown system type ${host}.)
esac
-dnl ---------------------------------------
-dnl check if we are to enable alsa support
-dnl ---------------------------------------
-dnl AC_ARG_ENABLE(alsa, --enable-alsa Support ALSA)
-dnl
-dnl if test x$enable_alsa = xyes ; then
-dnl AC_MSG_RESULT(alsa is enabled)
-dnl AC_DEFINE(DEV_ALSA,1,[use alsa drivers])
-dnl
-dnl dnl This test comes with the alsa distribution!
-dnl AM_PATH_ALSA(0.9.0)
-dnl
-dnl fi
-
AM_CONDITIONAL(USE_ALSA, test "$have_alsa" = yes)
+if [[ $have_alsa = "yes" ]] ; then
+
+ dnl ---------------------------------------
+ dnl check if we are to enable alsa support
+ dnl ---------------------------------------
+ AC_ARG_ENABLE(alsa, --enable-alsa Support ALSA)
+
+ if test x$enable_alsa = xyes ; then
+ AC_MSG_RESULT(alsa is enabled)
+ AC_DEFINE(DEV_ALSA,1,[use alsa drivers])
+
+ dnl This test comes with the alsa distribution!
+ AM_PATH_ALSA(0.9.0)
+
+ fi
+fi
+
dnl --------------------------------------------
dnl check if we are to enable sequencer2 support
dnl --------------------------------------------
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|