summaryrefslogtreecommitdiff
path: root/audio/rsynth/files/patch-configure.in
blob: 52505df8549e716b9d7afef9e0966d28a30149cc (plain) (blame)
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
--- 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"
   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"