GNOME Bugzilla – Bug 676407
Don't enable backlight helper if GUdev is not available
Last modified: 2012-06-15 17:52:18 UTC
Don't enable backlight helper if GUdev is not available. We should check for have_gudev, not enable_gudev in this case.
Created attachment 214476 [details] [review] Don't enable backlight helper if GUdev is not available
Review of attachment 214476 [details] [review]: looks right to me
Review of attachment 214476 [details] [review]: ::: gnome-settings-daemon-3.4.2.orig/configure.ac @@ +140,3 @@ AC_ARG_ENABLE(gudev, AS_HELP_STRING([--disable-gudev],[Disable GUdev support]), enable_gudev=$enableval) if test x$enable_gudev != xno; then + PKG_CHECK_MODULES(GUDEV, gudev-1.0, have_gudev="yes", have_gudev="no") You're making a single commit to change HAVE_GUDEV to have_gudev, and fix the bug. Please split this in 2 commits.
Created attachment 216467 [details] [review] [PATCH 1/2] build: Use lower case have_gudev
Created attachment 216468 [details] [review] [PATCH 2/2] build: Don't enable backlight helper if GUdev is not available
Created attachment 216470 [details] [review] [PATCH 2/2] build: Don't enable backlight helper if GUdev is not available