openbsd-ports/audio/ac3dec/patches/patch-configure

49 lines
1.1 KiB
Plaintext
Raw Normal View History

2004-02-27 03:39:30 -05:00
$OpenBSD: patch-configure,v 1.7 2004/02/27 08:39:30 pvalchev Exp $
2003-12-01 20:59:46 -05:00
--- configure.orig 2000-03-29 17:51:49.000000000 -0700
2004-02-27 03:39:30 -05:00
+++ configure 2004-02-27 01:28:04.000000000 -0700
2003-06-22 14:34:38 -04:00
@@ -528,7 +528,7 @@ fi
ac_aux_dir=
-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
+for ac_dir in ${GNUSYSTEM_AUX_DIR} $srcdir $srcdir/.. $srcdir/../..; do
if test -f $ac_dir/install-sh; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install-sh -c"
2004-02-27 03:39:30 -05:00
@@ -1273,10 +1273,34 @@ sparc-*) cat >> confdefs.h <<\EOF
2001-04-22 18:57:27 -04:00
#define __sparc__ 1
EOF
;;
-ppc-*) cat >> confdefs.h <<\EOF
+sparc64-*) cat >> confdefs.h <<\EOF
+#define __sparc64__ 1
+EOF
+;;
2001-04-22 18:57:27 -04:00
+ppc-*|powerpc-*) cat >> confdefs.h <<\EOF
#define __ppc__ 1
2003-12-01 20:59:46 -05:00
EOF
;;
2003-06-22 14:34:38 -04:00
+vax-*) cat >> confdefs.h <<\EOF
+#define __vax__ 1
2003-06-26 17:23:41 -04:00
+EOF
+;;
+m68k-*) cat >> confdefs.h <<\EOF
+#define __m68k__ 1
2003-12-01 20:59:46 -05:00
+EOF
+;;
+hppa-*) cat >> confdefs.h <<\EOF
+#define __hppa__ 1
+EOF
2004-02-20 18:33:58 -05:00
+;;
+arm-*) cat >> confdefs.h <<\EOF
+#define __arm__ 1
+EOF
2004-02-27 03:39:30 -05:00
+;;
+x86_64-*) cat >> confdefs.h <<\EOF
+#define __amd64__ 1
+EOF
2003-12-01 20:59:46 -05:00
+;;
2003-06-22 14:34:38 -04:00
*) echo "$host is not currently supported by ac3dec"; exit 1;;
2003-12-01 20:59:46 -05:00
esac