comparison configure @ 31553:6a5073938364

Hopefully fix librtmp detection.
author cehoyos
date Fri, 02 Jul 2010 16:52:32 +0000
parents 24c3ef20a1f2
children 1474401afe45
comparison
equal deleted inserted replaced
31552:24c3ef20a1f2 31553:6a5073938364
7132 7132
7133 echocheck "RTMPDump Streaming Media library" 7133 echocheck "RTMPDump Streaming Media library"
7134 if test "$_librtmp" = auto && test "$_network" = yes ; then 7134 if test "$_librtmp" = auto && test "$_network" = yes ; then
7135 cat > $TMPC << EOF 7135 cat > $TMPC << EOF
7136 #include <librtmp/rtmp.h> 7136 #include <librtmp/rtmp.h>
7137 int main(void) { RTMP r; RTMP_Init(&r); return 0; } 7137 int main(void) { RTMP r; RTMP_Socket(&r); return 0; }
7138 EOF 7138 EOF
7139 cc_check -lrtmp && _librtmp=yes && extra_ldflags="$extra_ldflags -lrtmp" 7139 cc_check -lrtmp && _librtmp=yes && extra_ldflags="$extra_ldflags -lrtmp"
7140 if test "$_librtmp" != yes && $_pkg_config --exists librtmp ; then 7140 if test "$_librtmp" != yes && $_pkg_config --exists librtmp ; then
7141 _inc_tmp=$($_pkg_config --cflags librtmp) 7141 _inc_tmp=$($_pkg_config --cflags librtmp)
7142 _ld_tmp=$($_pkg_config --libs librtmp) 7142 _ld_tmp=$($_pkg_config --libs librtmp)