summaryrefslogtreecommitdiff
path: root/audio/libac3/patches/patch-aa
blob: 157e3d7db904e5d66cf765a9c8d693115c0415db (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-aa,v 1.2 2005/11/11 17:48:25 joerg Exp $

--- configure.orig	2000-03-30 00:51:49.000000000 +0000
+++ configure
@@ -1254,32 +1254,12 @@ fi
 
 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*|*-dragonfly*) 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
-
 trap '' 1 2 15
 cat > confcache <<\EOF
 # This file is a shell script that caches the results of configure