configure: fix hdhomerun library check, fixes #2375

This commit is contained in:
Jaroslav Kysela 2014-10-14 18:12:34 +02:00
parent 9bf584ada1
commit c0c797d4f8

2
configure vendored
View file

@ -237,7 +237,7 @@ if enabled hdhomerun_static; then
else
if enabled_or_auto hdhomerun_client; then
if ! check_cc_lib hdhomerun; then
if check_cc_header 'libhdhomerun/hdhomerun.h'; then
enable hdhomerun_client
LDFLAGS="$LDFLAGS -lhdhomerun"
fi