Fixed bug with udev support reporting Joshua Bodine I'm going to reopen this because configure should still accurately report whether libudev will be used. Right now it just tests whether it's enabled as an argument, not whether configure was successful in finding it.
diff --git a/configure b/configure
index b018dff..30f016a 100755
--- a/configure
+++ b/configure
@@ -23490,7 +23490,7 @@ fi
CheckDummyVideo
CheckDiskAudio
CheckDummyAudio
- CheckDLOPEN
+ CheckDLOPEN
CheckHaikuVideo
CheckHaikuGL
CheckPTHREAD
@@ -24038,7 +24038,7 @@ if test x$have_x = xyes; then
SUMMARY="${SUMMARY}X11 libraries :${SUMMARY_video_x11}\n"
fi
SUMMARY="${SUMMARY}Input drivers :${SUMMARY_input}\n"
-if test x$enable_libudev = xyes; then
+if test x$have_libudev_h_hdr = xyes; then
SUMMARY="${SUMMARY}Using libudev : YES\n"
else
SUMMARY="${SUMMARY}Using libudev : NO\n"
diff --git a/configure.in b/configure.in
index 7fc95a3..bcace6a 100644
--- a/configure.in
+++ b/configure.in
@@ -3713,7 +3713,7 @@ if test x$have_x = xyes; then
SUMMARY="${SUMMARY}X11 libraries :${SUMMARY_video_x11}\n"
fi
SUMMARY="${SUMMARY}Input drivers :${SUMMARY_input}\n"
-if test x$enable_libudev = xyes; then
+if test x$have_libudev_h_hdr = xyes; then
SUMMARY="${SUMMARY}Using libudev : YES\n"
else
SUMMARY="${SUMMARY}Using libudev : NO\n"