From 077d6e6464ed68fa5d6fe5c9e000d130f8eb08da Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 1 Nov 2016 10:42:35 -0700 Subject: [PATCH] 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 | 4 ++-- configure.in | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index b018dff9f..30f016af6 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 7fc95a3ac..bcace6acd 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"