32 lines
828 B
Plaintext
32 lines
828 B
Plaintext
$NetBSD: patch-ab,v 1.6 2014/06/09 12:21:07 ryoon Exp $
|
|
|
|
--- configure.orig 2013-07-08 12:32:46.000000000 +0000
|
|
+++ configure
|
|
@@ -13322,6 +13322,11 @@ test "x$prefix" = xNONE && prefix=$ac_de
|
|
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
|
|
|
DEFS=-DHAVE_CONFIG_H
|
|
+case $host_os in
|
|
+ netbsd*|freebsd*|dragonfly*)
|
|
+ DEFS="$DEFS -Dbswap_32=bswap32 -Dbswap_16=bswap16 -Dbswap_64=bswap64"
|
|
+ ;;
|
|
+esac
|
|
|
|
ac_libobjs=
|
|
ac_ltlibobjs=
|
|
@@ -15815,6 +15820,14 @@ if test -n "$ac_unrecognized_opts" && te
|
|
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
|
fi
|
|
|
|
+case $host_os in
|
|
+ netbsd*|freebsd*|dragonfly*)
|
|
+ HAVE_LIBDL=yes
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
+#define HAVE_LIBDL 1
|
|
+_ACEOF
|
|
+ ;;
|
|
+esac
|
|
|
|
echo "Creating asoundlib.h..."
|
|
cp "$srcdir"/include/asoundlib-head.h include/asoundlib.h
|