summaryrefslogtreecommitdiff
path: root/audio/ac3dec/patches/patch-aa
blob: 60f074f095d8dac612c8f618750bba4b1060a929 (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
$NetBSD: patch-aa,v 1.3 2000/05/09 14:04:29 dmcmahill Exp $

--- configure.orig	Wed Mar 29 19:51:49 2000
+++ configure	Tue May  9 09:32:16 2000
@@ -1255,27 +1255,7 @@
 case "$host" in
 *-linux*) rm -f output.c; ln -s output_linux.c output.c;;
-*-openbsd*|*-freebsd*) rm -f output.c; ln -s output_linux.c output.c;;
+*-openbsd*|*-freebsd*|*-netbsd*) rm -f output.c; ln -s output_linux.c output.c;;
 *-irix*) rm -f output.c; ln -s output_irix.c output.c;;
 *-solaris*) rm -f output.c; ln -s output_solaris.c output.c;;
-*) echo "$host is not currently supported by ac3dec"; exit 1;;
-esac
-
-case "$host" in
-i?86-*) cat >> confdefs.h <<\EOF
-#define __i386__ 1
-EOF
-;;
-alpha*-*) cat >> confdefs.h <<\EOF
-#define __alpha__ 1
-EOF
-;;
-sparc-*) cat >> confdefs.h <<\EOF
-#define __sparc__ 1
-EOF
-;;
-ppc-*) cat >> confdefs.h <<\EOF
-#define __ppc__ 1
-EOF
-;;
 *) echo "$host is not currently supported by ac3dec"; exit 1;;
 esac