summaryrefslogtreecommitdiff
path: root/net/pjsip/files/patch-aconfigure
blob: 51c87ce365dcd67944cfa69ceeba7347233ca17e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
--- aconfigure.orig	2017-11-01 05:23:36 UTC
+++ aconfigure
@@ -6362,14 +6362,7 @@ $as_echo "Checking sound device backend... null sound"
 	;;
   *)
 		ac_pjmedia_snd=alsa
-	ac_pa_use_alsa=1
-
-	ac_fn_c_check_header_mongrel "$LINENO" "alsa/version.h" "ac_cv_header_alsa_version_h" "$ac_includes_default"
-if test "x$ac_cv_header_alsa_version_h" = xyes; then :
-  LIBS="$LIBS -lasound"
-else
   ac_pa_use_alsa=0
-fi
 
 
 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... unix" >&5
@@ -7022,7 +7015,7 @@ else
 			FFMPEG_PREFIX=$with_ffmpeg
 			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using ffmpeg prefix... $FFMPEG_PREFIX" >&5
 $as_echo "Using ffmpeg prefix... $FFMPEG_PREFIX" >&6; }
-			export PKG_CONFIG_PATH=$FFMPEG_PREFIX/lib/pkgconfig
+			export PKG_CONFIG_PATH=$FFMPEG_PREFIX/libdata/pkgconfig
 		fi
 
 		for ac_prog in pkg-config "python pkgconfig.py"
@@ -8669,7 +8662,7 @@ $as_echo "Checking if libwebrtc is disabled...no" >&6;
 			ac_webrtc_instset=sse2
 			ac_webrtc_cflags="-msse2"
 			;;
-		     *win32* | *w32* | *darwin* | *linux*)
+		     *win32* | *w32* | *darwin* | *linux* | *amd64*freebsd* )
 			ac_webrtc_instset=sse2
 			;;
 		     *)