mirror of
https://git.freebsd.org/ports.git
synced 2025-06-18 19:20:36 -04:00
- Remove dead code - Fix format selection and playback with raw devices - Fix OSS backend - Remove dead code - Don't open the device in non-blocking mode. There is no error handling for short writes and looking at how audio_play() is used in say.c it is expected to block. - Fix format selection - Let the kernel handle sample conversion instead of doing it in the backend - Make NAS support optional - Make installing dictionary database tools optional - Add LICENSE Obtained from: OpenBSD [1] (based on) Approved by: lme (mentor) Differential Revision: https://reviews.freebsd.org/D10828
38 lines
1 KiB
Text
38 lines
1 KiB
Text
--- configure.in.orig 1994-11-08 13:30:51 UTC
|
|
+++ configure.in
|
|
@@ -11,7 +11,8 @@ hplay=dummy
|
|
dbm=none
|
|
make_dist=/dev/null
|
|
|
|
-AC_PREFIX_PROGRAM(gcc)
|
|
+dnl *sigh* - torstenb
|
|
+dnl AC_PREFIX_PROGRAM(gcc)
|
|
|
|
if test -z "$CC" && test -n "$GCC" ; then
|
|
CC=$GCC
|
|
@@ -41,6 +42,7 @@ case "$host" in
|
|
*-sgi-*) hplay=sgi ;;
|
|
*-next-*) hplay=NeXT; AC_CHECK_HEADERS(libc.h) ;;
|
|
*-*-linux*) hplay=linux ;;
|
|
+*-*-dragonfly*|*-*-freebsd*) hplay=freebsd ;;
|
|
*-*-hpux*) hplay=hpux ;;
|
|
*-*-*) echo "Unknown host type $host" ;;
|
|
esac
|
|
@@ -93,7 +95,7 @@ fi])
|
|
CPPFLAGS="-I. -I$srcdir $CPPFLAGS"
|
|
|
|
AC_CHECK_LIB(gdbm,gdbm_open)
|
|
-if test "$ac_cv_lib_gdbm" = yes; then
|
|
+if test "$ac_cv_lib_gdbm_gdbm_open" = yes; then
|
|
PROGS="$PROGS mkdictdb dlookup"
|
|
else
|
|
DICTS=""
|
|
@@ -126,7 +128,7 @@ if test "$ac_cv_header_audio_audiolib_h" = yes ; then
|
|
XLIBS="-laudio $XLIBS"
|
|
AC_DEFINE(HAVE_NAS)
|
|
],,$XLIBS $LIBS)
|
|
- if test "$ac_cv_lib_audio" = yes; then
|
|
+ if test "$ac_cv_lib_audio_AuOpenServer" = yes; then
|
|
if test "$hplay" = dummy; then
|
|
hplay="na"
|
|
LIBS="$XLIBS $LIBS"
|