blob: d6d35fd78c291b1130826d1593345f944e6f539a (
plain)
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
36
37
38
|
$NetBSD: patch-ae,v 1.2 2001/06/29 18:39:03 wiz Exp $
--- configure.in.orig Sun Jun 3 18:14:50 2001
+++ configure.in Sun Jun 3 18:20:52 2001
@@ -364,6 +364,7 @@
CSOUND_CONF_MESSAGE(enable the OSS-RTAUDIO driver...)
RTAUDIO_DRIVER=["LINUXaudio.c \${LINUX_DISTRIB_DIR}/OSSrtaudio.c"]
DEFS=["${DEFS} -DOSSRTAUDIO"]
+ LIBS=["-lossaudio ${LIBS}"]
fi
if test "${enable_rtaudio}" = "alsa"
@@ -613,8 +614,8 @@
dnl
case $host in
- *linux)
- local_defines="-DRTAUDIO -DLINUX ${DEFS}"
+ *linux|*bsd)
+ local_defines="-DRTAUDIO -DLINUX -DBSD ${DEFS}"
;;
*)
;;
@@ -648,10 +649,10 @@
changequote(<<, >>)dnl
csound_version_full=`(cat ${version_file}; echo VERSIONSTRING) | ${CPP} - | ${AWK} '/^" v"/ { gsub(/[" v]/,""); print $0; }'`
changequote([, ])dnl
- csound_version_major=`echo ${csound_version_full} | cut -d '.' -f 1 -`
- csound_version_minor=`echo ${csound_version_full} | cut -d '.' -f 2 -`
- csound_patchlevel=`echo ${csound_version_full} | cut -d '.' -f 3 -`
- csound_betalevel=`echo ${csound_version_full} | cut -d '.' -f 4 -`
+ csound_version_major=`echo ${csound_version_full} | cut -d '.' -f 1`
+ csound_version_minor=`echo ${csound_version_full} | cut -d '.' -f 2`
+ csound_patchlevel=`echo ${csound_version_full} | cut -d '.' -f 3`
+ csound_betalevel=`echo ${csound_version_full} | cut -d '.' -f 4`
CSOUND_CONF_MESSAGE(almost done configuring for csound version ${csound_version_major}.${csound_version_minor}.${csound_patchlevel}.${csound_betalevel}...)
else
|