GNOME Bugzilla – Bug 327777
Add --without-alsa switch to configure
Last modified: 2006-01-20 11:17:19 UTC
In order to be able to compile GIMP on a box with alsa-lib installed, and later deploy it on a box without alsa-lib, a configure switch for disabling ALSA support in the midi input controller is needed.
Created attachment 57681 [details] [review] Proposed patch
Did you try this patch? It replaces an AC_DEFINE by an AM_CONDITIONAL, which takes away the possibility to #ifdef HAVE_ALSA Apart from that, I agree it should be configurable.
(In reply to comment #2) > Did you try this patch? It replaces an AC_DEFINE by an AM_CONDITIONAL, > which takes away the possibility to #ifdef HAVE_ALSA Yes, I've tested --with-alsa and --without-alsa, followed by calling ldd on libcontroller_midi.so. Didn't notice any warnings caused by #ifdef HAVE_ALSA. That being said, you're much more experienced in autoconf syntax than I am :)
Yes, it does compile for both --with and --without, but it never uses alsa, it just links against the lib :)
Fixed in CVS: 2006-01-20 Michael Natterer <mitch@gimp.org> * configure.in: applied modified patch from Henrik Brix Andersen which adds the possibility to build --without-alsa, even if alsa is available. Fixes bug #327777.
Verified, thanks.