Bug 89213

Summary: configure --enable-udev --disable-oss-output --disable-alsa outputs bogus '*** UDEV support not found'
Product: PulseAudio Reporter: Michał Górny <mgorny>
Component: build-systemAssignee: pulseaudio-bugs
Status: RESOLVED MOVED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart
Version: unspecifiedKeywords: love
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Michał Górny 2015-02-18 21:54:27 UTC
AS_IF([test "x$enable_udev" != "xno" -a \( "x$HAVE_OSS" = "x1" -o "x$HAVE_ALSA" = "x1" \)],
    [PKG_CHECK_MODULES(UDEV, [ libudev >= 143 ], HAVE_UDEV=1, HAVE_UDEV=0)],
    HAVE_UDEV=0)

AS_IF([test "x$enable_udev" = "xyes" && test "x$HAVE_UDEV" = "x0"],
    [AC_MSG_ERROR([*** UDEV support not found])])


This means that if both OSS & ALSA are disabled, udev check is never run. Then having udev enabled results in bogus '*** UDEV support not found' message.

Instead, it should probably output something along the lines '*** UDEV support requires --enable-alsa or --enable-oss-output'.

Original bug report: https://bugs.funtoo.org/browse/FL-2108
Comment 1 Raymond 2015-02-21 01:38:48 UTC
http://cgit.freedesktop.org/pulseaudio/pulseaudio/log/src/modules/module-udev-detect.c


seem module-udev-detect only used for alsa
Comment 2 GitLab Migration User 2018-07-30 09:34:44 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/28.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.