Explorar el Código

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 hace 8 años
padre
commit
077d6e6464
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  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"