blob: 7dfe9d5870c6f575c77cba7dae1af848e100430a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-configure.ac,v 1.2 2017/05/29 12:42:25 wiz Exp $
--- configure.ac.orig 2017-05-12 08:01:45.000000000 +0000
+++ configure.ac
@@ -687,6 +687,15 @@ AC_OUTPUT(Makefile doc/Makefile doc/pict
src/conf/ucm/broxton-rt298/Makefile \
utils/Makefile utils/alsa-lib.spec utils/alsa.pc)
+case $host_os in
+ netbsd*|freebsd*|dragonfly*)
+ HAVE_LIBDL=yes
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_LIBDL 1
+_ACEOF
+ ;;
+esac
+
dnl Create asoundlib.h dynamically according to configure options
echo "Creating asoundlib.h..."
cp "$srcdir"/include/asoundlib-head.h include/asoundlib.h
|