blob: 05d90e9dadfcb079081bc2f3084c0432402164f0 (
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.1 2016/04/15 08:47:50 wiz Exp $
--- configure.ac.orig 2016-02-24 08:33:29.000000000 +0000
+++ configure.ac
@@ -665,6 +671,15 @@ AC_OUTPUT(Makefile doc/Makefile doc/pict
test/Makefile test/lsb/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
|