Hi:

I’m working on an update to Lirc and the build system has changed to 
Autotools--which I know very little about.

It seems that Lirc will now opportunistically link with Alsa and there is no 
configure flag to disable such behaviour.  I want to make Alsa support a 
non-default variant.  Is my best option to patch the configure.ac file?

I believe the relevant portion of configure.ac is:

dnl audio_alsa driver requires ALSA library installed and some linker flags
have_alsa=no
AC_CHECK_HEADERS(alsa/asoundlib.h,[
  AC_CHECK_LIB(asound, snd_pcm_open,[
    AM_CONDITIONAL([BUILD_LIBALSA],[true])
    AC_DEFINE(HAVE_LIBALSA)
    have_alsa=yes
    ],[
    AM_CONDITIONAL([BUILD_LIBALSA],[false])],
    )
    ],[
    AM_CONDITIONAL([BUILD_LIBALSA],[false])]
)

From:
https://sourceforge.net/p/lirc/git/ci/lirc-0_9_4c/tree/configure.ac

What exactly would I patch in to ignore Alsa?

Many thanks,

Craig

_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to