Fixed bug with udev support reporting
authorSam Lantinga <slouken@libsdl.org>
Tue, 01 Nov 2016 10:42:35 -0700
changeset 10567fc1c463cfdae
parent 10566 0fb14a4fca0b
child 10568 0cbc922ef093
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.
configure
configure.in
     1.1 --- a/configure	Tue Nov 01 10:33:44 2016 -0700
     1.2 +++ b/configure	Tue Nov 01 10:42:35 2016 -0700
     1.3 @@ -23490,7 +23490,7 @@
     1.4          CheckDummyVideo
     1.5          CheckDiskAudio
     1.6          CheckDummyAudio
     1.7 -        CheckDLOPEN        
     1.8 +        CheckDLOPEN
     1.9          CheckHaikuVideo
    1.10          CheckHaikuGL
    1.11          CheckPTHREAD
    1.12 @@ -24038,7 +24038,7 @@
    1.13      SUMMARY="${SUMMARY}X11 libraries   :${SUMMARY_video_x11}\n"
    1.14  fi
    1.15  SUMMARY="${SUMMARY}Input drivers   :${SUMMARY_input}\n"
    1.16 -if test x$enable_libudev = xyes; then
    1.17 +if test x$have_libudev_h_hdr = xyes; then
    1.18      SUMMARY="${SUMMARY}Using libudev   : YES\n"
    1.19  else
    1.20      SUMMARY="${SUMMARY}Using libudev   : NO\n"
     2.1 --- a/configure.in	Tue Nov 01 10:33:44 2016 -0700
     2.2 +++ b/configure.in	Tue Nov 01 10:42:35 2016 -0700
     2.3 @@ -3713,7 +3713,7 @@
     2.4      SUMMARY="${SUMMARY}X11 libraries   :${SUMMARY_video_x11}\n"
     2.5  fi
     2.6  SUMMARY="${SUMMARY}Input drivers   :${SUMMARY_input}\n"
     2.7 -if test x$enable_libudev = xyes; then
     2.8 +if test x$have_libudev_h_hdr = xyes; then
     2.9      SUMMARY="${SUMMARY}Using libudev   : YES\n"
    2.10  else
    2.11      SUMMARY="${SUMMARY}Using libudev   : NO\n"