Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
libdvben50221 - fix detection
  • Loading branch information
perexg committed Apr 16, 2015
1 parent f358286 commit abb1409
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions configure
Expand Up @@ -43,7 +43,7 @@ OPTIONS=(
"tvhcsa:auto"
"bundle:no"
"dvbcsa:no"
"libdvben50221:auto"
"dvben50221:auto"
"kqueue:no"
"dbus_1:auto"
"android:no"
Expand Down Expand Up @@ -197,15 +197,22 @@ int test(void)
}
' -liconv

check_cc_snippet libdvben50221 '
#include <libdvben50221/en50221_session.h>
#define TEST test
int test(void)
{
struct en50221_transport_layer *tl = en50221_tl_create(5, 32);
return 0;
}
' '-ldvben50221 -ldvbapi -lucsi'
if enabled_or_auto dvben50221; then
check_cc_snippet libdvben50221 '
#include <libdvben50221/en50221_session.h>
#define TEST test
int test(void)
{
struct en50221_transport_layer *tl = en50221_tl_create(5, 32);
return 0;
}
' '-ldvben50221 -ldvbapi -lucsi'
if enabled libdvben50221; then
enable dvben50221
else
disable dvben50221
fi
fi

#
# Python
Expand Down Expand Up @@ -446,7 +453,7 @@ fi
#
# libdvben50221
#
if enabled_or_auto libdvben50221; then
if enabled libdvben50221; then
LDFLAGS="$LDFLAGS -ldvben50221 -ldvbapi -lucsi"
enable linuxdvb_ca
fi
Expand Down

0 comments on commit abb1409

Please sign in to comment.