View | Details | Raw Unified
Collapse All | Expand All

(-) configure.in.orig (-4 / +9 lines)
 Lines 445-454    Link Here 
         if [[ $have_alsa = "yes" ]] ; then
         if [[ $have_alsa = "yes" ]] ; then
            LIBS="$LIBS -lasound"
            LIBS="$LIBS -lasound"
         fi
         fi
         PKG_CHECK_MODULES(JACK, jack, have_jack=yes, have_jack=no)
	 AC_ARG_WITH([jack], AS_HELP_STRING([--without-jack], [Build without jack library (default: test)]))
         if [[ $have_jack = "yes" ]] ; then
	 if test "x$with_jack" != "xno"; then
            LIBS="$LIBS $JACK_LIBS"
            PKG_CHECK_MODULES(JACK, [jack >=0.103], have_jack=yes, have_jack=no)
         fi
	    if [[ $have_jack = "yes" ]] ; then
        	LIBS="$LIBS $JACK_LIBS"
	    else
		AC_MSG_ERROR([Support for jack library requested but no suitable version available])
            fi
	 fi	
         AC_CHECK_LIB(hpi, HPI_SubSysCreate, have_asihpi=yes, have_asihpi=no, -lm)
         AC_CHECK_LIB(hpi, HPI_SubSysCreate, have_asihpi=yes, have_asihpi=no, -lm)
         if [[ $have_asihpi = "yes" ]] ; then
         if [[ $have_asihpi = "yes" ]] ; then
            LIBS="$LIBS -lhpi"
            LIBS="$LIBS -lhpi"