Browse Source

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.
Sam Lantinga 8 years ago
parent
commit
077d6e6464
2 changed files with 3 additions and 3 deletions
  1. 2 2
      configure
  2. 1 1
      configure.in

+ 2 - 2
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"

+ 1 - 1
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"